diff --git a/.babelrc.js b/.babelrc.js
index beb9e1f9a..184248d38 100644
--- a/.babelrc.js
+++ b/.babelrc.js
@@ -8,9 +8,7 @@ const plugins = [
].filter(Boolean);
const presets = [
- [
- '@babel/preset-env', { useBuiltIns: 'entry' }
- ],
+ ['@babel/preset-env', { useBuiltIns: 'usage', corejs: { version: 3 } }],
[
'@babel/preset-react',
{
diff --git a/.eslintrc b/.eslintrc
index 11266cb3d..d3cba85a2 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -22,14 +22,14 @@
},
"import/resolver": {
"webpack": {
- "config": "config/dev.js"
+ "config": "config/webpack.config.dev.js"
}
}
},
"rules": {
"id-length": [
2,
- { "min": 3, "max": 30, "properties": "never", "exceptions": ["_", "cb"] }
+ { "min": 2, "max": 30, "properties": "never", "exceptions": ["_", "cb"] }
],
"max-params": [2, 3],
"no-cond-assign": [2, "except-parens"],
diff --git a/config/common.js b/config/common.js
deleted file mode 100644
index a88973a86..000000000
--- a/config/common.js
+++ /dev/null
@@ -1,86 +0,0 @@
-const { resolve } = require('path');
-const ExtractTextPlugin = require('extract-text-webpack-plugin');
-
-const srcPath = resolve(__dirname, '../src');
-const docsPath = resolve(__dirname, '../docs');
-
-module.exports = {
- resolve: {
- modules: ['node_modules'],
- extensions: ['.js', '.jsx'],
- alias: {
- 'third-party': `${srcPath}/components/third-party`,
- 'adslot-ui': `${srcPath}/components/adslot-ui`,
- alexandria: `${srcPath}/components/alexandria`,
- lib: `${srcPath}/lib/`,
- styles: `${srcPath}/styles/`, // When importing from `.scss` files prefix with ~ like `@import ~styles/variables`
- },
- },
- context: srcPath,
- module: {
- rules: [
- {
- enforce: 'pre', // Lint before babel transpiles; fail fast on syntax
- test: /\.(js|jsx)$/,
- exclude: [/node_modules/, /(\.spec)\.(js|jsx)$/],
- include: [srcPath, docsPath],
- use: ['eslint-loader'],
- },
-
- // "url" loader works like "file" loader except that it embeds assets smaller than specified limit in bytes
- // as data URLs to avoid requests.
- {
- test: /\.(png|jpe?g|gif|svg|eot|ttf|woff|woff2)$/,
- loader: 'url-loader',
- options: {
- limit: 8192,
- },
- },
-
- {
- test: /\.(js|jsx)$/,
- loader: 'babel-loader',
- exclude: [/node_modules/, /(\.spec)\.(js|jsx)$/],
- include: [srcPath, docsPath],
- options: {
- // This is a feature of `babel-loader` for webpack (not Babel itself). It enables caching results
- // in ./node_modules/.cache/babel-loader/ directory for faster rebuilds.
- cacheDirectory: true,
- },
- },
-
- {
- test: /\.scss/,
- loader: ExtractTextPlugin.extract({
- use: [
- 'css-loader', // "css-loader" resolves paths in CSS and adds assets as dependencies.
-
- {
- loader: 'postcss-loader', // "postcss-loader" applies autoprefixer to our CSS.
- options: {
- config: {
- path: 'config/postcss.config.js',
- },
- },
- },
- {
- loader: 'sass-loader',
- options: {
- outputStyle: 'expanded',
- },
- },
- ],
- }),
- exclude: /node_modules/,
- },
- ],
- },
- plugins: [
- new ExtractTextPlugin({
- filename: 'adslot-ui-[name].css',
- }),
- ],
- performance: {
- hints: false, // they tell us our bundle is too large; TODO: Consider chunking
- },
-};
diff --git a/config/dev-cold.js b/config/dev-cold.js
deleted file mode 100644
index 8fdf59e67..000000000
--- a/config/dev-cold.js
+++ /dev/null
@@ -1,42 +0,0 @@
-// dev-cold config (without hot reload)
-const merge = require('webpack-merge');
-const webpack = require('webpack');
-const { resolve } = require('path');
-
-const commonConfig = require('./common');
-
-const HOST = process.env.HOST || 'localhost';
-const PORT = process.env.PORT || '8888';
-const publicPath = '/assets/';
-
-module.exports = merge(commonConfig, {
- entry: [
- './docs/run', // the entry point of our app
- ],
- output: {
- path: resolve(__dirname, '../dist/assets'),
- filename: 'app.js',
- publicPath,
- },
- devServer: {
- hot: false, // disable HMR on the server
- contentBase: resolve(__dirname, '../src'), // match the output path
- publicPath, // match the output `publicPath`
- port: PORT,
- host: HOST,
- noInfo: true,
- stats: {
- assets: false,
- chunks: false,
- children: false,
- colors: true,
- errorDetails: true,
- errors: true,
- timings: false,
- warnings: true,
- },
- },
- cache: true,
- devtool: 'cheap-module-eval-source-map',
- plugins: [new webpack.NoEmitOnErrorsPlugin()],
-});
diff --git a/config/dev.js b/config/dev.js
deleted file mode 100644
index 741b6ef69..000000000
--- a/config/dev.js
+++ /dev/null
@@ -1,63 +0,0 @@
-// development config
-const merge = require('webpack-merge');
-const webpack = require('webpack');
-const { resolve } = require('path');
-
-const commonConfig = require('./common');
-
-const HOST = process.env.HOST || '0.0.0.0';
-const PORT = process.env.PORT || '8888';
-
-const publicPath = '/docs/assets/';
-
-module.exports = merge(commonConfig, {
- entry: [
- '@babel/polyfill',
- resolve(__dirname, './polyfill'),
- // bundle the client for webpack-dev-server and connect to the provided endpoint
- `webpack-dev-server/client?http://${HOST}:${PORT}`,
- // bundle the client for hot reloading, only- means to only hot reload for successful updates
- 'webpack/hot/only-dev-server',
- // the entry point of our app
- '../docs/run',
- ],
- output: {
- filename: 'app.js',
- path: resolve(__dirname, '../dist/assets'),
- publicPath, // necessary for HMR to know where to load the hot update chunks
- },
- devServer: {
- hot: true, // enable HMR on the server
- contentBase: resolve(__dirname, '../docs'),
- publicPath, // match the output `publicPath`
- port: PORT,
- host: HOST,
- disableHostCheck: true,
- noInfo: true,
- historyApiFallback: {
- rewrites: [
- {
- // remove '/docs' from the path, since we only expose to public under /assets
- from: /\/docs\/assets/,
- to: context => context.parsedUrl.pathname.substring(5),
- },
- ],
- },
- stats: {
- assets: false,
- chunks: false,
- children: false,
- colors: true,
- errorDetails: true,
- errors: true,
- timings: false,
- warnings: true,
- },
- open: true,
- },
- devtool: 'cheap-module-eval-source-map',
- plugins: [
- new webpack.HotModuleReplacementPlugin(), // enable HMR globally
- new webpack.NamedModulesPlugin(), // prints more readable module names in the browser console on HMR updates
- ],
-});
diff --git a/config/dist.js b/config/dist.js
deleted file mode 100644
index 83c304e8c..000000000
--- a/config/dist.js
+++ /dev/null
@@ -1,100 +0,0 @@
-const _ = require('lodash');
-const merge = require('webpack-merge');
-const webpack = require('webpack');
-const { resolve } = require('path');
-const commonConfig = require('./common');
-
-const polyfill = resolve(__dirname, './polyfill');
-
-module.exports = () => {
- const buildType = process.env.TYPE || 'development';
-
- let entries = {
- main: [polyfill, resolve(__dirname, '../src')],
- docs: [polyfill, resolve(__dirname, '../docs/run')],
- };
-
- const plugins = [
- new webpack.NoEmitOnErrorsPlugin(),
- new webpack.optimize.OccurrenceOrderPlugin(),
- new webpack.optimize.ModuleConcatenationPlugin(),
- ];
-
- if (buildType === 'development') {
- entries = _.mapKeys(entries, (value, key) => `${key}.dev`);
- }
-
- if (buildType === 'production') {
- plugins.push(
- new webpack.DefinePlugin({
- // ensures webpack will always optimise for production
- 'process.env.NODE_ENV': '"production"',
- }),
- new webpack.optimize.UglifyJsPlugin({
- compress: {
- warnings: false,
- },
- output: {
- comments: false,
- },
- sourceMap: false,
- include: /\.js$/,
- parallel: {
- cache: true,
- workers: 2, // run on two cores #GSD
- },
- })
- );
- }
-
- return merge(commonConfig, {
- entry: entries,
- externals: {
- lodash: {
- root: '_',
- commonjs2: 'lodash',
- commonjs: 'lodash',
- amd: 'lodash',
- },
- react: {
- root: 'React',
- commonjs2: 'react',
- commonjs: 'react',
- amd: 'react',
- },
- 'react-dom': {
- root: 'ReactDOM',
- commonjs2: 'react-dom',
- commonjs: 'react-dom',
- amd: 'react-dom',
- },
- 'react-redux': {
- root: 'reactRedux',
- commonjs2: 'react-redux',
- commonjs: 'react-redux',
- amd: 'react-redux',
- },
- redux: {
- root: 'Redux',
- commonjs2: 'redux',
- commonjs: 'redux',
- amd: 'redux',
- },
- moment: {
- root: 'moment',
- commonjs2: 'moment',
- commonjs: 'moment',
- amd: 'moment',
- },
- },
- output: {
- path: resolve(__dirname, '../dist'),
- filename: 'adslot-ui-[name].js',
- libraryTarget: 'umd',
- library: 'AdslotUI',
- },
- devtool: 'inline',
- cache: false,
- plugins,
- });
-};
diff --git a/config/paths.js b/config/paths.js
new file mode 100644
index 000000000..ffa9499ca
--- /dev/null
+++ b/config/paths.js
@@ -0,0 +1,20 @@
+const path = require('path');
+const fs = require('fs');
+
+// Make sure any symlinks in the project folder are resolved:
+// https://github.com/facebookincubator/create-react-app/issues/637
+const appDirectory = fs.realpathSync(process.cwd());
+const resolveApp = relativePath => path.resolve(appDirectory, relativePath);
+
+module.exports = {
+ appBuild: resolveApp('dist'),
+ appDist: resolveApp('dist'),
+ appPublic: resolveApp('docs'),
+ appHtml: resolveApp('docs/index.html'),
+ appIndexJs: resolveApp('docs'),
+ appDistJs: resolveApp('src/index.js'),
+ appPackageJson: resolveApp('package.json'),
+ appDemo: resolveApp('docs'),
+ appSrc: resolveApp('src'),
+ appNodeModules: resolveApp('node_modules'),
+};
diff --git a/config/postCssConfig.js b/config/postCssConfig.js
new file mode 100644
index 000000000..4003c087f
--- /dev/null
+++ b/config/postCssConfig.js
@@ -0,0 +1,14 @@
+const autoprefixer = require('autoprefixer');
+const flexBugFixes = require('postcss-flexbugs-fixes');
+
+module.exports = {
+ // Necessary for external CSS imports to work
+ // https://github.com/facebookincubator/create-react-app/issues/2677
+ ident: 'postcss',
+ plugins: () => [
+ flexBugFixes,
+ autoprefixer({
+ flexbox: 'no-2009',
+ }),
+ ],
+};
diff --git a/config/postcss.config.js b/config/postcss.config.js
deleted file mode 100644
index 312f70749..000000000
--- a/config/postcss.config.js
+++ /dev/null
@@ -1,5 +0,0 @@
-const autoprefixer = require('autoprefixer');
-
-module.exports = {
- plugins: [autoprefixer()],
-};
diff --git a/config/test.js b/config/test.js
deleted file mode 100644
index 0be73da83..000000000
--- a/config/test.js
+++ /dev/null
@@ -1,56 +0,0 @@
-// test config
-const merge = require('webpack-merge');
-const webpack = require('webpack');
-const path = require('path');
-const commonConfig = require('./common');
-
-const srcPath = path.resolve(__dirname, '../src');
-const jsRegEx = /\.(js|jsx)$/;
-
-const testConfig = merge(commonConfig, {
- output: {
- path: path.join(__dirname, '/../dist/assets'),
- filename: 'app.js',
- publicPath: '/assets/',
- },
- resolve: {
- alias: {
- examples: `${srcPath}examples/`,
- },
- },
- module: {
- rules: [
- {
- test: /(\.spec)\.(js|jsx)$/,
- loader: 'babel-loader',
- include: srcPath,
- },
-
- {
- test: /\.(png|jpg|gif|woff|woff2|css|sass|scss|less|styl)$/,
- loader: 'null-loader', // tests don't care about images and style
- },
- ],
- },
- externals: {
- 'react/addons': 'react',
- 'react/lib/ExecutionEnvironment': 'react',
- 'react/lib/ReactContext': 'react',
- 'react-addons-test-utils': 'react-dom',
- },
-});
-
-module.exports = process.env.npm_config_coverage
- ? merge(testConfig, {
- module: {
- rules: [],
- },
- devtool: 'inline-source-map',
- plugins: [
- new webpack.SourceMapDevToolPlugin({
- filename: null, // if no value is provided the sourcemap is inlined
- test: jsRegEx,
- }),
- ],
- })
- : testConfig;
diff --git a/config/webpack.config.dev.build.js b/config/webpack.config.dev.build.js
new file mode 100644
index 000000000..54f312af1
--- /dev/null
+++ b/config/webpack.config.dev.build.js
@@ -0,0 +1,86 @@
+const webpack = require('webpack');
+const webpackMerge = require('webpack-merge');
+const commonConfig = require('./webpack.config');
+const MiniCssExtractPlugin = require('mini-css-extract-plugin');
+const paths = require('./paths');
+const postCssConfig = require('./postCssConfig');
+
+// This is the development configuration.
+// It is focused on developer experience and fast rebuilds.
+// The production configuration is different and lives in a separate file.
+module.exports = webpackMerge(commonConfig, {
+ mode: 'development',
+ // You may want 'eval' instead if you prefer to see the compiled output in DevTools.
+ // See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.
+ devtool: 'source-map',
+ entry: paths.appSrc,
+ output: {
+ path: paths.appBuild,
+ filename: 'adslot-ui.js',
+ libraryTarget: 'umd',
+ library: 'AdslotUI',
+ },
+ module: {
+ strictExportPresence: true,
+ rules: [
+ {
+ enforce: 'pre', // Lint before babel transpiles; fail fast on syntax
+ test: /\.(js|jsx)$/,
+ exclude: [/node_modules/, /(\.spec)\.(js|jsx)$/],
+ include: paths.appSrc,
+ use: ['eslint-loader'],
+ },
+ {
+ test: /\.(eot|ttf|woff|woff2)$/,
+ loader: 'url-loader',
+ options: {
+ limit: 8192,
+ },
+ },
+ {
+ test: /\.(js|jsx)$/,
+ include: paths.appSrc,
+ loader: 'babel-loader',
+ options: {
+ cacheDirectory: true,
+ },
+ },
+ {
+ test: /\.scss$/,
+ use: [
+ MiniCssExtractPlugin.loader,
+ {
+ loader: 'css-loader',
+ options: {
+ importLoaders: 2,
+ sourceMap: false,
+ },
+ },
+ {
+ loader: 'postcss-loader',
+ options: postCssConfig,
+ },
+ 'sass-loader',
+ ],
+ },
+ {
+ test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/, /\.svg$/],
+ loader: 'file-loader',
+ options: {
+ name: 'assets/[name].[hash:8].[ext]',
+ },
+ },
+ ],
+ },
+ plugins: [
+ new MiniCssExtractPlugin({
+ filename: 'adslot-ui.css',
+ }),
+ // Moment.js is an extremely popular library that bundles large locale files
+ // by default due to how Webpack interprets its code. This is a practical
+ // solution that requires the user to opt into importing specific locales.
+ // https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
+ // You can remove this if you don't use Moment.js:
+ new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
+ ],
+});
diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js
new file mode 100644
index 000000000..31b51e511
--- /dev/null
+++ b/config/webpack.config.dev.js
@@ -0,0 +1,119 @@
+const path = require('path');
+const webpack = require('webpack');
+const webpackMerge = require('webpack-merge');
+const HtmlWebpackPlugin = require('html-webpack-plugin');
+const commonConfig = require('./webpack.config');
+const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
+const paths = require('./paths');
+const postCssConfig = require('./postCssConfig');
+
+// This is the development configuration.
+// It is focused on developer experience and fast rebuilds.
+// The production configuration is different and lives in a separate file.
+module.exports = webpackMerge(commonConfig, {
+ mode: 'development',
+ // You may want 'eval' instead if you prefer to see the compiled output in DevTools.
+ // See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.
+ devtool: 'cheap-module-source-map',
+ devServer: {
+ open: false,
+ },
+ // These are the "entry points" to our application.
+ // This means they will be the "root" imports that are included in JS bundle.
+ // The first two entry points enable "hot" CSS and auto-refreshes for JS.
+ entry: ['webpack-dev-server/client?/', 'webpack/hot/dev-server', paths.appIndexJs],
+ output: {
+ // Next line is not used in dev but WebpackDevServer crashes without it:
+ path: paths.appBuild,
+ // Add /* filename */ comments to generated require()s in the output.
+ pathinfo: true,
+ // This does not produce a real file. It's just the virtual path that is
+ // served by WebpackDevServer in development. This is the JS bundle
+ // containing code from all our entry points, and the Webpack runtime.
+ filename: 'static/js/bundle.js',
+ // There are also additional JS chunk files if you use code splitting.
+ chunkFilename: 'static/js/[name].chunk.js',
+ // This is the URL that app is served from. We use "/" in development.
+ publicPath: '/',
+ // Point sourcemap entries to original disk location (format as URL on Windows)
+ devtoolModuleFilenameTemplate: info => path.resolve(info.absoluteResourcePath).replace(/\\/g, '/'),
+ },
+ module: {
+ strictExportPresence: true,
+ rules: [
+ {
+ enforce: 'pre', // Lint before babel transpiles; fail fast on syntax
+ test: /\.(js|jsx)$/,
+ exclude: [/node_modules/, /(\.spec)\.(js|jsx)$/],
+ include: [paths.appSrc, paths.appDemo],
+ use: ['eslint-loader'],
+ },
+ {
+ test: /\.(eot|ttf|woff|woff2)$/,
+ loader: 'url-loader',
+ options: {
+ limit: 8192,
+ },
+ },
+ {
+ test: /\.(js|jsx)$/,
+ include: [paths.appSrc, paths.appDemo],
+ loader: 'babel-loader',
+ options: {
+ cacheDirectory: true,
+ },
+ },
+ {
+ test: /\.scss/,
+ use: [
+ 'style-loader',
+ {
+ loader: 'css-loader',
+ options: {
+ importLoaders: 2,
+ },
+ },
+ {
+ loader: 'postcss-loader',
+ options: postCssConfig,
+ },
+ { loader: 'sass-loader' },
+ ],
+ },
+ {
+ test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/, /\.svg$/],
+ loader: 'file-loader',
+ options: {
+ name: 'static/media/[name].[hash:8].[ext]',
+ },
+ },
+ ],
+ },
+ optimization: {
+ splitChunks: {
+ chunks: 'all',
+ name: 'vendors',
+ },
+ runtimeChunk: true,
+ },
+ plugins: [
+ new HtmlWebpackPlugin({
+ template: paths.appHtml,
+ }),
+ new webpack.DefinePlugin({
+ 'process.env.NODE_ENV': '"development"',
+ }),
+ // This is necessary to emit hot updates (currently CSS only):
+ new webpack.HotModuleReplacementPlugin(),
+ // Watcher doesn't work well if you mistype casing in a path so we use
+ // a plugin that prints an error when you attempt to do this.
+ // See https://github.com/facebookincubator/create-react-app/issues/240
+ new CaseSensitivePathsPlugin(),
+ // Moment.js is an extremely popular library that bundles large locale files
+ // by default due to how Webpack interprets its code. This is a practical
+ // solution that requires the user to opt into importing specific locales.
+ // https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
+ // You can remove this if you don't use Moment.js:
+ new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
+ ],
+});
diff --git a/config/webpack.config.dist.js b/config/webpack.config.dist.js
new file mode 100644
index 000000000..bc2186702
--- /dev/null
+++ b/config/webpack.config.dist.js
@@ -0,0 +1,158 @@
+const webpack = require('webpack');
+const webpackMerge = require('webpack-merge');
+const MiniCssExtractPlugin = require('mini-css-extract-plugin');
+const TerserPlugin = require('terser-webpack-plugin');
+const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
+const safePostCssParser = require('postcss-safe-parser');
+const commonConfig = require('./webpack.config');
+const paths = require('./paths');
+const postCssConfig = require('./postCssConfig');
+
+// Assert this just to be safe.
+if (process.env.NODE_ENV !== 'dist') {
+ throw new Error('Distribution builds must have NODE_ENV=dist.');
+}
+
+// This dist is used for creating the minified .css file.
+// The output .js file will be removed.
+module.exports = webpackMerge(commonConfig, {
+ mode: 'production',
+ // Don't attempt to continue if there are any errors.
+ bail: true,
+ devtool: false,
+ entry: { docs: [paths.appDemo], main: [paths.appDistJs] },
+ output: {
+ path: paths.appDist,
+ filename: 'adslot-ui-[name].js',
+ libraryTarget: 'umd',
+ library: 'AdslotUI',
+ },
+ externals: {
+ lodash: {
+ root: '_',
+ commonjs2: 'lodash',
+ commonjs: 'lodash',
+ amd: 'lodash',
+ },
+ react: {
+ root: 'React',
+ commonjs2: 'react',
+ commonjs: 'react',
+ amd: 'react',
+ },
+ 'react-dom': {
+ root: 'ReactDOM',
+ commonjs2: 'react-dom',
+ commonjs: 'react-dom',
+ amd: 'react-dom',
+ },
+ 'react-redux': {
+ root: 'reactRedux',
+ commonjs2: 'react-redux',
+ commonjs: 'react-redux',
+ amd: 'react-redux',
+ },
+ redux: {
+ root: 'Redux',
+ commonjs2: 'redux',
+ commonjs: 'redux',
+ amd: 'redux',
+ },
+ moment: {
+ root: 'moment',
+ commonjs2: 'moment',
+ commonjs: 'moment',
+ amd: 'moment',
+ },
+ },
+ module: {
+ rules: [
+ {
+ enforce: 'pre', // Lint before babel transpiles; fail fast on syntax
+ test: /\.(js|jsx)$/,
+ exclude: [/node_modules/, /(\.spec)\.(js|jsx)$/],
+ include: [paths.appSrc, paths.appDemo],
+ use: ['eslint-loader'],
+ },
+ {
+ test: /\.(eot|ttf|woff|woff2)$/,
+ loader: 'url-loader',
+ options: {
+ limit: 8192,
+ },
+ },
+ {
+ test: /\.(js|jsx)$/,
+ include: [paths.appSrc, paths.appDemo],
+ loader: 'babel-loader',
+ options: {
+ cacheDirectory: true,
+ },
+ },
+ {
+ test: /\.scss$/,
+ use: [
+ MiniCssExtractPlugin.loader,
+ {
+ loader: 'css-loader',
+ options: {
+ importLoaders: 2,
+ sourceMap: false,
+ },
+ },
+ {
+ loader: 'postcss-loader',
+ options: postCssConfig,
+ },
+ 'sass-loader',
+ ],
+ },
+ {
+ test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/, /\.svg$/],
+ loader: 'url-loader',
+ options: {
+ limit: 10000,
+ name: 'static/media/[name].[hash:8].[ext]',
+ },
+ },
+ ],
+ },
+ optimization: {
+ minimizer: [
+ new TerserPlugin({
+ sourceMap: false,
+ cache: true,
+ parallel: true,
+ terserOptions: {
+ ecma: 8,
+ compress: {
+ warnings: false,
+ comparisons: false,
+ inline: 2,
+ drop_console: true,
+ },
+ output: {
+ comments: false,
+ },
+ },
+ }),
+ new OptimizeCSSAssetsPlugin({
+ cssProcessorOptions: {
+ parser: safePostCssParser,
+ map: false,
+ },
+ }),
+ ],
+ },
+ plugins: [
+ new MiniCssExtractPlugin({
+ filename: 'adslot-ui-[name].css',
+ }),
+ // Moment.js is an extremely popular library that bundles large locale files
+ // by default due to how Webpack interprets its code. This is a practical
+ // solution that requires the user to opt into importing specific locales.
+ // https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
+ // You can remove this if you don't use Moment.js:
+ new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
+ ],
+});
diff --git a/config/webpack.config.js b/config/webpack.config.js
new file mode 100644
index 000000000..8979fe5cd
--- /dev/null
+++ b/config/webpack.config.js
@@ -0,0 +1,40 @@
+const path = require('path');
+const paths = require('./paths');
+
+module.exports = {
+ resolve: {
+ // This allows you to set a fallback for where Webpack should look for modules.
+ // We placed these paths second because we want `node_modules` to "win"
+ // if there are any conflicts. This matches Node resolution mechanism.
+ // https://github.com/facebookincubator/create-react-app/issues/253
+ modules: ['node_modules', paths.appNodeModules].concat(
+ (process.env.NODE_PATH = (process.env.NODE_PATH || '').split(path.delimiter).filter(Boolean))
+ ),
+ // These are the reasonable defaults supported by the Node ecosystem.
+ // We also include JSX as a common component filename extension to support
+ // some tools, although we do not recommend using it, see:
+ // https://github.com/facebookincubator/create-react-app/issues/290
+ // `web` extension prefixes have been added for better support
+ // for React Native Web.
+ extensions: ['.js', '.json', '.jsx'],
+
+ alias: {
+ 'third-party': `${paths.appSrc}/components/third-party`,
+ 'adslot-ui': `${paths.appSrc}/components/adslot-ui`,
+ alexandria: `${paths.appSrc}/components/alexandria`,
+ lib: `${paths.appSrc}/lib/`,
+ styles: `${paths.appSrc}/styles/`,
+ },
+ },
+ // Some libraries import Node modules but don't use them in the browser.
+ // Tell Webpack to provide empty mocks for them so importing them works.
+ node: {
+ dgram: 'empty',
+ fs: 'empty',
+ net: 'empty',
+ tls: 'empty',
+ child_process: 'empty',
+ },
+ // Turn off performance processing
+ performance: false,
+};
diff --git a/config/webpack.config.test.js b/config/webpack.config.test.js
new file mode 100644
index 000000000..b5428696d
--- /dev/null
+++ b/config/webpack.config.test.js
@@ -0,0 +1,39 @@
+const webpack = require('webpack');
+const webpackMerge = require('webpack-merge');
+const commonConfig = require('./webpack.config');
+const paths = require('./paths');
+
+// This is the development configuration.
+// It is focused on developer experience and fast rebuilds.
+// The production configuration is different and lives in a separate file.
+module.exports = webpackMerge(commonConfig, {
+ mode: 'development',
+ // You may want 'eval' instead if you prefer to see the compiled output in DevTools.
+ // See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.
+ devtool: 'devtool-source-map',
+ entry: paths.appSrc,
+ output: {
+ path: paths.appBuild,
+ filename: 'adslot-ui.js',
+ libraryTarget: 'umd',
+ library: 'AdslotUI',
+ },
+ module: {
+ strictExportPresence: true,
+ rules: [
+ {
+ test: /\.(js|jsx)$/,
+ include: paths.appSrc,
+ loader: 'babel-loader',
+ options: {
+ cacheDirectory: true,
+ },
+ },
+ {
+ test: /\.(png|jpg|gif|woff|woff2|css|sass|scss|less|styl)$/,
+ loader: 'null-loader', // tests don't care about images and style
+ },
+ ],
+ },
+ plugins: [new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)],
+});
diff --git a/config/webpackDevServer.config.js b/config/webpackDevServer.config.js
new file mode 100644
index 000000000..69410ac49
--- /dev/null
+++ b/config/webpackDevServer.config.js
@@ -0,0 +1,64 @@
+const config = require('./webpack.config.dev');
+const paths = require('./paths');
+
+const protocol = process.env.HTTPS === 'true' ? 'https' : 'http';
+const host = process.env.HOST || '0.0.0.0';
+
+// eslint-disable-next-line
+module.exports = function(proxy, allowedHost) {
+ return {
+ // WebpackDevServer 2.4.3 introduced a security fix that prevents remote
+ // websites from potentially accessing local content through DNS rebinding:
+ // https://github.com/webpack/webpack-dev-server/issues/887
+ // https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a
+ // However, it made several existing use cases such as development in cloud
+ // environment or subdomains in development significantly more complicated:
+ // https://github.com/facebookincubator/create-react-app/issues/2271
+ // https://github.com/facebookincubator/create-react-app/issues/2233
+ // While we're investigating better solutions, for now we will take a
+ // compromise. Since our WDS configuration only serves files in the `public`
+ // folder we won't consider accessing them a vulnerability. However, if you
+ // use the `proxy` feature, it gets more dangerous because it can expose
+ // remote code execution vulnerabilities in backends like Django and Rails.
+ // So we will disable the host check normally, but enable it if you have
+ // specified the `proxy` setting. Finally, we let you override it if you
+ // really know what you're doing with a special environment variable.
+ disableHostCheck: !proxy || process.env.DANGEROUSLY_DISABLE_HOST_CHECK === 'true',
+ // Enable gzip compression of generated files.
+ compress: true,
+ // Silence WebpackDevServer's own logs since they're generally not useful.
+ // It will still show compile warnings and errors with this setting.
+ // clientLogLevel: 'none',
+ clientLogLevel: 'info',
+ contentBase: paths.appPublic,
+ // By default files from `contentBase` will not trigger a page reload.
+ watchContentBase: true,
+ // Enable hot reloading server. It will provide /sockjs-node/ endpoint
+ // for the WebpackDevServer client so it can learn when the files were
+ // updated. The WebpackDevServer client is included as an entry point
+ // in the Webpack development configuration. Note that only changes
+ // to CSS are currently hot reloaded. JS changes will refresh the browser.
+ hot: true,
+ // It is important to tell WebpackDevServer to use the same "root" path
+ // as we specified in the config. In development, we always serve from /.
+ publicPath: config.output.publicPath,
+ // WebpackDevServer is noisy by default so we emit custom message instead
+ // by listening to the compiler events with `compiler.plugin` calls above.
+ quiet: true,
+ // Reportedly, this avoids CPU overload on some systems.
+ // https://github.com/facebookincubator/create-react-app/issues/293
+ watchOptions: {
+ ignored: /node_modules|__test__|__snapshots__/,
+ },
+ // Enable HTTPS if the HTTPS environment variable is set to 'true'
+ https: protocol === 'https',
+ host,
+ historyApiFallback: {
+ // Paths with dots should still use the history fallback.
+ // See https://github.com/facebookincubator/create-react-app/issues/387.
+ disableDotRule: true,
+ },
+ public: allowedHost,
+ proxy,
+ };
+};
diff --git a/dist/adslot-ui-docs.css b/dist/adslot-ui-docs.css
deleted file mode 100644
index 4543479f3..000000000
--- a/dist/adslot-ui-docs.css
+++ /dev/null
@@ -1 +0,0 @@
-.spinner-component .spinner{-webkit-animation:rotation 1.1s infinite linear;animation:rotation 1.1s infinite linear;border-radius:100%;border-style:solid;display:inline-block}.spinner-component .spinner-small{border-width:2px;height:16px;width:16px}.spinner-component .spinner-medium{border-width:3px;height:24px;width:24px}.spinner-component .spinner-large{border-width:6px;height:60px;width:60px}.spinner-component .spinner-colour-style-default{border-bottom-color:#838383;border-left-color:#838383;border-right-color:#838383;border-top-color:#d3d3d3}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.button-component{position:relative}.button-component .popover-wrapper[data-placement*=bottom]{margin-top:12px}.button-component .popover-wrapper[data-placement*=bottom] .popover-content{max-width:140px;color:#ababab;font-size:11px}.button-component-children-container{visibility:hidden}.button-component .spinner-container{position:absolute;right:0;left:0;margin-right:auto;margin-left:auto}.button-component .spinner-container .spinner-component .spinner-small{margin-top:1px}.button-component .spinner-container .spinner-component .spinner-medium{margin-top:-3px}body>.btn-popover-wrapper[data-placement*=bottom]{margin-top:12px}.aui--popover-element{cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.aui--popover-wrapper{z-index:1060;max-width:276px;font-size:12px;font-weight:300;border:1px solid #e8e8e8;border-radius:4px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.25);box-shadow:0 1px 0 rgba(0,0,0,.25);padding:0;background-color:#fff}.aui--popover-wrapper[data-placement*=bottom]{margin-top:6px}.aui--popover-wrapper[data-placement*=top]{margin-bottom:6px}.aui--popover-wrapper[data-placement*=left]{margin-right:6px}.aui--popover-wrapper[data-placement*=right]{margin-left:6px}.aui--popover-wrapper .aui--popover-arrow{position:absolute;border:0 solid #e8e8e8}.aui--popover-wrapper .aui--popover-arrow:after{content:"";display:block;position:relative;border:0 solid #fff}.aui--popover-wrapper .aui--popover-arrow[data-placement*=bottom],.aui--popover-wrapper .aui--popover-arrow[data-placement*=bottom]:after,.aui--popover-wrapper .aui--popover-arrow[data-placement*=top],.aui--popover-wrapper .aui--popover-arrow[data-placement*=top]:after{width:12px;height:6px}.aui--popover-wrapper .aui--popover-arrow[data-placement*=top]{margin-bottom:-6px;bottom:-1px}.aui--popover-wrapper .aui--popover-arrow[data-placement*=top],.aui--popover-wrapper .aui--popover-arrow[data-placement*=top]:after{border-top-width:6px;border-right-width:6px;border-left-width:6px;border-bottom-color:transparent;border-right-color:transparent;border-left-color:transparent}.aui--popover-wrapper .aui--popover-arrow[data-placement*=top]:after{top:-7px;right:6px}.aui--popover-wrapper .aui--popover-arrow[data-placement*=left],.aui--popover-wrapper .aui--popover-arrow[data-placement*=left]:after,.aui--popover-wrapper .aui--popover-arrow[data-placement*=right],.aui--popover-wrapper .aui--popover-arrow[data-placement*=right]:after{width:6px;height:12px}.aui--popover-wrapper .aui--popover-arrow[data-placement*=left]{right:-1px;margin-right:-6px}.aui--popover-wrapper .aui--popover-arrow[data-placement*=left],.aui--popover-wrapper .aui--popover-arrow[data-placement*=left]:after{border-left-width:6px;border-top-width:6px;border-bottom-width:6px;border-right-color:transparent;border-top-color:transparent;border-bottom-color:transparent}.aui--popover-wrapper .aui--popover-arrow[data-placement*=left]:after{top:-6px;left:-7px}.aui--popover-wrapper .aui--popover-arrow[data-placement*=bottom]{top:-7px;margin-bottom:-6px}.aui--popover-wrapper .aui--popover-arrow[data-placement*=bottom],.aui--popover-wrapper .aui--popover-arrow[data-placement*=bottom]:after{border-bottom-width:6px;border-right-width:6px;border-left-width:6px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.aui--popover-wrapper .aui--popover-arrow[data-placement*=bottom]:after{top:1px;right:6px}.aui--popover-wrapper .aui--popover-arrow[data-placement*=right]{margin-left:-7px;left:0}.aui--popover-wrapper .aui--popover-arrow[data-placement*=right],.aui--popover-wrapper .aui--popover-arrow[data-placement*=right]:after{border-right-width:6px;border-top-width:6px;border-bottom-width:6px;border-left-color:transparent;border-top-color:transparent;border-bottom-color:transparent}.aui--popover-wrapper .aui--popover-arrow[data-placement*=right]:after{top:-6px;left:1px}.aui--popover-wrapper.popover-light{color:#333}.aui--popover-wrapper.popover-light .popover-title{background-color:#f3f3f3;border-bottom-color:#e8e8e8}.aui--popover-wrapper.popover-dark{background-color:#5a5a5a;border-color:#5a5a5a;color:#fff}.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*=top],.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*=top]:after{border-top-color:#5a5a5a}.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*=right],.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*=right]:after{border-right-color:#5a5a5a}.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*=bottom],.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*=bottom]:after{border-bottom-color:#5a5a5a}.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*=left],.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*=left]:after{border-left-color:#5a5a5a}.aui--popover-wrapper.popover-dark .popover-title{background-color:#747474;border-bottom-color:#fff}.aui--popover-wrapper.popover-warn{background-color:#faa732;border-color:#faa732;color:#fff}.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*=top],.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*=top]:after{border-top-color:#faa732}.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*=right],.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*=right]:after{border-right-color:#faa732}.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*=bottom],.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*=bottom]:after{border-bottom-color:#faa732}.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*=left],.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*=left]:after{border-left-color:#faa732}.aui--popover-wrapper.popover-warn .popover-title{background-color:#fbbc64;border-bottom-color:#fff}.aui--popover-wrapper.popover-error{background-color:#da4f49;border-color:#da4f49;color:#fff}.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*=top],.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*=top]:after{border-top-color:#da4f49}.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*=right],.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*=right]:after{border-right-color:#da4f49}.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*=bottom],.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*=bottom]:after{border-bottom-color:#da4f49}.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*=left],.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*=left]:after{border-left-color:#da4f49}.aui--popover-wrapper.popover-error .popover-title{background-color:#e37873;border-bottom-color:#fff}.aui--popover-wrapper .popover-title{padding:8px 14px;margin:0;font-size:12px;border-bottom:1px solid;border-radius:3px 3px 0 0}.aui--popover-wrapper .popover-content{padding:5px 10px;line-height:1.5}.aui--popover-wrapper .popover-content p{margin-bottom:5px}.aui--popover-wrapper .popover-content p:last-child{margin-bottom:0}/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:Roboto,Helvetica,sans-serif;font-size:12px;line-height:1.5;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#006dcc;text-decoration:none}a:focus,a:hover{color:#1950a3;text-decoration:underline}a:focus{outline:none}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:2px}.img-thumbnail{padding:4px;line-height:1.5;background-color:#fff;border:1px solid #ddd;border-radius:2px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:18px;margin-bottom:18px;border:0;border-top:1px solid #e8e8e8}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#838383}.h1,.h2,.h3,h1,h2,h3{margin-top:18px;margin-bottom:9px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:9px;margin-bottom:9px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:31px}.h2,h2{font-size:25px}.h3,h3{font-size:21px}.h4,h4{font-size:15px}.h5,h5{font-size:12px}.h6,h6{font-size:11px}p{margin:0 0 9px}.lead{margin-bottom:18px;font-size:13px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:18px}}.small,small{font-size:91%}.mark,mark{padding:.2em;background-color:#faa732}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.initialism,.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#838383}.text-primary{color:#006dcc}a.text-primary:focus,a.text-primary:hover{color:#005299}.text-success{color:#5bb75b}a.text-success:focus,a.text-success:hover{color:#449b44}.text-info{color:#49afcd}a.text-info:focus,a.text-info:hover{color:#3195b2}.text-warning{color:#faa732}a.text-warning:focus,a.text-warning:hover{color:#f39106}.text-danger{color:#da4f49}a.text-danger:focus,a.text-danger:hover{color:#c72f29}.bg-primary{color:#fff;background-color:#006dcc}a.bg-primary:focus,a.bg-primary:hover{background-color:#005299}.bg-success{background-color:#5bb75b}a.bg-success:focus,a.bg-success:hover{background-color:#449b44}.bg-info{background-color:#49afcd}a.bg-info:focus,a.bg-info:hover{background-color:#3195b2}.bg-warning{background-color:#faa732}a.bg-warning:focus,a.bg-warning:hover{background-color:#f39106}.bg-danger{background-color:#da4f49}a.bg-danger:focus,a.bg-danger:hover{background-color:#c72f29}.page-header{padding-bottom:8px;margin:36px 0 18px;border-bottom:1px solid #e8e8e8}ol,ul{margin-top:0;margin-bottom:9px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:18px}dd,dt{line-height:1.5}dt{font-weight:700}dd{margin-left:0}.dl-horizontal dd:after,.dl-horizontal dd:before{display:table;content:" "}.dl-horizontal dd:after{clear:both}@media (min-width:0){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help}.initialism{font-size:90%}blockquote{padding:9px 18px;margin:0 0 18px;font-size:15px;border-left:5px solid #e8e8e8}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.5;color:#838383}blockquote .small:before,blockquote footer:before,blockquote small:before{content:"\2014 \A0"}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #e8e8e8;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:""}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:"\A0 \2014"}address{margin-bottom:18px;font-style:normal;line-height:1.5}.container{padding-right:10px;padding-left:10px;margin-right:auto;margin-left:auto}.container:after,.container:before{display:table;content:" "}.container:after{clear:both}@media (min-width:768px){.container{width:740px}}@media (min-width:992px){.container{width:960px}}@media (min-width:1200px){.container{width:1160px}}.container-fluid{padding-right:10px;padding-left:10px;margin-right:auto;margin-left:auto}.container-fluid:after,.container-fluid:before{display:table;content:" "}.container-fluid:after{clear:both}.row{margin-right:-10px;margin-left:-10px}.row:after,.row:before{display:table;content:" "}.row:after{clear:both}.row-no-gutters{margin-right:0;margin-left:0}.row-no-gutters [class*=col-]{padding-right:0;padding-left:0}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-right:10px;padding-left:10px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-1{width:8.33333%}.col-xs-2{width:16.66667%}.col-xs-3{width:25%}.col-xs-4{width:33.33333%}.col-xs-5{width:41.66667%}.col-xs-6{width:50%}.col-xs-7{width:58.33333%}.col-xs-8{width:66.66667%}.col-xs-9{width:75%}.col-xs-10{width:83.33333%}.col-xs-11{width:91.66667%}.col-xs-12{width:100%}.col-xs-pull-0{right:auto}.col-xs-pull-1{right:8.33333%}.col-xs-pull-2{right:16.66667%}.col-xs-pull-3{right:25%}.col-xs-pull-4{right:33.33333%}.col-xs-pull-5{right:41.66667%}.col-xs-pull-6{right:50%}.col-xs-pull-7{right:58.33333%}.col-xs-pull-8{right:66.66667%}.col-xs-pull-9{right:75%}.col-xs-pull-10{right:83.33333%}.col-xs-pull-11{right:91.66667%}.col-xs-pull-12{right:100%}.col-xs-push-0{left:auto}.col-xs-push-1{left:8.33333%}.col-xs-push-2{left:16.66667%}.col-xs-push-3{left:25%}.col-xs-push-4{left:33.33333%}.col-xs-push-5{left:41.66667%}.col-xs-push-6{left:50%}.col-xs-push-7{left:58.33333%}.col-xs-push-8{left:66.66667%}.col-xs-push-9{left:75%}.col-xs-push-10{left:83.33333%}.col-xs-push-11{left:91.66667%}.col-xs-push-12{left:100%}.col-xs-offset-0{margin-left:0}.col-xs-offset-1{margin-left:8.33333%}.col-xs-offset-2{margin-left:16.66667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333%}.col-xs-offset-5{margin-left:41.66667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333%}.col-xs-offset-8{margin-left:66.66667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333%}.col-xs-offset-11{margin-left:91.66667%}.col-xs-offset-12{margin-left:100%}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-1{width:8.33333%}.col-sm-2{width:16.66667%}.col-sm-3{width:25%}.col-sm-4{width:33.33333%}.col-sm-5{width:41.66667%}.col-sm-6{width:50%}.col-sm-7{width:58.33333%}.col-sm-8{width:66.66667%}.col-sm-9{width:75%}.col-sm-10{width:83.33333%}.col-sm-11{width:91.66667%}.col-sm-12{width:100%}.col-sm-pull-0{right:auto}.col-sm-pull-1{right:8.33333%}.col-sm-pull-2{right:16.66667%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.33333%}.col-sm-pull-5{right:41.66667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.33333%}.col-sm-pull-8{right:66.66667%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.33333%}.col-sm-pull-11{right:91.66667%}.col-sm-pull-12{right:100%}.col-sm-push-0{left:auto}.col-sm-push-1{left:8.33333%}.col-sm-push-2{left:16.66667%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.33333%}.col-sm-push-5{left:41.66667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.33333%}.col-sm-push-8{left:66.66667%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.33333%}.col-sm-push-11{left:91.66667%}.col-sm-push-12{left:100%}.col-sm-offset-0{margin-left:0}.col-sm-offset-1{margin-left:8.33333%}.col-sm-offset-2{margin-left:16.66667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333%}.col-sm-offset-5{margin-left:41.66667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333%}.col-sm-offset-8{margin-left:66.66667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333%}.col-sm-offset-11{margin-left:91.66667%}.col-sm-offset-12{margin-left:100%}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-1{width:8.33333%}.col-md-2{width:16.66667%}.col-md-3{width:25%}.col-md-4{width:33.33333%}.col-md-5{width:41.66667%}.col-md-6{width:50%}.col-md-7{width:58.33333%}.col-md-8{width:66.66667%}.col-md-9{width:75%}.col-md-10{width:83.33333%}.col-md-11{width:91.66667%}.col-md-12{width:100%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.33333%}.col-md-pull-2{right:16.66667%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.33333%}.col-md-pull-5{right:41.66667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.33333%}.col-md-pull-8{right:66.66667%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.33333%}.col-md-pull-11{right:91.66667%}.col-md-pull-12{right:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.33333%}.col-md-push-2{left:16.66667%}.col-md-push-3{left:25%}.col-md-push-4{left:33.33333%}.col-md-push-5{left:41.66667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.33333%}.col-md-push-8{left:66.66667%}.col-md-push-9{left:75%}.col-md-push-10{left:83.33333%}.col-md-push-11{left:91.66667%}.col-md-push-12{left:100%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.33333%}.col-md-offset-2{margin-left:16.66667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333%}.col-md-offset-5{margin-left:41.66667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333%}.col-md-offset-8{margin-left:66.66667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333%}.col-md-offset-11{margin-left:91.66667%}.col-md-offset-12{margin-left:100%}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-1{width:8.33333%}.col-lg-2{width:16.66667%}.col-lg-3{width:25%}.col-lg-4{width:33.33333%}.col-lg-5{width:41.66667%}.col-lg-6{width:50%}.col-lg-7{width:58.33333%}.col-lg-8{width:66.66667%}.col-lg-9{width:75%}.col-lg-10{width:83.33333%}.col-lg-11{width:91.66667%}.col-lg-12{width:100%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.33333%}.col-lg-pull-2{right:16.66667%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.33333%}.col-lg-pull-5{right:41.66667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.33333%}.col-lg-pull-8{right:66.66667%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.33333%}.col-lg-pull-11{right:91.66667%}.col-lg-pull-12{right:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.33333%}.col-lg-push-2{left:16.66667%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.33333%}.col-lg-push-5{left:41.66667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.33333%}.col-lg-push-8{left:66.66667%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.33333%}.col-lg-push-11{left:91.66667%}.col-lg-push-12{left:100%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.33333%}.col-lg-offset-2{margin-left:16.66667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333%}.col-lg-offset-5{margin-left:41.66667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333%}.col-lg-offset-8{margin-left:66.66667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333%}.col-lg-offset-11{margin-left:91.66667%}.col-lg-offset-12{margin-left:100%}}table{background-color:transparent}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}caption{padding-top:8px;padding-bottom:8px;color:#838383}caption,th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:18px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.5;vertical-align:top;border-top:1px solid #d3d3d3}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #d3d3d3}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #d3d3d3}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #d3d3d3}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-hover>tbody>tr:hover,.table-striped>tbody>tr:nth-of-type(odd),.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f9f9f9}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#ececec}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#5bb75b}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#4cad4c}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#49afcd}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#36a5c6}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#faa732}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#f99c19}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#da4f49}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#d63b34}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:13.5px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #d3d3d3}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;margin:0}fieldset,legend{padding:0;border:0}legend{display:block;width:100%;margin-bottom:18px;font-size:18px;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:none}output{padding-top:5px}.form-control,output{display:block;font-size:12px;line-height:1.5;color:#5a5a5a}.form-control{width:100%;height:28px;padding:4px 8px;background-color:#fff;background-image:none;border:1px solid #e8e8e8;border-radius:2px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.form-control:focus{border-color:#d3d3d3;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px hsla(0,0%,83%,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px hsla(0,0%,83%,.6)}.form-control::-moz-placeholder{color:#ababab;opacity:1}.form-control:-ms-input-placeholder{color:#ababab}.form-control::-webkit-input-placeholder{color:#ababab}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#e8e8e8;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:28px}.input-group-sm>.input-group-btn>input.btn[type=date],.input-group-sm>.input-group-btn>input.btn[type=datetime-local],.input-group-sm>.input-group-btn>input.btn[type=month],.input-group-sm>.input-group-btn>input.btn[type=time],.input-group-sm>input.form-control[type=date],.input-group-sm>input.form-control[type=datetime-local],.input-group-sm>input.form-control[type=month],.input-group-sm>input.form-control[type=time],.input-group-sm>input.input-group-addon[type=date],.input-group-sm>input.input-group-addon[type=datetime-local],.input-group-sm>input.input-group-addon[type=month],.input-group-sm>input.input-group-addon[type=time],.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:26px}.input-group-lg>.input-group-btn>input.btn[type=date],.input-group-lg>.input-group-btn>input.btn[type=datetime-local],.input-group-lg>.input-group-btn>input.btn[type=month],.input-group-lg>.input-group-btn>input.btn[type=time],.input-group-lg>input.form-control[type=date],.input-group-lg>input.form-control[type=datetime-local],.input-group-lg>input.form-control[type=month],.input-group-lg>input.form-control[type=time],.input-group-lg>input.input-group-addon[type=date],.input-group-lg>input.input-group-addon[type=datetime-local],.input-group-lg>input.input-group-addon[type=month],.input-group-lg>input.input-group-addon[type=time],.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:34px}}.form-group{margin-bottom:30px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.checkbox label,.radio label{min-height:18px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox-inline input[type=checkbox],.checkbox input[type=checkbox],.radio-inline input[type=radio],.radio input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.form-control-static{min-height:30px;padding-top:5px;padding-bottom:5px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm,.input-group-lg>.form-control-static.form-control,.input-group-lg>.form-control-static.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.input-group-sm>.form-control-static.form-control,.input-group-sm>.form-control-static.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn{padding-right:0;padding-left:0}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn,.input-sm{height:26px;padding:4px 15px;font-size:11px;line-height:1.5;border-radius:2px}.input-group-sm>.input-group-btn>select.btn,.input-group-sm>select.form-control,.input-group-sm>select.input-group-addon,select.input-sm{height:26px;line-height:26px}.input-group-sm>.input-group-btn>select.btn[multiple],.input-group-sm>.input-group-btn>textarea.btn,.input-group-sm>select.form-control[multiple],.input-group-sm>select.input-group-addon[multiple],.input-group-sm>textarea.form-control,.input-group-sm>textarea.input-group-addon,select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:26px;padding:4px 15px;font-size:11px;line-height:1.5;border-radius:2px}.form-group-sm select.form-control{height:26px;line-height:26px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:26px;min-height:29px;padding:5px 15px;font-size:11px;line-height:1.5}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn,.input-lg{height:34px;padding:6px 29px;font-size:15px;line-height:1.33333;border-radius:2px}.input-group-lg>.input-group-btn>select.btn,.input-group-lg>select.form-control,.input-group-lg>select.input-group-addon,select.input-lg{height:34px;line-height:34px}.input-group-lg>.input-group-btn>select.btn[multiple],.input-group-lg>.input-group-btn>textarea.btn,.input-group-lg>select.form-control[multiple],.input-group-lg>select.input-group-addon[multiple],.input-group-lg>textarea.form-control,.input-group-lg>textarea.input-group-addon,select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:34px;padding:6px 29px;font-size:15px;line-height:1.33333;border-radius:2px}.form-group-lg select.form-control{height:34px;line-height:34px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:34px;min-height:33px;padding:7px 29px;font-size:15px;line-height:1.33333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:35px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:28px;height:28px;line-height:28px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-group-lg>.form-control+.form-control-feedback,.input-group-lg>.input-group-addon+.form-control-feedback,.input-group-lg>.input-group-btn>.btn+.form-control-feedback,.input-lg+.form-control-feedback{width:34px;height:34px;line-height:34px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-group-sm>.form-control+.form-control-feedback,.input-group-sm>.input-group-addon+.form-control-feedback,.input-group-sm>.input-group-btn>.btn+.form-control-feedback,.input-sm+.form-control-feedback{width:26px;height:26px;line-height:26px}.has-success .checkbox,.has-success .checkbox-inline,.has-success.checkbox-inline label,.has-success.checkbox label,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.radio-inline label,.has-success.radio label{color:#5bb75b}.has-success .form-control{border-color:#5bb75b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#449b44;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #a2d6a2;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #a2d6a2}.has-success .input-group-addon{color:#5bb75b;background-color:#5bb75b;border-color:#5bb75b}.has-success .form-control-feedback{color:#5bb75b}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning.checkbox-inline label,.has-warning.checkbox label,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.radio-inline label,.has-warning.radio label{color:#faa732}.has-warning .form-control{border-color:#faa732;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#f39106;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #fcd296;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #fcd296}.has-warning .input-group-addon{color:#faa732;background-color:#faa732;border-color:#faa732}.has-warning .form-control-feedback{color:#faa732}.has-error .checkbox,.has-error .checkbox-inline,.has-error.checkbox-inline label,.has-error.checkbox label,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.radio-inline label,.has-error.radio label{color:#da4f49}.has-error .form-control{border-color:#da4f49;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#c72f29;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #eba19e;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #eba19e}.has-error .input-group-addon{color:#da4f49;background-color:#da4f49;border-color:#da4f49}.has-error .form-control-feedback{color:#da4f49}.has-feedback label~.form-control-feedback{top:23px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:5px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:23px}.form-horizontal .form-group{margin-right:-10px;margin-left:-10px}.form-horizontal .form-group:after,.form-horizontal .form-group:before{display:table;content:" "}.form-horizontal .form-group:after{clear:both}@media (min-width:768px){.form-horizontal .control-label{padding-top:5px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:10px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:7px;font-size:15px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:5px;font-size:11px}}.btn{display:inline-block;margin-bottom:0;font-weight:700;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;padding:4px 8px;font-size:12px;line-height:1.5;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:none}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);opacity:.65;-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.btn-default.dropdown-toggle{color:#333;background-color:#e6e6e6;background-image:none;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.btn-default.dropdown-toggle.focus,.open>.btn-default.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#006dcc;border-color:#005fb3}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#005299;border-color:#001b33}.btn-primary:hover{color:#fff;background-color:#005299;border-color:#003f75}.btn-primary.active,.btn-primary:active,.open>.btn-primary.dropdown-toggle{color:#fff;background-color:#005299;background-image:none;border-color:#003f75}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.btn-primary.dropdown-toggle.focus,.open>.btn-primary.dropdown-toggle:focus,.open>.btn-primary.dropdown-toggle:hover{color:#fff;background-color:#003f75;border-color:#001b33}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#006dcc;border-color:#005fb3}.btn-primary .badge{color:#006dcc;background-color:#fff}.btn-success{color:#fff;background-color:#5bb75b;border-color:#4cad4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449b44;border-color:#255425}.btn-success:hover{color:#fff;background-color:#449b44;border-color:#398239}.btn-success.active,.btn-success:active,.open>.btn-success.dropdown-toggle{color:#fff;background-color:#449b44;background-image:none;border-color:#398239}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.btn-success.dropdown-toggle.focus,.open>.btn-success.dropdown-toggle:focus,.open>.btn-success.dropdown-toggle:hover{color:#fff;background-color:#398239;border-color:#255425}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5bb75b;border-color:#4cad4c}.btn-success .badge{color:#5bb75b;background-color:#fff}.btn-info{color:#fff;background-color:#49afcd;border-color:#36a5c6}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#3195b2;border-color:#1b5262}.btn-info:hover{color:#fff;background-color:#3195b2;border-color:#297d96}.btn-info.active,.btn-info:active,.open>.btn-info.dropdown-toggle{color:#fff;background-color:#3195b2;background-image:none;border-color:#297d96}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.btn-info.dropdown-toggle.focus,.open>.btn-info.dropdown-toggle:focus,.open>.btn-info.dropdown-toggle:hover{color:#fff;background-color:#297d96;border-color:#1b5262}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#49afcd;border-color:#36a5c6}.btn-info .badge{color:#49afcd;background-color:#fff}.btn-warning{color:#fff;background-color:#faa732;border-color:#f99c19}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#f39106;border-color:#905504}.btn-warning:hover{color:#fff;background-color:#f39106;border-color:#d07c05}.btn-warning.active,.btn-warning:active,.open>.btn-warning.dropdown-toggle{color:#fff;background-color:#f39106;background-image:none;border-color:#d07c05}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.btn-warning.dropdown-toggle.focus,.open>.btn-warning.dropdown-toggle:focus,.open>.btn-warning.dropdown-toggle:hover{color:#fff;background-color:#d07c05;border-color:#905504}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#faa732;border-color:#f99c19}.btn-warning .badge{color:#faa732;background-color:#fff}.btn-danger{color:#fff;background-color:#da4f49;border-color:#d63b34}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c72f29;border-color:#731b17}.btn-danger:hover{color:#fff;background-color:#c72f29;border-color:#aa2823}.btn-danger.active,.btn-danger:active,.open>.btn-danger.dropdown-toggle{color:#fff;background-color:#c72f29;background-image:none;border-color:#aa2823}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.btn-danger.dropdown-toggle.focus,.open>.btn-danger.dropdown-toggle:focus,.open>.btn-danger.dropdown-toggle:hover{color:#fff;background-color:#aa2823;border-color:#731b17}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#da4f49;border-color:#d63b34}.btn-danger .badge{color:#da4f49;background-color:#fff}.btn-link{font-weight:400;color:#006dcc;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#1950a3;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#838383;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:6px 29px;font-size:15px;line-height:1.33333;border-radius:2px}.btn-group-sm>.btn,.btn-sm{padding:4px 15px;font-size:11px;line-height:1.5;border-radius:2px}.btn-group-xs>.btn,.btn-xs{padding:2px 4px;font-size:11px;line-height:1.5;border-radius:2px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:12px;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid #d3d3d3;border-radius:2px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:8px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.5;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#fff;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#333;text-decoration:none;background-color:#f9f9f9;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#838383}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:11px;line-height:1.5;color:#838383;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:0){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar:after,.btn-toolbar:before{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group-lg.btn-group>.btn+.dropdown-toggle,.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-group-lg>.btn .caret,.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-group-lg>.btn .caret,.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:2px;border-bottom-left-radius:2px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:4px 8px;font-size:12px;font-weight:400;line-height:1;color:#5a5a5a;text-align:center;background-color:#fff;border:1px solid #fff;border-radius:2px}.input-group-addon.input-sm,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn{padding:4px 15px;font-size:11px;border-radius:2px}.input-group-addon.input-lg,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn{padding:6px 29px;font-size:15px;border-radius:2px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group .form-control:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group .form-control:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{font-size:0;white-space:nowrap}.input-group-btn,.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:after,.nav:before{display:table;content:" "}.nav:after{clear:both}.nav>li,.nav>li>a{position:relative;display:block}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#e8e8e8}.nav>li.disabled>a{color:#838383}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#838383;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#e8e8e8;border-color:#006dcc}.nav .nav-divider{height:1px;margin:8px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left}.nav-tabs>li>a{margin-right:2px;line-height:1.5;border:1px solid transparent;border-radius:2px 2px 0 0}.nav-tabs>li>a:hover{border-color:#e8e8e8 #e8e8e8 #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#5a5a5a;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:2px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#006dcc}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified,.nav-tabs.nav-justified{width:100%}.nav-justified>li,.nav-tabs.nav-justified>li{float:none}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li,.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified,.nav-tabs.nav-justified{border-bottom:0}.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:2px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:2px 2px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:35px;margin-bottom:18px;border:1px solid transparent}.navbar:after,.navbar:before{display:table;content:" "}.navbar:after{clear:both}@media (min-width:0){.navbar{border-radius:2px}}.navbar-header:after,.navbar-header:before{display:table;content:" "}.navbar-header:after{clear:both}@media (min-width:0){.navbar-header{float:left}}.navbar-collapse{padding-right:10px;padding-left:10px;overflow-x:visible;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1);-webkit-overflow-scrolling:touch}.navbar-collapse:after,.navbar-collapse:before{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media (min-width:0){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}@media (min-width:0){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-10px;margin-left:-10px}@media (min-width:0){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:0){.navbar-static-top{border-radius:0}}.navbar-brand{float:left;height:35px;padding:8.5px 10px;font-size:15px;line-height:18px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:0){.navbar>.container-fluid .navbar-brand,.navbar>.container .navbar-brand{margin-left:-10px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-right:10px;margin-top:.5px;margin-bottom:.5px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:2px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:0){.navbar-toggle{display:none}}.navbar-nav{margin:4.25px -10px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:18px}@media (max-width:-1){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:18px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:0){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:8.5px;padding-bottom:8.5px}}.navbar-form{padding:10px;margin:3.5px -10px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1),0 1px 0 hsla(0,0%,100%,.1);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1),0 1px 0 hsla(0,0%,100%,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:-1){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:0){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:3.5px;margin-bottom:3.5px}.btn-group-sm>.navbar-btn.btn,.navbar-btn.btn-sm{margin-top:4.5px;margin-bottom:4.5px}.btn-group-xs>.navbar-btn.btn,.navbar-btn.btn-xs{margin-top:6.5px;margin-bottom:6.5px}.navbar-text{margin-top:8.5px;margin-bottom:8.5px}@media (min-width:0){.navbar-text{float:left;margin-right:10px;margin-left:10px}}@media (min-width:0){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-10px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-nav>li>a,.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:-1){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#090909}.navbar-inverse .navbar-brand{color:#a9a9a9}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>li>a,.navbar-inverse .navbar-text{color:#a9a9a9}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#090909}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#090909}@media (max-width:-1){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#a9a9a9}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-link{color:#a9a9a9}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#a9a9a9}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.pagination{display:inline-block;padding-left:0;margin:18px 0;border-radius:2px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:4px 8px;margin-left:-1px;line-height:1.5;color:#006dcc;text-decoration:none;background-color:#fff;border:1px solid #e8e8e8}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#1950a3;background-color:#f9f9f9;border-color:#e8e8e8}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:2px;border-bottom-left-radius:2px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:2px;border-bottom-right-radius:2px}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#838383;cursor:default;background-color:#f9f9f9;border-color:#e8e8e8}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#838383;cursor:not-allowed;background-color:#fff;border-color:#e8e8e8}.pagination-lg>li>a,.pagination-lg>li>span{padding:6px 29px;font-size:15px;line-height:1.33333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:2px;border-bottom-left-radius:2px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:2px;border-bottom-right-radius:2px}.pagination-sm>li>a,.pagination-sm>li>span{padding:4px 15px;font-size:11px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:2px;border-bottom-left-radius:2px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:2px;border-bottom-right-radius:2px}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label:empty{display:none}.btn .label{position:relative;top:-1px}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label-default{background-color:#838383}.label-default[href]:focus,.label-default[href]:hover{background-color:#6a6a6a}.label-primary{background-color:#006dcc}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#005299}.label-success{background-color:#5bb75b}.label-success[href]:focus,.label-success[href]:hover{background-color:#449b44}.label-info{background-color:#49afcd}.label-info[href]:focus,.label-info[href]:hover{background-color:#3195b2}.label-warning{background-color:#faa732}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#f39106}.label-danger{background-color:#da4f49}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c72f29}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:11px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#838383;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#006dcc;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.alert{padding:15px;margin-bottom:18px;border:1px solid transparent;border-radius:2px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#5bb75b;background-color:#5bb75b;border-color:#31a549}.alert-success hr{border-top-color:#2b9140}.alert-success .alert-link{color:#449b44}.alert-info{color:#49afcd;background-color:#49afcd;border-color:#0492ba}.alert-info hr{border-top-color:#037ea1}.alert-info .alert-link{color:#3195b2}.alert-warning{color:#faa732;background-color:#faa732;border-color:#f8951d}.alert-warning hr{border-top-color:#f48908}.alert-warning .alert-link{color:#f39106}.alert-danger{color:#da4f49;background-color:#da4f49;border-color:#d5382e}.alert-danger hr{border-top-color:#c23027}.alert-danger .alert-link{color:#c72f29}@-webkit-keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}.progress{height:18px;margin-bottom:18px;overflow:hidden;background-color:#f5f5f5;border-radius:2px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:11px;line-height:18px;color:#fff;text-align:center;background-color:#006dcc;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5bb75b}.progress-striped .progress-bar-success{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-info{background-color:#49afcd}.progress-striped .progress-bar-info{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-warning{background-color:#faa732}.progress-striped .progress-bar-warning{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-danger{background-color:#da4f49}.progress-striped .progress-bar-danger{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:2px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:2px}.well-sm{padding:9px;border-radius:2px}.close{float:right;font-size:18px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.modal,.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-transition:-webkit-transform .3s ease-out;transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0);transform:translate(0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:1px solid #999;border:1px solid transparent;border-radius:2px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#5a5a5a}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=80);opacity:.8}.modal-header{padding:15px;border-bottom:1px solid #e8e8e8}.modal-header:after,.modal-header:before{display:table;content:" "}.modal-header:after{clear:both}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.5}.modal-body{position:relative;padding:30px}.modal-footer{padding:30px;text-align:right;border-top:1px solid #e8e8e8}.modal-footer:after,.modal-footer:before{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:700px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:525px}}@media (min-width:992px){.modal-lg{width:940px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:Roboto,Helvetica,sans-serif;font-style:normal;font-weight:400;line-height:1.5;line-break:auto;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;font-size:11px;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px}.tooltip.top-left .tooltip-arrow,.tooltip.top-right .tooltip-arrow{bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{left:5px}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:2px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.carousel,.carousel-inner{position:relative}.carousel-inner{width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:left .6s ease-in-out;transition:left .6s ease-in-out}.carousel-inner>.item>a>img,.carousel-inner>.item>img{display:block;max-width:100%;height:auto;line-height:1}@media (-webkit-transform-3d),(transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);left:0}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);left:0}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{-webkit-transform:translateZ(0);transform:translateZ(0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:transparent;filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(90deg,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#80000000",endColorstr="#00000000",GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(90deg,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000",endColorstr="#80000000",GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;outline:0;filter:alpha(opacity=90);opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:"\2039"}.carousel-control .icon-next:before{content:"\203A"}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:transparent;border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:after,.clearfix:before{display:table;content:" "}.clearfix:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}.btn-inverse:not([disabled]){color:#838383;background-color:#fff;border-color:#d3d3d3}.btn-inverse:not([disabled]).focus,.btn-inverse:not([disabled]):focus{color:#838383;background-color:#e6e6e6;border-color:#939393}.btn-inverse:not([disabled]):hover{color:#838383;background-color:#e6e6e6;border-color:#b4b4b4}.btn-inverse:not([disabled]).active,.btn-inverse:not([disabled]):active,.open>.btn-inverse:not([disabled]).dropdown-toggle{color:#838383;background-color:#e6e6e6;background-image:none;border-color:#b4b4b4}.btn-inverse:not([disabled]).active.focus,.btn-inverse:not([disabled]).active:focus,.btn-inverse:not([disabled]).active:hover,.btn-inverse:not([disabled]):active.focus,.btn-inverse:not([disabled]):active:focus,.btn-inverse:not([disabled]):active:hover,.open>.btn-inverse:not([disabled]).dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).dropdown-toggle:hover{color:#838383;background-color:#d4d4d4;border-color:#939393}.btn-inverse:not([disabled]).disabled.focus,.btn-inverse:not([disabled]).disabled:focus,.btn-inverse:not([disabled]).disabled:hover,.btn-inverse:not([disabled])[disabled].focus,.btn-inverse:not([disabled])[disabled]:focus,.btn-inverse:not([disabled])[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).focus,fieldset[disabled] .btn-inverse:not([disabled]):focus,fieldset[disabled] .btn-inverse:not([disabled]):hover{background-color:#fff;border-color:#d3d3d3}.btn-inverse:not([disabled]) .badge{color:#fff;background-color:#838383}.btn-inverse:not([disabled]):active,.btn-inverse:not([disabled]):focus,.btn-inverse:not([disabled]):hover{background-color:#f3f3f3}.btn-inverse:not([disabled]).btn-primary{color:#006dcc;background-color:#fff;border-color:#006dcc}.btn-inverse:not([disabled]).btn-primary.focus,.btn-inverse:not([disabled]).btn-primary:focus{color:#006dcc;background-color:#e6e6e6;border-color:#00294d}.btn-inverse:not([disabled]).btn-primary:hover{color:#006dcc;background-color:#e6e6e6;border-color:#004c8f}.btn-inverse:not([disabled]).btn-primary.active,.btn-inverse:not([disabled]).btn-primary:active,.open>.btn-inverse:not([disabled]).btn-primary.dropdown-toggle{color:#006dcc;background-color:#e6e6e6;background-image:none;border-color:#004c8f}.btn-inverse:not([disabled]).btn-primary.active.focus,.btn-inverse:not([disabled]).btn-primary.active:focus,.btn-inverse:not([disabled]).btn-primary.active:hover,.btn-inverse:not([disabled]).btn-primary:active.focus,.btn-inverse:not([disabled]).btn-primary:active:focus,.btn-inverse:not([disabled]).btn-primary:active:hover,.open>.btn-inverse:not([disabled]).btn-primary.dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).btn-primary.dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).btn-primary.dropdown-toggle:hover{color:#006dcc;background-color:#d4d4d4;border-color:#00294d}.btn-inverse:not([disabled]).btn-primary.disabled.focus,.btn-inverse:not([disabled]).btn-primary.disabled:focus,.btn-inverse:not([disabled]).btn-primary.disabled:hover,.btn-inverse:not([disabled]).btn-primary[disabled].focus,.btn-inverse:not([disabled]).btn-primary[disabled]:focus,.btn-inverse:not([disabled]).btn-primary[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).btn-primary.focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-primary:focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-primary:hover{background-color:#fff;border-color:#006dcc}.btn-inverse:not([disabled]).btn-primary .badge{color:#fff;background-color:#006dcc}.btn-inverse:not([disabled]).btn-primary:active,.btn-inverse:not([disabled]).btn-primary:active:active,.btn-inverse:not([disabled]).btn-primary:focus,.btn-inverse:not([disabled]).btn-primary:focus:active,.btn-inverse:not([disabled]).btn-primary:hover,.btn-inverse:not([disabled]).btn-primary:hover:active{background-color:#cce7ff}.btn-inverse:not([disabled]).btn-success{color:#5bb75b;background-color:#fff;border-color:#5bb75b}.btn-inverse:not([disabled]).btn-success.focus,.btn-inverse:not([disabled]).btn-success:focus{color:#5bb75b;background-color:#e6e6e6;border-color:#2d662d}.btn-inverse:not([disabled]).btn-success:hover{color:#5bb75b;background-color:#e6e6e6;border-color:#419441}.btn-inverse:not([disabled]).btn-success.active,.btn-inverse:not([disabled]).btn-success:active,.open>.btn-inverse:not([disabled]).btn-success.dropdown-toggle{color:#5bb75b;background-color:#e6e6e6;background-image:none;border-color:#419441}.btn-inverse:not([disabled]).btn-success.active.focus,.btn-inverse:not([disabled]).btn-success.active:focus,.btn-inverse:not([disabled]).btn-success.active:hover,.btn-inverse:not([disabled]).btn-success:active.focus,.btn-inverse:not([disabled]).btn-success:active:focus,.btn-inverse:not([disabled]).btn-success:active:hover,.open>.btn-inverse:not([disabled]).btn-success.dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).btn-success.dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).btn-success.dropdown-toggle:hover{color:#5bb75b;background-color:#d4d4d4;border-color:#2d662d}.btn-inverse:not([disabled]).btn-success.disabled.focus,.btn-inverse:not([disabled]).btn-success.disabled:focus,.btn-inverse:not([disabled]).btn-success.disabled:hover,.btn-inverse:not([disabled]).btn-success[disabled].focus,.btn-inverse:not([disabled]).btn-success[disabled]:focus,.btn-inverse:not([disabled]).btn-success[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).btn-success.focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-success:focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-success:hover{background-color:#fff;border-color:#5bb75b}.btn-inverse:not([disabled]).btn-success .badge{color:#fff;background-color:#5bb75b}.btn-inverse:not([disabled]).btn-success:active,.btn-inverse:not([disabled]).btn-success:active:active,.btn-inverse:not([disabled]).btn-success:focus,.btn-inverse:not([disabled]).btn-success:focus:active,.btn-inverse:not([disabled]).btn-success:hover,.btn-inverse:not([disabled]).btn-success:hover:active{background-color:#dcefdc}.btn-inverse:not([disabled]).btn-info{color:#49afcd;background-color:#fff;border-color:#49afcd}.btn-inverse:not([disabled]).btn-info.focus,.btn-inverse:not([disabled]).btn-info:focus{color:#49afcd;background-color:#e6e6e6;border-color:#206376}.btn-inverse:not([disabled]).btn-info:hover{color:#49afcd;background-color:#e6e6e6;border-color:#2f8eaa}.btn-inverse:not([disabled]).btn-info.active,.btn-inverse:not([disabled]).btn-info:active,.open>.btn-inverse:not([disabled]).btn-info.dropdown-toggle{color:#49afcd;background-color:#e6e6e6;background-image:none;border-color:#2f8eaa}.btn-inverse:not([disabled]).btn-info.active.focus,.btn-inverse:not([disabled]).btn-info.active:focus,.btn-inverse:not([disabled]).btn-info.active:hover,.btn-inverse:not([disabled]).btn-info:active.focus,.btn-inverse:not([disabled]).btn-info:active:focus,.btn-inverse:not([disabled]).btn-info:active:hover,.open>.btn-inverse:not([disabled]).btn-info.dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).btn-info.dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).btn-info.dropdown-toggle:hover{color:#49afcd;background-color:#d4d4d4;border-color:#206376}.btn-inverse:not([disabled]).btn-info.disabled.focus,.btn-inverse:not([disabled]).btn-info.disabled:focus,.btn-inverse:not([disabled]).btn-info.disabled:hover,.btn-inverse:not([disabled]).btn-info[disabled].focus,.btn-inverse:not([disabled]).btn-info[disabled]:focus,.btn-inverse:not([disabled]).btn-info[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).btn-info.focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-info:focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-info:hover{background-color:#fff;border-color:#49afcd}.btn-inverse:not([disabled]).btn-info .badge{color:#fff;background-color:#49afcd}.btn-inverse:not([disabled]).btn-info:active,.btn-inverse:not([disabled]).btn-info:active:active,.btn-inverse:not([disabled]).btn-info:focus,.btn-inverse:not([disabled]).btn-info:focus:active,.btn-inverse:not([disabled]).btn-info:hover,.btn-inverse:not([disabled]).btn-info:hover:active{background-color:#d7edf4}.btn-inverse:not([disabled]).btn-warning{color:#faa732;background-color:#fff;border-color:#faa732}.btn-inverse:not([disabled]).btn-warning.focus,.btn-inverse:not([disabled]).btn-warning:focus{color:#faa732;background-color:#e6e6e6;border-color:#a86404}.btn-inverse:not([disabled]).btn-warning:hover{color:#faa732;background-color:#e6e6e6;border-color:#e98b06}.btn-inverse:not([disabled]).btn-warning.active,.btn-inverse:not([disabled]).btn-warning:active,.open>.btn-inverse:not([disabled]).btn-warning.dropdown-toggle{color:#faa732;background-color:#e6e6e6;background-image:none;border-color:#e98b06}.btn-inverse:not([disabled]).btn-warning.active.focus,.btn-inverse:not([disabled]).btn-warning.active:focus,.btn-inverse:not([disabled]).btn-warning.active:hover,.btn-inverse:not([disabled]).btn-warning:active.focus,.btn-inverse:not([disabled]).btn-warning:active:focus,.btn-inverse:not([disabled]).btn-warning:active:hover,.open>.btn-inverse:not([disabled]).btn-warning.dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).btn-warning.dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).btn-warning.dropdown-toggle:hover{color:#faa732;background-color:#d4d4d4;border-color:#a86404}.btn-inverse:not([disabled]).btn-warning.disabled.focus,.btn-inverse:not([disabled]).btn-warning.disabled:focus,.btn-inverse:not([disabled]).btn-warning.disabled:hover,.btn-inverse:not([disabled]).btn-warning[disabled].focus,.btn-inverse:not([disabled]).btn-warning[disabled]:focus,.btn-inverse:not([disabled]).btn-warning[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).btn-warning.focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-warning:focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-warning:hover{background-color:#fff;border-color:#faa732}.btn-inverse:not([disabled]).btn-warning .badge{color:#fff;background-color:#faa732}.btn-inverse:not([disabled]).btn-warning:active,.btn-inverse:not([disabled]).btn-warning:active:active,.btn-inverse:not([disabled]).btn-warning:focus,.btn-inverse:not([disabled]).btn-warning:focus:active,.btn-inverse:not([disabled]).btn-warning:hover,.btn-inverse:not([disabled]).btn-warning:hover:active{background-color:#feeacd}.btn-inverse:not([disabled]).btn-danger{color:#da4f49;background-color:#fff;border-color:#da4f49}.btn-inverse:not([disabled]).btn-danger.focus,.btn-inverse:not([disabled]).btn-danger:focus{color:#da4f49;background-color:#e6e6e6;border-color:#88201c}.btn-inverse:not([disabled]).btn-danger:hover{color:#da4f49;background-color:#e6e6e6;border-color:#bf2d27}.btn-inverse:not([disabled]).btn-danger.active,.btn-inverse:not([disabled]).btn-danger:active,.open>.btn-inverse:not([disabled]).btn-danger.dropdown-toggle{color:#da4f49;background-color:#e6e6e6;background-image:none;border-color:#bf2d27}.btn-inverse:not([disabled]).btn-danger.active.focus,.btn-inverse:not([disabled]).btn-danger.active:focus,.btn-inverse:not([disabled]).btn-danger.active:hover,.btn-inverse:not([disabled]).btn-danger:active.focus,.btn-inverse:not([disabled]).btn-danger:active:focus,.btn-inverse:not([disabled]).btn-danger:active:hover,.open>.btn-inverse:not([disabled]).btn-danger.dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).btn-danger.dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).btn-danger.dropdown-toggle:hover{color:#da4f49;background-color:#d4d4d4;border-color:#88201c}.btn-inverse:not([disabled]).btn-danger.disabled.focus,.btn-inverse:not([disabled]).btn-danger.disabled:focus,.btn-inverse:not([disabled]).btn-danger.disabled:hover,.btn-inverse:not([disabled]).btn-danger[disabled].focus,.btn-inverse:not([disabled]).btn-danger[disabled]:focus,.btn-inverse:not([disabled]).btn-danger[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).btn-danger.focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-danger:focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-danger:hover{background-color:#fff;border-color:#da4f49}.btn-inverse:not([disabled]).btn-danger .badge{color:#fff;background-color:#da4f49}.btn-inverse:not([disabled]).btn-danger:active,.btn-inverse:not([disabled]).btn-danger:active:active,.btn-inverse:not([disabled]).btn-danger:focus,.btn-inverse:not([disabled]).btn-danger:focus:active,.btn-inverse:not([disabled]).btn-danger:hover,.btn-inverse:not([disabled]).btn-danger:hover:active{background-color:#f6d6d5}.btn{-webkit-box-shadow:0 1px #d3d3d3;box-shadow:0 1px #d3d3d3;margin-right:5px}.btn:last-child{margin-right:0}.btn:active{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:translateY(1px);transform:translateY(1px)}.btn.disabled,.btn.disabled:hover,.btn[disabled],.btn[disabled]:hover,[disabled] .btn,[disabled] .btn:hover{background-color:#e8e8e8;border-color:#e8e8e8;color:#838383}.btn.disabled,.btn.disabled:active,.btn[disabled],.btn[disabled]:active,[disabled] .btn,[disabled] .btn:active{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:translateY(0);transform:translateY(0)}.btn>.flexible-wrapper-inline>.flexible-spacer-component{min-width:8px}.btn.btn-link{cursor:pointer}.btn.btn-link,.btn.btn-link:active{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:translateY(0);transform:translateY(0)}.btn.btn-link:disabled,.btn.btn-link[disabled]{background-color:transparent;cursor:not-allowed}.btn.btn-link:active,.btn.btn-link:hover{background-color:transparent}.btn-borderless:not([disabled]){color:#838383;background-color:#fff;border-color:#fff;-webkit-box-shadow:none;box-shadow:none}.btn-borderless:not([disabled]).focus,.btn-borderless:not([disabled]):focus{color:#838383;background-color:#e6e6e6;border-color:#bfbfbf}.btn-borderless:not([disabled]):hover{color:#838383;background-color:#e6e6e6;border-color:#e0e0e0}.btn-borderless:not([disabled]).active,.btn-borderless:not([disabled]):active,.open>.btn-borderless:not([disabled]).dropdown-toggle{color:#838383;background-color:#e6e6e6;background-image:none;border-color:#e0e0e0}.btn-borderless:not([disabled]).active.focus,.btn-borderless:not([disabled]).active:focus,.btn-borderless:not([disabled]).active:hover,.btn-borderless:not([disabled]):active.focus,.btn-borderless:not([disabled]):active:focus,.btn-borderless:not([disabled]):active:hover,.open>.btn-borderless:not([disabled]).dropdown-toggle.focus,.open>.btn-borderless:not([disabled]).dropdown-toggle:focus,.open>.btn-borderless:not([disabled]).dropdown-toggle:hover{color:#838383;background-color:#d4d4d4;border-color:#bfbfbf}.btn-borderless:not([disabled]).disabled.focus,.btn-borderless:not([disabled]).disabled:focus,.btn-borderless:not([disabled]).disabled:hover,.btn-borderless:not([disabled])[disabled].focus,.btn-borderless:not([disabled])[disabled]:focus,.btn-borderless:not([disabled])[disabled]:hover,fieldset[disabled] .btn-borderless:not([disabled]).focus,fieldset[disabled] .btn-borderless:not([disabled]):focus,fieldset[disabled] .btn-borderless:not([disabled]):hover{background-color:#fff;border-color:#fff}.btn-borderless:not([disabled]) .badge{color:#fff;background-color:#838383}.btn-borderless:not([disabled]):focus,.btn-borderless:not([disabled]):hover{background-color:#fff;border-color:#d3d3d3;-webkit-box-shadow:0 1px #d3d3d3;box-shadow:0 1px #d3d3d3}.btn-flat:not([disabled]){color:#838383;background-color:#fff;border-color:#fff;border:0;-webkit-box-shadow:none;box-shadow:none}.btn-flat:not([disabled]).focus,.btn-flat:not([disabled]):focus{color:#838383;background-color:#e6e6e6;border-color:#bfbfbf}.btn-flat:not([disabled]):hover{color:#838383;background-color:#e6e6e6;border-color:#e0e0e0}.btn-flat:not([disabled]).active,.btn-flat:not([disabled]):active,.open>.btn-flat:not([disabled]).dropdown-toggle{color:#838383;background-color:#e6e6e6;background-image:none;border-color:#e0e0e0}.btn-flat:not([disabled]).active.focus,.btn-flat:not([disabled]).active:focus,.btn-flat:not([disabled]).active:hover,.btn-flat:not([disabled]):active.focus,.btn-flat:not([disabled]):active:focus,.btn-flat:not([disabled]):active:hover,.open>.btn-flat:not([disabled]).dropdown-toggle.focus,.open>.btn-flat:not([disabled]).dropdown-toggle:focus,.open>.btn-flat:not([disabled]).dropdown-toggle:hover{color:#838383;background-color:#d4d4d4;border-color:#bfbfbf}.btn-flat:not([disabled]).disabled.focus,.btn-flat:not([disabled]).disabled:focus,.btn-flat:not([disabled]).disabled:hover,.btn-flat:not([disabled])[disabled].focus,.btn-flat:not([disabled])[disabled]:focus,.btn-flat:not([disabled])[disabled]:hover,fieldset[disabled] .btn-flat:not([disabled]).focus,fieldset[disabled] .btn-flat:not([disabled]):focus,fieldset[disabled] .btn-flat:not([disabled]):hover{background-color:#fff;border-color:#fff}.btn-flat:not([disabled]) .badge{color:#fff;background-color:#838383}.btn-flat:not([disabled]):focus,.btn-flat:not([disabled]):hover{background-color:#fff}.btn-group-xs>.btn,.btn-xs{font-size:9px}.btn-group-xs>.btn:active,.btn-xs:active{-webkit-transform:translateY(0);transform:translateY(0)}.btn-group-xs>.btn>.flexible-wrapper-inline>.flexible-spacer-component,.btn-xs>.flexible-wrapper-inline>.flexible-spacer-component{min-width:4px}.input-group-btn>.btn{padding-bottom:3px}.checkbox label,.radiogroup-stacked label,.radio label{font-weight:300;padding-top:1px}.checkbox .icheckbox,.radio .icheckbox,.radiogroup-stacked .icheckbox{margin-left:-20px}.checkbox .icheckbox>input,.checkbox>.icheckbox,.checkbox>.iradio,.checkbox>input[type=checkbox],.checkbox>input[type=radio],.radio .icheckbox>input,.radio>.icheckbox,.radio>.iradio,.radio>input[type=checkbox],.radio>input[type=radio],.radiogroup-stacked .icheckbox>input,.radiogroup-stacked>.icheckbox,.radiogroup-stacked>.iradio,.radiogroup-stacked>input[type=checkbox],.radiogroup-stacked>input[type=radio]{margin-left:0}input[type=checkbox],input[type=radio]{width:16px;height:16px;margin-top:0}.icheckbox+span,.iradio+span{font-weight:300}.icheckbox:not(.disabled)+span,.iradio:not(.disabled)+span{cursor:pointer}.form-horizontal .control-label{text-align:left}.form-horizontal .checkbox{padding-top:3px;min-height:16px}.form-group .help-block{margin-bottom:0}.form-group label{font-weight:700}.form-group .checkbox label{font-weight:300}.form-control,.form-control:focus{-webkit-box-shadow:none;box-shadow:none}.form-control:focus{outline:0}.form-control,.form-control-static{font-weight:300}.form-btn-footer{text-align:right}fieldset{border-bottom:1px solid #f3f3f3;margin-bottom:30px}fieldset.borderless{border-bottom:0;margin-bottom:0}label{color:#5a5a5a}.input-group-addon{font-weight:300;padding:4px 5px}.input-group-addon:first-child{padding-left:0}.input-group-addon:last-child{padding-right:0}.help-block{color:#ababab;font-weight:300;margin-top:8px}.form-horizontal .control-label .help-block{margin-top:1px}.borderedwell-component .form-horizontal{padding:30px 30px 0}.modal{font-weight:300}.modal-title{font-weight:700}.modal-content{border-radius:0;-webkit-box-shadow:0 3px 0 rgba(0,0,0,.25);box-shadow:0 3px 0 rgba(0,0,0,.25)}.modal-body{overflow:auto}.modal-footer,.modal-header{height:40px}.modal-header{background-color:#f3f3f3;padding:10px 15px}.modal-header>.close{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 11.3L7.3 8 4.1 4.7l.8-.7L8 7.2 11.1 4l.7.7-3.1 3.2 3.3 3.3-.7.8L8 8.7 4.7 12l-.7-.7z'/%3E%3C/svg%3E");background-position:50%;background-size:20px;height:20px;margin-right:-5px;margin-top:0;width:20px}.modal-header>.close>span{display:none}.modal-footer{padding:6px}.modal-footer>.pull-left{float:left}.modal-footer>label{font-weight:300;color:#838383;margin-bottom:0;line-height:28px}.modal-footer>label.pull-left{padding:0 9px}.modal-footer>label.pull-left>input{margin-right:6px}.modal-instruction>p{margin-bottom:25px}.modal-instruction>strong{display:block;margin-bottom:5px}.nav-tabs{margin-bottom:0;min-height:35px}.nav-tabs>li{background-color:#f9f9f9;border-left:1px solid #e8e8e8;border-top:1px solid #e8e8e8;font-size:12px;margin-bottom:-1px;padding:0;text-align:center}.nav-tabs>li,.nav-tabs>li>a{display:inline-block;margin-right:0}.nav-tabs>li>a{color:#838383;cursor:pointer;font-weight:300;padding:8px 15px 7px;text-shadow:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.nav-tabs>li>a,.nav-tabs>li>a:focus,.nav-tabs>li>a:hover{border:0;outline:0}.nav-tabs>li>a .svg-symbol-component{vertical-align:top}.nav-tabs>li>a .icon{float:left;height:16px;width:16px}.nav-tabs>li.active,.nav-tabs>li.active:focus,.nav-tabs>li.active:hover{background-color:#fff;border:0}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{border-right:0;cursor:default}.nav-tabs>li:last-child,.nav-tabs>li:last-child:focus,.nav-tabs>li:last-child:hover{border-right:1px solid #e8e8e8}.nav-tabs .flexible-wrapper-inline>.flexible-spacer-component{min-width:8px}b,strong{font-weight:700}.radiogroup-stacked>label{display:block}.form-group .radiogroup-stacked{padding-top:3px}.icheckbox,.iradio{background-repeat:no-repeat;border:0;cursor:pointer;display:inline-block;height:16px;position:relative;vertical-align:middle;width:16px}.icheckbox+span,.iradio+span{margin:0 5px;vertical-align:middle}.icheckbox{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect y='0' fill='none' width='16' height='16'/%3E%3Cpath fill='%23FFFFFF' d='M4 14.5c-1.4 0-2.5-1.1-2.5-2.5V4c0-1.4 1.1-2.5 2.5-2.5h8c1.4 0 2.5 1.1 2.5 2.5v8c0 1.4-1.1 2.5-2.5 2.5H4z'/%3E%3Cpath fill='%23D3D3D3' d='M12 2c1.1 0 2 0.9 2 2v8c0 1.1-0.9 2-2 2H4c-1.1 0-2-0.9-2-2V4c0-1.1 0.9-2 2-2H12M12 1H4C2.4 1 1 2.3 1 4v8c0 1.6 1.4 3 3 3h8c1.6 0 3-1.4 3-3V4C15 2.3 13.7 1 12 1L12 1z'/%3E%3C/svg%3E")}.icheckbox.hover{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' d='M0 0h16v16H0z'/%3E%3Cpath fill='%234AAFCD' d='M12 2c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h8m0-1H4C2.4 1 1 2.3 1 4v8c0 1.6 1.4 3 3 3h8c1.6 0 3-1.4 3-3V4c0-1.7-1.3-3-3-3z'/%3E%3C/svg%3E")}.icheckbox.checked{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' d='M0 0h16v16H0z'/%3E%3Cpath fill='%234AAFCD' d='M15 12c0 1.6-1.4 3-3 3H4c-1.7 0-3-1.4-3-3V4c0-1.7 1.3-3 3-3h8c1.6 0 3 1.3 3 3v8z'/%3E%3Cpath fill='%23FFF' d='M11.5 4.7c-.2-.2-.5-.1-.7.1l-4.1 5.4-1.5-1.8c-.2-.2-.5-.3-.7-.1-.2.2-.2.5-.1.7l1.9 2.3c.1.1.2.2.4.2.1 0 .3-.1.4-.2l4.5-5.9c.1-.2.1-.5-.1-.7z'/%3E%3C/svg%3E")}.icheckbox.disabled{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' d='M0 0h16v16H0z'/%3E%3Cpath fill='%23FFF' d='M4 14.5c-1.4 0-2.5-1.1-2.5-2.5V4c0-1.4 1.1-2.5 2.5-2.5h8c1.4 0 2.5 1.1 2.5 2.5v8c0 1.4-1.1 2.5-2.5 2.5H4z'/%3E%3Cpath fill='%23F1F2F2' d='M12 2c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h8m0-1H4C2.4 1 1 2.3 1 4v8c0 1.6 1.4 3 3 3h8c1.6 0 3-1.4 3-3V4c0-1.7-1.3-3-3-3z'/%3E%3C/svg%3E")}.icheckbox.disabled,.icheckbox.disabled.checked{cursor:default}.icheckbox.disabled.checked{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23F1F2F2' d='M15 12c0 1.6-1.4 3-3 3H4c-1.7 0-3-1.4-3-3V4c0-1.7 1.3-3 3-3h8c1.6 0 3 1.3 3 3v8z'/%3E%3Cpath fill='%23E6E7E8' d='M11.5 4.7c-.2-.2-.5-.1-.7.1l-4.1 5.4-1.5-1.8c-.2-.2-.5-.3-.7-.1-.2.2-.2.5-.1.7l1.9 2.3c.1.1.2.2.4.2.1 0 .3-.1.4-.2l4.5-5.9c.1-.2.1-.5-.1-.7z'/%3E%3C/svg%3E")}.iradio,.iradio.hover{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23FFFFFF' d='M8 14.1c-3.4 0-6.1-2.8-6.1-6.1S4.6 1.9 8 1.9s6.1 2.8 6.1 6.1S11.4 14.1 8 14.1z'/%3E%3Cpath fill='%23D3D3D3' d='M8 2.4c3.1 0 5.6 2.5 5.6 5.6s-2.5 5.6-5.6 5.6S2.4 11.1 2.4 8 4.9 2.4 8 2.4M8 1.4c-3.7 0-6.6 3-6.6 6.6s3 6.6 6.6 6.6 6.6-3 6.6-6.6S11.7 1.4 8 1.4L8 1.4z'/%3E%3C/svg%3E")}.iradio.checked{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23FFFFFF' d='M8 14.1c-3.4 0-6.1-2.8-6.1-6.1S4.6 1.9 8 1.9s6.1 2.8 6.1 6.1S11.4 14.1 8 14.1z'/%3E%3Cpath fill='%234AAFCD' d='M8 2.4c3.1 0 5.6 2.5 5.6 5.6s-2.5 5.6-5.6 5.6S2.4 11.1 2.4 8 4.9 2.4 8 2.4M8 1.4c-3.7 0-6.6 3-6.6 6.6s3 6.6 6.6 6.6 6.6-3 6.6-6.6S11.7 1.4 8 1.4L8 1.4z'/%3E%3Cpath fill='%234AAFCD' d='M8 12.4c-2.4 0-4.4-2-4.4-4.4s2-4.4 4.4-4.4 4.4 2 4.4 4.4S10.4 12.4 8 12.4z'/%3E%3C/svg%3E")}.iradio.disabled{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' d='M0 0h16v16'/%3E%3Ccircle fill='%23D3D3D3' cx='8' cy='8' r='6.6'/%3E%3C/svg%3E")}.iradio.disabled,.iradio.disabled.checked{cursor:default}.iradio.disabled.checked{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23FFFFFF' d='M8 14.1c-3.4 0-6.1-2.8-6.1-6.1S4.6 1.9 8 1.9s6.1 2.8 6.1 6.1S11.4 14.1 8 14.1z'/%3E%3Cpath fill='%23D3D3D3' d='M8 2.4c3.1 0 5.6 2.5 5.6 5.6s-2.5 5.6-5.6 5.6S2.4 11.1 2.4 8 4.9 2.4 8 2.4M8 1.4c-3.7 0-6.6 3-6.6 6.6s3 6.6 6.6 6.6 6.6-3 6.6-6.6S11.7 1.4 8 1.4L8 1.4z'/%3E%3Cpath fill='%23D3D3D3' d='M8 12.4c-2.4 0-4.4-2-4.4-4.4s2-4.4 4.4-4.4 4.4 2 4.4 4.4S10.4 12.4 8 12.4z'/%3E%3C/svg%3E")}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{margin-left:-8px;position:absolute}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow:before{box-sizing:content-box;position:absolute;border:8px solid transparent;height:0;width:1px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow:before{content:"";z-index:-1;border-width:8px;left:-8px;border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{top:0;margin-top:-8px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-top:none;border-bottom-color:#f0f0f0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{top:-1px;border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{bottom:0;margin-bottom:-8px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow:before{border-bottom:none;border-top-color:#fff}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow:before{bottom:-1px;border-top-color:#aeaeae}.react-datepicker,.react-datepicker-wrapper{display:inline-block}.react-datepicker{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:.8rem;background-color:#fff;color:#000;border:1px solid #aeaeae;border-radius:.3rem;position:relative}.react-datepicker--time-only .react-datepicker__triangle{left:35px}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-radius:.3rem}.react-datepicker__triangle{position:absolute;left:50px}.react-datepicker-popper{z-index:1}.react-datepicker-popper[data-placement^=bottom]{margin-top:10px}.react-datepicker-popper[data-placement^=top]{margin-bottom:10px}.react-datepicker-popper[data-placement^=right]{margin-left:8px}.react-datepicker-popper[data-placement^=right] .react-datepicker__triangle{left:auto;right:42px}.react-datepicker-popper[data-placement^=left]{margin-right:8px}.react-datepicker-popper[data-placement^=left] .react-datepicker__triangle{left:42px;right:auto}.react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;border-top-right-radius:.3rem;padding-top:8px;position:relative}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__year-dropdown-container--select{display:inline-block;margin:0 2px}.react-datepicker-time__header,.react-datepicker__current-month{margin-top:0;color:#000;font-weight:700;font-size:.944rem}.react-datepicker-time__header{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.react-datepicker__navigation{background:none;line-height:1.7rem;text-align:center;cursor:pointer;position:absolute;top:10px;width:0;padding:0;border:.45rem solid transparent;z-index:1;height:10px;width:10px;text-indent:-999em;overflow:hidden}.react-datepicker__navigation--previous{left:10px;border-right-color:#ccc}.react-datepicker__navigation--previous:hover{border-right-color:#b3b3b3}.react-datepicker__navigation--previous--disabled,.react-datepicker__navigation--previous--disabled:hover{border-right-color:#e6e6e6;cursor:default}.react-datepicker__navigation--next{right:10px;border-left-color:#ccc}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:80px}.react-datepicker__navigation--next:hover{border-left-color:#b3b3b3}.react-datepicker__navigation--next--disabled,.react-datepicker__navigation--next--disabled:hover{border-left-color:#e6e6e6;cursor:default}.react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}.react-datepicker__navigation--years-previous{top:4px;border-top-color:#ccc}.react-datepicker__navigation--years-previous:hover{border-top-color:#b3b3b3}.react-datepicker__navigation--years-upcoming{top:-4px;border-bottom-color:#ccc}.react-datepicker__navigation--years-upcoming:hover{border-bottom-color:#b3b3b3}.react-datepicker__month-container{float:left}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__time-container{float:right;border-left:1px solid #aeaeae;width:70px}.react-datepicker__time-container--with-today-button{display:inline;border:1px solid #aeaeae;border-radius:.3rem;position:absolute;right:-72px;top:0}.react-datepicker__time-container .react-datepicker__time{position:relative;background:#fff}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{width:70px;overflow-x:hidden;margin:0 auto;text-align:center}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{list-style:none;margin:0;height:calc(195px + 0.85rem);overflow-y:scroll;padding-right:30px;width:100%;box-sizing:content-box}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{padding:5px 10px}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{cursor:pointer;background-color:#f0f0f0}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{cursor:default;background-color:transparent}.react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day-names,.react-datepicker__week{white-space:nowrap}.react-datepicker__day,.react-datepicker__day-name,.react-datepicker__time-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__day{cursor:pointer}.react-datepicker__day:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day--today{font-weight:700}.react-datepicker__day--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}.react-datepicker__day--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2{color:green}.react-datepicker__day--in-range,.react-datepicker__day--in-selecting-range,.react-datepicker__day--selected{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__day--in-range:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--selected:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected{border-radius:.3rem;background-color:#2a87d0;color:#fff}.react-datepicker__day--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range){background-color:rgba(33,107,165,.5)}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled{cursor:default;color:#ccc}.react-datepicker__day--disabled:hover{background-color:transparent}.react-datepicker__input-container{position:relative;display:inline-block}.react-datepicker__month-read-view,.react-datepicker__month-year-read-view,.react-datepicker__year-read-view{border:1px solid transparent;border-radius:.3rem}.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover,.react-datepicker__year-read-view:hover{cursor:pointer}.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{border-top-color:#ccc;float:right;margin-left:20px;top:8px;position:relative;border-width:.45rem}.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown,.react-datepicker__year-dropdown{background-color:#f0f0f0;position:absolute;width:50%;left:25%;top:30px;z-index:1;text-align:center;border-radius:.3rem;border:1px solid #aeaeae}.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover,.react-datepicker__year-dropdown:hover{cursor:pointer}.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable,.react-datepicker__year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__month-option,.react-datepicker__month-year-option,.react-datepicker__year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type,.react-datepicker__year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type,.react-datepicker__year-option:last-of-type{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover,.react-datepicker__year-option:hover{background-color:#ccc}.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected,.react-datepicker__year-option--selected{position:absolute;left:15px}.react-datepicker__close-icon{background-color:transparent;border:0;cursor:pointer;outline:0;padding:0;vertical-align:middle;position:absolute;height:16px;width:16px;top:25%;right:7px}.react-datepicker__close-icon:after{background-color:#216ba5;border-radius:50%;bottom:0;box-sizing:border-box;color:#fff;content:"\D7";cursor:pointer;font-size:12px;height:16px;width:16px;line-height:1;margin:-8px auto 0;padding:2px;position:absolute;right:0;text-align:center}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:700;padding:5px 0;clear:left}.react-datepicker__portal{position:fixed;width:100vw;height:100vh;background-color:rgba(0,0,0,.8);left:0;top:0;justify-content:center;align-items:center;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{width:3rem;line-height:3rem}@media (max-height:550px),(max-width:400px){.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{width:2rem;line-height:2rem}}.react-datepicker__portal .react-datepicker-time__header,.react-datepicker__portal .react-datepicker__current-month{font-size:1.44rem}.react-datepicker__portal .react-datepicker__navigation{border:.81rem solid transparent}.react-datepicker__portal .react-datepicker__navigation--previous{border-right-color:#ccc}.react-datepicker__portal .react-datepicker__navigation--previous:hover{border-right-color:#b3b3b3}.react-datepicker__portal .react-datepicker__navigation--previous--disabled,.react-datepicker__portal .react-datepicker__navigation--previous--disabled:hover{border-right-color:#e6e6e6;cursor:default}.react-datepicker__portal .react-datepicker__navigation--next{border-left-color:#ccc}.react-datepicker__portal .react-datepicker__navigation--next:hover{border-left-color:#b3b3b3}.react-datepicker__portal .react-datepicker__navigation--next--disabled,.react-datepicker__portal .react-datepicker__navigation--next--disabled:hover{border-left-color:#e6e6e6;cursor:default}/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:Roboto,Helvetica,sans-serif;font-size:12px;line-height:1.5;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#006dcc;text-decoration:none}a:focus,a:hover{color:#1950a3;text-decoration:underline}a:focus{outline:none}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:2px}.img-thumbnail{padding:4px;line-height:1.5;background-color:#fff;border:1px solid #ddd;border-radius:2px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:18px;margin-bottom:18px;border:0;border-top:1px solid #e8e8e8}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#838383}.h1,.h2,.h3,h1,h2,h3{margin-top:18px;margin-bottom:9px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:9px;margin-bottom:9px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:31px}.h2,h2{font-size:25px}.h3,h3{font-size:21px}.h4,h4{font-size:15px}.h5,h5{font-size:12px}.h6,h6{font-size:11px}p{margin:0 0 9px}.lead{margin-bottom:18px;font-size:13px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:18px}}.small,small{font-size:91%}.mark,mark{padding:.2em;background-color:#faa732}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.initialism,.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#838383}.text-primary{color:#006dcc}a.text-primary:focus,a.text-primary:hover{color:#005299}.text-success{color:#5bb75b}a.text-success:focus,a.text-success:hover{color:#449b44}.text-info{color:#49afcd}a.text-info:focus,a.text-info:hover{color:#3195b2}.text-warning{color:#faa732}a.text-warning:focus,a.text-warning:hover{color:#f39106}.text-danger{color:#da4f49}a.text-danger:focus,a.text-danger:hover{color:#c72f29}.bg-primary{color:#fff;background-color:#006dcc}a.bg-primary:focus,a.bg-primary:hover{background-color:#005299}.bg-success{background-color:#5bb75b}a.bg-success:focus,a.bg-success:hover{background-color:#449b44}.bg-info{background-color:#49afcd}a.bg-info:focus,a.bg-info:hover{background-color:#3195b2}.bg-warning{background-color:#faa732}a.bg-warning:focus,a.bg-warning:hover{background-color:#f39106}.bg-danger{background-color:#da4f49}a.bg-danger:focus,a.bg-danger:hover{background-color:#c72f29}.page-header{padding-bottom:8px;margin:36px 0 18px;border-bottom:1px solid #e8e8e8}ol,ul{margin-top:0;margin-bottom:9px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:18px}dd,dt{line-height:1.5}dt{font-weight:700}dd{margin-left:0}.dl-horizontal dd:after,.dl-horizontal dd:before{display:table;content:" "}.dl-horizontal dd:after{clear:both}@media (min-width:0){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help}.initialism{font-size:90%}blockquote{padding:9px 18px;margin:0 0 18px;font-size:15px;border-left:5px solid #e8e8e8}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.5;color:#838383}blockquote .small:before,blockquote footer:before,blockquote small:before{content:"\2014 \A0"}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #e8e8e8;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:""}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:"\A0 \2014"}address{margin-bottom:18px;font-style:normal;line-height:1.5}.container{padding-right:10px;padding-left:10px;margin-right:auto;margin-left:auto}.container:after,.container:before{display:table;content:" "}.container:after{clear:both}@media (min-width:768px){.container{width:740px}}@media (min-width:992px){.container{width:960px}}@media (min-width:1200px){.container{width:1160px}}.container-fluid{padding-right:10px;padding-left:10px;margin-right:auto;margin-left:auto}.container-fluid:after,.container-fluid:before{display:table;content:" "}.container-fluid:after{clear:both}.row{margin-right:-10px;margin-left:-10px}.row:after,.row:before{display:table;content:" "}.row:after{clear:both}.row-no-gutters{margin-right:0;margin-left:0}.row-no-gutters [class*=col-]{padding-right:0;padding-left:0}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-right:10px;padding-left:10px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-1{width:8.33333%}.col-xs-2{width:16.66667%}.col-xs-3{width:25%}.col-xs-4{width:33.33333%}.col-xs-5{width:41.66667%}.col-xs-6{width:50%}.col-xs-7{width:58.33333%}.col-xs-8{width:66.66667%}.col-xs-9{width:75%}.col-xs-10{width:83.33333%}.col-xs-11{width:91.66667%}.col-xs-12{width:100%}.col-xs-pull-0{right:auto}.col-xs-pull-1{right:8.33333%}.col-xs-pull-2{right:16.66667%}.col-xs-pull-3{right:25%}.col-xs-pull-4{right:33.33333%}.col-xs-pull-5{right:41.66667%}.col-xs-pull-6{right:50%}.col-xs-pull-7{right:58.33333%}.col-xs-pull-8{right:66.66667%}.col-xs-pull-9{right:75%}.col-xs-pull-10{right:83.33333%}.col-xs-pull-11{right:91.66667%}.col-xs-pull-12{right:100%}.col-xs-push-0{left:auto}.col-xs-push-1{left:8.33333%}.col-xs-push-2{left:16.66667%}.col-xs-push-3{left:25%}.col-xs-push-4{left:33.33333%}.col-xs-push-5{left:41.66667%}.col-xs-push-6{left:50%}.col-xs-push-7{left:58.33333%}.col-xs-push-8{left:66.66667%}.col-xs-push-9{left:75%}.col-xs-push-10{left:83.33333%}.col-xs-push-11{left:91.66667%}.col-xs-push-12{left:100%}.col-xs-offset-0{margin-left:0}.col-xs-offset-1{margin-left:8.33333%}.col-xs-offset-2{margin-left:16.66667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333%}.col-xs-offset-5{margin-left:41.66667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333%}.col-xs-offset-8{margin-left:66.66667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333%}.col-xs-offset-11{margin-left:91.66667%}.col-xs-offset-12{margin-left:100%}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-1{width:8.33333%}.col-sm-2{width:16.66667%}.col-sm-3{width:25%}.col-sm-4{width:33.33333%}.col-sm-5{width:41.66667%}.col-sm-6{width:50%}.col-sm-7{width:58.33333%}.col-sm-8{width:66.66667%}.col-sm-9{width:75%}.col-sm-10{width:83.33333%}.col-sm-11{width:91.66667%}.col-sm-12{width:100%}.col-sm-pull-0{right:auto}.col-sm-pull-1{right:8.33333%}.col-sm-pull-2{right:16.66667%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.33333%}.col-sm-pull-5{right:41.66667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.33333%}.col-sm-pull-8{right:66.66667%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.33333%}.col-sm-pull-11{right:91.66667%}.col-sm-pull-12{right:100%}.col-sm-push-0{left:auto}.col-sm-push-1{left:8.33333%}.col-sm-push-2{left:16.66667%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.33333%}.col-sm-push-5{left:41.66667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.33333%}.col-sm-push-8{left:66.66667%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.33333%}.col-sm-push-11{left:91.66667%}.col-sm-push-12{left:100%}.col-sm-offset-0{margin-left:0}.col-sm-offset-1{margin-left:8.33333%}.col-sm-offset-2{margin-left:16.66667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333%}.col-sm-offset-5{margin-left:41.66667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333%}.col-sm-offset-8{margin-left:66.66667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333%}.col-sm-offset-11{margin-left:91.66667%}.col-sm-offset-12{margin-left:100%}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-1{width:8.33333%}.col-md-2{width:16.66667%}.col-md-3{width:25%}.col-md-4{width:33.33333%}.col-md-5{width:41.66667%}.col-md-6{width:50%}.col-md-7{width:58.33333%}.col-md-8{width:66.66667%}.col-md-9{width:75%}.col-md-10{width:83.33333%}.col-md-11{width:91.66667%}.col-md-12{width:100%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.33333%}.col-md-pull-2{right:16.66667%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.33333%}.col-md-pull-5{right:41.66667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.33333%}.col-md-pull-8{right:66.66667%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.33333%}.col-md-pull-11{right:91.66667%}.col-md-pull-12{right:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.33333%}.col-md-push-2{left:16.66667%}.col-md-push-3{left:25%}.col-md-push-4{left:33.33333%}.col-md-push-5{left:41.66667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.33333%}.col-md-push-8{left:66.66667%}.col-md-push-9{left:75%}.col-md-push-10{left:83.33333%}.col-md-push-11{left:91.66667%}.col-md-push-12{left:100%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.33333%}.col-md-offset-2{margin-left:16.66667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333%}.col-md-offset-5{margin-left:41.66667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333%}.col-md-offset-8{margin-left:66.66667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333%}.col-md-offset-11{margin-left:91.66667%}.col-md-offset-12{margin-left:100%}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-1{width:8.33333%}.col-lg-2{width:16.66667%}.col-lg-3{width:25%}.col-lg-4{width:33.33333%}.col-lg-5{width:41.66667%}.col-lg-6{width:50%}.col-lg-7{width:58.33333%}.col-lg-8{width:66.66667%}.col-lg-9{width:75%}.col-lg-10{width:83.33333%}.col-lg-11{width:91.66667%}.col-lg-12{width:100%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.33333%}.col-lg-pull-2{right:16.66667%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.33333%}.col-lg-pull-5{right:41.66667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.33333%}.col-lg-pull-8{right:66.66667%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.33333%}.col-lg-pull-11{right:91.66667%}.col-lg-pull-12{right:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.33333%}.col-lg-push-2{left:16.66667%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.33333%}.col-lg-push-5{left:41.66667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.33333%}.col-lg-push-8{left:66.66667%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.33333%}.col-lg-push-11{left:91.66667%}.col-lg-push-12{left:100%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.33333%}.col-lg-offset-2{margin-left:16.66667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333%}.col-lg-offset-5{margin-left:41.66667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333%}.col-lg-offset-8{margin-left:66.66667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333%}.col-lg-offset-11{margin-left:91.66667%}.col-lg-offset-12{margin-left:100%}}table{background-color:transparent}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}caption{padding-top:8px;padding-bottom:8px;color:#838383}caption,th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:18px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.5;vertical-align:top;border-top:1px solid #d3d3d3}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #d3d3d3}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #d3d3d3}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #d3d3d3}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-hover>tbody>tr:hover,.table-striped>tbody>tr:nth-of-type(odd),.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f9f9f9}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#ececec}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#5bb75b}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#4cad4c}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#49afcd}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#36a5c6}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#faa732}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#f99c19}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#da4f49}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#d63b34}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:13.5px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #d3d3d3}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;margin:0}fieldset,legend{padding:0;border:0}legend{display:block;width:100%;margin-bottom:18px;font-size:18px;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:none}output{padding-top:5px}.form-control,output{display:block;font-size:12px;line-height:1.5;color:#5a5a5a}.form-control{width:100%;height:28px;padding:4px 8px;background-color:#fff;background-image:none;border:1px solid #e8e8e8;border-radius:2px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.form-control:focus{border-color:#d3d3d3;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px hsla(0,0%,83%,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px hsla(0,0%,83%,.6)}.form-control::-moz-placeholder{color:#ababab;opacity:1}.form-control:-ms-input-placeholder{color:#ababab}.form-control::-webkit-input-placeholder{color:#ababab}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#e8e8e8;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:28px}.input-group-sm>.input-group-btn>input.btn[type=date],.input-group-sm>.input-group-btn>input.btn[type=datetime-local],.input-group-sm>.input-group-btn>input.btn[type=month],.input-group-sm>.input-group-btn>input.btn[type=time],.input-group-sm>input.form-control[type=date],.input-group-sm>input.form-control[type=datetime-local],.input-group-sm>input.form-control[type=month],.input-group-sm>input.form-control[type=time],.input-group-sm>input.input-group-addon[type=date],.input-group-sm>input.input-group-addon[type=datetime-local],.input-group-sm>input.input-group-addon[type=month],.input-group-sm>input.input-group-addon[type=time],.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:26px}.input-group-lg>.input-group-btn>input.btn[type=date],.input-group-lg>.input-group-btn>input.btn[type=datetime-local],.input-group-lg>.input-group-btn>input.btn[type=month],.input-group-lg>.input-group-btn>input.btn[type=time],.input-group-lg>input.form-control[type=date],.input-group-lg>input.form-control[type=datetime-local],.input-group-lg>input.form-control[type=month],.input-group-lg>input.form-control[type=time],.input-group-lg>input.input-group-addon[type=date],.input-group-lg>input.input-group-addon[type=datetime-local],.input-group-lg>input.input-group-addon[type=month],.input-group-lg>input.input-group-addon[type=time],.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:34px}}.form-group{margin-bottom:30px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.checkbox label,.radio label{min-height:18px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox-inline input[type=checkbox],.checkbox input[type=checkbox],.radio-inline input[type=radio],.radio input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.form-control-static{min-height:30px;padding-top:5px;padding-bottom:5px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm,.input-group-lg>.form-control-static.form-control,.input-group-lg>.form-control-static.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.input-group-sm>.form-control-static.form-control,.input-group-sm>.form-control-static.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn{padding-right:0;padding-left:0}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn,.input-sm{height:26px;padding:4px 15px;font-size:11px;line-height:1.5;border-radius:2px}.input-group-sm>.input-group-btn>select.btn,.input-group-sm>select.form-control,.input-group-sm>select.input-group-addon,select.input-sm{height:26px;line-height:26px}.input-group-sm>.input-group-btn>select.btn[multiple],.input-group-sm>.input-group-btn>textarea.btn,.input-group-sm>select.form-control[multiple],.input-group-sm>select.input-group-addon[multiple],.input-group-sm>textarea.form-control,.input-group-sm>textarea.input-group-addon,select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:26px;padding:4px 15px;font-size:11px;line-height:1.5;border-radius:2px}.form-group-sm select.form-control{height:26px;line-height:26px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:26px;min-height:29px;padding:5px 15px;font-size:11px;line-height:1.5}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn,.input-lg{height:34px;padding:6px 29px;font-size:15px;line-height:1.33333;border-radius:2px}.input-group-lg>.input-group-btn>select.btn,.input-group-lg>select.form-control,.input-group-lg>select.input-group-addon,select.input-lg{height:34px;line-height:34px}.input-group-lg>.input-group-btn>select.btn[multiple],.input-group-lg>.input-group-btn>textarea.btn,.input-group-lg>select.form-control[multiple],.input-group-lg>select.input-group-addon[multiple],.input-group-lg>textarea.form-control,.input-group-lg>textarea.input-group-addon,select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:34px;padding:6px 29px;font-size:15px;line-height:1.33333;border-radius:2px}.form-group-lg select.form-control{height:34px;line-height:34px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:34px;min-height:33px;padding:7px 29px;font-size:15px;line-height:1.33333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:35px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:28px;height:28px;line-height:28px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-group-lg>.form-control+.form-control-feedback,.input-group-lg>.input-group-addon+.form-control-feedback,.input-group-lg>.input-group-btn>.btn+.form-control-feedback,.input-lg+.form-control-feedback{width:34px;height:34px;line-height:34px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-group-sm>.form-control+.form-control-feedback,.input-group-sm>.input-group-addon+.form-control-feedback,.input-group-sm>.input-group-btn>.btn+.form-control-feedback,.input-sm+.form-control-feedback{width:26px;height:26px;line-height:26px}.has-success .checkbox,.has-success .checkbox-inline,.has-success.checkbox-inline label,.has-success.checkbox label,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.radio-inline label,.has-success.radio label{color:#5bb75b}.has-success .form-control{border-color:#5bb75b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#449b44;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #a2d6a2;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #a2d6a2}.has-success .input-group-addon{color:#5bb75b;background-color:#5bb75b;border-color:#5bb75b}.has-success .form-control-feedback{color:#5bb75b}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning.checkbox-inline label,.has-warning.checkbox label,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.radio-inline label,.has-warning.radio label{color:#faa732}.has-warning .form-control{border-color:#faa732;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#f39106;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #fcd296;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #fcd296}.has-warning .input-group-addon{color:#faa732;background-color:#faa732;border-color:#faa732}.has-warning .form-control-feedback{color:#faa732}.has-error .checkbox,.has-error .checkbox-inline,.has-error.checkbox-inline label,.has-error.checkbox label,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.radio-inline label,.has-error.radio label{color:#da4f49}.has-error .form-control{border-color:#da4f49;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#c72f29;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #eba19e;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #eba19e}.has-error .input-group-addon{color:#da4f49;background-color:#da4f49;border-color:#da4f49}.has-error .form-control-feedback{color:#da4f49}.has-feedback label~.form-control-feedback{top:23px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:5px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:23px}.form-horizontal .form-group{margin-right:-10px;margin-left:-10px}.form-horizontal .form-group:after,.form-horizontal .form-group:before{display:table;content:" "}.form-horizontal .form-group:after{clear:both}@media (min-width:768px){.form-horizontal .control-label{padding-top:5px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:10px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:7px;font-size:15px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:5px;font-size:11px}}.btn{display:inline-block;margin-bottom:0;font-weight:700;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;padding:4px 8px;font-size:12px;line-height:1.5;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:none}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);opacity:.65;-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.btn-default.dropdown-toggle{color:#333;background-color:#e6e6e6;background-image:none;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.btn-default.dropdown-toggle.focus,.open>.btn-default.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#006dcc;border-color:#005fb3}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#005299;border-color:#001b33}.btn-primary:hover{color:#fff;background-color:#005299;border-color:#003f75}.btn-primary.active,.btn-primary:active,.open>.btn-primary.dropdown-toggle{color:#fff;background-color:#005299;background-image:none;border-color:#003f75}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.btn-primary.dropdown-toggle.focus,.open>.btn-primary.dropdown-toggle:focus,.open>.btn-primary.dropdown-toggle:hover{color:#fff;background-color:#003f75;border-color:#001b33}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#006dcc;border-color:#005fb3}.btn-primary .badge{color:#006dcc;background-color:#fff}.btn-success{color:#fff;background-color:#5bb75b;border-color:#4cad4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449b44;border-color:#255425}.btn-success:hover{color:#fff;background-color:#449b44;border-color:#398239}.btn-success.active,.btn-success:active,.open>.btn-success.dropdown-toggle{color:#fff;background-color:#449b44;background-image:none;border-color:#398239}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.btn-success.dropdown-toggle.focus,.open>.btn-success.dropdown-toggle:focus,.open>.btn-success.dropdown-toggle:hover{color:#fff;background-color:#398239;border-color:#255425}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5bb75b;border-color:#4cad4c}.btn-success .badge{color:#5bb75b;background-color:#fff}.btn-info{color:#fff;background-color:#49afcd;border-color:#36a5c6}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#3195b2;border-color:#1b5262}.btn-info:hover{color:#fff;background-color:#3195b2;border-color:#297d96}.btn-info.active,.btn-info:active,.open>.btn-info.dropdown-toggle{color:#fff;background-color:#3195b2;background-image:none;border-color:#297d96}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.btn-info.dropdown-toggle.focus,.open>.btn-info.dropdown-toggle:focus,.open>.btn-info.dropdown-toggle:hover{color:#fff;background-color:#297d96;border-color:#1b5262}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#49afcd;border-color:#36a5c6}.btn-info .badge{color:#49afcd;background-color:#fff}.btn-warning{color:#fff;background-color:#faa732;border-color:#f99c19}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#f39106;border-color:#905504}.btn-warning:hover{color:#fff;background-color:#f39106;border-color:#d07c05}.btn-warning.active,.btn-warning:active,.open>.btn-warning.dropdown-toggle{color:#fff;background-color:#f39106;background-image:none;border-color:#d07c05}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.btn-warning.dropdown-toggle.focus,.open>.btn-warning.dropdown-toggle:focus,.open>.btn-warning.dropdown-toggle:hover{color:#fff;background-color:#d07c05;border-color:#905504}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#faa732;border-color:#f99c19}.btn-warning .badge{color:#faa732;background-color:#fff}.btn-danger{color:#fff;background-color:#da4f49;border-color:#d63b34}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c72f29;border-color:#731b17}.btn-danger:hover{color:#fff;background-color:#c72f29;border-color:#aa2823}.btn-danger.active,.btn-danger:active,.open>.btn-danger.dropdown-toggle{color:#fff;background-color:#c72f29;background-image:none;border-color:#aa2823}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.btn-danger.dropdown-toggle.focus,.open>.btn-danger.dropdown-toggle:focus,.open>.btn-danger.dropdown-toggle:hover{color:#fff;background-color:#aa2823;border-color:#731b17}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#da4f49;border-color:#d63b34}.btn-danger .badge{color:#da4f49;background-color:#fff}.btn-link{font-weight:400;color:#006dcc;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#1950a3;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#838383;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:6px 29px;font-size:15px;line-height:1.33333;border-radius:2px}.btn-group-sm>.btn,.btn-sm{padding:4px 15px;font-size:11px;line-height:1.5;border-radius:2px}.btn-group-xs>.btn,.btn-xs{padding:2px 4px;font-size:11px;line-height:1.5;border-radius:2px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:12px;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid #d3d3d3;border-radius:2px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:8px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.5;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#fff;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#333;text-decoration:none;background-color:#f9f9f9;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#838383}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:11px;line-height:1.5;color:#838383;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:0){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar:after,.btn-toolbar:before{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group-lg.btn-group>.btn+.dropdown-toggle,.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-group-lg>.btn .caret,.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-group-lg>.btn .caret,.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:2px;border-bottom-left-radius:2px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:4px 8px;font-size:12px;font-weight:400;line-height:1;color:#5a5a5a;text-align:center;background-color:#fff;border:1px solid #fff;border-radius:2px}.input-group-addon.input-sm,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn{padding:4px 15px;font-size:11px;border-radius:2px}.input-group-addon.input-lg,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn{padding:6px 29px;font-size:15px;border-radius:2px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group .form-control:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group .form-control:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{font-size:0;white-space:nowrap}.input-group-btn,.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:after,.nav:before{display:table;content:" "}.nav:after{clear:both}.nav>li,.nav>li>a{position:relative;display:block}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#e8e8e8}.nav>li.disabled>a{color:#838383}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#838383;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#e8e8e8;border-color:#006dcc}.nav .nav-divider{height:1px;margin:8px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left}.nav-tabs>li>a{margin-right:2px;line-height:1.5;border:1px solid transparent;border-radius:2px 2px 0 0}.nav-tabs>li>a:hover{border-color:#e8e8e8 #e8e8e8 #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#5a5a5a;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:2px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#006dcc}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified,.nav-tabs.nav-justified{width:100%}.nav-justified>li,.nav-tabs.nav-justified>li{float:none}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li,.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified,.nav-tabs.nav-justified{border-bottom:0}.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:2px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:2px 2px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:35px;margin-bottom:18px;border:1px solid transparent}.navbar:after,.navbar:before{display:table;content:" "}.navbar:after{clear:both}@media (min-width:0){.navbar{border-radius:2px}}.navbar-header:after,.navbar-header:before{display:table;content:" "}.navbar-header:after{clear:both}@media (min-width:0){.navbar-header{float:left}}.navbar-collapse{padding-right:10px;padding-left:10px;overflow-x:visible;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1);-webkit-overflow-scrolling:touch}.navbar-collapse:after,.navbar-collapse:before{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media (min-width:0){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}@media (min-width:0){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-10px;margin-left:-10px}@media (min-width:0){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:0){.navbar-static-top{border-radius:0}}.navbar-brand{float:left;height:35px;padding:8.5px 10px;font-size:15px;line-height:18px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:0){.navbar>.container-fluid .navbar-brand,.navbar>.container .navbar-brand{margin-left:-10px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-right:10px;margin-top:.5px;margin-bottom:.5px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:2px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:0){.navbar-toggle{display:none}}.navbar-nav{margin:4.25px -10px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:18px}@media (max-width:-1){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:18px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:0){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:8.5px;padding-bottom:8.5px}}.navbar-form{padding:10px;margin:3.5px -10px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1),0 1px 0 hsla(0,0%,100%,.1);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1),0 1px 0 hsla(0,0%,100%,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:-1){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:0){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:3.5px;margin-bottom:3.5px}.btn-group-sm>.navbar-btn.btn,.navbar-btn.btn-sm{margin-top:4.5px;margin-bottom:4.5px}.btn-group-xs>.navbar-btn.btn,.navbar-btn.btn-xs{margin-top:6.5px;margin-bottom:6.5px}.navbar-text{margin-top:8.5px;margin-bottom:8.5px}@media (min-width:0){.navbar-text{float:left;margin-right:10px;margin-left:10px}}@media (min-width:0){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-10px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-nav>li>a,.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:-1){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#090909}.navbar-inverse .navbar-brand{color:#a9a9a9}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>li>a,.navbar-inverse .navbar-text{color:#a9a9a9}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#090909}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#090909}@media (max-width:-1){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#a9a9a9}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-link{color:#a9a9a9}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#a9a9a9}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.pagination{display:inline-block;padding-left:0;margin:18px 0;border-radius:2px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:4px 8px;margin-left:-1px;line-height:1.5;color:#006dcc;text-decoration:none;background-color:#fff;border:1px solid #e8e8e8}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#1950a3;background-color:#f9f9f9;border-color:#e8e8e8}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:2px;border-bottom-left-radius:2px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:2px;border-bottom-right-radius:2px}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#838383;cursor:default;background-color:#f9f9f9;border-color:#e8e8e8}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#838383;cursor:not-allowed;background-color:#fff;border-color:#e8e8e8}.pagination-lg>li>a,.pagination-lg>li>span{padding:6px 29px;font-size:15px;line-height:1.33333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:2px;border-bottom-left-radius:2px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:2px;border-bottom-right-radius:2px}.pagination-sm>li>a,.pagination-sm>li>span{padding:4px 15px;font-size:11px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:2px;border-bottom-left-radius:2px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:2px;border-bottom-right-radius:2px}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label:empty{display:none}.btn .label{position:relative;top:-1px}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label-default{background-color:#838383}.label-default[href]:focus,.label-default[href]:hover{background-color:#6a6a6a}.label-primary{background-color:#006dcc}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#005299}.label-success{background-color:#5bb75b}.label-success[href]:focus,.label-success[href]:hover{background-color:#449b44}.label-info{background-color:#49afcd}.label-info[href]:focus,.label-info[href]:hover{background-color:#3195b2}.label-warning{background-color:#faa732}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#f39106}.label-danger{background-color:#da4f49}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c72f29}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:11px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#838383;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#006dcc;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.alert{padding:15px;margin-bottom:18px;border:1px solid transparent;border-radius:2px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#5bb75b;background-color:#5bb75b;border-color:#31a549}.alert-success hr{border-top-color:#2b9140}.alert-success .alert-link{color:#449b44}.alert-info{color:#49afcd;background-color:#49afcd;border-color:#0492ba}.alert-info hr{border-top-color:#037ea1}.alert-info .alert-link{color:#3195b2}.alert-warning{color:#faa732;background-color:#faa732;border-color:#f8951d}.alert-warning hr{border-top-color:#f48908}.alert-warning .alert-link{color:#f39106}.alert-danger{color:#da4f49;background-color:#da4f49;border-color:#d5382e}.alert-danger hr{border-top-color:#c23027}.alert-danger .alert-link{color:#c72f29}@-webkit-keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}.progress{height:18px;margin-bottom:18px;overflow:hidden;background-color:#f5f5f5;border-radius:2px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:11px;line-height:18px;color:#fff;text-align:center;background-color:#006dcc;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5bb75b}.progress-striped .progress-bar-success{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-info{background-color:#49afcd}.progress-striped .progress-bar-info{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-warning{background-color:#faa732}.progress-striped .progress-bar-warning{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-danger{background-color:#da4f49}.progress-striped .progress-bar-danger{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:2px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:2px}.well-sm{padding:9px;border-radius:2px}.close{float:right;font-size:18px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.modal,.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-transition:-webkit-transform .3s ease-out;transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0);transform:translate(0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:1px solid #999;border:1px solid transparent;border-radius:2px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#5a5a5a}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=80);opacity:.8}.modal-header{padding:15px;border-bottom:1px solid #e8e8e8}.modal-header:after,.modal-header:before{display:table;content:" "}.modal-header:after{clear:both}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.5}.modal-body{position:relative;padding:30px}.modal-footer{padding:30px;text-align:right;border-top:1px solid #e8e8e8}.modal-footer:after,.modal-footer:before{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:700px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:525px}}@media (min-width:992px){.modal-lg{width:940px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:Roboto,Helvetica,sans-serif;font-style:normal;font-weight:400;line-height:1.5;line-break:auto;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;font-size:11px;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px}.tooltip.top-left .tooltip-arrow,.tooltip.top-right .tooltip-arrow{bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{left:5px}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:2px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.carousel,.carousel-inner{position:relative}.carousel-inner{width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:left .6s ease-in-out;transition:left .6s ease-in-out}.carousel-inner>.item>a>img,.carousel-inner>.item>img{display:block;max-width:100%;height:auto;line-height:1}@media (-webkit-transform-3d),(transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);left:0}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);left:0}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{-webkit-transform:translateZ(0);transform:translateZ(0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:transparent;filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(90deg,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#80000000",endColorstr="#00000000",GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(90deg,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000",endColorstr="#80000000",GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;outline:0;filter:alpha(opacity=90);opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:"\2039"}.carousel-control .icon-next:before{content:"\203A"}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:transparent;border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:after,.clearfix:before{display:table;content:" "}.clearfix:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}.btn-inverse:not([disabled]){color:#838383;background-color:#fff;border-color:#d3d3d3}.btn-inverse:not([disabled]).focus,.btn-inverse:not([disabled]):focus{color:#838383;background-color:#e6e6e6;border-color:#939393}.btn-inverse:not([disabled]):hover{color:#838383;background-color:#e6e6e6;border-color:#b4b4b4}.btn-inverse:not([disabled]).active,.btn-inverse:not([disabled]):active,.open>.btn-inverse:not([disabled]).dropdown-toggle{color:#838383;background-color:#e6e6e6;background-image:none;border-color:#b4b4b4}.btn-inverse:not([disabled]).active.focus,.btn-inverse:not([disabled]).active:focus,.btn-inverse:not([disabled]).active:hover,.btn-inverse:not([disabled]):active.focus,.btn-inverse:not([disabled]):active:focus,.btn-inverse:not([disabled]):active:hover,.open>.btn-inverse:not([disabled]).dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).dropdown-toggle:hover{color:#838383;background-color:#d4d4d4;border-color:#939393}.btn-inverse:not([disabled]).disabled.focus,.btn-inverse:not([disabled]).disabled:focus,.btn-inverse:not([disabled]).disabled:hover,.btn-inverse:not([disabled])[disabled].focus,.btn-inverse:not([disabled])[disabled]:focus,.btn-inverse:not([disabled])[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).focus,fieldset[disabled] .btn-inverse:not([disabled]):focus,fieldset[disabled] .btn-inverse:not([disabled]):hover{background-color:#fff;border-color:#d3d3d3}.btn-inverse:not([disabled]) .badge{color:#fff;background-color:#838383}.btn-inverse:not([disabled]):active,.btn-inverse:not([disabled]):focus,.btn-inverse:not([disabled]):hover{background-color:#f3f3f3}.btn-inverse:not([disabled]).btn-primary{color:#006dcc;background-color:#fff;border-color:#006dcc}.btn-inverse:not([disabled]).btn-primary.focus,.btn-inverse:not([disabled]).btn-primary:focus{color:#006dcc;background-color:#e6e6e6;border-color:#00294d}.btn-inverse:not([disabled]).btn-primary:hover{color:#006dcc;background-color:#e6e6e6;border-color:#004c8f}.btn-inverse:not([disabled]).btn-primary.active,.btn-inverse:not([disabled]).btn-primary:active,.open>.btn-inverse:not([disabled]).btn-primary.dropdown-toggle{color:#006dcc;background-color:#e6e6e6;background-image:none;border-color:#004c8f}.btn-inverse:not([disabled]).btn-primary.active.focus,.btn-inverse:not([disabled]).btn-primary.active:focus,.btn-inverse:not([disabled]).btn-primary.active:hover,.btn-inverse:not([disabled]).btn-primary:active.focus,.btn-inverse:not([disabled]).btn-primary:active:focus,.btn-inverse:not([disabled]).btn-primary:active:hover,.open>.btn-inverse:not([disabled]).btn-primary.dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).btn-primary.dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).btn-primary.dropdown-toggle:hover{color:#006dcc;background-color:#d4d4d4;border-color:#00294d}.btn-inverse:not([disabled]).btn-primary.disabled.focus,.btn-inverse:not([disabled]).btn-primary.disabled:focus,.btn-inverse:not([disabled]).btn-primary.disabled:hover,.btn-inverse:not([disabled]).btn-primary[disabled].focus,.btn-inverse:not([disabled]).btn-primary[disabled]:focus,.btn-inverse:not([disabled]).btn-primary[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).btn-primary.focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-primary:focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-primary:hover{background-color:#fff;border-color:#006dcc}.btn-inverse:not([disabled]).btn-primary .badge{color:#fff;background-color:#006dcc}.btn-inverse:not([disabled]).btn-primary:active,.btn-inverse:not([disabled]).btn-primary:active:active,.btn-inverse:not([disabled]).btn-primary:focus,.btn-inverse:not([disabled]).btn-primary:focus:active,.btn-inverse:not([disabled]).btn-primary:hover,.btn-inverse:not([disabled]).btn-primary:hover:active{background-color:#cce7ff}.btn-inverse:not([disabled]).btn-success{color:#5bb75b;background-color:#fff;border-color:#5bb75b}.btn-inverse:not([disabled]).btn-success.focus,.btn-inverse:not([disabled]).btn-success:focus{color:#5bb75b;background-color:#e6e6e6;border-color:#2d662d}.btn-inverse:not([disabled]).btn-success:hover{color:#5bb75b;background-color:#e6e6e6;border-color:#419441}.btn-inverse:not([disabled]).btn-success.active,.btn-inverse:not([disabled]).btn-success:active,.open>.btn-inverse:not([disabled]).btn-success.dropdown-toggle{color:#5bb75b;background-color:#e6e6e6;background-image:none;border-color:#419441}.btn-inverse:not([disabled]).btn-success.active.focus,.btn-inverse:not([disabled]).btn-success.active:focus,.btn-inverse:not([disabled]).btn-success.active:hover,.btn-inverse:not([disabled]).btn-success:active.focus,.btn-inverse:not([disabled]).btn-success:active:focus,.btn-inverse:not([disabled]).btn-success:active:hover,.open>.btn-inverse:not([disabled]).btn-success.dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).btn-success.dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).btn-success.dropdown-toggle:hover{color:#5bb75b;background-color:#d4d4d4;border-color:#2d662d}.btn-inverse:not([disabled]).btn-success.disabled.focus,.btn-inverse:not([disabled]).btn-success.disabled:focus,.btn-inverse:not([disabled]).btn-success.disabled:hover,.btn-inverse:not([disabled]).btn-success[disabled].focus,.btn-inverse:not([disabled]).btn-success[disabled]:focus,.btn-inverse:not([disabled]).btn-success[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).btn-success.focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-success:focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-success:hover{background-color:#fff;border-color:#5bb75b}.btn-inverse:not([disabled]).btn-success .badge{color:#fff;background-color:#5bb75b}.btn-inverse:not([disabled]).btn-success:active,.btn-inverse:not([disabled]).btn-success:active:active,.btn-inverse:not([disabled]).btn-success:focus,.btn-inverse:not([disabled]).btn-success:focus:active,.btn-inverse:not([disabled]).btn-success:hover,.btn-inverse:not([disabled]).btn-success:hover:active{background-color:#dcefdc}.btn-inverse:not([disabled]).btn-info{color:#49afcd;background-color:#fff;border-color:#49afcd}.btn-inverse:not([disabled]).btn-info.focus,.btn-inverse:not([disabled]).btn-info:focus{color:#49afcd;background-color:#e6e6e6;border-color:#206376}.btn-inverse:not([disabled]).btn-info:hover{color:#49afcd;background-color:#e6e6e6;border-color:#2f8eaa}.btn-inverse:not([disabled]).btn-info.active,.btn-inverse:not([disabled]).btn-info:active,.open>.btn-inverse:not([disabled]).btn-info.dropdown-toggle{color:#49afcd;background-color:#e6e6e6;background-image:none;border-color:#2f8eaa}.btn-inverse:not([disabled]).btn-info.active.focus,.btn-inverse:not([disabled]).btn-info.active:focus,.btn-inverse:not([disabled]).btn-info.active:hover,.btn-inverse:not([disabled]).btn-info:active.focus,.btn-inverse:not([disabled]).btn-info:active:focus,.btn-inverse:not([disabled]).btn-info:active:hover,.open>.btn-inverse:not([disabled]).btn-info.dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).btn-info.dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).btn-info.dropdown-toggle:hover{color:#49afcd;background-color:#d4d4d4;border-color:#206376}.btn-inverse:not([disabled]).btn-info.disabled.focus,.btn-inverse:not([disabled]).btn-info.disabled:focus,.btn-inverse:not([disabled]).btn-info.disabled:hover,.btn-inverse:not([disabled]).btn-info[disabled].focus,.btn-inverse:not([disabled]).btn-info[disabled]:focus,.btn-inverse:not([disabled]).btn-info[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).btn-info.focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-info:focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-info:hover{background-color:#fff;border-color:#49afcd}.btn-inverse:not([disabled]).btn-info .badge{color:#fff;background-color:#49afcd}.btn-inverse:not([disabled]).btn-info:active,.btn-inverse:not([disabled]).btn-info:active:active,.btn-inverse:not([disabled]).btn-info:focus,.btn-inverse:not([disabled]).btn-info:focus:active,.btn-inverse:not([disabled]).btn-info:hover,.btn-inverse:not([disabled]).btn-info:hover:active{background-color:#d7edf4}.btn-inverse:not([disabled]).btn-warning{color:#faa732;background-color:#fff;border-color:#faa732}.btn-inverse:not([disabled]).btn-warning.focus,.btn-inverse:not([disabled]).btn-warning:focus{color:#faa732;background-color:#e6e6e6;border-color:#a86404}.btn-inverse:not([disabled]).btn-warning:hover{color:#faa732;background-color:#e6e6e6;border-color:#e98b06}.btn-inverse:not([disabled]).btn-warning.active,.btn-inverse:not([disabled]).btn-warning:active,.open>.btn-inverse:not([disabled]).btn-warning.dropdown-toggle{color:#faa732;background-color:#e6e6e6;background-image:none;border-color:#e98b06}.btn-inverse:not([disabled]).btn-warning.active.focus,.btn-inverse:not([disabled]).btn-warning.active:focus,.btn-inverse:not([disabled]).btn-warning.active:hover,.btn-inverse:not([disabled]).btn-warning:active.focus,.btn-inverse:not([disabled]).btn-warning:active:focus,.btn-inverse:not([disabled]).btn-warning:active:hover,.open>.btn-inverse:not([disabled]).btn-warning.dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).btn-warning.dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).btn-warning.dropdown-toggle:hover{color:#faa732;background-color:#d4d4d4;border-color:#a86404}.btn-inverse:not([disabled]).btn-warning.disabled.focus,.btn-inverse:not([disabled]).btn-warning.disabled:focus,.btn-inverse:not([disabled]).btn-warning.disabled:hover,.btn-inverse:not([disabled]).btn-warning[disabled].focus,.btn-inverse:not([disabled]).btn-warning[disabled]:focus,.btn-inverse:not([disabled]).btn-warning[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).btn-warning.focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-warning:focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-warning:hover{background-color:#fff;border-color:#faa732}.btn-inverse:not([disabled]).btn-warning .badge{color:#fff;background-color:#faa732}.btn-inverse:not([disabled]).btn-warning:active,.btn-inverse:not([disabled]).btn-warning:active:active,.btn-inverse:not([disabled]).btn-warning:focus,.btn-inverse:not([disabled]).btn-warning:focus:active,.btn-inverse:not([disabled]).btn-warning:hover,.btn-inverse:not([disabled]).btn-warning:hover:active{background-color:#feeacd}.btn-inverse:not([disabled]).btn-danger{color:#da4f49;background-color:#fff;border-color:#da4f49}.btn-inverse:not([disabled]).btn-danger.focus,.btn-inverse:not([disabled]).btn-danger:focus{color:#da4f49;background-color:#e6e6e6;border-color:#88201c}.btn-inverse:not([disabled]).btn-danger:hover{color:#da4f49;background-color:#e6e6e6;border-color:#bf2d27}.btn-inverse:not([disabled]).btn-danger.active,.btn-inverse:not([disabled]).btn-danger:active,.open>.btn-inverse:not([disabled]).btn-danger.dropdown-toggle{color:#da4f49;background-color:#e6e6e6;background-image:none;border-color:#bf2d27}.btn-inverse:not([disabled]).btn-danger.active.focus,.btn-inverse:not([disabled]).btn-danger.active:focus,.btn-inverse:not([disabled]).btn-danger.active:hover,.btn-inverse:not([disabled]).btn-danger:active.focus,.btn-inverse:not([disabled]).btn-danger:active:focus,.btn-inverse:not([disabled]).btn-danger:active:hover,.open>.btn-inverse:not([disabled]).btn-danger.dropdown-toggle.focus,.open>.btn-inverse:not([disabled]).btn-danger.dropdown-toggle:focus,.open>.btn-inverse:not([disabled]).btn-danger.dropdown-toggle:hover{color:#da4f49;background-color:#d4d4d4;border-color:#88201c}.btn-inverse:not([disabled]).btn-danger.disabled.focus,.btn-inverse:not([disabled]).btn-danger.disabled:focus,.btn-inverse:not([disabled]).btn-danger.disabled:hover,.btn-inverse:not([disabled]).btn-danger[disabled].focus,.btn-inverse:not([disabled]).btn-danger[disabled]:focus,.btn-inverse:not([disabled]).btn-danger[disabled]:hover,fieldset[disabled] .btn-inverse:not([disabled]).btn-danger.focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-danger:focus,fieldset[disabled] .btn-inverse:not([disabled]).btn-danger:hover{background-color:#fff;border-color:#da4f49}.btn-inverse:not([disabled]).btn-danger .badge{color:#fff;background-color:#da4f49}.btn-inverse:not([disabled]).btn-danger:active,.btn-inverse:not([disabled]).btn-danger:active:active,.btn-inverse:not([disabled]).btn-danger:focus,.btn-inverse:not([disabled]).btn-danger:focus:active,.btn-inverse:not([disabled]).btn-danger:hover,.btn-inverse:not([disabled]).btn-danger:hover:active{background-color:#f6d6d5}.btn{-webkit-box-shadow:0 1px #d3d3d3;box-shadow:0 1px #d3d3d3;margin-right:5px}.btn:last-child{margin-right:0}.btn:active{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:translateY(1px);transform:translateY(1px)}.btn.disabled,.btn.disabled:hover,.btn[disabled],.btn[disabled]:hover,[disabled] .btn,[disabled] .btn:hover{background-color:#e8e8e8;border-color:#e8e8e8;color:#838383}.btn.disabled,.btn.disabled:active,.btn[disabled],.btn[disabled]:active,[disabled] .btn,[disabled] .btn:active{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:translateY(0);transform:translateY(0)}.btn>.flexible-wrapper-inline>.flexible-spacer-component{min-width:8px}.btn.btn-link{cursor:pointer}.btn.btn-link,.btn.btn-link:active{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:translateY(0);transform:translateY(0)}.btn.btn-link:disabled,.btn.btn-link[disabled]{background-color:transparent;cursor:not-allowed}.btn.btn-link:active,.btn.btn-link:hover{background-color:transparent}.btn-borderless:not([disabled]){color:#838383;background-color:#fff;border-color:#fff;-webkit-box-shadow:none;box-shadow:none}.btn-borderless:not([disabled]).focus,.btn-borderless:not([disabled]):focus{color:#838383;background-color:#e6e6e6;border-color:#bfbfbf}.btn-borderless:not([disabled]):hover{color:#838383;background-color:#e6e6e6;border-color:#e0e0e0}.btn-borderless:not([disabled]).active,.btn-borderless:not([disabled]):active,.open>.btn-borderless:not([disabled]).dropdown-toggle{color:#838383;background-color:#e6e6e6;background-image:none;border-color:#e0e0e0}.btn-borderless:not([disabled]).active.focus,.btn-borderless:not([disabled]).active:focus,.btn-borderless:not([disabled]).active:hover,.btn-borderless:not([disabled]):active.focus,.btn-borderless:not([disabled]):active:focus,.btn-borderless:not([disabled]):active:hover,.open>.btn-borderless:not([disabled]).dropdown-toggle.focus,.open>.btn-borderless:not([disabled]).dropdown-toggle:focus,.open>.btn-borderless:not([disabled]).dropdown-toggle:hover{color:#838383;background-color:#d4d4d4;border-color:#bfbfbf}.btn-borderless:not([disabled]).disabled.focus,.btn-borderless:not([disabled]).disabled:focus,.btn-borderless:not([disabled]).disabled:hover,.btn-borderless:not([disabled])[disabled].focus,.btn-borderless:not([disabled])[disabled]:focus,.btn-borderless:not([disabled])[disabled]:hover,fieldset[disabled] .btn-borderless:not([disabled]).focus,fieldset[disabled] .btn-borderless:not([disabled]):focus,fieldset[disabled] .btn-borderless:not([disabled]):hover{background-color:#fff;border-color:#fff}.btn-borderless:not([disabled]) .badge{color:#fff;background-color:#838383}.btn-borderless:not([disabled]):focus,.btn-borderless:not([disabled]):hover{background-color:#fff;border-color:#d3d3d3;-webkit-box-shadow:0 1px #d3d3d3;box-shadow:0 1px #d3d3d3}.btn-flat:not([disabled]){color:#838383;background-color:#fff;border-color:#fff;border:0;-webkit-box-shadow:none;box-shadow:none}.btn-flat:not([disabled]).focus,.btn-flat:not([disabled]):focus{color:#838383;background-color:#e6e6e6;border-color:#bfbfbf}.btn-flat:not([disabled]):hover{color:#838383;background-color:#e6e6e6;border-color:#e0e0e0}.btn-flat:not([disabled]).active,.btn-flat:not([disabled]):active,.open>.btn-flat:not([disabled]).dropdown-toggle{color:#838383;background-color:#e6e6e6;background-image:none;border-color:#e0e0e0}.btn-flat:not([disabled]).active.focus,.btn-flat:not([disabled]).active:focus,.btn-flat:not([disabled]).active:hover,.btn-flat:not([disabled]):active.focus,.btn-flat:not([disabled]):active:focus,.btn-flat:not([disabled]):active:hover,.open>.btn-flat:not([disabled]).dropdown-toggle.focus,.open>.btn-flat:not([disabled]).dropdown-toggle:focus,.open>.btn-flat:not([disabled]).dropdown-toggle:hover{color:#838383;background-color:#d4d4d4;border-color:#bfbfbf}.btn-flat:not([disabled]).disabled.focus,.btn-flat:not([disabled]).disabled:focus,.btn-flat:not([disabled]).disabled:hover,.btn-flat:not([disabled])[disabled].focus,.btn-flat:not([disabled])[disabled]:focus,.btn-flat:not([disabled])[disabled]:hover,fieldset[disabled] .btn-flat:not([disabled]).focus,fieldset[disabled] .btn-flat:not([disabled]):focus,fieldset[disabled] .btn-flat:not([disabled]):hover{background-color:#fff;border-color:#fff}.btn-flat:not([disabled]) .badge{color:#fff;background-color:#838383}.btn-flat:not([disabled]):focus,.btn-flat:not([disabled]):hover{background-color:#fff}.btn-group-xs>.btn,.btn-xs{font-size:9px}.btn-group-xs>.btn:active,.btn-xs:active{-webkit-transform:translateY(0);transform:translateY(0)}.btn-group-xs>.btn>.flexible-wrapper-inline>.flexible-spacer-component,.btn-xs>.flexible-wrapper-inline>.flexible-spacer-component{min-width:4px}.input-group-btn>.btn{padding-bottom:3px}.checkbox label,.radiogroup-stacked label,.radio label{font-weight:300;padding-top:1px}.checkbox .icheckbox,.radio .icheckbox,.radiogroup-stacked .icheckbox{margin-left:-20px}.checkbox .icheckbox>input,.checkbox>.icheckbox,.checkbox>.iradio,.checkbox>input[type=checkbox],.checkbox>input[type=radio],.radio .icheckbox>input,.radio>.icheckbox,.radio>.iradio,.radio>input[type=checkbox],.radio>input[type=radio],.radiogroup-stacked .icheckbox>input,.radiogroup-stacked>.icheckbox,.radiogroup-stacked>.iradio,.radiogroup-stacked>input[type=checkbox],.radiogroup-stacked>input[type=radio]{margin-left:0}input[type=checkbox],input[type=radio]{width:16px;height:16px;margin-top:0}.icheckbox+span,.iradio+span{font-weight:300}.icheckbox:not(.disabled)+span,.iradio:not(.disabled)+span{cursor:pointer}.form-horizontal .control-label{text-align:left}.form-horizontal .checkbox{padding-top:3px;min-height:16px}.form-group .help-block{margin-bottom:0}.form-group label{font-weight:700}.form-group .checkbox label{font-weight:300}.form-control,.form-control:focus{-webkit-box-shadow:none;box-shadow:none}.form-control:focus{outline:0}.form-control,.form-control-static{font-weight:300}.form-btn-footer{text-align:right}fieldset{border-bottom:1px solid #f3f3f3;margin-bottom:30px}fieldset.borderless{border-bottom:0;margin-bottom:0}label{color:#5a5a5a}.input-group-addon{font-weight:300;padding:4px 5px}.input-group-addon:first-child{padding-left:0}.input-group-addon:last-child{padding-right:0}.help-block{color:#ababab;font-weight:300;margin-top:8px}.form-horizontal .control-label .help-block{margin-top:1px}.borderedwell-component .form-horizontal{padding:30px 30px 0}.modal{font-weight:300}.modal-title{font-weight:700}.modal-content{border-radius:0;-webkit-box-shadow:0 3px 0 rgba(0,0,0,.25);box-shadow:0 3px 0 rgba(0,0,0,.25)}.modal-body{overflow:auto}.modal-footer,.modal-header{height:40px}.modal-header{background-color:#f3f3f3;padding:10px 15px}.modal-header>.close{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 11.3L7.3 8 4.1 4.7l.8-.7L8 7.2 11.1 4l.7.7-3.1 3.2 3.3 3.3-.7.8L8 8.7 4.7 12l-.7-.7z'/%3E%3C/svg%3E");background-position:50%;background-size:20px;height:20px;margin-right:-5px;margin-top:0;width:20px}.modal-header>.close>span{display:none}.modal-footer{padding:6px}.modal-footer>.pull-left{float:left}.modal-footer>label{font-weight:300;color:#838383;margin-bottom:0;line-height:28px}.modal-footer>label.pull-left{padding:0 9px}.modal-footer>label.pull-left>input{margin-right:6px}.modal-instruction>p{margin-bottom:25px}.modal-instruction>strong{display:block;margin-bottom:5px}.nav-tabs{margin-bottom:0;min-height:35px}.nav-tabs>li{background-color:#f9f9f9;border-left:1px solid #e8e8e8;border-top:1px solid #e8e8e8;font-size:12px;margin-bottom:-1px;padding:0;text-align:center}.nav-tabs>li,.nav-tabs>li>a{display:inline-block;margin-right:0}.nav-tabs>li>a{color:#838383;cursor:pointer;font-weight:300;padding:8px 15px 7px;text-shadow:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.nav-tabs>li>a,.nav-tabs>li>a:focus,.nav-tabs>li>a:hover{border:0;outline:0}.nav-tabs>li>a .svg-symbol-component{vertical-align:top}.nav-tabs>li>a .icon{float:left;height:16px;width:16px}.nav-tabs>li.active,.nav-tabs>li.active:focus,.nav-tabs>li.active:hover{background-color:#fff;border:0}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{border-right:0;cursor:default}.nav-tabs>li:last-child,.nav-tabs>li:last-child:focus,.nav-tabs>li:last-child:hover{border-right:1px solid #e8e8e8}.nav-tabs .flexible-wrapper-inline>.flexible-spacer-component{min-width:8px}b,strong{font-weight:700}.react-datepicker{border-color:#d3d3d3;-webkit-box-shadow:0 2px 0 rgba(0,0,0,.25);box-shadow:0 2px 0 rgba(0,0,0,.25);font-family:Roboto,Helvetica,sans-serif;font-size:12px;font-weight:300;padding:8px}.react-datepicker__header{background-color:#fff;border-bottom:0}.react-datepicker,.react-datepicker__day,.react-datepicker__day-name{color:#5a5a5a}.react-datepicker:hover,.react-datepicker__day-name:hover,.react-datepicker__day:hover{border-radius:2px}.react-datepicker--disabled,.react-datepicker--outside-month,.react-datepicker__day--disabled,.react-datepicker__day--outside-month,.react-datepicker__day-name--disabled,.react-datepicker__day-name--outside-month{color:#e8e8e8}.react-datepicker--selected,.react-datepicker__day--selected,.react-datepicker__day-name--selected{background-color:#006dcc;color:#fff}.react-datepicker--selected,.react-datepicker--selected:hover,.react-datepicker__day--selected,.react-datepicker__day--selected:hover,.react-datepicker__day-name--selected,.react-datepicker__day-name--selected:hover{border-radius:2px}.react-datepicker__day--in-range,.react-datepicker__day-name__day--in-range,.react-datepicker__day__day--in-range{color:#fff}.react-datepicker__current-month{color:#5a5a5a;font-weight:300;font-size:12px;margin-top:-7px}.react-datepicker__navigation{height:24px;top:5px;width:24px}.react-datepicker__navigation--next{border:0;right:7px}.react-datepicker__navigation--next:hover{background-color:#e8e8e8;border-radius:2px}.react-datepicker__navigation--next:before{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23006dcc' d='M11 3L8.1 8l2.9 5H8.4L5 8.1v-.2L8.4 3H11z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;content:"";display:block;height:24px;-webkit-transform:scaleX(-1);transform:scaleX(-1);width:24px}.react-datepicker__navigation--previous{border:0;left:7px}.react-datepicker__navigation--previous:hover{background-color:#e8e8e8;border-radius:2px}.react-datepicker__navigation--previous:before{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23006dcc' d='M11 3L8.1 8l2.9 5H8.4L5 8.1v-.2L8.4 3H11z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;content:"";display:block;height:24px;width:24px}.react-datepicker__tether-element-attached-top.react-datepicker__tether-element{margin-top:-5px}.react-datepicker__tether-element-attached-bottom .react-datepicker__triangle,.react-datepicker__tether-element-attached-bottom .react-datepicker__triangle:before,.react-datepicker__tether-element-attached-top .react-datepicker__triangle,.react-datepicker__tether-element-attached-top .react-datepicker__triangle:before{border:0}.react-datepicker__tether-element-attached-bottom.react-datepicker__tether-element{margin-top:-15px}.react-datepicker__input-container{display:block}.react-datepicker__input-container input{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 50 50'%3E%3Cpath d='M40.5 4h-3.7v3.3c0 1.3-1 2.3-2.3 2.3-1.3 0-2.3-1-2.3-2.3V4H17.8v3.3c0 1.3-1 2.3-2.3 2.3s-2.3-1-2.3-2.3V4H9.5C7 4 5 6 5 8.5v35.9c0 2.5 2 4.4 4.5 4.4h31c2.5 0 4.5-2 4.5-4.4V8.5C45 6 43 4 40.5 4zm1.6 40.3c0 .9-.7 1.6-1.6 1.6h-31c-.9 0-1.6-.7-1.6-1.6V15.1H42v29.2z' fill='%235a5a5a'/%3E%3Cpath d='M15.5 8.2c.5 0 .9-.4.9-.8V2c0-.5-.4-.8-.9-.8s-.9.4-.9.8v5.3c.1.5.4.9.9.9zm19 0c.5 0 .9-.4.9-.8V2c0-.5-.4-.8-.9-.8s-.9.4-.9.8v5.3c0 .5.4.9.9.9zM37 20h3v3h-3zm-4.5 0h3v3h-3zM28 20h3v3h-3zm-4.5 0h3v3h-3zM19 20h3v3h-3zm18 6h3v3h-3zm-4.5 0h3v3h-3zM28 26h3v3h-3zm-4.5 0h3v3h-3zM19 26h3v3h-3zm-4.5 0h3v3h-3zM10 26h3v3h-3zm27 6h3v3h-3zm-4.5 0h3v3h-3zM28 32h3v3h-3zm-4.5 0h3v3h-3zM19 32h3v3h-3zm-4.5 0h3v3h-3zM10 32h3v3h-3zm18 6h3v3h-3zm-4.5 0h3v3h-3zM19 38h3v3h-3zm-4.5 0h3v3h-3zM10 38h3v3h-3z' fill='%235a5a5a'/%3E%3C/svg%3E");background-origin:content-box;background-position:100%;background-repeat:no-repeat;cursor:pointer;padding-right:4px}.react-datepicker__input-container input::-ms-clear{display:none}.Select{position:relative}.Select input::-webkit-contacts-auto-fill-button,.Select input::-webkit-credentials-auto-fill-button{display:none!important}.Select input::-ms-clear,.Select input::-ms-reveal{display:none!important}.Select,.Select div,.Select input,.Select span{-webkit-box-sizing:border-box;box-sizing:border-box}.Select.is-disabled .Select-arrow-zone{cursor:default;pointer-events:none}.Select.is-disabled>.Select-control{background-color:#f9f9f9}.Select.is-disabled>.Select-control:hover{-webkit-box-shadow:none;box-shadow:none}.Select.is-searchable.is-focused:not(.is-open)>.Select-control,.Select.is-searchable.is-open>.Select-control{cursor:text}.Select.is-open>.Select-control{border-bottom-right-radius:0;border-bottom-left-radius:0;background:#fff;border-color:#cfcfcf #e8e8e8 #f5f5f5}.Select.is-open>.Select-control .Select-arrow{top:-2px;border-color:transparent transparent #838383;border-width:0 5px 5px}.Select.is-focused>.Select-control{background:#fff}.Select.is-focused:not(.is-open)>.Select-control{border-color:#e8e8e8 #f5f5f5 #f5f5f5;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 0 5px -1px fade(#e8e8e8,50%);box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 0 5px -1px fade(#e8e8e8,50%)}.Select.has-value.is-clearable.Select--single>.Select-control .Select-value{padding-right:37px}.Select.has-value.is-pseudo-focused.Select--single>.Select-control .Select-value .Select-value-label,.Select.has-value.Select--single>.Select-control .Select-value .Select-value-label{color:#5a5a5a}.Select.has-value.is-pseudo-focused.Select--single>.Select-control .Select-value a.Select-value-label,.Select.has-value.Select--single>.Select-control .Select-value a.Select-value-label{cursor:pointer;text-decoration:none}.Select.has-value.is-pseudo-focused.Select--single>.Select-control .Select-value a.Select-value-label:focus,.Select.has-value.is-pseudo-focused.Select--single>.Select-control .Select-value a.Select-value-label:hover,.Select.has-value.Select--single>.Select-control .Select-value a.Select-value-label:focus,.Select.has-value.Select--single>.Select-control .Select-value a.Select-value-label:hover{color:#e8e8e8;outline:none;text-decoration:underline}.Select.has-value.is-pseudo-focused.Select--single>.Select-control .Select-value a.Select-value-label:focus,.Select.has-value.Select--single>.Select-control .Select-value a.Select-value-label:focus{background:#fff}.Select.has-value.is-pseudo-focused .Select-input{opacity:0}.Select.is-open .Select-arrow,.Select .Select-arrow-zone:hover>.Select-arrow{border-top-color:#333}.Select.Select--rtl{direction:rtl;text-align:right}.Select-control{background-color:#fff;border-color:#f5f5f5 #e8e8e8 #cfcfcf;border-radius:2px;border:1px solid #e8e8e8;color:#5a5a5a;cursor:default;display:table;border-spacing:0;border-collapse:separate;height:26px;outline:none;overflow:hidden;position:relative;width:100%}.Select-control:hover{-webkit-box-shadow:0 1px 0 rgba(0,0,0,.06);box-shadow:0 1px 0 rgba(0,0,0,.06)}.Select-control .Select-input:focus{outline:none;background:#fff}.Select--single>.Select-control .Select-value,.Select-placeholder{bottom:0;color:#aaa;left:0;line-height:24px;padding-left:7px;padding-right:7px;position:absolute;right:0;top:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Select-input{height:24px;padding-left:7px;padding-right:7px;vertical-align:middle}.Select-input>input{width:100%;background:none transparent;border:0 none;-webkit-box-shadow:none;box-shadow:none;cursor:default;display:inline-block;font-family:inherit;font-size:inherit;margin:0;outline:none;line-height:17px;padding:3px 0 7px;-webkit-appearance:none}.is-focused .Select-input>input{cursor:text}.Select-control:not(.is-searchable)>.Select-input{outline:none}.Select-loading-zone{cursor:pointer;display:table-cell;text-align:center}.Select-loading,.Select-loading-zone{position:relative;vertical-align:middle;width:16px}.Select-loading{-webkit-animation:Select-animation-spin .4s infinite linear;animation:Select-animation-spin .4s infinite linear;height:16px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:50%;border:2px solid #e8e8e8;border-right-color:#5a5a5a;display:inline-block}.Select-clear-zone{-webkit-animation:Select-animation-fadeIn .2s;animation:Select-animation-fadeIn .2s;color:#838383;cursor:pointer;display:table-cell;position:relative;text-align:center;vertical-align:middle;width:12px}.Select-clear-zone:hover{color:#da4f49}.Select-clear{display:inline-block;font-size:15px;line-height:1}.Select--multi .Select-clear-zone{width:12px}.Select--multi .Select-multi-value-wrapper{display:inline-block}.Select .Select-aria-only{position:absolute;display:inline-block;height:1px;width:1px;margin:-1px;clip:rect(0,0,0,0);overflow:hidden;float:left}.Select-arrow-zone{cursor:pointer;display:table-cell;position:relative;text-align:center;vertical-align:middle;width:25px;padding-right:5px}.Select--rtl .Select-arrow-zone{padding-right:0;padding-left:5px}.Select-arrow{border-color:#838383 transparent transparent;border-style:solid;border-width:5px 5px 2.5px;display:inline-block;height:0;width:0;position:relative}@-webkit-keyframes Select-animation-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes Select-animation-fadeIn{0%{opacity:0}to{opacity:1}}.Select-menu-outer{border-bottom-right-radius:2px;border-bottom-left-radius:2px;background-color:#fff;border:1px solid #e8e8e8;border-top-color:#f4f4f4;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.06);box-shadow:0 1px 0 rgba(0,0,0,.06);-webkit-box-sizing:border-box;box-sizing:border-box;margin-top:-1px;max-height:200px;position:absolute;left:0;top:100%;width:100%;z-index:1000;-webkit-overflow-scrolling:touch}.Select-menu{max-height:198px;overflow-y:auto}.Select-option{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;color:#5a5a5a;cursor:pointer;display:block;padding:4px 7px}.Select-option:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.Select-option.is-selected{background-color:#f5faff;color:#5a5a5a}.Select-option.is-focused{background-color:#f9f9f9;color:#5a5a5a}.Select-option.is-disabled{color:#e8e8e8;cursor:default}.Select-noresults{-webkit-box-sizing:border-box;box-sizing:border-box;color:silver;cursor:default;display:block;padding:4px 7px}.Select--multi .Select-input{vertical-align:middle;margin-left:7px;padding:0}.Select--multi.Select--rtl .Select-input{margin-left:0;margin-right:7px}.Select--multi.has-value .Select-input{margin-left:2px}.Select--multi .Select-value{background-color:#5a5a5a;border-radius:2px;border:1px solid #414141;color:#fff;display:inline-block;font-size:12px;margin-left:2px;margin-top:2px;vertical-align:top}.Select--multi .Select-value-icon,.Select--multi .Select-value-label{display:inline-block;vertical-align:middle}.Select--multi .Select-value-label{border-bottom-right-radius:2px;border-top-right-radius:2px;cursor:default;padding:2px 5px}.Select--multi a.Select-value-label{color:#fff;cursor:pointer;text-decoration:none}.Select--multi a.Select-value-label:hover{text-decoration:underline}.Select--multi .Select-value-icon{cursor:pointer;border-bottom-left-radius:2px;border-top-left-radius:2px;border-right:1px solid #414141;padding:1px 5px 3px}.Select--multi .Select-value-icon:focus,.Select--multi .Select-value-icon:hover{background-color:#5a5a5a;color:#838383}.Select--multi .Select-value-icon:active{background-color:#414141}.Select--multi.Select--rtl .Select-value{margin-left:0;margin-right:2px}.Select--multi.Select--rtl .Select-value-icon{border-right:none;border-left:1px solid #414141}.Select--multi.is-disabled .Select-value{background-color:#fcfcfc;border:1px solid #e3e3e3;color:#333}.Select--multi.is-disabled .Select-value-icon{cursor:not-allowed;border-right:1px solid #e3e3e3}.Select--multi.is-disabled .Select-value-icon:active,.Select--multi.is-disabled .Select-value-icon:focus,.Select--multi.is-disabled .Select-value-icon:hover{background-color:#fcfcfc}@keyframes Select-animation-spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes Select-animation-spin{to{-webkit-transform:rotate(1turn)}}.Select{font-weight:300}.Select-menu-outer{border-color:#ababab}.Select-value{line-height:18px}.Select:not(.is-disabled)>.Select-control{-webkit-box-shadow:0 1px #d3d3d3;box-shadow:0 1px #d3d3d3}.Select:not(.is-disabled).is-focused>.Select-control,.Select:not(.is-disabled).is-open>.Select-control,.Select:not(.is-disabled)>.Select-control:focus,.Select:not(.is-disabled)>.Select-control:hover{border-color:#ababab}.Select-arrow-zone,.Select-clear-zone{padding-top:4px;vertical-align:top}.Select--multi.is-disabled>.Select-control{padding-bottom:1px}.Select--multi .Select-value{border:0;margin-top:1px}.Select--multi .Select-value-icon+.Select--multi .Select-value-label{padding-right:0}.Select--multi .Select-value-icon{border:0;float:right;font-size:15px;font-weight:300;line-height:15px;margin:2px 5px 2px 0;padding:0;text-align:center;width:12px}.has-error .Select-control,.has-error .Select-menu-outer,.has-error .Select.is-focused>.Select-control,.has-error .Select.is-open>.Select-control,.has-error .Select:not(.is-disabled)>.Select-control:focus,.has-error .Select:not(.is-disabled)>.Select-control:hover{border-color:#da4f49}.has-warning .Select-control,.has-warning .Select-menu-outer,.has-warning .Select.is-focused>.Select-control,.has-warning .Select.is-open>.Select-control,.has-warning .Select:not(.is-disabled)>.Select-control:focus,.has-warning .Select:not(.is-disabled)>.Select-control:hover{border-color:#faa732}.alert-component{color:#fff;font-size:12px;line-height:20px;padding:10px}.alert-component-success{background-color:#5bb75b}.alert-component-info{background-color:#49afcd}.alert-component-warning{background-color:#faa732}.alert-component-danger{background-color:#da4f49}.avatar-component{background-color:#ababab;border-radius:50%;color:#fff;cursor:default;display:inline-block;font-size:15px;font-weight:700;height:35px;line-height:36px;position:relative;text-align:center;text-transform:uppercase;vertical-align:middle;width:35px}.avatar-component-image{border-radius:50%;height:100%;left:0;position:absolute;top:0}.avatar-component-blue{background-color:#006dcc}.avatar-component-green{background-color:#5bb75b}.avatar-component-red{background-color:#da4f49}.avatar-component-orange{background-color:#faa732}.avatar-component-cyan{background-color:#49afcd}.borderedwell-component{background-color:#fff;border:1px solid #e8e8e8}.breadcrumbnode-component-link{cursor:pointer}.breadcrumbnode-component-link:active,.breadcrumbnode-component-link:hover{color:#0492ba;text-decoration:underline}.breadcrumb-component{color:#49afcd;cursor:default;font-size:12px;font-weight:300;height:10px;line-height:10px}.breadcrumb-component-link{cursor:pointer}.breadcrumb-component-link:active,.breadcrumb-component-link:hover{color:#0492ba;text-decoration:underline}.breadcrumb-component.disabled{color:#ababab;pointer-events:none}.card-component{font-size:12px;margin-bottom:28px;min-height:40px;min-width:205px}.card-component-grid-container{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;margin-right:-28px}.card-component-grid-container .card-component{margin-right:28px}.card-component .flexible-spacer-component{border:0}.card-component-content-container{background-color:#fff;border:1px solid #e8e8e8;border-radius:5px;-webkit-box-shadow:0 2px 0 #d3d3d3;box-shadow:0 2px 0 #d3d3d3;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:100%;flex-basis:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.card-component-content-container .card-component-content:not(.fill):last-child{padding-bottom:20px}.card-component.accent .card-component-content-container{border-bottom-width:5px}.card-component-content{padding:20px 20px 0}.card-component-content.append{color:#ababab;font-weight:300;padding:5px 1px 0}.card-component-content.stretch{padding-left:0;padding-right:0}.card-component-content.fill{padding:0}.svg-symbol-component{display:inline-block;pointer-events:none}.svg-symbol-component,.svg-symbol-component-16{height:16px;width:16px}.svg-symbol-component-70{height:70px;width:70px}.svg-symbol-component-200{height:200px;width:200px}.svg-symbol-component-250{height:250px;width:250px}.svg-symbol-component-color-disabled{fill:#d3d3d3}.svg-symbol-component-cyan-dark{fill:#0492ba}.svg-symbol-component-gray{fill:#ababab}.svg-symbol-component-gray-darker{fill:#5a5a5a}.svg-symbol-component-gray-light{fill:#d3d3d3}.svg-symbol-component-green-dark{fill:#31a549}.svg-symbol-component-orange-dark{fill:#f8951d}.svg-symbol-component-red{fill:#da4f49}.svg-symbol-component-clickable{cursor:pointer;pointer-events:auto}.svgsymbolcircle-component{background-color:#f3f3f3;border-radius:50%;display:inline-block;height:16px;width:16px}.svgsymbolcircle-component-inverse{background-color:#fff}.svgsymbolcircle-component .svg-symbol-component{height:12px;margin:2px;width:12px}.svgsymbolcircle-component-70{height:70px;width:70px}.svgsymbolcircle-component .svg-symbol-component-70{height:50px;margin:10px;width:50px}.svgsymbolcircle-component-50{height:50px;width:50px}.svgsymbolcircle-component .svg-symbol-component-50{height:36px;margin:7px;width:36px}.empty-component{cursor:default;margin:0 auto;padding:60px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.empty-component-text{color:#ababab;font-size:12px;line-height:1.5;margin-top:10px;white-space:pre-wrap}.flexible-spacer-component{border:1px solid #e8e8e8;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.flexible-wrapper-inline{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:inherit}.flexible-wrapper-inline .flexible-spacer-component{border:0}.flexible-wrapper-inline>.svg-symbol-component{margin:auto}.grid-component{border-left:1px solid #e8e8e8;border-top:1px solid #e8e8e8;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;-ms-flex-negative:0;flex-shrink:0;font-size:12px;font-weight:300;line-height:1.5;vertical-align:top;width:100%}.grid-component,.grid-component-row-vertical-cell-border .grid-component-cell{border-right:1px solid #e8e8e8}.grid-component-row-vertical-cell-border .grid-component-cell:last-child{border-right:0}.grid-component+.grid-component{border-top:0}.grid-component-cell{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;padding:8px 0 8px 10px}.grid-component-cell:last-child{padding-right:10px}.grid-component-cell-stretch{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-negative:1;flex-shrink:1}.grid-component-cell-clickable{cursor:pointer}.grid-component-row-vertical-cell-border .grid-component-cell{padding-right:10px}.grid-component-row{border-bottom:1px solid transparent;display:-webkit-box;display:-ms-flexbox;display:flex}.grid-component-row-header{color:#838383}.grid-component-row-subfooter{background-color:#f9f9f9;color:#838383}.grid-component-row-subfooter .grid-component-cell:last-child{color:#333}.grid-component-row-footer{font-weight:700}.grid-component-row-short .grid-component-cell{padding-bottom:3px;padding-top:3px}.grid-component-row-horizontal-border,.grid-component-row:last-child{border-bottom-color:#e8e8e8}.pagetitle-component{border-bottom:1px solid #e8e8e8;-webkit-box-sizing:content-box;box-sizing:content-box;font-size:18px;height:30px;line-height:30px;padding:20px 30px}.pagetitle-component-is-footer{border-top:1px solid #e8e8e8;border-bottom:0;color:#838383;font-size:12px}.pagetitle-component small{font-size:11px}.pretty-diff-component{border:1px solid #e8e8e8;font-size:12px;padding:10px;white-space:pre-wrap}.pretty-diff-component-delete{color:#da4f49;text-decoration:line-through}.pretty-diff-component-insert{color:#5bb75b}.arc-component.positive{fill:#5bb75b}.arc-component.negative{fill:#da4f49}.arc-component.info{fill:#49afcd}.arc-component.pending,.arc-component.warning{fill:#faa732}.donut-component{fill:#fff}.marker-component{stroke:#da4f49;stroke-width:.02}.slicey-component{vertical-align:top}.slicey-background{fill:#5a5a5a}.slicey-empty{fill:#f9f9f9}.statistic-component{font-size:15px}.statistic-component-value{font-weight:700}.statistic-component-label{color:#838383;font-weight:300}.statistic-component+.statistic-component{margin-top:5px}.statistic-component.inline .statistic-component-label,.statistic-component.inline .statistic-component-value{display:inline-block}.statistic-component.inline .statistic-component-label{margin-left:5px}.tag-component{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#838383;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:12px;font-weight:300;margin-right:5px;min-height:24px;padding:0 5px;line-height:0}.tag-component.tag-component-inverse{background-color:#f3f3f3;border-left:4px solid;color:#838383}.tag-component.tag-component-inverse .action-button{fill:#ababab}.tag-component-actionable{padding-right:0}.tag-component-accent label{font-weight:700}.tag-component .action-button{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;fill:#fff;fill-opacity:.6;height:24px;text-align:center;width:24px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.tag-component .action-button:hover{fill-opacity:1}.tag-component label{margin-bottom:0;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile-grid-component-title{color:#333;display:block;font-size:18px;font-weight:700;margin-bottom:10px}.tile-grid-component-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;list-style:none;margin:0;padding:0}.tile-grid-component-item{background:#e8e8e8 50%;border-radius:5px;-webkit-box-shadow:inset 0 -4px 0 #d3d3d3;box-shadow:inset 0 -4px 0 #d3d3d3;height:124px;position:relative}.tile-grid-component-item-img-wrapper{border-radius:inherit;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex}.tile-grid-component-item-img-wrapper img{width:auto;height:120px}.tile-grid-component-item-img-wrapper-left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.tile-grid-component-item-img-wrapper-right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.tile-grid-component-item-img-wrapper-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.tile-grid-component-item-link{width:100%;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;cursor:pointer;display:block;font-size:18px;font-weight:700;line-height:1;padding:20px;position:absolute;top:0;left:0;text-transform:uppercase;text-shadow:0 0 2px rgba(0,0,0,.2)}.tile-grid-component-item-link:focus,.tile-grid-component-item-link:hover{color:#fff;text-decoration:none}.tile-grid-component-item-link:focus:after,.tile-grid-component-item-link:hover:after{background-color:#838383;border-radius:5px;bottom:0;content:"";display:block;left:0;opacity:.2;position:absolute;right:0;top:0;z-index:1}.tile-grid-component-item-distributed{-webkit-box-flex:1;-ms-flex:1;flex:1;width:0}.tile-grid-component-item-distributed:not(:last-child){margin-right:10px}.panel-component{background-color:#fff;-webkit-transition:background-color .25s ease-out;transition:background-color .25s ease-out}.panel-component~.panel-component{border-top:1px solid #e8e8e8}.panel-component-header{cursor:pointer;font-weight:700;border-bottom:1px solid #e8e8e8;line-height:22px}.panel-component-header:before{background:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M1 8.6l6.8-4.9h.3L15 8.6v3.7L8 8.1l-7 4.2V8.6z'/%3E%3C/svg%3E") no-repeat;content:" ";float:right;height:16px;-webkit-transition:-webkit-transform .25s ease-out;transition:-webkit-transform .25s ease-out;transition:transform .25s ease-out;transition:transform .25s ease-out,-webkit-transform .25s ease-out;width:16px;fill:#333;margin-top:3px}.panel-component-header .svg-symbol-component{float:left;height:22px;margin-right:10px;position:relative;width:22px;fill:#333}.panel-component-content{font-weight:300}.panel-component-content,.panel-component-header{padding:20px}.panel-component.collapsed{background-color:#f9f9f9}.panel-component.collapsed .panel-component-header{border-bottom:0}.panel-component.collapsed .panel-component-header:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.panel-component.collapsed .panel-component-content{display:none}.panel-component hr{margin-left:-20px;margin-right:-20px}.card-component-content .panel-component:first-child{border-top-left-radius:5px;border-top-right-radius:5px}.card-component-content .panel-component:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.alert-input-component-wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff;border:1px solid #e8e8e8;border-radius:2px;display:-webkit-box;display:-ms-flexbox;display:flex;padding:4px 5px;position:relative}.alert-input-component-wrapper-flex-wrapper{width:100%}.alert-input-component-wrapper.is-focused{border-color:#ababab}.alert-input-component-wrapper.success{border-color:#5bb75b}.alert-input-component-wrapper.info{border-color:#49afcd}.alert-input-component-wrapper.warning{border-color:#faa732}.alert-input-component-wrapper.error{border-color:#da4f49}.alert-input-component-wrapper-input{background-color:#fff;border:0;-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;padding:0}.alert-input-component-wrapper-input:focus{outline:none}.alert-input-component-wrapper-addon{color:#d3d3d3}.alert-input-component-wrapper-addon:first-child{margin-right:2px}.alert-input-component-wrapper-addon:last-child{margin-left:2px}.alert-input-component-popover{border-radius:4px;-webkit-box-shadow:none;box-shadow:none;font-size:11px}.alert-input-component-popover .popover-content{color:inherit;padding:5px 10px;width:auto}.alert-input-component-popover.success{border-color:#5bb75b;color:#5bb75b}.alert-input-component-popover.success>.aui--popover-arrow{border-bottom-color:#5bb75b}.alert-input-component-popover.info{border-color:#49afcd;color:#49afcd}.alert-input-component-popover.info>.aui--popover-arrow{border-bottom-color:#49afcd}.alert-input-component-popover.warning{border-color:#faa732;color:#faa732}.alert-input-component-popover.warning>.aui--popover-arrow{border-bottom-color:#faa732}.alert-input-component-popover.error{border-color:#da4f49;color:#da4f49}.alert-input-component-popover.error>.aui--popover-arrow{border-bottom-color:#da4f49}.aui--button-group{display:-webkit-box;display:-ms-flexbox;display:flex}.aui--button-group .button-component{margin-right:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none}.aui--button-group .button-component.btn-inverse:active,.aui--button-group .button-component.btn-inverse:focus,.aui--button-group .button-component.btn-inverse:hover{border:1px solid #d3d3d3;background-color:#e8e8e8}.aui--button-group .button-component.btn,.aui--button-group .button-component.btn:hover{border:1px solid #d3d3d3;border-right-width:0}.aui--button-group .button-component:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.aui--button-group .button-component:last-child,.aui--button-group .button-component:last-child:active,.aui--button-group .button-component:last-child:hover{border-right-width:1px;border-top-right-radius:2px;border-bottom-right-radius:2px}.aui--button-group+.aui--button-group{margin-left:20px}.aui--button-group+button{margin-right:20px}button+.aui--button-group{margin-left:20px}.carousel-component .slider-control-centerleft{height:100%}.carousel-component .slider-control-centerleft .carousel-component-prev{background-color:rgba(51,51,51,.5);border:0;height:100%;padding:0;width:100%}.carousel-component .slider-control-centerleft .carousel-component-prev:before{background:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M1 8.6l6.8-4.9h.3L15 8.6v3.7L8 8.1l-7 4.2V8.6z'/%3E%3C/svg%3E") 50% no-repeat;content:"";display:block;height:22px;margin:0 auto;width:22px;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.carousel-component .slider-control-centerright{height:100%}.carousel-component .slider-control-centerright .carousel-component-next{background-color:rgba(51,51,51,.5);border:0;height:100%;padding:0;width:100%}.carousel-component .slider-control-centerright .carousel-component-next:before{background:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M1 8.6l6.8-4.9h.3L15 8.6v3.7L8 8.1l-7 4.2V8.6z'/%3E%3C/svg%3E") 50% no-repeat;content:"";display:block;height:22px;margin:0 auto;width:22px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.checkbox-component{cursor:pointer;display:block}.checkbox-component label{cursor:pointer;font-weight:300;margin-bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex}.checkbox-component input{display:none}.checkbox-component+.checkbox-component{margin-top:5px}.checkbox-component.checkbox-component-inline{display:inline-block}.checkbox-component.checkbox-component-inline+.checkbox-component.checkbox-component-inline{margin-top:0;margin-left:10px}.checkbox-component .checkbox-component-icon{display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggb3BhY2l0eT0iLjgiIGZpbGw9IiM4MzgzODMiIGQ9Ik0xMy45IDEuNmMuMyAwIC41LjIuNS41VjE0YzAgLjMtLjIuNS0uNS41SDIuMWMtLjMgMC0uNS0uMi0uNS0uNVYyLjFjMC0uMy4yLS41LjUtLjVoMTEuOG0wLTEuMUgyLjFDMS4yLjUuNSAxLjIuNSAyLjFWMTRjMCAuOS43IDEuNiAxLjYgMS42SDE0Yy45IDAgMS42LS43IDEuNi0xLjZWMi4xYy0uMS0uOS0uOC0xLjYtMS43LTEuNnoiLz48L3N2Zz4=);-ms-flex-negative:0;flex-shrink:0}.checkbox-component:hover:not(.disabled):not(.checked):not(.partial-checked) .checkbox-component-icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzRBQUZDRCIgZD0iTTEzLjkgMS42Yy4zIDAgLjUuMi41LjVWMTRjMCAuMy0uMi41LS41LjVIMi4xYy0uMyAwLS41LS4yLS41LS41VjIuMWMwLS4zLjItLjUuNS0uNWgxMS44bTAtMS4xSDIuMUMxLjIuNS41IDEuMi41IDIuMVYxNGMwIC45LjcgMS42IDEuNiAxLjZIMTRjLjkgMCAxLjYtLjcgMS42LTEuNlYyLjFjLS4xLS45LS44LTEuNi0xLjctMS42eiIvPjwvc3ZnPg==)}.checkbox-component.checked .checkbox-component-icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzRBQUZDRCIgZD0iTTE1LjUgMTMuOWMwIC45LS43IDEuNi0xLjYgMS42SDIuMWMtLjkgMC0xLjYtLjctMS42LTEuNlYyLjFjMC0uOS43LTEuNiAxLjYtMS42SDE0Yy45IDAgMS42LjcgMS42IDEuNnYxMS44eiIvPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xMS41IDQuN2MtLjItLjItLjUtLjEtLjcuMWwtNC4xIDUuNC0xLjUtMS44Yy0uMi0uMi0uNS0uMy0uNy0uMS0uMi4yLS4yLjUtLjEuN2wxLjkgMi4zYy4xLjEuMi4yLjQuMi4xIDAgLjMtLjEuNC0uMmw0LjUtNS45Yy4xLS4yLjEtLjUtLjEtLjd6Ii8+PC9zdmc+)}.checkbox-component.partial-checked .checkbox-component-icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGcgZmlsbD0iIzgzODM4MyI+PHBhdGggb3BhY2l0eT0iLjgiIGQ9Ik0xMy45IDEuNmMuMyAwIC41LjIuNS41VjE0YzAgLjMtLjIuNS0uNS41SDIuMWMtLjMgMC0uNS0uMi0uNS0uNVYyLjFjMC0uMy4yLS41LjUtLjVoMTEuOG0wLTEuMUgyLjFDMS4yLjUuNSAxLjIuNSAyLjFWMTRjMCAuOS43IDEuNiAxLjYgMS42SDE0Yy45IDAgMS42LS43IDEuNi0xLjZWMi4xYy0uMS0uOS0uOC0xLjYtMS43LTEuNnoiLz48cGF0aCBvcGFjaXR5PSIuOCIgZD0iTTExLjIgOC42SDQuOWMtLjMgMC0uNS0uMi0uNS0uNXYtLjJjMC0uMy4yLS41LjUtLjVIMTFjLjMgMCAuNS4yLjUuNXYuMmMuMS4yLS4xLjQtLjMuNXoiLz48L2c+PC9zdmc+Cg==)}.checkbox-component.partial-checked .checkbox-component-icon:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzRBQUZDRCIgZD0iTTEzLjkgMS42Yy4zIDAgLjUuMi41LjVWMTRjMCAuMy0uMi41LS41LjVIMi4xYy0uMyAwLS41LS4yLS41LS41VjIuMWMwLS4zLjItLjUuNS0uNWgxMS44bTAtMS4xSDIuMUMxLjIuNS41IDEuMi41IDIuMVYxNGMwIC45LjcgMS42IDEuNiAxLjZIMTRjLjkgMCAxLjYtLjcgMS42LTEuNlYyLjFjLS4xLS45LS44LTEuNi0xLjctMS42eiIvPjxwYXRoIG9wYWNpdHk9Ii44IiBmaWxsPSIjODM4MzgzIiBkPSJNMTEuMiA4LjZINC45Yy0uMyAwLS41LS4yLS41LS41di0uMmMwLS4zLjItLjUuNS0uNUgxMWMuMyAwIC41LjIuNS41di4yYy4xLjItLjEuNC0uMy41eiIvPjwvc3ZnPg==)}.checkbox-component.disabled,.checkbox-component.disabled label{cursor:not-allowed}.checkbox-component.disabled .checkbox-component-icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGcgZmlsbD0iI0QzRDNEMyI+PHBhdGggb3BhY2l0eT0iLjUiIGQ9Ik0yLjEgMTVjLS42IDAtMS0uNS0xLTFWMi4xYzAtLjYuNS0xIDEtMUgxNGMuNiAwIDEgLjUgMSAxVjE0YzAgLjYtLjUgMS0xIDFIMi4xeiIvPjxwYXRoIG9wYWNpdHk9Ii41IiBkPSJNMTMuOSAxLjZjLjMgMCAuNS4yLjUuNVYxNGMwIC4zLS4yLjUtLjUuNUgyLjFjLS4zIDAtLjUtLjItLjUtLjVWMi4xYzAtLjMuMi0uNS41LS41aDExLjhtMC0xLjFIMi4xQzEuMi41LjUgMS4yLjUgMi4xVjE0YzAgLjkuNyAxLjYgMS42IDEuNkgxNGMuOSAwIDEuNi0uNyAxLjYtMS42VjIuMWMtLjEtLjktLjgtMS42LTEuNy0xLjZ6Ii8+PC9nPjwvc3ZnPg==)}.checkbox-component.disabled.checked .checkbox-component-icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggb3BhY2l0eT0iLjUiIGZpbGw9IiNEM0QzRDMiIGQ9Ik0xNS41IDEzLjljMCAuOS0uNyAxLjYtMS42IDEuNkgyLjFjLS45IDAtMS42LS43LTEuNi0xLjZWMi4xYzAtLjkuNy0xLjYgMS42LTEuNkgxNGMuOSAwIDEuNi43IDEuNiAxLjZ2MTEuOHoiLz48cGF0aCBvcGFjaXR5PSIuOCIgZmlsbD0iI0FCQUJBQiIgZD0iTTExLjUgNC43Yy0uMi0uMi0uNS0uMS0uNy4xbC00LjEgNS40LTEuNS0xLjhjLS4yLS4yLS41LS4zLS43LS4xLS4yLjItLjIuNS0uMS43bDEuOSAyLjNjLjEuMS4yLjIuNC4yLjEgMCAuMy0uMS40LS4ybDQuNS01LjljLjEtLjIuMS0uNS0uMS0uN3oiLz48L3N2Zz4=)}.checkbox-component.disabled.partial-checked .checkbox-component-icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggb3BhY2l0eT0iLjUiIGZpbGw9IiNEM0QzRDMiIGQ9Ik0yLjEgMTVjLS42IDAtMS0uNS0xLTFWMi4xYzAtLjYuNS0xIDEtMUgxNGMuNiAwIDEgLjUgMSAxVjE0YzAgLjYtLjUgMS0xIDFIMi4xeiIvPjxwYXRoIG9wYWNpdHk9Ii41IiBmaWxsPSIjRDNEM0QzIiBkPSJNMTMuOSAxLjZjLjMgMCAuNS4yLjUuNVYxNGMwIC4zLS4yLjUtLjUuNUgyLjFjLS4zIDAtLjUtLjItLjUtLjVWMi4xYzAtLjMuMi0uNS41LS41aDExLjhtMC0xLjFIMi4xQzEuMi41LjUgMS4yLjUgMi4xVjE0YzAgLjkuNyAxLjYgMS42IDEuNkgxNGMuOSAwIDEuNi0uNyAxLjYtMS42VjIuMWMtLjEtLjktLjgtMS42LTEuNy0xLjZ6Ii8+PHBhdGggb3BhY2l0eT0iLjgiIGZpbGw9IiNBQkFCQUIiIGQ9Ik0xMS4yIDguNkg1Yy0uMyAwLS41LS4yLS41LS41VjhjMC0uMy4yLS41LjUtLjVoNi4xYy4zIDAgLjUuMi41LjV2LjJjMCAuMi0uMi40LS40LjR6Ii8+PC9zdmc+)}.checkbox-component .checkbox-component-label{margin-left:5px;line-height:16px}.count-badge{display:inline-block;width:16px;height:16px;border-radius:50%;border:1px solid #fff;background-color:#838383;color:#fff;text-align:center;font-size:9px;font-weight:700;-webkit-box-sizing:content-box;box-sizing:content-box;line-height:17px}.count-badge.status-info{background-color:#006dcc}.count-badge.status-warning{background-color:#faa732}.count-badge.status-danger{background-color:#da4f49}.count-badge.count-badge-font-size-small{font-size:8px}.help-icon-popover-component{display:inline-block;padding-left:3px}.help-icon-popover-component-trigger{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23ababab' d='M5 .6c2.4 0 4.4 2 4.4 4.4 0 2.4-2 4.4-4.4 4.4C2.6 9.4.6 7.4.6 5 .6 2.6 2.6.6 5 .6M5 0C2.2 0 0 2.2 0 5c0 2.7 2.3 5 5 5s5-2.3 5-5-2.3-5-5-5z'/%3E%3Cpath fill='%23ababab' d='M4.5 6.2c0-1 .7-1.3 1.1-2 .3-.3.2-.7 0-1-.4-.2-.7-.2-1.1 0-.1.1-.1.3-.1.4h-.9c0-2.7 5.2-1.1 2.7 1.3l-.5.5c-.1.2-.3.5-.3.8h-.9zm0 1.2c0-.8 1.2-.7 1.1 0 0 .6-1.1.7-1.1 0z'/%3E%3C/svg%3E");width:10px;height:10px;background-size:10px;margin-bottom:-1px}.filepicker-component-highlight{border:1px solid #d5382e;border-radius:2px;padding:1px}.filepicker-component .remove-file{background-color:#e8e8e8;border:0;-webkit-box-shadow:none;box-shadow:none;height:28px;margin-right:0}.filepicker-component .file-input{display:none}.has-error .filepicker-component .form-control{border:0}.listpicker-component-body-split{display:-webkit-box;display:-ms-flexbox;display:flex;height:400px}.listpicker-component-body-split .listpickerpure-component .grid-component .grid-component-row-header{border-bottom:1px solid #e8e8e8}.listpicker-component-body-split .listpickerpure-component-items{max-height:363px;overflow:auto;overflow-x:hidden}.listpicker-component-body-split .listpickerpure-component-items .grid-component{border-top:0}.listpicker-component-footnote{margin-top:10px}.listpicker-component .grid-component-row:last-child{border-bottom:0}.listpicker-component .grid-component-cell-label{color:#ababab;width:120px}.listpicker-component .flexible-spacer-component{border-top:0}.listpicker-component .empty-component{border-bottom:0}.radio-component.disabled label{cursor:not-allowed}.radio-component.radio-component-inline{display:inline-block}.radio-component+.radio-component{margin-top:5px}.radio-component.radio-component-inline+.radio-component.radio-component-inline{margin-top:0;margin-left:10px}.radio-component label{line-height:16px;font-weight:300;cursor:pointer;margin-bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex}.radio-component .radio-component-label{margin-left:5px}.radio-component .radio-component-input-container{width:16px;height:16px}.radio-component .radio-component-input-container span{vertical-align:baseline}.radio-component .radio-component-input-container input{display:none}.listpickerpure-component{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.listpickerpure-component .grid-component-cell-addon,.listpickerpure-component .grid-component-cell-header-addon,.listpickerpure-component .grid-component-cell-header-toggle,.listpickerpure-component .grid-component-cell-toggle{-ms-flex-preferred-size:10%;flex-basis:10%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.listpickerpure-component .grid-component-cell-addon,.listpickerpure-component .grid-component-cell-toggle{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.listpickerpure-component .grid-component-cell-header-addon,.listpickerpure-component .grid-component-cell-header-toggle{text-align:center}.listpickerpure-component .empty-component{border-bottom:1px solid #e8e8e8}.listpickerpure-component .grid-component-row:last-child{border-bottom:0}.pagedgrid-component .grid-component-cell:not(.grid-component-cell-stretch){-ms-flex-preferred-size:100px;flex-basis:100px}.pagedgrid-component .empty-component{border-bottom:1px solid #e8e8e8}.pagedgrid-component-pagination{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.pagedgrid-component-pagination-info{display:inline-block;font-weight:300;line-height:28px;margin:18px 10px}.search-component{height:26px;line-height:26px;position:relative;width:100%}.search-component ::-webkit-search-cancel-button,.search-component ::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.search-component-input{-webkit-appearance:textfield;border:1px solid #e8e8e8;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#333;font-size:12px;height:inherit;margin:0;padding:0 0 0 10px;width:inherit}.search-component-input::-webkit-input-placeholder{color:#ababab;font-weight:300}.search-component-input:-ms-input-placeholder,.search-component-input::-ms-input-placeholder{color:#ababab;font-weight:300}.search-component-input::placeholder{color:#ababab;font-weight:300}.search-component-input:active,.search-component-input:focus{border-color:#ababab;outline:0}.search-component-input:disabled{border:1px solid #e8e8e8;color:#ababab}.search-component .svg-symbol-component{-webkit-box-sizing:content-box;box-sizing:content-box;height:100%;padding:0 4px;position:absolute;right:0;top:1px}.search-component .spinner-component{position:absolute;top:4px;right:24px}.search-bar-component{display:-webkit-box;display:-ms-flexbox;display:flex}.search-bar-component-text-input.form-control{-webkit-box-flex:1;-ms-flex:1;flex:1;height:32px;margin-right:-3px;padding:4px 10px}.search-bar-component-button.btn{line-height:1;width:36px}.search-bar-component-button.btn>.svg-symbol-component-search-icon{fill:#006dcc}.splitpane-component{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:50%;flex-basis:50%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;overflow:hidden}.splitpane-component+.splitpane-component{margin-left:30px}.splitpane-component>.grid-component{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:1;flex-shrink:1;overflow:auto}.aui--status-pill{font-size:12px;display:inline-block;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:24px;padding:5px 12px;border:1px solid transparent;border-radius:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:700;line-height:1;color:#5a5a5a}.aui--status-pill.aui--status-pill-primary{background-color:rgba(0,173,238,.35)}.aui--status-pill.aui--status-pill-primary.aui--status-pill-inverse{background-color:#fff;border-color:#e8e8e8;color:#00adee}.aui--status-pill.aui--status-pill-success{background-color:rgba(149,200,61,.35)}.aui--status-pill.aui--status-pill-success.aui--status-pill-inverse{background-color:#fff;border-color:#e8e8e8;color:#95c83d}.aui--status-pill.aui--status-pill-warning{background-color:rgba(255,153,51,.35)}.aui--status-pill.aui--status-pill-warning.aui--status-pill-inverse{background-color:#fff;border-color:#e8e8e8;color:#f93}.aui--status-pill.aui--status-pill-error{background-color:rgba(218,79,73,.35)}.aui--status-pill.aui--status-pill-error.aui--status-pill-inverse{background-color:#fff;border-color:#e8e8e8;color:#da4f49}.aui--status-pill.aui--status-pill-light{background-color:#e8e8e8}.aui--status-pill.aui--status-pill-light.aui--status-pill-inverse{background-color:#fff;border-color:#e8e8e8}.aui--text-ellipsis-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.aui--text-ellipsis-wrapper .text-ellipsis-component{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.treepickernode-component:hover{background-color:#f9f9f9}.treepickernode-component:hover .treepickernode-component-expander{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%235a5a5a' d='M12.5 4c.3 0 .5.2.5.5v4h2.3c.4 0 .6.4.4.7l-2.3 4.1c-.1.3-.3.4-.5.4H2.5c-.3 0-.5-.2-.5-.5V4.5c0-.3.2-.5.5-.5h10z'/%3E%3Cpath fill='%23fff' d='M3 5v6.3l1.4-2.6c.1-.2.3-.2.4-.2H12V5H3z'/%3E%3C/svg%3E")}.treepickernode-component-expander{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ababab' d='M12.5 4c.3 0 .5.2.5.5V6h1.8c.4.1.5.5.4.8l-1.8 6.4c-.1.3-.3.4-.5.4H2.5c-.3 0-.5-.2-.5-.5V4.5c0-.3.2-.5.5-.5h10z'/%3E%3Cpath fill='%23fff' d='M3 5v5.6l1.4-4.2c.1-.1.2-.4.6-.4h7V5H3z'/%3E%3C/svg%3E");height:16px;width:16px}.treepickernode-component-metadata{color:#838383}.treepickernode-component-metadata:before{content:" "}.treepickernode-component .grid-component-cell-button{padding-bottom:7px;padding-top:7px}.treepickernode-component .grid-component-cell-button .btn-xs{font-size:15px;height:20px;line-height:14px;width:20px}.treepickernode-component label{margin-bottom:0}.treepickernode-component .spinner-component>.spinner{margin-bottom:-4px}.treepickergrid-component-group-label .grid-component-row{background-color:#f9f9f9;font-weight:700;padding:7px 10px}.treepickernav-component{border-left:1px solid #e8e8e8;border-right:1px solid #e8e8e8;padding:10px}.treepickernav-component>div+div{margin-top:10px}.treepickernav-component>.breadcrumb-component{padding-left:2px}.treepickersimplepure-component{display:-webkit-box;display:-ms-flexbox;display:flex;height:500px}.treepickersimplepure-component .loading-nodes-container{text-align:center;padding:60px}.treepickersimplepure-component .flexible-spacer-component{border-top:0}.treepickersimplepure-component .treepickernav-component{background-color:#fff;border-top:1px solid #e8e8e8}.treepickersimplepure-component .splitpane-component+.splitpane-component .empty-component{margin-top:71px}.treepickersimplepure-component.disabled{pointer-events:none;cursor:default;opacity:.65}.background-highlighted{background-color:#f3f3f3}.userlistpicker-component-user-label .avatar-component{margin-right:10px}.userlistpicker-component .grid-component-cell-toggle{line-height:35px}.popover-link-item{padding:4px 2px 4px 6px}.popover-link-item:hover{background-color:#f9f9f9}.hover-dropdown{display:inline-block}.hover-dropdown-popover .popover-title{font-weight:700;padding:8px 2px 8px 6px;background-color:#fff}.hover-dropdown-popover .popover-content{width:160px;padding:4px 0}.hover-dropdown-popover .popover-content ul{margin:0}.hover-dropdown-popover .popover-content .btn{padding:0}.information-box{background-color:#f3f3f3;padding:30px;color:#838383;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.information-box-text{padding-left:20px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.information-box-title{font-size:15px;font-weight:700;color:#5a5a5a}.information-box-icon{background-color:#fff;width:70px;height:70px;border-radius:50%;text-align:center;overflow:hidden}.nav-borderless{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-size:12px;font-weight:300;padding:0;height:50px}.nav-borderless,.nav-borderless>li{display:-webkit-box;display:-ms-flexbox;display:flex}.nav-borderless>li{list-style-type:none;-ms-flex-preferred-size:100px;flex-basis:100px;text-align:left;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;border:0 solid #fff}.nav-borderless>li.active,.nav-borderless>li:hover{border-color:#1950a3}.nav-borderless>li>a{color:#5a5a5a;text-decoration:none;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.nav-borderless>li.disabled{cursor:default}.nav-borderless>li.disabled a{color:#ababab}.nav-borderless.top-bar>li{margin-top:3px}.nav-borderless.top-bar>li.active,.nav-borderless.top-bar>li:hover{margin:0;border-top-width:3px}.nav-borderless.bottom-bar>li{margin-bottom:3px}.nav-borderless.bottom-bar>li.active,.nav-borderless.bottom-bar>li:hover{margin:0;border-bottom-width:3px}.aui--overlay-loader{width:100%;height:100%;position:absolute;top:10px;z-index:1060}.aui--overlay-loader-disabled{position:fixed}.aui--overlay-loader .loader{position:fixed;left:50%;width:96px;min-height:132px;background-color:#f9f9f9;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:20px;border-radius:5px;border:1px solid #d3d3d3;font-weight:700;opacity:.9;line-height:14px}.aui--overlay-loader .loader .loader-heading{color:#5a5a5a}.aui--overlay-loader .loader .loader-text{margin-top:5px;color:#ababab;width:65px;text-align:center;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.aui--overlay-loader .loader .spinner-medium{height:40px;width:40px;margin-bottom:20px;border-bottom-color:#5a5a5a;border-left-color:#5a5a5a;border-right-color:#5a5a5a;border-width:5px}.adslot-ui-header>.pagetitle-component{background:#fff}.adslot-ui-header>.pagetitle-component .svg-symbol-component{width:156px;height:30px}.adslot-ui-header>.pagetitle-component img{margin-bottom:10px}.adslot-ui-navigation{width:240px}.git-contributors .avatars-container{padding:30px;text-align:center}.git-contributors .avatars-container .avatar-component{margin-right:10px;margin-bottom:10px}.adslot-ui-searchbar{margin-bottom:30px}.search-result-card{width:240px}.search-result-card .card-component-content{padding-top:0}.search-result-card .card-component-content:first-child{padding:30px;border-bottom:1px solid #e8e8e8;display:-webkit-box;display:-ms-flexbox;display:flex}.search-result-card .card-component-content:nth-child(2){padding-top:30px}.search-result-card .card-component-content:nth-last-child(2):not(:first-child){padding-bottom:30px}.search-result-card .card-component-content .title{-webkit-box-flex:1;-ms-flex:1;flex:1}.search-result-card .card-component-content .clear-button{padding:0}.adslot-ui-proptype-table{max-width:1100px}.adslot-ui-proptype-table+.adslot-ui-proptype-table{margin-top:30px}.adslot-ui-proptype-table table+.empty-component{padding:0}.adslot-ui-proptype-table table tr th.col-prop-type{width:10%}.adslot-ui-proptype-table table tr th.col-type{width:15%}.adslot-ui-proptype-table table tr th.col-default-value{width:25%}.adslot-ui-proptype-table table tr th.col-notes{width:50%}.adslot-ui-proptype-table table tr td:empty:before{content:"\2014"}.adslot-ui-proptype-table table tr td pre{white-space:pre-wrap}.adslot-ui-example-container{margin-bottom:60px}.adslot-ui-example-container .adslot-ui-example{margin-bottom:30px;max-width:940px}.adslot-ui-example-container .adslot-ui-code-snippet{max-width:1100px}.adslot-ui-example-container .adslot-ui-code-snippet>pre{padding:10px!important}.adslot-ui-example-container>h2{margin-bottom:30px;font-size:18px}.adslot-ui-example-container>h3{margin-bottom:18px;font-size:15px}body{font-family:Roboto,Helvetica,sans-serif;margin:0}.adslot-ui-layout .adslot-ui-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:30px}.adslot-ui-layout .adslot-ui-proptype-table pre{display:inline}.adslot-ui-sidebar-area{margin-right:30px;-webkit-box-flex:0;-ms-flex:0 1 1;flex:0 1 1}.adslot-ui-content-area{-webkit-box-flex:1;-ms-flex:1;flex:1}.adslot-ui-content-area>.pagetitle-component{margin:30px auto;padding-left:0}.adslot-ui-content-area>.migration-docs{font-size:18px}.note-panel{background:none #fdfdfd}.note-panel~.note-panel{margin-top:10px}.note-panel pre{display:inline}.note-panel .text-blue{color:#006dcc}.note-panel .text-cyan{color:#49afcd}.note-panel .text-green{color:#5bb75b}.note-panel .text-gray-light{color:#d3d3d3}.note-panel .text-gray-dark{color:#838383}.note-panel .text-red{color:#da4f49}.note-panel .text-orange{color:#faa732}.note-panel .text-bold{font-weight:700}.tag-component-accent.accent-positive{border-color:#5bb75b}.tag-component-accent.accent-positive:not(.tag-component-inverse){background-color:#5bb75b}.tag-component-accent.accent-positive.tag-component-inverse{color:#5bb75b;fill:#5bb75b}.tag-component-accent.accent-pending{border-color:#faa732}.tag-component-accent.accent-pending:not(.tag-component-inverse){background-color:#faa732}.tag-component-accent.accent-pending.tag-component-inverse{color:#faa732;fill:#faa732}.tag-component-accent.accent-negative{border-color:#da4f49}.tag-component-accent.accent-negative:not(.tag-component-inverse){background-color:#da4f49}.tag-component-accent.accent-negative.tag-component-inverse{color:#da4f49;fill:#da4f49}.adslot-ui-example-container.alert-input-example .adslot-ui-example{width:140px}.adslot-ui-example-container.accordion-panel-example .adslot-ui-example,.adslot-ui-example-container.card-example .adslot-ui-example{width:240px}.adslot-ui-example-container.file-picker-example .adslot-ui-example,.adslot-ui-example-container.panel-example .adslot-ui-example,.adslot-ui-example-container.select-example .adslot-ui-example,.adslot-ui-example-container.text-ellipsis-example .adslot-ui-example,.adslot-ui-example-container.textarea-example .adslot-ui-example{width:380px}.adslot-ui-example-container.empty-example .adslot-ui-example,.adslot-ui-example-container.pretty-diff-example .adslot-ui-example,.adslot-ui-example-container.search-bar-example .adslot-ui-example,.adslot-ui-example-container.search-example .adslot-ui-example,.adslot-ui-example-container.totals-example .adslot-ui-example{width:560px}.adslot-ui-example-container.navigation-tabs-example .adslot-ui-example .dashboard-tab{border-color:#d5382e}.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:400px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .checkbox-component+.checkbox-component{margin-top:0;margin-left:5px}.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .disabled-popover,.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .example-button,.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .placement-checkbox,.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .theme-checkbox,.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .trigger-checkbox{display:-webkit-box;display:-ms-flexbox;display:flex}.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .disabled-popover{height:28px}.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .disabled-popover .checkbox-component{margin-top:1px}.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .disabled-popover .button-component{position:relative;left:5px;top:-5px}.adslot-ui-example-container.popover-example .adslot-ui-example .popover{position:relative;margin:20px}.adslot-ui-example-container.popover-example .adslot-ui-example .auto-flip-container{width:500px;height:250px;border:1px solid #d3d3d3;overflow:hidden;overflow-x:scroll}.adslot-ui-example-container.popover-example .adslot-ui-example .auto-flip-container .popover-example-container{width:600px;position:relative;top:50px;left:250px}.adslot-ui-example-container.popover-example .adslot-ui-example .auto-flip-container .popover-example-container>.aui--popover-element{top:10px;left:10px;position:relative}.adslot-ui-example-container.checkbox-example h4{margin-top:20px;font-weight:700}.adslot-ui-example-container.checkbox-example .fix-size{width:200px}.adslot-ui-example-container.status-pill-example .aui--status-pill+.aui--status-pill{margin-left:20px}.adslot-ui-example-container.button-group-example .adslot-ui-example{display:-webkit-box;display:-ms-flexbox;display:flex}.adslot-ui-example-container.button-group-example .adslot-ui-example .aui--button-group .svg-symbol-component{position:relative;top:3px;fill:#fff}.adslot-ui-example-container.button-group-example .adslot-ui-example .aui--button-group .btn-inverse .svg-symbol-component{fill:#000}.adslot-ui-example-container.overlay-loader-example .static-markup{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:50px;width:300px}.adslot-ui-example-container.overlay-loader-example .static-markup .aui--overlay-loader,.adslot-ui-example-container.overlay-loader-example .static-markup .aui--overlay-loader .loader{position:inherit}.adslot-ui-example-container.overlay-loader-example .static-markup .aui--overlay-loader+.aui--overlay-loader{margin-right:10px}.full-width{width:100%}.horizontal-separator{width:12px}.vertical-separator{height:12px}
\ No newline at end of file
diff --git a/dist/adslot-ui-docs.dev.css b/dist/adslot-ui-docs.dev.css
deleted file mode 100644
index 0a8b5fdfa..000000000
--- a/dist/adslot-ui-docs.dev.css
+++ /dev/null
@@ -1,15965 +0,0 @@
-.spinner-component .spinner {
- -webkit-animation: rotation 1.1s infinite linear;
- animation: rotation 1.1s infinite linear;
- border-radius: 100%;
- border-style: solid;
- display: inline-block;
-}
-
-.spinner-component .spinner-small {
- border-width: 2px;
- height: 16px;
- width: 16px;
-}
-
-.spinner-component .spinner-medium {
- border-width: 3px;
- height: 24px;
- width: 24px;
-}
-
-.spinner-component .spinner-large {
- border-width: 6px;
- height: 60px;
- width: 60px;
-}
-
-.spinner-component .spinner-colour-style-default {
- border-bottom-color: #838383;
- border-left-color: #838383;
- border-right-color: #838383;
- border-top-color: #d3d3d3;
-}
-
-@-webkit-keyframes rotation {
- from {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- to {
- -webkit-transform: rotate(359deg);
- transform: rotate(359deg);
- }
-}
-
-@keyframes rotation {
- from {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- to {
- -webkit-transform: rotate(359deg);
- transform: rotate(359deg);
- }
-}
-.button-component {
- position: relative;
-}
-
-.button-component .popover-wrapper[data-placement*='bottom'] {
- margin-top: 12px;
-}
-
-.button-component .popover-wrapper[data-placement*='bottom'] .popover-content {
- max-width: 140px;
- color: #ababab;
- font-size: 11px;
-}
-
-.button-component-children-container {
- visibility: hidden;
-}
-
-.button-component .spinner-container {
- position: absolute;
- right: 0;
- left: 0;
- margin-right: auto;
- margin-left: auto;
-}
-
-.button-component .spinner-container .spinner-component .spinner-small {
- margin-top: 1px;
-}
-
-.button-component .spinner-container .spinner-component .spinner-medium {
- margin-top: -3px;
-}
-
-body > .btn-popover-wrapper[data-placement*='bottom'] {
- margin-top: 12px;
-}
-.aui--popover-element {
- cursor: pointer;
- display: -webkit-inline-box;
- display: -ms-inline-flexbox;
- display: inline-flex;
-}
-
-.aui--popover-wrapper {
- z-index: 1060;
- max-width: 276px;
- font-size: 12px;
- font-weight: 300;
- border: 1px solid #e8e8e8;
- border-radius: 4px;
- -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
- padding: 0;
- background-color: #fff;
-}
-
-.aui--popover-wrapper[data-placement*='bottom'] {
- margin-top: 6px;
-}
-
-.aui--popover-wrapper[data-placement*='top'] {
- margin-bottom: 6px;
-}
-
-.aui--popover-wrapper[data-placement*='left'] {
- margin-right: 6px;
-}
-
-.aui--popover-wrapper[data-placement*='right'] {
- margin-left: 6px;
-}
-
-.aui--popover-wrapper .aui--popover-arrow {
- position: absolute;
- border: 0 solid #e8e8e8;
-}
-
-.aui--popover-wrapper .aui--popover-arrow::after {
- content: '';
- display: block;
- position: relative;
- border: 0 solid #fff;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='top'], .aui--popover-wrapper .aui--popover-arrow[data-placement*='bottom'] {
- width: 12px;
- height: 6px;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='top']::after, .aui--popover-wrapper .aui--popover-arrow[data-placement*='bottom']::after {
- width: 12px;
- height: 6px;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='top'] {
- margin-bottom: -6px;
- bottom: -1px;
- border-top-width: 6px;
- border-right-width: 6px;
- border-left-width: 6px;
- border-bottom-color: transparent;
- border-right-color: transparent;
- border-left-color: transparent;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='top']::after {
- top: -7px;
- right: 6px;
- border-top-width: 6px;
- border-right-width: 6px;
- border-left-width: 6px;
- border-bottom-color: transparent;
- border-right-color: transparent;
- border-left-color: transparent;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='left'], .aui--popover-wrapper .aui--popover-arrow[data-placement*='right'] {
- width: 6px;
- height: 12px;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='left']::after, .aui--popover-wrapper .aui--popover-arrow[data-placement*='right']::after {
- width: 6px;
- height: 12px;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='left'] {
- right: -1px;
- margin-right: -6px;
- border-left-width: 6px;
- border-top-width: 6px;
- border-bottom-width: 6px;
- border-right-color: transparent;
- border-top-color: transparent;
- border-bottom-color: transparent;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='left']::after {
- top: -6px;
- left: -7px;
- border-left-width: 6px;
- border-top-width: 6px;
- border-bottom-width: 6px;
- border-right-color: transparent;
- border-top-color: transparent;
- border-bottom-color: transparent;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='bottom'] {
- top: -7px;
- margin-bottom: -6px;
- border-bottom-width: 6px;
- border-right-width: 6px;
- border-left-width: 6px;
- border-top-color: transparent;
- border-right-color: transparent;
- border-left-color: transparent;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='bottom']::after {
- top: 1px;
- right: 6px;
- border-bottom-width: 6px;
- border-right-width: 6px;
- border-left-width: 6px;
- border-top-color: transparent;
- border-right-color: transparent;
- border-left-color: transparent;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='right'] {
- margin-left: -7px;
- left: 0;
- border-right-width: 6px;
- border-top-width: 6px;
- border-bottom-width: 6px;
- border-left-color: transparent;
- border-top-color: transparent;
- border-bottom-color: transparent;
-}
-
-.aui--popover-wrapper .aui--popover-arrow[data-placement*='right']::after {
- top: -6px;
- left: 1px;
- border-right-width: 6px;
- border-top-width: 6px;
- border-bottom-width: 6px;
- border-left-color: transparent;
- border-top-color: transparent;
- border-bottom-color: transparent;
-}
-
-.aui--popover-wrapper.popover-light {
- color: #333;
-}
-
-.aui--popover-wrapper.popover-light .popover-title {
- background-color: #f3f3f3;
- border-bottom-color: #e8e8e8;
-}
-
-.aui--popover-wrapper.popover-dark {
- background-color: #5a5a5a;
- border-color: #5a5a5a;
- color: #fff;
-}
-
-.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*='top'] {
- border-top-color: #5a5a5a;
-}
-
-.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*='top']::after {
- border-top-color: #5a5a5a;
-}
-
-.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*='right'] {
- border-right-color: #5a5a5a;
-}
-
-.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*='right']::after {
- border-right-color: #5a5a5a;
-}
-
-.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*='bottom'] {
- border-bottom-color: #5a5a5a;
-}
-
-.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*='bottom']::after {
- border-bottom-color: #5a5a5a;
-}
-
-.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*='left'] {
- border-left-color: #5a5a5a;
-}
-
-.aui--popover-wrapper.popover-dark .aui--popover-arrow[data-placement*='left']::after {
- border-left-color: #5a5a5a;
-}
-
-.aui--popover-wrapper.popover-dark .popover-title {
- background-color: #747474;
- border-bottom-color: #fff;
-}
-
-.aui--popover-wrapper.popover-warn {
- background-color: #faa732;
- border-color: #faa732;
- color: #fff;
-}
-
-.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*='top'] {
- border-top-color: #faa732;
-}
-
-.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*='top']::after {
- border-top-color: #faa732;
-}
-
-.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*='right'] {
- border-right-color: #faa732;
-}
-
-.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*='right']::after {
- border-right-color: #faa732;
-}
-
-.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*='bottom'] {
- border-bottom-color: #faa732;
-}
-
-.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*='bottom']::after {
- border-bottom-color: #faa732;
-}
-
-.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*='left'] {
- border-left-color: #faa732;
-}
-
-.aui--popover-wrapper.popover-warn .aui--popover-arrow[data-placement*='left']::after {
- border-left-color: #faa732;
-}
-
-.aui--popover-wrapper.popover-warn .popover-title {
- background-color: #fbbc64;
- border-bottom-color: #fff;
-}
-
-.aui--popover-wrapper.popover-error {
- background-color: #da4f49;
- border-color: #da4f49;
- color: #fff;
-}
-
-.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*='top'] {
- border-top-color: #da4f49;
-}
-
-.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*='top']::after {
- border-top-color: #da4f49;
-}
-
-.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*='right'] {
- border-right-color: #da4f49;
-}
-
-.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*='right']::after {
- border-right-color: #da4f49;
-}
-
-.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*='bottom'] {
- border-bottom-color: #da4f49;
-}
-
-.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*='bottom']::after {
- border-bottom-color: #da4f49;
-}
-
-.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*='left'] {
- border-left-color: #da4f49;
-}
-
-.aui--popover-wrapper.popover-error .aui--popover-arrow[data-placement*='left']::after {
- border-left-color: #da4f49;
-}
-
-.aui--popover-wrapper.popover-error .popover-title {
- background-color: #e37873;
- border-bottom-color: #fff;
-}
-
-.aui--popover-wrapper .popover-title {
- padding: 8px 14px;
- margin: 0;
- font-size: 12px;
- border-bottom: 1px solid;
- border-radius: 3px 3px 0 0;
-}
-
-.aui--popover-wrapper .popover-content {
- padding: 5px 10px;
- line-height: 1.5;
-}
-
-.aui--popover-wrapper .popover-content p {
- margin-bottom: 5px;
-}
-
-.aui--popover-wrapper .popover-content p:last-child {
- margin-bottom: 0;
-}
-/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
-html {
- font-family: sans-serif;
- -ms-text-size-adjust: 100%;
- -webkit-text-size-adjust: 100%;
-}
-
-body {
- margin: 0;
-}
-
-article,
-aside,
-details,
-figcaption,
-figure,
-footer,
-header,
-hgroup,
-main,
-menu,
-nav,
-section,
-summary {
- display: block;
-}
-
-audio,
-canvas,
-progress,
-video {
- display: inline-block;
- vertical-align: baseline;
-}
-
-audio:not([controls]) {
- display: none;
- height: 0;
-}
-
-[hidden],
-template {
- display: none;
-}
-
-a {
- background-color: transparent;
-}
-
-a:active,
-a:hover {
- outline: 0;
-}
-
-abbr[title] {
- border-bottom: none;
- text-decoration: underline;
- -webkit-text-decoration: underline dotted;
- text-decoration: underline dotted;
-}
-
-b,
-strong {
- font-weight: bold;
-}
-
-dfn {
- font-style: italic;
-}
-
-h1 {
- font-size: 2em;
- margin: 0.67em 0;
-}
-
-mark {
- background: #ff0;
- color: #000;
-}
-
-small {
- font-size: 80%;
-}
-
-sub,
-sup {
- font-size: 75%;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
-}
-
-sup {
- top: -0.5em;
-}
-
-sub {
- bottom: -0.25em;
-}
-
-img {
- border: 0;
-}
-
-svg:not(:root) {
- overflow: hidden;
-}
-
-figure {
- margin: 1em 40px;
-}
-
-hr {
- -webkit-box-sizing: content-box;
- box-sizing: content-box;
- height: 0;
-}
-
-pre {
- overflow: auto;
-}
-
-code,
-kbd,
-pre,
-samp {
- font-family: monospace, monospace;
- font-size: 1em;
-}
-
-button,
-input,
-optgroup,
-select,
-textarea {
- color: inherit;
- font: inherit;
- margin: 0;
-}
-
-button {
- overflow: visible;
-}
-
-button,
-select {
- text-transform: none;
-}
-
-button,
-html input[type="button"],
-input[type="reset"],
-input[type="submit"] {
- -webkit-appearance: button;
- cursor: pointer;
-}
-
-button[disabled],
-html input[disabled] {
- cursor: default;
-}
-
-button::-moz-focus-inner,
-input::-moz-focus-inner {
- border: 0;
- padding: 0;
-}
-
-input {
- line-height: normal;
-}
-
-input[type="checkbox"],
-input[type="radio"] {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- padding: 0;
-}
-
-input[type="number"]::-webkit-inner-spin-button,
-input[type="number"]::-webkit-outer-spin-button {
- height: auto;
-}
-
-input[type="search"] {
- -webkit-appearance: textfield;
- -webkit-box-sizing: content-box;
- box-sizing: content-box;
-}
-
-input[type="search"]::-webkit-search-cancel-button,
-input[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none;
-}
-
-fieldset {
- border: 1px solid #c0c0c0;
- margin: 0 2px;
- padding: 0.35em 0.625em 0.75em;
-}
-
-legend {
- border: 0;
- padding: 0;
-}
-
-textarea {
- overflow: auto;
-}
-
-optgroup {
- font-weight: bold;
-}
-
-table {
- border-collapse: collapse;
- border-spacing: 0;
-}
-
-td,
-th {
- padding: 0;
-}
-
-* {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-*:before,
-*:after {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-html {
- font-size: 10px;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-}
-
-body {
- font-family: Roboto, Helvetica, sans-serif;
- font-size: 12px;
- line-height: 1.5;
- color: #333;
- background-color: #fff;
-}
-
-input,
-button,
-select,
-textarea {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
-}
-
-a {
- color: #006dcc;
- text-decoration: none;
-}
-
-a:hover, a:focus {
- color: #1950a3;
- text-decoration: underline;
-}
-
-a:focus {
- outline: none;
-}
-
-figure {
- margin: 0;
-}
-
-img {
- vertical-align: middle;
-}
-
-.img-responsive {
- display: block;
- max-width: 100%;
- height: auto;
-}
-
-.img-rounded {
- border-radius: 2px;
-}
-
-.img-thumbnail {
- padding: 4px;
- line-height: 1.5;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 2px;
- -webkit-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;
- display: inline-block;
- max-width: 100%;
- height: auto;
-}
-
-.img-circle {
- border-radius: 50%;
-}
-
-hr {
- margin-top: 18px;
- margin-bottom: 18px;
- border: 0;
- border-top: 1px solid #e8e8e8;
-}
-
-.sr-only {
- position: absolute;
- width: 1px;
- height: 1px;
- padding: 0;
- margin: -1px;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- border: 0;
-}
-
-.sr-only-focusable:active, .sr-only-focusable:focus {
- position: static;
- width: auto;
- height: auto;
- margin: 0;
- overflow: visible;
- clip: auto;
-}
-
-[role="button"] {
- cursor: pointer;
-}
-
-h1, h2, h3, h4, h5, h6,
-.h1, .h2, .h3, .h4, .h5, .h6 {
- font-family: inherit;
- font-weight: 500;
- line-height: 1.1;
- color: inherit;
-}
-
-h1 small,
-h1 .small, h2 small,
-h2 .small, h3 small,
-h3 .small, h4 small,
-h4 .small, h5 small,
-h5 .small, h6 small,
-h6 .small,
-.h1 small,
-.h1 .small, .h2 small,
-.h2 .small, .h3 small,
-.h3 .small, .h4 small,
-.h4 .small, .h5 small,
-.h5 .small, .h6 small,
-.h6 .small {
- font-weight: 400;
- line-height: 1;
- color: #838383;
-}
-
-h1, .h1,
-h2, .h2,
-h3, .h3 {
- margin-top: 18px;
- margin-bottom: 9px;
-}
-
-h1 small,
-h1 .small, .h1 small,
-.h1 .small,
-h2 small,
-h2 .small, .h2 small,
-.h2 .small,
-h3 small,
-h3 .small, .h3 small,
-.h3 .small {
- font-size: 65%;
-}
-
-h4, .h4,
-h5, .h5,
-h6, .h6 {
- margin-top: 9px;
- margin-bottom: 9px;
-}
-
-h4 small,
-h4 .small, .h4 small,
-.h4 .small,
-h5 small,
-h5 .small, .h5 small,
-.h5 .small,
-h6 small,
-h6 .small, .h6 small,
-.h6 .small {
- font-size: 75%;
-}
-
-h1, .h1 {
- font-size: 31px;
-}
-
-h2, .h2 {
- font-size: 25px;
-}
-
-h3, .h3 {
- font-size: 21px;
-}
-
-h4, .h4 {
- font-size: 15px;
-}
-
-h5, .h5 {
- font-size: 12px;
-}
-
-h6, .h6 {
- font-size: 11px;
-}
-
-p {
- margin: 0 0 9px;
-}
-
-.lead {
- margin-bottom: 18px;
- font-size: 13px;
- font-weight: 300;
- line-height: 1.4;
-}
-
-@media (min-width: 768px) {
- .lead {
- font-size: 18px;
- }
-}
-
-small,
-.small {
- font-size: 91%;
-}
-
-mark,
-.mark {
- padding: .2em;
- background-color: #faa732;
-}
-
-.text-left {
- text-align: left;
-}
-
-.text-right {
- text-align: right;
-}
-
-.text-center {
- text-align: center;
-}
-
-.text-justify {
- text-align: justify;
-}
-
-.text-nowrap {
- white-space: nowrap;
-}
-
-.text-lowercase {
- text-transform: lowercase;
-}
-
-.text-uppercase, .initialism {
- text-transform: uppercase;
-}
-
-.text-capitalize {
- text-transform: capitalize;
-}
-
-.text-muted {
- color: #838383;
-}
-
-.text-primary {
- color: #006dcc;
-}
-
-a.text-primary:hover,
-a.text-primary:focus {
- color: #005299;
-}
-
-.text-success {
- color: #5bb75b;
-}
-
-a.text-success:hover,
-a.text-success:focus {
- color: #449b44;
-}
-
-.text-info {
- color: #49afcd;
-}
-
-a.text-info:hover,
-a.text-info:focus {
- color: #3195b2;
-}
-
-.text-warning {
- color: #faa732;
-}
-
-a.text-warning:hover,
-a.text-warning:focus {
- color: #f39106;
-}
-
-.text-danger {
- color: #da4f49;
-}
-
-a.text-danger:hover,
-a.text-danger:focus {
- color: #c72f29;
-}
-
-.bg-primary {
- color: #fff;
-}
-
-.bg-primary {
- background-color: #006dcc;
-}
-
-a.bg-primary:hover,
-a.bg-primary:focus {
- background-color: #005299;
-}
-
-.bg-success {
- background-color: #5bb75b;
-}
-
-a.bg-success:hover,
-a.bg-success:focus {
- background-color: #449b44;
-}
-
-.bg-info {
- background-color: #49afcd;
-}
-
-a.bg-info:hover,
-a.bg-info:focus {
- background-color: #3195b2;
-}
-
-.bg-warning {
- background-color: #faa732;
-}
-
-a.bg-warning:hover,
-a.bg-warning:focus {
- background-color: #f39106;
-}
-
-.bg-danger {
- background-color: #da4f49;
-}
-
-a.bg-danger:hover,
-a.bg-danger:focus {
- background-color: #c72f29;
-}
-
-.page-header {
- padding-bottom: 8px;
- margin: 36px 0 18px;
- border-bottom: 1px solid #e8e8e8;
-}
-
-ul,
-ol {
- margin-top: 0;
- margin-bottom: 9px;
-}
-
-ul ul,
-ul ol,
-ol ul,
-ol ol {
- margin-bottom: 0;
-}
-
-.list-unstyled {
- padding-left: 0;
- list-style: none;
-}
-
-.list-inline {
- padding-left: 0;
- list-style: none;
- margin-left: -5px;
-}
-
-.list-inline > li {
- display: inline-block;
- padding-right: 5px;
- padding-left: 5px;
-}
-
-dl {
- margin-top: 0;
- margin-bottom: 18px;
-}
-
-dt,
-dd {
- line-height: 1.5;
-}
-
-dt {
- font-weight: 700;
-}
-
-dd {
- margin-left: 0;
-}
-
-.dl-horizontal dd:before, .dl-horizontal dd:after {
- display: table;
- content: " ";
-}
-
-.dl-horizontal dd:after {
- clear: both;
-}
-
-@media (min-width: 0) {
- .dl-horizontal dt {
- float: left;
- width: 160px;
- clear: left;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .dl-horizontal dd {
- margin-left: 180px;
- }
-}
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
-}
-
-.initialism {
- font-size: 90%;
-}
-
-blockquote {
- padding: 9px 18px;
- margin: 0 0 18px;
- font-size: 15px;
- border-left: 5px solid #e8e8e8;
-}
-
-blockquote p:last-child,
-blockquote ul:last-child,
-blockquote ol:last-child {
- margin-bottom: 0;
-}
-
-blockquote footer,
-blockquote small,
-blockquote .small {
- display: block;
- font-size: 80%;
- line-height: 1.5;
- color: #838383;
-}
-
-blockquote footer:before,
-blockquote small:before,
-blockquote .small:before {
- content: "\2014 \A0";
-}
-
-.blockquote-reverse,
-blockquote.pull-right {
- padding-right: 15px;
- padding-left: 0;
- text-align: right;
- border-right: 5px solid #e8e8e8;
- border-left: 0;
-}
-
-.blockquote-reverse footer:before,
-.blockquote-reverse small:before,
-.blockquote-reverse .small:before,
-blockquote.pull-right footer:before,
-blockquote.pull-right small:before,
-blockquote.pull-right .small:before {
- content: "";
-}
-
-.blockquote-reverse footer:after,
-.blockquote-reverse small:after,
-.blockquote-reverse .small:after,
-blockquote.pull-right footer:after,
-blockquote.pull-right small:after,
-blockquote.pull-right .small:after {
- content: "\A0 \2014";
-}
-
-address {
- margin-bottom: 18px;
- font-style: normal;
- line-height: 1.5;
-}
-
-.container {
- padding-right: 10px;
- padding-left: 10px;
- margin-right: auto;
- margin-left: auto;
-}
-
-.container:before, .container:after {
- display: table;
- content: " ";
-}
-
-.container:after {
- clear: both;
-}
-
-@media (min-width: 768px) {
- .container {
- width: 740px;
- }
-}
-
-@media (min-width: 992px) {
- .container {
- width: 960px;
- }
-}
-
-@media (min-width: 1200px) {
- .container {
- width: 1160px;
- }
-}
-
-.container-fluid {
- padding-right: 10px;
- padding-left: 10px;
- margin-right: auto;
- margin-left: auto;
-}
-
-.container-fluid:before, .container-fluid:after {
- display: table;
- content: " ";
-}
-
-.container-fluid:after {
- clear: both;
-}
-
-.row {
- margin-right: -10px;
- margin-left: -10px;
-}
-
-.row:before, .row:after {
- display: table;
- content: " ";
-}
-
-.row:after {
- clear: both;
-}
-
-.row-no-gutters {
- margin-right: 0;
- margin-left: 0;
-}
-
-.row-no-gutters [class*="col-"] {
- padding-right: 0;
- padding-left: 0;
-}
-
-.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
- position: relative;
- min-height: 1px;
- padding-right: 10px;
- padding-left: 10px;
-}
-
-.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
- float: left;
-}
-
-.col-xs-1 {
- width: 8.33333%;
-}
-
-.col-xs-2 {
- width: 16.66667%;
-}
-
-.col-xs-3 {
- width: 25%;
-}
-
-.col-xs-4 {
- width: 33.33333%;
-}
-
-.col-xs-5 {
- width: 41.66667%;
-}
-
-.col-xs-6 {
- width: 50%;
-}
-
-.col-xs-7 {
- width: 58.33333%;
-}
-
-.col-xs-8 {
- width: 66.66667%;
-}
-
-.col-xs-9 {
- width: 75%;
-}
-
-.col-xs-10 {
- width: 83.33333%;
-}
-
-.col-xs-11 {
- width: 91.66667%;
-}
-
-.col-xs-12 {
- width: 100%;
-}
-
-.col-xs-pull-0 {
- right: auto;
-}
-
-.col-xs-pull-1 {
- right: 8.33333%;
-}
-
-.col-xs-pull-2 {
- right: 16.66667%;
-}
-
-.col-xs-pull-3 {
- right: 25%;
-}
-
-.col-xs-pull-4 {
- right: 33.33333%;
-}
-
-.col-xs-pull-5 {
- right: 41.66667%;
-}
-
-.col-xs-pull-6 {
- right: 50%;
-}
-
-.col-xs-pull-7 {
- right: 58.33333%;
-}
-
-.col-xs-pull-8 {
- right: 66.66667%;
-}
-
-.col-xs-pull-9 {
- right: 75%;
-}
-
-.col-xs-pull-10 {
- right: 83.33333%;
-}
-
-.col-xs-pull-11 {
- right: 91.66667%;
-}
-
-.col-xs-pull-12 {
- right: 100%;
-}
-
-.col-xs-push-0 {
- left: auto;
-}
-
-.col-xs-push-1 {
- left: 8.33333%;
-}
-
-.col-xs-push-2 {
- left: 16.66667%;
-}
-
-.col-xs-push-3 {
- left: 25%;
-}
-
-.col-xs-push-4 {
- left: 33.33333%;
-}
-
-.col-xs-push-5 {
- left: 41.66667%;
-}
-
-.col-xs-push-6 {
- left: 50%;
-}
-
-.col-xs-push-7 {
- left: 58.33333%;
-}
-
-.col-xs-push-8 {
- left: 66.66667%;
-}
-
-.col-xs-push-9 {
- left: 75%;
-}
-
-.col-xs-push-10 {
- left: 83.33333%;
-}
-
-.col-xs-push-11 {
- left: 91.66667%;
-}
-
-.col-xs-push-12 {
- left: 100%;
-}
-
-.col-xs-offset-0 {
- margin-left: 0%;
-}
-
-.col-xs-offset-1 {
- margin-left: 8.33333%;
-}
-
-.col-xs-offset-2 {
- margin-left: 16.66667%;
-}
-
-.col-xs-offset-3 {
- margin-left: 25%;
-}
-
-.col-xs-offset-4 {
- margin-left: 33.33333%;
-}
-
-.col-xs-offset-5 {
- margin-left: 41.66667%;
-}
-
-.col-xs-offset-6 {
- margin-left: 50%;
-}
-
-.col-xs-offset-7 {
- margin-left: 58.33333%;
-}
-
-.col-xs-offset-8 {
- margin-left: 66.66667%;
-}
-
-.col-xs-offset-9 {
- margin-left: 75%;
-}
-
-.col-xs-offset-10 {
- margin-left: 83.33333%;
-}
-
-.col-xs-offset-11 {
- margin-left: 91.66667%;
-}
-
-.col-xs-offset-12 {
- margin-left: 100%;
-}
-
-@media (min-width: 768px) {
- .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
- float: left;
- }
- .col-sm-1 {
- width: 8.33333%;
- }
- .col-sm-2 {
- width: 16.66667%;
- }
- .col-sm-3 {
- width: 25%;
- }
- .col-sm-4 {
- width: 33.33333%;
- }
- .col-sm-5 {
- width: 41.66667%;
- }
- .col-sm-6 {
- width: 50%;
- }
- .col-sm-7 {
- width: 58.33333%;
- }
- .col-sm-8 {
- width: 66.66667%;
- }
- .col-sm-9 {
- width: 75%;
- }
- .col-sm-10 {
- width: 83.33333%;
- }
- .col-sm-11 {
- width: 91.66667%;
- }
- .col-sm-12 {
- width: 100%;
- }
- .col-sm-pull-0 {
- right: auto;
- }
- .col-sm-pull-1 {
- right: 8.33333%;
- }
- .col-sm-pull-2 {
- right: 16.66667%;
- }
- .col-sm-pull-3 {
- right: 25%;
- }
- .col-sm-pull-4 {
- right: 33.33333%;
- }
- .col-sm-pull-5 {
- right: 41.66667%;
- }
- .col-sm-pull-6 {
- right: 50%;
- }
- .col-sm-pull-7 {
- right: 58.33333%;
- }
- .col-sm-pull-8 {
- right: 66.66667%;
- }
- .col-sm-pull-9 {
- right: 75%;
- }
- .col-sm-pull-10 {
- right: 83.33333%;
- }
- .col-sm-pull-11 {
- right: 91.66667%;
- }
- .col-sm-pull-12 {
- right: 100%;
- }
- .col-sm-push-0 {
- left: auto;
- }
- .col-sm-push-1 {
- left: 8.33333%;
- }
- .col-sm-push-2 {
- left: 16.66667%;
- }
- .col-sm-push-3 {
- left: 25%;
- }
- .col-sm-push-4 {
- left: 33.33333%;
- }
- .col-sm-push-5 {
- left: 41.66667%;
- }
- .col-sm-push-6 {
- left: 50%;
- }
- .col-sm-push-7 {
- left: 58.33333%;
- }
- .col-sm-push-8 {
- left: 66.66667%;
- }
- .col-sm-push-9 {
- left: 75%;
- }
- .col-sm-push-10 {
- left: 83.33333%;
- }
- .col-sm-push-11 {
- left: 91.66667%;
- }
- .col-sm-push-12 {
- left: 100%;
- }
- .col-sm-offset-0 {
- margin-left: 0%;
- }
- .col-sm-offset-1 {
- margin-left: 8.33333%;
- }
- .col-sm-offset-2 {
- margin-left: 16.66667%;
- }
- .col-sm-offset-3 {
- margin-left: 25%;
- }
- .col-sm-offset-4 {
- margin-left: 33.33333%;
- }
- .col-sm-offset-5 {
- margin-left: 41.66667%;
- }
- .col-sm-offset-6 {
- margin-left: 50%;
- }
- .col-sm-offset-7 {
- margin-left: 58.33333%;
- }
- .col-sm-offset-8 {
- margin-left: 66.66667%;
- }
- .col-sm-offset-9 {
- margin-left: 75%;
- }
- .col-sm-offset-10 {
- margin-left: 83.33333%;
- }
- .col-sm-offset-11 {
- margin-left: 91.66667%;
- }
- .col-sm-offset-12 {
- margin-left: 100%;
- }
-}
-
-@media (min-width: 992px) {
- .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
- float: left;
- }
- .col-md-1 {
- width: 8.33333%;
- }
- .col-md-2 {
- width: 16.66667%;
- }
- .col-md-3 {
- width: 25%;
- }
- .col-md-4 {
- width: 33.33333%;
- }
- .col-md-5 {
- width: 41.66667%;
- }
- .col-md-6 {
- width: 50%;
- }
- .col-md-7 {
- width: 58.33333%;
- }
- .col-md-8 {
- width: 66.66667%;
- }
- .col-md-9 {
- width: 75%;
- }
- .col-md-10 {
- width: 83.33333%;
- }
- .col-md-11 {
- width: 91.66667%;
- }
- .col-md-12 {
- width: 100%;
- }
- .col-md-pull-0 {
- right: auto;
- }
- .col-md-pull-1 {
- right: 8.33333%;
- }
- .col-md-pull-2 {
- right: 16.66667%;
- }
- .col-md-pull-3 {
- right: 25%;
- }
- .col-md-pull-4 {
- right: 33.33333%;
- }
- .col-md-pull-5 {
- right: 41.66667%;
- }
- .col-md-pull-6 {
- right: 50%;
- }
- .col-md-pull-7 {
- right: 58.33333%;
- }
- .col-md-pull-8 {
- right: 66.66667%;
- }
- .col-md-pull-9 {
- right: 75%;
- }
- .col-md-pull-10 {
- right: 83.33333%;
- }
- .col-md-pull-11 {
- right: 91.66667%;
- }
- .col-md-pull-12 {
- right: 100%;
- }
- .col-md-push-0 {
- left: auto;
- }
- .col-md-push-1 {
- left: 8.33333%;
- }
- .col-md-push-2 {
- left: 16.66667%;
- }
- .col-md-push-3 {
- left: 25%;
- }
- .col-md-push-4 {
- left: 33.33333%;
- }
- .col-md-push-5 {
- left: 41.66667%;
- }
- .col-md-push-6 {
- left: 50%;
- }
- .col-md-push-7 {
- left: 58.33333%;
- }
- .col-md-push-8 {
- left: 66.66667%;
- }
- .col-md-push-9 {
- left: 75%;
- }
- .col-md-push-10 {
- left: 83.33333%;
- }
- .col-md-push-11 {
- left: 91.66667%;
- }
- .col-md-push-12 {
- left: 100%;
- }
- .col-md-offset-0 {
- margin-left: 0%;
- }
- .col-md-offset-1 {
- margin-left: 8.33333%;
- }
- .col-md-offset-2 {
- margin-left: 16.66667%;
- }
- .col-md-offset-3 {
- margin-left: 25%;
- }
- .col-md-offset-4 {
- margin-left: 33.33333%;
- }
- .col-md-offset-5 {
- margin-left: 41.66667%;
- }
- .col-md-offset-6 {
- margin-left: 50%;
- }
- .col-md-offset-7 {
- margin-left: 58.33333%;
- }
- .col-md-offset-8 {
- margin-left: 66.66667%;
- }
- .col-md-offset-9 {
- margin-left: 75%;
- }
- .col-md-offset-10 {
- margin-left: 83.33333%;
- }
- .col-md-offset-11 {
- margin-left: 91.66667%;
- }
- .col-md-offset-12 {
- margin-left: 100%;
- }
-}
-
-@media (min-width: 1200px) {
- .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
- float: left;
- }
- .col-lg-1 {
- width: 8.33333%;
- }
- .col-lg-2 {
- width: 16.66667%;
- }
- .col-lg-3 {
- width: 25%;
- }
- .col-lg-4 {
- width: 33.33333%;
- }
- .col-lg-5 {
- width: 41.66667%;
- }
- .col-lg-6 {
- width: 50%;
- }
- .col-lg-7 {
- width: 58.33333%;
- }
- .col-lg-8 {
- width: 66.66667%;
- }
- .col-lg-9 {
- width: 75%;
- }
- .col-lg-10 {
- width: 83.33333%;
- }
- .col-lg-11 {
- width: 91.66667%;
- }
- .col-lg-12 {
- width: 100%;
- }
- .col-lg-pull-0 {
- right: auto;
- }
- .col-lg-pull-1 {
- right: 8.33333%;
- }
- .col-lg-pull-2 {
- right: 16.66667%;
- }
- .col-lg-pull-3 {
- right: 25%;
- }
- .col-lg-pull-4 {
- right: 33.33333%;
- }
- .col-lg-pull-5 {
- right: 41.66667%;
- }
- .col-lg-pull-6 {
- right: 50%;
- }
- .col-lg-pull-7 {
- right: 58.33333%;
- }
- .col-lg-pull-8 {
- right: 66.66667%;
- }
- .col-lg-pull-9 {
- right: 75%;
- }
- .col-lg-pull-10 {
- right: 83.33333%;
- }
- .col-lg-pull-11 {
- right: 91.66667%;
- }
- .col-lg-pull-12 {
- right: 100%;
- }
- .col-lg-push-0 {
- left: auto;
- }
- .col-lg-push-1 {
- left: 8.33333%;
- }
- .col-lg-push-2 {
- left: 16.66667%;
- }
- .col-lg-push-3 {
- left: 25%;
- }
- .col-lg-push-4 {
- left: 33.33333%;
- }
- .col-lg-push-5 {
- left: 41.66667%;
- }
- .col-lg-push-6 {
- left: 50%;
- }
- .col-lg-push-7 {
- left: 58.33333%;
- }
- .col-lg-push-8 {
- left: 66.66667%;
- }
- .col-lg-push-9 {
- left: 75%;
- }
- .col-lg-push-10 {
- left: 83.33333%;
- }
- .col-lg-push-11 {
- left: 91.66667%;
- }
- .col-lg-push-12 {
- left: 100%;
- }
- .col-lg-offset-0 {
- margin-left: 0%;
- }
- .col-lg-offset-1 {
- margin-left: 8.33333%;
- }
- .col-lg-offset-2 {
- margin-left: 16.66667%;
- }
- .col-lg-offset-3 {
- margin-left: 25%;
- }
- .col-lg-offset-4 {
- margin-left: 33.33333%;
- }
- .col-lg-offset-5 {
- margin-left: 41.66667%;
- }
- .col-lg-offset-6 {
- margin-left: 50%;
- }
- .col-lg-offset-7 {
- margin-left: 58.33333%;
- }
- .col-lg-offset-8 {
- margin-left: 66.66667%;
- }
- .col-lg-offset-9 {
- margin-left: 75%;
- }
- .col-lg-offset-10 {
- margin-left: 83.33333%;
- }
- .col-lg-offset-11 {
- margin-left: 91.66667%;
- }
- .col-lg-offset-12 {
- margin-left: 100%;
- }
-}
-
-table {
- background-color: transparent;
-}
-
-table col[class*="col-"] {
- position: static;
- display: table-column;
- float: none;
-}
-
-table td[class*="col-"],
-table th[class*="col-"] {
- position: static;
- display: table-cell;
- float: none;
-}
-
-caption {
- padding-top: 8px;
- padding-bottom: 8px;
- color: #838383;
- text-align: left;
-}
-
-th {
- text-align: left;
-}
-
-.table {
- width: 100%;
- max-width: 100%;
- margin-bottom: 18px;
-}
-
-.table > thead > tr > th,
-.table > thead > tr > td,
-.table > tbody > tr > th,
-.table > tbody > tr > td,
-.table > tfoot > tr > th,
-.table > tfoot > tr > td {
- padding: 8px;
- line-height: 1.5;
- vertical-align: top;
- border-top: 1px solid #d3d3d3;
-}
-
-.table > thead > tr > th {
- vertical-align: bottom;
- border-bottom: 2px solid #d3d3d3;
-}
-
-.table > caption + thead > tr:first-child > th,
-.table > caption + thead > tr:first-child > td,
-.table > colgroup + thead > tr:first-child > th,
-.table > colgroup + thead > tr:first-child > td,
-.table > thead:first-child > tr:first-child > th,
-.table > thead:first-child > tr:first-child > td {
- border-top: 0;
-}
-
-.table > tbody + tbody {
- border-top: 2px solid #d3d3d3;
-}
-
-.table .table {
- background-color: #fff;
-}
-
-.table-condensed > thead > tr > th,
-.table-condensed > thead > tr > td,
-.table-condensed > tbody > tr > th,
-.table-condensed > tbody > tr > td,
-.table-condensed > tfoot > tr > th,
-.table-condensed > tfoot > tr > td {
- padding: 5px;
-}
-
-.table-bordered {
- border: 1px solid #d3d3d3;
-}
-
-.table-bordered > thead > tr > th,
-.table-bordered > thead > tr > td,
-.table-bordered > tbody > tr > th,
-.table-bordered > tbody > tr > td,
-.table-bordered > tfoot > tr > th,
-.table-bordered > tfoot > tr > td {
- border: 1px solid #d3d3d3;
-}
-
-.table-bordered > thead > tr > th,
-.table-bordered > thead > tr > td {
- border-bottom-width: 2px;
-}
-
-.table-striped > tbody > tr:nth-of-type(odd) {
- background-color: #f9f9f9;
-}
-
-.table-hover > tbody > tr:hover {
- background-color: #f9f9f9;
-}
-
-.table > thead > tr > td.active,
-.table > thead > tr > th.active,
-.table > thead > tr.active > td,
-.table > thead > tr.active > th,
-.table > tbody > tr > td.active,
-.table > tbody > tr > th.active,
-.table > tbody > tr.active > td,
-.table > tbody > tr.active > th,
-.table > tfoot > tr > td.active,
-.table > tfoot > tr > th.active,
-.table > tfoot > tr.active > td,
-.table > tfoot > tr.active > th {
- background-color: #f9f9f9;
-}
-
-.table-hover > tbody > tr > td.active:hover,
-.table-hover > tbody > tr > th.active:hover,
-.table-hover > tbody > tr.active:hover > td,
-.table-hover > tbody > tr:hover > .active,
-.table-hover > tbody > tr.active:hover > th {
- background-color: #ececec;
-}
-
-.table > thead > tr > td.success,
-.table > thead > tr > th.success,
-.table > thead > tr.success > td,
-.table > thead > tr.success > th,
-.table > tbody > tr > td.success,
-.table > tbody > tr > th.success,
-.table > tbody > tr.success > td,
-.table > tbody > tr.success > th,
-.table > tfoot > tr > td.success,
-.table > tfoot > tr > th.success,
-.table > tfoot > tr.success > td,
-.table > tfoot > tr.success > th {
- background-color: #5bb75b;
-}
-
-.table-hover > tbody > tr > td.success:hover,
-.table-hover > tbody > tr > th.success:hover,
-.table-hover > tbody > tr.success:hover > td,
-.table-hover > tbody > tr:hover > .success,
-.table-hover > tbody > tr.success:hover > th {
- background-color: #4cad4c;
-}
-
-.table > thead > tr > td.info,
-.table > thead > tr > th.info,
-.table > thead > tr.info > td,
-.table > thead > tr.info > th,
-.table > tbody > tr > td.info,
-.table > tbody > tr > th.info,
-.table > tbody > tr.info > td,
-.table > tbody > tr.info > th,
-.table > tfoot > tr > td.info,
-.table > tfoot > tr > th.info,
-.table > tfoot > tr.info > td,
-.table > tfoot > tr.info > th {
- background-color: #49afcd;
-}
-
-.table-hover > tbody > tr > td.info:hover,
-.table-hover > tbody > tr > th.info:hover,
-.table-hover > tbody > tr.info:hover > td,
-.table-hover > tbody > tr:hover > .info,
-.table-hover > tbody > tr.info:hover > th {
- background-color: #36a5c6;
-}
-
-.table > thead > tr > td.warning,
-.table > thead > tr > th.warning,
-.table > thead > tr.warning > td,
-.table > thead > tr.warning > th,
-.table > tbody > tr > td.warning,
-.table > tbody > tr > th.warning,
-.table > tbody > tr.warning > td,
-.table > tbody > tr.warning > th,
-.table > tfoot > tr > td.warning,
-.table > tfoot > tr > th.warning,
-.table > tfoot > tr.warning > td,
-.table > tfoot > tr.warning > th {
- background-color: #faa732;
-}
-
-.table-hover > tbody > tr > td.warning:hover,
-.table-hover > tbody > tr > th.warning:hover,
-.table-hover > tbody > tr.warning:hover > td,
-.table-hover > tbody > tr:hover > .warning,
-.table-hover > tbody > tr.warning:hover > th {
- background-color: #f99c19;
-}
-
-.table > thead > tr > td.danger,
-.table > thead > tr > th.danger,
-.table > thead > tr.danger > td,
-.table > thead > tr.danger > th,
-.table > tbody > tr > td.danger,
-.table > tbody > tr > th.danger,
-.table > tbody > tr.danger > td,
-.table > tbody > tr.danger > th,
-.table > tfoot > tr > td.danger,
-.table > tfoot > tr > th.danger,
-.table > tfoot > tr.danger > td,
-.table > tfoot > tr.danger > th {
- background-color: #da4f49;
-}
-
-.table-hover > tbody > tr > td.danger:hover,
-.table-hover > tbody > tr > th.danger:hover,
-.table-hover > tbody > tr.danger:hover > td,
-.table-hover > tbody > tr:hover > .danger,
-.table-hover > tbody > tr.danger:hover > th {
- background-color: #d63b34;
-}
-
-.table-responsive {
- min-height: .01%;
- overflow-x: auto;
-}
-
-@media screen and (max-width: 767px) {
- .table-responsive {
- width: 100%;
- margin-bottom: 13.5px;
- overflow-y: hidden;
- -ms-overflow-style: -ms-autohiding-scrollbar;
- border: 1px solid #d3d3d3;
- }
- .table-responsive > .table {
- margin-bottom: 0;
- }
- .table-responsive > .table > thead > tr > th,
- .table-responsive > .table > thead > tr > td,
- .table-responsive > .table > tbody > tr > th,
- .table-responsive > .table > tbody > tr > td,
- .table-responsive > .table > tfoot > tr > th,
- .table-responsive > .table > tfoot > tr > td {
- white-space: nowrap;
- }
- .table-responsive > .table-bordered {
- border: 0;
- }
- .table-responsive > .table-bordered > thead > tr > th:first-child,
- .table-responsive > .table-bordered > thead > tr > td:first-child,
- .table-responsive > .table-bordered > tbody > tr > th:first-child,
- .table-responsive > .table-bordered > tbody > tr > td:first-child,
- .table-responsive > .table-bordered > tfoot > tr > th:first-child,
- .table-responsive > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0;
- }
- .table-responsive > .table-bordered > thead > tr > th:last-child,
- .table-responsive > .table-bordered > thead > tr > td:last-child,
- .table-responsive > .table-bordered > tbody > tr > th:last-child,
- .table-responsive > .table-bordered > tbody > tr > td:last-child,
- .table-responsive > .table-bordered > tfoot > tr > th:last-child,
- .table-responsive > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0;
- }
- .table-responsive > .table-bordered > tbody > tr:last-child > th,
- .table-responsive > .table-bordered > tbody > tr:last-child > td,
- .table-responsive > .table-bordered > tfoot > tr:last-child > th,
- .table-responsive > .table-bordered > tfoot > tr:last-child > td {
- border-bottom: 0;
- }
-}
-
-fieldset {
- min-width: 0;
- padding: 0;
- margin: 0;
- border: 0;
-}
-
-legend {
- display: block;
- width: 100%;
- padding: 0;
- margin-bottom: 18px;
- font-size: 18px;
- line-height: inherit;
- color: #333;
- border: 0;
- border-bottom: 1px solid #e5e5e5;
-}
-
-label {
- display: inline-block;
- max-width: 100%;
- margin-bottom: 5px;
- font-weight: 700;
-}
-
-input[type="search"] {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
-}
-
-input[type="radio"],
-input[type="checkbox"] {
- margin: 4px 0 0;
- margin-top: 1px \9;
- line-height: normal;
-}
-
-input[type="radio"][disabled], input[type="radio"].disabled,
-fieldset[disabled] input[type="radio"],
-input[type="checkbox"][disabled],
-input[type="checkbox"].disabled,
-fieldset[disabled]
-input[type="checkbox"] {
- cursor: not-allowed;
-}
-
-input[type="file"] {
- display: block;
-}
-
-input[type="range"] {
- display: block;
- width: 100%;
-}
-
-select[multiple],
-select[size] {
- height: auto;
-}
-
-input[type="file"]:focus,
-input[type="radio"]:focus,
-input[type="checkbox"]:focus {
- outline: none;
-}
-
-output {
- display: block;
- padding-top: 5px;
- font-size: 12px;
- line-height: 1.5;
- color: #5a5a5a;
-}
-
-.form-control {
- display: block;
- width: 100%;
- height: 28px;
- padding: 4px 8px;
- font-size: 12px;
- line-height: 1.5;
- color: #5a5a5a;
- background-color: #fff;
- background-image: none;
- border: 1px solid #e8e8e8;
- border-radius: 2px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
- -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
- transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
- transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
- transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
-}
-
-.form-control:focus {
- border-color: #d3d3d3;
- outline: 0;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(211, 211, 211, 0.6);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(211, 211, 211, 0.6);
-}
-
-.form-control::-moz-placeholder {
- color: #ababab;
- opacity: 1;
-}
-
-.form-control:-ms-input-placeholder {
- color: #ababab;
-}
-
-.form-control::-webkit-input-placeholder {
- color: #ababab;
-}
-
-.form-control::-ms-expand {
- background-color: transparent;
- border: 0;
-}
-
-.form-control[disabled], .form-control[readonly],
-fieldset[disabled] .form-control {
- background-color: #e8e8e8;
- opacity: 1;
-}
-
-.form-control[disabled],
-fieldset[disabled] .form-control {
- cursor: not-allowed;
-}
-
-textarea.form-control {
- height: auto;
-}
-
-@media screen and (-webkit-min-device-pixel-ratio: 0) {
- input[type="date"].form-control,
- input[type="time"].form-control,
- input[type="datetime-local"].form-control,
- input[type="month"].form-control {
- line-height: 28px;
- }
- input[type="date"].input-sm, .input-group-sm > input.form-control[type="date"],
- .input-group-sm > input.input-group-addon[type="date"],
- .input-group-sm > .input-group-btn > input.btn[type="date"],
- .input-group-sm input[type="date"],
- input[type="time"].input-sm,
- .input-group-sm > input.form-control[type="time"],
- .input-group-sm > input.input-group-addon[type="time"],
- .input-group-sm > .input-group-btn > input.btn[type="time"],
- .input-group-sm
- input[type="time"],
- input[type="datetime-local"].input-sm,
- .input-group-sm > input.form-control[type="datetime-local"],
- .input-group-sm > input.input-group-addon[type="datetime-local"],
- .input-group-sm > .input-group-btn > input.btn[type="datetime-local"],
- .input-group-sm
- input[type="datetime-local"],
- input[type="month"].input-sm,
- .input-group-sm > input.form-control[type="month"],
- .input-group-sm > input.input-group-addon[type="month"],
- .input-group-sm > .input-group-btn > input.btn[type="month"],
- .input-group-sm
- input[type="month"] {
- line-height: 26px;
- }
- input[type="date"].input-lg, .input-group-lg > input.form-control[type="date"],
- .input-group-lg > input.input-group-addon[type="date"],
- .input-group-lg > .input-group-btn > input.btn[type="date"],
- .input-group-lg input[type="date"],
- input[type="time"].input-lg,
- .input-group-lg > input.form-control[type="time"],
- .input-group-lg > input.input-group-addon[type="time"],
- .input-group-lg > .input-group-btn > input.btn[type="time"],
- .input-group-lg
- input[type="time"],
- input[type="datetime-local"].input-lg,
- .input-group-lg > input.form-control[type="datetime-local"],
- .input-group-lg > input.input-group-addon[type="datetime-local"],
- .input-group-lg > .input-group-btn > input.btn[type="datetime-local"],
- .input-group-lg
- input[type="datetime-local"],
- input[type="month"].input-lg,
- .input-group-lg > input.form-control[type="month"],
- .input-group-lg > input.input-group-addon[type="month"],
- .input-group-lg > .input-group-btn > input.btn[type="month"],
- .input-group-lg
- input[type="month"] {
- line-height: 34px;
- }
-}
-
-.form-group {
- margin-bottom: 30px;
-}
-
-.radio,
-.checkbox {
- position: relative;
- display: block;
- margin-top: 10px;
- margin-bottom: 10px;
-}
-
-.radio.disabled label,
-fieldset[disabled] .radio label,
-.checkbox.disabled label,
-fieldset[disabled]
-.checkbox label {
- cursor: not-allowed;
-}
-
-.radio label,
-.checkbox label {
- min-height: 18px;
- padding-left: 20px;
- margin-bottom: 0;
- font-weight: 400;
- cursor: pointer;
-}
-
-.radio input[type="radio"],
-.radio-inline input[type="radio"],
-.checkbox input[type="checkbox"],
-.checkbox-inline input[type="checkbox"] {
- position: absolute;
- margin-top: 4px \9;
- margin-left: -20px;
-}
-
-.radio + .radio,
-.checkbox + .checkbox {
- margin-top: -5px;
-}
-
-.radio-inline,
-.checkbox-inline {
- position: relative;
- display: inline-block;
- padding-left: 20px;
- margin-bottom: 0;
- font-weight: 400;
- vertical-align: middle;
- cursor: pointer;
-}
-
-.radio-inline.disabled,
-fieldset[disabled] .radio-inline,
-.checkbox-inline.disabled,
-fieldset[disabled]
-.checkbox-inline {
- cursor: not-allowed;
-}
-
-.radio-inline + .radio-inline,
-.checkbox-inline + .checkbox-inline {
- margin-top: 0;
- margin-left: 10px;
-}
-
-.form-control-static {
- min-height: 30px;
- padding-top: 5px;
- padding-bottom: 5px;
- margin-bottom: 0;
-}
-
-.form-control-static.input-lg, .input-group-lg > .form-control-static.form-control,
-.input-group-lg > .form-control-static.input-group-addon,
-.input-group-lg > .input-group-btn > .form-control-static.btn, .form-control-static.input-sm, .input-group-sm > .form-control-static.form-control,
-.input-group-sm > .form-control-static.input-group-addon,
-.input-group-sm > .input-group-btn > .form-control-static.btn {
- padding-right: 0;
- padding-left: 0;
-}
-
-.input-sm, .input-group-sm > .form-control,
-.input-group-sm > .input-group-addon,
-.input-group-sm > .input-group-btn > .btn {
- height: 26px;
- padding: 4px 15px;
- font-size: 11px;
- line-height: 1.5;
- border-radius: 2px;
-}
-
-select.input-sm, .input-group-sm > select.form-control,
-.input-group-sm > select.input-group-addon,
-.input-group-sm > .input-group-btn > select.btn {
- height: 26px;
- line-height: 26px;
-}
-
-textarea.input-sm, .input-group-sm > textarea.form-control,
-.input-group-sm > textarea.input-group-addon,
-.input-group-sm > .input-group-btn > textarea.btn,
-select[multiple].input-sm,
-.input-group-sm > select.form-control[multiple],
-.input-group-sm > select.input-group-addon[multiple],
-.input-group-sm > .input-group-btn > select.btn[multiple] {
- height: auto;
-}
-
-.form-group-sm .form-control {
- height: 26px;
- padding: 4px 15px;
- font-size: 11px;
- line-height: 1.5;
- border-radius: 2px;
-}
-
-.form-group-sm select.form-control {
- height: 26px;
- line-height: 26px;
-}
-
-.form-group-sm textarea.form-control,
-.form-group-sm select[multiple].form-control {
- height: auto;
-}
-
-.form-group-sm .form-control-static {
- height: 26px;
- min-height: 29px;
- padding: 5px 15px;
- font-size: 11px;
- line-height: 1.5;
-}
-
-.input-lg, .input-group-lg > .form-control,
-.input-group-lg > .input-group-addon,
-.input-group-lg > .input-group-btn > .btn {
- height: 34px;
- padding: 6px 29px;
- font-size: 15px;
- line-height: 1.33333;
- border-radius: 2px;
-}
-
-select.input-lg, .input-group-lg > select.form-control,
-.input-group-lg > select.input-group-addon,
-.input-group-lg > .input-group-btn > select.btn {
- height: 34px;
- line-height: 34px;
-}
-
-textarea.input-lg, .input-group-lg > textarea.form-control,
-.input-group-lg > textarea.input-group-addon,
-.input-group-lg > .input-group-btn > textarea.btn,
-select[multiple].input-lg,
-.input-group-lg > select.form-control[multiple],
-.input-group-lg > select.input-group-addon[multiple],
-.input-group-lg > .input-group-btn > select.btn[multiple] {
- height: auto;
-}
-
-.form-group-lg .form-control {
- height: 34px;
- padding: 6px 29px;
- font-size: 15px;
- line-height: 1.33333;
- border-radius: 2px;
-}
-
-.form-group-lg select.form-control {
- height: 34px;
- line-height: 34px;
-}
-
-.form-group-lg textarea.form-control,
-.form-group-lg select[multiple].form-control {
- height: auto;
-}
-
-.form-group-lg .form-control-static {
- height: 34px;
- min-height: 33px;
- padding: 7px 29px;
- font-size: 15px;
- line-height: 1.33333;
-}
-
-.has-feedback {
- position: relative;
-}
-
-.has-feedback .form-control {
- padding-right: 35px;
-}
-
-.form-control-feedback {
- position: absolute;
- top: 0;
- right: 0;
- z-index: 2;
- display: block;
- width: 28px;
- height: 28px;
- line-height: 28px;
- text-align: center;
- pointer-events: none;
-}
-
-.input-lg + .form-control-feedback, .input-group-lg > .form-control + .form-control-feedback, .input-group-lg > .input-group-addon + .form-control-feedback, .input-group-lg > .input-group-btn > .btn + .form-control-feedback,
-.input-group-lg + .form-control-feedback,
-.form-group-lg .form-control + .form-control-feedback {
- width: 34px;
- height: 34px;
- line-height: 34px;
-}
-
-.input-sm + .form-control-feedback, .input-group-sm > .form-control + .form-control-feedback, .input-group-sm > .input-group-addon + .form-control-feedback, .input-group-sm > .input-group-btn > .btn + .form-control-feedback,
-.input-group-sm + .form-control-feedback,
-.form-group-sm .form-control + .form-control-feedback {
- width: 26px;
- height: 26px;
- line-height: 26px;
-}
-
-.has-success .help-block,
-.has-success .control-label,
-.has-success .radio,
-.has-success .checkbox,
-.has-success .radio-inline,
-.has-success .checkbox-inline,
-.has-success.radio label,
-.has-success.checkbox label,
-.has-success.radio-inline label,
-.has-success.checkbox-inline label {
- color: #5bb75b;
-}
-
-.has-success .form-control {
- border-color: #5bb75b;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-}
-
-.has-success .form-control:focus {
- border-color: #449b44;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #a2d6a2;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #a2d6a2;
-}
-
-.has-success .input-group-addon {
- color: #5bb75b;
- background-color: #5bb75b;
- border-color: #5bb75b;
-}
-
-.has-success .form-control-feedback {
- color: #5bb75b;
-}
-
-.has-warning .help-block,
-.has-warning .control-label,
-.has-warning .radio,
-.has-warning .checkbox,
-.has-warning .radio-inline,
-.has-warning .checkbox-inline,
-.has-warning.radio label,
-.has-warning.checkbox label,
-.has-warning.radio-inline label,
-.has-warning.checkbox-inline label {
- color: #faa732;
-}
-
-.has-warning .form-control {
- border-color: #faa732;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-}
-
-.has-warning .form-control:focus {
- border-color: #f39106;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #fcd296;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #fcd296;
-}
-
-.has-warning .input-group-addon {
- color: #faa732;
- background-color: #faa732;
- border-color: #faa732;
-}
-
-.has-warning .form-control-feedback {
- color: #faa732;
-}
-
-.has-error .help-block,
-.has-error .control-label,
-.has-error .radio,
-.has-error .checkbox,
-.has-error .radio-inline,
-.has-error .checkbox-inline,
-.has-error.radio label,
-.has-error.checkbox label,
-.has-error.radio-inline label,
-.has-error.checkbox-inline label {
- color: #da4f49;
-}
-
-.has-error .form-control {
- border-color: #da4f49;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-}
-
-.has-error .form-control:focus {
- border-color: #c72f29;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eba19e;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eba19e;
-}
-
-.has-error .input-group-addon {
- color: #da4f49;
- background-color: #da4f49;
- border-color: #da4f49;
-}
-
-.has-error .form-control-feedback {
- color: #da4f49;
-}
-
-.has-feedback label ~ .form-control-feedback {
- top: 23px;
-}
-
-.has-feedback label.sr-only ~ .form-control-feedback {
- top: 0;
-}
-
-.help-block {
- display: block;
- margin-top: 5px;
- margin-bottom: 10px;
- color: #737373;
-}
-
-@media (min-width: 768px) {
- .form-inline .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle;
- }
- .form-inline .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle;
- }
- .form-inline .form-control-static {
- display: inline-block;
- }
- .form-inline .input-group {
- display: inline-table;
- vertical-align: middle;
- }
- .form-inline .input-group .input-group-addon,
- .form-inline .input-group .input-group-btn,
- .form-inline .input-group .form-control {
- width: auto;
- }
- .form-inline .input-group > .form-control {
- width: 100%;
- }
- .form-inline .control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
- .form-inline .radio,
- .form-inline .checkbox {
- display: inline-block;
- margin-top: 0;
- margin-bottom: 0;
- vertical-align: middle;
- }
- .form-inline .radio label,
- .form-inline .checkbox label {
- padding-left: 0;
- }
- .form-inline .radio input[type="radio"],
- .form-inline .checkbox input[type="checkbox"] {
- position: relative;
- margin-left: 0;
- }
- .form-inline .has-feedback .form-control-feedback {
- top: 0;
- }
-}
-
-.form-horizontal .radio,
-.form-horizontal .checkbox,
-.form-horizontal .radio-inline,
-.form-horizontal .checkbox-inline {
- padding-top: 5px;
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.form-horizontal .radio,
-.form-horizontal .checkbox {
- min-height: 23px;
-}
-
-.form-horizontal .form-group {
- margin-right: -10px;
- margin-left: -10px;
-}
-
-.form-horizontal .form-group:before, .form-horizontal .form-group:after {
- display: table;
- content: " ";
-}
-
-.form-horizontal .form-group:after {
- clear: both;
-}
-
-@media (min-width: 768px) {
- .form-horizontal .control-label {
- padding-top: 5px;
- margin-bottom: 0;
- text-align: right;
- }
-}
-
-.form-horizontal .has-feedback .form-control-feedback {
- right: 10px;
-}
-
-@media (min-width: 768px) {
- .form-horizontal .form-group-lg .control-label {
- padding-top: 7px;
- font-size: 15px;
- }
-}
-
-@media (min-width: 768px) {
- .form-horizontal .form-group-sm .control-label {
- padding-top: 5px;
- font-size: 11px;
- }
-}
-
-.btn {
- display: inline-block;
- margin-bottom: 0;
- font-weight: 700;
- text-align: center;
- white-space: nowrap;
- vertical-align: middle;
- -ms-touch-action: manipulation;
- touch-action: manipulation;
- cursor: pointer;
- background-image: none;
- border: 1px solid transparent;
- padding: 4px 8px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 2px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.btn:focus, .btn.focus, .btn:active:focus, .btn:active.focus, .btn.active:focus, .btn.active.focus {
- outline: none;
-}
-
-.btn:hover, .btn:focus, .btn.focus {
- color: #333;
- text-decoration: none;
-}
-
-.btn:active, .btn.active {
- background-image: none;
- outline: 0;
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
-}
-
-.btn.disabled, .btn[disabled],
-fieldset[disabled] .btn {
- cursor: not-allowed;
- filter: alpha(opacity=65);
- opacity: 0.65;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-a.btn.disabled,
-fieldset[disabled] a.btn {
- pointer-events: none;
-}
-
-.btn-default {
- color: #333;
- background-color: #fff;
- border-color: #ccc;
-}
-
-.btn-default:focus, .btn-default.focus {
- color: #333;
- background-color: #e6e6e6;
- border-color: #8c8c8c;
-}
-
-.btn-default:hover {
- color: #333;
- background-color: #e6e6e6;
- border-color: #adadad;
-}
-
-.btn-default:active, .btn-default.active,
-.open > .btn-default.dropdown-toggle {
- color: #333;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #adadad;
-}
-
-.btn-default:active:hover, .btn-default:active:focus, .btn-default:active.focus, .btn-default.active:hover, .btn-default.active:focus, .btn-default.active.focus,
-.open > .btn-default.dropdown-toggle:hover,
-.open > .btn-default.dropdown-toggle:focus,
-.open > .btn-default.dropdown-toggle.focus {
- color: #333;
- background-color: #d4d4d4;
- border-color: #8c8c8c;
-}
-
-.btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled.focus, .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled].focus,
-fieldset[disabled] .btn-default:hover,
-fieldset[disabled] .btn-default:focus,
-fieldset[disabled] .btn-default.focus {
- background-color: #fff;
- border-color: #ccc;
-}
-
-.btn-default .badge {
- color: #fff;
- background-color: #333;
-}
-
-.btn-primary {
- color: #fff;
- background-color: #006dcc;
- border-color: #005fb3;
-}
-
-.btn-primary:focus, .btn-primary.focus {
- color: #fff;
- background-color: #005299;
- border-color: #001b33;
-}
-
-.btn-primary:hover {
- color: #fff;
- background-color: #005299;
- border-color: #003f75;
-}
-
-.btn-primary:active, .btn-primary.active,
-.open > .btn-primary.dropdown-toggle {
- color: #fff;
- background-color: #005299;
- background-image: none;
- border-color: #003f75;
-}
-
-.btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus,
-.open > .btn-primary.dropdown-toggle:hover,
-.open > .btn-primary.dropdown-toggle:focus,
-.open > .btn-primary.dropdown-toggle.focus {
- color: #fff;
- background-color: #003f75;
- border-color: #001b33;
-}
-
-.btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled].focus,
-fieldset[disabled] .btn-primary:hover,
-fieldset[disabled] .btn-primary:focus,
-fieldset[disabled] .btn-primary.focus {
- background-color: #006dcc;
- border-color: #005fb3;
-}
-
-.btn-primary .badge {
- color: #006dcc;
- background-color: #fff;
-}
-
-.btn-success {
- color: #fff;
- background-color: #5bb75b;
- border-color: #4cad4c;
-}
-
-.btn-success:focus, .btn-success.focus {
- color: #fff;
- background-color: #449b44;
- border-color: #255425;
-}
-
-.btn-success:hover {
- color: #fff;
- background-color: #449b44;
- border-color: #398239;
-}
-
-.btn-success:active, .btn-success.active,
-.open > .btn-success.dropdown-toggle {
- color: #fff;
- background-color: #449b44;
- background-image: none;
- border-color: #398239;
-}
-
-.btn-success:active:hover, .btn-success:active:focus, .btn-success:active.focus, .btn-success.active:hover, .btn-success.active:focus, .btn-success.active.focus,
-.open > .btn-success.dropdown-toggle:hover,
-.open > .btn-success.dropdown-toggle:focus,
-.open > .btn-success.dropdown-toggle.focus {
- color: #fff;
- background-color: #398239;
- border-color: #255425;
-}
-
-.btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled.focus, .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled].focus,
-fieldset[disabled] .btn-success:hover,
-fieldset[disabled] .btn-success:focus,
-fieldset[disabled] .btn-success.focus {
- background-color: #5bb75b;
- border-color: #4cad4c;
-}
-
-.btn-success .badge {
- color: #5bb75b;
- background-color: #fff;
-}
-
-.btn-info {
- color: #fff;
- background-color: #49afcd;
- border-color: #36a5c6;
-}
-
-.btn-info:focus, .btn-info.focus {
- color: #fff;
- background-color: #3195b2;
- border-color: #1b5262;
-}
-
-.btn-info:hover {
- color: #fff;
- background-color: #3195b2;
- border-color: #297d96;
-}
-
-.btn-info:active, .btn-info.active,
-.open > .btn-info.dropdown-toggle {
- color: #fff;
- background-color: #3195b2;
- background-image: none;
- border-color: #297d96;
-}
-
-.btn-info:active:hover, .btn-info:active:focus, .btn-info:active.focus, .btn-info.active:hover, .btn-info.active:focus, .btn-info.active.focus,
-.open > .btn-info.dropdown-toggle:hover,
-.open > .btn-info.dropdown-toggle:focus,
-.open > .btn-info.dropdown-toggle.focus {
- color: #fff;
- background-color: #297d96;
- border-color: #1b5262;
-}
-
-.btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled.focus, .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled].focus,
-fieldset[disabled] .btn-info:hover,
-fieldset[disabled] .btn-info:focus,
-fieldset[disabled] .btn-info.focus {
- background-color: #49afcd;
- border-color: #36a5c6;
-}
-
-.btn-info .badge {
- color: #49afcd;
- background-color: #fff;
-}
-
-.btn-warning {
- color: #fff;
- background-color: #faa732;
- border-color: #f99c19;
-}
-
-.btn-warning:focus, .btn-warning.focus {
- color: #fff;
- background-color: #f39106;
- border-color: #905504;
-}
-
-.btn-warning:hover {
- color: #fff;
- background-color: #f39106;
- border-color: #d07c05;
-}
-
-.btn-warning:active, .btn-warning.active,
-.open > .btn-warning.dropdown-toggle {
- color: #fff;
- background-color: #f39106;
- background-image: none;
- border-color: #d07c05;
-}
-
-.btn-warning:active:hover, .btn-warning:active:focus, .btn-warning:active.focus, .btn-warning.active:hover, .btn-warning.active:focus, .btn-warning.active.focus,
-.open > .btn-warning.dropdown-toggle:hover,
-.open > .btn-warning.dropdown-toggle:focus,
-.open > .btn-warning.dropdown-toggle.focus {
- color: #fff;
- background-color: #d07c05;
- border-color: #905504;
-}
-
-.btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled.focus, .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled].focus,
-fieldset[disabled] .btn-warning:hover,
-fieldset[disabled] .btn-warning:focus,
-fieldset[disabled] .btn-warning.focus {
- background-color: #faa732;
- border-color: #f99c19;
-}
-
-.btn-warning .badge {
- color: #faa732;
- background-color: #fff;
-}
-
-.btn-danger {
- color: #fff;
- background-color: #da4f49;
- border-color: #d63b34;
-}
-
-.btn-danger:focus, .btn-danger.focus {
- color: #fff;
- background-color: #c72f29;
- border-color: #731b17;
-}
-
-.btn-danger:hover {
- color: #fff;
- background-color: #c72f29;
- border-color: #aa2823;
-}
-
-.btn-danger:active, .btn-danger.active,
-.open > .btn-danger.dropdown-toggle {
- color: #fff;
- background-color: #c72f29;
- background-image: none;
- border-color: #aa2823;
-}
-
-.btn-danger:active:hover, .btn-danger:active:focus, .btn-danger:active.focus, .btn-danger.active:hover, .btn-danger.active:focus, .btn-danger.active.focus,
-.open > .btn-danger.dropdown-toggle:hover,
-.open > .btn-danger.dropdown-toggle:focus,
-.open > .btn-danger.dropdown-toggle.focus {
- color: #fff;
- background-color: #aa2823;
- border-color: #731b17;
-}
-
-.btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled.focus, .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled].focus,
-fieldset[disabled] .btn-danger:hover,
-fieldset[disabled] .btn-danger:focus,
-fieldset[disabled] .btn-danger.focus {
- background-color: #da4f49;
- border-color: #d63b34;
-}
-
-.btn-danger .badge {
- color: #da4f49;
- background-color: #fff;
-}
-
-.btn-link {
- font-weight: 400;
- color: #006dcc;
- border-radius: 0;
-}
-
-.btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled],
-fieldset[disabled] .btn-link {
- background-color: transparent;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
- border-color: transparent;
-}
-
-.btn-link:hover, .btn-link:focus {
- color: #1950a3;
- text-decoration: underline;
- background-color: transparent;
-}
-
-.btn-link[disabled]:hover, .btn-link[disabled]:focus,
-fieldset[disabled] .btn-link:hover,
-fieldset[disabled] .btn-link:focus {
- color: #838383;
- text-decoration: none;
-}
-
-.btn-lg, .btn-group-lg > .btn {
- padding: 6px 29px;
- font-size: 15px;
- line-height: 1.33333;
- border-radius: 2px;
-}
-
-.btn-sm, .btn-group-sm > .btn {
- padding: 4px 15px;
- font-size: 11px;
- line-height: 1.5;
- border-radius: 2px;
-}
-
-.btn-xs, .btn-group-xs > .btn {
- padding: 2px 4px;
- font-size: 11px;
- line-height: 1.5;
- border-radius: 2px;
-}
-
-.btn-block {
- display: block;
- width: 100%;
-}
-
-.btn-block + .btn-block {
- margin-top: 5px;
-}
-
-input[type="submit"].btn-block,
-input[type="reset"].btn-block,
-input[type="button"].btn-block {
- width: 100%;
-}
-
-.fade {
- opacity: 0;
- -webkit-transition: opacity 0.15s linear;
- transition: opacity 0.15s linear;
-}
-
-.fade.in {
- opacity: 1;
-}
-
-.collapse {
- display: none;
-}
-
-.collapse.in {
- display: block;
-}
-
-tr.collapse.in {
- display: table-row;
-}
-
-tbody.collapse.in {
- display: table-row-group;
-}
-
-.collapsing {
- position: relative;
- height: 0;
- overflow: hidden;
- -webkit-transition-property: height, visibility;
- transition-property: height, visibility;
- -webkit-transition-duration: 0.35s;
- transition-duration: 0.35s;
- -webkit-transition-timing-function: ease;
- transition-timing-function: ease;
-}
-
-.caret {
- display: inline-block;
- width: 0;
- height: 0;
- margin-left: 2px;
- vertical-align: middle;
- border-top: 4px dashed;
- border-top: 4px solid \9;
- border-right: 4px solid transparent;
- border-left: 4px solid transparent;
-}
-
-.dropup,
-.dropdown {
- position: relative;
-}
-
-.dropdown-toggle:focus {
- outline: 0;
-}
-
-.dropdown-menu {
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 1000;
- display: none;
- float: left;
- min-width: 160px;
- padding: 5px 0;
- margin: 2px 0 0;
- font-size: 12px;
- text-align: left;
- list-style: none;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #ccc;
- border: 1px solid #d3d3d3;
- border-radius: 2px;
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
-}
-
-.dropdown-menu.pull-right {
- right: 0;
- left: auto;
-}
-
-.dropdown-menu .divider {
- height: 1px;
- margin: 8px 0;
- overflow: hidden;
- background-color: #e5e5e5;
-}
-
-.dropdown-menu > li > a {
- display: block;
- padding: 3px 20px;
- clear: both;
- font-weight: 400;
- line-height: 1.5;
- color: #333;
- white-space: nowrap;
-}
-
-.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
- color: #fff;
- text-decoration: none;
- background-color: #f5f5f5;
-}
-
-.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
- color: #333;
- text-decoration: none;
- background-color: #f9f9f9;
- outline: 0;
-}
-
-.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
- color: #838383;
-}
-
-.dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
- text-decoration: none;
- cursor: not-allowed;
- background-color: transparent;
- background-image: none;
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
-}
-
-.open > .dropdown-menu {
- display: block;
-}
-
-.open > a {
- outline: 0;
-}
-
-.dropdown-menu-right {
- right: 0;
- left: auto;
-}
-
-.dropdown-menu-left {
- right: auto;
- left: 0;
-}
-
-.dropdown-header {
- display: block;
- padding: 3px 20px;
- font-size: 11px;
- line-height: 1.5;
- color: #838383;
- white-space: nowrap;
-}
-
-.dropdown-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 990;
-}
-
-.pull-right > .dropdown-menu {
- right: 0;
- left: auto;
-}
-
-.dropup .caret,
-.navbar-fixed-bottom .dropdown .caret {
- content: "";
- border-top: 0;
- border-bottom: 4px dashed;
- border-bottom: 4px solid \9;
-}
-
-.dropup .dropdown-menu,
-.navbar-fixed-bottom .dropdown .dropdown-menu {
- top: auto;
- bottom: 100%;
- margin-bottom: 2px;
-}
-
-@media (min-width: 0) {
- .navbar-right .dropdown-menu {
- right: 0;
- left: auto;
- }
- .navbar-right .dropdown-menu-left {
- left: 0;
- right: auto;
- }
-}
-
-.btn-group,
-.btn-group-vertical {
- position: relative;
- display: inline-block;
- vertical-align: middle;
-}
-
-.btn-group > .btn,
-.btn-group-vertical > .btn {
- position: relative;
- float: left;
-}
-
-.btn-group > .btn:hover, .btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active,
-.btn-group-vertical > .btn:hover,
-.btn-group-vertical > .btn:focus,
-.btn-group-vertical > .btn:active,
-.btn-group-vertical > .btn.active {
- z-index: 2;
-}
-
-.btn-group .btn + .btn,
-.btn-group .btn + .btn-group,
-.btn-group .btn-group + .btn,
-.btn-group .btn-group + .btn-group {
- margin-left: -1px;
-}
-
-.btn-toolbar {
- margin-left: -5px;
-}
-
-.btn-toolbar:before, .btn-toolbar:after {
- display: table;
- content: " ";
-}
-
-.btn-toolbar:after {
- clear: both;
-}
-
-.btn-toolbar .btn,
-.btn-toolbar .btn-group,
-.btn-toolbar .input-group {
- float: left;
-}
-
-.btn-toolbar > .btn,
-.btn-toolbar > .btn-group,
-.btn-toolbar > .input-group {
- margin-left: 5px;
-}
-
-.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
- border-radius: 0;
-}
-
-.btn-group > .btn:first-child {
- margin-left: 0;
-}
-
-.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.btn-group > .btn:last-child:not(:first-child),
-.btn-group > .dropdown-toggle:not(:first-child) {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group > .btn-group {
- float: left;
-}
-
-.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0;
-}
-
-.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
-.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group .dropdown-toggle:active,
-.btn-group.open .dropdown-toggle {
- outline: 0;
-}
-
-.btn-group > .btn + .dropdown-toggle {
- padding-right: 8px;
- padding-left: 8px;
-}
-
-.btn-group > .btn-lg + .dropdown-toggle, .btn-group-lg.btn-group > .btn + .dropdown-toggle {
- padding-right: 12px;
- padding-left: 12px;
-}
-
-.btn-group.open .dropdown-toggle {
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
-}
-
-.btn-group.open .dropdown-toggle.btn-link {
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn .caret {
- margin-left: 0;
-}
-
-.btn-lg .caret, .btn-group-lg > .btn .caret {
- border-width: 5px 5px 0;
- border-bottom-width: 0;
-}
-
-.dropup .btn-lg .caret, .dropup .btn-group-lg > .btn .caret {
- border-width: 0 5px 5px;
-}
-
-.btn-group-vertical > .btn,
-.btn-group-vertical > .btn-group,
-.btn-group-vertical > .btn-group > .btn {
- display: block;
- float: none;
- width: 100%;
- max-width: 100%;
-}
-
-.btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after {
- display: table;
- content: " ";
-}
-
-.btn-group-vertical > .btn-group:after {
- clear: both;
-}
-
-.btn-group-vertical > .btn-group > .btn {
- float: none;
-}
-
-.btn-group-vertical > .btn + .btn,
-.btn-group-vertical > .btn + .btn-group,
-.btn-group-vertical > .btn-group + .btn,
-.btn-group-vertical > .btn-group + .btn-group {
- margin-top: -1px;
- margin-left: 0;
-}
-
-.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
- border-radius: 0;
-}
-
-.btn-group-vertical > .btn:first-child:not(:last-child) {
- border-top-left-radius: 2px;
- border-top-right-radius: 2px;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group-vertical > .btn:last-child:not(:first-child) {
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- border-bottom-right-radius: 2px;
- border-bottom-left-radius: 2px;
-}
-
-.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0;
-}
-
-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.btn-group-justified {
- display: table;
- width: 100%;
- table-layout: fixed;
- border-collapse: separate;
-}
-
-.btn-group-justified > .btn,
-.btn-group-justified > .btn-group {
- display: table-cell;
- float: none;
- width: 1%;
-}
-
-.btn-group-justified > .btn-group .btn {
- width: 100%;
-}
-
-.btn-group-justified > .btn-group .dropdown-menu {
- left: auto;
-}
-
-[data-toggle="buttons"] > .btn input[type="radio"],
-[data-toggle="buttons"] > .btn input[type="checkbox"],
-[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
-[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
- position: absolute;
- clip: rect(0, 0, 0, 0);
- pointer-events: none;
-}
-
-.input-group {
- position: relative;
- display: table;
- border-collapse: separate;
-}
-
-.input-group[class*="col-"] {
- float: none;
- padding-right: 0;
- padding-left: 0;
-}
-
-.input-group .form-control {
- position: relative;
- z-index: 2;
- float: left;
- width: 100%;
- margin-bottom: 0;
-}
-
-.input-group .form-control:focus {
- z-index: 3;
-}
-
-.input-group-addon,
-.input-group-btn,
-.input-group .form-control {
- display: table-cell;
-}
-
-.input-group-addon:not(:first-child):not(:last-child),
-.input-group-btn:not(:first-child):not(:last-child),
-.input-group .form-control:not(:first-child):not(:last-child) {
- border-radius: 0;
-}
-
-.input-group-addon,
-.input-group-btn {
- width: 1%;
- white-space: nowrap;
- vertical-align: middle;
-}
-
-.input-group-addon {
- padding: 4px 8px;
- font-size: 12px;
- font-weight: 400;
- line-height: 1;
- color: #5a5a5a;
- text-align: center;
- background-color: #fff;
- border: 1px solid #fff;
- border-radius: 2px;
-}
-
-.input-group-addon.input-sm,
-.input-group-sm > .input-group-addon,
-.input-group-sm > .input-group-btn > .input-group-addon.btn {
- padding: 4px 15px;
- font-size: 11px;
- border-radius: 2px;
-}
-
-.input-group-addon.input-lg,
-.input-group-lg > .input-group-addon,
-.input-group-lg > .input-group-btn > .input-group-addon.btn {
- padding: 6px 29px;
- font-size: 15px;
- border-radius: 2px;
-}
-
-.input-group-addon input[type="radio"],
-.input-group-addon input[type="checkbox"] {
- margin-top: 0;
-}
-
-.input-group .form-control:first-child,
-.input-group-addon:first-child,
-.input-group-btn:first-child > .btn,
-.input-group-btn:first-child > .btn-group > .btn,
-.input-group-btn:first-child > .dropdown-toggle,
-.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
-.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.input-group-addon:first-child {
- border-right: 0;
-}
-
-.input-group .form-control:last-child,
-.input-group-addon:last-child,
-.input-group-btn:last-child > .btn,
-.input-group-btn:last-child > .btn-group > .btn,
-.input-group-btn:last-child > .dropdown-toggle,
-.input-group-btn:first-child > .btn:not(:first-child),
-.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.input-group-addon:last-child {
- border-left: 0;
-}
-
-.input-group-btn {
- position: relative;
- font-size: 0;
- white-space: nowrap;
-}
-
-.input-group-btn > .btn {
- position: relative;
-}
-
-.input-group-btn > .btn + .btn {
- margin-left: -1px;
-}
-
-.input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active {
- z-index: 2;
-}
-
-.input-group-btn:first-child > .btn,
-.input-group-btn:first-child > .btn-group {
- margin-right: -1px;
-}
-
-.input-group-btn:last-child > .btn,
-.input-group-btn:last-child > .btn-group {
- z-index: 2;
- margin-left: -1px;
-}
-
-.nav {
- padding-left: 0;
- margin-bottom: 0;
- list-style: none;
-}
-
-.nav:before, .nav:after {
- display: table;
- content: " ";
-}
-
-.nav:after {
- clear: both;
-}
-
-.nav > li {
- position: relative;
- display: block;
-}
-
-.nav > li > a {
- position: relative;
- display: block;
- padding: 10px 15px;
-}
-
-.nav > li > a:hover, .nav > li > a:focus {
- text-decoration: none;
- background-color: #e8e8e8;
-}
-
-.nav > li.disabled > a {
- color: #838383;
-}
-
-.nav > li.disabled > a:hover, .nav > li.disabled > a:focus {
- color: #838383;
- text-decoration: none;
- cursor: not-allowed;
- background-color: transparent;
-}
-
-.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
- background-color: #e8e8e8;
- border-color: #006dcc;
-}
-
-.nav .nav-divider {
- height: 1px;
- margin: 8px 0;
- overflow: hidden;
- background-color: #e5e5e5;
-}
-
-.nav > li > a > img {
- max-width: none;
-}
-
-.nav-tabs {
- border-bottom: 1px solid #ddd;
-}
-
-.nav-tabs > li {
- float: left;
- margin-bottom: -1px;
-}
-
-.nav-tabs > li > a {
- margin-right: 2px;
- line-height: 1.5;
- border: 1px solid transparent;
- border-radius: 2px 2px 0 0;
-}
-
-.nav-tabs > li > a:hover {
- border-color: #e8e8e8 #e8e8e8 #ddd;
-}
-
-.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
- color: #5a5a5a;
- cursor: default;
- background-color: #fff;
- border: 1px solid #ddd;
- border-bottom-color: transparent;
-}
-
-.nav-pills > li {
- float: left;
-}
-
-.nav-pills > li > a {
- border-radius: 2px;
-}
-
-.nav-pills > li + li {
- margin-left: 2px;
-}
-
-.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
- color: #fff;
- background-color: #006dcc;
-}
-
-.nav-stacked > li {
- float: none;
-}
-
-.nav-stacked > li + li {
- margin-top: 2px;
- margin-left: 0;
-}
-
-.nav-justified, .nav-tabs.nav-justified {
- width: 100%;
-}
-
-.nav-justified > li, .nav-tabs.nav-justified > li {
- float: none;
-}
-
-.nav-justified > li > a, .nav-tabs.nav-justified > li > a {
- margin-bottom: 5px;
- text-align: center;
-}
-
-.nav-justified > .dropdown .dropdown-menu {
- top: auto;
- left: auto;
-}
-
-@media (min-width: 768px) {
- .nav-justified > li, .nav-tabs.nav-justified > li {
- display: table-cell;
- width: 1%;
- }
- .nav-justified > li > a, .nav-tabs.nav-justified > li > a {
- margin-bottom: 0;
- }
-}
-
-.nav-tabs-justified, .nav-tabs.nav-justified {
- border-bottom: 0;
-}
-
-.nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a {
- margin-right: 0;
- border-radius: 2px;
-}
-
-.nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a,
-.nav-tabs-justified > .active > a:hover,
-.nav-tabs.nav-justified > .active > a:hover,
-.nav-tabs-justified > .active > a:focus,
-.nav-tabs.nav-justified > .active > a:focus {
- border: 1px solid #ddd;
-}
-
-@media (min-width: 768px) {
- .nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a {
- border-bottom: 1px solid #ddd;
- border-radius: 2px 2px 0 0;
- }
- .nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a,
- .nav-tabs-justified > .active > a:hover,
- .nav-tabs.nav-justified > .active > a:hover,
- .nav-tabs-justified > .active > a:focus,
- .nav-tabs.nav-justified > .active > a:focus {
- border-bottom-color: #fff;
- }
-}
-
-.tab-content > .tab-pane {
- display: none;
-}
-
-.tab-content > .active {
- display: block;
-}
-
-.nav-tabs .dropdown-menu {
- margin-top: -1px;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.navbar {
- position: relative;
- min-height: 35px;
- margin-bottom: 18px;
- border: 1px solid transparent;
-}
-
-.navbar:before, .navbar:after {
- display: table;
- content: " ";
-}
-
-.navbar:after {
- clear: both;
-}
-
-@media (min-width: 0) {
- .navbar {
- border-radius: 2px;
- }
-}
-
-.navbar-header:before, .navbar-header:after {
- display: table;
- content: " ";
-}
-
-.navbar-header:after {
- clear: both;
-}
-
-@media (min-width: 0) {
- .navbar-header {
- float: left;
- }
-}
-
-.navbar-collapse {
- padding-right: 10px;
- padding-left: 10px;
- overflow-x: visible;
- border-top: 1px solid transparent;
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
- -webkit-overflow-scrolling: touch;
-}
-
-.navbar-collapse:before, .navbar-collapse:after {
- display: table;
- content: " ";
-}
-
-.navbar-collapse:after {
- clear: both;
-}
-
-.navbar-collapse.in {
- overflow-y: auto;
-}
-
-@media (min-width: 0) {
- .navbar-collapse {
- width: auto;
- border-top: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
- }
- .navbar-collapse.collapse {
- display: block !important;
- height: auto !important;
- padding-bottom: 0;
- overflow: visible !important;
- }
- .navbar-collapse.in {
- overflow-y: visible;
- }
- .navbar-fixed-top .navbar-collapse,
- .navbar-static-top .navbar-collapse,
- .navbar-fixed-bottom .navbar-collapse {
- padding-right: 0;
- padding-left: 0;
- }
-}
-
-.navbar-fixed-top,
-.navbar-fixed-bottom {
- position: fixed;
- right: 0;
- left: 0;
- z-index: 1030;
-}
-
-.navbar-fixed-top .navbar-collapse,
-.navbar-fixed-bottom .navbar-collapse {
- max-height: 340px;
-}
-
-@media (max-device-width: 480px) and (orientation: landscape) {
- .navbar-fixed-top .navbar-collapse,
- .navbar-fixed-bottom .navbar-collapse {
- max-height: 200px;
- }
-}
-
-@media (min-width: 0) {
- .navbar-fixed-top,
- .navbar-fixed-bottom {
- border-radius: 0;
- }
-}
-
-.navbar-fixed-top {
- top: 0;
- border-width: 0 0 1px;
-}
-
-.navbar-fixed-bottom {
- bottom: 0;
- margin-bottom: 0;
- border-width: 1px 0 0;
-}
-
-.container > .navbar-header,
-.container > .navbar-collapse,
-.container-fluid > .navbar-header,
-.container-fluid > .navbar-collapse {
- margin-right: -10px;
- margin-left: -10px;
-}
-
-@media (min-width: 0) {
- .container > .navbar-header,
- .container > .navbar-collapse,
- .container-fluid > .navbar-header,
- .container-fluid > .navbar-collapse {
- margin-right: 0;
- margin-left: 0;
- }
-}
-
-.navbar-static-top {
- z-index: 1000;
- border-width: 0 0 1px;
-}
-
-@media (min-width: 0) {
- .navbar-static-top {
- border-radius: 0;
- }
-}
-
-.navbar-brand {
- float: left;
- height: 35px;
- padding: 8.5px 10px;
- font-size: 15px;
- line-height: 18px;
-}
-
-.navbar-brand:hover, .navbar-brand:focus {
- text-decoration: none;
-}
-
-.navbar-brand > img {
- display: block;
-}
-
-@media (min-width: 0) {
- .navbar > .container .navbar-brand,
- .navbar > .container-fluid .navbar-brand {
- margin-left: -10px;
- }
-}
-
-.navbar-toggle {
- position: relative;
- float: right;
- padding: 9px 10px;
- margin-right: 10px;
- margin-top: 0.5px;
- margin-bottom: 0.5px;
- background-color: transparent;
- background-image: none;
- border: 1px solid transparent;
- border-radius: 2px;
-}
-
-.navbar-toggle:focus {
- outline: 0;
-}
-
-.navbar-toggle .icon-bar {
- display: block;
- width: 22px;
- height: 2px;
- border-radius: 1px;
-}
-
-.navbar-toggle .icon-bar + .icon-bar {
- margin-top: 4px;
-}
-
-@media (min-width: 0) {
- .navbar-toggle {
- display: none;
- }
-}
-
-.navbar-nav {
- margin: 4.25px -10px;
-}
-
-.navbar-nav > li > a {
- padding-top: 10px;
- padding-bottom: 10px;
- line-height: 18px;
-}
-
-@media (max-width: -1) {
- .navbar-nav .open .dropdown-menu {
- position: static;
- float: none;
- width: auto;
- margin-top: 0;
- background-color: transparent;
- border: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
- }
- .navbar-nav .open .dropdown-menu > li > a,
- .navbar-nav .open .dropdown-menu .dropdown-header {
- padding: 5px 15px 5px 25px;
- }
- .navbar-nav .open .dropdown-menu > li > a {
- line-height: 18px;
- }
- .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus {
- background-image: none;
- }
-}
-
-@media (min-width: 0) {
- .navbar-nav {
- float: left;
- margin: 0;
- }
- .navbar-nav > li {
- float: left;
- }
- .navbar-nav > li > a {
- padding-top: 8.5px;
- padding-bottom: 8.5px;
- }
-}
-
-.navbar-form {
- padding: 10px 10px;
- margin-right: -10px;
- margin-left: -10px;
- border-top: 1px solid transparent;
- border-bottom: 1px solid transparent;
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
- margin-top: 3.5px;
- margin-bottom: 3.5px;
-}
-
-@media (min-width: 768px) {
- .navbar-form .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle;
- }
- .navbar-form .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle;
- }
- .navbar-form .form-control-static {
- display: inline-block;
- }
- .navbar-form .input-group {
- display: inline-table;
- vertical-align: middle;
- }
- .navbar-form .input-group .input-group-addon,
- .navbar-form .input-group .input-group-btn,
- .navbar-form .input-group .form-control {
- width: auto;
- }
- .navbar-form .input-group > .form-control {
- width: 100%;
- }
- .navbar-form .control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
- .navbar-form .radio,
- .navbar-form .checkbox {
- display: inline-block;
- margin-top: 0;
- margin-bottom: 0;
- vertical-align: middle;
- }
- .navbar-form .radio label,
- .navbar-form .checkbox label {
- padding-left: 0;
- }
- .navbar-form .radio input[type="radio"],
- .navbar-form .checkbox input[type="checkbox"] {
- position: relative;
- margin-left: 0;
- }
- .navbar-form .has-feedback .form-control-feedback {
- top: 0;
- }
-}
-
-@media (max-width: -1) {
- .navbar-form .form-group {
- margin-bottom: 5px;
- }
- .navbar-form .form-group:last-child {
- margin-bottom: 0;
- }
-}
-
-@media (min-width: 0) {
- .navbar-form {
- width: auto;
- padding-top: 0;
- padding-bottom: 0;
- margin-right: 0;
- margin-left: 0;
- border: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
- }
-}
-
-.navbar-nav > li > .dropdown-menu {
- margin-top: 0;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
- margin-bottom: 0;
- border-top-left-radius: 2px;
- border-top-right-radius: 2px;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.navbar-btn {
- margin-top: 3.5px;
- margin-bottom: 3.5px;
-}
-
-.navbar-btn.btn-sm, .btn-group-sm > .navbar-btn.btn {
- margin-top: 4.5px;
- margin-bottom: 4.5px;
-}
-
-.navbar-btn.btn-xs, .btn-group-xs > .navbar-btn.btn {
- margin-top: 6.5px;
- margin-bottom: 6.5px;
-}
-
-.navbar-text {
- margin-top: 8.5px;
- margin-bottom: 8.5px;
-}
-
-@media (min-width: 0) {
- .navbar-text {
- float: left;
- margin-right: 10px;
- margin-left: 10px;
- }
-}
-
-@media (min-width: 0) {
- .navbar-left {
- float: left !important;
- }
- .navbar-right {
- float: right !important;
- margin-right: -10px;
- }
- .navbar-right ~ .navbar-right {
- margin-right: 0;
- }
-}
-
-.navbar-default {
- background-color: #f8f8f8;
- border-color: #e7e7e7;
-}
-
-.navbar-default .navbar-brand {
- color: #777;
-}
-
-.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
- color: #5e5e5e;
- background-color: transparent;
-}
-
-.navbar-default .navbar-text {
- color: #777;
-}
-
-.navbar-default .navbar-nav > li > a {
- color: #777;
-}
-
-.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
- color: #333;
- background-color: transparent;
-}
-
-.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
- color: #555;
- background-color: #e7e7e7;
-}
-
-.navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus {
- color: #ccc;
- background-color: transparent;
-}
-
-.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
- color: #555;
- background-color: #e7e7e7;
-}
-
-@media (max-width: -1) {
- .navbar-default .navbar-nav .open .dropdown-menu > li > a {
- color: #777;
- }
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #333;
- background-color: transparent;
- }
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #555;
- background-color: #e7e7e7;
- }
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #ccc;
- background-color: transparent;
- }
-}
-
-.navbar-default .navbar-toggle {
- border-color: #ddd;
-}
-
-.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
- background-color: #ddd;
-}
-
-.navbar-default .navbar-toggle .icon-bar {
- background-color: #888;
-}
-
-.navbar-default .navbar-collapse,
-.navbar-default .navbar-form {
- border-color: #e7e7e7;
-}
-
-.navbar-default .navbar-link {
- color: #777;
-}
-
-.navbar-default .navbar-link:hover {
- color: #333;
-}
-
-.navbar-default .btn-link {
- color: #777;
-}
-
-.navbar-default .btn-link:hover, .navbar-default .btn-link:focus {
- color: #333;
-}
-
-.navbar-default .btn-link[disabled]:hover, .navbar-default .btn-link[disabled]:focus,
-fieldset[disabled] .navbar-default .btn-link:hover,
-fieldset[disabled] .navbar-default .btn-link:focus {
- color: #ccc;
-}
-
-.navbar-inverse {
- background-color: #222;
- border-color: #090909;
-}
-
-.navbar-inverse .navbar-brand {
- color: darkgray;
-}
-
-.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
- color: #fff;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-text {
- color: darkgray;
-}
-
-.navbar-inverse .navbar-nav > li > a {
- color: darkgray;
-}
-
-.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
- color: #fff;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
- color: #fff;
- background-color: #090909;
-}
-
-.navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus {
- color: #444;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
- color: #fff;
- background-color: #090909;
-}
-
-@media (max-width: -1) {
- .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
- border-color: #090909;
- }
- .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
- background-color: #090909;
- }
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
- color: darkgray;
- }
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #fff;
- background-color: transparent;
- }
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #fff;
- background-color: #090909;
- }
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #444;
- background-color: transparent;
- }
-}
-
-.navbar-inverse .navbar-toggle {
- border-color: #333;
-}
-
-.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
- background-color: #333;
-}
-
-.navbar-inverse .navbar-toggle .icon-bar {
- background-color: #fff;
-}
-
-.navbar-inverse .navbar-collapse,
-.navbar-inverse .navbar-form {
- border-color: #101010;
-}
-
-.navbar-inverse .navbar-link {
- color: darkgray;
-}
-
-.navbar-inverse .navbar-link:hover {
- color: #fff;
-}
-
-.navbar-inverse .btn-link {
- color: darkgray;
-}
-
-.navbar-inverse .btn-link:hover, .navbar-inverse .btn-link:focus {
- color: #fff;
-}
-
-.navbar-inverse .btn-link[disabled]:hover, .navbar-inverse .btn-link[disabled]:focus,
-fieldset[disabled] .navbar-inverse .btn-link:hover,
-fieldset[disabled] .navbar-inverse .btn-link:focus {
- color: #444;
-}
-
-.pagination {
- display: inline-block;
- padding-left: 0;
- margin: 18px 0;
- border-radius: 2px;
-}
-
-.pagination > li {
- display: inline;
-}
-
-.pagination > li > a,
-.pagination > li > span {
- position: relative;
- float: left;
- padding: 4px 8px;
- margin-left: -1px;
- line-height: 1.5;
- color: #006dcc;
- text-decoration: none;
- background-color: #fff;
- border: 1px solid #e8e8e8;
-}
-
-.pagination > li > a:hover, .pagination > li > a:focus,
-.pagination > li > span:hover,
-.pagination > li > span:focus {
- z-index: 2;
- color: #1950a3;
- background-color: #f9f9f9;
- border-color: #e8e8e8;
-}
-
-.pagination > li:first-child > a,
-.pagination > li:first-child > span {
- margin-left: 0;
- border-top-left-radius: 2px;
- border-bottom-left-radius: 2px;
-}
-
-.pagination > li:last-child > a,
-.pagination > li:last-child > span {
- border-top-right-radius: 2px;
- border-bottom-right-radius: 2px;
-}
-
-.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
-.pagination > .active > span,
-.pagination > .active > span:hover,
-.pagination > .active > span:focus {
- z-index: 3;
- color: #838383;
- cursor: default;
- background-color: #f9f9f9;
- border-color: #e8e8e8;
-}
-
-.pagination > .disabled > span,
-.pagination > .disabled > span:hover,
-.pagination > .disabled > span:focus,
-.pagination > .disabled > a,
-.pagination > .disabled > a:hover,
-.pagination > .disabled > a:focus {
- color: #838383;
- cursor: not-allowed;
- background-color: #fff;
- border-color: #e8e8e8;
-}
-
-.pagination-lg > li > a,
-.pagination-lg > li > span {
- padding: 6px 29px;
- font-size: 15px;
- line-height: 1.33333;
-}
-
-.pagination-lg > li:first-child > a,
-.pagination-lg > li:first-child > span {
- border-top-left-radius: 2px;
- border-bottom-left-radius: 2px;
-}
-
-.pagination-lg > li:last-child > a,
-.pagination-lg > li:last-child > span {
- border-top-right-radius: 2px;
- border-bottom-right-radius: 2px;
-}
-
-.pagination-sm > li > a,
-.pagination-sm > li > span {
- padding: 4px 15px;
- font-size: 11px;
- line-height: 1.5;
-}
-
-.pagination-sm > li:first-child > a,
-.pagination-sm > li:first-child > span {
- border-top-left-radius: 2px;
- border-bottom-left-radius: 2px;
-}
-
-.pagination-sm > li:last-child > a,
-.pagination-sm > li:last-child > span {
- border-top-right-radius: 2px;
- border-bottom-right-radius: 2px;
-}
-
-.label {
- display: inline;
- padding: .2em .6em .3em;
- font-size: 75%;
- font-weight: 700;
- line-height: 1;
- color: #fff;
- text-align: center;
- white-space: nowrap;
- vertical-align: baseline;
- border-radius: .25em;
-}
-
-.label:empty {
- display: none;
-}
-
-.btn .label {
- position: relative;
- top: -1px;
-}
-
-a.label:hover, a.label:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer;
-}
-
-.label-default {
- background-color: #838383;
-}
-
-.label-default[href]:hover, .label-default[href]:focus {
- background-color: #6a6a6a;
-}
-
-.label-primary {
- background-color: #006dcc;
-}
-
-.label-primary[href]:hover, .label-primary[href]:focus {
- background-color: #005299;
-}
-
-.label-success {
- background-color: #5bb75b;
-}
-
-.label-success[href]:hover, .label-success[href]:focus {
- background-color: #449b44;
-}
-
-.label-info {
- background-color: #49afcd;
-}
-
-.label-info[href]:hover, .label-info[href]:focus {
- background-color: #3195b2;
-}
-
-.label-warning {
- background-color: #faa732;
-}
-
-.label-warning[href]:hover, .label-warning[href]:focus {
- background-color: #f39106;
-}
-
-.label-danger {
- background-color: #da4f49;
-}
-
-.label-danger[href]:hover, .label-danger[href]:focus {
- background-color: #c72f29;
-}
-
-.badge {
- display: inline-block;
- min-width: 10px;
- padding: 3px 7px;
- font-size: 11px;
- font-weight: bold;
- line-height: 1;
- color: #fff;
- text-align: center;
- white-space: nowrap;
- vertical-align: middle;
- background-color: #838383;
- border-radius: 10px;
-}
-
-.badge:empty {
- display: none;
-}
-
-.btn .badge {
- position: relative;
- top: -1px;
-}
-
-.btn-xs .badge, .btn-group-xs > .btn .badge,
-.btn-group-xs > .btn .badge {
- top: 0;
- padding: 1px 5px;
-}
-
-.list-group-item.active > .badge,
-.nav-pills > .active > a > .badge {
- color: #006dcc;
- background-color: #fff;
-}
-
-.list-group-item > .badge {
- float: right;
-}
-
-.list-group-item > .badge + .badge {
- margin-right: 5px;
-}
-
-.nav-pills > li > a > .badge {
- margin-left: 3px;
-}
-
-a.badge:hover, a.badge:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer;
-}
-
-.alert {
- padding: 15px;
- margin-bottom: 18px;
- border: 1px solid transparent;
- border-radius: 2px;
-}
-
-.alert h4 {
- margin-top: 0;
- color: inherit;
-}
-
-.alert .alert-link {
- font-weight: bold;
-}
-
-.alert > p,
-.alert > ul {
- margin-bottom: 0;
-}
-
-.alert > p + p {
- margin-top: 5px;
-}
-
-.alert-dismissable,
-.alert-dismissible {
- padding-right: 35px;
-}
-
-.alert-dismissable .close,
-.alert-dismissible .close {
- position: relative;
- top: -2px;
- right: -21px;
- color: inherit;
-}
-
-.alert-success {
- color: #5bb75b;
- background-color: #5bb75b;
- border-color: #31a549;
-}
-
-.alert-success hr {
- border-top-color: #2b9140;
-}
-
-.alert-success .alert-link {
- color: #449b44;
-}
-
-.alert-info {
- color: #49afcd;
- background-color: #49afcd;
- border-color: #0492ba;
-}
-
-.alert-info hr {
- border-top-color: #037ea1;
-}
-
-.alert-info .alert-link {
- color: #3195b2;
-}
-
-.alert-warning {
- color: #faa732;
- background-color: #faa732;
- border-color: #f8951d;
-}
-
-.alert-warning hr {
- border-top-color: #f48908;
-}
-
-.alert-warning .alert-link {
- color: #f39106;
-}
-
-.alert-danger {
- color: #da4f49;
- background-color: #da4f49;
- border-color: #d5382e;
-}
-
-.alert-danger hr {
- border-top-color: #c23027;
-}
-
-.alert-danger .alert-link {
- color: #c72f29;
-}
-
-@-webkit-keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
-}
-
-@keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
-}
-
-.progress {
- height: 18px;
- margin-bottom: 18px;
- overflow: hidden;
- background-color: #f5f5f5;
- border-radius: 2px;
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
-}
-
-.progress-bar {
- float: left;
- width: 0%;
- height: 100%;
- font-size: 11px;
- line-height: 18px;
- color: #fff;
- text-align: center;
- background-color: #006dcc;
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- -webkit-transition: width 0.6s ease;
- transition: width 0.6s ease;
-}
-
-.progress-striped .progress-bar,
-.progress-bar-striped {
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-size: 40px 40px;
-}
-
-.progress.active .progress-bar,
-.progress-bar.active {
- -webkit-animation: progress-bar-stripes 2s linear infinite;
- animation: progress-bar-stripes 2s linear infinite;
-}
-
-.progress-bar-success {
- background-color: #5bb75b;
-}
-
-.progress-striped .progress-bar-success {
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-info {
- background-color: #49afcd;
-}
-
-.progress-striped .progress-bar-info {
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-warning {
- background-color: #faa732;
-}
-
-.progress-striped .progress-bar-warning {
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-danger {
- background-color: #da4f49;
-}
-
-.progress-striped .progress-bar-danger {
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
-}
-
-.well {
- min-height: 20px;
- padding: 19px;
- margin-bottom: 20px;
- background-color: #f5f5f5;
- border: 1px solid #e3e3e3;
- border-radius: 2px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
-}
-
-.well blockquote {
- border-color: #ddd;
- border-color: rgba(0, 0, 0, 0.15);
-}
-
-.well-lg {
- padding: 24px;
- border-radius: 2px;
-}
-
-.well-sm {
- padding: 9px;
- border-radius: 2px;
-}
-
-.close {
- float: right;
- font-size: 18px;
- font-weight: bold;
- line-height: 1;
- color: #000;
- text-shadow: 0 1px 0 #fff;
- filter: alpha(opacity=20);
- opacity: 0.2;
-}
-
-.close:hover, .close:focus {
- color: #000;
- text-decoration: none;
- cursor: pointer;
- filter: alpha(opacity=50);
- opacity: 0.5;
-}
-
-button.close {
- padding: 0;
- cursor: pointer;
- background: transparent;
- border: 0;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
-}
-
-.modal-open {
- overflow: hidden;
-}
-
-.modal {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1050;
- display: none;
- overflow: hidden;
- -webkit-overflow-scrolling: touch;
- outline: 0;
-}
-
-.modal.fade .modal-dialog {
- -webkit-transform: translate(0, -25%);
- transform: translate(0, -25%);
- -webkit-transition: -webkit-transform 0.3s ease-out;
- transition: -webkit-transform 0.3s ease-out;
- transition: transform 0.3s ease-out;
- transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
-}
-
-.modal.in .modal-dialog {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
-}
-
-.modal-open .modal {
- overflow-x: hidden;
- overflow-y: auto;
-}
-
-.modal-dialog {
- position: relative;
- width: auto;
- margin: 10px;
-}
-
-.modal-content {
- position: relative;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #999;
- border: 1px solid transparent;
- border-radius: 2px;
- -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
- box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
- outline: 0;
-}
-
-.modal-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1040;
- background-color: #5a5a5a;
-}
-
-.modal-backdrop.fade {
- filter: alpha(opacity=0);
- opacity: 0;
-}
-
-.modal-backdrop.in {
- filter: alpha(opacity=80);
- opacity: 0.8;
-}
-
-.modal-header {
- padding: 15px;
- border-bottom: 1px solid #e8e8e8;
-}
-
-.modal-header:before, .modal-header:after {
- display: table;
- content: " ";
-}
-
-.modal-header:after {
- clear: both;
-}
-
-.modal-header .close {
- margin-top: -2px;
-}
-
-.modal-title {
- margin: 0;
- line-height: 1.5;
-}
-
-.modal-body {
- position: relative;
- padding: 30px;
-}
-
-.modal-footer {
- padding: 30px;
- text-align: right;
- border-top: 1px solid #e8e8e8;
-}
-
-.modal-footer:before, .modal-footer:after {
- display: table;
- content: " ";
-}
-
-.modal-footer:after {
- clear: both;
-}
-
-.modal-footer .btn + .btn {
- margin-bottom: 0;
- margin-left: 5px;
-}
-
-.modal-footer .btn-group .btn + .btn {
- margin-left: -1px;
-}
-
-.modal-footer .btn-block + .btn-block {
- margin-left: 0;
-}
-
-.modal-scrollbar-measure {
- position: absolute;
- top: -9999px;
- width: 50px;
- height: 50px;
- overflow: scroll;
-}
-
-@media (min-width: 768px) {
- .modal-dialog {
- width: 700px;
- margin: 30px auto;
- }
- .modal-content {
- -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
- }
- .modal-sm {
- width: 525px;
- }
-}
-
-@media (min-width: 992px) {
- .modal-lg {
- width: 940px;
- }
-}
-
-.tooltip {
- position: absolute;
- z-index: 1070;
- display: block;
- font-family: Roboto, Helvetica, sans-serif;
- font-style: normal;
- font-weight: 400;
- line-height: 1.5;
- line-break: auto;
- text-align: left;
- text-align: start;
- text-decoration: none;
- text-shadow: none;
- text-transform: none;
- letter-spacing: normal;
- word-break: normal;
- word-spacing: normal;
- word-wrap: normal;
- white-space: normal;
- font-size: 11px;
- filter: alpha(opacity=0);
- opacity: 0;
-}
-
-.tooltip.in {
- filter: alpha(opacity=90);
- opacity: 0.9;
-}
-
-.tooltip.top {
- padding: 5px 0;
- margin-top: -3px;
-}
-
-.tooltip.right {
- padding: 0 5px;
- margin-left: 3px;
-}
-
-.tooltip.bottom {
- padding: 5px 0;
- margin-top: 3px;
-}
-
-.tooltip.left {
- padding: 0 5px;
- margin-left: -3px;
-}
-
-.tooltip.top .tooltip-arrow {
- bottom: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.top-left .tooltip-arrow {
- right: 5px;
- bottom: 0;
- margin-bottom: -5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.top-right .tooltip-arrow {
- bottom: 0;
- left: 5px;
- margin-bottom: -5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.right .tooltip-arrow {
- top: 50%;
- left: 0;
- margin-top: -5px;
- border-width: 5px 5px 5px 0;
- border-right-color: #000;
-}
-
-.tooltip.left .tooltip-arrow {
- top: 50%;
- right: 0;
- margin-top: -5px;
- border-width: 5px 0 5px 5px;
- border-left-color: #000;
-}
-
-.tooltip.bottom .tooltip-arrow {
- top: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.tooltip.bottom-left .tooltip-arrow {
- top: 0;
- right: 5px;
- margin-top: -5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.tooltip.bottom-right .tooltip-arrow {
- top: 0;
- left: 5px;
- margin-top: -5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.tooltip-inner {
- max-width: 200px;
- padding: 3px 8px;
- color: #fff;
- text-align: center;
- background-color: #000;
- border-radius: 2px;
-}
-
-.tooltip-arrow {
- position: absolute;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid;
-}
-
-.carousel {
- position: relative;
-}
-
-.carousel-inner {
- position: relative;
- width: 100%;
- overflow: hidden;
-}
-
-.carousel-inner > .item {
- position: relative;
- display: none;
- -webkit-transition: 0.6s ease-in-out left;
- transition: 0.6s ease-in-out left;
-}
-
-.carousel-inner > .item > img,
-.carousel-inner > .item > a > img {
- display: block;
- max-width: 100%;
- height: auto;
- line-height: 1;
-}
-
-@media all and (transform-3d), (-webkit-transform-3d) {
- .carousel-inner > .item {
- -webkit-transition: -webkit-transform 0.6s ease-in-out;
- transition: -webkit-transform 0.6s ease-in-out;
- transition: transform 0.6s ease-in-out;
- transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
- -webkit-perspective: 1000px;
- perspective: 1000px;
- }
- .carousel-inner > .item.next, .carousel-inner > .item.active.right {
- -webkit-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- left: 0;
- }
- .carousel-inner > .item.prev, .carousel-inner > .item.active.left {
- -webkit-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- left: 0;
- }
- .carousel-inner > .item.next.left, .carousel-inner > .item.prev.right, .carousel-inner > .item.active {
- -webkit-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- left: 0;
- }
-}
-
-.carousel-inner > .active,
-.carousel-inner > .next,
-.carousel-inner > .prev {
- display: block;
-}
-
-.carousel-inner > .active {
- left: 0;
-}
-
-.carousel-inner > .next,
-.carousel-inner > .prev {
- position: absolute;
- top: 0;
- width: 100%;
-}
-
-.carousel-inner > .next {
- left: 100%;
-}
-
-.carousel-inner > .prev {
- left: -100%;
-}
-
-.carousel-inner > .next.left,
-.carousel-inner > .prev.right {
- left: 0;
-}
-
-.carousel-inner > .active.left {
- left: -100%;
-}
-
-.carousel-inner > .active.right {
- left: 100%;
-}
-
-.carousel-control {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- width: 15%;
- font-size: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
- background-color: rgba(0, 0, 0, 0);
- filter: alpha(opacity=50);
- opacity: 0.5;
-}
-
-.carousel-control.left {
- background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001)));
- background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
- background-repeat: repeat-x;
-}
-
-.carousel-control.right {
- right: 0;
- left: auto;
- background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5)));
- background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
- background-repeat: repeat-x;
-}
-
-.carousel-control:hover, .carousel-control:focus {
- color: #fff;
- text-decoration: none;
- outline: 0;
- filter: alpha(opacity=90);
- opacity: 0.9;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .icon-next,
-.carousel-control .glyphicon-chevron-left,
-.carousel-control .glyphicon-chevron-right {
- position: absolute;
- top: 50%;
- z-index: 5;
- display: inline-block;
- margin-top: -10px;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .glyphicon-chevron-left {
- left: 50%;
- margin-left: -10px;
-}
-
-.carousel-control .icon-next,
-.carousel-control .glyphicon-chevron-right {
- right: 50%;
- margin-right: -10px;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .icon-next {
- width: 20px;
- height: 20px;
- font-family: serif;
- line-height: 1;
-}
-
-.carousel-control .icon-prev:before {
- content: "\2039";
-}
-
-.carousel-control .icon-next:before {
- content: "\203A";
-}
-
-.carousel-indicators {
- position: absolute;
- bottom: 10px;
- left: 50%;
- z-index: 15;
- width: 60%;
- padding-left: 0;
- margin-left: -30%;
- text-align: center;
- list-style: none;
-}
-
-.carousel-indicators li {
- display: inline-block;
- width: 10px;
- height: 10px;
- margin: 1px;
- text-indent: -999px;
- cursor: pointer;
- background-color: #000 \9;
- background-color: rgba(0, 0, 0, 0);
- border: 1px solid #fff;
- border-radius: 10px;
-}
-
-.carousel-indicators .active {
- width: 12px;
- height: 12px;
- margin: 0;
- background-color: #fff;
-}
-
-.carousel-caption {
- position: absolute;
- right: 15%;
- bottom: 20px;
- left: 15%;
- z-index: 10;
- padding-top: 20px;
- padding-bottom: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
-}
-
-.carousel-caption .btn {
- text-shadow: none;
-}
-
-@media screen and (min-width: 768px) {
- .carousel-control .glyphicon-chevron-left,
- .carousel-control .glyphicon-chevron-right,
- .carousel-control .icon-prev,
- .carousel-control .icon-next {
- width: 30px;
- height: 30px;
- margin-top: -10px;
- font-size: 30px;
- }
- .carousel-control .glyphicon-chevron-left,
- .carousel-control .icon-prev {
- margin-left: -10px;
- }
- .carousel-control .glyphicon-chevron-right,
- .carousel-control .icon-next {
- margin-right: -10px;
- }
- .carousel-caption {
- right: 20%;
- left: 20%;
- padding-bottom: 30px;
- }
- .carousel-indicators {
- bottom: 20px;
- }
-}
-
-.clearfix:before, .clearfix:after {
- display: table;
- content: " ";
-}
-
-.clearfix:after {
- clear: both;
-}
-
-.center-block {
- display: block;
- margin-right: auto;
- margin-left: auto;
-}
-
-.pull-right {
- float: right !important;
-}
-
-.pull-left {
- float: left !important;
-}
-
-.hide {
- display: none !important;
-}
-
-.show {
- display: block !important;
-}
-
-.invisible {
- visibility: hidden;
-}
-
-.text-hide {
- font: 0/0 a;
- color: transparent;
- text-shadow: none;
- background-color: transparent;
- border: 0;
-}
-
-.hidden {
- display: none !important;
-}
-
-.affix {
- position: fixed;
-}
-
-.btn-inverse:not([disabled]) {
- color: #838383;
- background-color: #fff;
- border-color: #d3d3d3;
-}
-
-.btn-inverse:not([disabled]):focus, .btn-inverse:not([disabled]).focus {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #939393;
-}
-
-.btn-inverse:not([disabled]):hover {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #b4b4b4;
-}
-
-.btn-inverse:not([disabled]):active, .btn-inverse:not([disabled]).active,
-.open > .btn-inverse:not([disabled]).dropdown-toggle {
- color: #838383;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #b4b4b4;
-}
-
-.btn-inverse:not([disabled]):active:hover, .btn-inverse:not([disabled]):active:focus, .btn-inverse:not([disabled]):active.focus, .btn-inverse:not([disabled]).active:hover, .btn-inverse:not([disabled]).active:focus, .btn-inverse:not([disabled]).active.focus,
-.open > .btn-inverse:not([disabled]).dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).dropdown-toggle.focus {
- color: #838383;
- background-color: #d4d4d4;
- border-color: #939393;
-}
-
-.btn-inverse:not([disabled]).disabled:hover, .btn-inverse:not([disabled]).disabled:focus, .btn-inverse:not([disabled]).disabled.focus, .btn-inverse:not([disabled])[disabled]:hover, .btn-inverse:not([disabled])[disabled]:focus, .btn-inverse:not([disabled])[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]):hover,
-fieldset[disabled] .btn-inverse:not([disabled]):focus,
-fieldset[disabled] .btn-inverse:not([disabled]).focus {
- background-color: #fff;
- border-color: #d3d3d3;
-}
-
-.btn-inverse:not([disabled]) .badge {
- color: #fff;
- background-color: #838383;
-}
-
-.btn-inverse:not([disabled]):hover, .btn-inverse:not([disabled]):active, .btn-inverse:not([disabled]):focus {
- background-color: #f3f3f3;
-}
-
-.btn-inverse:not([disabled]).btn-primary {
- color: #006dcc;
- background-color: #fff;
- border-color: #006dcc;
-}
-
-.btn-inverse:not([disabled]).btn-primary:focus, .btn-inverse:not([disabled]).btn-primary.focus {
- color: #006dcc;
- background-color: #e6e6e6;
- border-color: #00294d;
-}
-
-.btn-inverse:not([disabled]).btn-primary:hover {
- color: #006dcc;
- background-color: #e6e6e6;
- border-color: #004c8f;
-}
-
-.btn-inverse:not([disabled]).btn-primary:active, .btn-inverse:not([disabled]).btn-primary.active,
-.open > .btn-inverse:not([disabled]).btn-primary.dropdown-toggle {
- color: #006dcc;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #004c8f;
-}
-
-.btn-inverse:not([disabled]).btn-primary:active:hover, .btn-inverse:not([disabled]).btn-primary:active:focus, .btn-inverse:not([disabled]).btn-primary:active.focus, .btn-inverse:not([disabled]).btn-primary.active:hover, .btn-inverse:not([disabled]).btn-primary.active:focus, .btn-inverse:not([disabled]).btn-primary.active.focus,
-.open > .btn-inverse:not([disabled]).btn-primary.dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).btn-primary.dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).btn-primary.dropdown-toggle.focus {
- color: #006dcc;
- background-color: #d4d4d4;
- border-color: #00294d;
-}
-
-.btn-inverse:not([disabled]).btn-primary.disabled:hover, .btn-inverse:not([disabled]).btn-primary.disabled:focus, .btn-inverse:not([disabled]).btn-primary.disabled.focus, .btn-inverse:not([disabled]).btn-primary[disabled]:hover, .btn-inverse:not([disabled]).btn-primary[disabled]:focus, .btn-inverse:not([disabled]).btn-primary[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-primary:hover,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-primary:focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-primary.focus {
- background-color: #fff;
- border-color: #006dcc;
-}
-
-.btn-inverse:not([disabled]).btn-primary .badge {
- color: #fff;
- background-color: #006dcc;
-}
-
-.btn-inverse:not([disabled]).btn-primary:active, .btn-inverse:not([disabled]).btn-primary:active:active, .btn-inverse:not([disabled]).btn-primary:focus, .btn-inverse:not([disabled]).btn-primary:focus:active, .btn-inverse:not([disabled]).btn-primary:hover, .btn-inverse:not([disabled]).btn-primary:hover:active {
- background-color: #cce7ff;
-}
-
-.btn-inverse:not([disabled]).btn-success {
- color: #5bb75b;
- background-color: #fff;
- border-color: #5bb75b;
-}
-
-.btn-inverse:not([disabled]).btn-success:focus, .btn-inverse:not([disabled]).btn-success.focus {
- color: #5bb75b;
- background-color: #e6e6e6;
- border-color: #2d662d;
-}
-
-.btn-inverse:not([disabled]).btn-success:hover {
- color: #5bb75b;
- background-color: #e6e6e6;
- border-color: #419441;
-}
-
-.btn-inverse:not([disabled]).btn-success:active, .btn-inverse:not([disabled]).btn-success.active,
-.open > .btn-inverse:not([disabled]).btn-success.dropdown-toggle {
- color: #5bb75b;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #419441;
-}
-
-.btn-inverse:not([disabled]).btn-success:active:hover, .btn-inverse:not([disabled]).btn-success:active:focus, .btn-inverse:not([disabled]).btn-success:active.focus, .btn-inverse:not([disabled]).btn-success.active:hover, .btn-inverse:not([disabled]).btn-success.active:focus, .btn-inverse:not([disabled]).btn-success.active.focus,
-.open > .btn-inverse:not([disabled]).btn-success.dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).btn-success.dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).btn-success.dropdown-toggle.focus {
- color: #5bb75b;
- background-color: #d4d4d4;
- border-color: #2d662d;
-}
-
-.btn-inverse:not([disabled]).btn-success.disabled:hover, .btn-inverse:not([disabled]).btn-success.disabled:focus, .btn-inverse:not([disabled]).btn-success.disabled.focus, .btn-inverse:not([disabled]).btn-success[disabled]:hover, .btn-inverse:not([disabled]).btn-success[disabled]:focus, .btn-inverse:not([disabled]).btn-success[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-success:hover,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-success:focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-success.focus {
- background-color: #fff;
- border-color: #5bb75b;
-}
-
-.btn-inverse:not([disabled]).btn-success .badge {
- color: #fff;
- background-color: #5bb75b;
-}
-
-.btn-inverse:not([disabled]).btn-success:active, .btn-inverse:not([disabled]).btn-success:active:active, .btn-inverse:not([disabled]).btn-success:focus, .btn-inverse:not([disabled]).btn-success:focus:active, .btn-inverse:not([disabled]).btn-success:hover, .btn-inverse:not([disabled]).btn-success:hover:active {
- background-color: #dcefdc;
-}
-
-.btn-inverse:not([disabled]).btn-info {
- color: #49afcd;
- background-color: #fff;
- border-color: #49afcd;
-}
-
-.btn-inverse:not([disabled]).btn-info:focus, .btn-inverse:not([disabled]).btn-info.focus {
- color: #49afcd;
- background-color: #e6e6e6;
- border-color: #206376;
-}
-
-.btn-inverse:not([disabled]).btn-info:hover {
- color: #49afcd;
- background-color: #e6e6e6;
- border-color: #2f8eaa;
-}
-
-.btn-inverse:not([disabled]).btn-info:active, .btn-inverse:not([disabled]).btn-info.active,
-.open > .btn-inverse:not([disabled]).btn-info.dropdown-toggle {
- color: #49afcd;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #2f8eaa;
-}
-
-.btn-inverse:not([disabled]).btn-info:active:hover, .btn-inverse:not([disabled]).btn-info:active:focus, .btn-inverse:not([disabled]).btn-info:active.focus, .btn-inverse:not([disabled]).btn-info.active:hover, .btn-inverse:not([disabled]).btn-info.active:focus, .btn-inverse:not([disabled]).btn-info.active.focus,
-.open > .btn-inverse:not([disabled]).btn-info.dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).btn-info.dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).btn-info.dropdown-toggle.focus {
- color: #49afcd;
- background-color: #d4d4d4;
- border-color: #206376;
-}
-
-.btn-inverse:not([disabled]).btn-info.disabled:hover, .btn-inverse:not([disabled]).btn-info.disabled:focus, .btn-inverse:not([disabled]).btn-info.disabled.focus, .btn-inverse:not([disabled]).btn-info[disabled]:hover, .btn-inverse:not([disabled]).btn-info[disabled]:focus, .btn-inverse:not([disabled]).btn-info[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-info:hover,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-info:focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-info.focus {
- background-color: #fff;
- border-color: #49afcd;
-}
-
-.btn-inverse:not([disabled]).btn-info .badge {
- color: #fff;
- background-color: #49afcd;
-}
-
-.btn-inverse:not([disabled]).btn-info:active, .btn-inverse:not([disabled]).btn-info:active:active, .btn-inverse:not([disabled]).btn-info:focus, .btn-inverse:not([disabled]).btn-info:focus:active, .btn-inverse:not([disabled]).btn-info:hover, .btn-inverse:not([disabled]).btn-info:hover:active {
- background-color: #d7edf4;
-}
-
-.btn-inverse:not([disabled]).btn-warning {
- color: #faa732;
- background-color: #fff;
- border-color: #faa732;
-}
-
-.btn-inverse:not([disabled]).btn-warning:focus, .btn-inverse:not([disabled]).btn-warning.focus {
- color: #faa732;
- background-color: #e6e6e6;
- border-color: #a86404;
-}
-
-.btn-inverse:not([disabled]).btn-warning:hover {
- color: #faa732;
- background-color: #e6e6e6;
- border-color: #e98b06;
-}
-
-.btn-inverse:not([disabled]).btn-warning:active, .btn-inverse:not([disabled]).btn-warning.active,
-.open > .btn-inverse:not([disabled]).btn-warning.dropdown-toggle {
- color: #faa732;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #e98b06;
-}
-
-.btn-inverse:not([disabled]).btn-warning:active:hover, .btn-inverse:not([disabled]).btn-warning:active:focus, .btn-inverse:not([disabled]).btn-warning:active.focus, .btn-inverse:not([disabled]).btn-warning.active:hover, .btn-inverse:not([disabled]).btn-warning.active:focus, .btn-inverse:not([disabled]).btn-warning.active.focus,
-.open > .btn-inverse:not([disabled]).btn-warning.dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).btn-warning.dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).btn-warning.dropdown-toggle.focus {
- color: #faa732;
- background-color: #d4d4d4;
- border-color: #a86404;
-}
-
-.btn-inverse:not([disabled]).btn-warning.disabled:hover, .btn-inverse:not([disabled]).btn-warning.disabled:focus, .btn-inverse:not([disabled]).btn-warning.disabled.focus, .btn-inverse:not([disabled]).btn-warning[disabled]:hover, .btn-inverse:not([disabled]).btn-warning[disabled]:focus, .btn-inverse:not([disabled]).btn-warning[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-warning:hover,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-warning:focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-warning.focus {
- background-color: #fff;
- border-color: #faa732;
-}
-
-.btn-inverse:not([disabled]).btn-warning .badge {
- color: #fff;
- background-color: #faa732;
-}
-
-.btn-inverse:not([disabled]).btn-warning:active, .btn-inverse:not([disabled]).btn-warning:active:active, .btn-inverse:not([disabled]).btn-warning:focus, .btn-inverse:not([disabled]).btn-warning:focus:active, .btn-inverse:not([disabled]).btn-warning:hover, .btn-inverse:not([disabled]).btn-warning:hover:active {
- background-color: #feeacd;
-}
-
-.btn-inverse:not([disabled]).btn-danger {
- color: #da4f49;
- background-color: #fff;
- border-color: #da4f49;
-}
-
-.btn-inverse:not([disabled]).btn-danger:focus, .btn-inverse:not([disabled]).btn-danger.focus {
- color: #da4f49;
- background-color: #e6e6e6;
- border-color: #88201c;
-}
-
-.btn-inverse:not([disabled]).btn-danger:hover {
- color: #da4f49;
- background-color: #e6e6e6;
- border-color: #bf2d27;
-}
-
-.btn-inverse:not([disabled]).btn-danger:active, .btn-inverse:not([disabled]).btn-danger.active,
-.open > .btn-inverse:not([disabled]).btn-danger.dropdown-toggle {
- color: #da4f49;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #bf2d27;
-}
-
-.btn-inverse:not([disabled]).btn-danger:active:hover, .btn-inverse:not([disabled]).btn-danger:active:focus, .btn-inverse:not([disabled]).btn-danger:active.focus, .btn-inverse:not([disabled]).btn-danger.active:hover, .btn-inverse:not([disabled]).btn-danger.active:focus, .btn-inverse:not([disabled]).btn-danger.active.focus,
-.open > .btn-inverse:not([disabled]).btn-danger.dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).btn-danger.dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).btn-danger.dropdown-toggle.focus {
- color: #da4f49;
- background-color: #d4d4d4;
- border-color: #88201c;
-}
-
-.btn-inverse:not([disabled]).btn-danger.disabled:hover, .btn-inverse:not([disabled]).btn-danger.disabled:focus, .btn-inverse:not([disabled]).btn-danger.disabled.focus, .btn-inverse:not([disabled]).btn-danger[disabled]:hover, .btn-inverse:not([disabled]).btn-danger[disabled]:focus, .btn-inverse:not([disabled]).btn-danger[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-danger:hover,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-danger:focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-danger.focus {
- background-color: #fff;
- border-color: #da4f49;
-}
-
-.btn-inverse:not([disabled]).btn-danger .badge {
- color: #fff;
- background-color: #da4f49;
-}
-
-.btn-inverse:not([disabled]).btn-danger:active, .btn-inverse:not([disabled]).btn-danger:active:active, .btn-inverse:not([disabled]).btn-danger:focus, .btn-inverse:not([disabled]).btn-danger:focus:active, .btn-inverse:not([disabled]).btn-danger:hover, .btn-inverse:not([disabled]).btn-danger:hover:active {
- background-color: #f6d6d5;
-}
-
-.btn {
- -webkit-box-shadow: 0 1px #d3d3d3;
- box-shadow: 0 1px #d3d3d3;
- margin-right: 5px;
-}
-
-.btn:last-child {
- margin-right: 0;
-}
-
-.btn:active {
- -webkit-box-shadow: none;
- box-shadow: none;
- -webkit-transform: translateY(1px);
- transform: translateY(1px);
-}
-
-.btn.disabled, .btn[disabled],
-[disabled] .btn {
- background-color: #e8e8e8;
- border-color: #e8e8e8;
- color: #838383;
-}
-
-.btn.disabled:hover, .btn[disabled]:hover,
-[disabled] .btn:hover {
- background-color: #e8e8e8;
- border-color: #e8e8e8;
- color: #838383;
-}
-
-.btn.disabled, .btn.disabled:active, .btn[disabled], .btn[disabled]:active,
-[disabled] .btn,
-[disabled] .btn:active {
- -webkit-box-shadow: none;
- box-shadow: none;
- -webkit-transform: translateY(0);
- transform: translateY(0);
-}
-
-.btn > .flexible-wrapper-inline > .flexible-spacer-component {
- min-width: 8px;
-}
-
-.btn.btn-link {
- cursor: pointer;
-}
-
-.btn.btn-link, .btn.btn-link:active {
- -webkit-box-shadow: none;
- box-shadow: none;
- -webkit-transform: translateY(0);
- transform: translateY(0);
-}
-
-.btn.btn-link:disabled, .btn.btn-link[disabled] {
- background-color: transparent;
- cursor: not-allowed;
-}
-
-.btn.btn-link:hover, .btn.btn-link:active {
- background-color: transparent;
-}
-
-.btn-borderless:not([disabled]) {
- color: #838383;
- background-color: #fff;
- border-color: #fff;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn-borderless:not([disabled]):focus, .btn-borderless:not([disabled]).focus {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #bfbfbf;
-}
-
-.btn-borderless:not([disabled]):hover {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #e0e0e0;
-}
-
-.btn-borderless:not([disabled]):active, .btn-borderless:not([disabled]).active,
-.open > .btn-borderless:not([disabled]).dropdown-toggle {
- color: #838383;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #e0e0e0;
-}
-
-.btn-borderless:not([disabled]):active:hover, .btn-borderless:not([disabled]):active:focus, .btn-borderless:not([disabled]):active.focus, .btn-borderless:not([disabled]).active:hover, .btn-borderless:not([disabled]).active:focus, .btn-borderless:not([disabled]).active.focus,
-.open > .btn-borderless:not([disabled]).dropdown-toggle:hover,
-.open > .btn-borderless:not([disabled]).dropdown-toggle:focus,
-.open > .btn-borderless:not([disabled]).dropdown-toggle.focus {
- color: #838383;
- background-color: #d4d4d4;
- border-color: #bfbfbf;
-}
-
-.btn-borderless:not([disabled]).disabled:hover, .btn-borderless:not([disabled]).disabled:focus, .btn-borderless:not([disabled]).disabled.focus, .btn-borderless:not([disabled])[disabled]:hover, .btn-borderless:not([disabled])[disabled]:focus, .btn-borderless:not([disabled])[disabled].focus,
-fieldset[disabled] .btn-borderless:not([disabled]):hover,
-fieldset[disabled] .btn-borderless:not([disabled]):focus,
-fieldset[disabled] .btn-borderless:not([disabled]).focus {
- background-color: #fff;
- border-color: #fff;
-}
-
-.btn-borderless:not([disabled]) .badge {
- color: #fff;
- background-color: #838383;
-}
-
-.btn-borderless:not([disabled]):hover, .btn-borderless:not([disabled]):focus {
- background-color: #fff;
- border-color: #d3d3d3;
- -webkit-box-shadow: 0 1px #d3d3d3;
- box-shadow: 0 1px #d3d3d3;
-}
-
-.btn-flat:not([disabled]) {
- color: #838383;
- background-color: #fff;
- border-color: #fff;
- border: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn-flat:not([disabled]):focus, .btn-flat:not([disabled]).focus {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #bfbfbf;
-}
-
-.btn-flat:not([disabled]):hover {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #e0e0e0;
-}
-
-.btn-flat:not([disabled]):active, .btn-flat:not([disabled]).active,
-.open > .btn-flat:not([disabled]).dropdown-toggle {
- color: #838383;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #e0e0e0;
-}
-
-.btn-flat:not([disabled]):active:hover, .btn-flat:not([disabled]):active:focus, .btn-flat:not([disabled]):active.focus, .btn-flat:not([disabled]).active:hover, .btn-flat:not([disabled]).active:focus, .btn-flat:not([disabled]).active.focus,
-.open > .btn-flat:not([disabled]).dropdown-toggle:hover,
-.open > .btn-flat:not([disabled]).dropdown-toggle:focus,
-.open > .btn-flat:not([disabled]).dropdown-toggle.focus {
- color: #838383;
- background-color: #d4d4d4;
- border-color: #bfbfbf;
-}
-
-.btn-flat:not([disabled]).disabled:hover, .btn-flat:not([disabled]).disabled:focus, .btn-flat:not([disabled]).disabled.focus, .btn-flat:not([disabled])[disabled]:hover, .btn-flat:not([disabled])[disabled]:focus, .btn-flat:not([disabled])[disabled].focus,
-fieldset[disabled] .btn-flat:not([disabled]):hover,
-fieldset[disabled] .btn-flat:not([disabled]):focus,
-fieldset[disabled] .btn-flat:not([disabled]).focus {
- background-color: #fff;
- border-color: #fff;
-}
-
-.btn-flat:not([disabled]) .badge {
- color: #fff;
- background-color: #838383;
-}
-
-.btn-flat:not([disabled]):hover, .btn-flat:not([disabled]):focus {
- background-color: #fff;
-}
-
-.btn-xs, .btn-group-xs > .btn,
-.btn-group-xs > .btn {
- font-size: 9px;
-}
-
-.btn-xs:active, .btn-group-xs > .btn:active,
-.btn-group-xs > .btn:active {
- -webkit-transform: translateY(0);
- transform: translateY(0);
-}
-
-.btn-xs > .flexible-wrapper-inline > .flexible-spacer-component, .btn-group-xs > .btn > .flexible-wrapper-inline > .flexible-spacer-component,
-.btn-group-xs > .btn > .flexible-wrapper-inline > .flexible-spacer-component {
- min-width: 4px;
-}
-
-.input-group-btn > .btn {
- padding-bottom: 3px;
-}
-
-.checkbox label,
-.radio label,
-.radiogroup-stacked label {
- font-weight: 300;
- padding-top: 1px;
-}
-
-.checkbox .icheckbox,
-.radio .icheckbox,
-.radiogroup-stacked .icheckbox {
- margin-left: -20px;
-}
-
-.checkbox .icheckbox > input,
-.radio .icheckbox > input,
-.radiogroup-stacked .icheckbox > input {
- margin-left: 0;
-}
-
-.checkbox > .icheckbox,
-.checkbox > .iradio,
-.radio > .icheckbox,
-.radio > .iradio,
-.radiogroup-stacked > .icheckbox,
-.radiogroup-stacked > .iradio {
- margin-left: 0;
-}
-
-.checkbox > input[type='checkbox'], .checkbox > input[type='radio'],
-.radio > input[type='checkbox'],
-.radio > input[type='radio'],
-.radiogroup-stacked > input[type='checkbox'],
-.radiogroup-stacked > input[type='radio'] {
- margin-left: 0;
-}
-
-input[type="checkbox"],
-input[type="radio"] {
- width: 16px;
- height: 16px;
- margin-top: 0;
-}
-
-.icheckbox + span,
-.iradio + span {
- font-weight: 300;
-}
-
-.icheckbox:not(.disabled) + span,
-.iradio:not(.disabled) + span {
- cursor: pointer;
-}
-
-.form-horizontal .control-label {
- text-align: left;
-}
-
-.form-horizontal .checkbox {
- padding-top: 3px;
- min-height: 16px;
-}
-
-.form-group .help-block {
- margin-bottom: 0;
-}
-
-.form-group label {
- font-weight: 700;
-}
-
-.form-group .checkbox label {
- font-weight: 300;
-}
-
-.form-control, .form-control:focus {
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.form-control:focus {
- outline: 0;
-}
-
-.form-control, .form-control-static {
- font-weight: 300;
-}
-
-.form-btn-footer {
- text-align: right;
-}
-
-fieldset {
- border-bottom: 1px solid #f3f3f3;
- margin-bottom: 30px;
-}
-
-fieldset.borderless {
- border-bottom: 0;
- margin-bottom: 0;
-}
-
-label {
- color: #5a5a5a;
-}
-
-.input-group-addon {
- font-weight: 300;
- padding: 4px 5px;
-}
-
-.input-group-addon:first-child {
- padding-left: 0;
-}
-
-.input-group-addon:last-child {
- padding-right: 0;
-}
-
-.help-block {
- color: #ababab;
- font-weight: 300;
- margin-top: 8px;
-}
-
-.form-horizontal .control-label .help-block {
- margin-top: 1px;
-}
-
-.borderedwell-component .form-horizontal {
- padding: 30px 30px 0;
-}
-
-.modal {
- font-weight: 300;
-}
-
-.modal-title {
- font-weight: 700;
-}
-
-.modal-content {
- border-radius: 0;
- -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
- box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
-}
-
-.modal-body {
- overflow: auto;
-}
-
-.modal-header, .modal-footer {
- height: 40px;
-}
-
-.modal-header {
- background-color: #f3f3f3;
- padding: 10px 15px;
-}
-
-.modal-header > .close {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 11.3L7.3 8 4.1 4.7l.8-.7L8 7.2 11.1 4l.7.7-3.1 3.2 3.3 3.3-.7.8L8 8.7 4.7 12l-.7-.7z'/%3E%3C/svg%3E");
- background-position: center;
- background-size: 20px;
- height: 20px;
- margin-right: -5px;
- margin-top: 0;
- width: 20px;
-}
-
-.modal-header > .close > span {
- display: none;
-}
-
-.modal-footer {
- padding: 6px;
-}
-
-.modal-footer > .pull-left {
- float: left;
-}
-
-.modal-footer > label {
- font-weight: 300;
- color: #838383;
- margin-bottom: 0;
- line-height: 28px;
-}
-
-.modal-footer > label.pull-left {
- padding: 0 9px;
-}
-
-.modal-footer > label.pull-left > input {
- margin-right: 6px;
-}
-
-.modal-instruction > p {
- margin-bottom: 25px;
-}
-
-.modal-instruction > strong {
- display: block;
- margin-bottom: 5px;
-}
-
-.nav-tabs {
- margin-bottom: 0;
- min-height: 35px;
-}
-
-.nav-tabs > li {
- background-color: #f9f9f9;
- border-left: 1px solid #e8e8e8;
- border-top: 1px solid #e8e8e8;
- display: inline-block;
- font-size: 12px;
- margin-bottom: -1px;
- margin-right: 0;
- padding: 0;
- text-align: center;
-}
-
-.nav-tabs > li > a {
- color: #838383;
- cursor: pointer;
- display: inline-block;
- font-weight: 300;
- margin-right: 0;
- padding: 8px 15px 7px;
- text-shadow: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- white-space: nowrap;
-}
-
-.nav-tabs > li > a, .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
- border: 0;
- outline: 0;
-}
-
-.nav-tabs > li > a .svg-symbol-component {
- vertical-align: top;
-}
-
-.nav-tabs > li > a .icon {
- float: left;
- height: 16px;
- width: 16px;
-}
-
-.nav-tabs > li.active, .nav-tabs > li.active:hover, .nav-tabs > li.active:focus {
- background-color: #fff;
- border: 0;
-}
-
-.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
- border-right: 0;
- cursor: default;
-}
-
-.nav-tabs > li:last-child, .nav-tabs > li:last-child:hover, .nav-tabs > li:last-child:focus {
- border-right: 1px solid #e8e8e8;
-}
-
-.nav-tabs .flexible-wrapper-inline > .flexible-spacer-component {
- min-width: 8px;
-}
-
-b,
-strong {
- font-weight: 700;
-}
-.radiogroup-stacked > label {
- display: block;
-}
-
-.form-group .radiogroup-stacked {
- padding-top: 3px;
-}
-
-.icheckbox,
-.iradio {
- background-repeat: no-repeat;
- border: 0;
- cursor: pointer;
- display: inline-block;
- height: 16px;
- position: relative;
- vertical-align: middle;
- width: 16px;
-}
-
-.icheckbox + span,
-.iradio + span {
- margin: 0 5px;
- vertical-align: middle;
-}
-
-.icheckbox {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect y='0' fill='none' width='16' height='16'/%3E%3Cpath fill='%23FFFFFF' d='M4 14.5c-1.4 0-2.5-1.1-2.5-2.5V4c0-1.4 1.1-2.5 2.5-2.5h8c1.4 0 2.5 1.1 2.5 2.5v8c0 1.4-1.1 2.5-2.5 2.5H4z'/%3E%3Cpath fill='%23D3D3D3' d='M12 2c1.1 0 2 0.9 2 2v8c0 1.1-0.9 2-2 2H4c-1.1 0-2-0.9-2-2V4c0-1.1 0.9-2 2-2H12M12 1H4C2.4 1 1 2.3 1 4v8c0 1.6 1.4 3 3 3h8c1.6 0 3-1.4 3-3V4C15 2.3 13.7 1 12 1L12 1z'/%3E%3C/svg%3E");
-}
-
-.icheckbox.hover {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' d='M0 0h16v16H0z'/%3E%3Cpath fill='%234AAFCD' d='M12 2c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h8m0-1H4C2.4 1 1 2.3 1 4v8c0 1.6 1.4 3 3 3h8c1.6 0 3-1.4 3-3V4c0-1.7-1.3-3-3-3z'/%3E%3C/svg%3E");
-}
-
-.icheckbox.checked {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' d='M0 0h16v16H0z'/%3E%3Cpath fill='%234AAFCD' d='M15 12c0 1.6-1.4 3-3 3H4c-1.7 0-3-1.4-3-3V4c0-1.7 1.3-3 3-3h8c1.6 0 3 1.3 3 3v8z'/%3E%3Cpath fill='%23FFF' d='M11.5 4.7c-.2-.2-.5-.1-.7.1l-4.1 5.4-1.5-1.8c-.2-.2-.5-.3-.7-.1-.2.2-.2.5-.1.7l1.9 2.3c.1.1.2.2.4.2.1 0 .3-.1.4-.2l4.5-5.9c.1-.2.1-.5-.1-.7z'/%3E%3C/svg%3E");
-}
-
-.icheckbox.disabled {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' d='M0 0h16v16H0z'/%3E%3Cpath fill='%23FFF' d='M4 14.5c-1.4 0-2.5-1.1-2.5-2.5V4c0-1.4 1.1-2.5 2.5-2.5h8c1.4 0 2.5 1.1 2.5 2.5v8c0 1.4-1.1 2.5-2.5 2.5H4z'/%3E%3Cpath fill='%23F1F2F2' d='M12 2c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h8m0-1H4C2.4 1 1 2.3 1 4v8c0 1.6 1.4 3 3 3h8c1.6 0 3-1.4 3-3V4c0-1.7-1.3-3-3-3z'/%3E%3C/svg%3E");
-}
-
-.icheckbox.disabled, .icheckbox.disabled.checked {
- cursor: default;
-}
-
-.icheckbox.disabled.checked {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23F1F2F2' d='M15 12c0 1.6-1.4 3-3 3H4c-1.7 0-3-1.4-3-3V4c0-1.7 1.3-3 3-3h8c1.6 0 3 1.3 3 3v8z'/%3E%3Cpath fill='%23E6E7E8' d='M11.5 4.7c-.2-.2-.5-.1-.7.1l-4.1 5.4-1.5-1.8c-.2-.2-.5-.3-.7-.1-.2.2-.2.5-.1.7l1.9 2.3c.1.1.2.2.4.2.1 0 .3-.1.4-.2l4.5-5.9c.1-.2.1-.5-.1-.7z'/%3E%3C/svg%3E");
-}
-
-.iradio, .iradio.hover {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23FFFFFF' d='M8 14.1c-3.4 0-6.1-2.8-6.1-6.1S4.6 1.9 8 1.9s6.1 2.8 6.1 6.1S11.4 14.1 8 14.1z'/%3E%3Cpath fill='%23D3D3D3' d='M8 2.4c3.1 0 5.6 2.5 5.6 5.6s-2.5 5.6-5.6 5.6S2.4 11.1 2.4 8 4.9 2.4 8 2.4M8 1.4c-3.7 0-6.6 3-6.6 6.6s3 6.6 6.6 6.6 6.6-3 6.6-6.6S11.7 1.4 8 1.4L8 1.4z'/%3E%3C/svg%3E");
-}
-
-.iradio.checked {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23FFFFFF' d='M8 14.1c-3.4 0-6.1-2.8-6.1-6.1S4.6 1.9 8 1.9s6.1 2.8 6.1 6.1S11.4 14.1 8 14.1z'/%3E%3Cpath fill='%234AAFCD' d='M8 2.4c3.1 0 5.6 2.5 5.6 5.6s-2.5 5.6-5.6 5.6S2.4 11.1 2.4 8 4.9 2.4 8 2.4M8 1.4c-3.7 0-6.6 3-6.6 6.6s3 6.6 6.6 6.6 6.6-3 6.6-6.6S11.7 1.4 8 1.4L8 1.4z'/%3E%3Cpath fill='%234AAFCD' d='M8 12.4c-2.4 0-4.4-2-4.4-4.4s2-4.4 4.4-4.4 4.4 2 4.4 4.4S10.4 12.4 8 12.4z'/%3E%3C/svg%3E");
-}
-
-.iradio.disabled {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' d='M0 0h16v16'/%3E%3Ccircle fill='%23D3D3D3' cx='8' cy='8' r='6.6'/%3E%3C/svg%3E");
-}
-
-.iradio.disabled, .iradio.disabled.checked {
- cursor: default;
-}
-
-.iradio.disabled.checked {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23FFFFFF' d='M8 14.1c-3.4 0-6.1-2.8-6.1-6.1S4.6 1.9 8 1.9s6.1 2.8 6.1 6.1S11.4 14.1 8 14.1z'/%3E%3Cpath fill='%23D3D3D3' d='M8 2.4c3.1 0 5.6 2.5 5.6 5.6s-2.5 5.6-5.6 5.6S2.4 11.1 2.4 8 4.9 2.4 8 2.4M8 1.4c-3.7 0-6.6 3-6.6 6.6s3 6.6 6.6 6.6 6.6-3 6.6-6.6S11.7 1.4 8 1.4L8 1.4z'/%3E%3Cpath fill='%23D3D3D3' d='M8 12.4c-2.4 0-4.4-2-4.4-4.4s2-4.4 4.4-4.4 4.4 2 4.4 4.4S10.4 12.4 8 12.4z'/%3E%3C/svg%3E");
-}
-.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,
-.react-datepicker__month-read-view--down-arrow,
-.react-datepicker__month-year-read-view--down-arrow {
- margin-left: -8px;
- position: absolute;
-}
-
-.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,
-.react-datepicker__month-read-view--down-arrow,
-.react-datepicker__month-year-read-view--down-arrow, .react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,
-.react-datepicker__month-read-view--down-arrow::before,
-.react-datepicker__month-year-read-view--down-arrow::before {
- box-sizing: content-box;
- position: absolute;
- border: 8px solid transparent;
- height: 0;
- width: 1px;
-}
-
-.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,
-.react-datepicker__month-read-view--down-arrow::before,
-.react-datepicker__month-year-read-view--down-arrow::before {
- content: "";
- z-index: -1;
- border-width: 8px;
- left: -8px;
- border-bottom-color: #aeaeae;
-}
-
-.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle {
- top: 0;
- margin-top: -8px;
-}
-
-.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before {
- border-top: none;
- border-bottom-color: #f0f0f0;
-}
-
-.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before {
- top: -1px;
- border-bottom-color: #aeaeae;
-}
-
-.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,
-.react-datepicker__month-read-view--down-arrow,
-.react-datepicker__month-year-read-view--down-arrow {
- bottom: 0;
- margin-bottom: -8px;
-}
-
-.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,
-.react-datepicker__month-read-view--down-arrow,
-.react-datepicker__month-year-read-view--down-arrow, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,
-.react-datepicker__month-read-view--down-arrow::before,
-.react-datepicker__month-year-read-view--down-arrow::before {
- border-bottom: none;
- border-top-color: #fff;
-}
-
-.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,
-.react-datepicker__month-read-view--down-arrow::before,
-.react-datepicker__month-year-read-view--down-arrow::before {
- bottom: -1px;
- border-top-color: #aeaeae;
-}
-
-.react-datepicker-wrapper {
- display: inline-block;
-}
-
-.react-datepicker {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 0.8rem;
- background-color: #fff;
- color: #000;
- border: 1px solid #aeaeae;
- border-radius: 0.3rem;
- display: inline-block;
- position: relative;
-}
-
-.react-datepicker--time-only .react-datepicker__triangle {
- left: 35px;
-}
-
-.react-datepicker--time-only .react-datepicker__time-container {
- border-left: 0;
-}
-
-.react-datepicker--time-only .react-datepicker__time {
- border-radius: 0.3rem;
-}
-
-.react-datepicker--time-only .react-datepicker__time-box {
- border-radius: 0.3rem;
-}
-
-.react-datepicker__triangle {
- position: absolute;
- left: 50px;
-}
-
-.react-datepicker-popper {
- z-index: 1;
-}
-
-.react-datepicker-popper[data-placement^="bottom"] {
- margin-top: 10px;
-}
-
-.react-datepicker-popper[data-placement^="top"] {
- margin-bottom: 10px;
-}
-
-.react-datepicker-popper[data-placement^="right"] {
- margin-left: 8px;
-}
-
-.react-datepicker-popper[data-placement^="right"] .react-datepicker__triangle {
- left: auto;
- right: 42px;
-}
-
-.react-datepicker-popper[data-placement^="left"] {
- margin-right: 8px;
-}
-
-.react-datepicker-popper[data-placement^="left"] .react-datepicker__triangle {
- left: 42px;
- right: auto;
-}
-
-.react-datepicker__header {
- text-align: center;
- background-color: #f0f0f0;
- border-bottom: 1px solid #aeaeae;
- border-top-left-radius: 0.3rem;
- border-top-right-radius: 0.3rem;
- padding-top: 8px;
- position: relative;
-}
-
-.react-datepicker__header--time {
- padding-bottom: 8px;
- padding-left: 5px;
- padding-right: 5px;
-}
-
-.react-datepicker__year-dropdown-container--select,
-.react-datepicker__month-dropdown-container--select,
-.react-datepicker__month-year-dropdown-container--select,
-.react-datepicker__year-dropdown-container--scroll,
-.react-datepicker__month-dropdown-container--scroll,
-.react-datepicker__month-year-dropdown-container--scroll {
- display: inline-block;
- margin: 0 2px;
-}
-
-.react-datepicker__current-month,
-.react-datepicker-time__header {
- margin-top: 0;
- color: #000;
- font-weight: bold;
- font-size: 0.944rem;
-}
-
-.react-datepicker-time__header {
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
-}
-
-.react-datepicker__navigation {
- background: none;
- line-height: 1.7rem;
- text-align: center;
- cursor: pointer;
- position: absolute;
- top: 10px;
- width: 0;
- padding: 0;
- border: 0.45rem solid transparent;
- z-index: 1;
- height: 10px;
- width: 10px;
- text-indent: -999em;
- overflow: hidden;
-}
-
-.react-datepicker__navigation--previous {
- left: 10px;
- border-right-color: #ccc;
-}
-
-.react-datepicker__navigation--previous:hover {
- border-right-color: #b3b3b3;
-}
-
-.react-datepicker__navigation--previous--disabled, .react-datepicker__navigation--previous--disabled:hover {
- border-right-color: #e6e6e6;
- cursor: default;
-}
-
-.react-datepicker__navigation--next {
- right: 10px;
- border-left-color: #ccc;
-}
-
-.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {
- right: 80px;
-}
-
-.react-datepicker__navigation--next:hover {
- border-left-color: #b3b3b3;
-}
-
-.react-datepicker__navigation--next--disabled, .react-datepicker__navigation--next--disabled:hover {
- border-left-color: #e6e6e6;
- cursor: default;
-}
-
-.react-datepicker__navigation--years {
- position: relative;
- top: 0;
- display: block;
- margin-left: auto;
- margin-right: auto;
-}
-
-.react-datepicker__navigation--years-previous {
- top: 4px;
- border-top-color: #ccc;
-}
-
-.react-datepicker__navigation--years-previous:hover {
- border-top-color: #b3b3b3;
-}
-
-.react-datepicker__navigation--years-upcoming {
- top: -4px;
- border-bottom-color: #ccc;
-}
-
-.react-datepicker__navigation--years-upcoming:hover {
- border-bottom-color: #b3b3b3;
-}
-
-.react-datepicker__month-container {
- float: left;
-}
-
-.react-datepicker__month {
- margin: 0.4rem;
- text-align: center;
-}
-
-.react-datepicker__time-container {
- float: right;
- border-left: 1px solid #aeaeae;
- width: 70px;
-}
-
-.react-datepicker__time-container--with-today-button {
- display: inline;
- border: 1px solid #aeaeae;
- border-radius: 0.3rem;
- position: absolute;
- right: -72px;
- top: 0;
-}
-
-.react-datepicker__time-container .react-datepicker__time {
- position: relative;
- background: white;
-}
-
-.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {
- width: 70px;
- overflow-x: hidden;
- margin: 0 auto;
- text-align: center;
-}
-
-.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
- list-style: none;
- margin: 0;
- height: calc(195px + (1.7rem / 2));
- overflow-y: scroll;
- padding-right: 30px;
- width: 100%;
- box-sizing: content-box;
-}
-
-.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {
- padding: 5px 10px;
-}
-
-.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {
- cursor: pointer;
- background-color: #f0f0f0;
-}
-
-.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {
- background-color: #216ba5;
- color: white;
- font-weight: bold;
-}
-
-.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {
- background-color: #216ba5;
-}
-
-.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {
- color: #ccc;
-}
-
-.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {
- cursor: default;
- background-color: transparent;
-}
-
-.react-datepicker__week-number {
- color: #ccc;
- display: inline-block;
- width: 1.7rem;
- line-height: 1.7rem;
- text-align: center;
- margin: 0.166rem;
-}
-
-.react-datepicker__week-number.react-datepicker__week-number--clickable {
- cursor: pointer;
-}
-
-.react-datepicker__week-number.react-datepicker__week-number--clickable:hover {
- border-radius: 0.3rem;
- background-color: #f0f0f0;
-}
-
-.react-datepicker__day-names,
-.react-datepicker__week {
- white-space: nowrap;
-}
-
-.react-datepicker__day-name,
-.react-datepicker__day,
-.react-datepicker__time-name {
- color: #000;
- display: inline-block;
- width: 1.7rem;
- line-height: 1.7rem;
- text-align: center;
- margin: 0.166rem;
-}
-
-.react-datepicker__day {
- cursor: pointer;
-}
-
-.react-datepicker__day:hover {
- border-radius: 0.3rem;
- background-color: #f0f0f0;
-}
-
-.react-datepicker__day--today {
- font-weight: bold;
-}
-
-.react-datepicker__day--highlighted {
- border-radius: 0.3rem;
- background-color: #3dcc4a;
- color: #fff;
-}
-
-.react-datepicker__day--highlighted:hover {
- background-color: #32be3f;
-}
-
-.react-datepicker__day--highlighted-custom-1 {
- color: magenta;
-}
-
-.react-datepicker__day--highlighted-custom-2 {
- color: green;
-}
-
-.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range {
- border-radius: 0.3rem;
- background-color: #216ba5;
- color: #fff;
-}
-
-.react-datepicker__day--selected:hover, .react-datepicker__day--in-selecting-range:hover, .react-datepicker__day--in-range:hover {
- background-color: #1d5d90;
-}
-
-.react-datepicker__day--keyboard-selected {
- border-radius: 0.3rem;
- background-color: #2a87d0;
- color: #fff;
-}
-
-.react-datepicker__day--keyboard-selected:hover {
- background-color: #1d5d90;
-}
-
-.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range) {
- background-color: rgba(33, 107, 165, 0.5);
-}
-
-.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range) {
- background-color: #f0f0f0;
- color: #000;
-}
-
-.react-datepicker__day--disabled {
- cursor: default;
- color: #ccc;
-}
-
-.react-datepicker__day--disabled:hover {
- background-color: transparent;
-}
-
-.react-datepicker__input-container {
- position: relative;
- display: inline-block;
-}
-
-.react-datepicker__year-read-view,
-.react-datepicker__month-read-view,
-.react-datepicker__month-year-read-view {
- border: 1px solid transparent;
- border-radius: 0.3rem;
-}
-
-.react-datepicker__year-read-view:hover,
-.react-datepicker__month-read-view:hover,
-.react-datepicker__month-year-read-view:hover {
- cursor: pointer;
-}
-
-.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,
-.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,
-.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,
-.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,
-.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,
-.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {
- border-top-color: #b3b3b3;
-}
-
-.react-datepicker__year-read-view--down-arrow,
-.react-datepicker__month-read-view--down-arrow,
-.react-datepicker__month-year-read-view--down-arrow {
- border-top-color: #ccc;
- float: right;
- margin-left: 20px;
- top: 8px;
- position: relative;
- border-width: 0.45rem;
-}
-
-.react-datepicker__year-dropdown,
-.react-datepicker__month-dropdown,
-.react-datepicker__month-year-dropdown {
- background-color: #f0f0f0;
- position: absolute;
- width: 50%;
- left: 25%;
- top: 30px;
- z-index: 1;
- text-align: center;
- border-radius: 0.3rem;
- border: 1px solid #aeaeae;
-}
-
-.react-datepicker__year-dropdown:hover,
-.react-datepicker__month-dropdown:hover,
-.react-datepicker__month-year-dropdown:hover {
- cursor: pointer;
-}
-
-.react-datepicker__year-dropdown--scrollable,
-.react-datepicker__month-dropdown--scrollable,
-.react-datepicker__month-year-dropdown--scrollable {
- height: 150px;
- overflow-y: scroll;
-}
-
-.react-datepicker__year-option,
-.react-datepicker__month-option,
-.react-datepicker__month-year-option {
- line-height: 20px;
- width: 100%;
- display: block;
- margin-left: auto;
- margin-right: auto;
-}
-
-.react-datepicker__year-option:first-of-type,
-.react-datepicker__month-option:first-of-type,
-.react-datepicker__month-year-option:first-of-type {
- border-top-left-radius: 0.3rem;
- border-top-right-radius: 0.3rem;
-}
-
-.react-datepicker__year-option:last-of-type,
-.react-datepicker__month-option:last-of-type,
-.react-datepicker__month-year-option:last-of-type {
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- border-bottom-left-radius: 0.3rem;
- border-bottom-right-radius: 0.3rem;
-}
-
-.react-datepicker__year-option:hover,
-.react-datepicker__month-option:hover,
-.react-datepicker__month-year-option:hover {
- background-color: #ccc;
-}
-
-.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,
-.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,
-.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {
- border-bottom-color: #b3b3b3;
-}
-
-.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,
-.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,
-.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {
- border-top-color: #b3b3b3;
-}
-
-.react-datepicker__year-option--selected,
-.react-datepicker__month-option--selected,
-.react-datepicker__month-year-option--selected {
- position: absolute;
- left: 15px;
-}
-
-.react-datepicker__close-icon {
- background-color: transparent;
- border: 0;
- cursor: pointer;
- outline: 0;
- padding: 0;
- vertical-align: middle;
- position: absolute;
- height: 16px;
- width: 16px;
- top: 25%;
- right: 7px;
-}
-
-.react-datepicker__close-icon::after {
- background-color: #216ba5;
- border-radius: 50%;
- bottom: 0;
- box-sizing: border-box;
- color: #fff;
- content: "\D7";
- cursor: pointer;
- font-size: 12px;
- height: 16px;
- width: 16px;
- line-height: 1;
- margin: -8px auto 0;
- padding: 2px;
- position: absolute;
- right: 0px;
- text-align: center;
-}
-
-.react-datepicker__today-button {
- background: #f0f0f0;
- border-top: 1px solid #aeaeae;
- cursor: pointer;
- text-align: center;
- font-weight: bold;
- padding: 5px 0;
- clear: left;
-}
-
-.react-datepicker__portal {
- position: fixed;
- width: 100vw;
- height: 100vh;
- background-color: rgba(0, 0, 0, 0.8);
- left: 0;
- top: 0;
- justify-content: center;
- align-items: center;
- display: flex;
- z-index: 2147483647;
-}
-
-.react-datepicker__portal .react-datepicker__day-name,
-.react-datepicker__portal .react-datepicker__day,
-.react-datepicker__portal .react-datepicker__time-name {
- width: 3rem;
- line-height: 3rem;
-}
-
-@media (max-width: 400px), (max-height: 550px) {
- .react-datepicker__portal .react-datepicker__day-name,
- .react-datepicker__portal .react-datepicker__day,
- .react-datepicker__portal .react-datepicker__time-name {
- width: 2rem;
- line-height: 2rem;
- }
-}
-
-.react-datepicker__portal .react-datepicker__current-month,
-.react-datepicker__portal .react-datepicker-time__header {
- font-size: 1.44rem;
-}
-
-.react-datepicker__portal .react-datepicker__navigation {
- border: 0.81rem solid transparent;
-}
-
-.react-datepicker__portal .react-datepicker__navigation--previous {
- border-right-color: #ccc;
-}
-
-.react-datepicker__portal .react-datepicker__navigation--previous:hover {
- border-right-color: #b3b3b3;
-}
-
-.react-datepicker__portal .react-datepicker__navigation--previous--disabled, .react-datepicker__portal .react-datepicker__navigation--previous--disabled:hover {
- border-right-color: #e6e6e6;
- cursor: default;
-}
-
-.react-datepicker__portal .react-datepicker__navigation--next {
- border-left-color: #ccc;
-}
-
-.react-datepicker__portal .react-datepicker__navigation--next:hover {
- border-left-color: #b3b3b3;
-}
-
-.react-datepicker__portal .react-datepicker__navigation--next--disabled, .react-datepicker__portal .react-datepicker__navigation--next--disabled:hover {
- border-left-color: #e6e6e6;
- cursor: default;
-}
-/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
-html {
- font-family: sans-serif;
- -ms-text-size-adjust: 100%;
- -webkit-text-size-adjust: 100%;
-}
-
-body {
- margin: 0;
-}
-
-article,
-aside,
-details,
-figcaption,
-figure,
-footer,
-header,
-hgroup,
-main,
-menu,
-nav,
-section,
-summary {
- display: block;
-}
-
-audio,
-canvas,
-progress,
-video {
- display: inline-block;
- vertical-align: baseline;
-}
-
-audio:not([controls]) {
- display: none;
- height: 0;
-}
-
-[hidden],
-template {
- display: none;
-}
-
-a {
- background-color: transparent;
-}
-
-a:active,
-a:hover {
- outline: 0;
-}
-
-abbr[title] {
- border-bottom: none;
- text-decoration: underline;
- -webkit-text-decoration: underline dotted;
- text-decoration: underline dotted;
-}
-
-b,
-strong {
- font-weight: bold;
-}
-
-dfn {
- font-style: italic;
-}
-
-h1 {
- font-size: 2em;
- margin: 0.67em 0;
-}
-
-mark {
- background: #ff0;
- color: #000;
-}
-
-small {
- font-size: 80%;
-}
-
-sub,
-sup {
- font-size: 75%;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
-}
-
-sup {
- top: -0.5em;
-}
-
-sub {
- bottom: -0.25em;
-}
-
-img {
- border: 0;
-}
-
-svg:not(:root) {
- overflow: hidden;
-}
-
-figure {
- margin: 1em 40px;
-}
-
-hr {
- -webkit-box-sizing: content-box;
- box-sizing: content-box;
- height: 0;
-}
-
-pre {
- overflow: auto;
-}
-
-code,
-kbd,
-pre,
-samp {
- font-family: monospace, monospace;
- font-size: 1em;
-}
-
-button,
-input,
-optgroup,
-select,
-textarea {
- color: inherit;
- font: inherit;
- margin: 0;
-}
-
-button {
- overflow: visible;
-}
-
-button,
-select {
- text-transform: none;
-}
-
-button,
-html input[type="button"],
-input[type="reset"],
-input[type="submit"] {
- -webkit-appearance: button;
- cursor: pointer;
-}
-
-button[disabled],
-html input[disabled] {
- cursor: default;
-}
-
-button::-moz-focus-inner,
-input::-moz-focus-inner {
- border: 0;
- padding: 0;
-}
-
-input {
- line-height: normal;
-}
-
-input[type="checkbox"],
-input[type="radio"] {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- padding: 0;
-}
-
-input[type="number"]::-webkit-inner-spin-button,
-input[type="number"]::-webkit-outer-spin-button {
- height: auto;
-}
-
-input[type="search"] {
- -webkit-appearance: textfield;
- -webkit-box-sizing: content-box;
- box-sizing: content-box;
-}
-
-input[type="search"]::-webkit-search-cancel-button,
-input[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none;
-}
-
-fieldset {
- border: 1px solid #c0c0c0;
- margin: 0 2px;
- padding: 0.35em 0.625em 0.75em;
-}
-
-legend {
- border: 0;
- padding: 0;
-}
-
-textarea {
- overflow: auto;
-}
-
-optgroup {
- font-weight: bold;
-}
-
-table {
- border-collapse: collapse;
- border-spacing: 0;
-}
-
-td,
-th {
- padding: 0;
-}
-
-* {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-*:before,
-*:after {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-html {
- font-size: 10px;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-}
-
-body {
- font-family: Roboto, Helvetica, sans-serif;
- font-size: 12px;
- line-height: 1.5;
- color: #333;
- background-color: #fff;
-}
-
-input,
-button,
-select,
-textarea {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
-}
-
-a {
- color: #006dcc;
- text-decoration: none;
-}
-
-a:hover, a:focus {
- color: #1950a3;
- text-decoration: underline;
-}
-
-a:focus {
- outline: none;
-}
-
-figure {
- margin: 0;
-}
-
-img {
- vertical-align: middle;
-}
-
-.img-responsive {
- display: block;
- max-width: 100%;
- height: auto;
-}
-
-.img-rounded {
- border-radius: 2px;
-}
-
-.img-thumbnail {
- padding: 4px;
- line-height: 1.5;
- background-color: #fff;
- border: 1px solid #ddd;
- border-radius: 2px;
- -webkit-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;
- display: inline-block;
- max-width: 100%;
- height: auto;
-}
-
-.img-circle {
- border-radius: 50%;
-}
-
-hr {
- margin-top: 18px;
- margin-bottom: 18px;
- border: 0;
- border-top: 1px solid #e8e8e8;
-}
-
-.sr-only {
- position: absolute;
- width: 1px;
- height: 1px;
- padding: 0;
- margin: -1px;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- border: 0;
-}
-
-.sr-only-focusable:active, .sr-only-focusable:focus {
- position: static;
- width: auto;
- height: auto;
- margin: 0;
- overflow: visible;
- clip: auto;
-}
-
-[role="button"] {
- cursor: pointer;
-}
-
-h1, h2, h3, h4, h5, h6,
-.h1, .h2, .h3, .h4, .h5, .h6 {
- font-family: inherit;
- font-weight: 500;
- line-height: 1.1;
- color: inherit;
-}
-
-h1 small,
-h1 .small, h2 small,
-h2 .small, h3 small,
-h3 .small, h4 small,
-h4 .small, h5 small,
-h5 .small, h6 small,
-h6 .small,
-.h1 small,
-.h1 .small, .h2 small,
-.h2 .small, .h3 small,
-.h3 .small, .h4 small,
-.h4 .small, .h5 small,
-.h5 .small, .h6 small,
-.h6 .small {
- font-weight: 400;
- line-height: 1;
- color: #838383;
-}
-
-h1, .h1,
-h2, .h2,
-h3, .h3 {
- margin-top: 18px;
- margin-bottom: 9px;
-}
-
-h1 small,
-h1 .small, .h1 small,
-.h1 .small,
-h2 small,
-h2 .small, .h2 small,
-.h2 .small,
-h3 small,
-h3 .small, .h3 small,
-.h3 .small {
- font-size: 65%;
-}
-
-h4, .h4,
-h5, .h5,
-h6, .h6 {
- margin-top: 9px;
- margin-bottom: 9px;
-}
-
-h4 small,
-h4 .small, .h4 small,
-.h4 .small,
-h5 small,
-h5 .small, .h5 small,
-.h5 .small,
-h6 small,
-h6 .small, .h6 small,
-.h6 .small {
- font-size: 75%;
-}
-
-h1, .h1 {
- font-size: 31px;
-}
-
-h2, .h2 {
- font-size: 25px;
-}
-
-h3, .h3 {
- font-size: 21px;
-}
-
-h4, .h4 {
- font-size: 15px;
-}
-
-h5, .h5 {
- font-size: 12px;
-}
-
-h6, .h6 {
- font-size: 11px;
-}
-
-p {
- margin: 0 0 9px;
-}
-
-.lead {
- margin-bottom: 18px;
- font-size: 13px;
- font-weight: 300;
- line-height: 1.4;
-}
-
-@media (min-width: 768px) {
- .lead {
- font-size: 18px;
- }
-}
-
-small,
-.small {
- font-size: 91%;
-}
-
-mark,
-.mark {
- padding: .2em;
- background-color: #faa732;
-}
-
-.text-left {
- text-align: left;
-}
-
-.text-right {
- text-align: right;
-}
-
-.text-center {
- text-align: center;
-}
-
-.text-justify {
- text-align: justify;
-}
-
-.text-nowrap {
- white-space: nowrap;
-}
-
-.text-lowercase {
- text-transform: lowercase;
-}
-
-.text-uppercase, .initialism {
- text-transform: uppercase;
-}
-
-.text-capitalize {
- text-transform: capitalize;
-}
-
-.text-muted {
- color: #838383;
-}
-
-.text-primary {
- color: #006dcc;
-}
-
-a.text-primary:hover,
-a.text-primary:focus {
- color: #005299;
-}
-
-.text-success {
- color: #5bb75b;
-}
-
-a.text-success:hover,
-a.text-success:focus {
- color: #449b44;
-}
-
-.text-info {
- color: #49afcd;
-}
-
-a.text-info:hover,
-a.text-info:focus {
- color: #3195b2;
-}
-
-.text-warning {
- color: #faa732;
-}
-
-a.text-warning:hover,
-a.text-warning:focus {
- color: #f39106;
-}
-
-.text-danger {
- color: #da4f49;
-}
-
-a.text-danger:hover,
-a.text-danger:focus {
- color: #c72f29;
-}
-
-.bg-primary {
- color: #fff;
-}
-
-.bg-primary {
- background-color: #006dcc;
-}
-
-a.bg-primary:hover,
-a.bg-primary:focus {
- background-color: #005299;
-}
-
-.bg-success {
- background-color: #5bb75b;
-}
-
-a.bg-success:hover,
-a.bg-success:focus {
- background-color: #449b44;
-}
-
-.bg-info {
- background-color: #49afcd;
-}
-
-a.bg-info:hover,
-a.bg-info:focus {
- background-color: #3195b2;
-}
-
-.bg-warning {
- background-color: #faa732;
-}
-
-a.bg-warning:hover,
-a.bg-warning:focus {
- background-color: #f39106;
-}
-
-.bg-danger {
- background-color: #da4f49;
-}
-
-a.bg-danger:hover,
-a.bg-danger:focus {
- background-color: #c72f29;
-}
-
-.page-header {
- padding-bottom: 8px;
- margin: 36px 0 18px;
- border-bottom: 1px solid #e8e8e8;
-}
-
-ul,
-ol {
- margin-top: 0;
- margin-bottom: 9px;
-}
-
-ul ul,
-ul ol,
-ol ul,
-ol ol {
- margin-bottom: 0;
-}
-
-.list-unstyled {
- padding-left: 0;
- list-style: none;
-}
-
-.list-inline {
- padding-left: 0;
- list-style: none;
- margin-left: -5px;
-}
-
-.list-inline > li {
- display: inline-block;
- padding-right: 5px;
- padding-left: 5px;
-}
-
-dl {
- margin-top: 0;
- margin-bottom: 18px;
-}
-
-dt,
-dd {
- line-height: 1.5;
-}
-
-dt {
- font-weight: 700;
-}
-
-dd {
- margin-left: 0;
-}
-
-.dl-horizontal dd:before, .dl-horizontal dd:after {
- display: table;
- content: " ";
-}
-
-.dl-horizontal dd:after {
- clear: both;
-}
-
-@media (min-width: 0) {
- .dl-horizontal dt {
- float: left;
- width: 160px;
- clear: left;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .dl-horizontal dd {
- margin-left: 180px;
- }
-}
-
-abbr[title],
-abbr[data-original-title] {
- cursor: help;
-}
-
-.initialism {
- font-size: 90%;
-}
-
-blockquote {
- padding: 9px 18px;
- margin: 0 0 18px;
- font-size: 15px;
- border-left: 5px solid #e8e8e8;
-}
-
-blockquote p:last-child,
-blockquote ul:last-child,
-blockquote ol:last-child {
- margin-bottom: 0;
-}
-
-blockquote footer,
-blockquote small,
-blockquote .small {
- display: block;
- font-size: 80%;
- line-height: 1.5;
- color: #838383;
-}
-
-blockquote footer:before,
-blockquote small:before,
-blockquote .small:before {
- content: "\2014 \A0";
-}
-
-.blockquote-reverse,
-blockquote.pull-right {
- padding-right: 15px;
- padding-left: 0;
- text-align: right;
- border-right: 5px solid #e8e8e8;
- border-left: 0;
-}
-
-.blockquote-reverse footer:before,
-.blockquote-reverse small:before,
-.blockquote-reverse .small:before,
-blockquote.pull-right footer:before,
-blockquote.pull-right small:before,
-blockquote.pull-right .small:before {
- content: "";
-}
-
-.blockquote-reverse footer:after,
-.blockquote-reverse small:after,
-.blockquote-reverse .small:after,
-blockquote.pull-right footer:after,
-blockquote.pull-right small:after,
-blockquote.pull-right .small:after {
- content: "\A0 \2014";
-}
-
-address {
- margin-bottom: 18px;
- font-style: normal;
- line-height: 1.5;
-}
-
-.container {
- padding-right: 10px;
- padding-left: 10px;
- margin-right: auto;
- margin-left: auto;
-}
-
-.container:before, .container:after {
- display: table;
- content: " ";
-}
-
-.container:after {
- clear: both;
-}
-
-@media (min-width: 768px) {
- .container {
- width: 740px;
- }
-}
-
-@media (min-width: 992px) {
- .container {
- width: 960px;
- }
-}
-
-@media (min-width: 1200px) {
- .container {
- width: 1160px;
- }
-}
-
-.container-fluid {
- padding-right: 10px;
- padding-left: 10px;
- margin-right: auto;
- margin-left: auto;
-}
-
-.container-fluid:before, .container-fluid:after {
- display: table;
- content: " ";
-}
-
-.container-fluid:after {
- clear: both;
-}
-
-.row {
- margin-right: -10px;
- margin-left: -10px;
-}
-
-.row:before, .row:after {
- display: table;
- content: " ";
-}
-
-.row:after {
- clear: both;
-}
-
-.row-no-gutters {
- margin-right: 0;
- margin-left: 0;
-}
-
-.row-no-gutters [class*="col-"] {
- padding-right: 0;
- padding-left: 0;
-}
-
-.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
- position: relative;
- min-height: 1px;
- padding-right: 10px;
- padding-left: 10px;
-}
-
-.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
- float: left;
-}
-
-.col-xs-1 {
- width: 8.33333%;
-}
-
-.col-xs-2 {
- width: 16.66667%;
-}
-
-.col-xs-3 {
- width: 25%;
-}
-
-.col-xs-4 {
- width: 33.33333%;
-}
-
-.col-xs-5 {
- width: 41.66667%;
-}
-
-.col-xs-6 {
- width: 50%;
-}
-
-.col-xs-7 {
- width: 58.33333%;
-}
-
-.col-xs-8 {
- width: 66.66667%;
-}
-
-.col-xs-9 {
- width: 75%;
-}
-
-.col-xs-10 {
- width: 83.33333%;
-}
-
-.col-xs-11 {
- width: 91.66667%;
-}
-
-.col-xs-12 {
- width: 100%;
-}
-
-.col-xs-pull-0 {
- right: auto;
-}
-
-.col-xs-pull-1 {
- right: 8.33333%;
-}
-
-.col-xs-pull-2 {
- right: 16.66667%;
-}
-
-.col-xs-pull-3 {
- right: 25%;
-}
-
-.col-xs-pull-4 {
- right: 33.33333%;
-}
-
-.col-xs-pull-5 {
- right: 41.66667%;
-}
-
-.col-xs-pull-6 {
- right: 50%;
-}
-
-.col-xs-pull-7 {
- right: 58.33333%;
-}
-
-.col-xs-pull-8 {
- right: 66.66667%;
-}
-
-.col-xs-pull-9 {
- right: 75%;
-}
-
-.col-xs-pull-10 {
- right: 83.33333%;
-}
-
-.col-xs-pull-11 {
- right: 91.66667%;
-}
-
-.col-xs-pull-12 {
- right: 100%;
-}
-
-.col-xs-push-0 {
- left: auto;
-}
-
-.col-xs-push-1 {
- left: 8.33333%;
-}
-
-.col-xs-push-2 {
- left: 16.66667%;
-}
-
-.col-xs-push-3 {
- left: 25%;
-}
-
-.col-xs-push-4 {
- left: 33.33333%;
-}
-
-.col-xs-push-5 {
- left: 41.66667%;
-}
-
-.col-xs-push-6 {
- left: 50%;
-}
-
-.col-xs-push-7 {
- left: 58.33333%;
-}
-
-.col-xs-push-8 {
- left: 66.66667%;
-}
-
-.col-xs-push-9 {
- left: 75%;
-}
-
-.col-xs-push-10 {
- left: 83.33333%;
-}
-
-.col-xs-push-11 {
- left: 91.66667%;
-}
-
-.col-xs-push-12 {
- left: 100%;
-}
-
-.col-xs-offset-0 {
- margin-left: 0%;
-}
-
-.col-xs-offset-1 {
- margin-left: 8.33333%;
-}
-
-.col-xs-offset-2 {
- margin-left: 16.66667%;
-}
-
-.col-xs-offset-3 {
- margin-left: 25%;
-}
-
-.col-xs-offset-4 {
- margin-left: 33.33333%;
-}
-
-.col-xs-offset-5 {
- margin-left: 41.66667%;
-}
-
-.col-xs-offset-6 {
- margin-left: 50%;
-}
-
-.col-xs-offset-7 {
- margin-left: 58.33333%;
-}
-
-.col-xs-offset-8 {
- margin-left: 66.66667%;
-}
-
-.col-xs-offset-9 {
- margin-left: 75%;
-}
-
-.col-xs-offset-10 {
- margin-left: 83.33333%;
-}
-
-.col-xs-offset-11 {
- margin-left: 91.66667%;
-}
-
-.col-xs-offset-12 {
- margin-left: 100%;
-}
-
-@media (min-width: 768px) {
- .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
- float: left;
- }
- .col-sm-1 {
- width: 8.33333%;
- }
- .col-sm-2 {
- width: 16.66667%;
- }
- .col-sm-3 {
- width: 25%;
- }
- .col-sm-4 {
- width: 33.33333%;
- }
- .col-sm-5 {
- width: 41.66667%;
- }
- .col-sm-6 {
- width: 50%;
- }
- .col-sm-7 {
- width: 58.33333%;
- }
- .col-sm-8 {
- width: 66.66667%;
- }
- .col-sm-9 {
- width: 75%;
- }
- .col-sm-10 {
- width: 83.33333%;
- }
- .col-sm-11 {
- width: 91.66667%;
- }
- .col-sm-12 {
- width: 100%;
- }
- .col-sm-pull-0 {
- right: auto;
- }
- .col-sm-pull-1 {
- right: 8.33333%;
- }
- .col-sm-pull-2 {
- right: 16.66667%;
- }
- .col-sm-pull-3 {
- right: 25%;
- }
- .col-sm-pull-4 {
- right: 33.33333%;
- }
- .col-sm-pull-5 {
- right: 41.66667%;
- }
- .col-sm-pull-6 {
- right: 50%;
- }
- .col-sm-pull-7 {
- right: 58.33333%;
- }
- .col-sm-pull-8 {
- right: 66.66667%;
- }
- .col-sm-pull-9 {
- right: 75%;
- }
- .col-sm-pull-10 {
- right: 83.33333%;
- }
- .col-sm-pull-11 {
- right: 91.66667%;
- }
- .col-sm-pull-12 {
- right: 100%;
- }
- .col-sm-push-0 {
- left: auto;
- }
- .col-sm-push-1 {
- left: 8.33333%;
- }
- .col-sm-push-2 {
- left: 16.66667%;
- }
- .col-sm-push-3 {
- left: 25%;
- }
- .col-sm-push-4 {
- left: 33.33333%;
- }
- .col-sm-push-5 {
- left: 41.66667%;
- }
- .col-sm-push-6 {
- left: 50%;
- }
- .col-sm-push-7 {
- left: 58.33333%;
- }
- .col-sm-push-8 {
- left: 66.66667%;
- }
- .col-sm-push-9 {
- left: 75%;
- }
- .col-sm-push-10 {
- left: 83.33333%;
- }
- .col-sm-push-11 {
- left: 91.66667%;
- }
- .col-sm-push-12 {
- left: 100%;
- }
- .col-sm-offset-0 {
- margin-left: 0%;
- }
- .col-sm-offset-1 {
- margin-left: 8.33333%;
- }
- .col-sm-offset-2 {
- margin-left: 16.66667%;
- }
- .col-sm-offset-3 {
- margin-left: 25%;
- }
- .col-sm-offset-4 {
- margin-left: 33.33333%;
- }
- .col-sm-offset-5 {
- margin-left: 41.66667%;
- }
- .col-sm-offset-6 {
- margin-left: 50%;
- }
- .col-sm-offset-7 {
- margin-left: 58.33333%;
- }
- .col-sm-offset-8 {
- margin-left: 66.66667%;
- }
- .col-sm-offset-9 {
- margin-left: 75%;
- }
- .col-sm-offset-10 {
- margin-left: 83.33333%;
- }
- .col-sm-offset-11 {
- margin-left: 91.66667%;
- }
- .col-sm-offset-12 {
- margin-left: 100%;
- }
-}
-
-@media (min-width: 992px) {
- .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
- float: left;
- }
- .col-md-1 {
- width: 8.33333%;
- }
- .col-md-2 {
- width: 16.66667%;
- }
- .col-md-3 {
- width: 25%;
- }
- .col-md-4 {
- width: 33.33333%;
- }
- .col-md-5 {
- width: 41.66667%;
- }
- .col-md-6 {
- width: 50%;
- }
- .col-md-7 {
- width: 58.33333%;
- }
- .col-md-8 {
- width: 66.66667%;
- }
- .col-md-9 {
- width: 75%;
- }
- .col-md-10 {
- width: 83.33333%;
- }
- .col-md-11 {
- width: 91.66667%;
- }
- .col-md-12 {
- width: 100%;
- }
- .col-md-pull-0 {
- right: auto;
- }
- .col-md-pull-1 {
- right: 8.33333%;
- }
- .col-md-pull-2 {
- right: 16.66667%;
- }
- .col-md-pull-3 {
- right: 25%;
- }
- .col-md-pull-4 {
- right: 33.33333%;
- }
- .col-md-pull-5 {
- right: 41.66667%;
- }
- .col-md-pull-6 {
- right: 50%;
- }
- .col-md-pull-7 {
- right: 58.33333%;
- }
- .col-md-pull-8 {
- right: 66.66667%;
- }
- .col-md-pull-9 {
- right: 75%;
- }
- .col-md-pull-10 {
- right: 83.33333%;
- }
- .col-md-pull-11 {
- right: 91.66667%;
- }
- .col-md-pull-12 {
- right: 100%;
- }
- .col-md-push-0 {
- left: auto;
- }
- .col-md-push-1 {
- left: 8.33333%;
- }
- .col-md-push-2 {
- left: 16.66667%;
- }
- .col-md-push-3 {
- left: 25%;
- }
- .col-md-push-4 {
- left: 33.33333%;
- }
- .col-md-push-5 {
- left: 41.66667%;
- }
- .col-md-push-6 {
- left: 50%;
- }
- .col-md-push-7 {
- left: 58.33333%;
- }
- .col-md-push-8 {
- left: 66.66667%;
- }
- .col-md-push-9 {
- left: 75%;
- }
- .col-md-push-10 {
- left: 83.33333%;
- }
- .col-md-push-11 {
- left: 91.66667%;
- }
- .col-md-push-12 {
- left: 100%;
- }
- .col-md-offset-0 {
- margin-left: 0%;
- }
- .col-md-offset-1 {
- margin-left: 8.33333%;
- }
- .col-md-offset-2 {
- margin-left: 16.66667%;
- }
- .col-md-offset-3 {
- margin-left: 25%;
- }
- .col-md-offset-4 {
- margin-left: 33.33333%;
- }
- .col-md-offset-5 {
- margin-left: 41.66667%;
- }
- .col-md-offset-6 {
- margin-left: 50%;
- }
- .col-md-offset-7 {
- margin-left: 58.33333%;
- }
- .col-md-offset-8 {
- margin-left: 66.66667%;
- }
- .col-md-offset-9 {
- margin-left: 75%;
- }
- .col-md-offset-10 {
- margin-left: 83.33333%;
- }
- .col-md-offset-11 {
- margin-left: 91.66667%;
- }
- .col-md-offset-12 {
- margin-left: 100%;
- }
-}
-
-@media (min-width: 1200px) {
- .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
- float: left;
- }
- .col-lg-1 {
- width: 8.33333%;
- }
- .col-lg-2 {
- width: 16.66667%;
- }
- .col-lg-3 {
- width: 25%;
- }
- .col-lg-4 {
- width: 33.33333%;
- }
- .col-lg-5 {
- width: 41.66667%;
- }
- .col-lg-6 {
- width: 50%;
- }
- .col-lg-7 {
- width: 58.33333%;
- }
- .col-lg-8 {
- width: 66.66667%;
- }
- .col-lg-9 {
- width: 75%;
- }
- .col-lg-10 {
- width: 83.33333%;
- }
- .col-lg-11 {
- width: 91.66667%;
- }
- .col-lg-12 {
- width: 100%;
- }
- .col-lg-pull-0 {
- right: auto;
- }
- .col-lg-pull-1 {
- right: 8.33333%;
- }
- .col-lg-pull-2 {
- right: 16.66667%;
- }
- .col-lg-pull-3 {
- right: 25%;
- }
- .col-lg-pull-4 {
- right: 33.33333%;
- }
- .col-lg-pull-5 {
- right: 41.66667%;
- }
- .col-lg-pull-6 {
- right: 50%;
- }
- .col-lg-pull-7 {
- right: 58.33333%;
- }
- .col-lg-pull-8 {
- right: 66.66667%;
- }
- .col-lg-pull-9 {
- right: 75%;
- }
- .col-lg-pull-10 {
- right: 83.33333%;
- }
- .col-lg-pull-11 {
- right: 91.66667%;
- }
- .col-lg-pull-12 {
- right: 100%;
- }
- .col-lg-push-0 {
- left: auto;
- }
- .col-lg-push-1 {
- left: 8.33333%;
- }
- .col-lg-push-2 {
- left: 16.66667%;
- }
- .col-lg-push-3 {
- left: 25%;
- }
- .col-lg-push-4 {
- left: 33.33333%;
- }
- .col-lg-push-5 {
- left: 41.66667%;
- }
- .col-lg-push-6 {
- left: 50%;
- }
- .col-lg-push-7 {
- left: 58.33333%;
- }
- .col-lg-push-8 {
- left: 66.66667%;
- }
- .col-lg-push-9 {
- left: 75%;
- }
- .col-lg-push-10 {
- left: 83.33333%;
- }
- .col-lg-push-11 {
- left: 91.66667%;
- }
- .col-lg-push-12 {
- left: 100%;
- }
- .col-lg-offset-0 {
- margin-left: 0%;
- }
- .col-lg-offset-1 {
- margin-left: 8.33333%;
- }
- .col-lg-offset-2 {
- margin-left: 16.66667%;
- }
- .col-lg-offset-3 {
- margin-left: 25%;
- }
- .col-lg-offset-4 {
- margin-left: 33.33333%;
- }
- .col-lg-offset-5 {
- margin-left: 41.66667%;
- }
- .col-lg-offset-6 {
- margin-left: 50%;
- }
- .col-lg-offset-7 {
- margin-left: 58.33333%;
- }
- .col-lg-offset-8 {
- margin-left: 66.66667%;
- }
- .col-lg-offset-9 {
- margin-left: 75%;
- }
- .col-lg-offset-10 {
- margin-left: 83.33333%;
- }
- .col-lg-offset-11 {
- margin-left: 91.66667%;
- }
- .col-lg-offset-12 {
- margin-left: 100%;
- }
-}
-
-table {
- background-color: transparent;
-}
-
-table col[class*="col-"] {
- position: static;
- display: table-column;
- float: none;
-}
-
-table td[class*="col-"],
-table th[class*="col-"] {
- position: static;
- display: table-cell;
- float: none;
-}
-
-caption {
- padding-top: 8px;
- padding-bottom: 8px;
- color: #838383;
- text-align: left;
-}
-
-th {
- text-align: left;
-}
-
-.table {
- width: 100%;
- max-width: 100%;
- margin-bottom: 18px;
-}
-
-.table > thead > tr > th,
-.table > thead > tr > td,
-.table > tbody > tr > th,
-.table > tbody > tr > td,
-.table > tfoot > tr > th,
-.table > tfoot > tr > td {
- padding: 8px;
- line-height: 1.5;
- vertical-align: top;
- border-top: 1px solid #d3d3d3;
-}
-
-.table > thead > tr > th {
- vertical-align: bottom;
- border-bottom: 2px solid #d3d3d3;
-}
-
-.table > caption + thead > tr:first-child > th,
-.table > caption + thead > tr:first-child > td,
-.table > colgroup + thead > tr:first-child > th,
-.table > colgroup + thead > tr:first-child > td,
-.table > thead:first-child > tr:first-child > th,
-.table > thead:first-child > tr:first-child > td {
- border-top: 0;
-}
-
-.table > tbody + tbody {
- border-top: 2px solid #d3d3d3;
-}
-
-.table .table {
- background-color: #fff;
-}
-
-.table-condensed > thead > tr > th,
-.table-condensed > thead > tr > td,
-.table-condensed > tbody > tr > th,
-.table-condensed > tbody > tr > td,
-.table-condensed > tfoot > tr > th,
-.table-condensed > tfoot > tr > td {
- padding: 5px;
-}
-
-.table-bordered {
- border: 1px solid #d3d3d3;
-}
-
-.table-bordered > thead > tr > th,
-.table-bordered > thead > tr > td,
-.table-bordered > tbody > tr > th,
-.table-bordered > tbody > tr > td,
-.table-bordered > tfoot > tr > th,
-.table-bordered > tfoot > tr > td {
- border: 1px solid #d3d3d3;
-}
-
-.table-bordered > thead > tr > th,
-.table-bordered > thead > tr > td {
- border-bottom-width: 2px;
-}
-
-.table-striped > tbody > tr:nth-of-type(odd) {
- background-color: #f9f9f9;
-}
-
-.table-hover > tbody > tr:hover {
- background-color: #f9f9f9;
-}
-
-.table > thead > tr > td.active,
-.table > thead > tr > th.active,
-.table > thead > tr.active > td,
-.table > thead > tr.active > th,
-.table > tbody > tr > td.active,
-.table > tbody > tr > th.active,
-.table > tbody > tr.active > td,
-.table > tbody > tr.active > th,
-.table > tfoot > tr > td.active,
-.table > tfoot > tr > th.active,
-.table > tfoot > tr.active > td,
-.table > tfoot > tr.active > th {
- background-color: #f9f9f9;
-}
-
-.table-hover > tbody > tr > td.active:hover,
-.table-hover > tbody > tr > th.active:hover,
-.table-hover > tbody > tr.active:hover > td,
-.table-hover > tbody > tr:hover > .active,
-.table-hover > tbody > tr.active:hover > th {
- background-color: #ececec;
-}
-
-.table > thead > tr > td.success,
-.table > thead > tr > th.success,
-.table > thead > tr.success > td,
-.table > thead > tr.success > th,
-.table > tbody > tr > td.success,
-.table > tbody > tr > th.success,
-.table > tbody > tr.success > td,
-.table > tbody > tr.success > th,
-.table > tfoot > tr > td.success,
-.table > tfoot > tr > th.success,
-.table > tfoot > tr.success > td,
-.table > tfoot > tr.success > th {
- background-color: #5bb75b;
-}
-
-.table-hover > tbody > tr > td.success:hover,
-.table-hover > tbody > tr > th.success:hover,
-.table-hover > tbody > tr.success:hover > td,
-.table-hover > tbody > tr:hover > .success,
-.table-hover > tbody > tr.success:hover > th {
- background-color: #4cad4c;
-}
-
-.table > thead > tr > td.info,
-.table > thead > tr > th.info,
-.table > thead > tr.info > td,
-.table > thead > tr.info > th,
-.table > tbody > tr > td.info,
-.table > tbody > tr > th.info,
-.table > tbody > tr.info > td,
-.table > tbody > tr.info > th,
-.table > tfoot > tr > td.info,
-.table > tfoot > tr > th.info,
-.table > tfoot > tr.info > td,
-.table > tfoot > tr.info > th {
- background-color: #49afcd;
-}
-
-.table-hover > tbody > tr > td.info:hover,
-.table-hover > tbody > tr > th.info:hover,
-.table-hover > tbody > tr.info:hover > td,
-.table-hover > tbody > tr:hover > .info,
-.table-hover > tbody > tr.info:hover > th {
- background-color: #36a5c6;
-}
-
-.table > thead > tr > td.warning,
-.table > thead > tr > th.warning,
-.table > thead > tr.warning > td,
-.table > thead > tr.warning > th,
-.table > tbody > tr > td.warning,
-.table > tbody > tr > th.warning,
-.table > tbody > tr.warning > td,
-.table > tbody > tr.warning > th,
-.table > tfoot > tr > td.warning,
-.table > tfoot > tr > th.warning,
-.table > tfoot > tr.warning > td,
-.table > tfoot > tr.warning > th {
- background-color: #faa732;
-}
-
-.table-hover > tbody > tr > td.warning:hover,
-.table-hover > tbody > tr > th.warning:hover,
-.table-hover > tbody > tr.warning:hover > td,
-.table-hover > tbody > tr:hover > .warning,
-.table-hover > tbody > tr.warning:hover > th {
- background-color: #f99c19;
-}
-
-.table > thead > tr > td.danger,
-.table > thead > tr > th.danger,
-.table > thead > tr.danger > td,
-.table > thead > tr.danger > th,
-.table > tbody > tr > td.danger,
-.table > tbody > tr > th.danger,
-.table > tbody > tr.danger > td,
-.table > tbody > tr.danger > th,
-.table > tfoot > tr > td.danger,
-.table > tfoot > tr > th.danger,
-.table > tfoot > tr.danger > td,
-.table > tfoot > tr.danger > th {
- background-color: #da4f49;
-}
-
-.table-hover > tbody > tr > td.danger:hover,
-.table-hover > tbody > tr > th.danger:hover,
-.table-hover > tbody > tr.danger:hover > td,
-.table-hover > tbody > tr:hover > .danger,
-.table-hover > tbody > tr.danger:hover > th {
- background-color: #d63b34;
-}
-
-.table-responsive {
- min-height: .01%;
- overflow-x: auto;
-}
-
-@media screen and (max-width: 767px) {
- .table-responsive {
- width: 100%;
- margin-bottom: 13.5px;
- overflow-y: hidden;
- -ms-overflow-style: -ms-autohiding-scrollbar;
- border: 1px solid #d3d3d3;
- }
- .table-responsive > .table {
- margin-bottom: 0;
- }
- .table-responsive > .table > thead > tr > th,
- .table-responsive > .table > thead > tr > td,
- .table-responsive > .table > tbody > tr > th,
- .table-responsive > .table > tbody > tr > td,
- .table-responsive > .table > tfoot > tr > th,
- .table-responsive > .table > tfoot > tr > td {
- white-space: nowrap;
- }
- .table-responsive > .table-bordered {
- border: 0;
- }
- .table-responsive > .table-bordered > thead > tr > th:first-child,
- .table-responsive > .table-bordered > thead > tr > td:first-child,
- .table-responsive > .table-bordered > tbody > tr > th:first-child,
- .table-responsive > .table-bordered > tbody > tr > td:first-child,
- .table-responsive > .table-bordered > tfoot > tr > th:first-child,
- .table-responsive > .table-bordered > tfoot > tr > td:first-child {
- border-left: 0;
- }
- .table-responsive > .table-bordered > thead > tr > th:last-child,
- .table-responsive > .table-bordered > thead > tr > td:last-child,
- .table-responsive > .table-bordered > tbody > tr > th:last-child,
- .table-responsive > .table-bordered > tbody > tr > td:last-child,
- .table-responsive > .table-bordered > tfoot > tr > th:last-child,
- .table-responsive > .table-bordered > tfoot > tr > td:last-child {
- border-right: 0;
- }
- .table-responsive > .table-bordered > tbody > tr:last-child > th,
- .table-responsive > .table-bordered > tbody > tr:last-child > td,
- .table-responsive > .table-bordered > tfoot > tr:last-child > th,
- .table-responsive > .table-bordered > tfoot > tr:last-child > td {
- border-bottom: 0;
- }
-}
-
-fieldset {
- min-width: 0;
- padding: 0;
- margin: 0;
- border: 0;
-}
-
-legend {
- display: block;
- width: 100%;
- padding: 0;
- margin-bottom: 18px;
- font-size: 18px;
- line-height: inherit;
- color: #333;
- border: 0;
- border-bottom: 1px solid #e5e5e5;
-}
-
-label {
- display: inline-block;
- max-width: 100%;
- margin-bottom: 5px;
- font-weight: 700;
-}
-
-input[type="search"] {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
-}
-
-input[type="radio"],
-input[type="checkbox"] {
- margin: 4px 0 0;
- margin-top: 1px \9;
- line-height: normal;
-}
-
-input[type="radio"][disabled], input[type="radio"].disabled,
-fieldset[disabled] input[type="radio"],
-input[type="checkbox"][disabled],
-input[type="checkbox"].disabled,
-fieldset[disabled]
-input[type="checkbox"] {
- cursor: not-allowed;
-}
-
-input[type="file"] {
- display: block;
-}
-
-input[type="range"] {
- display: block;
- width: 100%;
-}
-
-select[multiple],
-select[size] {
- height: auto;
-}
-
-input[type="file"]:focus,
-input[type="radio"]:focus,
-input[type="checkbox"]:focus {
- outline: none;
-}
-
-output {
- display: block;
- padding-top: 5px;
- font-size: 12px;
- line-height: 1.5;
- color: #5a5a5a;
-}
-
-.form-control {
- display: block;
- width: 100%;
- height: 28px;
- padding: 4px 8px;
- font-size: 12px;
- line-height: 1.5;
- color: #5a5a5a;
- background-color: #fff;
- background-image: none;
- border: 1px solid #e8e8e8;
- border-radius: 2px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
- -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
- transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
- transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
- transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
-}
-
-.form-control:focus {
- border-color: #d3d3d3;
- outline: 0;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(211, 211, 211, 0.6);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(211, 211, 211, 0.6);
-}
-
-.form-control::-moz-placeholder {
- color: #ababab;
- opacity: 1;
-}
-
-.form-control:-ms-input-placeholder {
- color: #ababab;
-}
-
-.form-control::-webkit-input-placeholder {
- color: #ababab;
-}
-
-.form-control::-ms-expand {
- background-color: transparent;
- border: 0;
-}
-
-.form-control[disabled], .form-control[readonly],
-fieldset[disabled] .form-control {
- background-color: #e8e8e8;
- opacity: 1;
-}
-
-.form-control[disabled],
-fieldset[disabled] .form-control {
- cursor: not-allowed;
-}
-
-textarea.form-control {
- height: auto;
-}
-
-@media screen and (-webkit-min-device-pixel-ratio: 0) {
- input[type="date"].form-control,
- input[type="time"].form-control,
- input[type="datetime-local"].form-control,
- input[type="month"].form-control {
- line-height: 28px;
- }
- input[type="date"].input-sm, .input-group-sm > input.form-control[type="date"],
- .input-group-sm > input.input-group-addon[type="date"],
- .input-group-sm > .input-group-btn > input.btn[type="date"],
- .input-group-sm input[type="date"],
- input[type="time"].input-sm,
- .input-group-sm > input.form-control[type="time"],
- .input-group-sm > input.input-group-addon[type="time"],
- .input-group-sm > .input-group-btn > input.btn[type="time"],
- .input-group-sm
- input[type="time"],
- input[type="datetime-local"].input-sm,
- .input-group-sm > input.form-control[type="datetime-local"],
- .input-group-sm > input.input-group-addon[type="datetime-local"],
- .input-group-sm > .input-group-btn > input.btn[type="datetime-local"],
- .input-group-sm
- input[type="datetime-local"],
- input[type="month"].input-sm,
- .input-group-sm > input.form-control[type="month"],
- .input-group-sm > input.input-group-addon[type="month"],
- .input-group-sm > .input-group-btn > input.btn[type="month"],
- .input-group-sm
- input[type="month"] {
- line-height: 26px;
- }
- input[type="date"].input-lg, .input-group-lg > input.form-control[type="date"],
- .input-group-lg > input.input-group-addon[type="date"],
- .input-group-lg > .input-group-btn > input.btn[type="date"],
- .input-group-lg input[type="date"],
- input[type="time"].input-lg,
- .input-group-lg > input.form-control[type="time"],
- .input-group-lg > input.input-group-addon[type="time"],
- .input-group-lg > .input-group-btn > input.btn[type="time"],
- .input-group-lg
- input[type="time"],
- input[type="datetime-local"].input-lg,
- .input-group-lg > input.form-control[type="datetime-local"],
- .input-group-lg > input.input-group-addon[type="datetime-local"],
- .input-group-lg > .input-group-btn > input.btn[type="datetime-local"],
- .input-group-lg
- input[type="datetime-local"],
- input[type="month"].input-lg,
- .input-group-lg > input.form-control[type="month"],
- .input-group-lg > input.input-group-addon[type="month"],
- .input-group-lg > .input-group-btn > input.btn[type="month"],
- .input-group-lg
- input[type="month"] {
- line-height: 34px;
- }
-}
-
-.form-group {
- margin-bottom: 30px;
-}
-
-.radio,
-.checkbox {
- position: relative;
- display: block;
- margin-top: 10px;
- margin-bottom: 10px;
-}
-
-.radio.disabled label,
-fieldset[disabled] .radio label,
-.checkbox.disabled label,
-fieldset[disabled]
-.checkbox label {
- cursor: not-allowed;
-}
-
-.radio label,
-.checkbox label {
- min-height: 18px;
- padding-left: 20px;
- margin-bottom: 0;
- font-weight: 400;
- cursor: pointer;
-}
-
-.radio input[type="radio"],
-.radio-inline input[type="radio"],
-.checkbox input[type="checkbox"],
-.checkbox-inline input[type="checkbox"] {
- position: absolute;
- margin-top: 4px \9;
- margin-left: -20px;
-}
-
-.radio + .radio,
-.checkbox + .checkbox {
- margin-top: -5px;
-}
-
-.radio-inline,
-.checkbox-inline {
- position: relative;
- display: inline-block;
- padding-left: 20px;
- margin-bottom: 0;
- font-weight: 400;
- vertical-align: middle;
- cursor: pointer;
-}
-
-.radio-inline.disabled,
-fieldset[disabled] .radio-inline,
-.checkbox-inline.disabled,
-fieldset[disabled]
-.checkbox-inline {
- cursor: not-allowed;
-}
-
-.radio-inline + .radio-inline,
-.checkbox-inline + .checkbox-inline {
- margin-top: 0;
- margin-left: 10px;
-}
-
-.form-control-static {
- min-height: 30px;
- padding-top: 5px;
- padding-bottom: 5px;
- margin-bottom: 0;
-}
-
-.form-control-static.input-lg, .input-group-lg > .form-control-static.form-control,
-.input-group-lg > .form-control-static.input-group-addon,
-.input-group-lg > .input-group-btn > .form-control-static.btn, .form-control-static.input-sm, .input-group-sm > .form-control-static.form-control,
-.input-group-sm > .form-control-static.input-group-addon,
-.input-group-sm > .input-group-btn > .form-control-static.btn {
- padding-right: 0;
- padding-left: 0;
-}
-
-.input-sm, .input-group-sm > .form-control,
-.input-group-sm > .input-group-addon,
-.input-group-sm > .input-group-btn > .btn {
- height: 26px;
- padding: 4px 15px;
- font-size: 11px;
- line-height: 1.5;
- border-radius: 2px;
-}
-
-select.input-sm, .input-group-sm > select.form-control,
-.input-group-sm > select.input-group-addon,
-.input-group-sm > .input-group-btn > select.btn {
- height: 26px;
- line-height: 26px;
-}
-
-textarea.input-sm, .input-group-sm > textarea.form-control,
-.input-group-sm > textarea.input-group-addon,
-.input-group-sm > .input-group-btn > textarea.btn,
-select[multiple].input-sm,
-.input-group-sm > select.form-control[multiple],
-.input-group-sm > select.input-group-addon[multiple],
-.input-group-sm > .input-group-btn > select.btn[multiple] {
- height: auto;
-}
-
-.form-group-sm .form-control {
- height: 26px;
- padding: 4px 15px;
- font-size: 11px;
- line-height: 1.5;
- border-radius: 2px;
-}
-
-.form-group-sm select.form-control {
- height: 26px;
- line-height: 26px;
-}
-
-.form-group-sm textarea.form-control,
-.form-group-sm select[multiple].form-control {
- height: auto;
-}
-
-.form-group-sm .form-control-static {
- height: 26px;
- min-height: 29px;
- padding: 5px 15px;
- font-size: 11px;
- line-height: 1.5;
-}
-
-.input-lg, .input-group-lg > .form-control,
-.input-group-lg > .input-group-addon,
-.input-group-lg > .input-group-btn > .btn {
- height: 34px;
- padding: 6px 29px;
- font-size: 15px;
- line-height: 1.33333;
- border-radius: 2px;
-}
-
-select.input-lg, .input-group-lg > select.form-control,
-.input-group-lg > select.input-group-addon,
-.input-group-lg > .input-group-btn > select.btn {
- height: 34px;
- line-height: 34px;
-}
-
-textarea.input-lg, .input-group-lg > textarea.form-control,
-.input-group-lg > textarea.input-group-addon,
-.input-group-lg > .input-group-btn > textarea.btn,
-select[multiple].input-lg,
-.input-group-lg > select.form-control[multiple],
-.input-group-lg > select.input-group-addon[multiple],
-.input-group-lg > .input-group-btn > select.btn[multiple] {
- height: auto;
-}
-
-.form-group-lg .form-control {
- height: 34px;
- padding: 6px 29px;
- font-size: 15px;
- line-height: 1.33333;
- border-radius: 2px;
-}
-
-.form-group-lg select.form-control {
- height: 34px;
- line-height: 34px;
-}
-
-.form-group-lg textarea.form-control,
-.form-group-lg select[multiple].form-control {
- height: auto;
-}
-
-.form-group-lg .form-control-static {
- height: 34px;
- min-height: 33px;
- padding: 7px 29px;
- font-size: 15px;
- line-height: 1.33333;
-}
-
-.has-feedback {
- position: relative;
-}
-
-.has-feedback .form-control {
- padding-right: 35px;
-}
-
-.form-control-feedback {
- position: absolute;
- top: 0;
- right: 0;
- z-index: 2;
- display: block;
- width: 28px;
- height: 28px;
- line-height: 28px;
- text-align: center;
- pointer-events: none;
-}
-
-.input-lg + .form-control-feedback, .input-group-lg > .form-control + .form-control-feedback, .input-group-lg > .input-group-addon + .form-control-feedback, .input-group-lg > .input-group-btn > .btn + .form-control-feedback,
-.input-group-lg + .form-control-feedback,
-.form-group-lg .form-control + .form-control-feedback {
- width: 34px;
- height: 34px;
- line-height: 34px;
-}
-
-.input-sm + .form-control-feedback, .input-group-sm > .form-control + .form-control-feedback, .input-group-sm > .input-group-addon + .form-control-feedback, .input-group-sm > .input-group-btn > .btn + .form-control-feedback,
-.input-group-sm + .form-control-feedback,
-.form-group-sm .form-control + .form-control-feedback {
- width: 26px;
- height: 26px;
- line-height: 26px;
-}
-
-.has-success .help-block,
-.has-success .control-label,
-.has-success .radio,
-.has-success .checkbox,
-.has-success .radio-inline,
-.has-success .checkbox-inline,
-.has-success.radio label,
-.has-success.checkbox label,
-.has-success.radio-inline label,
-.has-success.checkbox-inline label {
- color: #5bb75b;
-}
-
-.has-success .form-control {
- border-color: #5bb75b;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-}
-
-.has-success .form-control:focus {
- border-color: #449b44;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #a2d6a2;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #a2d6a2;
-}
-
-.has-success .input-group-addon {
- color: #5bb75b;
- background-color: #5bb75b;
- border-color: #5bb75b;
-}
-
-.has-success .form-control-feedback {
- color: #5bb75b;
-}
-
-.has-warning .help-block,
-.has-warning .control-label,
-.has-warning .radio,
-.has-warning .checkbox,
-.has-warning .radio-inline,
-.has-warning .checkbox-inline,
-.has-warning.radio label,
-.has-warning.checkbox label,
-.has-warning.radio-inline label,
-.has-warning.checkbox-inline label {
- color: #faa732;
-}
-
-.has-warning .form-control {
- border-color: #faa732;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-}
-
-.has-warning .form-control:focus {
- border-color: #f39106;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #fcd296;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #fcd296;
-}
-
-.has-warning .input-group-addon {
- color: #faa732;
- background-color: #faa732;
- border-color: #faa732;
-}
-
-.has-warning .form-control-feedback {
- color: #faa732;
-}
-
-.has-error .help-block,
-.has-error .control-label,
-.has-error .radio,
-.has-error .checkbox,
-.has-error .radio-inline,
-.has-error .checkbox-inline,
-.has-error.radio label,
-.has-error.checkbox label,
-.has-error.radio-inline label,
-.has-error.checkbox-inline label {
- color: #da4f49;
-}
-
-.has-error .form-control {
- border-color: #da4f49;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-}
-
-.has-error .form-control:focus {
- border-color: #c72f29;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eba19e;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eba19e;
-}
-
-.has-error .input-group-addon {
- color: #da4f49;
- background-color: #da4f49;
- border-color: #da4f49;
-}
-
-.has-error .form-control-feedback {
- color: #da4f49;
-}
-
-.has-feedback label ~ .form-control-feedback {
- top: 23px;
-}
-
-.has-feedback label.sr-only ~ .form-control-feedback {
- top: 0;
-}
-
-.help-block {
- display: block;
- margin-top: 5px;
- margin-bottom: 10px;
- color: #737373;
-}
-
-@media (min-width: 768px) {
- .form-inline .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle;
- }
- .form-inline .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle;
- }
- .form-inline .form-control-static {
- display: inline-block;
- }
- .form-inline .input-group {
- display: inline-table;
- vertical-align: middle;
- }
- .form-inline .input-group .input-group-addon,
- .form-inline .input-group .input-group-btn,
- .form-inline .input-group .form-control {
- width: auto;
- }
- .form-inline .input-group > .form-control {
- width: 100%;
- }
- .form-inline .control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
- .form-inline .radio,
- .form-inline .checkbox {
- display: inline-block;
- margin-top: 0;
- margin-bottom: 0;
- vertical-align: middle;
- }
- .form-inline .radio label,
- .form-inline .checkbox label {
- padding-left: 0;
- }
- .form-inline .radio input[type="radio"],
- .form-inline .checkbox input[type="checkbox"] {
- position: relative;
- margin-left: 0;
- }
- .form-inline .has-feedback .form-control-feedback {
- top: 0;
- }
-}
-
-.form-horizontal .radio,
-.form-horizontal .checkbox,
-.form-horizontal .radio-inline,
-.form-horizontal .checkbox-inline {
- padding-top: 5px;
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.form-horizontal .radio,
-.form-horizontal .checkbox {
- min-height: 23px;
-}
-
-.form-horizontal .form-group {
- margin-right: -10px;
- margin-left: -10px;
-}
-
-.form-horizontal .form-group:before, .form-horizontal .form-group:after {
- display: table;
- content: " ";
-}
-
-.form-horizontal .form-group:after {
- clear: both;
-}
-
-@media (min-width: 768px) {
- .form-horizontal .control-label {
- padding-top: 5px;
- margin-bottom: 0;
- text-align: right;
- }
-}
-
-.form-horizontal .has-feedback .form-control-feedback {
- right: 10px;
-}
-
-@media (min-width: 768px) {
- .form-horizontal .form-group-lg .control-label {
- padding-top: 7px;
- font-size: 15px;
- }
-}
-
-@media (min-width: 768px) {
- .form-horizontal .form-group-sm .control-label {
- padding-top: 5px;
- font-size: 11px;
- }
-}
-
-.btn {
- display: inline-block;
- margin-bottom: 0;
- font-weight: 700;
- text-align: center;
- white-space: nowrap;
- vertical-align: middle;
- -ms-touch-action: manipulation;
- touch-action: manipulation;
- cursor: pointer;
- background-image: none;
- border: 1px solid transparent;
- padding: 4px 8px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 2px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.btn:focus, .btn.focus, .btn:active:focus, .btn:active.focus, .btn.active:focus, .btn.active.focus {
- outline: none;
-}
-
-.btn:hover, .btn:focus, .btn.focus {
- color: #333;
- text-decoration: none;
-}
-
-.btn:active, .btn.active {
- background-image: none;
- outline: 0;
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
-}
-
-.btn.disabled, .btn[disabled],
-fieldset[disabled] .btn {
- cursor: not-allowed;
- filter: alpha(opacity=65);
- opacity: 0.65;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-a.btn.disabled,
-fieldset[disabled] a.btn {
- pointer-events: none;
-}
-
-.btn-default {
- color: #333;
- background-color: #fff;
- border-color: #ccc;
-}
-
-.btn-default:focus, .btn-default.focus {
- color: #333;
- background-color: #e6e6e6;
- border-color: #8c8c8c;
-}
-
-.btn-default:hover {
- color: #333;
- background-color: #e6e6e6;
- border-color: #adadad;
-}
-
-.btn-default:active, .btn-default.active,
-.open > .btn-default.dropdown-toggle {
- color: #333;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #adadad;
-}
-
-.btn-default:active:hover, .btn-default:active:focus, .btn-default:active.focus, .btn-default.active:hover, .btn-default.active:focus, .btn-default.active.focus,
-.open > .btn-default.dropdown-toggle:hover,
-.open > .btn-default.dropdown-toggle:focus,
-.open > .btn-default.dropdown-toggle.focus {
- color: #333;
- background-color: #d4d4d4;
- border-color: #8c8c8c;
-}
-
-.btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled.focus, .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled].focus,
-fieldset[disabled] .btn-default:hover,
-fieldset[disabled] .btn-default:focus,
-fieldset[disabled] .btn-default.focus {
- background-color: #fff;
- border-color: #ccc;
-}
-
-.btn-default .badge {
- color: #fff;
- background-color: #333;
-}
-
-.btn-primary {
- color: #fff;
- background-color: #006dcc;
- border-color: #005fb3;
-}
-
-.btn-primary:focus, .btn-primary.focus {
- color: #fff;
- background-color: #005299;
- border-color: #001b33;
-}
-
-.btn-primary:hover {
- color: #fff;
- background-color: #005299;
- border-color: #003f75;
-}
-
-.btn-primary:active, .btn-primary.active,
-.open > .btn-primary.dropdown-toggle {
- color: #fff;
- background-color: #005299;
- background-image: none;
- border-color: #003f75;
-}
-
-.btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus,
-.open > .btn-primary.dropdown-toggle:hover,
-.open > .btn-primary.dropdown-toggle:focus,
-.open > .btn-primary.dropdown-toggle.focus {
- color: #fff;
- background-color: #003f75;
- border-color: #001b33;
-}
-
-.btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled].focus,
-fieldset[disabled] .btn-primary:hover,
-fieldset[disabled] .btn-primary:focus,
-fieldset[disabled] .btn-primary.focus {
- background-color: #006dcc;
- border-color: #005fb3;
-}
-
-.btn-primary .badge {
- color: #006dcc;
- background-color: #fff;
-}
-
-.btn-success {
- color: #fff;
- background-color: #5bb75b;
- border-color: #4cad4c;
-}
-
-.btn-success:focus, .btn-success.focus {
- color: #fff;
- background-color: #449b44;
- border-color: #255425;
-}
-
-.btn-success:hover {
- color: #fff;
- background-color: #449b44;
- border-color: #398239;
-}
-
-.btn-success:active, .btn-success.active,
-.open > .btn-success.dropdown-toggle {
- color: #fff;
- background-color: #449b44;
- background-image: none;
- border-color: #398239;
-}
-
-.btn-success:active:hover, .btn-success:active:focus, .btn-success:active.focus, .btn-success.active:hover, .btn-success.active:focus, .btn-success.active.focus,
-.open > .btn-success.dropdown-toggle:hover,
-.open > .btn-success.dropdown-toggle:focus,
-.open > .btn-success.dropdown-toggle.focus {
- color: #fff;
- background-color: #398239;
- border-color: #255425;
-}
-
-.btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled.focus, .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled].focus,
-fieldset[disabled] .btn-success:hover,
-fieldset[disabled] .btn-success:focus,
-fieldset[disabled] .btn-success.focus {
- background-color: #5bb75b;
- border-color: #4cad4c;
-}
-
-.btn-success .badge {
- color: #5bb75b;
- background-color: #fff;
-}
-
-.btn-info {
- color: #fff;
- background-color: #49afcd;
- border-color: #36a5c6;
-}
-
-.btn-info:focus, .btn-info.focus {
- color: #fff;
- background-color: #3195b2;
- border-color: #1b5262;
-}
-
-.btn-info:hover {
- color: #fff;
- background-color: #3195b2;
- border-color: #297d96;
-}
-
-.btn-info:active, .btn-info.active,
-.open > .btn-info.dropdown-toggle {
- color: #fff;
- background-color: #3195b2;
- background-image: none;
- border-color: #297d96;
-}
-
-.btn-info:active:hover, .btn-info:active:focus, .btn-info:active.focus, .btn-info.active:hover, .btn-info.active:focus, .btn-info.active.focus,
-.open > .btn-info.dropdown-toggle:hover,
-.open > .btn-info.dropdown-toggle:focus,
-.open > .btn-info.dropdown-toggle.focus {
- color: #fff;
- background-color: #297d96;
- border-color: #1b5262;
-}
-
-.btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled.focus, .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled].focus,
-fieldset[disabled] .btn-info:hover,
-fieldset[disabled] .btn-info:focus,
-fieldset[disabled] .btn-info.focus {
- background-color: #49afcd;
- border-color: #36a5c6;
-}
-
-.btn-info .badge {
- color: #49afcd;
- background-color: #fff;
-}
-
-.btn-warning {
- color: #fff;
- background-color: #faa732;
- border-color: #f99c19;
-}
-
-.btn-warning:focus, .btn-warning.focus {
- color: #fff;
- background-color: #f39106;
- border-color: #905504;
-}
-
-.btn-warning:hover {
- color: #fff;
- background-color: #f39106;
- border-color: #d07c05;
-}
-
-.btn-warning:active, .btn-warning.active,
-.open > .btn-warning.dropdown-toggle {
- color: #fff;
- background-color: #f39106;
- background-image: none;
- border-color: #d07c05;
-}
-
-.btn-warning:active:hover, .btn-warning:active:focus, .btn-warning:active.focus, .btn-warning.active:hover, .btn-warning.active:focus, .btn-warning.active.focus,
-.open > .btn-warning.dropdown-toggle:hover,
-.open > .btn-warning.dropdown-toggle:focus,
-.open > .btn-warning.dropdown-toggle.focus {
- color: #fff;
- background-color: #d07c05;
- border-color: #905504;
-}
-
-.btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled.focus, .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled].focus,
-fieldset[disabled] .btn-warning:hover,
-fieldset[disabled] .btn-warning:focus,
-fieldset[disabled] .btn-warning.focus {
- background-color: #faa732;
- border-color: #f99c19;
-}
-
-.btn-warning .badge {
- color: #faa732;
- background-color: #fff;
-}
-
-.btn-danger {
- color: #fff;
- background-color: #da4f49;
- border-color: #d63b34;
-}
-
-.btn-danger:focus, .btn-danger.focus {
- color: #fff;
- background-color: #c72f29;
- border-color: #731b17;
-}
-
-.btn-danger:hover {
- color: #fff;
- background-color: #c72f29;
- border-color: #aa2823;
-}
-
-.btn-danger:active, .btn-danger.active,
-.open > .btn-danger.dropdown-toggle {
- color: #fff;
- background-color: #c72f29;
- background-image: none;
- border-color: #aa2823;
-}
-
-.btn-danger:active:hover, .btn-danger:active:focus, .btn-danger:active.focus, .btn-danger.active:hover, .btn-danger.active:focus, .btn-danger.active.focus,
-.open > .btn-danger.dropdown-toggle:hover,
-.open > .btn-danger.dropdown-toggle:focus,
-.open > .btn-danger.dropdown-toggle.focus {
- color: #fff;
- background-color: #aa2823;
- border-color: #731b17;
-}
-
-.btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled.focus, .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled].focus,
-fieldset[disabled] .btn-danger:hover,
-fieldset[disabled] .btn-danger:focus,
-fieldset[disabled] .btn-danger.focus {
- background-color: #da4f49;
- border-color: #d63b34;
-}
-
-.btn-danger .badge {
- color: #da4f49;
- background-color: #fff;
-}
-
-.btn-link {
- font-weight: 400;
- color: #006dcc;
- border-radius: 0;
-}
-
-.btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled],
-fieldset[disabled] .btn-link {
- background-color: transparent;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
- border-color: transparent;
-}
-
-.btn-link:hover, .btn-link:focus {
- color: #1950a3;
- text-decoration: underline;
- background-color: transparent;
-}
-
-.btn-link[disabled]:hover, .btn-link[disabled]:focus,
-fieldset[disabled] .btn-link:hover,
-fieldset[disabled] .btn-link:focus {
- color: #838383;
- text-decoration: none;
-}
-
-.btn-lg, .btn-group-lg > .btn {
- padding: 6px 29px;
- font-size: 15px;
- line-height: 1.33333;
- border-radius: 2px;
-}
-
-.btn-sm, .btn-group-sm > .btn {
- padding: 4px 15px;
- font-size: 11px;
- line-height: 1.5;
- border-radius: 2px;
-}
-
-.btn-xs, .btn-group-xs > .btn {
- padding: 2px 4px;
- font-size: 11px;
- line-height: 1.5;
- border-radius: 2px;
-}
-
-.btn-block {
- display: block;
- width: 100%;
-}
-
-.btn-block + .btn-block {
- margin-top: 5px;
-}
-
-input[type="submit"].btn-block,
-input[type="reset"].btn-block,
-input[type="button"].btn-block {
- width: 100%;
-}
-
-.fade {
- opacity: 0;
- -webkit-transition: opacity 0.15s linear;
- transition: opacity 0.15s linear;
-}
-
-.fade.in {
- opacity: 1;
-}
-
-.collapse {
- display: none;
-}
-
-.collapse.in {
- display: block;
-}
-
-tr.collapse.in {
- display: table-row;
-}
-
-tbody.collapse.in {
- display: table-row-group;
-}
-
-.collapsing {
- position: relative;
- height: 0;
- overflow: hidden;
- -webkit-transition-property: height, visibility;
- transition-property: height, visibility;
- -webkit-transition-duration: 0.35s;
- transition-duration: 0.35s;
- -webkit-transition-timing-function: ease;
- transition-timing-function: ease;
-}
-
-.caret {
- display: inline-block;
- width: 0;
- height: 0;
- margin-left: 2px;
- vertical-align: middle;
- border-top: 4px dashed;
- border-top: 4px solid \9;
- border-right: 4px solid transparent;
- border-left: 4px solid transparent;
-}
-
-.dropup,
-.dropdown {
- position: relative;
-}
-
-.dropdown-toggle:focus {
- outline: 0;
-}
-
-.dropdown-menu {
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 1000;
- display: none;
- float: left;
- min-width: 160px;
- padding: 5px 0;
- margin: 2px 0 0;
- font-size: 12px;
- text-align: left;
- list-style: none;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #ccc;
- border: 1px solid #d3d3d3;
- border-radius: 2px;
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
-}
-
-.dropdown-menu.pull-right {
- right: 0;
- left: auto;
-}
-
-.dropdown-menu .divider {
- height: 1px;
- margin: 8px 0;
- overflow: hidden;
- background-color: #e5e5e5;
-}
-
-.dropdown-menu > li > a {
- display: block;
- padding: 3px 20px;
- clear: both;
- font-weight: 400;
- line-height: 1.5;
- color: #333;
- white-space: nowrap;
-}
-
-.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
- color: #fff;
- text-decoration: none;
- background-color: #f5f5f5;
-}
-
-.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
- color: #333;
- text-decoration: none;
- background-color: #f9f9f9;
- outline: 0;
-}
-
-.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
- color: #838383;
-}
-
-.dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
- text-decoration: none;
- cursor: not-allowed;
- background-color: transparent;
- background-image: none;
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
-}
-
-.open > .dropdown-menu {
- display: block;
-}
-
-.open > a {
- outline: 0;
-}
-
-.dropdown-menu-right {
- right: 0;
- left: auto;
-}
-
-.dropdown-menu-left {
- right: auto;
- left: 0;
-}
-
-.dropdown-header {
- display: block;
- padding: 3px 20px;
- font-size: 11px;
- line-height: 1.5;
- color: #838383;
- white-space: nowrap;
-}
-
-.dropdown-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 990;
-}
-
-.pull-right > .dropdown-menu {
- right: 0;
- left: auto;
-}
-
-.dropup .caret,
-.navbar-fixed-bottom .dropdown .caret {
- content: "";
- border-top: 0;
- border-bottom: 4px dashed;
- border-bottom: 4px solid \9;
-}
-
-.dropup .dropdown-menu,
-.navbar-fixed-bottom .dropdown .dropdown-menu {
- top: auto;
- bottom: 100%;
- margin-bottom: 2px;
-}
-
-@media (min-width: 0) {
- .navbar-right .dropdown-menu {
- right: 0;
- left: auto;
- }
- .navbar-right .dropdown-menu-left {
- left: 0;
- right: auto;
- }
-}
-
-.btn-group,
-.btn-group-vertical {
- position: relative;
- display: inline-block;
- vertical-align: middle;
-}
-
-.btn-group > .btn,
-.btn-group-vertical > .btn {
- position: relative;
- float: left;
-}
-
-.btn-group > .btn:hover, .btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active,
-.btn-group-vertical > .btn:hover,
-.btn-group-vertical > .btn:focus,
-.btn-group-vertical > .btn:active,
-.btn-group-vertical > .btn.active {
- z-index: 2;
-}
-
-.btn-group .btn + .btn,
-.btn-group .btn + .btn-group,
-.btn-group .btn-group + .btn,
-.btn-group .btn-group + .btn-group {
- margin-left: -1px;
-}
-
-.btn-toolbar {
- margin-left: -5px;
-}
-
-.btn-toolbar:before, .btn-toolbar:after {
- display: table;
- content: " ";
-}
-
-.btn-toolbar:after {
- clear: both;
-}
-
-.btn-toolbar .btn,
-.btn-toolbar .btn-group,
-.btn-toolbar .input-group {
- float: left;
-}
-
-.btn-toolbar > .btn,
-.btn-toolbar > .btn-group,
-.btn-toolbar > .input-group {
- margin-left: 5px;
-}
-
-.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
- border-radius: 0;
-}
-
-.btn-group > .btn:first-child {
- margin-left: 0;
-}
-
-.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.btn-group > .btn:last-child:not(:first-child),
-.btn-group > .dropdown-toggle:not(:first-child) {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group > .btn-group {
- float: left;
-}
-
-.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0;
-}
-
-.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
-.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group .dropdown-toggle:active,
-.btn-group.open .dropdown-toggle {
- outline: 0;
-}
-
-.btn-group > .btn + .dropdown-toggle {
- padding-right: 8px;
- padding-left: 8px;
-}
-
-.btn-group > .btn-lg + .dropdown-toggle, .btn-group-lg.btn-group > .btn + .dropdown-toggle {
- padding-right: 12px;
- padding-left: 12px;
-}
-
-.btn-group.open .dropdown-toggle {
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
-}
-
-.btn-group.open .dropdown-toggle.btn-link {
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn .caret {
- margin-left: 0;
-}
-
-.btn-lg .caret, .btn-group-lg > .btn .caret {
- border-width: 5px 5px 0;
- border-bottom-width: 0;
-}
-
-.dropup .btn-lg .caret, .dropup .btn-group-lg > .btn .caret {
- border-width: 0 5px 5px;
-}
-
-.btn-group-vertical > .btn,
-.btn-group-vertical > .btn-group,
-.btn-group-vertical > .btn-group > .btn {
- display: block;
- float: none;
- width: 100%;
- max-width: 100%;
-}
-
-.btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after {
- display: table;
- content: " ";
-}
-
-.btn-group-vertical > .btn-group:after {
- clear: both;
-}
-
-.btn-group-vertical > .btn-group > .btn {
- float: none;
-}
-
-.btn-group-vertical > .btn + .btn,
-.btn-group-vertical > .btn + .btn-group,
-.btn-group-vertical > .btn-group + .btn,
-.btn-group-vertical > .btn-group + .btn-group {
- margin-top: -1px;
- margin-left: 0;
-}
-
-.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
- border-radius: 0;
-}
-
-.btn-group-vertical > .btn:first-child:not(:last-child) {
- border-top-left-radius: 2px;
- border-top-right-radius: 2px;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group-vertical > .btn:last-child:not(:first-child) {
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- border-bottom-right-radius: 2px;
- border-bottom-left-radius: 2px;
-}
-
-.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
- border-radius: 0;
-}
-
-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
-.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.btn-group-justified {
- display: table;
- width: 100%;
- table-layout: fixed;
- border-collapse: separate;
-}
-
-.btn-group-justified > .btn,
-.btn-group-justified > .btn-group {
- display: table-cell;
- float: none;
- width: 1%;
-}
-
-.btn-group-justified > .btn-group .btn {
- width: 100%;
-}
-
-.btn-group-justified > .btn-group .dropdown-menu {
- left: auto;
-}
-
-[data-toggle="buttons"] > .btn input[type="radio"],
-[data-toggle="buttons"] > .btn input[type="checkbox"],
-[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
-[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
- position: absolute;
- clip: rect(0, 0, 0, 0);
- pointer-events: none;
-}
-
-.input-group {
- position: relative;
- display: table;
- border-collapse: separate;
-}
-
-.input-group[class*="col-"] {
- float: none;
- padding-right: 0;
- padding-left: 0;
-}
-
-.input-group .form-control {
- position: relative;
- z-index: 2;
- float: left;
- width: 100%;
- margin-bottom: 0;
-}
-
-.input-group .form-control:focus {
- z-index: 3;
-}
-
-.input-group-addon,
-.input-group-btn,
-.input-group .form-control {
- display: table-cell;
-}
-
-.input-group-addon:not(:first-child):not(:last-child),
-.input-group-btn:not(:first-child):not(:last-child),
-.input-group .form-control:not(:first-child):not(:last-child) {
- border-radius: 0;
-}
-
-.input-group-addon,
-.input-group-btn {
- width: 1%;
- white-space: nowrap;
- vertical-align: middle;
-}
-
-.input-group-addon {
- padding: 4px 8px;
- font-size: 12px;
- font-weight: 400;
- line-height: 1;
- color: #5a5a5a;
- text-align: center;
- background-color: #fff;
- border: 1px solid #fff;
- border-radius: 2px;
-}
-
-.input-group-addon.input-sm,
-.input-group-sm > .input-group-addon,
-.input-group-sm > .input-group-btn > .input-group-addon.btn {
- padding: 4px 15px;
- font-size: 11px;
- border-radius: 2px;
-}
-
-.input-group-addon.input-lg,
-.input-group-lg > .input-group-addon,
-.input-group-lg > .input-group-btn > .input-group-addon.btn {
- padding: 6px 29px;
- font-size: 15px;
- border-radius: 2px;
-}
-
-.input-group-addon input[type="radio"],
-.input-group-addon input[type="checkbox"] {
- margin-top: 0;
-}
-
-.input-group .form-control:first-child,
-.input-group-addon:first-child,
-.input-group-btn:first-child > .btn,
-.input-group-btn:first-child > .btn-group > .btn,
-.input-group-btn:first-child > .dropdown-toggle,
-.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
-.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-}
-
-.input-group-addon:first-child {
- border-right: 0;
-}
-
-.input-group .form-control:last-child,
-.input-group-addon:last-child,
-.input-group-btn:last-child > .btn,
-.input-group-btn:last-child > .btn-group > .btn,
-.input-group-btn:last-child > .dropdown-toggle,
-.input-group-btn:first-child > .btn:not(:first-child),
-.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.input-group-addon:last-child {
- border-left: 0;
-}
-
-.input-group-btn {
- position: relative;
- font-size: 0;
- white-space: nowrap;
-}
-
-.input-group-btn > .btn {
- position: relative;
-}
-
-.input-group-btn > .btn + .btn {
- margin-left: -1px;
-}
-
-.input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active {
- z-index: 2;
-}
-
-.input-group-btn:first-child > .btn,
-.input-group-btn:first-child > .btn-group {
- margin-right: -1px;
-}
-
-.input-group-btn:last-child > .btn,
-.input-group-btn:last-child > .btn-group {
- z-index: 2;
- margin-left: -1px;
-}
-
-.nav {
- padding-left: 0;
- margin-bottom: 0;
- list-style: none;
-}
-
-.nav:before, .nav:after {
- display: table;
- content: " ";
-}
-
-.nav:after {
- clear: both;
-}
-
-.nav > li {
- position: relative;
- display: block;
-}
-
-.nav > li > a {
- position: relative;
- display: block;
- padding: 10px 15px;
-}
-
-.nav > li > a:hover, .nav > li > a:focus {
- text-decoration: none;
- background-color: #e8e8e8;
-}
-
-.nav > li.disabled > a {
- color: #838383;
-}
-
-.nav > li.disabled > a:hover, .nav > li.disabled > a:focus {
- color: #838383;
- text-decoration: none;
- cursor: not-allowed;
- background-color: transparent;
-}
-
-.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
- background-color: #e8e8e8;
- border-color: #006dcc;
-}
-
-.nav .nav-divider {
- height: 1px;
- margin: 8px 0;
- overflow: hidden;
- background-color: #e5e5e5;
-}
-
-.nav > li > a > img {
- max-width: none;
-}
-
-.nav-tabs {
- border-bottom: 1px solid #ddd;
-}
-
-.nav-tabs > li {
- float: left;
- margin-bottom: -1px;
-}
-
-.nav-tabs > li > a {
- margin-right: 2px;
- line-height: 1.5;
- border: 1px solid transparent;
- border-radius: 2px 2px 0 0;
-}
-
-.nav-tabs > li > a:hover {
- border-color: #e8e8e8 #e8e8e8 #ddd;
-}
-
-.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
- color: #5a5a5a;
- cursor: default;
- background-color: #fff;
- border: 1px solid #ddd;
- border-bottom-color: transparent;
-}
-
-.nav-pills > li {
- float: left;
-}
-
-.nav-pills > li > a {
- border-radius: 2px;
-}
-
-.nav-pills > li + li {
- margin-left: 2px;
-}
-
-.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
- color: #fff;
- background-color: #006dcc;
-}
-
-.nav-stacked > li {
- float: none;
-}
-
-.nav-stacked > li + li {
- margin-top: 2px;
- margin-left: 0;
-}
-
-.nav-justified, .nav-tabs.nav-justified {
- width: 100%;
-}
-
-.nav-justified > li, .nav-tabs.nav-justified > li {
- float: none;
-}
-
-.nav-justified > li > a, .nav-tabs.nav-justified > li > a {
- margin-bottom: 5px;
- text-align: center;
-}
-
-.nav-justified > .dropdown .dropdown-menu {
- top: auto;
- left: auto;
-}
-
-@media (min-width: 768px) {
- .nav-justified > li, .nav-tabs.nav-justified > li {
- display: table-cell;
- width: 1%;
- }
- .nav-justified > li > a, .nav-tabs.nav-justified > li > a {
- margin-bottom: 0;
- }
-}
-
-.nav-tabs-justified, .nav-tabs.nav-justified {
- border-bottom: 0;
-}
-
-.nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a {
- margin-right: 0;
- border-radius: 2px;
-}
-
-.nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a,
-.nav-tabs-justified > .active > a:hover,
-.nav-tabs.nav-justified > .active > a:hover,
-.nav-tabs-justified > .active > a:focus,
-.nav-tabs.nav-justified > .active > a:focus {
- border: 1px solid #ddd;
-}
-
-@media (min-width: 768px) {
- .nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a {
- border-bottom: 1px solid #ddd;
- border-radius: 2px 2px 0 0;
- }
- .nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a,
- .nav-tabs-justified > .active > a:hover,
- .nav-tabs.nav-justified > .active > a:hover,
- .nav-tabs-justified > .active > a:focus,
- .nav-tabs.nav-justified > .active > a:focus {
- border-bottom-color: #fff;
- }
-}
-
-.tab-content > .tab-pane {
- display: none;
-}
-
-.tab-content > .active {
- display: block;
-}
-
-.nav-tabs .dropdown-menu {
- margin-top: -1px;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.navbar {
- position: relative;
- min-height: 35px;
- margin-bottom: 18px;
- border: 1px solid transparent;
-}
-
-.navbar:before, .navbar:after {
- display: table;
- content: " ";
-}
-
-.navbar:after {
- clear: both;
-}
-
-@media (min-width: 0) {
- .navbar {
- border-radius: 2px;
- }
-}
-
-.navbar-header:before, .navbar-header:after {
- display: table;
- content: " ";
-}
-
-.navbar-header:after {
- clear: both;
-}
-
-@media (min-width: 0) {
- .navbar-header {
- float: left;
- }
-}
-
-.navbar-collapse {
- padding-right: 10px;
- padding-left: 10px;
- overflow-x: visible;
- border-top: 1px solid transparent;
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
- -webkit-overflow-scrolling: touch;
-}
-
-.navbar-collapse:before, .navbar-collapse:after {
- display: table;
- content: " ";
-}
-
-.navbar-collapse:after {
- clear: both;
-}
-
-.navbar-collapse.in {
- overflow-y: auto;
-}
-
-@media (min-width: 0) {
- .navbar-collapse {
- width: auto;
- border-top: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
- }
- .navbar-collapse.collapse {
- display: block !important;
- height: auto !important;
- padding-bottom: 0;
- overflow: visible !important;
- }
- .navbar-collapse.in {
- overflow-y: visible;
- }
- .navbar-fixed-top .navbar-collapse,
- .navbar-static-top .navbar-collapse,
- .navbar-fixed-bottom .navbar-collapse {
- padding-right: 0;
- padding-left: 0;
- }
-}
-
-.navbar-fixed-top,
-.navbar-fixed-bottom {
- position: fixed;
- right: 0;
- left: 0;
- z-index: 1030;
-}
-
-.navbar-fixed-top .navbar-collapse,
-.navbar-fixed-bottom .navbar-collapse {
- max-height: 340px;
-}
-
-@media (max-device-width: 480px) and (orientation: landscape) {
- .navbar-fixed-top .navbar-collapse,
- .navbar-fixed-bottom .navbar-collapse {
- max-height: 200px;
- }
-}
-
-@media (min-width: 0) {
- .navbar-fixed-top,
- .navbar-fixed-bottom {
- border-radius: 0;
- }
-}
-
-.navbar-fixed-top {
- top: 0;
- border-width: 0 0 1px;
-}
-
-.navbar-fixed-bottom {
- bottom: 0;
- margin-bottom: 0;
- border-width: 1px 0 0;
-}
-
-.container > .navbar-header,
-.container > .navbar-collapse,
-.container-fluid > .navbar-header,
-.container-fluid > .navbar-collapse {
- margin-right: -10px;
- margin-left: -10px;
-}
-
-@media (min-width: 0) {
- .container > .navbar-header,
- .container > .navbar-collapse,
- .container-fluid > .navbar-header,
- .container-fluid > .navbar-collapse {
- margin-right: 0;
- margin-left: 0;
- }
-}
-
-.navbar-static-top {
- z-index: 1000;
- border-width: 0 0 1px;
-}
-
-@media (min-width: 0) {
- .navbar-static-top {
- border-radius: 0;
- }
-}
-
-.navbar-brand {
- float: left;
- height: 35px;
- padding: 8.5px 10px;
- font-size: 15px;
- line-height: 18px;
-}
-
-.navbar-brand:hover, .navbar-brand:focus {
- text-decoration: none;
-}
-
-.navbar-brand > img {
- display: block;
-}
-
-@media (min-width: 0) {
- .navbar > .container .navbar-brand,
- .navbar > .container-fluid .navbar-brand {
- margin-left: -10px;
- }
-}
-
-.navbar-toggle {
- position: relative;
- float: right;
- padding: 9px 10px;
- margin-right: 10px;
- margin-top: 0.5px;
- margin-bottom: 0.5px;
- background-color: transparent;
- background-image: none;
- border: 1px solid transparent;
- border-radius: 2px;
-}
-
-.navbar-toggle:focus {
- outline: 0;
-}
-
-.navbar-toggle .icon-bar {
- display: block;
- width: 22px;
- height: 2px;
- border-radius: 1px;
-}
-
-.navbar-toggle .icon-bar + .icon-bar {
- margin-top: 4px;
-}
-
-@media (min-width: 0) {
- .navbar-toggle {
- display: none;
- }
-}
-
-.navbar-nav {
- margin: 4.25px -10px;
-}
-
-.navbar-nav > li > a {
- padding-top: 10px;
- padding-bottom: 10px;
- line-height: 18px;
-}
-
-@media (max-width: -1) {
- .navbar-nav .open .dropdown-menu {
- position: static;
- float: none;
- width: auto;
- margin-top: 0;
- background-color: transparent;
- border: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
- }
- .navbar-nav .open .dropdown-menu > li > a,
- .navbar-nav .open .dropdown-menu .dropdown-header {
- padding: 5px 15px 5px 25px;
- }
- .navbar-nav .open .dropdown-menu > li > a {
- line-height: 18px;
- }
- .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus {
- background-image: none;
- }
-}
-
-@media (min-width: 0) {
- .navbar-nav {
- float: left;
- margin: 0;
- }
- .navbar-nav > li {
- float: left;
- }
- .navbar-nav > li > a {
- padding-top: 8.5px;
- padding-bottom: 8.5px;
- }
-}
-
-.navbar-form {
- padding: 10px 10px;
- margin-right: -10px;
- margin-left: -10px;
- border-top: 1px solid transparent;
- border-bottom: 1px solid transparent;
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
- margin-top: 3.5px;
- margin-bottom: 3.5px;
-}
-
-@media (min-width: 768px) {
- .navbar-form .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle;
- }
- .navbar-form .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle;
- }
- .navbar-form .form-control-static {
- display: inline-block;
- }
- .navbar-form .input-group {
- display: inline-table;
- vertical-align: middle;
- }
- .navbar-form .input-group .input-group-addon,
- .navbar-form .input-group .input-group-btn,
- .navbar-form .input-group .form-control {
- width: auto;
- }
- .navbar-form .input-group > .form-control {
- width: 100%;
- }
- .navbar-form .control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
- .navbar-form .radio,
- .navbar-form .checkbox {
- display: inline-block;
- margin-top: 0;
- margin-bottom: 0;
- vertical-align: middle;
- }
- .navbar-form .radio label,
- .navbar-form .checkbox label {
- padding-left: 0;
- }
- .navbar-form .radio input[type="radio"],
- .navbar-form .checkbox input[type="checkbox"] {
- position: relative;
- margin-left: 0;
- }
- .navbar-form .has-feedback .form-control-feedback {
- top: 0;
- }
-}
-
-@media (max-width: -1) {
- .navbar-form .form-group {
- margin-bottom: 5px;
- }
- .navbar-form .form-group:last-child {
- margin-bottom: 0;
- }
-}
-
-@media (min-width: 0) {
- .navbar-form {
- width: auto;
- padding-top: 0;
- padding-bottom: 0;
- margin-right: 0;
- margin-left: 0;
- border: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
- }
-}
-
-.navbar-nav > li > .dropdown-menu {
- margin-top: 0;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
-}
-
-.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
- margin-bottom: 0;
- border-top-left-radius: 2px;
- border-top-right-radius: 2px;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
-}
-
-.navbar-btn {
- margin-top: 3.5px;
- margin-bottom: 3.5px;
-}
-
-.navbar-btn.btn-sm, .btn-group-sm > .navbar-btn.btn {
- margin-top: 4.5px;
- margin-bottom: 4.5px;
-}
-
-.navbar-btn.btn-xs, .btn-group-xs > .navbar-btn.btn {
- margin-top: 6.5px;
- margin-bottom: 6.5px;
-}
-
-.navbar-text {
- margin-top: 8.5px;
- margin-bottom: 8.5px;
-}
-
-@media (min-width: 0) {
- .navbar-text {
- float: left;
- margin-right: 10px;
- margin-left: 10px;
- }
-}
-
-@media (min-width: 0) {
- .navbar-left {
- float: left !important;
- }
- .navbar-right {
- float: right !important;
- margin-right: -10px;
- }
- .navbar-right ~ .navbar-right {
- margin-right: 0;
- }
-}
-
-.navbar-default {
- background-color: #f8f8f8;
- border-color: #e7e7e7;
-}
-
-.navbar-default .navbar-brand {
- color: #777;
-}
-
-.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
- color: #5e5e5e;
- background-color: transparent;
-}
-
-.navbar-default .navbar-text {
- color: #777;
-}
-
-.navbar-default .navbar-nav > li > a {
- color: #777;
-}
-
-.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
- color: #333;
- background-color: transparent;
-}
-
-.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
- color: #555;
- background-color: #e7e7e7;
-}
-
-.navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus {
- color: #ccc;
- background-color: transparent;
-}
-
-.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
- color: #555;
- background-color: #e7e7e7;
-}
-
-@media (max-width: -1) {
- .navbar-default .navbar-nav .open .dropdown-menu > li > a {
- color: #777;
- }
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #333;
- background-color: transparent;
- }
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #555;
- background-color: #e7e7e7;
- }
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #ccc;
- background-color: transparent;
- }
-}
-
-.navbar-default .navbar-toggle {
- border-color: #ddd;
-}
-
-.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
- background-color: #ddd;
-}
-
-.navbar-default .navbar-toggle .icon-bar {
- background-color: #888;
-}
-
-.navbar-default .navbar-collapse,
-.navbar-default .navbar-form {
- border-color: #e7e7e7;
-}
-
-.navbar-default .navbar-link {
- color: #777;
-}
-
-.navbar-default .navbar-link:hover {
- color: #333;
-}
-
-.navbar-default .btn-link {
- color: #777;
-}
-
-.navbar-default .btn-link:hover, .navbar-default .btn-link:focus {
- color: #333;
-}
-
-.navbar-default .btn-link[disabled]:hover, .navbar-default .btn-link[disabled]:focus,
-fieldset[disabled] .navbar-default .btn-link:hover,
-fieldset[disabled] .navbar-default .btn-link:focus {
- color: #ccc;
-}
-
-.navbar-inverse {
- background-color: #222;
- border-color: #090909;
-}
-
-.navbar-inverse .navbar-brand {
- color: darkgray;
-}
-
-.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
- color: #fff;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-text {
- color: darkgray;
-}
-
-.navbar-inverse .navbar-nav > li > a {
- color: darkgray;
-}
-
-.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
- color: #fff;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
- color: #fff;
- background-color: #090909;
-}
-
-.navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus {
- color: #444;
- background-color: transparent;
-}
-
-.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
- color: #fff;
- background-color: #090909;
-}
-
-@media (max-width: -1) {
- .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
- border-color: #090909;
- }
- .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
- background-color: #090909;
- }
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
- color: darkgray;
- }
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #fff;
- background-color: transparent;
- }
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
- color: #fff;
- background-color: #090909;
- }
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
- color: #444;
- background-color: transparent;
- }
-}
-
-.navbar-inverse .navbar-toggle {
- border-color: #333;
-}
-
-.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
- background-color: #333;
-}
-
-.navbar-inverse .navbar-toggle .icon-bar {
- background-color: #fff;
-}
-
-.navbar-inverse .navbar-collapse,
-.navbar-inverse .navbar-form {
- border-color: #101010;
-}
-
-.navbar-inverse .navbar-link {
- color: darkgray;
-}
-
-.navbar-inverse .navbar-link:hover {
- color: #fff;
-}
-
-.navbar-inverse .btn-link {
- color: darkgray;
-}
-
-.navbar-inverse .btn-link:hover, .navbar-inverse .btn-link:focus {
- color: #fff;
-}
-
-.navbar-inverse .btn-link[disabled]:hover, .navbar-inverse .btn-link[disabled]:focus,
-fieldset[disabled] .navbar-inverse .btn-link:hover,
-fieldset[disabled] .navbar-inverse .btn-link:focus {
- color: #444;
-}
-
-.pagination {
- display: inline-block;
- padding-left: 0;
- margin: 18px 0;
- border-radius: 2px;
-}
-
-.pagination > li {
- display: inline;
-}
-
-.pagination > li > a,
-.pagination > li > span {
- position: relative;
- float: left;
- padding: 4px 8px;
- margin-left: -1px;
- line-height: 1.5;
- color: #006dcc;
- text-decoration: none;
- background-color: #fff;
- border: 1px solid #e8e8e8;
-}
-
-.pagination > li > a:hover, .pagination > li > a:focus,
-.pagination > li > span:hover,
-.pagination > li > span:focus {
- z-index: 2;
- color: #1950a3;
- background-color: #f9f9f9;
- border-color: #e8e8e8;
-}
-
-.pagination > li:first-child > a,
-.pagination > li:first-child > span {
- margin-left: 0;
- border-top-left-radius: 2px;
- border-bottom-left-radius: 2px;
-}
-
-.pagination > li:last-child > a,
-.pagination > li:last-child > span {
- border-top-right-radius: 2px;
- border-bottom-right-radius: 2px;
-}
-
-.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
-.pagination > .active > span,
-.pagination > .active > span:hover,
-.pagination > .active > span:focus {
- z-index: 3;
- color: #838383;
- cursor: default;
- background-color: #f9f9f9;
- border-color: #e8e8e8;
-}
-
-.pagination > .disabled > span,
-.pagination > .disabled > span:hover,
-.pagination > .disabled > span:focus,
-.pagination > .disabled > a,
-.pagination > .disabled > a:hover,
-.pagination > .disabled > a:focus {
- color: #838383;
- cursor: not-allowed;
- background-color: #fff;
- border-color: #e8e8e8;
-}
-
-.pagination-lg > li > a,
-.pagination-lg > li > span {
- padding: 6px 29px;
- font-size: 15px;
- line-height: 1.33333;
-}
-
-.pagination-lg > li:first-child > a,
-.pagination-lg > li:first-child > span {
- border-top-left-radius: 2px;
- border-bottom-left-radius: 2px;
-}
-
-.pagination-lg > li:last-child > a,
-.pagination-lg > li:last-child > span {
- border-top-right-radius: 2px;
- border-bottom-right-radius: 2px;
-}
-
-.pagination-sm > li > a,
-.pagination-sm > li > span {
- padding: 4px 15px;
- font-size: 11px;
- line-height: 1.5;
-}
-
-.pagination-sm > li:first-child > a,
-.pagination-sm > li:first-child > span {
- border-top-left-radius: 2px;
- border-bottom-left-radius: 2px;
-}
-
-.pagination-sm > li:last-child > a,
-.pagination-sm > li:last-child > span {
- border-top-right-radius: 2px;
- border-bottom-right-radius: 2px;
-}
-
-.label {
- display: inline;
- padding: .2em .6em .3em;
- font-size: 75%;
- font-weight: 700;
- line-height: 1;
- color: #fff;
- text-align: center;
- white-space: nowrap;
- vertical-align: baseline;
- border-radius: .25em;
-}
-
-.label:empty {
- display: none;
-}
-
-.btn .label {
- position: relative;
- top: -1px;
-}
-
-a.label:hover, a.label:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer;
-}
-
-.label-default {
- background-color: #838383;
-}
-
-.label-default[href]:hover, .label-default[href]:focus {
- background-color: #6a6a6a;
-}
-
-.label-primary {
- background-color: #006dcc;
-}
-
-.label-primary[href]:hover, .label-primary[href]:focus {
- background-color: #005299;
-}
-
-.label-success {
- background-color: #5bb75b;
-}
-
-.label-success[href]:hover, .label-success[href]:focus {
- background-color: #449b44;
-}
-
-.label-info {
- background-color: #49afcd;
-}
-
-.label-info[href]:hover, .label-info[href]:focus {
- background-color: #3195b2;
-}
-
-.label-warning {
- background-color: #faa732;
-}
-
-.label-warning[href]:hover, .label-warning[href]:focus {
- background-color: #f39106;
-}
-
-.label-danger {
- background-color: #da4f49;
-}
-
-.label-danger[href]:hover, .label-danger[href]:focus {
- background-color: #c72f29;
-}
-
-.badge {
- display: inline-block;
- min-width: 10px;
- padding: 3px 7px;
- font-size: 11px;
- font-weight: bold;
- line-height: 1;
- color: #fff;
- text-align: center;
- white-space: nowrap;
- vertical-align: middle;
- background-color: #838383;
- border-radius: 10px;
-}
-
-.badge:empty {
- display: none;
-}
-
-.btn .badge {
- position: relative;
- top: -1px;
-}
-
-.btn-xs .badge, .btn-group-xs > .btn .badge,
-.btn-group-xs > .btn .badge {
- top: 0;
- padding: 1px 5px;
-}
-
-.list-group-item.active > .badge,
-.nav-pills > .active > a > .badge {
- color: #006dcc;
- background-color: #fff;
-}
-
-.list-group-item > .badge {
- float: right;
-}
-
-.list-group-item > .badge + .badge {
- margin-right: 5px;
-}
-
-.nav-pills > li > a > .badge {
- margin-left: 3px;
-}
-
-a.badge:hover, a.badge:focus {
- color: #fff;
- text-decoration: none;
- cursor: pointer;
-}
-
-.alert {
- padding: 15px;
- margin-bottom: 18px;
- border: 1px solid transparent;
- border-radius: 2px;
-}
-
-.alert h4 {
- margin-top: 0;
- color: inherit;
-}
-
-.alert .alert-link {
- font-weight: bold;
-}
-
-.alert > p,
-.alert > ul {
- margin-bottom: 0;
-}
-
-.alert > p + p {
- margin-top: 5px;
-}
-
-.alert-dismissable,
-.alert-dismissible {
- padding-right: 35px;
-}
-
-.alert-dismissable .close,
-.alert-dismissible .close {
- position: relative;
- top: -2px;
- right: -21px;
- color: inherit;
-}
-
-.alert-success {
- color: #5bb75b;
- background-color: #5bb75b;
- border-color: #31a549;
-}
-
-.alert-success hr {
- border-top-color: #2b9140;
-}
-
-.alert-success .alert-link {
- color: #449b44;
-}
-
-.alert-info {
- color: #49afcd;
- background-color: #49afcd;
- border-color: #0492ba;
-}
-
-.alert-info hr {
- border-top-color: #037ea1;
-}
-
-.alert-info .alert-link {
- color: #3195b2;
-}
-
-.alert-warning {
- color: #faa732;
- background-color: #faa732;
- border-color: #f8951d;
-}
-
-.alert-warning hr {
- border-top-color: #f48908;
-}
-
-.alert-warning .alert-link {
- color: #f39106;
-}
-
-.alert-danger {
- color: #da4f49;
- background-color: #da4f49;
- border-color: #d5382e;
-}
-
-.alert-danger hr {
- border-top-color: #c23027;
-}
-
-.alert-danger .alert-link {
- color: #c72f29;
-}
-
-@-webkit-keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
-}
-
-@keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
-}
-
-.progress {
- height: 18px;
- margin-bottom: 18px;
- overflow: hidden;
- background-color: #f5f5f5;
- border-radius: 2px;
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
-}
-
-.progress-bar {
- float: left;
- width: 0%;
- height: 100%;
- font-size: 11px;
- line-height: 18px;
- color: #fff;
- text-align: center;
- background-color: #006dcc;
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- -webkit-transition: width 0.6s ease;
- transition: width 0.6s ease;
-}
-
-.progress-striped .progress-bar,
-.progress-bar-striped {
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-size: 40px 40px;
-}
-
-.progress.active .progress-bar,
-.progress-bar.active {
- -webkit-animation: progress-bar-stripes 2s linear infinite;
- animation: progress-bar-stripes 2s linear infinite;
-}
-
-.progress-bar-success {
- background-color: #5bb75b;
-}
-
-.progress-striped .progress-bar-success {
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-info {
- background-color: #49afcd;
-}
-
-.progress-striped .progress-bar-info {
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-warning {
- background-color: #faa732;
-}
-
-.progress-striped .progress-bar-warning {
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
-}
-
-.progress-bar-danger {
- background-color: #da4f49;
-}
-
-.progress-striped .progress-bar-danger {
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
-}
-
-.well {
- min-height: 20px;
- padding: 19px;
- margin-bottom: 20px;
- background-color: #f5f5f5;
- border: 1px solid #e3e3e3;
- border-radius: 2px;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
-}
-
-.well blockquote {
- border-color: #ddd;
- border-color: rgba(0, 0, 0, 0.15);
-}
-
-.well-lg {
- padding: 24px;
- border-radius: 2px;
-}
-
-.well-sm {
- padding: 9px;
- border-radius: 2px;
-}
-
-.close {
- float: right;
- font-size: 18px;
- font-weight: bold;
- line-height: 1;
- color: #000;
- text-shadow: 0 1px 0 #fff;
- filter: alpha(opacity=20);
- opacity: 0.2;
-}
-
-.close:hover, .close:focus {
- color: #000;
- text-decoration: none;
- cursor: pointer;
- filter: alpha(opacity=50);
- opacity: 0.5;
-}
-
-button.close {
- padding: 0;
- cursor: pointer;
- background: transparent;
- border: 0;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
-}
-
-.modal-open {
- overflow: hidden;
-}
-
-.modal {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1050;
- display: none;
- overflow: hidden;
- -webkit-overflow-scrolling: touch;
- outline: 0;
-}
-
-.modal.fade .modal-dialog {
- -webkit-transform: translate(0, -25%);
- transform: translate(0, -25%);
- -webkit-transition: -webkit-transform 0.3s ease-out;
- transition: -webkit-transform 0.3s ease-out;
- transition: transform 0.3s ease-out;
- transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
-}
-
-.modal.in .modal-dialog {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
-}
-
-.modal-open .modal {
- overflow-x: hidden;
- overflow-y: auto;
-}
-
-.modal-dialog {
- position: relative;
- width: auto;
- margin: 10px;
-}
-
-.modal-content {
- position: relative;
- background-color: #fff;
- background-clip: padding-box;
- border: 1px solid #999;
- border: 1px solid transparent;
- border-radius: 2px;
- -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
- box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
- outline: 0;
-}
-
-.modal-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1040;
- background-color: #5a5a5a;
-}
-
-.modal-backdrop.fade {
- filter: alpha(opacity=0);
- opacity: 0;
-}
-
-.modal-backdrop.in {
- filter: alpha(opacity=80);
- opacity: 0.8;
-}
-
-.modal-header {
- padding: 15px;
- border-bottom: 1px solid #e8e8e8;
-}
-
-.modal-header:before, .modal-header:after {
- display: table;
- content: " ";
-}
-
-.modal-header:after {
- clear: both;
-}
-
-.modal-header .close {
- margin-top: -2px;
-}
-
-.modal-title {
- margin: 0;
- line-height: 1.5;
-}
-
-.modal-body {
- position: relative;
- padding: 30px;
-}
-
-.modal-footer {
- padding: 30px;
- text-align: right;
- border-top: 1px solid #e8e8e8;
-}
-
-.modal-footer:before, .modal-footer:after {
- display: table;
- content: " ";
-}
-
-.modal-footer:after {
- clear: both;
-}
-
-.modal-footer .btn + .btn {
- margin-bottom: 0;
- margin-left: 5px;
-}
-
-.modal-footer .btn-group .btn + .btn {
- margin-left: -1px;
-}
-
-.modal-footer .btn-block + .btn-block {
- margin-left: 0;
-}
-
-.modal-scrollbar-measure {
- position: absolute;
- top: -9999px;
- width: 50px;
- height: 50px;
- overflow: scroll;
-}
-
-@media (min-width: 768px) {
- .modal-dialog {
- width: 700px;
- margin: 30px auto;
- }
- .modal-content {
- -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
- }
- .modal-sm {
- width: 525px;
- }
-}
-
-@media (min-width: 992px) {
- .modal-lg {
- width: 940px;
- }
-}
-
-.tooltip {
- position: absolute;
- z-index: 1070;
- display: block;
- font-family: Roboto, Helvetica, sans-serif;
- font-style: normal;
- font-weight: 400;
- line-height: 1.5;
- line-break: auto;
- text-align: left;
- text-align: start;
- text-decoration: none;
- text-shadow: none;
- text-transform: none;
- letter-spacing: normal;
- word-break: normal;
- word-spacing: normal;
- word-wrap: normal;
- white-space: normal;
- font-size: 11px;
- filter: alpha(opacity=0);
- opacity: 0;
-}
-
-.tooltip.in {
- filter: alpha(opacity=90);
- opacity: 0.9;
-}
-
-.tooltip.top {
- padding: 5px 0;
- margin-top: -3px;
-}
-
-.tooltip.right {
- padding: 0 5px;
- margin-left: 3px;
-}
-
-.tooltip.bottom {
- padding: 5px 0;
- margin-top: 3px;
-}
-
-.tooltip.left {
- padding: 0 5px;
- margin-left: -3px;
-}
-
-.tooltip.top .tooltip-arrow {
- bottom: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.top-left .tooltip-arrow {
- right: 5px;
- bottom: 0;
- margin-bottom: -5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.top-right .tooltip-arrow {
- bottom: 0;
- left: 5px;
- margin-bottom: -5px;
- border-width: 5px 5px 0;
- border-top-color: #000;
-}
-
-.tooltip.right .tooltip-arrow {
- top: 50%;
- left: 0;
- margin-top: -5px;
- border-width: 5px 5px 5px 0;
- border-right-color: #000;
-}
-
-.tooltip.left .tooltip-arrow {
- top: 50%;
- right: 0;
- margin-top: -5px;
- border-width: 5px 0 5px 5px;
- border-left-color: #000;
-}
-
-.tooltip.bottom .tooltip-arrow {
- top: 0;
- left: 50%;
- margin-left: -5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.tooltip.bottom-left .tooltip-arrow {
- top: 0;
- right: 5px;
- margin-top: -5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.tooltip.bottom-right .tooltip-arrow {
- top: 0;
- left: 5px;
- margin-top: -5px;
- border-width: 0 5px 5px;
- border-bottom-color: #000;
-}
-
-.tooltip-inner {
- max-width: 200px;
- padding: 3px 8px;
- color: #fff;
- text-align: center;
- background-color: #000;
- border-radius: 2px;
-}
-
-.tooltip-arrow {
- position: absolute;
- width: 0;
- height: 0;
- border-color: transparent;
- border-style: solid;
-}
-
-.carousel {
- position: relative;
-}
-
-.carousel-inner {
- position: relative;
- width: 100%;
- overflow: hidden;
-}
-
-.carousel-inner > .item {
- position: relative;
- display: none;
- -webkit-transition: 0.6s ease-in-out left;
- transition: 0.6s ease-in-out left;
-}
-
-.carousel-inner > .item > img,
-.carousel-inner > .item > a > img {
- display: block;
- max-width: 100%;
- height: auto;
- line-height: 1;
-}
-
-@media all and (transform-3d), (-webkit-transform-3d) {
- .carousel-inner > .item {
- -webkit-transition: -webkit-transform 0.6s ease-in-out;
- transition: -webkit-transform 0.6s ease-in-out;
- transition: transform 0.6s ease-in-out;
- transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
- -webkit-perspective: 1000px;
- perspective: 1000px;
- }
- .carousel-inner > .item.next, .carousel-inner > .item.active.right {
- -webkit-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- left: 0;
- }
- .carousel-inner > .item.prev, .carousel-inner > .item.active.left {
- -webkit-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- left: 0;
- }
- .carousel-inner > .item.next.left, .carousel-inner > .item.prev.right, .carousel-inner > .item.active {
- -webkit-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- left: 0;
- }
-}
-
-.carousel-inner > .active,
-.carousel-inner > .next,
-.carousel-inner > .prev {
- display: block;
-}
-
-.carousel-inner > .active {
- left: 0;
-}
-
-.carousel-inner > .next,
-.carousel-inner > .prev {
- position: absolute;
- top: 0;
- width: 100%;
-}
-
-.carousel-inner > .next {
- left: 100%;
-}
-
-.carousel-inner > .prev {
- left: -100%;
-}
-
-.carousel-inner > .next.left,
-.carousel-inner > .prev.right {
- left: 0;
-}
-
-.carousel-inner > .active.left {
- left: -100%;
-}
-
-.carousel-inner > .active.right {
- left: 100%;
-}
-
-.carousel-control {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- width: 15%;
- font-size: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
- background-color: rgba(0, 0, 0, 0);
- filter: alpha(opacity=50);
- opacity: 0.5;
-}
-
-.carousel-control.left {
- background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001)));
- background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
- background-repeat: repeat-x;
-}
-
-.carousel-control.right {
- right: 0;
- left: auto;
- background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5)));
- background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
- background-repeat: repeat-x;
-}
-
-.carousel-control:hover, .carousel-control:focus {
- color: #fff;
- text-decoration: none;
- outline: 0;
- filter: alpha(opacity=90);
- opacity: 0.9;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .icon-next,
-.carousel-control .glyphicon-chevron-left,
-.carousel-control .glyphicon-chevron-right {
- position: absolute;
- top: 50%;
- z-index: 5;
- display: inline-block;
- margin-top: -10px;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .glyphicon-chevron-left {
- left: 50%;
- margin-left: -10px;
-}
-
-.carousel-control .icon-next,
-.carousel-control .glyphicon-chevron-right {
- right: 50%;
- margin-right: -10px;
-}
-
-.carousel-control .icon-prev,
-.carousel-control .icon-next {
- width: 20px;
- height: 20px;
- font-family: serif;
- line-height: 1;
-}
-
-.carousel-control .icon-prev:before {
- content: "\2039";
-}
-
-.carousel-control .icon-next:before {
- content: "\203A";
-}
-
-.carousel-indicators {
- position: absolute;
- bottom: 10px;
- left: 50%;
- z-index: 15;
- width: 60%;
- padding-left: 0;
- margin-left: -30%;
- text-align: center;
- list-style: none;
-}
-
-.carousel-indicators li {
- display: inline-block;
- width: 10px;
- height: 10px;
- margin: 1px;
- text-indent: -999px;
- cursor: pointer;
- background-color: #000 \9;
- background-color: rgba(0, 0, 0, 0);
- border: 1px solid #fff;
- border-radius: 10px;
-}
-
-.carousel-indicators .active {
- width: 12px;
- height: 12px;
- margin: 0;
- background-color: #fff;
-}
-
-.carousel-caption {
- position: absolute;
- right: 15%;
- bottom: 20px;
- left: 15%;
- z-index: 10;
- padding-top: 20px;
- padding-bottom: 20px;
- color: #fff;
- text-align: center;
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
-}
-
-.carousel-caption .btn {
- text-shadow: none;
-}
-
-@media screen and (min-width: 768px) {
- .carousel-control .glyphicon-chevron-left,
- .carousel-control .glyphicon-chevron-right,
- .carousel-control .icon-prev,
- .carousel-control .icon-next {
- width: 30px;
- height: 30px;
- margin-top: -10px;
- font-size: 30px;
- }
- .carousel-control .glyphicon-chevron-left,
- .carousel-control .icon-prev {
- margin-left: -10px;
- }
- .carousel-control .glyphicon-chevron-right,
- .carousel-control .icon-next {
- margin-right: -10px;
- }
- .carousel-caption {
- right: 20%;
- left: 20%;
- padding-bottom: 30px;
- }
- .carousel-indicators {
- bottom: 20px;
- }
-}
-
-.clearfix:before, .clearfix:after {
- display: table;
- content: " ";
-}
-
-.clearfix:after {
- clear: both;
-}
-
-.center-block {
- display: block;
- margin-right: auto;
- margin-left: auto;
-}
-
-.pull-right {
- float: right !important;
-}
-
-.pull-left {
- float: left !important;
-}
-
-.hide {
- display: none !important;
-}
-
-.show {
- display: block !important;
-}
-
-.invisible {
- visibility: hidden;
-}
-
-.text-hide {
- font: 0/0 a;
- color: transparent;
- text-shadow: none;
- background-color: transparent;
- border: 0;
-}
-
-.hidden {
- display: none !important;
-}
-
-.affix {
- position: fixed;
-}
-
-.btn-inverse:not([disabled]) {
- color: #838383;
- background-color: #fff;
- border-color: #d3d3d3;
-}
-
-.btn-inverse:not([disabled]):focus, .btn-inverse:not([disabled]).focus {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #939393;
-}
-
-.btn-inverse:not([disabled]):hover {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #b4b4b4;
-}
-
-.btn-inverse:not([disabled]):active, .btn-inverse:not([disabled]).active,
-.open > .btn-inverse:not([disabled]).dropdown-toggle {
- color: #838383;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #b4b4b4;
-}
-
-.btn-inverse:not([disabled]):active:hover, .btn-inverse:not([disabled]):active:focus, .btn-inverse:not([disabled]):active.focus, .btn-inverse:not([disabled]).active:hover, .btn-inverse:not([disabled]).active:focus, .btn-inverse:not([disabled]).active.focus,
-.open > .btn-inverse:not([disabled]).dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).dropdown-toggle.focus {
- color: #838383;
- background-color: #d4d4d4;
- border-color: #939393;
-}
-
-.btn-inverse:not([disabled]).disabled:hover, .btn-inverse:not([disabled]).disabled:focus, .btn-inverse:not([disabled]).disabled.focus, .btn-inverse:not([disabled])[disabled]:hover, .btn-inverse:not([disabled])[disabled]:focus, .btn-inverse:not([disabled])[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]):hover,
-fieldset[disabled] .btn-inverse:not([disabled]):focus,
-fieldset[disabled] .btn-inverse:not([disabled]).focus {
- background-color: #fff;
- border-color: #d3d3d3;
-}
-
-.btn-inverse:not([disabled]) .badge {
- color: #fff;
- background-color: #838383;
-}
-
-.btn-inverse:not([disabled]):hover, .btn-inverse:not([disabled]):active, .btn-inverse:not([disabled]):focus {
- background-color: #f3f3f3;
-}
-
-.btn-inverse:not([disabled]).btn-primary {
- color: #006dcc;
- background-color: #fff;
- border-color: #006dcc;
-}
-
-.btn-inverse:not([disabled]).btn-primary:focus, .btn-inverse:not([disabled]).btn-primary.focus {
- color: #006dcc;
- background-color: #e6e6e6;
- border-color: #00294d;
-}
-
-.btn-inverse:not([disabled]).btn-primary:hover {
- color: #006dcc;
- background-color: #e6e6e6;
- border-color: #004c8f;
-}
-
-.btn-inverse:not([disabled]).btn-primary:active, .btn-inverse:not([disabled]).btn-primary.active,
-.open > .btn-inverse:not([disabled]).btn-primary.dropdown-toggle {
- color: #006dcc;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #004c8f;
-}
-
-.btn-inverse:not([disabled]).btn-primary:active:hover, .btn-inverse:not([disabled]).btn-primary:active:focus, .btn-inverse:not([disabled]).btn-primary:active.focus, .btn-inverse:not([disabled]).btn-primary.active:hover, .btn-inverse:not([disabled]).btn-primary.active:focus, .btn-inverse:not([disabled]).btn-primary.active.focus,
-.open > .btn-inverse:not([disabled]).btn-primary.dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).btn-primary.dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).btn-primary.dropdown-toggle.focus {
- color: #006dcc;
- background-color: #d4d4d4;
- border-color: #00294d;
-}
-
-.btn-inverse:not([disabled]).btn-primary.disabled:hover, .btn-inverse:not([disabled]).btn-primary.disabled:focus, .btn-inverse:not([disabled]).btn-primary.disabled.focus, .btn-inverse:not([disabled]).btn-primary[disabled]:hover, .btn-inverse:not([disabled]).btn-primary[disabled]:focus, .btn-inverse:not([disabled]).btn-primary[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-primary:hover,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-primary:focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-primary.focus {
- background-color: #fff;
- border-color: #006dcc;
-}
-
-.btn-inverse:not([disabled]).btn-primary .badge {
- color: #fff;
- background-color: #006dcc;
-}
-
-.btn-inverse:not([disabled]).btn-primary:active, .btn-inverse:not([disabled]).btn-primary:active:active, .btn-inverse:not([disabled]).btn-primary:focus, .btn-inverse:not([disabled]).btn-primary:focus:active, .btn-inverse:not([disabled]).btn-primary:hover, .btn-inverse:not([disabled]).btn-primary:hover:active {
- background-color: #cce7ff;
-}
-
-.btn-inverse:not([disabled]).btn-success {
- color: #5bb75b;
- background-color: #fff;
- border-color: #5bb75b;
-}
-
-.btn-inverse:not([disabled]).btn-success:focus, .btn-inverse:not([disabled]).btn-success.focus {
- color: #5bb75b;
- background-color: #e6e6e6;
- border-color: #2d662d;
-}
-
-.btn-inverse:not([disabled]).btn-success:hover {
- color: #5bb75b;
- background-color: #e6e6e6;
- border-color: #419441;
-}
-
-.btn-inverse:not([disabled]).btn-success:active, .btn-inverse:not([disabled]).btn-success.active,
-.open > .btn-inverse:not([disabled]).btn-success.dropdown-toggle {
- color: #5bb75b;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #419441;
-}
-
-.btn-inverse:not([disabled]).btn-success:active:hover, .btn-inverse:not([disabled]).btn-success:active:focus, .btn-inverse:not([disabled]).btn-success:active.focus, .btn-inverse:not([disabled]).btn-success.active:hover, .btn-inverse:not([disabled]).btn-success.active:focus, .btn-inverse:not([disabled]).btn-success.active.focus,
-.open > .btn-inverse:not([disabled]).btn-success.dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).btn-success.dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).btn-success.dropdown-toggle.focus {
- color: #5bb75b;
- background-color: #d4d4d4;
- border-color: #2d662d;
-}
-
-.btn-inverse:not([disabled]).btn-success.disabled:hover, .btn-inverse:not([disabled]).btn-success.disabled:focus, .btn-inverse:not([disabled]).btn-success.disabled.focus, .btn-inverse:not([disabled]).btn-success[disabled]:hover, .btn-inverse:not([disabled]).btn-success[disabled]:focus, .btn-inverse:not([disabled]).btn-success[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-success:hover,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-success:focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-success.focus {
- background-color: #fff;
- border-color: #5bb75b;
-}
-
-.btn-inverse:not([disabled]).btn-success .badge {
- color: #fff;
- background-color: #5bb75b;
-}
-
-.btn-inverse:not([disabled]).btn-success:active, .btn-inverse:not([disabled]).btn-success:active:active, .btn-inverse:not([disabled]).btn-success:focus, .btn-inverse:not([disabled]).btn-success:focus:active, .btn-inverse:not([disabled]).btn-success:hover, .btn-inverse:not([disabled]).btn-success:hover:active {
- background-color: #dcefdc;
-}
-
-.btn-inverse:not([disabled]).btn-info {
- color: #49afcd;
- background-color: #fff;
- border-color: #49afcd;
-}
-
-.btn-inverse:not([disabled]).btn-info:focus, .btn-inverse:not([disabled]).btn-info.focus {
- color: #49afcd;
- background-color: #e6e6e6;
- border-color: #206376;
-}
-
-.btn-inverse:not([disabled]).btn-info:hover {
- color: #49afcd;
- background-color: #e6e6e6;
- border-color: #2f8eaa;
-}
-
-.btn-inverse:not([disabled]).btn-info:active, .btn-inverse:not([disabled]).btn-info.active,
-.open > .btn-inverse:not([disabled]).btn-info.dropdown-toggle {
- color: #49afcd;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #2f8eaa;
-}
-
-.btn-inverse:not([disabled]).btn-info:active:hover, .btn-inverse:not([disabled]).btn-info:active:focus, .btn-inverse:not([disabled]).btn-info:active.focus, .btn-inverse:not([disabled]).btn-info.active:hover, .btn-inverse:not([disabled]).btn-info.active:focus, .btn-inverse:not([disabled]).btn-info.active.focus,
-.open > .btn-inverse:not([disabled]).btn-info.dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).btn-info.dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).btn-info.dropdown-toggle.focus {
- color: #49afcd;
- background-color: #d4d4d4;
- border-color: #206376;
-}
-
-.btn-inverse:not([disabled]).btn-info.disabled:hover, .btn-inverse:not([disabled]).btn-info.disabled:focus, .btn-inverse:not([disabled]).btn-info.disabled.focus, .btn-inverse:not([disabled]).btn-info[disabled]:hover, .btn-inverse:not([disabled]).btn-info[disabled]:focus, .btn-inverse:not([disabled]).btn-info[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-info:hover,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-info:focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-info.focus {
- background-color: #fff;
- border-color: #49afcd;
-}
-
-.btn-inverse:not([disabled]).btn-info .badge {
- color: #fff;
- background-color: #49afcd;
-}
-
-.btn-inverse:not([disabled]).btn-info:active, .btn-inverse:not([disabled]).btn-info:active:active, .btn-inverse:not([disabled]).btn-info:focus, .btn-inverse:not([disabled]).btn-info:focus:active, .btn-inverse:not([disabled]).btn-info:hover, .btn-inverse:not([disabled]).btn-info:hover:active {
- background-color: #d7edf4;
-}
-
-.btn-inverse:not([disabled]).btn-warning {
- color: #faa732;
- background-color: #fff;
- border-color: #faa732;
-}
-
-.btn-inverse:not([disabled]).btn-warning:focus, .btn-inverse:not([disabled]).btn-warning.focus {
- color: #faa732;
- background-color: #e6e6e6;
- border-color: #a86404;
-}
-
-.btn-inverse:not([disabled]).btn-warning:hover {
- color: #faa732;
- background-color: #e6e6e6;
- border-color: #e98b06;
-}
-
-.btn-inverse:not([disabled]).btn-warning:active, .btn-inverse:not([disabled]).btn-warning.active,
-.open > .btn-inverse:not([disabled]).btn-warning.dropdown-toggle {
- color: #faa732;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #e98b06;
-}
-
-.btn-inverse:not([disabled]).btn-warning:active:hover, .btn-inverse:not([disabled]).btn-warning:active:focus, .btn-inverse:not([disabled]).btn-warning:active.focus, .btn-inverse:not([disabled]).btn-warning.active:hover, .btn-inverse:not([disabled]).btn-warning.active:focus, .btn-inverse:not([disabled]).btn-warning.active.focus,
-.open > .btn-inverse:not([disabled]).btn-warning.dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).btn-warning.dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).btn-warning.dropdown-toggle.focus {
- color: #faa732;
- background-color: #d4d4d4;
- border-color: #a86404;
-}
-
-.btn-inverse:not([disabled]).btn-warning.disabled:hover, .btn-inverse:not([disabled]).btn-warning.disabled:focus, .btn-inverse:not([disabled]).btn-warning.disabled.focus, .btn-inverse:not([disabled]).btn-warning[disabled]:hover, .btn-inverse:not([disabled]).btn-warning[disabled]:focus, .btn-inverse:not([disabled]).btn-warning[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-warning:hover,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-warning:focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-warning.focus {
- background-color: #fff;
- border-color: #faa732;
-}
-
-.btn-inverse:not([disabled]).btn-warning .badge {
- color: #fff;
- background-color: #faa732;
-}
-
-.btn-inverse:not([disabled]).btn-warning:active, .btn-inverse:not([disabled]).btn-warning:active:active, .btn-inverse:not([disabled]).btn-warning:focus, .btn-inverse:not([disabled]).btn-warning:focus:active, .btn-inverse:not([disabled]).btn-warning:hover, .btn-inverse:not([disabled]).btn-warning:hover:active {
- background-color: #feeacd;
-}
-
-.btn-inverse:not([disabled]).btn-danger {
- color: #da4f49;
- background-color: #fff;
- border-color: #da4f49;
-}
-
-.btn-inverse:not([disabled]).btn-danger:focus, .btn-inverse:not([disabled]).btn-danger.focus {
- color: #da4f49;
- background-color: #e6e6e6;
- border-color: #88201c;
-}
-
-.btn-inverse:not([disabled]).btn-danger:hover {
- color: #da4f49;
- background-color: #e6e6e6;
- border-color: #bf2d27;
-}
-
-.btn-inverse:not([disabled]).btn-danger:active, .btn-inverse:not([disabled]).btn-danger.active,
-.open > .btn-inverse:not([disabled]).btn-danger.dropdown-toggle {
- color: #da4f49;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #bf2d27;
-}
-
-.btn-inverse:not([disabled]).btn-danger:active:hover, .btn-inverse:not([disabled]).btn-danger:active:focus, .btn-inverse:not([disabled]).btn-danger:active.focus, .btn-inverse:not([disabled]).btn-danger.active:hover, .btn-inverse:not([disabled]).btn-danger.active:focus, .btn-inverse:not([disabled]).btn-danger.active.focus,
-.open > .btn-inverse:not([disabled]).btn-danger.dropdown-toggle:hover,
-.open > .btn-inverse:not([disabled]).btn-danger.dropdown-toggle:focus,
-.open > .btn-inverse:not([disabled]).btn-danger.dropdown-toggle.focus {
- color: #da4f49;
- background-color: #d4d4d4;
- border-color: #88201c;
-}
-
-.btn-inverse:not([disabled]).btn-danger.disabled:hover, .btn-inverse:not([disabled]).btn-danger.disabled:focus, .btn-inverse:not([disabled]).btn-danger.disabled.focus, .btn-inverse:not([disabled]).btn-danger[disabled]:hover, .btn-inverse:not([disabled]).btn-danger[disabled]:focus, .btn-inverse:not([disabled]).btn-danger[disabled].focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-danger:hover,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-danger:focus,
-fieldset[disabled] .btn-inverse:not([disabled]).btn-danger.focus {
- background-color: #fff;
- border-color: #da4f49;
-}
-
-.btn-inverse:not([disabled]).btn-danger .badge {
- color: #fff;
- background-color: #da4f49;
-}
-
-.btn-inverse:not([disabled]).btn-danger:active, .btn-inverse:not([disabled]).btn-danger:active:active, .btn-inverse:not([disabled]).btn-danger:focus, .btn-inverse:not([disabled]).btn-danger:focus:active, .btn-inverse:not([disabled]).btn-danger:hover, .btn-inverse:not([disabled]).btn-danger:hover:active {
- background-color: #f6d6d5;
-}
-
-.btn {
- -webkit-box-shadow: 0 1px #d3d3d3;
- box-shadow: 0 1px #d3d3d3;
- margin-right: 5px;
-}
-
-.btn:last-child {
- margin-right: 0;
-}
-
-.btn:active {
- -webkit-box-shadow: none;
- box-shadow: none;
- -webkit-transform: translateY(1px);
- transform: translateY(1px);
-}
-
-.btn.disabled, .btn[disabled],
-[disabled] .btn {
- background-color: #e8e8e8;
- border-color: #e8e8e8;
- color: #838383;
-}
-
-.btn.disabled:hover, .btn[disabled]:hover,
-[disabled] .btn:hover {
- background-color: #e8e8e8;
- border-color: #e8e8e8;
- color: #838383;
-}
-
-.btn.disabled, .btn.disabled:active, .btn[disabled], .btn[disabled]:active,
-[disabled] .btn,
-[disabled] .btn:active {
- -webkit-box-shadow: none;
- box-shadow: none;
- -webkit-transform: translateY(0);
- transform: translateY(0);
-}
-
-.btn > .flexible-wrapper-inline > .flexible-spacer-component {
- min-width: 8px;
-}
-
-.btn.btn-link {
- cursor: pointer;
-}
-
-.btn.btn-link, .btn.btn-link:active {
- -webkit-box-shadow: none;
- box-shadow: none;
- -webkit-transform: translateY(0);
- transform: translateY(0);
-}
-
-.btn.btn-link:disabled, .btn.btn-link[disabled] {
- background-color: transparent;
- cursor: not-allowed;
-}
-
-.btn.btn-link:hover, .btn.btn-link:active {
- background-color: transparent;
-}
-
-.btn-borderless:not([disabled]) {
- color: #838383;
- background-color: #fff;
- border-color: #fff;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn-borderless:not([disabled]):focus, .btn-borderless:not([disabled]).focus {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #bfbfbf;
-}
-
-.btn-borderless:not([disabled]):hover {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #e0e0e0;
-}
-
-.btn-borderless:not([disabled]):active, .btn-borderless:not([disabled]).active,
-.open > .btn-borderless:not([disabled]).dropdown-toggle {
- color: #838383;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #e0e0e0;
-}
-
-.btn-borderless:not([disabled]):active:hover, .btn-borderless:not([disabled]):active:focus, .btn-borderless:not([disabled]):active.focus, .btn-borderless:not([disabled]).active:hover, .btn-borderless:not([disabled]).active:focus, .btn-borderless:not([disabled]).active.focus,
-.open > .btn-borderless:not([disabled]).dropdown-toggle:hover,
-.open > .btn-borderless:not([disabled]).dropdown-toggle:focus,
-.open > .btn-borderless:not([disabled]).dropdown-toggle.focus {
- color: #838383;
- background-color: #d4d4d4;
- border-color: #bfbfbf;
-}
-
-.btn-borderless:not([disabled]).disabled:hover, .btn-borderless:not([disabled]).disabled:focus, .btn-borderless:not([disabled]).disabled.focus, .btn-borderless:not([disabled])[disabled]:hover, .btn-borderless:not([disabled])[disabled]:focus, .btn-borderless:not([disabled])[disabled].focus,
-fieldset[disabled] .btn-borderless:not([disabled]):hover,
-fieldset[disabled] .btn-borderless:not([disabled]):focus,
-fieldset[disabled] .btn-borderless:not([disabled]).focus {
- background-color: #fff;
- border-color: #fff;
-}
-
-.btn-borderless:not([disabled]) .badge {
- color: #fff;
- background-color: #838383;
-}
-
-.btn-borderless:not([disabled]):hover, .btn-borderless:not([disabled]):focus {
- background-color: #fff;
- border-color: #d3d3d3;
- -webkit-box-shadow: 0 1px #d3d3d3;
- box-shadow: 0 1px #d3d3d3;
-}
-
-.btn-flat:not([disabled]) {
- color: #838383;
- background-color: #fff;
- border-color: #fff;
- border: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.btn-flat:not([disabled]):focus, .btn-flat:not([disabled]).focus {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #bfbfbf;
-}
-
-.btn-flat:not([disabled]):hover {
- color: #838383;
- background-color: #e6e6e6;
- border-color: #e0e0e0;
-}
-
-.btn-flat:not([disabled]):active, .btn-flat:not([disabled]).active,
-.open > .btn-flat:not([disabled]).dropdown-toggle {
- color: #838383;
- background-color: #e6e6e6;
- background-image: none;
- border-color: #e0e0e0;
-}
-
-.btn-flat:not([disabled]):active:hover, .btn-flat:not([disabled]):active:focus, .btn-flat:not([disabled]):active.focus, .btn-flat:not([disabled]).active:hover, .btn-flat:not([disabled]).active:focus, .btn-flat:not([disabled]).active.focus,
-.open > .btn-flat:not([disabled]).dropdown-toggle:hover,
-.open > .btn-flat:not([disabled]).dropdown-toggle:focus,
-.open > .btn-flat:not([disabled]).dropdown-toggle.focus {
- color: #838383;
- background-color: #d4d4d4;
- border-color: #bfbfbf;
-}
-
-.btn-flat:not([disabled]).disabled:hover, .btn-flat:not([disabled]).disabled:focus, .btn-flat:not([disabled]).disabled.focus, .btn-flat:not([disabled])[disabled]:hover, .btn-flat:not([disabled])[disabled]:focus, .btn-flat:not([disabled])[disabled].focus,
-fieldset[disabled] .btn-flat:not([disabled]):hover,
-fieldset[disabled] .btn-flat:not([disabled]):focus,
-fieldset[disabled] .btn-flat:not([disabled]).focus {
- background-color: #fff;
- border-color: #fff;
-}
-
-.btn-flat:not([disabled]) .badge {
- color: #fff;
- background-color: #838383;
-}
-
-.btn-flat:not([disabled]):hover, .btn-flat:not([disabled]):focus {
- background-color: #fff;
-}
-
-.btn-xs, .btn-group-xs > .btn,
-.btn-group-xs > .btn {
- font-size: 9px;
-}
-
-.btn-xs:active, .btn-group-xs > .btn:active,
-.btn-group-xs > .btn:active {
- -webkit-transform: translateY(0);
- transform: translateY(0);
-}
-
-.btn-xs > .flexible-wrapper-inline > .flexible-spacer-component, .btn-group-xs > .btn > .flexible-wrapper-inline > .flexible-spacer-component,
-.btn-group-xs > .btn > .flexible-wrapper-inline > .flexible-spacer-component {
- min-width: 4px;
-}
-
-.input-group-btn > .btn {
- padding-bottom: 3px;
-}
-
-.checkbox label,
-.radio label,
-.radiogroup-stacked label {
- font-weight: 300;
- padding-top: 1px;
-}
-
-.checkbox .icheckbox,
-.radio .icheckbox,
-.radiogroup-stacked .icheckbox {
- margin-left: -20px;
-}
-
-.checkbox .icheckbox > input,
-.radio .icheckbox > input,
-.radiogroup-stacked .icheckbox > input {
- margin-left: 0;
-}
-
-.checkbox > .icheckbox,
-.checkbox > .iradio,
-.radio > .icheckbox,
-.radio > .iradio,
-.radiogroup-stacked > .icheckbox,
-.radiogroup-stacked > .iradio {
- margin-left: 0;
-}
-
-.checkbox > input[type='checkbox'], .checkbox > input[type='radio'],
-.radio > input[type='checkbox'],
-.radio > input[type='radio'],
-.radiogroup-stacked > input[type='checkbox'],
-.radiogroup-stacked > input[type='radio'] {
- margin-left: 0;
-}
-
-input[type="checkbox"],
-input[type="radio"] {
- width: 16px;
- height: 16px;
- margin-top: 0;
-}
-
-.icheckbox + span,
-.iradio + span {
- font-weight: 300;
-}
-
-.icheckbox:not(.disabled) + span,
-.iradio:not(.disabled) + span {
- cursor: pointer;
-}
-
-.form-horizontal .control-label {
- text-align: left;
-}
-
-.form-horizontal .checkbox {
- padding-top: 3px;
- min-height: 16px;
-}
-
-.form-group .help-block {
- margin-bottom: 0;
-}
-
-.form-group label {
- font-weight: 700;
-}
-
-.form-group .checkbox label {
- font-weight: 300;
-}
-
-.form-control, .form-control:focus {
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.form-control:focus {
- outline: 0;
-}
-
-.form-control, .form-control-static {
- font-weight: 300;
-}
-
-.form-btn-footer {
- text-align: right;
-}
-
-fieldset {
- border-bottom: 1px solid #f3f3f3;
- margin-bottom: 30px;
-}
-
-fieldset.borderless {
- border-bottom: 0;
- margin-bottom: 0;
-}
-
-label {
- color: #5a5a5a;
-}
-
-.input-group-addon {
- font-weight: 300;
- padding: 4px 5px;
-}
-
-.input-group-addon:first-child {
- padding-left: 0;
-}
-
-.input-group-addon:last-child {
- padding-right: 0;
-}
-
-.help-block {
- color: #ababab;
- font-weight: 300;
- margin-top: 8px;
-}
-
-.form-horizontal .control-label .help-block {
- margin-top: 1px;
-}
-
-.borderedwell-component .form-horizontal {
- padding: 30px 30px 0;
-}
-
-.modal {
- font-weight: 300;
-}
-
-.modal-title {
- font-weight: 700;
-}
-
-.modal-content {
- border-radius: 0;
- -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
- box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
-}
-
-.modal-body {
- overflow: auto;
-}
-
-.modal-header, .modal-footer {
- height: 40px;
-}
-
-.modal-header {
- background-color: #f3f3f3;
- padding: 10px 15px;
-}
-
-.modal-header > .close {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 11.3L7.3 8 4.1 4.7l.8-.7L8 7.2 11.1 4l.7.7-3.1 3.2 3.3 3.3-.7.8L8 8.7 4.7 12l-.7-.7z'/%3E%3C/svg%3E");
- background-position: center;
- background-size: 20px;
- height: 20px;
- margin-right: -5px;
- margin-top: 0;
- width: 20px;
-}
-
-.modal-header > .close > span {
- display: none;
-}
-
-.modal-footer {
- padding: 6px;
-}
-
-.modal-footer > .pull-left {
- float: left;
-}
-
-.modal-footer > label {
- font-weight: 300;
- color: #838383;
- margin-bottom: 0;
- line-height: 28px;
-}
-
-.modal-footer > label.pull-left {
- padding: 0 9px;
-}
-
-.modal-footer > label.pull-left > input {
- margin-right: 6px;
-}
-
-.modal-instruction > p {
- margin-bottom: 25px;
-}
-
-.modal-instruction > strong {
- display: block;
- margin-bottom: 5px;
-}
-
-.nav-tabs {
- margin-bottom: 0;
- min-height: 35px;
-}
-
-.nav-tabs > li {
- background-color: #f9f9f9;
- border-left: 1px solid #e8e8e8;
- border-top: 1px solid #e8e8e8;
- display: inline-block;
- font-size: 12px;
- margin-bottom: -1px;
- margin-right: 0;
- padding: 0;
- text-align: center;
-}
-
-.nav-tabs > li > a {
- color: #838383;
- cursor: pointer;
- display: inline-block;
- font-weight: 300;
- margin-right: 0;
- padding: 8px 15px 7px;
- text-shadow: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- white-space: nowrap;
-}
-
-.nav-tabs > li > a, .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
- border: 0;
- outline: 0;
-}
-
-.nav-tabs > li > a .svg-symbol-component {
- vertical-align: top;
-}
-
-.nav-tabs > li > a .icon {
- float: left;
- height: 16px;
- width: 16px;
-}
-
-.nav-tabs > li.active, .nav-tabs > li.active:hover, .nav-tabs > li.active:focus {
- background-color: #fff;
- border: 0;
-}
-
-.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
- border-right: 0;
- cursor: default;
-}
-
-.nav-tabs > li:last-child, .nav-tabs > li:last-child:hover, .nav-tabs > li:last-child:focus {
- border-right: 1px solid #e8e8e8;
-}
-
-.nav-tabs .flexible-wrapper-inline > .flexible-spacer-component {
- min-width: 8px;
-}
-
-b,
-strong {
- font-weight: 700;
-}
-
-.react-datepicker {
- border-color: #d3d3d3;
- -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
- box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
- font-family: Roboto, Helvetica, sans-serif;
- font-size: 12px;
- font-weight: 300;
- padding: 8px;
-}
-
-.react-datepicker__header {
- background-color: #fff;
- border-bottom: 0;
-}
-
-.react-datepicker, .react-datepicker__day, .react-datepicker__day-name {
- color: #5a5a5a;
-}
-
-.react-datepicker:hover, .react-datepicker__day:hover, .react-datepicker__day-name:hover {
- border-radius: 2px;
-}
-
-.react-datepicker--outside-month, .react-datepicker--disabled, .react-datepicker__day--outside-month, .react-datepicker__day--disabled, .react-datepicker__day-name--outside-month, .react-datepicker__day-name--disabled {
- color: #e8e8e8;
-}
-
-.react-datepicker--selected, .react-datepicker__day--selected, .react-datepicker__day-name--selected {
- background-color: #006dcc;
- color: #fff;
-}
-
-.react-datepicker--selected, .react-datepicker--selected:hover, .react-datepicker__day--selected, .react-datepicker__day--selected:hover, .react-datepicker__day-name--selected, .react-datepicker__day-name--selected:hover {
- border-radius: 2px;
-}
-
-.react-datepicker__day--in-range, .react-datepicker__day__day--in-range, .react-datepicker__day-name__day--in-range {
- color: #fff;
-}
-
-.react-datepicker__current-month {
- color: #5a5a5a;
- font-weight: 300;
- font-size: 12px;
- margin-top: -7px;
-}
-
-.react-datepicker__navigation {
- height: 24px;
- top: 5px;
- width: 24px;
-}
-
-.react-datepicker__navigation--next {
- border: 0;
- right: 7px;
-}
-
-.react-datepicker__navigation--next:hover {
- background-color: #e8e8e8;
- border-radius: 2px;
-}
-
-.react-datepicker__navigation--next::before {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23006dcc' d='M11 3L8.1 8l2.9 5H8.4L5 8.1v-.2L8.4 3H11z'/%3E%3C/svg%3E");
- background-position: center center;
- background-repeat: no-repeat;
- content: '';
- display: block;
- height: 24px;
- -webkit-transform: scaleX(-1);
- transform: scaleX(-1);
- width: 24px;
-}
-
-.react-datepicker__navigation--previous {
- border: 0;
- left: 7px;
-}
-
-.react-datepicker__navigation--previous:hover {
- background-color: #e8e8e8;
- border-radius: 2px;
-}
-
-.react-datepicker__navigation--previous::before {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23006dcc' d='M11 3L8.1 8l2.9 5H8.4L5 8.1v-.2L8.4 3H11z'/%3E%3C/svg%3E");
- background-position: center center;
- background-repeat: no-repeat;
- content: '';
- display: block;
- height: 24px;
- width: 24px;
-}
-
-.react-datepicker__tether-element-attached-top.react-datepicker__tether-element {
- margin-top: -5px;
-}
-
-.react-datepicker__tether-element-attached-top .react-datepicker__triangle, .react-datepicker__tether-element-attached-top .react-datepicker__triangle::before,
-.react-datepicker__tether-element-attached-bottom .react-datepicker__triangle,
-.react-datepicker__tether-element-attached-bottom .react-datepicker__triangle::before {
- border: 0;
-}
-
-.react-datepicker__tether-element-attached-bottom.react-datepicker__tether-element {
- margin-top: -15px;
-}
-
-.react-datepicker__input-container {
- display: block;
-}
-
-.react-datepicker__input-container input {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 50 50'%3E%3Cpath d='M40.5 4h-3.7v3.3c0 1.3-1 2.3-2.3 2.3-1.3 0-2.3-1-2.3-2.3V4H17.8v3.3c0 1.3-1 2.3-2.3 2.3s-2.3-1-2.3-2.3V4H9.5C7 4 5 6 5 8.5v35.9c0 2.5 2 4.4 4.5 4.4h31c2.5 0 4.5-2 4.5-4.4V8.5C45 6 43 4 40.5 4zm1.6 40.3c0 .9-.7 1.6-1.6 1.6h-31c-.9 0-1.6-.7-1.6-1.6V15.1H42v29.2z' fill='%235a5a5a'/%3E%3Cpath d='M15.5 8.2c.5 0 .9-.4.9-.8V2c0-.5-.4-.8-.9-.8s-.9.4-.9.8v5.3c.1.5.4.9.9.9zm19 0c.5 0 .9-.4.9-.8V2c0-.5-.4-.8-.9-.8s-.9.4-.9.8v5.3c0 .5.4.9.9.9zM37 20h3v3h-3zm-4.5 0h3v3h-3zM28 20h3v3h-3zm-4.5 0h3v3h-3zM19 20h3v3h-3zm18 6h3v3h-3zm-4.5 0h3v3h-3zM28 26h3v3h-3zm-4.5 0h3v3h-3zM19 26h3v3h-3zm-4.5 0h3v3h-3zM10 26h3v3h-3zm27 6h3v3h-3zm-4.5 0h3v3h-3zM28 32h3v3h-3zm-4.5 0h3v3h-3zM19 32h3v3h-3zm-4.5 0h3v3h-3zM10 32h3v3h-3zm18 6h3v3h-3zm-4.5 0h3v3h-3zM19 38h3v3h-3zm-4.5 0h3v3h-3zM10 38h3v3h-3z' fill='%235a5a5a'/%3E%3C/svg%3E");
- background-origin: content-box;
- background-position: center right;
- background-repeat: no-repeat;
- cursor: pointer;
- padding-right: 4px;
-}
-
-.react-datepicker__input-container input::-ms-clear {
- display: none;
-}
-/**
- * React Select
- * ============
- * Created by Jed Watson and Joss Mackison for KeystoneJS, http://www.keystonejs.com/
- * https://twitter.com/jedwatson https://twitter.com/jossmackison https://twitter.com/keystonejs
- * MIT License: https://github.com/JedWatson/react-select
-*/
-@keyframes Select-animation-spin {
- to {
- -webkit-transform: rotate(1turn);
- transform: rotate(1turn);
- }
-}
-
-@-webkit-keyframes Select-animation-spin {
- to {
- -webkit-transform: rotate(1turn);
- }
-}
-
-.Select {
- position: relative;
-}
-
-.Select input::-webkit-contacts-auto-fill-button,
-.Select input::-webkit-credentials-auto-fill-button {
- display: none !important;
-}
-
-.Select input::-ms-clear {
- display: none !important;
-}
-
-.Select input::-ms-reveal {
- display: none !important;
-}
-
-.Select,
-.Select div,
-.Select input,
-.Select span {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-
-.Select.is-disabled .Select-arrow-zone {
- cursor: default;
- pointer-events: none;
-}
-
-.Select.is-disabled > .Select-control {
- background-color: #f9f9f9;
-}
-
-.Select.is-disabled > .Select-control:hover {
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.Select.is-searchable.is-open > .Select-control {
- cursor: text;
-}
-
-.Select.is-searchable.is-focused:not(.is-open) > .Select-control {
- cursor: text;
-}
-
-.Select.is-open > .Select-control {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
- background: #fff;
- border-color: #cfcfcf #e8e8e8 whitesmoke;
-}
-
-.Select.is-open > .Select-control .Select-arrow {
- top: -2px;
- border-color: transparent transparent #838383;
- border-width: 0 5px 5px;
-}
-
-.Select.is-focused > .Select-control {
- background: #fff;
-}
-
-.Select.is-focused:not(.is-open) > .Select-control {
- border-color: #e8e8e8 whitesmoke whitesmoke;
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 5px -1px fade(#e8e8e8, 50%);
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 5px -1px fade(#e8e8e8, 50%);
-}
-
-.Select.has-value.is-clearable.Select--single > .Select-control .Select-value {
- padding-right: 37px;
-}
-
-.Select.has-value.Select--single > .Select-control .Select-value .Select-value-label,
-.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value .Select-value-label {
- color: #5a5a5a;
-}
-
-.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label,
-.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label {
- cursor: pointer;
- text-decoration: none;
-}
-
-.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:hover, .Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:focus,
-.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:hover,
-.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:focus {
- color: #e8e8e8;
- outline: none;
- text-decoration: underline;
-}
-
-.Select.has-value.Select--single > .Select-control .Select-value a.Select-value-label:focus,
-.Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value a.Select-value-label:focus {
- background: #fff;
-}
-
-.Select.has-value.is-pseudo-focused .Select-input {
- opacity: 0;
-}
-
-.Select.is-open .Select-arrow,
-.Select .Select-arrow-zone:hover > .Select-arrow {
- border-top-color: #333;
-}
-
-.Select.Select--rtl {
- direction: rtl;
- text-align: right;
-}
-
-.Select-control {
- background-color: #fff;
- border-color: whitesmoke #e8e8e8 #cfcfcf;
- border-radius: 2px;
- border: 1px solid #e8e8e8;
- color: #5a5a5a;
- cursor: default;
- display: table;
- border-spacing: 0;
- border-collapse: separate;
- height: 26px;
- outline: none;
- overflow: hidden;
- position: relative;
- width: 100%;
-}
-
-.Select-control:hover {
- -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
-}
-
-.Select-control .Select-input:focus {
- outline: none;
- background: #fff;
-}
-
-.Select-placeholder,
-.Select--single > .Select-control .Select-value {
- bottom: 0;
- color: #aaa;
- left: 0;
- line-height: 24px;
- padding-left: 7px;
- padding-right: 7px;
- position: absolute;
- right: 0;
- top: 0;
- max-width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.Select-input {
- height: 24px;
- padding-left: 7px;
- padding-right: 7px;
- vertical-align: middle;
-}
-
-.Select-input > input {
- width: 100%;
- background: none transparent;
- border: 0 none;
- -webkit-box-shadow: none;
- box-shadow: none;
- cursor: default;
- display: inline-block;
- font-family: inherit;
- font-size: inherit;
- margin: 0;
- outline: none;
- line-height: 17px;
- /* For IE 8 compatibility */
- padding: 3px 0 7px;
- /* For IE 8 compatibility */
- -webkit-appearance: none;
-}
-
-.is-focused .Select-input > input {
- cursor: text;
-}
-
-.Select-control:not(.is-searchable) > .Select-input {
- outline: none;
-}
-
-.Select-loading-zone {
- cursor: pointer;
- display: table-cell;
- position: relative;
- text-align: center;
- vertical-align: middle;
- width: 16px;
-}
-
-.Select-loading {
- -webkit-animation: Select-animation-spin 400ms infinite linear;
- animation: Select-animation-spin 400ms infinite linear;
- width: 16px;
- height: 16px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- border-radius: 50%;
- border: 2px solid #e8e8e8;
- border-right-color: #5a5a5a;
- display: inline-block;
- position: relative;
- vertical-align: middle;
-}
-
-.Select-clear-zone {
- -webkit-animation: Select-animation-fadeIn 200ms;
- animation: Select-animation-fadeIn 200ms;
- color: #838383;
- cursor: pointer;
- display: table-cell;
- position: relative;
- text-align: center;
- vertical-align: middle;
- width: 12px;
-}
-
-.Select-clear-zone:hover {
- color: #da4f49;
-}
-
-.Select-clear {
- display: inline-block;
- font-size: 15px;
- line-height: 1;
-}
-
-.Select--multi .Select-clear-zone {
- width: 12px;
-}
-
-.Select--multi .Select-multi-value-wrapper {
- display: inline-block;
-}
-
-.Select .Select-aria-only {
- position: absolute;
- display: inline-block;
- height: 1px;
- width: 1px;
- margin: -1px;
- clip: rect(0, 0, 0, 0);
- overflow: hidden;
- float: left;
-}
-
-.Select-arrow-zone {
- cursor: pointer;
- display: table-cell;
- position: relative;
- text-align: center;
- vertical-align: middle;
- width: 25px;
- padding-right: 5px;
-}
-
-.Select--rtl .Select-arrow-zone {
- padding-right: 0;
- padding-left: 5px;
-}
-
-.Select-arrow {
- border-color: #838383 transparent transparent;
- border-style: solid;
- border-width: 5px 5px 2.5px;
- display: inline-block;
- height: 0;
- width: 0;
- position: relative;
-}
-
-@-webkit-keyframes Select-animation-fadeIn {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-
-@keyframes Select-animation-fadeIn {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-
-.Select-menu-outer {
- border-bottom-right-radius: 2px;
- border-bottom-left-radius: 2px;
- background-color: #fff;
- border: 1px solid #e8e8e8;
- border-top-color: #f4f4f4;
- -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- margin-top: -1px;
- max-height: 200px;
- position: absolute;
- left: 0;
- top: 100%;
- width: 100%;
- z-index: 1000;
- -webkit-overflow-scrolling: touch;
-}
-
-.Select-menu {
- max-height: 198px;
- overflow-y: auto;
-}
-
-.Select-option {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- background-color: #fff;
- color: #5a5a5a;
- cursor: pointer;
- display: block;
- padding: 4px 7px;
-}
-
-.Select-option:last-child {
- border-bottom-right-radius: 2px;
- border-bottom-left-radius: 2px;
-}
-
-.Select-option.is-selected {
- background-color: #f5faff;
- color: #5a5a5a;
-}
-
-.Select-option.is-focused {
- background-color: #f9f9f9;
- color: #5a5a5a;
-}
-
-.Select-option.is-disabled {
- color: #e8e8e8;
- cursor: default;
-}
-
-.Select-noresults {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- color: silver;
- cursor: default;
- display: block;
- padding: 4px 7px;
-}
-
-.Select--multi .Select-input {
- vertical-align: middle;
- margin-left: 7px;
- padding: 0;
-}
-
-.Select--multi.Select--rtl .Select-input {
- margin-left: 0;
- margin-right: 7px;
-}
-
-.Select--multi.has-value .Select-input {
- margin-left: 2px;
-}
-
-.Select--multi .Select-value {
- background-color: #5a5a5a;
- border-radius: 2px;
- border: 1px solid #414141;
- color: #fff;
- display: inline-block;
- font-size: 12px;
- margin-left: 2px;
- margin-top: 2px;
- vertical-align: top;
-}
-
-.Select--multi .Select-value-icon,
-.Select--multi .Select-value-label {
- display: inline-block;
- vertical-align: middle;
-}
-
-.Select--multi .Select-value-label {
- border-bottom-right-radius: 2px;
- border-top-right-radius: 2px;
- cursor: default;
- padding: 2px 5px;
-}
-
-.Select--multi a.Select-value-label {
- color: #fff;
- cursor: pointer;
- text-decoration: none;
-}
-
-.Select--multi a.Select-value-label:hover {
- text-decoration: underline;
-}
-
-.Select--multi .Select-value-icon {
- cursor: pointer;
- border-bottom-left-radius: 2px;
- border-top-left-radius: 2px;
- border-right: 1px solid #414141;
- padding: 1px 5px 3px;
-}
-
-.Select--multi .Select-value-icon:hover, .Select--multi .Select-value-icon:focus {
- background-color: #5a5a5a;
- color: #838383;
-}
-
-.Select--multi .Select-value-icon:active {
- background-color: #414141;
-}
-
-.Select--multi.Select--rtl .Select-value {
- margin-left: 0;
- margin-right: 2px;
-}
-
-.Select--multi.Select--rtl .Select-value-icon {
- border-right: none;
- border-left: 1px solid #414141;
-}
-
-.Select--multi.is-disabled .Select-value {
- background-color: #fcfcfc;
- border: 1px solid #e3e3e3;
- color: #333;
-}
-
-.Select--multi.is-disabled .Select-value-icon {
- cursor: not-allowed;
- border-right: 1px solid #e3e3e3;
-}
-
-.Select--multi.is-disabled .Select-value-icon:hover, .Select--multi.is-disabled .Select-value-icon:focus, .Select--multi.is-disabled .Select-value-icon:active {
- background-color: #fcfcfc;
-}
-
-@keyframes Select-animation-spin {
- to {
- -webkit-transform: rotate(1turn);
- transform: rotate(1turn);
- }
-}
-
-@-webkit-keyframes Select-animation-spin {
- to {
- -webkit-transform: rotate(1turn);
- }
-}
-
-.Select {
- font-weight: 300;
-}
-
-.Select-menu-outer {
- border-color: #ababab;
-}
-
-.Select-value {
- line-height: 18px;
-}
-
-.Select:not(.is-disabled) > .Select-control {
- -webkit-box-shadow: 0 1px #d3d3d3;
- box-shadow: 0 1px #d3d3d3;
-}
-
-.Select:not(.is-disabled) > .Select-control:hover, .Select:not(.is-disabled) > .Select-control:focus {
- border-color: #ababab;
-}
-
-.Select:not(.is-disabled).is-open > .Select-control, .Select:not(.is-disabled).is-focused > .Select-control {
- border-color: #ababab;
-}
-
-.Select-arrow-zone, .Select-clear-zone {
- padding-top: 4px;
- vertical-align: top;
-}
-
-.Select--multi.is-disabled > .Select-control {
- padding-bottom: 1px;
-}
-
-.Select--multi .Select-value {
- border: 0;
- margin-top: 1px;
-}
-
-.Select--multi .Select-value-icon + .Select--multi .Select-value-label {
- padding-right: 0;
-}
-
-.Select--multi .Select-value-icon {
- border: 0;
- float: right;
- font-size: 15px;
- font-weight: 300;
- line-height: 15px;
- margin: 2px 5px 2px 0;
- padding: 0;
- text-align: center;
- width: 12px;
-}
-
-.has-error .Select-control, .has-error .Select-menu-outer {
- border-color: #da4f49;
-}
-
-.has-error .Select:not(.is-disabled) > .Select-control:hover, .has-error .Select:not(.is-disabled) > .Select-control:focus {
- border-color: #da4f49;
-}
-
-.has-error .Select.is-open > .Select-control, .has-error .Select.is-focused > .Select-control {
- border-color: #da4f49;
-}
-
-.has-warning .Select-control, .has-warning .Select-menu-outer {
- border-color: #faa732;
-}
-
-.has-warning .Select:not(.is-disabled) > .Select-control:hover, .has-warning .Select:not(.is-disabled) > .Select-control:focus {
- border-color: #faa732;
-}
-
-.has-warning .Select.is-open > .Select-control, .has-warning .Select.is-focused > .Select-control {
- border-color: #faa732;
-}
-.alert-component {
- color: #fff;
- font-size: 12px;
- line-height: 20px;
- padding: 10px;
-}
-
-.alert-component-success {
- background-color: #5bb75b;
-}
-
-.alert-component-info {
- background-color: #49afcd;
-}
-
-.alert-component-warning {
- background-color: #faa732;
-}
-
-.alert-component-danger {
- background-color: #da4f49;
-}
-.avatar-component {
- background-color: #ababab;
- border-radius: 50%;
- color: #fff;
- cursor: default;
- display: inline-block;
- font-size: 15px;
- font-weight: 700;
- height: 35px;
- line-height: 36px;
- position: relative;
- text-align: center;
- text-transform: uppercase;
- vertical-align: middle;
- width: 35px;
-}
-
-.avatar-component-image {
- border-radius: 50%;
- height: 100%;
- left: 0;
- position: absolute;
- top: 0;
-}
-
-.avatar-component-blue {
- background-color: #006dcc;
-}
-
-.avatar-component-green {
- background-color: #5bb75b;
-}
-
-.avatar-component-red {
- background-color: #da4f49;
-}
-
-.avatar-component-orange {
- background-color: #faa732;
-}
-
-.avatar-component-cyan {
- background-color: #49afcd;
-}
-.borderedwell-component {
- background-color: #fff;
- border: 1px solid #e8e8e8;
-}
-.breadcrumbnode-component-link {
- cursor: pointer;
-}
-
-.breadcrumbnode-component-link:hover, .breadcrumbnode-component-link:active {
- color: #0492ba;
- text-decoration: underline;
-}
-.breadcrumb-component {
- color: #49afcd;
- cursor: default;
- font-size: 12px;
- font-weight: 300;
- height: 10px;
- line-height: 10px;
-}
-
-.breadcrumb-component-link {
- cursor: pointer;
-}
-
-.breadcrumb-component-link:hover, .breadcrumb-component-link:active {
- color: #0492ba;
- text-decoration: underline;
-}
-
-.breadcrumb-component.disabled {
- color: #ababab;
- pointer-events: none;
-}
-.card-component {
- font-size: 12px;
- margin-bottom: 28px;
- min-height: 40px;
- min-width: 205px;
-}
-
-.card-component-grid-container {
- -webkit-box-align: stretch;
- -ms-flex-align: stretch;
- align-items: stretch;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-flow: row wrap;
- flex-flow: row wrap;
- margin-right: -28px;
-}
-
-.card-component-grid-container .card-component {
- margin-right: 28px;
-}
-
-.card-component .flexible-spacer-component {
- border: 0;
-}
-
-.card-component-content-container {
- background-color: #fff;
- border: 1px solid #e8e8e8;
- border-radius: 5px;
- -webkit-box-shadow: 0 2px 0 #d3d3d3;
- box-shadow: 0 2px 0 #d3d3d3;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -ms-flex-preferred-size: 100%;
- flex-basis: 100%;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
- height: 100%;
-}
-
-.card-component-content-container .card-component-content:not(.fill):last-child {
- padding-bottom: 20px;
-}
-
-.card-component.accent .card-component-content-container {
- border-bottom-width: 5px;
-}
-
-.card-component-content {
- padding: 20px 20px 0;
-}
-
-.card-component-content.append {
- color: #ababab;
- font-weight: 300;
- padding: 5px 1px 0;
-}
-
-.card-component-content.stretch {
- padding-left: 0;
- padding-right: 0;
-}
-
-.card-component-content.fill {
- padding: 0;
-}
-.svg-symbol-component {
- display: inline-block;
- height: 16px;
- pointer-events: none;
- width: 16px;
-}
-
-.svg-symbol-component-16 {
- height: 16px;
- width: 16px;
-}
-
-.svg-symbol-component-70 {
- height: 70px;
- width: 70px;
-}
-
-.svg-symbol-component-200 {
- height: 200px;
- width: 200px;
-}
-
-.svg-symbol-component-250 {
- height: 250px;
- width: 250px;
-}
-
-.svg-symbol-component-color-disabled {
- fill: #d3d3d3;
-}
-
-.svg-symbol-component-cyan-dark {
- fill: #0492ba;
-}
-
-.svg-symbol-component-gray {
- fill: #ababab;
-}
-
-.svg-symbol-component-gray-darker {
- fill: #5a5a5a;
-}
-
-.svg-symbol-component-gray-light {
- fill: #d3d3d3;
-}
-
-.svg-symbol-component-green-dark {
- fill: #31a549;
-}
-
-.svg-symbol-component-orange-dark {
- fill: #f8951d;
-}
-
-.svg-symbol-component-red {
- fill: #da4f49;
-}
-
-.svg-symbol-component-clickable {
- cursor: pointer;
- pointer-events: auto;
-}
-.svgsymbolcircle-component {
- background-color: #f3f3f3;
- border-radius: 50%;
- display: inline-block;
- height: 16px;
- width: 16px;
-}
-
-.svgsymbolcircle-component-inverse {
- background-color: #fff;
-}
-
-.svgsymbolcircle-component .svg-symbol-component {
- height: 12px;
- margin: 2px;
- width: 12px;
-}
-
-.svgsymbolcircle-component-70 {
- height: 70px;
- width: 70px;
-}
-
-.svgsymbolcircle-component .svg-symbol-component-70 {
- height: 50px;
- margin: 10px;
- width: 50px;
-}
-
-.svgsymbolcircle-component-50 {
- height: 50px;
- width: 50px;
-}
-
-.svgsymbolcircle-component .svg-symbol-component-50 {
- height: 36px;
- margin: 7px;
- width: 36px;
-}
-.empty-component {
- cursor: default;
- margin: 0 auto;
- padding: 60px;
- text-align: center;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.empty-component-text {
- color: #ababab;
- font-size: 12px;
- line-height: 1.5;
- margin-top: 10px;
- white-space: pre-wrap;
-}
-.flexible-spacer-component {
- border: 1px solid #e8e8e8;
- -webkit-box-flex: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
-}
-
-.flexible-wrapper-inline {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-direction: row;
- flex-direction: row;
- height: inherit;
-}
-
-.flexible-wrapper-inline .flexible-spacer-component {
- border: 0;
-}
-
-.flexible-wrapper-inline > .svg-symbol-component {
- margin: auto;
-}
-.grid-component {
- border-left: 1px solid #e8e8e8;
- border-right: 1px solid #e8e8e8;
- border-top: 1px solid #e8e8e8;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- display: inline-block;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- font-size: 12px;
- font-weight: 300;
- line-height: 1.5;
- vertical-align: top;
- width: 100%;
-}
-
-.grid-component-row-vertical-cell-border .grid-component-cell {
- border-right: 1px solid #e8e8e8;
-}
-
-.grid-component-row-vertical-cell-border .grid-component-cell:last-child {
- border-right: 0;
-}
-
-.grid-component + .grid-component {
- border-top: 0;
-}
-.grid-component-cell {
- -webkit-box-flex: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- padding: 8px 0 8px 10px;
-}
-
-.grid-component-cell:last-child {
- padding-right: 10px;
-}
-
-.grid-component-cell-stretch {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- -ms-flex-preferred-size: 100%;
- flex-basis: 100%;
- -ms-flex-negative: 1;
- flex-shrink: 1;
-}
-
-.grid-component-cell-clickable {
- cursor: pointer;
-}
-
-.grid-component-row-vertical-cell-border .grid-component-cell {
- padding-right: 10px;
-}
-.grid-component-row {
- border-bottom: 1px solid transparent;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-}
-
-.grid-component-row-header {
- color: #838383;
-}
-
-.grid-component-row-subfooter {
- background-color: #f9f9f9;
- color: #838383;
-}
-
-.grid-component-row-subfooter .grid-component-cell:last-child {
- color: #333;
-}
-
-.grid-component-row-footer {
- font-weight: 700;
-}
-
-.grid-component-row-short .grid-component-cell {
- padding-bottom: 3px;
- padding-top: 3px;
-}
-
-.grid-component-row-horizontal-border, .grid-component-row:last-child {
- border-bottom-color: #e8e8e8;
-}
-.pagetitle-component {
- border-bottom: 1px solid #e8e8e8;
- -webkit-box-sizing: content-box;
- box-sizing: content-box;
- font-size: 18px;
- height: 30px;
- line-height: 30px;
- padding: 20px 30px;
-}
-
-.pagetitle-component-is-footer {
- border-top: 1px solid #e8e8e8;
- border-bottom: 0;
- color: #838383;
- font-size: 12px;
-}
-
-.pagetitle-component small {
- font-size: 11px;
-}
-.pretty-diff-component {
- border: 1px solid #e8e8e8;
- font-size: 12px;
- padding: 10px;
- white-space: pre-wrap;
-}
-
-.pretty-diff-component-delete {
- color: #da4f49;
- text-decoration: line-through;
-}
-
-.pretty-diff-component-insert {
- color: #5bb75b;
-}
-.arc-component.positive {
- fill: #5bb75b;
-}
-
-.arc-component.negative {
- fill: #da4f49;
-}
-
-.arc-component.info {
- fill: #49afcd;
-}
-
-.arc-component.warning, .arc-component.pending {
- fill: #faa732;
-}
-.donut-component {
- fill: #fff;
-}
-.marker-component {
- stroke: #da4f49;
- stroke-width: .02;
-}
-.slicey-component {
- vertical-align: top;
-}
-
-.slicey-background {
- fill: #5a5a5a;
-}
-
-.slicey-empty {
- fill: #f9f9f9;
-}
-.statistic-component {
- font-size: 15px;
-}
-
-.statistic-component-value {
- font-weight: 700;
-}
-
-.statistic-component-label {
- color: #838383;
- font-weight: 300;
-}
-
-.statistic-component + .statistic-component {
- margin-top: 5px;
-}
-
-.statistic-component.inline .statistic-component-label,
-.statistic-component.inline .statistic-component-value {
- display: inline-block;
-}
-
-.statistic-component.inline .statistic-component-label {
- margin-left: 5px;
-}
-.tag-component {
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- background-color: #838383;
- border-radius: 2px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- color: #fff;
- display: -webkit-inline-box;
- display: -ms-inline-flexbox;
- display: inline-flex;
- font-size: 12px;
- font-weight: 300;
- margin-right: 5px;
- min-height: 24px;
- padding: 0 5px;
- line-height: 0;
-}
-
-.tag-component.tag-component-inverse {
- background-color: #f3f3f3;
- border-left: 4px solid;
- color: #838383;
-}
-
-.tag-component.tag-component-inverse .action-button {
- fill: #ababab;
-}
-
-.tag-component-actionable {
- padding-right: 0;
-}
-
-.tag-component-accent label {
- font-weight: 700;
-}
-
-.tag-component .action-button {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- cursor: pointer;
- fill: #fff;
- fill-opacity: .6;
- height: 24px;
- text-align: center;
- width: 24px;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-
-.tag-component .action-button:hover {
- fill-opacity: 1;
-}
-
-.tag-component label {
- margin-bottom: 0;
- max-width: 105px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.tile-grid-component-title {
- color: #333;
- display: block;
- font-size: 18px;
- font-weight: 700;
- margin-bottom: 10px;
-}
-
-.tile-grid-component-list {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
- list-style: none;
- margin: 0;
- padding: 0;
-}
-
-.tile-grid-component-item {
- background: #e8e8e8 50%;
- border-radius: 5px;
- -webkit-box-shadow: inset 0 -4px 0 #d3d3d3;
- box-shadow: inset 0 -4px 0 #d3d3d3;
- height: 124px;
- position: relative;
-}
-
-.tile-grid-component-item-img-wrapper {
- border-radius: inherit;
- overflow: hidden;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-}
-
-.tile-grid-component-item-img-wrapper img {
- width: auto;
- height: 120px;
-}
-
-.tile-grid-component-item-img-wrapper-left {
- -webkit-box-pack: start;
- -ms-flex-pack: start;
- justify-content: flex-start;
-}
-
-.tile-grid-component-item-img-wrapper-right {
- -webkit-box-pack: end;
- -ms-flex-pack: end;
- justify-content: flex-end;
-}
-
-.tile-grid-component-item-img-wrapper-center {
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-
-.tile-grid-component-item-link {
- width: 100%;
- height: 100%;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- color: #fff;
- cursor: pointer;
- display: block;
- font-size: 18px;
- font-weight: 700;
- line-height: 1;
- padding: 20px;
- position: absolute;
- top: 0;
- left: 0;
- text-transform: uppercase;
- text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
-}
-
-.tile-grid-component-item-link:hover, .tile-grid-component-item-link:focus {
- color: #fff;
- text-decoration: none;
-}
-
-.tile-grid-component-item-link:hover::after, .tile-grid-component-item-link:focus::after {
- background-color: #838383;
- border-radius: 5px;
- bottom: 0;
- content: '';
- display: block;
- left: 0;
- opacity: .2;
- position: absolute;
- right: 0;
- top: 0;
- z-index: 1;
-}
-
-.tile-grid-component-item-distributed {
- -webkit-box-flex: 1;
- -ms-flex: 1;
- flex: 1;
- width: 0;
-}
-
-.tile-grid-component-item-distributed:not(:last-child) {
- margin-right: 10px;
-}
-.panel-component {
- background-color: #fff;
- -webkit-transition: background-color 250ms ease-out;
- transition: background-color 250ms ease-out;
-}
-
-.panel-component ~ .panel-component {
- border-top: 1px solid #e8e8e8;
-}
-
-.panel-component-header {
- cursor: pointer;
- font-weight: 700;
- border-bottom: 1px solid #e8e8e8;
- line-height: 22px;
-}
-
-.panel-component-header::before {
- background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M1 8.6l6.8-4.9h.3L15 8.6v3.7L8 8.1l-7 4.2V8.6z'/%3E%3C/svg%3E") no-repeat;
- content: ' ';
- float: right;
- height: 16px;
- -webkit-transition: -webkit-transform 250ms ease-out;
- transition: -webkit-transform 250ms ease-out;
- transition: transform 250ms ease-out;
- transition: transform 250ms ease-out, -webkit-transform 250ms ease-out;
- width: 16px;
- fill: #333;
- margin-top: 3px;
-}
-
-.panel-component-header .svg-symbol-component {
- float: left;
- height: 22px;
- margin-right: 10px;
- position: relative;
- width: 22px;
- fill: #333;
-}
-
-.panel-component-content {
- font-weight: 300;
-}
-
-.panel-component-header, .panel-component-content {
- padding: 20px;
-}
-
-.panel-component.collapsed {
- background-color: #f9f9f9;
-}
-
-.panel-component.collapsed .panel-component-header {
- border-bottom: 0;
-}
-
-.panel-component.collapsed .panel-component-header::before {
- -webkit-transform: rotate(180deg);
- transform: rotate(180deg);
-}
-
-.panel-component.collapsed .panel-component-content {
- display: none;
-}
-
-.panel-component hr {
- margin-left: -20px;
- margin-right: -20px;
-}
-
-.card-component-content .panel-component:first-child {
- border-top-left-radius: 5px;
- border-top-right-radius: 5px;
-}
-
-.card-component-content .panel-component:last-child {
- border-bottom-left-radius: 5px;
- border-bottom-right-radius: 5px;
-}
-.alert-input-component-wrapper {
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- background-color: #fff;
- border: 1px solid #e8e8e8;
- border-radius: 2px;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- padding: 4px 5px;
- position: relative;
-}
-
-.alert-input-component-wrapper-flex-wrapper {
- width: 100%;
-}
-
-.alert-input-component-wrapper.is-focused {
- border-color: #ababab;
-}
-
-.alert-input-component-wrapper.success {
- border-color: #5bb75b;
-}
-
-.alert-input-component-wrapper.info {
- border-color: #49afcd;
-}
-
-.alert-input-component-wrapper.warning {
- border-color: #faa732;
-}
-
-.alert-input-component-wrapper.error {
- border-color: #da4f49;
-}
-
-.alert-input-component-wrapper-input {
- background-color: #fff;
- border: 0;
- -webkit-box-flex: 1;
- -ms-flex: 1;
- flex: 1;
- width: 100%;
- padding: 0;
-}
-
-.alert-input-component-wrapper-input:focus {
- outline: none;
-}
-
-.alert-input-component-wrapper-addon {
- color: #d3d3d3;
-}
-
-.alert-input-component-wrapper-addon:first-child {
- margin-right: 2px;
-}
-
-.alert-input-component-wrapper-addon:last-child {
- margin-left: 2px;
-}
-
-.alert-input-component-popover {
- border-radius: 4px;
- -webkit-box-shadow: none;
- box-shadow: none;
- font-size: 11px;
-}
-
-.alert-input-component-popover .popover-content {
- color: inherit;
- padding: 5px 10px;
- width: auto;
-}
-
-.alert-input-component-popover.success {
- border-color: #5bb75b;
- color: #5bb75b;
-}
-
-.alert-input-component-popover.success > .aui--popover-arrow {
- border-bottom-color: #5bb75b;
-}
-
-.alert-input-component-popover.info {
- border-color: #49afcd;
- color: #49afcd;
-}
-
-.alert-input-component-popover.info > .aui--popover-arrow {
- border-bottom-color: #49afcd;
-}
-
-.alert-input-component-popover.warning {
- border-color: #faa732;
- color: #faa732;
-}
-
-.alert-input-component-popover.warning > .aui--popover-arrow {
- border-bottom-color: #faa732;
-}
-
-.alert-input-component-popover.error {
- border-color: #da4f49;
- color: #da4f49;
-}
-
-.alert-input-component-popover.error > .aui--popover-arrow {
- border-bottom-color: #da4f49;
-}
-.aui--button-group {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-}
-
-.aui--button-group .button-component {
- margin-right: 0;
- border-radius: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.aui--button-group .button-component.btn-inverse:hover, .aui--button-group .button-component.btn-inverse:active, .aui--button-group .button-component.btn-inverse:focus {
- border: 1px solid #d3d3d3;
- background-color: #e8e8e8;
-}
-
-.aui--button-group .button-component.btn, .aui--button-group .button-component.btn:hover {
- border: 1px solid #d3d3d3;
- border-right-width: 0;
-}
-
-.aui--button-group .button-component:first-child {
- border-top-left-radius: 2px;
- border-bottom-left-radius: 2px;
-}
-
-.aui--button-group .button-component:last-child, .aui--button-group .button-component:last-child:hover, .aui--button-group .button-component:last-child:active {
- border-right-width: 1px;
- border-top-right-radius: 2px;
- border-bottom-right-radius: 2px;
-}
-
-.aui--button-group + .aui--button-group {
- margin-left: 20px;
-}
-
-.aui--button-group + button {
- margin-right: 20px;
-}
-
-button + .aui--button-group {
- margin-left: 20px;
-}
-.carousel-component .slider-control-centerleft {
- height: 100%;
-}
-
-.carousel-component .slider-control-centerleft .carousel-component-prev {
- background-color: rgba(51, 51, 51, 0.5);
- border: 0;
- height: 100%;
- padding: 0;
- width: 100%;
-}
-
-.carousel-component .slider-control-centerleft .carousel-component-prev::before {
- background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M1 8.6l6.8-4.9h.3L15 8.6v3.7L8 8.1l-7 4.2V8.6z'/%3E%3C/svg%3E") 50% no-repeat;
- content: '';
- display: block;
- height: 22px;
- margin: 0 auto;
- width: 22px;
-}
-
-.carousel-component .slider-control-centerleft .carousel-component-prev::before {
- -webkit-transform: rotate(-90deg);
- transform: rotate(-90deg);
-}
-
-.carousel-component .slider-control-centerright {
- height: 100%;
-}
-
-.carousel-component .slider-control-centerright .carousel-component-next {
- background-color: rgba(51, 51, 51, 0.5);
- border: 0;
- height: 100%;
- padding: 0;
- width: 100%;
-}
-
-.carousel-component .slider-control-centerright .carousel-component-next::before {
- background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M1 8.6l6.8-4.9h.3L15 8.6v3.7L8 8.1l-7 4.2V8.6z'/%3E%3C/svg%3E") 50% no-repeat;
- content: '';
- display: block;
- height: 22px;
- margin: 0 auto;
- width: 22px;
-}
-
-.carousel-component .slider-control-centerright .carousel-component-next::before {
- -webkit-transform: rotate(90deg);
- transform: rotate(90deg);
-}
-.checkbox-component {
- cursor: pointer;
- display: block;
-}
-
-.checkbox-component label {
- cursor: pointer;
- font-weight: 300;
- margin-bottom: 0;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-}
-
-.checkbox-component input {
- display: none;
-}
-
-.checkbox-component + .checkbox-component {
- margin-top: 5px;
-}
-
-.checkbox-component.checkbox-component-inline {
- display: inline-block;
-}
-
-.checkbox-component.checkbox-component-inline + .checkbox-component.checkbox-component-inline {
- margin-top: 0;
- margin-left: 10px;
-}
-
-.checkbox-component .checkbox-component-icon {
- display: inline-block;
- background-repeat: no-repeat;
- background-size: contain;
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggb3BhY2l0eT0iLjgiIGZpbGw9IiM4MzgzODMiIGQ9Ik0xMy45IDEuNmMuMyAwIC41LjIuNS41VjE0YzAgLjMtLjIuNS0uNS41SDIuMWMtLjMgMC0uNS0uMi0uNS0uNVYyLjFjMC0uMy4yLS41LjUtLjVoMTEuOG0wLTEuMUgyLjFDMS4yLjUuNSAxLjIuNSAyLjFWMTRjMCAuOS43IDEuNiAxLjYgMS42SDE0Yy45IDAgMS42LS43IDEuNi0xLjZWMi4xYy0uMS0uOS0uOC0xLjYtMS43LTEuNnoiLz48L3N2Zz4=);
- -ms-flex-negative: 0;
- flex-shrink: 0;
-}
-
-.checkbox-component:hover:not(.disabled):not(.checked):not(.partial-checked) .checkbox-component-icon {
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzRBQUZDRCIgZD0iTTEzLjkgMS42Yy4zIDAgLjUuMi41LjVWMTRjMCAuMy0uMi41LS41LjVIMi4xYy0uMyAwLS41LS4yLS41LS41VjIuMWMwLS4zLjItLjUuNS0uNWgxMS44bTAtMS4xSDIuMUMxLjIuNS41IDEuMi41IDIuMVYxNGMwIC45LjcgMS42IDEuNiAxLjZIMTRjLjkgMCAxLjYtLjcgMS42LTEuNlYyLjFjLS4xLS45LS44LTEuNi0xLjctMS42eiIvPjwvc3ZnPg==);
-}
-
-.checkbox-component.checked .checkbox-component-icon {
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzRBQUZDRCIgZD0iTTE1LjUgMTMuOWMwIC45LS43IDEuNi0xLjYgMS42SDIuMWMtLjkgMC0xLjYtLjctMS42LTEuNlYyLjFjMC0uOS43LTEuNiAxLjYtMS42SDE0Yy45IDAgMS42LjcgMS42IDEuNnYxMS44eiIvPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xMS41IDQuN2MtLjItLjItLjUtLjEtLjcuMWwtNC4xIDUuNC0xLjUtMS44Yy0uMi0uMi0uNS0uMy0uNy0uMS0uMi4yLS4yLjUtLjEuN2wxLjkgMi4zYy4xLjEuMi4yLjQuMi4xIDAgLjMtLjEuNC0uMmw0LjUtNS45Yy4xLS4yLjEtLjUtLjEtLjd6Ii8+PC9zdmc+);
-}
-
-.checkbox-component.partial-checked .checkbox-component-icon {
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGcgZmlsbD0iIzgzODM4MyI+PHBhdGggb3BhY2l0eT0iLjgiIGQ9Ik0xMy45IDEuNmMuMyAwIC41LjIuNS41VjE0YzAgLjMtLjIuNS0uNS41SDIuMWMtLjMgMC0uNS0uMi0uNS0uNVYyLjFjMC0uMy4yLS41LjUtLjVoMTEuOG0wLTEuMUgyLjFDMS4yLjUuNSAxLjIuNSAyLjFWMTRjMCAuOS43IDEuNiAxLjYgMS42SDE0Yy45IDAgMS42LS43IDEuNi0xLjZWMi4xYy0uMS0uOS0uOC0xLjYtMS43LTEuNnoiLz48cGF0aCBvcGFjaXR5PSIuOCIgZD0iTTExLjIgOC42SDQuOWMtLjMgMC0uNS0uMi0uNS0uNXYtLjJjMC0uMy4yLS41LjUtLjVIMTFjLjMgMCAuNS4yLjUuNXYuMmMuMS4yLS4xLjQtLjMuNXoiLz48L2c+PC9zdmc+Cg==);
-}
-
-.checkbox-component.partial-checked .checkbox-component-icon:hover {
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzRBQUZDRCIgZD0iTTEzLjkgMS42Yy4zIDAgLjUuMi41LjVWMTRjMCAuMy0uMi41LS41LjVIMi4xYy0uMyAwLS41LS4yLS41LS41VjIuMWMwLS4zLjItLjUuNS0uNWgxMS44bTAtMS4xSDIuMUMxLjIuNS41IDEuMi41IDIuMVYxNGMwIC45LjcgMS42IDEuNiAxLjZIMTRjLjkgMCAxLjYtLjcgMS42LTEuNlYyLjFjLS4xLS45LS44LTEuNi0xLjctMS42eiIvPjxwYXRoIG9wYWNpdHk9Ii44IiBmaWxsPSIjODM4MzgzIiBkPSJNMTEuMiA4LjZINC45Yy0uMyAwLS41LS4yLS41LS41di0uMmMwLS4zLjItLjUuNS0uNUgxMWMuMyAwIC41LjIuNS41di4yYy4xLjItLjEuNC0uMy41eiIvPjwvc3ZnPg==);
-}
-
-.checkbox-component.disabled {
- cursor: not-allowed;
-}
-
-.checkbox-component.disabled label {
- cursor: not-allowed;
-}
-
-.checkbox-component.disabled .checkbox-component-icon {
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGcgZmlsbD0iI0QzRDNEMyI+PHBhdGggb3BhY2l0eT0iLjUiIGQ9Ik0yLjEgMTVjLS42IDAtMS0uNS0xLTFWMi4xYzAtLjYuNS0xIDEtMUgxNGMuNiAwIDEgLjUgMSAxVjE0YzAgLjYtLjUgMS0xIDFIMi4xeiIvPjxwYXRoIG9wYWNpdHk9Ii41IiBkPSJNMTMuOSAxLjZjLjMgMCAuNS4yLjUuNVYxNGMwIC4zLS4yLjUtLjUuNUgyLjFjLS4zIDAtLjUtLjItLjUtLjVWMi4xYzAtLjMuMi0uNS41LS41aDExLjhtMC0xLjFIMi4xQzEuMi41LjUgMS4yLjUgMi4xVjE0YzAgLjkuNyAxLjYgMS42IDEuNkgxNGMuOSAwIDEuNi0uNyAxLjYtMS42VjIuMWMtLjEtLjktLjgtMS42LTEuNy0xLjZ6Ii8+PC9nPjwvc3ZnPg==);
-}
-
-.checkbox-component.disabled.checked .checkbox-component-icon {
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggb3BhY2l0eT0iLjUiIGZpbGw9IiNEM0QzRDMiIGQ9Ik0xNS41IDEzLjljMCAuOS0uNyAxLjYtMS42IDEuNkgyLjFjLS45IDAtMS42LS43LTEuNi0xLjZWMi4xYzAtLjkuNy0xLjYgMS42LTEuNkgxNGMuOSAwIDEuNi43IDEuNiAxLjZ2MTEuOHoiLz48cGF0aCBvcGFjaXR5PSIuOCIgZmlsbD0iI0FCQUJBQiIgZD0iTTExLjUgNC43Yy0uMi0uMi0uNS0uMS0uNy4xbC00LjEgNS40LTEuNS0xLjhjLS4yLS4yLS41LS4zLS43LS4xLS4yLjItLjIuNS0uMS43bDEuOSAyLjNjLjEuMS4yLjIuNC4yLjEgMCAuMy0uMS40LS4ybDQuNS01LjljLjEtLjIuMS0uNS0uMS0uN3oiLz48L3N2Zz4=);
-}
-
-.checkbox-component.disabled.partial-checked .checkbox-component-icon {
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggb3BhY2l0eT0iLjUiIGZpbGw9IiNEM0QzRDMiIGQ9Ik0yLjEgMTVjLS42IDAtMS0uNS0xLTFWMi4xYzAtLjYuNS0xIDEtMUgxNGMuNiAwIDEgLjUgMSAxVjE0YzAgLjYtLjUgMS0xIDFIMi4xeiIvPjxwYXRoIG9wYWNpdHk9Ii41IiBmaWxsPSIjRDNEM0QzIiBkPSJNMTMuOSAxLjZjLjMgMCAuNS4yLjUuNVYxNGMwIC4zLS4yLjUtLjUuNUgyLjFjLS4zIDAtLjUtLjItLjUtLjVWMi4xYzAtLjMuMi0uNS41LS41aDExLjhtMC0xLjFIMi4xQzEuMi41LjUgMS4yLjUgMi4xVjE0YzAgLjkuNyAxLjYgMS42IDEuNkgxNGMuOSAwIDEuNi0uNyAxLjYtMS42VjIuMWMtLjEtLjktLjgtMS42LTEuNy0xLjZ6Ii8+PHBhdGggb3BhY2l0eT0iLjgiIGZpbGw9IiNBQkFCQUIiIGQ9Ik0xMS4yIDguNkg1Yy0uMyAwLS41LS4yLS41LS41VjhjMC0uMy4yLS41LjUtLjVoNi4xYy4zIDAgLjUuMi41LjV2LjJjMCAuMi0uMi40LS40LjR6Ii8+PC9zdmc+);
-}
-
-.checkbox-component .checkbox-component-label {
- margin-left: 5px;
- line-height: 16px;
-}
-.count-badge {
- display: inline-block;
- width: 16px;
- height: 16px;
- border-radius: 50%;
- border-width: 1px;
- border-color: #fff;
- border-style: solid;
- background-color: #838383;
- color: #fff;
- text-align: center;
- font-size: 9px;
- font-weight: 700;
- -webkit-box-sizing: content-box;
- box-sizing: content-box;
- line-height: 17px;
-}
-
-.count-badge.status-info {
- background-color: #006dcc;
-}
-
-.count-badge.status-warning {
- background-color: #faa732;
-}
-
-.count-badge.status-danger {
- background-color: #da4f49;
-}
-
-.count-badge.count-badge-font-size-small {
- font-size: 8px;
-}
-.help-icon-popover-component {
- display: inline-block;
- padding-left: 3px;
-}
-
-.help-icon-popover-component-trigger {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23ababab' d='M5 .6c2.4 0 4.4 2 4.4 4.4 0 2.4-2 4.4-4.4 4.4C2.6 9.4.6 7.4.6 5 .6 2.6 2.6.6 5 .6M5 0C2.2 0 0 2.2 0 5c0 2.7 2.3 5 5 5s5-2.3 5-5-2.3-5-5-5z'/%3E%3Cpath fill='%23ababab' d='M4.5 6.2c0-1 .7-1.3 1.1-2 .3-.3.2-.7 0-1-.4-.2-.7-.2-1.1 0-.1.1-.1.3-.1.4h-.9c0-2.7 5.2-1.1 2.7 1.3l-.5.5c-.1.2-.3.5-.3.8h-.9zm0 1.2c0-.8 1.2-.7 1.1 0 0 .6-1.1.7-1.1 0z'/%3E%3C/svg%3E");
- width: 10px;
- height: 10px;
- background-size: 10px;
- margin-bottom: -1px;
-}
-.filepicker-component-highlight {
- border: 1px solid #d5382e;
- border-radius: 2px;
- padding: 1px;
-}
-
-.filepicker-component .remove-file {
- background-color: #e8e8e8;
- border: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
- height: 28px;
- margin-right: 0;
-}
-
-.filepicker-component .file-input {
- display: none;
-}
-
-.has-error .filepicker-component .form-control {
- border: 0;
-}
-.listpicker-component-body-split {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- height: 400px;
-}
-
-.listpicker-component-body-split .listpickerpure-component .grid-component .grid-component-row-header {
- border-bottom: 1px solid #e8e8e8;
-}
-
-.listpicker-component-body-split .listpickerpure-component-items {
- max-height: 363px;
- overflow: auto;
- overflow-x: hidden;
-}
-
-.listpicker-component-body-split .listpickerpure-component-items .grid-component {
- border-top: 0;
-}
-
-.listpicker-component-footnote {
- margin-top: 10px;
-}
-
-.listpicker-component .grid-component-row:last-child {
- border-bottom: 0;
-}
-
-.listpicker-component .grid-component-cell-label {
- color: #ababab;
- width: 120px;
-}
-
-.listpicker-component .flexible-spacer-component {
- border-top: 0;
-}
-
-.listpicker-component .empty-component {
- border-bottom: 0;
-}
-.radio-component.disabled label {
- cursor: not-allowed;
-}
-
-.radio-component.radio-component-inline {
- display: inline-block;
-}
-
-.radio-component + .radio-component {
- margin-top: 5px;
-}
-
-.radio-component.radio-component-inline + .radio-component.radio-component-inline {
- margin-top: 0;
- margin-left: 10px;
-}
-
-.radio-component label {
- line-height: 16px;
- font-weight: 300;
- cursor: pointer;
- margin-bottom: 0;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-}
-
-.radio-component .radio-component-label {
- margin-left: 5px;
-}
-
-.radio-component .radio-component-input-container {
- width: 16px;
- height: 16px;
-}
-
-.radio-component .radio-component-input-container span {
- vertical-align: baseline;
-}
-
-.radio-component .radio-component-input-container input {
- display: none;
-}
-.listpickerpure-component {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.listpickerpure-component .grid-component-cell-toggle, .listpickerpure-component .grid-component-cell-addon, .listpickerpure-component .grid-component-cell-header-toggle, .listpickerpure-component .grid-component-cell-header-addon {
- -ms-flex-preferred-size: 10%;
- flex-basis: 10%;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-
-.listpickerpure-component .grid-component-cell-toggle, .listpickerpure-component .grid-component-cell-addon {
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-}
-
-.listpickerpure-component .grid-component-cell-header-toggle, .listpickerpure-component .grid-component-cell-header-addon {
- text-align: center;
-}
-
-.listpickerpure-component .empty-component {
- border-bottom: 1px solid #e8e8e8;
-}
-
-.listpickerpure-component .grid-component-row:last-child {
- border-bottom: 0;
-}
-.pagedgrid-component .grid-component-cell:not(.grid-component-cell-stretch) {
- -ms-flex-preferred-size: 100px;
- flex-basis: 100px;
-}
-
-.pagedgrid-component .empty-component {
- border-bottom: 1px solid #e8e8e8;
-}
-
-.pagedgrid-component-pagination {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: end;
- -ms-flex-pack: end;
- justify-content: flex-end;
-}
-
-.pagedgrid-component-pagination-info {
- display: inline-block;
- font-weight: 300;
- line-height: 28px;
- margin: 18px 10px;
-}
-.search-component {
- height: 26px;
- line-height: 26px;
- position: relative;
- width: 100%;
-}
-
-.search-component ::-webkit-search-cancel-button,
-.search-component ::-webkit-search-decoration {
- -webkit-appearance: none;
- appearance: none;
-}
-
-.search-component-input {
- -webkit-appearance: textfield;
- border: 1px solid #e8e8e8;
- border-radius: 2px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- color: #333;
- font-size: 12px;
- height: inherit;
- margin: 0;
- padding: 0 0 0 10px;
- width: inherit;
-}
-
-.search-component-input::-webkit-input-placeholder {
- color: #ababab;
- font-weight: 300;
-}
-
-.search-component-input:-ms-input-placeholder {
- color: #ababab;
- font-weight: 300;
-}
-
-.search-component-input::-ms-input-placeholder {
- color: #ababab;
- font-weight: 300;
-}
-
-.search-component-input::placeholder {
- color: #ababab;
- font-weight: 300;
-}
-
-.search-component-input:active, .search-component-input:focus {
- border-color: #ababab;
- outline: 0;
-}
-
-.search-component-input:disabled {
- border: 1px solid #e8e8e8;
- color: #ababab;
-}
-
-.search-component .svg-symbol-component {
- -webkit-box-sizing: content-box;
- box-sizing: content-box;
- height: 100%;
- padding: 0 4px;
- position: absolute;
- right: 0;
- top: 1px;
-}
-
-.search-component .spinner-component {
- position: absolute;
- top: 4px;
- right: 24px;
-}
-.search-bar-component {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-}
-
-.search-bar-component-text-input.form-control {
- -webkit-box-flex: 1;
- -ms-flex: 1;
- flex: 1;
- height: 32px;
- margin-right: -3px;
- padding: 4px 10px;
-}
-
-.search-bar-component-button.btn {
- line-height: 1;
- width: 36px;
-}
-
-.search-bar-component-button.btn > .svg-symbol-component-search-icon {
- fill: #006dcc;
-}
-.splitpane-component {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -ms-flex-preferred-size: 50%;
- flex-basis: 50%;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-flow: column nowrap;
- flex-flow: column nowrap;
- overflow: hidden;
-}
-
-.splitpane-component + .splitpane-component {
- margin-left: 30px;
-}
-
-.splitpane-component > .grid-component {
- -webkit-box-flex: 0;
- -ms-flex-positive: 0;
- flex-grow: 0;
- -ms-flex-negative: 1;
- flex-shrink: 1;
- overflow: auto;
-}
-.aui--status-pill {
- font-size: 12px;
- display: inline-block;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- height: 24px;
- padding: 5px 12px;
- border: 1px solid transparent;
- border-radius: 12px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- font-weight: 700;
- line-height: 1;
- color: #5a5a5a;
-}
-
-.aui--status-pill.aui--status-pill-primary {
- background-color: rgba(0, 173, 238, 0.35);
-}
-
-.aui--status-pill.aui--status-pill-primary.aui--status-pill-inverse {
- background-color: #fff;
- border-color: #e8e8e8;
- color: #00adee;
-}
-
-.aui--status-pill.aui--status-pill-success {
- background-color: rgba(149, 200, 61, 0.35);
-}
-
-.aui--status-pill.aui--status-pill-success.aui--status-pill-inverse {
- background-color: #fff;
- border-color: #e8e8e8;
- color: #95c83d;
-}
-
-.aui--status-pill.aui--status-pill-warning {
- background-color: rgba(255, 153, 51, 0.35);
-}
-
-.aui--status-pill.aui--status-pill-warning.aui--status-pill-inverse {
- background-color: #fff;
- border-color: #e8e8e8;
- color: #f93;
-}
-
-.aui--status-pill.aui--status-pill-error {
- background-color: rgba(218, 79, 73, 0.35);
-}
-
-.aui--status-pill.aui--status-pill-error.aui--status-pill-inverse {
- background-color: #fff;
- border-color: #e8e8e8;
- color: #da4f49;
-}
-
-.aui--status-pill.aui--status-pill-light {
- background-color: #e8e8e8;
-}
-
-.aui--status-pill.aui--status-pill-light.aui--status-pill-inverse {
- background-color: #fff;
- border-color: #e8e8e8;
-}
-.aui--text-ellipsis-wrapper {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-}
-
-.aui--text-ellipsis-wrapper .text-ellipsis-component {
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
-}
-.treepickernode-component:hover {
- background-color: #f9f9f9;
-}
-
-.treepickernode-component:hover .treepickernode-component-expander {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%235a5a5a' d='M12.5 4c.3 0 .5.2.5.5v4h2.3c.4 0 .6.4.4.7l-2.3 4.1c-.1.3-.3.4-.5.4H2.5c-.3 0-.5-.2-.5-.5V4.5c0-.3.2-.5.5-.5h10z'/%3E%3Cpath fill='%23fff' d='M3 5v6.3l1.4-2.6c.1-.2.3-.2.4-.2H12V5H3z'/%3E%3C/svg%3E");
-}
-
-.treepickernode-component-expander {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ababab' d='M12.5 4c.3 0 .5.2.5.5V6h1.8c.4.1.5.5.4.8l-1.8 6.4c-.1.3-.3.4-.5.4H2.5c-.3 0-.5-.2-.5-.5V4.5c0-.3.2-.5.5-.5h10z'/%3E%3Cpath fill='%23fff' d='M3 5v5.6l1.4-4.2c.1-.1.2-.4.6-.4h7V5H3z'/%3E%3C/svg%3E");
- height: 16px;
- width: 16px;
-}
-
-.treepickernode-component-metadata {
- color: #838383;
-}
-
-.treepickernode-component-metadata::before {
- content: ' ';
-}
-
-.treepickernode-component .grid-component-cell-button {
- padding-bottom: 7px;
- padding-top: 7px;
-}
-
-.treepickernode-component .grid-component-cell-button .btn-xs {
- font-size: 15px;
- height: 20px;
- line-height: 14px;
- width: 20px;
-}
-
-.treepickernode-component label {
- margin-bottom: 0;
-}
-
-.treepickernode-component .spinner-component > .spinner {
- margin-bottom: -4px;
-}
-.treepickergrid-component-group-label .grid-component-row {
- background-color: #f9f9f9;
- font-weight: 700;
- padding: 7px 10px;
-}
-.treepickernav-component {
- border-left: 1px solid #e8e8e8;
- border-right: 1px solid #e8e8e8;
- padding: 10px;
-}
-
-.treepickernav-component > div + div {
- margin-top: 10px;
-}
-
-.treepickernav-component > .breadcrumb-component {
- padding-left: 2px;
-}
-.treepickersimplepure-component {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- height: 500px;
-}
-
-.treepickersimplepure-component .loading-nodes-container {
- text-align: center;
- padding: 60px;
-}
-
-.treepickersimplepure-component .flexible-spacer-component {
- border-top: 0;
-}
-
-.treepickersimplepure-component .treepickernav-component {
- background-color: #fff;
- border-top: 1px solid #e8e8e8;
-}
-
-.treepickersimplepure-component .splitpane-component + .splitpane-component .empty-component {
- margin-top: 71px;
-}
-
-.treepickersimplepure-component.disabled {
- pointer-events: none;
- cursor: default;
- opacity: 0.65;
-}
-
-.background-highlighted {
- background-color: #f3f3f3;
-}
-.userlistpicker-component-user-label .avatar-component {
- margin-right: 10px;
-}
-
-.userlistpicker-component .grid-component-cell-toggle {
- line-height: 35px;
-}
-.popover-link-item {
- padding: 4px 2px 4px 6px;
-}
-
-.popover-link-item:hover {
- background-color: #f9f9f9;
-}
-.hover-dropdown {
- display: inline-block;
-}
-
-.hover-dropdown-popover .popover-title {
- font-weight: 700;
- padding: 8px 2px 8px 6px;
- background-color: #fff;
-}
-
-.hover-dropdown-popover .popover-content {
- width: 160px;
- padding: 4px 0;
-}
-
-.hover-dropdown-popover .popover-content ul {
- margin: 0;
-}
-
-.hover-dropdown-popover .popover-content .btn {
- padding: 0;
-}
-.information-box {
- background-color: #f3f3f3;
- padding: 30px;
- color: #838383;
- display: -webkit-inline-box;
- display: -ms-inline-flexbox;
- display: inline-flex;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- width: 100%;
-}
-
-.information-box-text {
- padding-left: 20px;
- -webkit-box-flex: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
-}
-
-.information-box-title {
- font-size: 15px;
- font-weight: 700;
- color: #5a5a5a;
-}
-
-.information-box-icon {
- background-color: #fff;
- width: 70px;
- height: 70px;
- border-radius: 50%;
- text-align: center;
- overflow: hidden;
-}
-.nav-borderless {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-direction: row;
- flex-direction: row;
- font-size: 12px;
- font-weight: 300;
- padding: 0;
- height: 50px;
-}
-
-.nav-borderless > li {
- list-style-type: none;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -ms-flex-preferred-size: 100px;
- flex-basis: 100px;
- text-align: left;
- cursor: pointer;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- outline: none;
- border-style: solid;
- border-color: #fff;
- border-width: 0;
-}
-
-.nav-borderless > li:hover, .nav-borderless > li.active {
- border-color: #1950a3;
-}
-
-.nav-borderless > li > a {
- color: #5a5a5a;
- text-decoration: none;
- width: 100%;
- height: 100%;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.nav-borderless > li.disabled {
- cursor: default;
-}
-
-.nav-borderless > li.disabled a {
- color: #ababab;
-}
-
-.nav-borderless.top-bar > li {
- margin-top: 3px;
-}
-
-.nav-borderless.top-bar > li:hover, .nav-borderless.top-bar > li.active {
- margin: 0;
- border-top-width: 3px;
-}
-
-.nav-borderless.bottom-bar > li {
- margin-bottom: 3px;
-}
-
-.nav-borderless.bottom-bar > li:hover, .nav-borderless.bottom-bar > li.active {
- margin: 0;
- border-bottom-width: 3px;
-}
-.aui--overlay-loader {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 10px;
- z-index: 1060;
-}
-
-.aui--overlay-loader-disabled {
- position: fixed;
-}
-
-.aui--overlay-loader .loader {
- position: fixed;
- left: 50%;
- width: 96px;
- min-height: 132px;
- background-color: #f9f9f9;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 20px;
- border-radius: 5px;
- border: 1px solid #d3d3d3;
- font-weight: 700;
- opacity: .9;
- line-height: 14px;
-}
-
-.aui--overlay-loader .loader .loader-heading {
- color: #5a5a5a;
-}
-
-.aui--overlay-loader .loader .loader-text {
- margin-top: 5px;
- color: #ababab;
- width: 65px;
- text-align: center;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-word;
-}
-
-.aui--overlay-loader .loader .spinner-medium {
- height: 40px;
- width: 40px;
- margin-bottom: 20px;
- border-bottom-color: #5a5a5a;
- border-left-color: #5a5a5a;
- border-right-color: #5a5a5a;
- border-width: 5px;
-}
-.adslot-ui-header > .pagetitle-component {
- background: #fff;
-}
-
-.adslot-ui-header > .pagetitle-component .svg-symbol-component {
- width: 156px;
- height: 30px;
-}
-
-.adslot-ui-header > .pagetitle-component img {
- margin-bottom: 10px;
-}
-.adslot-ui-navigation {
- width: 240px;
-}
-.git-contributors .avatars-container {
- padding: 30px;
- text-align: center;
-}
-
-.git-contributors .avatars-container .avatar-component {
- margin-right: 10px;
- margin-bottom: 10px;
-}
-.adslot-ui-searchbar {
- margin-bottom: 30px;
-}
-.search-result-card {
- width: 240px;
-}
-
-.search-result-card .card-component-content {
- padding-top: 0;
-}
-
-.search-result-card .card-component-content:first-child {
- padding: 30px;
- border-bottom: 1px solid #e8e8e8;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-}
-
-.search-result-card .card-component-content:nth-child(2) {
- padding-top: 30px;
-}
-
-.search-result-card .card-component-content:nth-last-child(2):not(:first-child) {
- padding-bottom: 30px;
-}
-
-.search-result-card .card-component-content .title {
- -webkit-box-flex: 1;
- -ms-flex: 1;
- flex: 1;
-}
-
-.search-result-card .card-component-content .clear-button {
- padding: 0;
-}
-@charset "UTF-8";
-.adslot-ui-proptype-table {
- max-width: 1100px;
-}
-
-.adslot-ui-proptype-table + .adslot-ui-proptype-table {
- margin-top: 30px;
-}
-
-.adslot-ui-proptype-table table + .empty-component {
- padding: 0;
-}
-
-.adslot-ui-proptype-table table tr th.col-prop-type {
- width: 10%;
-}
-
-.adslot-ui-proptype-table table tr th.col-type {
- width: 15%;
-}
-
-.adslot-ui-proptype-table table tr th.col-default-value {
- width: 25%;
-}
-
-.adslot-ui-proptype-table table tr th.col-notes {
- width: 50%;
-}
-
-.adslot-ui-proptype-table table tr td:empty::before {
- content: '\2014';
-}
-
-.adslot-ui-proptype-table table tr td pre {
- white-space: pre-wrap;
-}
-.adslot-ui-example-container {
- margin-bottom: 60px;
-}
-
-.adslot-ui-example-container .adslot-ui-example {
- margin-bottom: 30px;
- max-width: 940px;
-}
-
-.adslot-ui-example-container .adslot-ui-code-snippet {
- max-width: 1100px;
-}
-
-.adslot-ui-example-container .adslot-ui-code-snippet > pre {
- padding: 10px !important;
-}
-
-.adslot-ui-example-container > h2 {
- margin-bottom: 30px;
- font-size: 18px;
-}
-
-.adslot-ui-example-container > h3 {
- margin-bottom: 18px;
- font-size: 15px;
-}
-body {
- font-family: Roboto, Helvetica, sans-serif;
- margin: 0;
-}
-
-.adslot-ui-layout .adslot-ui-body {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-direction: row;
- flex-direction: row;
- padding: 30px;
-}
-
-.adslot-ui-layout .adslot-ui-proptype-table pre {
- display: inline;
-}
-
-.adslot-ui-sidebar-area {
- margin-right: 30px;
- -webkit-box-flex: 0;
- -ms-flex: 0 1 1;
- flex: 0 1 1;
-}
-
-.adslot-ui-content-area {
- -webkit-box-flex: 1;
- -ms-flex: 1;
- flex: 1;
-}
-
-.adslot-ui-content-area > .pagetitle-component {
- margin: 30px auto;
- padding-left: 0;
-}
-
-.adslot-ui-content-area > .migration-docs {
- font-size: 18px;
-}
-
-.note-panel {
- background: none #fdfdfd;
-}
-
-.note-panel ~ .note-panel {
- margin-top: 10px;
-}
-
-.note-panel pre {
- display: inline;
-}
-
-.note-panel .text-blue {
- color: #006dcc;
-}
-
-.note-panel .text-cyan {
- color: #49afcd;
-}
-
-.note-panel .text-green {
- color: #5bb75b;
-}
-
-.note-panel .text-gray-light {
- color: #d3d3d3;
-}
-
-.note-panel .text-gray-dark {
- color: #838383;
-}
-
-.note-panel .text-red {
- color: #da4f49;
-}
-
-.note-panel .text-orange {
- color: #faa732;
-}
-
-.note-panel .text-bold {
- font-weight: 700;
-}
-.tag-component-accent.accent-positive {
- border-color: #5bb75b;
-}
-
-.tag-component-accent.accent-positive:not(.tag-component-inverse) {
- background-color: #5bb75b;
-}
-
-.tag-component-accent.accent-positive.tag-component-inverse {
- color: #5bb75b;
- fill: #5bb75b;
-}
-
-.tag-component-accent.accent-pending {
- border-color: #faa732;
-}
-
-.tag-component-accent.accent-pending:not(.tag-component-inverse) {
- background-color: #faa732;
-}
-
-.tag-component-accent.accent-pending.tag-component-inverse {
- color: #faa732;
- fill: #faa732;
-}
-
-.tag-component-accent.accent-negative {
- border-color: #da4f49;
-}
-
-.tag-component-accent.accent-negative:not(.tag-component-inverse) {
- background-color: #da4f49;
-}
-
-.tag-component-accent.accent-negative.tag-component-inverse {
- color: #da4f49;
- fill: #da4f49;
-}
-
-.adslot-ui-example-container.alert-input-example .adslot-ui-example {
- width: 140px;
-}
-
-.adslot-ui-example-container.accordion-panel-example .adslot-ui-example, .adslot-ui-example-container.card-example .adslot-ui-example {
- width: 240px;
-}
-
-.adslot-ui-example-container.file-picker-example .adslot-ui-example, .adslot-ui-example-container.text-ellipsis-example .adslot-ui-example, .adslot-ui-example-container.textarea-example .adslot-ui-example, .adslot-ui-example-container.select-example .adslot-ui-example, .adslot-ui-example-container.panel-example .adslot-ui-example {
- width: 380px;
-}
-
-.adslot-ui-example-container.totals-example .adslot-ui-example, .adslot-ui-example-container.empty-example .adslot-ui-example, .adslot-ui-example-container.search-example .adslot-ui-example, .adslot-ui-example-container.search-bar-example .adslot-ui-example, .adslot-ui-example-container.pretty-diff-example .adslot-ui-example {
- width: 560px;
-}
-
-.adslot-ui-example-container.navigation-tabs-example .adslot-ui-example .dashboard-tab {
- border-color: #d5382e;
-}
-
-.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
- height: 400px;
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
-}
-
-.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .checkbox-component + .checkbox-component {
- margin-top: 0;
- margin-left: 5px;
-}
-
-.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .placement-checkbox,
-.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .theme-checkbox,
-.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .example-button,
-.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .trigger-checkbox,
-.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .disabled-popover {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-}
-
-.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .disabled-popover {
- height: 28px;
-}
-
-.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .disabled-popover .checkbox-component {
- margin-top: 1px;
-}
-
-.adslot-ui-example-container.popover-example .adslot-ui-example .button-example-container .disabled-popover .button-component {
- position: relative;
- left: 5px;
- top: -5px;
-}
-
-.adslot-ui-example-container.popover-example .adslot-ui-example .popover {
- position: relative;
- margin: 20px;
-}
-
-.adslot-ui-example-container.popover-example .adslot-ui-example .auto-flip-container {
- width: 500px;
- height: 250px;
- border: 1px solid #d3d3d3;
- overflow: hidden;
- overflow-x: scroll;
-}
-
-.adslot-ui-example-container.popover-example .adslot-ui-example .auto-flip-container .popover-example-container {
- width: 600px;
- position: relative;
- top: 50px;
- left: 250px;
-}
-
-.adslot-ui-example-container.popover-example .adslot-ui-example .auto-flip-container .popover-example-container > .aui--popover-element {
- top: 10px;
- left: 10px;
- position: relative;
-}
-
-.adslot-ui-example-container.checkbox-example h4 {
- margin-top: 20px;
- font-weight: bold;
-}
-
-.adslot-ui-example-container.checkbox-example .fix-size {
- width: 200px;
-}
-
-.adslot-ui-example-container.status-pill-example .aui--status-pill + .aui--status-pill {
- margin-left: 20px;
-}
-
-.adslot-ui-example-container.button-group-example .adslot-ui-example {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-}
-
-.adslot-ui-example-container.button-group-example .adslot-ui-example .aui--button-group .svg-symbol-component {
- position: relative;
- top: 3px;
- fill: #fff;
-}
-
-.adslot-ui-example-container.button-group-example .adslot-ui-example .aui--button-group .btn-inverse .svg-symbol-component {
- fill: #000;
-}
-
-.adslot-ui-example-container.overlay-loader-example .static-markup {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- margin-bottom: 50px;
- width: 300px;
-}
-
-.adslot-ui-example-container.overlay-loader-example .static-markup .aui--overlay-loader {
- position: inherit;
-}
-
-.adslot-ui-example-container.overlay-loader-example .static-markup .aui--overlay-loader .loader {
- position: inherit;
-}
-
-.adslot-ui-example-container.overlay-loader-example .static-markup .aui--overlay-loader + .aui--overlay-loader {
- margin-right: 10px;
-}
-
-.full-width {
- width: 100%;
-}
-
-.horizontal-separator {
- width: 12px;
-}
-
-.vertical-separator {
- height: 12px;
-}
diff --git a/dist/adslot-ui-docs.dev.js b/dist/adslot-ui-docs.dev.js
deleted file mode 100644
index 9d64519b3..000000000
--- a/dist/adslot-ui-docs.dev.js
+++ /dev/null
@@ -1,62967 +0,0 @@
-(function webpackUniversalModuleDefinition(root, factory) {
- if(typeof exports === 'object' && typeof module === 'object')
- module.exports = factory(require("react"), require("lodash"), require("react-dom"), require("moment"));
- else if(typeof define === 'function' && define.amd)
- define(["react", "lodash", "react-dom", "moment"], factory);
- else if(typeof exports === 'object')
- exports["AdslotUI"] = factory(require("react"), require("lodash"), require("react-dom"), require("moment"));
- else
- root["AdslotUI"] = factory(root["React"], root["_"], root["ReactDOM"], root["moment"]);
-})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_0__, __WEBPACK_EXTERNAL_MODULE_9__, __WEBPACK_EXTERNAL_MODULE_13__, __WEBPACK_EXTERNAL_MODULE_132__) {
-return /******/ (function(modules) { // webpackBootstrap
-/******/ // The module cache
-/******/ var installedModules = {};
-/******/
-/******/ // The require function
-/******/ function __webpack_require__(moduleId) {
-/******/
-/******/ // Check if module is in cache
-/******/ if(installedModules[moduleId]) {
-/******/ return installedModules[moduleId].exports;
-/******/ }
-/******/ // Create a new module (and put it into the cache)
-/******/ var module = installedModules[moduleId] = {
-/******/ i: moduleId,
-/******/ l: false,
-/******/ exports: {}
-/******/ };
-/******/
-/******/ // Execute the module function
-/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ // Flag the module as loaded
-/******/ module.l = true;
-/******/
-/******/ // Return the exports of the module
-/******/ return module.exports;
-/******/ }
-/******/
-/******/
-/******/ // expose the modules object (__webpack_modules__)
-/******/ __webpack_require__.m = modules;
-/******/
-/******/ // expose the module cache
-/******/ __webpack_require__.c = installedModules;
-/******/
-/******/ // define getter function for harmony exports
-/******/ __webpack_require__.d = function(exports, name, getter) {
-/******/ if(!__webpack_require__.o(exports, name)) {
-/******/ Object.defineProperty(exports, name, {
-/******/ configurable: false,
-/******/ enumerable: true,
-/******/ get: getter
-/******/ });
-/******/ }
-/******/ };
-/******/
-/******/ // getDefaultExport function for compatibility with non-harmony modules
-/******/ __webpack_require__.n = function(module) {
-/******/ var getter = module && module.__esModule ?
-/******/ function getDefault() { return module['default']; } :
-/******/ function getModuleExports() { return module; };
-/******/ __webpack_require__.d(getter, 'a', getter);
-/******/ return getter;
-/******/ };
-/******/
-/******/ // Object.prototype.hasOwnProperty.call
-/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ // __webpack_public_path__
-/******/ __webpack_require__.p = "";
-/******/
-/******/ // Load entry module and return exports
-/******/ return __webpack_require__(__webpack_require__.s = 330);
-/******/ })
-/************************************************************************/
-/******/ ([
-/* 0 */
-/***/ (function(module, exports) {
-
-module.exports = __WEBPACK_EXTERNAL_MODULE_0__;
-
-/***/ }),
-/* 1 */
-/***/ (function(module, exports, __webpack_require__) {
-
-/* WEBPACK VAR INJECTION */(function(process) {/**
- * 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 REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&
- Symbol.for &&
- Symbol.for('react.element')) ||
- 0xeac7;
-
- var isValidElement = function(object) {
- return typeof object === 'object' &&
- object !== null &&
- object.$$typeof === REACT_ELEMENT_TYPE;
- };
-
- // By explicitly using `prop-types` you are opting into new development behavior.
- // http://fb.me/prop-types-in-prod
- var throwOnDirectAccess = true;
- module.exports = __webpack_require__(137)(isValidElement, throwOnDirectAccess);
-} else {
- // By explicitly using `prop-types` you are opting into new production behavior.
- // http://fb.me/prop-types-in-prod
- module.exports = __webpack_require__(140)();
-}
-
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 2 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
- Copyright (c) 2017 Jed Watson.
- Licensed under the MIT License (MIT), see
- http://jedwatson.github.io/classnames
-*/
-/* global define */
-
-(function () {
- 'use strict';
-
- var hasOwn = {}.hasOwnProperty;
-
- function classNames () {
- var classes = [];
-
- for (var i = 0; i < arguments.length; i++) {
- var arg = arguments[i];
- if (!arg) continue;
-
- var argType = typeof arg;
-
- if (argType === 'string' || argType === 'number') {
- classes.push(arg);
- } else if (Array.isArray(arg) && arg.length) {
- var inner = classNames.apply(null, arg);
- if (inner) {
- classes.push(inner);
- }
- } else if (argType === 'object') {
- for (var key in arg) {
- if (hasOwn.call(arg, key) && arg[key]) {
- classes.push(key);
- }
- }
- }
- }
-
- return classes.join(' ');
- }
-
- if (typeof module !== 'undefined' && module.exports) {
- classNames.default = classNames;
- module.exports = classNames;
- } else if (true) {
- // register as 'classnames', consistent with npm package name
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
- return classNames;
- }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
- } else {
- window.classNames = classNames;
- }
-}());
-
-
-/***/ }),
-/* 3 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-exports.default = function (instance, Constructor) {
- if (!(instance instanceof Constructor)) {
- throw new TypeError("Cannot call a class as a function");
- }
-};
-
-/***/ }),
-/* 4 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _typeof2 = __webpack_require__(82);
-
-var _typeof3 = _interopRequireDefault(_typeof2);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-exports.default = function (self, call) {
- if (!self) {
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- }
-
- return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self;
-};
-
-/***/ }),
-/* 5 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _setPrototypeOf = __webpack_require__(170);
-
-var _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);
-
-var _create = __webpack_require__(174);
-
-var _create2 = _interopRequireDefault(_create);
-
-var _typeof2 = __webpack_require__(82);
-
-var _typeof3 = _interopRequireDefault(_typeof2);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-exports.default = function (subClass, superClass) {
- if (typeof superClass !== "function" && superClass !== null) {
- throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : (0, _typeof3.default)(superClass)));
- }
-
- subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {
- constructor: {
- value: subClass,
- enumerable: false,
- writable: true,
- configurable: true
- }
- });
- if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;
-};
-
-/***/ }),
-/* 6 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _assign = __webpack_require__(79);
-
-var _assign2 = _interopRequireDefault(_assign);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-exports.default = _assign2.default || function (target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
-
- for (var key in source) {
- if (Object.prototype.hasOwnProperty.call(source, key)) {
- target[key] = source[key];
- }
- }
- }
-
- return target;
-};
-
-/***/ }),
-/* 7 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-exports.default = function (obj, keys) {
- var target = {};
-
- for (var i in obj) {
- if (keys.indexOf(i) >= 0) continue;
- if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
- target[i] = obj[i];
- }
-
- return target;
-};
-
-/***/ }),
-/* 8 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["e"] = prefix;
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return bsClass; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return bsStyles; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return bsSizes; });
-/* harmony export (immutable) */ __webpack_exports__["d"] = getClassSet;
-/* harmony export (immutable) */ __webpack_exports__["f"] = splitBsProps;
-/* harmony export (immutable) */ __webpack_exports__["g"] = splitBsPropsAndOmit;
-/* unused harmony export addStyle */
-/* unused harmony export _curry */
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_entries__ = __webpack_require__(57);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_entries___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_entries__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant__ = __webpack_require__(48);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_invariant__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__StyleConfig__ = __webpack_require__(17);
-
-
-// TODO: The publicly exposed parts of this should be in lib/BootstrapUtils.
-
-
-
-
-
-
-function curry(fn) {
- return function () {
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- var last = args[args.length - 1];
- if (typeof last === 'function') {
- return fn.apply(undefined, args);
- }
- return function (Component) {
- return fn.apply(undefined, args.concat([Component]));
- };
- };
-}
-
-function prefix(props, variant) {
- !(props.bsClass != null) ? process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_2_invariant___default()(false, 'A `bsClass` prop is required for this component') : __WEBPACK_IMPORTED_MODULE_2_invariant___default()(false) : void 0;
- return props.bsClass + (variant ? '-' + variant : '');
-}
-
-var bsClass = curry(function (defaultClass, Component) {
- var propTypes = Component.propTypes || (Component.propTypes = {});
- var defaultProps = Component.defaultProps || (Component.defaultProps = {});
-
- propTypes.bsClass = __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.string;
- defaultProps.bsClass = defaultClass;
-
- return Component;
-});
-
-var bsStyles = curry(function (styles, defaultStyle, Component) {
- if (typeof defaultStyle !== 'string') {
- Component = defaultStyle;
- defaultStyle = undefined;
- }
-
- var existing = Component.STYLES || [];
- var propTypes = Component.propTypes || {};
-
- styles.forEach(function (style) {
- if (existing.indexOf(style) === -1) {
- existing.push(style);
- }
- });
-
- var propType = __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(existing);
-
- // expose the values on the propType function for documentation
- Component.STYLES = existing;
- propType._values = existing;
-
- Component.propTypes = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default()({}, propTypes, {
- bsStyle: propType
- });
-
- if (defaultStyle !== undefined) {
- var defaultProps = Component.defaultProps || (Component.defaultProps = {});
- defaultProps.bsStyle = defaultStyle;
- }
-
- return Component;
-});
-
-var bsSizes = curry(function (sizes, defaultSize, Component) {
- if (typeof defaultSize !== 'string') {
- Component = defaultSize;
- defaultSize = undefined;
- }
-
- var existing = Component.SIZES || [];
- var propTypes = Component.propTypes || {};
-
- sizes.forEach(function (size) {
- if (existing.indexOf(size) === -1) {
- existing.push(size);
- }
- });
-
- var values = [];
- existing.forEach(function (size) {
- var mappedSize = __WEBPACK_IMPORTED_MODULE_4__StyleConfig__["b" /* SIZE_MAP */][size];
- if (mappedSize && mappedSize !== size) {
- values.push(mappedSize);
- }
-
- values.push(size);
- });
-
- var propType = __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(values);
- propType._values = values;
-
- // expose the values on the propType function for documentation
- Component.SIZES = existing;
-
- Component.propTypes = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default()({}, propTypes, {
- bsSize: propType
- });
-
- if (defaultSize !== undefined) {
- if (!Component.defaultProps) {
- Component.defaultProps = {};
- }
- Component.defaultProps.bsSize = defaultSize;
- }
-
- return Component;
-});
-
-function getClassSet(props) {
- var _classes;
-
- var classes = (_classes = {}, _classes[prefix(props)] = true, _classes);
-
- if (props.bsSize) {
- var bsSize = __WEBPACK_IMPORTED_MODULE_4__StyleConfig__["b" /* SIZE_MAP */][props.bsSize] || props.bsSize;
- classes[prefix(props, bsSize)] = true;
- }
-
- if (props.bsStyle) {
- classes[prefix(props, props.bsStyle)] = true;
- }
-
- return classes;
-}
-
-function getBsProps(props) {
- return {
- bsClass: props.bsClass,
- bsSize: props.bsSize,
- bsStyle: props.bsStyle,
- bsRole: props.bsRole
- };
-}
-
-function isBsProp(propName) {
- return propName === 'bsClass' || propName === 'bsSize' || propName === 'bsStyle' || propName === 'bsRole';
-}
-
-function splitBsProps(props) {
- var elementProps = {};
- __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_entries___default()(props).forEach(function (_ref) {
- var propName = _ref[0],
- propValue = _ref[1];
-
- if (!isBsProp(propName)) {
- elementProps[propName] = propValue;
- }
- });
-
- return [getBsProps(props), elementProps];
-}
-
-function splitBsPropsAndOmit(props, omittedPropNames) {
- var isOmittedProp = {};
- omittedPropNames.forEach(function (propName) {
- isOmittedProp[propName] = true;
- });
-
- var elementProps = {};
- __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_entries___default()(props).forEach(function (_ref2) {
- var propName = _ref2[0],
- propValue = _ref2[1];
-
- if (!isBsProp(propName) && !isOmittedProp[propName]) {
- elementProps[propName] = propValue;
- }
- });
-
- return [getBsProps(props), elementProps];
-}
-
-/**
- * Add a style variant to a Component. Mutates the propTypes of the component
- * in order to validate the new variant.
- */
-function addStyle(Component) {
- for (var _len2 = arguments.length, styleVariant = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
- styleVariant[_key2 - 1] = arguments[_key2];
- }
-
- bsStyles(styleVariant, Component);
-}
-
-var _curry = curry;
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 9 */
-/***/ (function(module, exports) {
-
-module.exports = __WEBPACK_EXTERNAL_MODULE_9__;
-
-/***/ }),
-/* 10 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _reactIs = __webpack_require__(177);
-
-var _createChainableTypeChecker = __webpack_require__(47);
-
-var _createChainableTypeChecker2 = _interopRequireDefault(_createChainableTypeChecker);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function elementType(props, propName, componentName, location, propFullName) {
- var propValue = props[propName];
-
- if (_react2.default.isValidElement(propValue)) {
- return new Error('Invalid ' + location + ' `' + propFullName + '` of type ReactElement ' + ('supplied to `' + componentName + '`,expected an element type (a string ') + ', component class, or function component).');
- }
-
- if (!(0, _reactIs.isValidElementType)(propValue)) {
- return new Error('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected an element type (a string ') + ', component class, or function component).');
- }
-
- return null;
-}
-
-exports.default = (0, _createChainableTypeChecker2.default)(elementType);
-module.exports = exports['default'];
-
-/***/ }),
-/* 11 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
-var src_namespaceObject = {};
-__webpack_require__.d(src_namespaceObject, "easeLinear", function() { return linear; });
-__webpack_require__.d(src_namespaceObject, "easeQuad", function() { return quadInOut; });
-__webpack_require__.d(src_namespaceObject, "easeQuadIn", function() { return quadIn; });
-__webpack_require__.d(src_namespaceObject, "easeQuadOut", function() { return quadOut; });
-__webpack_require__.d(src_namespaceObject, "easeQuadInOut", function() { return quadInOut; });
-__webpack_require__.d(src_namespaceObject, "easeCubic", function() { return cubicInOut; });
-__webpack_require__.d(src_namespaceObject, "easeCubicIn", function() { return cubicIn; });
-__webpack_require__.d(src_namespaceObject, "easeCubicOut", function() { return cubicOut; });
-__webpack_require__.d(src_namespaceObject, "easeCubicInOut", function() { return cubicInOut; });
-__webpack_require__.d(src_namespaceObject, "easePoly", function() { return polyInOut; });
-__webpack_require__.d(src_namespaceObject, "easePolyIn", function() { return polyIn; });
-__webpack_require__.d(src_namespaceObject, "easePolyOut", function() { return polyOut; });
-__webpack_require__.d(src_namespaceObject, "easePolyInOut", function() { return polyInOut; });
-__webpack_require__.d(src_namespaceObject, "easeSin", function() { return sinInOut; });
-__webpack_require__.d(src_namespaceObject, "easeSinIn", function() { return sinIn; });
-__webpack_require__.d(src_namespaceObject, "easeSinOut", function() { return sinOut; });
-__webpack_require__.d(src_namespaceObject, "easeSinInOut", function() { return sinInOut; });
-__webpack_require__.d(src_namespaceObject, "easeExp", function() { return expInOut; });
-__webpack_require__.d(src_namespaceObject, "easeExpIn", function() { return expIn; });
-__webpack_require__.d(src_namespaceObject, "easeExpOut", function() { return expOut; });
-__webpack_require__.d(src_namespaceObject, "easeExpInOut", function() { return expInOut; });
-__webpack_require__.d(src_namespaceObject, "easeCircle", function() { return circleInOut; });
-__webpack_require__.d(src_namespaceObject, "easeCircleIn", function() { return circleIn; });
-__webpack_require__.d(src_namespaceObject, "easeCircleOut", function() { return circleOut; });
-__webpack_require__.d(src_namespaceObject, "easeCircleInOut", function() { return circleInOut; });
-__webpack_require__.d(src_namespaceObject, "easeBounce", function() { return bounceOut; });
-__webpack_require__.d(src_namespaceObject, "easeBounceIn", function() { return bounceIn; });
-__webpack_require__.d(src_namespaceObject, "easeBounceOut", function() { return bounceOut; });
-__webpack_require__.d(src_namespaceObject, "easeBounceInOut", function() { return bounceInOut; });
-__webpack_require__.d(src_namespaceObject, "easeBack", function() { return backInOut; });
-__webpack_require__.d(src_namespaceObject, "easeBackIn", function() { return backIn; });
-__webpack_require__.d(src_namespaceObject, "easeBackOut", function() { return backOut; });
-__webpack_require__.d(src_namespaceObject, "easeBackInOut", function() { return backInOut; });
-__webpack_require__.d(src_namespaceObject, "easeElastic", function() { return elasticOut; });
-__webpack_require__.d(src_namespaceObject, "easeElasticIn", function() { return elasticIn; });
-__webpack_require__.d(src_namespaceObject, "easeElasticOut", function() { return elasticOut; });
-__webpack_require__.d(src_namespaceObject, "easeElasticInOut", function() { return elasticInOut; });
-
-// EXTERNAL MODULE: ../node_modules/react-input-autosize/lib/AutosizeInput.js
-var AutosizeInput = __webpack_require__(136);
-var AutosizeInput_default = /*#__PURE__*/__webpack_require__.n(AutosizeInput);
-
-// EXTERNAL MODULE: ../node_modules/classnames/index.js
-var classnames = __webpack_require__(2);
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
-
-// EXTERNAL MODULE: ../node_modules/prop-types/index.js
-var prop_types = __webpack_require__(1);
-var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
-
-// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"}
-var external___root___React___commonjs2___react___commonjs___react___amd___react__ = __webpack_require__(0);
-var external___root___React___commonjs2___react___commonjs___react___amd___react___default = /*#__PURE__*/__webpack_require__.n(external___root___React___commonjs2___react___commonjs___react___amd___react__);
-
-// EXTERNAL MODULE: external {"root":"ReactDOM","commonjs2":"react-dom","commonjs":"react-dom","amd":"react-dom"}
-var external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__ = __webpack_require__(13);
-var external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom___default = /*#__PURE__*/__webpack_require__.n(external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__);
-
-// CONCATENATED MODULE: ../node_modules/react-select/dist/react-select.es.js
-
-
-
-
-
-
-var react_select_es_arrowRenderer = function arrowRenderer(_ref) {
- var onMouseDown = _ref.onMouseDown;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('span', {
- className: 'Select-arrow',
- onMouseDown: onMouseDown
- });
-};
-
-react_select_es_arrowRenderer.propTypes = {
- onMouseDown: prop_types_default.a.func
-};
-
-var react_select_es_clearRenderer = function clearRenderer() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('span', {
- className: 'Select-clear',
- dangerouslySetInnerHTML: { __html: '×' }
- });
-};
-
-var map = [{ 'base': 'A', 'letters': /[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g }, { 'base': 'AA', 'letters': /[\uA732]/g }, { 'base': 'AE', 'letters': /[\u00C6\u01FC\u01E2]/g }, { 'base': 'AO', 'letters': /[\uA734]/g }, { 'base': 'AU', 'letters': /[\uA736]/g }, { 'base': 'AV', 'letters': /[\uA738\uA73A]/g }, { 'base': 'AY', 'letters': /[\uA73C]/g }, { 'base': 'B', 'letters': /[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g }, { 'base': 'C', 'letters': /[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g }, { 'base': 'D', 'letters': /[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g }, { 'base': 'DZ', 'letters': /[\u01F1\u01C4]/g }, { 'base': 'Dz', 'letters': /[\u01F2\u01C5]/g }, { 'base': 'E', 'letters': /[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g }, { 'base': 'F', 'letters': /[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g }, { 'base': 'G', 'letters': /[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g }, { 'base': 'H', 'letters': /[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g }, { 'base': 'I', 'letters': /[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g }, { 'base': 'J', 'letters': /[\u004A\u24BF\uFF2A\u0134\u0248]/g }, { 'base': 'K', 'letters': /[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g }, { 'base': 'L', 'letters': /[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g }, { 'base': 'LJ', 'letters': /[\u01C7]/g }, { 'base': 'Lj', 'letters': /[\u01C8]/g }, { 'base': 'M', 'letters': /[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g }, { 'base': 'N', 'letters': /[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g }, { 'base': 'NJ', 'letters': /[\u01CA]/g }, { 'base': 'Nj', 'letters': /[\u01CB]/g }, { 'base': 'O', 'letters': /[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g }, { 'base': 'OI', 'letters': /[\u01A2]/g }, { 'base': 'OO', 'letters': /[\uA74E]/g }, { 'base': 'OU', 'letters': /[\u0222]/g }, { 'base': 'P', 'letters': /[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g }, { 'base': 'Q', 'letters': /[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g }, { 'base': 'R', 'letters': /[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g }, { 'base': 'S', 'letters': /[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g }, { 'base': 'T', 'letters': /[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g }, { 'base': 'TZ', 'letters': /[\uA728]/g }, { 'base': 'U', 'letters': /[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g }, { 'base': 'V', 'letters': /[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g }, { 'base': 'VY', 'letters': /[\uA760]/g }, { 'base': 'W', 'letters': /[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g }, { 'base': 'X', 'letters': /[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g }, { 'base': 'Y', 'letters': /[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g }, { 'base': 'Z', 'letters': /[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g }, { 'base': 'a', 'letters': /[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g }, { 'base': 'aa', 'letters': /[\uA733]/g }, { 'base': 'ae', 'letters': /[\u00E6\u01FD\u01E3]/g }, { 'base': 'ao', 'letters': /[\uA735]/g }, { 'base': 'au', 'letters': /[\uA737]/g }, { 'base': 'av', 'letters': /[\uA739\uA73B]/g }, { 'base': 'ay', 'letters': /[\uA73D]/g }, { 'base': 'b', 'letters': /[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g }, { 'base': 'c', 'letters': /[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g }, { 'base': 'd', 'letters': /[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g }, { 'base': 'dz', 'letters': /[\u01F3\u01C6]/g }, { 'base': 'e', 'letters': /[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g }, { 'base': 'f', 'letters': /[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g }, { 'base': 'g', 'letters': /[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g }, { 'base': 'h', 'letters': /[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g }, { 'base': 'hv', 'letters': /[\u0195]/g }, { 'base': 'i', 'letters': /[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g }, { 'base': 'j', 'letters': /[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g }, { 'base': 'k', 'letters': /[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g }, { 'base': 'l', 'letters': /[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g }, { 'base': 'lj', 'letters': /[\u01C9]/g }, { 'base': 'm', 'letters': /[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g }, { 'base': 'n', 'letters': /[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g }, { 'base': 'nj', 'letters': /[\u01CC]/g }, { 'base': 'o', 'letters': /[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g }, { 'base': 'oi', 'letters': /[\u01A3]/g }, { 'base': 'ou', 'letters': /[\u0223]/g }, { 'base': 'oo', 'letters': /[\uA74F]/g }, { 'base': 'p', 'letters': /[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g }, { 'base': 'q', 'letters': /[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g }, { 'base': 'r', 'letters': /[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g }, { 'base': 's', 'letters': /[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g }, { 'base': 't', 'letters': /[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g }, { 'base': 'tz', 'letters': /[\uA729]/g }, { 'base': 'u', 'letters': /[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g }, { 'base': 'v', 'letters': /[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g }, { 'base': 'vy', 'letters': /[\uA761]/g }, { 'base': 'w', 'letters': /[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g }, { 'base': 'x', 'letters': /[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g }, { 'base': 'y', 'letters': /[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g }, { 'base': 'z', 'letters': /[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g }];
-
-var stripDiacritics = function stripDiacritics(str) {
- for (var i = 0; i < map.length; i++) {
- str = str.replace(map[i].letters, map[i].base);
- }
- return str;
-};
-
-var trim = function trim(str) {
- return str.replace(/^\s+|\s+$/g, '');
-};
-
-var isValid = function isValid(value) {
- return typeof value !== 'undefined' && value !== null && value !== '';
-};
-
-var filterOptions = function filterOptions(options, filterValue, excludeOptions, props) {
- if (props.ignoreAccents) {
- filterValue = stripDiacritics(filterValue);
- }
-
- if (props.ignoreCase) {
- filterValue = filterValue.toLowerCase();
- }
-
- if (props.trimFilter) {
- filterValue = trim(filterValue);
- }
-
- if (excludeOptions) excludeOptions = excludeOptions.map(function (i) {
- return i[props.valueKey];
- });
-
- return options.filter(function (option) {
- if (excludeOptions && excludeOptions.indexOf(option[props.valueKey]) > -1) return false;
- if (props.filterOption) return props.filterOption.call(undefined, option, filterValue);
- if (!filterValue) return true;
-
- var value = option[props.valueKey];
- var label = option[props.labelKey];
- var hasValue = isValid(value);
- var hasLabel = isValid(label);
-
- if (!hasValue && !hasLabel) {
- return false;
- }
-
- var valueTest = hasValue ? String(value) : null;
- var labelTest = hasLabel ? String(label) : null;
-
- if (props.ignoreAccents) {
- if (valueTest && props.matchProp !== 'label') valueTest = stripDiacritics(valueTest);
- if (labelTest && props.matchProp !== 'value') labelTest = stripDiacritics(labelTest);
- }
-
- if (props.ignoreCase) {
- if (valueTest && props.matchProp !== 'label') valueTest = valueTest.toLowerCase();
- if (labelTest && props.matchProp !== 'value') labelTest = labelTest.toLowerCase();
- }
-
- return props.matchPos === 'start' ? valueTest && props.matchProp !== 'label' && valueTest.substr(0, filterValue.length) === filterValue || labelTest && props.matchProp !== 'value' && labelTest.substr(0, filterValue.length) === filterValue : valueTest && props.matchProp !== 'label' && valueTest.indexOf(filterValue) >= 0 || labelTest && props.matchProp !== 'value' && labelTest.indexOf(filterValue) >= 0;
- });
-};
-
-var react_select_es_menuRenderer = function menuRenderer(_ref) {
- var focusedOption = _ref.focusedOption,
- focusOption = _ref.focusOption,
- inputValue = _ref.inputValue,
- instancePrefix = _ref.instancePrefix,
- onFocus = _ref.onFocus,
- onOptionRef = _ref.onOptionRef,
- onSelect = _ref.onSelect,
- optionClassName = _ref.optionClassName,
- optionComponent = _ref.optionComponent,
- optionRenderer = _ref.optionRenderer,
- options = _ref.options,
- removeValue = _ref.removeValue,
- selectValue = _ref.selectValue,
- valueArray = _ref.valueArray,
- valueKey = _ref.valueKey;
-
- var Option = optionComponent;
-
- return options.map(function (option, i) {
- var isSelected = valueArray && valueArray.some(function (x) {
- return x[valueKey] === option[valueKey];
- });
- var isFocused = option === focusedOption;
- var optionClass = classnames_default()(optionClassName, {
- 'Select-option': true,
- 'is-selected': isSelected,
- 'is-focused': isFocused,
- 'is-disabled': option.disabled
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Option,
- {
- className: optionClass,
- focusOption: focusOption,
- inputValue: inputValue,
- instancePrefix: instancePrefix,
- isDisabled: option.disabled,
- isFocused: isFocused,
- isSelected: isSelected,
- key: 'option-' + i + '-' + option[valueKey],
- onFocus: onFocus,
- onSelect: onSelect,
- option: option,
- optionIndex: i,
- ref: function ref(_ref2) {
- onOptionRef(_ref2, isFocused);
- },
- removeValue: removeValue,
- selectValue: selectValue
- },
- optionRenderer(option, i, inputValue)
- );
- });
-};
-
-react_select_es_menuRenderer.propTypes = {
- focusOption: prop_types_default.a.func,
- focusedOption: prop_types_default.a.object,
- inputValue: prop_types_default.a.string,
- instancePrefix: prop_types_default.a.string,
- onFocus: prop_types_default.a.func,
- onOptionRef: prop_types_default.a.func,
- onSelect: prop_types_default.a.func,
- optionClassName: prop_types_default.a.string,
- optionComponent: prop_types_default.a.func,
- optionRenderer: prop_types_default.a.func,
- options: prop_types_default.a.array,
- removeValue: prop_types_default.a.func,
- selectValue: prop_types_default.a.func,
- valueArray: prop_types_default.a.array,
- valueKey: prop_types_default.a.string
-};
-
-var blockEvent = (function (event) {
- event.preventDefault();
- event.stopPropagation();
- if (event.target.tagName !== 'A' || !('href' in event.target)) {
- return;
- }
- if (event.target.target) {
- window.open(event.target.href, event.target.target);
- } else {
- window.location.href = event.target.href;
- }
-});
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
- return typeof obj;
-} : function (obj) {
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
-};
-
-
-
-
-
-var asyncGenerator = function () {
- function AwaitValue(value) {
- this.value = value;
- }
-
- 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;
-
- if (value instanceof AwaitValue) {
- Promise.resolve(value.value).then(function (arg) {
- resume("next", arg);
- }, function (arg) {
- resume("throw", arg);
- });
- } else {
- settle(result.done ? "return" : "normal", result.value);
- }
- } 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);
- };
-
- return {
- wrap: function (fn) {
- return function () {
- return new AsyncGenerator(fn.apply(this, arguments));
- };
- },
- await: function (value) {
- return new AwaitValue(value);
- }
- };
-}();
-
-
-
-
-
-var classCallCheck = function (instance, Constructor) {
- if (!(instance instanceof Constructor)) {
- throw new TypeError("Cannot call a class as a function");
- }
-};
-
-var createClass = function () {
- function defineProperties(target, props) {
- for (var i = 0; i < props.length; i++) {
- var descriptor = props[i];
- descriptor.enumerable = descriptor.enumerable || false;
- descriptor.configurable = true;
- if ("value" in descriptor) descriptor.writable = true;
- Object.defineProperty(target, descriptor.key, descriptor);
- }
- }
-
- return function (Constructor, protoProps, staticProps) {
- if (protoProps) defineProperties(Constructor.prototype, protoProps);
- if (staticProps) defineProperties(Constructor, staticProps);
- return Constructor;
- };
-}();
-
-
-
-
-
-var defineProperty = function (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;
-};
-
-var _extends = Object.assign || function (target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
-
- for (var key in source) {
- if (Object.prototype.hasOwnProperty.call(source, key)) {
- target[key] = source[key];
- }
- }
- }
-
- return target;
-};
-
-
-
-var inherits = function (subClass, superClass) {
- if (typeof superClass !== "function" && superClass !== null) {
- throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
- }
-
- subClass.prototype = Object.create(superClass && superClass.prototype, {
- constructor: {
- value: subClass,
- enumerable: false,
- writable: true,
- configurable: true
- }
- });
- if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
-};
-
-
-
-
-
-
-
-
-
-var objectWithoutProperties = function (obj, keys) {
- var target = {};
-
- for (var i in obj) {
- if (keys.indexOf(i) >= 0) continue;
- if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
- target[i] = obj[i];
- }
-
- return target;
-};
-
-var possibleConstructorReturn = function (self, call) {
- if (!self) {
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- }
-
- return call && (typeof call === "object" || typeof call === "function") ? call : self;
-};
-
-var react_select_es_Option = function (_React$Component) {
- inherits(Option, _React$Component);
-
- function Option(props) {
- classCallCheck(this, Option);
-
- var _this = possibleConstructorReturn(this, (Option.__proto__ || Object.getPrototypeOf(Option)).call(this, props));
-
- _this.handleMouseDown = _this.handleMouseDown.bind(_this);
- _this.handleMouseEnter = _this.handleMouseEnter.bind(_this);
- _this.handleMouseMove = _this.handleMouseMove.bind(_this);
- _this.handleTouchStart = _this.handleTouchStart.bind(_this);
- _this.handleTouchEnd = _this.handleTouchEnd.bind(_this);
- _this.handleTouchMove = _this.handleTouchMove.bind(_this);
- _this.onFocus = _this.onFocus.bind(_this);
- return _this;
- }
-
- createClass(Option, [{
- key: 'handleMouseDown',
- value: function handleMouseDown(event) {
- event.preventDefault();
- event.stopPropagation();
- this.props.onSelect(this.props.option, event);
- }
- }, {
- key: 'handleMouseEnter',
- value: function handleMouseEnter(event) {
- this.onFocus(event);
- }
- }, {
- key: 'handleMouseMove',
- value: function handleMouseMove(event) {
- this.onFocus(event);
- }
- }, {
- key: 'handleTouchEnd',
- value: function handleTouchEnd(event) {
- // Check if the view is being dragged, In this case
- // we don't want to fire the click event (because the user only wants to scroll)
- if (this.dragging) return;
-
- this.handleMouseDown(event);
- }
- }, {
- key: 'handleTouchMove',
- value: function handleTouchMove() {
- // Set a flag that the view is being dragged
- this.dragging = true;
- }
- }, {
- key: 'handleTouchStart',
- value: function handleTouchStart() {
- // Set a flag that the view is not being dragged
- this.dragging = false;
- }
- }, {
- key: 'onFocus',
- value: function onFocus(event) {
- if (!this.props.isFocused) {
- this.props.onFocus(this.props.option, event);
- }
- }
- }, {
- key: 'render',
- value: function render() {
- var _props = this.props,
- option = _props.option,
- instancePrefix = _props.instancePrefix,
- optionIndex = _props.optionIndex;
-
- var className = classnames_default()(this.props.className, option.className);
-
- return option.disabled ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: className,
- onMouseDown: blockEvent,
- onClick: blockEvent },
- this.props.children
- ) : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: className,
- style: option.style,
- role: 'option',
- 'aria-label': option.label,
- onMouseDown: this.handleMouseDown,
- onMouseEnter: this.handleMouseEnter,
- onMouseMove: this.handleMouseMove,
- onTouchStart: this.handleTouchStart,
- onTouchMove: this.handleTouchMove,
- onTouchEnd: this.handleTouchEnd,
- id: instancePrefix + '-option-' + optionIndex,
- title: option.title },
- this.props.children
- );
- }
- }]);
- return Option;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-react_select_es_Option.propTypes = {
- children: prop_types_default.a.node,
- className: prop_types_default.a.string, // className (based on mouse position)
- instancePrefix: prop_types_default.a.string.isRequired, // unique prefix for the ids (used for aria)
- isDisabled: prop_types_default.a.bool, // the option is disabled
- isFocused: prop_types_default.a.bool, // the option is focused
- isSelected: prop_types_default.a.bool, // the option is selected
- onFocus: prop_types_default.a.func, // method to handle mouseEnter on option element
- onSelect: prop_types_default.a.func, // method to handle click on option element
- onUnfocus: prop_types_default.a.func, // method to handle mouseLeave on option element
- option: prop_types_default.a.object.isRequired, // object that is base for that option
- optionIndex: prop_types_default.a.number // index of the option, used to generate unique ids for aria
-};
-
-var react_select_es_Value = function (_React$Component) {
- inherits(Value, _React$Component);
-
- function Value(props) {
- classCallCheck(this, Value);
-
- var _this = possibleConstructorReturn(this, (Value.__proto__ || Object.getPrototypeOf(Value)).call(this, props));
-
- _this.handleMouseDown = _this.handleMouseDown.bind(_this);
- _this.onRemove = _this.onRemove.bind(_this);
- _this.handleTouchEndRemove = _this.handleTouchEndRemove.bind(_this);
- _this.handleTouchMove = _this.handleTouchMove.bind(_this);
- _this.handleTouchStart = _this.handleTouchStart.bind(_this);
- return _this;
- }
-
- createClass(Value, [{
- key: 'handleMouseDown',
- value: function handleMouseDown(event) {
- if (event.type === 'mousedown' && event.button !== 0) {
- return;
- }
- if (this.props.onClick) {
- event.stopPropagation();
- this.props.onClick(this.props.value, event);
- return;
- }
- if (this.props.value.href) {
- event.stopPropagation();
- }
- }
- }, {
- key: 'onRemove',
- value: function onRemove(event) {
- event.preventDefault();
- event.stopPropagation();
- this.props.onRemove(this.props.value);
- }
- }, {
- key: 'handleTouchEndRemove',
- value: function handleTouchEndRemove(event) {
- // Check if the view is being dragged, In this case
- // we don't want to fire the click event (because the user only wants to scroll)
- if (this.dragging) return;
-
- // Fire the mouse events
- this.onRemove(event);
- }
- }, {
- key: 'handleTouchMove',
- value: function handleTouchMove() {
- // Set a flag that the view is being dragged
- this.dragging = true;
- }
- }, {
- key: 'handleTouchStart',
- value: function handleTouchStart() {
- // Set a flag that the view is not being dragged
- this.dragging = false;
- }
- }, {
- key: 'renderRemoveIcon',
- value: function renderRemoveIcon() {
- if (this.props.disabled || !this.props.onRemove) return;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { className: 'Select-value-icon',
- 'aria-hidden': 'true',
- onMouseDown: this.onRemove,
- onTouchEnd: this.handleTouchEndRemove,
- onTouchStart: this.handleTouchStart,
- onTouchMove: this.handleTouchMove },
- '\xD7'
- );
- }
- }, {
- key: 'renderLabel',
- value: function renderLabel() {
- var className = 'Select-value-label';
- return this.props.onClick || this.props.value.href ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'a',
- { className: className, href: this.props.value.href, target: this.props.value.target, onMouseDown: this.handleMouseDown, onTouchEnd: this.handleMouseDown },
- this.props.children
- ) : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { className: className, role: 'option', 'aria-selected': 'true', id: this.props.id },
- this.props.children
- );
- }
- }, {
- key: 'render',
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: classnames_default()('Select-value', this.props.value.disabled ? 'Select-value-disabled' : '', this.props.value.className),
- style: this.props.value.style,
- title: this.props.value.title
- },
- this.renderRemoveIcon(),
- this.renderLabel()
- );
- }
- }]);
- return Value;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-react_select_es_Value.propTypes = {
- children: prop_types_default.a.node,
- disabled: prop_types_default.a.bool, // disabled prop passed to ReactSelect
- id: prop_types_default.a.string, // Unique id for the value - used for aria
- onClick: prop_types_default.a.func, // method to handle click on value label
- onRemove: prop_types_default.a.func, // method to handle removal of the value
- value: prop_types_default.a.object.isRequired // the option object for this value
-};
-
-/*!
- Copyright (c) 2018 Jed Watson.
- Licensed under the MIT License (MIT), see
- http://jedwatson.github.io/react-select
-*/
-var stringifyValue = function stringifyValue(value) {
- return typeof value === 'string' ? value : value !== null && JSON.stringify(value) || '';
-};
-
-var stringOrNode = prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.node]);
-var stringOrNumber = prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number]);
-
-var instanceId = 1;
-
-var shouldShowValue = function shouldShowValue(state, props) {
- var inputValue = state.inputValue,
- isPseudoFocused = state.isPseudoFocused,
- isFocused = state.isFocused;
- var onSelectResetsInput = props.onSelectResetsInput;
-
-
- if (!inputValue) return true;
-
- if (!onSelectResetsInput) {
- return !(!isFocused && isPseudoFocused || isFocused && !isPseudoFocused);
- }
-
- return false;
-};
-
-var shouldShowPlaceholder = function shouldShowPlaceholder(state, props, isOpen) {
- var inputValue = state.inputValue,
- isPseudoFocused = state.isPseudoFocused,
- isFocused = state.isFocused;
- var onSelectResetsInput = props.onSelectResetsInput;
-
-
- return !inputValue || !onSelectResetsInput && !isOpen && !isPseudoFocused && !isFocused;
-};
-
-/**
- * Retrieve a value from the given options and valueKey
- * @param {String|Number|Array} value - the selected value(s)
- * @param {Object} props - the Select component's props (or nextProps)
- */
-var expandValue = function expandValue(value, props) {
- var valueType = typeof value === 'undefined' ? 'undefined' : _typeof(value);
- if (valueType !== 'string' && valueType !== 'number' && valueType !== 'boolean') return value;
- var options = props.options,
- valueKey = props.valueKey;
-
- if (!options) return;
- for (var i = 0; i < options.length; i++) {
- if (String(options[i][valueKey]) === String(value)) return options[i];
- }
-};
-
-var handleRequired = function handleRequired(value, multi) {
- if (!value) return true;
- return multi ? value.length === 0 : Object.keys(value).length === 0;
-};
-
-var Select$1 = function (_React$Component) {
- inherits(Select, _React$Component);
-
- function Select(props) {
- classCallCheck(this, Select);
-
- var _this = possibleConstructorReturn(this, (Select.__proto__ || Object.getPrototypeOf(Select)).call(this, props));
-
- ['clearValue', 'focusOption', 'getOptionLabel', 'handleInputBlur', 'handleInputChange', 'handleInputFocus', 'handleInputValueChange', 'handleKeyDown', 'handleMenuScroll', 'handleMouseDown', 'handleMouseDownOnArrow', 'handleMouseDownOnMenu', 'handleTouchEnd', 'handleTouchEndClearValue', 'handleTouchMove', 'handleTouchOutside', 'handleTouchStart', 'handleValueClick', 'onOptionRef', 'removeValue', 'selectValue'].forEach(function (fn) {
- return _this[fn] = _this[fn].bind(_this);
- });
-
- _this.state = {
- inputValue: '',
- isFocused: false,
- isOpen: false,
- isPseudoFocused: false,
- required: false
- };
- return _this;
- }
-
- createClass(Select, [{
- key: 'componentWillMount',
- value: function componentWillMount() {
- this._instancePrefix = 'react-select-' + (this.props.instanceId || ++instanceId) + '-';
- var valueArray = this.getValueArray(this.props.value);
-
- if (this.props.required) {
- this.setState({
- required: handleRequired(valueArray[0], this.props.multi)
- });
- }
- }
- }, {
- key: 'componentDidMount',
- value: function componentDidMount() {
- if (typeof this.props.autofocus !== 'undefined' && typeof console !== 'undefined') {
- console.warn('Warning: The autofocus prop has changed to autoFocus, support will be removed after react-select@1.0');
- }
- if (this.props.autoFocus || this.props.autofocus) {
- this.focus();
- }
- }
- }, {
- key: 'componentWillReceiveProps',
- value: function componentWillReceiveProps(nextProps) {
- var valueArray = this.getValueArray(nextProps.value, nextProps);
-
- if (nextProps.required) {
- this.setState({
- required: handleRequired(valueArray[0], nextProps.multi)
- });
- } else if (this.props.required) {
- // Used to be required but it's not any more
- this.setState({ required: false });
- }
-
- if (this.state.inputValue && this.props.value !== nextProps.value && nextProps.onSelectResetsInput) {
- this.setState({ inputValue: this.handleInputValueChange('') });
- }
- }
- }, {
- key: 'componentDidUpdate',
- value: function componentDidUpdate(prevProps, prevState) {
- // focus to the selected option
- if (this.menu && this.focused && this.state.isOpen && !this.hasScrolledToOption) {
- var focusedOptionNode = Object(external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__["findDOMNode"])(this.focused);
- var menuNode = Object(external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__["findDOMNode"])(this.menu);
-
- var scrollTop = menuNode.scrollTop;
- var scrollBottom = scrollTop + menuNode.offsetHeight;
- var optionTop = focusedOptionNode.offsetTop;
- var optionBottom = optionTop + focusedOptionNode.offsetHeight;
-
- if (scrollTop > optionTop || scrollBottom < optionBottom) {
- menuNode.scrollTop = focusedOptionNode.offsetTop;
- }
-
- // We still set hasScrolledToOption to true even if we didn't
- // actually need to scroll, as we've still confirmed that the
- // option is in view.
- this.hasScrolledToOption = true;
- } else if (!this.state.isOpen) {
- this.hasScrolledToOption = false;
- }
-
- if (this._scrollToFocusedOptionOnUpdate && this.focused && this.menu) {
- this._scrollToFocusedOptionOnUpdate = false;
- var focusedDOM = Object(external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__["findDOMNode"])(this.focused);
- var menuDOM = Object(external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__["findDOMNode"])(this.menu);
- var focusedRect = focusedDOM.getBoundingClientRect();
- var menuRect = menuDOM.getBoundingClientRect();
- if (focusedRect.bottom > menuRect.bottom) {
- menuDOM.scrollTop = focusedDOM.offsetTop + focusedDOM.clientHeight - menuDOM.offsetHeight;
- } else if (focusedRect.top < menuRect.top) {
- menuDOM.scrollTop = focusedDOM.offsetTop;
- }
- }
- if (this.props.scrollMenuIntoView && this.menuContainer) {
- var menuContainerRect = this.menuContainer.getBoundingClientRect();
- if (window.innerHeight < menuContainerRect.bottom + this.props.menuBuffer) {
- window.scrollBy(0, menuContainerRect.bottom + this.props.menuBuffer - window.innerHeight);
- }
- }
- if (prevProps.disabled !== this.props.disabled) {
- this.setState({ isFocused: false }); // eslint-disable-line react/no-did-update-set-state
- this.closeMenu();
- }
- if (prevState.isOpen !== this.state.isOpen) {
- this.toggleTouchOutsideEvent(this.state.isOpen);
- var handler = this.state.isOpen ? this.props.onOpen : this.props.onClose;
- handler && handler();
- }
- }
- }, {
- key: 'componentWillUnmount',
- value: function componentWillUnmount() {
- this.toggleTouchOutsideEvent(false);
- }
- }, {
- key: 'toggleTouchOutsideEvent',
- value: function toggleTouchOutsideEvent(enabled) {
- var eventTogglerName = enabled ? document.addEventListener ? 'addEventListener' : 'attachEvent' : document.removeEventListener ? 'removeEventListener' : 'detachEvent';
- var pref = document.addEventListener ? '' : 'on';
-
- document[eventTogglerName](pref + 'touchstart', this.handleTouchOutside);
- document[eventTogglerName](pref + 'mousedown', this.handleTouchOutside);
- }
- }, {
- key: 'handleTouchOutside',
- value: function handleTouchOutside(event) {
- // handle touch outside on ios to dismiss menu
- if (this.wrapper && !this.wrapper.contains(event.target)) {
- this.closeMenu();
- }
- }
- }, {
- key: 'focus',
- value: function focus() {
- if (!this.input) return;
- this.input.focus();
- }
- }, {
- key: 'blurInput',
- value: function blurInput() {
- if (!this.input) return;
- this.input.blur();
- }
- }, {
- key: 'handleTouchMove',
- value: function handleTouchMove() {
- // Set a flag that the view is being dragged
- this.dragging = true;
- }
- }, {
- key: 'handleTouchStart',
- value: function handleTouchStart() {
- // Set a flag that the view is not being dragged
- this.dragging = false;
- }
- }, {
- key: 'handleTouchEnd',
- value: function handleTouchEnd(event) {
- // Check if the view is being dragged, In this case
- // we don't want to fire the click event (because the user only wants to scroll)
- if (this.dragging) return;
-
- // Fire the mouse events
- this.handleMouseDown(event);
- }
- }, {
- key: 'handleTouchEndClearValue',
- value: function handleTouchEndClearValue(event) {
- // Check if the view is being dragged, In this case
- // we don't want to fire the click event (because the user only wants to scroll)
- if (this.dragging) return;
-
- // Clear the value
- this.clearValue(event);
- }
- }, {
- key: 'handleMouseDown',
- value: function handleMouseDown(event) {
- // if the event was triggered by a mousedown and not the primary
- // button, or if the component is disabled, ignore it.
- if (this.props.disabled || event.type === 'mousedown' && event.button !== 0) {
- return;
- }
-
- if (event.target.tagName === 'INPUT') {
- if (!this.state.isFocused) {
- this._openAfterFocus = this.props.openOnClick;
- this.focus();
- } else if (!this.state.isOpen) {
- this.setState({
- isOpen: true,
- isPseudoFocused: false,
- focusedOption: null
- });
- }
-
- return;
- }
-
- // prevent default event handlers
- event.preventDefault();
-
- // for the non-searchable select, toggle the menu
- if (!this.props.searchable) {
- // This code means that if a select is searchable, onClick the options menu will not appear, only on subsequent click will it open.
- this.focus();
- return this.setState({
- isOpen: !this.state.isOpen,
- focusedOption: null
- });
- }
-
- if (this.state.isFocused) {
- // On iOS, we can get into a state where we think the input is focused but it isn't really,
- // since iOS ignores programmatic calls to input.focus() that weren't triggered by a click event.
- // Call focus() again here to be safe.
- this.focus();
-
- var input = this.input;
- var toOpen = true;
-
- if (typeof input.getInput === 'function') {
- // Get the actual DOM input if the ref is an component
- input = input.getInput();
- }
-
- // clears the value so that the cursor will be at the end of input when the component re-renders
- input.value = '';
-
- if (this._focusAfterClear) {
- toOpen = false;
- this._focusAfterClear = false;
- }
-
- // if the input is focused, ensure the menu is open
- this.setState({
- isOpen: toOpen,
- isPseudoFocused: false,
- focusedOption: null
- });
- } else {
- // otherwise, focus the input and open the menu
- this._openAfterFocus = this.props.openOnClick;
- this.focus();
- this.setState({ focusedOption: null });
- }
- }
- }, {
- key: 'handleMouseDownOnArrow',
- value: function handleMouseDownOnArrow(event) {
- // if the event was triggered by a mousedown and not the primary
- // button, or if the component is disabled, ignore it.
- if (this.props.disabled || event.type === 'mousedown' && event.button !== 0) {
- return;
- }
-
- if (this.state.isOpen) {
- // prevent default event handlers
- event.stopPropagation();
- event.preventDefault();
- // close the menu
- this.closeMenu();
- } else {
- // If the menu isn't open, let the event bubble to the main handleMouseDown
- this.setState({
- isOpen: true
- });
- }
- }
- }, {
- key: 'handleMouseDownOnMenu',
- value: function handleMouseDownOnMenu(event) {
- // if the event was triggered by a mousedown and not the primary
- // button, or if the component is disabled, ignore it.
- if (this.props.disabled || event.type === 'mousedown' && event.button !== 0) {
- return;
- }
-
- event.stopPropagation();
- event.preventDefault();
-
- this._openAfterFocus = true;
- this.focus();
- }
- }, {
- key: 'closeMenu',
- value: function closeMenu() {
- if (this.props.onCloseResetsInput) {
- this.setState({
- inputValue: this.handleInputValueChange(''),
- isOpen: false,
- isPseudoFocused: this.state.isFocused && !this.props.multi
- });
- } else {
- this.setState({
- isOpen: false,
- isPseudoFocused: this.state.isFocused && !this.props.multi
- });
- }
- this.hasScrolledToOption = false;
- }
- }, {
- key: 'handleInputFocus',
- value: function handleInputFocus(event) {
- if (this.props.disabled) return;
-
- var toOpen = this.state.isOpen || this._openAfterFocus || this.props.openOnFocus;
- toOpen = this._focusAfterClear ? false : toOpen; //if focus happens after clear values, don't open dropdown yet.
-
- if (this.props.onFocus) {
- this.props.onFocus(event);
- }
-
- this.setState({
- isFocused: true,
- isOpen: !!toOpen
- });
-
- this._focusAfterClear = false;
- this._openAfterFocus = false;
- }
- }, {
- key: 'handleInputBlur',
- value: function handleInputBlur(event) {
- // The check for menu.contains(activeElement) is necessary to prevent IE11's scrollbar from closing the menu in certain contexts.
- if (this.menu && (this.menu === document.activeElement || this.menu.contains(document.activeElement))) {
- this.focus();
- return;
- }
-
- if (this.props.onBlur) {
- this.props.onBlur(event);
- }
- var onBlurredState = {
- isFocused: false,
- isOpen: false,
- isPseudoFocused: false
- };
- if (this.props.onBlurResetsInput) {
- onBlurredState.inputValue = this.handleInputValueChange('');
- }
- this.setState(onBlurredState);
- }
- }, {
- key: 'handleInputChange',
- value: function handleInputChange(event) {
- var newInputValue = event.target.value;
-
- if (this.state.inputValue !== event.target.value) {
- newInputValue = this.handleInputValueChange(newInputValue);
- }
-
- this.setState({
- inputValue: newInputValue,
- isOpen: true,
- isPseudoFocused: false
- });
- }
- }, {
- key: 'setInputValue',
- value: function setInputValue(newValue) {
- if (this.props.onInputChange) {
- var nextState = this.props.onInputChange(newValue);
- if (nextState != null && (typeof nextState === 'undefined' ? 'undefined' : _typeof(nextState)) !== 'object') {
- newValue = '' + nextState;
- }
- }
- this.setState({
- inputValue: newValue
- });
- }
- }, {
- key: 'handleInputValueChange',
- value: function handleInputValueChange(newValue) {
- if (this.props.onInputChange) {
- var nextState = this.props.onInputChange(newValue);
- // Note: != used deliberately here to catch undefined and null
- if (nextState != null && (typeof nextState === 'undefined' ? 'undefined' : _typeof(nextState)) !== 'object') {
- newValue = '' + nextState;
- }
- }
- return newValue;
- }
- }, {
- key: 'handleKeyDown',
- value: function handleKeyDown(event) {
- if (this.props.disabled) return;
-
- if (typeof this.props.onInputKeyDown === 'function') {
- this.props.onInputKeyDown(event);
- if (event.defaultPrevented) {
- return;
- }
- }
-
- switch (event.keyCode) {
- case 8:
- // backspace
- if (!this.state.inputValue && this.props.backspaceRemoves) {
- event.preventDefault();
- this.popValue();
- }
- break;
- case 9:
- // tab
- if (event.shiftKey || !this.state.isOpen || !this.props.tabSelectsValue) {
- break;
- }
- event.preventDefault();
- this.selectFocusedOption();
- break;
- case 13:
- // enter
- event.preventDefault();
- event.stopPropagation();
- if (this.state.isOpen) {
- this.selectFocusedOption();
- } else {
- this.focusNextOption();
- }
- break;
- case 27:
- // escape
- event.preventDefault();
- if (this.state.isOpen) {
- this.closeMenu();
- event.stopPropagation();
- } else if (this.props.clearable && this.props.escapeClearsValue) {
- this.clearValue(event);
- event.stopPropagation();
- }
- break;
- case 32:
- // space
- if (this.props.searchable) {
- break;
- }
- event.preventDefault();
- if (!this.state.isOpen) {
- this.focusNextOption();
- break;
- }
- event.stopPropagation();
- this.selectFocusedOption();
- break;
- case 38:
- // up
- event.preventDefault();
- this.focusPreviousOption();
- break;
- case 40:
- // down
- event.preventDefault();
- this.focusNextOption();
- break;
- case 33:
- // page up
- event.preventDefault();
- this.focusPageUpOption();
- break;
- case 34:
- // page down
- event.preventDefault();
- this.focusPageDownOption();
- break;
- case 35:
- // end key
- if (event.shiftKey) {
- break;
- }
- event.preventDefault();
- this.focusEndOption();
- break;
- case 36:
- // home key
- if (event.shiftKey) {
- break;
- }
- event.preventDefault();
- this.focusStartOption();
- break;
- case 46:
- // delete
- if (!this.state.inputValue && this.props.deleteRemoves) {
- event.preventDefault();
- this.popValue();
- }
- break;
- }
- }
- }, {
- key: 'handleValueClick',
- value: function handleValueClick(option, event) {
- if (!this.props.onValueClick) return;
- this.props.onValueClick(option, event);
- }
- }, {
- key: 'handleMenuScroll',
- value: function handleMenuScroll(event) {
- if (!this.props.onMenuScrollToBottom) return;
- var target = event.target;
-
- if (target.scrollHeight > target.offsetHeight && target.scrollHeight - target.offsetHeight - target.scrollTop <= 0) {
- this.props.onMenuScrollToBottom();
- }
- }
- }, {
- key: 'getOptionLabel',
- value: function getOptionLabel(op) {
- return op[this.props.labelKey];
- }
-
- /**
- * Turns a value into an array from the given options
- * @param {String|Number|Array} value - the value of the select input
- * @param {Object} nextProps - optionally specify the nextProps so the returned array uses the latest configuration
- * @returns {Array} the value of the select represented in an array
- */
-
- }, {
- key: 'getValueArray',
- value: function getValueArray(value) {
- var nextProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
-
- /** support optionally passing in the `nextProps` so `componentWillReceiveProps` updates will function as expected */
- var props = (typeof nextProps === 'undefined' ? 'undefined' : _typeof(nextProps)) === 'object' ? nextProps : this.props;
- if (props.multi) {
- if (typeof value === 'string') {
- value = value.split(props.delimiter);
- }
- if (!Array.isArray(value)) {
- if (value === null || value === undefined) return [];
- value = [value];
- }
- return value.map(function (value) {
- return expandValue(value, props);
- }).filter(function (i) {
- return i;
- });
- }
- var expandedValue = expandValue(value, props);
- return expandedValue ? [expandedValue] : [];
- }
- }, {
- key: 'setValue',
- value: function setValue(value) {
- var _this2 = this;
-
- if (this.props.autoBlur) {
- this.blurInput();
- }
- if (this.props.required) {
- var required = handleRequired(value, this.props.multi);
- this.setState({ required: required });
- }
- if (this.props.simpleValue && value) {
- value = this.props.multi ? value.map(function (i) {
- return i[_this2.props.valueKey];
- }).join(this.props.delimiter) : value[this.props.valueKey];
- }
- if (this.props.onChange) {
- this.props.onChange(value);
- }
- }
- }, {
- key: 'selectValue',
- value: function selectValue(value) {
- var _this3 = this;
-
- // NOTE: we actually add/set the value in a callback to make sure the
- // input value is empty to avoid styling issues in Chrome
- if (this.props.closeOnSelect) {
- this.hasScrolledToOption = false;
- }
- var updatedValue = this.props.onSelectResetsInput ? '' : this.state.inputValue;
- if (this.props.multi) {
- this.setState({
- focusedIndex: null,
- inputValue: this.handleInputValueChange(updatedValue),
- isOpen: !this.props.closeOnSelect
- }, function () {
- var valueArray = _this3.getValueArray(_this3.props.value);
- if (valueArray.some(function (i) {
- return i[_this3.props.valueKey] === value[_this3.props.valueKey];
- })) {
- _this3.removeValue(value);
- } else {
- _this3.addValue(value);
- }
- });
- } else {
- this.setState({
- inputValue: this.handleInputValueChange(updatedValue),
- isOpen: !this.props.closeOnSelect,
- isPseudoFocused: this.state.isFocused
- }, function () {
- _this3.setValue(value);
- });
- }
- }
- }, {
- key: 'addValue',
- value: function addValue(value) {
- var valueArray = this.getValueArray(this.props.value);
- var visibleOptions = this._visibleOptions.filter(function (val) {
- return !val.disabled;
- });
- var lastValueIndex = visibleOptions.indexOf(value);
- this.setValue(valueArray.concat(value));
- if (!this.props.closeOnSelect) {
- return;
- }
- if (visibleOptions.length - 1 === lastValueIndex) {
- // the last option was selected; focus the second-last one
- this.focusOption(visibleOptions[lastValueIndex - 1]);
- } else if (visibleOptions.length > lastValueIndex) {
- // focus the option below the selected one
- this.focusOption(visibleOptions[lastValueIndex + 1]);
- }
- }
- }, {
- key: 'popValue',
- value: function popValue() {
- var valueArray = this.getValueArray(this.props.value);
- if (!valueArray.length) return;
- if (valueArray[valueArray.length - 1].clearableValue === false) return;
- this.setValue(this.props.multi ? valueArray.slice(0, valueArray.length - 1) : null);
- }
- }, {
- key: 'removeValue',
- value: function removeValue(value) {
- var _this4 = this;
-
- var valueArray = this.getValueArray(this.props.value);
- this.setValue(valueArray.filter(function (i) {
- return i[_this4.props.valueKey] !== value[_this4.props.valueKey];
- }));
- this.focus();
- }
- }, {
- key: 'clearValue',
- value: function clearValue(event) {
- // if the event was triggered by a mousedown and not the primary
- // button, ignore it.
- if (event && event.type === 'mousedown' && event.button !== 0) {
- return;
- }
-
- event.preventDefault();
-
- this.setValue(this.getResetValue());
- this.setState({
- inputValue: this.handleInputValueChange(''),
- isOpen: false
- }, this.focus);
-
- this._focusAfterClear = true;
- }
- }, {
- key: 'getResetValue',
- value: function getResetValue() {
- if (this.props.resetValue !== undefined) {
- return this.props.resetValue;
- } else if (this.props.multi) {
- return [];
- } else {
- return null;
- }
- }
- }, {
- key: 'focusOption',
- value: function focusOption(option) {
- this.setState({
- focusedOption: option
- });
- }
- }, {
- key: 'focusNextOption',
- value: function focusNextOption() {
- this.focusAdjacentOption('next');
- }
- }, {
- key: 'focusPreviousOption',
- value: function focusPreviousOption() {
- this.focusAdjacentOption('previous');
- }
- }, {
- key: 'focusPageUpOption',
- value: function focusPageUpOption() {
- this.focusAdjacentOption('page_up');
- }
- }, {
- key: 'focusPageDownOption',
- value: function focusPageDownOption() {
- this.focusAdjacentOption('page_down');
- }
- }, {
- key: 'focusStartOption',
- value: function focusStartOption() {
- this.focusAdjacentOption('start');
- }
- }, {
- key: 'focusEndOption',
- value: function focusEndOption() {
- this.focusAdjacentOption('end');
- }
- }, {
- key: 'focusAdjacentOption',
- value: function focusAdjacentOption(dir) {
- var options = this._visibleOptions.map(function (option, index) {
- return { option: option, index: index };
- }).filter(function (option) {
- return !option.option.disabled;
- });
- this._scrollToFocusedOptionOnUpdate = true;
- if (!this.state.isOpen) {
- var newState = {
- focusedOption: this._focusedOption || (options.length ? options[dir === 'next' ? 0 : options.length - 1].option : null),
- isOpen: true
- };
- if (this.props.onSelectResetsInput) {
- newState.inputValue = '';
- }
- this.setState(newState);
- return;
- }
- if (!options.length) return;
- var focusedIndex = -1;
- for (var i = 0; i < options.length; i++) {
- if (this._focusedOption === options[i].option) {
- focusedIndex = i;
- break;
- }
- }
- if (dir === 'next' && focusedIndex !== -1) {
- focusedIndex = (focusedIndex + 1) % options.length;
- } else if (dir === 'previous') {
- if (focusedIndex > 0) {
- focusedIndex = focusedIndex - 1;
- } else {
- focusedIndex = options.length - 1;
- }
- } else if (dir === 'start') {
- focusedIndex = 0;
- } else if (dir === 'end') {
- focusedIndex = options.length - 1;
- } else if (dir === 'page_up') {
- var potentialIndex = focusedIndex - this.props.pageSize;
- if (potentialIndex < 0) {
- focusedIndex = 0;
- } else {
- focusedIndex = potentialIndex;
- }
- } else if (dir === 'page_down') {
- var _potentialIndex = focusedIndex + this.props.pageSize;
- if (_potentialIndex > options.length - 1) {
- focusedIndex = options.length - 1;
- } else {
- focusedIndex = _potentialIndex;
- }
- }
-
- if (focusedIndex === -1) {
- focusedIndex = 0;
- }
-
- this.setState({
- focusedIndex: options[focusedIndex].index,
- focusedOption: options[focusedIndex].option
- });
- }
- }, {
- key: 'getFocusedOption',
- value: function getFocusedOption() {
- return this._focusedOption;
- }
- }, {
- key: 'selectFocusedOption',
- value: function selectFocusedOption() {
- if (this._focusedOption) {
- return this.selectValue(this._focusedOption);
- }
- }
- }, {
- key: 'renderLoading',
- value: function renderLoading() {
- if (!this.props.isLoading) return;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { className: 'Select-loading-zone', 'aria-hidden': 'true' },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('span', { className: 'Select-loading' })
- );
- }
- }, {
- key: 'renderValue',
- value: function renderValue(valueArray, isOpen) {
- var _this5 = this;
-
- var renderLabel = this.props.valueRenderer || this.getOptionLabel;
- var ValueComponent = this.props.valueComponent;
- if (!valueArray.length) {
- var showPlaceholder = shouldShowPlaceholder(this.state, this.props, isOpen);
- return showPlaceholder ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: 'Select-placeholder' },
- this.props.placeholder
- ) : null;
- }
- var onClick = this.props.onValueClick ? this.handleValueClick : null;
- if (this.props.multi) {
- return valueArray.map(function (value, i) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- ValueComponent,
- {
- disabled: _this5.props.disabled || value.clearableValue === false,
- id: _this5._instancePrefix + '-value-' + i,
- instancePrefix: _this5._instancePrefix,
- key: 'value-' + i + '-' + value[_this5.props.valueKey],
- onClick: onClick,
- onRemove: _this5.removeValue,
- placeholder: _this5.props.placeholder,
- value: value,
- values: valueArray
- },
- renderLabel(value, i),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { className: 'Select-aria-only' },
- '\xA0'
- )
- );
- });
- } else if (shouldShowValue(this.state, this.props)) {
- if (isOpen) onClick = null;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- ValueComponent,
- {
- disabled: this.props.disabled,
- id: this._instancePrefix + '-value-item',
- instancePrefix: this._instancePrefix,
- onClick: onClick,
- placeholder: this.props.placeholder,
- value: valueArray[0]
- },
- renderLabel(valueArray[0])
- );
- }
- }
- }, {
- key: 'renderInput',
- value: function renderInput(valueArray, focusedOptionIndex) {
- var _classNames,
- _this6 = this;
-
- var className = classnames_default()('Select-input', this.props.inputProps.className);
- var isOpen = this.state.isOpen;
-
- var ariaOwns = classnames_default()((_classNames = {}, defineProperty(_classNames, this._instancePrefix + '-list', isOpen), defineProperty(_classNames, this._instancePrefix + '-backspace-remove-message', this.props.multi && !this.props.disabled && this.state.isFocused && !this.state.inputValue), _classNames));
-
- var value = this.state.inputValue;
- if (value && !this.props.onSelectResetsInput && !this.state.isFocused) {
- // it hides input value when it is not focused and was not reset on select
- value = '';
- }
-
- var inputProps = _extends({}, this.props.inputProps, {
- 'aria-activedescendant': isOpen ? this._instancePrefix + '-option-' + focusedOptionIndex : this._instancePrefix + '-value',
- 'aria-describedby': this.props['aria-describedby'],
- 'aria-expanded': '' + isOpen,
- 'aria-haspopup': '' + isOpen,
- 'aria-label': this.props['aria-label'],
- 'aria-labelledby': this.props['aria-labelledby'],
- 'aria-owns': ariaOwns,
- onBlur: this.handleInputBlur,
- onChange: this.handleInputChange,
- onFocus: this.handleInputFocus,
- ref: function ref(_ref) {
- return _this6.input = _ref;
- },
- role: 'combobox',
- required: this.state.required,
- tabIndex: this.props.tabIndex,
- value: value
- });
-
- if (this.props.inputRenderer) {
- return this.props.inputRenderer(inputProps);
- }
-
- if (this.props.disabled || !this.props.searchable) {
- var divProps = objectWithoutProperties(this.props.inputProps, []);
-
-
- var _ariaOwns = classnames_default()(defineProperty({}, this._instancePrefix + '-list', isOpen));
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('div', _extends({}, divProps, {
- 'aria-expanded': isOpen,
- 'aria-owns': _ariaOwns,
- 'aria-activedescendant': isOpen ? this._instancePrefix + '-option-' + focusedOptionIndex : this._instancePrefix + '-value',
- 'aria-disabled': '' + this.props.disabled,
- 'aria-label': this.props['aria-label'],
- 'aria-labelledby': this.props['aria-labelledby'],
- className: className,
- onBlur: this.handleInputBlur,
- onFocus: this.handleInputFocus,
- ref: function ref(_ref2) {
- return _this6.input = _ref2;
- },
- role: 'combobox',
- style: { border: 0, width: 1, display: 'inline-block' },
- tabIndex: this.props.tabIndex || 0
- }));
- }
-
- if (this.props.autosize) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(AutosizeInput_default.a, _extends({ id: this.props.id }, inputProps, { className: className, minWidth: '5' }));
- }
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: className, key: 'input-wrap', style: { display: 'inline-block' } },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('input', _extends({ id: this.props.id }, inputProps))
- );
- }
- }, {
- key: 'renderClear',
- value: function renderClear() {
- var valueArray = this.getValueArray(this.props.value);
- if (!this.props.clearable || !valueArray.length || this.props.disabled || this.props.isLoading) return;
- var ariaLabel = this.props.multi ? this.props.clearAllText : this.props.clearValueText;
- var clear = this.props.clearRenderer();
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- {
- 'aria-label': ariaLabel,
- className: 'Select-clear-zone',
- onMouseDown: this.clearValue,
- onTouchEnd: this.handleTouchEndClearValue,
- onTouchMove: this.handleTouchMove,
- onTouchStart: this.handleTouchStart,
- title: ariaLabel
- },
- clear
- );
- }
- }, {
- key: 'renderArrow',
- value: function renderArrow() {
- if (!this.props.arrowRenderer) return;
-
- var onMouseDown = this.handleMouseDownOnArrow;
- var isOpen = this.state.isOpen;
- var arrow = this.props.arrowRenderer({ onMouseDown: onMouseDown, isOpen: isOpen });
-
- if (!arrow) {
- return null;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- {
- className: 'Select-arrow-zone',
- onMouseDown: onMouseDown
- },
- arrow
- );
- }
- }, {
- key: 'filterOptions',
- value: function filterOptions$$1(excludeOptions) {
- var filterValue = this.state.inputValue;
- var options = this.props.options || [];
- if (this.props.filterOptions) {
- // Maintain backwards compatibility with boolean attribute
- var filterOptions$$1 = typeof this.props.filterOptions === 'function' ? this.props.filterOptions : filterOptions;
-
- return filterOptions$$1(options, filterValue, excludeOptions, {
- filterOption: this.props.filterOption,
- ignoreAccents: this.props.ignoreAccents,
- ignoreCase: this.props.ignoreCase,
- labelKey: this.props.labelKey,
- matchPos: this.props.matchPos,
- matchProp: this.props.matchProp,
- trimFilter: this.props.trimFilter,
- valueKey: this.props.valueKey
- });
- } else {
- return options;
- }
- }
- }, {
- key: 'onOptionRef',
- value: function onOptionRef(ref, isFocused) {
- if (isFocused) {
- this.focused = ref;
- }
- }
- }, {
- key: 'renderMenu',
- value: function renderMenu(options, valueArray, focusedOption) {
- if (options && options.length) {
- return this.props.menuRenderer({
- focusedOption: focusedOption,
- focusOption: this.focusOption,
- inputValue: this.state.inputValue,
- instancePrefix: this._instancePrefix,
- labelKey: this.props.labelKey,
- onFocus: this.focusOption,
- onOptionRef: this.onOptionRef,
- onSelect: this.selectValue,
- optionClassName: this.props.optionClassName,
- optionComponent: this.props.optionComponent,
- optionRenderer: this.props.optionRenderer || this.getOptionLabel,
- options: options,
- removeValue: this.removeValue,
- selectValue: this.selectValue,
- valueArray: valueArray,
- valueKey: this.props.valueKey
- });
- } else if (this.props.noResultsText) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: 'Select-noresults' },
- this.props.noResultsText
- );
- } else {
- return null;
- }
- }
- }, {
- key: 'renderHiddenField',
- value: function renderHiddenField(valueArray) {
- var _this7 = this;
-
- if (!this.props.name) return;
- if (this.props.joinValues) {
- var value = valueArray.map(function (i) {
- return stringifyValue(i[_this7.props.valueKey]);
- }).join(this.props.delimiter);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('input', {
- disabled: this.props.disabled,
- name: this.props.name,
- ref: function ref(_ref3) {
- return _this7.value = _ref3;
- },
- type: 'hidden',
- value: value
- });
- }
- return valueArray.map(function (item, index) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('input', {
- disabled: _this7.props.disabled,
- key: 'hidden.' + index,
- name: _this7.props.name,
- ref: 'value' + index,
- type: 'hidden',
- value: stringifyValue(item[_this7.props.valueKey])
- });
- });
- }
- }, {
- key: 'getFocusableOptionIndex',
- value: function getFocusableOptionIndex(selectedOption) {
- var options = this._visibleOptions;
- if (!options.length) return null;
-
- var valueKey = this.props.valueKey;
- var focusedOption = this.state.focusedOption || selectedOption;
- if (focusedOption && !focusedOption.disabled) {
- var focusedOptionIndex = -1;
- options.some(function (option, index) {
- var isOptionEqual = option[valueKey] === focusedOption[valueKey];
- if (isOptionEqual) {
- focusedOptionIndex = index;
- }
- return isOptionEqual;
- });
- if (focusedOptionIndex !== -1) {
- return focusedOptionIndex;
- }
- }
-
- for (var i = 0; i < options.length; i++) {
- if (!options[i].disabled) return i;
- }
- return null;
- }
- }, {
- key: 'renderOuter',
- value: function renderOuter(options, valueArray, focusedOption) {
- var _this8 = this;
-
- var menu = this.renderMenu(options, valueArray, focusedOption);
- if (!menu) {
- return null;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { ref: function ref(_ref5) {
- return _this8.menuContainer = _ref5;
- }, className: 'Select-menu-outer', style: this.props.menuContainerStyle },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- {
- className: 'Select-menu',
- id: this._instancePrefix + '-list',
- onMouseDown: this.handleMouseDownOnMenu,
- onScroll: this.handleMenuScroll,
- ref: function ref(_ref4) {
- return _this8.menu = _ref4;
- },
- role: 'listbox',
- style: this.props.menuStyle,
- tabIndex: -1
- },
- menu
- )
- );
- }
- }, {
- key: 'render',
- value: function render() {
- var _this9 = this;
-
- var valueArray = this.getValueArray(this.props.value);
- var options = this._visibleOptions = this.filterOptions(this.props.multi && this.props.removeSelected ? valueArray : null);
- var isOpen = this.state.isOpen;
- if (this.props.multi && !options.length && valueArray.length && !this.state.inputValue) isOpen = false;
- var focusedOptionIndex = this.getFocusableOptionIndex(valueArray[0]);
-
- var focusedOption = null;
- if (focusedOptionIndex !== null) {
- focusedOption = this._focusedOption = options[focusedOptionIndex];
- } else {
- focusedOption = this._focusedOption = null;
- }
- var className = classnames_default()('Select', this.props.className, {
- 'has-value': valueArray.length,
- 'is-clearable': this.props.clearable,
- 'is-disabled': this.props.disabled,
- 'is-focused': this.state.isFocused,
- 'is-loading': this.props.isLoading,
- 'is-open': isOpen,
- 'is-pseudo-focused': this.state.isPseudoFocused,
- 'is-searchable': this.props.searchable,
- 'Select--multi': this.props.multi,
- 'Select--rtl': this.props.rtl,
- 'Select--single': !this.props.multi
- });
-
- var removeMessage = null;
- if (this.props.multi && !this.props.disabled && valueArray.length && !this.state.inputValue && this.state.isFocused && this.props.backspaceRemoves) {
- removeMessage = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { id: this._instancePrefix + '-backspace-remove-message', className: 'Select-aria-only', 'aria-live': 'assertive' },
- this.props.backspaceToRemoveMessage.replace('{label}', valueArray[valueArray.length - 1][this.props.labelKey])
- );
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { ref: function ref(_ref7) {
- return _this9.wrapper = _ref7;
- },
- className: className,
- style: this.props.wrapperStyle },
- this.renderHiddenField(valueArray),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { ref: function ref(_ref6) {
- return _this9.control = _ref6;
- },
- className: 'Select-control',
- onKeyDown: this.handleKeyDown,
- onMouseDown: this.handleMouseDown,
- onTouchEnd: this.handleTouchEnd,
- onTouchMove: this.handleTouchMove,
- onTouchStart: this.handleTouchStart,
- style: this.props.style
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: 'Select-multi-value-wrapper', id: this._instancePrefix + '-value' },
- this.renderValue(valueArray, isOpen),
- this.renderInput(valueArray, focusedOptionIndex)
- ),
- removeMessage,
- this.renderLoading(),
- this.renderClear(),
- this.renderArrow()
- ),
- isOpen ? this.renderOuter(options, valueArray, focusedOption) : null
- );
- }
- }]);
- return Select;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Select$1.propTypes = {
- 'aria-describedby': prop_types_default.a.string, // html id(s) of element(s) that should be used to describe this input (for assistive tech)
- 'aria-label': prop_types_default.a.string, // aria label (for assistive tech)
- 'aria-labelledby': prop_types_default.a.string, // html id of an element that should be used as the label (for assistive tech)
- arrowRenderer: prop_types_default.a.func, // create the drop-down caret element
- autoBlur: prop_types_default.a.bool, // automatically blur the component when an option is selected
- autoFocus: prop_types_default.a.bool, // autofocus the component on mount
- autofocus: prop_types_default.a.bool, // deprecated; use autoFocus instead
- autosize: prop_types_default.a.bool, // whether to enable autosizing or not
- backspaceRemoves: prop_types_default.a.bool, // whether backspace removes an item if there is no text input
- backspaceToRemoveMessage: prop_types_default.a.string, // message to use for screenreaders to press backspace to remove the current item - {label} is replaced with the item label
- className: prop_types_default.a.string, // className for the outer element
- clearAllText: stringOrNode, // title for the "clear" control when multi: true
- clearRenderer: prop_types_default.a.func, // create clearable x element
- clearValueText: stringOrNode, // title for the "clear" control
- clearable: prop_types_default.a.bool, // should it be possible to reset value
- closeOnSelect: prop_types_default.a.bool, // whether to close the menu when a value is selected
- deleteRemoves: prop_types_default.a.bool, // whether delete removes an item if there is no text input
- delimiter: prop_types_default.a.string, // delimiter to use to join multiple values for the hidden field value
- disabled: prop_types_default.a.bool, // whether the Select is disabled or not
- escapeClearsValue: prop_types_default.a.bool, // whether escape clears the value when the menu is closed
- filterOption: prop_types_default.a.func, // method to filter a single option (option, filterString)
- filterOptions: prop_types_default.a.any, // boolean to enable default filtering or function to filter the options array ([options], filterString, [values])
- id: prop_types_default.a.string, // html id to set on the input element for accessibility or tests
- ignoreAccents: prop_types_default.a.bool, // whether to strip diacritics when filtering
- ignoreCase: prop_types_default.a.bool, // whether to perform case-insensitive filtering
- inputProps: prop_types_default.a.object, // custom attributes for the Input
- inputRenderer: prop_types_default.a.func, // returns a custom input component
- instanceId: prop_types_default.a.string, // set the components instanceId
- isLoading: prop_types_default.a.bool, // whether the Select is loading externally or not (such as options being loaded)
- joinValues: prop_types_default.a.bool, // joins multiple values into a single form field with the delimiter (legacy mode)
- labelKey: prop_types_default.a.string, // path of the label value in option objects
- matchPos: prop_types_default.a.string, // (any|start) match the start or entire string when filtering
- matchProp: prop_types_default.a.string, // (any|label|value) which option property to filter on
- menuBuffer: prop_types_default.a.number, // optional buffer (in px) between the bottom of the viewport and the bottom of the menu
- menuContainerStyle: prop_types_default.a.object, // optional style to apply to the menu container
- menuRenderer: prop_types_default.a.func, // renders a custom menu with options
- menuStyle: prop_types_default.a.object, // optional style to apply to the menu
- multi: prop_types_default.a.bool, // multi-value input
- name: prop_types_default.a.string, // generates a hidden tag with this field name for html forms
- noResultsText: stringOrNode, // placeholder displayed when there are no matching search results
- onBlur: prop_types_default.a.func, // onBlur handler: function (event) {}
- onBlurResetsInput: prop_types_default.a.bool, // whether input is cleared on blur
- onChange: prop_types_default.a.func, // onChange handler: function (newValue) {}
- onClose: prop_types_default.a.func, // fires when the menu is closed
- onCloseResetsInput: prop_types_default.a.bool, // whether input is cleared when menu is closed through the arrow
- onFocus: prop_types_default.a.func, // onFocus handler: function (event) {}
- onInputChange: prop_types_default.a.func, // onInputChange handler: function (inputValue) {}
- onInputKeyDown: prop_types_default.a.func, // input keyDown handler: function (event) {}
- onMenuScrollToBottom: prop_types_default.a.func, // fires when the menu is scrolled to the bottom; can be used to paginate options
- onOpen: prop_types_default.a.func, // fires when the menu is opened
- onSelectResetsInput: prop_types_default.a.bool, // whether input is cleared on select (works only for multiselect)
- onValueClick: prop_types_default.a.func, // onClick handler for value labels: function (value, event) {}
- openOnClick: prop_types_default.a.bool, // boolean to control opening the menu when the control is clicked
- openOnFocus: prop_types_default.a.bool, // always open options menu on focus
- optionClassName: prop_types_default.a.string, // additional class(es) to apply to the elements
- optionComponent: prop_types_default.a.func, // option component to render in dropdown
- optionRenderer: prop_types_default.a.func, // optionRenderer: function (option) {}
- options: prop_types_default.a.array, // array of options
- pageSize: prop_types_default.a.number, // number of entries to page when using page up/down keys
- placeholder: stringOrNode, // field placeholder, displayed when there's no value
- removeSelected: prop_types_default.a.bool, // whether the selected option is removed from the dropdown on multi selects
- required: prop_types_default.a.bool, // applies HTML5 required attribute when needed
- resetValue: prop_types_default.a.any, // value to use when you clear the control
- rtl: prop_types_default.a.bool, // set to true in order to use react-select in right-to-left direction
- scrollMenuIntoView: prop_types_default.a.bool, // boolean to enable the viewport to shift so that the full menu fully visible when engaged
- searchable: prop_types_default.a.bool, // whether to enable searching feature or not
- simpleValue: prop_types_default.a.bool, // pass the value to onChange as a simple value (legacy pre 1.0 mode), defaults to false
- style: prop_types_default.a.object, // optional style to apply to the control
- tabIndex: stringOrNumber, // optional tab index of the control
- tabSelectsValue: prop_types_default.a.bool, // whether to treat tabbing out while focused to be value selection
- trimFilter: prop_types_default.a.bool, // whether to trim whitespace around filter value
- value: prop_types_default.a.any, // initial field value
- valueComponent: prop_types_default.a.func, // value component to render
- valueKey: prop_types_default.a.string, // path of the label value in option objects
- valueRenderer: prop_types_default.a.func, // valueRenderer: function (option) {}
- wrapperStyle: prop_types_default.a.object // optional style to apply to the component wrapper
-};
-
-Select$1.defaultProps = {
- arrowRenderer: react_select_es_arrowRenderer,
- autosize: true,
- backspaceRemoves: true,
- backspaceToRemoveMessage: 'Press backspace to remove {label}',
- clearable: true,
- clearAllText: 'Clear all',
- clearRenderer: react_select_es_clearRenderer,
- clearValueText: 'Clear value',
- closeOnSelect: true,
- deleteRemoves: true,
- delimiter: ',',
- disabled: false,
- escapeClearsValue: true,
- filterOptions: filterOptions,
- ignoreAccents: true,
- ignoreCase: true,
- inputProps: {},
- isLoading: false,
- joinValues: false,
- labelKey: 'label',
- matchPos: 'any',
- matchProp: 'any',
- menuBuffer: 0,
- menuRenderer: react_select_es_menuRenderer,
- multi: false,
- noResultsText: 'No results found',
- onBlurResetsInput: true,
- onCloseResetsInput: true,
- onSelectResetsInput: true,
- openOnClick: true,
- optionComponent: react_select_es_Option,
- pageSize: 5,
- placeholder: 'Select...',
- removeSelected: true,
- required: false,
- rtl: false,
- scrollMenuIntoView: true,
- searchable: true,
- simpleValue: false,
- tabSelectsValue: true,
- trimFilter: true,
- valueComponent: react_select_es_Value,
- valueKey: 'value'
-};
-
-var propTypes = {
- autoload: prop_types_default.a.bool.isRequired, // automatically call the `loadOptions` prop on-mount; defaults to true
- cache: prop_types_default.a.any, // object to use to cache results; set to null/false to disable caching
- children: prop_types_default.a.func.isRequired, // Child function responsible for creating the inner Select component; (props: Object): PropTypes.element
- ignoreAccents: prop_types_default.a.bool, // strip diacritics when filtering; defaults to true
- ignoreCase: prop_types_default.a.bool, // perform case-insensitive filtering; defaults to true
- loadOptions: prop_types_default.a.func.isRequired, // callback to load options asynchronously; (inputValue: string, callback: Function): ?Promise
- loadingPlaceholder: prop_types_default.a.oneOfType([// replaces the placeholder while options are loading
- prop_types_default.a.string, prop_types_default.a.node]),
- multi: prop_types_default.a.bool, // multi-value input
- noResultsText: prop_types_default.a.oneOfType([// field noResultsText, displayed when no options come back from the server
- prop_types_default.a.string, prop_types_default.a.node]),
- onChange: prop_types_default.a.func, // onChange handler: function (newValue) {}
- onInputChange: prop_types_default.a.func, // optional for keeping track of what is being typed
- options: prop_types_default.a.array.isRequired, // array of options
- placeholder: prop_types_default.a.oneOfType([// field placeholder, displayed when there's no value (shared with Select)
- prop_types_default.a.string, prop_types_default.a.node]),
- searchPromptText: prop_types_default.a.oneOfType([// label to prompt for search input
- prop_types_default.a.string, prop_types_default.a.node]),
- value: prop_types_default.a.any // initial field value
-};
-
-var defaultCache = {};
-
-var react_select_es_defaultChildren = function defaultChildren(props) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Select$1, props);
-};
-
-var defaultProps = {
- autoload: true,
- cache: defaultCache,
- children: react_select_es_defaultChildren,
- ignoreAccents: true,
- ignoreCase: true,
- loadingPlaceholder: 'Loading...',
- options: [],
- searchPromptText: 'Type to search'
-};
-
-var Async = function (_Component) {
- inherits(Async, _Component);
-
- function Async(props, context) {
- classCallCheck(this, Async);
-
- var _this = possibleConstructorReturn(this, (Async.__proto__ || Object.getPrototypeOf(Async)).call(this, props, context));
-
- _this._cache = props.cache === defaultCache ? {} : props.cache;
-
- _this.state = {
- inputValue: '',
- isLoading: false,
- options: props.options
- };
-
- _this.onInputChange = _this.onInputChange.bind(_this);
- return _this;
- }
-
- createClass(Async, [{
- key: 'componentDidMount',
- value: function componentDidMount() {
- var autoload = this.props.autoload;
-
-
- if (autoload) {
- this.loadOptions('');
- }
- }
- }, {
- key: 'componentWillReceiveProps',
- value: function componentWillReceiveProps(nextProps) {
- if (nextProps.options !== this.props.options) {
- this.setState({
- options: nextProps.options
- });
- }
- }
- }, {
- key: 'componentWillUnmount',
- value: function componentWillUnmount() {
- this._callback = null;
- }
- }, {
- key: 'loadOptions',
- value: function loadOptions(inputValue) {
- var _this2 = this;
-
- var loadOptions = this.props.loadOptions;
-
- var cache = this._cache;
-
- if (cache && Object.prototype.hasOwnProperty.call(cache, inputValue)) {
- this._callback = null;
-
- this.setState({
- isLoading: false,
- options: cache[inputValue]
- });
-
- return;
- }
-
- var callback = function callback(error, data) {
- var options = data && data.options || [];
-
- if (cache) {
- cache[inputValue] = options;
- }
-
- if (callback === _this2._callback) {
- _this2._callback = null;
-
- _this2.setState({
- isLoading: false,
- options: options
- });
- }
- };
-
- // Ignore all but the most recent request
- this._callback = callback;
-
- var promise = loadOptions(inputValue, callback);
- if (promise) {
- promise.then(function (data) {
- return callback(null, data);
- }, function (error) {
- return callback(error);
- });
- }
-
- if (this._callback && !this.state.isLoading) {
- this.setState({
- isLoading: true
- });
- }
- }
- }, {
- key: 'onInputChange',
- value: function onInputChange(inputValue) {
- var _props = this.props,
- ignoreAccents = _props.ignoreAccents,
- ignoreCase = _props.ignoreCase,
- onInputChange = _props.onInputChange;
-
- var newInputValue = inputValue;
-
- if (onInputChange) {
- var value = onInputChange(newInputValue);
- // Note: != used deliberately here to catch undefined and null
- if (value != null && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) !== 'object') {
- newInputValue = '' + value;
- }
- }
-
- var transformedInputValue = newInputValue;
-
- if (ignoreAccents) {
- transformedInputValue = stripDiacritics(transformedInputValue);
- }
-
- if (ignoreCase) {
- transformedInputValue = transformedInputValue.toLowerCase();
- }
-
- this.setState({ inputValue: newInputValue });
- this.loadOptions(transformedInputValue);
-
- // Return new input value, but without applying toLowerCase() to avoid modifying the user's view case of the input while typing.
- return newInputValue;
- }
- }, {
- key: 'noResultsText',
- value: function noResultsText() {
- var _props2 = this.props,
- loadingPlaceholder = _props2.loadingPlaceholder,
- noResultsText = _props2.noResultsText,
- searchPromptText = _props2.searchPromptText;
- var _state = this.state,
- inputValue = _state.inputValue,
- isLoading = _state.isLoading;
-
-
- if (isLoading) {
- return loadingPlaceholder;
- }
- if (inputValue && noResultsText) {
- return noResultsText;
- }
- return searchPromptText;
- }
- }, {
- key: 'focus',
- value: function focus() {
- this.select.focus();
- }
- }, {
- key: 'render',
- value: function render() {
- var _this3 = this;
-
- var _props3 = this.props,
- children = _props3.children,
- loadingPlaceholder = _props3.loadingPlaceholder,
- placeholder = _props3.placeholder;
- var _state2 = this.state,
- isLoading = _state2.isLoading,
- options = _state2.options;
-
-
- var props = {
- noResultsText: this.noResultsText(),
- placeholder: isLoading ? loadingPlaceholder : placeholder,
- options: isLoading && loadingPlaceholder ? [] : options,
- ref: function ref(_ref) {
- return _this3.select = _ref;
- }
- };
-
- return children(_extends({}, this.props, props, {
- isLoading: isLoading,
- onInputChange: this.onInputChange
- }));
- }
- }]);
- return Async;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react__["Component"]);
-
-Async.propTypes = propTypes;
-Async.defaultProps = defaultProps;
-
-var CreatableSelect = function (_React$Component) {
- inherits(CreatableSelect, _React$Component);
-
- function CreatableSelect(props, context) {
- classCallCheck(this, CreatableSelect);
-
- var _this = possibleConstructorReturn(this, (CreatableSelect.__proto__ || Object.getPrototypeOf(CreatableSelect)).call(this, props, context));
-
- _this.filterOptions = _this.filterOptions.bind(_this);
- _this.menuRenderer = _this.menuRenderer.bind(_this);
- _this.onInputKeyDown = _this.onInputKeyDown.bind(_this);
- _this.onInputChange = _this.onInputChange.bind(_this);
- _this.onOptionSelect = _this.onOptionSelect.bind(_this);
- return _this;
- }
-
- createClass(CreatableSelect, [{
- key: 'createNewOption',
- value: function createNewOption() {
- var _props = this.props,
- isValidNewOption = _props.isValidNewOption,
- newOptionCreator = _props.newOptionCreator,
- onNewOptionClick = _props.onNewOptionClick,
- _props$options = _props.options,
- options = _props$options === undefined ? [] : _props$options;
-
-
- if (isValidNewOption({ label: this.inputValue })) {
- var option = newOptionCreator({ label: this.inputValue, labelKey: this.labelKey, valueKey: this.valueKey });
- var _isOptionUnique = this.isOptionUnique({ option: option, options: options });
-
- // Don't add the same option twice.
- if (_isOptionUnique) {
- if (onNewOptionClick) {
- onNewOptionClick(option);
- } else {
- options.unshift(option);
-
- this.select.selectValue(option);
- }
- }
- }
- }
- }, {
- key: 'filterOptions',
- value: function filterOptions$$1() {
- var _props2 = this.props,
- filterOptions$$1 = _props2.filterOptions,
- isValidNewOption = _props2.isValidNewOption,
- promptTextCreator = _props2.promptTextCreator,
- showNewOptionAtTop = _props2.showNewOptionAtTop;
-
- // TRICKY Check currently selected options as well.
- // Don't display a create-prompt for a value that's selected.
- // This covers async edge-cases where a newly-created Option isn't yet in the async-loaded array.
-
- var excludeOptions = (arguments.length <= 2 ? undefined : arguments[2]) || [];
-
- var filteredOptions = filterOptions$$1.apply(undefined, arguments) || [];
-
- if (isValidNewOption({ label: this.inputValue })) {
- var _newOptionCreator = this.props.newOptionCreator;
-
-
- var option = _newOptionCreator({
- label: this.inputValue,
- labelKey: this.labelKey,
- valueKey: this.valueKey
- });
-
- // TRICKY Compare to all options (not just filtered options) in case option has already been selected).
- // For multi-selects, this would remove it from the filtered list.
- var _isOptionUnique2 = this.isOptionUnique({
- option: option,
- options: excludeOptions.concat(filteredOptions)
- });
-
- if (_isOptionUnique2) {
- var prompt = promptTextCreator(this.inputValue);
-
- this._createPlaceholderOption = _newOptionCreator({
- label: prompt,
- labelKey: this.labelKey,
- valueKey: this.valueKey
- });
-
- if (showNewOptionAtTop) {
- filteredOptions.unshift(this._createPlaceholderOption);
- } else {
- filteredOptions.push(this._createPlaceholderOption);
- }
- }
- }
-
- return filteredOptions;
- }
- }, {
- key: 'isOptionUnique',
- value: function isOptionUnique(_ref) {
- var option = _ref.option,
- options = _ref.options;
- var isOptionUnique = this.props.isOptionUnique;
-
-
- options = options || this.props.options;
-
- return isOptionUnique({
- labelKey: this.labelKey,
- option: option,
- options: options,
- valueKey: this.valueKey
- });
- }
- }, {
- key: 'menuRenderer',
- value: function menuRenderer$$1(params) {
- var menuRenderer$$1 = this.props.menuRenderer;
-
-
- return menuRenderer$$1(_extends({}, params, {
- onSelect: this.onOptionSelect,
- selectValue: this.onOptionSelect
- }));
- }
- }, {
- key: 'onInputChange',
- value: function onInputChange(input) {
- var onInputChange = this.props.onInputChange;
-
- // This value may be needed in between Select mounts (when this.select is null)
-
- this.inputValue = input;
-
- if (onInputChange) {
- this.inputValue = onInputChange(input);
- }
-
- return this.inputValue;
- }
- }, {
- key: 'onInputKeyDown',
- value: function onInputKeyDown(event) {
- var _props3 = this.props,
- shouldKeyDownEventCreateNewOption = _props3.shouldKeyDownEventCreateNewOption,
- onInputKeyDown = _props3.onInputKeyDown;
-
- var focusedOption = this.select.getFocusedOption();
-
- if (focusedOption && focusedOption === this._createPlaceholderOption && shouldKeyDownEventCreateNewOption(event)) {
- this.createNewOption();
-
- // Prevent decorated Select from doing anything additional with this keyDown event
- event.preventDefault();
- } else if (onInputKeyDown) {
- onInputKeyDown(event);
- }
- }
- }, {
- key: 'onOptionSelect',
- value: function onOptionSelect(option) {
- if (option === this._createPlaceholderOption) {
- this.createNewOption();
- } else {
- this.select.selectValue(option);
- }
- }
- }, {
- key: 'focus',
- value: function focus() {
- this.select.focus();
- }
- }, {
- key: 'render',
- value: function render() {
- var _this2 = this;
-
- var _props4 = this.props,
- refProp = _props4.ref,
- restProps = objectWithoutProperties(_props4, ['ref']);
- var children = this.props.children;
-
- // We can't use destructuring default values to set the children,
- // because it won't apply work if `children` is null. A falsy check is
- // more reliable in real world use-cases.
-
- if (!children) {
- children = defaultChildren$2;
- }
-
- var props = _extends({}, restProps, {
- allowCreate: true,
- filterOptions: this.filterOptions,
- menuRenderer: this.menuRenderer,
- onInputChange: this.onInputChange,
- onInputKeyDown: this.onInputKeyDown,
- ref: function ref(_ref2) {
- _this2.select = _ref2;
-
- // These values may be needed in between Select mounts (when this.select is null)
- if (_ref2) {
- _this2.labelKey = _ref2.props.labelKey;
- _this2.valueKey = _ref2.props.valueKey;
- }
- if (refProp) {
- refProp(_ref2);
- }
- }
- });
-
- return children(props);
- }
- }]);
- return CreatableSelect;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var defaultChildren$2 = function defaultChildren(props) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Select$1, props);
-};
-
-var isOptionUnique = function isOptionUnique(_ref3) {
- var option = _ref3.option,
- options = _ref3.options,
- labelKey = _ref3.labelKey,
- valueKey = _ref3.valueKey;
-
- if (!options || !options.length) {
- return true;
- }
-
- return options.filter(function (existingOption) {
- return existingOption[labelKey] === option[labelKey] || existingOption[valueKey] === option[valueKey];
- }).length === 0;
-};
-
-var isValidNewOption = function isValidNewOption(_ref4) {
- var label = _ref4.label;
- return !!label;
-};
-
-var newOptionCreator = function newOptionCreator(_ref5) {
- var label = _ref5.label,
- labelKey = _ref5.labelKey,
- valueKey = _ref5.valueKey;
-
- var option = {};
- option[valueKey] = label;
- option[labelKey] = label;
- option.className = 'Select-create-option-placeholder';
-
- return option;
-};
-
-var promptTextCreator = function promptTextCreator(label) {
- return 'Create option "' + label + '"';
-};
-
-var shouldKeyDownEventCreateNewOption = function shouldKeyDownEventCreateNewOption(_ref6) {
- var keyCode = _ref6.keyCode;
-
- switch (keyCode) {
- case 9: // TAB
- case 13: // ENTER
- case 188:
- // COMMA
- return true;
- default:
- return false;
- }
-};
-
-// Default prop methods
-CreatableSelect.isOptionUnique = isOptionUnique;
-CreatableSelect.isValidNewOption = isValidNewOption;
-CreatableSelect.newOptionCreator = newOptionCreator;
-CreatableSelect.promptTextCreator = promptTextCreator;
-CreatableSelect.shouldKeyDownEventCreateNewOption = shouldKeyDownEventCreateNewOption;
-
-CreatableSelect.defaultProps = {
- filterOptions: filterOptions,
- isOptionUnique: isOptionUnique,
- isValidNewOption: isValidNewOption,
- menuRenderer: react_select_es_menuRenderer,
- newOptionCreator: newOptionCreator,
- promptTextCreator: promptTextCreator,
- shouldKeyDownEventCreateNewOption: shouldKeyDownEventCreateNewOption,
- showNewOptionAtTop: true
-};
-
-CreatableSelect.propTypes = {
- // Child function responsible for creating the inner Select component
- // This component can be used to compose HOCs (eg Creatable and Async)
- // (props: Object): PropTypes.element
- children: prop_types_default.a.func,
-
- // See Select.propTypes.filterOptions
- filterOptions: prop_types_default.a.any,
-
- // Searches for any matching option within the set of options.
- // This function prevents duplicate options from being created.
- // ({ option: Object, options: Array, labelKey: string, valueKey: string }): boolean
- isOptionUnique: prop_types_default.a.func,
-
- // Determines if the current input text represents a valid option.
- // ({ label: string }): boolean
- isValidNewOption: prop_types_default.a.func,
-
- // See Select.propTypes.menuRenderer
- menuRenderer: prop_types_default.a.any,
-
- // Factory to create new option.
- // ({ label: string, labelKey: string, valueKey: string }): Object
- newOptionCreator: prop_types_default.a.func,
-
- // input change handler: function (inputValue) {}
- onInputChange: prop_types_default.a.func,
-
- // input keyDown handler: function (event) {}
- onInputKeyDown: prop_types_default.a.func,
-
- // new option click handler: function (option) {}
- onNewOptionClick: prop_types_default.a.func,
-
- // See Select.propTypes.options
- options: prop_types_default.a.array,
-
- // Creates prompt/placeholder option text.
- // (filterText: string): string
- promptTextCreator: prop_types_default.a.func,
-
- ref: prop_types_default.a.func,
-
- // Decides if a keyDown event (eg its `keyCode`) should result in the creation of a new option.
- shouldKeyDownEventCreateNewOption: prop_types_default.a.func,
-
- // Where to show prompt/placeholder option text.
- // true: new option prompt at top of list (default)
- // false: new option prompt at bottom of list
- showNewOptionAtTop: prop_types_default.a.bool
-};
-
-var react_select_es_AsyncCreatableSelect = function (_React$Component) {
- inherits(AsyncCreatableSelect, _React$Component);
-
- function AsyncCreatableSelect() {
- classCallCheck(this, AsyncCreatableSelect);
- return possibleConstructorReturn(this, (AsyncCreatableSelect.__proto__ || Object.getPrototypeOf(AsyncCreatableSelect)).apply(this, arguments));
- }
-
- createClass(AsyncCreatableSelect, [{
- key: 'focus',
- value: function focus() {
- this.select.focus();
- }
- }, {
- key: 'render',
- value: function render() {
- var _this2 = this;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Async,
- this.props,
- function (_ref) {
- var ref = _ref.ref,
- asyncProps = objectWithoutProperties(_ref, ['ref']);
-
- var asyncRef = ref;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- CreatableSelect,
- asyncProps,
- function (_ref2) {
- var ref = _ref2.ref,
- creatableProps = objectWithoutProperties(_ref2, ['ref']);
-
- var creatableRef = ref;
- return _this2.props.children(_extends({}, creatableProps, {
- ref: function ref(select) {
- creatableRef(select);
- asyncRef(select);
- _this2.select = select;
- }
- }));
- }
- );
- }
- );
- }
- }]);
- return AsyncCreatableSelect;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var defaultChildren$1 = function defaultChildren(props) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Select$1, props);
-};
-
-react_select_es_AsyncCreatableSelect.propTypes = {
- children: prop_types_default.a.func.isRequired // Child function responsible for creating the inner Select component; (props: Object): PropTypes.element
-};
-
-react_select_es_AsyncCreatableSelect.defaultProps = {
- children: defaultChildren$1
-};
-
-Select$1.Async = Async;
-Select$1.AsyncCreatable = react_select_es_AsyncCreatableSelect;
-Select$1.Creatable = CreatableSelect;
-Select$1.Value = react_select_es_Value;
-Select$1.Option = react_select_es_Option;
-
-
-/* harmony default export */ var react_select_es = (Select$1);
-
-// CONCATENATED MODULE: ../node_modules/react-onclickoutside/dist/react-onclickoutside.es.js
-
-
-
-function _inheritsLoose(subClass, superClass) {
- subClass.prototype = Object.create(superClass.prototype);
- subClass.prototype.constructor = subClass;
- subClass.__proto__ = superClass;
-}
-
-function _objectWithoutProperties(source, excluded) {
- if (source == null) return {};
- var target = {};
- var sourceKeys = Object.keys(source);
- var key, i;
-
- for (i = 0; i < sourceKeys.length; i++) {
- key = sourceKeys[i];
- if (excluded.indexOf(key) >= 0) continue;
- target[key] = source[key];
- }
-
- if (Object.getOwnPropertySymbols) {
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
-
- for (i = 0; i < sourceSymbolKeys.length; i++) {
- key = sourceSymbolKeys[i];
- if (excluded.indexOf(key) >= 0) continue;
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
- target[key] = source[key];
- }
- }
-
- return target;
-}
-
-/**
- * Check whether some DOM node is our Component's node.
- */
-function isNodeFound(current, componentNode, ignoreClass) {
- if (current === componentNode) {
- return true;
- } // SVG elements do not technically reside in the rendered DOM, so
- // they do not have classList directly, but they offer a link to their
- // corresponding element, which can have classList. This extra check is for
- // that case.
- // See: http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGUseElement
- // Discussion: https://github.com/Pomax/react-onclickoutside/pull/17
-
-
- if (current.correspondingElement) {
- return current.correspondingElement.classList.contains(ignoreClass);
- }
-
- return current.classList.contains(ignoreClass);
-}
-/**
- * Try to find our node in a hierarchy of nodes, returning the document
- * node as highest node if our node is not found in the path up.
- */
-
-function findHighest(current, componentNode, ignoreClass) {
- if (current === componentNode) {
- return true;
- } // If source=local then this event came from 'somewhere'
- // inside and should be ignored. We could handle this with
- // a layered approach, too, but that requires going back to
- // thinking in terms of Dom node nesting, running counter
- // to React's 'you shouldn't care about the DOM' philosophy.
-
-
- while (current.parentNode) {
- if (isNodeFound(current, componentNode, ignoreClass)) {
- return true;
- }
-
- current = current.parentNode;
- }
-
- return current;
-}
-/**
- * Check if the browser scrollbar was clicked
- */
-
-function clickedScrollbar(evt) {
- return document.documentElement.clientWidth <= evt.clientX || document.documentElement.clientHeight <= evt.clientY;
-}
-
-// ideally will get replaced with external dep
-// when rafrex/detect-passive-events#4 and rafrex/detect-passive-events#5 get merged in
-var testPassiveEventSupport = function testPassiveEventSupport() {
- if (typeof window === 'undefined' || typeof window.addEventListener !== 'function') {
- return;
- }
-
- var passive = false;
- var options = Object.defineProperty({}, 'passive', {
- get: function get() {
- passive = true;
- }
- });
-
- var noop = function noop() {};
-
- window.addEventListener('testPassiveEventSupport', noop, options);
- window.removeEventListener('testPassiveEventSupport', noop, options);
- return passive;
-};
-
-function autoInc(seed) {
- if (seed === void 0) {
- seed = 0;
- }
-
- return function () {
- return ++seed;
- };
-}
-
-var uid = autoInc();
-
-var passiveEventSupport;
-var handlersMap = {};
-var enabledInstances = {};
-var react_onclickoutside_es_touchEvents = ['touchstart', 'touchmove'];
-var IGNORE_CLASS_NAME = 'ignore-react-onclickoutside';
-/**
- * Options for addEventHandler and removeEventHandler
- */
-
-function getEventHandlerOptions(instance, eventName) {
- var handlerOptions = null;
- var isTouchEvent = react_onclickoutside_es_touchEvents.indexOf(eventName) !== -1;
-
- if (isTouchEvent && passiveEventSupport) {
- handlerOptions = {
- passive: !instance.props.preventDefault
- };
- }
-
- return handlerOptions;
-}
-/**
- * This function generates the HOC function that you'll use
- * in order to impart onOutsideClick listening to an
- * arbitrary component. It gets called at the end of the
- * bootstrapping code to yield an instance of the
- * onClickOutsideHOC function defined inside setupHOC().
- */
-
-
-function onClickOutsideHOC(WrappedComponent, config) {
- var _class, _temp;
-
- return _temp = _class =
- /*#__PURE__*/
- function (_Component) {
- _inheritsLoose(onClickOutside, _Component);
-
- function onClickOutside(props) {
- var _this;
-
- _this = _Component.call(this, props) || this;
-
- _this.__outsideClickHandler = function (event) {
- if (typeof _this.__clickOutsideHandlerProp === 'function') {
- _this.__clickOutsideHandlerProp(event);
-
- return;
- }
-
- var instance = _this.getInstance();
-
- if (typeof instance.props.handleClickOutside === 'function') {
- instance.props.handleClickOutside(event);
- return;
- }
-
- if (typeof instance.handleClickOutside === 'function') {
- instance.handleClickOutside(event);
- return;
- }
-
- throw new Error('WrappedComponent lacks a handleClickOutside(event) function for processing outside click events.');
- };
-
- _this.enableOnClickOutside = function () {
- if (typeof document === 'undefined' || enabledInstances[_this._uid]) {
- return;
- }
-
- if (typeof passiveEventSupport === 'undefined') {
- passiveEventSupport = testPassiveEventSupport();
- }
-
- enabledInstances[_this._uid] = true;
- var events = _this.props.eventTypes;
-
- if (!events.forEach) {
- events = [events];
- }
-
- handlersMap[_this._uid] = function (event) {
- if (_this.props.disableOnClickOutside) return;
- if (_this.componentNode === null) return;
-
- if (_this.props.preventDefault) {
- event.preventDefault();
- }
-
- if (_this.props.stopPropagation) {
- event.stopPropagation();
- }
-
- if (_this.props.excludeScrollbar && clickedScrollbar(event)) return;
- var current = event.target;
-
- if (findHighest(current, _this.componentNode, _this.props.outsideClickIgnoreClass) !== document) {
- return;
- }
-
- _this.__outsideClickHandler(event);
- };
-
- events.forEach(function (eventName) {
- document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_this, eventName));
- });
- };
-
- _this.disableOnClickOutside = function () {
- delete enabledInstances[_this._uid];
- var fn = handlersMap[_this._uid];
-
- if (fn && typeof document !== 'undefined') {
- var events = _this.props.eventTypes;
-
- if (!events.forEach) {
- events = [events];
- }
-
- events.forEach(function (eventName) {
- return document.removeEventListener(eventName, fn, getEventHandlerOptions(_this, eventName));
- });
- delete handlersMap[_this._uid];
- }
- };
-
- _this.getRef = function (ref) {
- return _this.instanceRef = ref;
- };
-
- _this._uid = uid();
- return _this;
- }
- /**
- * Access the WrappedComponent's instance.
- */
-
-
- var _proto = onClickOutside.prototype;
-
- _proto.getInstance = function getInstance() {
- if (!WrappedComponent.prototype.isReactComponent) {
- return this;
- }
-
- var ref = this.instanceRef;
- return ref.getInstance ? ref.getInstance() : ref;
- };
-
- /**
- * Add click listeners to the current document,
- * linked to this component's state.
- */
- _proto.componentDidMount = function componentDidMount() {
- // If we are in an environment without a DOM such
- // as shallow rendering or snapshots then we exit
- // early to prevent any unhandled errors being thrown.
- if (typeof document === 'undefined' || !document.createElement) {
- return;
- }
-
- var instance = this.getInstance();
-
- if (config && typeof config.handleClickOutside === 'function') {
- this.__clickOutsideHandlerProp = config.handleClickOutside(instance);
-
- if (typeof this.__clickOutsideHandlerProp !== 'function') {
- throw new Error('WrappedComponent lacks a function for processing outside click events specified by the handleClickOutside config option.');
- }
- }
-
- this.componentNode = Object(external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__["findDOMNode"])(this.getInstance());
- this.enableOnClickOutside();
- };
-
- _proto.componentDidUpdate = function componentDidUpdate() {
- this.componentNode = Object(external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__["findDOMNode"])(this.getInstance());
- };
- /**
- * Remove all document's event listeners for this component
- */
-
-
- _proto.componentWillUnmount = function componentWillUnmount() {
- this.disableOnClickOutside();
- };
- /**
- * Can be called to explicitly enable event listening
- * for clicks and touches outside of this element.
- */
-
-
- /**
- * Pass-through render
- */
- _proto.render = function render() {
- // eslint-disable-next-line no-unused-vars
- var _props = this.props,
- excludeScrollbar = _props.excludeScrollbar,
- props = _objectWithoutProperties(_props, ["excludeScrollbar"]);
-
- if (WrappedComponent.prototype.isReactComponent) {
- props.ref = this.getRef;
- } else {
- props.wrappedRef = this.getRef;
- }
-
- props.disableOnClickOutside = this.disableOnClickOutside;
- props.enableOnClickOutside = this.enableOnClickOutside;
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["createElement"])(WrappedComponent, props);
- };
-
- return onClickOutside;
- }(external___root___React___commonjs2___react___commonjs___react___amd___react__["Component"]), _class.displayName = "OnClickOutside(" + (WrappedComponent.displayName || WrappedComponent.name || 'Component') + ")", _class.defaultProps = {
- eventTypes: ['mousedown', 'touchstart'],
- excludeScrollbar: config && config.excludeScrollbar || false,
- outsideClickIgnoreClass: IGNORE_CLASS_NAME,
- preventDefault: false,
- stopPropagation: false
- }, _class.getClass = function () {
- return WrappedComponent.getClass ? WrappedComponent.getClass() : WrappedComponent;
- }, _temp;
-}
-
-
-/* harmony default export */ var react_onclickoutside_es = (onClickOutsideHOC);
-
-// EXTERNAL MODULE: external {"root":"moment","commonjs2":"moment","commonjs":"moment","amd":"moment"}
-var external___root___moment___commonjs2___moment___commonjs___moment___amd___moment__ = __webpack_require__(132);
-var external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default = /*#__PURE__*/__webpack_require__.n(external___root___moment___commonjs2___moment___commonjs___moment___amd___moment__);
-
-// CONCATENATED MODULE: ../node_modules/react-datepicker/node_modules/react-popper/lib/Manager.js
-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
-
-function Manager__objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-var Manager_Manager = function (_Component) {
- _inherits(Manager, _Component);
-
- function Manager() {
- var _ref;
-
- var _temp, _this, _ret;
-
- _classCallCheck(this, Manager);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Manager.__proto__ || Object.getPrototypeOf(Manager)).call.apply(_ref, [this].concat(args))), _this), _this._setTargetNode = function (node) {
- _this._targetNode = node;
- }, _this._getTargetNode = function () {
- return _this._targetNode;
- }, _temp), _possibleConstructorReturn(_this, _ret);
- }
-
- _createClass(Manager, [{
- key: 'getChildContext',
- value: function getChildContext() {
- return {
- popperManager: {
- setTargetNode: this._setTargetNode,
- getTargetNode: this._getTargetNode
- }
- };
- }
- }, {
- key: 'render',
- value: function render() {
- var _props = this.props,
- tag = _props.tag,
- children = _props.children,
- restProps = Manager__objectWithoutProperties(_props, ['tag', 'children']);
-
- if (tag !== false) {
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["createElement"])(tag, restProps, children);
- } else {
- return children;
- }
- }
- }]);
-
- return Manager;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react__["Component"]);
-
-Manager_Manager.childContextTypes = {
- popperManager: prop_types_default.a.object.isRequired
-};
-Manager_Manager.propTypes = {
- tag: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.bool]),
- children: prop_types_default.a.oneOfType([prop_types_default.a.node, prop_types_default.a.func])
-};
-Manager_Manager.defaultProps = {
- tag: 'div'
-};
-
-
-/* harmony default export */ var lib_Manager = (Manager_Manager);
-// CONCATENATED MODULE: ../node_modules/react-datepicker/node_modules/react-popper/lib/Target.js
-var Target__extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
-function Target__objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
-
-
-
-var Target_Target = function Target(props, context) {
- var _props$component = props.component,
- component = _props$component === undefined ? 'div' : _props$component,
- innerRef = props.innerRef,
- children = props.children,
- restProps = Target__objectWithoutProperties(props, ['component', 'innerRef', 'children']);
-
- var popperManager = context.popperManager;
-
- var targetRef = function targetRef(node) {
- popperManager.setTargetNode(node);
- if (typeof innerRef === 'function') {
- innerRef(node);
- }
- };
-
- if (typeof children === 'function') {
- var targetProps = { ref: targetRef };
- return children({ targetProps: targetProps, restProps: restProps });
- }
-
- var componentProps = Target__extends({}, restProps);
-
- if (typeof component === 'string') {
- componentProps.ref = targetRef;
- } else {
- componentProps.innerRef = targetRef;
- }
-
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["createElement"])(component, componentProps, children);
-};
-
-Target_Target.contextTypes = {
- popperManager: prop_types_default.a.object.isRequired
-};
-
-Target_Target.propTypes = {
- component: prop_types_default.a.oneOfType([prop_types_default.a.node, prop_types_default.a.func]),
- innerRef: prop_types_default.a.func,
- children: prop_types_default.a.oneOfType([prop_types_default.a.node, prop_types_default.a.func])
-};
-
-/* harmony default export */ var lib_Target = (Target_Target);
-// EXTERNAL MODULE: ../node_modules/popper.js/dist/esm/popper.js
-var esm_popper = __webpack_require__(101);
-
-// CONCATENATED MODULE: ../node_modules/react-datepicker/node_modules/react-popper/lib/Popper.js
-var Popper__extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
-var Popper__createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
-
-function Popper__objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
-function Popper__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Popper__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function Popper__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-
-var placements = esm_popper["a" /* default */].placements;
-
-var Popper_Popper = function (_Component) {
- Popper__inherits(Popper, _Component);
-
- function Popper() {
- var _ref;
-
- var _temp, _this, _ret;
-
- Popper__classCallCheck(this, Popper);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = Popper__possibleConstructorReturn(this, (_ref = Popper.__proto__ || Object.getPrototypeOf(Popper)).call.apply(_ref, [this].concat(args))), _this), _this.state = {}, _this._setArrowNode = function (node) {
- _this._arrowNode = node;
- }, _this._getTargetNode = function () {
- if (_this.props.target) {
- return _this.props.target;
- } else if (!_this.context.popperManager || !_this.context.popperManager.getTargetNode()) {
- throw new Error('Target missing. Popper must be given a target from the Popper Manager, or as a prop.');
- }
- return _this.context.popperManager.getTargetNode();
- }, _this._getOffsets = function (data) {
- return Object.keys(data.offsets).map(function (key) {
- return data.offsets[key];
- });
- }, _this._isDataDirty = function (data) {
- if (_this.state.data) {
- return JSON.stringify(_this._getOffsets(_this.state.data)) !== JSON.stringify(_this._getOffsets(data));
- } else {
- return true;
- }
- }, _this._updateStateModifier = {
- enabled: true,
- order: 900,
- fn: function fn(data) {
- if (_this._isDataDirty(data)) {
- _this.setState({ data: data });
- }
- return data;
- }
- }, _this._getPopperStyle = function () {
- var data = _this.state.data;
-
-
- if (!_this._popper || !data) {
- return {
- position: 'absolute',
- pointerEvents: 'none',
- opacity: 0
- };
- }
-
- return Popper__extends({
- position: data.offsets.popper.position
- }, data.styles);
- }, _this._getPopperPlacement = function () {
- return _this.state.data ? _this.state.data.placement : undefined;
- }, _this._getPopperHide = function () {
- return !!_this.state.data && _this.state.data.hide ? '' : undefined;
- }, _this._getArrowStyle = function () {
- if (!_this.state.data || !_this.state.data.offsets.arrow) {
- return {};
- } else {
- var _this$state$data$offs = _this.state.data.offsets.arrow,
- top = _this$state$data$offs.top,
- left = _this$state$data$offs.left;
-
- return { top: top, left: left };
- }
- }, _this._handlePopperRef = function (node) {
- _this._popperNode = node;
- if (node) {
- _this._createPopper();
- } else {
- _this._destroyPopper();
- }
- if (_this.props.innerRef) {
- _this.props.innerRef(node);
- }
- }, _this._scheduleUpdate = function () {
- _this._popper && _this._popper.scheduleUpdate();
- }, _temp), Popper__possibleConstructorReturn(_this, _ret);
- }
-
- Popper__createClass(Popper, [{
- key: 'getChildContext',
- value: function getChildContext() {
- return {
- popper: {
- setArrowNode: this._setArrowNode,
- getArrowStyle: this._getArrowStyle
- }
- };
- }
- }, {
- key: 'componentDidUpdate',
- value: function componentDidUpdate(lastProps) {
- if (lastProps.placement !== this.props.placement || lastProps.eventsEnabled !== this.props.eventsEnabled || lastProps.target !== this.props.target) {
- this._destroyPopper();
- this._createPopper();
- }
- if (lastProps.children !== this.props.children) {
- this._scheduleUpdate();
- }
- }
- }, {
- key: 'componentWillUnmount',
- value: function componentWillUnmount() {
- this._destroyPopper();
- }
- }, {
- key: '_createPopper',
- value: function _createPopper() {
- var _this2 = this;
-
- var _props = this.props,
- placement = _props.placement,
- eventsEnabled = _props.eventsEnabled;
-
- var modifiers = Popper__extends({}, this.props.modifiers, {
- applyStyle: { enabled: false },
- updateState: this._updateStateModifier
- });
- if (this._arrowNode) {
- modifiers.arrow = Popper__extends({}, this.props.modifiers.arrow || {}, {
- element: this._arrowNode
- });
- }
- this._popper = new esm_popper["a" /* default */](this._getTargetNode(), this._popperNode, {
- placement: placement,
- eventsEnabled: eventsEnabled,
- modifiers: modifiers
- });
-
- // TODO: look into setTimeout scheduleUpdate call, without it, the popper will not position properly on creation
- setTimeout(function () {
- return _this2._scheduleUpdate();
- });
- }
- }, {
- key: '_destroyPopper',
- value: function _destroyPopper() {
- if (this._popper) {
- this._popper.destroy();
- }
- }
- }, {
- key: 'render',
- value: function render() {
- var _props2 = this.props,
- component = _props2.component,
- innerRef = _props2.innerRef,
- placement = _props2.placement,
- eventsEnabled = _props2.eventsEnabled,
- modifiers = _props2.modifiers,
- children = _props2.children,
- restProps = Popper__objectWithoutProperties(_props2, ['component', 'innerRef', 'placement', 'eventsEnabled', 'modifiers', 'children']);
-
- var popperStyle = this._getPopperStyle();
- var popperPlacement = this._getPopperPlacement();
- var popperHide = this._getPopperHide();
-
- if (typeof children === 'function') {
- var popperProps = {
- ref: this._handlePopperRef,
- style: popperStyle,
- 'data-placement': popperPlacement,
- 'data-x-out-of-boundaries': popperHide
- };
- return children({
- popperProps: popperProps,
- restProps: restProps,
- scheduleUpdate: this._scheduleUpdate
- });
- }
-
- var componentProps = Popper__extends({}, restProps, {
- style: Popper__extends({}, restProps.style, popperStyle),
- 'data-placement': popperPlacement,
- 'data-x-out-of-boundaries': popperHide
- });
-
- if (typeof component === 'string') {
- componentProps.ref = this._handlePopperRef;
- } else {
- componentProps.innerRef = this._handlePopperRef;
- }
-
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["createElement"])(component, componentProps, children);
- }
- }]);
-
- return Popper;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react__["Component"]);
-
-Popper_Popper.contextTypes = {
- popperManager: prop_types_default.a.object
-};
-Popper_Popper.childContextTypes = {
- popper: prop_types_default.a.object.isRequired
-};
-Popper_Popper.propTypes = {
- component: prop_types_default.a.oneOfType([prop_types_default.a.node, prop_types_default.a.func]),
- innerRef: prop_types_default.a.func,
- placement: prop_types_default.a.oneOf(placements),
- eventsEnabled: prop_types_default.a.bool,
- modifiers: prop_types_default.a.object,
- children: prop_types_default.a.oneOfType([prop_types_default.a.node, prop_types_default.a.func]),
- target: prop_types_default.a.oneOfType([
- // the following check is needed for SSR
- prop_types_default.a.instanceOf(typeof Element !== 'undefined' ? Element : Object), prop_types_default.a.shape({
- getBoundingClientRect: prop_types_default.a.func.isRequired,
- clientWidth: prop_types_default.a.number.isRequired,
- clientHeight: prop_types_default.a.number.isRequired
- })])
-};
-Popper_Popper.defaultProps = {
- component: 'div',
- placement: 'bottom',
- eventsEnabled: true,
- modifiers: {}
-};
-
-
-/* harmony default export */ var lib_Popper = (Popper_Popper);
-// CONCATENATED MODULE: ../node_modules/react-datepicker/node_modules/react-popper/lib/Arrow.js
-var Arrow__extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
-function Arrow__objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
-
-
-
-var Arrow_Arrow = function Arrow(props, context) {
- var _props$component = props.component,
- component = _props$component === undefined ? 'span' : _props$component,
- innerRef = props.innerRef,
- children = props.children,
- restProps = Arrow__objectWithoutProperties(props, ['component', 'innerRef', 'children']);
-
- var popper = context.popper;
-
- var arrowRef = function arrowRef(node) {
- popper.setArrowNode(node);
- if (typeof innerRef === 'function') {
- innerRef(node);
- }
- };
- var arrowStyle = popper.getArrowStyle();
-
- if (typeof children === 'function') {
- var arrowProps = {
- ref: arrowRef,
- style: arrowStyle
- };
- return children({ arrowProps: arrowProps, restProps: restProps });
- }
-
- var componentProps = Arrow__extends({}, restProps, {
- style: Arrow__extends({}, arrowStyle, restProps.style)
- });
-
- if (typeof component === 'string') {
- componentProps.ref = arrowRef;
- } else {
- componentProps.innerRef = arrowRef;
- }
-
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["createElement"])(component, componentProps, children);
-};
-
-Arrow_Arrow.contextTypes = {
- popper: prop_types_default.a.object.isRequired
-};
-
-Arrow_Arrow.propTypes = {
- component: prop_types_default.a.oneOfType([prop_types_default.a.node, prop_types_default.a.func]),
- innerRef: prop_types_default.a.func,
- children: prop_types_default.a.oneOfType([prop_types_default.a.node, prop_types_default.a.func])
-};
-
-/* harmony default export */ var lib_Arrow = (Arrow_Arrow);
-// CONCATENATED MODULE: ../node_modules/react-datepicker/node_modules/react-popper/lib/react-popper.js
-
-
-
-
-// CONCATENATED MODULE: ../node_modules/react-datepicker/es/index.js
-
-
-
-
-
-
-
-var es__typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
- return typeof obj;
-} : function (obj) {
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
-};
-
-
-
-
-
-
-
-
-
-var es_classCallCheck = function (instance, Constructor) {
- if (!(instance instanceof Constructor)) {
- throw new TypeError("Cannot call a class as a function");
- }
-};
-
-var es_createClass = function () {
- function defineProperties(target, props) {
- for (var i = 0; i < props.length; i++) {
- var descriptor = props[i];
- descriptor.enumerable = descriptor.enumerable || false;
- descriptor.configurable = true;
- if ("value" in descriptor) descriptor.writable = true;
- Object.defineProperty(target, descriptor.key, descriptor);
- }
- }
-
- return function (Constructor, protoProps, staticProps) {
- if (protoProps) defineProperties(Constructor.prototype, protoProps);
- if (staticProps) defineProperties(Constructor, staticProps);
- return Constructor;
- };
-}();
-
-
-
-
-
-
-
-
-
-var es_inherits = function (subClass, superClass) {
- if (typeof superClass !== "function" && superClass !== null) {
- throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
- }
-
- subClass.prototype = Object.create(superClass && superClass.prototype, {
- constructor: {
- value: subClass,
- enumerable: false,
- writable: true,
- configurable: true
- }
- });
- if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
-};
-
-
-
-
-
-
-
-
-
-
-
-var es_possibleConstructorReturn = function (self, call) {
- if (!self) {
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- }
-
- return call && (typeof call === "object" || typeof call === "function") ? call : self;
-};
-
-function generateYears(year, noOfYear, minDate, maxDate) {
- var list = [];
- for (var i = 0; i < 2 * noOfYear + 1; i++) {
- var newYear = year + noOfYear - i;
- var isInRange = true;
-
- if (minDate) {
- isInRange = minDate.year() <= newYear;
- }
-
- if (maxDate && isInRange) {
- isInRange = maxDate.year() >= newYear;
- }
-
- if (isInRange) {
- list.push(newYear);
- }
- }
-
- return list;
-}
-
-var es_YearDropdownOptions = function (_React$Component) {
- es_inherits(YearDropdownOptions, _React$Component);
-
- function YearDropdownOptions(props) {
- es_classCallCheck(this, YearDropdownOptions);
-
- var _this = es_possibleConstructorReturn(this, _React$Component.call(this, props));
-
- _this.renderOptions = function () {
- var selectedYear = _this.props.year;
- var options = _this.state.yearsList.map(function (year) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: selectedYear === year ? "react-datepicker__year-option react-datepicker__year-option--selected_year" : "react-datepicker__year-option",
- key: year,
- ref: year,
- onClick: _this.onChange.bind(_this, year)
- },
- selectedYear === year ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "span",
- { className: "react-datepicker__year-option--selected" },
- "\u2713"
- ) : "",
- year
- );
- });
-
- var minYear = _this.props.minDate ? _this.props.minDate.year() : null;
- var maxYear = _this.props.maxDate ? _this.props.maxDate.year() : null;
-
- if (!maxYear || !_this.state.yearsList.find(function (year) {
- return year === maxYear;
- })) {
- options.unshift(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: "react-datepicker__year-option",
- ref: "upcoming",
- key: "upcoming",
- onClick: _this.incrementYears
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming" })
- ));
- }
-
- if (!minYear || !_this.state.yearsList.find(function (year) {
- return year === minYear;
- })) {
- options.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: "react-datepicker__year-option",
- ref: "previous",
- key: "previous",
- onClick: _this.decrementYears
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous" })
- ));
- }
-
- return options;
- };
-
- _this.onChange = function (year) {
- _this.props.onChange(year);
- };
-
- _this.handleClickOutside = function () {
- _this.props.onCancel();
- };
-
- _this.shiftYears = function (amount) {
- var years = _this.state.yearsList.map(function (year) {
- return year + amount;
- });
-
- _this.setState({
- yearsList: years
- });
- };
-
- _this.incrementYears = function () {
- return _this.shiftYears(1);
- };
-
- _this.decrementYears = function () {
- return _this.shiftYears(-1);
- };
-
- var yearDropdownItemNumber = props.yearDropdownItemNumber,
- scrollableYearDropdown = props.scrollableYearDropdown;
-
- var noOfYear = yearDropdownItemNumber || (scrollableYearDropdown ? 10 : 5);
-
- _this.state = {
- yearsList: generateYears(_this.props.year, noOfYear, _this.props.minDate, _this.props.maxDate)
- };
- return _this;
- }
-
- YearDropdownOptions.prototype.render = function render() {
- var dropdownClass = classnames_default()({
- "react-datepicker__year-dropdown": true,
- "react-datepicker__year-dropdown--scrollable": this.props.scrollableYearDropdown
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: dropdownClass },
- this.renderOptions()
- );
- };
-
- return YearDropdownOptions;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_YearDropdownOptions.propTypes = {
- minDate: prop_types_default.a.object,
- maxDate: prop_types_default.a.object,
- onCancel: prop_types_default.a.func.isRequired,
- onChange: prop_types_default.a.func.isRequired,
- scrollableYearDropdown: prop_types_default.a.bool,
- year: prop_types_default.a.number.isRequired,
- yearDropdownItemNumber: prop_types_default.a.number
-};
-
-var dayOfWeekCodes = {
- 1: "mon",
- 2: "tue",
- 3: "wed",
- 4: "thu",
- 5: "fri",
- 6: "sat",
- 7: "sun"
-};
-
-// These functions are not exported so
-// that we avoid magic strings like 'days'
-function set$1(date, unit, to) {
- return date.set(unit, to);
-}
-
-function add(date, amount, unit) {
- return date.add(amount, unit);
-}
-
-function subtract(date, amount, unit) {
- return date.subtract(amount, unit);
-}
-
-function get$1(date, unit) {
- return date.get(unit);
-}
-
-function getStartOf(date, unit) {
- return date.startOf(unit);
-}
-
-// ** Date Constructors **
-
-function newDate(point) {
- return external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default()(point);
-}
-
-function newDateWithOffset(utcOffset) {
- return external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default()().utc().utcOffset(utcOffset);
-}
-
-function now(maybeFixedUtcOffset) {
- if (maybeFixedUtcOffset == null) {
- return newDate();
- }
- return newDateWithOffset(maybeFixedUtcOffset);
-}
-
-function cloneDate(date) {
- return date.clone();
-}
-
-function parseDate(value, _ref) {
- var dateFormat = _ref.dateFormat,
- locale = _ref.locale;
-
- var m = external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default()(value, dateFormat, locale || external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default.a.locale(), true);
- return m.isValid() ? m : null;
-}
-
-// ** Date "Reflection" **
-
-function isMoment(date) {
- return external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default.a.isMoment(date);
-}
-
-function isDate(date) {
- return external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default.a.isDate(date);
-}
-
-// ** Date Formatting **
-
-function formatDate(date, format) {
- return date.format(format);
-}
-
-function safeDateFormat(date, _ref2) {
- var dateFormat = _ref2.dateFormat,
- locale = _ref2.locale;
-
- return date && date.clone().locale(locale || external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default.a.locale()).format(Array.isArray(dateFormat) ? dateFormat[0] : dateFormat) || "";
-}
-
-// ** Date Setters **
-
-function setTime(date, _ref3) {
- var hour = _ref3.hour,
- minute = _ref3.minute,
- second = _ref3.second;
-
- date.set({ hour: hour, minute: minute, second: second });
- return date;
-}
-
-function setMonth(date, month) {
- return set$1(date, "month", month);
-}
-
-function setYear(date, year) {
- return set$1(date, "year", year);
-}
-
-
-
-// ** Date Getters **
-
-function getSecond(date) {
- return get$1(date, "second");
-}
-
-function getMinute(date) {
- return get$1(date, "minute");
-}
-
-function getHour(date) {
- return get$1(date, "hour");
-}
-
-// Returns day of week
-function getDay(date) {
- return get$1(date, "day");
-}
-
-function getWeek(date) {
- return get$1(date, "week");
-}
-
-function getMonth(date) {
- return get$1(date, "month");
-}
-
-function getYear(date) {
- return get$1(date, "year");
-}
-
-// Returns day of month
-function getDate(date) {
- return get$1(date, "date");
-}
-
-
-
-function getDayOfWeekCode(day) {
- return dayOfWeekCodes[day.isoWeekday()];
-}
-
-// *** Start of ***
-
-function getStartOfDay(date) {
- return getStartOf(date, "day");
-}
-
-function getStartOfWeek(date) {
- return getStartOf(date, "week");
-}
-function getStartOfMonth(date) {
- return getStartOf(date, "month");
-}
-
-function getStartOfDate(date) {
- return getStartOf(date, "date");
-}
-
-// *** End of ***
-
-
-
-
-
-// ** Date Math **
-
-// *** Addition ***
-
-function addMinutes(date, amount) {
- return add(date, amount, "minutes");
-}
-
-function addHours(date, amount) {
- return add(date, amount, "hours");
-}
-
-function addDays(date, amount) {
- return add(date, amount, "days");
-}
-
-function addWeeks(date, amount) {
- return add(date, amount, "weeks");
-}
-
-function addMonths(date, amount) {
- return add(date, amount, "months");
-}
-
-function addYears(date, amount) {
- return add(date, amount, "years");
-}
-
-// *** Subtraction ***
-function subtractDays(date, amount) {
- return subtract(date, amount, "days");
-}
-
-function subtractWeeks(date, amount) {
- return subtract(date, amount, "weeks");
-}
-
-function subtractMonths(date, amount) {
- return subtract(date, amount, "months");
-}
-
-function subtractYears(date, amount) {
- return subtract(date, amount, "years");
-}
-
-// ** Date Comparison **
-
-function isBefore(date1, date2) {
- return date1.isBefore(date2);
-}
-
-function isAfter(date1, date2) {
- return date1.isAfter(date2);
-}
-
-function equals(date1, date2) {
- return date1.isSame(date2);
-}
-
-function isSameYear(date1, date2) {
- if (date1 && date2) {
- return date1.isSame(date2, "year");
- } else {
- return !date1 && !date2;
- }
-}
-
-function isSameMonth(date1, date2) {
- if (date1 && date2) {
- return date1.isSame(date2, "month");
- } else {
- return !date1 && !date2;
- }
-}
-
-function isSameDay(moment1, moment2) {
- if (moment1 && moment2) {
- return moment1.isSame(moment2, "day");
- } else {
- return !moment1 && !moment2;
- }
-}
-
-
-
-function isDayInRange(day, startDate, endDate) {
- var before = startDate.clone().startOf("day").subtract(1, "seconds");
- var after = endDate.clone().startOf("day").add(1, "seconds");
- return day.clone().startOf("day").isBetween(before, after);
-}
-
-// *** Diffing ***
-
-
-
-// ** Date Localization **
-
-function localizeDate(date, locale) {
- return date.clone().locale(locale || external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default.a.locale());
-}
-
-
-
-
-
-
-
-function getLocaleData(date) {
- return date.localeData();
-}
-
-function getLocaleDataForLocale(locale) {
- return external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default.a.localeData(locale);
-}
-
-function getFormattedWeekdayInLocale(locale, date, formatFunc) {
- return formatFunc(locale.weekdays(date));
-}
-
-function getWeekdayMinInLocale(locale, date) {
- return locale.weekdaysMin(date);
-}
-
-function getWeekdayShortInLocale(locale, date) {
- return locale.weekdaysShort(date);
-}
-
-// TODO what is this format exactly?
-function getMonthInLocale(locale, date, format) {
- return locale.months(date, format);
-}
-
-function getMonthShortInLocale(locale, date) {
- return locale.monthsShort(date);
-}
-
-// ** Utils for some components **
-
-function isDayDisabled(day) {
- var _ref4 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
- minDate = _ref4.minDate,
- maxDate = _ref4.maxDate,
- excludeDates = _ref4.excludeDates,
- includeDates = _ref4.includeDates,
- filterDate = _ref4.filterDate;
-
- return minDate && day.isBefore(minDate, "day") || maxDate && day.isAfter(maxDate, "day") || excludeDates && excludeDates.some(function (excludeDate) {
- return isSameDay(day, excludeDate);
- }) || includeDates && !includeDates.some(function (includeDate) {
- return isSameDay(day, includeDate);
- }) || filterDate && !filterDate(day.clone()) || false;
-}
-
-function isTimeDisabled(time, disabledTimes) {
- var l = disabledTimes.length;
- for (var i = 0; i < l; i++) {
- if (disabledTimes[i].get("hours") === time.get("hours") && disabledTimes[i].get("minutes") === time.get("minutes")) {
- return true;
- }
- }
-
- return false;
-}
-
-function isTimeInDisabledRange(time, _ref5) {
- var minTime = _ref5.minTime,
- maxTime = _ref5.maxTime;
-
- if (!minTime || !maxTime) {
- throw new Error("Both minTime and maxTime props required");
- }
-
- var base = external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default()().hours(0).minutes(0).seconds(0);
- var baseTime = base.clone().hours(time.get("hours")).minutes(time.get("minutes"));
- var min = base.clone().hours(minTime.get("hours")).minutes(minTime.get("minutes"));
- var max = base.clone().hours(maxTime.get("hours")).minutes(maxTime.get("minutes"));
-
- return !(baseTime.isSameOrAfter(min) && baseTime.isSameOrBefore(max));
-}
-
-function allDaysDisabledBefore(day, unit) {
- var _ref6 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
- minDate = _ref6.minDate,
- includeDates = _ref6.includeDates;
-
- var dateBefore = day.clone().subtract(1, unit);
- return minDate && dateBefore.isBefore(minDate, unit) || includeDates && includeDates.every(function (includeDate) {
- return dateBefore.isBefore(includeDate, unit);
- }) || false;
-}
-
-function allDaysDisabledAfter(day, unit) {
- var _ref7 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
- maxDate = _ref7.maxDate,
- includeDates = _ref7.includeDates;
-
- var dateAfter = day.clone().add(1, unit);
- return maxDate && dateAfter.isAfter(maxDate, unit) || includeDates && includeDates.every(function (includeDate) {
- return dateAfter.isAfter(includeDate, unit);
- }) || false;
-}
-
-function getEffectiveMinDate(_ref8) {
- var minDate = _ref8.minDate,
- includeDates = _ref8.includeDates;
-
- if (includeDates && minDate) {
- return external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default.a.min(includeDates.filter(function (includeDate) {
- return minDate.isSameOrBefore(includeDate, "day");
- }));
- } else if (includeDates) {
- return external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default.a.min(includeDates);
- } else {
- return minDate;
- }
-}
-
-function getEffectiveMaxDate(_ref9) {
- var maxDate = _ref9.maxDate,
- includeDates = _ref9.includeDates;
-
- if (includeDates && maxDate) {
- return external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default.a.max(includeDates.filter(function (includeDate) {
- return maxDate.isSameOrAfter(includeDate, "day");
- }));
- } else if (includeDates) {
- return external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default.a.max(includeDates);
- } else {
- return maxDate;
- }
-}
-
-function getHightLightDaysMap() {
- var highlightDates = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
- var defaultClassName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "react-datepicker__day--highlighted";
-
- var dateClasses = new Map();
- for (var i = 0, len = highlightDates.length; i < len; i++) {
- var obj = highlightDates[i];
- if (isMoment(obj)) {
- var key = obj.format("MM.DD.YYYY");
- var classNamesArr = dateClasses.get(key) || [];
- if (!classNamesArr.includes(defaultClassName)) {
- classNamesArr.push(defaultClassName);
- dateClasses.set(key, classNamesArr);
- }
- } else if ((typeof obj === "undefined" ? "undefined" : es__typeof(obj)) === "object") {
- var keys = Object.keys(obj);
- var className = keys[0];
- var arrOfMoments = obj[keys[0]];
- if (typeof className === "string" && arrOfMoments.constructor === Array) {
- for (var k = 0, _len = arrOfMoments.length; k < _len; k++) {
- var _key = arrOfMoments[k].format("MM.DD.YYYY");
- var _classNamesArr = dateClasses.get(_key) || [];
- if (!_classNamesArr.includes(className)) {
- _classNamesArr.push(className);
- dateClasses.set(_key, _classNamesArr);
- }
- }
- }
- }
- }
-
- return dateClasses;
-}
-
-function timesToInjectAfter(startOfDay, currentTime, currentMultiplier, intervals, injectedTimes) {
- var l = injectedTimes.length;
- var times = [];
- for (var i = 0; i < l; i++) {
- var injectedTime = addMinutes(addHours(cloneDate(startOfDay), getHour(injectedTimes[i])), getMinute(injectedTimes[i]));
- var nextTime = addMinutes(cloneDate(startOfDay), (currentMultiplier + 1) * intervals);
-
- if (injectedTime.isBetween(currentTime, nextTime)) {
- times.push(injectedTimes[i]);
- }
- }
-
- return times;
-}
-
-var WrappedYearDropdownOptions = react_onclickoutside_es(es_YearDropdownOptions);
-
-var es_YearDropdown = function (_React$Component) {
- es_inherits(YearDropdown, _React$Component);
-
- function YearDropdown() {
- var _temp, _this, _ret;
-
- es_classCallCheck(this, YearDropdown);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = es_possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
- dropdownVisible: false
- }, _this.renderSelectOptions = function () {
- var minYear = _this.props.minDate ? getYear(_this.props.minDate) : 1900;
- var maxYear = _this.props.maxDate ? getYear(_this.props.maxDate) : 2100;
-
- var options = [];
- for (var i = minYear; i <= maxYear; i++) {
- options.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "option",
- { key: i, value: i },
- i
- ));
- }
- return options;
- }, _this.onSelectChange = function (e) {
- _this.onChange(e.target.value);
- }, _this.renderSelectMode = function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "select",
- {
- value: _this.props.year,
- className: "react-datepicker__year-select",
- onChange: _this.onSelectChange
- },
- _this.renderSelectOptions()
- );
- }, _this.renderReadView = function (visible) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- key: "read",
- style: { visibility: visible ? "visible" : "hidden" },
- className: "react-datepicker__year-read-view",
- onClick: function onClick(event) {
- return _this.toggleDropdown(event);
- }
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", { className: "react-datepicker__year-read-view--down-arrow" }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "span",
- { className: "react-datepicker__year-read-view--selected-year" },
- _this.props.year
- )
- );
- }, _this.renderDropdown = function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(WrappedYearDropdownOptions, {
- key: "dropdown",
- ref: "options",
- year: _this.props.year,
- onChange: _this.onChange,
- onCancel: _this.toggleDropdown,
- minDate: _this.props.minDate,
- maxDate: _this.props.maxDate,
- scrollableYearDropdown: _this.props.scrollableYearDropdown,
- yearDropdownItemNumber: _this.props.yearDropdownItemNumber
- });
- }, _this.renderScrollMode = function () {
- var dropdownVisible = _this.state.dropdownVisible;
-
- var result = [_this.renderReadView(!dropdownVisible)];
- if (dropdownVisible) {
- result.unshift(_this.renderDropdown());
- }
- return result;
- }, _this.onChange = function (year) {
- _this.toggleDropdown();
- if (year === _this.props.year) return;
- _this.props.onChange(year);
- }, _this.toggleDropdown = function (event) {
- _this.setState({
- dropdownVisible: !_this.state.dropdownVisible
- }, function () {
- if (_this.props.adjustDateOnChange) {
- _this.handleYearChange(_this.props.date, event);
- }
- });
- }, _this.handleYearChange = function (date, event) {
- _this.onSelect(date, event);
- _this.setOpen();
- }, _this.onSelect = function (date, event) {
- if (_this.props.onSelect) {
- _this.props.onSelect(date, event);
- }
- }, _this.setOpen = function () {
- if (_this.props.setOpen) {
- _this.props.setOpen(true);
- }
- }, _temp), es_possibleConstructorReturn(_this, _ret);
- }
-
- YearDropdown.prototype.render = function render() {
- var renderedDropdown = void 0;
- switch (this.props.dropdownMode) {
- case "scroll":
- renderedDropdown = this.renderScrollMode();
- break;
- case "select":
- renderedDropdown = this.renderSelectMode();
- break;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: "react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--" + this.props.dropdownMode
- },
- renderedDropdown
- );
- };
-
- return YearDropdown;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_YearDropdown.propTypes = {
- adjustDateOnChange: prop_types_default.a.bool,
- dropdownMode: prop_types_default.a.oneOf(["scroll", "select"]).isRequired,
- maxDate: prop_types_default.a.object,
- minDate: prop_types_default.a.object,
- onChange: prop_types_default.a.func.isRequired,
- scrollableYearDropdown: prop_types_default.a.bool,
- year: prop_types_default.a.number.isRequired,
- yearDropdownItemNumber: prop_types_default.a.number,
- date: prop_types_default.a.object,
- onSelect: prop_types_default.a.func,
- setOpen: prop_types_default.a.func
-};
-
-var es_MonthDropdownOptions = function (_React$Component) {
- es_inherits(MonthDropdownOptions, _React$Component);
-
- function MonthDropdownOptions() {
- var _temp, _this, _ret;
-
- es_classCallCheck(this, MonthDropdownOptions);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = es_possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.renderOptions = function () {
- return _this.props.monthNames.map(function (month, i) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: _this.props.month === i ? "react-datepicker__month-option --selected_month" : "react-datepicker__month-option",
- key: month,
- ref: month,
- onClick: _this.onChange.bind(_this, i)
- },
- _this.props.month === i ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "span",
- { className: "react-datepicker__month-option--selected" },
- "\u2713"
- ) : "",
- month
- );
- });
- }, _this.onChange = function (month) {
- return _this.props.onChange(month);
- }, _this.handleClickOutside = function () {
- return _this.props.onCancel();
- }, _temp), es_possibleConstructorReturn(_this, _ret);
- }
-
- MonthDropdownOptions.prototype.render = function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: "react-datepicker__month-dropdown" },
- this.renderOptions()
- );
- };
-
- return MonthDropdownOptions;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_MonthDropdownOptions.propTypes = {
- onCancel: prop_types_default.a.func.isRequired,
- onChange: prop_types_default.a.func.isRequired,
- month: prop_types_default.a.number.isRequired,
- monthNames: prop_types_default.a.arrayOf(prop_types_default.a.string.isRequired).isRequired
-};
-
-var WrappedMonthDropdownOptions = react_onclickoutside_es(es_MonthDropdownOptions);
-
-var es_MonthDropdown = function (_React$Component) {
- es_inherits(MonthDropdown, _React$Component);
-
- function MonthDropdown() {
- var _temp, _this, _ret;
-
- es_classCallCheck(this, MonthDropdown);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = es_possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
- dropdownVisible: false
- }, _this.renderSelectOptions = function (monthNames) {
- return monthNames.map(function (M, i) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "option",
- { key: i, value: i },
- M
- );
- });
- }, _this.renderSelectMode = function (monthNames) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "select",
- {
- value: _this.props.month,
- className: "react-datepicker__month-select",
- onChange: function onChange(e) {
- return _this.onChange(e.target.value);
- }
- },
- _this.renderSelectOptions(monthNames)
- );
- }, _this.renderReadView = function (visible, monthNames) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- key: "read",
- style: { visibility: visible ? "visible" : "hidden" },
- className: "react-datepicker__month-read-view",
- onClick: _this.toggleDropdown
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", { className: "react-datepicker__month-read-view--down-arrow" }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "span",
- { className: "react-datepicker__month-read-view--selected-month" },
- monthNames[_this.props.month]
- )
- );
- }, _this.renderDropdown = function (monthNames) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(WrappedMonthDropdownOptions, {
- key: "dropdown",
- ref: "options",
- month: _this.props.month,
- monthNames: monthNames,
- onChange: _this.onChange,
- onCancel: _this.toggleDropdown
- });
- }, _this.renderScrollMode = function (monthNames) {
- var dropdownVisible = _this.state.dropdownVisible;
-
- var result = [_this.renderReadView(!dropdownVisible, monthNames)];
- if (dropdownVisible) {
- result.unshift(_this.renderDropdown(monthNames));
- }
- return result;
- }, _this.onChange = function (month) {
- _this.toggleDropdown();
- if (month !== _this.props.month) {
- _this.props.onChange(month);
- }
- }, _this.toggleDropdown = function () {
- return _this.setState({
- dropdownVisible: !_this.state.dropdownVisible
- });
- }, _temp), es_possibleConstructorReturn(_this, _ret);
- }
-
- MonthDropdown.prototype.render = function render() {
- var _this2 = this;
-
- var localeData = getLocaleDataForLocale(this.props.locale);
- var monthNames = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].map(this.props.useShortMonthInDropdown ? function (M) {
- return getMonthShortInLocale(localeData, newDate({ M: M }));
- } : function (M) {
- return getMonthInLocale(localeData, newDate({ M: M }), _this2.props.dateFormat);
- });
-
- var renderedDropdown = void 0;
- switch (this.props.dropdownMode) {
- case "scroll":
- renderedDropdown = this.renderScrollMode(monthNames);
- break;
- case "select":
- renderedDropdown = this.renderSelectMode(monthNames);
- break;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: "react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--" + this.props.dropdownMode
- },
- renderedDropdown
- );
- };
-
- return MonthDropdown;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_MonthDropdown.propTypes = {
- dropdownMode: prop_types_default.a.oneOf(["scroll", "select"]).isRequired,
- locale: prop_types_default.a.string,
- dateFormat: prop_types_default.a.string.isRequired,
- month: prop_types_default.a.number.isRequired,
- onChange: prop_types_default.a.func.isRequired,
- useShortMonthInDropdown: prop_types_default.a.bool
-};
-
-function generateMonthYears(minDate, maxDate) {
- var list = [];
-
- var currDate = getStartOfMonth(cloneDate(minDate));
- var lastDate = getStartOfMonth(cloneDate(maxDate));
-
- while (!isAfter(currDate, lastDate)) {
- list.push(cloneDate(currDate));
-
- addMonths(currDate, 1);
- }
-
- return list;
-}
-
-var es_MonthYearDropdownOptions = function (_React$Component) {
- es_inherits(MonthYearDropdownOptions, _React$Component);
-
- function MonthYearDropdownOptions(props) {
- es_classCallCheck(this, MonthYearDropdownOptions);
-
- var _this = es_possibleConstructorReturn(this, _React$Component.call(this, props));
-
- _this.renderOptions = function () {
- return _this.state.monthYearsList.map(function (monthYear) {
- var monthYearPoint = monthYear.valueOf();
-
- var isSameMonthYear = isSameYear(_this.props.date, monthYear) && isSameMonth(_this.props.date, monthYear);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: isSameMonthYear ? "react-datepicker__month-year-option --selected_month-year" : "react-datepicker__month-year-option",
- key: monthYearPoint,
- ref: monthYearPoint,
- onClick: _this.onChange.bind(_this, monthYearPoint)
- },
- isSameMonthYear ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "span",
- { className: "react-datepicker__month-year-option--selected" },
- "\u2713"
- ) : "",
- formatDate(monthYear, _this.props.dateFormat)
- );
- });
- };
-
- _this.onChange = function (monthYear) {
- return _this.props.onChange(monthYear);
- };
-
- _this.handleClickOutside = function () {
- _this.props.onCancel();
- };
-
- _this.state = {
- monthYearsList: generateMonthYears(_this.props.minDate, _this.props.maxDate)
- };
- return _this;
- }
-
- MonthYearDropdownOptions.prototype.render = function render() {
- var dropdownClass = classnames_default()({
- "react-datepicker__month-year-dropdown": true,
- "react-datepicker__month-year-dropdown--scrollable": this.props.scrollableMonthYearDropdown
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: dropdownClass },
- this.renderOptions()
- );
- };
-
- return MonthYearDropdownOptions;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_MonthYearDropdownOptions.propTypes = {
- minDate: prop_types_default.a.object.isRequired,
- maxDate: prop_types_default.a.object.isRequired,
- onCancel: prop_types_default.a.func.isRequired,
- onChange: prop_types_default.a.func.isRequired,
- scrollableMonthYearDropdown: prop_types_default.a.bool,
- date: prop_types_default.a.object.isRequired,
- dateFormat: prop_types_default.a.string.isRequired
-};
-
-var WrappedMonthYearDropdownOptions = react_onclickoutside_es(es_MonthYearDropdownOptions);
-
-var es_MonthYearDropdown = function (_React$Component) {
- es_inherits(MonthYearDropdown, _React$Component);
-
- function MonthYearDropdown() {
- var _temp, _this, _ret;
-
- es_classCallCheck(this, MonthYearDropdown);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = es_possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
- dropdownVisible: false
- }, _this.renderSelectOptions = function () {
- var currDate = getStartOfMonth(localizeDate(_this.props.minDate, _this.props.locale));
- var lastDate = getStartOfMonth(localizeDate(_this.props.maxDate, _this.props.locale));
-
- var options = [];
-
- while (!isAfter(currDate, lastDate)) {
- var timepoint = currDate.valueOf();
- options.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "option",
- { key: timepoint, value: timepoint },
- formatDate(currDate, _this.props.dateFormat)
- ));
-
- addMonths(currDate, 1);
- }
-
- return options;
- }, _this.onSelectChange = function (e) {
- _this.onChange(e.target.value);
- }, _this.renderSelectMode = function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "select",
- {
- value: getStartOfMonth(_this.props.date).valueOf(),
- className: "react-datepicker__month-year-select",
- onChange: _this.onSelectChange
- },
- _this.renderSelectOptions()
- );
- }, _this.renderReadView = function (visible) {
- var yearMonth = formatDate(localizeDate(newDate(_this.props.date), _this.props.locale), _this.props.dateFormat);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- key: "read",
- style: { visibility: visible ? "visible" : "hidden" },
- className: "react-datepicker__month-year-read-view",
- onClick: function onClick(event) {
- return _this.toggleDropdown(event);
- }
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", { className: "react-datepicker__month-year-read-view--down-arrow" }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "span",
- { className: "react-datepicker__month-year-read-view--selected-month-year" },
- yearMonth
- )
- );
- }, _this.renderDropdown = function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(WrappedMonthYearDropdownOptions, {
- key: "dropdown",
- ref: "options",
- date: _this.props.date,
- dateFormat: _this.props.dateFormat,
- onChange: _this.onChange,
- onCancel: _this.toggleDropdown,
- minDate: localizeDate(_this.props.minDate, _this.props.locale),
- maxDate: localizeDate(_this.props.maxDate, _this.props.locale),
- scrollableMonthYearDropdown: _this.props.scrollableMonthYearDropdown
- });
- }, _this.renderScrollMode = function () {
- var dropdownVisible = _this.state.dropdownVisible;
-
- var result = [_this.renderReadView(!dropdownVisible)];
- if (dropdownVisible) {
- result.unshift(_this.renderDropdown());
- }
- return result;
- }, _this.onChange = function (monthYearPoint) {
- _this.toggleDropdown();
-
- var changedDate = newDate(parseInt(monthYearPoint));
-
- if (isSameYear(_this.props.date, changedDate) && isSameMonth(_this.props.date, changedDate)) {
- return;
- }
-
- _this.props.onChange(changedDate);
- }, _this.toggleDropdown = function () {
- return _this.setState({
- dropdownVisible: !_this.state.dropdownVisible
- });
- }, _temp), es_possibleConstructorReturn(_this, _ret);
- }
-
- MonthYearDropdown.prototype.render = function render() {
- var renderedDropdown = void 0;
- switch (this.props.dropdownMode) {
- case "scroll":
- renderedDropdown = this.renderScrollMode();
- break;
- case "select":
- renderedDropdown = this.renderSelectMode();
- break;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: "react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--" + this.props.dropdownMode
- },
- renderedDropdown
- );
- };
-
- return MonthYearDropdown;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_MonthYearDropdown.propTypes = {
- dropdownMode: prop_types_default.a.oneOf(["scroll", "select"]).isRequired,
- dateFormat: prop_types_default.a.string.isRequired,
- locale: prop_types_default.a.string,
- maxDate: prop_types_default.a.object.isRequired,
- minDate: prop_types_default.a.object.isRequired,
- date: prop_types_default.a.object.isRequired,
- onChange: prop_types_default.a.func.isRequired,
- scrollableMonthYearDropdown: prop_types_default.a.bool
-};
-
-var es_Day = function (_React$Component) {
- es_inherits(Day, _React$Component);
-
- function Day() {
- var _temp, _this, _ret;
-
- es_classCallCheck(this, Day);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = es_possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleClick = function (event) {
- if (!_this.isDisabled() && _this.props.onClick) {
- _this.props.onClick(event);
- }
- }, _this.handleMouseEnter = function (event) {
- if (!_this.isDisabled() && _this.props.onMouseEnter) {
- _this.props.onMouseEnter(event);
- }
- }, _this.isSameDay = function (other) {
- return isSameDay(_this.props.day, other);
- }, _this.isKeyboardSelected = function () {
- return !_this.props.inline && !_this.isSameDay(_this.props.selected) && _this.isSameDay(_this.props.preSelection);
- }, _this.isDisabled = function () {
- return isDayDisabled(_this.props.day, _this.props);
- }, _this.getHighLightedClass = function (defaultClassName) {
- var _this$props = _this.props,
- day = _this$props.day,
- highlightDates = _this$props.highlightDates;
-
-
- if (!highlightDates) {
- return false;
- }
-
- // Looking for className in the Map of {'day string, 'className'}
- var dayStr = day.format("MM.DD.YYYY");
- return highlightDates.get(dayStr);
- }, _this.isInRange = function () {
- var _this$props2 = _this.props,
- day = _this$props2.day,
- startDate = _this$props2.startDate,
- endDate = _this$props2.endDate;
-
- if (!startDate || !endDate) {
- return false;
- }
- return isDayInRange(day, startDate, endDate);
- }, _this.isInSelectingRange = function () {
- var _this$props3 = _this.props,
- day = _this$props3.day,
- selectsStart = _this$props3.selectsStart,
- selectsEnd = _this$props3.selectsEnd,
- selectingDate = _this$props3.selectingDate,
- startDate = _this$props3.startDate,
- endDate = _this$props3.endDate;
-
-
- if (!(selectsStart || selectsEnd) || !selectingDate || _this.isDisabled()) {
- return false;
- }
-
- if (selectsStart && endDate && selectingDate.isSameOrBefore(endDate)) {
- return isDayInRange(day, selectingDate, endDate);
- }
-
- if (selectsEnd && startDate && selectingDate.isSameOrAfter(startDate)) {
- return isDayInRange(day, startDate, selectingDate);
- }
-
- return false;
- }, _this.isSelectingRangeStart = function () {
- if (!_this.isInSelectingRange()) {
- return false;
- }
-
- var _this$props4 = _this.props,
- day = _this$props4.day,
- selectingDate = _this$props4.selectingDate,
- startDate = _this$props4.startDate,
- selectsStart = _this$props4.selectsStart;
-
-
- if (selectsStart) {
- return isSameDay(day, selectingDate);
- } else {
- return isSameDay(day, startDate);
- }
- }, _this.isSelectingRangeEnd = function () {
- if (!_this.isInSelectingRange()) {
- return false;
- }
-
- var _this$props5 = _this.props,
- day = _this$props5.day,
- selectingDate = _this$props5.selectingDate,
- endDate = _this$props5.endDate,
- selectsEnd = _this$props5.selectsEnd;
-
-
- if (selectsEnd) {
- return isSameDay(day, selectingDate);
- } else {
- return isSameDay(day, endDate);
- }
- }, _this.isRangeStart = function () {
- var _this$props6 = _this.props,
- day = _this$props6.day,
- startDate = _this$props6.startDate,
- endDate = _this$props6.endDate;
-
- if (!startDate || !endDate) {
- return false;
- }
- return isSameDay(startDate, day);
- }, _this.isRangeEnd = function () {
- var _this$props7 = _this.props,
- day = _this$props7.day,
- startDate = _this$props7.startDate,
- endDate = _this$props7.endDate;
-
- if (!startDate || !endDate) {
- return false;
- }
- return isSameDay(endDate, day);
- }, _this.isWeekend = function () {
- var weekday = getDay(_this.props.day);
- return weekday === 0 || weekday === 6;
- }, _this.isOutsideMonth = function () {
- return _this.props.month !== undefined && _this.props.month !== getMonth(_this.props.day);
- }, _this.getClassNames = function (date) {
- var dayClassName = _this.props.dayClassName ? _this.props.dayClassName(date) : undefined;
- return classnames_default()("react-datepicker__day", dayClassName, "react-datepicker__day--" + getDayOfWeekCode(_this.props.day), {
- "react-datepicker__day--disabled": _this.isDisabled(),
- "react-datepicker__day--selected": _this.isSameDay(_this.props.selected),
- "react-datepicker__day--keyboard-selected": _this.isKeyboardSelected(),
- "react-datepicker__day--range-start": _this.isRangeStart(),
- "react-datepicker__day--range-end": _this.isRangeEnd(),
- "react-datepicker__day--in-range": _this.isInRange(),
- "react-datepicker__day--in-selecting-range": _this.isInSelectingRange(),
- "react-datepicker__day--selecting-range-start": _this.isSelectingRangeStart(),
- "react-datepicker__day--selecting-range-end": _this.isSelectingRangeEnd(),
- "react-datepicker__day--today": _this.isSameDay(now(_this.props.utcOffset)),
- "react-datepicker__day--weekend": _this.isWeekend(),
- "react-datepicker__day--outside-month": _this.isOutsideMonth()
- }, _this.getHighLightedClass("react-datepicker__day--highlighted"));
- }, _temp), es_possibleConstructorReturn(_this, _ret);
- }
-
- Day.prototype.render = function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: this.getClassNames(this.props.day),
- onClick: this.handleClick,
- onMouseEnter: this.handleMouseEnter,
- "aria-label": "day-" + getDate(this.props.day),
- role: "option"
- },
- getDate(this.props.day)
- );
- };
-
- return Day;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_Day.propTypes = {
- day: prop_types_default.a.object.isRequired,
- dayClassName: prop_types_default.a.func,
- endDate: prop_types_default.a.object,
- highlightDates: prop_types_default.a.instanceOf(Map),
- inline: prop_types_default.a.bool,
- month: prop_types_default.a.number,
- onClick: prop_types_default.a.func,
- onMouseEnter: prop_types_default.a.func,
- preSelection: prop_types_default.a.object,
- selected: prop_types_default.a.object,
- selectingDate: prop_types_default.a.object,
- selectsEnd: prop_types_default.a.bool,
- selectsStart: prop_types_default.a.bool,
- startDate: prop_types_default.a.object,
- utcOffset: prop_types_default.a.number
-};
-
-var es_WeekNumber = function (_React$Component) {
- es_inherits(WeekNumber, _React$Component);
-
- function WeekNumber() {
- var _temp, _this, _ret;
-
- es_classCallCheck(this, WeekNumber);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = es_possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleClick = function (event) {
- if (_this.props.onClick) {
- _this.props.onClick(event);
- }
- }, _temp), es_possibleConstructorReturn(_this, _ret);
- }
-
- WeekNumber.prototype.render = function render() {
- var weekNumberClasses = {
- "react-datepicker__week-number": true,
- "react-datepicker__week-number--clickable": !!this.props.onClick
- };
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: classnames_default()(weekNumberClasses),
- "aria-label": "week-" + this.props.weekNumber,
- onClick: this.handleClick
- },
- this.props.weekNumber
- );
- };
-
- return WeekNumber;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_WeekNumber.propTypes = {
- weekNumber: prop_types_default.a.number.isRequired,
- onClick: prop_types_default.a.func
-};
-
-var es_Week = function (_React$Component) {
- es_inherits(Week, _React$Component);
-
- function Week() {
- var _temp, _this, _ret;
-
- es_classCallCheck(this, Week);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = es_possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleDayClick = function (day, event) {
- if (_this.props.onDayClick) {
- _this.props.onDayClick(day, event);
- }
- }, _this.handleDayMouseEnter = function (day) {
- if (_this.props.onDayMouseEnter) {
- _this.props.onDayMouseEnter(day);
- }
- }, _this.handleWeekClick = function (day, weekNumber, event) {
- if (typeof _this.props.onWeekSelect === "function") {
- _this.props.onWeekSelect(day, weekNumber, event);
- }
- }, _this.formatWeekNumber = function (startOfWeek) {
- if (_this.props.formatWeekNumber) {
- return _this.props.formatWeekNumber(startOfWeek);
- }
- return getWeek(startOfWeek);
- }, _this.renderDays = function () {
- var startOfWeek = getStartOfWeek(cloneDate(_this.props.day));
- var days = [];
- var weekNumber = _this.formatWeekNumber(startOfWeek);
- if (_this.props.showWeekNumber) {
- var onClickAction = _this.props.onWeekSelect ? _this.handleWeekClick.bind(_this, startOfWeek, weekNumber) : undefined;
- days.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_WeekNumber, { key: "W", weekNumber: weekNumber, onClick: onClickAction }));
- }
- return days.concat([0, 1, 2, 3, 4, 5, 6].map(function (offset) {
- var day = addDays(cloneDate(startOfWeek), offset);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_Day, {
- key: offset,
- day: day,
- month: _this.props.month,
- onClick: _this.handleDayClick.bind(_this, day),
- onMouseEnter: _this.handleDayMouseEnter.bind(_this, day),
- minDate: _this.props.minDate,
- maxDate: _this.props.maxDate,
- excludeDates: _this.props.excludeDates,
- includeDates: _this.props.includeDates,
- inline: _this.props.inline,
- highlightDates: _this.props.highlightDates,
- selectingDate: _this.props.selectingDate,
- filterDate: _this.props.filterDate,
- preSelection: _this.props.preSelection,
- selected: _this.props.selected,
- selectsStart: _this.props.selectsStart,
- selectsEnd: _this.props.selectsEnd,
- startDate: _this.props.startDate,
- endDate: _this.props.endDate,
- dayClassName: _this.props.dayClassName,
- utcOffset: _this.props.utcOffset
- });
- }));
- }, _temp), es_possibleConstructorReturn(_this, _ret);
- }
-
- Week.prototype.render = function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: "react-datepicker__week" },
- this.renderDays()
- );
- };
-
- return Week;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_Week.propTypes = {
- day: prop_types_default.a.object.isRequired,
- dayClassName: prop_types_default.a.func,
- endDate: prop_types_default.a.object,
- excludeDates: prop_types_default.a.array,
- filterDate: prop_types_default.a.func,
- formatWeekNumber: prop_types_default.a.func,
- highlightDates: prop_types_default.a.instanceOf(Map),
- includeDates: prop_types_default.a.array,
- inline: prop_types_default.a.bool,
- maxDate: prop_types_default.a.object,
- minDate: prop_types_default.a.object,
- month: prop_types_default.a.number,
- onDayClick: prop_types_default.a.func,
- onDayMouseEnter: prop_types_default.a.func,
- onWeekSelect: prop_types_default.a.func,
- preSelection: prop_types_default.a.object,
- selected: prop_types_default.a.object,
- selectingDate: prop_types_default.a.object,
- selectsEnd: prop_types_default.a.bool,
- selectsStart: prop_types_default.a.bool,
- showWeekNumber: prop_types_default.a.bool,
- startDate: prop_types_default.a.object,
- utcOffset: prop_types_default.a.number
-};
-
-var FIXED_HEIGHT_STANDARD_WEEK_COUNT = 6;
-
-var es_Month = function (_React$Component) {
- es_inherits(Month, _React$Component);
-
- function Month() {
- var _temp, _this, _ret;
-
- es_classCallCheck(this, Month);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = es_possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleDayClick = function (day, event) {
- if (_this.props.onDayClick) {
- _this.props.onDayClick(day, event);
- }
- }, _this.handleDayMouseEnter = function (day) {
- if (_this.props.onDayMouseEnter) {
- _this.props.onDayMouseEnter(day);
- }
- }, _this.handleMouseLeave = function () {
- if (_this.props.onMouseLeave) {
- _this.props.onMouseLeave();
- }
- }, _this.isWeekInMonth = function (startOfWeek) {
- var day = _this.props.day;
- var endOfWeek = addDays(cloneDate(startOfWeek), 6);
- return isSameMonth(startOfWeek, day) || isSameMonth(endOfWeek, day);
- }, _this.renderWeeks = function () {
- var weeks = [];
- var isFixedHeight = _this.props.fixedHeight;
- var currentWeekStart = getStartOfWeek(getStartOfMonth(cloneDate(_this.props.day)));
- var i = 0;
- var breakAfterNextPush = false;
-
- while (true) {
- weeks.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_Week, {
- key: i,
- day: currentWeekStart,
- month: getMonth(_this.props.day),
- onDayClick: _this.handleDayClick,
- onDayMouseEnter: _this.handleDayMouseEnter,
- onWeekSelect: _this.props.onWeekSelect,
- formatWeekNumber: _this.props.formatWeekNumber,
- minDate: _this.props.minDate,
- maxDate: _this.props.maxDate,
- excludeDates: _this.props.excludeDates,
- includeDates: _this.props.includeDates,
- inline: _this.props.inline,
- highlightDates: _this.props.highlightDates,
- selectingDate: _this.props.selectingDate,
- filterDate: _this.props.filterDate,
- preSelection: _this.props.preSelection,
- selected: _this.props.selected,
- selectsStart: _this.props.selectsStart,
- selectsEnd: _this.props.selectsEnd,
- showWeekNumber: _this.props.showWeekNumbers,
- startDate: _this.props.startDate,
- endDate: _this.props.endDate,
- dayClassName: _this.props.dayClassName,
- utcOffset: _this.props.utcOffset
- }));
-
- if (breakAfterNextPush) break;
-
- i++;
- currentWeekStart = addWeeks(cloneDate(currentWeekStart), 1);
-
- // If one of these conditions is true, we will either break on this week
- // or break on the next week
- var isFixedAndFinalWeek = isFixedHeight && i >= FIXED_HEIGHT_STANDARD_WEEK_COUNT;
- var isNonFixedAndOutOfMonth = !isFixedHeight && !_this.isWeekInMonth(currentWeekStart);
-
- if (isFixedAndFinalWeek || isNonFixedAndOutOfMonth) {
- if (_this.props.peekNextMonth) {
- breakAfterNextPush = true;
- } else {
- break;
- }
- }
- }
-
- return weeks;
- }, _this.getClassNames = function () {
- var _this$props = _this.props,
- selectingDate = _this$props.selectingDate,
- selectsStart = _this$props.selectsStart,
- selectsEnd = _this$props.selectsEnd;
-
- return classnames_default()("react-datepicker__month", {
- "react-datepicker__month--selecting-range": selectingDate && (selectsStart || selectsEnd)
- });
- }, _temp), es_possibleConstructorReturn(_this, _ret);
- }
-
- Month.prototype.render = function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: this.getClassNames(),
- onMouseLeave: this.handleMouseLeave,
- role: "listbox"
- },
- this.renderWeeks()
- );
- };
-
- return Month;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_Month.propTypes = {
- day: prop_types_default.a.object.isRequired,
- dayClassName: prop_types_default.a.func,
- endDate: prop_types_default.a.object,
- excludeDates: prop_types_default.a.array,
- filterDate: prop_types_default.a.func,
- fixedHeight: prop_types_default.a.bool,
- formatWeekNumber: prop_types_default.a.func,
- highlightDates: prop_types_default.a.instanceOf(Map),
- includeDates: prop_types_default.a.array,
- inline: prop_types_default.a.bool,
- maxDate: prop_types_default.a.object,
- minDate: prop_types_default.a.object,
- onDayClick: prop_types_default.a.func,
- onDayMouseEnter: prop_types_default.a.func,
- onMouseLeave: prop_types_default.a.func,
- onWeekSelect: prop_types_default.a.func,
- peekNextMonth: prop_types_default.a.bool,
- preSelection: prop_types_default.a.object,
- selected: prop_types_default.a.object,
- selectingDate: prop_types_default.a.object,
- selectsEnd: prop_types_default.a.bool,
- selectsStart: prop_types_default.a.bool,
- showWeekNumbers: prop_types_default.a.bool,
- startDate: prop_types_default.a.object,
- utcOffset: prop_types_default.a.number
-};
-
-var es_Time = function (_React$Component) {
- es_inherits(Time, _React$Component);
-
- function Time() {
- var _temp, _this, _ret;
-
- es_classCallCheck(this, Time);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = es_possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleClick = function (time) {
- if ((_this.props.minTime || _this.props.maxTime) && isTimeInDisabledRange(time, _this.props) || _this.props.excludeTimes && isTimeDisabled(time, _this.props.excludeTimes) || _this.props.includeTimes && !isTimeDisabled(time, _this.props.includeTimes)) {
- return;
- }
-
- _this.props.onChange(time);
- }, _this.liClasses = function (time, currH, currM) {
- var classes = ["react-datepicker__time-list-item"];
-
- if (currH === getHour(time) && currM === getMinute(time)) {
- classes.push("react-datepicker__time-list-item--selected");
- }
- if ((_this.props.minTime || _this.props.maxTime) && isTimeInDisabledRange(time, _this.props) || _this.props.excludeTimes && isTimeDisabled(time, _this.props.excludeTimes) || _this.props.includeTimes && !isTimeDisabled(time, _this.props.includeTimes)) {
- classes.push("react-datepicker__time-list-item--disabled");
- }
- if (_this.props.injectTimes && (getHour(time) * 60 + getMinute(time)) % _this.props.intervals !== 0) {
- classes.push("react-datepicker__time-list-item--injected");
- }
-
- return classes.join(" ");
- }, _this.renderTimes = function () {
- var times = [];
- var format = _this.props.format ? _this.props.format : "hh:mm A";
- var intervals = _this.props.intervals;
- var activeTime = _this.props.selected ? _this.props.selected : newDate();
- var currH = getHour(activeTime);
- var currM = getMinute(activeTime);
- var base = getStartOfDay(newDate());
- var multiplier = 1440 / intervals;
- var sortedInjectTimes = _this.props.injectTimes && _this.props.injectTimes.sort(function (a, b) {
- return a - b;
- });
- for (var i = 0; i < multiplier; i++) {
- var currentTime = addMinutes(cloneDate(base), i * intervals);
- times.push(currentTime);
-
- if (sortedInjectTimes) {
- var timesToInject = timesToInjectAfter(base, currentTime, i, intervals, sortedInjectTimes);
- times = times.concat(timesToInject);
- }
- }
-
- return times.map(function (time, i) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "li",
- {
- key: i,
- onClick: _this.handleClick.bind(_this, time),
- className: _this.liClasses(time, currH, currM)
- },
- formatDate(time, format)
- );
- });
- }, _temp), es_possibleConstructorReturn(_this, _ret);
- }
-
- Time.prototype.componentDidMount = function componentDidMount() {
- // code to ensure selected time will always be in focus within time window when it first appears
- var multiplier = 60 / this.props.intervals;
- var currH = this.props.selected ? getHour(this.props.selected) : getHour(newDate());
- this.list.scrollTop = 30 * (multiplier * currH);
- };
-
- Time.prototype.render = function render() {
- var _this2 = this;
-
- var height = null;
- if (this.props.monthRef) {
- height = this.props.monthRef.clientHeight - 39;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: "react-datepicker__time-container " + (this.props.todayButton ? "react-datepicker__time-container--with-today-button" : "")
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: "react-datepicker__header react-datepicker__header--time" },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: "react-datepicker-time__header" },
- this.props.timeCaption
- )
- ),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: "react-datepicker__time" },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: "react-datepicker__time-box" },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "ul",
- {
- className: "react-datepicker__time-list",
- ref: function ref(list) {
- _this2.list = list;
- },
- style: height ? { height: height } : {}
- },
- this.renderTimes.bind(this)()
- )
- )
- )
- );
- };
-
- es_createClass(Time, null, [{
- key: "defaultProps",
- get: function get$$1() {
- return {
- intervals: 30,
- onTimeChange: function onTimeChange() {},
- todayButton: null,
- timeCaption: "Time"
- };
- }
- }]);
- return Time;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_Time.propTypes = {
- format: prop_types_default.a.string,
- includeTimes: prop_types_default.a.array,
- intervals: prop_types_default.a.number,
- selected: prop_types_default.a.object,
- onChange: prop_types_default.a.func,
- todayButton: prop_types_default.a.string,
- minTime: prop_types_default.a.object,
- maxTime: prop_types_default.a.object,
- excludeTimes: prop_types_default.a.array,
- monthRef: prop_types_default.a.object,
- timeCaption: prop_types_default.a.string,
- injectTimes: prop_types_default.a.array
-};
-
-function CalendarContainer(_ref) {
- var className = _ref.className,
- children = _ref.children;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: className },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", { className: "react-datepicker__triangle" }),
- children
- );
-}
-
-CalendarContainer.propTypes = {
- className: prop_types_default.a.string,
- children: prop_types_default.a.node
-};
-
-var DROPDOWN_FOCUS_CLASSNAMES = ["react-datepicker__year-select", "react-datepicker__month-select", "react-datepicker__month-year-select"];
-
-var isDropdownSelect = function isDropdownSelect() {
- var element = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-
- var classNames = (element.className || "").split(/\s+/);
- return DROPDOWN_FOCUS_CLASSNAMES.some(function (testClassname) {
- return classNames.indexOf(testClassname) >= 0;
- });
-};
-
-var es_Calendar = function (_React$Component) {
- es_inherits(Calendar, _React$Component);
- es_createClass(Calendar, null, [{
- key: "defaultProps",
- get: function get$$1() {
- return {
- onDropdownFocus: function onDropdownFocus() {},
- monthsShown: 1,
- forceShowMonthNavigation: false,
- timeCaption: "Time",
- previousMonthButtonLabel: "Previous Month",
- nextMonthButtonLabel: "Next Month"
- };
- }
- }]);
-
- function Calendar(props) {
- es_classCallCheck(this, Calendar);
-
- var _this = es_possibleConstructorReturn(this, _React$Component.call(this, props));
-
- _this.handleClickOutside = function (event) {
- _this.props.onClickOutside(event);
- };
-
- _this.handleDropdownFocus = function (event) {
- if (isDropdownSelect(event.target)) {
- _this.props.onDropdownFocus();
- }
- };
-
- _this.getDateInView = function () {
- var _this$props = _this.props,
- preSelection = _this$props.preSelection,
- selected = _this$props.selected,
- openToDate = _this$props.openToDate,
- utcOffset = _this$props.utcOffset;
-
- var minDate = getEffectiveMinDate(_this.props);
- var maxDate = getEffectiveMaxDate(_this.props);
- var current = now(utcOffset);
- var initialDate = openToDate || selected || preSelection;
- if (initialDate) {
- return initialDate;
- } else {
- if (minDate && isBefore(current, minDate)) {
- return minDate;
- } else if (maxDate && isAfter(current, maxDate)) {
- return maxDate;
- }
- }
- return current;
- };
-
- _this.localizeDate = function (date) {
- return localizeDate(date, _this.props.locale);
- };
-
- _this.increaseMonth = function () {
- _this.setState({
- date: addMonths(cloneDate(_this.state.date), 1)
- }, function () {
- return _this.handleMonthChange(_this.state.date);
- });
- };
-
- _this.decreaseMonth = function () {
- _this.setState({
- date: subtractMonths(cloneDate(_this.state.date), 1)
- }, function () {
- return _this.handleMonthChange(_this.state.date);
- });
- };
-
- _this.handleDayClick = function (day, event) {
- return _this.props.onSelect(day, event);
- };
-
- _this.handleDayMouseEnter = function (day) {
- return _this.setState({ selectingDate: day });
- };
-
- _this.handleMonthMouseLeave = function () {
- return _this.setState({ selectingDate: null });
- };
-
- _this.handleYearChange = function (date) {
- if (_this.props.onYearChange) {
- _this.props.onYearChange(date);
- }
- };
-
- _this.handleMonthChange = function (date) {
- if (_this.props.onMonthChange) {
- _this.props.onMonthChange(date);
- }
- if (_this.props.adjustDateOnChange) {
- if (_this.props.onSelect) {
- _this.props.onSelect(date);
- }
- if (_this.props.setOpen) {
- _this.props.setOpen(true);
- }
- }
- };
-
- _this.handleMonthYearChange = function (date) {
- _this.handleYearChange(date);
- _this.handleMonthChange(date);
- };
-
- _this.changeYear = function (year) {
- _this.setState({
- date: setYear(cloneDate(_this.state.date), year)
- }, function () {
- return _this.handleYearChange(_this.state.date);
- });
- };
-
- _this.changeMonth = function (month) {
- _this.setState({
- date: setMonth(cloneDate(_this.state.date), month)
- }, function () {
- return _this.handleMonthChange(_this.state.date);
- });
- };
-
- _this.changeMonthYear = function (monthYear) {
- _this.setState({
- date: setYear(setMonth(cloneDate(_this.state.date), getMonth(monthYear)), getYear(monthYear))
- }, function () {
- return _this.handleMonthYearChange(_this.state.date);
- });
- };
-
- _this.header = function () {
- var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this.state.date;
-
- var startOfWeek = getStartOfWeek(cloneDate(date));
- var dayNames = [];
- if (_this.props.showWeekNumbers) {
- dayNames.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { key: "W", className: "react-datepicker__day-name" },
- _this.props.weekLabel || "#"
- ));
- }
- return dayNames.concat([0, 1, 2, 3, 4, 5, 6].map(function (offset) {
- var day = addDays(cloneDate(startOfWeek), offset);
- var localeData = getLocaleData(day);
- var weekDayName = _this.formatWeekday(localeData, day);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { key: offset, className: "react-datepicker__day-name" },
- weekDayName
- );
- }));
- };
-
- _this.formatWeekday = function (localeData, day) {
- if (_this.props.formatWeekDay) {
- return getFormattedWeekdayInLocale(localeData, day, _this.props.formatWeekDay);
- }
- return _this.props.useWeekdaysShort ? getWeekdayShortInLocale(localeData, day) : getWeekdayMinInLocale(localeData, day);
- };
-
- _this.renderPreviousMonthButton = function () {
- var allPrevDaysDisabled = allDaysDisabledBefore(_this.state.date, "month", _this.props);
-
- if (!_this.props.forceShowMonthNavigation && !_this.props.showDisabledMonthNavigation && allPrevDaysDisabled || _this.props.showTimeSelectOnly) {
- return;
- }
-
- var classes = ["react-datepicker__navigation", "react-datepicker__navigation--previous"];
-
- var clickHandler = _this.decreaseMonth;
-
- if (allPrevDaysDisabled && _this.props.showDisabledMonthNavigation) {
- classes.push("react-datepicker__navigation--previous--disabled");
- clickHandler = null;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "button",
- {
- type: "button",
- className: classes.join(" "),
- onClick: clickHandler
- },
- _this.props.previousMonthButtonLabel
- );
- };
-
- _this.renderNextMonthButton = function () {
- var allNextDaysDisabled = allDaysDisabledAfter(_this.state.date, "month", _this.props);
-
- if (!_this.props.forceShowMonthNavigation && !_this.props.showDisabledMonthNavigation && allNextDaysDisabled || _this.props.showTimeSelectOnly) {
- return;
- }
-
- var classes = ["react-datepicker__navigation", "react-datepicker__navigation--next"];
- if (_this.props.showTimeSelect) {
- classes.push("react-datepicker__navigation--next--with-time");
- }
- if (_this.props.todayButton) {
- classes.push("react-datepicker__navigation--next--with-today-button");
- }
-
- var clickHandler = _this.increaseMonth;
-
- if (allNextDaysDisabled && _this.props.showDisabledMonthNavigation) {
- classes.push("react-datepicker__navigation--next--disabled");
- clickHandler = null;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "button",
- {
- type: "button",
- className: classes.join(" "),
- onClick: clickHandler
- },
- _this.props.nextMonthButtonLabel
- );
- };
-
- _this.renderCurrentMonth = function () {
- var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this.state.date;
-
- var classes = ["react-datepicker__current-month"];
-
- if (_this.props.showYearDropdown) {
- classes.push("react-datepicker__current-month--hasYearDropdown");
- }
- if (_this.props.showMonthDropdown) {
- classes.push("react-datepicker__current-month--hasMonthDropdown");
- }
- if (_this.props.showMonthYearDropdown) {
- classes.push("react-datepicker__current-month--hasMonthYearDropdown");
- }
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: classes.join(" ") },
- formatDate(date, _this.props.dateFormat)
- );
- };
-
- _this.renderYearDropdown = function () {
- var overrideHide = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-
- if (!_this.props.showYearDropdown || overrideHide) {
- return;
- }
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_YearDropdown, {
- adjustDateOnChange: _this.props.adjustDateOnChange,
- date: _this.state.date,
- onSelect: _this.props.onSelect,
- setOpen: _this.props.setOpen,
- dropdownMode: _this.props.dropdownMode,
- onChange: _this.changeYear,
- minDate: _this.props.minDate,
- maxDate: _this.props.maxDate,
- year: getYear(_this.state.date),
- scrollableYearDropdown: _this.props.scrollableYearDropdown,
- yearDropdownItemNumber: _this.props.yearDropdownItemNumber
- });
- };
-
- _this.renderMonthDropdown = function () {
- var overrideHide = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-
- if (!_this.props.showMonthDropdown || overrideHide) {
- return;
- }
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_MonthDropdown, {
- dropdownMode: _this.props.dropdownMode,
- locale: _this.props.locale,
- dateFormat: _this.props.dateFormat,
- onChange: _this.changeMonth,
- month: getMonth(_this.state.date),
- useShortMonthInDropdown: _this.props.useShortMonthInDropdown
- });
- };
-
- _this.renderMonthYearDropdown = function () {
- var overrideHide = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-
- if (!_this.props.showMonthYearDropdown || overrideHide) {
- return;
- }
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_MonthYearDropdown, {
- dropdownMode: _this.props.dropdownMode,
- locale: _this.props.locale,
- dateFormat: _this.props.dateFormat,
- onChange: _this.changeMonthYear,
- minDate: _this.props.minDate,
- maxDate: _this.props.maxDate,
- date: _this.state.date,
- scrollableMonthYearDropdown: _this.props.scrollableMonthYearDropdown
- });
- };
-
- _this.renderTodayButton = function () {
- if (!_this.props.todayButton || _this.props.showTimeSelectOnly) {
- return;
- }
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: "react-datepicker__today-button",
- onClick: function onClick(e) {
- return _this.props.onSelect(getStartOfDate(now(_this.props.utcOffset)), e);
- }
- },
- _this.props.todayButton
- );
- };
-
- _this.renderMonths = function () {
- if (_this.props.showTimeSelectOnly) {
- return;
- }
-
- var monthList = [];
- for (var i = 0; i < _this.props.monthsShown; ++i) {
- var monthDate = addMonths(cloneDate(_this.state.date), i);
- var monthKey = "month-" + i;
- monthList.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- key: monthKey,
- ref: function ref(div) {
- _this.monthContainer = div;
- },
- className: "react-datepicker__month-container"
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: "react-datepicker__header" },
- _this.renderCurrentMonth(monthDate),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- {
- className: "react-datepicker__header__dropdown react-datepicker__header__dropdown--" + _this.props.dropdownMode,
- onFocus: _this.handleDropdownFocus
- },
- _this.renderMonthDropdown(i !== 0),
- _this.renderMonthYearDropdown(i !== 0),
- _this.renderYearDropdown(i !== 0)
- ),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: "react-datepicker__day-names" },
- _this.header(monthDate)
- )
- ),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_Month, {
- day: monthDate,
- dayClassName: _this.props.dayClassName,
- onDayClick: _this.handleDayClick,
- onDayMouseEnter: _this.handleDayMouseEnter,
- onMouseLeave: _this.handleMonthMouseLeave,
- onWeekSelect: _this.props.onWeekSelect,
- formatWeekNumber: _this.props.formatWeekNumber,
- minDate: _this.props.minDate,
- maxDate: _this.props.maxDate,
- excludeDates: _this.props.excludeDates,
- highlightDates: _this.props.highlightDates,
- selectingDate: _this.state.selectingDate,
- includeDates: _this.props.includeDates,
- inline: _this.props.inline,
- fixedHeight: _this.props.fixedHeight,
- filterDate: _this.props.filterDate,
- preSelection: _this.props.preSelection,
- selected: _this.props.selected,
- selectsStart: _this.props.selectsStart,
- selectsEnd: _this.props.selectsEnd,
- showWeekNumbers: _this.props.showWeekNumbers,
- startDate: _this.props.startDate,
- endDate: _this.props.endDate,
- peekNextMonth: _this.props.peekNextMonth,
- utcOffset: _this.props.utcOffset
- })
- ));
- }
- return monthList;
- };
-
- _this.renderTimeSection = function () {
- if (_this.props.showTimeSelect) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_Time, {
- selected: _this.props.selected,
- onChange: _this.props.onTimeChange,
- format: _this.props.timeFormat,
- includeTimes: _this.props.includeTimes,
- intervals: _this.props.timeIntervals,
- minTime: _this.props.minTime,
- maxTime: _this.props.maxTime,
- excludeTimes: _this.props.excludeTimes,
- timeCaption: _this.props.timeCaption,
- todayButton: _this.props.todayButton,
- showMonthDropdown: _this.props.showMonthDropdown,
- showMonthYearDropdown: _this.props.showMonthYearDropdown,
- showYearDropdown: _this.props.showYearDropdown,
- withPortal: _this.props.withPortal,
- monthRef: _this.state.monthContainer,
- injectTimes: _this.props.injectTimes
- });
- }
- };
-
- _this.state = {
- date: _this.localizeDate(_this.getDateInView()),
- selectingDate: null,
- monthContainer: _this.monthContainer
- };
- return _this;
- }
-
- Calendar.prototype.componentDidMount = function componentDidMount() {
- var _this2 = this;
-
- // monthContainer height is needed in time component
- // to determine the height for the ul in the time component
- // setState here so height is given after final component
- // layout is rendered
- if (this.props.showTimeSelect) {
- this.assignMonthContainer = function () {
- _this2.setState({ monthContainer: _this2.monthContainer });
- }();
- }
- };
-
- Calendar.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
- if (this.props.preSelection && !isSameDay(this.props.preSelection, prevProps.preSelection)) {
- this.setState({
- date: this.localizeDate(this.props.preSelection)
- });
- } else if (this.props.openToDate && !isSameDay(this.props.openToDate, prevProps.openToDate)) {
- this.setState({
- date: this.localizeDate(this.props.openToDate)
- });
- }
- };
-
- Calendar.prototype.render = function render() {
- var Container = this.props.container || CalendarContainer;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Container,
- {
- className: classnames_default()("react-datepicker", this.props.className, {
- "react-datepicker--time-only": this.props.showTimeSelectOnly
- })
- },
- this.renderPreviousMonthButton(),
- this.renderNextMonthButton(),
- this.renderMonths(),
- this.renderTodayButton(),
- this.renderTimeSection(),
- this.props.children
- );
- };
-
- return Calendar;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_Calendar.propTypes = {
- adjustDateOnChange: prop_types_default.a.bool,
- className: prop_types_default.a.string,
- children: prop_types_default.a.node,
- container: prop_types_default.a.func,
- dateFormat: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.array]).isRequired,
- dayClassName: prop_types_default.a.func,
- dropdownMode: prop_types_default.a.oneOf(["scroll", "select"]),
- endDate: prop_types_default.a.object,
- excludeDates: prop_types_default.a.array,
- filterDate: prop_types_default.a.func,
- fixedHeight: prop_types_default.a.bool,
- formatWeekNumber: prop_types_default.a.func,
- highlightDates: prop_types_default.a.instanceOf(Map),
- includeDates: prop_types_default.a.array,
- includeTimes: prop_types_default.a.array,
- injectTimes: prop_types_default.a.array,
- inline: prop_types_default.a.bool,
- locale: prop_types_default.a.string,
- maxDate: prop_types_default.a.object,
- minDate: prop_types_default.a.object,
- monthsShown: prop_types_default.a.number,
- onClickOutside: prop_types_default.a.func.isRequired,
- onMonthChange: prop_types_default.a.func,
- onYearChange: prop_types_default.a.func,
- forceShowMonthNavigation: prop_types_default.a.bool,
- onDropdownFocus: prop_types_default.a.func,
- onSelect: prop_types_default.a.func.isRequired,
- onWeekSelect: prop_types_default.a.func,
- showTimeSelect: prop_types_default.a.bool,
- showTimeSelectOnly: prop_types_default.a.bool,
- timeFormat: prop_types_default.a.string,
- timeIntervals: prop_types_default.a.number,
- onTimeChange: prop_types_default.a.func,
- minTime: prop_types_default.a.object,
- maxTime: prop_types_default.a.object,
- excludeTimes: prop_types_default.a.array,
- timeCaption: prop_types_default.a.string,
- openToDate: prop_types_default.a.object,
- peekNextMonth: prop_types_default.a.bool,
- scrollableYearDropdown: prop_types_default.a.bool,
- scrollableMonthYearDropdown: prop_types_default.a.bool,
- preSelection: prop_types_default.a.object,
- selected: prop_types_default.a.object,
- selectsEnd: prop_types_default.a.bool,
- selectsStart: prop_types_default.a.bool,
- showMonthDropdown: prop_types_default.a.bool,
- showMonthYearDropdown: prop_types_default.a.bool,
- showWeekNumbers: prop_types_default.a.bool,
- showYearDropdown: prop_types_default.a.bool,
- startDate: prop_types_default.a.object,
- todayButton: prop_types_default.a.string,
- useWeekdaysShort: prop_types_default.a.bool,
- formatWeekDay: prop_types_default.a.func,
- withPortal: prop_types_default.a.bool,
- utcOffset: prop_types_default.a.number,
- weekLabel: prop_types_default.a.string,
- yearDropdownItemNumber: prop_types_default.a.number,
- setOpen: prop_types_default.a.func,
- useShortMonthInDropdown: prop_types_default.a.bool,
- showDisabledMonthNavigation: prop_types_default.a.bool,
- previousMonthButtonLabel: prop_types_default.a.string,
- nextMonthButtonLabel: prop_types_default.a.string
-};
-
-var popperPlacementPositions = ["auto", "auto-left", "auto-right", "bottom", "bottom-end", "bottom-start", "left", "left-end", "left-start", "right", "right-end", "right-start", "top", "top-end", "top-start"];
-
-var es_PopperComponent = function (_React$Component) {
- es_inherits(PopperComponent, _React$Component);
-
- function PopperComponent() {
- es_classCallCheck(this, PopperComponent);
- return es_possibleConstructorReturn(this, _React$Component.apply(this, arguments));
- }
-
- PopperComponent.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- hidePopper = _props.hidePopper,
- popperComponent = _props.popperComponent,
- popperModifiers = _props.popperModifiers,
- popperPlacement = _props.popperPlacement,
- targetComponent = _props.targetComponent;
-
-
- var popper = void 0;
-
- if (!hidePopper) {
- var classes = classnames_default()("react-datepicker-popper", className);
- popper = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- lib_Popper,
- {
- className: classes,
- modifiers: popperModifiers,
- placement: popperPlacement
- },
- popperComponent
- );
- }
-
- if (this.props.popperContainer) {
- popper = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(this.props.popperContainer, {}, popper);
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- lib_Manager,
- null,
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- lib_Target,
- { className: "react-datepicker-wrapper" },
- targetComponent
- ),
- popper
- );
- };
-
- es_createClass(PopperComponent, null, [{
- key: "defaultProps",
- get: function get$$1() {
- return {
- hidePopper: true,
- popperModifiers: {
- preventOverflow: {
- enabled: true,
- escapeWithReference: true,
- boundariesElement: "viewport"
- }
- },
- popperPlacement: "bottom-start"
- };
- }
- }]);
- return PopperComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_PopperComponent.propTypes = {
- className: prop_types_default.a.string,
- hidePopper: prop_types_default.a.bool,
- popperComponent: prop_types_default.a.element,
- popperModifiers: prop_types_default.a.object, // props
- popperPlacement: prop_types_default.a.oneOf(popperPlacementPositions), // props
- popperContainer: prop_types_default.a.func,
- targetComponent: prop_types_default.a.element
-};
-
-var outsideClickIgnoreClass = "react-datepicker-ignore-onclickoutside";
-var WrappedCalendar = react_onclickoutside_es(es_Calendar);
-
-// Compares dates year+month combinations
-function hasPreSelectionChanged(date1, date2) {
- if (date1 && date2) {
- return getMonth(date1) !== getMonth(date2) || getYear(date1) !== getYear(date2);
- }
-
- return date1 !== date2;
-}
-
-function hasSelectionChanged(date1, date2) {
- if (date1 && date2) {
- return !equals(date1, date2);
- }
-
- return false;
-}
-
-/**
- * General datepicker component.
- */
-
-var es_DatePicker = function (_React$Component) {
- es_inherits(DatePicker, _React$Component);
- es_createClass(DatePicker, null, [{
- key: "defaultProps",
- get: function get$$1() {
- return {
- allowSameDay: false,
- dateFormat: "L",
- dateFormatCalendar: "MMMM YYYY",
- onChange: function onChange() {},
-
- disabled: false,
- disabledKeyboardNavigation: false,
- dropdownMode: "scroll",
- customInputRef: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createRef(),
- onFocus: function onFocus() {},
- onBlur: function onBlur() {},
- onKeyDown: function onKeyDown() {},
- onSelect: function onSelect() {},
- onClickOutside: function onClickOutside$$1() {},
- onMonthChange: function onMonthChange() {},
-
- preventOpenOnFocus: false,
- onYearChange: function onYearChange() {},
-
- monthsShown: 1,
- readOnly: false,
- withPortal: false,
- shouldCloseOnSelect: true,
- showTimeSelect: false,
- timeIntervals: 30,
- timeCaption: "Time",
- previousMonthButtonLabel: "Previous Month",
- nextMonthButtonLabel: "Next month"
- };
- }
- }]);
-
- function DatePicker(props) {
- es_classCallCheck(this, DatePicker);
-
- var _this = es_possibleConstructorReturn(this, _React$Component.call(this, props));
-
- _this.getPreSelection = function () {
- return _this.props.openToDate ? newDate(_this.props.openToDate) : _this.props.selectsEnd && _this.props.startDate ? newDate(_this.props.startDate) : _this.props.selectsStart && _this.props.endDate ? newDate(_this.props.endDate) : now(_this.props.utcOffset);
- };
-
- _this.calcInitialState = function () {
- var defaultPreSelection = _this.getPreSelection();
- var minDate = getEffectiveMinDate(_this.props);
- var maxDate = getEffectiveMaxDate(_this.props);
- var boundedPreSelection = minDate && isBefore(defaultPreSelection, minDate) ? minDate : maxDate && isAfter(defaultPreSelection, maxDate) ? maxDate : defaultPreSelection;
- return {
- open: _this.props.startOpen || false,
- preventFocus: false,
- preSelection: _this.props.selected ? newDate(_this.props.selected) : boundedPreSelection,
- // transforming highlighted days (perhaps nested array)
- // to flat Map for faster access in day.jsx
- highlightDates: getHightLightDaysMap(_this.props.highlightDates),
- focused: false
- };
- };
-
- _this.clearPreventFocusTimeout = function () {
- if (_this.preventFocusTimeout) {
- clearTimeout(_this.preventFocusTimeout);
- }
- };
-
- _this.setFocus = function () {
- if (_this.props.customInputRef.current && _this.props.customInputRef.current.focus) {
- _this.props.customInputRef.current.focus();
- }
- };
-
- _this.setOpen = function (open) {
- _this.setState({
- open: open,
- preSelection: open && _this.state.open ? _this.state.preSelection : _this.calcInitialState().preSelection,
- lastPreSelectChange: PRESELECT_CHANGE_VIA_NAVIGATE
- });
- };
-
- _this.handleFocus = function (event) {
- if (!_this.state.preventFocus) {
- _this.props.onFocus(event);
- if (!_this.props.preventOpenOnFocus && !_this.props.readOnly) {
- _this.setOpen(true);
- }
- }
- _this.setState({ focused: true });
- };
-
- _this.cancelFocusInput = function () {
- clearTimeout(_this.inputFocusTimeout);
- _this.inputFocusTimeout = null;
- };
-
- _this.deferFocusInput = function () {
- _this.cancelFocusInput();
- _this.inputFocusTimeout = setTimeout(function () {
- return _this.setFocus();
- }, 1);
- };
-
- _this.handleDropdownFocus = function () {
- _this.cancelFocusInput();
- };
-
- _this.handleBlur = function (event) {
- if (_this.state.open && !_this.props.withPortal) {
- _this.deferFocusInput();
- } else {
- _this.props.onBlur(event);
- }
- _this.setState({ focused: false });
- };
-
- _this.handleCalendarClickOutside = function (event) {
- if (!_this.props.inline) {
- _this.setOpen(false);
- }
- _this.props.onClickOutside(event);
- if (_this.props.withPortal) {
- event.preventDefault();
- }
- };
-
- _this.handleChange = function () {
- for (var _len = arguments.length, allArgs = Array(_len), _key = 0; _key < _len; _key++) {
- allArgs[_key] = arguments[_key];
- }
-
- var event = allArgs[0];
- if (_this.props.onChangeRaw) {
- _this.props.onChangeRaw.apply(_this, allArgs);
- if (typeof event.isDefaultPrevented !== "function" || event.isDefaultPrevented()) {
- return;
- }
- }
- _this.setState({
- inputValue: event.target.value,
- lastPreSelectChange: PRESELECT_CHANGE_VIA_INPUT
- });
- var date = parseDate(event.target.value, _this.props);
- if (date || !event.target.value) {
- _this.setSelected(date, event, true);
- }
- };
-
- _this.handleSelect = function (date, event) {
- // Preventing onFocus event to fix issue
- // https://github.com/Hacker0x01/react-datepicker/issues/628
- _this.setState({ preventFocus: true }, function () {
- _this.preventFocusTimeout = setTimeout(function () {
- return _this.setState({ preventFocus: false });
- }, 50);
- return _this.preventFocusTimeout;
- });
- _this.setSelected(date, event);
- if (!_this.props.shouldCloseOnSelect || _this.props.showTimeSelect) {
- _this.setPreSelection(date);
- } else if (!_this.props.inline) {
- _this.setOpen(false);
- }
- };
-
- _this.setSelected = function (date, event, keepInput) {
- var changedDate = date;
-
- if (changedDate !== null && isDayDisabled(changedDate, _this.props)) {
- return;
- }
-
- if (!isSameDay(_this.props.selected, changedDate) || _this.props.allowSameDay) {
- if (changedDate !== null) {
- if (_this.props.selected) {
- var selected = _this.props.selected;
- if (keepInput) selected = newDate(changedDate);
- changedDate = setTime(newDate(changedDate), {
- hour: getHour(selected),
- minute: getMinute(selected),
- second: getSecond(selected)
- });
- }
- if (!_this.props.inline) {
- _this.setState({
- preSelection: changedDate
- });
- }
- }
- _this.props.onChange(changedDate, event);
- }
-
- _this.props.onSelect(changedDate, event);
-
- if (!keepInput) {
- _this.setState({ inputValue: null });
- }
- };
-
- _this.setPreSelection = function (date) {
- var isDateRangePresent = typeof _this.props.minDate !== "undefined" && typeof _this.props.maxDate !== "undefined";
- var isValidDateSelection = isDateRangePresent && date ? isDayInRange(date, _this.props.minDate, _this.props.maxDate) : true;
- if (isValidDateSelection) {
- _this.setState({
- preSelection: date
- });
- }
- };
-
- _this.handleTimeChange = function (time) {
- var selected = _this.props.selected ? _this.props.selected : _this.getPreSelection();
- var changedDate = setTime(cloneDate(selected), {
- hour: getHour(time),
- minute: getMinute(time)
- });
-
- _this.setState({
- preSelection: changedDate
- });
-
- _this.props.onChange(changedDate);
- _this.setOpen(false);
- _this.setState({ inputValue: null });
- };
-
- _this.onInputClick = function () {
- if (!_this.props.disabled && !_this.props.readOnly) {
- _this.setOpen(true);
- }
- };
-
- _this.onInputKeyDown = function (event) {
- _this.props.onKeyDown(event);
- var eventKey = event.key;
- if (!_this.state.open && !_this.props.inline && !_this.props.preventOpenOnFocus) {
- if (eventKey === "ArrowDown" || eventKey === "ArrowUp") {
- _this.onInputClick();
- }
- return;
- }
- var copy = newDate(_this.state.preSelection);
- if (eventKey === "Enter") {
- event.preventDefault();
- if ((isMoment(_this.state.preSelection) || isDate(_this.state.preSelection)) && _this.state.lastPreSelectChange === PRESELECT_CHANGE_VIA_NAVIGATE) {
- _this.handleSelect(copy, event);
- !_this.props.shouldCloseOnSelect && _this.setPreSelection(copy);
- } else {
- _this.setOpen(false);
- }
- } else if (eventKey === "Escape") {
- event.preventDefault();
- _this.setOpen(false);
- } else if (eventKey === "Tab") {
- _this.setOpen(false);
- } else if (!_this.props.disabledKeyboardNavigation) {
- var newSelection = void 0;
- switch (eventKey) {
- case "ArrowLeft":
- newSelection = subtractDays(copy, 1);
- break;
- case "ArrowRight":
- newSelection = addDays(copy, 1);
- break;
- case "ArrowUp":
- newSelection = subtractWeeks(copy, 1);
- break;
- case "ArrowDown":
- newSelection = addWeeks(copy, 1);
- break;
- case "PageUp":
- newSelection = subtractMonths(copy, 1);
- break;
- case "PageDown":
- newSelection = addMonths(copy, 1);
- break;
- case "Home":
- newSelection = subtractYears(copy, 1);
- break;
- case "End":
- newSelection = addYears(copy, 1);
- break;
- }
- if (!newSelection) return; // Let the input component handle this keydown
- event.preventDefault();
- _this.setState({ lastPreSelectChange: PRESELECT_CHANGE_VIA_NAVIGATE });
- if (_this.props.adjustDateOnChange) {
- _this.setSelected(newSelection);
- }
- _this.setPreSelection(newSelection);
- }
- };
-
- _this.onClearClick = function (event) {
- if (event) {
- if (event.preventDefault) {
- event.preventDefault();
- }
- }
- _this.props.onChange(null, event);
- _this.setState({ inputValue: null });
- };
-
- _this.clear = function () {
- _this.onClearClick();
- };
-
- _this.renderCalendar = function () {
- if (!_this.props.inline && (!_this.state.open || _this.props.disabled || _this.props.readOnly)) {
- return null;
- }
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- WrappedCalendar,
- {
- ref: function ref(elem) {
- _this.calendar = elem;
- },
- locale: _this.props.locale,
- adjustDateOnChange: _this.props.adjustDateOnChange,
- setOpen: _this.setOpen,
- dateFormat: _this.props.dateFormatCalendar,
- useWeekdaysShort: _this.props.useWeekdaysShort,
- formatWeekDay: _this.props.formatWeekDay,
- dropdownMode: _this.props.dropdownMode,
- selected: _this.props.selected,
- preSelection: _this.state.preSelection,
- onSelect: _this.handleSelect,
- onWeekSelect: _this.props.onWeekSelect,
- openToDate: _this.props.openToDate,
- minDate: _this.props.minDate,
- maxDate: _this.props.maxDate,
- selectsStart: _this.props.selectsStart,
- selectsEnd: _this.props.selectsEnd,
- startDate: _this.props.startDate,
- endDate: _this.props.endDate,
- excludeDates: _this.props.excludeDates,
- filterDate: _this.props.filterDate,
- onClickOutside: _this.handleCalendarClickOutside,
- formatWeekNumber: _this.props.formatWeekNumber,
- highlightDates: _this.state.highlightDates,
- includeDates: _this.props.includeDates,
- includeTimes: _this.props.includeTimes,
- injectTimes: _this.props.injectTimes,
- inline: _this.props.inline,
- peekNextMonth: _this.props.peekNextMonth,
- showMonthDropdown: _this.props.showMonthDropdown,
- useShortMonthInDropdown: _this.props.useShortMonthInDropdown,
- showMonthYearDropdown: _this.props.showMonthYearDropdown,
- showWeekNumbers: _this.props.showWeekNumbers,
- showYearDropdown: _this.props.showYearDropdown,
- withPortal: _this.props.withPortal,
- forceShowMonthNavigation: _this.props.forceShowMonthNavigation,
- showDisabledMonthNavigation: _this.props.showDisabledMonthNavigation,
- scrollableYearDropdown: _this.props.scrollableYearDropdown,
- scrollableMonthYearDropdown: _this.props.scrollableMonthYearDropdown,
- todayButton: _this.props.todayButton,
- weekLabel: _this.props.weekLabel,
- utcOffset: _this.props.utcOffset,
- outsideClickIgnoreClass: outsideClickIgnoreClass,
- fixedHeight: _this.props.fixedHeight,
- monthsShown: _this.props.monthsShown,
- onDropdownFocus: _this.handleDropdownFocus,
- onMonthChange: _this.props.onMonthChange,
- onYearChange: _this.props.onYearChange,
- dayClassName: _this.props.dayClassName,
- showTimeSelect: _this.props.showTimeSelect,
- showTimeSelectOnly: _this.props.showTimeSelectOnly,
- onTimeChange: _this.handleTimeChange,
- timeFormat: _this.props.timeFormat,
- timeIntervals: _this.props.timeIntervals,
- minTime: _this.props.minTime,
- maxTime: _this.props.maxTime,
- excludeTimes: _this.props.excludeTimes,
- timeCaption: _this.props.timeCaption,
- className: _this.props.calendarClassName,
- container: _this.props.calendarContainer,
- yearDropdownItemNumber: _this.props.yearDropdownItemNumber,
- previousMonthButtonLabel: _this.props.previousMonthButtonLabel,
- nextMonthButtonLabel: _this.props.nextMonthButtonLabel
- },
- _this.props.children
- );
- };
-
- _this.renderDateInput = function () {
- var _classnames;
-
- var className = classnames_default()(_this.props.className, (_classnames = {}, _classnames[outsideClickIgnoreClass] = _this.state.open, _classnames));
-
- var customInput = _this.props.customInput || external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("input", { type: "text" });
- var inputValue = typeof _this.props.value === "string" ? _this.props.value : typeof _this.state.inputValue === "string" ? _this.state.inputValue : safeDateFormat(_this.props.selected, _this.props);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(customInput, {
- ref: _this.props.customInputRef,
- value: inputValue,
- onBlur: _this.handleBlur,
- onChange: _this.handleChange,
- onClick: _this.onInputClick,
- onFocus: _this.handleFocus,
- onKeyDown: _this.onInputKeyDown,
- id: _this.props.id,
- name: _this.props.name,
- autoFocus: _this.props.autoFocus,
- placeholder: _this.props.placeholderText,
- disabled: _this.props.disabled,
- autoComplete: _this.props.autoComplete,
- className: className,
- title: _this.props.title,
- readOnly: _this.props.readOnly,
- required: _this.props.required,
- tabIndex: _this.props.tabIndex
- });
- };
-
- _this.renderClearButton = function () {
- if (_this.props.isClearable && _this.props.selected != null) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("button", {
- type: "button",
- className: "react-datepicker__close-icon",
- onClick: _this.onClearClick,
- title: _this.props.clearButtonTitle,
- tabIndex: -1
- });
- } else {
- return null;
- }
- };
-
- _this.state = _this.calcInitialState();
- return _this;
- }
-
- DatePicker.prototype.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {
- if (prevProps.inline && hasPreSelectionChanged(prevProps.selected, this.props.selected)) {
- this.setPreSelection(this.props.selected);
- }
- if (prevProps.highlightDates !== this.props.highlightDates) {
- this.setState({
- highlightDates: getHightLightDaysMap(this.props.highlightDates)
- });
- }
- if (!prevState.focused && hasSelectionChanged(prevProps.selected, this.props.selected)) {
- this.setState({ inputValue: null });
- }
- };
-
- DatePicker.prototype.componentWillUnmount = function componentWillUnmount() {
- this.clearPreventFocusTimeout();
- };
-
- DatePicker.prototype.render = function render() {
- var calendar = this.renderCalendar();
-
- if (this.props.inline && !this.props.withPortal) {
- return calendar;
- }
-
- if (this.props.withPortal) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- null,
- !this.props.inline ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: "react-datepicker__input-container" },
- this.renderDateInput(),
- this.renderClearButton()
- ) : null,
- this.state.open || this.props.inline ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: "react-datepicker__portal" },
- calendar
- ) : null
- );
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_PopperComponent, {
- className: this.props.popperClassName,
- hidePopper: !this.state.open || this.props.disabled || this.props.readOnly,
- popperModifiers: this.props.popperModifiers,
- targetComponent: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- "div",
- { className: "react-datepicker__input-container" },
- this.renderDateInput(),
- this.renderClearButton()
- ),
- popperContainer: this.props.popperContainer,
- popperComponent: calendar,
- popperPlacement: this.props.popperPlacement
- });
- };
-
- return DatePicker;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-es_DatePicker.propTypes = {
- adjustDateOnChange: prop_types_default.a.bool,
- allowSameDay: prop_types_default.a.bool,
- autoComplete: prop_types_default.a.string,
- autoFocus: prop_types_default.a.bool,
- calendarClassName: prop_types_default.a.string,
- calendarContainer: prop_types_default.a.func,
- children: prop_types_default.a.node,
- className: prop_types_default.a.string,
- customInput: prop_types_default.a.element,
- customInputRef: prop_types_default.a.object,
- // eslint-disable-next-line react/no-unused-prop-types
- dateFormat: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.array]),
- dateFormatCalendar: prop_types_default.a.string,
- dayClassName: prop_types_default.a.func,
- disabled: prop_types_default.a.bool,
- disabledKeyboardNavigation: prop_types_default.a.bool,
- dropdownMode: prop_types_default.a.oneOf(["scroll", "select"]).isRequired,
- endDate: prop_types_default.a.object,
- excludeDates: prop_types_default.a.array,
- filterDate: prop_types_default.a.func,
- fixedHeight: prop_types_default.a.bool,
- formatWeekNumber: prop_types_default.a.func,
- highlightDates: prop_types_default.a.array,
- id: prop_types_default.a.string,
- includeDates: prop_types_default.a.array,
- includeTimes: prop_types_default.a.array,
- injectTimes: prop_types_default.a.array,
- inline: prop_types_default.a.bool,
- isClearable: prop_types_default.a.bool,
- locale: prop_types_default.a.string,
- maxDate: prop_types_default.a.object,
- minDate: prop_types_default.a.object,
- monthsShown: prop_types_default.a.number,
- name: prop_types_default.a.string,
- onBlur: prop_types_default.a.func,
- onChange: prop_types_default.a.func.isRequired,
- onSelect: prop_types_default.a.func,
- onWeekSelect: prop_types_default.a.func,
- onClickOutside: prop_types_default.a.func,
- onChangeRaw: prop_types_default.a.func,
- onFocus: prop_types_default.a.func,
- onKeyDown: prop_types_default.a.func,
- onMonthChange: prop_types_default.a.func,
- onYearChange: prop_types_default.a.func,
- openToDate: prop_types_default.a.object,
- peekNextMonth: prop_types_default.a.bool,
- placeholderText: prop_types_default.a.string,
- popperContainer: prop_types_default.a.func,
- popperClassName: prop_types_default.a.string, // props
- popperModifiers: prop_types_default.a.object, // props
- popperPlacement: prop_types_default.a.oneOf(popperPlacementPositions), // props
- preventOpenOnFocus: prop_types_default.a.bool,
- readOnly: prop_types_default.a.bool,
- required: prop_types_default.a.bool,
- scrollableYearDropdown: prop_types_default.a.bool,
- scrollableMonthYearDropdown: prop_types_default.a.bool,
- selected: prop_types_default.a.object,
- selectsEnd: prop_types_default.a.bool,
- selectsStart: prop_types_default.a.bool,
- showMonthDropdown: prop_types_default.a.bool,
- showMonthYearDropdown: prop_types_default.a.bool,
- showWeekNumbers: prop_types_default.a.bool,
- showYearDropdown: prop_types_default.a.bool,
- forceShowMonthNavigation: prop_types_default.a.bool,
- showDisabledMonthNavigation: prop_types_default.a.bool,
- startDate: prop_types_default.a.object,
- startOpen: prop_types_default.a.bool,
- tabIndex: prop_types_default.a.number,
- timeCaption: prop_types_default.a.string,
- title: prop_types_default.a.string,
- todayButton: prop_types_default.a.string,
- useWeekdaysShort: prop_types_default.a.bool,
- formatWeekDay: prop_types_default.a.func,
- utcOffset: prop_types_default.a.number,
- value: prop_types_default.a.string,
- weekLabel: prop_types_default.a.string,
- withPortal: prop_types_default.a.bool,
- yearDropdownItemNumber: prop_types_default.a.number,
- shouldCloseOnSelect: prop_types_default.a.bool,
- showTimeSelect: prop_types_default.a.bool,
- showTimeSelectOnly: prop_types_default.a.bool,
- timeFormat: prop_types_default.a.string,
- timeIntervals: prop_types_default.a.number,
- minTime: prop_types_default.a.object,
- maxTime: prop_types_default.a.object,
- excludeTimes: prop_types_default.a.array,
- useShortMonthInDropdown: prop_types_default.a.bool,
- clearButtonTitle: prop_types_default.a.string,
- previousMonthButtonLabel: prop_types_default.a.string,
- nextMonthButtonLabel: prop_types_default.a.string
-};
-var PRESELECT_CHANGE_VIA_INPUT = "input";
-var PRESELECT_CHANGE_VIA_NAVIGATE = "navigate";
-
-
-/* harmony default export */ var es = (es_DatePicker);
-
-// EXTERNAL MODULE: external {"root":"_","commonjs2":"lodash","commonjs":"lodash","amd":"lodash"}
-var external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash__ = __webpack_require__(9);
-var external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default = /*#__PURE__*/__webpack_require__.n(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash__);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/lib/Button.js
-var lib_Button = __webpack_require__(26);
-var Button_default = /*#__PURE__*/__webpack_require__.n(lib_Button);
-
-// EXTERNAL MODULE: ./components/alexandria/Spinner/styles.scss
-var Spinner_styles = __webpack_require__(182);
-var styles_default = /*#__PURE__*/__webpack_require__.n(Spinner_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Spinner/index.jsx
-var _jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Spinner/index.jsx";
-
-
-
-
-var Spinner_Spinner = function Spinner(_ref) {
- var size = _ref.size,
- colourStyle = _ref.colourStyle;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "spinner-component",
- __source: {
- fileName: _jsxFileName,
- lineNumber: 6
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "spinner spinner-".concat(size, " spinner-colour-style-").concat(colourStyle),
- __source: {
- fileName: _jsxFileName,
- lineNumber: 7
- },
- __self: this
- }));
-};
-
-Spinner_Spinner.propTypes = {
- size: prop_types_default.a.oneOf(['small', 'medium', 'large']),
- colourStyle: prop_types_default.a.string
-};
-Spinner_Spinner.defaultProps = {
- size: 'large',
- colourStyle: 'default'
-};
-/* harmony default export */ var alexandria_Spinner = (Spinner_Spinner);
-// EXTERNAL MODULE: ./lib/utils.js
-var utils = __webpack_require__(16);
-
-// EXTERNAL MODULE: ./components/third-party/Button/styles.scss
-var Button_styles = __webpack_require__(183);
-var Button_styles_default = /*#__PURE__*/__webpack_require__.n(Button_styles);
-
-// CONCATENATED MODULE: ./components/third-party/Button/index.jsx
-var Button__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/third-party/Button/index.jsx";
-
-function Button__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Button__typeof = function _typeof(obj) { return typeof obj; }; } else { Button__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Button__typeof(obj); }
-
-function Button__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function Button__createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function Button__possibleConstructorReturn(self, call) { if (call && (Button__typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
-
-function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
-
-function Button__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); }
-
-function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
-
-function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-/* eslint-disable react/prop-types */
-// disable proptypes check because it doens't take into consideration extended types
-
-
-
-
-
-
-
-
-
-var adslotButtonPropTypes = {
- inverse: prop_types_default.a.bool,
- reason: prop_types_default.a.string,
- dts: prop_types_default.a.string,
- isLoading: prop_types_default.a.bool
-};
-
-var Button_Button =
-/*#__PURE__*/
-function (_React$PureComponent) {
- Button__inherits(Button, _React$PureComponent);
-
- function Button(props) {
- var _this;
-
- Button__classCallCheck(this, Button);
-
- _this = Button__possibleConstructorReturn(this, _getPrototypeOf(Button).call(this, props));
- _this.buttonRef = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createRef();
- _this.state = {
- show: false
- };
- _this.handleReasonPopover = _this.handleReasonPopover.bind(_assertThisInitialized(_assertThisInitialized(_this)));
- return _this;
- }
-
- Button__createClass(Button, [{
- key: "handleReasonPopover",
- value: function handleReasonPopover(value) {
- this.setState({
- show: value
- });
- }
- }, {
- key: "renderSpinner",
- value: function renderSpinner() {
- if (this.props.isLoading) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "spinner-container",
- __source: {
- fileName: Button__jsxFileName,
- lineNumber: 37
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Spinner, {
- size: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.includes(['lg', 'large'], this.props.bsSize) ? 'medium' : 'small',
- __source: {
- fileName: Button__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }));
- }
-
- return null;
- }
- }, {
- key: "render",
- value: function render() {
- var _this2 = this;
-
- var _this$props = this.props,
- inverse = _this$props.inverse,
- children = _this$props.children,
- dts = _this$props.dts,
- className = _this$props.className,
- isLoading = _this$props.isLoading,
- disabled = _this$props.disabled,
- reason = _this$props.reason;
- var shouldShowReason = !!disabled && !!reason;
- var classes = classnames_default()('button-component', className, {
- 'btn-inverse': inverse && !/btn-inverse/.test(className)
- });
- var reasonProps = shouldShowReason ? {
- onMouseOver: function onMouseOver() {
- return _this2.handleReasonPopover(true);
- },
- onMouseOut: function onMouseOut() {
- return _this2.handleReasonPopover(false);
- }
- } : {};
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Button_default.a, Object.assign({}, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.omit(this.props, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.keys(adslotButtonPropTypes)), {
- disabled: isLoading || disabled,
- className: classes
- }, Object(utils["b" /* expandDts */])(dts), reasonProps, {
- ref: this.buttonRef,
- __source: {
- fileName: Button__jsxFileName,
- lineNumber: 60
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(third_party_Popover, {
- className: "btn-popover-reason",
- wrapperClassName: "btn-popover-wrapper",
- popoverContent: reason || '',
- placement: "bottom",
- isOpen: this.state.show,
- triggers: ['disabled'],
- __source: {
- fileName: Button__jsxFileName,
- lineNumber: 68
- },
- __self: this
- }, this.renderSpinner(), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: isLoading ? 'button-component-children-container' : null,
- __source: {
- fileName: Button__jsxFileName,
- lineNumber: 77
- },
- __self: this
- }, children)));
- }
- }]);
-
- return Button;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-Button_Button.propTypes = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.assign({}, adslotButtonPropTypes, Button_default.a.propTypes);
-Button_Button.defaultProps = {
- inverse: false,
- isLoading: false
-};
-/* harmony default export */ var third_party_Button = (Button_Button);
-// EXTERNAL MODULE: ../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
-var objectWithoutPropertiesLoose = __webpack_require__(184);
-var objectWithoutPropertiesLoose_default = /*#__PURE__*/__webpack_require__.n(objectWithoutPropertiesLoose);
-
-// EXTERNAL MODULE: ../node_modules/@babel/runtime/helpers/extends.js
-var helpers_extends = __webpack_require__(58);
-var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
-
-// EXTERNAL MODULE: ../node_modules/@babel/runtime/helpers/inheritsLoose.js
-var inheritsLoose = __webpack_require__(87);
-var inheritsLoose_default = /*#__PURE__*/__webpack_require__.n(inheritsLoose);
-
-// EXTERNAL MODULE: ../node_modules/@babel/runtime/helpers/assertThisInitialized.js
-var assertThisInitialized = __webpack_require__(88);
-var assertThisInitialized_default = /*#__PURE__*/__webpack_require__.n(assertThisInitialized);
-
-// EXTERNAL MODULE: ../node_modules/@babel/runtime/helpers/defineProperty.js
-var helpers_defineProperty = __webpack_require__(89);
-var defineProperty_default = /*#__PURE__*/__webpack_require__.n(helpers_defineProperty);
-
-// EXTERNAL MODULE: ../node_modules/create-react-context/lib/index.js
-var lib = __webpack_require__(185);
-var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
-
-// CONCATENATED MODULE: ../node_modules/react-popper/lib/esm/Manager.js
-
-
-
-
-
-
-var ManagerContext = lib_default()({
- setReferenceNode: undefined,
- referenceNode: undefined
-});
-
-var esm_Manager_Manager =
-/*#__PURE__*/
-function (_React$Component) {
- inheritsLoose_default()(Manager, _React$Component);
-
- function Manager() {
- var _this;
-
- _this = _React$Component.call(this) || this;
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "setReferenceNode", function (referenceNode) {
- if (!referenceNode || _this.state.context.referenceNode === referenceNode) {
- return;
- }
-
- _this.setState(function (_ref) {
- var context = _ref.context;
- return {
- context: extends_default()({}, context, {
- referenceNode: referenceNode
- })
- };
- });
- });
-
- _this.state = {
- context: {
- setReferenceNode: _this.setReferenceNode,
- referenceNode: undefined
- }
- };
- return _this;
- }
-
- var _proto = Manager.prototype;
-
- _proto.render = function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react__["createElement"](ManagerContext.Provider, {
- value: this.state.context
- }, this.props.children);
- };
-
- return Manager;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react__["Component"]);
-
-
-// CONCATENATED MODULE: ../node_modules/react-popper/lib/esm/utils.js
-/**
- * Takes an argument and if it's an array, returns the first item in the array,
- * otherwise returns the argument. Used for Preact compatibility.
- */
-var unwrapArray = function unwrapArray(arg) {
- return Array.isArray(arg) ? arg[0] : arg;
-};
-/**
- * Takes a maybe-undefined function and arbitrary args and invokes the function
- * only if it is defined.
- */
-
-var safeInvoke = function safeInvoke(fn) {
- if (typeof fn === "function") {
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
- args[_key - 1] = arguments[_key];
- }
-
- return fn.apply(void 0, args);
- }
-};
-// CONCATENATED MODULE: ../node_modules/react-popper/lib/esm/Popper.js
-
-
-
-
-
-
-
-
-
-var initialStyle = {
- position: 'absolute',
- top: 0,
- left: 0,
- opacity: 0,
- pointerEvents: 'none'
-};
-var initialArrowStyle = {};
-var Popper_InnerPopper =
-/*#__PURE__*/
-function (_React$Component) {
- inheritsLoose_default()(InnerPopper, _React$Component);
-
- function InnerPopper() {
- var _this;
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "state", {
- data: undefined,
- placement: undefined
- });
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "popperInstance", void 0);
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "popperNode", null);
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "arrowNode", null);
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "setPopperNode", function (popperNode) {
- if (!popperNode || _this.popperNode === popperNode) return;
- safeInvoke(_this.props.innerRef, popperNode);
- _this.popperNode = popperNode;
-
- _this.updatePopperInstance();
- });
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "setArrowNode", function (arrowNode) {
- _this.arrowNode = arrowNode;
- });
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "updateStateModifier", {
- enabled: true,
- order: 900,
- fn: function fn(data) {
- var placement = data.placement;
-
- _this.setState({
- data: data,
- placement: placement
- });
-
- return data;
- }
- });
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "getOptions", function () {
- return {
- placement: _this.props.placement,
- eventsEnabled: _this.props.eventsEnabled,
- positionFixed: _this.props.positionFixed,
- modifiers: extends_default()({}, _this.props.modifiers, {
- arrow: extends_default()({}, _this.props.modifiers && _this.props.modifiers.arrow, {
- enabled: !!_this.arrowNode,
- element: _this.arrowNode
- }),
- applyStyle: {
- enabled: false
- },
- updateStateModifier: _this.updateStateModifier
- })
- };
- });
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "getPopperStyle", function () {
- return !_this.popperNode || !_this.state.data ? initialStyle : extends_default()({
- position: _this.state.data.offsets.popper.position
- }, _this.state.data.styles);
- });
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "getPopperPlacement", function () {
- return !_this.state.data ? undefined : _this.state.placement;
- });
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "getArrowStyle", function () {
- return !_this.arrowNode || !_this.state.data ? initialArrowStyle : _this.state.data.arrowStyles;
- });
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "getOutOfBoundariesState", function () {
- return _this.state.data ? _this.state.data.hide : undefined;
- });
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "destroyPopperInstance", function () {
- if (!_this.popperInstance) return;
-
- _this.popperInstance.destroy();
-
- _this.popperInstance = null;
- });
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "updatePopperInstance", function () {
- _this.destroyPopperInstance();
-
- var _assertThisInitialize = assertThisInitialized_default()(assertThisInitialized_default()(_this)),
- popperNode = _assertThisInitialize.popperNode;
-
- var referenceElement = _this.props.referenceElement;
- if (!referenceElement || !popperNode) return;
- _this.popperInstance = new esm_popper["a" /* default */](referenceElement, popperNode, _this.getOptions());
- });
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "scheduleUpdate", function () {
- if (_this.popperInstance) {
- _this.popperInstance.scheduleUpdate();
- }
- });
-
- return _this;
- }
-
- var _proto = InnerPopper.prototype;
-
- _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {
- // If the Popper.js options have changed, update the instance (destroy + create)
- if (this.props.placement !== prevProps.placement || this.props.referenceElement !== prevProps.referenceElement || this.props.positionFixed !== prevProps.positionFixed) {
- this.updatePopperInstance();
- } else if (this.props.eventsEnabled !== prevProps.eventsEnabled && this.popperInstance) {
- this.props.eventsEnabled ? this.popperInstance.enableEventListeners() : this.popperInstance.disableEventListeners();
- } // A placement difference in state means popper determined a new placement
- // apart from the props value. By the time the popper element is rendered with
- // the new position Popper has already measured it, if the place change triggers
- // a size change it will result in a misaligned popper. So we schedule an update to be sure.
-
-
- if (prevState.placement !== this.state.placement) {
- this.scheduleUpdate();
- }
- };
-
- _proto.componentWillUnmount = function componentWillUnmount() {
- safeInvoke(this.props.innerRef, null);
- this.destroyPopperInstance();
- };
-
- _proto.render = function render() {
- return unwrapArray(this.props.children)({
- ref: this.setPopperNode,
- style: this.getPopperStyle(),
- placement: this.getPopperPlacement(),
- outOfBoundaries: this.getOutOfBoundariesState(),
- scheduleUpdate: this.scheduleUpdate,
- arrowProps: {
- ref: this.setArrowNode,
- style: this.getArrowStyle()
- }
- });
- };
-
- return InnerPopper;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react__["Component"]);
-
-defineProperty_default()(Popper_InnerPopper, "defaultProps", {
- placement: 'bottom',
- eventsEnabled: true,
- referenceElement: undefined,
- positionFixed: false
-});
-
-var Popper_placements = esm_popper["a" /* default */].placements;
-
-function esm_Popper_Popper(_ref) {
- var referenceElement = _ref.referenceElement,
- props = objectWithoutPropertiesLoose_default()(_ref, ["referenceElement"]);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react__["createElement"](ManagerContext.Consumer, null, function (_ref2) {
- var referenceNode = _ref2.referenceNode;
- return external___root___React___commonjs2___react___commonjs___react___amd___react__["createElement"](Popper_InnerPopper, extends_default()({
- referenceElement: referenceElement !== undefined ? referenceElement : referenceNode
- }, props));
- });
-}
-// EXTERNAL MODULE: ../node_modules/react-popper/node_modules/warning/warning.js
-var warning = __webpack_require__(190);
-var warning_default = /*#__PURE__*/__webpack_require__.n(warning);
-
-// CONCATENATED MODULE: ../node_modules/react-popper/lib/esm/Reference.js
-
-
-
-
-
-
-
-
-
-var Reference_InnerReference =
-/*#__PURE__*/
-function (_React$Component) {
- inheritsLoose_default()(InnerReference, _React$Component);
-
- function InnerReference() {
- var _this;
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
-
- defineProperty_default()(assertThisInitialized_default()(assertThisInitialized_default()(_this)), "refHandler", function (node) {
- safeInvoke(_this.props.innerRef, node);
- safeInvoke(_this.props.setReferenceNode, node);
- });
-
- return _this;
- }
-
- var _proto = InnerReference.prototype;
-
- _proto.render = function render() {
- warning_default()(Boolean(this.props.setReferenceNode), '`Reference` should not be used outside of a `Manager` component.');
- return unwrapArray(this.props.children)({
- ref: this.refHandler
- });
- };
-
- return InnerReference;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react__["Component"]);
-
-function Reference(props) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react__["createElement"](ManagerContext.Consumer, null, function (_ref) {
- var setReferenceNode = _ref.setReferenceNode;
- return external___root___React___commonjs2___react___commonjs___react___amd___react__["createElement"](Reference_InnerReference, extends_default()({
- setReferenceNode: setReferenceNode
- }, props));
- });
-}
-// CONCATENATED MODULE: ../node_modules/react-popper/lib/esm/index.js
-// Public components
-
-
-
- // Public types
-// CONCATENATED MODULE: ./components/third-party/Popover/constants.js
-
-var themes = ['light', 'dark', 'warn', 'error'];
-var basePlacements = ['auto', 'top', 'right', 'bottom', 'left'];
-var popoverPlacements = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.flatMap(basePlacements, function (trigger) {
- return [trigger, "".concat(trigger, "-start"), "".concat(trigger, "-end")];
-});
-// EXTERNAL MODULE: ./components/third-party/Popover/styles.scss
-var Popover_styles = __webpack_require__(191);
-var Popover_styles_default = /*#__PURE__*/__webpack_require__.n(Popover_styles);
-
-// CONCATENATED MODULE: ./components/third-party/Popover/index.jsx
-var Popover__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/third-party/Popover/index.jsx";
-
-function Popover__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Popover__typeof = function _typeof(obj) { return typeof obj; }; } else { Popover__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Popover__typeof(obj); }
-
-function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? 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; }
-
-function Popover__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Popover__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 Popover__createClass(Constructor, protoProps, staticProps) { if (protoProps) Popover__defineProperties(Constructor.prototype, protoProps); if (staticProps) Popover__defineProperties(Constructor, staticProps); return Constructor; }
-
-function Popover__possibleConstructorReturn(self, call) { if (call && (Popover__typeof(call) === "object" || typeof call === "function")) { return call; } return Popover__assertThisInitialized(self); }
-
-function Popover__getPrototypeOf(o) { Popover__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Popover__getPrototypeOf(o); }
-
-function Popover__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) Popover__setPrototypeOf(subClass, superClass); }
-
-function Popover__setPrototypeOf(o, p) { Popover__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Popover__setPrototypeOf(o, p); }
-
-function Popover__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-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; }
-
-/* eslint-disable react/jsx-indent */
-
-
-
-
-
-
-
-
-var triggerPropTypes = prop_types_default.a.oneOf(['click', 'hover', 'focus', 'disabled']);
-
-var Popover_Popover =
-/*#__PURE__*/
-function (_React$PureComponent) {
- Popover__inherits(Popover, _React$PureComponent);
-
- function Popover() {
- var _getPrototypeOf2;
-
- var _this;
-
- Popover__classCallCheck(this, Popover);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = Popover__possibleConstructorReturn(this, (_getPrototypeOf2 = Popover__getPrototypeOf(Popover)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "state", {
- isPopoverOpen: _this.props.isOpen
- });
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "onClick", function () {
- return _this.togglePopover();
- });
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "onFocus", function () {
- return _this.openPopover();
- });
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "onBlur", function () {
- return _this.closePopover();
- });
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "onMouseOver", function () {
- return _this.openPopover();
- });
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "onMouseOut", function () {
- return _this.closePopover();
- });
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "getBoundedContainer", function () {
- return _this.props.getContainer ? _this.props.getContainer() : document.body;
- });
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "closePopover", function () {
- return _this.setState({
- isPopoverOpen: false
- });
- });
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "openPopover", function () {
- return _this.setState({
- isPopoverOpen: true
- });
- });
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "togglePopover", function () {
- return _this.setState({
- isPopoverOpen: !_this.state.isPopoverOpen
- });
- });
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "referenceRef", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createRef());
-
- _defineProperty(Popover__assertThisInitialized(Popover__assertThisInitialized(_this)), "popperRef", _this.props.popperRef || external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createRef());
-
- return _this;
- }
-
- Popover__createClass(Popover, [{
- key: "render",
- value: function render() {
- var _this2 = this;
-
- var _this$props = this.props,
- theme = _this$props.theme,
- title = _this$props.title,
- children = _this$props.children,
- className = _this$props.className,
- dts = _this$props.dts,
- popoverClassNames = _this$props.popoverClassNames,
- popoverContent = _this$props.popoverContent;
- var themeClass = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.includes(themes, theme) ? "popover-".concat(theme) : 'popover-light';
- var elementClass = classnames_default()('aui--popover-element', className);
- var popoverClass = classnames_default()('aui--popover-wrapper', themeClass, popoverClassNames);
-
- var triggers = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.flattenDeep([this.props.triggers]);
-
- var arrowStyles = {};
-
- switch (true) {
- case external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.includes(['bottom-start', 'top-start'], this.props.placement):
- arrowStyles = {
- left: 12
- };
- break;
-
- case external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.includes(['bottom-end', 'top-end'], this.props.placement):
- arrowStyles = {
- left: 'auto',
- right: 12
- };
- break;
-
- default:
- arrowStyles = {};
- }
-
- arrowStyles = _objectSpread({}, arrowStyles, this.props.arrowStyles); // let user override default configuration
-
- var popoverElement = this.state.isPopoverOpen ? external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom___default.a.createPortal(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(esm_Popper_Popper, {
- innerRef: this.popperRef,
- placement: this.props.placement,
- modifiers: _objectSpread({
- preventOverflow: {
- enabled: true,
- boundariesElement: this.getBoundedContainer()
- }
- }, this.props.modifiers),
- __source: {
- fileName: Popover__jsxFileName,
- lineNumber: 96
- },
- __self: this
- }, function (_ref) {
- var ref = _ref.ref,
- style = _ref.style,
- placement = _ref.placement,
- arrowProps = _ref.arrowProps,
- scheduleUpdate = _ref.scheduleUpdate;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: popoverClass,
- ref: ref,
- style: _objectSpread({}, style, _this2.props.wrapperStyles),
- "data-placement": placement,
- "data-test-selector": dts,
- __source: {
- fileName: Popover__jsxFileName,
- lineNumber: 108
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "aui--popover-container",
- __source: {
- fileName: Popover__jsxFileName,
- lineNumber: 115
- },
- __self: this
- }, title ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "popover-title",
- __source: {
- fileName: Popover__jsxFileName,
- lineNumber: 116
- },
- __self: this
- }, title) : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "popover-content",
- __source: {
- fileName: Popover__jsxFileName,
- lineNumber: 117
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isFunction(popoverContent) ? popoverContent({
- scheduleUpdate: scheduleUpdate
- }) : popoverContent)), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "aui--popover-arrow",
- "data-placement": placement,
- ref: arrowProps.ref,
- style: _objectSpread({}, arrowProps.style, arrowStyles),
- __source: {
- fileName: Popover__jsxFileName,
- lineNumber: 121
- },
- __self: this
- }));
- }), this.getBoundedContainer()) : null;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(esm_Manager_Manager, {
- __source: {
- fileName: Popover__jsxFileName,
- lineNumber: 135
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Reference, {
- innerRef: this.referenceRef,
- __source: {
- fileName: Popover__jsxFileName,
- lineNumber: 136
- },
- __self: this
- }, function (_ref2) {
- var ref = _ref2.ref;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", Object.assign({
- className: elementClass,
- ref: ref
- }, triggers.includes('disabled') ? {} : _objectSpread({}, triggers.includes('click') ? {
- onClick: _this2.onClick
- } : {}, triggers.includes('hover') ? {
- onMouseOver: _this2.onMouseOver,
- onMouseOut: _this2.onMouseOut
- } : {}, triggers.includes('focus') ? {
- onFocus: _this2.onFocus,
- onBlur: _this2.onBlur
- } : {}), {
- __source: {
- fileName: Popover__jsxFileName,
- lineNumber: 138
- },
- __self: this
- }), children);
- }), popoverElement);
- }
- }], [{
- key: "getDerivedStateFromProps",
- value: function getDerivedStateFromProps(props, state) {
- var triggers = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.flattenDeep([props.triggers]);
-
- if (!triggers.includes('disabled')) {
- return state;
- }
-
- return {
- isPopoverOpen: props.isOpen
- };
- }
- }]);
-
- return Popover;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-_defineProperty(Popover_Popover, "propTypes", {
- theme: prop_types_default.a.oneOf(themes),
- title: prop_types_default.a.node,
- className: prop_types_default.a.string,
- popoverClassNames: prop_types_default.a.string,
- // arrow css styles, mainly for positioning the arrow
- arrowStyles: prop_types_default.a.object,
- // eslint-disable-line react/forbid-prop-types
- wrapperStyles: prop_types_default.a.object,
- // eslint-disable-line react/forbid-prop-types
- modifiers: prop_types_default.a.object,
- // eslint-disable-line react/forbid-prop-types
- placement: prop_types_default.a.oneOf(popoverPlacements),
- popoverContent: prop_types_default.a.oneOfType([prop_types_default.a.node, prop_types_default.a.func]).isRequired,
- children: prop_types_default.a.node.isRequired,
- triggers: prop_types_default.a.oneOfType([triggerPropTypes, prop_types_default.a.arrayOf(triggerPropTypes)]),
- isOpen: prop_types_default.a.bool,
- getContainer: prop_types_default.a.func,
- popperRef: prop_types_default.a.func,
- dts: prop_types_default.a.string
-});
-
-_defineProperty(Popover_Popover, "defaultProps", {
- theme: 'light',
- placement: 'auto',
- triggers: 'hover',
- isOpen: false
-});
-
-/* harmony default export */ var third_party_Popover = (Popover_Popover);
-// CONCATENATED MODULE: ./components/third-party/index.js
-
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/lib/Dropdown.js
-var Dropdown = __webpack_require__(192);
-var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/lib/MenuItem.js
-var MenuItem = __webpack_require__(207);
-var MenuItem_default = /*#__PURE__*/__webpack_require__.n(MenuItem);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/lib/Modal.js
-var Modal = __webpack_require__(93);
-var Modal_default = /*#__PURE__*/__webpack_require__.n(Modal);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/lib/OverlayTrigger.js
-var OverlayTrigger = __webpack_require__(233);
-var OverlayTrigger_default = /*#__PURE__*/__webpack_require__.n(OverlayTrigger);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/lib/Pagination.js
-var Pagination = __webpack_require__(125);
-var Pagination_default = /*#__PURE__*/__webpack_require__.n(Pagination);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/lib/ProgressBar.js
-var ProgressBar = __webpack_require__(241);
-var ProgressBar_default = /*#__PURE__*/__webpack_require__.n(ProgressBar);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/lib/NavItem.js
-var NavItem = __webpack_require__(242);
-var NavItem_default = /*#__PURE__*/__webpack_require__.n(NavItem);
-
-// EXTERNAL MODULE: ./styles/_bootstrap-custom.scss
-var _bootstrap_custom = __webpack_require__(243);
-var _bootstrap_custom_default = /*#__PURE__*/__webpack_require__.n(_bootstrap_custom);
-
-// EXTERNAL MODULE: ./styles/_icheck-custom.scss
-var _icheck_custom = __webpack_require__(244);
-var _icheck_custom_default = /*#__PURE__*/__webpack_require__.n(_icheck_custom);
-
-// EXTERNAL MODULE: ./styles/_react-datepicker-custom.scss
-var _react_datepicker_custom = __webpack_require__(245);
-var _react_datepicker_custom_default = /*#__PURE__*/__webpack_require__.n(_react_datepicker_custom);
-
-// EXTERNAL MODULE: ./styles/_react-select-custom.scss
-var _react_select_custom = __webpack_require__(246);
-var _react_select_custom_default = /*#__PURE__*/__webpack_require__.n(_react_select_custom);
-
-// EXTERNAL MODULE: ./components/alexandria/Alert/styles.scss
-var Alert_styles = __webpack_require__(247);
-var Alert_styles_default = /*#__PURE__*/__webpack_require__.n(Alert_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Alert/index.jsx
-var Alert__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Alert/index.jsx";
-
-
-
-
-
-var Alert_Alert = function Alert(_ref) {
- var type = _ref.type,
- children = _ref.children,
- dts = _ref.dts;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({
- className: "alert-component alert-component-".concat(type)
- }, Object(utils["b" /* expandDts */])(dts), {
- __source: {
- fileName: Alert__jsxFileName,
- lineNumber: 7
- },
- __self: this
- }), children);
-};
-
-Alert_Alert.displayName = 'AlexandriaAlertComponent';
-Alert_Alert.propTypes = {
- type: prop_types_default.a.oneOf(['success', 'info', 'warning', 'danger']),
- children: prop_types_default.a.node.isRequired,
- dts: prop_types_default.a.string
-};
-Alert_Alert.defaultProps = {
- type: 'info'
-};
-/* harmony default export */ var alexandria_Alert = (Alert_Alert);
-// EXTERNAL MODULE: ./components/alexandria/Avatar/styles.scss
-var Avatar_styles = __webpack_require__(248);
-var Avatar_styles_default = /*#__PURE__*/__webpack_require__.n(Avatar_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Avatar/index.jsx
-var Avatar__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Avatar/index.jsx";
-
-
-
-
-var Avatar_baseClass = 'avatar-component';
-
-var Avatar_Avatar = function Avatar(_ref) {
- var color = _ref.color,
- givenName = _ref.givenName,
- tooltip = _ref.tooltip,
- image = _ref.image,
- surname = _ref.surname;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: color ? "".concat(Avatar_baseClass, " ").concat(Avatar_baseClass, "-").concat(color) : Avatar_baseClass,
- title: tooltip !== undefined ? tooltip : "".concat(givenName || '', " ").concat(surname || ''),
- __source: {
- fileName: Avatar__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }, image ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("img", {
- className: "".concat(Avatar_baseClass, "-image"),
- src: image,
- role: "presentation",
- __source: {
- fileName: Avatar__jsxFileName,
- lineNumber: 12
- },
- __self: this
- }) : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "avatar-component-initials",
- __source: {
- fileName: Avatar__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, "".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.head(givenName) || '').concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.head(surname) || '')));
-};
-
-Avatar_Avatar.displayName = 'AlexandriaAvatarComponent';
-Avatar_Avatar.propTypes = {
- color: prop_types_default.a.string,
- givenName: prop_types_default.a.string,
- tooltip: prop_types_default.a.string,
- image: prop_types_default.a.string,
- surname: prop_types_default.a.string
-};
-/* harmony default export */ var alexandria_Avatar = (Avatar_Avatar);
-// EXTERNAL MODULE: ./components/alexandria/BorderedWell/styles.scss
-var BorderedWell_styles = __webpack_require__(249);
-var BorderedWell_styles_default = /*#__PURE__*/__webpack_require__.n(BorderedWell_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/BorderedWell/index.jsx
-var BorderedWell__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/BorderedWell/index.jsx";
-
-
-
-
-var BorderedWell_BorderedWell = function BorderedWell(_ref) {
- var children = _ref.children;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "borderedwell-component",
- __source: {
- fileName: BorderedWell__jsxFileName,
- lineNumber: 5
- },
- __self: this
- }, children);
-};
-
-BorderedWell_BorderedWell.displayName = 'AlexandriaBorderedWellComponent';
-BorderedWell_BorderedWell.propTypes = {
- children: prop_types_default.a.node
-};
-/* harmony default export */ var alexandria_BorderedWell = (BorderedWell_BorderedWell);
-// EXTERNAL MODULE: ./components/alexandria/Breadcrumb/Node/styles.scss
-var Node_styles = __webpack_require__(250);
-var Node_styles_default = /*#__PURE__*/__webpack_require__.n(Node_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Breadcrumb/Node/index.jsx
-var Node__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Breadcrumb/Node/index.jsx";
-
-
-
-
-var Node_BreadcrumbNode = function BreadcrumbNode(_ref) {
- var isLast = _ref.isLast,
- node = _ref.node,
- onClick = _ref.onClick;
- var baseClass = 'breadcrumbnode-component';
-
- if (isLast) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: baseClass,
- __source: {
- fileName: Node__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }, node.label);
- }
-
- var onClickNode = function onClickNode() {
- return onClick(node.id);
- };
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "".concat(baseClass, " ").concat(baseClass, "-link"),
- onClick: onClickNode,
- __source: {
- fileName: Node__jsxFileName,
- lineNumber: 13
- },
- __self: this
- }, node.label);
-};
-
-Node_BreadcrumbNode.displayName = 'AlexandriaBreadcrumbNodeComponent';
-Node_BreadcrumbNode.propTypes = {
- isLast: prop_types_default.a.bool.isRequired,
- node: prop_types_default.a.shape({
- id: prop_types_default.a.string.isRequired,
- label: prop_types_default.a.string.isRequired
- }),
- onClick: prop_types_default.a.func.isRequired
-};
-/* harmony default export */ var Node = (Node_BreadcrumbNode);
-// EXTERNAL MODULE: ./components/alexandria/Breadcrumb/styles.scss
-var Breadcrumb_styles = __webpack_require__(251);
-var Breadcrumb_styles_default = /*#__PURE__*/__webpack_require__.n(Breadcrumb_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Breadcrumb/index.jsx
-var Breadcrumb__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Breadcrumb/index.jsx";
-
-
-
-
-
-
-var Breadcrumb_Breadcrumb = function Breadcrumb(_ref) {
- var nodes = _ref.nodes,
- onClick = _ref.onClick,
- disabled = _ref.disabled;
- var baseClass = 'breadcrumb-component';
- var className = "".concat(baseClass, " ").concat(disabled ? 'disabled' : '');
-
- var onClickFunc = function onClickFunc(newActiveId) {
- return !disabled && onClick(newActiveId);
- };
-
- if (nodes.length === 0) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: className,
- __source: {
- fileName: Breadcrumb__jsxFileName,
- lineNumber: 13
- },
- __self: this
- });
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: className,
- __source: {
- fileName: Breadcrumb__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Node, {
- isLast: false,
- node: {
- id: 'all',
- label: 'All'
- },
- onClick: onClickFunc,
- __source: {
- fileName: Breadcrumb__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }), external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(nodes, function (node, index) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "".concat(baseClass, "-node"),
- key: node.id,
- __source: {
- fileName: Breadcrumb__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "".concat(baseClass, "-node-divider"),
- __source: {
- fileName: Breadcrumb__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, " > "), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Node, {
- isLast: index === nodes.length - 1,
- node: node,
- onClick: onClickFunc,
- __source: {
- fileName: Breadcrumb__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }));
- }));
-};
-
-Breadcrumb_Breadcrumb.displayName = 'AlexandriaBreadcrumbComponent';
-Breadcrumb_Breadcrumb.propTypes = {
- nodes: prop_types_default.a.arrayOf(Node.propTypes.node),
- onClick: prop_types_default.a.func,
- disabled: prop_types_default.a.bool
-};
-Breadcrumb_Breadcrumb.defaultProps = {
- nodes: [],
- onClick: function onClick(newActiveId) {
- throw new Error("Alexandria Breadcrumb needs an onClick handler to take ".concat(newActiveId));
- },
- disabled: false
-};
-/* harmony default export */ var alexandria_Breadcrumb = (Breadcrumb_Breadcrumb);
-// EXTERNAL MODULE: ./components/alexandria/Card/styles.scss
-var Card_styles = __webpack_require__(252);
-var Card_styles_default = /*#__PURE__*/__webpack_require__.n(Card_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Card/index.jsx
-var Card__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Card/index.jsx";
-
-
-
-
-
-
-var Card_CardContent = function CardContent(_ref) {
- var children = _ref.children,
- className = _ref.className,
- stretch = _ref.stretch,
- fill = _ref.fill,
- append = _ref.append,
- dts = _ref.dts;
- var baseClass = 'card-component-content';
- var contentClassNames = [baseClass];
- if (stretch) contentClassNames.push('stretch');
- if (fill) contentClassNames.push('fill');
- if (append) contentClassNames.push('append');
- if (className) contentClassNames.push(className);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({
- className: contentClassNames.join(' ')
- }, Object(utils["b" /* expandDts */])(dts), {
- __source: {
- fileName: Card__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }), children);
-};
-
-Card_CardContent.displayName = 'AlexandriaCardContentComponent';
-Card_CardContent.propTypes = {
- children: prop_types_default.a.node.isRequired,
- className: prop_types_default.a.string,
- fill: prop_types_default.a.bool,
- stretch: prop_types_default.a.bool,
- append: prop_types_default.a.bool,
- dts: prop_types_default.a.string
-};
-Card_CardContent.defaultProps = {
- fill: false,
- stretch: false,
- append: false
-};
-
-var Card_Card = function Card(_ref2) {
- var children = _ref2.children,
- className = _ref2.className,
- accent = _ref2.accent,
- dts = _ref2.dts;
- var baseClass = 'card-component';
- var containerClassNames = [baseClass];
- if (accent) containerClassNames.push("accent accent-".concat(accent));
- if (className) containerClassNames.push(className);
- var nestedChildren = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, function (child // eslint-disable-line lodash/prefer-lodash-method
- ) {
- return !external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.get(child, 'props.append') ? child : null;
- });
- var appendedChildren = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, function (child // eslint-disable-line lodash/prefer-lodash-method
- ) {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.get(child, 'props.append') ? child : null;
- });
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({
- className: containerClassNames.join(' ')
- }, Object(utils["b" /* expandDts */])(dts), {
- __source: {
- fileName: Card__jsxFileName,
- lineNumber: 54
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "".concat(baseClass, "-content-container"),
- __source: {
- fileName: Card__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }, nestedChildren), appendedChildren);
-};
-
-Card_Card.displayName = 'AlexandriaCardComponent';
-Card_Card.propTypes = {
- children: prop_types_default.a.node.isRequired,
- className: prop_types_default.a.string,
- accent: prop_types_default.a.string,
- dts: prop_types_default.a.string
-};
-/* harmony default export */ var alexandria_Card = ({
- Container: Card_Card,
- Content: Card_CardContent
-});
-// EXTERNAL MODULE: ./components/alexandria/SvgSymbol/styles.scss
-var SvgSymbol_styles = __webpack_require__(253);
-var SvgSymbol_styles_default = /*#__PURE__*/__webpack_require__.n(SvgSymbol_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/SvgSymbol/index.jsx
-var SvgSymbol__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/SvgSymbol/index.jsx";
-
-
-
-
-var base64UrlPrefix = 'data:image/svg+xml;base64,';
-
-var SvgSymbol_SvgSymbol = function SvgSymbol(props) {
- var isEncoded = false;
- var classSuffixes = props.classSuffixes,
- href = props.href,
- onClick = props.onClick;
- var componentClass = 'svg-symbol-component';
- var suffixOptions = {
- clickable: props.onClick
- };
- var classesList = Object(utils["a" /* classSuffixHelper */])({
- classSuffixes: classSuffixes,
- suffixOptions: suffixOptions,
- componentClass: componentClass
- });
-
- if (href.indexOf(base64UrlPrefix) !== -1) {
- isEncoded = true;
- }
-
- var className = "".concat(componentClass).concat(classesList);
- return isEncoded ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: className,
- onClick: onClick,
- __source: {
- fileName: SvgSymbol__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("img", {
- src: href,
- __source: {
- fileName: SvgSymbol__jsxFileName,
- lineNumber: 27
- },
- __self: this
- })) : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("svg", {
- className: className,
- onClick: onClick,
- __source: {
- fileName: SvgSymbol__jsxFileName,
- lineNumber: 30
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("use", {
- href: href,
- xlinkHref: href,
- __source: {
- fileName: SvgSymbol__jsxFileName,
- lineNumber: 31
- },
- __self: this
- }));
-};
-
-SvgSymbol_SvgSymbol.displayName = 'AlexandriaSvgSymbolComponent';
-SvgSymbol_SvgSymbol.propTypes = {
- classSuffixes: prop_types_default.a.arrayOf(prop_types_default.a.string.isRequired),
- href: prop_types_default.a.string,
- onClick: prop_types_default.a.func
-};
-SvgSymbol_SvgSymbol.defaultProps = {
- href: '',
- classSuffixes: []
-};
-/* harmony default export */ var alexandria_SvgSymbol = (SvgSymbol_SvgSymbol);
-// EXTERNAL MODULE: ./components/alexandria/SvgSymbol/Circle/styles.scss
-var Circle_styles = __webpack_require__(254);
-var Circle_styles_default = /*#__PURE__*/__webpack_require__.n(Circle_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/SvgSymbol/Circle/index.jsx
-var Circle__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/SvgSymbol/Circle/index.jsx";
-
-
-
-
-
-
-var Circle_SvgSymbolCircle = function SvgSymbolCircle(props) {
- var componentClass = 'svgsymbolcircle-component';
- var classesList = Object(utils["a" /* classSuffixHelper */])({
- classSuffixes: props.classSuffixes,
- componentClass: componentClass
- });
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "".concat(componentClass).concat(classesList),
- __source: {
- fileName: Circle__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_SvgSymbol, Object.assign({
- classSuffixes: props.classSuffixes,
- href: props.href
- }, props, {
- __source: {
- fileName: Circle__jsxFileName,
- lineNumber: 15
- },
- __self: this
- })));
-};
-
-Circle_SvgSymbolCircle.displayName = 'AlexandriaSvgSymbolCircleComponent';
-Circle_SvgSymbolCircle.propTypes = {
- classSuffixes: alexandria_SvgSymbol.propTypes.classSuffixes,
- // eslint-disable-line react/no-typos
- href: prop_types_default.a.string
-};
-/* harmony default export */ var Circle = (Circle_SvgSymbolCircle);
-// EXTERNAL MODULE: ./components/alexandria/Empty/styles.scss
-var Empty_styles = __webpack_require__(255);
-var Empty_styles_default = /*#__PURE__*/__webpack_require__.n(Empty_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Empty/index.jsx
-var Empty__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Empty/index.jsx";
-
-
-
-
-
-
-var Empty_Empty = function Empty(_ref) {
- var collection = _ref.collection,
- svgSymbol = _ref.svgSymbol,
- text = _ref.text,
- hideIcon = _ref.hideIcon;
- var classSuffixes = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(svgSymbol.classSuffixes) ? Empty.defaultProps.svgSymbol.classSuffixes : svgSymbol.classSuffixes;
-
- if (external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(collection)) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "empty-component",
- __source: {
- fileName: Empty__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, hideIcon ? null : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Circle, {
- href: svgSymbol.href,
- classSuffixes: classSuffixes,
- __source: {
- fileName: Empty__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "empty-component-text",
- __source: {
- fileName: Empty__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, text));
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: Empty__jsxFileName,
- lineNumber: 21
- },
- __self: this
- });
-};
-
-Empty_Empty.displayName = 'AlexandriaEmptyComponent';
-Empty_Empty.propTypes = {
- collection: prop_types_default.a.oneOfType([prop_types_default.a.node, prop_types_default.a.array, prop_types_default.a.object]),
- svgSymbol: prop_types_default.a.shape(Circle.propTypes),
- text: prop_types_default.a.node,
- // can be string or, if you want rich formatting, a node
- hideIcon: prop_types_default.a.bool
-};
-Empty_Empty.defaultProps = {
- svgSymbol: {
- classSuffixes: ['gray-darker', '70', 'circle']
- },
- text: 'Nothing to show.',
- hideIcon: false
-};
-/* harmony default export */ var alexandria_Empty = (Empty_Empty);
-// EXTERNAL MODULE: ./components/alexandria/FlexibleSpacer/styles.scss
-var FlexibleSpacer_styles = __webpack_require__(256);
-var FlexibleSpacer_styles_default = /*#__PURE__*/__webpack_require__.n(FlexibleSpacer_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/FlexibleSpacer/index.jsx
-var FlexibleSpacer__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/FlexibleSpacer/index.jsx";
-
-
-
-var FlexibleSpacer_FlexibleSpacer = function FlexibleSpacer() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "flexible-spacer-component",
- __source: {
- fileName: FlexibleSpacer__jsxFileName,
- lineNumber: 4
- },
- __self: this
- });
-};
-
-FlexibleSpacer_FlexibleSpacer.displayName = 'AlexandriaFlexibleSpacerComponent';
-/* harmony default export */ var alexandria_FlexibleSpacer = (FlexibleSpacer_FlexibleSpacer);
-// EXTERNAL MODULE: ./components/alexandria/Grid/styles.scss
-var Grid_styles = __webpack_require__(257);
-var Grid_styles_default = /*#__PURE__*/__webpack_require__.n(Grid_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Grid/index.jsx
-var Grid__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Grid/index.jsx";
-
-
-
-
-
-var Grid_Grid = function Grid(_ref) {
- var children = _ref.children,
- dts = _ref.dts;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({
- className: "grid-component"
- }, Object(utils["b" /* expandDts */])(dts), {
- __source: {
- fileName: Grid__jsxFileName,
- lineNumber: 7
- },
- __self: this
- }), children);
-};
-
-Grid_Grid.displayName = 'AlexandriaGridComponent';
-Grid_Grid.propTypes = {
- children: prop_types_default.a.node,
- dts: prop_types_default.a.string
-};
-/* harmony default export */ var alexandria_Grid = (Grid_Grid);
-// EXTERNAL MODULE: ./components/alexandria/Grid/Cell/styles.scss
-var Cell_styles = __webpack_require__(258);
-var Cell_styles_default = /*#__PURE__*/__webpack_require__.n(Cell_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Grid/Cell/index.jsx
-var Cell__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Grid/Cell/index.jsx";
-
-function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
-
-function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
-
-function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
-
-function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }
-
-
-
-
-
-
-var Cell_GridCell = function GridCell(_ref) {
- var children = _ref.children,
- classSuffixes = _ref.classSuffixes,
- onClick = _ref.onClick,
- stretch = _ref.stretch,
- dts = _ref.dts,
- addonClassNames = _ref.addonClassNames;
- var componentClass = 'grid-component-cell';
- var classesList = Object(utils["a" /* classSuffixHelper */])({
- classSuffixes: classSuffixes,
- suffixOptions: {
- stretch: stretch,
- clickable: onClick
- },
- componentClass: componentClass
- });
- var baseClassNames = "".concat(componentClass).concat(classesList);
- var className = addonClassNames ? [baseClassNames].concat(_toConsumableArray(addonClassNames)).join(' ') : baseClassNames;
- var extraProps = onClick ? {
- onClick: onClick
- } : {};
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({
- className: className
- }, extraProps, Object(utils["b" /* expandDts */])(dts), {
- __source: {
- fileName: Cell__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }), children);
-};
-
-Cell_GridCell.displayName = 'AlexandriaGridCellComponent';
-Cell_GridCell.propTypes = {
- addonClassNames: prop_types_default.a.arrayOf(prop_types_default.a.string),
- children: prop_types_default.a.node,
- classSuffixes: prop_types_default.a.arrayOf(prop_types_default.a.string),
- dts: prop_types_default.a.string,
- onClick: prop_types_default.a.func,
- stretch: prop_types_default.a.bool
-};
-Cell_GridCell.defaultProps = {
- classSuffixes: [],
- stretch: false
-};
-/* harmony default export */ var Cell = (Cell_GridCell);
-// EXTERNAL MODULE: ./components/alexandria/Grid/Row/styles.scss
-var Row_styles = __webpack_require__(259);
-var Row_styles_default = /*#__PURE__*/__webpack_require__.n(Row_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Grid/Row/index.jsx
-var Row__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Grid/Row/index.jsx";
-
-
-
-
-
-var Row_GridRow = function GridRow(_ref) {
- var horizontalBorder = _ref.horizontalBorder,
- short = _ref.short,
- type = _ref.type,
- verticalCellBorder = _ref.verticalCellBorder,
- children = _ref.children,
- dts = _ref.dts;
- var componentClass = 'grid-component-row';
- var classesList = Object(utils["a" /* classSuffixHelper */])({
- classSuffixes: [type],
- suffixOptions: {
- horizontalBorder: horizontalBorder,
- short: short,
- verticalCellBorder: verticalCellBorder
- },
- componentClass: componentClass
- });
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({
- className: "".concat(componentClass).concat(classesList)
- }, Object(utils["b" /* expandDts */])(dts), {
- __source: {
- fileName: Row__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }), children);
-};
-
-Row_GridRow.displayName = 'AlexandriaGridRowComponent';
-Row_GridRow.propTypes = {
- children: prop_types_default.a.node,
- horizontalBorder: prop_types_default.a.bool,
- short: prop_types_default.a.bool,
- type: prop_types_default.a.oneOf(['body', 'header', 'subfooter', 'footer']),
- verticalCellBorder: prop_types_default.a.bool,
- dts: prop_types_default.a.string
-};
-Row_GridRow.defaultProps = {
- horizontalBorder: true,
- short: false,
- type: 'body',
- verticalCellBorder: false
-};
-/* harmony default export */ var Row = (Row_GridRow);
-// EXTERNAL MODULE: ./components/alexandria/PageTitle/styles.scss
-var PageTitle_styles = __webpack_require__(260);
-var PageTitle_styles_default = /*#__PURE__*/__webpack_require__.n(PageTitle_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/PageTitle/index.jsx
-var PageTitle__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/PageTitle/index.jsx";
-
-
-
-
-
-var PageTitle_baseClass = 'pagetitle-component';
-
-var PageTitle_PageTitle = function PageTitle(_ref) {
- var children = _ref.children,
- isFooter = _ref.isFooter,
- title = _ref.title;
- var className = isFooter ? "".concat(PageTitle_baseClass, " ").concat(PageTitle_baseClass, "-is-footer") : PageTitle_baseClass;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: className,
- id: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(title),
- __source: {
- fileName: PageTitle__jsxFileName,
- lineNumber: 12
- },
- __self: this
- }, children ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "flexible-wrapper-inline",
- __source: {
- fileName: PageTitle__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, title, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_FlexibleSpacer, {
- __source: {
- fileName: PageTitle__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }), children) : title);
-};
-
-PageTitle_PageTitle.displayName = 'AlexandriaPageTitleComponent';
-PageTitle_PageTitle.propTypes = {
- children: prop_types_default.a.node,
- isFooter: prop_types_default.a.bool,
- title: prop_types_default.a.node
-};
-PageTitle_PageTitle.defaultProps = {
- isFooter: false
-};
-/* harmony default export */ var alexandria_PageTitle = (PageTitle_PageTitle);
-// EXTERNAL MODULE: ../node_modules/diff-match-patch/index.js
-var diff_match_patch = __webpack_require__(261);
-var diff_match_patch_default = /*#__PURE__*/__webpack_require__.n(diff_match_patch);
-
-// EXTERNAL MODULE: ./components/alexandria/PrettyDiff/styles.scss
-var PrettyDiff_styles = __webpack_require__(262);
-var PrettyDiff_styles_default = /*#__PURE__*/__webpack_require__.n(PrettyDiff_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/PrettyDiff/index.jsx
-var PrettyDiff__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/PrettyDiff/index.jsx";
-
-
-
-
-
-
-var PrettyDiff_PrettyDiff = function PrettyDiff(_ref) {
- var newText = _ref.newText,
- oldText = _ref.oldText;
- var dmp = new diff_match_patch_default.a();
- var diffs = dmp.diff_main(oldText, newText);
-
- var getTextClass = function getTextClass(diffType) {
- switch (diffType) {
- case diff_match_patch_default.a.DIFF_DELETE:
- return 'pretty-diff-component-delete';
-
- case diff_match_patch_default.a.DIFF_INSERT:
- return 'pretty-diff-component-insert';
-
- default:
- return 'pretty-diff-component-equal';
- }
- };
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "pretty-diff-component",
- __source: {
- fileName: PrettyDiff__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(diffs, function (diff, index) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- key: index,
- className: getTextClass(diff[0]),
- __source: {
- fileName: PrettyDiff__jsxFileName,
- lineNumber: 25
- },
- __self: this
- }, diff[1]);
- }));
-};
-
-PrettyDiff_PrettyDiff.displayName = 'PrettyDiffComponent';
-PrettyDiff_PrettyDiff.propTypes = {
- newText: prop_types_default.a.string,
- oldText: prop_types_default.a.string
-};
-PrettyDiff_PrettyDiff.defaultProps = {
- newText: '',
- oldText: ''
-};
-/* harmony default export */ var alexandria_PrettyDiff = (PrettyDiff_PrettyDiff);
-// EXTERNAL MODULE: ./components/alexandria/Slicey/Arc/styles.scss
-var Arc_styles = __webpack_require__(263);
-var Arc_styles_default = /*#__PURE__*/__webpack_require__.n(Arc_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Slicey/Arc/index.jsx
-var Arc__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Slicey/Arc/index.jsx";
-
-
-
-
-
-var Arc_Arc = function Arc(_ref) {
- var data = _ref.data;
-
- if (!data) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("path", {
- className: "arc-component",
- __source: {
- fileName: Arc__jsxFileName,
- lineNumber: 8
- },
- __self: this
- });
- }
-
- var dataString = "M0,0 L".concat(data.x1, ",").concat(data.y1, " A0.5,0.5 0 ").concat(data.largeArcFlag, ",1 ").concat(data.x2, ",").concat(data.y2, " z");
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("path", {
- className: "arc-component ".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(data.label)),
- d: dataString,
- __source: {
- fileName: Arc__jsxFileName,
- lineNumber: 12
- },
- __self: this
- });
-};
-
-Arc_Arc.displayName = 'AlexandriaSliceyArcComponent';
-Arc_Arc.propTypes = {
- data: prop_types_default.a.shape({
- label: prop_types_default.a.string.isRequired,
- id: prop_types_default.a.number.isRequired,
- largeArcFlag: prop_types_default.a.number.isRequired,
- x1: prop_types_default.a.number.isRequired,
- y1: prop_types_default.a.number.isRequired,
- x2: prop_types_default.a.number.isRequired,
- y2: prop_types_default.a.number.isRequired
- })
-};
-/* harmony default export */ var Slicey_Arc = (Arc_Arc);
-// EXTERNAL MODULE: ./components/alexandria/Slicey/Donut/styles.scss
-var Donut_styles = __webpack_require__(264);
-var Donut_styles_default = /*#__PURE__*/__webpack_require__.n(Donut_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Slicey/Donut/index.jsx
-var Donut__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Slicey/Donut/index.jsx";
-
-
-
-var Donut_Donut = function Donut() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("circle", {
- className: "donut-component",
- r: ".45",
- cx: "0",
- cy: "0",
- __source: {
- fileName: Donut__jsxFileName,
- lineNumber: 4
- },
- __self: this
- });
-};
-
-Donut_Donut.displayName = 'AlexandriaSliceyDonutComponent';
-/* harmony default export */ var Slicey_Donut = (Donut_Donut);
-// CONCATENATED MODULE: ./components/alexandria/Slicey/dataProcessor.js
-var RADIUS = 0.5;
-var QUARTER = Math.PI / 2;
-var HALF = Math.PI;
-var ROUND = Math.PI * 2;
-var getPointX = function getPointX(angle) {
- return RADIUS * Math.cos(angle);
-};
-var getPointY = function getPointY(angle) {
- return RADIUS * Math.sin(angle);
-};
-// EXTERNAL MODULE: ./components/alexandria/Slicey/Marker/styles.scss
-var Marker_styles = __webpack_require__(265);
-var Marker_styles_default = /*#__PURE__*/__webpack_require__.n(Marker_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Slicey/Marker/index.jsx
-var Marker__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Slicey/Marker/index.jsx";
-
-
-
-
-
-var Marker_Marker = function Marker(_ref) {
- var fraction = _ref.fraction;
-
- var getMarkerPoints = function getMarkerPoints(markerValue) {
- var pointOnCircle = ROUND * markerValue - QUARTER;
- return "".concat(getPointX(pointOnCircle), ",").concat(getPointY(pointOnCircle), " 0,0");
- };
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("polyline", {
- className: "marker-component",
- points: getMarkerPoints(fraction),
- __source: {
- fileName: Marker__jsxFileName,
- lineNumber: 12
- },
- __self: this
- });
-};
-
-Marker_Marker.displayName = 'AlexandriaSliceyMarkerComponent';
-Marker_Marker.propTypes = {
- fraction: prop_types_default.a.number
-};
-Marker_Marker.defaultProps = {
- fraction: 0
-};
-/* harmony default export */ var Slicey_Marker = (Marker_Marker);
-// EXTERNAL MODULE: ./components/alexandria/Slicey/styles.scss
-var Slicey_styles = __webpack_require__(266);
-var Slicey_styles_default = /*#__PURE__*/__webpack_require__.n(Slicey_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Slicey/index.jsx
-var Slicey__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Slicey/index.jsx";
-
-
-
-
-
-
-
-
-
-var Slicey_filterDataset = function filterDataset(dataset) {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.filter(dataset, function (_ref) {
- var value = _ref.value;
- return value > 0;
- });
-};
-
-var Slicey_getArcs = function getArcs(datasetForArcs) {
- var total = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.sumBy(datasetForArcs, 'value');
-
- var arcs = new Array(datasetForArcs.length);
- var endAngle = -QUARTER;
- var startAngle = 0;
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(arcs, function (undefinedArc, index) {
- var datum = datasetForArcs[index];
- var angle = ROUND * datum.value / total;
- startAngle = endAngle;
- endAngle += angle;
- return {
- label: datum.label,
- id: index,
- largeArcFlag: angle > HALF ? 1 : 0,
- x1: getPointX(startAngle),
- y1: getPointY(startAngle),
- x2: getPointX(endAngle),
- y2: getPointY(endAngle)
- };
- });
-}; // IE Can't draw a complete circle as an arc, so swap it to a circle element.
-
-
-var Slicey_getArcElements = function getArcElements(filteredDataset) {
- if (filteredDataset.length > 1) {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(Slicey_getArcs(filteredDataset), function (arc) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Slicey_Arc, {
- key: arc.id,
- data: arc,
- __source: {
- fileName: Slicey__jsxFileName,
- lineNumber: 39
- },
- __self: this
- });
- });
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("circle", {
- className: "arc-component ".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(filteredDataset[0].label)),
- r: ".5",
- cx: "0",
- cy: "0",
- __source: {
- fileName: Slicey__jsxFileName,
- lineNumber: 42
- },
- __self: this
- });
-};
-
-var getSvgProps = function getSvgProps(diameter) {
- return {
- className: 'slicey-component',
- height: diameter,
- width: diameter,
- viewBox: '-0.5 -0.5 1 1'
- };
-};
-
-var Slicey_Slicey = function Slicey(_ref2) {
- var dataset = _ref2.dataset,
- diameter = _ref2.diameter,
- donut = _ref2.donut,
- marker = _ref2.marker;
- var filteredDataset = Slicey_filterDataset(dataset);
- var donutEl = donut ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Slicey_Donut, {
- __source: {
- fileName: Slicey__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }) : null;
- var markerEl = marker ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Slicey_Marker, {
- fraction: marker,
- __source: {
- fileName: Slicey__jsxFileName,
- lineNumber: 57
- },
- __self: this
- }) : null;
-
- if (external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(filteredDataset)) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("svg", Object.assign({}, getSvgProps(diameter), {
- __source: {
- fileName: Slicey__jsxFileName,
- lineNumber: 61
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("circle", {
- className: "slicey-empty",
- r: ".5",
- cx: "0",
- cy: "0",
- __source: {
- fileName: Slicey__jsxFileName,
- lineNumber: 62
- },
- __self: this
- }), markerEl, donutEl);
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("svg", Object.assign({}, getSvgProps(diameter), {
- __source: {
- fileName: Slicey__jsxFileName,
- lineNumber: 70
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("circle", {
- className: "slicey-background",
- r: ".49",
- cx: "0",
- cy: "0",
- __source: {
- fileName: Slicey__jsxFileName,
- lineNumber: 71
- },
- __self: this
- }), Slicey_getArcElements(filteredDataset), markerEl, donutEl);
-};
-
-Slicey_Slicey.displayName = 'AlexandriaSliceyComponent';
-Slicey_Slicey.propTypes = {
- dataset: prop_types_default.a.arrayOf(prop_types_default.a.shape({
- label: prop_types_default.a.string.isRequired,
- value: prop_types_default.a.number.isRequired
- })),
- diameter: prop_types_default.a.number,
- donut: prop_types_default.a.bool,
- marker: prop_types_default.a.number
-};
-Slicey_Slicey.defaultProps = {
- diameter: 100
-};
-/* harmony default export */ var alexandria_Slicey = (Slicey_Slicey);
-// EXTERNAL MODULE: ./components/alexandria/Statistic/styles.scss
-var Statistic_styles = __webpack_require__(267);
-var Statistic_styles_default = /*#__PURE__*/__webpack_require__.n(Statistic_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Statistic/index.jsx
-var Statistic__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Statistic/index.jsx";
-
-
-
-
-var Statistic_Statistic = function Statistic(_ref) {
- var label = _ref.label,
- value = _ref.value,
- inline = _ref.inline;
- var baseClass = 'statistic-component';
- var statisticClassNames = [baseClass];
- if (inline) statisticClassNames.push('inline');
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- className: statisticClassNames.join(' '),
- __source: {
- fileName: Statistic__jsxFileName,
- lineNumber: 11
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "".concat(baseClass, "-value"),
- __source: {
- fileName: Statistic__jsxFileName,
- lineNumber: 12
- },
- __self: this
- }, value), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "".concat(baseClass, "-label"),
- __source: {
- fileName: Statistic__jsxFileName,
- lineNumber: 13
- },
- __self: this
- }, label));
-};
-
-Statistic_Statistic.displayName = 'AlexandriaStatisticComponent';
-Statistic_Statistic.propTypes = {
- inline: prop_types_default.a.bool,
- label: prop_types_default.a.string.isRequired,
- value: prop_types_default.a.string.isRequired
-};
-Statistic_Statistic.defaultProps = {
- inline: false
-};
-/* harmony default export */ var alexandria_Statistic = (Statistic_Statistic);
-// EXTERNAL MODULE: ./components/alexandria/Tag/styles.scss
-var Tag_styles = __webpack_require__(268);
-var Tag_styles_default = /*#__PURE__*/__webpack_require__.n(Tag_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/Tag/index.jsx
-var Tag__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Tag/index.jsx";
-
-function Tag__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; }
-
-
-
-
-
-
-var defaultComponentClass = 'tag-component';
-var Tag_ActionButton = function ActionButton(_ref) {
- var onAction = _ref.onAction,
- id = _ref.id,
- actionIconSvgHref = _ref.actionIconSvgHref;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "action-button",
- onClick: function onClick() {
- return onAction(id);
- },
- __source: {
- fileName: Tag__jsxFileName,
- lineNumber: 10
- },
- __self: this
- }, actionIconSvgHref ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_SvgSymbol, {
- href: actionIconSvgHref,
- __source: {
- fileName: Tag__jsxFileName,
- lineNumber: 11
- },
- __self: this
- }) : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "action-icon",
- __source: {
- fileName: Tag__jsxFileName,
- lineNumber: 11
- },
- __self: this
- }, "\u2715"));
-};
-Tag_ActionButton.propTypes = {
- id: prop_types_default.a.string.isRequired,
- onAction: prop_types_default.a.func.isRequired,
- actionIconSvgHref: prop_types_default.a.string
-};
-
-var Tag_Tag = function Tag(_ref2) {
- var _ref3;
-
- var children = _ref2.children,
- inverse = _ref2.inverse,
- id = _ref2.id,
- onAction = _ref2.onAction,
- accent = _ref2.accent,
- baseClass = _ref2.baseClass,
- actionIconSvgHref = _ref2.actionIconSvgHref;
- var classes = classnames_default()([defaultComponentClass, (_ref3 = {}, Tag__defineProperty(_ref3, "".concat(baseClass, "-inverse"), inverse), Tag__defineProperty(_ref3, "".concat(baseClass, "-accent accent-").concat(accent), accent), Tag__defineProperty(_ref3, "".concat(defaultComponentClass, "-actionable"), onAction), Tag__defineProperty(_ref3, "".concat(baseClass), baseClass !== defaultComponentClass), _ref3)]);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: classes,
- "data-test-selector": "tag-".concat(id),
- __source: {
- fileName: Tag__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }, children, onAction ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Tag_ActionButton, Object.assign({
- onAction: onAction,
- id: id,
- actionIconSvgHref: actionIconSvgHref
- }, {
- __source: {
- fileName: Tag__jsxFileName,
- lineNumber: 35
- },
- __self: this
- })) : null);
-};
-
-Tag_Tag.displayName = 'AlexandriaTagComponent';
-Tag_Tag.propTypes = {
- children: prop_types_default.a.node.isRequired,
- id: prop_types_default.a.string,
- accent: prop_types_default.a.string,
- baseClass: prop_types_default.a.string,
- inverse: prop_types_default.a.bool,
- onAction: prop_types_default.a.func,
- actionIconSvgHref: prop_types_default.a.string
-};
-Tag_Tag.defaultProps = {
- id: 'default',
- baseClass: 'tag-component'
-};
-/* harmony default export */ var alexandria_Tag = (Tag_Tag);
-// CONCATENATED MODULE: ./components/prop-types/idPropType.js
-
-/* harmony default export */ var idPropType = (prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number]));
-// EXTERNAL MODULE: ./components/alexandria/TileGrid/styles.scss
-var TileGrid_styles = __webpack_require__(269);
-var TileGrid_styles_default = /*#__PURE__*/__webpack_require__.n(TileGrid_styles);
-
-// CONCATENATED MODULE: ./components/alexandria/TileGrid/index.jsx
-var TileGrid__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/TileGrid/index.jsx";
-
-/* eslint-disable jsx-a11y/anchor-is-valid */
-
-
-
-
-
-var defaultWidth = 204; // 204px
-
-var defaultMaxWidth = 295; // 295px
-
-var TileGrid_baseClass = 'tile-grid-component';
-
-var TileGrid_TileGrid = function TileGrid(_ref) {
- var title = _ref.title,
- items = _ref.items,
- onItemClick = _ref.onItemClick,
- distributed = _ref.distributed;
-
- var cardList = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(items, function (item) {
- var itemClassNames = ["".concat(TileGrid_baseClass, "-item"), "".concat(TileGrid_baseClass, "-item-").concat(item.classSuffix)];
- if (distributed) itemClassNames.push("".concat(TileGrid_baseClass, "-item-distributed"));
- var imgWrapperClassNames = ["".concat(TileGrid_baseClass, "-item-img-wrapper")];
-
- if (item.imgLink) {
- switch (item.imgAlign || 'left') {
- case 'center':
- imgWrapperClassNames.push("".concat(TileGrid_baseClass, "-item-img-wrapper-center"));
- break;
-
- case 'right':
- imgWrapperClassNames.push("".concat(TileGrid_baseClass, "-item-img-wrapper-right"));
- break;
-
- case 'left':
- default:
- imgWrapperClassNames.push("".concat(TileGrid_baseClass, "-item-img-wrapper-left"));
- }
- }
-
- var itemStyle = distributed ? {
- maxWidth: item.maxWidth || defaultMaxWidth
- } : {
- width: item.width || defaultWidth
- };
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- key: item.id,
- className: itemClassNames.join(' '),
- style: itemStyle,
- __source: {
- fileName: TileGrid__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }, item.imgLink ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: imgWrapperClassNames.join(' '),
- __source: {
- fileName: TileGrid__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("img", {
- src: item.imgLink,
- __source: {
- fileName: TileGrid__jsxFileName,
- lineNumber: 41
- },
- __self: this
- })) : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- className: "".concat(TileGrid_baseClass, "-item-link"),
- onClick: function onClick() {
- return onItemClick(item.id);
- },
- __source: {
- fileName: TileGrid__jsxFileName,
- lineNumber: 44
- },
- __self: this
- }, item.title));
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: TileGrid_baseClass,
- __source: {
- fileName: TileGrid__jsxFileName,
- lineNumber: 52
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("strong", {
- className: "".concat(TileGrid_baseClass, "-title"),
- __source: {
- fileName: TileGrid__jsxFileName,
- lineNumber: 53
- },
- __self: this
- }, title), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("ul", {
- className: "".concat(TileGrid_baseClass, "-list"),
- __source: {
- fileName: TileGrid__jsxFileName,
- lineNumber: 54
- },
- __self: this
- }, cardList));
-};
-
-TileGrid_TileGrid.defaultProps = {
- distributed: false
-};
-TileGrid_TileGrid.propTypes = {
- title: prop_types_default.a.string.isRequired,
- items: prop_types_default.a.arrayOf(prop_types_default.a.shape({
- id: idPropType.isRequired,
- classSuffix: prop_types_default.a.string.isRequired,
- title: prop_types_default.a.string.isRequired,
- imgLink: prop_types_default.a.string,
- width: prop_types_default.a.number,
- maxWidth: prop_types_default.a.number,
- imgAlign: prop_types_default.a.oneOf(['left', 'right', 'center'])
- })).isRequired,
- onItemClick: prop_types_default.a.func.isRequired,
- distributed: prop_types_default.a.bool
-};
-TileGrid_TileGrid.displayName = 'AlexandriaTileGridComponent';
-/* harmony default export */ var alexandria_TileGrid = (TileGrid_TileGrid);
-// CONCATENATED MODULE: ./components/alexandria/Totals/index.jsx
-var Totals__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/alexandria/Totals/index.jsx";
-
-/* eslint-disable react/no-array-index-key */
-
-
-
-
-
-
-
-var Totals_Totals = function Totals(_ref) {
- var toSum = _ref.toSum,
- valueFormatter = _ref.valueFormatter;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Grid, {
- __source: {
- fileName: Totals__jsxFileName,
- lineNumber: 10
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default()(toSum).reject({
- isHidden: true
- }).map(function (item, index) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Row, {
- short: true,
- horizontalBorder: false,
- key: index,
- __source: {
- fileName: Totals__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- stretch: true,
- __source: {
- fileName: Totals__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, item.label), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- dts: "".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(item.label), "-value"),
- __source: {
- fileName: Totals__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, valueFormatter(item.value)));
- }).value(), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Row, {
- short: true,
- horizontalBorder: false,
- type: "footer",
- __source: {
- fileName: Totals__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- stretch: true,
- __source: {
- fileName: Totals__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, "Total"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- dts: "total-value",
- __source: {
- fileName: Totals__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }, valueFormatter(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.sumBy(toSum, 'value')))));
-};
-
-Totals_Totals.displayName = 'AlexandriaTotalsComponent';
-Totals_Totals.propTypes = {
- toSum: prop_types_default.a.arrayOf(prop_types_default.a.shape({
- label: prop_types_default.a.string,
- value: prop_types_default.a.number.isRequired,
- isHidden: prop_types_default.a.bool
- })),
- valueFormatter: prop_types_default.a.func
-};
-Totals_Totals.defaultProps = {
- toSum: [],
- valueFormatter: function valueFormatter(value) {
- return "".concat(value);
- }
-};
-/* harmony default export */ var alexandria_Totals = (Totals_Totals);
-// CONCATENATED MODULE: ./components/alexandria/index.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-// EXTERNAL MODULE: ./components/adslot-ui/Panel/styles.scss
-var Panel_styles = __webpack_require__(270);
-var Panel_styles_default = /*#__PURE__*/__webpack_require__.n(Panel_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/Panel/index.jsx
-var Panel__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/Panel/index.jsx";
-
-function Panel__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Panel__typeof = function _typeof(obj) { return typeof obj; }; } else { Panel__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Panel__typeof(obj); }
-
-function Panel__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Panel__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 Panel__createClass(Constructor, protoProps, staticProps) { if (protoProps) Panel__defineProperties(Constructor.prototype, protoProps); if (staticProps) Panel__defineProperties(Constructor, staticProps); return Constructor; }
-
-function Panel__possibleConstructorReturn(self, call) { if (call && (Panel__typeof(call) === "object" || typeof call === "function")) { return call; } return Panel__assertThisInitialized(self); }
-
-function Panel__getPrototypeOf(o) { Panel__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Panel__getPrototypeOf(o); }
-
-function Panel__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) Panel__setPrototypeOf(subClass, superClass); }
-
-function Panel__setPrototypeOf(o, p) { Panel__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Panel__setPrototypeOf(o, p); }
-
-function Panel__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function Panel__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; }
-
-
-
-
-
-
-
-var Panel_PanelComponent =
-/*#__PURE__*/
-function (_React$PureComponent) {
- Panel__inherits(PanelComponent, _React$PureComponent);
-
- function PanelComponent() {
- var _getPrototypeOf2;
-
- var _this;
-
- Panel__classCallCheck(this, PanelComponent);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = Panel__possibleConstructorReturn(this, (_getPrototypeOf2 = Panel__getPrototypeOf(PanelComponent)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- Panel__defineProperty(Panel__assertThisInitialized(Panel__assertThisInitialized(_this)), "onHeaderClick", function () {
- return _this.props.onClick(_this.props.id);
- });
-
- return _this;
- }
-
- Panel__createClass(PanelComponent, [{
- key: "render",
- value: function render() {
- var _this$props = this.props,
- className = _this$props.className,
- children = _this$props.children,
- dts = _this$props.dts,
- icon = _this$props.icon,
- isCollapsed = _this$props.isCollapsed,
- title = _this$props.title;
- var classesCombined = classnames_default()(['panel-component', className, {
- collapsed: isCollapsed
- }]);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: classesCombined,
- "data-test-selector": dts,
- __source: {
- fileName: Panel__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "panel-component-header clearfix",
- onClick: this.onHeaderClick,
- __source: {
- fileName: Panel__jsxFileName,
- lineNumber: 27
- },
- __self: this
- }, icon ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_SvgSymbol, {
- href: icon.href,
- __source: {
- fileName: Panel__jsxFileName,
- lineNumber: 28
- },
- __self: this
- }) : null, title), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "panel-component-content",
- __source: {
- fileName: Panel__jsxFileName,
- lineNumber: 31
- },
- __self: this
- }, children));
- }
- }]);
-
- return PanelComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-Panel__defineProperty(Panel_PanelComponent, "propTypes", {
- id: prop_types_default.a.string.isRequired,
- className: prop_types_default.a.string,
- dts: prop_types_default.a.string,
- icon: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- title: prop_types_default.a.node.isRequired,
- isCollapsed: prop_types_default.a.bool,
- onClick: prop_types_default.a.func,
- children: prop_types_default.a.node
-});
-
-/* harmony default export */ var Panel = (Panel_PanelComponent);
-// CONCATENATED MODULE: ./components/adslot-ui/Accordion/index.jsx
-var Accordion__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/Accordion/index.jsx";
-
-function Accordion__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Accordion__typeof = function _typeof(obj) { return typeof obj; }; } else { Accordion__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Accordion__typeof(obj); }
-
-function Accordion__objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? 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) { Accordion__defineProperty(target, key, source[key]); }); } return target; }
-
-function Accordion__toConsumableArray(arr) { return Accordion__arrayWithoutHoles(arr) || Accordion__iterableToArray(arr) || Accordion__nonIterableSpread(); }
-
-function Accordion__nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
-
-function Accordion__iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
-
-function Accordion__arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }
-
-function Accordion__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Accordion__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 Accordion__createClass(Constructor, protoProps, staticProps) { if (protoProps) Accordion__defineProperties(Constructor.prototype, protoProps); if (staticProps) Accordion__defineProperties(Constructor, staticProps); return Constructor; }
-
-function Accordion__possibleConstructorReturn(self, call) { if (call && (Accordion__typeof(call) === "object" || typeof call === "function")) { return call; } return Accordion__assertThisInitialized(self); }
-
-function Accordion__getPrototypeOf(o) { Accordion__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Accordion__getPrototypeOf(o); }
-
-function Accordion__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) Accordion__setPrototypeOf(subClass, superClass); }
-
-function Accordion__setPrototypeOf(o, p) { Accordion__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Accordion__setPrototypeOf(o, p); }
-
-function Accordion__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function Accordion__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; }
-
-
-
-
-
-
-
-var Accordion_Accordion =
-/*#__PURE__*/
-function (_React$PureComponent) {
- Accordion__inherits(Accordion, _React$PureComponent);
-
- function Accordion() {
- var _getPrototypeOf2;
-
- var _this;
-
- Accordion__classCallCheck(this, Accordion);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = Accordion__possibleConstructorReturn(this, (_getPrototypeOf2 = Accordion__getPrototypeOf(Accordion)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- Accordion__defineProperty(Accordion__assertThisInitialized(Accordion__assertThisInitialized(_this)), "state", {
- activePanelIds: _this.props.maxExpand === 'max' ? _this.props.defaultActivePanelIds : external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.slice(_this.props.defaultActivePanelIds, 0, _this.props.maxExpand)
- });
-
- Accordion__defineProperty(Accordion__assertThisInitialized(Accordion__assertThisInitialized(_this)), "onPanelClick", function (panelId) {
- var maxExpand = _this.props.maxExpand;
-
- if (external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.includes(_this.state.activePanelIds, panelId)) {
- // remove panelId out of the active list
- _this.setState({
- activePanelIds: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.without(_this.state.activePanelIds, panelId)
- });
- } else {
- // drop panels from the beginning if max opened panels count is reached
- var newActivePanelIds = [].concat(Accordion__toConsumableArray(_this.state.activePanelIds), [panelId]);
-
- if (maxExpand !== 'max' && newActivePanelIds.length > maxExpand) {
- newActivePanelIds = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.drop(newActivePanelIds, newActivePanelIds.length - maxExpand);
- }
-
- _this.setState({
- activePanelIds: newActivePanelIds
- });
- }
-
- if (_this.props.onPanelClick) {
- _this.props.onPanelClick(panelId);
- }
- });
-
- Accordion__defineProperty(Accordion__assertThisInitialized(Accordion__assertThisInitialized(_this)), "renderPanelFromChildren", function (child) {
- var _child$props = child.props,
- id = _child$props.id,
- isCollapsed = _child$props.isCollapsed; // prevent rendering if child is not an instance of Accordion.Panel
-
- if (child.type !== Panel) {
- return null;
- } // respects child.props.isCollapsed for controlled behaviour
-
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(child, Accordion__objectSpread({}, child.props, {
- onClick: _this.onPanelClick,
- isCollapsed: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isNil(isCollapsed) ? !external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.includes(_this.state.activePanelIds, id) : isCollapsed
- }));
- });
-
- return _this;
- }
-
- Accordion__createClass(Accordion, [{
- key: "validateProps",
- value: function validateProps() {
- var maxExpand = this.props.maxExpand; // validate maxExpand value
-
- switch (true) {
- case external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isNumber(maxExpand) && maxExpand <= 0:
- case external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isString(maxExpand) && maxExpand !== 'max':
- throw new Error("maxExpand must be a positive number or 'max'");
-
- default:
- break;
- }
- }
- }, {
- key: "render",
- value: function render() {
- var _this$props = this.props,
- children = _this$props.children,
- dts = _this$props.dts;
- this.validateProps();
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Card.Container, {
- dts: dts,
- __source: {
- fileName: Accordion__jsxFileName,
- lineNumber: 83
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Card.Content, {
- fill: true,
- __source: {
- fileName: Accordion__jsxFileName,
- lineNumber: 84
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, this.renderPanelFromChildren)));
- }
- }]);
-
- return Accordion;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-Accordion__defineProperty(Accordion_Accordion, "propTypes", {
- dts: prop_types_default.a.string,
- onPanelClick: prop_types_default.a.func,
- children: prop_types_default.a.node,
- defaultActivePanelIds: prop_types_default.a.arrayOf(prop_types_default.a.string),
- maxExpand: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.oneOf(['max'])])
-});
-
-Accordion__defineProperty(Accordion_Accordion, "defaultProps", {
- maxExpand: 'max',
- defaultActivePanelIds: []
-});
-
-Accordion_Accordion.Panel = Panel;
-/* harmony default export */ var adslot_ui_Accordion = (Accordion_Accordion);
-// EXTERNAL MODULE: ./components/adslot-ui/AlertInput/styles.scss
-var AlertInput_styles = __webpack_require__(271);
-var AlertInput_styles_default = /*#__PURE__*/__webpack_require__.n(AlertInput_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/AlertInput/index.jsx
-var AlertInput__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/AlertInput/index.jsx";
-
-function AlertInput__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { AlertInput__typeof = function _typeof(obj) { return typeof obj; }; } else { AlertInput__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return AlertInput__typeof(obj); }
-
-function AlertInput__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function AlertInput__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 AlertInput__createClass(Constructor, protoProps, staticProps) { if (protoProps) AlertInput__defineProperties(Constructor.prototype, protoProps); if (staticProps) AlertInput__defineProperties(Constructor, staticProps); return Constructor; }
-
-function AlertInput__possibleConstructorReturn(self, call) { if (call && (AlertInput__typeof(call) === "object" || typeof call === "function")) { return call; } return AlertInput__assertThisInitialized(self); }
-
-function AlertInput__getPrototypeOf(o) { AlertInput__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return AlertInput__getPrototypeOf(o); }
-
-function AlertInput__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) AlertInput__setPrototypeOf(subClass, superClass); }
-
-function AlertInput__setPrototypeOf(o, p) { AlertInput__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return AlertInput__setPrototypeOf(o, p); }
-
-function AlertInput__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function AlertInput__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; }
-
-
-
-
-
-
-
-var AlertInput_baseClass = 'alert-input-component';
-
-var AlertInput_AlertInput =
-/*#__PURE__*/
-function (_Component) {
- AlertInput__inherits(AlertInput, _Component);
-
- function AlertInput(props) {
- var _this;
-
- AlertInput__classCallCheck(this, AlertInput);
-
- _this = AlertInput__possibleConstructorReturn(this, AlertInput__getPrototypeOf(AlertInput).call(this, props));
-
- AlertInput__defineProperty(AlertInput__assertThisInitialized(AlertInput__assertThisInitialized(_this)), "handleMouseEnter", function () {
- if (_this.props.alertMessage) {
- _this.setState({
- isPopoverVisible: true
- });
- }
- });
-
- AlertInput__defineProperty(AlertInput__assertThisInitialized(AlertInput__assertThisInitialized(_this)), "handleMouseLeave", function () {
- _this.setState({
- isPopoverVisible: false
- });
- });
-
- AlertInput__defineProperty(AlertInput__assertThisInitialized(AlertInput__assertThisInitialized(_this)), "handleInputFocus", function (event) {
- event.target.select();
-
- _this.setState({
- isFocused: true,
- isPopoverVisible: Boolean(_this.props.alertMessage)
- });
-
- if (_this.props.onFocus) {
- _this.props.onFocus(event);
- }
- });
-
- AlertInput__defineProperty(AlertInput__assertThisInitialized(AlertInput__assertThisInitialized(_this)), "handleInputBlur", function (event) {
- _this.setState({
- isFocused: false,
- isPopoverVisible: false
- });
-
- if (_this.props.onBlur) {
- _this.props.onBlur(event);
- }
- });
-
- _this.state = {
- isFocused: false,
- isPopoverVisible: false
- };
- return _this;
- }
-
- AlertInput__createClass(AlertInput, [{
- key: "render",
- value: function render() {
- var _classnames;
-
- var _this$props = this.props,
- defaultValue = _this$props.defaultValue,
- value = _this$props.value,
- type = _this$props.type,
- min = _this$props.min,
- placeholder = _this$props.placeholder,
- prefixAddon = _this$props.prefixAddon,
- suffixAddon = _this$props.suffixAddon,
- alertStatus = _this$props.alertStatus,
- alertMessage = _this$props.alertMessage,
- onValueChange = _this$props.onValueChange;
- var className = classnames_default()("".concat(AlertInput_baseClass, "-wrapper"), (_classnames = {}, AlertInput__defineProperty(_classnames, alertStatus, alertStatus), AlertInput__defineProperty(_classnames, 'is-focused', this.state.isFocused), _classnames));
- var popoverClassName = classnames_default()("".concat(AlertInput_baseClass, "-popover"), AlertInput__defineProperty({}, alertStatus, alertStatus));
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: AlertInput_baseClass,
- __source: {
- fileName: AlertInput__jsxFileName,
- lineNumber: 76
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(third_party_Popover, {
- isOpen: this.state.isPopoverVisible && !external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(alertMessage),
- triggers: ['disabled'],
- popoverContent: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("strong", {
- __source: {
- fileName: AlertInput__jsxFileName,
- lineNumber: 80
- },
- __self: this
- }, alertMessage),
- placement: "bottom",
- popoverClassNames: popoverClassName,
- __source: {
- fileName: AlertInput__jsxFileName,
- lineNumber: 77
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: className,
- onMouseEnter: this.handleMouseEnter,
- onMouseLeave: this.handleMouseLeave,
- __source: {
- fileName: AlertInput__jsxFileName,
- lineNumber: 84
- },
- __self: this
- }, prefixAddon ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "".concat(AlertInput_baseClass, "-wrapper-addon"),
- __source: {
- fileName: AlertInput__jsxFileName,
- lineNumber: 85
- },
- __self: this
- }, prefixAddon) : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "".concat(AlertInput_baseClass, "-wrapper-flex-wrapper"),
- __source: {
- fileName: AlertInput__jsxFileName,
- lineNumber: 86
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("input", {
- className: "".concat(AlertInput_baseClass, "-wrapper-input"),
- type: type,
- defaultValue: defaultValue,
- value: value,
- min: min,
- placeholder: placeholder,
- onChange: onValueChange,
- onFocus: this.handleInputFocus,
- onBlur: this.handleInputBlur,
- __source: {
- fileName: AlertInput__jsxFileName,
- lineNumber: 87
- },
- __self: this
- })), suffixAddon ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "".concat(AlertInput_baseClass, "-wrapper-addon"),
- __source: {
- fileName: AlertInput__jsxFileName,
- lineNumber: 99
- },
- __self: this
- }, suffixAddon) : null)));
- }
- }]);
-
- return AlertInput;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react__["Component"]);
-
-
-AlertInput_AlertInput.propTypes = {
- defaultValue: prop_types_default.a.string,
- value: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number]),
- type: prop_types_default.a.oneOf(['text', 'number']),
- min: prop_types_default.a.number,
- placeholder: prop_types_default.a.string,
- prefixAddon: prop_types_default.a.node,
- suffixAddon: prop_types_default.a.node,
- alertStatus: prop_types_default.a.oneOf(['success', 'info', 'warning', 'error']),
- alertMessage: prop_types_default.a.string,
- onValueChange: prop_types_default.a.func,
- onBlur: prop_types_default.a.func,
- onFocus: prop_types_default.a.func
-};
-AlertInput_AlertInput.defaultProps = {
- type: 'text'
-};
-// EXTERNAL MODULE: ./components/adslot-ui/ButtonGroup/styles.scss
-var ButtonGroup_styles = __webpack_require__(272);
-var ButtonGroup_styles_default = /*#__PURE__*/__webpack_require__.n(ButtonGroup_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/ButtonGroup/index.jsx
-var ButtonGroup__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/ButtonGroup/index.jsx";
-
-function ButtonGroup__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { ButtonGroup__typeof = function _typeof(obj) { return typeof obj; }; } else { ButtonGroup__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return ButtonGroup__typeof(obj); }
-
-function ButtonGroup__objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? 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) { ButtonGroup__defineProperty(target, key, source[key]); }); } return target; }
-
-function ButtonGroup__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function ButtonGroup__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 ButtonGroup__createClass(Constructor, protoProps, staticProps) { if (protoProps) ButtonGroup__defineProperties(Constructor.prototype, protoProps); if (staticProps) ButtonGroup__defineProperties(Constructor, staticProps); return Constructor; }
-
-function ButtonGroup__possibleConstructorReturn(self, call) { if (call && (ButtonGroup__typeof(call) === "object" || typeof call === "function")) { return call; } return ButtonGroup__assertThisInitialized(self); }
-
-function ButtonGroup__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function ButtonGroup__getPrototypeOf(o) { ButtonGroup__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return ButtonGroup__getPrototypeOf(o); }
-
-function ButtonGroup__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) ButtonGroup__setPrototypeOf(subClass, superClass); }
-
-function ButtonGroup__setPrototypeOf(o, p) { ButtonGroup__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return ButtonGroup__setPrototypeOf(o, p); }
-
-function ButtonGroup__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; }
-
-
-
-
-
-
-
-
-var ButtonGroup_ButtonGroup =
-/*#__PURE__*/
-function (_React$Component) {
- ButtonGroup__inherits(ButtonGroup, _React$Component);
-
- function ButtonGroup() {
- ButtonGroup__classCallCheck(this, ButtonGroup);
-
- return ButtonGroup__possibleConstructorReturn(this, ButtonGroup__getPrototypeOf(ButtonGroup).apply(this, arguments));
- }
-
- ButtonGroup__createClass(ButtonGroup, [{
- key: "injectProps",
- value: function injectProps(children) {
- var _this = this;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, function (child) {
- if (external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.isValidElement(child)) {
- var buttonProps = ButtonGroup__objectSpread({}, _this.props.bsStyle ? {
- bsStyle: _this.props.bsStyle
- } : {}, !external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isNil(_this.props.inverse) ? {
- inverse: _this.props.inverse
- } : {}, !external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isNil(_this.props.disabled) ? {
- disabled: _this.props.disabled
- } : {}, _this.props.bsSize ? {
- bsSize: _this.props.bsSize
- } : {});
-
- var childNodes = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(child.props.children, function (childNode) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.isValidElement(childNode) ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(childNode, ButtonGroup__objectSpread({}, childNode.props, childNode.type.name === third_party_Button.name ? buttonProps : {})) : childNode;
- });
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(child, ButtonGroup__objectSpread({}, child.props, child.type.name === third_party_Button.name ? buttonProps : {}, !external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(childNodes) ? {
- children: childNodes.length === 1 ? childNodes[0] : childNodes
- } : {}));
- }
-
- return child;
- });
- }
- }, {
- key: "render",
- value: function render() {
- var _this$props = this.props,
- children = _this$props.children,
- dts = _this$props.dts;
- var content = this.injectProps(children);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({}, Object(utils["b" /* expandDts */])(dts), {
- className: "aui--button-group",
- __source: {
- fileName: ButtonGroup__jsxFileName,
- lineNumber: 53
- },
- __self: this
- }), content);
- }
- }]);
-
- return ButtonGroup;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-ButtonGroup__defineProperty(ButtonGroup_ButtonGroup, "propTypes", {
- dts: prop_types_default.a.string,
- children: prop_types_default.a.node,
- bsStyle: prop_types_default.a.string,
- inverse: prop_types_default.a.bool,
- disabled: prop_types_default.a.bool,
- bsSize: prop_types_default.a.string
-});
-
-/* harmony default export */ var adslot_ui_ButtonGroup = (ButtonGroup_ButtonGroup);
-// EXTERNAL MODULE: ../node_modules/exenv/index.js
-var exenv = __webpack_require__(273);
-var exenv_default = /*#__PURE__*/__webpack_require__.n(exenv);
-
-// EXTERNAL MODULE: ../node_modules/react-move/Animate/index.js
-var Animate = __webpack_require__(274);
-var Animate_default = /*#__PURE__*/__webpack_require__.n(Animate);
-
-// CONCATENATED MODULE: ../node_modules/d3-ease/src/linear.js
-function linear(t) {
- return +t;
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-ease/src/quad.js
-function quadIn(t) {
- return t * t;
-}
-
-function quadOut(t) {
- return t * (2 - t);
-}
-
-function quadInOut(t) {
- return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-ease/src/cubic.js
-function cubicIn(t) {
- return t * t * t;
-}
-
-function cubicOut(t) {
- return --t * t * t + 1;
-}
-
-function cubicInOut(t) {
- return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-ease/src/poly.js
-var exponent = 3;
-
-var polyIn = (function custom(e) {
- e = +e;
-
- function polyIn(t) {
- return Math.pow(t, e);
- }
-
- polyIn.exponent = custom;
-
- return polyIn;
-})(exponent);
-
-var polyOut = (function custom(e) {
- e = +e;
-
- function polyOut(t) {
- return 1 - Math.pow(1 - t, e);
- }
-
- polyOut.exponent = custom;
-
- return polyOut;
-})(exponent);
-
-var polyInOut = (function custom(e) {
- e = +e;
-
- function polyInOut(t) {
- return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;
- }
-
- polyInOut.exponent = custom;
-
- return polyInOut;
-})(exponent);
-
-// CONCATENATED MODULE: ../node_modules/d3-ease/src/sin.js
-var pi = Math.PI,
- halfPi = pi / 2;
-
-function sinIn(t) {
- return 1 - Math.cos(t * halfPi);
-}
-
-function sinOut(t) {
- return Math.sin(t * halfPi);
-}
-
-function sinInOut(t) {
- return (1 - Math.cos(pi * t)) / 2;
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-ease/src/exp.js
-function expIn(t) {
- return Math.pow(2, 10 * t - 10);
-}
-
-function expOut(t) {
- return 1 - Math.pow(2, -10 * t);
-}
-
-function expInOut(t) {
- return ((t *= 2) <= 1 ? Math.pow(2, 10 * t - 10) : 2 - Math.pow(2, 10 - 10 * t)) / 2;
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-ease/src/circle.js
-function circleIn(t) {
- return 1 - Math.sqrt(1 - t * t);
-}
-
-function circleOut(t) {
- return Math.sqrt(1 - --t * t);
-}
-
-function circleInOut(t) {
- return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-ease/src/bounce.js
-var b1 = 4 / 11,
- b2 = 6 / 11,
- b3 = 8 / 11,
- b4 = 3 / 4,
- b5 = 9 / 11,
- b6 = 10 / 11,
- b7 = 15 / 16,
- b8 = 21 / 22,
- b9 = 63 / 64,
- b0 = 1 / b1 / b1;
-
-function bounceIn(t) {
- return 1 - bounceOut(1 - t);
-}
-
-function bounceOut(t) {
- return (t = +t) < b1 ? b0 * t * t : t < b3 ? b0 * (t -= b2) * t + b4 : t < b6 ? b0 * (t -= b5) * t + b7 : b0 * (t -= b8) * t + b9;
-}
-
-function bounceInOut(t) {
- return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-ease/src/back.js
-var overshoot = 1.70158;
-
-var backIn = (function custom(s) {
- s = +s;
-
- function backIn(t) {
- return t * t * ((s + 1) * t - s);
- }
-
- backIn.overshoot = custom;
-
- return backIn;
-})(overshoot);
-
-var backOut = (function custom(s) {
- s = +s;
-
- function backOut(t) {
- return --t * t * ((s + 1) * t + s) + 1;
- }
-
- backOut.overshoot = custom;
-
- return backOut;
-})(overshoot);
-
-var backInOut = (function custom(s) {
- s = +s;
-
- function backInOut(t) {
- return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2;
- }
-
- backInOut.overshoot = custom;
-
- return backInOut;
-})(overshoot);
-
-// CONCATENATED MODULE: ../node_modules/d3-ease/src/elastic.js
-var tau = 2 * Math.PI,
- amplitude = 1,
- period = 0.3;
-
-var elasticIn = (function custom(a, p) {
- var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
-
- function elasticIn(t) {
- return a * Math.pow(2, 10 * --t) * Math.sin((s - t) / p);
- }
-
- elasticIn.amplitude = function(a) { return custom(a, p * tau); };
- elasticIn.period = function(p) { return custom(a, p); };
-
- return elasticIn;
-})(amplitude, period);
-
-var elasticOut = (function custom(a, p) {
- var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
-
- function elasticOut(t) {
- return 1 - a * Math.pow(2, -10 * (t = +t)) * Math.sin((t + s) / p);
- }
-
- elasticOut.amplitude = function(a) { return custom(a, p * tau); };
- elasticOut.period = function(p) { return custom(a, p); };
-
- return elasticOut;
-})(amplitude, period);
-
-var elasticInOut = (function custom(a, p) {
- var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
-
- function elasticInOut(t) {
- return ((t = t * 2 - 1) < 0
- ? a * Math.pow(2, 10 * t) * Math.sin((s - t) / p)
- : 2 - a * Math.pow(2, -10 * t) * Math.sin((s + t) / p)) / 2;
- }
-
- elasticInOut.amplitude = function(a) { return custom(a, p * tau); };
- elasticInOut.period = function(p) { return custom(a, p); };
-
- return elasticInOut;
-})(amplitude, period);
-
-// CONCATENATED MODULE: ../node_modules/d3-ease/src/index.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-// CONCATENATED MODULE: ../node_modules/nuka-carousel/es/default-controls.js
-function default_controls__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { default_controls__typeof = function _typeof(obj) { return typeof obj; }; } else { default_controls__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return default_controls__typeof(obj); }
-
-function default_controls__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function default_controls__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 default_controls__createClass(Constructor, protoProps, staticProps) { if (protoProps) default_controls__defineProperties(Constructor.prototype, protoProps); if (staticProps) default_controls__defineProperties(Constructor, staticProps); return Constructor; }
-
-function default_controls__possibleConstructorReturn(self, call) { if (call && (default_controls__typeof(call) === "object" || typeof call === "function")) { return call; } return default_controls__assertThisInitialized(self); }
-
-function default_controls__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, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-function default_controls__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-var defaultButtonStyles = function defaultButtonStyles(disabled) {
- return {
- border: 0,
- background: 'rgba(0,0,0,0.4)',
- color: 'white',
- padding: 10,
- opacity: disabled ? 0.3 : 1,
- cursor: disabled ? 'not-allowed' : 'pointer'
- };
-};
-
-var default_controls_PreviousButton =
-/*#__PURE__*/
-function (_React$Component) {
- default_controls__inherits(PreviousButton, _React$Component);
-
- function PreviousButton() {
- var _this;
-
- default_controls__classCallCheck(this, PreviousButton);
-
- _this = default_controls__possibleConstructorReturn(this, (PreviousButton.__proto__ || Object.getPrototypeOf(PreviousButton)).apply(this, arguments));
- _this.handleClick = _this.handleClick.bind(default_controls__assertThisInitialized(_this));
- return _this;
- }
-
- default_controls__createClass(PreviousButton, [{
- key: "handleClick",
- value: function handleClick(event) {
- event.preventDefault();
- this.props.previousSlide();
- }
- }, {
- key: "render",
- value: function render() {
- var disabled = this.props.currentSlide === 0 && !this.props.wrapAround || this.props.slideCount === 0;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("button", {
- style: defaultButtonStyles(disabled),
- disabled: disabled,
- onClick: this.handleClick,
- "aria-label": "previous"
- }, "PREV");
- }
- }]);
-
- return PreviousButton;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-var default_controls_NextButton =
-/*#__PURE__*/
-function (_React$Component2) {
- default_controls__inherits(NextButton, _React$Component2);
-
- function NextButton() {
- var _this2;
-
- default_controls__classCallCheck(this, NextButton);
-
- _this2 = default_controls__possibleConstructorReturn(this, (NextButton.__proto__ || Object.getPrototypeOf(NextButton)).apply(this, arguments));
- _this2.handleClick = _this2.handleClick.bind(default_controls__assertThisInitialized(_this2));
- return _this2;
- }
-
- default_controls__createClass(NextButton, [{
- key: "handleClick",
- value: function handleClick(event) {
- event.preventDefault();
- this.props.nextSlide();
- }
- }, {
- key: "render",
- value: function render() {
- var disabled = this.props.currentSlide + this.props.slidesToScroll >= this.props.slideCount && !this.props.wrapAround;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("button", {
- style: defaultButtonStyles(disabled),
- disabled: disabled,
- onClick: this.handleClick,
- "aria-label": "next"
- }, "NEXT");
- }
- }]);
-
- return NextButton;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-var default_controls_PagingDots =
-/*#__PURE__*/
-function (_React$Component3) {
- default_controls__inherits(PagingDots, _React$Component3);
-
- function PagingDots() {
- default_controls__classCallCheck(this, PagingDots);
-
- return default_controls__possibleConstructorReturn(this, (PagingDots.__proto__ || Object.getPrototypeOf(PagingDots)).apply(this, arguments));
- }
-
- default_controls__createClass(PagingDots, [{
- key: "getIndexes",
- value: function getIndexes(count, inc) {
- var arr = [];
-
- for (var i = 0; i < count; i += inc) {
- arr.push(i);
- }
-
- return arr;
- }
- }, {
- key: "getListStyles",
- value: function getListStyles() {
- return {
- position: 'relative',
- margin: 0,
- top: -10,
- padding: 0
- };
- }
- }, {
- key: "getListItemStyles",
- value: function getListItemStyles() {
- return {
- listStyleType: 'none',
- display: 'inline-block'
- };
- }
- }, {
- key: "getButtonStyles",
- value: function getButtonStyles(active) {
- return {
- border: 0,
- background: 'transparent',
- color: 'black',
- cursor: 'pointer',
- padding: 10,
- fontSize: 24,
- opacity: active ? 1 : 0.5
- };
- }
- }, {
- key: "render",
- value: function render() {
- var _this3 = this;
-
- var indexes = this.getIndexes(this.props.slideCount, this.props.slidesToScroll);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("ul", {
- style: this.getListStyles()
- }, indexes.map(function (index) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- style: _this3.getListItemStyles(),
- key: index
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("button", {
- style: _this3.getButtonStyles(_this3.props.currentSlide === index),
- onClick: _this3.props.goToSlide.bind(null, index),
- "aria-label": "slide ".concat(index + 1, " bullet")
- }, "\u2022"));
- }));
- }
- }]);
-
- return PagingDots;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-// CONCATENATED MODULE: ../node_modules/nuka-carousel/es/transitions/scroll-transition.js
-function scroll_transition__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { scroll_transition__typeof = function _typeof(obj) { return typeof obj; }; } else { scroll_transition__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return scroll_transition__typeof(obj); }
-
-function scroll_transition__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function scroll_transition__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 scroll_transition__createClass(Constructor, protoProps, staticProps) { if (protoProps) scroll_transition__defineProperties(Constructor.prototype, protoProps); if (staticProps) scroll_transition__defineProperties(Constructor, staticProps); return Constructor; }
-
-function scroll_transition__possibleConstructorReturn(self, call) { if (call && (scroll_transition__typeof(call) === "object" || typeof call === "function")) { return call; } return scroll_transition__assertThisInitialized(self); }
-
-function scroll_transition__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, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-function scroll_transition__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-var scroll_transition_ScrollTransition =
-/*#__PURE__*/
-function (_React$Component) {
- scroll_transition__inherits(ScrollTransition, _React$Component);
-
- function ScrollTransition(props) {
- var _this;
-
- scroll_transition__classCallCheck(this, ScrollTransition);
-
- _this = scroll_transition__possibleConstructorReturn(this, (ScrollTransition.__proto__ || Object.getPrototypeOf(ScrollTransition)).call(this, props));
- _this.getListStyles = _this.getListStyles.bind(scroll_transition__assertThisInitialized(_this));
- return _this;
- }
-
- scroll_transition__createClass(ScrollTransition, [{
- key: "getSlideDirection",
- value: function getSlideDirection(start, end, isWrapping) {
- var direction = 0;
- if (start === end) return direction;
-
- if (isWrapping) {
- direction = start < end ? -1 : 1;
- } else {
- direction = start < end ? 1 : -1;
- }
-
- return direction;
- }
- }, {
- key: "getSlideTargetPosition",
- value: function getSlideTargetPosition(index, positionValue) {
- var targetPosition = (this.props.slideWidth + this.props.cellSpacing) * index;
- var startSlide = Math.min(Math.abs(Math.floor(positionValue / this.props.slideWidth)), this.props.slideCount - 1);
-
- if (this.props.wrapAround && index !== startSlide) {
- var direction = this.getSlideDirection(startSlide, this.props.currentSlide, this.props.isWrappingAround);
- var slidesBefore = Math.floor((this.props.slideCount - 1) / 2);
- var slidesAfter = this.props.slideCount - slidesBefore - 1;
-
- if (direction < 0) {
- var temp = slidesBefore;
- slidesBefore = slidesAfter;
- slidesAfter = temp;
- }
-
- var distanceFromStart = Math.abs(startSlide - index);
-
- if (index < startSlide) {
- if (distanceFromStart > slidesBefore) {
- targetPosition = (this.props.slideWidth + this.props.cellSpacing) * (this.props.slideCount + index);
- }
- } else if (distanceFromStart > slidesAfter) {
- targetPosition = (this.props.slideWidth + this.props.cellSpacing) * (this.props.slideCount - index) * -1;
- }
- }
-
- return targetPosition;
- }
- }, {
- key: "formatChildren",
- value: function formatChildren(children) {
- var _this2 = this;
-
- var _props = this.props,
- top = _props.top,
- left = _props.left,
- currentSlide = _props.currentSlide,
- slidesToShow = _props.slidesToShow;
- var positionValue = this.props.vertical ? top : left;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, function (child, index) {
- var visible = index >= currentSlide && index < currentSlide + slidesToShow;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- className: "slider-slide".concat(visible ? ' slide-visible' : ''),
- style: _this2.getSlideStyles(index, positionValue),
- key: index
- }, child);
- });
- }
- }, {
- key: "getSlideStyles",
- value: function getSlideStyles(index, positionValue) {
- var targetPosition = this.getSlideTargetPosition(index, positionValue);
- return {
- position: 'absolute',
- left: this.props.vertical ? 0 : targetPosition,
- top: this.props.vertical ? targetPosition : 0,
- display: this.props.vertical ? 'block' : 'inline-block',
- listStyleType: 'none',
- verticalAlign: 'top',
- width: this.props.vertical ? '100%' : this.props.slideWidth,
- height: 'auto',
- boxSizing: 'border-box',
- MozBoxSizing: 'border-box',
- marginLeft: this.props.vertical ? 'auto' : this.props.cellSpacing / 2,
- marginRight: this.props.vertical ? 'auto' : this.props.cellSpacing / 2,
- marginTop: this.props.vertical ? this.props.cellSpacing / 2 : 'auto',
- marginBottom: this.props.vertical ? this.props.cellSpacing / 2 : 'auto'
- };
- }
- }, {
- key: "getListStyles",
- value: function getListStyles(styles) {
- var deltaX = styles.deltaX,
- deltaY = styles.deltaY;
- var listWidth = this.props.slideWidth * external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.count(this.props.children);
- var spacingOffset = this.props.cellSpacing * external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.count(this.props.children);
- var transform = "translate3d(".concat(deltaX, "px, ").concat(deltaY, "px, 0)");
- return {
- transform: transform,
- WebkitTransform: transform,
- msTransform: "translate(".concat(deltaX, "px, ").concat(deltaY, "px)"),
- position: 'relative',
- display: 'block',
- margin: this.props.vertical ? "".concat(this.props.cellSpacing / 2 * -1, "px 0px") : "0px ".concat(this.props.cellSpacing / 2 * -1, "px"),
- padding: 0,
- height: this.props.vertical ? listWidth + spacingOffset : this.props.slideHeight,
- width: this.props.vertical ? 'auto' : listWidth + spacingOffset,
- cursor: this.props.dragging === true ? 'pointer' : 'inherit',
- boxSizing: 'border-box',
- MozBoxSizing: 'border-box',
- touchAction: "pinch-zoom ".concat(this.props.vertical ? 'pan-x' : 'pan-y')
- };
- }
- }, {
- key: "render",
- value: function render() {
- var children = this.formatChildren(this.props.children);
- var deltaX = this.props.deltaX;
- var deltaY = this.props.deltaY;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("ul", {
- className: "slider-list",
- style: this.getListStyles({
- deltaX: deltaX,
- deltaY: deltaY
- })
- }, children);
- }
- }]);
-
- return ScrollTransition;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-
-scroll_transition_ScrollTransition.propTypes = {
- deltaX: prop_types_default.a.number,
- deltaY: prop_types_default.a.number,
- slideWidth: prop_types_default.a.number,
- slideHeight: prop_types_default.a.number,
- slideCount: prop_types_default.a.number,
- currentSlide: prop_types_default.a.number,
- isWrappingAround: prop_types_default.a.bool,
- top: prop_types_default.a.number,
- left: prop_types_default.a.number,
- cellSpacing: prop_types_default.a.number,
- vertical: prop_types_default.a.bool,
- dragging: prop_types_default.a.bool,
- wrapAround: prop_types_default.a.bool
-};
-scroll_transition_ScrollTransition.defaultProps = {
- deltaX: 0,
- deltaY: 0,
- slideWidth: 0,
- slideHeight: 0,
- slideCount: 0,
- currentSlide: 0,
- isWrappingAround: false,
- top: 0,
- left: 0,
- cellSpacing: 0,
- vertical: false,
- dragging: false,
- wrapAround: false
-};
-// CONCATENATED MODULE: ../node_modules/nuka-carousel/es/transitions/fade-transition.js
-function fade_transition__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { fade_transition__typeof = function _typeof(obj) { return typeof obj; }; } else { fade_transition__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return fade_transition__typeof(obj); }
-
-function fade_transition__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function fade_transition__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 fade_transition__createClass(Constructor, protoProps, staticProps) { if (protoProps) fade_transition__defineProperties(Constructor.prototype, protoProps); if (staticProps) fade_transition__defineProperties(Constructor, staticProps); return Constructor; }
-
-function fade_transition__possibleConstructorReturn(self, call) { if (call && (fade_transition__typeof(call) === "object" || typeof call === "function")) { return call; } return fade_transition__assertThisInitialized(self); }
-
-function fade_transition__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function fade_transition__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, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-var fade_transition_FadeTransition =
-/*#__PURE__*/
-function (_React$Component) {
- fade_transition__inherits(FadeTransition, _React$Component);
-
- function FadeTransition(props) {
- var _this;
-
- fade_transition__classCallCheck(this, FadeTransition);
-
- _this = fade_transition__possibleConstructorReturn(this, (FadeTransition.__proto__ || Object.getPrototypeOf(FadeTransition)).call(this, props));
- _this.fadeFromSlide = props.currentSlide;
- return _this;
- }
-
- fade_transition__createClass(FadeTransition, [{
- key: "formatChildren",
- value: function formatChildren(children, opacity) {
- var _this2 = this;
-
- var _props = this.props,
- currentSlide = _props.currentSlide,
- slidesToShow = _props.slidesToShow;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, function (child, index) {
- var visible = index >= currentSlide && index < currentSlide + slidesToShow;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- className: "slider-slide".concat(visible ? ' slide-visible' : ''),
- style: _this2.getSlideStyles(index, opacity),
- key: index
- }, child);
- });
- }
- }, {
- key: "getSlideOpacityAndLeftMap",
- value: function getSlideOpacityAndLeftMap(fadeFrom, fadeTo, fade) {
- // Figure out which position to fade to
- var fadeToPosition = fadeTo;
-
- if (fadeFrom > fade && fadeFrom === 0) {
- fadeToPosition = fadeFrom - this.props.slidesToShow;
- } else if (fadeFrom < fade && fadeFrom + this.props.slidesToShow > this.props.slideCount - 1) {
- fadeToPosition = fadeFrom + this.props.slidesToShow;
- } // Calculate opacity for active slides
-
-
- var opacity = {};
-
- if (fadeFrom === fadeTo) {
- opacity[fadeFrom] = 1;
- } else {
- var distance = fadeFrom - fadeToPosition;
- opacity[fadeFrom] = (fade - fadeToPosition) / distance;
- opacity[fadeTo] = (fadeFrom - fade) / distance;
- } // Calculate left for slides and merge in opacity
-
-
- var map = {};
-
- for (var i = 0; i < this.props.slidesToShow; i++) {
- map[fadeFrom + i] = {
- opacity: opacity[fadeFrom],
- left: this.props.slideWidth * i
- };
- map[fadeTo + i] = {
- opacity: opacity[fadeTo],
- left: this.props.slideWidth * i
- };
- }
-
- return map;
- }
- }, {
- key: "getSlideStyles",
- value: function getSlideStyles(index, data) {
- return {
- position: 'absolute',
- visibility: data[index] ? 'inherit' : 'hidden',
- left: data[index] ? data[index].left : 0,
- top: 0,
- opacity: data[index] ? data[index].opacity : 0,
- display: 'block',
- listStyleType: 'none',
- verticalAlign: 'top',
- width: this.props.slideWidth,
- height: 'auto',
- boxSizing: 'border-box',
- MozBoxSizing: 'border-box',
- marginLeft: this.props.cellSpacing / 2,
- marginRight: this.props.cellSpacing / 2,
- marginTop: 'auto',
- marginBottom: 'auto'
- };
- }
- }, {
- key: "getContainerStyles",
- value: function getContainerStyles() {
- var width = this.props.slideWidth * this.props.slidesToShow;
- return {
- display: 'block',
- margin: this.props.vertical ? "".concat(this.props.cellSpacing / 2 * -1, "px 0px") : "0px ".concat(this.props.cellSpacing / 2 * -1, "px"),
- padding: 0,
- height: this.props.slideHeight,
- width: width,
- cursor: this.props.dragging === true ? 'pointer' : 'inherit',
- boxSizing: 'border-box',
- MozBoxSizing: 'border-box',
- touchAction: 'none'
- };
- }
- }, {
- key: "render",
- value: function render() {
- var fade = -(this.props.deltaX || this.props.deltaY) / this.props.slideWidth;
-
- if (parseInt(fade) === fade) {
- this.fadeFromSlide = fade;
- }
-
- var opacityAndLeftMap = this.getSlideOpacityAndLeftMap(this.fadeFromSlide, this.props.currentSlide, fade);
- var children = this.formatChildren(this.props.children, opacityAndLeftMap);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("ul", {
- className: "slider-list",
- style: this.getContainerStyles()
- }, children);
- }
- }]);
-
- return FadeTransition;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-
-fade_transition_FadeTransition.propTypes = {
- deltaX: prop_types_default.a.number,
- deltaY: prop_types_default.a.number,
- slideWidth: prop_types_default.a.number,
- slideHeight: prop_types_default.a.number,
- slideCount: prop_types_default.a.number,
- currentSlide: prop_types_default.a.number,
- isWrappingAround: prop_types_default.a.bool,
- top: prop_types_default.a.number,
- left: prop_types_default.a.number,
- cellSpacing: prop_types_default.a.number,
- vertical: prop_types_default.a.bool,
- dragging: prop_types_default.a.bool,
- wrapAround: prop_types_default.a.bool,
- slidesToShow: prop_types_default.a.number
-};
-fade_transition_FadeTransition.defaultProps = {
- deltaX: 0,
- deltaY: 0,
- slideWidth: 0,
- slideHeight: 0,
- slideCount: 0,
- currentSlide: 0,
- isWrappingAround: false,
- top: 0,
- left: 0,
- cellSpacing: 0,
- vertical: false,
- dragging: false,
- wrapAround: false,
- slidesToShow: 1
-};
-// CONCATENATED MODULE: ../node_modules/nuka-carousel/es/all-transitions.js
-
-
-/* harmony default export */ var all_transitions = ({
- fade: fade_transition_FadeTransition,
- scroll: scroll_transition_ScrollTransition
-});
-// CONCATENATED MODULE: ../node_modules/nuka-carousel/es/announce-slide.js
-
-
-var announce_slide_AnnounceSlide = function AnnounceSlide(_ref) {
- var message = _ref.message;
- var styles = {
- position: 'absolute',
- left: '-10000px',
- top: 'auto',
- width: '1px',
- height: '1px',
- overflow: 'hidden'
- };
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- "aria-live": "polite",
- "aria-atomic": "true",
- style: styles,
- tabIndex: -1
- }, message);
-};
-
-var defaultRenderAnnounceSlideMessage = function defaultRenderAnnounceSlideMessage(_ref2) {
- var currentSlide = _ref2.currentSlide,
- slideCount = _ref2.slideCount;
- return "Slide ".concat(currentSlide + 1, " of ").concat(slideCount);
-};
-/* harmony default export */ var announce_slide = (announce_slide_AnnounceSlide);
-// CONCATENATED MODULE: ../node_modules/nuka-carousel/es/utilities/utilities.js
-function utilities__objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? 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) { utilities__defineProperty(target, key, source[key]); }); } return target; }
-
-function utilities__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; }
-
-
-var addEvent = function addEvent(elem, type, eventHandle) {
- if (elem === null || typeof elem === 'undefined') {
- return;
- }
-
- if (elem.addEventListener) {
- elem.addEventListener(type, eventHandle, false);
- } else if (elem.attachEvent) {
- elem.attachEvent("on".concat(type), eventHandle);
- } else {
- elem["on".concat(type)] = eventHandle;
- }
-};
-var removeEvent = function removeEvent(elem, type, eventHandle) {
- if (elem === null || typeof elem === 'undefined') {
- return;
- }
-
- if (elem.removeEventListener) {
- elem.removeEventListener(type, eventHandle, false);
- } else if (elem.detachEvent) {
- elem.detachEvent("on".concat(type), eventHandle);
- } else {
- elem["on".concat(type)] = null;
- }
-};
-var utilities_addAccessibility = function addAccessibility(children, slidesToShow, currentSlide) {
- var needsTabIndex;
-
- if (slidesToShow > 1) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, function (child, index) {
- var firstVisibleSlide = index >= currentSlide;
- var lastVisibleSlide = index < slidesToShow + currentSlide;
- needsTabIndex = firstVisibleSlide && lastVisibleSlide;
- var ariaProps = needsTabIndex ? {
- 'aria-hidden': 'false',
- tabIndex: 0
- } : {
- 'aria-hidden': 'true'
- };
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(child, utilities__objectSpread({}, child.props, ariaProps));
- });
- } else {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, function (child, index) {
- needsTabIndex = index !== currentSlide;
- var ariaProps = needsTabIndex ? {
- 'aria-hidden': 'true'
- } : {
- 'aria-hidden': 'false',
- tabIndex: 0
- };
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(child, utilities__objectSpread({}, child.props, ariaProps));
- });
- }
-};
-var getPropsByTransitionMode = function getPropsByTransitionMode(props, keys) {
- var slidesToShow = props.slidesToShow,
- transitionMode = props.transitionMode;
- var updatedDefaults = {};
-
- if (transitionMode === 'fade') {
- keys.forEach(function (key) {
- switch (key) {
- case 'slidesToShow':
- updatedDefaults[key] = Math.max(parseInt(slidesToShow), 1);
- break;
-
- case 'slidesToScroll':
- updatedDefaults[key] = Math.max(parseInt(slidesToShow), 1);
- break;
-
- case 'cellAlign':
- updatedDefaults[key] = 'left';
- break;
-
- default:
- updatedDefaults[key] = props[key];
- break;
- }
- });
- } else {
- keys.forEach(function (key) {
- updatedDefaults[key] = props[key];
- });
- }
-
- return updatedDefaults;
-};
-var swipeDirection = function swipeDirection(x1, x2, y1, y2, vertical) {
- var xDist = x1 - x2;
- var yDist = y1 - y2;
- var r = Math.atan2(yDist, xDist);
- var swipeAngle = Math.round(r * 180 / Math.PI);
-
- if (swipeAngle < 0) {
- swipeAngle = 360 - Math.abs(swipeAngle);
- }
-
- if (swipeAngle <= 45 && swipeAngle >= 0) {
- return 1;
- }
-
- if (swipeAngle <= 360 && swipeAngle >= 315) {
- return 1;
- }
-
- if (swipeAngle >= 135 && swipeAngle <= 225) {
- return -1;
- }
-
- if (vertical === true) {
- if (swipeAngle >= 35 && swipeAngle <= 135) {
- return 1;
- } else {
- return -1;
- }
- }
-
- return 0;
-};
-var shouldUpdate = function shouldUpdate(curr, next, keys) {
- var update = false;
-
- for (var i = 0; i < keys.length; i++) {
- if (curr[keys[i]] !== next[keys[i]]) {
- update = true;
- break;
- }
- }
-
- return update;
-};
-var calcSomeInitialState = function calcSomeInitialState(props) {
- var _getPropsByTransition = getPropsByTransitionMode(props, ['slidesToScroll', 'slidesToShow', 'cellAlign']),
- slidesToScroll = _getPropsByTransition.slidesToScroll,
- slidesToShow = _getPropsByTransition.slidesToShow,
- cellAlign = _getPropsByTransition.cellAlign;
-
- var slideWidth = props.vertical ? props.initialSlideHeight || 0 : props.initialSlideWidth || 0;
- var slideHeight = props.vertical ? (props.initialSlideHeight || 0) * props.slidesToShow : props.initialSlideHeight || 0;
- var frameHeight = slideHeight + props.cellSpacing * (slidesToShow - 1);
- var frameWidth = props.vertical ? frameHeight : '100%';
- return {
- slideWidth: slideWidth,
- slideHeight: slideHeight,
- frameWidth: frameWidth,
- slidesToScroll: slidesToScroll,
- slidesToShow: slidesToShow,
- cellAlign: cellAlign
- };
-};
-// CONCATENATED MODULE: ../node_modules/nuka-carousel/es/utilities/style-utilities.js
-var getImgTagStyles = function getImgTagStyles() {
- return ".slider-slide > img { width: 100%; display: block;}\n .slider-slide > img:focus {margin: auto; width: 99.5%; outline-width: 11px}";
-};
-var getDecoratorStyles = function getDecoratorStyles(position) {
- switch (position) {
- case 'TopLeft':
- {
- return {
- position: 'absolute',
- top: 0,
- left: 0
- };
- }
-
- case 'TopCenter':
- {
- return {
- position: 'absolute',
- top: 0,
- left: '50%',
- transform: 'translateX(-50%)',
- WebkitTransform: 'translateX(-50%)',
- msTransform: 'translateX(-50%)'
- };
- }
-
- case 'TopRight':
- {
- return {
- position: 'absolute',
- top: 0,
- right: 0
- };
- }
-
- case 'CenterLeft':
- {
- return {
- position: 'absolute',
- top: '50%',
- left: 0,
- transform: 'translateY(-50%)',
- WebkitTransform: 'translateY(-50%)',
- msTransform: 'translateY(-50%)'
- };
- }
-
- case 'CenterCenter':
- {
- return {
- position: 'absolute',
- top: '50%',
- left: '50%',
- transform: 'translate(-50%,-50%)',
- WebkitTransform: 'translate(-50%, -50%)',
- msTransform: 'translate(-50%, -50%)'
- };
- }
-
- case 'CenterRight':
- {
- return {
- position: 'absolute',
- top: '50%',
- right: 0,
- transform: 'translateY(-50%)',
- WebkitTransform: 'translateY(-50%)',
- msTransform: 'translateY(-50%)'
- };
- }
-
- case 'BottomLeft':
- {
- return {
- position: 'absolute',
- bottom: 0,
- left: 0
- };
- }
-
- case 'BottomCenter':
- {
- return {
- position: 'absolute',
- bottom: 0,
- left: '50%',
- transform: 'translateX(-50%)',
- WebkitTransform: 'translateX(-50%)',
- msTransform: 'translateX(-50%)'
- };
- }
-
- case 'BottomRight':
- {
- return {
- position: 'absolute',
- bottom: 0,
- right: 0
- };
- }
-
- default:
- {
- return {
- position: 'absolute',
- top: 0,
- left: 0
- };
- }
- }
-};
-var getSliderStyles = function getSliderStyles(propWidth, stateSlideWidth) {
- return {
- position: 'relative',
- display: 'block',
- width: propWidth,
- height: 'auto',
- boxSizing: 'border-box',
- MozBoxSizing: 'border-box',
- visibility: stateSlideWidth ? 'inherit' : 'hidden'
- };
-};
-var getFrameStyles = function getFrameStyles(propFrameOverFlow, propVertical, propFramePadding, stateFrameWidth) {
- return {
- position: 'relative',
- display: 'block',
- overflow: propFrameOverFlow,
- height: propVertical ? stateFrameWidth || 'initial' : 'auto',
- margin: propFramePadding,
- padding: 0,
- transform: 'translate3d(0, 0, 0)',
- WebkitTransform: 'translate3d(0, 0, 0)',
- msTransform: 'translate(0, 0)',
- boxSizing: 'border-box',
- MozBoxSizing: 'border-box',
- touchAction: "pinch-zoom ".concat(propVertical ? 'pan-x' : 'pan-y')
- };
-};
-var getTransitionProps = function getTransitionProps(props, state) {
- return {
- slideWidth: state.slideWidth,
- slideHeight: state.slideHeight,
- slideCount: state.slideCount,
- currentSlide: state.currentSlide,
- isWrappingAround: state.isWrappingAround,
- top: state.top,
- left: state.left,
- cellSpacing: props.cellSpacing,
- vertical: props.vertical,
- dragging: props.dragging,
- wrapAround: props.wrapAround,
- slidesToShow: state.slidesToShow
- };
-};
-// CONCATENATED MODULE: ../node_modules/nuka-carousel/es/utilities/bootstrapping-utilities.js
-function bootstrapping_utilities__objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? 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) { bootstrapping_utilities__defineProperty(target, key, source[key]); }); } return target; }
-
-function bootstrapping_utilities__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; }
-
-
-var bootstrapping_utilities_addAccessibility = function addAccessibility(children, slidesToShow, currentSlide) {
- var needsTabIndex;
-
- if (slidesToShow > 1) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, function (child, index) {
- // create a range from first visible slide to last visible slide
- var firstVisibleSlide = index >= currentSlide;
- var lastVisibleSlide = index < slidesToShow + currentSlide;
- needsTabIndex = firstVisibleSlide && lastVisibleSlide; // if the index of the slide is in range add ariaProps to the slide
-
- var ariaProps = needsTabIndex ? {
- 'aria-hidden': 'false',
- tabIndex: 0
- } : {
- 'aria-hidden': 'true'
- };
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(child, bootstrapping_utilities__objectSpread({}, child.props, ariaProps));
- });
- } else {
- // when slidesToshow is 1
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, function (child, index) {
- needsTabIndex = index !== currentSlide;
- var ariaProps = needsTabIndex ? {
- 'aria-hidden': 'true'
- } : {
- 'aria-hidden': 'false',
- tabIndex: 0
- };
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(child, bootstrapping_utilities__objectSpread({}, child.props, ariaProps));
- });
- }
-};
-var bootstrapping_utilities_getValidChildren = function getValidChildren(children) {
- // .toArray automatically removes invalid React children
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.toArray(children);
-};
-
-var findMaxHeightSlide = function findMaxHeightSlide(slides) {
- var maxHeight = 0;
-
- for (var i = 0; i < slides.length; i++) {
- if (slides[i].offsetHeight > maxHeight) {
- maxHeight = slides[i].offsetHeight;
- }
- }
-
- return maxHeight;
-};
-
-var getSlideHeight = function getSlideHeight(props, state) {
- var childNodes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
- var heightMode = props.heightMode,
- vertical = props.vertical,
- initialSlideHeight = props.initialSlideHeight;
- var slidesToShow = state.slidesToShow,
- currentSlide = state.currentSlide;
- var firstSlide = childNodes[0];
-
- if (firstSlide && heightMode === 'first') {
- return vertical ? firstSlide.offsetHeight * slidesToShow : firstSlide.offsetHeight;
- }
-
- if (heightMode === 'max') {
- return findMaxHeightSlide(childNodes);
- }
-
- if (heightMode === 'current') {
- return childNodes[currentSlide].offsetHeight;
- }
-
- return initialSlideHeight || 100;
-};
-// CONCATENATED MODULE: ../node_modules/nuka-carousel/es/index.js
-function nuka_carousel_es__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { nuka_carousel_es__typeof = function _typeof(obj) { return typeof obj; }; } else { nuka_carousel_es__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return nuka_carousel_es__typeof(obj); }
-
-function es__extends() { es__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 es__extends.apply(this, arguments); }
-
-function es__objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? 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) { es__defineProperty(target, key, source[key]); }); } return target; }
-
-function es__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; }
-
-function es__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function es__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 es__createClass(Constructor, protoProps, staticProps) { if (protoProps) es__defineProperties(Constructor.prototype, protoProps); if (staticProps) es__defineProperties(Constructor, staticProps); return Constructor; }
-
-function es__possibleConstructorReturn(self, call) { if (call && (nuka_carousel_es__typeof(call) === "object" || typeof call === "function")) { return call; } return es__assertThisInitialized(self); }
-
-function es__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, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-function es__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-
-
-
-
-
-
-
-var es_Carousel =
-/*#__PURE__*/
-function (_React$Component) {
- es__inherits(Carousel, _React$Component);
-
- function Carousel() {
- var _this;
-
- es__classCallCheck(this, Carousel);
-
- _this = es__possibleConstructorReturn(this, (Carousel.__proto__ || Object.getPrototypeOf(Carousel)).apply(this, arguments));
- _this.displayName = 'Carousel';
- _this.clickDisabled = false;
- _this.isTransitioning = false;
- _this.touchObject = {};
- _this.controlsMap = [{
- funcName: 'renderTopLeftControls',
- key: 'TopLeft'
- }, {
- funcName: 'renderTopCenterControls',
- key: 'TopCenter'
- }, {
- funcName: 'renderTopRightControls',
- key: 'TopRight'
- }, {
- funcName: 'renderCenterLeftControls',
- key: 'CenterLeft'
- }, {
- funcName: 'renderCenterCenterControls',
- key: 'CenterCenter'
- }, {
- funcName: 'renderCenterRightControls',
- key: 'CenterRight'
- }, {
- funcName: 'renderBottomLeftControls',
- key: 'BottomLeft'
- }, {
- funcName: 'renderBottomCenterControls',
- key: 'BottomCenter'
- }, {
- funcName: 'renderBottomRightControls',
- key: 'BottomRight'
- }];
- _this.state = es__objectSpread({
- currentSlide: _this.props.slideIndex,
- dragging: false,
- left: 0,
- slideCount: bootstrapping_utilities_getValidChildren(_this.props.children).length,
- top: 0,
- easing: circleOut,
- isWrappingAround: false,
- wrapToIndex: null,
- resetWrapAroundPosition: false
- }, calcSomeInitialState(_this.props));
- _this.getTouchEvents = _this.getTouchEvents.bind(es__assertThisInitialized(_this));
- _this.getMouseEvents = _this.getMouseEvents.bind(es__assertThisInitialized(_this));
- _this.handleMouseOver = _this.handleMouseOver.bind(es__assertThisInitialized(_this));
- _this.handleMouseOut = _this.handleMouseOut.bind(es__assertThisInitialized(_this));
- _this.handleClick = _this.handleClick.bind(es__assertThisInitialized(_this));
- _this.handleSwipe = _this.handleSwipe.bind(es__assertThisInitialized(_this));
- _this.autoplayIterator = _this.autoplayIterator.bind(es__assertThisInitialized(_this));
- _this.startAutoplay = _this.startAutoplay.bind(es__assertThisInitialized(_this));
- _this.stopAutoplay = _this.stopAutoplay.bind(es__assertThisInitialized(_this));
- _this.resetAutoplay = _this.resetAutoplay.bind(es__assertThisInitialized(_this));
- _this.goToSlide = _this.goToSlide.bind(es__assertThisInitialized(_this));
- _this.nextSlide = _this.nextSlide.bind(es__assertThisInitialized(_this));
- _this.previousSlide = _this.previousSlide.bind(es__assertThisInitialized(_this));
- _this.getTargetLeft = _this.getTargetLeft.bind(es__assertThisInitialized(_this));
- _this.onResize = _this.onResize.bind(es__assertThisInitialized(_this));
- _this.onReadyStateChange = _this.onReadyStateChange.bind(es__assertThisInitialized(_this));
- _this.onVisibilityChange = _this.onVisibilityChange.bind(es__assertThisInitialized(_this));
- _this.setDimensions = _this.setDimensions.bind(es__assertThisInitialized(_this));
- _this.setLeft = _this.setLeft.bind(es__assertThisInitialized(_this));
- _this.getOffsetDeltas = _this.getOffsetDeltas.bind(es__assertThisInitialized(_this));
- _this.getChildNodes = _this.getChildNodes.bind(es__assertThisInitialized(_this));
- _this.renderControls = _this.renderControls.bind(es__assertThisInitialized(_this));
- _this.setSlideHeightAndWidth = _this.setSlideHeightAndWidth.bind(es__assertThisInitialized(_this));
- _this.calcSlideHeightAndWidth = _this.calcSlideHeightAndWidth.bind(es__assertThisInitialized(_this));
- _this.handleKeyPress = _this.handleKeyPress.bind(es__assertThisInitialized(_this));
- return _this;
- }
-
- es__createClass(Carousel, [{
- key: "componentDidMount",
- value: function componentDidMount() {
- // see https://github.com/facebook/react/issues/3417#issuecomment-121649937
- this.mounted = true;
- this.setLeft();
- this.setDimensions();
- this.bindEvents();
-
- if (this.props.autoplay) {
- this.startAutoplay();
- }
- } // @TODO Remove deprecated componentWillReceiveProps with getDerivedStateFromProps
- // eslint-disable-next-line react/no-deprecated
-
- }, {
- key: "componentWillReceiveProps",
- value: function componentWillReceiveProps(nextProps) {
- var slideCount = bootstrapping_utilities_getValidChildren(nextProps.children).length;
- var slideCountChanged = slideCount !== this.state.slideCount;
- this.setState(function (prevState) {
- return {
- slideCount: slideCount,
- currentSlide: slideCountChanged ? nextProps.slideIndex : prevState.currentSlide
- };
- });
-
- if (slideCount <= this.state.currentSlide) {
- this.goToSlide(Math.max(slideCount - 1, 0), nextProps);
- }
-
- var updateDimensions = slideCountChanged || shouldUpdate(this.props, nextProps, ['cellSpacing', 'vertical', 'slideWidth', 'slideHeight', 'heightMode', 'slidesToScroll', 'slidesToShow', 'transitionMode', 'cellAlign']);
-
- if (updateDimensions) {
- this.setDimensions(nextProps);
- }
-
- if (this.props.slideIndex !== nextProps.slideIndex && nextProps.slideIndex !== this.state.currentSlide && !this.state.isWrappingAround) {
- this.goToSlide(nextProps.slideIndex, this.props);
- }
-
- if (this.props.autoplay !== nextProps.autoplay) {
- if (nextProps.autoplay) {
- this.startAutoplay();
- } else {
- this.stopAutoplay();
- }
- }
- }
- }, {
- key: "componentDidUpdate",
- value: function componentDidUpdate(prevProps, prevState) {
- var slideChanged = prevState.currentSlide !== this.state.currentSlide;
- var heightModeChanged = prevProps.heightMode !== this.props.heightMode;
-
- if (slideChanged || heightModeChanged) {
- this.setSlideHeightAndWidth();
- }
- }
- }, {
- key: "componentWillUnmount",
- value: function componentWillUnmount() {
- this.unbindEvents();
- this.stopAutoplay(); // see https://github.com/facebook/react/issues/3417#issuecomment-121649937
-
- this.mounted = false;
- }
- }, {
- key: "getTouchEvents",
- value: function getTouchEvents() {
- var _this2 = this;
-
- if (this.props.swiping === false) {
- return {
- onTouchStart: function onTouchStart() {
- _this2.handleMouseOver();
- },
- onTouchEnd: function onTouchEnd() {
- _this2.handleMouseOut();
- }
- };
- }
-
- return {
- onTouchStart: function onTouchStart(e) {
- _this2.touchObject = {
- startX: e.touches[0].pageX,
- startY: e.touches[0].pageY
- };
-
- _this2.handleMouseOver();
- },
- onTouchMove: function onTouchMove(e) {
- var direction = swipeDirection(_this2.touchObject.startX, e.touches[0].pageX, _this2.touchObject.startY, e.touches[0].pageY, _this2.props.vertical);
-
- if (direction !== 0) {
- e.preventDefault();
- }
-
- var length = _this2.props.vertical ? Math.round(Math.sqrt(Math.pow(e.touches[0].pageY - _this2.touchObject.startY, 2))) : Math.round(Math.sqrt(Math.pow(e.touches[0].pageX - _this2.touchObject.startX, 2)));
- _this2.touchObject = {
- startX: _this2.touchObject.startX,
- startY: _this2.touchObject.startY,
- endX: e.touches[0].pageX,
- endY: e.touches[0].pageY,
- length: length,
- direction: direction
- };
-
- _this2.setState({
- left: _this2.props.vertical ? 0 : _this2.getTargetLeft(_this2.touchObject.length * _this2.touchObject.direction),
- top: _this2.props.vertical ? _this2.getTargetLeft(_this2.touchObject.length * _this2.touchObject.direction) : 0
- });
- },
- onTouchEnd: function onTouchEnd(e) {
- _this2.handleSwipe(e);
-
- _this2.handleMouseOut();
- },
- onTouchCancel: function onTouchCancel(e) {
- _this2.handleSwipe(e);
- }
- };
- }
- }, {
- key: "getMouseEvents",
- value: function getMouseEvents() {
- var _this3 = this;
-
- if (this.props.dragging === false) {
- return {
- onMouseOver: function onMouseOver() {
- return _this3.handleMouseOver();
- },
- onMouseOut: function onMouseOut() {
- return _this3.handleMouseOut();
- }
- };
- }
-
- return {
- onMouseOver: function onMouseOver() {
- return _this3.handleMouseOver();
- },
- onMouseOut: function onMouseOut() {
- return _this3.handleMouseOut();
- },
- onMouseDown: function onMouseDown(e) {
- if (e.preventDefault) {
- e.preventDefault();
- }
-
- _this3.touchObject = {
- startX: e.clientX,
- startY: e.clientY
- };
-
- _this3.setState({
- dragging: true
- });
- },
- onMouseMove: function onMouseMove(e) {
- if (!_this3.state.dragging) {
- return;
- }
-
- var direction = swipeDirection(_this3.touchObject.startX, e.clientX, _this3.touchObject.startY, e.clientY, _this3.props.vertical);
-
- if (direction !== 0) {
- e.preventDefault();
- }
-
- var length = _this3.props.vertical ? Math.round(Math.sqrt(Math.pow(e.clientY - _this3.touchObject.startY, 2))) : Math.round(Math.sqrt(Math.pow(e.clientX - _this3.touchObject.startX, 2))); // prevents disabling click just because mouse moves a fraction of a pixel
-
- if (length >= 10) _this3.clickDisabled = true;
- _this3.touchObject = {
- startX: _this3.touchObject.startX,
- startY: _this3.touchObject.startY,
- endX: e.clientX,
- endY: e.clientY,
- length: length,
- direction: direction
- };
-
- _this3.setState({
- left: _this3.props.vertical ? 0 : _this3.getTargetLeft(_this3.touchObject.length * _this3.touchObject.direction),
- top: _this3.props.vertical ? _this3.getTargetLeft(_this3.touchObject.length * _this3.touchObject.direction) : 0
- });
- },
- onMouseUp: function onMouseUp(e) {
- if (!_this3.state.dragging) {
- return;
- }
-
- _this3.handleSwipe(e);
- },
- onMouseLeave: function onMouseLeave(e) {
- if (!_this3.state.dragging) {
- return;
- }
-
- _this3.handleSwipe(e);
- }
- };
- }
- }, {
- key: "pauseAutoplay",
- value: function pauseAutoplay() {
- if (this.props.autoplay) {
- this.autoplayPaused = true;
- this.stopAutoplay();
- }
- }
- }, {
- key: "unpauseAutoplay",
- value: function unpauseAutoplay() {
- if (this.props.autoplay && this.autoplayPaused) {
- this.startAutoplay();
- this.autoplayPaused = null;
- }
- }
- }, {
- key: "handleMouseOver",
- value: function handleMouseOver() {
- if (this.props.pauseOnHover) {
- this.pauseAutoplay();
- }
- }
- }, {
- key: "handleMouseOut",
- value: function handleMouseOut() {
- if (this.autoplayPaused) {
- this.unpauseAutoplay();
- }
- }
- }, {
- key: "handleClick",
- value: function handleClick(event) {
- if (this.clickDisabled === true) {
- if (event.metaKey || event.shiftKey || event.altKey || event.ctrlKey) {
- return;
- }
-
- event.preventDefault();
- event.stopPropagation();
-
- if (event.nativeEvent) {
- event.nativeEvent.stopPropagation();
- }
- }
- }
- }, {
- key: "handleSwipe",
- value: function handleSwipe() {
- var _this4 = this;
-
- var slidesToShow = this.state.slidesToShow;
-
- if (this.props.slidesToScroll === 'auto') {
- slidesToShow = this.state.slidesToScroll;
- }
-
- if (this.touchObject.length > this.state.slideWidth / slidesToShow / 5) {
- if (this.touchObject.direction === 1) {
- if (this.state.currentSlide >= this.state.slideCount - slidesToShow && !this.props.wrapAround) {
- this.setState({
- easing: src_namespaceObject[this.props.edgeEasing]
- });
- } else {
- this.nextSlide();
- }
- } else if (this.touchObject.direction === -1) {
- if (this.state.currentSlide <= 0 && !this.props.wrapAround) {
- this.setState({
- easing: src_namespaceObject[this.props.edgeEasing]
- });
- } else {
- this.previousSlide();
- }
- }
- } else {
- this.goToSlide(this.state.currentSlide);
- } // wait for `handleClick` event before resetting clickDisabled
-
-
- setTimeout(function () {
- _this4.clickDisabled = false;
- }, 0);
- this.touchObject = {};
- this.setState({
- dragging: false
- });
- } // eslint-disable-next-line complexity
-
- }, {
- key: "handleKeyPress",
- value: function handleKeyPress(e) {
- if (!this.props.disableKeyboardControls) {
- switch (e.keyCode) {
- case 39:
- case 68:
- case 38:
- case 87:
- this.nextSlide();
- break;
-
- case 37:
- case 65:
- case 40:
- case 83:
- this.previousSlide();
- break;
-
- case 81:
- this.goToSlide(0, this.props);
- break;
-
- case 69:
- this.goToSlide(this.state.slideCount - 1, this.props);
- break;
-
- case 32:
- if (this.state.pauseOnHover && this.props.autoplay) {
- this.setState({
- pauseOnHover: false
- });
- this.pauseAutoplay();
- break;
- } else {
- this.setState({
- pauseOnHover: true
- });
- this.unpauseAutoplay();
- break;
- }
-
- }
- }
- }
- }, {
- key: "autoplayIterator",
- value: function autoplayIterator() {
- if (this.props.wrapAround) {
- this.nextSlide();
- return;
- }
-
- if (this.state.currentSlide !== this.state.slideCount - this.state.slidesToShow) {
- this.nextSlide();
- } else {
- this.stopAutoplay();
- }
- }
- }, {
- key: "startAutoplay",
- value: function startAutoplay() {
- this.autoplayID = setInterval(this.autoplayIterator, this.props.autoplayInterval);
- }
- }, {
- key: "resetAutoplay",
- value: function resetAutoplay() {
- if (this.props.autoplay && !this.autoplayPaused) {
- this.stopAutoplay();
- this.startAutoplay();
- }
- }
- }, {
- key: "stopAutoplay",
- value: function stopAutoplay() {
- if (this.autoplayID) {
- clearInterval(this.autoplayID);
- }
- } // Animation Method
-
- }, {
- key: "getTargetLeft",
- value: function getTargetLeft(touchOffset, slide) {
- var offset;
- var target = slide || this.state.currentSlide;
-
- switch (this.state.cellAlign) {
- case 'left':
- {
- offset = 0;
- offset -= this.props.cellSpacing * target;
- break;
- }
-
- case 'center':
- {
- offset = (this.state.frameWidth - this.state.slideWidth) / 2;
- offset -= this.props.cellSpacing * target;
- break;
- }
-
- case 'right':
- {
- offset = this.state.frameWidth - this.state.slideWidth;
- offset -= this.props.cellSpacing * target;
- break;
- }
- }
-
- var left = this.state.slideWidth * target;
- var lastSlide = this.state.currentSlide > 0 && target + this.state.slidesToScroll >= this.state.slideCount;
-
- if (lastSlide && this.props.slideWidth !== 1 && !this.props.wrapAround && this.props.slidesToScroll === 'auto') {
- left = this.state.slideWidth * this.state.slideCount - this.state.frameWidth;
- offset = 0;
- offset -= this.props.cellSpacing * (this.state.slideCount - 1);
- }
-
- offset -= touchOffset || 0;
- return (left - offset) * -1;
- }
- }, {
- key: "getOffsetDeltas",
- value: function getOffsetDeltas() {
- var offset = 0;
-
- if (this.state.isWrappingAround) {
- offset = this.getTargetLeft(null, this.state.wrapToIndex);
- } else {
- offset = this.getTargetLeft(this.touchObject.length * this.touchObject.direction);
- }
-
- return {
- tx: [this.props.vertical ? 0 : offset],
- ty: [this.props.vertical ? offset : 0]
- };
- } // Action Methods
-
- }, {
- key: "goToSlide",
- value: function goToSlide(index, props) {
- var _this5 = this;
-
- if (props === undefined) {
- props = this.props;
- }
-
- if (this.isTransitioning) {
- return;
- }
-
- this.setState({
- easing: src_namespaceObject[props.easing]
- });
- this.isTransitioning = true;
-
- if (index >= this.state.slideCount || index < 0) {
- if (!props.wrapAround) {
- this.isTransitioning = false;
- return;
- }
-
- if (index >= this.state.slideCount) {
- props.beforeSlide(this.state.currentSlide, 0);
- this.setState(function (prevState) {
- return {
- left: props.vertical ? 0 : _this5.getTargetLeft(_this5.state.slideWidth, prevState.currentSlide),
- top: props.vertical ? _this5.getTargetLeft(_this5.state.slideWidth, prevState.currentSlide) : 0,
- currentSlide: 0,
- isWrappingAround: true,
- wrapToIndex: index
- };
- });
- return;
- } else {
- var endSlide = this.state.slideCount - this.state.slidesToScroll;
- props.beforeSlide(this.state.currentSlide, endSlide);
- this.setState(function (prevState) {
- return {
- left: props.vertical ? 0 : _this5.getTargetLeft(0, prevState.currentSlide),
- top: props.vertical ? _this5.getTargetLeft(0, prevState.currentSlide) : 0,
- currentSlide: endSlide,
- isWrappingAround: true,
- wrapToIndex: index
- };
- });
- return;
- }
- }
-
- this.props.beforeSlide(this.state.currentSlide, index);
- var previousSlide = this.state.currentSlide;
- this.setState({
- currentSlide: index
- }, function () {
- return setTimeout(function () {
- _this5.resetAutoplay();
-
- _this5.isTransitioning = false;
-
- if (index !== previousSlide) {
- _this5.props.afterSlide(index);
- }
- }, props.speed);
- });
- }
- }, {
- key: "nextSlide",
- value: function nextSlide() {
- var childrenCount = this.state.slideCount;
- var slidesToShow = this.state.slidesToShow;
-
- if (this.props.slidesToScroll === 'auto') {
- slidesToShow = this.state.slidesToScroll;
- }
-
- if (this.state.currentSlide >= childrenCount - slidesToShow && !this.props.wrapAround && this.props.cellAlign === 'left') {
- return;
- }
-
- if (this.props.wrapAround) {
- this.goToSlide(this.state.currentSlide + this.state.slidesToScroll);
- } else {
- if (this.props.slideWidth !== 1) {
- this.goToSlide(this.state.currentSlide + this.state.slidesToScroll);
- return;
- }
-
- var offset = this.state.currentSlide + this.state.slidesToScroll;
- var nextSlideIndex = this.props.cellAlign !== 'left' ? offset : Math.min(offset, childrenCount - slidesToShow);
- this.goToSlide(nextSlideIndex);
- }
- }
- }, {
- key: "previousSlide",
- value: function previousSlide() {
- if (this.state.currentSlide <= 0 && !this.props.wrapAround) {
- return;
- }
-
- if (this.props.wrapAround) {
- this.goToSlide(this.state.currentSlide - this.state.slidesToScroll);
- } else {
- this.goToSlide(Math.max(0, this.state.currentSlide - this.state.slidesToScroll));
- }
- } // Bootstrapping
-
- }, {
- key: "bindEvents",
- value: function bindEvents() {
- if (exenv_default.a.canUseDOM) {
- addEvent(window, 'resize', this.onResize);
- addEvent(document, 'readystatechange', this.onReadyStateChange);
- addEvent(document, 'visibilitychange', this.onVisibilityChange);
- addEvent(document, 'keydown', this.handleKeyPress);
- }
- }
- }, {
- key: "onResize",
- value: function onResize() {
- this.setDimensions(null, this.props.onResize);
- }
- }, {
- key: "onReadyStateChange",
- value: function onReadyStateChange() {
- this.setDimensions();
- }
- }, {
- key: "onVisibilityChange",
- value: function onVisibilityChange() {
- if (document.hidden) {
- this.pauseAutoplay();
- } else {
- this.unpauseAutoplay();
- }
- }
- }, {
- key: "unbindEvents",
- value: function unbindEvents() {
- if (exenv_default.a.canUseDOM) {
- removeEvent(window, 'resize', this.onResize);
- removeEvent(document, 'readystatechange', this.onReadyStateChange);
- removeEvent(document, 'visibilitychange', this.onVisibilityChange);
- removeEvent(document, 'keydown', this.handleKeyPress);
- }
- }
- }, {
- key: "calcSlideHeightAndWidth",
- value: function calcSlideHeightAndWidth(props) {
- // slide height
- props = props || this.props;
- var childNodes = this.getChildNodes();
- var slideHeight = getSlideHeight(props, this.state, childNodes); //slide width
-
- var _getPropsByTransition = getPropsByTransitionMode(props, ['slidesToShow']),
- slidesToShow = _getPropsByTransition.slidesToShow;
-
- var frame = this.frame;
- var slideWidth;
-
- if (typeof props.slideWidth !== 'number') {
- slideWidth = parseInt(props.slideWidth);
- } else if (props.vertical) {
- slideWidth = slideHeight / slidesToShow * props.slideWidth;
- } else {
- slideWidth = frame.offsetWidth / slidesToShow * props.slideWidth;
- }
-
- if (!props.vertical) {
- slideWidth -= props.cellSpacing * ((100 - 100 / slidesToShow) / 100);
- }
-
- return {
- slideHeight: slideHeight,
- slideWidth: slideWidth
- };
- }
- }, {
- key: "setSlideHeightAndWidth",
- value: function setSlideHeightAndWidth() {
- this.setState(this.calcSlideHeightAndWidth());
- }
- }, {
- key: "setDimensions",
- value: function setDimensions(props) {
- var _this6 = this;
-
- var stateCb = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
- props = props || this.props;
-
- var _getPropsByTransition2 = getPropsByTransitionMode(props, ['slidesToShow', 'cellAlign']),
- slidesToShow = _getPropsByTransition2.slidesToShow,
- cellAlign = _getPropsByTransition2.cellAlign;
-
- var frame = this.frame;
-
- var _calcSlideHeightAndWi = this.calcSlideHeightAndWidth(props),
- slideHeight = _calcSlideHeightAndWi.slideHeight,
- slideWidth = _calcSlideHeightAndWi.slideWidth;
-
- var frameHeight = slideHeight + props.cellSpacing * (slidesToShow - 1);
- var frameWidth = props.vertical ? frameHeight : frame.offsetWidth;
-
- var _getPropsByTransition3 = getPropsByTransitionMode(props, ['slidesToScroll']),
- slidesToScroll = _getPropsByTransition3.slidesToScroll;
-
- if (slidesToScroll === 'auto') {
- slidesToScroll = Math.floor(frameWidth / (slideWidth + props.cellSpacing));
- }
-
- this.setState({
- frameWidth: frameWidth,
- slideHeight: slideHeight,
- slidesToScroll: slidesToScroll,
- slidesToShow: slidesToShow,
- slideWidth: slideWidth,
- cellAlign: cellAlign,
- left: props.vertical ? 0 : this.getTargetLeft(),
- top: props.vertical ? this.getTargetLeft() : 0
- }, function () {
- stateCb();
-
- _this6.setLeft();
- });
- }
- }, {
- key: "getChildNodes",
- value: function getChildNodes() {
- return this.frame.childNodes[0].childNodes;
- }
- }, {
- key: "setLeft",
- value: function setLeft() {
- var newLeft = this.props.vertical ? 0 : this.getTargetLeft();
- var newTop = this.props.vertical ? this.getTargetLeft() : 0;
-
- if (newLeft !== this.state.left || newTop !== this.state.top) {
- this.setState({
- left: newLeft,
- top: newTop
- });
- }
- }
- }, {
- key: "renderControls",
- value: function renderControls() {
- var _this7 = this;
-
- if (this.props.withoutControls) {
- return this.controlsMap.map(function () {
- return null;
- });
- } else {
- return this.controlsMap.map(function (_ref) {
- var funcName = _ref.funcName,
- key = _ref.key;
- var func = _this7.props[funcName];
- return func && typeof func === 'function' && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "slider-control-".concat(key.toLowerCase()),
- style: getDecoratorStyles(key),
- key: key
- }, func({
- currentSlide: _this7.state.currentSlide,
- slideCount: _this7.state.slideCount,
- frameWidth: _this7.state.frameWidth,
- slideWidth: _this7.state.slideWidth,
- slidesToScroll: _this7.state.slidesToScroll,
- cellSpacing: _this7.props.cellSpacing,
- slidesToShow: _this7.state.slidesToShow,
- wrapAround: _this7.props.wrapAround,
- nextSlide: function nextSlide() {
- return _this7.nextSlide();
- },
- previousSlide: function previousSlide() {
- return _this7.previousSlide();
- },
- goToSlide: function goToSlide(index) {
- return _this7.goToSlide(index);
- }
- }));
- });
- }
- }
- }, {
- key: "render",
- value: function render() {
- var _this8 = this;
-
- var _state = this.state,
- currentSlide = _state.currentSlide,
- slideCount = _state.slideCount,
- frameWidth = _state.frameWidth;
- var _props = this.props,
- frameOverflow = _props.frameOverflow,
- vertical = _props.vertical,
- framePadding = _props.framePadding,
- slidesToShow = _props.slidesToShow,
- renderAnnounceSlideMessage = _props.renderAnnounceSlideMessage;
- var duration = this.state.dragging || this.state.resetWrapAroundPosition ? 0 : this.props.speed;
- var frameStyles = getFrameStyles(frameOverflow, vertical, framePadding, frameWidth);
- var touchEvents = this.getTouchEvents();
- var mouseEvents = this.getMouseEvents();
- var TransitionControl = all_transitions[this.props.transitionMode];
- var validChildren = bootstrapping_utilities_getValidChildren(this.props.children);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: ['slider', this.props.className || ''].join(' '),
- style: es__extends({}, getSliderStyles(this.props.width, this.state.slideWidth), this.props.style)
- }, !this.props.autoplay && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(announce_slide, {
- message: renderAnnounceSlideMessage({
- currentSlide: currentSlide,
- slideCount: slideCount
- })
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Animate_default.a, {
- show: true,
- start: {
- tx: 0,
- ty: 0
- },
- update: es__extends({}, this.getOffsetDeltas(this.touchObject, this.props, this.state), {
- timing: {
- duration: duration,
- ease: this.state.easing
- },
- events: {
- end: function end() {
- var newLeft = _this8.props.vertical ? 0 : _this8.getTargetLeft();
- var newTop = _this8.props.vertical ? _this8.getTargetLeft() : 0;
-
- if (newLeft !== _this8.state.left || newTop !== _this8.state.top) {
- _this8.setState({
- left: newLeft,
- top: newTop,
- isWrappingAround: false,
- resetWrapAroundPosition: true
- }, function () {
- _this8.setState({
- resetWrapAroundPosition: false
- });
-
- _this8.isTransitioning = false;
-
- if (_this8.props.currentSlide > _this8.props.slideCount) {
- _this8.props.afterSlide(0);
- } else {
- _this8.props.afterSlide(_this8.props.slideCount - 1);
- }
-
- _this8.resetAutoplay();
- });
- }
- }
- }
- }),
- children: function children(_ref2) {
- var tx = _ref2.tx,
- ty = _ref2.ty;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", es__extends({
- className: "slider-frame",
- ref: function ref(frame) {
- return _this8.frame = frame;
- },
- style: frameStyles
- }, touchEvents, mouseEvents, {
- onClickCapture: _this8.handleClick
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TransitionControl, es__extends({}, getTransitionProps(_this8.props, _this8.state), {
- deltaX: tx,
- deltaY: ty
- }), bootstrapping_utilities_addAccessibility(validChildren, slidesToShow, currentSlide)));
- }
- }), this.renderControls(), this.props.autoGenerateStyleTag && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("style", {
- type: "text/css",
- dangerouslySetInnerHTML: {
- __html: getImgTagStyles()
- }
- }));
- }
- }]);
-
- return Carousel;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-
-es_Carousel.propTypes = {
- afterSlide: prop_types_default.a.func,
- autoplay: prop_types_default.a.bool,
- autoplayInterval: prop_types_default.a.number,
- autoGenerateStyleTag: prop_types_default.a.bool,
- beforeSlide: prop_types_default.a.func,
- cellAlign: prop_types_default.a.oneOf(['left', 'center', 'right']),
- cellSpacing: prop_types_default.a.number,
- dragging: prop_types_default.a.bool,
- easing: prop_types_default.a.string,
- edgeEasing: prop_types_default.a.string,
- frameOverflow: prop_types_default.a.string,
- framePadding: prop_types_default.a.string,
- heightMode: prop_types_default.a.oneOf(['first', 'current', 'max']),
- disableKeyboardControls: prop_types_default.a.bool,
- transitionMode: prop_types_default.a.oneOf(['scroll', 'fade']),
- initialSlideHeight: prop_types_default.a.number,
- initialSlideWidth: prop_types_default.a.number,
- onResize: prop_types_default.a.func,
- pauseOnHover: prop_types_default.a.bool,
- renderTopLeftControls: prop_types_default.a.func,
- renderTopCenterControls: prop_types_default.a.func,
- renderTopRightControls: prop_types_default.a.func,
- renderCenterLeftControls: prop_types_default.a.func,
- renderCenterCenterControls: prop_types_default.a.func,
- renderCenterRightControls: prop_types_default.a.func,
- renderBottomLeftControls: prop_types_default.a.func,
- renderBottomCenterControls: prop_types_default.a.func,
- renderBottomRightControls: prop_types_default.a.func,
- renderAnnounceSlideMessage: prop_types_default.a.func,
- slideIndex: prop_types_default.a.number,
- slidesToScroll: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.oneOf(['auto'])]),
- slidesToShow: prop_types_default.a.number,
- slideWidth: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number]),
- speed: prop_types_default.a.number,
- swiping: prop_types_default.a.bool,
- vertical: prop_types_default.a.bool,
- width: prop_types_default.a.string,
- withoutControls: prop_types_default.a.bool,
- wrapAround: prop_types_default.a.bool
-};
-es_Carousel.defaultProps = {
- afterSlide: function afterSlide() {},
- autoplay: false,
- autoplayInterval: 3000,
- autoGenerateStyleTag: true,
- beforeSlide: function beforeSlide() {},
- cellAlign: 'left',
- cellSpacing: 0,
- dragging: true,
- easing: 'easeCircleOut',
- edgeEasing: 'easeElasticOut',
- framePadding: '0px',
- frameOverflow: 'hidden',
- heightMode: 'max',
- disableKeyboardControls: false,
- transitionMode: 'scroll',
- onResize: function onResize() {},
- slideIndex: 0,
- slidesToScroll: 1,
- slidesToShow: 1,
- style: {},
- pauseOnHover: true,
- renderCenterLeftControls: function renderCenterLeftControls(props) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(default_controls_PreviousButton, props);
- },
- renderCenterRightControls: function renderCenterRightControls(props) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(default_controls_NextButton, props);
- },
- renderBottomCenterControls: function renderBottomCenterControls(props) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(default_controls_PagingDots, props);
- },
- renderAnnounceSlideMessage: defaultRenderAnnounceSlideMessage,
- slideWidth: 1,
- speed: 500,
- swiping: true,
- vertical: false,
- width: '100%',
- withoutControls: false,
- wrapAround: false
-};
-
-// EXTERNAL MODULE: ./components/adslot-ui/Carousel/styles.scss
-var Carousel_styles = __webpack_require__(282);
-var Carousel_styles_default = /*#__PURE__*/__webpack_require__.n(Carousel_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/Carousel/index.jsx
-var Carousel__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/Carousel/index.jsx";
-
-
-
-
-
-var Carousel_baseClass = 'carousel-component';
-var Carousel_PrevButton = function PrevButton(_ref) {
- var previousSlide = _ref.previousSlide;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("button", {
- className: "".concat(Carousel_baseClass, "-prev"),
- onClick: previousSlide,
- __source: {
- fileName: Carousel__jsxFileName,
- lineNumber: 9
- },
- __self: this
- });
-};
-var Carousel_NextButton = function NextButton(_ref2) {
- var nextSlide = _ref2.nextSlide;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("button", {
- className: "".concat(Carousel_baseClass, "-next"),
- onClick: nextSlide,
- __source: {
- fileName: Carousel__jsxFileName,
- lineNumber: 11
- },
- __self: this
- });
-};
-
-var Carousel_CarouselComponent = function CarouselComponent(props) {
- var className = props.className,
- children = props.children;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_Carousel, Object.assign({}, props, {
- renderCenterLeftControls: Carousel_PrevButton,
- renderCenterRightControls: Carousel_NextButton,
- className: classnames_default()(Carousel_baseClass, className),
- __source: {
- fileName: Carousel__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }), children);
-};
-
-Carousel_CarouselComponent.propTypes = {
- className: prop_types_default.a.string,
- children: prop_types_default.a.node
-};
-Carousel_PrevButton.propTypes = {
- previousSlide: prop_types_default.a.func.isRequired
-};
-Carousel_NextButton.propTypes = {
- nextSlide: prop_types_default.a.func.isRequired
-}; // See Nuka Carousel docs for other options:
-// https://github.com/FormidableLabs/nuka-carousel
-
-Carousel_CarouselComponent.defaultProps = {
- autoplay: true,
- autoplayInterval: 10000,
- cellAlign: 'center',
- cellSpacing: 15,
- slidesToShow: 2,
- slideWidth: '447.5px',
- // 440px (image width) + 15px (spacing) / 2
- wrapAround: true
-};
-/* harmony default export */ var adslot_ui_Carousel = (Carousel_CarouselComponent);
-// EXTERNAL MODULE: ./components/adslot-ui/Checkbox/index.jsx
-var Checkbox = __webpack_require__(68);
-
-// EXTERNAL MODULE: ./components/prop-types/inputPropTypes.js
-var inputPropTypes = __webpack_require__(64);
-
-// CONCATENATED MODULE: ./components/adslot-ui/CheckboxGroup/index.jsx
-var CheckboxGroup__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/CheckboxGroup/index.jsx";
-
-function CheckboxGroup__objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? 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) { CheckboxGroup__defineProperty(target, key, source[key]); }); } return target; }
-
-function CheckboxGroup__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; }
-
-function CheckboxGroup__toConsumableArray(arr) { return CheckboxGroup__arrayWithoutHoles(arr) || CheckboxGroup__iterableToArray(arr) || CheckboxGroup__nonIterableSpread(); }
-
-function CheckboxGroup__nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
-
-function CheckboxGroup__iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
-
-function CheckboxGroup__arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }
-
-
-
-
-
-
-
-
-var CheckboxGroup_CheckboxGroup = function CheckboxGroup(_ref) {
- var id = _ref.id,
- className = _ref.className,
- dts = _ref.dts,
- children = _ref.children,
- value = _ref.value,
- name = _ref.name,
- inline = _ref.inline,
- onChange = _ref.onChange;
-
- var handleCheckboxChange = function handleCheckboxChange(nextCheckboxState, checkboxName, checkboxValue) {
- var newValues = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.includes(value, checkboxValue) ? value.filter(function (item) {
- return item !== checkboxValue;
- }) : [].concat(CheckboxGroup__toConsumableArray(value), [checkboxValue]);
- onChange(newValues, name);
- };
-
- var renderChildren = function renderChildren() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, function (child) {
- if (child.type === Checkbox["a" /* default */]) {
- var childProps = CheckboxGroup__objectSpread({}, child.props, {
- name: name,
- inline: inline,
- checked: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.includes(value, child.props.value),
- onChange: function onChange() {
- var _child$props;
-
- (_child$props = child.props).onChange.apply(_child$props, arguments);
-
- handleCheckboxChange.apply(void 0, arguments);
- }
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(child.type, Object.assign({}, childProps, {
- __source: {
- fileName: CheckboxGroup__jsxFileName,
- lineNumber: 30
- },
- __self: this
- }));
- }
-
- console.error("ERROR: CheckboxGroup's children should be an array of Checkbox");
- return null;
- });
- };
-
- var classNames = classnames_default()(['checkbox-group-component', className]);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({
- id: id,
- className: classNames
- }, Object(utils["b" /* expandDts */])(dts), {
- __source: {
- fileName: CheckboxGroup__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }), renderChildren());
-};
-
-CheckboxGroup_CheckboxGroup.propTypes = inputPropTypes["b" /* checkboxGroupPropTypes */];
-/* harmony default export */ var adslot_ui_CheckboxGroup = (CheckboxGroup_CheckboxGroup);
-// CONCATENATED MODULE: ./components/adslot-ui/ConfirmModal/index.jsx
-var ConfirmModal__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/ConfirmModal/index.jsx";
-
-
-
-
-
-var ConfirmModal_ConfirmModalComponent = function ConfirmModalComponent(_ref) {
- var buttonCancelLabel = _ref.buttonCancelLabel,
- buttonConfirmLabel = _ref.buttonConfirmLabel,
- modalApply = _ref.modalApply,
- modalClose = _ref.modalClose,
- modalDescription = _ref.modalDescription,
- modalTitle = _ref.modalTitle,
- show = _ref.show;
-
- var cancelAction = function cancelAction() {
- modalClose();
- };
-
- var applyAction = function applyAction() {
- modalApply();
- modalClose();
- };
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Modal_default.a, {
- className: "confirm-modal-component",
- show: show,
- bsSize: "small",
- keyboard: false,
- __source: {
- fileName: ConfirmModal__jsxFileName,
- lineNumber: 25
- },
- __self: this
- }, modalTitle ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Modal_default.a.Header, {
- __source: {
- fileName: ConfirmModal__jsxFileName,
- lineNumber: 27
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Modal_default.a.Title, {
- __source: {
- fileName: ConfirmModal__jsxFileName,
- lineNumber: 28
- },
- __self: this
- }, modalTitle)) : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Modal_default.a.Body, {
- __source: {
- fileName: ConfirmModal__jsxFileName,
- lineNumber: 31
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: ConfirmModal__jsxFileName,
- lineNumber: 32
- },
- __self: this
- }, modalDescription)), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Modal_default.a.Footer, {
- __source: {
- fileName: ConfirmModal__jsxFileName,
- lineNumber: 34
- },
- __self: this
- }, modalClose ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Button_default.a, {
- className: "btn-inverse",
- onClick: cancelAction,
- "data-test-selector": "confirm-modal-cancel",
- __source: {
- fileName: ConfirmModal__jsxFileName,
- lineNumber: 36
- },
- __self: this
- }, buttonCancelLabel) : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Button_default.a, {
- bsStyle: "primary",
- onClick: applyAction,
- "data-test-selector": "confirm-modal-confirm",
- __source: {
- fileName: ConfirmModal__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }, buttonConfirmLabel)));
-};
-
-ConfirmModal_ConfirmModalComponent.displayName = 'AdslotUiConfirmModalComponent';
-ConfirmModal_ConfirmModalComponent.propTypes = {
- buttonCancelLabel: prop_types_default.a.string,
- buttonConfirmLabel: prop_types_default.a.string,
- modalApply: prop_types_default.a.func,
- modalClose: prop_types_default.a.func,
- modalDescription: prop_types_default.a.string,
- modalTitle: prop_types_default.a.string,
- show: prop_types_default.a.bool
-};
-ConfirmModal_ConfirmModalComponent.defaultProps = {
- buttonCancelLabel: 'Cancel',
- buttonConfirmLabel: 'Confirm',
- modalApply: function modalApply() {
- throw new Error('AdslotUi ConfirmModal needs a modalApply handler');
- },
- modalDescription: 'Are you sure?',
- show: false
-};
-/* harmony default export */ var ConfirmModal = (ConfirmModal_ConfirmModalComponent);
-// EXTERNAL MODULE: ./components/adslot-ui/CountBadge/styles.scss
-var CountBadge_styles = __webpack_require__(284);
-var CountBadge_styles_default = /*#__PURE__*/__webpack_require__.n(CountBadge_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/CountBadge/index.jsx
-var CountBadge__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/CountBadge/index.jsx";
-
-function CountBadge__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { CountBadge__typeof = function _typeof(obj) { return typeof obj; }; } else { CountBadge__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return CountBadge__typeof(obj); }
-
-function CountBadge__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function CountBadge__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 CountBadge__createClass(Constructor, protoProps, staticProps) { if (protoProps) CountBadge__defineProperties(Constructor.prototype, protoProps); if (staticProps) CountBadge__defineProperties(Constructor, staticProps); return Constructor; }
-
-function CountBadge__possibleConstructorReturn(self, call) { if (call && (CountBadge__typeof(call) === "object" || typeof call === "function")) { return call; } return CountBadge__assertThisInitialized(self); }
-
-function CountBadge__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function CountBadge__getPrototypeOf(o) { CountBadge__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return CountBadge__getPrototypeOf(o); }
-
-function CountBadge__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) CountBadge__setPrototypeOf(subClass, superClass); }
-
-function CountBadge__setPrototypeOf(o, p) { CountBadge__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return CountBadge__setPrototypeOf(o, p); }
-
-
-
-
-
-
-var CountBadge_CountBadge =
-/*#__PURE__*/
-function (_React$PureComponent) {
- CountBadge__inherits(CountBadge, _React$PureComponent);
-
- function CountBadge() {
- CountBadge__classCallCheck(this, CountBadge);
-
- return CountBadge__possibleConstructorReturn(this, CountBadge__getPrototypeOf(CountBadge).apply(this, arguments));
- }
-
- CountBadge__createClass(CountBadge, [{
- key: "render",
- value: function render() {
- var _this$props = this.props,
- value = _this$props.value,
- status = _this$props.status,
- dts = _this$props.dts;
- var fontSize = value > 99 ? 'small' : 'normal';
- var classNames = "count-badge status-".concat(status, " count-badge-font-size-").concat(fontSize);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({
- className: classNames
- }, Object(utils["b" /* expandDts */])(dts), {
- __source: {
- fileName: CountBadge__jsxFileName,
- lineNumber: 13
- },
- __self: this
- }), value);
- }
- }]);
-
- return CountBadge;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-CountBadge_CountBadge.propTypes = {
- value: prop_types_default.a.number.isRequired,
- status: prop_types_default.a.string,
- dts: prop_types_default.a.string
-};
-CountBadge_CountBadge.defaultProps = {
- status: 'default'
-};
-/* harmony default export */ var adslot_ui_CountBadge = (CountBadge_CountBadge);
-// EXTERNAL MODULE: ./components/adslot-ui/HelpIconPopover/styles.scss
-var HelpIconPopover_styles = __webpack_require__(285);
-var HelpIconPopover_styles_default = /*#__PURE__*/__webpack_require__.n(HelpIconPopover_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/HelpIconPopover/index.jsx
-var HelpIconPopover__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/HelpIconPopover/index.jsx";
-
-
-
-
-
-
-var HelpIconPopover_HelpIconPopover = function HelpIconPopover(_ref) {
- var children = _ref.children,
- id = _ref.id,
- placement = _ref.placement;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({}, Object(utils["b" /* expandDts */])(id), {
- className: "help-icon-popover-component",
- __source: {
- fileName: HelpIconPopover__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(third_party_Popover, {
- triggers: ['hover'],
- placement: placement,
- popoverContent: children,
- __source: {
- fileName: HelpIconPopover__jsxFileName,
- lineNumber: 9
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "help-icon-popover-component-trigger",
- __source: {
- fileName: HelpIconPopover__jsxFileName,
- lineNumber: 10
- },
- __self: this
- })));
-};
-
-HelpIconPopover_HelpIconPopover.propTypes = {
- children: prop_types_default.a.node.isRequired,
- id: prop_types_default.a.string.isRequired,
- placement: prop_types_default.a.oneOf(['top', 'right', 'bottom', 'left'])
-};
-HelpIconPopover_HelpIconPopover.defaultProps = {
- placement: 'right'
-};
-/* harmony default export */ var adslot_ui_HelpIconPopover = (HelpIconPopover_HelpIconPopover);
-// CONCATENATED MODULE: ./components/adslot-ui/FilePicker/index.jsx
-var FilePicker__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/FilePicker/index.jsx";
-
-function FilePicker__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { FilePicker__typeof = function _typeof(obj) { return typeof obj; }; } else { FilePicker__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return FilePicker__typeof(obj); }
-
-function FilePicker__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function FilePicker__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 FilePicker__createClass(Constructor, protoProps, staticProps) { if (protoProps) FilePicker__defineProperties(Constructor.prototype, protoProps); if (staticProps) FilePicker__defineProperties(Constructor, staticProps); return Constructor; }
-
-function FilePicker__possibleConstructorReturn(self, call) { if (call && (FilePicker__typeof(call) === "object" || typeof call === "function")) { return call; } return FilePicker__assertThisInitialized(self); }
-
-function FilePicker__getPrototypeOf(o) { FilePicker__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return FilePicker__getPrototypeOf(o); }
-
-function FilePicker__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) FilePicker__setPrototypeOf(subClass, superClass); }
-
-function FilePicker__setPrototypeOf(o, p) { FilePicker__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return FilePicker__setPrototypeOf(o, p); }
-
-function FilePicker__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function FilePicker__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; }
-
-
-
-
-
-
-__webpack_require__(286);
-
-var FilePicker_baseClass = 'filepicker-component';
-
-var FilePicker_FilePickerComponent =
-/*#__PURE__*/
-function (_React$PureComponent) {
- FilePicker__inherits(FilePickerComponent, _React$PureComponent);
-
- function FilePickerComponent(props) {
- var _this;
-
- FilePicker__classCallCheck(this, FilePickerComponent);
-
- _this = FilePicker__possibleConstructorReturn(this, FilePicker__getPrototypeOf(FilePickerComponent).call(this, props));
-
- FilePicker__defineProperty(FilePicker__assertThisInitialized(FilePicker__assertThisInitialized(_this)), "state", {
- isFileSelected: false,
- fileName: ''
- });
-
- FilePicker__defineProperty(FilePicker__assertThisInitialized(FilePicker__assertThisInitialized(_this)), "onChange", function (changeEvent) {
- if (!_this.state.isFileSelected) {
- _this.setState({
- isFileSelected: true,
- fileName: changeEvent.target.files[0].name
- });
-
- _this.props.onSelect(changeEvent.target.files[0]);
- }
- });
-
- FilePicker__defineProperty(FilePicker__assertThisInitialized(FilePicker__assertThisInitialized(_this)), "onUploadBtnClick", function () {
- _this.fileInput.current.click();
- });
-
- FilePicker__defineProperty(FilePicker__assertThisInitialized(FilePicker__assertThisInitialized(_this)), "removeFile", function () {
- if (_this.state.isFileSelected) {
- _this.fileInput.current.value = null;
-
- _this.setState({
- isFileSelected: false,
- fileName: ''
- });
-
- if (_this.props.onRemove) {
- _this.props.onRemove();
- }
- }
- });
-
- _this.fileInput = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createRef();
- return _this;
- }
-
- FilePicker__createClass(FilePickerComponent, [{
- key: "render",
- value: function render() {
- var mainClass = classnames_default()(FilePicker__defineProperty({}, "".concat(FilePicker_baseClass, "-highlight"), this.props.isHighlighted), FilePicker_baseClass, 'input-group');
- var _this$state = this.state,
- isFileSelected = _this$state.isFileSelected,
- fileName = _this$state.fileName;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: mainClass,
- __source: {
- fileName: FilePicker__jsxFileName,
- lineNumber: 66
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("input", {
- className: "form-control",
- type: "text",
- disabled: true,
- placeholder: this.props.placeholder,
- readOnly: "readonly",
- value: fileName,
- title: fileName,
- __source: {
- fileName: FilePicker__jsxFileName,
- lineNumber: 67
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "input-group-btn",
- __source: {
- fileName: FilePicker__jsxFileName,
- lineNumber: 76
- },
- __self: this
- }, isFileSelected ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Button_default.a, {
- className: "remove-file",
- onClick: this.removeFile,
- __source: {
- fileName: FilePicker__jsxFileName,
- lineNumber: 78
- },
- __self: this
- }, "\xD7") : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Button_default.a, {
- className: "btn-inverse",
- onClick: this.onUploadBtnClick,
- disabled: this.props.disabled || isFileSelected,
- __source: {
- fileName: FilePicker__jsxFileName,
- lineNumber: 82
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: FilePicker__jsxFileName,
- lineNumber: 87
- },
- __self: this
- }, this.props.label), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("input", {
- className: "file-input",
- ref: this.fileInput,
- type: "file",
- onChange: this.onChange,
- accept: this.props.filter,
- "data-test-selector": this.props.dts,
- __source: {
- fileName: FilePicker__jsxFileName,
- lineNumber: 88
- },
- __self: this
- }))));
- }
- }]);
-
- return FilePickerComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-FilePicker__defineProperty(FilePicker_FilePickerComponent, "propTypes", {
- disabled: prop_types_default.a.bool,
- dts: prop_types_default.a.string,
- filter: prop_types_default.a.string,
- isHighlighted: prop_types_default.a.bool,
- label: prop_types_default.a.string,
- onRemove: prop_types_default.a.func,
- onSelect: prop_types_default.a.func.isRequired,
- placeholder: prop_types_default.a.string
-});
-
-FilePicker__defineProperty(FilePicker_FilePickerComponent, "defaultProps", {
- isHighlighted: false,
- label: 'Select',
- placeholder: 'No file selected',
- disabled: false
-});
-
-/* harmony default export */ var FilePicker = (FilePicker_FilePickerComponent);
-// CONCATENATED MODULE: ./components/adslot-ui/FormGroup/index.jsx
-var FormGroup__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/FormGroup/index.jsx";
-
-
-
-
-var FormGroup_FormGroupComponent = function FormGroupComponent(_ref) {
- var addon = _ref.addon,
- disabled = _ref.disabled,
- helpText = _ref.helpText,
- label = _ref.label,
- onChange = _ref.onChange,
- placeholder = _ref.placeholder,
- value = _ref.value;
- var addonElement = addon ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "input-group-addon",
- __source: {
- fileName: FormGroup__jsxFileName,
- lineNumber: 6
- },
- __self: this
- }, addon) : null;
-
- var inputId = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(label);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "form-group",
- __source: {
- fileName: FormGroup__jsxFileName,
- lineNumber: 9
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- htmlFor: inputId,
- className: "control-label col-xs-3",
- __source: {
- fileName: FormGroup__jsxFileName,
- lineNumber: 10
- },
- __self: this
- }, label), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "col-xs-5",
- __source: {
- fileName: FormGroup__jsxFileName,
- lineNumber: 13
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "input-group col-xs-12",
- __source: {
- fileName: FormGroup__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, addonElement, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("input", {
- className: "form-control",
- disabled: disabled,
- id: inputId,
- onChange: onChange,
- placeholder: placeholder,
- type: "text",
- value: value,
- __source: {
- fileName: FormGroup__jsxFileName,
- lineNumber: 16
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- className: "help-block",
- __source: {
- fileName: FormGroup__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, helpText)));
-};
-
-FormGroup_FormGroupComponent.displayName = 'AdslotUiFormGroupComponent';
-FormGroup_FormGroupComponent.propTypes = {
- addon: prop_types_default.a.string,
- disabled: prop_types_default.a.bool,
- helpText: prop_types_default.a.string.isRequired,
- label: prop_types_default.a.string.isRequired,
- onChange: prop_types_default.a.func,
- placeholder: prop_types_default.a.string.isRequired,
- value: prop_types_default.a.string
-};
-FormGroup_FormGroupComponent.defaultProps = {
- disabled: false,
- value: ''
-};
-/* harmony default export */ var FormGroup = (FormGroup_FormGroupComponent);
-// CONCATENATED MODULE: ./components/adslot-ui/ListPicker/index.jsx
-var ListPicker__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/ListPicker/index.jsx";
-
-function ListPicker__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { ListPicker__typeof = function _typeof(obj) { return typeof obj; }; } else { ListPicker__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return ListPicker__typeof(obj); }
-
-function ListPicker__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function ListPicker__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 ListPicker__createClass(Constructor, protoProps, staticProps) { if (protoProps) ListPicker__defineProperties(Constructor.prototype, protoProps); if (staticProps) ListPicker__defineProperties(Constructor, staticProps); return Constructor; }
-
-function ListPicker__possibleConstructorReturn(self, call) { if (call && (ListPicker__typeof(call) === "object" || typeof call === "function")) { return call; } return ListPicker__assertThisInitialized(self); }
-
-function ListPicker__getPrototypeOf(o) { ListPicker__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return ListPicker__getPrototypeOf(o); }
-
-function ListPicker__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) ListPicker__setPrototypeOf(subClass, superClass); }
-
-function ListPicker__setPrototypeOf(o, p) { ListPicker__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return ListPicker__setPrototypeOf(o, p); }
-
-function ListPicker__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-
-
-
-
-
-
-
-__webpack_require__(287);
-
-var ListPicker_isSubset = function isSubset(array, subArray) {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default()(subArray).difference(array).isEmpty();
-};
-
-var ListPicker_ListPickerComponent =
-/*#__PURE__*/
-function (_React$Component) {
- ListPicker__inherits(ListPickerComponent, _React$Component);
-
- function ListPickerComponent(props) {
- var _this;
-
- ListPicker__classCallCheck(this, ListPickerComponent);
-
- _this = ListPicker__possibleConstructorReturn(this, ListPicker__getPrototypeOf(ListPickerComponent).call(this, props));
- ['applyAction', 'cancelAction', 'deselectItem', 'getApplyButtonState', 'loadData', 'selectItem'].forEach(function (methodName) {
- _this[methodName] = _this[methodName].bind(ListPicker__assertThisInitialized(ListPicker__assertThisInitialized(_this)));
- });
- _this.state = {};
- return _this;
- }
-
- ListPicker__createClass(ListPickerComponent, [{
- key: "componentDidMount",
- value: function componentDidMount() {
- this.loadData();
- }
- }, {
- key: "getApplyButtonState",
- value: function getApplyButtonState(selectedItems) {
- if (this.props.allowEmptySelection) return false;
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(selectedItems);
- }
- }, {
- key: "loadData",
- value: function loadData() {
- var selectedItems = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.clone(this.props.initialSelection);
-
- this.setState({
- selectedItems: selectedItems,
- disableApplyButton: this.getApplyButtonState(selectedItems)
- });
- }
- }, {
- key: "selectItem",
- value: function selectItem(item) {
- var selectedItems = this.state.selectedItems;
- if (!this.props.allowMultiSelection) selectedItems.length = 0;
- selectedItems.push(item);
- this.setState({
- selectedItems: selectedItems,
- disableApplyButton: this.getApplyButtonState(selectedItems)
- });
- }
- }, {
- key: "deselectItem",
- value: function deselectItem(item) {
- var selectedItems = this.state.selectedItems;
-
- external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.remove(selectedItems, {
- id: item.id
- });
-
- this.setState({
- selectedItems: selectedItems,
- disableApplyButton: this.getApplyButtonState(selectedItems)
- });
- }
- }, {
- key: "cancelAction",
- value: function cancelAction() {
- this.props.modalClose();
- this.loadData();
- }
- }, {
- key: "applyAction",
- value: function applyAction() {
- this.props.modalApply(this.state.selectedItems);
- this.props.modalClose();
- }
- }, {
- key: "render",
- value: function render() {
- var _this$state = this.state,
- selectedItems = _this$state.selectedItems,
- disableApplyButton = _this$state.disableApplyButton;
- var _this$props = this.props,
- allowMultiSelection = _this$props.allowMultiSelection,
- emptyIcon = _this$props.emptyIcon,
- emptyMessage = _this$props.emptyMessage,
- emptySvgSymbol = _this$props.emptySvgSymbol,
- labelFormatter = _this$props.labelFormatter,
- addonFormatter = _this$props.addonFormatter,
- itemHeaders = _this$props.itemHeaders,
- items = _this$props.items,
- itemType = _this$props.itemType,
- itemInfo = _this$props.itemInfo,
- show = _this$props.show,
- modalClassName = _this$props.modalClassName,
- modalTitle = _this$props.modalTitle,
- modalDescription = _this$props.modalDescription,
- modalFootnote = _this$props.modalFootnote,
- linkButtons = _this$props.linkButtons;
- var listPickerPureElement = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(ListPickerPure, {
- allowMultiSelection: allowMultiSelection,
- emptyIcon: emptyIcon,
- emptyMessage: emptyMessage,
- emptySvgSymbol: emptySvgSymbol,
- deselectItem: this.deselectItem,
- labelFormatter: labelFormatter,
- addonFormatter: addonFormatter,
- itemHeaders: itemHeaders,
- items: items,
- itemType: itemType,
- selectItem: this.selectItem,
- selectedItems: selectedItems,
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 102
- },
- __self: this
- });
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Modal_default.a, {
- className: modalClassName,
- show: show,
- bsSize: "large",
- keyboard: false,
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 119
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Modal_default.a.Header, {
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 120
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Modal_default.a.Title, {
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 121
- },
- __self: this
- }, modalTitle)), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Modal_default.a.Body, {
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 123
- },
- __self: this
- }, modalDescription ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 124
- },
- __self: this
- }, modalDescription) : null, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(itemInfo) ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "listpicker-component-body",
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 126
- },
- __self: this
- }, listPickerPureElement) : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "listpicker-component-body-split",
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 128
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SplitPane, {
- dts: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(itemInfo.label),
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 129
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Grid, {
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 130
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Row, {
- type: "header",
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 131
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 132
- },
- __self: this
- }, itemInfo.label)), external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(itemInfo.properties, function (property) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Row, {
- key: property.label,
- horizontalBorder: false,
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 135
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- classSuffixes: ['label'],
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 136
- },
- __self: this
- }, property.label), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- classSuffixes: ['value'],
- dts: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(property.label),
- stretch: true,
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 137
- },
- __self: this
- }, property.value));
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_FlexibleSpacer, {
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 143
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SplitPane, {
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 145
- },
- __self: this
- }, listPickerPureElement, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_FlexibleSpacer, {
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 147
- },
- __self: this
- }))), modalFootnote ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "listpicker-component-footnote",
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 151
- },
- __self: this
- }, modalFootnote) : null), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Modal_default.a.Footer, {
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 153
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(linkButtons) ? null : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "pull-left",
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 155
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(linkButtons, function (linkButton, key) {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isObject(linkButton) && ListPicker_isSubset(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.keys(linkButton), ['label', 'href']) ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Button_default.a, {
- key: linkButton.label,
- className: "btn-inverse",
- href: linkButton.href,
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 158
- },
- __self: this
- }, linkButton.label) : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(linkButton, {
- key: key
- });
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Button_default.a, {
- className: "btn-inverse",
- onClick: this.cancelAction,
- "data-test-selector": "listpicker-cancel-button",
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 167
- },
- __self: this
- }, "Cancel"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Button_default.a, {
- bsStyle: "primary",
- onClick: this.applyAction,
- disabled: disableApplyButton,
- "data-test-selector": "listpicker-apply-button",
- __source: {
- fileName: ListPicker__jsxFileName,
- lineNumber: 170
- },
- __self: this
- }, "Apply")));
- }
- }]);
-
- return ListPickerComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-ListPicker_ListPickerComponent.displayName = 'AdslotUiListPickerComponent';
-var itemProps = prop_types_default.a.shape({
- id: prop_types_default.a.number.isRequired
-});
-var linkButtonsProps = prop_types_default.a.arrayOf(prop_types_default.a.oneOfType([prop_types_default.a.shape({
- label: prop_types_default.a.string.isRequired,
- href: prop_types_default.a.string.isRequired
-}), prop_types_default.a.node]));
-ListPicker_ListPickerComponent.propTypes = {
- allowEmptySelection: prop_types_default.a.bool,
- allowMultiSelection: prop_types_default.a.bool,
- emptyIcon: prop_types_default.a.string,
- emptyMessage: prop_types_default.a.string,
- emptySvgSymbol: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- initialSelection: prop_types_default.a.arrayOf(itemProps),
- itemHeaders: prop_types_default.a.shape({
- label: prop_types_default.a.string,
- toggle: prop_types_default.a.string,
- addon: prop_types_default.a.string
- }),
- itemInfo: prop_types_default.a.shape({
- label: prop_types_default.a.string.isRequired,
- properties: prop_types_default.a.arrayOf(prop_types_default.a.shape({
- label: prop_types_default.a.string.isRequired,
- value: prop_types_default.a.string
- })).isRequired
- }),
- items: prop_types_default.a.arrayOf(itemProps),
- itemType: prop_types_default.a.string,
- labelFormatter: prop_types_default.a.func,
- addonFormatter: prop_types_default.a.func,
- linkButtons: linkButtonsProps,
- modalApply: prop_types_default.a.func,
- modalDescription: prop_types_default.a.string,
- modalClassName: prop_types_default.a.string,
- modalClose: prop_types_default.a.func,
- modalFootnote: prop_types_default.a.string,
- modalTitle: prop_types_default.a.string,
- show: prop_types_default.a.bool
-};
-ListPicker_ListPickerComponent.defaultProps = {
- allowEmptySelection: true,
- allowMultiSelection: true,
- initialSelection: [],
- items: [],
- itemType: 'item',
- linkButtons: [],
- modalApply: function modalApply() {
- throw new Error('AdslotUi ListPicker needs a modalApply handler');
- },
- modalClassName: 'listpicker-component',
- modalClose: function modalClose() {
- throw new Error('AdslotUi ListPicker needs a modalClose handler');
- },
- modalTitle: 'Select Items',
- show: false
-};
-/* harmony default export */ var ListPicker = (ListPicker_ListPickerComponent);
-// EXTERNAL MODULE: ./components/adslot-ui/Radio/index.jsx
-var Radio = __webpack_require__(97);
-
-// CONCATENATED MODULE: ./components/adslot-ui/ListPickerPure/index.jsx
-var ListPickerPure__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/ListPickerPure/index.jsx";
-
-function ListPickerPure__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { ListPickerPure__typeof = function _typeof(obj) { return typeof obj; }; } else { ListPickerPure__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return ListPickerPure__typeof(obj); }
-
-function ListPickerPure__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function ListPickerPure__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 ListPickerPure__createClass(Constructor, protoProps, staticProps) { if (protoProps) ListPickerPure__defineProperties(Constructor.prototype, protoProps); if (staticProps) ListPickerPure__defineProperties(Constructor, staticProps); return Constructor; }
-
-function ListPickerPure__possibleConstructorReturn(self, call) { if (call && (ListPickerPure__typeof(call) === "object" || typeof call === "function")) { return call; } return ListPickerPure__assertThisInitialized(self); }
-
-function ListPickerPure__getPrototypeOf(o) { ListPickerPure__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return ListPickerPure__getPrototypeOf(o); }
-
-function ListPickerPure__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) ListPickerPure__setPrototypeOf(subClass, superClass); }
-
-function ListPickerPure__setPrototypeOf(o, p) { ListPickerPure__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return ListPickerPure__setPrototypeOf(o, p); }
-
-function ListPickerPure__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-
-
-
-
-
-
-__webpack_require__(289);
-
-var ListPickerPure_ListPickerPureComponent =
-/*#__PURE__*/
-function (_React$PureComponent) {
- ListPickerPure__inherits(ListPickerPureComponent, _React$PureComponent);
-
- function ListPickerPureComponent(props) {
- var _this;
-
- ListPickerPure__classCallCheck(this, ListPickerPureComponent);
-
- _this = ListPickerPure__possibleConstructorReturn(this, ListPickerPure__getPrototypeOf(ListPickerPureComponent).call(this, props));
- _this.state = {
- selectedItems: _this.props.selectedItems
- };
- _this.isItemSelected = _this.isItemSelected.bind(ListPickerPure__assertThisInitialized(ListPickerPure__assertThisInitialized(_this)));
- _this.handleChange = _this.handleChange.bind(ListPickerPure__assertThisInitialized(ListPickerPure__assertThisInitialized(_this)));
- _this.updateSelectedItems = _this.updateSelectedItems.bind(ListPickerPure__assertThisInitialized(ListPickerPure__assertThisInitialized(_this)));
- return _this;
- }
-
- ListPickerPure__createClass(ListPickerPureComponent, [{
- key: "isItemSelected",
- value: function isItemSelected(item) {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.some(this.state.selectedItems, {
- id: item.id
- });
- }
- }, {
- key: "handleChange",
- value: function handleChange(item) {
- var _this2 = this;
-
- var _this$props = this.props,
- deselectItem = _this$props.deselectItem,
- selectItem = _this$props.selectItem,
- allowMultiSelection = _this$props.allowMultiSelection;
- return function () {
- var isSelected = _this2.isItemSelected(item);
-
- _this2.updateSelectedItems(item, allowMultiSelection, isSelected);
-
- if (isSelected) {
- deselectItem(item, allowMultiSelection);
- } else {
- selectItem(item, allowMultiSelection);
- }
- };
- }
- }, {
- key: "updateSelectedItems",
- value: function updateSelectedItems(item, allowMultiSelection, isSelected) {
- var newSelectedItemsArray = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.clone(this.state.selectedItems);
-
- if (allowMultiSelection) {
- if (isSelected) {
- external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.remove(newSelectedItemsArray, {
- id: item.id
- });
- } else {
- newSelectedItemsArray.push(item);
- }
-
- this.setState({
- selectedItems: newSelectedItemsArray
- });
- } else {
- this.setState({
- selectedItems: [item]
- });
- }
- }
- }, {
- key: "render",
- value: function render() {
- var _this3 = this;
-
- var _this$props2 = this.props,
- allowMultiSelection = _this$props2.allowMultiSelection,
- emptyIcon = _this$props2.emptyIcon,
- emptyMessage = _this$props2.emptyMessage,
- emptySvgSymbol = _this$props2.emptySvgSymbol,
- items = _this$props2.items,
- labelFormatter = _this$props2.labelFormatter,
- addonFormatter = _this$props2.addonFormatter,
- itemHeaders = _this$props2.itemHeaders,
- itemType = _this$props2.itemType;
- var ToggleComponent = allowMultiSelection ? Checkbox["a" /* default */] : Radio["a" /* default */];
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "listpickerpure-component",
- "data-test-selector": "listpickerpure-component-".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(itemType)),
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 76
- },
- __self: this
- }, itemHeaders ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Grid, {
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 81
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Row, {
- type: "header",
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 82
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- stretch: true,
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 83
- },
- __self: this
- }, itemHeaders.label), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- classSuffixes: ['header-toggle'],
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 84
- },
- __self: this
- }, itemHeaders.toggle), addonFormatter ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- classSuffixes: ['header-addon'],
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 85
- },
- __self: this
- }, itemHeaders.addon) : null)) : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "listpickerpure-component-items",
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 89
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Grid, {
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 90
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(items, function (item) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Row, {
- key: item.id,
- dts: "".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(itemType), "-").concat(item.id),
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 92
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- stretch: true,
- dts: "label",
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 93
- },
- __self: this
- }, labelFormatter(item)), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- classSuffixes: ['toggle'],
- dts: "toggle",
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 96
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(ToggleComponent, {
- checked: _this3.isItemSelected(item),
- onChange: _this3.handleChange(item),
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 97
- },
- __self: this
- })), addonFormatter ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- classSuffixes: ['addon'],
- dts: "addon",
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 100
- },
- __self: this
- }, addonFormatter(item)) : null);
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Empty, {
- collection: items,
- icon: emptyIcon,
- svgSymbol: emptySvgSymbol,
- text: emptyMessage,
- __source: {
- fileName: ListPickerPure__jsxFileName,
- lineNumber: 106
- },
- __self: this
- }))));
- }
- }]);
-
- return ListPickerPureComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-ListPickerPure_ListPickerPureComponent.displayName = 'AdslotUiListPickerPureComponent';
-var ListPickerPure_itemProps = prop_types_default.a.shape({
- id: prop_types_default.a.any.isRequired // id can be numeric or uuid string
-
-});
-ListPickerPure_ListPickerPureComponent.propTypes = {
- allowMultiSelection: prop_types_default.a.bool,
- deselectItem: prop_types_default.a.func,
- emptyIcon: prop_types_default.a.string,
- emptyMessage: prop_types_default.a.string,
- emptySvgSymbol: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- labelFormatter: prop_types_default.a.func,
- addonFormatter: prop_types_default.a.func,
- itemHeaders: prop_types_default.a.shape({
- label: prop_types_default.a.node,
- toggle: prop_types_default.a.string
- }),
- items: prop_types_default.a.arrayOf(ListPickerPure_itemProps),
- itemType: prop_types_default.a.string,
- selectItem: prop_types_default.a.func,
- selectedItems: prop_types_default.a.arrayOf(ListPickerPure_itemProps)
-};
-ListPickerPure_ListPickerPureComponent.defaultProps = {
- allowMultiSelection: true,
- deselectItem: function deselectItem() {
- throw new Error('AdslotUi ListPickerPure needs a deselectItem handler');
- },
- emptyMessage: 'No items to select.',
- labelFormatter: function labelFormatter(item) {
- return item.label;
- },
- items: [],
- itemType: 'item',
- selectItem: function selectItem() {
- throw new Error('AdslotUi ListPickerPure needs a selectItem handler');
- },
- selectedItems: []
-};
-/* harmony default export */ var ListPickerPure = (ListPickerPure_ListPickerPureComponent);
-// CONCATENATED MODULE: ./components/adslot-ui/PagedGrid/index.jsx
-var PagedGrid__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/PagedGrid/index.jsx";
-
-function PagedGrid__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { PagedGrid__typeof = function _typeof(obj) { return typeof obj; }; } else { PagedGrid__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return PagedGrid__typeof(obj); }
-
-function PagedGrid__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function PagedGrid__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 PagedGrid__createClass(Constructor, protoProps, staticProps) { if (protoProps) PagedGrid__defineProperties(Constructor.prototype, protoProps); if (staticProps) PagedGrid__defineProperties(Constructor, staticProps); return Constructor; }
-
-function PagedGrid__possibleConstructorReturn(self, call) { if (call && (PagedGrid__typeof(call) === "object" || typeof call === "function")) { return call; } return PagedGrid__assertThisInitialized(self); }
-
-function PagedGrid__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function PagedGrid__getPrototypeOf(o) { PagedGrid__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return PagedGrid__getPrototypeOf(o); }
-
-function PagedGrid__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) PagedGrid__setPrototypeOf(subClass, superClass); }
-
-function PagedGrid__setPrototypeOf(o, p) { PagedGrid__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return PagedGrid__setPrototypeOf(o, p); }
-
-
-
-
-
-
-
-
-
-
-
-__webpack_require__(290);
-
-var PagedGrid_PagedGridComponent =
-/*#__PURE__*/
-function (_React$Component) {
- PagedGrid__inherits(PagedGridComponent, _React$Component);
-
- function PagedGridComponent() {
- var _this;
-
- PagedGrid__classCallCheck(this, PagedGridComponent);
-
- _this = PagedGrid__possibleConstructorReturn(this, PagedGrid__getPrototypeOf(PagedGridComponent).call(this));
- _this.state = {
- activePage: 1
- };
- return _this;
- }
-
- PagedGrid__createClass(PagedGridComponent, [{
- key: "render",
- value: function render() {
- var _this2 = this;
-
- var activePage = this.state.activePage;
- var _this$props = this.props,
- columns = _this$props.columns,
- emptyIcon = _this$props.emptyIcon,
- emptyMessage = _this$props.emptyMessage,
- emptySvgSymbol = _this$props.emptySvgSymbol,
- items = _this$props.items,
- perPage = _this$props.perPage,
- verticalCellBorder = _this$props.verticalCellBorder;
-
- var pageItems = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default()(items).clone().splice((this.state.activePage - 1) * perPage, perPage);
-
- var totalPages = Math.ceil(items.length / perPage);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "pagedgrid-component",
- __source: {
- fileName: PagedGrid__jsxFileName,
- lineNumber: 34
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Grid, {
- __source: {
- fileName: PagedGrid__jsxFileName,
- lineNumber: 35
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Row, {
- type: "header",
- verticalCellBorder: verticalCellBorder,
- __source: {
- fileName: PagedGrid__jsxFileName,
- lineNumber: 36
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(columns, function (column) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- key: column.key,
- classSuffixes: [external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(column.key)],
- stretch: column.stretch,
- __source: {
- fileName: PagedGrid__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }, column.label);
- })), external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(pageItems, function (item) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Row, {
- key: item.id,
- verticalCellBorder: verticalCellBorder,
- __source: {
- fileName: PagedGrid__jsxFileName,
- lineNumber: 44
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(columns, function (column) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- key: "".concat(item.id, "-").concat(column.key),
- classSuffixes: [external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(column.key)],
- stretch: column.stretch,
- __source: {
- fileName: PagedGrid__jsxFileName,
- lineNumber: 46
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.get(item, column.key));
- }));
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Empty, {
- collection: items,
- icon: emptyIcon,
- svgSymbol: emptySvgSymbol,
- text: emptyMessage,
- __source: {
- fileName: PagedGrid__jsxFileName,
- lineNumber: 56
- },
- __self: this
- })), totalPages > 1 ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "pagedgrid-component-pagination",
- __source: {
- fileName: PagedGrid__jsxFileName,
- lineNumber: 59
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "pagedgrid-component-pagination-info",
- __source: {
- fileName: PagedGrid__jsxFileName,
- lineNumber: 60
- },
- __self: this
- }, (activePage - 1) * perPage + 1, "\u2013", Math.min(activePage * perPage, items.length), " of ", items.length), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Pagination_default.a, {
- activePage: activePage,
- items: totalPages,
- next: true,
- onSelect: function onSelect(selectedPage) {
- return _this2.setState({
- activePage: selectedPage
- });
- },
- prev: true,
- __source: {
- fileName: PagedGrid__jsxFileName,
- lineNumber: 63
- },
- __self: this
- })) : null);
- }
- }], [{
- key: "getDerivedStateFromProps",
- value: function getDerivedStateFromProps(props, state) {
- var totalPages = Math.ceil(props.items.length / props.perPage);
- return state.activePage > totalPages ? {
- activePage: totalPages
- } : null;
- }
- }]);
-
- return PagedGridComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var PagedGrid_itemProps = prop_types_default.a.shape({
- id: prop_types_default.a.any.isRequired
-});
-var columnProps = prop_types_default.a.shape({
- key: prop_types_default.a.string.isRequired,
- label: prop_types_default.a.any,
- stretch: prop_types_default.a.bool
-});
-PagedGrid_PagedGridComponent.propTypes = {
- columns: prop_types_default.a.arrayOf(columnProps).isRequired,
- emptyIcon: prop_types_default.a.string,
- emptyMessage: prop_types_default.a.string,
- emptySvgSymbol: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- items: prop_types_default.a.arrayOf(PagedGrid_itemProps).isRequired,
- perPage: prop_types_default.a.number.isRequired,
- verticalCellBorder: prop_types_default.a.bool
-};
-/* harmony default export */ var PagedGrid = (PagedGrid_PagedGridComponent);
-// EXTERNAL MODULE: ./components/adslot-ui/RadioGroup/index.jsx
-var RadioGroup = __webpack_require__(133);
-
-// EXTERNAL MODULE: ./components/adslot-ui/Search/styles.scss
-var Search_styles = __webpack_require__(291);
-var Search_styles_default = /*#__PURE__*/__webpack_require__.n(Search_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/Search/index.jsx
-var Search__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/Search/index.jsx";
-
-function Search__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Search__typeof = function _typeof(obj) { return typeof obj; }; } else { Search__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Search__typeof(obj); }
-
-function Search__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Search__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 Search__createClass(Constructor, protoProps, staticProps) { if (protoProps) Search__defineProperties(Constructor.prototype, protoProps); if (staticProps) Search__defineProperties(Constructor, staticProps); return Constructor; }
-
-function Search__possibleConstructorReturn(self, call) { if (call && (Search__typeof(call) === "object" || typeof call === "function")) { return call; } return Search__assertThisInitialized(self); }
-
-function Search__getPrototypeOf(o) { Search__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Search__getPrototypeOf(o); }
-
-function Search__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) Search__setPrototypeOf(subClass, superClass); }
-
-function Search__setPrototypeOf(o, p) { Search__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Search__setPrototypeOf(o, p); }
-
-function Search__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-
-var Search_Search =
-/*#__PURE__*/
-function (_Component) {
- Search__inherits(Search, _Component);
-
- function Search(props) {
- var _this;
-
- Search__classCallCheck(this, Search);
-
- _this = Search__possibleConstructorReturn(this, Search__getPrototypeOf(Search).call(this, props));
- _this.debounceOnSearch = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.debounce(props.onSearch, props.debounceInterval);
- _this.onChange = _this.onChange.bind(Search__assertThisInitialized(Search__assertThisInitialized(_this)));
- _this.onClear = _this.onClear.bind(Search__assertThisInitialized(Search__assertThisInitialized(_this)));
- _this.onKeyPress = _this.onKeyPress.bind(Search__assertThisInitialized(Search__assertThisInitialized(_this)));
- return _this;
- }
-
- Search__createClass(Search, [{
- key: "onChange",
- value: function onChange(event) {
- var _this$props = this.props,
- disabled = _this$props.disabled,
- searchOnChange = _this$props.searchOnChange,
- onChange = _this$props.onChange;
- if (disabled) return;
-
- var value = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.get(event, 'target.value');
-
- onChange(value);
- if (searchOnChange) this.debounceOnSearch(value);
- }
- }, {
- key: "onKeyPress",
- value: function onKeyPress(event) {
- var _this$props2 = this.props,
- disabled = _this$props2.disabled,
- searchOnEnterKey = _this$props2.searchOnEnterKey,
- onSearch = _this$props2.onSearch;
- if (disabled) return;
-
- if (searchOnEnterKey && event.which === 13) {
- var value = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.get(event, 'target.value');
-
- onSearch(value);
- }
- }
- }, {
- key: "onClear",
- value: function onClear() {
- var _this$props3 = this.props,
- disabled = _this$props3.disabled,
- onChange = _this$props3.onChange,
- onClear = _this$props3.onClear,
- onSearch = _this$props3.onSearch,
- searchOnChange = _this$props3.searchOnChange;
- if (disabled) return;
- var value = '';
- onChange(value);
-
- if (searchOnChange) {
- onSearch(value);
- }
-
- onClear(value);
- }
- }, {
- key: "render",
- value: function render() {
- var _this$props4 = this.props,
- disabled = _this$props4.disabled,
- isLoading = _this$props4.isLoading,
- placeholder = _this$props4.placeholder,
- svgSymbolCancel = _this$props4.svgSymbolCancel,
- svgSymbolSearch = _this$props4.svgSymbolSearch,
- value = _this$props4.value;
- var searchClassSuffixes = disabled ? ['color-disabled'] : svgSymbolSearch.classSuffixes;
- var cancelClassSuffixes = disabled ? ['color-disabled'] : svgSymbolCancel.classSuffixes;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "search-component",
- __source: {
- fileName: Search__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("input", {
- autoComplete: "off",
- className: "search-component-input",
- disabled: disabled,
- name: "search",
- onChange: this.onChange,
- onKeyPress: this.onKeyPress,
- placeholder: "Search ".concat(placeholder),
- type: "search",
- value: value,
- __source: {
- fileName: Search__jsxFileName,
- lineNumber: 56
- },
- __self: this
- }), isLoading ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Spinner, {
- size: "small",
- __source: {
- fileName: Search__jsxFileName,
- lineNumber: 67
- },
- __self: this
- }) : null, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(value) ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_SvgSymbol, {
- href: svgSymbolSearch.href,
- classSuffixes: searchClassSuffixes,
- __source: {
- fileName: Search__jsxFileName,
- lineNumber: 69
- },
- __self: this
- }) : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_SvgSymbol, {
- href: svgSymbolCancel.href,
- classSuffixes: cancelClassSuffixes,
- onClick: this.onClear,
- __source: {
- fileName: Search__jsxFileName,
- lineNumber: 71
- },
- __self: this
- }));
- }
- }]);
-
- return Search;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react__["Component"]);
-
-Search_Search.displayName = 'AdslotUiSearchComponent';
-Search_Search.propTypes = {
- disabled: prop_types_default.a.bool,
- isLoading: prop_types_default.a.bool,
- onChange: prop_types_default.a.func,
- onClear: prop_types_default.a.func,
- onSearch: prop_types_default.a.func,
- placeholder: prop_types_default.a.string,
- svgSymbolCancel: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- svgSymbolSearch: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- value: prop_types_default.a.string,
- searchOnChange: prop_types_default.a.bool,
- searchOnEnterKey: prop_types_default.a.bool,
- debounceInterval: prop_types_default.a.number
-};
-Search_Search.defaultProps = {
- disabled: false,
- isLoading: false,
- onChange: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.noop,
- onClear: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.noop,
- onSearch: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.noop,
- placeholder: '',
- svgSymbolCancel: {
- classSuffixes: ['gray-darker'],
- href: '/assets/svg-symbols.svg#cancel'
- },
- svgSymbolSearch: {
- classSuffixes: ['gray-light'],
- href: '/assets/svg-symbols.svg#search'
- },
- value: '',
- searchOnChange: true,
- searchOnEnterKey: false,
- debounceInterval: 0
-};
-/* harmony default export */ var adslot_ui_Search = (Search_Search);
-// CONCATENATED MODULE: ./components/adslot-ui/SearchBar/index.jsx
-var SearchBar__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/SearchBar/index.jsx";
-
-
-
-
-
-__webpack_require__(292);
-
-var SearchBar_SearchBarComponent = function SearchBarComponent(_ref) {
- var additionalClassNames = _ref.additionalClassNames,
- searchString = _ref.searchString,
- searchPlaceholder = _ref.searchPlaceholder,
- searchIconHref = _ref.searchIconHref,
- onSearchStringChange = _ref.onSearchStringChange,
- onSearch = _ref.onSearch,
- dts = _ref.dts;
- var className = ['search-bar-component'].concat(additionalClassNames).join(' ');
- var placeholder = searchPlaceholder || 'Search';
-
- var onSearchStringChangeBound = function onSearchStringChangeBound(event) {
- return onSearchStringChange(event.target.value);
- };
-
- var onTextInputKeyPress = function onTextInputKeyPress(event) {
- var ENTER_KEY = 13; // event.keyCode always returns 0 on Chrome (a known bug), so we must do a check
- // for event.which as well. For more info on the bug, see this SO entry:
- // http://stackoverflow.com/questions/1897333/firing-a-keyboard-event-on-chrome
-
- if (event.which === ENTER_KEY || event.keyCode === ENTER_KEY) {
- onSearch();
- }
- };
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: className,
- "data-test-selector": dts,
- __source: {
- fileName: SearchBar__jsxFileName,
- lineNumber: 32
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("input", {
- className: "search-bar-component-text-input form-control",
- onChange: onSearchStringChangeBound,
- onKeyPress: onTextInputKeyPress,
- placeholder: placeholder,
- type: "text",
- value: searchString,
- __source: {
- fileName: SearchBar__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Button_default.a, {
- className: "search-bar-component-button btn-inverse",
- bsStyle: "primary",
- onClick: onSearch,
- __source: {
- fileName: SearchBar__jsxFileName,
- lineNumber: 41
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_SvgSymbol, {
- classSuffixes: ['search-icon'],
- href: searchIconHref,
- __source: {
- fileName: SearchBar__jsxFileName,
- lineNumber: 42
- },
- __self: this
- })));
-};
-
-SearchBar_SearchBarComponent.propTypes = {
- additionalClassNames: prop_types_default.a.arrayOf(prop_types_default.a.string),
- searchString: prop_types_default.a.string.isRequired,
- searchPlaceholder: prop_types_default.a.string,
- searchIconHref: prop_types_default.a.string.isRequired,
- onSearchStringChange: prop_types_default.a.func.isRequired,
- onSearch: prop_types_default.a.func.isRequired,
- dts: prop_types_default.a.string
-};
-SearchBar_SearchBarComponent.defaultProps = {
- additionalClassNames: []
-};
-/* harmony default export */ var SearchBar = (SearchBar_SearchBarComponent);
-// CONCATENATED MODULE: ./components/adslot-ui/SplitPane/index.jsx
-var SplitPane__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/SplitPane/index.jsx";
-
-function SplitPane__toConsumableArray(arr) { return SplitPane__arrayWithoutHoles(arr) || SplitPane__iterableToArray(arr) || SplitPane__nonIterableSpread(); }
-
-function SplitPane__nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
-
-function SplitPane__iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
-
-function SplitPane__arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }
-
-// TODO: Move to Alexandria.
-
-
-
-
-
-__webpack_require__(293);
-
-var SplitPane_SplitPaneComponent = function SplitPaneComponent(_ref) {
- var children = _ref.children,
- dts = _ref.dts,
- additionalClassNames = _ref.additionalClassNames;
- var splitPaneClass = classnames_default.a.apply(void 0, ['splitpane-component'].concat(SplitPane__toConsumableArray(additionalClassNames)));
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({
- className: splitPaneClass
- }, Object(utils["b" /* expandDts */])(dts), {
- __source: {
- fileName: SplitPane__jsxFileName,
- lineNumber: 13
- },
- __self: this
- }), children);
-};
-
-SplitPane_SplitPaneComponent.displayName = 'AdslotUiSplitPaneComponent';
-SplitPane_SplitPaneComponent.propTypes = {
- additionalClassNames: prop_types_default.a.arrayOf(prop_types_default.a.string),
- children: prop_types_default.a.node,
- dts: prop_types_default.a.string
-};
-SplitPane_SplitPaneComponent.defaultProps = {
- additionalClassNames: []
-};
-/* harmony default export */ var SplitPane = (SplitPane_SplitPaneComponent);
-// EXTERNAL MODULE: ./components/adslot-ui/StatusPill/styles.scss
-var StatusPill_styles = __webpack_require__(294);
-var StatusPill_styles_default = /*#__PURE__*/__webpack_require__.n(StatusPill_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/StatusPill/index.jsx
-var StatusPill__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/StatusPill/index.jsx";
-
-
-
-
-
-var adslot_ui_StatusPill_styles = ['primary', 'success', 'warning', 'error', 'light'];
-
-var StatusPill_StatusPill = function StatusPill(_ref) {
- var displayStyle = _ref.displayStyle,
- status = _ref.status,
- inverse = _ref.inverse,
- dts = _ref.dts;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({
- className: classnames_default()(['aui--status-pill', "aui--status-pill-".concat(displayStyle), {
- 'aui--status-pill-inverse': inverse
- }])
- }, Object(utils["b" /* expandDts */])(dts), {
- __source: {
- fileName: StatusPill__jsxFileName,
- lineNumber: 11
- },
- __self: this
- }), status);
-};
-
-StatusPill_StatusPill.defaultProps = {
- displayStyle: adslot_ui_StatusPill_styles[0],
- inverse: false
-};
-StatusPill_StatusPill.propTypes = {
- status: prop_types_default.a.string.isRequired,
- displayStyle: prop_types_default.a.oneOf(adslot_ui_StatusPill_styles),
- inverse: prop_types_default.a.bool,
- dts: prop_types_default.a.string
-};
-/* harmony default export */ var adslot_ui_StatusPill = (StatusPill_StatusPill);
-// CONCATENATED MODULE: ./components/adslot-ui/Tab/index.jsx
-var Tab__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/Tab/index.jsx";
-
-/* eslint-disable react/no-unused-prop-types */
-
-
-
-
-var Tab_Tab = function Tab(_ref) {
- var children = _ref.children,
- show = _ref.show;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- role: "tabpanel",
- "aria-hidden": show,
- className: classnames_default()(['tab-pane', 'fade', {
- active: show,
- in: show
- }]),
- __source: {
- fileName: Tab__jsxFileName,
- lineNumber: 7
- },
- __self: this
- }, children);
-};
-
-Tab_Tab.innerName = 'au_tab';
-Tab_Tab.propTypes = {
- children: prop_types_default.a.node.isRequired,
- eventKey: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number]).isRequired,
- title: prop_types_default.a.node.isRequired,
- tabClassName: prop_types_default.a.string,
- disabled: prop_types_default.a.bool,
- show: prop_types_default.a.bool
-};
-/* harmony default export */ var adslot_ui_Tab = (Tab_Tab);
-// CONCATENATED MODULE: ./components/adslot-ui/Tabs/index.jsx
-var Tabs__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/Tabs/index.jsx";
-
-function Tabs__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Tabs__typeof = function _typeof(obj) { return typeof obj; }; } else { Tabs__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Tabs__typeof(obj); }
-
-function Tabs__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Tabs__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 Tabs__createClass(Constructor, protoProps, staticProps) { if (protoProps) Tabs__defineProperties(Constructor.prototype, protoProps); if (staticProps) Tabs__defineProperties(Constructor, staticProps); return Constructor; }
-
-function Tabs__possibleConstructorReturn(self, call) { if (call && (Tabs__typeof(call) === "object" || typeof call === "function")) { return call; } return Tabs__assertThisInitialized(self); }
-
-function Tabs__getPrototypeOf(o) { Tabs__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Tabs__getPrototypeOf(o); }
-
-function Tabs__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) Tabs__setPrototypeOf(subClass, superClass); }
-
-function Tabs__setPrototypeOf(o, p) { Tabs__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Tabs__setPrototypeOf(o, p); }
-
-function Tabs__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-/* eslint-disable jsx-a11y/anchor-is-valid */
-
-
-
-
-
-
-var Tabs_Tabs =
-/*#__PURE__*/
-function (_React$Component) {
- Tabs__inherits(Tabs, _React$Component);
-
- function Tabs(props) {
- var _this;
-
- Tabs__classCallCheck(this, Tabs);
-
- _this = Tabs__possibleConstructorReturn(this, Tabs__getPrototypeOf(Tabs).call(this, props));
- _this.state = {
- activeKey: _this.props.defaultActiveKey
- };
- _this.switchTab = _this.switchTab.bind(Tabs__assertThisInitialized(Tabs__assertThisInitialized(_this)));
- return _this;
- }
-
- Tabs__createClass(Tabs, [{
- key: "switchTab",
- value: function switchTab(key) {
- var _this2 = this;
-
- var _this$props = this.props,
- onSelect = _this$props.onSelect,
- activeKey = _this$props.activeKey;
- return function (event) {
- event.preventDefault();
-
- if (_this2.isControlled && key !== activeKey) {
- onSelect(key);
- } else if (key !== _this2.state.activeKey) {
- _this2.setState({
- activeKey: key
- });
- }
- };
- }
- }, {
- key: "render",
- value: function render() {
- var _this3 = this;
-
- var _this$props2 = this.props,
- id = _this$props2.id,
- children = _this$props2.children;
- var tabs = [];
- var content = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.map(children, function (child) {
- if (!external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(child) && external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isFunction(child.type) && child.type.innerName === adslot_ui_Tab.innerName) {
- var tab = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(child, {
- show: _this3.activeKey === child.props.eventKey
- });
- tabs.push(tab);
- return tab;
- }
-
- return child;
- });
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- id: id,
- __source: {
- fileName: Tabs__jsxFileName,
- lineNumber: 59
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("ul", {
- role: "tablist",
- className: "nav nav-tabs",
- __source: {
- fileName: Tabs__jsxFileName,
- lineNumber: 60
- },
- __self: this
- }, tabs.map(function (tab) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- role: "presentation",
- className: classnames_default()(tab.props.tabClassName, {
- active: tab.props.show,
- disabled: tab.props.disabled
- }),
- key: tab.props.eventKey,
- __source: {
- fileName: Tabs__jsxFileName,
- lineNumber: 62
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- id: "".concat(id, "-tab-").concat(tab.props.eventKey),
- role: "tab",
- tabIndex: -1,
- "aria-selected": tab.props.show,
- onClick: _this3.switchTab(tab.props.eventKey),
- style: tab.props.disabled ? {
- pointerEvents: 'none'
- } : {},
- __source: {
- fileName: Tabs__jsxFileName,
- lineNumber: 67
- },
- __self: this
- }, tab.props.title));
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "tab-content",
- __source: {
- fileName: Tabs__jsxFileName,
- lineNumber: 80
- },
- __self: this
- }, content));
- }
- }, {
- key: "isControlled",
- get: function get() {
- var _this$props3 = this.props,
- activeKey = _this$props3.activeKey,
- onSelect = _this$props3.onSelect;
- return !external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isNil(activeKey) && external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isFunction(onSelect);
- }
- }, {
- key: "activeKey",
- get: function get() {
- return this.isControlled ? this.props.activeKey : this.state.activeKey;
- }
- }]);
-
- return Tabs;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Tabs_Tabs.propTypes = {
- id: prop_types_default.a.string.isRequired,
- children: prop_types_default.a.node.isRequired,
- defaultActiveKey: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number]),
- activeKey: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number]),
- onSelect: prop_types_default.a.func
-};
-/* harmony default export */ var adslot_ui_Tabs = (Tabs_Tabs);
-// CONCATENATED MODULE: ./components/adslot-ui/Textarea/index.jsx
-var Textarea__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/Textarea/index.jsx";
-
-function Textarea__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Textarea__typeof = function _typeof(obj) { return typeof obj; }; } else { Textarea__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Textarea__typeof(obj); }
-
-function Textarea__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Textarea__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 Textarea__createClass(Constructor, protoProps, staticProps) { if (protoProps) Textarea__defineProperties(Constructor.prototype, protoProps); if (staticProps) Textarea__defineProperties(Constructor, staticProps); return Constructor; }
-
-function Textarea__possibleConstructorReturn(self, call) { if (call && (Textarea__typeof(call) === "object" || typeof call === "function")) { return call; } return Textarea__assertThisInitialized(self); }
-
-function Textarea__getPrototypeOf(o) { Textarea__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Textarea__getPrototypeOf(o); }
-
-function Textarea__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) Textarea__setPrototypeOf(subClass, superClass); }
-
-function Textarea__setPrototypeOf(o, p) { Textarea__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Textarea__setPrototypeOf(o, p); }
-
-function Textarea__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-var Textarea_Textarea =
-/*#__PURE__*/
-function (_React$Component) {
- Textarea__inherits(Textarea, _React$Component);
-
- function Textarea(props) {
- var _this;
-
- Textarea__classCallCheck(this, Textarea);
-
- _this = Textarea__possibleConstructorReturn(this, Textarea__getPrototypeOf(Textarea).call(this, props));
- _this.state = {
- charCountRemaining: _this.props.maxLength
- };
- _this.handleChange = _this.handleChange.bind(Textarea__assertThisInitialized(Textarea__assertThisInitialized(_this)));
- return _this;
- }
-
- Textarea__createClass(Textarea, [{
- key: "handleChange",
- value: function handleChange(event) {
- this.setState({
- charCountRemaining: this.props.maxLength - event.target.value.length
- });
-
- if (this.props.onChange) {
- this.props.onChange(event);
- }
- }
- }, {
- key: "render",
- value: function render() {
- var _this$props = this.props,
- maxLength = _this$props.maxLength,
- statusClass = _this$props.statusClass;
-
- var restProps = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.omit(this.props, ['statusClass']);
-
- var classNames = classnames_default()('form-control', restProps.className);
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isNil(maxLength) ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("textarea", Object.assign({}, restProps, {
- className: classNames,
- __source: {
- fileName: Textarea__jsxFileName,
- lineNumber: 33
- },
- __self: this
- })) : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: Textarea__jsxFileName,
- lineNumber: 35
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("textarea", Object.assign({}, restProps, {
- className: classNames,
- onChange: this.handleChange,
- __source: {
- fileName: Textarea__jsxFileName,
- lineNumber: 36
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: statusClass,
- __source: {
- fileName: Textarea__jsxFileName,
- lineNumber: 37
- },
- __self: this
- }, this.state.charCountRemaining, " characters remaining"));
- }
- }]);
-
- return Textarea;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Textarea_Textarea.propTypes = {
- maxLength: prop_types_default.a.number,
- statusClass: prop_types_default.a.string,
- onChange: prop_types_default.a.func
-};
-Textarea_Textarea.defaultProps = {
- statusClass: ''
-};
-/* harmony default export */ var adslot_ui_Textarea = (Textarea_Textarea);
-// EXTERNAL MODULE: ./components/adslot-ui/TextEllipsis/styles.scss
-var TextEllipsis_styles = __webpack_require__(295);
-var TextEllipsis_styles_default = /*#__PURE__*/__webpack_require__.n(TextEllipsis_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/TextEllipsis/index.jsx
-var TextEllipsis__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/TextEllipsis/index.jsx";
-
-function TextEllipsis__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { TextEllipsis__typeof = function _typeof(obj) { return typeof obj; }; } else { TextEllipsis__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return TextEllipsis__typeof(obj); }
-
-function TextEllipsis__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function TextEllipsis__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 TextEllipsis__createClass(Constructor, protoProps, staticProps) { if (protoProps) TextEllipsis__defineProperties(Constructor.prototype, protoProps); if (staticProps) TextEllipsis__defineProperties(Constructor, staticProps); return Constructor; }
-
-function TextEllipsis__possibleConstructorReturn(self, call) { if (call && (TextEllipsis__typeof(call) === "object" || typeof call === "function")) { return call; } return TextEllipsis__assertThisInitialized(self); }
-
-function TextEllipsis__getPrototypeOf(o) { TextEllipsis__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return TextEllipsis__getPrototypeOf(o); }
-
-function TextEllipsis__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) TextEllipsis__setPrototypeOf(subClass, superClass); }
-
-function TextEllipsis__setPrototypeOf(o, p) { TextEllipsis__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return TextEllipsis__setPrototypeOf(o, p); }
-
-function TextEllipsis__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function TextEllipsis__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; }
-
-
-
-
-
-
-
-var TextEllipsis_TextEllipsisComponent =
-/*#__PURE__*/
-function (_React$PureComponent) {
- TextEllipsis__inherits(TextEllipsisComponent, _React$PureComponent);
-
- function TextEllipsisComponent(props) {
- var _this;
-
- TextEllipsis__classCallCheck(this, TextEllipsisComponent);
-
- _this = TextEllipsis__possibleConstructorReturn(this, TextEllipsis__getPrototypeOf(TextEllipsisComponent).call(this, props));
-
- TextEllipsis__defineProperty(TextEllipsis__assertThisInitialized(TextEllipsis__assertThisInitialized(_this)), "state", {
- truncated: false
- });
-
- _this.container = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createRef();
- return _this;
- }
-
- TextEllipsis__createClass(TextEllipsisComponent, [{
- key: "componentDidMount",
- value: function componentDidMount() {
- this.setTruncate();
- }
- }, {
- key: "componentDidUpdate",
- value: function componentDidUpdate() {
- this.setTruncate();
- }
- }, {
- key: "setTruncate",
- value: function setTruncate() {
- var nextTruncateState = this.container.current.scrollWidth > this.container.current.clientWidth;
-
- if (this.state.truncated !== nextTruncateState) {
- this.setState({
- truncated: nextTruncateState
- });
- }
- }
- }, {
- key: "render",
- value: function render() {
- var popoverProps = this.props.popoverProps;
- var truncated = this.state.truncated;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(third_party_Popover, Object.assign({}, popoverProps, {
- isOpen: truncated,
- popoverContent: this.props.children,
- className: "aui--text-ellipsis-wrapper",
- __source: {
- fileName: TextEllipsis__jsxFileName,
- lineNumber: 52
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "text-ellipsis-component",
- ref: this.container,
- __source: {
- fileName: TextEllipsis__jsxFileName,
- lineNumber: 58
- },
- __self: this
- }, this.props.children));
- }
- }]);
-
- return TextEllipsisComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-TextEllipsis__defineProperty(TextEllipsis_TextEllipsisComponent, "propTypes", {
- children: prop_types_default.a.node.isRequired,
- popoverProps: prop_types_default.a.shape(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.pick(third_party_Popover.propTypes, ['placement', 'trigger']))
-});
-
-TextEllipsis__defineProperty(TextEllipsis_TextEllipsisComponent, "defaultProps", {
- popoverProps: {
- placement: 'top',
- trigger: 'hover'
- }
-});
-
-/* harmony default export */ var TextEllipsis = (TextEllipsis_TextEllipsisComponent);
-// CONCATENATED MODULE: ./components/adslot-ui/fastStatelessWrapper/index.jsx
-var fastStatelessWrapper__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/fastStatelessWrapper/index.jsx";
-
-function fastStatelessWrapper__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { fastStatelessWrapper__typeof = function _typeof(obj) { return typeof obj; }; } else { fastStatelessWrapper__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return fastStatelessWrapper__typeof(obj); }
-
-function fastStatelessWrapper__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function fastStatelessWrapper__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 fastStatelessWrapper__createClass(Constructor, protoProps, staticProps) { if (protoProps) fastStatelessWrapper__defineProperties(Constructor.prototype, protoProps); if (staticProps) fastStatelessWrapper__defineProperties(Constructor, staticProps); return Constructor; }
-
-function fastStatelessWrapper__possibleConstructorReturn(self, call) { if (call && (fastStatelessWrapper__typeof(call) === "object" || typeof call === "function")) { return call; } return fastStatelessWrapper__assertThisInitialized(self); }
-
-function fastStatelessWrapper__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function fastStatelessWrapper__getPrototypeOf(o) { fastStatelessWrapper__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return fastStatelessWrapper__getPrototypeOf(o); }
-
-function fastStatelessWrapper__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) fastStatelessWrapper__setPrototypeOf(subClass, superClass); }
-
-function fastStatelessWrapper__setPrototypeOf(o, p) { fastStatelessWrapper__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return fastStatelessWrapper__setPrototypeOf(o, p); }
-
-
-
-/**
- * fastStatelessWrapper - Limit re-render of a component to changeable props.
- * Use when you have a performance problem, do not prematurely optimise.
- *
- * @param {Node} ComposedComponent The React component to render.
- * @param {Array} propsToCheck An Array of properties causing re-render eg. `['foo.bar', 'baz']`.
- * @return {Node} A Component that wraps the provided React Component.
- */
-
-var fastStatelessWrapper_fastStatelessWrapper = function fastStatelessWrapper(ComposedComponent, propsToCheck) {
- return (
- /*#__PURE__*/
- function (_React$Component) {
- fastStatelessWrapper__inherits(FastStatelessWrapperComponent, _React$Component);
-
- function FastStatelessWrapperComponent() {
- fastStatelessWrapper__classCallCheck(this, FastStatelessWrapperComponent);
-
- return fastStatelessWrapper__possibleConstructorReturn(this, fastStatelessWrapper__getPrototypeOf(FastStatelessWrapperComponent).apply(this, arguments));
- }
-
- fastStatelessWrapper__createClass(FastStatelessWrapperComponent, [{
- key: "shouldComponentUpdate",
- value: function shouldComponentUpdate(nextProps) {
- var _this = this;
-
- var isEqualProps = function isEqualProps(toGet) {
- var getFromProps = function getFromProps(props) {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.get(props, toGet);
- };
-
- return getFromProps(nextProps) === getFromProps(_this.props);
- };
-
- return !external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.every(propsToCheck, isEqualProps);
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(ComposedComponent, Object.assign({}, this.props, {
- __source: {
- fileName: fastStatelessWrapper__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }));
- }
- }]);
-
- return FastStatelessWrapperComponent;
- }(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component)
- );
-};
-
-/* harmony default export */ var adslot_ui_fastStatelessWrapper = (fastStatelessWrapper_fastStatelessWrapper);
-// CONCATENATED MODULE: ./components/adslot-ui/TreePicker/Node/Expander/index.jsx
-var Expander__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/TreePicker/Node/Expander/index.jsx";
-
-
-
-
-
-var Expander_TreePickerNodeExpander = function TreePickerNodeExpander(_ref) {
- var isLoading = _ref.isLoading,
- onClick = _ref.onClick;
- var props = {
- dts: 'expander'
- };
- if (!isLoading) props.onClick = onClick;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, Object.assign({}, props, {
- __source: {
- fileName: Expander__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }), isLoading ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Spinner, {
- size: "small",
- __source: {
- fileName: Expander__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }) : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "treepickernode-component-expander",
- __source: {
- fileName: Expander__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }));
-};
-
-Expander_TreePickerNodeExpander.propTypes = {
- isLoading: prop_types_default.a.bool,
- onClick: prop_types_default.a.func.isRequired
-};
-Expander_TreePickerNodeExpander.defaultProps = {
- isLoading: false
-};
-/* harmony default export */ var Expander = (Expander_TreePickerNodeExpander);
-// CONCATENATED MODULE: ./components/prop-types/TreePickerPropTypes.js
-
-
-
-var baseNodeProps = {
- id: idPropType.isRequired,
- label: prop_types_default.a.string.isRequired
-};
-
-var mergeNodeProps = function mergeNodeProps(addedProps) {
- return Object.assign({}, baseNodeProps, addedProps);
-};
-
-/* harmony default export */ var TreePickerPropTypes = ({
- node: prop_types_default.a.shape(mergeNodeProps({
- isExpandable: prop_types_default.a.bool,
- path: prop_types_default.a.arrayOf(prop_types_default.a.shape(baseNodeProps).isRequired),
- ancestors: prop_types_default.a.arrayOf(prop_types_default.a.shape(baseNodeProps).isRequired),
- type: prop_types_default.a.string.isRequired,
- value: prop_types_default.a.number
- })),
- breadCrumbNode: prop_types_default.a.shape(baseNodeProps),
- rootType: prop_types_default.a.shape(mergeNodeProps({
- emptySvgSymbol: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- svgSymbol: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- hidden: prop_types_default.a.bool,
- isRequired: prop_types_default.a.bool.isRequired
- }))
-});
-// CONCATENATED MODULE: ./components/adslot-ui/TreePicker/Node/index.jsx
-var TreePicker_Node__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/TreePicker/Node/index.jsx";
-
-function Node__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Node__typeof = function _typeof(obj) { return typeof obj; }; } else { Node__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Node__typeof(obj); }
-
-function Node__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Node__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 Node__createClass(Constructor, protoProps, staticProps) { if (protoProps) Node__defineProperties(Constructor.prototype, protoProps); if (staticProps) Node__defineProperties(Constructor, staticProps); return Constructor; }
-
-function Node__possibleConstructorReturn(self, call) { if (call && (Node__typeof(call) === "object" || typeof call === "function")) { return call; } return Node__assertThisInitialized(self); }
-
-function Node__getPrototypeOf(o) { Node__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Node__getPrototypeOf(o); }
-
-function Node__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) Node__setPrototypeOf(subClass, superClass); }
-
-function Node__setPrototypeOf(o, p) { Node__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Node__setPrototypeOf(o, p); }
-
-function Node__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-
-
-
-
-
-__webpack_require__(296);
-
-var Node_baseClass = 'treepickernode-component';
-
-var Node_printPathText = function printPathText(node) {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default()(node.path).map('label').clone().reverse().join(', ');
-};
-
-var Node_printAncestorText = function printAncestorText(node) {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default()(node.ancestors).map('label').join(', ');
-};
-
-var Node_pathPrefix = function pathPrefix(_ref) {
- var type = _ref.type;
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(type) ? '' : "".concat(type, " in ");
-};
-
-var Node_TreePickerNodeComponent =
-/*#__PURE__*/
-function (_React$Component) {
- Node__inherits(TreePickerNodeComponent, _React$Component);
-
- function TreePickerNodeComponent(props) {
- var _this;
-
- Node__classCallCheck(this, TreePickerNodeComponent);
-
- if (external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isUndefined(props.node.path) && external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isUndefined(props.node.ancestors)) {
- throw new Error("AdslotUi TreePickerNode needs property 'path' or property 'ancestors' for ".concat(props.node));
- }
-
- _this = Node__possibleConstructorReturn(this, Node__getPrototypeOf(TreePickerNodeComponent).call(this, props));
- _this.state = {
- isLoading: false
- };
- _this.setLoadingAndExpandNode = _this.setLoadingAndExpandNode.bind(Node__assertThisInitialized(Node__assertThisInitialized(_this)));
- _this.includeNodeBound = _this.props.includeNode.bind(Node__assertThisInitialized(Node__assertThisInitialized(_this)), _this.props.node);
- _this.removeNodeBound = _this.props.removeNode.bind(Node__assertThisInitialized(Node__assertThisInitialized(_this)), _this.props.node);
- if (_this.props.expandNode) _this.expandNodeBound = _this.props.expandNode.bind(Node__assertThisInitialized(Node__assertThisInitialized(_this)), _this.props.node);
- return _this;
- }
-
- Node__createClass(TreePickerNodeComponent, [{
- key: "setLoadingAndExpandNode",
- value: function setLoadingAndExpandNode() {
- this.setState({
- isLoading: true
- }, this.expandNodeBound);
- }
- }, {
- key: "render",
- value: function render() {
- var _this$props = this.props,
- disabled = _this$props.disabled,
- itemType = _this$props.itemType,
- node = _this$props.node,
- expandNode = _this$props.expandNode,
- nodeRenderer = _this$props.nodeRenderer,
- selected = _this$props.selected,
- valueFormatter = _this$props.valueFormatter;
- var isChildNode = !(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(node.path) && external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(node.ancestors));
- var isExpandable = expandNode && node.isExpandable;
- var pathElement = isChildNode ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "".concat(Node_baseClass, "-path"),
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 57
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(node.path) ? Node_printAncestorText(node) : Node_printPathText(node)) : null;
- var labelCellProps = isExpandable && !this.state.isLoading ? {
- onClick: this.setLoadingAndExpandNode
- } : {};
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: isChildNode ? "".concat(Node_baseClass, " child-node") : "".concat(Node_baseClass),
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 65
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Row, {
- dts: "".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(itemType), "-").concat(node.id),
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 66
- },
- __self: this
- }, selected ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- classSuffixes: ['button'],
- dts: "button-remove",
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 68
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Button_default.a, {
- block: true,
- bsSize: "xsmall",
- className: "btn-inverse",
- onClick: this.removeNodeBound,
- disabled: disabled || node.isSelectable === false,
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 69
- },
- __self: this
- }, "\u2212")) : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, Object.assign({
- stretch: true
- }, labelCellProps, {
- dts: "label",
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 80
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TextEllipsis, {
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 81
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 82
- },
- __self: this
- }, nodeRenderer(node)), !external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(pathElement) ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "".concat(Node_baseClass, "-metadata"),
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 84
- },
- __self: this
- }, "(", Node_pathPrefix(node), pathElement, ")") : null)), isExpandable ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Expander, {
- isLoading: this.state.isLoading,
- onClick: this.setLoadingAndExpandNode,
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 93
- },
- __self: this
- }) : null, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isNumber(node.value) ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- dts: "value",
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 96
- },
- __self: this
- }, valueFormatter(node.value)) : null, !selected ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Cell, {
- classSuffixes: ['button'],
- dts: "button-add",
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 98
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Button_default.a, {
- block: true,
- bsSize: "xsmall",
- className: "btn-inverse",
- onClick: this.includeNodeBound,
- disabled: disabled || node.isSelectable === false || this.state.isLoading,
- __source: {
- fileName: TreePicker_Node__jsxFileName,
- lineNumber: 99
- },
- __self: this
- }, "+")) : null));
- }
- }]);
-
- return TreePickerNodeComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Node_TreePickerNodeComponent.displayName = 'AdslotUiTreePickerNodeComponent';
-Node_TreePickerNodeComponent.propTypes = {
- disabled: prop_types_default.a.bool,
- expandNode: prop_types_default.a.func,
- includeNode: prop_types_default.a.func,
- itemType: prop_types_default.a.string.isRequired,
- node: TreePickerPropTypes.node.isRequired,
- nodeRenderer: prop_types_default.a.func,
- removeNode: prop_types_default.a.func,
- selected: prop_types_default.a.bool,
- valueFormatter: prop_types_default.a.func
-};
-Node_TreePickerNodeComponent.defaultProps = {
- disabled: false,
- includeNode: function includeNode(node) {
- throw new Error("AdslotUi TreePickerNode needs an includeNode handler for ".concat(node));
- },
- removeNode: function removeNode(node) {
- throw new Error("AdslotUi TreePickerNode needs a removeNode handler for ".concat(node));
- },
- selected: false,
- valueFormatter: function valueFormatter(value) {
- return value;
- },
- nodeRenderer: function nodeRenderer(node) {
- return node.label;
- }
-};
-/* harmony default export */ var TreePicker_Node = (Node_TreePickerNodeComponent);
-// CONCATENATED MODULE: ./components/adslot-ui/TreePicker/Grid/index.jsx
-var TreePicker_Grid__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/TreePicker/Grid/index.jsx";
-
-
-
-
-
-
-
-
-
-
-
-
-__webpack_require__(297);
-
-var TreePickerNodeFast = adslot_ui_fastStatelessWrapper(TreePicker_Node, ['node.id', 'disabled', 'selected']);
-
-var Grid_TreePickerGridComponent = function TreePickerGridComponent(_ref) {
- var disabled = _ref.disabled,
- emptySvgSymbol = _ref.emptySvgSymbol,
- expandNode = _ref.expandNode,
- groupFormatter = _ref.groupFormatter,
- hideIcon = _ref.hideIcon,
- includeNode = _ref.includeNode,
- itemType = _ref.itemType,
- isLoading = _ref.isLoading,
- nodes = _ref.nodes,
- nodeRenderer = _ref.nodeRenderer,
- removeNode = _ref.removeNode,
- selected = _ref.selected,
- valueFormatter = _ref.valueFormatter,
- emptyText = _ref.emptyText,
- displayGroupHeader = _ref.displayGroupHeader;
-
- var nodesByGroupLabel = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.groupBy(nodes, groupFormatter);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Grid, {
- __source: {
- fileName: TreePicker_Grid__jsxFileName,
- lineNumber: 36
- },
- __self: this
- }, isLoading ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "loading-nodes-container",
- __source: {
- fileName: TreePicker_Grid__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Spinner, {
- __source: {
- fileName: TreePicker_Grid__jsxFileName,
- lineNumber: 39
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: TreePicker_Grid__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }, "Loading\u2026")) : external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(nodesByGroupLabel, function (groupedNodes, label) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "treepickergrid-component-group",
- key: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(label),
- __source: {
- fileName: TreePicker_Grid__jsxFileName,
- lineNumber: 44
- },
- __self: this
- }, displayGroupHeader ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "treepickergrid-component-group-label",
- __source: {
- fileName: TreePicker_Grid__jsxFileName,
- lineNumber: 46
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Row, {
- dts: "group-label-".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(label)),
- __source: {
- fileName: TreePicker_Grid__jsxFileName,
- lineNumber: 47
- },
- __self: this
- }, label)) : null, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(groupedNodes, function (node) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TreePickerNodeFast, Object.assign({
- key: node.id
- }, {
- disabled: disabled,
- expandNode: expandNode,
- includeNode: includeNode,
- itemType: itemType,
- node: node,
- nodeRenderer: nodeRenderer,
- removeNode: removeNode,
- selected: selected,
- valueFormatter: valueFormatter
- }, {
- __source: {
- fileName: TreePicker_Grid__jsxFileName,
- lineNumber: 51
- },
- __self: this
- }));
- }));
- }), nodes && !isLoading ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Empty, {
- collection: nodes,
- hideIcon: hideIcon,
- svgSymbol: emptySvgSymbol,
- text: emptyText,
- __source: {
- fileName: TreePicker_Grid__jsxFileName,
- lineNumber: 70
- },
- __self: this
- }) : null);
-};
-
-Grid_TreePickerGridComponent.displayName = 'AdslotUiTreePickerGridComponent';
-Grid_TreePickerGridComponent.propTypes = {
- disabled: prop_types_default.a.bool,
- emptySvgSymbol: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- emptyText: prop_types_default.a.node.isRequired,
- expandNode: prop_types_default.a.func,
- groupFormatter: prop_types_default.a.func,
- hideIcon: prop_types_default.a.bool,
- includeNode: prop_types_default.a.func,
- itemType: prop_types_default.a.string.isRequired,
- isLoading: prop_types_default.a.bool,
- nodes: prop_types_default.a.arrayOf(TreePickerPropTypes.node),
- nodeRenderer: prop_types_default.a.func,
- removeNode: prop_types_default.a.func,
- selected: prop_types_default.a.bool.isRequired,
- valueFormatter: prop_types_default.a.func,
- displayGroupHeader: prop_types_default.a.bool
-};
-Grid_TreePickerGridComponent.defaultProps = {
- disabled: false,
- displayGroupHeader: true,
- groupFormatter: function groupFormatter() {
- return 'Default Group';
- },
- hideIcon: false,
- isLoading: false
-};
-/* harmony default export */ var TreePicker_Grid = (Grid_TreePickerGridComponent);
-// CONCATENATED MODULE: ./components/adslot-ui/TreePicker/Nav/index.jsx
-var Nav__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/TreePicker/Nav/index.jsx";
-
-
-
-
-
-
-
-__webpack_require__(298);
-
-var Nav_TreePickerNavComponent = function TreePickerNavComponent(_ref) {
- var breadcrumbNodes = _ref.breadcrumbNodes,
- breadcrumbOnClick = _ref.breadcrumbOnClick,
- debounceInterval = _ref.debounceInterval,
- disabled = _ref.disabled,
- isLoading = _ref.isLoading,
- onClear = _ref.onClear,
- onChange = _ref.onChange,
- onSearch = _ref.onSearch,
- searchOnChange = _ref.searchOnChange,
- searchOnEnterKey = _ref.searchOnEnterKey,
- searchValue = _ref.searchValue,
- svgSymbolCancel = _ref.svgSymbolCancel,
- svgSymbolSearch = _ref.svgSymbolSearch;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "treepickernav-component ".concat(disabled ? 'disabled' : ''),
- "data-test-selector": "treepicker-nav-search",
- __source: {
- fileName: Nav__jsxFileName,
- lineNumber: 25
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(adslot_ui_Search, {
- disabled: disabled,
- debounceInterval: debounceInterval,
- isLoading: isLoading,
- onClear: onClear,
- onChange: onChange,
- onSearch: onSearch,
- searchOnChange: searchOnChange,
- searchOnEnterKey: searchOnEnterKey,
- svgSymbolCancel: svgSymbolCancel,
- svgSymbolSearch: svgSymbolSearch,
- value: searchValue,
- __source: {
- fileName: Nav__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Breadcrumb, {
- disabled: disabled,
- nodes: breadcrumbNodes,
- onClick: breadcrumbOnClick,
- __source: {
- fileName: Nav__jsxFileName,
- lineNumber: 39
- },
- __self: this
- }));
-};
-
-Nav_TreePickerNavComponent.displayName = 'AdslotUiTreePickerNavComponent';
-Nav_TreePickerNavComponent.propTypes = {
- breadcrumbNodes: prop_types_default.a.arrayOf(TreePickerPropTypes.breadCrumbNode),
- breadcrumbOnClick: prop_types_default.a.func,
- disabled: prop_types_default.a.bool,
- isLoading: prop_types_default.a.bool,
- onChange: prop_types_default.a.func,
- onClear: prop_types_default.a.func,
- onSearch: prop_types_default.a.func,
- debounceInterval: prop_types_default.a.number,
- searchOnChange: prop_types_default.a.bool,
- searchOnEnterKey: prop_types_default.a.bool,
- searchValue: prop_types_default.a.string,
- svgSymbolCancel: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- svgSymbolSearch: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes)
-};
-Nav_TreePickerNavComponent.defaultProps = {
- debounceInterval: 0,
- disabled: false,
- isLoading: false,
- searchOnChange: true,
- searchOnEnterKey: false
-};
-/* harmony default export */ var Nav = (Nav_TreePickerNavComponent);
-// CONCATENATED MODULE: ./components/adslot-ui/TreePicker/index.jsx
-var TreePicker__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/TreePicker/index.jsx";
-
-
-
-
-
-
-
-
-
-
-__webpack_require__(299);
-
-var TreePicker_removeSelected = function removeSelected(_ref) {
- var subtree = _ref.subtree,
- selectedNodes = _ref.selectedNodes;
- if (!subtree) return subtree;
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.reject(subtree, function (_ref2) {
- var id = _ref2.id;
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.some(selectedNodes, {
- id: id
- });
- });
-};
-
-var TreePicker_TreePickerSimplePureComponent = function TreePickerSimplePureComponent(_ref3) {
- var additionalClassNames = _ref3.additionalClassNames,
- breadcrumbNodes = _ref3.breadcrumbNodes,
- breadcrumbOnClick = _ref3.breadcrumbOnClick,
- debounceInterval = _ref3.debounceInterval,
- disabled = _ref3.disabled,
- disableInclude = _ref3.disableInclude,
- emptySvgSymbol = _ref3.emptySvgSymbol,
- emptySelectedListSvgSymbol = _ref3.emptySelectedListSvgSymbol,
- emptyText = _ref3.emptyText,
- emptySelectedListText = _ref3.emptySelectedListText,
- expandNode = _ref3.expandNode,
- groupFormatter = _ref3.groupFormatter,
- hideIcon = _ref3.hideIcon,
- includeNode = _ref3.includeNode,
- initialStateNode = _ref3.initialStateNode,
- initialStateSymbol = _ref3.initialStateSymbol,
- isLoading = _ref3.isLoading,
- itemType = _ref3.itemType,
- nodeRenderer = _ref3.nodeRenderer,
- removeNode = _ref3.removeNode,
- onChange = _ref3.onChange,
- onClear = _ref3.onClear,
- onSearch = _ref3.onSearch,
- searchOnChange = _ref3.searchOnChange,
- searchOnEnterKey = _ref3.searchOnEnterKey,
- searchPlaceholder = _ref3.searchPlaceholder,
- searchValue = _ref3.searchValue,
- selectedNodes = _ref3.selectedNodes,
- subtree = _ref3.subtree,
- svgSymbolCancel = _ref3.svgSymbolCancel,
- svgSymbolSearch = _ref3.svgSymbolSearch,
- displayGroupHeader = _ref3.displayGroupHeader,
- hideSearchOnRoot = _ref3.hideSearchOnRoot;
- var selectableNodes = TreePicker_removeSelected({
- subtree: subtree,
- selectedNodes: selectedNodes
- });
- var searchTextNode = emptyText || 'No items to select.';
- searchTextNode = initialStateNode && external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(searchValue) ? initialStateNode : searchTextNode;
- var emptySymbol = initialStateSymbol && external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(searchValue) ? initialStateSymbol : emptySvgSymbol;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "treepickersimplepure-component ".concat(disabled ? 'disabled' : ''),
- __source: {
- fileName: TreePicker__jsxFileName,
- lineNumber: 60
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SplitPane, {
- additionalClassNames: additionalClassNames,
- dts: "treepicker-splitpane-available-".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(itemType)),
- __source: {
- fileName: TreePicker__jsxFileName,
- lineNumber: 61
- },
- __self: this
- }, hideSearchOnRoot && external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(breadcrumbNodes) ? null : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Nav, Object.assign({
- breadcrumbNodes: breadcrumbNodes,
- breadcrumbOnClick: breadcrumbOnClick,
- debounceInterval: debounceInterval,
- disabled: disabled,
- isLoading: isLoading,
- onClear: onClear,
- onChange: onChange,
- onSearch: onSearch,
- searchOnChange: searchOnChange,
- searchOnEnterKey: searchOnEnterKey,
- searchPlaceholder: searchPlaceholder,
- searchValue: searchValue,
- svgSymbolCancel: svgSymbolCancel,
- svgSymbolSearch: svgSymbolSearch
- }, {
- __source: {
- fileName: TreePicker__jsxFileName,
- lineNumber: 66
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TreePicker_Grid, Object.assign({
- disabled: disabled || disableInclude,
- emptySvgSymbol: emptySymbol,
- emptyText: searchTextNode,
- expandNode: expandNode,
- groupFormatter: groupFormatter,
- includeNode: includeNode,
- isLoading: isLoading,
- itemType: itemType,
- nodes: selectableNodes,
- nodeRenderer: nodeRenderer,
- selected: false,
- displayGroupHeader: displayGroupHeader
- }, {
- __source: {
- fileName: TreePicker__jsxFileName,
- lineNumber: 86
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_FlexibleSpacer, {
- __source: {
- fileName: TreePicker__jsxFileName,
- lineNumber: 102
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SplitPane, {
- dts: "treepicker-splitpane-selected-".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(itemType)),
- __source: {
- fileName: TreePicker__jsxFileName,
- lineNumber: 105
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TreePicker_Grid, Object.assign({
- disabled: disabled,
- emptySvgSymbol: emptySelectedListSvgSymbol || emptySvgSymbol,
- emptyText: emptySelectedListText || 'Nothing selected.',
- hideIcon: hideIcon,
- itemType: itemType,
- nodes: selectedNodes,
- nodeRenderer: nodeRenderer,
- removeNode: removeNode,
- selected: true,
- displayGroupHeader: displayGroupHeader
- }, {
- __source: {
- fileName: TreePicker__jsxFileName,
- lineNumber: 106
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_FlexibleSpacer, {
- __source: {
- fileName: TreePicker__jsxFileName,
- lineNumber: 120
- },
- __self: this
- })));
-};
-
-TreePicker_TreePickerSimplePureComponent.displayName = 'AdslotUiTreePickerSimplePureComponent';
-TreePicker_TreePickerSimplePureComponent.propTypes = {
- additionalClassNames: prop_types_default.a.arrayOf(prop_types_default.a.string),
- breadcrumbNodes: prop_types_default.a.arrayOf(TreePickerPropTypes.breadCrumbNode.isRequired),
- breadcrumbOnClick: prop_types_default.a.func,
- debounceInterval: prop_types_default.a.number,
- disabled: prop_types_default.a.bool,
- disableInclude: prop_types_default.a.bool,
- emptySvgSymbol: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- emptySelectedListSvgSymbol: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- emptyText: prop_types_default.a.node,
- emptySelectedListText: prop_types_default.a.node,
- expandNode: prop_types_default.a.func,
- groupFormatter: prop_types_default.a.func,
- hideIcon: prop_types_default.a.bool,
- includeNode: prop_types_default.a.func,
- initialStateNode: prop_types_default.a.node,
- initialStateSymbol: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- itemType: prop_types_default.a.string,
- isLoading: prop_types_default.a.bool,
- nodeRenderer: prop_types_default.a.func,
- removeNode: prop_types_default.a.func,
- onChange: prop_types_default.a.func,
- onClear: prop_types_default.a.func,
- onSearch: prop_types_default.a.func,
- searchOnChange: prop_types_default.a.bool,
- searchOnEnterKey: prop_types_default.a.bool,
- searchPlaceholder: prop_types_default.a.string,
- searchValue: prop_types_default.a.string,
- selectedNodes: prop_types_default.a.arrayOf(TreePickerPropTypes.node.isRequired).isRequired,
- subtree: prop_types_default.a.arrayOf(TreePickerPropTypes.node.isRequired),
- svgSymbolCancel: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- svgSymbolSearch: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- displayGroupHeader: prop_types_default.a.bool,
- hideSearchOnRoot: prop_types_default.a.bool
-};
-TreePicker_TreePickerSimplePureComponent.defaultProps = {
- itemType: 'node',
- debounceInterval: 0,
- disabled: false,
- displayGroupHeader: true,
- isLoading: false,
- searchOnChange: true,
- searchOnEnterKey: false,
- hideSearchOnRoot: false
-};
-/* harmony default export */ var TreePicker = (TreePicker_TreePickerSimplePureComponent);
-// CONCATENATED MODULE: ./components/adslot-ui/UserListPicker/index.jsx
-var UserListPicker__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/UserListPicker/index.jsx";
-
-
-
-
-
-
-
-__webpack_require__(300);
-
-var UserListPicker_UserListPickerComponent = function UserListPickerComponent(_ref) {
- var allowEmptySelection = _ref.allowEmptySelection,
- avatarColor = _ref.avatarColor,
- emptyIcon = _ref.emptyIcon,
- emptyMessage = _ref.emptyMessage,
- emptySvgSymbol = _ref.emptySvgSymbol,
- initialSelection = _ref.initialSelection,
- modalApply = _ref.modalApply,
- modalClose = _ref.modalClose,
- modalDescription = _ref.modalDescription,
- modalTitle = _ref.modalTitle,
- show = _ref.show,
- userHeaders = _ref.userHeaders,
- users = _ref.users;
-
- var labelFormatter = function labelFormatter(user) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "userlistpicker-component-user-label",
- __source: {
- fileName: UserListPicker__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Avatar, {
- image: user.avatar,
- color: avatarColor(user),
- givenName: user.givenName,
- surname: user.surname,
- __source: {
- fileName: UserListPicker__jsxFileName,
- lineNumber: 27
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: UserListPicker__jsxFileName,
- lineNumber: 28
- },
- __self: this
- }, "".concat(user.givenName, " ").concat(user.surname)));
- };
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(ListPicker, {
- allowEmptySelection: allowEmptySelection,
- emptyIcon: emptyIcon,
- emptyMessage: emptyMessage,
- emptySvgSymbol: emptySvgSymbol,
- initialSelection: initialSelection,
- itemHeaders: userHeaders,
- items: users,
- itemType: "user",
- labelFormatter: labelFormatter,
- modalApply: modalApply,
- modalClassName: "userlistpicker-component",
- modalClose: modalClose,
- modalDescription: modalDescription,
- modalTitle: modalTitle,
- show: show,
- __source: {
- fileName: UserListPicker__jsxFileName,
- lineNumber: 33
- },
- __self: this
- });
-};
-
-UserListPicker_UserListPickerComponent.displayName = 'AdslotUiListPickerComponent';
-var userType = prop_types_default.a.shape({
- avatar: prop_types_default.a.string,
- givenName: prop_types_default.a.string,
- id: prop_types_default.a.number.isRequired,
- surname: prop_types_default.a.string
-});
-UserListPicker_UserListPickerComponent.propTypes = {
- allowEmptySelection: prop_types_default.a.bool,
- avatarColor: prop_types_default.a.func,
- emptyIcon: prop_types_default.a.string,
- emptyMessage: prop_types_default.a.string,
- emptySvgSymbol: prop_types_default.a.shape(alexandria_SvgSymbol.propTypes),
- initialSelection: prop_types_default.a.arrayOf(userType),
- modalApply: prop_types_default.a.func,
- modalDescription: prop_types_default.a.string,
- modalClose: prop_types_default.a.func,
- modalTitle: prop_types_default.a.string,
- show: prop_types_default.a.bool,
- userHeaders: prop_types_default.a.shape({
- label: prop_types_default.a.string,
- toggle: prop_types_default.a.string
- }),
- users: prop_types_default.a.arrayOf(userType)
-};
-UserListPicker_UserListPickerComponent.defaultProps = {
- allowEmptySelection: false,
- avatarColor: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.noop,
- emptyMessage: 'No users.',
- initialSelection: [],
- modalApply: function modalApply() {
- throw new Error('AdslotUi UserListPicker needs a modalApply handler');
- },
- modalClose: function modalClose() {
- throw new Error('AdslotUi UserListPicker needs a modalClose handler');
- },
- modalDescription: 'Select users.',
- modalTitle: 'Select Users',
- show: false,
- userHeaders: {
- label: 'Team',
- toggle: 'Member'
- },
- users: []
-};
-/* harmony default export */ var UserListPicker = (UserListPicker_UserListPickerComponent);
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/index.js + 72 modules
-var react_bootstrap_es = __webpack_require__(100);
-
-// EXTERNAL MODULE: ./components/adslot-ui/HoverDropdownMenu/PopoverLinkItem/styles.scss
-var PopoverLinkItem_styles = __webpack_require__(313);
-var PopoverLinkItem_styles_default = /*#__PURE__*/__webpack_require__.n(PopoverLinkItem_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/HoverDropdownMenu/PopoverLinkItem/index.jsx
-var PopoverLinkItem__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/HoverDropdownMenu/PopoverLinkItem/index.jsx";
-
-function PopoverLinkItem__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { PopoverLinkItem__typeof = function _typeof(obj) { return typeof obj; }; } else { PopoverLinkItem__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return PopoverLinkItem__typeof(obj); }
-
-function PopoverLinkItem__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function PopoverLinkItem__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 PopoverLinkItem__createClass(Constructor, protoProps, staticProps) { if (protoProps) PopoverLinkItem__defineProperties(Constructor.prototype, protoProps); if (staticProps) PopoverLinkItem__defineProperties(Constructor, staticProps); return Constructor; }
-
-function PopoverLinkItem__possibleConstructorReturn(self, call) { if (call && (PopoverLinkItem__typeof(call) === "object" || typeof call === "function")) { return call; } return PopoverLinkItem__assertThisInitialized(self); }
-
-function PopoverLinkItem__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function PopoverLinkItem__getPrototypeOf(o) { PopoverLinkItem__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return PopoverLinkItem__getPrototypeOf(o); }
-
-function PopoverLinkItem__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) PopoverLinkItem__setPrototypeOf(subClass, superClass); }
-
-function PopoverLinkItem__setPrototypeOf(o, p) { PopoverLinkItem__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return PopoverLinkItem__setPrototypeOf(o, p); }
-
-
-
-
-
-
-
-var PopoverLinkItem_PopoverLinkItemComponent =
-/*#__PURE__*/
-function (_React$PureComponent) {
- PopoverLinkItem__inherits(PopoverLinkItemComponent, _React$PureComponent);
-
- function PopoverLinkItemComponent() {
- PopoverLinkItem__classCallCheck(this, PopoverLinkItemComponent);
-
- return PopoverLinkItem__possibleConstructorReturn(this, PopoverLinkItem__getPrototypeOf(PopoverLinkItemComponent).apply(this, arguments));
- }
-
- PopoverLinkItem__createClass(PopoverLinkItemComponent, [{
- key: "render",
- value: function render() {
- // eslint-disable-next-line react/prop-types
- var _this$props = this.props,
- target = _this$props.target,
- title = _this$props.title,
- url = _this$props.url,
- isEnabled = _this$props.isEnabled,
- onClick = _this$props.onClick;
- var buttonProps = {
- disabled: !isEnabled,
- onClick: onClick,
- bsStyle: 'link'
- };
-
- if (target !== '_modal') {
- external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.assign(buttonProps, {
- href: url
- });
- }
-
- if (target === '_blank') {
- external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.assign(buttonProps, {
- rel: 'noopener noreferrer'
- });
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- className: "popover-link-item",
- __source: {
- fileName: PopoverLinkItem__jsxFileName,
- lineNumber: 27
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(react_bootstrap_es["a" /* Button */], Object.assign({}, buttonProps, {
- __source: {
- fileName: PopoverLinkItem__jsxFileName,
- lineNumber: 28
- },
- __self: this
- }), title));
- }
- }]);
-
- return PopoverLinkItemComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var LINK_PROPS = {
- target: prop_types_default.a.oneOf(['_blank', '_self', '_modal']),
- title: prop_types_default.a.string.isRequired,
- url: prop_types_default.a.string,
- isEnabled: prop_types_default.a.bool
-};
-PopoverLinkItem_PopoverLinkItemComponent.propTypes = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.assign({
- onClick: prop_types_default.a.func
-}, LINK_PROPS);
-PopoverLinkItem_PopoverLinkItemComponent.defaultProps = {
- target: '_self',
- isEnabled: true,
- onClick: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.noop
-};
-/* harmony default export */ var PopoverLinkItem = (PopoverLinkItem_PopoverLinkItemComponent);
-// EXTERNAL MODULE: ./components/adslot-ui/HoverDropdownMenu/styles.scss
-var HoverDropdownMenu_styles = __webpack_require__(314);
-var HoverDropdownMenu_styles_default = /*#__PURE__*/__webpack_require__.n(HoverDropdownMenu_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/HoverDropdownMenu/index.jsx
-var HoverDropdownMenu__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/HoverDropdownMenu/index.jsx";
-
-function HoverDropdownMenu__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { HoverDropdownMenu__typeof = function _typeof(obj) { return typeof obj; }; } else { HoverDropdownMenu__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return HoverDropdownMenu__typeof(obj); }
-
-function HoverDropdownMenu__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function HoverDropdownMenu__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 HoverDropdownMenu__createClass(Constructor, protoProps, staticProps) { if (protoProps) HoverDropdownMenu__defineProperties(Constructor.prototype, protoProps); if (staticProps) HoverDropdownMenu__defineProperties(Constructor, staticProps); return Constructor; }
-
-function HoverDropdownMenu__possibleConstructorReturn(self, call) { if (call && (HoverDropdownMenu__typeof(call) === "object" || typeof call === "function")) { return call; } return HoverDropdownMenu__assertThisInitialized(self); }
-
-function HoverDropdownMenu__getPrototypeOf(o) { HoverDropdownMenu__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return HoverDropdownMenu__getPrototypeOf(o); }
-
-function HoverDropdownMenu__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) HoverDropdownMenu__setPrototypeOf(subClass, superClass); }
-
-function HoverDropdownMenu__setPrototypeOf(o, p) { HoverDropdownMenu__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return HoverDropdownMenu__setPrototypeOf(o, p); }
-
-function HoverDropdownMenu__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function HoverDropdownMenu__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; }
-
-
-
-
-
-
-
-var HoverDropdownMenu_HoverDropdownMenuComponent =
-/*#__PURE__*/
-function (_React$PureComponent) {
- HoverDropdownMenu__inherits(HoverDropdownMenuComponent, _React$PureComponent);
-
- function HoverDropdownMenuComponent(props) {
- var _this;
-
- HoverDropdownMenu__classCallCheck(this, HoverDropdownMenuComponent);
-
- _this = HoverDropdownMenu__possibleConstructorReturn(this, HoverDropdownMenu__getPrototypeOf(HoverDropdownMenuComponent).call(this, props));
-
- HoverDropdownMenu__defineProperty(HoverDropdownMenu__assertThisInitialized(HoverDropdownMenu__assertThisInitialized(_this)), "state", {
- isOpen: true,
- mouseInPopover: false
- });
-
- HoverDropdownMenu__defineProperty(HoverDropdownMenu__assertThisInitialized(HoverDropdownMenu__assertThisInitialized(_this)), "openMenu", function () {
- _this.setState({
- isOpen: true,
- mouseInPopover: false
- });
- });
-
- HoverDropdownMenu__defineProperty(HoverDropdownMenu__assertThisInitialized(HoverDropdownMenu__assertThisInitialized(_this)), "popoverEnterHandler", function () {
- _this.setState({
- mouseInPopover: true
- });
- });
-
- HoverDropdownMenu__defineProperty(HoverDropdownMenu__assertThisInitialized(HoverDropdownMenu__assertThisInitialized(_this)), "popoverLeaveHandler", function () {
- _this.setState({
- mouseInPopover: false
- }, _this.closeMenu);
- });
-
- HoverDropdownMenu__defineProperty(HoverDropdownMenu__assertThisInitialized(HoverDropdownMenu__assertThisInitialized(_this)), "innerRefFunc", function (node) {
- _this.popperNode = node;
- });
-
- _this.popperNode = null;
- _this.closeMenu = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.debounce(function () {
- if (!_this.state.mouseInPopover) {
- _this.setState({
- isOpen: false
- });
- }
- }, 100);
- return _this;
- }
-
- HoverDropdownMenu__createClass(HoverDropdownMenuComponent, [{
- key: "componentDidUpdate",
- value: function componentDidUpdate() {
- if (this.popperNode) {
- this.popperNode.addEventListener('mouseenter', this.popoverEnterHandler);
- this.popperNode.addEventListener('mouseleave', this.popoverLeaveHandler);
- }
- }
- }, {
- key: "render",
- value: function render() {
- var _this$props = this.props,
- arrowPosition = _this$props.arrowPosition,
- headerText = _this$props.headerText,
- hoverComponent = _this$props.hoverComponent,
- children = _this$props.children;
- var element = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- onMouseEnter: this.openMenu,
- onMouseLeave: this.closeMenu,
- __source: {
- fileName: HoverDropdownMenu__jsxFileName,
- lineNumber: 72
- },
- __self: this
- }, hoverComponent);
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "hover-dropdown",
- __source: {
- fileName: HoverDropdownMenu__jsxFileName,
- lineNumber: 78
- },
- __self: this
- }, children && children.length > 0 ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(third_party_Popover, {
- placement: "bottom-".concat(arrowPosition === 'left' ? 'start' : 'end'),
- triggers: ['disabled'],
- isOpen: this.state.isOpen,
- title: headerText,
- popoverContent: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("ul", {
- className: "list-unstyled",
- __source: {
- fileName: HoverDropdownMenu__jsxFileName,
- lineNumber: 85
- },
- __self: this
- }, children),
- onMouseEnter: this.openMenu,
- popperRef: this.innerRefFunc,
- __source: {
- fileName: HoverDropdownMenu__jsxFileName,
- lineNumber: 80
- },
- __self: this
- }, element) : null);
- }
- }]);
-
- return HoverDropdownMenuComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-HoverDropdownMenu__defineProperty(HoverDropdownMenu_HoverDropdownMenuComponent, "propTypes", {
- arrowPosition: prop_types_default.a.oneOf(['left', 'right']),
- headerText: prop_types_default.a.string,
- hoverComponent: prop_types_default.a.element.isRequired,
- children: prop_types_default.a.node
-});
-
-HoverDropdownMenu__defineProperty(HoverDropdownMenu_HoverDropdownMenuComponent, "defaultProps", {
- arrowPosition: 'left',
- headerText: ''
-});
-
-HoverDropdownMenu_HoverDropdownMenuComponent.Item = PopoverLinkItem;
-/* harmony default export */ var HoverDropdownMenu = (HoverDropdownMenu_HoverDropdownMenuComponent);
-// CONCATENATED MODULE: ./components/adslot-ui/InformationBox/index.jsx
-var InformationBox__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/InformationBox/index.jsx";
-
-
-
-
-__webpack_require__(315);
-
-var InformationBox_InformationBox = function InformationBox(_ref) {
- var children = _ref.children,
- icon = _ref.icon,
- title = _ref.title,
- className = _ref.className;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "information-box".concat(className ? " ".concat(className) : ''),
- __source: {
- fileName: InformationBox__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }, icon ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "information-box-icon",
- __source: {
- fileName: InformationBox__jsxFileName,
- lineNumber: 10
- },
- __self: this
- }, ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_SvgSymbol, {
- classSuffixes: ['70'],
- href: icon,
- __source: {
- fileName: InformationBox__jsxFileName,
- lineNumber: 12
- },
- __self: this
- })) : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "information-box-text",
- __source: {
- fileName: InformationBox__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, title ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- className: "information-box-title",
- __source: {
- fileName: InformationBox__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, title) : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "information-box-node",
- __source: {
- fileName: InformationBox__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, children)));
-};
-
-InformationBox_InformationBox.propTypes = {
- children: prop_types_default.a.node,
- className: prop_types_default.a.string,
- title: prop_types_default.a.string,
- icon: prop_types_default.a.string
-};
-/* harmony default export */ var adslot_ui_InformationBox = (InformationBox_InformationBox);
-// EXTERNAL MODULE: ./components/adslot-ui/Navigation/styles.scss
-var Navigation_styles = __webpack_require__(316);
-var Navigation_styles_default = /*#__PURE__*/__webpack_require__.n(Navigation_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/Navigation/index.jsx
-var Navigation__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/Navigation/index.jsx";
-
-function Navigation__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Navigation__typeof = function _typeof(obj) { return typeof obj; }; } else { Navigation__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Navigation__typeof(obj); }
-
-function Navigation__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Navigation__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 Navigation__createClass(Constructor, protoProps, staticProps) { if (protoProps) Navigation__defineProperties(Constructor.prototype, protoProps); if (staticProps) Navigation__defineProperties(Constructor, staticProps); return Constructor; }
-
-function Navigation__possibleConstructorReturn(self, call) { if (call && (Navigation__typeof(call) === "object" || typeof call === "function")) { return call; } return Navigation__assertThisInitialized(self); }
-
-function Navigation__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function Navigation__getPrototypeOf(o) { Navigation__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Navigation__getPrototypeOf(o); }
-
-function Navigation__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) Navigation__setPrototypeOf(subClass, superClass); }
-
-function Navigation__setPrototypeOf(o, p) { Navigation__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Navigation__setPrototypeOf(o, p); }
-
-/* eslint-disable react/prop-types */
-
-
-
-
-
-
-
-var Navigation_NavigationComponent =
-/*#__PURE__*/
-function (_React$PureComponent) {
- Navigation__inherits(NavigationComponent, _React$PureComponent);
-
- function NavigationComponent() {
- Navigation__classCallCheck(this, NavigationComponent);
-
- return Navigation__possibleConstructorReturn(this, Navigation__getPrototypeOf(NavigationComponent).apply(this, arguments));
- }
-
- Navigation__createClass(NavigationComponent, [{
- key: "render",
- value: function render() {
- var _this$props = this.props,
- barPosition = _this$props.barPosition,
- children = _this$props.children,
- dts = _this$props.dts;
- var classes = "".concat(barPosition, "-bar");
-
- var navProps = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.omit(this.props, ['barPosition']);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(react_bootstrap_es["b" /* Nav */], Object.assign({}, navProps, Object(utils["b" /* expandDts */])(dts), {
- bsClass: "nav-borderless",
- className: classes,
- __source: {
- fileName: Navigation__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }), children);
- }
- }]);
-
- return NavigationComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-Navigation_NavigationComponent.propTypes = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.assign({}, react_bootstrap_es["b" /* Nav */].propTypes, {
- barPosition: prop_types_default.a.oneOf(['top', 'bottom']),
- dts: prop_types_default.a.string
-});
-Navigation_NavigationComponent.defaultProps = {
- barPosition: 'bottom'
-};
-/* harmony default export */ var Navigation = (Navigation_NavigationComponent);
-// EXTERNAL MODULE: ./components/adslot-ui/OverlayLoader/styles.scss
-var OverlayLoader_styles = __webpack_require__(317);
-var OverlayLoader_styles_default = /*#__PURE__*/__webpack_require__.n(OverlayLoader_styles);
-
-// CONCATENATED MODULE: ./components/adslot-ui/OverlayLoader/index.jsx
-var OverlayLoader__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/OverlayLoader/index.jsx";
-
- // import ReactDOM from 'react-dom';
-
-
-
-
-var OverlayLoader_OverlayLoader = function OverlayLoader(_ref) {
- var text = _ref.text,
- top = _ref.top,
- heading = _ref.heading,
- disableBackground = _ref.disableBackground;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", Object.assign({
- className: "aui--overlay-loader ".concat(disableBackground ? 'aui--overlay-loader-disabled' : '')
- }, disableBackground ? {
- onClick: function onClick(event) {
- return event.stopPropagation();
- }
- } : {}, {
- __source: {
- fileName: OverlayLoader__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "loader",
- style: {
- top: top
- },
- __source: {
- fileName: OverlayLoader__jsxFileName,
- lineNumber: 12
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(alexandria_Spinner, {
- size: "medium",
- __source: {
- fileName: OverlayLoader__jsxFileName,
- lineNumber: 13
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "loader-heading",
- __source: {
- fileName: OverlayLoader__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, heading), text && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "loader-text",
- __source: {
- fileName: OverlayLoader__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, text)));
-};
-
-OverlayLoader_OverlayLoader.defaultProps = {
- heading: 'Loading',
- top: 320,
- disableBackground: false
-};
-OverlayLoader_OverlayLoader.propTypes = {
- heading: prop_types_default.a.string,
- text: prop_types_default.a.string,
- top: prop_types_default.a.number,
- disableBackground: prop_types_default.a.bool
-};
-/* harmony default export */ var adslot_ui_OverlayLoader = (OverlayLoader_OverlayLoader);
-// CONCATENATED MODULE: ./components/adslot-ui/index.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-// CONCATENATED MODULE: ./index.js
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Accordion", function() { return adslot_ui_Accordion; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Alert", function() { return alexandria_Alert; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "AlertInput", function() { return AlertInput_AlertInput; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Avatar", function() { return alexandria_Avatar; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "BorderedWell", function() { return alexandria_BorderedWell; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Breadcrumb", function() { return alexandria_Breadcrumb; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Button", function() { return third_party_Button; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "ButtonGroup", function() { return adslot_ui_ButtonGroup; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Card", function() { return alexandria_Card; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Carousel", function() { return adslot_ui_Carousel; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Checkbox", function() { return Checkbox["a" /* default */]; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "CheckboxGroup", function() { return adslot_ui_CheckboxGroup; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "ConfirmModal", function() { return ConfirmModal; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "CountBadge", function() { return adslot_ui_CountBadge; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Dropdown", function() { return Dropdown_default.a; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "DatePicker", function() { return es; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Empty", function() { return alexandria_Empty; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "fastStatelessWrapper", function() { return adslot_ui_fastStatelessWrapper; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "FilePicker", function() { return FilePicker; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "FlexibleSpacer", function() { return alexandria_FlexibleSpacer; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "FormGroup", function() { return FormGroup; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Grid", function() { return alexandria_Grid; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "GridCell", function() { return Cell; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "GridRow", function() { return Row; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "HelpIconPopover", function() { return adslot_ui_HelpIconPopover; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "ListPicker", function() { return ListPicker; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "ListPickerPure", function() { return ListPickerPure; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "MenuItem", function() { return MenuItem_default.a; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Modal", function() { return Modal_default.a; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Nav", function() { return Navigation; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "NavItem", function() { return NavItem_default.a; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "OverlayTrigger", function() { return OverlayTrigger_default.a; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "PagedGrid", function() { return PagedGrid; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "PageTitle", function() { return alexandria_PageTitle; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Pagination", function() { return Pagination_default.a; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Panel", function() { return Panel; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Popover", function() { return third_party_Popover; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "PrettyDiff", function() { return alexandria_PrettyDiff; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "ProgressBar", function() { return ProgressBar_default.a; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Radio", function() { return Radio["a" /* default */]; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "RadioGroup", function() { return RadioGroup["a" /* default */]; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Search", function() { return adslot_ui_Search; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "SearchBar", function() { return SearchBar; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Select", function() { return react_select_es; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Slicey", function() { return alexandria_Slicey; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Spinner", function() { return alexandria_Spinner; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "SplitPane", function() { return SplitPane; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Statistic", function() { return alexandria_Statistic; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "StatusPill", function() { return adslot_ui_StatusPill; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "SvgSymbol", function() { return alexandria_SvgSymbol; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "SvgSymbolCircle", function() { return Circle; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Tab", function() { return adslot_ui_Tab; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Tabs", function() { return adslot_ui_Tabs; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Tag", function() { return alexandria_Tag; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Textarea", function() { return adslot_ui_Textarea; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "TextEllipsis", function() { return TextEllipsis; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "TileGrid", function() { return alexandria_TileGrid; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Totals", function() { return alexandria_Totals; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "TreePickerGrid", function() { return TreePicker_Grid; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "TreePickerNav", function() { return Nav; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "TreePickerNode", function() { return TreePicker_Node; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "TreePickerSimplePure", function() { return TreePicker; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "UserListPicker", function() { return UserListPicker; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "InformationBox", function() { return adslot_ui_InformationBox; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "HoverDropdownMenu", function() { return HoverDropdownMenu; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "OverlayLoader", function() { return adslot_ui_OverlayLoader; });
-// Export the consumable components.
-
- // React Bootstrap
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/***/ }),
-/* 12 */
-/***/ (function(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; };
-
-
-/***/ }),
-/* 13 */
-/***/ (function(module, exports) {
-
-module.exports = __WEBPACK_EXTERNAL_MODULE_13__;
-
-/***/ }),
-/* 14 */
-/***/ (function(module, exports) {
-
-function _interopRequireDefault(obj) {
- return obj && obj.__esModule ? obj : {
- default: obj
- };
-}
-
-module.exports = _interopRequireDefault;
-
-/***/ }),
-/* 15 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/**
- * Safe chained function
- *
- * Will only create a new function if needed,
- * otherwise will pass back existing functions or null.
- *
- * @param {function} functions to chain
- * @returns {function|null}
- */
-function createChainedFunction() {
- for (var _len = arguments.length, funcs = Array(_len), _key = 0; _key < _len; _key++) {
- funcs[_key] = arguments[_key];
- }
-
- return funcs.filter(function (f) {
- return f != null;
- }).reduce(function (acc, f) {
- if (typeof f !== 'function') {
- throw new Error('Invalid Argument Type, must only provide functions, undefined, or null.');
- }
-
- if (acc === null) {
- return f;
- }
-
- return function chainedFunction() {
- for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
- args[_key2] = arguments[_key2];
- }
-
- acc.apply(this, args);
- f.apply(this, args);
- };
- }, null);
-}
-
-/* harmony default export */ __webpack_exports__["a"] = (createChainedFunction);
-
-/***/ }),
-/* 16 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return classSuffixHelper; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return expandDts; });
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash__ = __webpack_require__(9);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash__);
-
-/**
- * Get classNames for a component.
- *
- * @param {Array} {classSuffixes The list of classSuffixes to add classes for.
- * @param {Object} suffixOptions The boolean values to add classes for when true.
- * @param {String} componentClass} The name of the component to add to each suffix.
- * @return {String} the string of classes to use in the component.
- */
-
-var classSuffixHelper = function classSuffixHelper(_ref) {
- var classSuffixes = _ref.classSuffixes,
- suffixOptions = _ref.suffixOptions,
- componentClass = _ref.componentClass;
-
- var internalSuffixes = __WEBPACK_IMPORTED_MODULE_0_lodash___default.a.compact(classSuffixes);
-
- __WEBPACK_IMPORTED_MODULE_0_lodash___default.a.forEach(suffixOptions, function (value, optionName) {
- if (value) internalSuffixes.push(__WEBPACK_IMPORTED_MODULE_0_lodash___default.a.kebabCase(optionName));
- });
-
- if (__WEBPACK_IMPORTED_MODULE_0_lodash___default.a.isEmpty(internalSuffixes)) return '';
- return __WEBPACK_IMPORTED_MODULE_0_lodash___default.a.map(internalSuffixes, function (suffix) {
- return " ".concat(componentClass, "-").concat(suffix);
- }).join('');
-}; // A DTS is an attribute which attaches a selector to a component so E2Es can locate and navigate through the DOM.
-// expandDts converts a string to an object for ES6 expansion as
-
-var expandDts = function expandDts(dtsString) {
- return dtsString ? {
- 'data-test-selector': dtsString
- } : {};
-};
-/* unused harmony default export */ var _unused_webpack_default_export = ({
- classSuffixHelper: classSuffixHelper,
- expandDts: expandDts
-});
-
-/***/ }),
-/* 17 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return Size; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return SIZE_MAP; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DEVICE_SIZES; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return State; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return Style; });
-var Size = {
- LARGE: 'large',
- SMALL: 'small',
- XSMALL: 'xsmall'
-};
-
-var SIZE_MAP = {
- large: 'lg',
- medium: 'md',
- small: 'sm',
- xsmall: 'xs',
- lg: 'lg',
- md: 'md',
- sm: 'sm',
- xs: 'xs'
-};
-
-var DEVICE_SIZES = ['lg', 'md', 'sm', 'xs'];
-
-var State = {
- SUCCESS: 'success',
- WARNING: 'warning',
- DANGER: 'danger',
- INFO: 'info'
-};
-
-var Style = {
- DEFAULT: 'default',
- PRIMARY: 'primary',
- LINK: 'link',
- INVERSE: 'inverse'
-};
-
-/***/ }),
-/* 18 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {
-
-exports.__esModule = true;
-exports._curry = exports.bsSizes = exports.bsStyles = exports.bsClass = undefined;
-
-var _entries = __webpack_require__(57);
-
-var _entries2 = _interopRequireDefault(_entries);
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-exports.prefix = prefix;
-exports.getClassSet = getClassSet;
-exports.splitBsProps = splitBsProps;
-exports.splitBsPropsAndOmit = splitBsPropsAndOmit;
-exports.addStyle = addStyle;
-
-var _invariant = __webpack_require__(48);
-
-var _invariant2 = _interopRequireDefault(_invariant);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _StyleConfig = __webpack_require__(49);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function curry(fn) {
- return function () {
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- var last = args[args.length - 1];
- if (typeof last === 'function') {
- return fn.apply(undefined, args);
- }
- return function (Component) {
- return fn.apply(undefined, args.concat([Component]));
- };
- };
-} // TODO: The publicly exposed parts of this should be in lib/BootstrapUtils.
-
-function prefix(props, variant) {
- !(props.bsClass != null) ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, 'A `bsClass` prop is required for this component') : (0, _invariant2.default)(false) : void 0;
- return props.bsClass + (variant ? '-' + variant : '');
-}
-
-var bsClass = exports.bsClass = curry(function (defaultClass, Component) {
- var propTypes = Component.propTypes || (Component.propTypes = {});
- var defaultProps = Component.defaultProps || (Component.defaultProps = {});
-
- propTypes.bsClass = _propTypes2.default.string;
- defaultProps.bsClass = defaultClass;
-
- return Component;
-});
-
-var bsStyles = exports.bsStyles = curry(function (styles, defaultStyle, Component) {
- if (typeof defaultStyle !== 'string') {
- Component = defaultStyle;
- defaultStyle = undefined;
- }
-
- var existing = Component.STYLES || [];
- var propTypes = Component.propTypes || {};
-
- styles.forEach(function (style) {
- if (existing.indexOf(style) === -1) {
- existing.push(style);
- }
- });
-
- var propType = _propTypes2.default.oneOf(existing);
-
- // expose the values on the propType function for documentation
- Component.STYLES = existing;
- propType._values = existing;
-
- Component.propTypes = (0, _extends3.default)({}, propTypes, {
- bsStyle: propType
- });
-
- if (defaultStyle !== undefined) {
- var defaultProps = Component.defaultProps || (Component.defaultProps = {});
- defaultProps.bsStyle = defaultStyle;
- }
-
- return Component;
-});
-
-var bsSizes = exports.bsSizes = curry(function (sizes, defaultSize, Component) {
- if (typeof defaultSize !== 'string') {
- Component = defaultSize;
- defaultSize = undefined;
- }
-
- var existing = Component.SIZES || [];
- var propTypes = Component.propTypes || {};
-
- sizes.forEach(function (size) {
- if (existing.indexOf(size) === -1) {
- existing.push(size);
- }
- });
-
- var values = [];
- existing.forEach(function (size) {
- var mappedSize = _StyleConfig.SIZE_MAP[size];
- if (mappedSize && mappedSize !== size) {
- values.push(mappedSize);
- }
-
- values.push(size);
- });
-
- var propType = _propTypes2.default.oneOf(values);
- propType._values = values;
-
- // expose the values on the propType function for documentation
- Component.SIZES = existing;
-
- Component.propTypes = (0, _extends3.default)({}, propTypes, {
- bsSize: propType
- });
-
- if (defaultSize !== undefined) {
- if (!Component.defaultProps) {
- Component.defaultProps = {};
- }
- Component.defaultProps.bsSize = defaultSize;
- }
-
- return Component;
-});
-
-function getClassSet(props) {
- var _classes;
-
- var classes = (_classes = {}, _classes[prefix(props)] = true, _classes);
-
- if (props.bsSize) {
- var bsSize = _StyleConfig.SIZE_MAP[props.bsSize] || props.bsSize;
- classes[prefix(props, bsSize)] = true;
- }
-
- if (props.bsStyle) {
- classes[prefix(props, props.bsStyle)] = true;
- }
-
- return classes;
-}
-
-function getBsProps(props) {
- return {
- bsClass: props.bsClass,
- bsSize: props.bsSize,
- bsStyle: props.bsStyle,
- bsRole: props.bsRole
- };
-}
-
-function isBsProp(propName) {
- return propName === 'bsClass' || propName === 'bsSize' || propName === 'bsStyle' || propName === 'bsRole';
-}
-
-function splitBsProps(props) {
- var elementProps = {};
- (0, _entries2.default)(props).forEach(function (_ref) {
- var propName = _ref[0],
- propValue = _ref[1];
-
- if (!isBsProp(propName)) {
- elementProps[propName] = propValue;
- }
- });
-
- return [getBsProps(props), elementProps];
-}
-
-function splitBsPropsAndOmit(props, omittedPropNames) {
- var isOmittedProp = {};
- omittedPropNames.forEach(function (propName) {
- isOmittedProp[propName] = true;
- });
-
- var elementProps = {};
- (0, _entries2.default)(props).forEach(function (_ref2) {
- var propName = _ref2[0],
- propValue = _ref2[1];
-
- if (!isBsProp(propName) && !isOmittedProp[propName]) {
- elementProps[propName] = propValue;
- }
- });
-
- return [getBsProps(props), elementProps];
-}
-
-/**
- * Add a style variant to a Component. Mutates the propTypes of the component
- * in order to validate the new variant.
- */
-function addStyle(Component) {
- for (var _len2 = arguments.length, styleVariant = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
- styleVariant[_key2 - 1] = arguments[_key2];
- }
-
- bsStyles(styleVariant, Component);
-}
-
-var _curry = exports._curry = curry;
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 19 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/**
- * Copyright 2014-2015, Facebook, Inc.
- * All rights reserved.
- *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
- */
-
-
-
-/**
- * Similar to invariant but only logs a warning if the condition is not met.
- * This can be used to log issues in development environments in critical
- * paths. Removing the logging code for production environments will keep the
- * same logic and follow the same code paths.
- */
-
-var warning = function() {};
-
-if (process.env.NODE_ENV !== 'production') {
- warning = function(condition, format, args) {
- var len = arguments.length;
- args = new Array(len > 2 ? len - 2 : 0);
- for (var key = 2; key < len; key++) {
- args[key - 2] = arguments[key];
- }
- if (format === undefined) {
- throw new Error(
- '`warning(condition, format, ...args)` requires a warning ' +
- 'message argument'
- );
- }
-
- if (format.length < 10 || (/^[s\W]*$/).test(format)) {
- throw new Error(
- 'The warning format should be able to uniquely identify this ' +
- 'warning. Please, use a more descriptive format than: ' + format
- );
- }
-
- if (!condition) {
- var argIndex = 0;
- var message = 'Warning: ' +
- format.replace(/%s/g, function() {
- return args[argIndex++];
- });
- if (typeof console !== 'undefined') {
- console.error(message);
- }
- try {
- // This error was thrown as a convenience so that you can use this stack
- // to find the callsite that caused this warning to fire.
- throw new Error(message);
- } catch(x) {}
- }
- };
-}
-
-module.exports = warning;
-
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 20 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
-// TODO: This module should be ElementChildren, and should use named exports.
-
-
-
-/**
- * Iterates through children that are typically specified as `props.children`,
- * but only maps over children that are "valid components".
- *
- * The mapFunction provided index will be normalised to the components mapped,
- * so an invalid component would not increase the index.
- *
- * @param {?*} children Children tree container.
- * @param {function(*, int)} func.
- * @param {*} context Context for func.
- * @return {object} Object containing the ordered map of results.
- */
-function map(children, func, context) {
- var index = 0;
-
- return __WEBPACK_IMPORTED_MODULE_0_react___default.a.Children.map(children, function (child) {
- if (!__WEBPACK_IMPORTED_MODULE_0_react___default.a.isValidElement(child)) {
- return child;
- }
-
- return func.call(context, child, index++);
- });
-}
-
-/**
- * Iterates through children that are "valid components".
- *
- * The provided forEachFunc(child, index) will be called for each
- * leaf child with the index reflecting the position relative to "valid components".
- *
- * @param {?*} children Children tree container.
- * @param {function(*, int)} func.
- * @param {*} context Context for context.
- */
-function forEach(children, func, context) {
- var index = 0;
-
- __WEBPACK_IMPORTED_MODULE_0_react___default.a.Children.forEach(children, function (child) {
- if (!__WEBPACK_IMPORTED_MODULE_0_react___default.a.isValidElement(child)) {
- return;
- }
-
- func.call(context, child, index++);
- });
-}
-
-/**
- * Count the number of "valid components" in the Children container.
- *
- * @param {?*} children Children tree container.
- * @returns {number}
- */
-function count(children) {
- var result = 0;
-
- __WEBPACK_IMPORTED_MODULE_0_react___default.a.Children.forEach(children, function (child) {
- if (!__WEBPACK_IMPORTED_MODULE_0_react___default.a.isValidElement(child)) {
- return;
- }
-
- ++result;
- });
-
- return result;
-}
-
-/**
- * Finds children that are typically specified as `props.children`,
- * but only iterates over children that are "valid components".
- *
- * The provided forEachFunc(child, index) will be called for each
- * leaf child with the index reflecting the position relative to "valid components".
- *
- * @param {?*} children Children tree container.
- * @param {function(*, int)} func.
- * @param {*} context Context for func.
- * @returns {array} of children that meet the func return statement
- */
-function filter(children, func, context) {
- var index = 0;
- var result = [];
-
- __WEBPACK_IMPORTED_MODULE_0_react___default.a.Children.forEach(children, function (child) {
- if (!__WEBPACK_IMPORTED_MODULE_0_react___default.a.isValidElement(child)) {
- return;
- }
-
- if (func.call(context, child, index++)) {
- result.push(child);
- }
- });
-
- return result;
-}
-
-function find(children, func, context) {
- var index = 0;
- var result = void 0;
-
- __WEBPACK_IMPORTED_MODULE_0_react___default.a.Children.forEach(children, function (child) {
- if (result) {
- return;
- }
- if (!__WEBPACK_IMPORTED_MODULE_0_react___default.a.isValidElement(child)) {
- return;
- }
-
- if (func.call(context, child, index++)) {
- result = child;
- }
- });
-
- return result;
-}
-
-function every(children, func, context) {
- var index = 0;
- var result = true;
-
- __WEBPACK_IMPORTED_MODULE_0_react___default.a.Children.forEach(children, function (child) {
- if (!result) {
- return;
- }
- if (!__WEBPACK_IMPORTED_MODULE_0_react___default.a.isValidElement(child)) {
- return;
- }
-
- if (!func.call(context, child, index++)) {
- result = false;
- }
- });
-
- return result;
-}
-
-function some(children, func, context) {
- var index = 0;
- var result = false;
-
- __WEBPACK_IMPORTED_MODULE_0_react___default.a.Children.forEach(children, function (child) {
- if (result) {
- return;
- }
- if (!__WEBPACK_IMPORTED_MODULE_0_react___default.a.isValidElement(child)) {
- return;
- }
-
- if (func.call(context, child, index++)) {
- result = true;
- }
- });
-
- return result;
-}
-
-function toArray(children) {
- var result = [];
-
- __WEBPACK_IMPORTED_MODULE_0_react___default.a.Children.forEach(children, function (child) {
- if (!__WEBPACK_IMPORTED_MODULE_0_react___default.a.isValidElement(child)) {
- return;
- }
-
- result.push(child);
- });
-
- return result;
-}
-
-/* harmony default export */ __webpack_exports__["a"] = ({
- map: map,
- forEach: forEach,
- count: count,
- find: find,
- filter: filter,
- every: every,
- some: some,
- toArray: toArray
-});
-
-/***/ }),
-/* 21 */
-/***/ (function(module, exports) {
-
-var core = module.exports = { version: '2.6.0' };
-if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
-
-
-/***/ }),
-/* 22 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var store = __webpack_require__(77)('wks');
-var uid = __webpack_require__(56);
-var Symbol = __webpack_require__(29).Symbol;
-var USE_SYMBOL = typeof Symbol == 'function';
-
-var $exports = module.exports = function (name) {
- return store[name] || (store[name] =
- USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
-};
-
-$exports.store = store;
-
-
-/***/ }),
-/* 23 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types_extra_lib_elementType__ = __webpack_require__(10);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types_extra_lib_elementType___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types_extra_lib_elementType__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_createChainedFunction__ = __webpack_require__(15);
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- href: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.string,
- onClick: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.func,
- onKeyDown: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.func,
- disabled: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.bool,
- role: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.string,
- tabIndex: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.string]),
- /**
- * this is sort of silly but needed for Button
- */
- componentClass: __WEBPACK_IMPORTED_MODULE_7_prop_types_extra_lib_elementType___default.a
-};
-
-var defaultProps = {
- componentClass: 'a'
-};
-
-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, MenuItems, etc.
- */
-
-var SafeAnchor = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(SafeAnchor, _React$Component);
-
- function SafeAnchor(props, context) {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, SafeAnchor);
-
- var _this = __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.call(this, props, context));
-
- _this.handleClick = _this.handleClick.bind(_this);
- _this.handleKeyDown = _this.handleKeyDown.bind(_this);
- return _this;
- }
-
- SafeAnchor.prototype.handleClick = function handleClick(event) {
- var _props = this.props,
- disabled = _props.disabled,
- href = _props.href,
- onClick = _props.onClick;
-
-
- if (disabled || isTrivialHref(href)) {
- event.preventDefault();
- }
-
- if (disabled) {
- event.stopPropagation();
- return;
- }
-
- if (onClick) {
- onClick(event);
- }
- };
-
- SafeAnchor.prototype.handleKeyDown = function handleKeyDown(event) {
- if (event.key === ' ') {
- event.preventDefault();
- this.handleClick(event);
- }
- };
-
- SafeAnchor.prototype.render = function render() {
- var _props2 = this.props,
- Component = _props2.componentClass,
- disabled = _props2.disabled,
- onKeyDown = _props2.onKeyDown,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props2, ['componentClass', 'disabled', 'onKeyDown']);
-
- 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.style = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({ pointerEvents: 'none' }, props.style);
- }
-
- return __WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(Component, __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, props, {
- onClick: this.handleClick,
- onKeyDown: Object(__WEBPACK_IMPORTED_MODULE_8__utils_createChainedFunction__["a" /* default */])(this.handleKeyDown, onKeyDown)
- }));
- };
-
- return SafeAnchor;
-}(__WEBPACK_IMPORTED_MODULE_5_react___default.a.Component);
-
-SafeAnchor.propTypes = propTypes;
-SafeAnchor.defaultProps = defaultProps;
-
-/* harmony default export */ __webpack_exports__["a"] = (SafeAnchor);
-
-/***/ }),
-/* 24 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-/**
- * Safe chained function
- *
- * Will only create a new function if needed,
- * otherwise will pass back existing functions or null.
- *
- * @param {function} functions to chain
- * @returns {function|null}
- */
-function createChainedFunction() {
- for (var _len = arguments.length, funcs = Array(_len), _key = 0; _key < _len; _key++) {
- funcs[_key] = arguments[_key];
- }
-
- return funcs.filter(function (f) {
- return f != null;
- }).reduce(function (acc, f) {
- if (typeof f !== 'function') {
- throw new Error('Invalid Argument Type, must only provide functions, undefined, or null.');
- }
-
- if (acc === null) {
- return f;
- }
-
- return function chainedFunction() {
- for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
- args[_key2] = arguments[_key2];
- }
-
- acc.apply(this, args);
- f.apply(this, args);
- };
- }, null);
-}
-
-exports.default = createChainedFunction;
-module.exports = exports['default'];
-
-/***/ }),
-/* 25 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = void 0;
-
-var _default = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
-
-exports.default = _default;
-module.exports = exports["default"];
-
-/***/ }),
-/* 26 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _values = __webpack_require__(27);
-
-var _values2 = _interopRequireDefault(_values);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _extends3 = __webpack_require__(6);
-
-var _extends4 = _interopRequireDefault(_extends3);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-var _StyleConfig = __webpack_require__(49);
-
-var _SafeAnchor = __webpack_require__(50);
-
-var _SafeAnchor2 = _interopRequireDefault(_SafeAnchor);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- active: _propTypes2.default.bool,
- disabled: _propTypes2.default.bool,
- block: _propTypes2.default.bool,
- onClick: _propTypes2.default.func,
- componentClass: _elementType2.default,
- href: _propTypes2.default.string,
- /**
- * Defines HTML button type attribute
- * @defaultValue 'button'
- */
- type: _propTypes2.default.oneOf(['button', 'reset', 'submit'])
-};
-
-var defaultProps = {
- active: false,
- block: false,
- disabled: false
-};
-
-var Button = function (_React$Component) {
- (0, _inherits3.default)(Button, _React$Component);
-
- function Button() {
- (0, _classCallCheck3.default)(this, Button);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- Button.prototype.renderAnchor = function renderAnchor(elementProps, className) {
- return _react2.default.createElement(_SafeAnchor2.default, (0, _extends4.default)({}, elementProps, {
- className: (0, _classnames2.default)(className, elementProps.disabled && 'disabled')
- }));
- };
-
- Button.prototype.renderButton = function renderButton(_ref, className) {
- var componentClass = _ref.componentClass,
- elementProps = (0, _objectWithoutProperties3.default)(_ref, ['componentClass']);
-
- var Component = componentClass || 'button';
-
- return _react2.default.createElement(Component, (0, _extends4.default)({}, elementProps, {
- type: elementProps.type || 'button',
- className: className
- }));
- };
-
- Button.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- active = _props.active,
- block = _props.block,
- className = _props.className,
- props = (0, _objectWithoutProperties3.default)(_props, ['active', 'block', 'className']);
-
- var _splitBsProps = (0, _bootstrapUtils.splitBsProps)(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = (0, _extends4.default)({}, (0, _bootstrapUtils.getClassSet)(bsProps), (_extends2 = {
- active: active
- }, _extends2[(0, _bootstrapUtils.prefix)(bsProps, 'block')] = block, _extends2));
- var fullClassName = (0, _classnames2.default)(className, classes);
-
- if (elementProps.href) {
- return this.renderAnchor(elementProps, fullClassName);
- }
-
- return this.renderButton(elementProps, fullClassName);
- };
-
- return Button;
-}(_react2.default.Component);
-
-Button.propTypes = propTypes;
-Button.defaultProps = defaultProps;
-
-exports.default = (0, _bootstrapUtils.bsClass)('btn', (0, _bootstrapUtils.bsSizes)([_StyleConfig.Size.LARGE, _StyleConfig.Size.SMALL, _StyleConfig.Size.XSMALL], (0, _bootstrapUtils.bsStyles)([].concat((0, _values2.default)(_StyleConfig.State), [_StyleConfig.Style.DEFAULT, _StyleConfig.Style.PRIMARY, _StyleConfig.Style.LINK]), _StyleConfig.Style.DEFAULT, Button)));
-module.exports = exports['default'];
-
-/***/ }),
-/* 27 */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = { "default": __webpack_require__(141), __esModule: true };
-
-/***/ }),
-/* 28 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var global = __webpack_require__(29);
-var core = __webpack_require__(21);
-var ctx = __webpack_require__(71);
-var hide = __webpack_require__(36);
-var has = __webpack_require__(32);
-var PROTOTYPE = 'prototype';
-
-var $export = function (type, name, source) {
- var IS_FORCED = type & $export.F;
- var IS_GLOBAL = type & $export.G;
- var IS_STATIC = type & $export.S;
- var IS_PROTO = type & $export.P;
- var IS_BIND = type & $export.B;
- var IS_WRAP = type & $export.W;
- var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
- var expProto = exports[PROTOTYPE];
- var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
- var key, own, out;
- if (IS_GLOBAL) source = name;
- for (key in source) {
- // contains in native
- own = !IS_FORCED && target && target[key] !== undefined;
- if (own && has(exports, key)) continue;
- // export native or passed
- out = own ? target[key] : source[key];
- // prevent global pollution for namespaces
- exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
- // bind timers to global for call from export context
- : IS_BIND && own ? ctx(out, global)
- // wrap global constructors for prevent change them in library
- : IS_WRAP && target[key] == out ? (function (C) {
- var F = function (a, b, c) {
- if (this instanceof C) {
- switch (arguments.length) {
- case 0: return new C();
- case 1: return new C(a);
- case 2: return new C(a, b);
- } return new C(a, b, c);
- } return C.apply(this, arguments);
- };
- F[PROTOTYPE] = C[PROTOTYPE];
- return F;
- // make static versions for prototype methods
- })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
- // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
- if (IS_PROTO) {
- (exports.virtual || (exports.virtual = {}))[key] = out;
- // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
- if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
- }
- }
-};
-// type bitmap
-$export.F = 1; // forced
-$export.G = 2; // global
-$export.S = 4; // static
-$export.P = 8; // proto
-$export.B = 16; // bind
-$export.W = 32; // wrap
-$export.U = 64; // safe
-$export.R = 128; // real proto method for `library`
-module.exports = $export;
-
-
-/***/ }),
-/* 29 */
-/***/ (function(module, exports) {
-
-// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
-var global = module.exports = typeof window != 'undefined' && window.Math == Math
- ? window : typeof self != 'undefined' && self.Math == Math ? self
- // eslint-disable-next-line no-new-func
- : Function('return this')();
-if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
-
-
-/***/ }),
-/* 30 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = void 0;
-
-var _inDOM = _interopRequireDefault(__webpack_require__(25));
-
-var _default = function () {
- // HTML DOM and SVG DOM may have different support levels,
- // so we need to check on context instead of a document root element.
- return _inDOM.default ? function (context, node) {
- if (context.contains) {
- return context.contains(node);
- } else if (context.compareDocumentPosition) {
- return context === node || !!(context.compareDocumentPosition(node) & 16);
- } else {
- return fallback(context, node);
- }
- } : fallback;
-}();
-
-exports.default = _default;
-
-function fallback(context, node) {
- if (node) do {
- if (node === context) return true;
- } while (node = node.parentNode);
- return false;
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 31 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var anObject = __webpack_require__(37);
-var IE8_DOM_DEFINE = __webpack_require__(102);
-var toPrimitive = __webpack_require__(72);
-var dP = Object.defineProperty;
-
-exports.f = __webpack_require__(39) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPrimitive(P, true);
- anObject(Attributes);
- if (IE8_DOM_DEFINE) try {
- return dP(O, P, Attributes);
- } catch (e) { /* empty */ }
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
- if ('value' in Attributes) O[P] = Attributes.value;
- return O;
-};
-
-
-/***/ }),
-/* 32 */
-/***/ (function(module, exports) {
-
-var hasOwnProperty = {}.hasOwnProperty;
-module.exports = function (it, key) {
- return hasOwnProperty.call(it, key);
-};
-
-
-/***/ }),
-/* 33 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// to indexed object, toObject with fallback for non-array-like ES3 strings
-var IObject = __webpack_require__(106);
-var defined = __webpack_require__(74);
-module.exports = function (it) {
- return IObject(defined(it));
-};
-
-
-/***/ }),
-/* 34 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = ownerDocument;
-
-function ownerDocument(node) {
- return node && node.ownerDocument || document;
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 35 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = all;
-
-var _createChainableTypeChecker = __webpack_require__(47);
-
-var _createChainableTypeChecker2 = _interopRequireDefault(_createChainableTypeChecker);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function all() {
- for (var _len = arguments.length, validators = Array(_len), _key = 0; _key < _len; _key++) {
- validators[_key] = arguments[_key];
- }
-
- function allPropTypes() {
- for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
- args[_key2] = arguments[_key2];
- }
-
- var error = null;
-
- validators.forEach(function (validator) {
- if (error != null) {
- return;
- }
-
- var result = validator.apply(undefined, args);
- if (result != null) {
- error = result;
- }
- });
-
- return error;
- }
-
- return (0, _createChainableTypeChecker2.default)(allPropTypes);
-}
-module.exports = exports['default'];
-
-/***/ }),
-/* 36 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var dP = __webpack_require__(31);
-var createDesc = __webpack_require__(43);
-module.exports = __webpack_require__(39) ? function (object, key, value) {
- return dP.f(object, key, createDesc(1, value));
-} : function (object, key, value) {
- object[key] = value;
- return object;
-};
-
-
-/***/ }),
-/* 37 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var isObject = __webpack_require__(38);
-module.exports = function (it) {
- if (!isObject(it)) throw TypeError(it + ' is not an object!');
- return it;
-};
-
-
-/***/ }),
-/* 38 */
-/***/ (function(module, exports) {
-
-module.exports = function (it) {
- return typeof it === 'object' ? it !== null : typeof it === 'function';
-};
-
-
-/***/ }),
-/* 39 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// Thank's IE8 for his funny defineProperty
-module.exports = !__webpack_require__(42)(function () {
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
-});
-
-
-/***/ }),
-/* 40 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _createUncontrollable = __webpack_require__(193);
-
-var _createUncontrollable2 = _interopRequireDefault(_createUncontrollable);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var mixin = {
- shouldComponentUpdate: function shouldComponentUpdate() {
- //let the forceUpdate trigger the update
- return !this._notifying;
- }
-};
-
-function set(component, propName, handler, value, args) {
- if (handler) {
- component._notifying = true;
- handler.call.apply(handler, [component, value].concat(args));
- component._notifying = false;
- }
-
- component._values[propName] = value;
-
- if (!component.unmounted) component.forceUpdate();
-}
-
-exports.default = (0, _createUncontrollable2.default)(mixin, set);
-module.exports = exports['default'];
-
-/***/ }),
-/* 41 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-exports.default = function (componentOrElement) {
- return (0, _ownerDocument2.default)(_reactDom2.default.findDOMNode(componentOrElement));
-};
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-var _ownerDocument = __webpack_require__(34);
-
-var _ownerDocument2 = _interopRequireDefault(_ownerDocument);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-module.exports = exports['default'];
-
-/***/ }),
-/* 42 */
-/***/ (function(module, exports) {
-
-module.exports = function (exec) {
- try {
- return !!exec();
- } catch (e) {
- return true;
- }
-};
-
-
-/***/ }),
-/* 43 */
-/***/ (function(module, exports) {
-
-module.exports = function (bitmap, value) {
- return {
- enumerable: !(bitmap & 1),
- configurable: !(bitmap & 2),
- writable: !(bitmap & 4),
- value: value
- };
-};
-
-
-/***/ }),
-/* 44 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// 19.1.2.14 / 15.2.3.14 Object.keys(O)
-var $keys = __webpack_require__(105);
-var enumBugKeys = __webpack_require__(78);
-
-module.exports = Object.keys || function keys(O) {
- return $keys(O, enumBugKeys);
-};
-
-
-/***/ }),
-/* 45 */
-/***/ (function(module, exports) {
-
-exports.f = {}.propertyIsEnumerable;
-
-
-/***/ }),
-/* 46 */
-/***/ (function(module, exports) {
-
-module.exports = {};
-
-
-/***/ }),
-/* 47 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = createChainableTypeChecker;
-/**
- * Copyright 2013-present, Facebook, Inc.
- * All rights reserved.
- *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
- */
-
-// Mostly taken from ReactPropTypes.
-
-function createChainableTypeChecker(validate) {
- function checkType(isRequired, props, propName, componentName, location, propFullName) {
- var componentNameSafe = componentName || '<>';
- var propFullNameSafe = propFullName || propName;
-
- if (props[propName] == null) {
- if (isRequired) {
- return new Error('Required ' + location + ' `' + propFullNameSafe + '` was not specified ' + ('in `' + componentNameSafe + '`.'));
- }
-
- return null;
- }
-
- for (var _len = arguments.length, args = Array(_len > 6 ? _len - 6 : 0), _key = 6; _key < _len; _key++) {
- args[_key - 6] = arguments[_key];
- }
-
- return validate.apply(undefined, [props, propName, componentNameSafe, location, propFullNameSafe].concat(args));
- }
-
- var chainedCheckType = checkType.bind(null, false);
- chainedCheckType.isRequired = checkType.bind(null, true);
-
- return chainedCheckType;
-}
-module.exports = exports['default'];
-
-/***/ }),
-/* 48 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/**
- * 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 invariant() to assert state which your program assumes to be true.
- *
- * Provide sprintf-style format (only %s is supported) and arguments
- * to provide information about what broke and what you were
- * expecting.
- *
- * The invariant message will be stripped in production, but the invariant
- * will remain to ensure logic does not differ in production.
- */
-
-var invariant = function(condition, format, a, b, c, d, e, f) {
- if (process.env.NODE_ENV !== 'production') {
- if (format === undefined) {
- throw new Error('invariant requires an error message argument');
- }
- }
-
- if (!condition) {
- var error;
- if (format === undefined) {
- error = new Error(
- 'Minified exception occurred; use the non-minified dev environment ' +
- 'for the full error message and additional helpful warnings.'
- );
- } else {
- var args = [a, b, c, d, e, f];
- var argIndex = 0;
- error = new Error(
- format.replace(/%s/g, function() { return args[argIndex++]; })
- );
- error.name = 'Invariant Violation';
- }
-
- error.framesToPop = 1; // we don't care about invariant's own frame
- throw error;
- }
-};
-
-module.exports = invariant;
-
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 49 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-var Size = exports.Size = {
- LARGE: 'large',
- SMALL: 'small',
- XSMALL: 'xsmall'
-};
-
-var SIZE_MAP = exports.SIZE_MAP = {
- large: 'lg',
- medium: 'md',
- small: 'sm',
- xsmall: 'xs',
- lg: 'lg',
- md: 'md',
- sm: 'sm',
- xs: 'xs'
-};
-
-var DEVICE_SIZES = exports.DEVICE_SIZES = ['lg', 'md', 'sm', 'xs'];
-
-var State = exports.State = {
- SUCCESS: 'success',
- WARNING: 'warning',
- DANGER: 'danger',
- INFO: 'info'
-};
-
-var Style = exports.Style = {
- DEFAULT: 'default',
- PRIMARY: 'primary',
- LINK: 'link',
- INVERSE: 'inverse'
-};
-
-/***/ }),
-/* 50 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _createChainedFunction = __webpack_require__(24);
-
-var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- href: _propTypes2.default.string,
- onClick: _propTypes2.default.func,
- onKeyDown: _propTypes2.default.func,
- disabled: _propTypes2.default.bool,
- role: _propTypes2.default.string,
- tabIndex: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string]),
- /**
- * this is sort of silly but needed for Button
- */
- componentClass: _elementType2.default
-};
-
-var defaultProps = {
- componentClass: 'a'
-};
-
-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, MenuItems, etc.
- */
-
-var SafeAnchor = function (_React$Component) {
- (0, _inherits3.default)(SafeAnchor, _React$Component);
-
- function SafeAnchor(props, context) {
- (0, _classCallCheck3.default)(this, SafeAnchor);
-
- var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this, props, context));
-
- _this.handleClick = _this.handleClick.bind(_this);
- _this.handleKeyDown = _this.handleKeyDown.bind(_this);
- return _this;
- }
-
- SafeAnchor.prototype.handleClick = function handleClick(event) {
- var _props = this.props,
- disabled = _props.disabled,
- href = _props.href,
- onClick = _props.onClick;
-
-
- if (disabled || isTrivialHref(href)) {
- event.preventDefault();
- }
-
- if (disabled) {
- event.stopPropagation();
- return;
- }
-
- if (onClick) {
- onClick(event);
- }
- };
-
- SafeAnchor.prototype.handleKeyDown = function handleKeyDown(event) {
- if (event.key === ' ') {
- event.preventDefault();
- this.handleClick(event);
- }
- };
-
- SafeAnchor.prototype.render = function render() {
- var _props2 = this.props,
- Component = _props2.componentClass,
- disabled = _props2.disabled,
- onKeyDown = _props2.onKeyDown,
- props = (0, _objectWithoutProperties3.default)(_props2, ['componentClass', 'disabled', 'onKeyDown']);
-
-
- 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.style = (0, _extends3.default)({ pointerEvents: 'none' }, props.style);
- }
-
- return _react2.default.createElement(Component, (0, _extends3.default)({}, props, {
- onClick: this.handleClick,
- onKeyDown: (0, _createChainedFunction2.default)(this.handleKeyDown, onKeyDown)
- }));
- };
-
- return SafeAnchor;
-}(_react2.default.Component);
-
-SafeAnchor.propTypes = propTypes;
-SafeAnchor.defaultProps = defaultProps;
-
-exports.default = SafeAnchor;
-module.exports = exports['default'];
-
-/***/ }),
-/* 51 */
-/***/ (function(module, exports) {
-
-// Source: http://jsfiddle.net/vWx8V/
-// http://stackoverflow.com/questions/5603195/full-list-of-javascript-keycodes
-
-/**
- * Conenience method returns corresponding value for given keyName or keyCode.
- *
- * @param {Mixed} keyCode {Number} or keyName {String}
- * @return {Mixed}
- * @api public
- */
-
-function keyCode(searchInput) {
- // Keyboard Events
- if (searchInput && 'object' === typeof searchInput) {
- var hasKeyCode = searchInput.which || searchInput.keyCode || searchInput.charCode
- if (hasKeyCode) searchInput = hasKeyCode
- }
-
- // Numbers
- if ('number' === typeof searchInput) return names[searchInput]
-
- // Everything else (cast to string)
- var search = String(searchInput)
-
- // check codes
- var foundNamedKey = codes[search.toLowerCase()]
- if (foundNamedKey) return foundNamedKey
-
- // check aliases
- var foundNamedKey = aliases[search.toLowerCase()]
- if (foundNamedKey) return foundNamedKey
-
- // weird character?
- if (search.length === 1) return search.charCodeAt(0)
-
- return undefined
-}
-
-/**
- * Compares a keyboard event with a given keyCode or keyName.
- *
- * @param {Event} event Keyboard event that should be tested
- * @param {Mixed} keyCode {Number} or keyName {String}
- * @return {Boolean}
- * @api public
- */
-keyCode.isEventKey = function isEventKey(event, nameOrCode) {
- if (event && 'object' === typeof event) {
- var keyCode = event.which || event.keyCode || event.charCode
- if (keyCode === null || keyCode === undefined) { return false; }
- if (typeof nameOrCode === 'string') {
- // check codes
- var foundNamedKey = codes[nameOrCode.toLowerCase()]
- if (foundNamedKey) { return foundNamedKey === keyCode; }
-
- // check aliases
- var foundNamedKey = aliases[nameOrCode.toLowerCase()]
- if (foundNamedKey) { return foundNamedKey === keyCode; }
- } else if (typeof nameOrCode === 'number') {
- return nameOrCode === keyCode;
- }
- return false;
- }
-}
-
-exports = module.exports = keyCode;
-
-/**
- * Get by name
- *
- * exports.code['enter'] // => 13
- */
-
-var codes = exports.code = exports.codes = {
- 'backspace': 8,
- 'tab': 9,
- 'enter': 13,
- 'shift': 16,
- 'ctrl': 17,
- 'alt': 18,
- 'pause/break': 19,
- 'caps lock': 20,
- 'esc': 27,
- 'space': 32,
- 'page up': 33,
- 'page down': 34,
- 'end': 35,
- 'home': 36,
- 'left': 37,
- 'up': 38,
- 'right': 39,
- 'down': 40,
- 'insert': 45,
- 'delete': 46,
- 'command': 91,
- 'left command': 91,
- 'right command': 93,
- 'numpad *': 106,
- 'numpad +': 107,
- 'numpad -': 109,
- 'numpad .': 110,
- 'numpad /': 111,
- 'num lock': 144,
- 'scroll lock': 145,
- 'my computer': 182,
- 'my calculator': 183,
- ';': 186,
- '=': 187,
- ',': 188,
- '-': 189,
- '.': 190,
- '/': 191,
- '`': 192,
- '[': 219,
- '\\': 220,
- ']': 221,
- "'": 222
-}
-
-// Helper aliases
-
-var aliases = exports.aliases = {
- 'windows': 91,
- '⇧': 16,
- '⌥': 18,
- '⌃': 17,
- '⌘': 91,
- 'ctl': 17,
- 'control': 17,
- 'option': 18,
- 'pause': 19,
- 'break': 19,
- 'caps': 20,
- 'return': 13,
- 'escape': 27,
- 'spc': 32,
- 'spacebar': 32,
- 'pgup': 33,
- 'pgdn': 34,
- 'ins': 45,
- 'del': 46,
- 'cmd': 91
-}
-
-/*!
- * Programatically add the following
- */
-
-// lower case chars
-for (i = 97; i < 123; i++) codes[String.fromCharCode(i)] = i - 32
-
-// numbers
-for (var i = 48; i < 58; i++) codes[i - 48] = i
-
-// function keys
-for (i = 1; i < 13; i++) codes['f'+i] = i + 111
-
-// numpad keys
-for (i = 0; i < 10; i++) codes['numpad '+i] = i + 96
-
-/**
- * Get by code
- *
- * exports.name[13] // => 'Enter'
- */
-
-var names = exports.names = exports.title = {} // title for backward compat
-
-// Create reverse mapping
-for (i in codes) names[codes[i]] = i
-
-// Add aliases
-for (var alias in aliases) {
- codes[alias] = aliases[alias]
-}
-
-
-/***/ }),
-/* 52 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = isRequiredForA11y;
-function isRequiredForA11y(validator) {
- return function validate(props, propName, componentName, location, propFullName) {
- var componentNameSafe = componentName || '<>';
- var propFullNameSafe = propFullName || propName;
-
- if (props[propName] == null) {
- return new Error('The ' + location + ' `' + propFullNameSafe + '` is required to make ' + ('`' + componentNameSafe + '` accessible for users of assistive ') + 'technologies such as screen readers.');
- }
-
- for (var _len = arguments.length, args = Array(_len > 5 ? _len - 5 : 0), _key = 5; _key < _len; _key++) {
- args[_key - 5] = arguments[_key];
- }
-
- return validator.apply(undefined, [props, propName, componentName, location, propFullName].concat(args));
- };
-}
-module.exports = exports['default'];
-
-/***/ }),
-/* 53 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_values__ = __webpack_require__(27);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_values___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_values__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_prop_types_extra_lib_elementType__ = __webpack_require__(10);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_prop_types_extra_lib_elementType___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_prop_types_extra_lib_elementType__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__ = __webpack_require__(8);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__utils_StyleConfig__ = __webpack_require__(17);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__SafeAnchor__ = __webpack_require__(23);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- active: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.bool,
- disabled: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.bool,
- block: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.bool,
- onClick: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.func,
- componentClass: __WEBPACK_IMPORTED_MODULE_9_prop_types_extra_lib_elementType___default.a,
- href: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.string,
- /**
- * Defines HTML button type attribute
- * @defaultValue 'button'
- */
- type: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.oneOf(['button', 'reset', 'submit'])
-};
-
-var defaultProps = {
- active: false,
- block: false,
- disabled: false
-};
-
-var Button = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits___default()(Button, _React$Component);
-
- function Button() {
- __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_classCallCheck___default()(this, Button);
-
- return __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- Button.prototype.renderAnchor = function renderAnchor(elementProps, className) {
- return __WEBPACK_IMPORTED_MODULE_7_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_12__SafeAnchor__["a" /* default */], __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_extends___default()({}, elementProps, {
- className: __WEBPACK_IMPORTED_MODULE_6_classnames___default()(className, elementProps.disabled && 'disabled')
- }));
- };
-
- Button.prototype.renderButton = function renderButton(_ref, className) {
- var componentClass = _ref.componentClass,
- elementProps = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_ref, ['componentClass']);
-
- var Component = componentClass || 'button';
-
- return __WEBPACK_IMPORTED_MODULE_7_react___default.a.createElement(Component, __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_extends___default()({}, elementProps, {
- type: elementProps.type || 'button',
- className: className
- }));
- };
-
- Button.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- active = _props.active,
- block = _props.block,
- className = _props.className,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['active', 'block', 'className']);
-
- var _splitBsProps = Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_extends___default()({}, Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps), (_extends2 = {
- active: active
- }, _extends2[Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["e" /* prefix */])(bsProps, 'block')] = block, _extends2));
- var fullClassName = __WEBPACK_IMPORTED_MODULE_6_classnames___default()(className, classes);
-
- if (elementProps.href) {
- return this.renderAnchor(elementProps, fullClassName);
- }
-
- return this.renderButton(elementProps, fullClassName);
- };
-
- return Button;
-}(__WEBPACK_IMPORTED_MODULE_7_react___default.a.Component);
-
-Button.propTypes = propTypes;
-Button.defaultProps = defaultProps;
-
-/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["a" /* bsClass */])('btn', Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["b" /* bsSizes */])([__WEBPACK_IMPORTED_MODULE_11__utils_StyleConfig__["c" /* Size */].LARGE, __WEBPACK_IMPORTED_MODULE_11__utils_StyleConfig__["c" /* Size */].SMALL, __WEBPACK_IMPORTED_MODULE_11__utils_StyleConfig__["c" /* Size */].XSMALL], Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["c" /* bsStyles */])([].concat(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_values___default()(__WEBPACK_IMPORTED_MODULE_11__utils_StyleConfig__["d" /* State */]), [__WEBPACK_IMPORTED_MODULE_11__utils_StyleConfig__["e" /* Style */].DEFAULT, __WEBPACK_IMPORTED_MODULE_11__utils_StyleConfig__["e" /* Style */].PRIMARY, __WEBPACK_IMPORTED_MODULE_11__utils_StyleConfig__["e" /* Style */].LINK]), __WEBPACK_IMPORTED_MODULE_11__utils_StyleConfig__["e" /* Style */].DEFAULT, Button))));
-
-/***/ }),
-/* 54 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = style;
-
-var _camelizeStyle = _interopRequireDefault(__webpack_require__(118));
-
-var _hyphenateStyle = _interopRequireDefault(__webpack_require__(217));
-
-var _getComputedStyle2 = _interopRequireDefault(__webpack_require__(219));
-
-var _removeStyle = _interopRequireDefault(__webpack_require__(220));
-
-var _properties = __webpack_require__(119);
-
-var _isTransform = _interopRequireDefault(__webpack_require__(221));
-
-function style(node, property, value) {
- var css = '';
- var transforms = '';
- var props = property;
-
- if (typeof property === 'string') {
- if (value === undefined) {
- return node.style[(0, _camelizeStyle.default)(property)] || (0, _getComputedStyle2.default)(node).getPropertyValue((0, _hyphenateStyle.default)(property));
- } else {
- (props = {})[property] = value;
- }
- }
-
- Object.keys(props).forEach(function (key) {
- var value = props[key];
-
- if (!value && value !== 0) {
- (0, _removeStyle.default)(node, (0, _hyphenateStyle.default)(key));
- } else if ((0, _isTransform.default)(key)) {
- transforms += key + "(" + value + ") ";
- } else {
- css += (0, _hyphenateStyle.default)(key) + ": " + value + ";";
- }
- });
-
- if (transforms) {
- css += _properties.transform + ": " + transforms + ";";
- }
-
- node.style.cssText += ';' + css;
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 55 */
-/***/ (function(module, exports) {
-
-module.exports = true;
-
-
-/***/ }),
-/* 56 */
-/***/ (function(module, exports) {
-
-var id = 0;
-var px = Math.random();
-module.exports = function (key) {
- return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
-};
-
-
-/***/ }),
-/* 57 */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = { "default": __webpack_require__(180), __esModule: true };
-
-/***/ }),
-/* 58 */
-/***/ (function(module, exports) {
-
-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;
-
-/***/ }),
-/* 59 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = void 0;
-
-var _inDOM = _interopRequireDefault(__webpack_require__(25));
-
-var on = function on() {};
-
-if (_inDOM.default) {
- on = function () {
- if (document.addEventListener) return function (node, eventName, handler, capture) {
- return node.addEventListener(eventName, handler, capture || false);
- };else if (document.attachEvent) return function (node, eventName, handler) {
- return node.attachEvent('on' + eventName, function (e) {
- e = e || window.event;
- e.target = e.target || e.srcElement;
- e.currentTarget = node;
- handler.call(node, e);
- });
- };
- }();
-}
-
-var _default = on;
-exports.default = _default;
-module.exports = exports["default"];
-
-/***/ }),
-/* 60 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-/**
- * Iterates through children that are typically specified as `props.children`,
- * but only maps over children that are "valid components".
- *
- * The mapFunction provided index will be normalised to the components mapped,
- * so an invalid component would not increase the index.
- *
- * @param {?*} children Children tree container.
- * @param {function(*, int)} func.
- * @param {*} context Context for func.
- * @return {object} Object containing the ordered map of results.
- */
-function map(children, func, context) {
- var index = 0;
-
- return _react2.default.Children.map(children, function (child) {
- if (!_react2.default.isValidElement(child)) {
- return child;
- }
-
- return func.call(context, child, index++);
- });
-}
-
-/**
- * Iterates through children that are "valid components".
- *
- * The provided forEachFunc(child, index) will be called for each
- * leaf child with the index reflecting the position relative to "valid components".
- *
- * @param {?*} children Children tree container.
- * @param {function(*, int)} func.
- * @param {*} context Context for context.
- */
-// TODO: This module should be ElementChildren, and should use named exports.
-
-function forEach(children, func, context) {
- var index = 0;
-
- _react2.default.Children.forEach(children, function (child) {
- if (!_react2.default.isValidElement(child)) {
- return;
- }
-
- func.call(context, child, index++);
- });
-}
-
-/**
- * Count the number of "valid components" in the Children container.
- *
- * @param {?*} children Children tree container.
- * @returns {number}
- */
-function count(children) {
- var result = 0;
-
- _react2.default.Children.forEach(children, function (child) {
- if (!_react2.default.isValidElement(child)) {
- return;
- }
-
- ++result;
- });
-
- return result;
-}
-
-/**
- * Finds children that are typically specified as `props.children`,
- * but only iterates over children that are "valid components".
- *
- * The provided forEachFunc(child, index) will be called for each
- * leaf child with the index reflecting the position relative to "valid components".
- *
- * @param {?*} children Children tree container.
- * @param {function(*, int)} func.
- * @param {*} context Context for func.
- * @returns {array} of children that meet the func return statement
- */
-function filter(children, func, context) {
- var index = 0;
- var result = [];
-
- _react2.default.Children.forEach(children, function (child) {
- if (!_react2.default.isValidElement(child)) {
- return;
- }
-
- if (func.call(context, child, index++)) {
- result.push(child);
- }
- });
-
- return result;
-}
-
-function find(children, func, context) {
- var index = 0;
- var result = void 0;
-
- _react2.default.Children.forEach(children, function (child) {
- if (result) {
- return;
- }
- if (!_react2.default.isValidElement(child)) {
- return;
- }
-
- if (func.call(context, child, index++)) {
- result = child;
- }
- });
-
- return result;
-}
-
-function every(children, func, context) {
- var index = 0;
- var result = true;
-
- _react2.default.Children.forEach(children, function (child) {
- if (!result) {
- return;
- }
- if (!_react2.default.isValidElement(child)) {
- return;
- }
-
- if (!func.call(context, child, index++)) {
- result = false;
- }
- });
-
- return result;
-}
-
-function some(children, func, context) {
- var index = 0;
- var result = false;
-
- _react2.default.Children.forEach(children, function (child) {
- if (result) {
- return;
- }
- if (!_react2.default.isValidElement(child)) {
- return;
- }
-
- if (func.call(context, child, index++)) {
- result = true;
- }
- });
-
- return result;
-}
-
-function toArray(children) {
- var result = [];
-
- _react2.default.Children.forEach(children, function (child) {
- if (!_react2.default.isValidElement(child)) {
- return;
- }
-
- result.push(child);
- });
-
- return result;
-}
-
-exports.default = {
- map: map,
- forEach: forEach,
- count: count,
- find: find,
- filter: filter,
- every: every,
- some: some,
- toArray: toArray
-};
-module.exports = exports['default'];
-
-/***/ }),
-/* 61 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _createChainableTypeChecker = __webpack_require__(47);
-
-var _createChainableTypeChecker2 = _interopRequireDefault(_createChainableTypeChecker);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function validate(props, propName, componentName, location, propFullName) {
- var propValue = props[propName];
- var propType = typeof propValue === 'undefined' ? 'undefined' : _typeof(propValue);
-
- if (_react2.default.isValidElement(propValue)) {
- return new Error('Invalid ' + location + ' `' + propFullName + '` of type ReactElement ' + ('supplied to `' + componentName + '`, expected a ReactComponent or a ') + 'DOMElement. You can usually obtain a ReactComponent or DOMElement ' + 'from a ReactElement by attaching a ref to it.');
- }
-
- if ((propType !== 'object' || typeof propValue.render !== 'function') && propValue.nodeType !== 1) {
- return new Error('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected a ReactComponent or a ') + 'DOMElement.');
- }
-
- return null;
-}
-
-exports.default = (0, _createChainableTypeChecker2.default)(validate);
-module.exports = exports['default'];
-
-/***/ }),
-/* 62 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = getWindow;
-
-function getWindow(node) {
- return node === node.window ? node : node.nodeType === 9 ? node.defaultView || node.parentWindow : false;
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 63 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = getContainer;
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function getContainer(container, defaultContainer) {
- container = typeof container === 'function' ? container() : container;
- return _reactDom2.default.findDOMNode(container) || defaultContainer;
-}
-module.exports = exports['default'];
-
-/***/ }),
-/* 64 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return checkboxCheckStates; });
-/* unused harmony export inputPropTypes */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return checkboxPropTypes; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return radioButtonPropTypes; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return checkboxGroupPropTypes; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return radioGroupPropTypes; });
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash__ = __webpack_require__(9);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
-function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? 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; }
-
-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; }
-
-
-
-var checkboxCheckStates = [true, false, 'partial']; // common input tag props
-
-var inputPropTypes = {
- id: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string,
- className: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string,
- name: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string,
- label: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.node,
- value: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string,
- dts: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string,
- disabled: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.bool,
- onChange: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func,
- inline: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.bool
-};
-var checkboxPropTypes = _objectSpread({}, inputPropTypes, {
- checked: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.oneOf(checkboxCheckStates),
- size: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.number
-});
-var radioButtonPropTypes = _objectSpread({}, inputPropTypes, {
- checked: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.bool
-});
-var checkboxGroupPropTypes = {
- id: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string,
- className: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string,
- name: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string.isRequired,
- value: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.arrayOf(__WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string).isRequired,
- children: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.arrayOf(__WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.node), __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.node]).isRequired,
- onChange: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func.isRequired,
- dts: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string,
- inline: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.bool
-};
-var radioGroupPropTypes = __WEBPACK_IMPORTED_MODULE_0_lodash___default.a.assign({}, checkboxGroupPropTypes, {
- value: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string.isRequired
-});
-
-/***/ }),
-/* 65 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_dom_helpers_activeElement__ = __webpack_require__(90);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_dom_helpers_activeElement___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_dom_helpers_activeElement__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_dom_helpers_query_contains__ = __webpack_require__(30);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_dom_helpers_query_contains___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_dom_helpers_query_contains__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_keycode__ = __webpack_require__(51);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_keycode___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_keycode__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react_dom__ = __webpack_require__(13);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_react_dom__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_prop_types_extra_lib_all__ = __webpack_require__(35);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_prop_types_extra_lib_all___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_prop_types_extra_lib_all__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_prop_types_extra_lib_elementType__ = __webpack_require__(10);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_prop_types_extra_lib_elementType___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_13_prop_types_extra_lib_elementType__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_prop_types_extra_lib_isRequiredForA11y__ = __webpack_require__(52);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14_prop_types_extra_lib_isRequiredForA11y___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_prop_types_extra_lib_isRequiredForA11y__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_uncontrollable__ = __webpack_require__(40);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15_uncontrollable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_15_uncontrollable__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16_warning__ = __webpack_require__(19);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_16_warning__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__ButtonGroup__ = __webpack_require__(98);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__DropdownMenu__ = __webpack_require__(303);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__DropdownToggle__ = __webpack_require__(126);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__utils_bootstrapUtils__ = __webpack_require__(8);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__utils_createChainedFunction__ = __webpack_require__(15);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__utils_PropTypes__ = __webpack_require__(304);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__utils_ValidComponentChildren__ = __webpack_require__(20);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var TOGGLE_ROLE = __WEBPACK_IMPORTED_MODULE_19__DropdownToggle__["a" /* default */].defaultProps.bsRole;
-var MENU_ROLE = __WEBPACK_IMPORTED_MODULE_18__DropdownMenu__["a" /* default */].defaultProps.bsRole;
-
-var propTypes = {
- /**
- * The menu will open above the dropdown button, instead of below it.
- */
- dropup: __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.bool,
-
- /**
- * An html id attribute, necessary for assistive technologies, such as screen readers.
- * @type {string|number}
- * @required
- */
- id: __WEBPACK_IMPORTED_MODULE_14_prop_types_extra_lib_isRequiredForA11y___default()(__WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.number])),
-
- componentClass: __WEBPACK_IMPORTED_MODULE_13_prop_types_extra_lib_elementType___default.a,
-
- /**
- * The children of a Dropdown may be a `` or a ``.
- * @type {node}
- */
- children: __WEBPACK_IMPORTED_MODULE_12_prop_types_extra_lib_all___default()(Object(__WEBPACK_IMPORTED_MODULE_22__utils_PropTypes__["b" /* requiredRoles */])(TOGGLE_ROLE, MENU_ROLE), Object(__WEBPACK_IMPORTED_MODULE_22__utils_PropTypes__["a" /* exclusiveRoles */])(MENU_ROLE)),
-
- /**
- * Whether or not component is disabled.
- */
- disabled: __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.bool,
-
- /**
- * Align the menu to the right side of the Dropdown toggle
- */
- pullRight: __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.bool,
-
- /**
- * Whether or not the Dropdown is visible.
- *
- * @controllable onToggle
- */
- open: __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.bool,
-
- defaultOpen: __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.bool,
-
- /**
- * A callback fired when the Dropdown wishes to change visibility. Called with the requested
- * `open` value, the DOM event, and the source that fired it: `'click'`,`'keydown'`,`'rootClose'`, or `'select'`.
- *
- * ```js
- * function(Boolean isOpen, Object event, { String source }) {}
- * ```
- * @controllable open
- */
- onToggle: __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.func,
-
- /**
- * A callback fired when a menu item is selected.
- *
- * ```js
- * (eventKey: any, event: Object) => any
- * ```
- */
- onSelect: __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.func,
-
- /**
- * If `'menuitem'`, causes the dropdown to behave like a menu item rather than
- * a menu button.
- */
- role: __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.string,
-
- /**
- * Which event when fired outside the component will cause it to be closed
- */
- rootCloseEvent: __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.oneOf(['click', 'mousedown']),
-
- /**
- * @private
- */
- onMouseEnter: __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.func,
- /**
- * @private
- */
- onMouseLeave: __WEBPACK_IMPORTED_MODULE_10_prop_types___default.a.func
-};
-
-var defaultProps = {
- componentClass: __WEBPACK_IMPORTED_MODULE_17__ButtonGroup__["a" /* default */]
-};
-
-var Dropdown = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(Dropdown, _React$Component);
-
- function Dropdown(props, context) {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, Dropdown);
-
- var _this = __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.call(this, props, context));
-
- _this.handleClick = _this.handleClick.bind(_this);
- _this.handleKeyDown = _this.handleKeyDown.bind(_this);
- _this.handleClose = _this.handleClose.bind(_this);
-
- _this._focusInDropdown = false;
- _this.lastOpenEventType = null;
- return _this;
- }
-
- Dropdown.prototype.componentDidMount = function componentDidMount() {
- this.focusNextOnOpen();
- };
-
- Dropdown.prototype.componentWillUpdate = function componentWillUpdate(nextProps) {
- if (!nextProps.open && this.props.open) {
- this._focusInDropdown = __WEBPACK_IMPORTED_MODULE_7_dom_helpers_query_contains___default()(__WEBPACK_IMPORTED_MODULE_11_react_dom___default.a.findDOMNode(this.menu), __WEBPACK_IMPORTED_MODULE_6_dom_helpers_activeElement___default()(document));
- }
- };
-
- Dropdown.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
- var open = this.props.open;
-
- var prevOpen = prevProps.open;
-
- if (open && !prevOpen) {
- this.focusNextOnOpen();
- }
-
- if (!open && prevOpen) {
- // if focus hasn't already moved from the menu let's return it
- // to the toggle
- if (this._focusInDropdown) {
- this._focusInDropdown = false;
- this.focus();
- }
- }
- };
-
- Dropdown.prototype.focus = function focus() {
- var toggle = __WEBPACK_IMPORTED_MODULE_11_react_dom___default.a.findDOMNode(this.toggle);
-
- if (toggle && toggle.focus) {
- toggle.focus();
- }
- };
-
- Dropdown.prototype.focusNextOnOpen = function focusNextOnOpen() {
- var menu = this.menu;
-
- if (!menu.focusNext) {
- return;
- }
-
- if (this.lastOpenEventType === 'keydown' || this.props.role === 'menuitem') {
- menu.focusNext();
- }
- };
-
- Dropdown.prototype.handleClick = function handleClick(event) {
- if (this.props.disabled) {
- return;
- }
-
- this.toggleOpen(event, { source: 'click' });
- };
-
- Dropdown.prototype.handleClose = function handleClose(event, eventDetails) {
- if (!this.props.open) {
- return;
- }
-
- this.toggleOpen(event, eventDetails);
- };
-
- Dropdown.prototype.handleKeyDown = function handleKeyDown(event) {
- if (this.props.disabled) {
- return;
- }
-
- switch (event.keyCode) {
- case __WEBPACK_IMPORTED_MODULE_8_keycode___default.a.codes.down:
- if (!this.props.open) {
- this.toggleOpen(event, { source: 'keydown' });
- } else if (this.menu.focusNext) {
- this.menu.focusNext();
- }
- event.preventDefault();
- break;
- case __WEBPACK_IMPORTED_MODULE_8_keycode___default.a.codes.esc:
- case __WEBPACK_IMPORTED_MODULE_8_keycode___default.a.codes.tab:
- this.handleClose(event, { source: 'keydown' });
- break;
- default:
- }
- };
-
- Dropdown.prototype.toggleOpen = function toggleOpen(event, eventDetails) {
- var open = !this.props.open;
-
- if (open) {
- this.lastOpenEventType = eventDetails.source;
- }
-
- if (this.props.onToggle) {
- this.props.onToggle(open, event, eventDetails);
- }
- };
-
- Dropdown.prototype.renderMenu = function renderMenu(child, _ref) {
- var _this2 = this;
-
- var id = _ref.id,
- onSelect = _ref.onSelect,
- rootCloseEvent = _ref.rootCloseEvent,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_ref, ['id', 'onSelect', 'rootCloseEvent']);
-
- var ref = function ref(c) {
- _this2.menu = c;
- };
-
- if (typeof child.ref === 'string') {
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_16_warning___default()(false, 'String refs are not supported on `` components. ' + 'To apply a ref to the component use the callback signature:\n\n ' + 'https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute') : void 0;
- } else {
- ref = Object(__WEBPACK_IMPORTED_MODULE_21__utils_createChainedFunction__["a" /* default */])(child.ref, ref);
- }
-
- return Object(__WEBPACK_IMPORTED_MODULE_9_react__["cloneElement"])(child, __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, props, {
- ref: ref,
- labelledBy: id,
- bsClass: Object(__WEBPACK_IMPORTED_MODULE_20__utils_bootstrapUtils__["e" /* prefix */])(props, 'menu'),
- onClose: Object(__WEBPACK_IMPORTED_MODULE_21__utils_createChainedFunction__["a" /* default */])(child.props.onClose, this.handleClose),
- onSelect: Object(__WEBPACK_IMPORTED_MODULE_21__utils_createChainedFunction__["a" /* default */])(child.props.onSelect, onSelect, function (key, event) {
- return _this2.handleClose(event, { source: 'select' });
- }),
- rootCloseEvent: rootCloseEvent
- }));
- };
-
- Dropdown.prototype.renderToggle = function renderToggle(child, props) {
- var _this3 = this;
-
- var ref = function ref(c) {
- _this3.toggle = c;
- };
-
- if (typeof child.ref === 'string') {
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_16_warning___default()(false, 'String refs are not supported on `` components. ' + 'To apply a ref to the component use the callback signature:\n\n ' + 'https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute') : void 0;
- } else {
- ref = Object(__WEBPACK_IMPORTED_MODULE_21__utils_createChainedFunction__["a" /* default */])(child.ref, ref);
- }
-
- return Object(__WEBPACK_IMPORTED_MODULE_9_react__["cloneElement"])(child, __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, props, {
- ref: ref,
- bsClass: Object(__WEBPACK_IMPORTED_MODULE_20__utils_bootstrapUtils__["e" /* prefix */])(props, 'toggle'),
- onClick: Object(__WEBPACK_IMPORTED_MODULE_21__utils_createChainedFunction__["a" /* default */])(child.props.onClick, this.handleClick),
- onKeyDown: Object(__WEBPACK_IMPORTED_MODULE_21__utils_createChainedFunction__["a" /* default */])(child.props.onKeyDown, this.handleKeyDown)
- }));
- };
-
- Dropdown.prototype.render = function render() {
- var _classes,
- _this4 = this;
-
- var _props = this.props,
- Component = _props.componentClass,
- id = _props.id,
- dropup = _props.dropup,
- disabled = _props.disabled,
- pullRight = _props.pullRight,
- open = _props.open,
- onSelect = _props.onSelect,
- role = _props.role,
- bsClass = _props.bsClass,
- className = _props.className,
- rootCloseEvent = _props.rootCloseEvent,
- children = _props.children,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['componentClass', 'id', 'dropup', 'disabled', 'pullRight', 'open', 'onSelect', 'role', 'bsClass', 'className', 'rootCloseEvent', 'children']);
-
- delete props.onToggle;
-
- var classes = (_classes = {}, _classes[bsClass] = true, _classes.open = open, _classes.disabled = disabled, _classes);
-
- if (dropup) {
- classes[bsClass] = false;
- classes.dropup = true;
- }
-
- // This intentionally forwards bsSize and bsStyle (if set) to the
- // underlying component, to allow it to render size and style variants.
-
- return __WEBPACK_IMPORTED_MODULE_9_react___default.a.createElement(
- Component,
- __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, props, {
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, classes)
- }),
- __WEBPACK_IMPORTED_MODULE_23__utils_ValidComponentChildren__["a" /* default */].map(children, function (child) {
- switch (child.props.bsRole) {
- case TOGGLE_ROLE:
- return _this4.renderToggle(child, {
- id: id, disabled: disabled, open: open, role: role, bsClass: bsClass
- });
- case MENU_ROLE:
- return _this4.renderMenu(child, {
- id: id, open: open, pullRight: pullRight, bsClass: bsClass, onSelect: onSelect, rootCloseEvent: rootCloseEvent
- });
- default:
- return child;
- }
- })
- );
- };
-
- return Dropdown;
-}(__WEBPACK_IMPORTED_MODULE_9_react___default.a.Component);
-
-Dropdown.propTypes = propTypes;
-Dropdown.defaultProps = defaultProps;
-
-Object(__WEBPACK_IMPORTED_MODULE_20__utils_bootstrapUtils__["a" /* bsClass */])('dropdown', Dropdown);
-
-var UncontrolledDropdown = __WEBPACK_IMPORTED_MODULE_15_uncontrollable___default()(Dropdown, { open: 'onToggle' });
-
-UncontrolledDropdown.Toggle = __WEBPACK_IMPORTED_MODULE_19__DropdownToggle__["a" /* default */];
-UncontrolledDropdown.Menu = __WEBPACK_IMPORTED_MODULE_18__DropdownMenu__["a" /* default */];
-
-/* harmony default export */ __webpack_exports__["a"] = (UncontrolledDropdown);
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 66 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_react_overlays_lib_Transition__ = __webpack_require__(67);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_react_overlays_lib_Transition___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_react_overlays_lib_Transition__);
-
-
-
-
-
-
-
-
-
-var propTypes = {
- /**
- * Show the component; triggers the fade in or fade out animation
- */
- in: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.bool,
-
- /**
- * Wait until the first "enter" transition to mount the component (add it to the DOM)
- */
- mountOnEnter: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.bool,
-
- /**
- * Unmount the component (remove it from the DOM) when it is faded out
- */
- unmountOnExit: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.bool,
-
- /**
- * Run the fade in animation when the component mounts, if it is initially
- * shown
- */
- transitionAppear: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.bool,
-
- /**
- * Duration of the fade animation in milliseconds, to ensure that finishing
- * callbacks are fired even if the original browser transition end events are
- * canceled
- */
- timeout: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.number,
-
- /**
- * Callback fired before the component fades in
- */
- onEnter: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.func,
- /**
- * Callback fired after the component starts to fade in
- */
- onEntering: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.func,
- /**
- * Callback fired after the has component faded in
- */
- onEntered: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.func,
- /**
- * Callback fired before the component fades out
- */
- onExit: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.func,
- /**
- * Callback fired after the component starts to fade out
- */
- onExiting: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.func,
- /**
- * Callback fired after the component has faded out
- */
- onExited: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.func
-};
-
-var defaultProps = {
- in: false,
- timeout: 300,
- mountOnEnter: false,
- unmountOnExit: false,
- transitionAppear: false
-};
-
-var Fade = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits___default()(Fade, _React$Component);
-
- function Fade() {
- __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default()(this, Fade);
-
- return __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- Fade.prototype.render = function render() {
- return __WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_react_overlays_lib_Transition___default.a, __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, this.props, {
- className: __WEBPACK_IMPORTED_MODULE_4_classnames___default()(this.props.className, 'fade'),
- enteredClassName: 'in',
- enteringClassName: 'in'
- }));
- };
-
- return Fade;
-}(__WEBPACK_IMPORTED_MODULE_5_react___default.a.Component);
-
-Fade.propTypes = propTypes;
-Fade.defaultProps = defaultProps;
-
-/* harmony default export */ __webpack_exports__["a"] = (Fade);
-
-/***/ }),
-/* 67 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.EXITING = exports.ENTERED = exports.ENTERING = exports.EXITED = exports.UNMOUNTED = undefined;
-
-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _on = __webpack_require__(59);
-
-var _on2 = _interopRequireDefault(_on);
-
-var _properties = __webpack_require__(119);
-
-var _properties2 = _interopRequireDefault(_properties);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-var transitionEndEvent = _properties2.default.end;
-
-var UNMOUNTED = exports.UNMOUNTED = 0;
-var EXITED = exports.EXITED = 1;
-var ENTERING = exports.ENTERING = 2;
-var ENTERED = exports.ENTERED = 3;
-var EXITING = exports.EXITING = 4;
-
-/**
- * The Transition component lets you define and run css transitions with a simple declarative api.
- * It works similar to React's own [CSSTransitionGroup](http://facebook.github.io/react/docs/animation.html#high-level-api-reactcsstransitiongroup)
- * but is specifically optimized for transitioning a single child "in" or "out".
- *
- * You don't even need to use class based css transitions if you don't want to (but it is easiest).
- * The extensive set of lifecycle callbacks means you have control over
- * the transitioning now at each step of the way.
- */
-
-var Transition = function (_React$Component) {
- _inherits(Transition, _React$Component);
-
- function Transition(props, context) {
- _classCallCheck(this, Transition);
-
- var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));
-
- _this.updateStatus = function () {
- if (_this.nextStatus !== null) {
- // nextStatus will always be ENTERING or EXITING.
- _this.cancelNextCallback();
- var node = _reactDom2.default.findDOMNode(_this);
-
- if (_this.nextStatus === ENTERING) {
- _this.props.onEnter(node);
-
- _this.safeSetState({ status: ENTERING }, function () {
- _this.props.onEntering(node);
-
- _this.onTransitionEnd(node, function () {
- _this.safeSetState({ status: ENTERED }, function () {
- _this.props.onEntered(node);
- });
- });
- });
- } else {
- _this.props.onExit(node);
-
- _this.safeSetState({ status: EXITING }, function () {
- _this.props.onExiting(node);
-
- _this.onTransitionEnd(node, function () {
- _this.safeSetState({ status: EXITED }, function () {
- _this.props.onExited(node);
- });
- });
- });
- }
-
- _this.nextStatus = null;
- } else if (_this.props.unmountOnExit && _this.state.status === EXITED) {
- _this.setState({ status: UNMOUNTED });
- }
- };
-
- _this.cancelNextCallback = function () {
- if (_this.nextCallback !== null) {
- _this.nextCallback.cancel();
- _this.nextCallback = null;
- }
- };
-
- _this.safeSetState = function (nextState, callback) {
- // This shouldn't be necessary, but there are weird race conditions with
- // setState callbacks and unmounting in testing, so always make sure that
- // we can cancel any pending setState callbacks after we unmount.
- _this.setState(nextState, _this.setNextCallback(callback));
- };
-
- _this.setNextCallback = function (callback) {
- var active = true;
-
- _this.nextCallback = function (event) {
- if (active) {
- active = false;
- _this.nextCallback = null;
-
- callback(event);
- }
- };
-
- _this.nextCallback.cancel = function () {
- active = false;
- };
-
- return _this.nextCallback;
- };
-
- _this.onTransitionEnd = function (node, handler) {
- _this.setNextCallback(handler);
-
- if (node) {
- (0, _on2.default)(node, transitionEndEvent, _this.nextCallback);
- setTimeout(_this.nextCallback, _this.props.timeout);
- } else {
- setTimeout(_this.nextCallback, 0);
- }
- };
-
- var initialStatus = void 0;
- _this.nextStatus = null;
-
- if (props.in) {
- if (props.transitionAppear) {
- initialStatus = EXITED;
- _this.nextStatus = ENTERING;
- } else {
- initialStatus = ENTERED;
- }
- } else {
- if (props.unmountOnExit || props.mountOnEnter) {
- initialStatus = UNMOUNTED;
- } else {
- initialStatus = EXITED;
- }
- }
-
- _this.state = { status: initialStatus };
-
- _this.nextCallback = null;
- return _this;
- }
-
- Transition.prototype.componentDidMount = function componentDidMount() {
- this.updateStatus();
- };
-
- Transition.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- var status = this.state.status;
-
-
- if (nextProps.in) {
- if (status === UNMOUNTED) {
- this.setState({ status: EXITED });
- }
- if (status !== ENTERING && status !== ENTERED) {
- this.nextStatus = ENTERING;
- }
- } else {
- if (status === ENTERING || status === ENTERED) {
- this.nextStatus = EXITING;
- }
- }
- };
-
- Transition.prototype.componentDidUpdate = function componentDidUpdate() {
- this.updateStatus();
- };
-
- Transition.prototype.componentWillUnmount = function componentWillUnmount() {
- this.cancelNextCallback();
- };
-
- Transition.prototype.render = function render() {
- var status = this.state.status;
- if (status === UNMOUNTED) {
- return null;
- }
-
- var _props = this.props,
- children = _props.children,
- className = _props.className,
- childProps = _objectWithoutProperties(_props, ['children', 'className']);
-
- Object.keys(Transition.propTypes).forEach(function (key) {
- return delete childProps[key];
- });
-
- var transitionClassName = void 0;
- if (status === EXITED) {
- transitionClassName = this.props.exitedClassName;
- } else if (status === ENTERING) {
- transitionClassName = this.props.enteringClassName;
- } else if (status === ENTERED) {
- transitionClassName = this.props.enteredClassName;
- } else if (status === EXITING) {
- transitionClassName = this.props.exitingClassName;
- }
-
- var child = _react2.default.Children.only(children);
- return _react2.default.cloneElement(child, _extends({}, childProps, {
- className: (0, _classnames2.default)(child.props.className, className, transitionClassName)
- }));
- };
-
- return Transition;
-}(_react2.default.Component);
-
-Transition.propTypes = {
- /**
- * Show the component; triggers the enter or exit animation
- */
- in: _propTypes2.default.bool,
-
- /**
- * Wait until the first "enter" transition to mount the component (add it to the DOM)
- */
- mountOnEnter: _propTypes2.default.bool,
-
- /**
- * Unmount the component (remove it from the DOM) when it is not shown
- */
- unmountOnExit: _propTypes2.default.bool,
-
- /**
- * Run the enter animation when the component mounts, if it is initially
- * shown
- */
- transitionAppear: _propTypes2.default.bool,
-
- /**
- * A Timeout for the animation, in milliseconds, to ensure that a node doesn't
- * transition indefinately if the browser transitionEnd events are
- * canceled or interrupted.
- *
- * By default this is set to a high number (5 seconds) as a failsafe. You should consider
- * setting this to the duration of your animation (or a bit above it).
- */
- timeout: _propTypes2.default.number,
-
- /**
- * CSS class or classes applied when the component is exited
- */
- exitedClassName: _propTypes2.default.string,
- /**
- * CSS class or classes applied while the component is exiting
- */
- exitingClassName: _propTypes2.default.string,
- /**
- * CSS class or classes applied when the component is entered
- */
- enteredClassName: _propTypes2.default.string,
- /**
- * CSS class or classes applied while the component is entering
- */
- enteringClassName: _propTypes2.default.string,
-
- /**
- * Callback fired before the "entering" classes are applied
- */
- onEnter: _propTypes2.default.func,
- /**
- * Callback fired after the "entering" classes are applied
- */
- onEntering: _propTypes2.default.func,
- /**
- * Callback fired after the "enter" classes are applied
- */
- onEntered: _propTypes2.default.func,
- /**
- * Callback fired before the "exiting" classes are applied
- */
- onExit: _propTypes2.default.func,
- /**
- * Callback fired after the "exiting" classes are applied
- */
- onExiting: _propTypes2.default.func,
- /**
- * Callback fired after the "exited" classes are applied
- */
- onExited: _propTypes2.default.func
-};
-
-// Name the function so it is clearer in the documentation
-function noop() {}
-
-Transition.displayName = 'Transition';
-
-Transition.defaultProps = {
- in: false,
- unmountOnExit: false,
- transitionAppear: false,
-
- timeout: 5000,
-
- onEnter: noop,
- onEntering: noop,
- onEntered: noop,
-
- onExit: noop,
- onExiting: noop,
- onExited: noop
-};
-
-exports.default = Transition;
-
-/***/ }),
-/* 68 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash__ = __webpack_require__(9);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__lib_utils__ = __webpack_require__(16);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__prop_types_inputPropTypes__ = __webpack_require__(64);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_scss__ = __webpack_require__(283);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__styles_scss__);
-var _jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/Checkbox/index.jsx";
-
-
-
-
-
-
-
-var getNextState = function getNextState(checked) {
- if (checked === 'partial') return false;
- return !checked;
-};
-
-var Checkbox = function Checkbox(_ref) {
- var name = _ref.name,
- value = _ref.value,
- label = _ref.label,
- dts = _ref.dts,
- disabled = _ref.disabled,
- checked = _ref.checked,
- id = _ref.id,
- className = _ref.className,
- inline = _ref.inline,
- onChange = _ref.onChange,
- size = _ref.size;
- if (!__WEBPACK_IMPORTED_MODULE_0_lodash___default.a.includes(__WEBPACK_IMPORTED_MODULE_4__prop_types_inputPropTypes__["a" /* checkboxCheckStates */], checked)) throw new Error("The 'checked' prop should be boolean or 'partial'");
- var componentClassName = __WEBPACK_IMPORTED_MODULE_2_classnames___default()(['checkbox-component', {
- 'checkbox-component-inline': inline,
- checked: checked === true,
- 'partial-checked': checked === 'partial',
- disabled: disabled
- }, className]);
-
- var handleChange = function handleChange() {
- return onChange(getNextState(checked), name, value);
- };
-
- return __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("div", Object.assign({
- className: componentClassName
- }, Object(__WEBPACK_IMPORTED_MODULE_3__lib_utils__["b" /* expandDts */])(dts), {
- __source: {
- fileName: _jsxFileName,
- lineNumber: 29
- },
- __self: this
- }), __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("label", {
- __source: {
- fileName: _jsxFileName,
- lineNumber: 30
- },
- __self: this
- }, __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("input", {
- type: "checkbox",
- name: name,
- checked: checked,
- disabled: disabled,
- onChange: handleChange,
- value: value,
- id: id,
- className: className,
- __source: {
- fileName: _jsxFileName,
- lineNumber: 31
- },
- __self: this
- }), __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("div", {
- className: "checkbox-component-icon",
- style: {
- width: size,
- height: size
- },
- __source: {
- fileName: _jsxFileName,
- lineNumber: 41
- },
- __self: this
- }), label ? __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("div", {
- className: "checkbox-component-label",
- style: {
- lineHeight: "".concat(size, "px")
- },
- __source: {
- fileName: _jsxFileName,
- lineNumber: 43
- },
- __self: this
- }, label) : null));
-};
-
-Checkbox.propTypes = __WEBPACK_IMPORTED_MODULE_4__prop_types_inputPropTypes__["c" /* checkboxPropTypes */];
-Checkbox.defaultProps = {
- dts: '',
- disabled: false,
- checked: false,
- onChange: __WEBPACK_IMPORTED_MODULE_0_lodash___default.a.noop,
- size: 16
-};
-/* harmony default export */ __webpack_exports__["a"] = (Checkbox);
-
-/***/ }),
-/* 69 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/**
- * Copyright (c) 2013-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-
-
-var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
-
-module.exports = ReactPropTypesSecret;
-
-
-/***/ }),
-/* 70 */
-/***/ (function(module, exports) {
-
-var g;
-
-// This works in non-strict mode
-g = (function() {
- return this;
-})();
-
-try {
- // This works if eval is allowed (see CSP)
- g = g || Function("return this")() || (1,eval)("this");
-} catch(e) {
- // This works if the window reference is available
- if(typeof window === "object")
- g = window;
-}
-
-// g can still be undefined, but nothing to do about it...
-// We return undefined, instead of nothing here, so it's
-// easier to handle this case. if(!global) { ...}
-
-module.exports = g;
-
-
-/***/ }),
-/* 71 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// optional / simple context binding
-var aFunction = __webpack_require__(143);
-module.exports = function (fn, that, length) {
- aFunction(fn);
- if (that === undefined) return fn;
- switch (length) {
- case 1: return function (a) {
- return fn.call(that, a);
- };
- case 2: return function (a, b) {
- return fn.call(that, a, b);
- };
- case 3: return function (a, b, c) {
- return fn.call(that, a, b, c);
- };
- }
- return function (/* ...args */) {
- return fn.apply(that, arguments);
- };
-};
-
-
-/***/ }),
-/* 72 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// 7.1.1 ToPrimitive(input [, PreferredType])
-var isObject = __webpack_require__(38);
-// instead of the ES6 spec version, we didn't implement @@toPrimitive case
-// and the second argument - flag - preferred type is a string
-module.exports = function (it, S) {
- if (!isObject(it)) return it;
- var fn, val;
- if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
- if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
- if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
- throw TypeError("Can't convert object to primitive value");
-};
-
-
-/***/ }),
-/* 73 */
-/***/ (function(module, exports) {
-
-var toString = {}.toString;
-
-module.exports = function (it) {
- return toString.call(it).slice(8, -1);
-};
-
-
-/***/ }),
-/* 74 */
-/***/ (function(module, exports) {
-
-// 7.2.1 RequireObjectCoercible(argument)
-module.exports = function (it) {
- if (it == undefined) throw TypeError("Can't call method on " + it);
- return it;
-};
-
-
-/***/ }),
-/* 75 */
-/***/ (function(module, exports) {
-
-// 7.1.4 ToInteger
-var ceil = Math.ceil;
-var floor = Math.floor;
-module.exports = function (it) {
- return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
-};
-
-
-/***/ }),
-/* 76 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var shared = __webpack_require__(77)('keys');
-var uid = __webpack_require__(56);
-module.exports = function (key) {
- return shared[key] || (shared[key] = uid(key));
-};
-
-
-/***/ }),
-/* 77 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var core = __webpack_require__(21);
-var global = __webpack_require__(29);
-var SHARED = '__core-js_shared__';
-var store = global[SHARED] || (global[SHARED] = {});
-
-(module.exports = function (key, value) {
- return store[key] || (store[key] = value !== undefined ? value : {});
-})('versions', []).push({
- version: core.version,
- mode: __webpack_require__(55) ? 'pure' : 'global',
- copyright: '© 2018 Denis Pushkarev (zloirock.ru)'
-});
-
-
-/***/ }),
-/* 78 */
-/***/ (function(module, exports) {
-
-// IE 8- don't enum bug keys
-module.exports = (
- 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
-).split(',');
-
-
-/***/ }),
-/* 79 */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = { "default": __webpack_require__(146), __esModule: true };
-
-/***/ }),
-/* 80 */
-/***/ (function(module, exports) {
-
-exports.f = Object.getOwnPropertySymbols;
-
-
-/***/ }),
-/* 81 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// 7.1.13 ToObject(argument)
-var defined = __webpack_require__(74);
-module.exports = function (it) {
- return Object(defined(it));
-};
-
-
-/***/ }),
-/* 82 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _iterator = __webpack_require__(149);
-
-var _iterator2 = _interopRequireDefault(_iterator);
-
-var _symbol = __webpack_require__(160);
-
-var _symbol2 = _interopRequireDefault(_symbol);
-
-var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; };
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) {
- return typeof obj === "undefined" ? "undefined" : _typeof(obj);
-} : function (obj) {
- return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj);
-};
-
-/***/ }),
-/* 83 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
-var anObject = __webpack_require__(37);
-var dPs = __webpack_require__(153);
-var enumBugKeys = __webpack_require__(78);
-var IE_PROTO = __webpack_require__(76)('IE_PROTO');
-var Empty = function () { /* empty */ };
-var PROTOTYPE = 'prototype';
-
-// Create object with fake `null` prototype: use iframe Object with cleared prototype
-var createDict = function () {
- // Thrash, waste and sodomy: IE GC bug
- var iframe = __webpack_require__(103)('iframe');
- var i = enumBugKeys.length;
- var lt = '<';
- var gt = '>';
- var iframeDocument;
- iframe.style.display = 'none';
- __webpack_require__(154).appendChild(iframe);
- iframe.src = 'javascript:'; // eslint-disable-line no-script-url
- // createDict = iframe.contentWindow.Object;
- // html.removeChild(iframe);
- iframeDocument = iframe.contentWindow.document;
- iframeDocument.open();
- iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
- iframeDocument.close();
- createDict = iframeDocument.F;
- while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
- return createDict();
-};
-
-module.exports = Object.create || function create(O, Properties) {
- var result;
- if (O !== null) {
- Empty[PROTOTYPE] = anObject(O);
- result = new Empty();
- Empty[PROTOTYPE] = null;
- // add "__proto__" for Object.getPrototypeOf polyfill
- result[IE_PROTO] = O;
- } else result = createDict();
- return Properties === undefined ? result : dPs(result, Properties);
-};
-
-
-/***/ }),
-/* 84 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var def = __webpack_require__(31).f;
-var has = __webpack_require__(32);
-var TAG = __webpack_require__(22)('toStringTag');
-
-module.exports = function (it, tag, stat) {
- if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
-};
-
-
-/***/ }),
-/* 85 */
-/***/ (function(module, exports, __webpack_require__) {
-
-exports.f = __webpack_require__(22);
-
-
-/***/ }),
-/* 86 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var global = __webpack_require__(29);
-var core = __webpack_require__(21);
-var LIBRARY = __webpack_require__(55);
-var wksExt = __webpack_require__(85);
-var defineProperty = __webpack_require__(31).f;
-module.exports = function (name) {
- var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
- if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
-};
-
-
-/***/ }),
-/* 87 */
-/***/ (function(module, exports) {
-
-function _inheritsLoose(subClass, superClass) {
- subClass.prototype = Object.create(superClass.prototype);
- subClass.prototype.constructor = subClass;
- subClass.__proto__ = superClass;
-}
-
-module.exports = _inheritsLoose;
-
-/***/ }),
-/* 88 */
-/***/ (function(module, exports) {
-
-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;
-
-/***/ }),
-/* 89 */
-/***/ (function(module, exports) {
-
-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;
-
-/***/ }),
-/* 90 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = activeElement;
-
-var _ownerDocument = _interopRequireDefault(__webpack_require__(34));
-
-function activeElement(doc) {
- if (doc === void 0) {
- doc = (0, _ownerDocument.default)();
- }
-
- try {
- return doc.activeElement;
- } catch (e) {
- /* ie throws if no active element */
- }
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 91 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _contains = __webpack_require__(30);
-
-var _contains2 = _interopRequireDefault(_contains);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-var _addEventListener = __webpack_require__(114);
-
-var _addEventListener2 = _interopRequireDefault(_addEventListener);
-
-var _ownerDocument = __webpack_require__(41);
-
-var _ownerDocument2 = _interopRequireDefault(_ownerDocument);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-var escapeKeyCode = 27;
-
-function isLeftClickEvent(event) {
- return event.button === 0;
-}
-
-function isModifiedEvent(event) {
- return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
-}
-
-/**
- * The ` ` component registers your callback on the document
- * when rendered. Powers the ` ` component. This is used achieve modal
- * style behavior where your callback is triggered when the user tries to
- * interact with the rest of the document or hits the `esc` key.
- */
-
-var RootCloseWrapper = function (_React$Component) {
- _inherits(RootCloseWrapper, _React$Component);
-
- function RootCloseWrapper(props, context) {
- _classCallCheck(this, RootCloseWrapper);
-
- var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));
-
- _this.addEventListeners = function () {
- var event = _this.props.event;
-
- var doc = (0, _ownerDocument2.default)(_this);
-
- // Use capture for this listener so it fires before React's listener, to
- // avoid false positives in the contains() check below if the target DOM
- // element is removed in the React mouse callback.
- _this.documentMouseCaptureListener = (0, _addEventListener2.default)(doc, event, _this.handleMouseCapture, true);
-
- _this.documentMouseListener = (0, _addEventListener2.default)(doc, event, _this.handleMouse);
-
- _this.documentKeyupListener = (0, _addEventListener2.default)(doc, 'keyup', _this.handleKeyUp);
- };
-
- _this.removeEventListeners = function () {
- if (_this.documentMouseCaptureListener) {
- _this.documentMouseCaptureListener.remove();
- }
-
- if (_this.documentMouseListener) {
- _this.documentMouseListener.remove();
- }
-
- if (_this.documentKeyupListener) {
- _this.documentKeyupListener.remove();
- }
- };
-
- _this.handleMouseCapture = function (e) {
- _this.preventMouseRootClose = isModifiedEvent(e) || !isLeftClickEvent(e) || (0, _contains2.default)(_reactDom2.default.findDOMNode(_this), e.target);
- };
-
- _this.handleMouse = function (e) {
- if (!_this.preventMouseRootClose && _this.props.onRootClose) {
- _this.props.onRootClose(e);
- }
- };
-
- _this.handleKeyUp = function (e) {
- if (e.keyCode === escapeKeyCode && _this.props.onRootClose) {
- _this.props.onRootClose(e);
- }
- };
-
- _this.preventMouseRootClose = false;
- return _this;
- }
-
- RootCloseWrapper.prototype.componentDidMount = function componentDidMount() {
- if (!this.props.disabled) {
- this.addEventListeners();
- }
- };
-
- RootCloseWrapper.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
- if (!this.props.disabled && prevProps.disabled) {
- this.addEventListeners();
- } else if (this.props.disabled && !prevProps.disabled) {
- this.removeEventListeners();
- }
- };
-
- RootCloseWrapper.prototype.componentWillUnmount = function componentWillUnmount() {
- if (!this.props.disabled) {
- this.removeEventListeners();
- }
- };
-
- RootCloseWrapper.prototype.render = function render() {
- return this.props.children;
- };
-
- return RootCloseWrapper;
-}(_react2.default.Component);
-
-RootCloseWrapper.displayName = 'RootCloseWrapper';
-
-RootCloseWrapper.propTypes = {
- /**
- * Callback fired after click or mousedown. Also triggers when user hits `esc`.
- */
- onRootClose: _propTypes2.default.func,
- /**
- * Children to render.
- */
- children: _propTypes2.default.element,
- /**
- * Disable the the RootCloseWrapper, preventing it from triggering `onRootClose`.
- */
- disabled: _propTypes2.default.bool,
- /**
- * Choose which document mouse event to bind to.
- */
- event: _propTypes2.default.oneOf(['click', 'mousedown'])
-};
-
-RootCloseWrapper.defaultProps = {
- event: 'click'
-};
-
-exports.default = RootCloseWrapper;
-module.exports = exports['default'];
-
-/***/ }),
-/* 92 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = void 0;
-
-var _inDOM = _interopRequireDefault(__webpack_require__(25));
-
-var off = function off() {};
-
-if (_inDOM.default) {
- off = function () {
- if (document.addEventListener) return function (node, eventName, handler, capture) {
- return node.removeEventListener(eventName, handler, capture || false);
- };else if (document.attachEvent) return function (node, eventName, handler) {
- return node.detachEvent('on' + eventName, handler);
- };
- }();
-}
-
-var _default = off;
-exports.default = _default;
-module.exports = exports["default"];
-
-/***/ }),
-/* 93 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _events = __webpack_require__(115);
-
-var _events2 = _interopRequireDefault(_events);
-
-var _ownerDocument = __webpack_require__(34);
-
-var _ownerDocument2 = _interopRequireDefault(_ownerDocument);
-
-var _inDOM = __webpack_require__(25);
-
-var _inDOM2 = _interopRequireDefault(_inDOM);
-
-var _scrollbarSize = __webpack_require__(94);
-
-var _scrollbarSize2 = _interopRequireDefault(_scrollbarSize);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-var _Modal = __webpack_require__(116);
-
-var _Modal2 = _interopRequireDefault(_Modal);
-
-var _isOverflowing = __webpack_require__(95);
-
-var _isOverflowing2 = _interopRequireDefault(_isOverflowing);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _Fade = __webpack_require__(121);
-
-var _Fade2 = _interopRequireDefault(_Fade);
-
-var _ModalBody = __webpack_require__(226);
-
-var _ModalBody2 = _interopRequireDefault(_ModalBody);
-
-var _ModalDialog = __webpack_require__(227);
-
-var _ModalDialog2 = _interopRequireDefault(_ModalDialog);
-
-var _ModalFooter = __webpack_require__(228);
-
-var _ModalFooter2 = _interopRequireDefault(_ModalFooter);
-
-var _ModalHeader = __webpack_require__(229);
-
-var _ModalHeader2 = _interopRequireDefault(_ModalHeader);
-
-var _ModalTitle = __webpack_require__(231);
-
-var _ModalTitle2 = _interopRequireDefault(_ModalTitle);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-var _createChainedFunction = __webpack_require__(24);
-
-var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
-var _splitComponentProps2 = __webpack_require__(232);
-
-var _splitComponentProps3 = _interopRequireDefault(_splitComponentProps2);
-
-var _StyleConfig = __webpack_require__(49);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = (0, _extends3.default)({}, _Modal2.default.propTypes, _ModalDialog2.default.propTypes, {
-
- /**
- * Include a backdrop component. Specify 'static' for a backdrop that doesn't
- * trigger an "onHide" when clicked.
- */
- backdrop: _propTypes2.default.oneOf(['static', true, false]),
-
- /**
- * Add an optional extra class name to .modal-backdrop
- * It could end up looking like class="modal-backdrop foo-modal-backdrop in".
- */
- backdropClassName: _propTypes2.default.string,
-
- /**
- * Close the modal when escape key is pressed
- */
- keyboard: _propTypes2.default.bool,
-
- /**
- * Open and close the Modal with a slide and fade animation.
- */
- animation: _propTypes2.default.bool,
-
- /**
- * A Component type that provides the modal content Markup. This is a useful
- * prop when you want to use your own styles and markup to create a custom
- * modal component.
- */
- dialogComponentClass: _elementType2.default,
-
- /**
- * When `true` The modal will automatically shift focus to itself when it
- * opens, and replace it to the last focused element when it closes.
- * Generally this should never be set to false as it makes the Modal less
- * accessible to assistive technologies, like screen-readers.
- */
- autoFocus: _propTypes2.default.bool,
-
- /**
- * When `true` The modal will prevent focus from leaving the Modal while
- * open. Consider leaving the default value here, as it is necessary to make
- * the Modal work well with assistive technologies, such as screen readers.
- */
- enforceFocus: _propTypes2.default.bool,
-
- /**
- * When `true` The modal will restore focus to previously focused element once
- * modal is hidden
- */
- restoreFocus: _propTypes2.default.bool,
-
- /**
- * When `true` The modal will show itself.
- */
- show: _propTypes2.default.bool,
-
- /**
- * A callback fired when the header closeButton or non-static backdrop is
- * clicked. Required if either are specified.
- */
- onHide: _propTypes2.default.func,
-
- /**
- * Callback fired before the Modal transitions in
- */
- onEnter: _propTypes2.default.func,
-
- /**
- * Callback fired as the Modal begins to transition in
- */
- onEntering: _propTypes2.default.func,
-
- /**
- * Callback fired after the Modal finishes transitioning in
- */
- onEntered: _propTypes2.default.func,
-
- /**
- * Callback fired right before the Modal transitions out
- */
- onExit: _propTypes2.default.func,
-
- /**
- * Callback fired as the Modal begins to transition out
- */
- onExiting: _propTypes2.default.func,
-
- /**
- * Callback fired after the Modal finishes transitioning out
- */
- onExited: _propTypes2.default.func,
-
- /**
- * @private
- */
- container: _Modal2.default.propTypes.container
-});
-
-var defaultProps = (0, _extends3.default)({}, _Modal2.default.defaultProps, {
- animation: true,
- dialogComponentClass: _ModalDialog2.default
-});
-
-var childContextTypes = {
- $bs_modal: _propTypes2.default.shape({
- onHide: _propTypes2.default.func
- })
-};
-
-var Modal = function (_React$Component) {
- (0, _inherits3.default)(Modal, _React$Component);
-
- function Modal(props, context) {
- (0, _classCallCheck3.default)(this, Modal);
-
- var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this, props, context));
-
- _this.handleEntering = _this.handleEntering.bind(_this);
- _this.handleExited = _this.handleExited.bind(_this);
- _this.handleWindowResize = _this.handleWindowResize.bind(_this);
- _this.handleDialogClick = _this.handleDialogClick.bind(_this);
- _this.setModalRef = _this.setModalRef.bind(_this);
-
- _this.state = {
- style: {}
- };
- return _this;
- }
-
- Modal.prototype.getChildContext = function getChildContext() {
- return {
- $bs_modal: {
- onHide: this.props.onHide
- }
- };
- };
-
- Modal.prototype.componentWillUnmount = function componentWillUnmount() {
- // Clean up the listener if we need to.
- this.handleExited();
- };
-
- Modal.prototype.setModalRef = function setModalRef(ref) {
- this._modal = ref;
- };
-
- Modal.prototype.handleDialogClick = function handleDialogClick(e) {
- if (e.target !== e.currentTarget) {
- return;
- }
-
- this.props.onHide();
- };
-
- Modal.prototype.handleEntering = function handleEntering() {
- // FIXME: This should work even when animation is disabled.
- _events2.default.on(window, 'resize', this.handleWindowResize);
- this.updateStyle();
- };
-
- Modal.prototype.handleExited = function handleExited() {
- // FIXME: This should work even when animation is disabled.
- _events2.default.off(window, 'resize', this.handleWindowResize);
- };
-
- Modal.prototype.handleWindowResize = function handleWindowResize() {
- this.updateStyle();
- };
-
- Modal.prototype.updateStyle = function updateStyle() {
- if (!_inDOM2.default) {
- return;
- }
-
- var dialogNode = this._modal.getDialogElement();
- var dialogHeight = dialogNode.scrollHeight;
-
- var document = (0, _ownerDocument2.default)(dialogNode);
- var bodyIsOverflowing = (0, _isOverflowing2.default)(_reactDom2.default.findDOMNode(this.props.container || document.body));
- var modalIsOverflowing = dialogHeight > document.documentElement.clientHeight;
-
- this.setState({
- style: {
- paddingRight: bodyIsOverflowing && !modalIsOverflowing ? (0, _scrollbarSize2.default)() : undefined,
- paddingLeft: !bodyIsOverflowing && modalIsOverflowing ? (0, _scrollbarSize2.default)() : undefined
- }
- });
- };
-
- Modal.prototype.render = function render() {
- var _props = this.props,
- backdrop = _props.backdrop,
- backdropClassName = _props.backdropClassName,
- animation = _props.animation,
- show = _props.show,
- Dialog = _props.dialogComponentClass,
- className = _props.className,
- style = _props.style,
- children = _props.children,
- onEntering = _props.onEntering,
- onExited = _props.onExited,
- props = (0, _objectWithoutProperties3.default)(_props, ['backdrop', 'backdropClassName', 'animation', 'show', 'dialogComponentClass', 'className', 'style', 'children', 'onEntering', 'onExited']);
-
- var _splitComponentProps = (0, _splitComponentProps3.default)(props, _Modal2.default),
- baseModalProps = _splitComponentProps[0],
- dialogProps = _splitComponentProps[1];
-
- var inClassName = show && !animation && 'in';
-
- return _react2.default.createElement(
- _Modal2.default,
- (0, _extends3.default)({}, baseModalProps, {
- ref: this.setModalRef,
- show: show,
- onEntering: (0, _createChainedFunction2.default)(onEntering, this.handleEntering),
- onExited: (0, _createChainedFunction2.default)(onExited, this.handleExited),
- backdrop: backdrop,
- backdropClassName: (0, _classnames2.default)((0, _bootstrapUtils.prefix)(props, 'backdrop'), backdropClassName, inClassName),
- containerClassName: (0, _bootstrapUtils.prefix)(props, 'open'),
- transition: animation ? _Fade2.default : undefined,
- dialogTransitionTimeout: Modal.TRANSITION_DURATION,
- backdropTransitionTimeout: Modal.BACKDROP_TRANSITION_DURATION
- }),
- _react2.default.createElement(
- Dialog,
- (0, _extends3.default)({}, dialogProps, {
- style: (0, _extends3.default)({}, this.state.style, style),
- className: (0, _classnames2.default)(className, inClassName),
- onClick: backdrop === true ? this.handleDialogClick : null
- }),
- children
- )
- );
- };
-
- return Modal;
-}(_react2.default.Component);
-
-Modal.propTypes = propTypes;
-Modal.defaultProps = defaultProps;
-Modal.childContextTypes = childContextTypes;
-
-Modal.Body = _ModalBody2.default;
-Modal.Header = _ModalHeader2.default;
-Modal.Title = _ModalTitle2.default;
-Modal.Footer = _ModalFooter2.default;
-
-Modal.Dialog = _ModalDialog2.default;
-
-Modal.TRANSITION_DURATION = 300;
-Modal.BACKDROP_TRANSITION_DURATION = 150;
-
-exports.default = (0, _bootstrapUtils.bsClass)('modal', (0, _bootstrapUtils.bsSizes)([_StyleConfig.Size.LARGE, _StyleConfig.Size.SMALL], Modal));
-module.exports = exports['default'];
-
-/***/ }),
-/* 94 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = scrollbarSize;
-
-var _inDOM = _interopRequireDefault(__webpack_require__(25));
-
-var size;
-
-function scrollbarSize(recalc) {
- if (!size && size !== 0 || recalc) {
- if (_inDOM.default) {
- var scrollDiv = document.createElement('div');
- scrollDiv.style.position = 'absolute';
- scrollDiv.style.top = '-9999px';
- scrollDiv.style.width = '50px';
- scrollDiv.style.height = '50px';
- scrollDiv.style.overflow = 'scroll';
- document.body.appendChild(scrollDiv);
- size = scrollDiv.offsetWidth - scrollDiv.clientWidth;
- document.body.removeChild(scrollDiv);
- }
- }
-
- return size;
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 95 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = isOverflowing;
-
-var _isWindow = __webpack_require__(62);
-
-var _isWindow2 = _interopRequireDefault(_isWindow);
-
-var _ownerDocument = __webpack_require__(34);
-
-var _ownerDocument2 = _interopRequireDefault(_ownerDocument);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function isBody(node) {
- return node && node.tagName.toLowerCase() === 'body';
-}
-
-function bodyIsOverflowing(node) {
- var doc = (0, _ownerDocument2.default)(node);
- var win = (0, _isWindow2.default)(doc);
- var fullWidth = win.innerWidth;
-
- // Support: ie8, no innerWidth
- if (!fullWidth) {
- var documentElementRect = doc.documentElement.getBoundingClientRect();
- fullWidth = documentElementRect.right - Math.abs(documentElementRect.left);
- }
-
- return doc.body.clientWidth < fullWidth;
-}
-
-function isOverflowing(container) {
- var win = (0, _isWindow2.default)(container);
-
- return win || isBody(container) ? bodyIsOverflowing(container) : container.scrollHeight > container.clientHeight;
-}
-module.exports = exports['default'];
-
-/***/ }),
-/* 96 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
-
-// CONCATENATED MODULE: ../node_modules/d3-timer/src/timer.js
-var timer_frame = 0, // is an animation frame pending?
- timeout = 0, // is a timeout pending?
- interval = 0, // are any timers active?
- pokeDelay = 1000, // how frequently we check for clock skew
- taskHead,
- taskTail,
- clockLast = 0,
- clockNow = 0,
- clockSkew = 0,
- clock = typeof performance === "object" && performance.now ? performance : Date,
- setFrame = typeof window === "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(f) { setTimeout(f, 17); };
-
-function now() {
- return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);
-}
-
-function clearNow() {
- clockNow = 0;
-}
-
-function Timer() {
- this._call =
- this._time =
- this._next = null;
-}
-
-Timer.prototype = timer.prototype = {
- constructor: Timer,
- restart: function(callback, delay, time) {
- if (typeof callback !== "function") throw new TypeError("callback is not a function");
- time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);
- if (!this._next && taskTail !== this) {
- if (taskTail) taskTail._next = this;
- else taskHead = this;
- taskTail = this;
- }
- this._call = callback;
- this._time = time;
- sleep();
- },
- stop: function() {
- if (this._call) {
- this._call = null;
- this._time = Infinity;
- sleep();
- }
- }
-};
-
-function timer(callback, delay, time) {
- var t = new Timer;
- t.restart(callback, delay, time);
- return t;
-}
-
-function timerFlush() {
- now(); // Get the current time, if not already set.
- ++timer_frame; // Pretend we’ve set an alarm, if we haven’t already.
- var t = taskHead, e;
- while (t) {
- if ((e = clockNow - t._time) >= 0) t._call.call(null, e);
- t = t._next;
- }
- --timer_frame;
-}
-
-function wake() {
- clockNow = (clockLast = clock.now()) + clockSkew;
- timer_frame = timeout = 0;
- try {
- timerFlush();
- } finally {
- timer_frame = 0;
- nap();
- clockNow = 0;
- }
-}
-
-function poke() {
- var now = clock.now(), delay = now - clockLast;
- if (delay > pokeDelay) clockSkew -= delay, clockLast = now;
-}
-
-function nap() {
- var t0, t1 = taskHead, t2, time = Infinity;
- while (t1) {
- if (t1._call) {
- if (time > t1._time) time = t1._time;
- t0 = t1, t1 = t1._next;
- } else {
- t2 = t1._next, t1._next = null;
- t1 = t0 ? t0._next = t2 : taskHead = t2;
- }
- }
- taskTail = t0;
- sleep(time);
-}
-
-function sleep(time) {
- if (timer_frame) return; // Soonest alarm already set, or will be.
- if (timeout) timeout = clearTimeout(timeout);
- var delay = time - clockNow; // Strictly less than if we recomputed clockNow.
- if (delay > 24) {
- if (time < Infinity) timeout = setTimeout(wake, time - clock.now() - clockSkew);
- if (interval) interval = clearInterval(interval);
- } else {
- if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay);
- timer_frame = 1, setFrame(wake);
- }
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-timer/src/timeout.js
-
-
-/* harmony default export */ var src_timeout = (function(callback, delay, time) {
- var t = new Timer;
- delay = delay == null ? 0 : +delay;
- t.restart(function(elapsed) {
- t.stop();
- callback(elapsed + delay);
- }, delay, time);
- return t;
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-timer/src/interval.js
-
-
-/* harmony default export */ var src_interval = (function(callback, delay, time) {
- var t = new Timer, total = delay;
- if (delay == null) return t.restart(callback, delay, time), t;
- delay = +delay, time = time == null ? now() : +time;
- t.restart(function tick(elapsed) {
- elapsed += total;
- t.restart(tick, total += delay, time);
- callback(elapsed);
- }, delay, time);
- return t;
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-timer/src/index.js
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "now", function() { return now; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "timer", function() { return timer; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "timerFlush", function() { return timerFlush; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "timeout", function() { return src_timeout; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interval", function() { return src_interval; });
-
-
-
-
-
-
-
-/***/ }),
-/* 97 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash__ = __webpack_require__(9);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__lib_utils__ = __webpack_require__(16);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__prop_types_inputPropTypes__ = __webpack_require__(64);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_scss__ = __webpack_require__(288);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__styles_scss__);
-var _jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/Radio/index.jsx";
-
-function _typeof(obj) { 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); }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
-
-function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
-
-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); }
-
-function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
-
-function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-
-
-var RadioButton =
-/*#__PURE__*/
-function (_React$Component) {
- _inherits(RadioButton, _React$Component);
-
- function RadioButton(props) {
- var _this;
-
- _classCallCheck(this, RadioButton);
-
- _this = _possibleConstructorReturn(this, _getPrototypeOf(RadioButton).call(this, props));
- _this.onChangeDefault = _this.onChangeDefault.bind(_assertThisInitialized(_assertThisInitialized(_this)));
- return _this;
- }
-
- _createClass(RadioButton, [{
- key: "onChangeDefault",
- value: function onChangeDefault(event) {
- this.props.onChange(event);
- }
- }, {
- key: "render",
- value: function render() {
- var _this$props = this.props,
- name = _this$props.name,
- className = _this$props.className,
- label = _this$props.label,
- dts = _this$props.dts,
- disabled = _this$props.disabled,
- checked = _this$props.checked,
- id = _this$props.id,
- value = _this$props.value,
- inline = _this$props.inline;
- var componentClassName = __WEBPACK_IMPORTED_MODULE_2_classnames___default()(['radio-component', {
- 'radio-component-inline': inline
- }]);
- var iconClassName = __WEBPACK_IMPORTED_MODULE_2_classnames___default()(['selection-component-icon', 'iradio', {
- checked: checked
- }, {
- disabled: disabled
- }]);
- return __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("div", Object.assign({
- className: componentClassName
- }, Object(__WEBPACK_IMPORTED_MODULE_3__lib_utils__["b" /* expandDts */])(dts), {
- __source: {
- fileName: _jsxFileName,
- lineNumber: 26
- },
- __self: this
- }), __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("label", {
- __source: {
- fileName: _jsxFileName,
- lineNumber: 27
- },
- __self: this
- }, __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("div", {
- className: "radio-component-input-container",
- __source: {
- fileName: _jsxFileName,
- lineNumber: 28
- },
- __self: this
- }, __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("span", {
- className: iconClassName,
- __source: {
- fileName: _jsxFileName,
- lineNumber: 29
- },
- __self: this
- }), __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("input", {
- type: "radio",
- name: name,
- checked: checked,
- disabled: disabled,
- onChange: this.onChangeDefault,
- value: value,
- id: id,
- className: className,
- __source: {
- fileName: _jsxFileName,
- lineNumber: 30
- },
- __self: this
- })), label ? __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("div", {
- className: "radio-component-label",
- __source: {
- fileName: _jsxFileName,
- lineNumber: 41
- },
- __self: this
- }, label) : null));
- }
- }]);
-
- return RadioButton;
-}(__WEBPACK_IMPORTED_MODULE_1_react___default.a.Component);
-
-RadioButton.propTypes = __WEBPACK_IMPORTED_MODULE_4__prop_types_inputPropTypes__["d" /* radioButtonPropTypes */];
-RadioButton.defaultProps = {
- dts: '',
- disabled: false,
- checked: false,
- onChange: __WEBPACK_IMPORTED_MODULE_0_lodash___default.a.noop
-};
-/* harmony default export */ __webpack_exports__["a"] = (RadioButton);
-
-/***/ }),
-/* 98 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_all__ = __webpack_require__(35);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_all___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_all__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Button__ = __webpack_require__(53);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__ = __webpack_require__(8);
-
-
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- vertical: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
- justified: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
-
- /**
- * Display block buttons; only useful when used with the "vertical" prop.
- * @type {bool}
- */
- block: __WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_all___default()(__WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool, function (_ref) {
- var block = _ref.block,
- vertical = _ref.vertical;
- return block && !vertical ? new Error('`block` requires `vertical` to be set to have any effect') : null;
- })
-};
-
-var defaultProps = {
- block: false,
- justified: false,
- vertical: false
-};
-
-var ButtonGroup = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(ButtonGroup, _React$Component);
-
- function ButtonGroup() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, ButtonGroup);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- ButtonGroup.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- block = _props.block,
- justified = _props.justified,
- vertical = _props.vertical,
- className = _props.className,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['block', 'justified', 'vertical', 'className']);
-
- var _splitBsProps = Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps), (_extends2 = {}, _extends2[Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["e" /* prefix */])(bsProps)] = !vertical, _extends2[Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["e" /* prefix */])(bsProps, 'vertical')] = vertical, _extends2[Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["e" /* prefix */])(bsProps, 'justified')] = justified, _extends2[Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["e" /* prefix */])(__WEBPACK_IMPORTED_MODULE_9__Button__["a" /* default */].defaultProps, 'block')] = block, _extends2));
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('div', __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, elementProps, {
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, classes)
- }));
- };
-
- return ButtonGroup;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-ButtonGroup.propTypes = propTypes;
-ButtonGroup.defaultProps = defaultProps;
-
-/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["a" /* bsClass */])('btn-group', ButtonGroup));
-
-/***/ }),
-/* 99 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_bootstrapUtils__ = __webpack_require__(8);
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- /**
- * An icon name without "glyphicon-" prefix. See e.g. http://getbootstrap.com/components/#glyphicons
- */
- glyph: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.string.isRequired
-};
-
-var Glyphicon = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(Glyphicon, _React$Component);
-
- function Glyphicon() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, Glyphicon);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- Glyphicon.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- glyph = _props.glyph,
- className = _props.className,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['glyph', 'className']);
-
- var _splitBsProps = Object(__WEBPACK_IMPORTED_MODULE_8__utils_bootstrapUtils__["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, Object(__WEBPACK_IMPORTED_MODULE_8__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps), (_extends2 = {}, _extends2[Object(__WEBPACK_IMPORTED_MODULE_8__utils_bootstrapUtils__["e" /* prefix */])(bsProps, glyph)] = true, _extends2));
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('span', __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, elementProps, {
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, classes)
- }));
- };
-
- return Glyphicon;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-Glyphicon.propTypes = propTypes;
-
-/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_8__utils_bootstrapUtils__["a" /* bsClass */])('glyphicon', Glyphicon));
-
-/***/ }),
-/* 100 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-var utils_namespaceObject = {};
-__webpack_require__.d(utils_namespaceObject, "bootstrapUtils", function() { return bootstrapUtils; });
-__webpack_require__.d(utils_namespaceObject, "createChainedFunction", function() { return createChainedFunction["a" /* default */]; });
-__webpack_require__.d(utils_namespaceObject, "ValidComponentChildren", function() { return ValidComponentChildren["a" /* default */]; });
-
-// EXTERNAL MODULE: ../node_modules/babel-runtime/helpers/extends.js
-var helpers_extends = __webpack_require__(6);
-var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
-
-// EXTERNAL MODULE: ../node_modules/babel-runtime/helpers/classCallCheck.js
-var classCallCheck = __webpack_require__(3);
-var classCallCheck_default = /*#__PURE__*/__webpack_require__.n(classCallCheck);
-
-// EXTERNAL MODULE: ../node_modules/babel-runtime/helpers/possibleConstructorReturn.js
-var possibleConstructorReturn = __webpack_require__(4);
-var possibleConstructorReturn_default = /*#__PURE__*/__webpack_require__.n(possibleConstructorReturn);
-
-// EXTERNAL MODULE: ../node_modules/babel-runtime/helpers/inherits.js
-var inherits = __webpack_require__(5);
-var inherits_default = /*#__PURE__*/__webpack_require__.n(inherits);
-
-// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"}
-var external___root___React___commonjs2___react___commonjs___react___amd___react__ = __webpack_require__(0);
-var external___root___React___commonjs2___react___commonjs___react___amd___react___default = /*#__PURE__*/__webpack_require__.n(external___root___React___commonjs2___react___commonjs___react___amd___react__);
-
-// EXTERNAL MODULE: ../node_modules/babel-runtime/core-js/object/assign.js
-var object_assign = __webpack_require__(79);
-var assign_default = /*#__PURE__*/__webpack_require__.n(object_assign);
-
-// EXTERNAL MODULE: ../node_modules/babel-runtime/helpers/objectWithoutProperties.js
-var objectWithoutProperties = __webpack_require__(7);
-var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
-
-// EXTERNAL MODULE: ../node_modules/classnames/index.js
-var classnames = __webpack_require__(2);
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
-
-// EXTERNAL MODULE: ../node_modules/prop-types/index.js
-var prop_types = __webpack_require__(1);
-var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/utils/bootstrapUtils.js
-var bootstrapUtils = __webpack_require__(8);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/utils/createChainedFunction.js
-var createChainedFunction = __webpack_require__(15);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/utils/ValidComponentChildren.js
-var ValidComponentChildren = __webpack_require__(20);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/PanelGroup.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- accordion: prop_types_default.a.bool,
- activeKey: prop_types_default.a.any,
- defaultActiveKey: prop_types_default.a.any,
- onSelect: prop_types_default.a.func,
- role: prop_types_default.a.string
-};
-
-var defaultProps = {
- accordion: false
-};
-
-// TODO: Use uncontrollable.
-
-var PanelGroup_PanelGroup = function (_React$Component) {
- inherits_default()(PanelGroup, _React$Component);
-
- function PanelGroup(props, context) {
- classCallCheck_default()(this, PanelGroup);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handleSelect = _this.handleSelect.bind(_this);
-
- _this.state = {
- activeKey: props.defaultActiveKey
- };
- return _this;
- }
-
- PanelGroup.prototype.handleSelect = function handleSelect(key, e) {
- e.preventDefault();
-
- if (this.props.onSelect) {
- this.props.onSelect(key, e);
- }
-
- if (this.state.activeKey === key) {
- key = null;
- }
-
- this.setState({ activeKey: key });
- };
-
- PanelGroup.prototype.render = function render() {
- var _this2 = this;
-
- var _props = this.props,
- accordion = _props.accordion,
- propsActiveKey = _props.activeKey,
- className = _props.className,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['accordion', 'activeKey', 'className', 'children']);
-
- var _splitBsPropsAndOmit = Object(bootstrapUtils["g" /* splitBsPropsAndOmit */])(props, ['defaultActiveKey', 'onSelect']),
- bsProps = _splitBsPropsAndOmit[0],
- elementProps = _splitBsPropsAndOmit[1];
-
- var activeKey = void 0;
- if (accordion) {
- activeKey = propsActiveKey != null ? propsActiveKey : this.state.activeKey;
- elementProps.role = elementProps.role || 'tablist';
- }
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }),
- ValidComponentChildren["a" /* default */].map(children, function (child) {
- var childProps = {
- bsStyle: child.props.bsStyle || bsProps.bsStyle
- };
-
- if (accordion) {
- assign_default()(childProps, {
- headerRole: 'tab',
- panelRole: 'tabpanel',
- collapsible: true,
- expanded: child.props.eventKey === activeKey,
- onSelect: Object(createChainedFunction["a" /* default */])(_this2.handleSelect, child.props.onSelect)
- });
- }
-
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["cloneElement"])(child, childProps);
- })
- );
- };
-
- return PanelGroup;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-PanelGroup_PanelGroup.propTypes = propTypes;
-PanelGroup_PanelGroup.defaultProps = defaultProps;
-
-/* harmony default export */ var es_PanelGroup = (Object(bootstrapUtils["a" /* bsClass */])('panel-group', PanelGroup_PanelGroup));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Accordion.js
-
-
-
-
-
-
-
-
-var Accordion_Accordion = function (_React$Component) {
- inherits_default()(Accordion, _React$Component);
-
- function Accordion() {
- classCallCheck_default()(this, Accordion);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Accordion.prototype.render = function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_PanelGroup,
- extends_default()({}, this.props, { accordion: true }),
- this.props.children
- );
- };
-
- return Accordion;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var es_Accordion = (Accordion_Accordion);
-// EXTERNAL MODULE: ../node_modules/babel-runtime/core-js/object/values.js
-var values = __webpack_require__(27);
-var values_default = /*#__PURE__*/__webpack_require__.n(values);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/utils/StyleConfig.js
-var StyleConfig = __webpack_require__(17);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/CloseButton.js
-
-
-
-
-
-
-var CloseButton_propTypes = {
- label: prop_types_default.a.string.isRequired,
- onClick: prop_types_default.a.func
-};
-
-var CloseButton_defaultProps = {
- label: 'Close'
-};
-
-var CloseButton_CloseButton = function (_React$Component) {
- inherits_default()(CloseButton, _React$Component);
-
- function CloseButton() {
- classCallCheck_default()(this, CloseButton);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- CloseButton.prototype.render = function render() {
- var _props = this.props,
- label = _props.label,
- onClick = _props.onClick;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'button',
- {
- type: 'button',
- className: 'close',
- onClick: onClick
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { 'aria-hidden': 'true' },
- '\xD7'
- ),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { className: 'sr-only' },
- label
- )
- );
- };
-
- return CloseButton;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-CloseButton_CloseButton.propTypes = CloseButton_propTypes;
-CloseButton_CloseButton.defaultProps = CloseButton_defaultProps;
-
-/* harmony default export */ var es_CloseButton = (CloseButton_CloseButton);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Alert.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var Alert_propTypes = {
- onDismiss: prop_types_default.a.func,
- closeLabel: prop_types_default.a.string
-};
-
-var Alert_defaultProps = {
- closeLabel: 'Close alert'
-};
-
-var Alert_Alert = function (_React$Component) {
- inherits_default()(Alert, _React$Component);
-
- function Alert() {
- classCallCheck_default()(this, Alert);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Alert.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- onDismiss = _props.onDismiss,
- closeLabel = _props.closeLabel,
- className = _props.className,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['onDismiss', 'closeLabel', 'className', 'children']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var dismissable = !!onDismiss;
- var classes = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), (_extends2 = {}, _extends2[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'dismissable')] = dismissable, _extends2));
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, elementProps, {
- role: 'alert',
- className: classnames_default()(className, classes)
- }),
- dismissable && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_CloseButton, {
- onClick: onDismiss,
- label: closeLabel
- }),
- children
- );
- };
-
- return Alert;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Alert_Alert.propTypes = Alert_propTypes;
-Alert_Alert.defaultProps = Alert_defaultProps;
-
-/* harmony default export */ var es_Alert = (Object(bootstrapUtils["c" /* bsStyles */])(values_default()(StyleConfig["d" /* State */]), StyleConfig["d" /* State */].INFO, Object(bootstrapUtils["a" /* bsClass */])('alert', Alert_Alert)));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Badge.js
-
-
-
-
-
-
-
-
-
-
-
-// TODO: `pullRight` doesn't belong here. There's no special handling here.
-
-var Badge_propTypes = {
- pullRight: prop_types_default.a.bool
-};
-
-var Badge_defaultProps = {
- pullRight: false
-};
-
-var Badge_Badge = function (_React$Component) {
- inherits_default()(Badge, _React$Component);
-
- function Badge() {
- classCallCheck_default()(this, Badge);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Badge.prototype.hasContent = function hasContent(children) {
- var result = false;
-
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.forEach(children, function (child) {
- if (result) {
- return;
- }
-
- if (child || child === 0) {
- result = true;
- }
- });
-
- return result;
- };
-
- Badge.prototype.render = function render() {
- var _props = this.props,
- pullRight = _props.pullRight,
- className = _props.className,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['pullRight', 'className', 'children']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), {
- 'pull-right': pullRight,
-
- // Hack for collapsing on IE8.
- hidden: !this.hasContent(children)
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }),
- children
- );
- };
-
- return Badge;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Badge_Badge.propTypes = Badge_propTypes;
-Badge_Badge.defaultProps = Badge_defaultProps;
-
-/* harmony default export */ var es_Badge = (Object(bootstrapUtils["a" /* bsClass */])('badge', Badge_Badge));
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/SafeAnchor.js
-var SafeAnchor = __webpack_require__(23);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/BreadcrumbItem.js
-
-
-
-
-
-
-
-
-
-
-
-var BreadcrumbItem_propTypes = {
- /**
- * If set to true, renders `span` instead of `a`
- */
- active: prop_types_default.a.bool,
- /**
- * `href` attribute for the inner `a` element
- */
- href: prop_types_default.a.string,
- /**
- * `title` attribute for the inner `a` element
- */
- title: prop_types_default.a.node,
- /**
- * `target` attribute for the inner `a` element
- */
- target: prop_types_default.a.string
-};
-
-var BreadcrumbItem_defaultProps = {
- active: false
-};
-
-var BreadcrumbItem_BreadcrumbItem = function (_React$Component) {
- inherits_default()(BreadcrumbItem, _React$Component);
-
- function BreadcrumbItem() {
- classCallCheck_default()(this, BreadcrumbItem);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- BreadcrumbItem.prototype.render = function render() {
- var _props = this.props,
- active = _props.active,
- href = _props.href,
- title = _props.title,
- target = _props.target,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['active', 'href', 'title', 'target', 'className']);
-
- // Don't try to render these props on non-active .
-
-
- var linkProps = { href: href, title: title, target: target };
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'li',
- { className: classnames_default()(className, { active: active }) },
- active ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('span', props) : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SafeAnchor["a" /* default */], extends_default()({}, props, linkProps))
- );
- };
-
- return BreadcrumbItem;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-BreadcrumbItem_BreadcrumbItem.propTypes = BreadcrumbItem_propTypes;
-BreadcrumbItem_BreadcrumbItem.defaultProps = BreadcrumbItem_defaultProps;
-
-/* harmony default export */ var es_BreadcrumbItem = (BreadcrumbItem_BreadcrumbItem);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Breadcrumb.js
-
-
-
-
-
-
-
-
-
-
-
-var Breadcrumb_Breadcrumb = function (_React$Component) {
- inherits_default()(Breadcrumb, _React$Component);
-
- function Breadcrumb() {
- classCallCheck_default()(this, Breadcrumb);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Breadcrumb.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('ol', extends_default()({}, elementProps, {
- role: 'navigation',
- 'aria-label': 'breadcrumbs',
- className: classnames_default()(className, classes)
- }));
- };
-
- return Breadcrumb;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Breadcrumb_Breadcrumb.Item = es_BreadcrumbItem;
-
-/* harmony default export */ var es_Breadcrumb = (Object(bootstrapUtils["a" /* bsClass */])('breadcrumb', Breadcrumb_Breadcrumb));
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/Button.js
-var Button = __webpack_require__(53);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/ButtonGroup.js
-var ButtonGroup = __webpack_require__(98);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/ButtonToolbar.js
-
-
-
-
-
-
-
-
-
-
-var ButtonToolbar_ButtonToolbar = function (_React$Component) {
- inherits_default()(ButtonToolbar, _React$Component);
-
- function ButtonToolbar() {
- classCallCheck_default()(this, ButtonToolbar);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- ButtonToolbar.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('div', extends_default()({}, elementProps, {
- role: 'toolbar',
- className: classnames_default()(className, classes)
- }));
- };
-
- return ButtonToolbar;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var es_ButtonToolbar = (Object(bootstrapUtils["a" /* bsClass */])('btn-toolbar', ButtonToolbar_ButtonToolbar));
-// EXTERNAL MODULE: ../node_modules/prop-types-extra/lib/elementType.js
-var elementType = __webpack_require__(10);
-var elementType_default = /*#__PURE__*/__webpack_require__.n(elementType);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/CarouselCaption.js
-
-
-
-
-
-
-
-
-
-
-
-var CarouselCaption_propTypes = {
- componentClass: elementType_default.a
-};
-
-var CarouselCaption_defaultProps = {
- componentClass: 'div'
-};
-
-var CarouselCaption_CarouselCaption = function (_React$Component) {
- inherits_default()(CarouselCaption, _React$Component);
-
- function CarouselCaption() {
- classCallCheck_default()(this, CarouselCaption);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- CarouselCaption.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return CarouselCaption;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-CarouselCaption_CarouselCaption.propTypes = CarouselCaption_propTypes;
-CarouselCaption_CarouselCaption.defaultProps = CarouselCaption_defaultProps;
-
-/* harmony default export */ var es_CarouselCaption = (Object(bootstrapUtils["a" /* bsClass */])('carousel-caption', CarouselCaption_CarouselCaption));
-// EXTERNAL MODULE: external {"root":"ReactDOM","commonjs2":"react-dom","commonjs":"react-dom","amd":"react-dom"}
-var external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__ = __webpack_require__(13);
-var external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom___default = /*#__PURE__*/__webpack_require__.n(external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/utils/TransitionEvents.js
-/**
- * Copyright 2013-2014, Facebook, Inc.
- * All rights reserved.
- *
- * This file contains a modified version of:
- * https://github.com/facebook/react/blob/v0.12.0/src/addons/transitions/ReactTransitionEvents.js
- *
- * This source code is licensed under the BSD-style license found here:
- * https://github.com/facebook/react/blob/v0.12.0/LICENSE
- * An additional grant of patent rights can be found here:
- * https://github.com/facebook/react/blob/v0.12.0/PATENTS
- */
-
-var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
-
-/**
- * EVENT_NAME_MAP is used to determine which event fired when a
- * transition/animation ends, based on the style property used to
- * define that event.
- */
-var EVENT_NAME_MAP = {
- transitionend: {
- transition: 'transitionend',
- WebkitTransition: 'webkitTransitionEnd',
- MozTransition: 'mozTransitionEnd',
- OTransition: 'oTransitionEnd',
- msTransition: 'MSTransitionEnd'
- },
-
- animationend: {
- animation: 'animationend',
- WebkitAnimation: 'webkitAnimationEnd',
- MozAnimation: 'mozAnimationEnd',
- OAnimation: 'oAnimationEnd',
- msAnimation: 'MSAnimationEnd'
- }
-};
-
-var endEvents = [];
-
-function detectEvents() {
- var testEl = document.createElement('div');
- var style = testEl.style;
-
- // On some platforms, in particular some releases of Android 4.x,
- // the un-prefixed "animation" and "transition" properties are defined on the
- // style object but the events that fire will still be prefixed, so we need
- // to check if the un-prefixed events are useable, and if not remove them
- // from the map
- if (!('AnimationEvent' in window)) {
- delete EVENT_NAME_MAP.animationend.animation;
- }
-
- if (!('TransitionEvent' in window)) {
- delete EVENT_NAME_MAP.transitionend.transition;
- }
-
- for (var baseEventName in EVENT_NAME_MAP) {
- // eslint-disable-line guard-for-in
- var baseEvents = EVENT_NAME_MAP[baseEventName];
- for (var styleName in baseEvents) {
- // eslint-disable-line guard-for-in
- if (styleName in style) {
- endEvents.push(baseEvents[styleName]);
- break;
- }
- }
- }
-}
-
-if (canUseDOM) {
- detectEvents();
-}
-
-// We use the raw {add|remove}EventListener() call because EventListener
-// does not know how to remove event listeners and we really should
-// clean up. Also, these events are not triggered in older browsers
-// so we should be A-OK here.
-
-function addEventListener(node, eventName, eventListener) {
- node.addEventListener(eventName, eventListener, false);
-}
-
-function removeEventListener(node, eventName, eventListener) {
- node.removeEventListener(eventName, eventListener, false);
-}
-
-var ReactTransitionEvents = {
- addEndEventListener: function addEndEventListener(node, eventListener) {
- if (endEvents.length === 0) {
- // If CSS transitions are not supported, trigger an "end animation"
- // event immediately.
- window.setTimeout(eventListener, 0);
- return;
- }
- endEvents.forEach(function (endEvent) {
- addEventListener(node, endEvent, eventListener);
- });
- },
- removeEndEventListener: function removeEndEventListener(node, eventListener) {
- if (endEvents.length === 0) {
- return;
- }
- endEvents.forEach(function (endEvent) {
- removeEventListener(node, endEvent, eventListener);
- });
- }
-};
-
-/* harmony default export */ var TransitionEvents = (ReactTransitionEvents);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/CarouselItem.js
-
-
-
-
-
-
-
-
-
-
-
-
-// TODO: This should use a timeout instead of TransitionEvents, or else just
-// not wait until transition end to trigger continuing animations.
-
-var CarouselItem_propTypes = {
- direction: prop_types_default.a.oneOf(['prev', 'next']),
- onAnimateOutEnd: prop_types_default.a.func,
- active: prop_types_default.a.bool,
- animateIn: prop_types_default.a.bool,
- animateOut: prop_types_default.a.bool,
- index: prop_types_default.a.number
-};
-
-var CarouselItem_defaultProps = {
- active: false,
- animateIn: false,
- animateOut: false
-};
-
-var CarouselItem_CarouselItem = function (_React$Component) {
- inherits_default()(CarouselItem, _React$Component);
-
- function CarouselItem(props, context) {
- classCallCheck_default()(this, CarouselItem);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handleAnimateOutEnd = _this.handleAnimateOutEnd.bind(_this);
-
- _this.state = {
- direction: null
- };
-
- _this.isUnmounted = false;
- return _this;
- }
-
- CarouselItem.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- if (this.props.active !== nextProps.active) {
- this.setState({ direction: null });
- }
- };
-
- CarouselItem.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
- var _this2 = this;
-
- var active = this.props.active;
-
- var prevActive = prevProps.active;
-
- if (!active && prevActive) {
- TransitionEvents.addEndEventListener(external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom___default.a.findDOMNode(this), this.handleAnimateOutEnd);
- }
-
- if (active !== prevActive) {
- setTimeout(function () {
- return _this2.startAnimation();
- }, 20);
- }
- };
-
- CarouselItem.prototype.componentWillUnmount = function componentWillUnmount() {
- this.isUnmounted = true;
- };
-
- CarouselItem.prototype.handleAnimateOutEnd = function handleAnimateOutEnd() {
- if (this.isUnmounted) {
- return;
- }
-
- if (this.props.onAnimateOutEnd) {
- this.props.onAnimateOutEnd(this.props.index);
- }
- };
-
- CarouselItem.prototype.startAnimation = function startAnimation() {
- if (this.isUnmounted) {
- return;
- }
-
- this.setState({
- direction: this.props.direction === 'prev' ? 'right' : 'left'
- });
- };
-
- CarouselItem.prototype.render = function render() {
- var _props = this.props,
- direction = _props.direction,
- active = _props.active,
- animateIn = _props.animateIn,
- animateOut = _props.animateOut,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['direction', 'active', 'animateIn', 'animateOut', 'className']);
-
- delete props.onAnimateOutEnd;
- delete props.index;
-
- var classes = {
- item: true,
- active: active && !animateIn || animateOut
- };
- if (direction && active && animateIn) {
- classes[direction] = true;
- }
- if (this.state.direction && (animateIn || animateOut)) {
- classes[this.state.direction] = true;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('div', extends_default()({}, props, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return CarouselItem;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-CarouselItem_CarouselItem.propTypes = CarouselItem_propTypes;
-CarouselItem_CarouselItem.defaultProps = CarouselItem_defaultProps;
-
-/* harmony default export */ var es_CarouselItem = (CarouselItem_CarouselItem);
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/Glyphicon.js
-var Glyphicon = __webpack_require__(99);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Carousel.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-// TODO: `slide` should be `animate`.
-
-// TODO: Use uncontrollable.
-
-var Carousel_propTypes = {
- slide: prop_types_default.a.bool,
- indicators: prop_types_default.a.bool,
- /**
- * The amount of time to delay between automatically cycling an item.
- * If `null`, carousel will not automatically cycle.
- */
- interval: prop_types_default.a.number,
- controls: prop_types_default.a.bool,
- pauseOnHover: prop_types_default.a.bool,
- wrap: prop_types_default.a.bool,
- /**
- * Callback fired when the active item changes.
- *
- * ```js
- * (eventKey: any) => any | (eventKey: any, event: Object) => any
- * ```
- *
- * If this callback takes two or more arguments, the second argument will
- * be a persisted event object with `direction` set to the direction of the
- * transition.
- */
- onSelect: prop_types_default.a.func,
- onSlideEnd: prop_types_default.a.func,
- activeIndex: prop_types_default.a.number,
- defaultActiveIndex: prop_types_default.a.number,
- direction: prop_types_default.a.oneOf(['prev', 'next']),
- prevIcon: prop_types_default.a.node,
- /**
- * Label shown to screen readers only, can be used to show the previous element
- * in the carousel.
- * Set to null to deactivate.
- */
- prevLabel: prop_types_default.a.string,
- nextIcon: prop_types_default.a.node,
- /**
- * Label shown to screen readers only, can be used to show the next element
- * in the carousel.
- * Set to null to deactivate.
- */
- nextLabel: prop_types_default.a.string
-};
-
-var Carousel_defaultProps = {
- slide: true,
- interval: 5000,
- pauseOnHover: true,
- wrap: true,
- indicators: true,
- controls: true,
- prevIcon: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Glyphicon["a" /* default */], { glyph: 'chevron-left' }),
- prevLabel: 'Previous',
- nextIcon: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Glyphicon["a" /* default */], { glyph: 'chevron-right' }),
- nextLabel: 'Next'
-};
-
-var Carousel_Carousel = function (_React$Component) {
- inherits_default()(Carousel, _React$Component);
-
- function Carousel(props, context) {
- classCallCheck_default()(this, Carousel);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handleMouseOver = _this.handleMouseOver.bind(_this);
- _this.handleMouseOut = _this.handleMouseOut.bind(_this);
- _this.handlePrev = _this.handlePrev.bind(_this);
- _this.handleNext = _this.handleNext.bind(_this);
- _this.handleItemAnimateOutEnd = _this.handleItemAnimateOutEnd.bind(_this);
-
- var defaultActiveIndex = props.defaultActiveIndex;
-
-
- _this.state = {
- activeIndex: defaultActiveIndex != null ? defaultActiveIndex : 0,
- previousActiveIndex: null,
- direction: null
- };
-
- _this.isUnmounted = false;
- return _this;
- }
-
- Carousel.prototype.componentDidMount = function componentDidMount() {
- this.waitForNext();
- };
-
- Carousel.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- var activeIndex = this.getActiveIndex();
-
- if (nextProps.activeIndex != null && nextProps.activeIndex !== activeIndex) {
- clearTimeout(this.timeout);
-
- this.setState({
- previousActiveIndex: activeIndex,
- direction: nextProps.direction != null ? nextProps.direction : this.getDirection(activeIndex, nextProps.activeIndex)
- });
- }
-
- if (nextProps.activeIndex == null && this.state.activeIndex >= nextProps.children.length) {
- this.setState({
- activeIndex: 0,
- previousActiveIndex: null,
- direction: null
- });
- }
- };
-
- Carousel.prototype.componentWillUnmount = function componentWillUnmount() {
- clearTimeout(this.timeout);
- this.isUnmounted = true;
- };
-
- Carousel.prototype.getActiveIndex = function getActiveIndex() {
- var activeIndexProp = this.props.activeIndex;
- return activeIndexProp != null ? activeIndexProp : this.state.activeIndex;
- };
-
- Carousel.prototype.getDirection = function getDirection(prevIndex, index) {
- if (prevIndex === index) {
- return null;
- }
-
- return prevIndex > index ? 'prev' : 'next';
- };
-
- Carousel.prototype.handleItemAnimateOutEnd = function handleItemAnimateOutEnd() {
- var _this2 = this;
-
- this.setState({
- previousActiveIndex: null,
- direction: null
- }, function () {
- _this2.waitForNext();
-
- if (_this2.props.onSlideEnd) {
- _this2.props.onSlideEnd();
- }
- });
- };
-
- Carousel.prototype.handleMouseOut = function handleMouseOut() {
- if (this.isPaused) {
- this.play();
- }
- };
-
- Carousel.prototype.handleMouseOver = function handleMouseOver() {
- if (this.props.pauseOnHover) {
- this.pause();
- }
- };
-
- Carousel.prototype.handleNext = function handleNext(e) {
- var index = this.getActiveIndex() + 1;
- var count = ValidComponentChildren["a" /* default */].count(this.props.children);
-
- if (index > count - 1) {
- if (!this.props.wrap) {
- return;
- }
- index = 0;
- }
-
- this.select(index, e, 'next');
- };
-
- Carousel.prototype.handlePrev = function handlePrev(e) {
- var index = this.getActiveIndex() - 1;
-
- if (index < 0) {
- if (!this.props.wrap) {
- return;
- }
- index = ValidComponentChildren["a" /* default */].count(this.props.children) - 1;
- }
-
- this.select(index, e, 'prev');
- };
-
- // This might be a public API.
-
-
- Carousel.prototype.pause = function pause() {
- this.isPaused = true;
- clearTimeout(this.timeout);
- };
-
- // This might be a public API.
-
-
- Carousel.prototype.play = function play() {
- this.isPaused = false;
- this.waitForNext();
- };
-
- Carousel.prototype.select = function select(index, e, direction) {
- clearTimeout(this.timeout);
-
- // TODO: Is this necessary? Seems like the only risk is if the component
- // unmounts while handleItemAnimateOutEnd fires.
- if (this.isUnmounted) {
- return;
- }
-
- var previousActiveIndex = this.props.slide ? this.getActiveIndex() : null;
- direction = direction || this.getDirection(previousActiveIndex, index);
-
- var onSelect = this.props.onSelect;
-
-
- if (onSelect) {
- if (onSelect.length > 1) {
- // React SyntheticEvents are pooled, so we need to remove this event
- // from the pool to add a custom property. To avoid unnecessarily
- // removing objects from the pool, only do this when the listener
- // actually wants the event.
- if (e) {
- e.persist();
- e.direction = direction;
- } else {
- e = { direction: direction };
- }
-
- onSelect(index, e);
- } else {
- onSelect(index);
- }
- }
-
- if (this.props.activeIndex == null && index !== previousActiveIndex) {
- if (this.state.previousActiveIndex != null) {
- // If currently animating don't activate the new index.
- // TODO: look into queueing this canceled call and
- // animating after the current animation has ended.
- return;
- }
-
- this.setState({
- activeIndex: index,
- previousActiveIndex: previousActiveIndex,
- direction: direction
- });
- }
- };
-
- Carousel.prototype.waitForNext = function waitForNext() {
- var _props = this.props,
- slide = _props.slide,
- interval = _props.interval,
- activeIndexProp = _props.activeIndex;
-
-
- if (!this.isPaused && slide && interval && activeIndexProp == null) {
- this.timeout = setTimeout(this.handleNext, interval);
- }
- };
-
- Carousel.prototype.renderControls = function renderControls(properties) {
- var wrap = properties.wrap,
- children = properties.children,
- activeIndex = properties.activeIndex,
- prevIcon = properties.prevIcon,
- nextIcon = properties.nextIcon,
- bsProps = properties.bsProps,
- prevLabel = properties.prevLabel,
- nextLabel = properties.nextLabel;
-
- var controlClassName = Object(bootstrapUtils["e" /* prefix */])(bsProps, 'control');
- var count = ValidComponentChildren["a" /* default */].count(children);
-
- return [(wrap || activeIndex !== 0) && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- SafeAnchor["a" /* default */],
- {
- key: 'prev',
- className: classnames_default()(controlClassName, 'left'),
- onClick: this.handlePrev
- },
- prevIcon,
- prevLabel && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { className: 'sr-only' },
- prevLabel
- )
- ), (wrap || activeIndex !== count - 1) && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- SafeAnchor["a" /* default */],
- {
- key: 'next',
- className: classnames_default()(controlClassName, 'right'),
- onClick: this.handleNext
- },
- nextIcon,
- nextLabel && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { className: 'sr-only' },
- nextLabel
- )
- )];
- };
-
- Carousel.prototype.renderIndicators = function renderIndicators(children, activeIndex, bsProps) {
- var _this3 = this;
-
- var indicators = [];
-
- ValidComponentChildren["a" /* default */].forEach(children, function (child, index) {
- indicators.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('li', {
- key: index,
- className: index === activeIndex ? 'active' : null,
- onClick: function onClick(e) {
- return _this3.select(index, e);
- }
- }),
-
- // Force whitespace between indicator elements. Bootstrap requires
- // this for correct spacing of elements.
- ' ');
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'ol',
- { className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'indicators') },
- indicators
- );
- };
-
- Carousel.prototype.render = function render() {
- var _this4 = this;
-
- var _props2 = this.props,
- slide = _props2.slide,
- indicators = _props2.indicators,
- controls = _props2.controls,
- wrap = _props2.wrap,
- prevIcon = _props2.prevIcon,
- prevLabel = _props2.prevLabel,
- nextIcon = _props2.nextIcon,
- nextLabel = _props2.nextLabel,
- className = _props2.className,
- children = _props2.children,
- props = objectWithoutProperties_default()(_props2, ['slide', 'indicators', 'controls', 'wrap', 'prevIcon', 'prevLabel', 'nextIcon', 'nextLabel', 'className', 'children']);
-
- var _state = this.state,
- previousActiveIndex = _state.previousActiveIndex,
- direction = _state.direction;
-
- var _splitBsPropsAndOmit = Object(bootstrapUtils["g" /* splitBsPropsAndOmit */])(props, ['interval', 'pauseOnHover', 'onSelect', 'onSlideEnd', 'activeIndex', // Accessed via this.getActiveIndex().
- 'defaultActiveIndex', 'direction']),
- bsProps = _splitBsPropsAndOmit[0],
- elementProps = _splitBsPropsAndOmit[1];
-
- var activeIndex = this.getActiveIndex();
-
- var classes = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), {
- slide: slide
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes),
- onMouseOver: this.handleMouseOver,
- onMouseOut: this.handleMouseOut
- }),
- indicators && this.renderIndicators(children, activeIndex, bsProps),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'inner') },
- ValidComponentChildren["a" /* default */].map(children, function (child, index) {
- var active = index === activeIndex;
- var previousActive = slide && index === previousActiveIndex;
-
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["cloneElement"])(child, {
- active: active,
- index: index,
- animateOut: previousActive,
- animateIn: active && previousActiveIndex != null && slide,
- direction: direction,
- onAnimateOutEnd: previousActive ? _this4.handleItemAnimateOutEnd : null
- });
- })
- ),
- controls && this.renderControls({
- wrap: wrap,
- children: children,
- activeIndex: activeIndex,
- prevIcon: prevIcon,
- prevLabel: prevLabel,
- nextIcon: nextIcon,
- nextLabel: nextLabel,
- bsProps: bsProps
- })
- );
- };
-
- return Carousel;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Carousel_Carousel.propTypes = Carousel_propTypes;
-Carousel_Carousel.defaultProps = Carousel_defaultProps;
-
-Carousel_Carousel.Caption = es_CarouselCaption;
-Carousel_Carousel.Item = es_CarouselItem;
-
-/* harmony default export */ var es_Carousel = (Object(bootstrapUtils["a" /* bsClass */])('carousel', Carousel_Carousel));
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/Checkbox.js
-var Checkbox = __webpack_require__(301);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/utils/capitalize.js
-function capitalize(string) {
- return "" + string.charAt(0).toUpperCase() + string.slice(1);
-}
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Clearfix.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var Clearfix_propTypes = {
- componentClass: elementType_default.a,
-
- /**
- * Apply clearfix
- *
- * on Extra small devices Phones
- *
- * adds class `visible-xs-block`
- */
- visibleXsBlock: prop_types_default.a.bool,
- /**
- * Apply clearfix
- *
- * on Small devices Tablets
- *
- * adds class `visible-sm-block`
- */
- visibleSmBlock: prop_types_default.a.bool,
- /**
- * Apply clearfix
- *
- * on Medium devices Desktops
- *
- * adds class `visible-md-block`
- */
- visibleMdBlock: prop_types_default.a.bool,
- /**
- * Apply clearfix
- *
- * on Large devices Desktops
- *
- * adds class `visible-lg-block`
- */
- visibleLgBlock: prop_types_default.a.bool
-};
-
-var Clearfix_defaultProps = {
- componentClass: 'div'
-};
-
-var Clearfix_Clearfix = function (_React$Component) {
- inherits_default()(Clearfix, _React$Component);
-
- function Clearfix() {
- classCallCheck_default()(this, Clearfix);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Clearfix.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- StyleConfig["a" /* DEVICE_SIZES */].forEach(function (size) {
- var propName = 'visible' + capitalize(size) + 'Block';
- if (elementProps[propName]) {
- classes['visible-' + size + '-block'] = true;
- }
-
- delete elementProps[propName];
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return Clearfix;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Clearfix_Clearfix.propTypes = Clearfix_propTypes;
-Clearfix_Clearfix.defaultProps = Clearfix_defaultProps;
-
-/* harmony default export */ var es_Clearfix = (Object(bootstrapUtils["a" /* bsClass */])('clearfix', Clearfix_Clearfix));
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/ControlLabel.js
-var ControlLabel = __webpack_require__(302);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Col.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-var Col_propTypes = {
- componentClass: elementType_default.a,
-
- /**
- * The number of columns you wish to span
- *
- * for Extra small devices Phones (<768px)
- *
- * class-prefix `col-xs-`
- */
- xs: prop_types_default.a.number,
- /**
- * The number of columns you wish to span
- *
- * for Small devices Tablets (≥768px)
- *
- * class-prefix `col-sm-`
- */
- sm: prop_types_default.a.number,
- /**
- * The number of columns you wish to span
- *
- * for Medium devices Desktops (≥992px)
- *
- * class-prefix `col-md-`
- */
- md: prop_types_default.a.number,
- /**
- * The number of columns you wish to span
- *
- * for Large devices Desktops (≥1200px)
- *
- * class-prefix `col-lg-`
- */
- lg: prop_types_default.a.number,
- /**
- * Hide column
- *
- * on Extra small devices Phones
- *
- * adds class `hidden-xs`
- */
- xsHidden: prop_types_default.a.bool,
- /**
- * Hide column
- *
- * on Small devices Tablets
- *
- * adds class `hidden-sm`
- */
- smHidden: prop_types_default.a.bool,
- /**
- * Hide column
- *
- * on Medium devices Desktops
- *
- * adds class `hidden-md`
- */
- mdHidden: prop_types_default.a.bool,
- /**
- * Hide column
- *
- * on Large devices Desktops
- *
- * adds class `hidden-lg`
- */
- lgHidden: prop_types_default.a.bool,
- /**
- * Move columns to the right
- *
- * for Extra small devices Phones
- *
- * class-prefix `col-xs-offset-`
- */
- xsOffset: prop_types_default.a.number,
- /**
- * Move columns to the right
- *
- * for Small devices Tablets
- *
- * class-prefix `col-sm-offset-`
- */
- smOffset: prop_types_default.a.number,
- /**
- * Move columns to the right
- *
- * for Medium devices Desktops
- *
- * class-prefix `col-md-offset-`
- */
- mdOffset: prop_types_default.a.number,
- /**
- * Move columns to the right
- *
- * for Large devices Desktops
- *
- * class-prefix `col-lg-offset-`
- */
- lgOffset: prop_types_default.a.number,
- /**
- * Change the order of grid columns to the right
- *
- * for Extra small devices Phones
- *
- * class-prefix `col-xs-push-`
- */
- xsPush: prop_types_default.a.number,
- /**
- * Change the order of grid columns to the right
- *
- * for Small devices Tablets
- *
- * class-prefix `col-sm-push-`
- */
- smPush: prop_types_default.a.number,
- /**
- * Change the order of grid columns to the right
- *
- * for Medium devices Desktops
- *
- * class-prefix `col-md-push-`
- */
- mdPush: prop_types_default.a.number,
- /**
- * Change the order of grid columns to the right
- *
- * for Large devices Desktops
- *
- * class-prefix `col-lg-push-`
- */
- lgPush: prop_types_default.a.number,
- /**
- * Change the order of grid columns to the left
- *
- * for Extra small devices Phones
- *
- * class-prefix `col-xs-pull-`
- */
- xsPull: prop_types_default.a.number,
- /**
- * Change the order of grid columns to the left
- *
- * for Small devices Tablets
- *
- * class-prefix `col-sm-pull-`
- */
- smPull: prop_types_default.a.number,
- /**
- * Change the order of grid columns to the left
- *
- * for Medium devices Desktops
- *
- * class-prefix `col-md-pull-`
- */
- mdPull: prop_types_default.a.number,
- /**
- * Change the order of grid columns to the left
- *
- * for Large devices Desktops
- *
- * class-prefix `col-lg-pull-`
- */
- lgPull: prop_types_default.a.number
-};
-
-var Col_defaultProps = {
- componentClass: 'div'
-};
-
-var Col_Col = function (_React$Component) {
- inherits_default()(Col, _React$Component);
-
- function Col() {
- classCallCheck_default()(this, Col);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Col.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = [];
-
- StyleConfig["a" /* DEVICE_SIZES */].forEach(function (size) {
- function popProp(propSuffix, modifier) {
- var propName = '' + size + propSuffix;
- var propValue = elementProps[propName];
-
- if (propValue != null) {
- classes.push(Object(bootstrapUtils["e" /* prefix */])(bsProps, '' + size + modifier + '-' + propValue));
- }
-
- delete elementProps[propName];
- }
-
- popProp('', '');
- popProp('Offset', '-offset');
- popProp('Push', '-push');
- popProp('Pull', '-pull');
-
- var hiddenPropName = size + 'Hidden';
- if (elementProps[hiddenPropName]) {
- classes.push('hidden-' + size);
- }
- delete elementProps[hiddenPropName];
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return Col;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Col_Col.propTypes = Col_propTypes;
-Col_Col.defaultProps = Col_defaultProps;
-
-/* harmony default export */ var es_Col = (Object(bootstrapUtils["a" /* bsClass */])('col', Col_Col));
-// EXTERNAL MODULE: ../node_modules/dom-helpers/style/index.js
-var dom_helpers_style = __webpack_require__(54);
-var style_default = /*#__PURE__*/__webpack_require__.n(dom_helpers_style);
-
-// EXTERNAL MODULE: ../node_modules/react-overlays/lib/Transition.js
-var Transition = __webpack_require__(67);
-var Transition_default = /*#__PURE__*/__webpack_require__.n(Transition);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Collapse.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var MARGINS = {
- height: ['marginTop', 'marginBottom'],
- width: ['marginLeft', 'marginRight']
-};
-
-// reading a dimension prop will cause the browser to recalculate,
-// which will let our animations work
-function triggerBrowserReflow(node) {
- node.offsetHeight; // eslint-disable-line no-unused-expressions
-}
-
-function getDimensionValue(dimension, elem) {
- var value = elem['offset' + capitalize(dimension)];
- var margins = MARGINS[dimension];
-
- return value + parseInt(style_default()(elem, margins[0]), 10) + parseInt(style_default()(elem, margins[1]), 10);
-}
-
-var Collapse_propTypes = {
- /**
- * Show the component; triggers the expand or collapse animation
- */
- in: prop_types_default.a.bool,
-
- /**
- * Wait until the first "enter" transition to mount the component (add it to the DOM)
- */
- mountOnEnter: prop_types_default.a.bool,
-
- /**
- * Unmount the component (remove it from the DOM) when it is collapsed
- */
- unmountOnExit: prop_types_default.a.bool,
-
- /**
- * Run the expand animation when the component mounts, if it is initially
- * shown
- */
- transitionAppear: prop_types_default.a.bool,
-
- /**
- * Duration of the collapse animation in milliseconds, to ensure that
- * finishing callbacks are fired even if the original browser transition end
- * events are canceled
- */
- timeout: prop_types_default.a.number,
-
- /**
- * Callback fired before the component expands
- */
- onEnter: prop_types_default.a.func,
- /**
- * Callback fired after the component starts to expand
- */
- onEntering: prop_types_default.a.func,
- /**
- * Callback fired after the component has expanded
- */
- onEntered: prop_types_default.a.func,
- /**
- * Callback fired before the component collapses
- */
- onExit: prop_types_default.a.func,
- /**
- * Callback fired after the component starts to collapse
- */
- onExiting: prop_types_default.a.func,
- /**
- * Callback fired after the component has collapsed
- */
- onExited: prop_types_default.a.func,
-
- /**
- * The dimension used when collapsing, or a function that returns the
- * dimension
- *
- * _Note: Bootstrap only partially supports 'width'!
- * You will need to supply your own CSS animation for the `.width` CSS class._
- */
- dimension: prop_types_default.a.oneOfType([prop_types_default.a.oneOf(['height', 'width']), prop_types_default.a.func]),
-
- /**
- * Function that returns the height or width of the animating DOM node
- *
- * Allows for providing some custom logic for how much the Collapse component
- * should animate in its specified dimension. Called with the current
- * dimension prop value and the DOM node.
- */
- getDimensionValue: prop_types_default.a.func,
-
- /**
- * ARIA role of collapsible element
- */
- role: prop_types_default.a.string
-};
-
-var Collapse_defaultProps = {
- in: false,
- timeout: 300,
- mountOnEnter: false,
- unmountOnExit: false,
- transitionAppear: false,
-
- dimension: 'height',
- getDimensionValue: getDimensionValue
-};
-
-var Collapse_Collapse = function (_React$Component) {
- inherits_default()(Collapse, _React$Component);
-
- function Collapse(props, context) {
- classCallCheck_default()(this, Collapse);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handleEnter = _this.handleEnter.bind(_this);
- _this.handleEntering = _this.handleEntering.bind(_this);
- _this.handleEntered = _this.handleEntered.bind(_this);
- _this.handleExit = _this.handleExit.bind(_this);
- _this.handleExiting = _this.handleExiting.bind(_this);
- return _this;
- }
-
- Collapse.prototype._dimension = function _dimension() {
- return typeof this.props.dimension === 'function' ? this.props.dimension() : this.props.dimension;
- };
-
- // for testing
-
-
- Collapse.prototype._getScrollDimensionValue = function _getScrollDimensionValue(elem, dimension) {
- return elem['scroll' + capitalize(dimension)] + 'px';
- };
-
- /* -- Expanding -- */
-
-
- Collapse.prototype.handleEnter = function handleEnter(elem) {
- var dimension = this._dimension();
- elem.style[dimension] = '0';
- };
-
- Collapse.prototype.handleEntered = function handleEntered(elem) {
- var dimension = this._dimension();
- elem.style[dimension] = null;
- };
-
- Collapse.prototype.handleEntering = function handleEntering(elem) {
- var dimension = this._dimension();
- elem.style[dimension] = this._getScrollDimensionValue(elem, dimension);
- };
-
- /* -- Collapsing -- */
-
-
- Collapse.prototype.handleExit = function handleExit(elem) {
- var dimension = this._dimension();
- elem.style[dimension] = this.props.getDimensionValue(dimension, elem) + 'px';
- triggerBrowserReflow(elem);
- };
-
- Collapse.prototype.handleExiting = function handleExiting(elem) {
- var dimension = this._dimension();
- elem.style[dimension] = '0';
- };
-
- Collapse.prototype.render = function render() {
- var _props = this.props,
- onEnter = _props.onEnter,
- onEntering = _props.onEntering,
- onEntered = _props.onEntered,
- onExit = _props.onExit,
- onExiting = _props.onExiting,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['onEnter', 'onEntering', 'onEntered', 'onExit', 'onExiting', 'className']);
-
- delete props.dimension;
- delete props.getDimensionValue;
-
- var handleEnter = Object(createChainedFunction["a" /* default */])(this.handleEnter, onEnter);
- var handleEntering = Object(createChainedFunction["a" /* default */])(this.handleEntering, onEntering);
- var handleEntered = Object(createChainedFunction["a" /* default */])(this.handleEntered, onEntered);
- var handleExit = Object(createChainedFunction["a" /* default */])(this.handleExit, onExit);
- var handleExiting = Object(createChainedFunction["a" /* default */])(this.handleExiting, onExiting);
-
- var classes = {
- width: this._dimension() === 'width'
- };
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Transition_default.a, extends_default()({}, props, {
- 'aria-expanded': props.role ? props.in : null,
- className: classnames_default()(className, classes),
- exitedClassName: 'collapse',
- exitingClassName: 'collapsing',
- enteredClassName: 'collapse in',
- enteringClassName: 'collapsing',
- onEnter: handleEnter,
- onEntering: handleEntering,
- onEntered: handleEntered,
- onExit: handleExit,
- onExiting: handleExiting
- }));
- };
-
- return Collapse;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Collapse_Collapse.propTypes = Collapse_propTypes;
-Collapse_Collapse.defaultProps = Collapse_defaultProps;
-
-/* harmony default export */ var es_Collapse = (Collapse_Collapse);
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/Dropdown.js
-var Dropdown = __webpack_require__(65);
-
-// EXTERNAL MODULE: ../node_modules/babel-runtime/core-js/object/entries.js
-var entries = __webpack_require__(57);
-var entries_default = /*#__PURE__*/__webpack_require__.n(entries);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/utils/splitComponentProps.js
-
-function splitComponentProps(props, Component) {
- var componentPropTypes = Component.propTypes;
-
- var parentProps = {};
- var childProps = {};
-
- entries_default()(props).forEach(function (_ref) {
- var propName = _ref[0],
- propValue = _ref[1];
-
- if (componentPropTypes[propName]) {
- parentProps[propName] = propValue;
- } else {
- childProps[propName] = propValue;
- }
- });
-
- return [parentProps, childProps];
-}
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/DropdownButton.js
-
-
-
-
-
-
-
-
-
-
-
-var DropdownButton_propTypes = extends_default()({}, Dropdown["a" /* default */].propTypes, {
-
- // Toggle props.
- bsStyle: prop_types_default.a.string,
- bsSize: prop_types_default.a.string,
- title: prop_types_default.a.node.isRequired,
- noCaret: prop_types_default.a.bool,
-
- // Override generated docs from .
- /**
- * @private
- */
- children: prop_types_default.a.node
-});
-
-var DropdownButton_DropdownButton = function (_React$Component) {
- inherits_default()(DropdownButton, _React$Component);
-
- function DropdownButton() {
- classCallCheck_default()(this, DropdownButton);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- DropdownButton.prototype.render = function render() {
- var _props = this.props,
- bsSize = _props.bsSize,
- bsStyle = _props.bsStyle,
- title = _props.title,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['bsSize', 'bsStyle', 'title', 'children']);
-
- var _splitComponentProps = splitComponentProps(props, Dropdown["a" /* default */].ControlledComponent),
- dropdownProps = _splitComponentProps[0],
- toggleProps = _splitComponentProps[1];
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Dropdown["a" /* default */],
- extends_default()({}, dropdownProps, {
- bsSize: bsSize,
- bsStyle: bsStyle
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Dropdown["a" /* default */].Toggle,
- extends_default()({}, toggleProps, {
- bsSize: bsSize,
- bsStyle: bsStyle
- }),
- title
- ),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Dropdown["a" /* default */].Menu,
- null,
- children
- )
- );
- };
-
- return DropdownButton;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-DropdownButton_DropdownButton.propTypes = DropdownButton_propTypes;
-
-/* harmony default export */ var es_DropdownButton = (DropdownButton_DropdownButton);
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/Fade.js
-var Fade = __webpack_require__(66);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Form.js
-
-
-
-
-
-
-
-
-
-
-
-
-var Form_propTypes = {
- horizontal: prop_types_default.a.bool,
- inline: prop_types_default.a.bool,
- componentClass: elementType_default.a
-};
-
-var Form_defaultProps = {
- horizontal: false,
- inline: false,
- componentClass: 'form'
-};
-
-var Form_Form = function (_React$Component) {
- inherits_default()(Form, _React$Component);
-
- function Form() {
- classCallCheck_default()(this, Form);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Form.prototype.render = function render() {
- var _props = this.props,
- horizontal = _props.horizontal,
- inline = _props.inline,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['horizontal', 'inline', 'componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = [];
- if (horizontal) {
- classes.push(Object(bootstrapUtils["e" /* prefix */])(bsProps, 'horizontal'));
- }
- if (inline) {
- classes.push(Object(bootstrapUtils["e" /* prefix */])(bsProps, 'inline'));
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return Form;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Form_Form.propTypes = Form_propTypes;
-Form_Form.defaultProps = Form_defaultProps;
-
-/* harmony default export */ var es_Form = (Object(bootstrapUtils["a" /* bsClass */])('form', Form_Form));
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/FormControl.js
-var FormControl = __webpack_require__(305);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/FormGroup.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-var FormGroup_propTypes = {
- /**
- * Sets `id` on `` and `htmlFor` on ``.
- */
- controlId: prop_types_default.a.string,
- validationState: prop_types_default.a.oneOf(['success', 'warning', 'error', null])
-};
-
-var childContextTypes = {
- $bs_formGroup: prop_types_default.a.object.isRequired
-};
-
-var FormGroup_FormGroup = function (_React$Component) {
- inherits_default()(FormGroup, _React$Component);
-
- function FormGroup() {
- classCallCheck_default()(this, FormGroup);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- FormGroup.prototype.getChildContext = function getChildContext() {
- var _props = this.props,
- controlId = _props.controlId,
- validationState = _props.validationState;
-
-
- return {
- $bs_formGroup: {
- controlId: controlId,
- validationState: validationState
- }
- };
- };
-
- FormGroup.prototype.hasFeedback = function hasFeedback(children) {
- var _this2 = this;
-
- return ValidComponentChildren["a" /* default */].some(children, function (child) {
- return child.props.bsRole === 'feedback' || child.props.children && _this2.hasFeedback(child.props.children);
- });
- };
-
- FormGroup.prototype.render = function render() {
- var _props2 = this.props,
- validationState = _props2.validationState,
- className = _props2.className,
- children = _props2.children,
- props = objectWithoutProperties_default()(_props2, ['validationState', 'className', 'children']);
-
- var _splitBsPropsAndOmit = Object(bootstrapUtils["g" /* splitBsPropsAndOmit */])(props, ['controlId']),
- bsProps = _splitBsPropsAndOmit[0],
- elementProps = _splitBsPropsAndOmit[1];
-
- var classes = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), {
- 'has-feedback': this.hasFeedback(children)
- });
- if (validationState) {
- classes['has-' + validationState] = true;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }),
- children
- );
- };
-
- return FormGroup;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-FormGroup_FormGroup.propTypes = FormGroup_propTypes;
-FormGroup_FormGroup.childContextTypes = childContextTypes;
-
-/* harmony default export */ var es_FormGroup = (Object(bootstrapUtils["a" /* bsClass */])('form-group', Object(bootstrapUtils["b" /* bsSizes */])([StyleConfig["c" /* Size */].LARGE, StyleConfig["c" /* Size */].SMALL], FormGroup_FormGroup)));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Grid.js
-
-
-
-
-
-
-
-
-
-
-
-
-var Grid_propTypes = {
- /**
- * Turn any fixed-width grid layout into a full-width layout by this property.
- *
- * Adds `container-fluid` class.
- */
- fluid: prop_types_default.a.bool,
- /**
- * You can use a custom element for this component
- */
- componentClass: elementType_default.a
-};
-
-var Grid_defaultProps = {
- componentClass: 'div',
- fluid: false
-};
-
-var Grid_Grid = function (_React$Component) {
- inherits_default()(Grid, _React$Component);
-
- function Grid() {
- classCallCheck_default()(this, Grid);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Grid.prototype.render = function render() {
- var _props = this.props,
- fluid = _props.fluid,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['fluid', 'componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["e" /* prefix */])(bsProps, fluid && 'fluid');
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return Grid;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Grid_Grid.propTypes = Grid_propTypes;
-Grid_Grid.defaultProps = Grid_defaultProps;
-
-/* harmony default export */ var es_Grid = (Object(bootstrapUtils["a" /* bsClass */])('container', Grid_Grid));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/HelpBlock.js
-
-
-
-
-
-
-
-
-
-
-var HelpBlock_HelpBlock = function (_React$Component) {
- inherits_default()(HelpBlock, _React$Component);
-
- function HelpBlock() {
- classCallCheck_default()(this, HelpBlock);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- HelpBlock.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('span', extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return HelpBlock;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var es_HelpBlock = (Object(bootstrapUtils["a" /* bsClass */])('help-block', HelpBlock_HelpBlock));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Image.js
-
-
-
-
-
-
-
-
-
-
-
-var Image_propTypes = {
- /**
- * Sets image as responsive image
- */
- responsive: prop_types_default.a.bool,
-
- /**
- * Sets image shape as rounded
- */
- rounded: prop_types_default.a.bool,
-
- /**
- * Sets image shape as circle
- */
- circle: prop_types_default.a.bool,
-
- /**
- * Sets image shape as thumbnail
- */
- thumbnail: prop_types_default.a.bool
-};
-
-var Image_defaultProps = {
- responsive: false,
- rounded: false,
- circle: false,
- thumbnail: false
-};
-
-var Image_Image = function (_React$Component) {
- inherits_default()(Image, _React$Component);
-
- function Image() {
- classCallCheck_default()(this, Image);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Image.prototype.render = function render() {
- var _classes;
-
- var _props = this.props,
- responsive = _props.responsive,
- rounded = _props.rounded,
- circle = _props.circle,
- thumbnail = _props.thumbnail,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['responsive', 'rounded', 'circle', 'thumbnail', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = (_classes = {}, _classes[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'responsive')] = responsive, _classes[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'rounded')] = rounded, _classes[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'circle')] = circle, _classes[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'thumbnail')] = thumbnail, _classes);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('img', extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return Image;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Image_Image.propTypes = Image_propTypes;
-Image_Image.defaultProps = Image_defaultProps;
-
-/* harmony default export */ var es_Image = (Object(bootstrapUtils["a" /* bsClass */])('img', Image_Image));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/InputGroupAddon.js
-
-
-
-
-
-
-
-
-
-
-var InputGroupAddon_InputGroupAddon = function (_React$Component) {
- inherits_default()(InputGroupAddon, _React$Component);
-
- function InputGroupAddon() {
- classCallCheck_default()(this, InputGroupAddon);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- InputGroupAddon.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('span', extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return InputGroupAddon;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var es_InputGroupAddon = (Object(bootstrapUtils["a" /* bsClass */])('input-group-addon', InputGroupAddon_InputGroupAddon));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/InputGroupButton.js
-
-
-
-
-
-
-
-
-
-
-var InputGroupButton_InputGroupButton = function (_React$Component) {
- inherits_default()(InputGroupButton, _React$Component);
-
- function InputGroupButton() {
- classCallCheck_default()(this, InputGroupButton);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- InputGroupButton.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('span', extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return InputGroupButton;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var es_InputGroupButton = (Object(bootstrapUtils["a" /* bsClass */])('input-group-btn', InputGroupButton_InputGroupButton));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/InputGroup.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-var InputGroup_InputGroup = function (_React$Component) {
- inherits_default()(InputGroup, _React$Component);
-
- function InputGroup() {
- classCallCheck_default()(this, InputGroup);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- InputGroup.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('span', extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return InputGroup;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-InputGroup_InputGroup.Addon = es_InputGroupAddon;
-InputGroup_InputGroup.Button = es_InputGroupButton;
-
-/* harmony default export */ var es_InputGroup = (Object(bootstrapUtils["a" /* bsClass */])('input-group', Object(bootstrapUtils["b" /* bsSizes */])([StyleConfig["c" /* Size */].LARGE, StyleConfig["c" /* Size */].SMALL], InputGroup_InputGroup)));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Jumbotron.js
-
-
-
-
-
-
-
-
-
-
-
-var Jumbotron_propTypes = {
- componentClass: elementType_default.a
-};
-
-var Jumbotron_defaultProps = {
- componentClass: 'div'
-};
-
-var Jumbotron_Jumbotron = function (_React$Component) {
- inherits_default()(Jumbotron, _React$Component);
-
- function Jumbotron() {
- classCallCheck_default()(this, Jumbotron);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Jumbotron.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return Jumbotron;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Jumbotron_Jumbotron.propTypes = Jumbotron_propTypes;
-Jumbotron_Jumbotron.defaultProps = Jumbotron_defaultProps;
-
-/* harmony default export */ var es_Jumbotron = (Object(bootstrapUtils["a" /* bsClass */])('jumbotron', Jumbotron_Jumbotron));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Label.js
-
-
-
-
-
-
-
-
-
-
-
-
-var Label_Label = function (_React$Component) {
- inherits_default()(Label, _React$Component);
-
- function Label() {
- classCallCheck_default()(this, Label);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Label.prototype.hasContent = function hasContent(children) {
- var result = false;
-
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.forEach(children, function (child) {
- if (result) {
- return;
- }
-
- if (child || child === 0) {
- result = true;
- }
- });
-
- return result;
- };
-
- Label.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['className', 'children']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), {
-
- // Hack for collapsing on IE8.
- hidden: !this.hasContent(children)
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }),
- children
- );
- };
-
- return Label;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var es_Label = (Object(bootstrapUtils["a" /* bsClass */])('label', Object(bootstrapUtils["c" /* bsStyles */])([].concat(values_default()(StyleConfig["d" /* State */]), [StyleConfig["e" /* Style */].DEFAULT, StyleConfig["e" /* Style */].PRIMARY]), StyleConfig["e" /* Style */].DEFAULT, Label_Label)));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/ListGroupItem.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-var ListGroupItem_propTypes = {
- active: prop_types_default.a.any,
- disabled: prop_types_default.a.any,
- header: prop_types_default.a.node,
- listItem: prop_types_default.a.bool,
- onClick: prop_types_default.a.func,
- href: prop_types_default.a.string,
- type: prop_types_default.a.string
-};
-
-var ListGroupItem_defaultProps = {
- listItem: false
-};
-
-var ListGroupItem_ListGroupItem = function (_React$Component) {
- inherits_default()(ListGroupItem, _React$Component);
-
- function ListGroupItem() {
- classCallCheck_default()(this, ListGroupItem);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- ListGroupItem.prototype.renderHeader = function renderHeader(header, headingClassName) {
- if (external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.isValidElement(header)) {
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["cloneElement"])(header, {
- className: classnames_default()(header.props.className, headingClassName)
- });
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'h4',
- { className: headingClassName },
- header
- );
- };
-
- ListGroupItem.prototype.render = function render() {
- var _props = this.props,
- active = _props.active,
- disabled = _props.disabled,
- className = _props.className,
- header = _props.header,
- listItem = _props.listItem,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['active', 'disabled', 'className', 'header', 'listItem', 'children']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), {
- active: active,
- disabled: disabled
- });
-
- var Component = void 0;
-
- if (elementProps.href) {
- Component = 'a';
- } else if (elementProps.onClick) {
- Component = 'button';
- elementProps.type = elementProps.type || 'button';
- } else if (listItem) {
- Component = 'li';
- } else {
- Component = 'span';
- }
-
- elementProps.className = classnames_default()(className, classes);
-
- // TODO: Deprecate `header` prop.
- if (header) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Component,
- elementProps,
- this.renderHeader(header, Object(bootstrapUtils["e" /* prefix */])(bsProps, 'heading')),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'p',
- { className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'text') },
- children
- )
- );
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Component,
- elementProps,
- children
- );
- };
-
- return ListGroupItem;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-ListGroupItem_ListGroupItem.propTypes = ListGroupItem_propTypes;
-ListGroupItem_ListGroupItem.defaultProps = ListGroupItem_defaultProps;
-
-/* harmony default export */ var es_ListGroupItem = (Object(bootstrapUtils["a" /* bsClass */])('list-group-item', Object(bootstrapUtils["c" /* bsStyles */])(values_default()(StyleConfig["d" /* State */]), ListGroupItem_ListGroupItem)));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/ListGroup.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-var ListGroup_propTypes = {
- /**
- * You can use a custom element type for this component.
- *
- * If not specified, it will be treated as `'li'` if every child is a
- * non-actionable ``, and `'div'` otherwise.
- */
- componentClass: elementType_default.a
-};
-
-function getDefaultComponent(children) {
- if (!children) {
- // FIXME: This is the old behavior. Is this right?
- return 'div';
- }
-
- if (ValidComponentChildren["a" /* default */].some(children, function (child) {
- return child.type !== es_ListGroupItem || child.props.href || child.props.onClick;
- })) {
- return 'div';
- }
-
- return 'ul';
-}
-
-var ListGroup_ListGroup = function (_React$Component) {
- inherits_default()(ListGroup, _React$Component);
-
- function ListGroup() {
- classCallCheck_default()(this, ListGroup);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- ListGroup.prototype.render = function render() {
- var _props = this.props,
- children = _props.children,
- _props$componentClass = _props.componentClass,
- Component = _props$componentClass === undefined ? getDefaultComponent(children) : _props$componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['children', 'componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- var useListItem = Component === 'ul' && ValidComponentChildren["a" /* default */].every(children, function (child) {
- return child.type === es_ListGroupItem;
- });
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Component,
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }),
- useListItem ? ValidComponentChildren["a" /* default */].map(children, function (child) {
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["cloneElement"])(child, { listItem: true });
- }) : children
- );
- };
-
- return ListGroup;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-ListGroup_ListGroup.propTypes = ListGroup_propTypes;
-
-/* harmony default export */ var es_ListGroup = (Object(bootstrapUtils["a" /* bsClass */])('list-group', ListGroup_ListGroup));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/MediaBody.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-var MediaBody_propTypes = {
- /**
- * Align the media to the top, middle, or bottom of the media object.
- */
- align: prop_types_default.a.oneOf(['top', 'middle', 'bottom']),
-
- componentClass: elementType_default.a
-};
-
-var MediaBody_defaultProps = {
- componentClass: 'div'
-};
-
-var MediaBody_MediaBody = function (_React$Component) {
- inherits_default()(MediaBody, _React$Component);
-
- function MediaBody() {
- classCallCheck_default()(this, MediaBody);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- MediaBody.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- align = _props.align,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['componentClass', 'align', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- if (align) {
- // The class is e.g. `media-top`, not `media-left-top`.
- classes[Object(bootstrapUtils["e" /* prefix */])(es_Media.defaultProps, align)] = true;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return MediaBody;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-MediaBody_MediaBody.propTypes = MediaBody_propTypes;
-MediaBody_MediaBody.defaultProps = MediaBody_defaultProps;
-
-/* harmony default export */ var es_MediaBody = (Object(bootstrapUtils["a" /* bsClass */])('media-body', MediaBody_MediaBody));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/MediaHeading.js
-
-
-
-
-
-
-
-
-
-
-
-var MediaHeading_propTypes = {
- componentClass: elementType_default.a
-};
-
-var MediaHeading_defaultProps = {
- componentClass: 'h4'
-};
-
-var MediaHeading_MediaHeading = function (_React$Component) {
- inherits_default()(MediaHeading, _React$Component);
-
- function MediaHeading() {
- classCallCheck_default()(this, MediaHeading);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- MediaHeading.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return MediaHeading;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-MediaHeading_MediaHeading.propTypes = MediaHeading_propTypes;
-MediaHeading_MediaHeading.defaultProps = MediaHeading_defaultProps;
-
-/* harmony default export */ var es_MediaHeading = (Object(bootstrapUtils["a" /* bsClass */])('media-heading', MediaHeading_MediaHeading));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/MediaLeft.js
-
-
-
-
-
-
-
-
-
-
-
-
-var MediaLeft_propTypes = {
- /**
- * Align the media to the top, middle, or bottom of the media object.
- */
- align: prop_types_default.a.oneOf(['top', 'middle', 'bottom'])
-};
-
-var MediaLeft_MediaLeft = function (_React$Component) {
- inherits_default()(MediaLeft, _React$Component);
-
- function MediaLeft() {
- classCallCheck_default()(this, MediaLeft);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- MediaLeft.prototype.render = function render() {
- var _props = this.props,
- align = _props.align,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['align', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- if (align) {
- // The class is e.g. `media-top`, not `media-left-top`.
- classes[Object(bootstrapUtils["e" /* prefix */])(es_Media.defaultProps, align)] = true;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('div', extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return MediaLeft;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-MediaLeft_MediaLeft.propTypes = MediaLeft_propTypes;
-
-/* harmony default export */ var es_MediaLeft = (Object(bootstrapUtils["a" /* bsClass */])('media-left', MediaLeft_MediaLeft));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/MediaList.js
-
-
-
-
-
-
-
-
-
-
-var MediaList_MediaList = function (_React$Component) {
- inherits_default()(MediaList, _React$Component);
-
- function MediaList() {
- classCallCheck_default()(this, MediaList);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- MediaList.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('ul', extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return MediaList;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var es_MediaList = (Object(bootstrapUtils["a" /* bsClass */])('media-list', MediaList_MediaList));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/MediaListItem.js
-
-
-
-
-
-
-
-
-
-
-var MediaListItem_MediaListItem = function (_React$Component) {
- inherits_default()(MediaListItem, _React$Component);
-
- function MediaListItem() {
- classCallCheck_default()(this, MediaListItem);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- MediaListItem.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('li', extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return MediaListItem;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var es_MediaListItem = (Object(bootstrapUtils["a" /* bsClass */])('media', MediaListItem_MediaListItem));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/MediaRight.js
-
-
-
-
-
-
-
-
-
-
-
-
-var MediaRight_propTypes = {
- /**
- * Align the media to the top, middle, or bottom of the media object.
- */
- align: prop_types_default.a.oneOf(['top', 'middle', 'bottom'])
-};
-
-var MediaRight_MediaRight = function (_React$Component) {
- inherits_default()(MediaRight, _React$Component);
-
- function MediaRight() {
- classCallCheck_default()(this, MediaRight);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- MediaRight.prototype.render = function render() {
- var _props = this.props,
- align = _props.align,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['align', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- if (align) {
- // The class is e.g. `media-top`, not `media-right-top`.
- classes[Object(bootstrapUtils["e" /* prefix */])(es_Media.defaultProps, align)] = true;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('div', extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return MediaRight;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-MediaRight_MediaRight.propTypes = MediaRight_propTypes;
-
-/* harmony default export */ var es_MediaRight = (Object(bootstrapUtils["a" /* bsClass */])('media-right', MediaRight_MediaRight));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Media.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var Media_propTypes = {
- componentClass: elementType_default.a
-};
-
-var Media_defaultProps = {
- componentClass: 'div'
-};
-
-var Media_Media = function (_React$Component) {
- inherits_default()(Media, _React$Component);
-
- function Media() {
- classCallCheck_default()(this, Media);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Media.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return Media;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Media_Media.propTypes = Media_propTypes;
-Media_Media.defaultProps = Media_defaultProps;
-
-Media_Media.Heading = es_MediaHeading;
-Media_Media.Body = es_MediaBody;
-Media_Media.Left = es_MediaLeft;
-Media_Media.Right = es_MediaRight;
-Media_Media.List = es_MediaList;
-Media_Media.ListItem = es_MediaListItem;
-
-/* harmony default export */ var es_Media = (Object(bootstrapUtils["a" /* bsClass */])('media', Media_Media));
-// EXTERNAL MODULE: ../node_modules/prop-types-extra/lib/all.js
-var lib_all = __webpack_require__(35);
-var all_default = /*#__PURE__*/__webpack_require__.n(lib_all);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/MenuItem.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var MenuItem_propTypes = {
- /**
- * Highlight the menu item as active.
- */
- active: prop_types_default.a.bool,
-
- /**
- * Disable the menu item, making it unselectable.
- */
- disabled: prop_types_default.a.bool,
-
- /**
- * Styles the menu item as a horizontal rule, providing visual separation between
- * groups of menu items.
- */
- divider: all_default()(prop_types_default.a.bool, function (_ref) {
- var divider = _ref.divider,
- children = _ref.children;
- return divider && children ? new Error('Children will not be rendered for dividers') : null;
- }),
-
- /**
- * Value passed to the `onSelect` handler, useful for identifying the selected menu item.
- */
- eventKey: prop_types_default.a.any,
-
- /**
- * Styles the menu item as a header label, useful for describing a group of menu items.
- */
- header: prop_types_default.a.bool,
-
- /**
- * HTML `href` attribute corresponding to `a.href`.
- */
- href: prop_types_default.a.string,
-
- /**
- * Callback fired when the menu item is clicked.
- */
- onClick: prop_types_default.a.func,
-
- /**
- * Callback fired when the menu item is selected.
- *
- * ```js
- * (eventKey: any, event: Object) => any
- * ```
- */
- onSelect: prop_types_default.a.func
-};
-
-var MenuItem_defaultProps = {
- divider: false,
- disabled: false,
- header: false
-};
-
-var MenuItem_MenuItem = function (_React$Component) {
- inherits_default()(MenuItem, _React$Component);
-
- function MenuItem(props, context) {
- classCallCheck_default()(this, MenuItem);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handleClick = _this.handleClick.bind(_this);
- return _this;
- }
-
- MenuItem.prototype.handleClick = function handleClick(event) {
- var _props = this.props,
- href = _props.href,
- disabled = _props.disabled,
- onSelect = _props.onSelect,
- eventKey = _props.eventKey;
-
-
- if (!href || disabled) {
- event.preventDefault();
- }
-
- if (disabled) {
- return;
- }
-
- if (onSelect) {
- onSelect(eventKey, event);
- }
- };
-
- MenuItem.prototype.render = function render() {
- var _props2 = this.props,
- active = _props2.active,
- disabled = _props2.disabled,
- divider = _props2.divider,
- header = _props2.header,
- onClick = _props2.onClick,
- className = _props2.className,
- style = _props2.style,
- props = objectWithoutProperties_default()(_props2, ['active', 'disabled', 'divider', 'header', 'onClick', 'className', 'style']);
-
- var _splitBsPropsAndOmit = Object(bootstrapUtils["g" /* splitBsPropsAndOmit */])(props, ['eventKey', 'onSelect']),
- bsProps = _splitBsPropsAndOmit[0],
- elementProps = _splitBsPropsAndOmit[1];
-
- if (divider) {
- // Forcibly blank out the children; separators shouldn't render any.
- elementProps.children = undefined;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('li', extends_default()({}, elementProps, {
- role: 'separator',
- className: classnames_default()(className, 'divider'),
- style: style
- }));
- }
-
- if (header) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('li', extends_default()({}, elementProps, {
- role: 'heading',
- className: classnames_default()(className, Object(bootstrapUtils["e" /* prefix */])(bsProps, 'header')),
- style: style
- }));
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'li',
- {
- role: 'presentation',
- className: classnames_default()(className, { active: active, disabled: disabled }),
- style: style
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SafeAnchor["a" /* default */], extends_default()({}, elementProps, {
- role: 'menuitem',
- tabIndex: '-1',
- onClick: Object(createChainedFunction["a" /* default */])(onClick, this.handleClick)
- }))
- );
- };
-
- return MenuItem;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-MenuItem_MenuItem.propTypes = MenuItem_propTypes;
-MenuItem_MenuItem.defaultProps = MenuItem_defaultProps;
-
-/* harmony default export */ var es_MenuItem = (Object(bootstrapUtils["a" /* bsClass */])('dropdown', MenuItem_MenuItem));
-// EXTERNAL MODULE: ../node_modules/dom-helpers/events/index.js
-var events = __webpack_require__(115);
-var events_default = /*#__PURE__*/__webpack_require__.n(events);
-
-// EXTERNAL MODULE: ../node_modules/dom-helpers/ownerDocument.js
-var ownerDocument = __webpack_require__(34);
-var ownerDocument_default = /*#__PURE__*/__webpack_require__.n(ownerDocument);
-
-// EXTERNAL MODULE: ../node_modules/dom-helpers/util/inDOM.js
-var inDOM = __webpack_require__(25);
-var inDOM_default = /*#__PURE__*/__webpack_require__.n(inDOM);
-
-// EXTERNAL MODULE: ../node_modules/dom-helpers/util/scrollbarSize.js
-var scrollbarSize = __webpack_require__(94);
-var scrollbarSize_default = /*#__PURE__*/__webpack_require__.n(scrollbarSize);
-
-// EXTERNAL MODULE: ../node_modules/react-overlays/lib/Modal.js
-var lib_Modal = __webpack_require__(116);
-var Modal_default = /*#__PURE__*/__webpack_require__.n(lib_Modal);
-
-// EXTERNAL MODULE: ../node_modules/react-overlays/lib/utils/isOverflowing.js
-var isOverflowing = __webpack_require__(95);
-var isOverflowing_default = /*#__PURE__*/__webpack_require__.n(isOverflowing);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/ModalBody.js
-
-
-
-
-
-
-
-
-
-
-
-var ModalBody_propTypes = {
- componentClass: elementType_default.a
-};
-
-var ModalBody_defaultProps = {
- componentClass: 'div'
-};
-
-var ModalBody_ModalBody = function (_React$Component) {
- inherits_default()(ModalBody, _React$Component);
-
- function ModalBody() {
- classCallCheck_default()(this, ModalBody);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- ModalBody.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return ModalBody;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-ModalBody_ModalBody.propTypes = ModalBody_propTypes;
-ModalBody_ModalBody.defaultProps = ModalBody_defaultProps;
-
-/* harmony default export */ var es_ModalBody = (Object(bootstrapUtils["a" /* bsClass */])('modal-body', ModalBody_ModalBody));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/ModalDialog.js
-
-
-
-
-
-
-
-
-
-
-
-
-var ModalDialog_propTypes = {
- /**
- * A css class to apply to the Modal dialog DOM node.
- */
- dialogClassName: prop_types_default.a.string
-};
-
-var ModalDialog_ModalDialog = function (_React$Component) {
- inherits_default()(ModalDialog, _React$Component);
-
- function ModalDialog() {
- classCallCheck_default()(this, ModalDialog);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- ModalDialog.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- dialogClassName = _props.dialogClassName,
- className = _props.className,
- style = _props.style,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['dialogClassName', 'className', 'style', 'children']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var bsClassName = Object(bootstrapUtils["e" /* prefix */])(bsProps);
-
- var modalStyle = extends_default()({ display: 'block' }, style);
-
- var dialogClasses = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), (_extends2 = {}, _extends2[bsClassName] = false, _extends2[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'dialog')] = true, _extends2));
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, elementProps, {
- tabIndex: '-1',
- role: 'dialog',
- style: modalStyle,
- className: classnames_default()(className, bsClassName)
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: classnames_default()(dialogClassName, dialogClasses) },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'content'), role: 'document' },
- children
- )
- )
- );
- };
-
- return ModalDialog;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-ModalDialog_ModalDialog.propTypes = ModalDialog_propTypes;
-
-/* harmony default export */ var es_ModalDialog = (Object(bootstrapUtils["a" /* bsClass */])('modal', Object(bootstrapUtils["b" /* bsSizes */])([StyleConfig["c" /* Size */].LARGE, StyleConfig["c" /* Size */].SMALL], ModalDialog_ModalDialog)));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/ModalFooter.js
-
-
-
-
-
-
-
-
-
-
-
-var ModalFooter_propTypes = {
- componentClass: elementType_default.a
-};
-
-var ModalFooter_defaultProps = {
- componentClass: 'div'
-};
-
-var ModalFooter_ModalFooter = function (_React$Component) {
- inherits_default()(ModalFooter, _React$Component);
-
- function ModalFooter() {
- classCallCheck_default()(this, ModalFooter);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- ModalFooter.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return ModalFooter;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-ModalFooter_ModalFooter.propTypes = ModalFooter_propTypes;
-ModalFooter_ModalFooter.defaultProps = ModalFooter_defaultProps;
-
-/* harmony default export */ var es_ModalFooter = (Object(bootstrapUtils["a" /* bsClass */])('modal-footer', ModalFooter_ModalFooter));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/ModalHeader.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-// TODO: `aria-label` should be `closeLabel`.
-
-var ModalHeader_propTypes = {
- /**
- * Provides an accessible label for the close
- * button. It is used for Assistive Technology when the label text is not
- * readable.
- */
- closeLabel: prop_types_default.a.string,
-
- /**
- * Specify whether the Component should contain a close button
- */
- closeButton: prop_types_default.a.bool,
-
- /**
- * A Callback fired when the close button is clicked. If used directly inside
- * a Modal component, the onHide will automatically be propagated up to the
- * parent Modal `onHide`.
- */
- onHide: prop_types_default.a.func
-};
-
-var ModalHeader_defaultProps = {
- closeLabel: 'Close',
- closeButton: false
-};
-
-var contextTypes = {
- $bs_modal: prop_types_default.a.shape({
- onHide: prop_types_default.a.func
- })
-};
-
-var ModalHeader_ModalHeader = function (_React$Component) {
- inherits_default()(ModalHeader, _React$Component);
-
- function ModalHeader() {
- classCallCheck_default()(this, ModalHeader);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- ModalHeader.prototype.render = function render() {
- var _props = this.props,
- closeLabel = _props.closeLabel,
- closeButton = _props.closeButton,
- onHide = _props.onHide,
- className = _props.className,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['closeLabel', 'closeButton', 'onHide', 'className', 'children']);
-
- var modal = this.context.$bs_modal;
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }),
- closeButton && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_CloseButton, {
- label: closeLabel,
- onClick: Object(createChainedFunction["a" /* default */])(modal && modal.onHide, onHide)
- }),
- children
- );
- };
-
- return ModalHeader;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-ModalHeader_ModalHeader.propTypes = ModalHeader_propTypes;
-ModalHeader_ModalHeader.defaultProps = ModalHeader_defaultProps;
-ModalHeader_ModalHeader.contextTypes = contextTypes;
-
-/* harmony default export */ var es_ModalHeader = (Object(bootstrapUtils["a" /* bsClass */])('modal-header', ModalHeader_ModalHeader));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/ModalTitle.js
-
-
-
-
-
-
-
-
-
-
-
-var ModalTitle_propTypes = {
- componentClass: elementType_default.a
-};
-
-var ModalTitle_defaultProps = {
- componentClass: 'h4'
-};
-
-var ModalTitle_ModalTitle = function (_React$Component) {
- inherits_default()(ModalTitle, _React$Component);
-
- function ModalTitle() {
- classCallCheck_default()(this, ModalTitle);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- ModalTitle.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return ModalTitle;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-ModalTitle_ModalTitle.propTypes = ModalTitle_propTypes;
-ModalTitle_ModalTitle.defaultProps = ModalTitle_defaultProps;
-
-/* harmony default export */ var es_ModalTitle = (Object(bootstrapUtils["a" /* bsClass */])('modal-title', ModalTitle_ModalTitle));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Modal.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var Modal_propTypes = extends_default()({}, Modal_default.a.propTypes, es_ModalDialog.propTypes, {
-
- /**
- * Include a backdrop component. Specify 'static' for a backdrop that doesn't
- * trigger an "onHide" when clicked.
- */
- backdrop: prop_types_default.a.oneOf(['static', true, false]),
-
- /**
- * Add an optional extra class name to .modal-backdrop
- * It could end up looking like class="modal-backdrop foo-modal-backdrop in".
- */
- backdropClassName: prop_types_default.a.string,
-
- /**
- * Close the modal when escape key is pressed
- */
- keyboard: prop_types_default.a.bool,
-
- /**
- * Open and close the Modal with a slide and fade animation.
- */
- animation: prop_types_default.a.bool,
-
- /**
- * A Component type that provides the modal content Markup. This is a useful
- * prop when you want to use your own styles and markup to create a custom
- * modal component.
- */
- dialogComponentClass: elementType_default.a,
-
- /**
- * When `true` The modal will automatically shift focus to itself when it
- * opens, and replace it to the last focused element when it closes.
- * Generally this should never be set to false as it makes the Modal less
- * accessible to assistive technologies, like screen-readers.
- */
- autoFocus: prop_types_default.a.bool,
-
- /**
- * When `true` The modal will prevent focus from leaving the Modal while
- * open. Consider leaving the default value here, as it is necessary to make
- * the Modal work well with assistive technologies, such as screen readers.
- */
- enforceFocus: prop_types_default.a.bool,
-
- /**
- * When `true` The modal will restore focus to previously focused element once
- * modal is hidden
- */
- restoreFocus: prop_types_default.a.bool,
-
- /**
- * When `true` The modal will show itself.
- */
- show: prop_types_default.a.bool,
-
- /**
- * A callback fired when the header closeButton or non-static backdrop is
- * clicked. Required if either are specified.
- */
- onHide: prop_types_default.a.func,
-
- /**
- * Callback fired before the Modal transitions in
- */
- onEnter: prop_types_default.a.func,
-
- /**
- * Callback fired as the Modal begins to transition in
- */
- onEntering: prop_types_default.a.func,
-
- /**
- * Callback fired after the Modal finishes transitioning in
- */
- onEntered: prop_types_default.a.func,
-
- /**
- * Callback fired right before the Modal transitions out
- */
- onExit: prop_types_default.a.func,
-
- /**
- * Callback fired as the Modal begins to transition out
- */
- onExiting: prop_types_default.a.func,
-
- /**
- * Callback fired after the Modal finishes transitioning out
- */
- onExited: prop_types_default.a.func,
-
- /**
- * @private
- */
- container: Modal_default.a.propTypes.container
-});
-
-var Modal_defaultProps = extends_default()({}, Modal_default.a.defaultProps, {
- animation: true,
- dialogComponentClass: es_ModalDialog
-});
-
-var Modal_childContextTypes = {
- $bs_modal: prop_types_default.a.shape({
- onHide: prop_types_default.a.func
- })
-};
-
-var Modal_Modal = function (_React$Component) {
- inherits_default()(Modal, _React$Component);
-
- function Modal(props, context) {
- classCallCheck_default()(this, Modal);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handleEntering = _this.handleEntering.bind(_this);
- _this.handleExited = _this.handleExited.bind(_this);
- _this.handleWindowResize = _this.handleWindowResize.bind(_this);
- _this.handleDialogClick = _this.handleDialogClick.bind(_this);
- _this.setModalRef = _this.setModalRef.bind(_this);
-
- _this.state = {
- style: {}
- };
- return _this;
- }
-
- Modal.prototype.getChildContext = function getChildContext() {
- return {
- $bs_modal: {
- onHide: this.props.onHide
- }
- };
- };
-
- Modal.prototype.componentWillUnmount = function componentWillUnmount() {
- // Clean up the listener if we need to.
- this.handleExited();
- };
-
- Modal.prototype.setModalRef = function setModalRef(ref) {
- this._modal = ref;
- };
-
- Modal.prototype.handleDialogClick = function handleDialogClick(e) {
- if (e.target !== e.currentTarget) {
- return;
- }
-
- this.props.onHide();
- };
-
- Modal.prototype.handleEntering = function handleEntering() {
- // FIXME: This should work even when animation is disabled.
- events_default.a.on(window, 'resize', this.handleWindowResize);
- this.updateStyle();
- };
-
- Modal.prototype.handleExited = function handleExited() {
- // FIXME: This should work even when animation is disabled.
- events_default.a.off(window, 'resize', this.handleWindowResize);
- };
-
- Modal.prototype.handleWindowResize = function handleWindowResize() {
- this.updateStyle();
- };
-
- Modal.prototype.updateStyle = function updateStyle() {
- if (!inDOM_default.a) {
- return;
- }
-
- var dialogNode = this._modal.getDialogElement();
- var dialogHeight = dialogNode.scrollHeight;
-
- var document = ownerDocument_default()(dialogNode);
- var bodyIsOverflowing = isOverflowing_default()(external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom___default.a.findDOMNode(this.props.container || document.body));
- var modalIsOverflowing = dialogHeight > document.documentElement.clientHeight;
-
- this.setState({
- style: {
- paddingRight: bodyIsOverflowing && !modalIsOverflowing ? scrollbarSize_default()() : undefined,
- paddingLeft: !bodyIsOverflowing && modalIsOverflowing ? scrollbarSize_default()() : undefined
- }
- });
- };
-
- Modal.prototype.render = function render() {
- var _props = this.props,
- backdrop = _props.backdrop,
- backdropClassName = _props.backdropClassName,
- animation = _props.animation,
- show = _props.show,
- Dialog = _props.dialogComponentClass,
- className = _props.className,
- style = _props.style,
- children = _props.children,
- onEntering = _props.onEntering,
- onExited = _props.onExited,
- props = objectWithoutProperties_default()(_props, ['backdrop', 'backdropClassName', 'animation', 'show', 'dialogComponentClass', 'className', 'style', 'children', 'onEntering', 'onExited']);
-
- var _splitComponentProps = splitComponentProps(props, Modal_default.a),
- baseModalProps = _splitComponentProps[0],
- dialogProps = _splitComponentProps[1];
-
- var inClassName = show && !animation && 'in';
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Modal_default.a,
- extends_default()({}, baseModalProps, {
- ref: this.setModalRef,
- show: show,
- onEntering: Object(createChainedFunction["a" /* default */])(onEntering, this.handleEntering),
- onExited: Object(createChainedFunction["a" /* default */])(onExited, this.handleExited),
- backdrop: backdrop,
- backdropClassName: classnames_default()(Object(bootstrapUtils["e" /* prefix */])(props, 'backdrop'), backdropClassName, inClassName),
- containerClassName: Object(bootstrapUtils["e" /* prefix */])(props, 'open'),
- transition: animation ? Fade["a" /* default */] : undefined,
- dialogTransitionTimeout: Modal.TRANSITION_DURATION,
- backdropTransitionTimeout: Modal.BACKDROP_TRANSITION_DURATION
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Dialog,
- extends_default()({}, dialogProps, {
- style: extends_default()({}, this.state.style, style),
- className: classnames_default()(className, inClassName),
- onClick: backdrop === true ? this.handleDialogClick : null
- }),
- children
- )
- );
- };
-
- return Modal;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Modal_Modal.propTypes = Modal_propTypes;
-Modal_Modal.defaultProps = Modal_defaultProps;
-Modal_Modal.childContextTypes = Modal_childContextTypes;
-
-Modal_Modal.Body = es_ModalBody;
-Modal_Modal.Header = es_ModalHeader;
-Modal_Modal.Title = es_ModalTitle;
-Modal_Modal.Footer = es_ModalFooter;
-
-Modal_Modal.Dialog = es_ModalDialog;
-
-Modal_Modal.TRANSITION_DURATION = 300;
-Modal_Modal.BACKDROP_TRANSITION_DURATION = 150;
-
-/* harmony default export */ var es_Modal = (Object(bootstrapUtils["a" /* bsClass */])('modal', Object(bootstrapUtils["b" /* bsSizes */])([StyleConfig["c" /* Size */].LARGE, StyleConfig["c" /* Size */].SMALL], Modal_Modal)));
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/Nav.js
-var Nav = __webpack_require__(127);
-
-// EXTERNAL MODULE: ../node_modules/uncontrollable/index.js
-var uncontrollable = __webpack_require__(40);
-var uncontrollable_default = /*#__PURE__*/__webpack_require__.n(uncontrollable);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/NavbarBrand.js
-
-
-
-
-
-
-
-
-
-
-
-var NavbarBrand_contextTypes = {
- $bs_navbar: prop_types_default.a.shape({
- bsClass: prop_types_default.a.string
- })
-};
-
-var NavbarBrand_NavbarBrand = function (_React$Component) {
- inherits_default()(NavbarBrand, _React$Component);
-
- function NavbarBrand() {
- classCallCheck_default()(this, NavbarBrand);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- NavbarBrand.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['className', 'children']);
-
- var navbarProps = this.context.$bs_navbar || { bsClass: 'navbar' };
-
- var bsClassName = Object(bootstrapUtils["e" /* prefix */])(navbarProps, 'brand');
-
- if (external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.isValidElement(children)) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(children, {
- className: classnames_default()(children.props.className, className, bsClassName)
- });
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- extends_default()({}, props, { className: classnames_default()(className, bsClassName) }),
- children
- );
- };
-
- return NavbarBrand;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-NavbarBrand_NavbarBrand.contextTypes = NavbarBrand_contextTypes;
-
-/* harmony default export */ var es_NavbarBrand = (NavbarBrand_NavbarBrand);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/NavbarCollapse.js
-
-
-
-
-
-
-
-
-
-
-
-var NavbarCollapse_contextTypes = {
- $bs_navbar: prop_types_default.a.shape({
- bsClass: prop_types_default.a.string,
- expanded: prop_types_default.a.bool
- })
-};
-
-var NavbarCollapse_NavbarCollapse = function (_React$Component) {
- inherits_default()(NavbarCollapse, _React$Component);
-
- function NavbarCollapse() {
- classCallCheck_default()(this, NavbarCollapse);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- NavbarCollapse.prototype.render = function render() {
- var _props = this.props,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['children']);
-
- var navbarProps = this.context.$bs_navbar || { bsClass: 'navbar' };
-
- var bsClassName = Object(bootstrapUtils["e" /* prefix */])(navbarProps, 'collapse');
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_Collapse,
- extends_default()({ 'in': navbarProps.expanded }, props),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: bsClassName },
- children
- )
- );
- };
-
- return NavbarCollapse;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-NavbarCollapse_NavbarCollapse.contextTypes = NavbarCollapse_contextTypes;
-
-/* harmony default export */ var es_NavbarCollapse = (NavbarCollapse_NavbarCollapse);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/NavbarHeader.js
-
-
-
-
-
-
-
-
-
-
-
-var NavbarHeader_contextTypes = {
- $bs_navbar: prop_types_default.a.shape({
- bsClass: prop_types_default.a.string
- })
-};
-
-var NavbarHeader_NavbarHeader = function (_React$Component) {
- inherits_default()(NavbarHeader, _React$Component);
-
- function NavbarHeader() {
- classCallCheck_default()(this, NavbarHeader);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- NavbarHeader.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['className']);
-
- var navbarProps = this.context.$bs_navbar || { bsClass: 'navbar' };
-
- var bsClassName = Object(bootstrapUtils["e" /* prefix */])(navbarProps, 'header');
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('div', extends_default()({}, props, { className: classnames_default()(className, bsClassName) }));
- };
-
- return NavbarHeader;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-NavbarHeader_NavbarHeader.contextTypes = NavbarHeader_contextTypes;
-
-/* harmony default export */ var es_NavbarHeader = (NavbarHeader_NavbarHeader);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/NavbarToggle.js
-
-
-
-
-
-
-
-
-
-
-
-
-var NavbarToggle_propTypes = {
- onClick: prop_types_default.a.func,
- /**
- * The toggle content, if left empty it will render the default toggle (seen above).
- */
- children: prop_types_default.a.node
-};
-
-var NavbarToggle_contextTypes = {
- $bs_navbar: prop_types_default.a.shape({
- bsClass: prop_types_default.a.string,
- expanded: prop_types_default.a.bool,
- onToggle: prop_types_default.a.func.isRequired
- })
-};
-
-var NavbarToggle_NavbarToggle = function (_React$Component) {
- inherits_default()(NavbarToggle, _React$Component);
-
- function NavbarToggle() {
- classCallCheck_default()(this, NavbarToggle);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- NavbarToggle.prototype.render = function render() {
- var _props = this.props,
- onClick = _props.onClick,
- className = _props.className,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['onClick', 'className', 'children']);
-
- var navbarProps = this.context.$bs_navbar || { bsClass: 'navbar' };
-
- var buttonProps = extends_default()({
- type: 'button'
- }, props, {
- onClick: Object(createChainedFunction["a" /* default */])(onClick, navbarProps.onToggle),
- className: classnames_default()(className, Object(bootstrapUtils["e" /* prefix */])(navbarProps, 'toggle'), !navbarProps.expanded && 'collapsed')
- });
-
- if (children) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'button',
- buttonProps,
- children
- );
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'button',
- buttonProps,
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { className: 'sr-only' },
- 'Toggle navigation'
- ),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('span', { className: 'icon-bar' }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('span', { className: 'icon-bar' }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('span', { className: 'icon-bar' })
- );
- };
-
- return NavbarToggle;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-NavbarToggle_NavbarToggle.propTypes = NavbarToggle_propTypes;
-NavbarToggle_NavbarToggle.contextTypes = NavbarToggle_contextTypes;
-
-/* harmony default export */ var es_NavbarToggle = (NavbarToggle_NavbarToggle);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Navbar.js
-
-
-
-
-
-// TODO: Remove this pragma once we upgrade eslint-config-airbnb.
-/* eslint-disable react/no-multi-comp */
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var Navbar_propTypes = {
- /**
- * Create a fixed navbar along the top of the screen, that scrolls with the
- * page
- */
- fixedTop: prop_types_default.a.bool,
- /**
- * Create a fixed navbar along the bottom of the screen, that scrolls with
- * the page
- */
- fixedBottom: prop_types_default.a.bool,
- /**
- * Create a full-width navbar that scrolls away with the page
- */
- staticTop: prop_types_default.a.bool,
- /**
- * An alternative dark visual style for the Navbar
- */
- inverse: prop_types_default.a.bool,
- /**
- * Allow the Navbar to fluidly adjust to the page or container width, instead
- * of at the predefined screen breakpoints
- */
- fluid: prop_types_default.a.bool,
-
- /**
- * Set a custom element for this component.
- */
- componentClass: elementType_default.a,
- /**
- * A callback fired when the `` body collapses or expands. Fired when
- * a `` is clicked and called with the new `expanded`
- * boolean value.
- *
- * @controllable expanded
- */
- onToggle: prop_types_default.a.func,
- /**
- * A callback fired when a descendant of a child `` is selected. Should
- * be used to execute complex closing or other miscellaneous actions desired
- * after selecting a descendant of ``. Does nothing if no `` or ``
- * descendants exist. The callback is called with an eventKey, which is a
- * prop from the selected `` descendant, and an event.
- *
- * ```js
- * function (
- * Any eventKey,
- * SyntheticEvent event?
- * )
- * ```
- *
- * For basic closing behavior after all `` descendant onSelect events in
- * mobile viewports, try using collapseOnSelect.
- *
- * Note: If you are manually closing the navbar using this `OnSelect` prop,
- * ensure that you are setting `expanded` to false and not *toggling* between
- * true and false.
- */
- onSelect: prop_types_default.a.func,
- /**
- * Sets `expanded` to `false` after the onSelect event of a descendant of a
- * child ``. Does nothing if no `` or `` descendants exist.
- *
- * The onSelect callback should be used instead for more complex operations
- * that need to be executed after the `select` event of `` descendants.
- */
- collapseOnSelect: prop_types_default.a.bool,
- /**
- * Explicitly set the visiblity of the navbar body
- *
- * @controllable onToggle
- */
- expanded: prop_types_default.a.bool,
-
- role: prop_types_default.a.string
-};
-
-var Navbar_defaultProps = {
- componentClass: 'nav',
- fixedTop: false,
- fixedBottom: false,
- staticTop: false,
- inverse: false,
- fluid: false,
- collapseOnSelect: false
-};
-
-var Navbar_childContextTypes = {
- $bs_navbar: prop_types_default.a.shape({
- bsClass: prop_types_default.a.string,
- expanded: prop_types_default.a.bool,
- onToggle: prop_types_default.a.func.isRequired,
- onSelect: prop_types_default.a.func
- })
-};
-
-var Navbar_Navbar = function (_React$Component) {
- inherits_default()(Navbar, _React$Component);
-
- function Navbar(props, context) {
- classCallCheck_default()(this, Navbar);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handleToggle = _this.handleToggle.bind(_this);
- _this.handleCollapse = _this.handleCollapse.bind(_this);
- return _this;
- }
-
- Navbar.prototype.getChildContext = function getChildContext() {
- var _props = this.props,
- bsClass = _props.bsClass,
- expanded = _props.expanded,
- onSelect = _props.onSelect,
- collapseOnSelect = _props.collapseOnSelect;
-
-
- return {
- $bs_navbar: {
- bsClass: bsClass,
- expanded: expanded,
- onToggle: this.handleToggle,
- onSelect: Object(createChainedFunction["a" /* default */])(onSelect, collapseOnSelect ? this.handleCollapse : null)
- }
- };
- };
-
- Navbar.prototype.handleCollapse = function handleCollapse() {
- var _props2 = this.props,
- onToggle = _props2.onToggle,
- expanded = _props2.expanded;
-
-
- if (expanded) {
- onToggle(false);
- }
- };
-
- Navbar.prototype.handleToggle = function handleToggle() {
- var _props3 = this.props,
- onToggle = _props3.onToggle,
- expanded = _props3.expanded;
-
-
- onToggle(!expanded);
- };
-
- Navbar.prototype.render = function render() {
- var _extends2;
-
- var _props4 = this.props,
- Component = _props4.componentClass,
- fixedTop = _props4.fixedTop,
- fixedBottom = _props4.fixedBottom,
- staticTop = _props4.staticTop,
- inverse = _props4.inverse,
- fluid = _props4.fluid,
- className = _props4.className,
- children = _props4.children,
- props = objectWithoutProperties_default()(_props4, ['componentClass', 'fixedTop', 'fixedBottom', 'staticTop', 'inverse', 'fluid', 'className', 'children']);
-
- var _splitBsPropsAndOmit = Object(bootstrapUtils["g" /* splitBsPropsAndOmit */])(props, ['expanded', 'onToggle', 'onSelect', 'collapseOnSelect']),
- bsProps = _splitBsPropsAndOmit[0],
- elementProps = _splitBsPropsAndOmit[1];
-
- // 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 (elementProps.role === undefined && Component !== 'nav') {
- elementProps.role = 'navigation';
- }
-
- if (inverse) {
- bsProps.bsStyle = StyleConfig["e" /* Style */].INVERSE;
- }
-
- var classes = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), (_extends2 = {}, _extends2[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'fixed-top')] = fixedTop, _extends2[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'fixed-bottom')] = fixedBottom, _extends2[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'static-top')] = staticTop, _extends2));
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Component,
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_Grid,
- { fluid: fluid },
- children
- )
- );
- };
-
- return Navbar;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Navbar_Navbar.propTypes = Navbar_propTypes;
-Navbar_Navbar.defaultProps = Navbar_defaultProps;
-Navbar_Navbar.childContextTypes = Navbar_childContextTypes;
-
-Object(bootstrapUtils["a" /* bsClass */])('navbar', Navbar_Navbar);
-
-var UncontrollableNavbar = uncontrollable_default()(Navbar_Navbar, { expanded: 'onToggle' });
-
-function createSimpleWrapper(tag, suffix, displayName) {
- var Wrapper = function Wrapper(_ref, _ref2) {
- var _ref2$$bs_navbar = _ref2.$bs_navbar,
- navbarProps = _ref2$$bs_navbar === undefined ? { bsClass: 'navbar' } : _ref2$$bs_navbar;
-
- var Component = _ref.componentClass,
- className = _ref.className,
- pullRight = _ref.pullRight,
- pullLeft = _ref.pullLeft,
- props = objectWithoutProperties_default()(_ref, ['componentClass', 'className', 'pullRight', 'pullLeft']);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, props, {
- className: classnames_default()(className, Object(bootstrapUtils["e" /* prefix */])(navbarProps, suffix), pullRight && Object(bootstrapUtils["e" /* prefix */])(navbarProps, 'right'), pullLeft && Object(bootstrapUtils["e" /* prefix */])(navbarProps, 'left'))
- }));
- };
-
- Wrapper.displayName = displayName;
-
- Wrapper.propTypes = {
- componentClass: elementType_default.a,
- pullRight: prop_types_default.a.bool,
- pullLeft: prop_types_default.a.bool
- };
-
- Wrapper.defaultProps = {
- componentClass: tag,
- pullRight: false,
- pullLeft: false
- };
-
- Wrapper.contextTypes = {
- $bs_navbar: prop_types_default.a.shape({
- bsClass: prop_types_default.a.string
- })
- };
-
- return Wrapper;
-}
-
-UncontrollableNavbar.Brand = es_NavbarBrand;
-UncontrollableNavbar.Header = es_NavbarHeader;
-UncontrollableNavbar.Toggle = es_NavbarToggle;
-UncontrollableNavbar.Collapse = es_NavbarCollapse;
-
-UncontrollableNavbar.Form = createSimpleWrapper('div', 'form', 'NavbarForm');
-UncontrollableNavbar.Text = createSimpleWrapper('p', 'text', 'NavbarText');
-UncontrollableNavbar.Link = createSimpleWrapper('a', 'link', 'NavbarLink');
-
-// Set bsStyles here so they can be overridden.
-/* harmony default export */ var es_Navbar = (Object(bootstrapUtils["c" /* bsStyles */])([StyleConfig["e" /* Style */].DEFAULT, StyleConfig["e" /* Style */].INVERSE], StyleConfig["e" /* Style */].DEFAULT, UncontrollableNavbar));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/NavDropdown.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-var NavDropdown_propTypes = extends_default()({}, Dropdown["a" /* default */].propTypes, {
-
- // Toggle props.
- title: prop_types_default.a.node.isRequired,
- noCaret: prop_types_default.a.bool,
- active: prop_types_default.a.bool,
-
- // Override generated docs from .
- /**
- * @private
- */
- children: prop_types_default.a.node
-});
-
-var NavDropdown_NavDropdown = function (_React$Component) {
- inherits_default()(NavDropdown, _React$Component);
-
- function NavDropdown() {
- classCallCheck_default()(this, NavDropdown);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- NavDropdown.prototype.isActive = function isActive(_ref, activeKey, activeHref) {
- var props = _ref.props;
-
- var _this2 = this;
-
- if (props.active || activeKey != null && props.eventKey === activeKey || activeHref && props.href === activeHref) {
- return true;
- }
-
- if (ValidComponentChildren["a" /* default */].some(props.children, function (child) {
- return _this2.isActive(child, activeKey, activeHref);
- })) {
- return true;
- }
-
- return props.active;
- };
-
- NavDropdown.prototype.render = function render() {
- var _this3 = this;
-
- var _props = this.props,
- title = _props.title,
- activeKey = _props.activeKey,
- activeHref = _props.activeHref,
- className = _props.className,
- style = _props.style,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['title', 'activeKey', 'activeHref', 'className', 'style', 'children']);
-
- var active = this.isActive(this, activeKey, activeHref);
- delete props.active; // Accessed via this.isActive().
- delete props.eventKey; // Accessed via this.isActive().
-
- var _splitComponentProps = splitComponentProps(props, Dropdown["a" /* default */].ControlledComponent),
- dropdownProps = _splitComponentProps[0],
- toggleProps = _splitComponentProps[1];
-
- // Unlike for the other dropdowns, styling needs to go to the ``
- // rather than the ``.
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Dropdown["a" /* default */],
- extends_default()({}, dropdownProps, {
- componentClass: 'li',
- className: classnames_default()(className, { active: active }),
- style: style
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Dropdown["a" /* default */].Toggle,
- extends_default()({}, toggleProps, { useAnchor: true }),
- title
- ),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Dropdown["a" /* default */].Menu,
- null,
- ValidComponentChildren["a" /* default */].map(children, function (child) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(child, {
- active: _this3.isActive(child, activeKey, activeHref)
- });
- })
- )
- );
- };
-
- return NavDropdown;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-NavDropdown_NavDropdown.propTypes = NavDropdown_propTypes;
-
-/* harmony default export */ var es_NavDropdown = (NavDropdown_NavDropdown);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/NavItem.js
-
-
-
-
-
-
-
-
-
-
-
-
-var NavItem_propTypes = {
- active: prop_types_default.a.bool,
- disabled: prop_types_default.a.bool,
- role: prop_types_default.a.string,
- href: prop_types_default.a.string,
- onClick: prop_types_default.a.func,
- onSelect: prop_types_default.a.func,
- eventKey: prop_types_default.a.any
-};
-
-var NavItem_defaultProps = {
- active: false,
- disabled: false
-};
-
-var NavItem_NavItem = function (_React$Component) {
- inherits_default()(NavItem, _React$Component);
-
- function NavItem(props, context) {
- classCallCheck_default()(this, NavItem);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handleClick = _this.handleClick.bind(_this);
- return _this;
- }
-
- NavItem.prototype.handleClick = function handleClick(e) {
- if (this.props.onSelect) {
- e.preventDefault();
-
- if (!this.props.disabled) {
- this.props.onSelect(this.props.eventKey, e);
- }
- }
- };
-
- NavItem.prototype.render = function render() {
- var _props = this.props,
- active = _props.active,
- disabled = _props.disabled,
- onClick = _props.onClick,
- className = _props.className,
- style = _props.style,
- props = objectWithoutProperties_default()(_props, ['active', 'disabled', 'onClick', 'className', 'style']);
-
- delete props.onSelect;
- delete props.eventKey;
-
- // These are injected down by `` for building ``s.
- delete props.activeKey;
- delete props.activeHref;
-
- if (!props.role) {
- if (props.href === '#') {
- props.role = 'button';
- }
- } else if (props.role === 'tab') {
- props['aria-selected'] = active;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'li',
- {
- role: 'presentation',
- className: classnames_default()(className, { active: active, disabled: disabled }),
- style: style
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SafeAnchor["a" /* default */], extends_default()({}, props, {
- disabled: disabled,
- onClick: Object(createChainedFunction["a" /* default */])(onClick, this.handleClick)
- }))
- );
- };
-
- return NavItem;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-NavItem_NavItem.propTypes = NavItem_propTypes;
-NavItem_NavItem.defaultProps = NavItem_defaultProps;
-
-/* harmony default export */ var es_NavItem = (NavItem_NavItem);
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/Overlay.js
-var Overlay = __webpack_require__(128);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/OverlayTrigger.js
-var OverlayTrigger = __webpack_require__(308);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/PageHeader.js
-
-
-
-
-
-
-
-
-
-
-var PageHeader_PageHeader = function (_React$Component) {
- inherits_default()(PageHeader, _React$Component);
-
- function PageHeader() {
- classCallCheck_default()(this, PageHeader);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- PageHeader.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['className', 'children']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'h1',
- null,
- children
- )
- );
- };
-
- return PageHeader;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var es_PageHeader = (Object(bootstrapUtils["a" /* bsClass */])('page-header', PageHeader_PageHeader));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/PagerItem.js
-
-
-
-
-
-
-
-
-
-
-
-
-var PagerItem_propTypes = {
- disabled: prop_types_default.a.bool,
- previous: prop_types_default.a.bool,
- next: prop_types_default.a.bool,
- onClick: prop_types_default.a.func,
- onSelect: prop_types_default.a.func,
- eventKey: prop_types_default.a.any
-};
-
-var PagerItem_defaultProps = {
- disabled: false,
- previous: false,
- next: false
-};
-
-var PagerItem_PagerItem = function (_React$Component) {
- inherits_default()(PagerItem, _React$Component);
-
- function PagerItem(props, context) {
- classCallCheck_default()(this, PagerItem);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handleSelect = _this.handleSelect.bind(_this);
- return _this;
- }
-
- PagerItem.prototype.handleSelect = function handleSelect(e) {
- var _props = this.props,
- disabled = _props.disabled,
- onSelect = _props.onSelect,
- eventKey = _props.eventKey;
-
-
- if (onSelect || disabled) {
- e.preventDefault();
- }
-
- if (disabled) {
- return;
- }
-
- if (onSelect) {
- onSelect(eventKey, e);
- }
- };
-
- PagerItem.prototype.render = function render() {
- var _props2 = this.props,
- disabled = _props2.disabled,
- previous = _props2.previous,
- next = _props2.next,
- onClick = _props2.onClick,
- className = _props2.className,
- style = _props2.style,
- props = objectWithoutProperties_default()(_props2, ['disabled', 'previous', 'next', 'onClick', 'className', 'style']);
-
- delete props.onSelect;
- delete props.eventKey;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'li',
- {
- className: classnames_default()(className, { disabled: disabled, previous: previous, next: next }),
- style: style
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SafeAnchor["a" /* default */], extends_default()({}, props, {
- disabled: disabled,
- onClick: Object(createChainedFunction["a" /* default */])(onClick, this.handleSelect)
- }))
- );
- };
-
- return PagerItem;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-PagerItem_PagerItem.propTypes = PagerItem_propTypes;
-PagerItem_PagerItem.defaultProps = PagerItem_defaultProps;
-
-/* harmony default export */ var es_PagerItem = (PagerItem_PagerItem);
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/utils/deprecationWarning.js
-var deprecationWarning = __webpack_require__(309);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/PageItem.js
-
-
-
-/* harmony default export */ var PageItem = (deprecationWarning["a" /* default */].wrapper(es_PagerItem, '``', '``'));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Pager.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var Pager_propTypes = {
- onSelect: prop_types_default.a.func
-};
-
-var Pager_Pager = function (_React$Component) {
- inherits_default()(Pager, _React$Component);
-
- function Pager() {
- classCallCheck_default()(this, Pager);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Pager.prototype.render = function render() {
- var _props = this.props,
- onSelect = _props.onSelect,
- className = _props.className,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['onSelect', 'className', 'children']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'ul',
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }),
- ValidComponentChildren["a" /* default */].map(children, function (child) {
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["cloneElement"])(child, {
- onSelect: Object(createChainedFunction["a" /* default */])(child.props.onSelect, onSelect)
- });
- })
- );
- };
-
- return Pager;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Pager_Pager.propTypes = Pager_propTypes;
-
-Pager_Pager.Item = es_PagerItem;
-
-/* harmony default export */ var es_Pager = (Object(bootstrapUtils["a" /* bsClass */])('pager', Pager_Pager));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/PaginationButton.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-// TODO: This should be ``.
-
-// TODO: This should use `componentClass` like other components.
-
-var PaginationButton_propTypes = {
- componentClass: elementType_default.a,
- className: prop_types_default.a.string,
- eventKey: prop_types_default.a.any,
- onSelect: prop_types_default.a.func,
- disabled: prop_types_default.a.bool,
- active: prop_types_default.a.bool,
- onClick: prop_types_default.a.func
-};
-
-var PaginationButton_defaultProps = {
- componentClass: SafeAnchor["a" /* default */],
- active: false,
- disabled: false
-};
-
-var PaginationButton_PaginationButton = function (_React$Component) {
- inherits_default()(PaginationButton, _React$Component);
-
- function PaginationButton(props, context) {
- classCallCheck_default()(this, PaginationButton);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handleClick = _this.handleClick.bind(_this);
- return _this;
- }
-
- PaginationButton.prototype.handleClick = function handleClick(event) {
- var _props = this.props,
- disabled = _props.disabled,
- onSelect = _props.onSelect,
- eventKey = _props.eventKey;
-
-
- if (disabled) {
- return;
- }
-
- if (onSelect) {
- onSelect(eventKey, event);
- }
- };
-
- PaginationButton.prototype.render = function render() {
- var _props2 = this.props,
- Component = _props2.componentClass,
- active = _props2.active,
- disabled = _props2.disabled,
- onClick = _props2.onClick,
- className = _props2.className,
- style = _props2.style,
- props = objectWithoutProperties_default()(_props2, ['componentClass', 'active', 'disabled', 'onClick', 'className', 'style']);
-
- if (Component === SafeAnchor["a" /* default */]) {
- // Assume that custom components want `eventKey`.
- delete props.eventKey;
- }
-
- delete props.onSelect;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'li',
- {
- className: classnames_default()(className, { active: active, disabled: disabled }),
- style: style
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, props, {
- disabled: disabled,
- onClick: Object(createChainedFunction["a" /* default */])(onClick, this.handleClick)
- }))
- );
- };
-
- return PaginationButton;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-PaginationButton_PaginationButton.propTypes = PaginationButton_propTypes;
-PaginationButton_PaginationButton.defaultProps = PaginationButton_defaultProps;
-
-/* harmony default export */ var es_PaginationButton = (PaginationButton_PaginationButton);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Pagination.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-var Pagination_propTypes = {
- activePage: prop_types_default.a.number,
- items: prop_types_default.a.number,
- maxButtons: prop_types_default.a.number,
-
- /**
- * When `true`, will display the first and the last button page when
- * displaying ellipsis.
- */
- boundaryLinks: prop_types_default.a.bool,
-
- /**
- * When `true`, will display the default node value ('…').
- * Otherwise, will display provided node (when specified).
- */
- ellipsis: prop_types_default.a.oneOfType([prop_types_default.a.bool, prop_types_default.a.node]),
-
- /**
- * When `true`, will display the default node value ('«').
- * Otherwise, will display provided node (when specified).
- */
- first: prop_types_default.a.oneOfType([prop_types_default.a.bool, prop_types_default.a.node]),
-
- /**
- * When `true`, will display the default node value ('»').
- * Otherwise, will display provided node (when specified).
- */
- last: prop_types_default.a.oneOfType([prop_types_default.a.bool, prop_types_default.a.node]),
-
- /**
- * When `true`, will display the default node value ('‹').
- * Otherwise, will display provided node (when specified).
- */
- prev: prop_types_default.a.oneOfType([prop_types_default.a.bool, prop_types_default.a.node]),
-
- /**
- * When `true`, will display the default node value ('›').
- * Otherwise, will display provided node (when specified).
- */
- next: prop_types_default.a.oneOfType([prop_types_default.a.bool, prop_types_default.a.node]),
-
- onSelect: prop_types_default.a.func,
-
- /**
- * You can use a custom element for the buttons
- */
- buttonComponentClass: elementType_default.a
-};
-
-var Pagination_defaultProps = {
- activePage: 1,
- items: 1,
- maxButtons: 0,
- first: false,
- last: false,
- prev: false,
- next: false,
- ellipsis: true,
- boundaryLinks: false
-};
-
-var Pagination_Pagination = function (_React$Component) {
- inherits_default()(Pagination, _React$Component);
-
- function Pagination() {
- classCallCheck_default()(this, Pagination);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Pagination.prototype.renderPageButtons = function renderPageButtons(activePage, items, maxButtons, boundaryLinks, ellipsis, buttonProps) {
- var pageButtons = [];
-
- var startPage = void 0;
- var endPage = void 0;
-
- if (maxButtons && maxButtons < items) {
- startPage = Math.max(Math.min(activePage - Math.floor(maxButtons / 2, 10), items - maxButtons + 1), 1);
- endPage = startPage + maxButtons - 1;
- } else {
- startPage = 1;
- endPage = items;
- }
-
- for (var page = startPage; page <= endPage; ++page) {
- pageButtons.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_PaginationButton,
- extends_default()({}, buttonProps, {
- key: page,
- eventKey: page,
- active: page === activePage
- }),
- page
- ));
- }
-
- if (ellipsis && boundaryLinks && startPage > 1) {
- if (startPage > 2) {
- pageButtons.unshift(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_PaginationButton,
- {
- key: 'ellipsisFirst',
- disabled: true,
- componentClass: buttonProps.componentClass
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { 'aria-label': 'More' },
- ellipsis === true ? '\u2026' : ellipsis
- )
- ));
- }
-
- pageButtons.unshift(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_PaginationButton,
- extends_default()({}, buttonProps, {
- key: 1,
- eventKey: 1,
- active: false
- }),
- '1'
- ));
- }
-
- if (ellipsis && endPage < items) {
- if (!boundaryLinks || endPage < items - 1) {
- pageButtons.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_PaginationButton,
- {
- key: 'ellipsis',
- disabled: true,
- componentClass: buttonProps.componentClass
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { 'aria-label': 'More' },
- ellipsis === true ? '\u2026' : ellipsis
- )
- ));
- }
-
- if (boundaryLinks) {
- pageButtons.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_PaginationButton,
- extends_default()({}, buttonProps, {
- key: items,
- eventKey: items,
- active: false
- }),
- items
- ));
- }
- }
-
- return pageButtons;
- };
-
- Pagination.prototype.render = function render() {
- var _props = this.props,
- activePage = _props.activePage,
- items = _props.items,
- maxButtons = _props.maxButtons,
- boundaryLinks = _props.boundaryLinks,
- ellipsis = _props.ellipsis,
- first = _props.first,
- last = _props.last,
- prev = _props.prev,
- next = _props.next,
- onSelect = _props.onSelect,
- buttonComponentClass = _props.buttonComponentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['activePage', 'items', 'maxButtons', 'boundaryLinks', 'ellipsis', 'first', 'last', 'prev', 'next', 'onSelect', 'buttonComponentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- var buttonProps = {
- onSelect: onSelect,
- componentClass: buttonComponentClass
- };
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'ul',
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }),
- first && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_PaginationButton,
- extends_default()({}, buttonProps, {
- eventKey: 1,
- disabled: activePage === 1
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { 'aria-label': 'First' },
- first === true ? '\xAB' : first
- )
- ),
- prev && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_PaginationButton,
- extends_default()({}, buttonProps, {
- eventKey: activePage - 1,
- disabled: activePage === 1
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { 'aria-label': 'Previous' },
- prev === true ? '\u2039' : prev
- )
- ),
- this.renderPageButtons(activePage, items, maxButtons, boundaryLinks, ellipsis, buttonProps),
- next && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_PaginationButton,
- extends_default()({}, buttonProps, {
- eventKey: activePage + 1,
- disabled: activePage >= items
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { 'aria-label': 'Next' },
- next === true ? '\u203A' : next
- )
- ),
- last && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_PaginationButton,
- extends_default()({}, buttonProps, {
- eventKey: items,
- disabled: activePage >= items
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { 'aria-label': 'Last' },
- last === true ? '\xBB' : last
- )
- )
- );
- };
-
- return Pagination;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Pagination_Pagination.propTypes = Pagination_propTypes;
-Pagination_Pagination.defaultProps = Pagination_defaultProps;
-
-/* harmony default export */ var es_Pagination = (Object(bootstrapUtils["a" /* bsClass */])('pagination', Pagination_Pagination));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Panel.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-// TODO: Use uncontrollable.
-
-var Panel_propTypes = {
- collapsible: prop_types_default.a.bool,
- onSelect: prop_types_default.a.func,
- header: prop_types_default.a.node,
- id: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number]),
- footer: prop_types_default.a.node,
- defaultExpanded: prop_types_default.a.bool,
- expanded: prop_types_default.a.bool,
- eventKey: prop_types_default.a.any,
- headerRole: prop_types_default.a.string,
- panelRole: prop_types_default.a.string,
-
- // From Collapse.
- onEnter: prop_types_default.a.func,
- onEntering: prop_types_default.a.func,
- onEntered: prop_types_default.a.func,
- onExit: prop_types_default.a.func,
- onExiting: prop_types_default.a.func,
- onExited: prop_types_default.a.func
-};
-
-var Panel_defaultProps = {
- defaultExpanded: false
-};
-
-var Panel_Panel = function (_React$Component) {
- inherits_default()(Panel, _React$Component);
-
- function Panel(props, context) {
- classCallCheck_default()(this, Panel);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handleClickTitle = _this.handleClickTitle.bind(_this);
-
- _this.state = {
- expanded: _this.props.defaultExpanded
- };
- return _this;
- }
-
- Panel.prototype.handleClickTitle = function handleClickTitle(e) {
- // FIXME: What the heck? This API is horrible. This needs to go away!
- e.persist();
- e.selected = true;
-
- if (this.props.onSelect) {
- this.props.onSelect(this.props.eventKey, e);
- } else {
- e.preventDefault();
- }
-
- if (e.selected) {
- this.setState({ expanded: !this.state.expanded });
- }
- };
-
- Panel.prototype.renderAnchor = function renderAnchor(header, id, role, expanded) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'a',
- {
- role: role,
- href: id && '#' + id,
- onClick: this.handleClickTitle,
- 'aria-controls': id,
- 'aria-expanded': expanded,
- 'aria-selected': expanded,
- className: expanded ? null : 'collapsed'
- },
- header
- );
- };
-
- Panel.prototype.renderBody = function renderBody(rawChildren, bsProps) {
- var children = [];
- var bodyChildren = [];
-
- var bodyClassName = Object(bootstrapUtils["e" /* prefix */])(bsProps, 'body');
-
- function maybeAddBody() {
- if (!bodyChildren.length) {
- return;
- }
-
- // Derive the key from the index here, since we need to make one up.
- children.push(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { key: children.length, className: bodyClassName },
- bodyChildren
- ));
-
- bodyChildren = [];
- }
-
- // Convert to array so we can re-use keys.
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.toArray(rawChildren).forEach(function (child) {
- if (external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.isValidElement(child) && child.props.fill) {
- maybeAddBody();
-
- // Remove the child's unknown `fill` prop.
- children.push(Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["cloneElement"])(child, { fill: undefined }));
-
- return;
- }
-
- bodyChildren.push(child);
- });
-
- maybeAddBody();
-
- return children;
- };
-
- Panel.prototype.renderCollapsibleBody = function renderCollapsibleBody(id, expanded, role, children, bsProps, animationHooks) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_Collapse,
- extends_default()({ 'in': expanded }, animationHooks),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- {
- id: id,
- role: role,
- className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'collapse'),
- 'aria-hidden': !expanded
- },
- this.renderBody(children, bsProps)
- )
- );
- };
-
- Panel.prototype.renderHeader = function renderHeader(collapsible, header, id, role, expanded, bsProps) {
- var titleClassName = Object(bootstrapUtils["e" /* prefix */])(bsProps, 'title');
-
- if (!collapsible) {
- if (!external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.isValidElement(header)) {
- return header;
- }
-
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["cloneElement"])(header, {
- className: classnames_default()(header.props.className, titleClassName)
- });
- }
-
- if (!external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.isValidElement(header)) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'h4',
- { role: 'presentation', className: titleClassName },
- this.renderAnchor(header, id, role, expanded)
- );
- }
-
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["cloneElement"])(header, {
- className: classnames_default()(header.props.className, titleClassName),
- children: this.renderAnchor(header.props.children, id, role, expanded)
- });
- };
-
- Panel.prototype.render = function render() {
- var _props = this.props,
- collapsible = _props.collapsible,
- header = _props.header,
- id = _props.id,
- footer = _props.footer,
- propsExpanded = _props.expanded,
- headerRole = _props.headerRole,
- panelRole = _props.panelRole,
- className = _props.className,
- children = _props.children,
- onEnter = _props.onEnter,
- onEntering = _props.onEntering,
- onEntered = _props.onEntered,
- onExit = _props.onExit,
- onExiting = _props.onExiting,
- onExited = _props.onExited,
- props = objectWithoutProperties_default()(_props, ['collapsible', 'header', 'id', 'footer', 'expanded', 'headerRole', 'panelRole', 'className', 'children', 'onEnter', 'onEntering', 'onEntered', 'onExit', 'onExiting', 'onExited']);
-
- var _splitBsPropsAndOmit = Object(bootstrapUtils["g" /* splitBsPropsAndOmit */])(props, ['defaultExpanded', 'eventKey', 'onSelect']),
- bsProps = _splitBsPropsAndOmit[0],
- elementProps = _splitBsPropsAndOmit[1];
-
- var expanded = propsExpanded != null ? propsExpanded : this.state.expanded;
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes),
- id: collapsible ? null : id
- }),
- header && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'heading') },
- this.renderHeader(collapsible, header, id, headerRole, expanded, bsProps)
- ),
- collapsible ? this.renderCollapsibleBody(id, expanded, panelRole, children, bsProps, { onEnter: onEnter, onEntering: onEntering, onEntered: onEntered, onExit: onExit, onExiting: onExiting, onExited: onExited }) : this.renderBody(children, bsProps),
- footer && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'footer') },
- footer
- )
- );
- };
-
- return Panel;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Panel_Panel.propTypes = Panel_propTypes;
-Panel_Panel.defaultProps = Panel_defaultProps;
-
-/* harmony default export */ var es_Panel = (Object(bootstrapUtils["a" /* bsClass */])('panel', Object(bootstrapUtils["c" /* bsStyles */])([].concat(values_default()(StyleConfig["d" /* State */]), [StyleConfig["e" /* Style */].DEFAULT, StyleConfig["e" /* Style */].PRIMARY]), StyleConfig["e" /* Style */].DEFAULT, Panel_Panel)));
-// EXTERNAL MODULE: ../node_modules/prop-types-extra/lib/isRequiredForA11y.js
-var isRequiredForA11y = __webpack_require__(52);
-var isRequiredForA11y_default = /*#__PURE__*/__webpack_require__.n(isRequiredForA11y);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Popover.js
-
-
-
-
-
-
-
-
-
-
-
-
-var Popover_propTypes = {
- /**
- * An html id attribute, necessary for accessibility
- * @type {string}
- * @required
- */
- id: isRequiredForA11y_default()(prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number])),
-
- /**
- * Sets the direction the Popover is positioned towards.
- */
- placement: prop_types_default.a.oneOf(['top', 'right', 'bottom', 'left']),
-
- /**
- * The "top" position value for the Popover.
- */
- positionTop: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
- /**
- * The "left" position value for the Popover.
- */
- positionLeft: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
-
- /**
- * The "top" position value for the Popover arrow.
- */
- arrowOffsetTop: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
- /**
- * The "left" position value for the Popover arrow.
- */
- arrowOffsetLeft: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
-
- /**
- * Title content
- */
- title: prop_types_default.a.node
-};
-
-var Popover_defaultProps = {
- placement: 'right'
-};
-
-var Popover_Popover = function (_React$Component) {
- inherits_default()(Popover, _React$Component);
-
- function Popover() {
- classCallCheck_default()(this, Popover);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Popover.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- placement = _props.placement,
- positionTop = _props.positionTop,
- positionLeft = _props.positionLeft,
- arrowOffsetTop = _props.arrowOffsetTop,
- arrowOffsetLeft = _props.arrowOffsetLeft,
- title = _props.title,
- className = _props.className,
- style = _props.style,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['placement', 'positionTop', 'positionLeft', 'arrowOffsetTop', 'arrowOffsetLeft', 'title', 'className', 'style', 'children']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), (_extends2 = {}, _extends2[placement] = true, _extends2));
-
- var outerStyle = extends_default()({
- display: 'block',
- top: positionTop,
- left: positionLeft
- }, style);
-
- var arrowStyle = {
- top: arrowOffsetTop,
- left: arrowOffsetLeft
- };
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, elementProps, {
- role: 'tooltip',
- className: classnames_default()(className, classes),
- style: outerStyle
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('div', { className: 'arrow', style: arrowStyle }),
- title && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'h3',
- { className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'title') },
- title
- ),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'content') },
- children
- )
- );
- };
-
- return Popover;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Popover_Popover.propTypes = Popover_propTypes;
-Popover_Popover.defaultProps = Popover_defaultProps;
-
-/* harmony default export */ var es_Popover = (Object(bootstrapUtils["a" /* bsClass */])('popover', Popover_Popover));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/ProgressBar.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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;
-
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.forEach(children, function (child) {
- if (error) {
- return;
- }
-
- if (child.type === ProgressBar_ProgressBar) {
- // eslint-disable-line no-use-before-define
- return;
- }
-
- var childIdentifier = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.isValidElement(child) ? child.type.displayName || child.type.name || child.type : child;
- error = new Error('Children of ' + componentName + ' can contain only ProgressBar ' + ('components. Found ' + childIdentifier + '.'));
- });
-
- return error;
-}
-
-var ProgressBar_propTypes = {
- min: prop_types_default.a.number,
- now: prop_types_default.a.number,
- max: prop_types_default.a.number,
- label: prop_types_default.a.node,
- srOnly: prop_types_default.a.bool,
- striped: prop_types_default.a.bool,
- active: prop_types_default.a.bool,
- children: onlyProgressBar,
-
- /**
- * @private
- */
- isChild: prop_types_default.a.bool
-};
-
-var ProgressBar_defaultProps = {
- min: 0,
- max: 100,
- active: 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;
-}
-
-var ProgressBar_ProgressBar = function (_React$Component) {
- inherits_default()(ProgressBar, _React$Component);
-
- function ProgressBar() {
- classCallCheck_default()(this, ProgressBar);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- ProgressBar.prototype.renderProgressBar = function renderProgressBar(_ref) {
- var _extends2;
-
- var min = _ref.min,
- now = _ref.now,
- max = _ref.max,
- label = _ref.label,
- srOnly = _ref.srOnly,
- striped = _ref.striped,
- active = _ref.active,
- className = _ref.className,
- style = _ref.style,
- props = objectWithoutProperties_default()(_ref, ['min', 'now', 'max', 'label', 'srOnly', 'striped', 'active', 'className', 'style']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), (_extends2 = {
- active: active
- }, _extends2[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'striped')] = active || striped, _extends2));
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, elementProps, {
- role: 'progressbar',
- className: classnames_default()(className, classes),
- style: extends_default()({ width: getPercentage(now, min, max) + '%' }, style),
- 'aria-valuenow': now,
- 'aria-valuemin': min,
- 'aria-valuemax': max
- }),
- srOnly ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'span',
- { className: 'sr-only' },
- label
- ) : label
- );
- };
-
- ProgressBar.prototype.render = function render() {
- var _props = this.props,
- isChild = _props.isChild,
- props = objectWithoutProperties_default()(_props, ['isChild']);
-
- if (isChild) {
- return this.renderProgressBar(props);
- }
-
- var min = props.min,
- now = props.now,
- max = props.max,
- label = props.label,
- srOnly = props.srOnly,
- striped = props.striped,
- active = props.active,
- bsClass = props.bsClass,
- bsStyle = props.bsStyle,
- className = props.className,
- children = props.children,
- wrapperProps = objectWithoutProperties_default()(props, ['min', 'now', 'max', 'label', 'srOnly', 'striped', 'active', 'bsClass', 'bsStyle', 'className', 'children']);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, wrapperProps, {
- className: classnames_default()(className, 'progress')
- }),
- children ? ValidComponentChildren["a" /* default */].map(children, function (child) {
- return Object(external___root___React___commonjs2___react___commonjs___react___amd___react__["cloneElement"])(child, { isChild: true });
- }) : this.renderProgressBar({
- min: min, now: now, max: max, label: label, srOnly: srOnly, striped: striped, active: active, bsClass: bsClass, bsStyle: bsStyle
- })
- );
- };
-
- return ProgressBar;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-ProgressBar_ProgressBar.propTypes = ProgressBar_propTypes;
-ProgressBar_ProgressBar.defaultProps = ProgressBar_defaultProps;
-
-/* harmony default export */ var es_ProgressBar = (Object(bootstrapUtils["a" /* bsClass */])('progress-bar', Object(bootstrapUtils["c" /* bsStyles */])(values_default()(StyleConfig["d" /* State */]), ProgressBar_ProgressBar)));
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/Radio.js
-var Radio = __webpack_require__(310);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/ResponsiveEmbed.js
-var ResponsiveEmbed = __webpack_require__(311);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Row.js
-
-
-
-
-
-
-
-
-
-
-
-var Row_propTypes = {
- componentClass: elementType_default.a
-};
-
-var Row_defaultProps = {
- componentClass: 'div'
-};
-
-var Row_Row = function (_React$Component) {
- inherits_default()(Row, _React$Component);
-
- function Row() {
- classCallCheck_default()(this, Row);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Row.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['componentClass', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return Row;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Row_Row.propTypes = Row_propTypes;
-Row_Row.defaultProps = Row_defaultProps;
-
-/* harmony default export */ var es_Row = (Object(bootstrapUtils["a" /* bsClass */])('row', Row_Row));
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/DropdownToggle.js
-var DropdownToggle = __webpack_require__(126);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/SplitToggle.js
-
-
-
-
-
-
-
-
-var SplitToggle_SplitToggle = function (_React$Component) {
- inherits_default()(SplitToggle, _React$Component);
-
- function SplitToggle() {
- classCallCheck_default()(this, SplitToggle);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- SplitToggle.prototype.render = function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(DropdownToggle["a" /* default */], extends_default()({}, this.props, {
- useAnchor: false,
- noCaret: false
- }));
- };
-
- return SplitToggle;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-SplitToggle_SplitToggle.defaultProps = DropdownToggle["a" /* default */].defaultProps;
-
-/* harmony default export */ var es_SplitToggle = (SplitToggle_SplitToggle);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/SplitButton.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-var SplitButton_propTypes = extends_default()({}, Dropdown["a" /* default */].propTypes, {
-
- // Toggle props.
- bsStyle: prop_types_default.a.string,
- bsSize: prop_types_default.a.string,
- href: prop_types_default.a.string,
- onClick: prop_types_default.a.func,
- /**
- * The content of the split button.
- */
- title: prop_types_default.a.node.isRequired,
- /**
- * Accessible label for the toggle; the value of `title` if not specified.
- */
- toggleLabel: prop_types_default.a.string,
-
- // Override generated docs from .
- /**
- * @private
- */
- children: prop_types_default.a.node
-});
-
-var SplitButton_SplitButton = function (_React$Component) {
- inherits_default()(SplitButton, _React$Component);
-
- function SplitButton() {
- classCallCheck_default()(this, SplitButton);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- SplitButton.prototype.render = function render() {
- var _props = this.props,
- bsSize = _props.bsSize,
- bsStyle = _props.bsStyle,
- title = _props.title,
- toggleLabel = _props.toggleLabel,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['bsSize', 'bsStyle', 'title', 'toggleLabel', 'children']);
-
- var _splitComponentProps = splitComponentProps(props, Dropdown["a" /* default */].ControlledComponent),
- dropdownProps = _splitComponentProps[0],
- buttonProps = _splitComponentProps[1];
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Dropdown["a" /* default */],
- extends_default()({}, dropdownProps, {
- bsSize: bsSize,
- bsStyle: bsStyle
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Button["a" /* default */],
- extends_default()({}, buttonProps, {
- disabled: props.disabled,
- bsSize: bsSize,
- bsStyle: bsStyle
- }),
- title
- ),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(es_SplitToggle, {
- 'aria-label': toggleLabel || title,
- bsSize: bsSize,
- bsStyle: bsStyle
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Dropdown["a" /* default */].Menu,
- null,
- children
- )
- );
- };
-
- return SplitButton;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-SplitButton_SplitButton.propTypes = SplitButton_propTypes;
-
-SplitButton_SplitButton.Toggle = es_SplitToggle;
-
-/* harmony default export */ var es_SplitButton = (SplitButton_SplitButton);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/TabContainer.js
-
-
-
-
-
-
-
-
-var TAB = 'tab';
-var PANE = 'pane';
-
-var idPropType = prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number]);
-
-var TabContainer_propTypes = {
- /**
- * HTML id attribute, required if no `generateChildId` prop
- * is specified.
- */
- id: function id(props) {
- var error = null;
-
- if (!props.generateChildId) {
- for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
- args[_key - 1] = arguments[_key];
- }
-
- error = idPropType.apply(undefined, [props].concat(args));
-
- if (!error && !props.id) {
- error = new Error('In order to properly initialize Tabs in a way that is accessible ' + 'to assistive technologies (such as screen readers) an `id` or a ' + '`generateChildId` prop to TabContainer is required');
- }
- }
-
- return error;
- },
-
-
- /**
- * 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) => `${this.props.id}-${type}-${key}`
- */
- generateChildId: prop_types_default.a.func,
-
- /**
- * A callback fired when a tab is selected.
- *
- * @controllable activeKey
- */
- onSelect: prop_types_default.a.func,
-
- /**
- * The `eventKey` of the currently active tab.
- *
- * @controllable onSelect
- */
- activeKey: prop_types_default.a.any
-};
-
-var TabContainer_childContextTypes = {
- $bs_tabContainer: prop_types_default.a.shape({
- activeKey: prop_types_default.a.any,
- onSelect: prop_types_default.a.func.isRequired,
- getTabId: prop_types_default.a.func.isRequired,
- getPaneId: prop_types_default.a.func.isRequired
- })
-};
-
-var TabContainer_TabContainer = function (_React$Component) {
- inherits_default()(TabContainer, _React$Component);
-
- function TabContainer() {
- classCallCheck_default()(this, TabContainer);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- TabContainer.prototype.getChildContext = function getChildContext() {
- var _props = this.props,
- activeKey = _props.activeKey,
- onSelect = _props.onSelect,
- generateChildId = _props.generateChildId,
- id = _props.id;
-
-
- var getId = generateChildId || function (key, type) {
- return id ? id + '-' + type + '-' + key : null;
- };
-
- return {
- $bs_tabContainer: {
- activeKey: activeKey,
- onSelect: onSelect,
- getTabId: function getTabId(key) {
- return getId(key, TAB);
- },
- getPaneId: function getPaneId(key) {
- return getId(key, PANE);
- }
- }
- };
- };
-
- TabContainer.prototype.render = function render() {
- var _props2 = this.props,
- children = _props2.children,
- props = objectWithoutProperties_default()(_props2, ['children']);
-
- delete props.generateChildId;
- delete props.onSelect;
- delete props.activeKey;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.cloneElement(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Children.only(children), props);
- };
-
- return TabContainer;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-TabContainer_TabContainer.propTypes = TabContainer_propTypes;
-TabContainer_TabContainer.childContextTypes = TabContainer_childContextTypes;
-
-/* harmony default export */ var es_TabContainer = (uncontrollable_default()(TabContainer_TabContainer, { activeKey: 'onSelect' }));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/TabContent.js
-
-
-
-
-
-
-
-
-
-
-
-
-var TabContent_propTypes = {
- componentClass: elementType_default.a,
-
- /**
- * Sets a default animation strategy for all children ``s. Use
- * `false` to disable, `true` to enable the default `` animation or any
- * `` component.
- */
- animation: prop_types_default.a.oneOfType([prop_types_default.a.bool, elementType_default.a]),
-
- /**
- * Wait until the first "enter" transition to mount tabs (add them to the DOM)
- */
- mountOnEnter: prop_types_default.a.bool,
-
- /**
- * Unmount tabs (remove it from the DOM) when they are no longer visible
- */
- unmountOnExit: prop_types_default.a.bool
-};
-
-var TabContent_defaultProps = {
- componentClass: 'div',
- animation: true,
- mountOnEnter: false,
- unmountOnExit: false
-};
-
-var TabContent_contextTypes = {
- $bs_tabContainer: prop_types_default.a.shape({
- activeKey: prop_types_default.a.any
- })
-};
-
-var TabContent_childContextTypes = {
- $bs_tabContent: prop_types_default.a.shape({
- bsClass: prop_types_default.a.string,
- animation: prop_types_default.a.oneOfType([prop_types_default.a.bool, elementType_default.a]),
- activeKey: prop_types_default.a.any,
- mountOnEnter: prop_types_default.a.bool,
- unmountOnExit: prop_types_default.a.bool,
- onPaneEnter: prop_types_default.a.func.isRequired,
- onPaneExited: prop_types_default.a.func.isRequired,
- exiting: prop_types_default.a.bool.isRequired
- })
-};
-
-var TabContent_TabContent = function (_React$Component) {
- inherits_default()(TabContent, _React$Component);
-
- function TabContent(props, context) {
- classCallCheck_default()(this, TabContent);
-
- var _this = possibleConstructorReturn_default()(this, _React$Component.call(this, props, context));
-
- _this.handlePaneEnter = _this.handlePaneEnter.bind(_this);
- _this.handlePaneExited = _this.handlePaneExited.bind(_this);
-
- // Active entries in state will be `null` unless `animation` is set. Need
- // to track active child in case keys swap and the active child changes
- // but the active key does not.
- _this.state = {
- activeKey: null,
- activeChild: null
- };
- return _this;
- }
-
- TabContent.prototype.getChildContext = function getChildContext() {
- var _props = this.props,
- bsClass = _props.bsClass,
- animation = _props.animation,
- mountOnEnter = _props.mountOnEnter,
- unmountOnExit = _props.unmountOnExit;
-
-
- var stateActiveKey = this.state.activeKey;
- var containerActiveKey = this.getContainerActiveKey();
-
- var activeKey = stateActiveKey != null ? stateActiveKey : containerActiveKey;
- var exiting = stateActiveKey != null && stateActiveKey !== containerActiveKey;
-
- return {
- $bs_tabContent: {
- bsClass: bsClass,
- animation: animation,
- activeKey: activeKey,
- mountOnEnter: mountOnEnter,
- unmountOnExit: unmountOnExit,
- onPaneEnter: this.handlePaneEnter,
- onPaneExited: this.handlePaneExited,
- exiting: exiting
- }
- };
- };
-
- TabContent.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- if (!nextProps.animation && this.state.activeChild) {
- this.setState({ activeKey: null, activeChild: null });
- }
- };
-
- TabContent.prototype.componentWillUnmount = function componentWillUnmount() {
- this.isUnmounted = true;
- };
-
- TabContent.prototype.getContainerActiveKey = function getContainerActiveKey() {
- var tabContainer = this.context.$bs_tabContainer;
- return tabContainer && tabContainer.activeKey;
- };
-
- TabContent.prototype.handlePaneEnter = function handlePaneEnter(child, childKey) {
- if (!this.props.animation) {
- return false;
- }
-
- // It's possible that this child should be transitioning out.
- if (childKey !== this.getContainerActiveKey()) {
- return false;
- }
-
- this.setState({
- activeKey: childKey,
- activeChild: child
- });
-
- return true;
- };
-
- TabContent.prototype.handlePaneExited = function handlePaneExited(child) {
- // This might happen as everything is unmounting.
- if (this.isUnmounted) {
- return;
- }
-
- this.setState(function (_ref) {
- var activeChild = _ref.activeChild;
-
- if (activeChild !== child) {
- return null;
- }
-
- return {
- activeKey: null,
- activeChild: null
- };
- });
- };
-
- TabContent.prototype.render = function render() {
- var _props2 = this.props,
- Component = _props2.componentClass,
- className = _props2.className,
- props = objectWithoutProperties_default()(_props2, ['componentClass', 'className']);
-
- var _splitBsPropsAndOmit = Object(bootstrapUtils["g" /* splitBsPropsAndOmit */])(props, ['animation', 'mountOnEnter', 'unmountOnExit']),
- bsProps = _splitBsPropsAndOmit[0],
- elementProps = _splitBsPropsAndOmit[1];
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Component, extends_default()({}, elementProps, {
- className: classnames_default()(className, Object(bootstrapUtils["e" /* prefix */])(bsProps, 'content'))
- }));
- };
-
- return TabContent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-TabContent_TabContent.propTypes = TabContent_propTypes;
-TabContent_TabContent.defaultProps = TabContent_defaultProps;
-TabContent_TabContent.contextTypes = TabContent_contextTypes;
-TabContent_TabContent.childContextTypes = TabContent_childContextTypes;
-
-/* harmony default export */ var es_TabContent = (Object(bootstrapUtils["a" /* bsClass */])('tab', TabContent_TabContent));
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/TabPane.js
-var TabPane = __webpack_require__(129);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Tab.js
-
-
-
-
-
-
-
-
-
-
-
-var Tab_propTypes = extends_default()({}, TabPane["a" /* default */].propTypes, {
-
- disabled: prop_types_default.a.bool,
-
- title: prop_types_default.a.node,
-
- /**
- * tabClassName is used as className for the associated NavItem
- */
- tabClassName: prop_types_default.a.string
-});
-
-var Tab_Tab = function (_React$Component) {
- inherits_default()(Tab, _React$Component);
-
- function Tab() {
- classCallCheck_default()(this, Tab);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Tab.prototype.render = function render() {
- var props = extends_default()({}, this.props);
-
- // These props are for the parent `` rather than the ``.
- delete props.title;
- delete props.disabled;
- delete props.tabClassName;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TabPane["a" /* default */], props);
- };
-
- return Tab;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Tab_Tab.propTypes = Tab_propTypes;
-
-Tab_Tab.Container = es_TabContainer;
-Tab_Tab.Content = es_TabContent;
-Tab_Tab.Pane = TabPane["a" /* default */];
-
-/* harmony default export */ var es_Tab = (Tab_Tab);
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Table.js
-
-
-
-
-
-
-
-
-
-
-
-var Table_propTypes = {
- striped: prop_types_default.a.bool,
- bordered: prop_types_default.a.bool,
- condensed: prop_types_default.a.bool,
- hover: prop_types_default.a.bool,
- responsive: prop_types_default.a.bool
-};
-
-var Table_defaultProps = {
- bordered: false,
- condensed: false,
- hover: false,
- responsive: false,
- striped: false
-};
-
-var Table_Table = function (_React$Component) {
- inherits_default()(Table, _React$Component);
-
- function Table() {
- classCallCheck_default()(this, Table);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Table.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- striped = _props.striped,
- bordered = _props.bordered,
- condensed = _props.condensed,
- hover = _props.hover,
- responsive = _props.responsive,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['striped', 'bordered', 'condensed', 'hover', 'responsive', 'className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), (_extends2 = {}, _extends2[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'striped')] = striped, _extends2[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'bordered')] = bordered, _extends2[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'condensed')] = condensed, _extends2[Object(bootstrapUtils["e" /* prefix */])(bsProps, 'hover')] = hover, _extends2));
-
- var table = external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('table', extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
-
- if (responsive) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'responsive') },
- table
- );
- }
-
- return table;
- };
-
- return Table;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Table_Table.propTypes = Table_propTypes;
-Table_Table.defaultProps = Table_defaultProps;
-
-/* harmony default export */ var es_Table = (Object(bootstrapUtils["a" /* bsClass */])('table', Table_Table));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Tabs.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var Tabs_TabContainer = es_TabContainer.ControlledComponent;
-
-var Tabs_propTypes = {
- /**
- * Mark the Tab with a matching `eventKey` as active.
- *
- * @controllable onSelect
- */
- activeKey: prop_types_default.a.any,
-
- /**
- * Navigation style
- */
- bsStyle: prop_types_default.a.oneOf(['tabs', 'pills']),
-
- animation: prop_types_default.a.bool,
-
- id: isRequiredForA11y_default()(prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number])),
-
- /**
- * Callback fired when a Tab is selected.
- *
- * ```js
- * function (
- * Any eventKey,
- * SyntheticEvent event?
- * )
- * ```
- *
- * @controllable activeKey
- */
- onSelect: prop_types_default.a.func,
-
- /**
- * Wait until the first "enter" transition to mount tabs (add them to the DOM)
- */
- mountOnEnter: prop_types_default.a.bool,
-
- /**
- * Unmount tabs (remove it from the DOM) when it is no longer visible
- */
- unmountOnExit: prop_types_default.a.bool
-};
-
-var Tabs_defaultProps = {
- bsStyle: 'tabs',
- animation: true,
- mountOnEnter: false,
- unmountOnExit: false
-};
-
-function getDefaultActiveKey(children) {
- var defaultActiveKey = void 0;
- ValidComponentChildren["a" /* default */].forEach(children, function (child) {
- if (defaultActiveKey == null) {
- defaultActiveKey = child.props.eventKey;
- }
- });
-
- return defaultActiveKey;
-}
-
-var Tabs_Tabs = function (_React$Component) {
- inherits_default()(Tabs, _React$Component);
-
- function Tabs() {
- classCallCheck_default()(this, Tabs);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Tabs.prototype.renderTab = function renderTab(child) {
- var _child$props = child.props,
- title = _child$props.title,
- eventKey = _child$props.eventKey,
- disabled = _child$props.disabled,
- tabClassName = _child$props.tabClassName;
-
- if (title == null) {
- return null;
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_NavItem,
- {
- eventKey: eventKey,
- disabled: disabled,
- className: tabClassName
- },
- title
- );
- };
-
- Tabs.prototype.render = function render() {
- var _props = this.props,
- id = _props.id,
- onSelect = _props.onSelect,
- animation = _props.animation,
- mountOnEnter = _props.mountOnEnter,
- unmountOnExit = _props.unmountOnExit,
- bsClass = _props.bsClass,
- className = _props.className,
- style = _props.style,
- children = _props.children,
- _props$activeKey = _props.activeKey,
- activeKey = _props$activeKey === undefined ? getDefaultActiveKey(children) : _props$activeKey,
- props = objectWithoutProperties_default()(_props, ['id', 'onSelect', 'animation', 'mountOnEnter', 'unmountOnExit', 'bsClass', 'className', 'style', 'children', 'activeKey']);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Tabs_TabContainer,
- {
- id: id,
- activeKey: activeKey,
- onSelect: onSelect,
- className: className,
- style: style
- },
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- null,
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Nav["a" /* default */],
- extends_default()({}, props, {
- role: 'tablist'
- }),
- ValidComponentChildren["a" /* default */].map(children, this.renderTab)
- ),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- es_TabContent,
- {
- bsClass: bsClass,
- animation: animation,
- mountOnEnter: mountOnEnter,
- unmountOnExit: unmountOnExit
- },
- children
- )
- )
- );
- };
-
- return Tabs;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Tabs_Tabs.propTypes = Tabs_propTypes;
-Tabs_Tabs.defaultProps = Tabs_defaultProps;
-
-Object(bootstrapUtils["a" /* bsClass */])('tab', Tabs_Tabs);
-
-/* harmony default export */ var es_Tabs = (uncontrollable_default()(Tabs_Tabs, { activeKey: 'onSelect' }));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Thumbnail.js
-
-
-
-
-
-/* eslint-disable jsx-a11y/alt-text */
-
-
-
-
-
-
-
-
-var Thumbnail_propTypes = {
- /**
- * src property that is passed down to the image inside this component
- */
- src: prop_types_default.a.string,
- /**
- * alt property that is passed down to the image inside this component
- */
- alt: prop_types_default.a.string,
- /**
- * href property that is passed down to the image inside this component
- */
- href: prop_types_default.a.string,
- /**
- * onError callback that is passed down to the image inside this component
- */
- onError: prop_types_default.a.func,
- /**
- * onLoad callback that is passed down to the image inside this component
- */
- onLoad: prop_types_default.a.func
-};
-
-var Thumbnail_Thumbnail = function (_React$Component) {
- inherits_default()(Thumbnail, _React$Component);
-
- function Thumbnail() {
- classCallCheck_default()(this, Thumbnail);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Thumbnail.prototype.render = function render() {
- var _props = this.props,
- src = _props.src,
- alt = _props.alt,
- onError = _props.onError,
- onLoad = _props.onLoad,
- className = _props.className,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['src', 'alt', 'onError', 'onLoad', 'className', 'children']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var Component = elementProps.href ? SafeAnchor["a" /* default */] : 'div';
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- Component,
- extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('img', { src: src, alt: alt, onError: onError, onLoad: onLoad }),
- children && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: 'caption' },
- children
- )
- );
- };
-
- return Thumbnail;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Thumbnail_Thumbnail.propTypes = Thumbnail_propTypes;
-
-/* harmony default export */ var es_Thumbnail = (Object(bootstrapUtils["a" /* bsClass */])('thumbnail', Thumbnail_Thumbnail));
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/ToggleButton.js
-var ToggleButton = __webpack_require__(130);
-
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/ToggleButtonGroup.js
-var ToggleButtonGroup = __webpack_require__(312);
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Tooltip.js
-
-
-
-
-
-
-
-
-
-
-
-
-var Tooltip_propTypes = {
- /**
- * An html id attribute, necessary for accessibility
- * @type {string|number}
- * @required
- */
- id: isRequiredForA11y_default()(prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number])),
-
- /**
- * Sets the direction the Tooltip is positioned towards.
- */
- placement: prop_types_default.a.oneOf(['top', 'right', 'bottom', 'left']),
-
- /**
- * The "top" position value for the Tooltip.
- */
- positionTop: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
- /**
- * The "left" position value for the Tooltip.
- */
- positionLeft: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
-
- /**
- * The "top" position value for the Tooltip arrow.
- */
- arrowOffsetTop: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]),
- /**
- * The "left" position value for the Tooltip arrow.
- */
- arrowOffsetLeft: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string])
-};
-
-var Tooltip_defaultProps = {
- placement: 'right'
-};
-
-var Tooltip_Tooltip = function (_React$Component) {
- inherits_default()(Tooltip, _React$Component);
-
- function Tooltip() {
- classCallCheck_default()(this, Tooltip);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Tooltip.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- placement = _props.placement,
- positionTop = _props.positionTop,
- positionLeft = _props.positionLeft,
- arrowOffsetTop = _props.arrowOffsetTop,
- arrowOffsetLeft = _props.arrowOffsetLeft,
- className = _props.className,
- style = _props.style,
- children = _props.children,
- props = objectWithoutProperties_default()(_props, ['placement', 'positionTop', 'positionLeft', 'arrowOffsetTop', 'arrowOffsetLeft', 'className', 'style', 'children']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = extends_default()({}, Object(bootstrapUtils["d" /* getClassSet */])(bsProps), (_extends2 = {}, _extends2[placement] = true, _extends2));
-
- var outerStyle = extends_default()({
- top: positionTop,
- left: positionLeft
- }, style);
-
- var arrowStyle = {
- top: arrowOffsetTop,
- left: arrowOffsetLeft
- };
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- extends_default()({}, elementProps, {
- role: 'tooltip',
- className: classnames_default()(className, classes),
- style: outerStyle
- }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('div', { className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'arrow'), style: arrowStyle }),
- external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(
- 'div',
- { className: Object(bootstrapUtils["e" /* prefix */])(bsProps, 'inner') },
- children
- )
- );
- };
-
- return Tooltip;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Tooltip_Tooltip.propTypes = Tooltip_propTypes;
-Tooltip_Tooltip.defaultProps = Tooltip_defaultProps;
-
-/* harmony default export */ var es_Tooltip = (Object(bootstrapUtils["a" /* bsClass */])('tooltip', Tooltip_Tooltip));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/Well.js
-
-
-
-
-
-
-
-
-
-
-
-var Well_Well = function (_React$Component) {
- inherits_default()(Well, _React$Component);
-
- function Well() {
- classCallCheck_default()(this, Well);
-
- return possibleConstructorReturn_default()(this, _React$Component.apply(this, arguments));
- }
-
- Well.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- props = objectWithoutProperties_default()(_props, ['className']);
-
- var _splitBsProps = Object(bootstrapUtils["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(bootstrapUtils["d" /* getClassSet */])(bsProps);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement('div', extends_default()({}, elementProps, {
- className: classnames_default()(className, classes)
- }));
- };
-
- return Well;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var es_Well = (Object(bootstrapUtils["a" /* bsClass */])('well', Object(bootstrapUtils["b" /* bsSizes */])([StyleConfig["c" /* Size */].LARGE, StyleConfig["c" /* Size */].SMALL], Well_Well)));
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/utils/index.js
-
-
-
-
-
-
-// CONCATENATED MODULE: ../node_modules/react-bootstrap/es/index.js
-/* unused concated harmony import Accordion */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Accordion; });
-/* unused concated harmony import Alert */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Alert; });
-/* unused concated harmony import Badge */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Badge; });
-/* unused concated harmony import Breadcrumb */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Breadcrumb; });
-/* unused concated harmony import BreadcrumbItem */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_BreadcrumbItem; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "a", function() { return Button["a" /* default */]; });
-/* unused concated harmony import ButtonGroup */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return ButtonGroup["a" /* default */]; });
-/* unused concated harmony import ButtonToolbar */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_ButtonToolbar; });
-/* unused concated harmony import Carousel */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Carousel; });
-/* unused concated harmony import CarouselItem */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_CarouselItem; });
-/* unused concated harmony import Checkbox */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return /* unused reexport */undefined; });
-/* unused concated harmony import Clearfix */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Clearfix; });
-/* unused concated harmony import CloseButton */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_CloseButton; });
-/* unused concated harmony import ControlLabel */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return /* unused reexport */undefined; });
-/* unused concated harmony import Col */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Col; });
-/* unused concated harmony import Collapse */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Collapse; });
-/* unused concated harmony import Dropdown */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return Dropdown["a" /* default */]; });
-/* unused concated harmony import DropdownButton */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_DropdownButton; });
-/* unused concated harmony import Fade */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return Fade["a" /* default */]; });
-/* unused concated harmony import Form */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Form; });
-/* unused concated harmony import FormControl */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return /* unused reexport */undefined; });
-/* unused concated harmony import FormGroup */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_FormGroup; });
-/* unused concated harmony import Glyphicon */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return Glyphicon["a" /* default */]; });
-/* unused concated harmony import Grid */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Grid; });
-/* unused concated harmony import HelpBlock */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_HelpBlock; });
-/* unused concated harmony import Image */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Image; });
-/* unused concated harmony import InputGroup */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_InputGroup; });
-/* unused concated harmony import Jumbotron */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Jumbotron; });
-/* unused concated harmony import Label */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Label; });
-/* unused concated harmony import ListGroup */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_ListGroup; });
-/* unused concated harmony import ListGroupItem */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_ListGroupItem; });
-/* unused concated harmony import Media */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Media; });
-/* unused concated harmony import MenuItem */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_MenuItem; });
-/* unused concated harmony import Modal */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Modal; });
-/* unused concated harmony import ModalBody */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_ModalBody; });
-/* unused concated harmony import ModalFooter */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_ModalFooter; });
-/* unused concated harmony import ModalHeader */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_ModalHeader; });
-/* unused concated harmony import ModalTitle */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_ModalTitle; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "b", function() { return Nav["a" /* default */]; });
-/* unused concated harmony import Navbar */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Navbar; });
-/* unused concated harmony import NavbarBrand */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_NavbarBrand; });
-/* unused concated harmony import NavDropdown */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_NavDropdown; });
-/* unused concated harmony import NavItem */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_NavItem; });
-/* unused concated harmony import Overlay */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return Overlay["a" /* default */]; });
-/* unused concated harmony import OverlayTrigger */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return /* unused reexport */undefined; });
-/* unused concated harmony import PageHeader */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_PageHeader; });
-/* unused concated harmony import PageItem */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return PageItem; });
-/* unused concated harmony import Pager */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Pager; });
-/* unused concated harmony import Pagination */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Pagination; });
-/* unused concated harmony import PaginationButton */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_PaginationButton; });
-/* unused concated harmony import Panel */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Panel; });
-/* unused concated harmony import PanelGroup */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_PanelGroup; });
-/* unused concated harmony import Popover */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Popover; });
-/* unused concated harmony import ProgressBar */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_ProgressBar; });
-/* unused concated harmony import Radio */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return /* unused reexport */undefined; });
-/* unused concated harmony import ResponsiveEmbed */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return /* unused reexport */undefined; });
-/* unused concated harmony import Row */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Row; });
-/* unused concated harmony import SafeAnchor */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return SafeAnchor["a" /* default */]; });
-/* unused concated harmony import SplitButton */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_SplitButton; });
-/* unused concated harmony import Tab */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Tab; });
-/* unused concated harmony import TabContainer */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_TabContainer; });
-/* unused concated harmony import TabContent */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_TabContent; });
-/* unused concated harmony import Table */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Table; });
-/* unused concated harmony import TabPane */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return TabPane["a" /* default */]; });
-/* unused concated harmony import Tabs */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Tabs; });
-/* unused concated harmony import Thumbnail */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Thumbnail; });
-/* unused concated harmony import ToggleButton */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return ToggleButton["a" /* default */]; });
-/* unused concated harmony import ToggleButtonGroup */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return /* unused reexport */undefined; });
-/* unused concated harmony import Tooltip */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Tooltip; });
-/* unused concated harmony import Well */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return es_Well; });
-/* unused concated harmony import utils */
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, false, function() { return utils_namespaceObject; });
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/***/ }),
-/* 101 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(global) {/**!
- * @fileOverview Kickass library to create and place poppers near their reference elements.
- * @version 1.14.6
- * @license
- * Copyright (c) 2016 Federico Zivolo and contributors
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
-
-var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];
-var timeoutDuration = 0;
-for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {
- if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {
- timeoutDuration = 1;
- break;
- }
-}
-
-function microtaskDebounce(fn) {
- var called = false;
- return function () {
- if (called) {
- return;
- }
- called = true;
- window.Promise.resolve().then(function () {
- called = false;
- fn();
- });
- };
-}
-
-function taskDebounce(fn) {
- var scheduled = false;
- return function () {
- if (!scheduled) {
- scheduled = true;
- setTimeout(function () {
- scheduled = false;
- fn();
- }, timeoutDuration);
- }
- };
-}
-
-var supportsMicroTasks = isBrowser && window.Promise;
-
-/**
-* Create a debounced version of a method, that's asynchronously deferred
-* but called in the minimum time possible.
-*
-* @method
-* @memberof Popper.Utils
-* @argument {Function} fn
-* @returns {Function}
-*/
-var debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce;
-
-/**
- * Check if the given variable is a function
- * @method
- * @memberof Popper.Utils
- * @argument {Any} functionToCheck - variable to check
- * @returns {Boolean} answer to: is a function?
- */
-function isFunction(functionToCheck) {
- var getType = {};
- return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
-}
-
-/**
- * Get CSS computed property of the given element
- * @method
- * @memberof Popper.Utils
- * @argument {Eement} element
- * @argument {String} property
- */
-function getStyleComputedProperty(element, property) {
- if (element.nodeType !== 1) {
- return [];
- }
- // NOTE: 1 DOM access here
- var window = element.ownerDocument.defaultView;
- var css = window.getComputedStyle(element, null);
- return property ? css[property] : css;
-}
-
-/**
- * Returns the parentNode or the host of the element
- * @method
- * @memberof Popper.Utils
- * @argument {Element} element
- * @returns {Element} parent
- */
-function getParentNode(element) {
- if (element.nodeName === 'HTML') {
- return element;
- }
- return element.parentNode || element.host;
-}
-
-/**
- * Returns the scrolling parent of the given element
- * @method
- * @memberof Popper.Utils
- * @argument {Element} element
- * @returns {Element} scroll parent
- */
-function getScrollParent(element) {
- // Return body, `getScroll` will take care to get the correct `scrollTop` from it
- if (!element) {
- return document.body;
- }
-
- switch (element.nodeName) {
- case 'HTML':
- case 'BODY':
- return element.ownerDocument.body;
- case '#document':
- return element.body;
- }
-
- // Firefox want us to check `-x` and `-y` variations as well
-
- var _getStyleComputedProp = getStyleComputedProperty(element),
- overflow = _getStyleComputedProp.overflow,
- overflowX = _getStyleComputedProp.overflowX,
- overflowY = _getStyleComputedProp.overflowY;
-
- if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {
- return element;
- }
-
- return getScrollParent(getParentNode(element));
-}
-
-var isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);
-var isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);
-
-/**
- * Determines if the browser is Internet Explorer
- * @method
- * @memberof Popper.Utils
- * @param {Number} version to check
- * @returns {Boolean} isIE
- */
-function isIE(version) {
- if (version === 11) {
- return isIE11;
- }
- if (version === 10) {
- return isIE10;
- }
- return isIE11 || isIE10;
-}
-
-/**
- * Returns the offset parent of the given element
- * @method
- * @memberof Popper.Utils
- * @argument {Element} element
- * @returns {Element} offset parent
- */
-function getOffsetParent(element) {
- if (!element) {
- return document.documentElement;
- }
-
- var noOffsetParent = isIE(10) ? document.body : null;
-
- // NOTE: 1 DOM access here
- var offsetParent = element.offsetParent || null;
- // Skip hidden elements which don't have an offsetParent
- while (offsetParent === noOffsetParent && element.nextElementSibling) {
- offsetParent = (element = element.nextElementSibling).offsetParent;
- }
-
- var nodeName = offsetParent && offsetParent.nodeName;
-
- if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {
- return element ? element.ownerDocument.documentElement : document.documentElement;
- }
-
- // .offsetParent will return the closest TH, TD or TABLE in case
- // no offsetParent is present, I hate this job...
- if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {
- return getOffsetParent(offsetParent);
- }
-
- return offsetParent;
-}
-
-function isOffsetContainer(element) {
- var nodeName = element.nodeName;
-
- if (nodeName === 'BODY') {
- return false;
- }
- return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element;
-}
-
-/**
- * Finds the root node (document, shadowDOM root) of the given element
- * @method
- * @memberof Popper.Utils
- * @argument {Element} node
- * @returns {Element} root node
- */
-function getRoot(node) {
- if (node.parentNode !== null) {
- return getRoot(node.parentNode);
- }
-
- return node;
-}
-
-/**
- * Finds the offset parent common to the two provided nodes
- * @method
- * @memberof Popper.Utils
- * @argument {Element} element1
- * @argument {Element} element2
- * @returns {Element} common offset parent
- */
-function findCommonOffsetParent(element1, element2) {
- // This check is needed to avoid errors in case one of the elements isn't defined for any reason
- if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {
- return document.documentElement;
- }
-
- // Here we make sure to give as "start" the element that comes first in the DOM
- var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING;
- var start = order ? element1 : element2;
- var end = order ? element2 : element1;
-
- // Get common ancestor container
- var range = document.createRange();
- range.setStart(start, 0);
- range.setEnd(end, 0);
- var commonAncestorContainer = range.commonAncestorContainer;
-
- // Both nodes are inside #document
-
- if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) {
- if (isOffsetContainer(commonAncestorContainer)) {
- return commonAncestorContainer;
- }
-
- return getOffsetParent(commonAncestorContainer);
- }
-
- // one of the nodes is inside shadowDOM, find which one
- var element1root = getRoot(element1);
- if (element1root.host) {
- return findCommonOffsetParent(element1root.host, element2);
- } else {
- return findCommonOffsetParent(element1, getRoot(element2).host);
- }
-}
-
-/**
- * Gets the scroll value of the given element in the given side (top and left)
- * @method
- * @memberof Popper.Utils
- * @argument {Element} element
- * @argument {String} side `top` or `left`
- * @returns {number} amount of scrolled pixels
- */
-function getScroll(element) {
- var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top';
-
- var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';
- var nodeName = element.nodeName;
-
- if (nodeName === 'BODY' || nodeName === 'HTML') {
- var html = element.ownerDocument.documentElement;
- var scrollingElement = element.ownerDocument.scrollingElement || html;
- return scrollingElement[upperSide];
- }
-
- return element[upperSide];
-}
-
-/*
- * Sum or subtract the element scroll values (left and top) from a given rect object
- * @method
- * @memberof Popper.Utils
- * @param {Object} rect - Rect object you want to change
- * @param {HTMLElement} element - The element from the function reads the scroll values
- * @param {Boolean} subtract - set to true if you want to subtract the scroll values
- * @return {Object} rect - The modifier rect object
- */
-function includeScroll(rect, element) {
- var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-
- var scrollTop = getScroll(element, 'top');
- var scrollLeft = getScroll(element, 'left');
- var modifier = subtract ? -1 : 1;
- rect.top += scrollTop * modifier;
- rect.bottom += scrollTop * modifier;
- rect.left += scrollLeft * modifier;
- rect.right += scrollLeft * modifier;
- return rect;
-}
-
-/*
- * Helper to detect borders of a given element
- * @method
- * @memberof Popper.Utils
- * @param {CSSStyleDeclaration} styles
- * Result of `getStyleComputedProperty` on the given element
- * @param {String} axis - `x` or `y`
- * @return {number} borders - The borders size of the given axis
- */
-
-function getBordersSize(styles, axis) {
- var sideA = axis === 'x' ? 'Left' : 'Top';
- var sideB = sideA === 'Left' ? 'Right' : 'Bottom';
-
- return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10);
-}
-
-function getSize(axis, body, html, computedStyle) {
- return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);
-}
-
-function getWindowSizes(document) {
- var body = document.body;
- var html = document.documentElement;
- var computedStyle = isIE(10) && getComputedStyle(html);
-
- return {
- height: getSize('Height', body, html, computedStyle),
- width: getSize('Width', body, html, computedStyle)
- };
-}
-
-var classCallCheck = function (instance, Constructor) {
- if (!(instance instanceof Constructor)) {
- throw new TypeError("Cannot call a class as a function");
- }
-};
-
-var createClass = function () {
- function defineProperties(target, props) {
- for (var i = 0; i < props.length; i++) {
- var descriptor = props[i];
- descriptor.enumerable = descriptor.enumerable || false;
- descriptor.configurable = true;
- if ("value" in descriptor) descriptor.writable = true;
- Object.defineProperty(target, descriptor.key, descriptor);
- }
- }
-
- return function (Constructor, protoProps, staticProps) {
- if (protoProps) defineProperties(Constructor.prototype, protoProps);
- if (staticProps) defineProperties(Constructor, staticProps);
- return Constructor;
- };
-}();
-
-
-
-
-
-var defineProperty = function (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;
-};
-
-var _extends = Object.assign || function (target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
-
- for (var key in source) {
- if (Object.prototype.hasOwnProperty.call(source, key)) {
- target[key] = source[key];
- }
- }
- }
-
- return target;
-};
-
-/**
- * Given element offsets, generate an output similar to getBoundingClientRect
- * @method
- * @memberof Popper.Utils
- * @argument {Object} offsets
- * @returns {Object} ClientRect like output
- */
-function getClientRect(offsets) {
- return _extends({}, offsets, {
- right: offsets.left + offsets.width,
- bottom: offsets.top + offsets.height
- });
-}
-
-/**
- * Get bounding client rect of given element
- * @method
- * @memberof Popper.Utils
- * @param {HTMLElement} element
- * @return {Object} client rect
- */
-function getBoundingClientRect(element) {
- var rect = {};
-
- // IE10 10 FIX: Please, don't ask, the element isn't
- // considered in DOM in some circumstances...
- // This isn't reproducible in IE10 compatibility mode of IE11
- try {
- if (isIE(10)) {
- rect = element.getBoundingClientRect();
- var scrollTop = getScroll(element, 'top');
- var scrollLeft = getScroll(element, 'left');
- rect.top += scrollTop;
- rect.left += scrollLeft;
- rect.bottom += scrollTop;
- rect.right += scrollLeft;
- } else {
- rect = element.getBoundingClientRect();
- }
- } catch (e) {}
-
- var result = {
- left: rect.left,
- top: rect.top,
- width: rect.right - rect.left,
- height: rect.bottom - rect.top
- };
-
- // subtract scrollbar size from sizes
- var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};
- var width = sizes.width || element.clientWidth || result.right - result.left;
- var height = sizes.height || element.clientHeight || result.bottom - result.top;
-
- var horizScrollbar = element.offsetWidth - width;
- var vertScrollbar = element.offsetHeight - height;
-
- // if an hypothetical scrollbar is detected, we must be sure it's not a `border`
- // we make this check conditional for performance reasons
- if (horizScrollbar || vertScrollbar) {
- var styles = getStyleComputedProperty(element);
- horizScrollbar -= getBordersSize(styles, 'x');
- vertScrollbar -= getBordersSize(styles, 'y');
-
- result.width -= horizScrollbar;
- result.height -= vertScrollbar;
- }
-
- return getClientRect(result);
-}
-
-function getOffsetRectRelativeToArbitraryNode(children, parent) {
- var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-
- var isIE10 = isIE(10);
- var isHTML = parent.nodeName === 'HTML';
- var childrenRect = getBoundingClientRect(children);
- var parentRect = getBoundingClientRect(parent);
- var scrollParent = getScrollParent(children);
-
- var styles = getStyleComputedProperty(parent);
- var borderTopWidth = parseFloat(styles.borderTopWidth, 10);
- var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10);
-
- // In cases where the parent is fixed, we must ignore negative scroll in offset calc
- if (fixedPosition && isHTML) {
- parentRect.top = Math.max(parentRect.top, 0);
- parentRect.left = Math.max(parentRect.left, 0);
- }
- var offsets = getClientRect({
- top: childrenRect.top - parentRect.top - borderTopWidth,
- left: childrenRect.left - parentRect.left - borderLeftWidth,
- width: childrenRect.width,
- height: childrenRect.height
- });
- offsets.marginTop = 0;
- offsets.marginLeft = 0;
-
- // Subtract margins of documentElement in case it's being used as parent
- // we do this only on HTML because it's the only element that behaves
- // differently when margins are applied to it. The margins are included in
- // the box of the documentElement, in the other cases not.
- if (!isIE10 && isHTML) {
- var marginTop = parseFloat(styles.marginTop, 10);
- var marginLeft = parseFloat(styles.marginLeft, 10);
-
- offsets.top -= borderTopWidth - marginTop;
- offsets.bottom -= borderTopWidth - marginTop;
- offsets.left -= borderLeftWidth - marginLeft;
- offsets.right -= borderLeftWidth - marginLeft;
-
- // Attach marginTop and marginLeft because in some circumstances we may need them
- offsets.marginTop = marginTop;
- offsets.marginLeft = marginLeft;
- }
-
- if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') {
- offsets = includeScroll(offsets, parent);
- }
-
- return offsets;
-}
-
-function getViewportOffsetRectRelativeToArtbitraryNode(element) {
- var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-
- var html = element.ownerDocument.documentElement;
- var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);
- var width = Math.max(html.clientWidth, window.innerWidth || 0);
- var height = Math.max(html.clientHeight, window.innerHeight || 0);
-
- var scrollTop = !excludeScroll ? getScroll(html) : 0;
- var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;
-
- var offset = {
- top: scrollTop - relativeOffset.top + relativeOffset.marginTop,
- left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,
- width: width,
- height: height
- };
-
- return getClientRect(offset);
-}
-
-/**
- * Check if the given element is fixed or is inside a fixed parent
- * @method
- * @memberof Popper.Utils
- * @argument {Element} element
- * @argument {Element} customContainer
- * @returns {Boolean} answer to "isFixed?"
- */
-function isFixed(element) {
- var nodeName = element.nodeName;
- if (nodeName === 'BODY' || nodeName === 'HTML') {
- return false;
- }
- if (getStyleComputedProperty(element, 'position') === 'fixed') {
- return true;
- }
- return isFixed(getParentNode(element));
-}
-
-/**
- * Finds the first parent of an element that has a transformed property defined
- * @method
- * @memberof Popper.Utils
- * @argument {Element} element
- * @returns {Element} first transformed parent or documentElement
- */
-
-function getFixedPositionOffsetParent(element) {
- // This check is needed to avoid errors in case one of the elements isn't defined for any reason
- if (!element || !element.parentElement || isIE()) {
- return document.documentElement;
- }
- var el = element.parentElement;
- while (el && getStyleComputedProperty(el, 'transform') === 'none') {
- el = el.parentElement;
- }
- return el || document.documentElement;
-}
-
-/**
- * Computed the boundaries limits and return them
- * @method
- * @memberof Popper.Utils
- * @param {HTMLElement} popper
- * @param {HTMLElement} reference
- * @param {number} padding
- * @param {HTMLElement} boundariesElement - Element used to define the boundaries
- * @param {Boolean} fixedPosition - Is in fixed position mode
- * @returns {Object} Coordinates of the boundaries
- */
-function getBoundaries(popper, reference, padding, boundariesElement) {
- var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
-
- // NOTE: 1 DOM access here
-
- var boundaries = { top: 0, left: 0 };
- var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);
-
- // Handle viewport case
- if (boundariesElement === 'viewport') {
- boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);
- } else {
- // Handle other cases based on DOM element used as boundaries
- var boundariesNode = void 0;
- if (boundariesElement === 'scrollParent') {
- boundariesNode = getScrollParent(getParentNode(reference));
- if (boundariesNode.nodeName === 'BODY') {
- boundariesNode = popper.ownerDocument.documentElement;
- }
- } else if (boundariesElement === 'window') {
- boundariesNode = popper.ownerDocument.documentElement;
- } else {
- boundariesNode = boundariesElement;
- }
-
- var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);
-
- // In case of HTML, we need a different computation
- if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {
- var _getWindowSizes = getWindowSizes(popper.ownerDocument),
- height = _getWindowSizes.height,
- width = _getWindowSizes.width;
-
- boundaries.top += offsets.top - offsets.marginTop;
- boundaries.bottom = height + offsets.top;
- boundaries.left += offsets.left - offsets.marginLeft;
- boundaries.right = width + offsets.left;
- } else {
- // for all the other DOM elements, this one is good
- boundaries = offsets;
- }
- }
-
- // Add paddings
- padding = padding || 0;
- var isPaddingNumber = typeof padding === 'number';
- boundaries.left += isPaddingNumber ? padding : padding.left || 0;
- boundaries.top += isPaddingNumber ? padding : padding.top || 0;
- boundaries.right -= isPaddingNumber ? padding : padding.right || 0;
- boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0;
-
- return boundaries;
-}
-
-function getArea(_ref) {
- var width = _ref.width,
- height = _ref.height;
-
- return width * height;
-}
-
-/**
- * Utility used to transform the `auto` placement to the placement with more
- * available space.
- * @method
- * @memberof Popper.Utils
- * @argument {Object} data - The data object generated by update method
- * @argument {Object} options - Modifiers configuration and options
- * @returns {Object} The data object, properly modified
- */
-function computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {
- var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;
-
- if (placement.indexOf('auto') === -1) {
- return placement;
- }
-
- var boundaries = getBoundaries(popper, reference, padding, boundariesElement);
-
- var rects = {
- top: {
- width: boundaries.width,
- height: refRect.top - boundaries.top
- },
- right: {
- width: boundaries.right - refRect.right,
- height: boundaries.height
- },
- bottom: {
- width: boundaries.width,
- height: boundaries.bottom - refRect.bottom
- },
- left: {
- width: refRect.left - boundaries.left,
- height: boundaries.height
- }
- };
-
- var sortedAreas = Object.keys(rects).map(function (key) {
- return _extends({
- key: key
- }, rects[key], {
- area: getArea(rects[key])
- });
- }).sort(function (a, b) {
- return b.area - a.area;
- });
-
- var filteredAreas = sortedAreas.filter(function (_ref2) {
- var width = _ref2.width,
- height = _ref2.height;
- return width >= popper.clientWidth && height >= popper.clientHeight;
- });
-
- var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;
-
- var variation = placement.split('-')[1];
-
- return computedPlacement + (variation ? '-' + variation : '');
-}
-
-/**
- * Get offsets to the reference element
- * @method
- * @memberof Popper.Utils
- * @param {Object} state
- * @param {Element} popper - the popper element
- * @param {Element} reference - the reference element (the popper will be relative to this)
- * @param {Element} fixedPosition - is in fixed position mode
- * @returns {Object} An object containing the offsets which will be applied to the popper
- */
-function getReferenceOffsets(state, popper, reference) {
- var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
-
- var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);
- return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);
-}
-
-/**
- * Get the outer sizes of the given element (offset size + margins)
- * @method
- * @memberof Popper.Utils
- * @argument {Element} element
- * @returns {Object} object containing width and height properties
- */
-function getOuterSizes(element) {
- var window = element.ownerDocument.defaultView;
- var styles = window.getComputedStyle(element);
- var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);
- var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);
- var result = {
- width: element.offsetWidth + y,
- height: element.offsetHeight + x
- };
- return result;
-}
-
-/**
- * Get the opposite placement of the given one
- * @method
- * @memberof Popper.Utils
- * @argument {String} placement
- * @returns {String} flipped placement
- */
-function getOppositePlacement(placement) {
- var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };
- return placement.replace(/left|right|bottom|top/g, function (matched) {
- return hash[matched];
- });
-}
-
-/**
- * Get offsets to the popper
- * @method
- * @memberof Popper.Utils
- * @param {Object} position - CSS position the Popper will get applied
- * @param {HTMLElement} popper - the popper element
- * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)
- * @param {String} placement - one of the valid placement options
- * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper
- */
-function getPopperOffsets(popper, referenceOffsets, placement) {
- placement = placement.split('-')[0];
-
- // Get popper node sizes
- var popperRect = getOuterSizes(popper);
-
- // Add position, width and height to our offsets object
- var popperOffsets = {
- width: popperRect.width,
- height: popperRect.height
- };
-
- // depending by the popper placement we have to compute its offsets slightly differently
- var isHoriz = ['right', 'left'].indexOf(placement) !== -1;
- var mainSide = isHoriz ? 'top' : 'left';
- var secondarySide = isHoriz ? 'left' : 'top';
- var measurement = isHoriz ? 'height' : 'width';
- var secondaryMeasurement = !isHoriz ? 'height' : 'width';
-
- popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2;
- if (placement === secondarySide) {
- popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];
- } else {
- popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)];
- }
-
- return popperOffsets;
-}
-
-/**
- * Mimics the `find` method of Array
- * @method
- * @memberof Popper.Utils
- * @argument {Array} arr
- * @argument prop
- * @argument value
- * @returns index or -1
- */
-function find(arr, check) {
- // use native find if supported
- if (Array.prototype.find) {
- return arr.find(check);
- }
-
- // use `filter` to obtain the same behavior of `find`
- return arr.filter(check)[0];
-}
-
-/**
- * Return the index of the matching object
- * @method
- * @memberof Popper.Utils
- * @argument {Array} arr
- * @argument prop
- * @argument value
- * @returns index or -1
- */
-function findIndex(arr, prop, value) {
- // use native findIndex if supported
- if (Array.prototype.findIndex) {
- return arr.findIndex(function (cur) {
- return cur[prop] === value;
- });
- }
-
- // use `find` + `indexOf` if `findIndex` isn't supported
- var match = find(arr, function (obj) {
- return obj[prop] === value;
- });
- return arr.indexOf(match);
-}
-
-/**
- * Loop trough the list of modifiers and run them in order,
- * each of them will then edit the data object.
- * @method
- * @memberof Popper.Utils
- * @param {dataObject} data
- * @param {Array} modifiers
- * @param {String} ends - Optional modifier name used as stopper
- * @returns {dataObject}
- */
-function runModifiers(modifiers, data, ends) {
- var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends));
-
- modifiersToRun.forEach(function (modifier) {
- if (modifier['function']) {
- // eslint-disable-line dot-notation
- console.warn('`modifier.function` is deprecated, use `modifier.fn`!');
- }
- var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation
- if (modifier.enabled && isFunction(fn)) {
- // Add properties to offsets to make them a complete clientRect object
- // we do this before each modifier to make sure the previous one doesn't
- // mess with these values
- data.offsets.popper = getClientRect(data.offsets.popper);
- data.offsets.reference = getClientRect(data.offsets.reference);
-
- data = fn(data, modifier);
- }
- });
-
- return data;
-}
-
-/**
- * Updates the position of the popper, computing the new offsets and applying
- * the new style.
- * Prefer `scheduleUpdate` over `update` because of performance reasons.
- * @method
- * @memberof Popper
- */
-function update() {
- // if popper is destroyed, don't perform any further update
- if (this.state.isDestroyed) {
- return;
- }
-
- var data = {
- instance: this,
- styles: {},
- arrowStyles: {},
- attributes: {},
- flipped: false,
- offsets: {}
- };
-
- // compute reference element offsets
- data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed);
-
- // compute auto placement, store placement inside the data object,
- // modifiers will be able to edit `placement` if needed
- // and refer to originalPlacement to know the original value
- data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding);
-
- // store the computed placement inside `originalPlacement`
- data.originalPlacement = data.placement;
-
- data.positionFixed = this.options.positionFixed;
-
- // compute the popper offsets
- data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);
-
- data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';
-
- // run the modifiers
- data = runModifiers(this.modifiers, data);
-
- // the first `update` will call `onCreate` callback
- // the other ones will call `onUpdate` callback
- if (!this.state.isCreated) {
- this.state.isCreated = true;
- this.options.onCreate(data);
- } else {
- this.options.onUpdate(data);
- }
-}
-
-/**
- * Helper used to know if the given modifier is enabled.
- * @method
- * @memberof Popper.Utils
- * @returns {Boolean}
- */
-function isModifierEnabled(modifiers, modifierName) {
- return modifiers.some(function (_ref) {
- var name = _ref.name,
- enabled = _ref.enabled;
- return enabled && name === modifierName;
- });
-}
-
-/**
- * Get the prefixed supported property name
- * @method
- * @memberof Popper.Utils
- * @argument {String} property (camelCase)
- * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)
- */
-function getSupportedPropertyName(property) {
- var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];
- var upperProp = property.charAt(0).toUpperCase() + property.slice(1);
-
- for (var i = 0; i < prefixes.length; i++) {
- var prefix = prefixes[i];
- var toCheck = prefix ? '' + prefix + upperProp : property;
- if (typeof document.body.style[toCheck] !== 'undefined') {
- return toCheck;
- }
- }
- return null;
-}
-
-/**
- * Destroys the popper.
- * @method
- * @memberof Popper
- */
-function destroy() {
- this.state.isDestroyed = true;
-
- // touch DOM only if `applyStyle` modifier is enabled
- if (isModifierEnabled(this.modifiers, 'applyStyle')) {
- this.popper.removeAttribute('x-placement');
- this.popper.style.position = '';
- this.popper.style.top = '';
- this.popper.style.left = '';
- this.popper.style.right = '';
- this.popper.style.bottom = '';
- this.popper.style.willChange = '';
- this.popper.style[getSupportedPropertyName('transform')] = '';
- }
-
- this.disableEventListeners();
-
- // remove the popper if user explicity asked for the deletion on destroy
- // do not use `remove` because IE11 doesn't support it
- if (this.options.removeOnDestroy) {
- this.popper.parentNode.removeChild(this.popper);
- }
- return this;
-}
-
-/**
- * Get the window associated with the element
- * @argument {Element} element
- * @returns {Window}
- */
-function getWindow(element) {
- var ownerDocument = element.ownerDocument;
- return ownerDocument ? ownerDocument.defaultView : window;
-}
-
-function attachToScrollParents(scrollParent, event, callback, scrollParents) {
- var isBody = scrollParent.nodeName === 'BODY';
- var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;
- target.addEventListener(event, callback, { passive: true });
-
- if (!isBody) {
- attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents);
- }
- scrollParents.push(target);
-}
-
-/**
- * Setup needed event listeners used to update the popper position
- * @method
- * @memberof Popper.Utils
- * @private
- */
-function setupEventListeners(reference, options, state, updateBound) {
- // Resize event listener on window
- state.updateBound = updateBound;
- getWindow(reference).addEventListener('resize', state.updateBound, { passive: true });
-
- // Scroll event listener on scroll parents
- var scrollElement = getScrollParent(reference);
- attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents);
- state.scrollElement = scrollElement;
- state.eventsEnabled = true;
-
- return state;
-}
-
-/**
- * It will add resize/scroll events and start recalculating
- * position of the popper element when they are triggered.
- * @method
- * @memberof Popper
- */
-function enableEventListeners() {
- if (!this.state.eventsEnabled) {
- this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate);
- }
-}
-
-/**
- * Remove event listeners used to update the popper position
- * @method
- * @memberof Popper.Utils
- * @private
- */
-function removeEventListeners(reference, state) {
- // Remove resize event listener on window
- getWindow(reference).removeEventListener('resize', state.updateBound);
-
- // Remove scroll event listener on scroll parents
- state.scrollParents.forEach(function (target) {
- target.removeEventListener('scroll', state.updateBound);
- });
-
- // Reset state
- state.updateBound = null;
- state.scrollParents = [];
- state.scrollElement = null;
- state.eventsEnabled = false;
- return state;
-}
-
-/**
- * It will remove resize/scroll events and won't recalculate popper position
- * when they are triggered. It also won't trigger `onUpdate` callback anymore,
- * unless you call `update` method manually.
- * @method
- * @memberof Popper
- */
-function disableEventListeners() {
- if (this.state.eventsEnabled) {
- cancelAnimationFrame(this.scheduleUpdate);
- this.state = removeEventListeners(this.reference, this.state);
- }
-}
-
-/**
- * Tells if a given input is a number
- * @method
- * @memberof Popper.Utils
- * @param {*} input to check
- * @return {Boolean}
- */
-function isNumeric(n) {
- return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);
-}
-
-/**
- * Set the style to the given popper
- * @method
- * @memberof Popper.Utils
- * @argument {Element} element - Element to apply the style to
- * @argument {Object} styles
- * Object with a list of properties and values which will be applied to the element
- */
-function setStyles(element, styles) {
- Object.keys(styles).forEach(function (prop) {
- var unit = '';
- // add unit if the value is numeric and is one of the following
- if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) {
- unit = 'px';
- }
- element.style[prop] = styles[prop] + unit;
- });
-}
-
-/**
- * Set the attributes to the given popper
- * @method
- * @memberof Popper.Utils
- * @argument {Element} element - Element to apply the attributes to
- * @argument {Object} styles
- * Object with a list of properties and values which will be applied to the element
- */
-function setAttributes(element, attributes) {
- Object.keys(attributes).forEach(function (prop) {
- var value = attributes[prop];
- if (value !== false) {
- element.setAttribute(prop, attributes[prop]);
- } else {
- element.removeAttribute(prop);
- }
- });
-}
-
-/**
- * @function
- * @memberof Modifiers
- * @argument {Object} data - The data object generated by `update` method
- * @argument {Object} data.styles - List of style properties - values to apply to popper element
- * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element
- * @argument {Object} options - Modifiers configuration and options
- * @returns {Object} The same data object
- */
-function applyStyle(data) {
- // any property present in `data.styles` will be applied to the popper,
- // in this way we can make the 3rd party modifiers add custom styles to it
- // Be aware, modifiers could override the properties defined in the previous
- // lines of this modifier!
- setStyles(data.instance.popper, data.styles);
-
- // any property present in `data.attributes` will be applied to the popper,
- // they will be set as HTML attributes of the element
- setAttributes(data.instance.popper, data.attributes);
-
- // if arrowElement is defined and arrowStyles has some properties
- if (data.arrowElement && Object.keys(data.arrowStyles).length) {
- setStyles(data.arrowElement, data.arrowStyles);
- }
-
- return data;
-}
-
-/**
- * Set the x-placement attribute before everything else because it could be used
- * to add margins to the popper margins needs to be calculated to get the
- * correct popper offsets.
- * @method
- * @memberof Popper.modifiers
- * @param {HTMLElement} reference - The reference element used to position the popper
- * @param {HTMLElement} popper - The HTML element used as popper
- * @param {Object} options - Popper.js options
- */
-function applyStyleOnLoad(reference, popper, options, modifierOptions, state) {
- // compute reference element offsets
- var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);
-
- // compute auto placement, store placement inside the data object,
- // modifiers will be able to edit `placement` if needed
- // and refer to originalPlacement to know the original value
- var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding);
-
- popper.setAttribute('x-placement', placement);
-
- // Apply `position` to popper before anything else because
- // without the position applied we can't guarantee correct computations
- setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });
-
- return options;
-}
-
-/**
- * @function
- * @memberof Popper.Utils
- * @argument {Object} data - The data object generated by `update` method
- * @argument {Boolean} shouldRound - If the offsets should be rounded at all
- * @returns {Object} The popper's position offsets rounded
- *
- * The tale of pixel-perfect positioning. It's still not 100% perfect, but as
- * good as it can be within reason.
- * Discussion here: https://github.com/FezVrasta/popper.js/pull/715
- *
- * Low DPI screens cause a popper to be blurry if not using full pixels (Safari
- * as well on High DPI screens).
- *
- * Firefox prefers no rounding for positioning and does not have blurriness on
- * high DPI screens.
- *
- * Only horizontal placement and left/right values need to be considered.
- */
-function getRoundedOffsets(data, shouldRound) {
- var _data$offsets = data.offsets,
- popper = _data$offsets.popper,
- reference = _data$offsets.reference;
-
-
- var isVertical = ['left', 'right'].indexOf(data.placement) !== -1;
- var isVariation = data.placement.indexOf('-') !== -1;
- var sameWidthOddness = reference.width % 2 === popper.width % 2;
- var bothOddWidth = reference.width % 2 === 1 && popper.width % 2 === 1;
- var noRound = function noRound(v) {
- return v;
- };
-
- var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthOddness ? Math.round : Math.floor;
- var verticalToInteger = !shouldRound ? noRound : Math.round;
-
- return {
- left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left),
- top: verticalToInteger(popper.top),
- bottom: verticalToInteger(popper.bottom),
- right: horizontalToInteger(popper.right)
- };
-}
-
-var isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);
-
-/**
- * @function
- * @memberof Modifiers
- * @argument {Object} data - The data object generated by `update` method
- * @argument {Object} options - Modifiers configuration and options
- * @returns {Object} The data object, properly modified
- */
-function computeStyle(data, options) {
- var x = options.x,
- y = options.y;
- var popper = data.offsets.popper;
-
- // Remove this legacy support in Popper.js v2
-
- var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {
- return modifier.name === 'applyStyle';
- }).gpuAcceleration;
- if (legacyGpuAccelerationOption !== undefined) {
- console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');
- }
- var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration;
-
- var offsetParent = getOffsetParent(data.instance.popper);
- var offsetParentRect = getBoundingClientRect(offsetParent);
-
- // Styles
- var styles = {
- position: popper.position
- };
-
- var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox);
-
- var sideA = x === 'bottom' ? 'top' : 'bottom';
- var sideB = y === 'right' ? 'left' : 'right';
-
- // if gpuAcceleration is set to `true` and transform is supported,
- // we use `translate3d` to apply the position to the popper we
- // automatically use the supported prefixed version if needed
- var prefixedProperty = getSupportedPropertyName('transform');
-
- // now, let's make a step back and look at this code closely (wtf?)
- // If the content of the popper grows once it's been positioned, it
- // may happen that the popper gets misplaced because of the new content
- // overflowing its reference element
- // To avoid this problem, we provide two options (x and y), which allow
- // the consumer to define the offset origin.
- // If we position a popper on top of a reference element, we can set
- // `x` to `top` to make the popper grow towards its top instead of
- // its bottom.
- var left = void 0,
- top = void 0;
- if (sideA === 'bottom') {
- // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar)
- // and not the bottom of the html element
- if (offsetParent.nodeName === 'HTML') {
- top = -offsetParent.clientHeight + offsets.bottom;
- } else {
- top = -offsetParentRect.height + offsets.bottom;
- }
- } else {
- top = offsets.top;
- }
- if (sideB === 'right') {
- if (offsetParent.nodeName === 'HTML') {
- left = -offsetParent.clientWidth + offsets.right;
- } else {
- left = -offsetParentRect.width + offsets.right;
- }
- } else {
- left = offsets.left;
- }
- if (gpuAcceleration && prefixedProperty) {
- styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';
- styles[sideA] = 0;
- styles[sideB] = 0;
- styles.willChange = 'transform';
- } else {
- // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties
- var invertTop = sideA === 'bottom' ? -1 : 1;
- var invertLeft = sideB === 'right' ? -1 : 1;
- styles[sideA] = top * invertTop;
- styles[sideB] = left * invertLeft;
- styles.willChange = sideA + ', ' + sideB;
- }
-
- // Attributes
- var attributes = {
- 'x-placement': data.placement
- };
-
- // Update `data` attributes, styles and arrowStyles
- data.attributes = _extends({}, attributes, data.attributes);
- data.styles = _extends({}, styles, data.styles);
- data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);
-
- return data;
-}
-
-/**
- * Helper used to know if the given modifier depends from another one.
- * It checks if the needed modifier is listed and enabled.
- * @method
- * @memberof Popper.Utils
- * @param {Array} modifiers - list of modifiers
- * @param {String} requestingName - name of requesting modifier
- * @param {String} requestedName - name of requested modifier
- * @returns {Boolean}
- */
-function isModifierRequired(modifiers, requestingName, requestedName) {
- var requesting = find(modifiers, function (_ref) {
- var name = _ref.name;
- return name === requestingName;
- });
-
- var isRequired = !!requesting && modifiers.some(function (modifier) {
- return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order;
- });
-
- if (!isRequired) {
- var _requesting = '`' + requestingName + '`';
- var requested = '`' + requestedName + '`';
- console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!');
- }
- return isRequired;
-}
-
-/**
- * @function
- * @memberof Modifiers
- * @argument {Object} data - The data object generated by update method
- * @argument {Object} options - Modifiers configuration and options
- * @returns {Object} The data object, properly modified
- */
-function arrow(data, options) {
- var _data$offsets$arrow;
-
- // arrow depends on keepTogether in order to work
- if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {
- return data;
- }
-
- var arrowElement = options.element;
-
- // if arrowElement is a string, suppose it's a CSS selector
- if (typeof arrowElement === 'string') {
- arrowElement = data.instance.popper.querySelector(arrowElement);
-
- // if arrowElement is not found, don't run the modifier
- if (!arrowElement) {
- return data;
- }
- } else {
- // if the arrowElement isn't a query selector we must check that the
- // provided DOM node is child of its popper node
- if (!data.instance.popper.contains(arrowElement)) {
- console.warn('WARNING: `arrow.element` must be child of its popper element!');
- return data;
- }
- }
-
- var placement = data.placement.split('-')[0];
- var _data$offsets = data.offsets,
- popper = _data$offsets.popper,
- reference = _data$offsets.reference;
-
- var isVertical = ['left', 'right'].indexOf(placement) !== -1;
-
- var len = isVertical ? 'height' : 'width';
- var sideCapitalized = isVertical ? 'Top' : 'Left';
- var side = sideCapitalized.toLowerCase();
- var altSide = isVertical ? 'left' : 'top';
- var opSide = isVertical ? 'bottom' : 'right';
- var arrowElementSize = getOuterSizes(arrowElement)[len];
-
- //
- // extends keepTogether behavior making sure the popper and its
- // reference have enough pixels in conjunction
- //
-
- // top/left side
- if (reference[opSide] - arrowElementSize < popper[side]) {
- data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize);
- }
- // bottom/right side
- if (reference[side] + arrowElementSize > popper[opSide]) {
- data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide];
- }
- data.offsets.popper = getClientRect(data.offsets.popper);
-
- // compute center of the popper
- var center = reference[side] + reference[len] / 2 - arrowElementSize / 2;
-
- // Compute the sideValue using the updated popper offsets
- // take popper margin in account because we don't have this info available
- var css = getStyleComputedProperty(data.instance.popper);
- var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10);
- var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10);
- var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
-
- // prevent arrowElement from being placed not contiguously to its popper
- sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);
-
- data.arrowElement = arrowElement;
- data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow);
-
- return data;
-}
-
-/**
- * Get the opposite placement variation of the given one
- * @method
- * @memberof Popper.Utils
- * @argument {String} placement variation
- * @returns {String} flipped placement variation
- */
-function getOppositeVariation(variation) {
- if (variation === 'end') {
- return 'start';
- } else if (variation === 'start') {
- return 'end';
- }
- return variation;
-}
-
-/**
- * List of accepted placements to use as values of the `placement` option.
- * Valid placements are:
- * - `auto`
- * - `top`
- * - `right`
- * - `bottom`
- * - `left`
- *
- * Each placement can have a variation from this list:
- * - `-start`
- * - `-end`
- *
- * Variations are interpreted easily if you think of them as the left to right
- * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`
- * is right.
- * Vertically (`left` and `right`), `start` is top and `end` is bottom.
- *
- * Some valid examples are:
- * - `top-end` (on top of reference, right aligned)
- * - `right-start` (on right of reference, top aligned)
- * - `bottom` (on bottom, centered)
- * - `auto-end` (on the side with more space available, alignment depends by placement)
- *
- * @static
- * @type {Array}
- * @enum {String}
- * @readonly
- * @method placements
- * @memberof Popper
- */
-var placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];
-
-// Get rid of `auto` `auto-start` and `auto-end`
-var validPlacements = placements.slice(3);
-
-/**
- * Given an initial placement, returns all the subsequent placements
- * clockwise (or counter-clockwise).
- *
- * @method
- * @memberof Popper.Utils
- * @argument {String} placement - A valid placement (it accepts variations)
- * @argument {Boolean} counter - Set to true to walk the placements counterclockwise
- * @returns {Array} placements including their variations
- */
-function clockwise(placement) {
- var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-
- var index = validPlacements.indexOf(placement);
- var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index));
- return counter ? arr.reverse() : arr;
-}
-
-var BEHAVIORS = {
- FLIP: 'flip',
- CLOCKWISE: 'clockwise',
- COUNTERCLOCKWISE: 'counterclockwise'
-};
-
-/**
- * @function
- * @memberof Modifiers
- * @argument {Object} data - The data object generated by update method
- * @argument {Object} options - Modifiers configuration and options
- * @returns {Object} The data object, properly modified
- */
-function flip(data, options) {
- // if `inner` modifier is enabled, we can't use the `flip` modifier
- if (isModifierEnabled(data.instance.modifiers, 'inner')) {
- return data;
- }
-
- if (data.flipped && data.placement === data.originalPlacement) {
- // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides
- return data;
- }
-
- var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed);
-
- var placement = data.placement.split('-')[0];
- var placementOpposite = getOppositePlacement(placement);
- var variation = data.placement.split('-')[1] || '';
-
- var flipOrder = [];
-
- switch (options.behavior) {
- case BEHAVIORS.FLIP:
- flipOrder = [placement, placementOpposite];
- break;
- case BEHAVIORS.CLOCKWISE:
- flipOrder = clockwise(placement);
- break;
- case BEHAVIORS.COUNTERCLOCKWISE:
- flipOrder = clockwise(placement, true);
- break;
- default:
- flipOrder = options.behavior;
- }
-
- flipOrder.forEach(function (step, index) {
- if (placement !== step || flipOrder.length === index + 1) {
- return data;
- }
-
- placement = data.placement.split('-')[0];
- placementOpposite = getOppositePlacement(placement);
-
- var popperOffsets = data.offsets.popper;
- var refOffsets = data.offsets.reference;
-
- // using floor because the reference offsets may contain decimals we are not going to consider here
- var floor = Math.floor;
- var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom);
-
- var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);
- var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);
- var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);
- var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom);
-
- var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom;
-
- // flip the variation if required
- var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;
- var flippedVariation = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom);
-
- if (overlapsRef || overflowsBoundaries || flippedVariation) {
- // this boolean to detect any flip loop
- data.flipped = true;
-
- if (overlapsRef || overflowsBoundaries) {
- placement = flipOrder[index + 1];
- }
-
- if (flippedVariation) {
- variation = getOppositeVariation(variation);
- }
-
- data.placement = placement + (variation ? '-' + variation : '');
-
- // this object contains `position`, we want to preserve it along with
- // any additional property we may add in the future
- data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
-
- data = runModifiers(data.instance.modifiers, data, 'flip');
- }
- });
- return data;
-}
-
-/**
- * @function
- * @memberof Modifiers
- * @argument {Object} data - The data object generated by update method
- * @argument {Object} options - Modifiers configuration and options
- * @returns {Object} The data object, properly modified
- */
-function keepTogether(data) {
- var _data$offsets = data.offsets,
- popper = _data$offsets.popper,
- reference = _data$offsets.reference;
-
- var placement = data.placement.split('-')[0];
- var floor = Math.floor;
- var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;
- var side = isVertical ? 'right' : 'bottom';
- var opSide = isVertical ? 'left' : 'top';
- var measurement = isVertical ? 'width' : 'height';
-
- if (popper[side] < floor(reference[opSide])) {
- data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement];
- }
- if (popper[opSide] > floor(reference[side])) {
- data.offsets.popper[opSide] = floor(reference[side]);
- }
-
- return data;
-}
-
-/**
- * Converts a string containing value + unit into a px value number
- * @function
- * @memberof {modifiers~offset}
- * @private
- * @argument {String} str - Value + unit string
- * @argument {String} measurement - `height` or `width`
- * @argument {Object} popperOffsets
- * @argument {Object} referenceOffsets
- * @returns {Number|String}
- * Value in pixels, or original string if no values were extracted
- */
-function toValue(str, measurement, popperOffsets, referenceOffsets) {
- // separate value from unit
- var split = str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/);
- var value = +split[1];
- var unit = split[2];
-
- // If it's not a number it's an operator, I guess
- if (!value) {
- return str;
- }
-
- if (unit.indexOf('%') === 0) {
- var element = void 0;
- switch (unit) {
- case '%p':
- element = popperOffsets;
- break;
- case '%':
- case '%r':
- default:
- element = referenceOffsets;
- }
-
- var rect = getClientRect(element);
- return rect[measurement] / 100 * value;
- } else if (unit === 'vh' || unit === 'vw') {
- // if is a vh or vw, we calculate the size based on the viewport
- var size = void 0;
- if (unit === 'vh') {
- size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
- } else {
- size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
- }
- return size / 100 * value;
- } else {
- // if is an explicit pixel unit, we get rid of the unit and keep the value
- // if is an implicit unit, it's px, and we return just the value
- return value;
- }
-}
-
-/**
- * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.
- * @function
- * @memberof {modifiers~offset}
- * @private
- * @argument {String} offset
- * @argument {Object} popperOffsets
- * @argument {Object} referenceOffsets
- * @argument {String} basePlacement
- * @returns {Array} a two cells array with x and y offsets in numbers
- */
-function parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) {
- var offsets = [0, 0];
-
- // Use height if placement is left or right and index is 0 otherwise use width
- // in this way the first offset will use an axis and the second one
- // will use the other one
- var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1;
-
- // Split the offset string to obtain a list of values and operands
- // The regex addresses values with the plus or minus sign in front (+10, -20, etc)
- var fragments = offset.split(/(\+|\-)/).map(function (frag) {
- return frag.trim();
- });
-
- // Detect if the offset string contains a pair of values or a single one
- // they could be separated by comma or space
- var divider = fragments.indexOf(find(fragments, function (frag) {
- return frag.search(/,|\s/) !== -1;
- }));
-
- if (fragments[divider] && fragments[divider].indexOf(',') === -1) {
- console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');
- }
-
- // If divider is found, we divide the list of values and operands to divide
- // them by ofset X and Y.
- var splitRegex = /\s*,\s*|\s+/;
- var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments];
-
- // Convert the values with units to absolute pixels to allow our computations
- ops = ops.map(function (op, index) {
- // Most of the units rely on the orientation of the popper
- var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width';
- var mergeWithPrevious = false;
- return op
- // This aggregates any `+` or `-` sign that aren't considered operators
- // e.g.: 10 + +5 => [10, +, +5]
- .reduce(function (a, b) {
- if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {
- a[a.length - 1] = b;
- mergeWithPrevious = true;
- return a;
- } else if (mergeWithPrevious) {
- a[a.length - 1] += b;
- mergeWithPrevious = false;
- return a;
- } else {
- return a.concat(b);
- }
- }, [])
- // Here we convert the string values into number values (in px)
- .map(function (str) {
- return toValue(str, measurement, popperOffsets, referenceOffsets);
- });
- });
-
- // Loop trough the offsets arrays and execute the operations
- ops.forEach(function (op, index) {
- op.forEach(function (frag, index2) {
- if (isNumeric(frag)) {
- offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);
- }
- });
- });
- return offsets;
-}
-
-/**
- * @function
- * @memberof Modifiers
- * @argument {Object} data - The data object generated by update method
- * @argument {Object} options - Modifiers configuration and options
- * @argument {Number|String} options.offset=0
- * The offset value as described in the modifier description
- * @returns {Object} The data object, properly modified
- */
-function offset(data, _ref) {
- var offset = _ref.offset;
- var placement = data.placement,
- _data$offsets = data.offsets,
- popper = _data$offsets.popper,
- reference = _data$offsets.reference;
-
- var basePlacement = placement.split('-')[0];
-
- var offsets = void 0;
- if (isNumeric(+offset)) {
- offsets = [+offset, 0];
- } else {
- offsets = parseOffset(offset, popper, reference, basePlacement);
- }
-
- if (basePlacement === 'left') {
- popper.top += offsets[0];
- popper.left -= offsets[1];
- } else if (basePlacement === 'right') {
- popper.top += offsets[0];
- popper.left += offsets[1];
- } else if (basePlacement === 'top') {
- popper.left += offsets[0];
- popper.top -= offsets[1];
- } else if (basePlacement === 'bottom') {
- popper.left += offsets[0];
- popper.top += offsets[1];
- }
-
- data.popper = popper;
- return data;
-}
-
-/**
- * @function
- * @memberof Modifiers
- * @argument {Object} data - The data object generated by `update` method
- * @argument {Object} options - Modifiers configuration and options
- * @returns {Object} The data object, properly modified
- */
-function preventOverflow(data, options) {
- var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper);
-
- // If offsetParent is the reference element, we really want to
- // go one step up and use the next offsetParent as reference to
- // avoid to make this modifier completely useless and look like broken
- if (data.instance.reference === boundariesElement) {
- boundariesElement = getOffsetParent(boundariesElement);
- }
-
- // NOTE: DOM access here
- // resets the popper's position so that the document size can be calculated excluding
- // the size of the popper element itself
- var transformProp = getSupportedPropertyName('transform');
- var popperStyles = data.instance.popper.style; // assignment to help minification
- var top = popperStyles.top,
- left = popperStyles.left,
- transform = popperStyles[transformProp];
-
- popperStyles.top = '';
- popperStyles.left = '';
- popperStyles[transformProp] = '';
-
- var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);
-
- // NOTE: DOM access here
- // restores the original style properties after the offsets have been computed
- popperStyles.top = top;
- popperStyles.left = left;
- popperStyles[transformProp] = transform;
-
- options.boundaries = boundaries;
-
- var order = options.priority;
- var popper = data.offsets.popper;
-
- var check = {
- primary: function primary(placement) {
- var value = popper[placement];
- if (popper[placement] < boundaries[placement] && !options.escapeWithReference) {
- value = Math.max(popper[placement], boundaries[placement]);
- }
- return defineProperty({}, placement, value);
- },
- secondary: function secondary(placement) {
- var mainSide = placement === 'right' ? 'left' : 'top';
- var value = popper[mainSide];
- if (popper[placement] > boundaries[placement] && !options.escapeWithReference) {
- value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height));
- }
- return defineProperty({}, mainSide, value);
- }
- };
-
- order.forEach(function (placement) {
- var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';
- popper = _extends({}, popper, check[side](placement));
- });
-
- data.offsets.popper = popper;
-
- return data;
-}
-
-/**
- * @function
- * @memberof Modifiers
- * @argument {Object} data - The data object generated by `update` method
- * @argument {Object} options - Modifiers configuration and options
- * @returns {Object} The data object, properly modified
- */
-function shift(data) {
- var placement = data.placement;
- var basePlacement = placement.split('-')[0];
- var shiftvariation = placement.split('-')[1];
-
- // if shift shiftvariation is specified, run the modifier
- if (shiftvariation) {
- var _data$offsets = data.offsets,
- reference = _data$offsets.reference,
- popper = _data$offsets.popper;
-
- var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;
- var side = isVertical ? 'left' : 'top';
- var measurement = isVertical ? 'width' : 'height';
-
- var shiftOffsets = {
- start: defineProperty({}, side, reference[side]),
- end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])
- };
-
- data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);
- }
-
- return data;
-}
-
-/**
- * @function
- * @memberof Modifiers
- * @argument {Object} data - The data object generated by update method
- * @argument {Object} options - Modifiers configuration and options
- * @returns {Object} The data object, properly modified
- */
-function hide(data) {
- if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {
- return data;
- }
-
- var refRect = data.offsets.reference;
- var bound = find(data.instance.modifiers, function (modifier) {
- return modifier.name === 'preventOverflow';
- }).boundaries;
-
- if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) {
- // Avoid unnecessary DOM access if visibility hasn't changed
- if (data.hide === true) {
- return data;
- }
-
- data.hide = true;
- data.attributes['x-out-of-boundaries'] = '';
- } else {
- // Avoid unnecessary DOM access if visibility hasn't changed
- if (data.hide === false) {
- return data;
- }
-
- data.hide = false;
- data.attributes['x-out-of-boundaries'] = false;
- }
-
- return data;
-}
-
-/**
- * @function
- * @memberof Modifiers
- * @argument {Object} data - The data object generated by `update` method
- * @argument {Object} options - Modifiers configuration and options
- * @returns {Object} The data object, properly modified
- */
-function inner(data) {
- var placement = data.placement;
- var basePlacement = placement.split('-')[0];
- var _data$offsets = data.offsets,
- popper = _data$offsets.popper,
- reference = _data$offsets.reference;
-
- var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;
-
- var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;
-
- popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);
-
- data.placement = getOppositePlacement(placement);
- data.offsets.popper = getClientRect(popper);
-
- return data;
-}
-
-/**
- * Modifier function, each modifier can have a function of this type assigned
- * to its `fn` property.
- * These functions will be called on each update, this means that you must
- * make sure they are performant enough to avoid performance bottlenecks.
- *
- * @function ModifierFn
- * @argument {dataObject} data - The data object generated by `update` method
- * @argument {Object} options - Modifiers configuration and options
- * @returns {dataObject} The data object, properly modified
- */
-
-/**
- * Modifiers are plugins used to alter the behavior of your poppers.
- * Popper.js uses a set of 9 modifiers to provide all the basic functionalities
- * needed by the library.
- *
- * Usually you don't want to override the `order`, `fn` and `onLoad` props.
- * All the other properties are configurations that could be tweaked.
- * @namespace modifiers
- */
-var modifiers = {
- /**
- * Modifier used to shift the popper on the start or end of its reference
- * element.
- * It will read the variation of the `placement` property.
- * It can be one either `-end` or `-start`.
- * @memberof modifiers
- * @inner
- */
- shift: {
- /** @prop {number} order=100 - Index used to define the order of execution */
- order: 100,
- /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
- enabled: true,
- /** @prop {ModifierFn} */
- fn: shift
- },
-
- /**
- * The `offset` modifier can shift your popper on both its axis.
- *
- * It accepts the following units:
- * - `px` or unit-less, interpreted as pixels
- * - `%` or `%r`, percentage relative to the length of the reference element
- * - `%p`, percentage relative to the length of the popper element
- * - `vw`, CSS viewport width unit
- * - `vh`, CSS viewport height unit
- *
- * For length is intended the main axis relative to the placement of the popper.
- * This means that if the placement is `top` or `bottom`, the length will be the
- * `width`. In case of `left` or `right`, it will be the `height`.
- *
- * You can provide a single value (as `Number` or `String`), or a pair of values
- * as `String` divided by a comma or one (or more) white spaces.
- * The latter is a deprecated method because it leads to confusion and will be
- * removed in v2.
- * Additionally, it accepts additions and subtractions between different units.
- * Note that multiplications and divisions aren't supported.
- *
- * Valid examples are:
- * ```
- * 10
- * '10%'
- * '10, 10'
- * '10%, 10'
- * '10 + 10%'
- * '10 - 5vh + 3%'
- * '-10px + 5vh, 5px - 6%'
- * ```
- * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap
- * > with their reference element, unfortunately, you will have to disable the `flip` modifier.
- * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).
- *
- * @memberof modifiers
- * @inner
- */
- offset: {
- /** @prop {number} order=200 - Index used to define the order of execution */
- order: 200,
- /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
- enabled: true,
- /** @prop {ModifierFn} */
- fn: offset,
- /** @prop {Number|String} offset=0
- * The offset value as described in the modifier description
- */
- offset: 0
- },
-
- /**
- * Modifier used to prevent the popper from being positioned outside the boundary.
- *
- * A scenario exists where the reference itself is not within the boundaries.
- * We can say it has "escaped the boundaries" — or just "escaped".
- * In this case we need to decide whether the popper should either:
- *
- * - detach from the reference and remain "trapped" in the boundaries, or
- * - if it should ignore the boundary and "escape with its reference"
- *
- * When `escapeWithReference` is set to`true` and reference is completely
- * outside its boundaries, the popper will overflow (or completely leave)
- * the boundaries in order to remain attached to the edge of the reference.
- *
- * @memberof modifiers
- * @inner
- */
- preventOverflow: {
- /** @prop {number} order=300 - Index used to define the order of execution */
- order: 300,
- /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
- enabled: true,
- /** @prop {ModifierFn} */
- fn: preventOverflow,
- /**
- * @prop {Array} [priority=['left','right','top','bottom']]
- * Popper will try to prevent overflow following these priorities by default,
- * then, it could overflow on the left and on top of the `boundariesElement`
- */
- priority: ['left', 'right', 'top', 'bottom'],
- /**
- * @prop {number} padding=5
- * Amount of pixel used to define a minimum distance between the boundaries
- * and the popper. This makes sure the popper always has a little padding
- * between the edges of its container
- */
- padding: 5,
- /**
- * @prop {String|HTMLElement} boundariesElement='scrollParent'
- * Boundaries used by the modifier. Can be `scrollParent`, `window`,
- * `viewport` or any DOM element.
- */
- boundariesElement: 'scrollParent'
- },
-
- /**
- * Modifier used to make sure the reference and its popper stay near each other
- * without leaving any gap between the two. Especially useful when the arrow is
- * enabled and you want to ensure that it points to its reference element.
- * It cares only about the first axis. You can still have poppers with margin
- * between the popper and its reference element.
- * @memberof modifiers
- * @inner
- */
- keepTogether: {
- /** @prop {number} order=400 - Index used to define the order of execution */
- order: 400,
- /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
- enabled: true,
- /** @prop {ModifierFn} */
- fn: keepTogether
- },
-
- /**
- * This modifier is used to move the `arrowElement` of the popper to make
- * sure it is positioned between the reference element and its popper element.
- * It will read the outer size of the `arrowElement` node to detect how many
- * pixels of conjunction are needed.
- *
- * It has no effect if no `arrowElement` is provided.
- * @memberof modifiers
- * @inner
- */
- arrow: {
- /** @prop {number} order=500 - Index used to define the order of execution */
- order: 500,
- /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
- enabled: true,
- /** @prop {ModifierFn} */
- fn: arrow,
- /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */
- element: '[x-arrow]'
- },
-
- /**
- * Modifier used to flip the popper's placement when it starts to overlap its
- * reference element.
- *
- * Requires the `preventOverflow` modifier before it in order to work.
- *
- * **NOTE:** this modifier will interrupt the current update cycle and will
- * restart it if it detects the need to flip the placement.
- * @memberof modifiers
- * @inner
- */
- flip: {
- /** @prop {number} order=600 - Index used to define the order of execution */
- order: 600,
- /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
- enabled: true,
- /** @prop {ModifierFn} */
- fn: flip,
- /**
- * @prop {String|Array} behavior='flip'
- * The behavior used to change the popper's placement. It can be one of
- * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid
- * placements (with optional variations)
- */
- behavior: 'flip',
- /**
- * @prop {number} padding=5
- * The popper will flip if it hits the edges of the `boundariesElement`
- */
- padding: 5,
- /**
- * @prop {String|HTMLElement} boundariesElement='viewport'
- * The element which will define the boundaries of the popper position.
- * The popper will never be placed outside of the defined boundaries
- * (except if `keepTogether` is enabled)
- */
- boundariesElement: 'viewport'
- },
-
- /**
- * Modifier used to make the popper flow toward the inner of the reference element.
- * By default, when this modifier is disabled, the popper will be placed outside
- * the reference element.
- * @memberof modifiers
- * @inner
- */
- inner: {
- /** @prop {number} order=700 - Index used to define the order of execution */
- order: 700,
- /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */
- enabled: false,
- /** @prop {ModifierFn} */
- fn: inner
- },
-
- /**
- * Modifier used to hide the popper when its reference element is outside of the
- * popper boundaries. It will set a `x-out-of-boundaries` attribute which can
- * be used to hide with a CSS selector the popper when its reference is
- * out of boundaries.
- *
- * Requires the `preventOverflow` modifier before it in order to work.
- * @memberof modifiers
- * @inner
- */
- hide: {
- /** @prop {number} order=800 - Index used to define the order of execution */
- order: 800,
- /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
- enabled: true,
- /** @prop {ModifierFn} */
- fn: hide
- },
-
- /**
- * Computes the style that will be applied to the popper element to gets
- * properly positioned.
- *
- * Note that this modifier will not touch the DOM, it just prepares the styles
- * so that `applyStyle` modifier can apply it. This separation is useful
- * in case you need to replace `applyStyle` with a custom implementation.
- *
- * This modifier has `850` as `order` value to maintain backward compatibility
- * with previous versions of Popper.js. Expect the modifiers ordering method
- * to change in future major versions of the library.
- *
- * @memberof modifiers
- * @inner
- */
- computeStyle: {
- /** @prop {number} order=850 - Index used to define the order of execution */
- order: 850,
- /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
- enabled: true,
- /** @prop {ModifierFn} */
- fn: computeStyle,
- /**
- * @prop {Boolean} gpuAcceleration=true
- * If true, it uses the CSS 3D transformation to position the popper.
- * Otherwise, it will use the `top` and `left` properties
- */
- gpuAcceleration: true,
- /**
- * @prop {string} [x='bottom']
- * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.
- * Change this if your popper should grow in a direction different from `bottom`
- */
- x: 'bottom',
- /**
- * @prop {string} [x='left']
- * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.
- * Change this if your popper should grow in a direction different from `right`
- */
- y: 'right'
- },
-
- /**
- * Applies the computed styles to the popper element.
- *
- * All the DOM manipulations are limited to this modifier. This is useful in case
- * you want to integrate Popper.js inside a framework or view library and you
- * want to delegate all the DOM manipulations to it.
- *
- * Note that if you disable this modifier, you must make sure the popper element
- * has its position set to `absolute` before Popper.js can do its work!
- *
- * Just disable this modifier and define your own to achieve the desired effect.
- *
- * @memberof modifiers
- * @inner
- */
- applyStyle: {
- /** @prop {number} order=900 - Index used to define the order of execution */
- order: 900,
- /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
- enabled: true,
- /** @prop {ModifierFn} */
- fn: applyStyle,
- /** @prop {Function} */
- onLoad: applyStyleOnLoad,
- /**
- * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier
- * @prop {Boolean} gpuAcceleration=true
- * If true, it uses the CSS 3D transformation to position the popper.
- * Otherwise, it will use the `top` and `left` properties
- */
- gpuAcceleration: undefined
- }
-};
-
-/**
- * The `dataObject` is an object containing all the information used by Popper.js.
- * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.
- * @name dataObject
- * @property {Object} data.instance The Popper.js instance
- * @property {String} data.placement Placement applied to popper
- * @property {String} data.originalPlacement Placement originally defined on init
- * @property {Boolean} data.flipped True if popper has been flipped by flip modifier
- * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper
- * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier
- * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)
- * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)
- * @property {Object} data.boundaries Offsets of the popper boundaries
- * @property {Object} data.offsets The measurements of popper, reference and arrow elements
- * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values
- * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values
- * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0
- */
-
-/**
- * Default options provided to Popper.js constructor.
- * These can be overridden using the `options` argument of Popper.js.
- * To override an option, simply pass an object with the same
- * structure of the `options` object, as the 3rd argument. For example:
- * ```
- * new Popper(ref, pop, {
- * modifiers: {
- * preventOverflow: { enabled: false }
- * }
- * })
- * ```
- * @type {Object}
- * @static
- * @memberof Popper
- */
-var Defaults = {
- /**
- * Popper's placement.
- * @prop {Popper.placements} placement='bottom'
- */
- placement: 'bottom',
-
- /**
- * Set this to true if you want popper to position it self in 'fixed' mode
- * @prop {Boolean} positionFixed=false
- */
- positionFixed: false,
-
- /**
- * Whether events (resize, scroll) are initially enabled.
- * @prop {Boolean} eventsEnabled=true
- */
- eventsEnabled: true,
-
- /**
- * Set to true if you want to automatically remove the popper when
- * you call the `destroy` method.
- * @prop {Boolean} removeOnDestroy=false
- */
- removeOnDestroy: false,
-
- /**
- * Callback called when the popper is created.
- * By default, it is set to no-op.
- * Access Popper.js instance with `data.instance`.
- * @prop {onCreate}
- */
- onCreate: function onCreate() {},
-
- /**
- * Callback called when the popper is updated. This callback is not called
- * on the initialization/creation of the popper, but only on subsequent
- * updates.
- * By default, it is set to no-op.
- * Access Popper.js instance with `data.instance`.
- * @prop {onUpdate}
- */
- onUpdate: function onUpdate() {},
-
- /**
- * List of modifiers used to modify the offsets before they are applied to the popper.
- * They provide most of the functionalities of Popper.js.
- * @prop {modifiers}
- */
- modifiers: modifiers
-};
-
-/**
- * @callback onCreate
- * @param {dataObject} data
- */
-
-/**
- * @callback onUpdate
- * @param {dataObject} data
- */
-
-// Utils
-// Methods
-var Popper = function () {
- /**
- * Creates a new Popper.js instance.
- * @class Popper
- * @param {HTMLElement|referenceObject} reference - The reference element used to position the popper
- * @param {HTMLElement} popper - The HTML element used as the popper
- * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)
- * @return {Object} instance - The generated Popper.js instance
- */
- function Popper(reference, popper) {
- var _this = this;
-
- var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
- classCallCheck(this, Popper);
-
- this.scheduleUpdate = function () {
- return requestAnimationFrame(_this.update);
- };
-
- // make update() debounced, so that it only runs at most once-per-tick
- this.update = debounce(this.update.bind(this));
-
- // with {} we create a new object with the options inside it
- this.options = _extends({}, Popper.Defaults, options);
-
- // init state
- this.state = {
- isDestroyed: false,
- isCreated: false,
- scrollParents: []
- };
-
- // get reference and popper elements (allow jQuery wrappers)
- this.reference = reference && reference.jquery ? reference[0] : reference;
- this.popper = popper && popper.jquery ? popper[0] : popper;
-
- // Deep merge modifiers options
- this.options.modifiers = {};
- Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {
- _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});
- });
-
- // Refactoring modifiers' list (Object => Array)
- this.modifiers = Object.keys(this.options.modifiers).map(function (name) {
- return _extends({
- name: name
- }, _this.options.modifiers[name]);
- })
- // sort the modifiers by order
- .sort(function (a, b) {
- return a.order - b.order;
- });
-
- // modifiers have the ability to execute arbitrary code when Popper.js get inited
- // such code is executed in the same order of its modifier
- // they could add new properties to their options configuration
- // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!
- this.modifiers.forEach(function (modifierOptions) {
- if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {
- modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);
- }
- });
-
- // fire the first update to position the popper in the right place
- this.update();
-
- var eventsEnabled = this.options.eventsEnabled;
- if (eventsEnabled) {
- // setup event listeners, they will take care of update the position in specific situations
- this.enableEventListeners();
- }
-
- this.state.eventsEnabled = eventsEnabled;
- }
-
- // We can't use class properties because they don't get listed in the
- // class prototype and break stuff like Sinon stubs
-
-
- createClass(Popper, [{
- key: 'update',
- value: function update$$1() {
- return update.call(this);
- }
- }, {
- key: 'destroy',
- value: function destroy$$1() {
- return destroy.call(this);
- }
- }, {
- key: 'enableEventListeners',
- value: function enableEventListeners$$1() {
- return enableEventListeners.call(this);
- }
- }, {
- key: 'disableEventListeners',
- value: function disableEventListeners$$1() {
- return disableEventListeners.call(this);
- }
-
- /**
- * Schedules an update. It will run on the next UI update available.
- * @method scheduleUpdate
- * @memberof Popper
- */
-
-
- /**
- * Collection of utilities useful when writing custom modifiers.
- * Starting from version 1.7, this method is available only if you
- * include `popper-utils.js` before `popper.js`.
- *
- * **DEPRECATION**: This way to access PopperUtils is deprecated
- * and will be removed in v2! Use the PopperUtils module directly instead.
- * Due to the high instability of the methods contained in Utils, we can't
- * guarantee them to follow semver. Use them at your own risk!
- * @static
- * @private
- * @type {Object}
- * @deprecated since version 1.8
- * @member Utils
- * @memberof Popper
- */
-
- }]);
- return Popper;
-}();
-
-/**
- * The `referenceObject` is an object that provides an interface compatible with Popper.js
- * and lets you use it as replacement of a real DOM node.
- * You can use this method to position a popper relatively to a set of coordinates
- * in case you don't have a DOM node to use as reference.
- *
- * ```
- * new Popper(referenceObject, popperNode);
- * ```
- *
- * NB: This feature isn't supported in Internet Explorer 10.
- * @name referenceObject
- * @property {Function} data.getBoundingClientRect
- * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.
- * @property {number} data.clientWidth
- * An ES6 getter that will return the width of the virtual reference element.
- * @property {number} data.clientHeight
- * An ES6 getter that will return the height of the virtual reference element.
- */
-
-
-Popper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;
-Popper.placements = placements;
-Popper.Defaults = Defaults;
-
-/* harmony default export */ __webpack_exports__["a"] = (Popper);
-//# sourceMappingURL=popper.js.map
-
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(70)))
-
-/***/ }),
-/* 102 */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = !__webpack_require__(39) && !__webpack_require__(42)(function () {
- return Object.defineProperty(__webpack_require__(103)('div'), 'a', { get: function () { return 7; } }).a != 7;
-});
-
-
-/***/ }),
-/* 103 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var isObject = __webpack_require__(38);
-var document = __webpack_require__(29).document;
-// typeof document.createElement is 'object' in old IE
-var is = isObject(document) && isObject(document.createElement);
-module.exports = function (it) {
- return is ? document.createElement(it) : {};
-};
-
-
-/***/ }),
-/* 104 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var getKeys = __webpack_require__(44);
-var toIObject = __webpack_require__(33);
-var isEnum = __webpack_require__(45).f;
-module.exports = function (isEntries) {
- return function (it) {
- var O = toIObject(it);
- var keys = getKeys(O);
- var length = keys.length;
- var i = 0;
- var result = [];
- var key;
- while (length > i) if (isEnum.call(O, key = keys[i++])) {
- result.push(isEntries ? [key, O[key]] : O[key]);
- } return result;
- };
-};
-
-
-/***/ }),
-/* 105 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var has = __webpack_require__(32);
-var toIObject = __webpack_require__(33);
-var arrayIndexOf = __webpack_require__(144)(false);
-var IE_PROTO = __webpack_require__(76)('IE_PROTO');
-
-module.exports = function (object, names) {
- var O = toIObject(object);
- var i = 0;
- var result = [];
- var key;
- for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
- // Don't enum bug & hidden keys
- while (names.length > i) if (has(O, key = names[i++])) {
- ~arrayIndexOf(result, key) || result.push(key);
- }
- return result;
-};
-
-
-/***/ }),
-/* 106 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// fallback for non-array-like ES3 and non-enumerable old V8 strings
-var cof = __webpack_require__(73);
-// eslint-disable-next-line no-prototype-builtins
-module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
- return cof(it) == 'String' ? it.split('') : Object(it);
-};
-
-
-/***/ }),
-/* 107 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// 7.1.15 ToLength
-var toInteger = __webpack_require__(75);
-var min = Math.min;
-module.exports = function (it) {
- return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
-};
-
-
-/***/ }),
-/* 108 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-var $at = __webpack_require__(151)(true);
-
-// 21.1.3.27 String.prototype[@@iterator]()
-__webpack_require__(109)(String, 'String', function (iterated) {
- this._t = String(iterated); // target
- this._i = 0; // next index
-// 21.1.5.2.1 %StringIteratorPrototype%.next()
-}, function () {
- var O = this._t;
- var index = this._i;
- var point;
- if (index >= O.length) return { value: undefined, done: true };
- point = $at(O, index);
- this._i += point.length;
- return { value: point, done: false };
-});
-
-
-/***/ }),
-/* 109 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-var LIBRARY = __webpack_require__(55);
-var $export = __webpack_require__(28);
-var redefine = __webpack_require__(110);
-var hide = __webpack_require__(36);
-var Iterators = __webpack_require__(46);
-var $iterCreate = __webpack_require__(152);
-var setToStringTag = __webpack_require__(84);
-var getPrototypeOf = __webpack_require__(155);
-var ITERATOR = __webpack_require__(22)('iterator');
-var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
-var FF_ITERATOR = '@@iterator';
-var KEYS = 'keys';
-var VALUES = 'values';
-
-var returnThis = function () { return this; };
-
-module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
- $iterCreate(Constructor, NAME, next);
- var getMethod = function (kind) {
- if (!BUGGY && kind in proto) return proto[kind];
- switch (kind) {
- case KEYS: return function keys() { return new Constructor(this, kind); };
- case VALUES: return function values() { return new Constructor(this, kind); };
- } return function entries() { return new Constructor(this, kind); };
- };
- var TAG = NAME + ' Iterator';
- var DEF_VALUES = DEFAULT == VALUES;
- var VALUES_BUG = false;
- var proto = Base.prototype;
- var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
- var $default = $native || getMethod(DEFAULT);
- var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
- var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
- var methods, key, IteratorPrototype;
- // Fix native
- if ($anyNative) {
- IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
- if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
- // Set @@toStringTag to native iterators
- setToStringTag(IteratorPrototype, TAG, true);
- // fix for some old engines
- if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
- }
- }
- // fix Array#{values, @@iterator}.name in V8 / FF
- if (DEF_VALUES && $native && $native.name !== VALUES) {
- VALUES_BUG = true;
- $default = function values() { return $native.call(this); };
- }
- // Define iterator
- if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
- hide(proto, ITERATOR, $default);
- }
- // Plug for library
- Iterators[NAME] = $default;
- Iterators[TAG] = returnThis;
- if (DEFAULT) {
- methods = {
- values: DEF_VALUES ? $default : getMethod(VALUES),
- keys: IS_SET ? $default : getMethod(KEYS),
- entries: $entries
- };
- if (FORCED) for (key in methods) {
- if (!(key in proto)) redefine(proto, key, methods[key]);
- } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
- }
- return methods;
-};
-
-
-/***/ }),
-/* 110 */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(36);
-
-
-/***/ }),
-/* 111 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
-var $keys = __webpack_require__(105);
-var hiddenKeys = __webpack_require__(78).concat('length', 'prototype');
-
-exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
- return $keys(O, hiddenKeys);
-};
-
-
-/***/ }),
-/* 112 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var pIE = __webpack_require__(45);
-var createDesc = __webpack_require__(43);
-var toIObject = __webpack_require__(33);
-var toPrimitive = __webpack_require__(72);
-var has = __webpack_require__(32);
-var IE8_DOM_DEFINE = __webpack_require__(102);
-var gOPD = Object.getOwnPropertyDescriptor;
-
-exports.f = __webpack_require__(39) ? gOPD : function getOwnPropertyDescriptor(O, P) {
- O = toIObject(O);
- P = toPrimitive(P, true);
- if (IE8_DOM_DEFINE) try {
- return gOPD(O, P);
- } catch (e) { /* empty */ }
- if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
-};
-
-
-/***/ }),
-/* 113 */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = { "default": __webpack_require__(197), __esModule: true };
-
-/***/ }),
-/* 114 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-exports.default = function (node, event, handler, capture) {
- (0, _on2.default)(node, event, handler, capture);
-
- return {
- remove: function remove() {
- (0, _off2.default)(node, event, handler, capture);
- }
- };
-};
-
-var _on = __webpack_require__(59);
-
-var _on2 = _interopRequireDefault(_on);
-
-var _off = __webpack_require__(92);
-
-var _off2 = _interopRequireDefault(_off);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-module.exports = exports['default'];
-
-/***/ }),
-/* 115 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = void 0;
-
-var _on = _interopRequireDefault(__webpack_require__(59));
-
-exports.on = _on.default;
-
-var _off = _interopRequireDefault(__webpack_require__(92));
-
-exports.off = _off.default;
-
-var _filter = _interopRequireDefault(__webpack_require__(208));
-
-exports.filter = _filter.default;
-
-var _listen = _interopRequireDefault(__webpack_require__(210));
-
-exports.listen = _listen.default;
-var _default = {
- on: _on.default,
- off: _off.default,
- filter: _filter.default,
- listen: _listen.default
-};
-exports.default = _default;
-
-/***/ }),
-/* 116 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
-var _activeElement = __webpack_require__(90);
-
-var _activeElement2 = _interopRequireDefault(_activeElement);
-
-var _contains = __webpack_require__(30);
-
-var _contains2 = _interopRequireDefault(_contains);
-
-var _inDOM = __webpack_require__(25);
-
-var _inDOM2 = _interopRequireDefault(_inDOM);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _componentOrElement = __webpack_require__(61);
-
-var _componentOrElement2 = _interopRequireDefault(_componentOrElement);
-
-var _deprecated = __webpack_require__(211);
-
-var _deprecated2 = _interopRequireDefault(_deprecated);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-var _warning = __webpack_require__(19);
-
-var _warning2 = _interopRequireDefault(_warning);
-
-var _ModalManager = __webpack_require__(212);
-
-var _ModalManager2 = _interopRequireDefault(_ModalManager);
-
-var _Portal = __webpack_require__(120);
-
-var _Portal2 = _interopRequireDefault(_Portal);
-
-var _RefHolder = __webpack_require__(224);
-
-var _RefHolder2 = _interopRequireDefault(_RefHolder);
-
-var _addEventListener = __webpack_require__(114);
-
-var _addEventListener2 = _interopRequireDefault(_addEventListener);
-
-var _addFocusListener = __webpack_require__(225);
-
-var _addFocusListener2 = _interopRequireDefault(_addFocusListener);
-
-var _getContainer = __webpack_require__(63);
-
-var _getContainer2 = _interopRequireDefault(_getContainer);
-
-var _ownerDocument = __webpack_require__(41);
-
-var _ownerDocument2 = _interopRequireDefault(_ownerDocument);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* eslint-disable react/prop-types */
-
-var modalManager = new _ModalManager2.default();
-
-/**
- * Love them or hate them, ` ` provides a solid foundation for creating dialogs, lightboxes, or whatever else.
- * The Modal component renders its `children` node in front of a backdrop component.
- *
- * The Modal offers a few helpful features over using just a ` ` component and some styles:
- *
- * - Manages dialog stacking when one-at-a-time just isn't enough.
- * - Creates a backdrop, for disabling interaction below the modal.
- * - It properly manages focus; moving to the modal content, and keeping it there until the modal is closed.
- * - It disables scrolling of the page content while open.
- * - Adds the appropriate ARIA roles are automatically.
- * - Easily pluggable animations via a ` ` component.
- *
- * Note that, in the same way the backdrop element prevents users from clicking or interacting
- * with the page content underneath the Modal, Screen readers also need to be signaled to not to
- * interact with page content while the Modal is open. To do this, we use a common technique of applying
- * the `aria-hidden='true'` attribute to the non-Modal elements in the Modal `container`. This means that for
- * a Modal to be truly modal, it should have a `container` that is _outside_ your app's
- * React hierarchy (such as the default: document.body).
- */
-
-var Modal = function (_React$Component) {
- _inherits(Modal, _React$Component);
-
- function Modal() {
- var _temp, _this, _ret;
-
- _classCallCheck(this, Modal);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _initialiseProps.call(_this), _temp), _possibleConstructorReturn(_this, _ret);
- }
-
- Modal.prototype.omitProps = function omitProps(props, propTypes) {
-
- var keys = Object.keys(props);
- var newProps = {};
- keys.map(function (prop) {
- if (!Object.prototype.hasOwnProperty.call(propTypes, prop)) {
- newProps[prop] = props[prop];
- }
- });
-
- return newProps;
- };
-
- Modal.prototype.render = function render() {
- var _props = this.props,
- show = _props.show,
- container = _props.container,
- children = _props.children,
- Transition = _props.transition,
- backdrop = _props.backdrop,
- dialogTransitionTimeout = _props.dialogTransitionTimeout,
- className = _props.className,
- style = _props.style,
- onExit = _props.onExit,
- onExiting = _props.onExiting,
- onEnter = _props.onEnter,
- onEntering = _props.onEntering,
- onEntered = _props.onEntered;
-
-
- var dialog = _react2.default.Children.only(children);
- var filteredProps = this.omitProps(this.props, Modal.propTypes);
-
- var mountModal = show || Transition && !this.state.exited;
- if (!mountModal) {
- return null;
- }
-
- var _dialog$props = dialog.props,
- role = _dialog$props.role,
- tabIndex = _dialog$props.tabIndex;
-
-
- if (role === undefined || tabIndex === undefined) {
- dialog = (0, _react.cloneElement)(dialog, {
- role: role === undefined ? 'document' : role,
- tabIndex: tabIndex == null ? '-1' : tabIndex
- });
- }
-
- if (Transition) {
- dialog = _react2.default.createElement(
- Transition,
- {
- transitionAppear: true,
- unmountOnExit: true,
- 'in': show,
- timeout: dialogTransitionTimeout,
- onExit: onExit,
- onExiting: onExiting,
- onExited: this.handleHidden,
- onEnter: onEnter,
- onEntering: onEntering,
- onEntered: onEntered
- },
- dialog
- );
- }
-
- return _react2.default.createElement(
- _Portal2.default,
- {
- ref: this.setMountNode,
- container: container,
- onRendered: this.onPortalRendered
- },
- _react2.default.createElement(
- 'div',
- _extends({
- ref: this.setModalNodeRef,
- role: role || 'dialog'
- }, filteredProps, {
- style: style,
- className: className
- }),
- backdrop && this.renderBackdrop(),
- _react2.default.createElement(
- _RefHolder2.default,
- { ref: this.setDialogRef },
- dialog
- )
- )
- );
- };
-
- Modal.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- if (nextProps.show) {
- this.setState({ exited: false });
- } else if (!nextProps.transition) {
- // Otherwise let handleHidden take care of marking exited.
- this.setState({ exited: true });
- }
- };
-
- Modal.prototype.componentWillUpdate = function componentWillUpdate(nextProps) {
- if (!this.props.show && nextProps.show) {
- this.checkForFocus();
- }
- };
-
- Modal.prototype.componentDidMount = function componentDidMount() {
- this._isMounted = true;
- if (this.props.show) {
- this.onShow();
- }
- };
-
- Modal.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
- var transition = this.props.transition;
-
-
- if (prevProps.show && !this.props.show && !transition) {
- // Otherwise handleHidden will call this.
- this.onHide();
- } else if (!prevProps.show && this.props.show) {
- this.onShow();
- }
- };
-
- Modal.prototype.componentWillUnmount = function componentWillUnmount() {
- var _props2 = this.props,
- show = _props2.show,
- transition = _props2.transition;
-
-
- this._isMounted = false;
-
- if (show || transition && !this.state.exited) {
- this.onHide();
- }
- };
-
- Modal.prototype.autoFocus = function autoFocus() {
- if (!this.props.autoFocus) {
- return;
- }
-
- var dialogElement = this.getDialogElement();
- var currentActiveElement = (0, _activeElement2.default)((0, _ownerDocument2.default)(this));
-
- if (dialogElement && !(0, _contains2.default)(dialogElement, currentActiveElement)) {
- this.lastFocus = currentActiveElement;
-
- if (!dialogElement.hasAttribute('tabIndex')) {
- (0, _warning2.default)(false, 'The modal content node does not accept focus. For the benefit of ' + 'assistive technologies, the tabIndex of the node is being set ' + 'to "-1".');
-
- dialogElement.setAttribute('tabIndex', -1);
- }
-
- dialogElement.focus();
- }
- };
-
- Modal.prototype.restoreLastFocus = function restoreLastFocus() {
- // Support: <=IE11 doesn't support `focus()` on svg elements (RB: #917)
- if (this.lastFocus && this.lastFocus.focus) {
- this.lastFocus.focus();
- this.lastFocus = null;
- }
- };
-
- Modal.prototype.getDialogElement = function getDialogElement() {
- return _reactDom2.default.findDOMNode(this.dialog);
- };
-
- Modal.prototype.isTopModal = function isTopModal() {
- return this.props.manager.isTopModal(this);
- };
-
- return Modal;
-}(_react2.default.Component);
-
-Modal.propTypes = _extends({}, _Portal2.default.propTypes, {
-
- /**
- * Set the visibility of the Modal
- */
- show: _propTypes2.default.bool,
-
- /**
- * A Node, Component instance, or function that returns either. The Modal is appended to it's container element.
- *
- * For the sake of assistive technologies, the container should usually be the document body, so that the rest of the
- * page content can be placed behind a virtual backdrop as well as a visual one.
- */
- container: _propTypes2.default.oneOfType([_componentOrElement2.default, _propTypes2.default.func]),
-
- /**
- * A callback fired when the Modal is opening.
- */
- onShow: _propTypes2.default.func,
-
- /**
- * A callback fired when either the backdrop is clicked, or the escape key is pressed.
- *
- * The `onHide` callback only signals intent from the Modal,
- * you must actually set the `show` prop to `false` for the Modal to close.
- */
- onHide: _propTypes2.default.func,
-
- /**
- * Include a backdrop component.
- */
- backdrop: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.oneOf(['static'])]),
-
- /**
- * A function that returns a backdrop component. Useful for custom
- * backdrop rendering.
- *
- * ```js
- * renderBackdrop={props => }
- * ```
- */
- renderBackdrop: _propTypes2.default.func,
-
- /**
- * A callback fired when the escape key, if specified in `keyboard`, is pressed.
- */
- onEscapeKeyDown: _propTypes2.default.func,
-
- /**
- * Support for this function will be deprecated. Please use `onEscapeKeyDown` instead
- * A callback fired when the escape key, if specified in `keyboard`, is pressed.
- * @deprecated
- */
- onEscapeKeyUp: (0, _deprecated2.default)(_propTypes2.default.func, 'Please use onEscapeKeyDown instead for consistency'),
-
- /**
- * A callback fired when the backdrop, if specified, is clicked.
- */
- onBackdropClick: _propTypes2.default.func,
-
- /**
- * A style object for the backdrop component.
- */
- backdropStyle: _propTypes2.default.object,
-
- /**
- * A css class or classes for the backdrop component.
- */
- backdropClassName: _propTypes2.default.string,
-
- /**
- * A css class or set of classes applied to the modal container when the modal is open,
- * and removed when it is closed.
- */
- containerClassName: _propTypes2.default.string,
-
- /**
- * Close the modal when escape key is pressed
- */
- keyboard: _propTypes2.default.bool,
-
- /**
- * A ` ` component to use for the dialog and backdrop components.
- */
- transition: _elementType2.default,
-
- /**
- * The `timeout` of the dialog transition if specified. This number is used to ensure that
- * transition callbacks are always fired, even if browser transition events are canceled.
- *
- * See the Transition `timeout` prop for more infomation.
- */
- dialogTransitionTimeout: _propTypes2.default.number,
-
- /**
- * The `timeout` of the backdrop transition if specified. This number is used to
- * ensure that transition callbacks are always fired, even if browser transition events are canceled.
- *
- * See the Transition `timeout` prop for more infomation.
- */
- backdropTransitionTimeout: _propTypes2.default.number,
-
- /**
- * When `true` The modal will automatically shift focus to itself when it opens, and
- * replace it to the last focused element when it closes. This also
- * works correctly with any Modal children that have the `autoFocus` prop.
- *
- * Generally this should never be set to `false` as it makes the Modal less
- * accessible to assistive technologies, like screen readers.
- */
- autoFocus: _propTypes2.default.bool,
-
- /**
- * When `true` The modal will prevent focus from leaving the Modal while open.
- *
- * Generally this should never be set to `false` as it makes the Modal less
- * accessible to assistive technologies, like screen readers.
- */
- enforceFocus: _propTypes2.default.bool,
-
- /**
- * When `true` The modal will restore focus to previously focused element once
- * modal is hidden
- */
- restoreFocus: _propTypes2.default.bool,
-
- /**
- * Callback fired before the Modal transitions in
- */
- onEnter: _propTypes2.default.func,
-
- /**
- * Callback fired as the Modal begins to transition in
- */
- onEntering: _propTypes2.default.func,
-
- /**
- * Callback fired after the Modal finishes transitioning in
- */
- onEntered: _propTypes2.default.func,
-
- /**
- * Callback fired right before the Modal transitions out
- */
- onExit: _propTypes2.default.func,
-
- /**
- * Callback fired as the Modal begins to transition out
- */
- onExiting: _propTypes2.default.func,
-
- /**
- * Callback fired after the Modal finishes transitioning out
- */
- onExited: _propTypes2.default.func,
-
- /**
- * A ModalManager instance used to track and manage the state of open
- * Modals. Useful when customizing how modals interact within a container
- */
- manager: _propTypes2.default.object.isRequired
-});
-Modal.defaultProps = {
- show: false,
- backdrop: true,
- keyboard: true,
- autoFocus: true,
- enforceFocus: true,
- restoreFocus: true,
- onHide: function onHide() {},
- manager: modalManager,
- renderBackdrop: function renderBackdrop(props) {
- return _react2.default.createElement('div', props);
- }
-};
-
-var _initialiseProps = function _initialiseProps() {
- var _this2 = this;
-
- this.state = { exited: !this.props.show };
-
- this.renderBackdrop = function () {
- var _props3 = _this2.props,
- backdropStyle = _props3.backdropStyle,
- backdropClassName = _props3.backdropClassName,
- renderBackdrop = _props3.renderBackdrop,
- Transition = _props3.transition,
- backdropTransitionTimeout = _props3.backdropTransitionTimeout;
-
-
- var backdropRef = function backdropRef(ref) {
- return _this2.backdrop = ref;
- };
-
- var backdrop = renderBackdrop({
- ref: backdropRef,
- style: backdropStyle,
- className: backdropClassName,
- onClick: _this2.handleBackdropClick
- });
-
- if (Transition) {
- backdrop = _react2.default.createElement(
- Transition,
- { transitionAppear: true,
- 'in': _this2.props.show,
- timeout: backdropTransitionTimeout
- },
- backdrop
- );
- }
-
- return backdrop;
- };
-
- this.onPortalRendered = function () {
- _this2.autoFocus();
-
- if (_this2.props.onShow) {
- _this2.props.onShow();
- }
- };
-
- this.onShow = function () {
- var doc = (0, _ownerDocument2.default)(_this2);
- var container = (0, _getContainer2.default)(_this2.props.container, doc.body);
-
- _this2.props.manager.add(_this2, container, _this2.props.containerClassName);
-
- _this2._onDocumentKeydownListener = (0, _addEventListener2.default)(doc, 'keydown', _this2.handleDocumentKeyDown);
-
- _this2._onDocumentKeyupListener = (0, _addEventListener2.default)(doc, 'keyup', _this2.handleDocumentKeyUp);
-
- _this2._onFocusinListener = (0, _addFocusListener2.default)(_this2.enforceFocus);
- };
-
- this.onHide = function () {
- _this2.props.manager.remove(_this2);
-
- _this2._onDocumentKeydownListener.remove();
-
- _this2._onDocumentKeyupListener.remove();
-
- _this2._onFocusinListener.remove();
-
- if (_this2.props.restoreFocus) {
- _this2.restoreLastFocus();
- }
- };
-
- this.setMountNode = function (ref) {
- _this2.mountNode = ref ? ref.getMountNode() : ref;
- };
-
- this.setModalNodeRef = function (ref) {
- _this2.modalNode = ref;
- };
-
- this.setDialogRef = function (ref) {
- _this2.dialog = ref;
- };
-
- this.handleHidden = function () {
- _this2.setState({ exited: true });
- _this2.onHide();
-
- if (_this2.props.onExited) {
- var _props4;
-
- (_props4 = _this2.props).onExited.apply(_props4, arguments);
- }
- };
-
- this.handleBackdropClick = function (e) {
- if (e.target !== e.currentTarget) {
- return;
- }
-
- if (_this2.props.onBackdropClick) {
- _this2.props.onBackdropClick(e);
- }
-
- if (_this2.props.backdrop === true) {
- _this2.props.onHide();
- }
- };
-
- this.handleDocumentKeyDown = function (e) {
- if (_this2.props.keyboard && e.keyCode === 27 && _this2.isTopModal()) {
- if (_this2.props.onEscapeKeyDown) {
- _this2.props.onEscapeKeyDown(e);
- }
-
- _this2.props.onHide();
- }
- };
-
- this.handleDocumentKeyUp = function (e) {
- if (_this2.props.keyboard && e.keyCode === 27 && _this2.isTopModal()) {
- if (_this2.props.onEscapeKeyUp) {
- _this2.props.onEscapeKeyUp(e);
- }
- }
- };
-
- this.checkForFocus = function () {
- if (_inDOM2.default) {
- _this2.lastFocus = (0, _activeElement2.default)();
- }
- };
-
- this.enforceFocus = function () {
- if (!_this2.props.enforceFocus || !_this2._isMounted || !_this2.isTopModal()) {
- return;
- }
-
- var dialogElement = _this2.getDialogElement();
- var currentActiveElement = (0, _activeElement2.default)((0, _ownerDocument2.default)(_this2));
-
- if (dialogElement && !(0, _contains2.default)(dialogElement, currentActiveElement)) {
- dialogElement.focus();
- }
- };
-};
-
-Modal.Manager = _ModalManager2.default;
-
-exports.default = Modal;
-module.exports = exports['default'];
-
-/***/ }),
-/* 117 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = hasClass;
-
-function hasClass(element, className) {
- if (element.classList) return !!className && element.classList.contains(className);else return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 118 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = camelizeStyleName;
-
-var _camelize = _interopRequireDefault(__webpack_require__(216));
-
-/**
- * Copyright 2014-2015, Facebook, Inc.
- * All rights reserved.
- * https://github.com/facebook/react/blob/2aeb8a2a6beb00617a4217f7f8284924fa2ad819/src/vendor/core/camelizeStyleName.js
- */
-var msPattern = /^-ms-/;
-
-function camelizeStyleName(string) {
- return (0, _camelize.default)(string.replace(msPattern, 'ms-'));
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 119 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = exports.animationEnd = exports.animationDelay = exports.animationTiming = exports.animationDuration = exports.animationName = exports.transitionEnd = exports.transitionDuration = exports.transitionDelay = exports.transitionTiming = exports.transitionProperty = exports.transform = void 0;
-
-var _inDOM = _interopRequireDefault(__webpack_require__(25));
-
-var transform = 'transform';
-exports.transform = transform;
-var prefix, transitionEnd, animationEnd;
-exports.animationEnd = animationEnd;
-exports.transitionEnd = transitionEnd;
-var transitionProperty, transitionDuration, transitionTiming, transitionDelay;
-exports.transitionDelay = transitionDelay;
-exports.transitionTiming = transitionTiming;
-exports.transitionDuration = transitionDuration;
-exports.transitionProperty = transitionProperty;
-var animationName, animationDuration, animationTiming, animationDelay;
-exports.animationDelay = animationDelay;
-exports.animationTiming = animationTiming;
-exports.animationDuration = animationDuration;
-exports.animationName = animationName;
-
-if (_inDOM.default) {
- var _getTransitionPropert = getTransitionProperties();
-
- prefix = _getTransitionPropert.prefix;
- exports.transitionEnd = transitionEnd = _getTransitionPropert.transitionEnd;
- exports.animationEnd = animationEnd = _getTransitionPropert.animationEnd;
- exports.transform = transform = prefix + "-" + transform;
- exports.transitionProperty = transitionProperty = prefix + "-transition-property";
- exports.transitionDuration = transitionDuration = prefix + "-transition-duration";
- exports.transitionDelay = transitionDelay = prefix + "-transition-delay";
- exports.transitionTiming = transitionTiming = prefix + "-transition-timing-function";
- exports.animationName = animationName = prefix + "-animation-name";
- exports.animationDuration = animationDuration = prefix + "-animation-duration";
- exports.animationTiming = animationTiming = prefix + "-animation-delay";
- exports.animationDelay = animationDelay = prefix + "-animation-timing-function";
-}
-
-var _default = {
- transform: transform,
- end: transitionEnd,
- property: transitionProperty,
- timing: transitionTiming,
- delay: transitionDelay,
- duration: transitionDuration
-};
-exports.default = _default;
-
-function getTransitionProperties() {
- var style = document.createElement('div').style;
- var vendorMap = {
- O: function O(e) {
- return "o" + e.toLowerCase();
- },
- Moz: function Moz(e) {
- return e.toLowerCase();
- },
- Webkit: function Webkit(e) {
- return "webkit" + e;
- },
- ms: function ms(e) {
- return "MS" + e;
- }
- };
- var vendors = Object.keys(vendorMap);
- var transitionEnd, animationEnd;
- var prefix = '';
-
- for (var i = 0; i < vendors.length; i++) {
- var vendor = vendors[i];
-
- if (vendor + "TransitionProperty" in style) {
- prefix = "-" + vendor.toLowerCase();
- transitionEnd = vendorMap[vendor]('TransitionEnd');
- animationEnd = vendorMap[vendor]('AnimationEnd');
- break;
- }
- }
-
- if (!transitionEnd && 'transitionProperty' in style) transitionEnd = 'transitionend';
- if (!animationEnd && 'animationName' in style) animationEnd = 'animationend';
- style = null;
- return {
- animationEnd: animationEnd,
- transitionEnd: transitionEnd,
- prefix: prefix
- };
-}
-
-/***/ }),
-/* 120 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _componentOrElement = __webpack_require__(61);
-
-var _componentOrElement2 = _interopRequireDefault(_componentOrElement);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-var _getContainer = __webpack_require__(63);
-
-var _getContainer2 = _interopRequireDefault(_getContainer);
-
-var _ownerDocument = __webpack_require__(41);
-
-var _ownerDocument2 = _interopRequireDefault(_ownerDocument);
-
-var _LegacyPortal = __webpack_require__(223);
-
-var _LegacyPortal2 = _interopRequireDefault(_LegacyPortal);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-/**
- * The ` ` component renders its children into a new "subtree" outside of current component hierarchy.
- * You can think of it as a declarative `appendChild()`, or jQuery's `$.fn.appendTo()`.
- * The children of ` ` component will be appended to the `container` specified.
- */
-var Portal = function (_React$Component) {
- _inherits(Portal, _React$Component);
-
- function Portal() {
- var _temp, _this, _ret;
-
- _classCallCheck(this, Portal);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.setContainer = function () {
- var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this.props;
-
- _this._portalContainerNode = (0, _getContainer2.default)(props.container, (0, _ownerDocument2.default)(_this).body);
- }, _this.getMountNode = function () {
- return _this._portalContainerNode;
- }, _temp), _possibleConstructorReturn(_this, _ret);
- }
-
- Portal.prototype.componentDidMount = function componentDidMount() {
- this.setContainer();
- this.forceUpdate(this.props.onRendered);
- };
-
- Portal.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- if (nextProps.container !== this.props.container) {
- this.setContainer(nextProps);
- }
- };
-
- Portal.prototype.componentWillUnmount = function componentWillUnmount() {
- this._portalContainerNode = null;
- };
-
- Portal.prototype.render = function render() {
- return this.props.children && this._portalContainerNode ? _reactDom2.default.createPortal(this.props.children, this._portalContainerNode) : null;
- };
-
- return Portal;
-}(_react2.default.Component);
-
-Portal.displayName = 'Portal';
-Portal.propTypes = {
- /**
- * A Node, Component instance, or function that returns either. The `container` will have the Portal children
- * appended to it.
- */
- container: _propTypes2.default.oneOfType([_componentOrElement2.default, _propTypes2.default.func]),
-
- onRendered: _propTypes2.default.func
-};
-exports.default = _reactDom2.default.createPortal ? Portal : _LegacyPortal2.default;
-module.exports = exports['default'];
-
-/***/ }),
-/* 121 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _Transition = __webpack_require__(67);
-
-var _Transition2 = _interopRequireDefault(_Transition);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- /**
- * Show the component; triggers the fade in or fade out animation
- */
- in: _propTypes2.default.bool,
-
- /**
- * Wait until the first "enter" transition to mount the component (add it to the DOM)
- */
- mountOnEnter: _propTypes2.default.bool,
-
- /**
- * Unmount the component (remove it from the DOM) when it is faded out
- */
- unmountOnExit: _propTypes2.default.bool,
-
- /**
- * Run the fade in animation when the component mounts, if it is initially
- * shown
- */
- transitionAppear: _propTypes2.default.bool,
-
- /**
- * Duration of the fade animation in milliseconds, to ensure that finishing
- * callbacks are fired even if the original browser transition end events are
- * canceled
- */
- timeout: _propTypes2.default.number,
-
- /**
- * Callback fired before the component fades in
- */
- onEnter: _propTypes2.default.func,
- /**
- * Callback fired after the component starts to fade in
- */
- onEntering: _propTypes2.default.func,
- /**
- * Callback fired after the has component faded in
- */
- onEntered: _propTypes2.default.func,
- /**
- * Callback fired before the component fades out
- */
- onExit: _propTypes2.default.func,
- /**
- * Callback fired after the component starts to fade out
- */
- onExiting: _propTypes2.default.func,
- /**
- * Callback fired after the component has faded out
- */
- onExited: _propTypes2.default.func
-};
-
-var defaultProps = {
- in: false,
- timeout: 300,
- mountOnEnter: false,
- unmountOnExit: false,
- transitionAppear: false
-};
-
-var Fade = function (_React$Component) {
- (0, _inherits3.default)(Fade, _React$Component);
-
- function Fade() {
- (0, _classCallCheck3.default)(this, Fade);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- Fade.prototype.render = function render() {
- return _react2.default.createElement(_Transition2.default, (0, _extends3.default)({}, this.props, {
- className: (0, _classnames2.default)(this.props.className, 'fade'),
- enteredClassName: 'in',
- enteringClassName: 'in'
- }));
- };
-
- return Fade;
-}(_react2.default.Component);
-
-Fade.propTypes = propTypes;
-Fade.defaultProps = defaultProps;
-
-exports.default = Fade;
-module.exports = exports['default'];
-
-/***/ }),
-/* 122 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _Portal = __webpack_require__(120);
-
-var _Portal2 = _interopRequireDefault(_Portal);
-
-var _Position = __webpack_require__(235);
-
-var _Position2 = _interopRequireDefault(_Position);
-
-var _RootCloseWrapper = __webpack_require__(91);
-
-var _RootCloseWrapper2 = _interopRequireDefault(_RootCloseWrapper);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-/**
- * Built on top of ` ` and ` `, the overlay component is great for custom tooltip overlays.
- */
-var Overlay = function (_React$Component) {
- _inherits(Overlay, _React$Component);
-
- function Overlay(props, context) {
- _classCallCheck(this, Overlay);
-
- var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));
-
- _this.handleHidden = function () {
- _this.setState({ exited: true });
-
- if (_this.props.onExited) {
- var _this$props;
-
- (_this$props = _this.props).onExited.apply(_this$props, arguments);
- }
- };
-
- _this.state = { exited: !props.show };
- _this.onHiddenListener = _this.handleHidden.bind(_this);
- return _this;
- }
-
- Overlay.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- if (nextProps.show) {
- this.setState({ exited: false });
- } else if (!nextProps.transition) {
- // Otherwise let handleHidden take care of marking exited.
- this.setState({ exited: true });
- }
- };
-
- Overlay.prototype.render = function render() {
- var _props = this.props,
- container = _props.container,
- containerPadding = _props.containerPadding,
- target = _props.target,
- placement = _props.placement,
- shouldUpdatePosition = _props.shouldUpdatePosition,
- rootClose = _props.rootClose,
- children = _props.children,
- Transition = _props.transition,
- props = _objectWithoutProperties(_props, ['container', 'containerPadding', 'target', 'placement', 'shouldUpdatePosition', 'rootClose', 'children', 'transition']);
-
- // Don't un-render the overlay while it's transitioning out.
-
-
- var mountOverlay = props.show || Transition && !this.state.exited;
- if (!mountOverlay) {
- // Don't bother showing anything if we don't have to.
- return null;
- }
-
- var child = children;
-
- // Position is be inner-most because it adds inline styles into the child,
- // which the other wrappers don't forward correctly.
- child = _react2.default.createElement(
- _Position2.default,
- { container: container, containerPadding: containerPadding, target: target, placement: placement, shouldUpdatePosition: shouldUpdatePosition },
- child
- );
-
- if (Transition) {
- var onExit = props.onExit,
- onExiting = props.onExiting,
- onEnter = props.onEnter,
- onEntering = props.onEntering,
- onEntered = props.onEntered;
-
- // This animates the child node by injecting props, so it must precede
- // anything that adds a wrapping div.
-
- child = _react2.default.createElement(
- Transition,
- {
- 'in': props.show,
- transitionAppear: true,
- onExit: onExit,
- onExiting: onExiting,
- onExited: this.onHiddenListener,
- onEnter: onEnter,
- onEntering: onEntering,
- onEntered: onEntered
- },
- child
- );
- }
-
- // This goes after everything else because it adds a wrapping div.
- if (rootClose) {
- child = _react2.default.createElement(
- _RootCloseWrapper2.default,
- { onRootClose: props.onHide },
- child
- );
- }
-
- return _react2.default.createElement(
- _Portal2.default,
- { container: container },
- child
- );
- };
-
- return Overlay;
-}(_react2.default.Component);
-
-Overlay.propTypes = _extends({}, _Portal2.default.propTypes, _Position2.default.propTypes, {
-
- /**
- * Set the visibility of the Overlay
- */
- show: _propTypes2.default.bool,
-
- /**
- * Specify whether the overlay should trigger `onHide` when the user clicks outside the overlay
- */
- rootClose: _propTypes2.default.bool,
-
- /**
- * A Callback fired by the Overlay when it wishes to be hidden.
- *
- * __required__ when `rootClose` is `true`.
- *
- * @type func
- */
- onHide: function onHide(props) {
- var propType = _propTypes2.default.func;
- if (props.rootClose) {
- propType = propType.isRequired;
- }
-
- for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
- args[_key - 1] = arguments[_key];
- }
-
- return propType.apply(undefined, [props].concat(args));
- },
-
-
- /**
- * A ` ` component used to animate the overlay changes visibility.
- */
- transition: _elementType2.default,
-
- /**
- * Callback fired before the Overlay transitions in
- */
- onEnter: _propTypes2.default.func,
-
- /**
- * Callback fired as the Overlay begins to transition in
- */
- onEntering: _propTypes2.default.func,
-
- /**
- * Callback fired after the Overlay finishes transitioning in
- */
- onEntered: _propTypes2.default.func,
-
- /**
- * Callback fired right before the Overlay transitions out
- */
- onExit: _propTypes2.default.func,
-
- /**
- * Callback fired as the Overlay begins to transition out
- */
- onExiting: _propTypes2.default.func,
-
- /**
- * Callback fired after the Overlay finishes transitioning out
- */
- onExited: _propTypes2.default.func
-});
-
-exports.default = Overlay;
-module.exports = exports['default'];
-
-/***/ }),
-/* 123 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = offset;
-
-var _contains = _interopRequireDefault(__webpack_require__(30));
-
-var _isWindow = _interopRequireDefault(__webpack_require__(62));
-
-var _ownerDocument = _interopRequireDefault(__webpack_require__(34));
-
-function offset(node) {
- var doc = (0, _ownerDocument.default)(node),
- win = (0, _isWindow.default)(doc),
- docElem = doc && doc.documentElement,
- box = {
- top: 0,
- left: 0,
- height: 0,
- width: 0
- };
- if (!doc) return; // Make sure it's not a disconnected DOM node
-
- if (!(0, _contains.default)(docElem, node)) return box;
- if (node.getBoundingClientRect !== undefined) box = node.getBoundingClientRect(); // IE8 getBoundingClientRect doesn't support width & height
-
- box = {
- top: box.top + (win.pageYOffset || docElem.scrollTop) - (docElem.clientTop || 0),
- left: box.left + (win.pageXOffset || docElem.scrollLeft) - (docElem.clientLeft || 0),
- width: (box.width == null ? node.offsetWidth : box.width) || 0,
- height: (box.height == null ? node.offsetHeight : box.height) || 0
- };
- return box;
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 124 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = scrollTop;
-
-var _isWindow = _interopRequireDefault(__webpack_require__(62));
-
-function scrollTop(node, val) {
- var win = (0, _isWindow.default)(node);
- if (val === undefined) return win ? 'pageYOffset' in win ? win.pageYOffset : win.document.documentElement.scrollTop : node.scrollTop;
- if (win) win.scrollTo('pageXOffset' in win ? win.pageXOffset : win.document.documentElement.scrollLeft, val);else node.scrollTop = val;
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 125 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _PaginationButton = __webpack_require__(240);
-
-var _PaginationButton2 = _interopRequireDefault(_PaginationButton);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- activePage: _propTypes2.default.number,
- items: _propTypes2.default.number,
- maxButtons: _propTypes2.default.number,
-
- /**
- * When `true`, will display the first and the last button page when
- * displaying ellipsis.
- */
- boundaryLinks: _propTypes2.default.bool,
-
- /**
- * When `true`, will display the default node value ('…').
- * Otherwise, will display provided node (when specified).
- */
- ellipsis: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.node]),
-
- /**
- * When `true`, will display the default node value ('«').
- * Otherwise, will display provided node (when specified).
- */
- first: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.node]),
-
- /**
- * When `true`, will display the default node value ('»').
- * Otherwise, will display provided node (when specified).
- */
- last: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.node]),
-
- /**
- * When `true`, will display the default node value ('‹').
- * Otherwise, will display provided node (when specified).
- */
- prev: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.node]),
-
- /**
- * When `true`, will display the default node value ('›').
- * Otherwise, will display provided node (when specified).
- */
- next: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.node]),
-
- onSelect: _propTypes2.default.func,
-
- /**
- * You can use a custom element for the buttons
- */
- buttonComponentClass: _elementType2.default
-};
-
-var defaultProps = {
- activePage: 1,
- items: 1,
- maxButtons: 0,
- first: false,
- last: false,
- prev: false,
- next: false,
- ellipsis: true,
- boundaryLinks: false
-};
-
-var Pagination = function (_React$Component) {
- (0, _inherits3.default)(Pagination, _React$Component);
-
- function Pagination() {
- (0, _classCallCheck3.default)(this, Pagination);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- Pagination.prototype.renderPageButtons = function renderPageButtons(activePage, items, maxButtons, boundaryLinks, ellipsis, buttonProps) {
- var pageButtons = [];
-
- var startPage = void 0;
- var endPage = void 0;
-
- if (maxButtons && maxButtons < items) {
- startPage = Math.max(Math.min(activePage - Math.floor(maxButtons / 2, 10), items - maxButtons + 1), 1);
- endPage = startPage + maxButtons - 1;
- } else {
- startPage = 1;
- endPage = items;
- }
-
- for (var page = startPage; page <= endPage; ++page) {
- pageButtons.push(_react2.default.createElement(
- _PaginationButton2.default,
- (0, _extends3.default)({}, buttonProps, {
- key: page,
- eventKey: page,
- active: page === activePage
- }),
- page
- ));
- }
-
- if (ellipsis && boundaryLinks && startPage > 1) {
- if (startPage > 2) {
- pageButtons.unshift(_react2.default.createElement(
- _PaginationButton2.default,
- {
- key: 'ellipsisFirst',
- disabled: true,
- componentClass: buttonProps.componentClass
- },
- _react2.default.createElement(
- 'span',
- { 'aria-label': 'More' },
- ellipsis === true ? '\u2026' : ellipsis
- )
- ));
- }
-
- pageButtons.unshift(_react2.default.createElement(
- _PaginationButton2.default,
- (0, _extends3.default)({}, buttonProps, {
- key: 1,
- eventKey: 1,
- active: false
- }),
- '1'
- ));
- }
-
- if (ellipsis && endPage < items) {
- if (!boundaryLinks || endPage < items - 1) {
- pageButtons.push(_react2.default.createElement(
- _PaginationButton2.default,
- {
- key: 'ellipsis',
- disabled: true,
- componentClass: buttonProps.componentClass
- },
- _react2.default.createElement(
- 'span',
- { 'aria-label': 'More' },
- ellipsis === true ? '\u2026' : ellipsis
- )
- ));
- }
-
- if (boundaryLinks) {
- pageButtons.push(_react2.default.createElement(
- _PaginationButton2.default,
- (0, _extends3.default)({}, buttonProps, {
- key: items,
- eventKey: items,
- active: false
- }),
- items
- ));
- }
- }
-
- return pageButtons;
- };
-
- Pagination.prototype.render = function render() {
- var _props = this.props,
- activePage = _props.activePage,
- items = _props.items,
- maxButtons = _props.maxButtons,
- boundaryLinks = _props.boundaryLinks,
- ellipsis = _props.ellipsis,
- first = _props.first,
- last = _props.last,
- prev = _props.prev,
- next = _props.next,
- onSelect = _props.onSelect,
- buttonComponentClass = _props.buttonComponentClass,
- className = _props.className,
- props = (0, _objectWithoutProperties3.default)(_props, ['activePage', 'items', 'maxButtons', 'boundaryLinks', 'ellipsis', 'first', 'last', 'prev', 'next', 'onSelect', 'buttonComponentClass', 'className']);
-
- var _splitBsProps = (0, _bootstrapUtils.splitBsProps)(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = (0, _bootstrapUtils.getClassSet)(bsProps);
-
- var buttonProps = {
- onSelect: onSelect,
- componentClass: buttonComponentClass
- };
-
- return _react2.default.createElement(
- 'ul',
- (0, _extends3.default)({}, elementProps, {
- className: (0, _classnames2.default)(className, classes)
- }),
- first && _react2.default.createElement(
- _PaginationButton2.default,
- (0, _extends3.default)({}, buttonProps, {
- eventKey: 1,
- disabled: activePage === 1
- }),
- _react2.default.createElement(
- 'span',
- { 'aria-label': 'First' },
- first === true ? '\xAB' : first
- )
- ),
- prev && _react2.default.createElement(
- _PaginationButton2.default,
- (0, _extends3.default)({}, buttonProps, {
- eventKey: activePage - 1,
- disabled: activePage === 1
- }),
- _react2.default.createElement(
- 'span',
- { 'aria-label': 'Previous' },
- prev === true ? '\u2039' : prev
- )
- ),
- this.renderPageButtons(activePage, items, maxButtons, boundaryLinks, ellipsis, buttonProps),
- next && _react2.default.createElement(
- _PaginationButton2.default,
- (0, _extends3.default)({}, buttonProps, {
- eventKey: activePage + 1,
- disabled: activePage >= items
- }),
- _react2.default.createElement(
- 'span',
- { 'aria-label': 'Next' },
- next === true ? '\u203A' : next
- )
- ),
- last && _react2.default.createElement(
- _PaginationButton2.default,
- (0, _extends3.default)({}, buttonProps, {
- eventKey: items,
- disabled: activePage >= items
- }),
- _react2.default.createElement(
- 'span',
- { 'aria-label': 'Last' },
- last === true ? '\xBB' : last
- )
- )
- );
- };
-
- return Pagination;
-}(_react2.default.Component);
-
-Pagination.propTypes = propTypes;
-Pagination.defaultProps = defaultProps;
-
-exports.default = (0, _bootstrapUtils.bsClass)('pagination', Pagination);
-module.exports = exports['default'];
-
-/***/ }),
-/* 126 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Button__ = __webpack_require__(53);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__SafeAnchor__ = __webpack_require__(23);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__ = __webpack_require__(8);
-
-
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- noCaret: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.bool,
- open: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.bool,
- title: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.string,
- useAnchor: __WEBPACK_IMPORTED_MODULE_6_prop_types___default.a.bool
-};
-
-var defaultProps = {
- open: false,
- useAnchor: false,
- bsRole: 'toggle'
-};
-
-var DropdownToggle = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(DropdownToggle, _React$Component);
-
- function DropdownToggle() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, DropdownToggle);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- DropdownToggle.prototype.render = function render() {
- var _props = this.props,
- noCaret = _props.noCaret,
- open = _props.open,
- useAnchor = _props.useAnchor,
- bsClass = _props.bsClass,
- className = _props.className,
- children = _props.children,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['noCaret', 'open', 'useAnchor', 'bsClass', 'className', 'children']);
-
- delete props.bsRole;
-
- var Component = useAnchor ? __WEBPACK_IMPORTED_MODULE_9__SafeAnchor__["a" /* default */] : __WEBPACK_IMPORTED_MODULE_8__Button__["a" /* default */];
- var useCaret = !noCaret;
-
- // This intentionally forwards bsSize and bsStyle (if set) to the
- // underlying component, to allow it to render size and style variants.
-
- // FIXME: Should this really fall back to `title` as children?
-
- return __WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(
- Component,
- __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, props, {
- role: 'button',
- className: __WEBPACK_IMPORTED_MODULE_7_classnames___default()(className, bsClass),
- 'aria-haspopup': true,
- 'aria-expanded': open
- }),
- children || props.title,
- useCaret && ' ',
- useCaret && __WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement('span', { className: 'caret' })
- );
- };
-
- return DropdownToggle;
-}(__WEBPACK_IMPORTED_MODULE_5_react___default.a.Component);
-
-DropdownToggle.propTypes = propTypes;
-DropdownToggle.defaultProps = defaultProps;
-
-/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["a" /* bsClass */])('dropdown-toggle', DropdownToggle));
-
-/***/ }),
-/* 127 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_keycode__ = __webpack_require__(51);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_keycode___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_keycode__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_dom__ = __webpack_require__(13);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_react_dom__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_prop_types_extra_lib_all__ = __webpack_require__(35);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_prop_types_extra_lib_all___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_prop_types_extra_lib_all__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_warning__ = __webpack_require__(19);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_warning__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__ = __webpack_require__(8);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__utils_createChainedFunction__ = __webpack_require__(15);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__utils_ValidComponentChildren__ = __webpack_require__(20);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-// TODO: Should we expose `` as ``?
-
-// TODO: This `bsStyle` is very unlike the others. Should we rename it?
-
-// TODO: `pullRight` and `pullLeft` don't render right outside of `navbar`.
-// Consider renaming or replacing them.
-
-var propTypes = {
- /**
- * Marks the NavItem with a matching `eventKey` as active. Has a
- * higher precedence over `activeHref`.
- */
- activeKey: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.any,
-
- /**
- * Marks the child NavItem with a matching `href` prop as active.
- */
- activeHref: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.string,
-
- /**
- * NavItems are be positioned vertically.
- */
- stacked: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.bool,
-
- justified: __WEBPACK_IMPORTED_MODULE_10_prop_types_extra_lib_all___default()(__WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.bool, function (_ref) {
- var justified = _ref.justified,
- navbar = _ref.navbar;
- return justified && navbar ? Error('justified navbar `Nav`s are not supported') : null;
- }),
-
- /**
- * A callback fired when a NavItem is selected.
- *
- * ```js
- * function (
- * Any eventKey,
- * SyntheticEvent event?
- * )
- * ```
- */
- onSelect: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.func,
-
- /**
- * ARIA role for the Nav, in the context of a TabContainer, the default will
- * be set to "tablist", but can be overridden by the Nav when set explicitly.
- *
- * When the role is set to "tablist" NavItem focus is managed according to
- * the ARIA authoring practices for tabs:
- * https://www.w3.org/TR/2013/WD-wai-aria-practices-20130307/#tabpanel
- */
- role: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.string,
-
- /**
- * Apply styling an alignment for use in a Navbar. This prop will be set
- * automatically when the Nav is used inside a Navbar.
- */
- navbar: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.bool,
-
- /**
- * Float the Nav to the right. When `navbar` is `true` the appropriate
- * contextual classes are added as well.
- */
- pullRight: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.bool,
-
- /**
- * Float the Nav to the left. When `navbar` is `true` the appropriate
- * contextual classes are added as well.
- */
- pullLeft: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.bool
-};
-
-var defaultProps = {
- justified: false,
- pullRight: false,
- pullLeft: false,
- stacked: false
-};
-
-var contextTypes = {
- $bs_navbar: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.shape({
- bsClass: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.string,
- onSelect: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.func
- }),
-
- $bs_tabContainer: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.shape({
- activeKey: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.any,
- onSelect: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.func.isRequired,
- getTabId: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.func.isRequired,
- getPaneId: __WEBPACK_IMPORTED_MODULE_8_prop_types___default.a.func.isRequired
- })
-};
-
-var Nav = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(Nav, _React$Component);
-
- function Nav() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, Nav);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- Nav.prototype.componentDidUpdate = function componentDidUpdate() {
- var _this2 = this;
-
- if (!this._needsRefocus) {
- return;
- }
-
- this._needsRefocus = false;
-
- var children = this.props.children;
-
- var _getActiveProps = this.getActiveProps(),
- activeKey = _getActiveProps.activeKey,
- activeHref = _getActiveProps.activeHref;
-
- var activeChild = __WEBPACK_IMPORTED_MODULE_14__utils_ValidComponentChildren__["a" /* default */].find(children, function (child) {
- return _this2.isActive(child, activeKey, activeHref);
- });
-
- var childrenArray = __WEBPACK_IMPORTED_MODULE_14__utils_ValidComponentChildren__["a" /* default */].toArray(children);
- var activeChildIndex = childrenArray.indexOf(activeChild);
-
- var childNodes = __WEBPACK_IMPORTED_MODULE_9_react_dom___default.a.findDOMNode(this).children;
- var activeNode = childNodes && childNodes[activeChildIndex];
-
- if (!activeNode || !activeNode.firstChild) {
- return;
- }
-
- activeNode.firstChild.focus();
- };
-
- Nav.prototype.getActiveProps = function getActiveProps() {
- var tabContainer = this.context.$bs_tabContainer;
-
- if (tabContainer) {
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_11_warning___default()(this.props.activeKey == null && !this.props.activeHref, 'Specifying a `` `activeKey` or `activeHref` in the context of ' + 'a `` is not supported. Instead use ` `.')) : void 0;
-
- return tabContainer;
- }
-
- return this.props;
- };
-
- Nav.prototype.getNextActiveChild = function getNextActiveChild(offset) {
- var _this3 = this;
-
- var children = this.props.children;
-
- var validChildren = children.filter(function (child) {
- return child.props.eventKey != null && !child.props.disabled;
- });
-
- var _getActiveProps2 = this.getActiveProps(),
- activeKey = _getActiveProps2.activeKey,
- activeHref = _getActiveProps2.activeHref;
-
- var activeChild = __WEBPACK_IMPORTED_MODULE_14__utils_ValidComponentChildren__["a" /* default */].find(children, function (child) {
- return _this3.isActive(child, activeKey, activeHref);
- });
-
- // This assumes the active child is not disabled.
- var activeChildIndex = validChildren.indexOf(activeChild);
- if (activeChildIndex === -1) {
- // Something has gone wrong. Select the first valid child we can find.
- return validChildren[0];
- }
-
- var nextIndex = activeChildIndex + offset;
- var numValidChildren = validChildren.length;
-
- if (nextIndex >= numValidChildren) {
- nextIndex = 0;
- } else if (nextIndex < 0) {
- nextIndex = numValidChildren - 1;
- }
-
- return validChildren[nextIndex];
- };
-
- Nav.prototype.getTabProps = function getTabProps(child, tabContainer, navRole, active, onSelect) {
- var _this4 = this;
-
- if (!tabContainer && navRole !== 'tablist') {
- // No tab props here.
- return null;
- }
-
- var _child$props = child.props,
- id = _child$props.id,
- controls = _child$props['aria-controls'],
- eventKey = _child$props.eventKey,
- role = _child$props.role,
- onKeyDown = _child$props.onKeyDown,
- tabIndex = _child$props.tabIndex;
-
-
- if (tabContainer) {
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_11_warning___default()(!id && !controls, 'In the context of a ``, ``s are given ' + 'generated `id` and `aria-controls` attributes for the sake of ' + 'proper component accessibility. Any provided ones will be ignored. ' + 'To control these attributes directly, provide a `generateChildId` ' + 'prop to the parent ``.') : void 0;
-
- id = tabContainer.getTabId(eventKey);
- controls = tabContainer.getPaneId(eventKey);
- }
-
- if (navRole === 'tablist') {
- role = role || 'tab';
- onKeyDown = Object(__WEBPACK_IMPORTED_MODULE_13__utils_createChainedFunction__["a" /* default */])(function (event) {
- return _this4.handleTabKeyDown(onSelect, event);
- }, onKeyDown);
- tabIndex = active ? tabIndex : -1;
- }
-
- return {
- id: id,
- role: role,
- onKeyDown: onKeyDown,
- 'aria-controls': controls,
- tabIndex: tabIndex
- };
- };
-
- Nav.prototype.handleTabKeyDown = function handleTabKeyDown(onSelect, event) {
- var nextActiveChild = void 0;
-
- switch (event.keyCode) {
- case __WEBPACK_IMPORTED_MODULE_6_keycode___default.a.codes.left:
- case __WEBPACK_IMPORTED_MODULE_6_keycode___default.a.codes.up:
- nextActiveChild = this.getNextActiveChild(-1);
- break;
- case __WEBPACK_IMPORTED_MODULE_6_keycode___default.a.codes.right:
- case __WEBPACK_IMPORTED_MODULE_6_keycode___default.a.codes.down:
- nextActiveChild = this.getNextActiveChild(1);
- break;
- default:
- // It was a different key; don't handle this keypress.
- return;
- }
-
- event.preventDefault();
-
- if (onSelect && nextActiveChild && nextActiveChild.props.eventKey != null) {
- onSelect(nextActiveChild.props.eventKey);
- }
-
- this._needsRefocus = true;
- };
-
- Nav.prototype.isActive = function isActive(_ref2, activeKey, activeHref) {
- var props = _ref2.props;
-
- if (props.active || activeKey != null && props.eventKey === activeKey || activeHref && props.href === activeHref) {
- return true;
- }
-
- return props.active;
- };
-
- Nav.prototype.render = function render() {
- var _extends2,
- _this5 = this;
-
- var _props = this.props,
- stacked = _props.stacked,
- justified = _props.justified,
- onSelect = _props.onSelect,
- propsRole = _props.role,
- propsNavbar = _props.navbar,
- pullRight = _props.pullRight,
- pullLeft = _props.pullLeft,
- className = _props.className,
- children = _props.children,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['stacked', 'justified', 'onSelect', 'role', 'navbar', 'pullRight', 'pullLeft', 'className', 'children']);
-
- var tabContainer = this.context.$bs_tabContainer;
- var role = propsRole || (tabContainer ? 'tablist' : null);
-
- var _getActiveProps3 = this.getActiveProps(),
- activeKey = _getActiveProps3.activeKey,
- activeHref = _getActiveProps3.activeHref;
-
- delete props.activeKey; // Accessed via this.getActiveProps().
- delete props.activeHref; // Accessed via this.getActiveProps().
-
- var _splitBsProps = Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps), (_extends2 = {}, _extends2[Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["e" /* prefix */])(bsProps, 'stacked')] = stacked, _extends2[Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["e" /* prefix */])(bsProps, 'justified')] = justified, _extends2));
-
- var navbar = propsNavbar != null ? propsNavbar : this.context.$bs_navbar;
- var pullLeftClassName = void 0;
- var pullRightClassName = void 0;
-
- if (navbar) {
- var navbarProps = this.context.$bs_navbar || { bsClass: 'navbar' };
-
- classes[Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["e" /* prefix */])(navbarProps, 'nav')] = true;
-
- pullRightClassName = Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["e" /* prefix */])(navbarProps, 'right');
- pullLeftClassName = Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["e" /* prefix */])(navbarProps, 'left');
- } else {
- pullRightClassName = 'pull-right';
- pullLeftClassName = 'pull-left';
- }
-
- classes[pullRightClassName] = pullRight;
- classes[pullLeftClassName] = pullLeft;
-
- return __WEBPACK_IMPORTED_MODULE_7_react___default.a.createElement(
- 'ul',
- __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, elementProps, {
- role: role,
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, classes)
- }),
- __WEBPACK_IMPORTED_MODULE_14__utils_ValidComponentChildren__["a" /* default */].map(children, function (child) {
- var active = _this5.isActive(child, activeKey, activeHref);
- var childOnSelect = Object(__WEBPACK_IMPORTED_MODULE_13__utils_createChainedFunction__["a" /* default */])(child.props.onSelect, onSelect, navbar && navbar.onSelect, tabContainer && tabContainer.onSelect);
-
- return Object(__WEBPACK_IMPORTED_MODULE_7_react__["cloneElement"])(child, __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, _this5.getTabProps(child, tabContainer, role, active, childOnSelect), {
- active: active,
- activeKey: activeKey,
- activeHref: activeHref,
- onSelect: childOnSelect
- }));
- })
- );
- };
-
- return Nav;
-}(__WEBPACK_IMPORTED_MODULE_7_react___default.a.Component);
-
-Nav.propTypes = propTypes;
-Nav.defaultProps = defaultProps;
-Nav.contextTypes = contextTypes;
-
-/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["a" /* bsClass */])('nav', Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["c" /* bsStyles */])(['tabs', 'pills'], Nav)));
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 128 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_overlays_lib_Overlay__ = __webpack_require__(122);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_overlays_lib_Overlay___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_react_overlays_lib_Overlay__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_prop_types_extra_lib_elementType__ = __webpack_require__(10);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_prop_types_extra_lib_elementType___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_prop_types_extra_lib_elementType__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__Fade__ = __webpack_require__(66);
-
-
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_extends___default()({}, __WEBPACK_IMPORTED_MODULE_8_react_overlays_lib_Overlay___default.a.propTypes, {
-
- /**
- * Set the visibility of the Overlay
- */
- show: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
- /**
- * Specify whether the overlay should trigger onHide when the user clicks outside the overlay
- */
- rootClose: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
- /**
- * A callback invoked by the overlay when it wishes to be hidden. Required if
- * `rootClose` is specified.
- */
- onHide: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Use animation
- */
- animation: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool, __WEBPACK_IMPORTED_MODULE_9_prop_types_extra_lib_elementType___default.a]),
-
- /**
- * Callback fired before the Overlay transitions in
- */
- onEnter: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Callback fired as the Overlay begins to transition in
- */
- onEntering: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Callback fired after the Overlay finishes transitioning in
- */
- onEntered: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Callback fired right before the Overlay transitions out
- */
- onExit: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Callback fired as the Overlay begins to transition out
- */
- onExiting: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Callback fired after the Overlay finishes transitioning out
- */
- onExited: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Sets the direction of the Overlay.
- */
- placement: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOf(['top', 'right', 'bottom', 'left'])
-});
-
-var defaultProps = {
- animation: __WEBPACK_IMPORTED_MODULE_10__Fade__["a" /* default */],
- rootClose: false,
- show: false,
- placement: 'right'
-};
-
-var Overlay = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits___default()(Overlay, _React$Component);
-
- function Overlay() {
- __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default()(this, Overlay);
-
- return __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- Overlay.prototype.render = function render() {
- var _props = this.props,
- animation = _props.animation,
- children = _props.children,
- props = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['animation', 'children']);
-
- var transition = animation === true ? __WEBPACK_IMPORTED_MODULE_10__Fade__["a" /* default */] : animation || null;
-
- var child = void 0;
-
- if (!transition) {
- child = Object(__WEBPACK_IMPORTED_MODULE_6_react__["cloneElement"])(children, {
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(children.props.className, 'in')
- });
- } else {
- child = children;
- }
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- __WEBPACK_IMPORTED_MODULE_8_react_overlays_lib_Overlay___default.a,
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_extends___default()({}, props, {
- transition: transition
- }),
- child
- );
- };
-
- return Overlay;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-Overlay.propTypes = propTypes;
-Overlay.defaultProps = defaultProps;
-
-/* harmony default export */ __webpack_exports__["a"] = (Overlay);
-
-/***/ }),
-/* 129 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_elementType__ = __webpack_require__(10);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_elementType___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_elementType__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_warning__ = __webpack_require__(19);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_warning__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__ = __webpack_require__(8);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__utils_createChainedFunction__ = __webpack_require__(15);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__Fade__ = __webpack_require__(66);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- /**
- * Uniquely identify the `` among its siblings.
- */
- eventKey: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.any,
-
- /**
- * Use animation when showing or hiding ``s. Use `false` to disable,
- * `true` to enable the default `` animation or any ``
- * component.
- */
- animation: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool, __WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_elementType___default.a]),
-
- /** @private * */
- id: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.string,
-
- /** @private * */
- 'aria-labelledby': __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.string,
-
- /**
- * If not explicitly specified and rendered in the context of a
- * ``, the `bsClass` of the `` suffixed by `-pane`.
- * If otherwise not explicitly specified, `tab-pane`.
- */
- bsClass: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.string,
-
- /**
- * Transition onEnter callback when animation is not `false`
- */
- onEnter: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Transition onEntering callback when animation is not `false`
- */
- onEntering: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Transition onEntered callback when animation is not `false`
- */
- onEntered: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Transition onExit callback when animation is not `false`
- */
- onExit: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Transition onExiting callback when animation is not `false`
- */
- onExiting: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Transition onExited callback when animation is not `false`
- */
- onExited: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- /**
- * Wait until the first "enter" transition to mount the tab (add it to the DOM)
- */
- mountOnEnter: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
-
- /**
- * Unmount the tab (remove it from the DOM) when it is no longer visible
- */
- unmountOnExit: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool
-};
-
-var contextTypes = {
- $bs_tabContainer: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.shape({
- getTabId: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
- getPaneId: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func
- }),
- $bs_tabContent: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.shape({
- bsClass: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.string,
- animation: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool, __WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_elementType___default.a]),
- activeKey: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.any,
- mountOnEnter: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
- unmountOnExit: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
- onPaneEnter: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func.isRequired,
- onPaneExited: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func.isRequired,
- exiting: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool.isRequired
- })
-};
-
-/**
- * We override the `` context so ``s in ``s don't
- * conflict with the top level one.
- */
-var childContextTypes = {
- $bs_tabContainer: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOf([null])
-};
-
-var TabPane = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(TabPane, _React$Component);
-
- function TabPane(props, context) {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, TabPane);
-
- var _this = __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.call(this, props, context));
-
- _this.handleEnter = _this.handleEnter.bind(_this);
- _this.handleExited = _this.handleExited.bind(_this);
-
- _this.in = false;
- return _this;
- }
-
- TabPane.prototype.getChildContext = function getChildContext() {
- return {
- $bs_tabContainer: null
- };
- };
-
- TabPane.prototype.componentDidMount = function componentDidMount() {
- if (this.shouldBeIn()) {
- // In lieu of the action event firing.
- this.handleEnter();
- }
- };
-
- TabPane.prototype.componentDidUpdate = function componentDidUpdate() {
- if (this.in) {
- if (!this.shouldBeIn()) {
- // We shouldn't be active any more. Notify the parent.
- this.handleExited();
- }
- } else if (this.shouldBeIn()) {
- // We are the active child. Notify the parent.
- this.handleEnter();
- }
- };
-
- TabPane.prototype.componentWillUnmount = function componentWillUnmount() {
- if (this.in) {
- // In lieu of the action event firing.
- this.handleExited();
- }
- };
-
- TabPane.prototype.getAnimation = function getAnimation() {
- if (this.props.animation != null) {
- return this.props.animation;
- }
-
- var tabContent = this.context.$bs_tabContent;
- return tabContent && tabContent.animation;
- };
-
- TabPane.prototype.handleEnter = function handleEnter() {
- var tabContent = this.context.$bs_tabContent;
- if (!tabContent) {
- return;
- }
-
- this.in = tabContent.onPaneEnter(this, this.props.eventKey);
- };
-
- TabPane.prototype.handleExited = function handleExited() {
- var tabContent = this.context.$bs_tabContent;
- if (!tabContent) {
- return;
- }
-
- tabContent.onPaneExited(this);
- this.in = false;
- };
-
- TabPane.prototype.isActive = function isActive() {
- var tabContent = this.context.$bs_tabContent;
- var activeKey = tabContent && tabContent.activeKey;
-
- return this.props.eventKey === activeKey;
- };
-
- TabPane.prototype.shouldBeIn = function shouldBeIn() {
- return this.getAnimation() && this.isActive();
- };
-
- TabPane.prototype.render = function render() {
- var _props = this.props,
- eventKey = _props.eventKey,
- className = _props.className,
- onEnter = _props.onEnter,
- onEntering = _props.onEntering,
- onEntered = _props.onEntered,
- onExit = _props.onExit,
- onExiting = _props.onExiting,
- onExited = _props.onExited,
- propsMountOnEnter = _props.mountOnEnter,
- propsUnmountOnExit = _props.unmountOnExit,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['eventKey', 'className', 'onEnter', 'onEntering', 'onEntered', 'onExit', 'onExiting', 'onExited', 'mountOnEnter', 'unmountOnExit']);
-
- var _context = this.context,
- tabContent = _context.$bs_tabContent,
- tabContainer = _context.$bs_tabContainer;
-
- var _splitBsPropsAndOmit = Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["g" /* splitBsPropsAndOmit */])(props, ['animation']),
- bsProps = _splitBsPropsAndOmit[0],
- elementProps = _splitBsPropsAndOmit[1];
-
- var active = this.isActive();
- var animation = this.getAnimation();
-
- var mountOnEnter = propsMountOnEnter != null ? propsMountOnEnter : tabContent && tabContent.mountOnEnter;
- var unmountOnExit = propsUnmountOnExit != null ? propsUnmountOnExit : tabContent && tabContent.unmountOnExit;
-
- if (!active && !animation && unmountOnExit) {
- return null;
- }
-
- var Transition = animation === true ? __WEBPACK_IMPORTED_MODULE_12__Fade__["a" /* default */] : animation || null;
-
- if (tabContent) {
- bsProps.bsClass = Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["e" /* prefix */])(tabContent, 'pane');
- }
-
- var classes = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps), {
- active: active
- });
-
- if (tabContainer) {
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_9_warning___default()(!elementProps.id && !elementProps['aria-labelledby'], 'In the context of a ``, `` are given ' + 'generated `id` and `aria-labelledby` attributes for the sake of ' + 'proper component accessibility. Any provided ones will be ignored. ' + 'To control these attributes directly provide a `generateChildId` ' + 'prop to the parent ``.') : void 0;
-
- elementProps.id = tabContainer.getPaneId(eventKey);
- elementProps['aria-labelledby'] = tabContainer.getTabId(eventKey);
- }
-
- var pane = __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('div', __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, elementProps, {
- role: 'tabpanel',
- 'aria-hidden': !active,
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, classes)
- }));
-
- if (Transition) {
- var exiting = tabContent && tabContent.exiting;
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- Transition,
- {
- 'in': active && !exiting,
- onEnter: Object(__WEBPACK_IMPORTED_MODULE_11__utils_createChainedFunction__["a" /* default */])(this.handleEnter, onEnter),
- onEntering: onEntering,
- onEntered: onEntered,
- onExit: onExit,
- onExiting: onExiting,
- onExited: Object(__WEBPACK_IMPORTED_MODULE_11__utils_createChainedFunction__["a" /* default */])(this.handleExited, onExited),
- mountOnEnter: mountOnEnter,
- unmountOnExit: unmountOnExit
- },
- pane
- );
- }
-
- return pane;
- };
-
- return TabPane;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-TabPane.propTypes = propTypes;
-TabPane.contextTypes = contextTypes;
-TabPane.childContextTypes = childContextTypes;
-
-/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_10__utils_bootstrapUtils__["a" /* bsClass */])('tab-pane', TabPane));
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 130 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Button__ = __webpack_require__(53);
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- /**
- * The ` ` `type`
- * @type {[type]}
- */
- type: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.oneOf(['checkbox', 'radio']),
-
- /**
- * The HTML input name, used to group like checkboxes or radio buttons together
- * semantically
- */
- name: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.string,
-
- /**
- * The checked state of the input, managed by ``` automatically
- */
- checked: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.bool,
-
- /**
- * The disabled state of both the label and input
- */
- disabled: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.bool,
-
- /**
- * [onChange description]
- */
- onChange: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.func,
- /**
- * The value of the input, and unique identifier in the ToggleButtonGroup
- */
- value: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.any.isRequired
-};
-
-var ToggleButton = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(ToggleButton, _React$Component);
-
- function ToggleButton() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, ToggleButton);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- ToggleButton.prototype.render = function render() {
- var _props = this.props,
- children = _props.children,
- name = _props.name,
- checked = _props.checked,
- type = _props.type,
- onChange = _props.onChange,
- value = _props.value,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['children', 'name', 'checked', 'type', 'onChange', 'value']);
-
- var disabled = props.disabled;
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- __WEBPACK_IMPORTED_MODULE_7__Button__["a" /* default */],
- __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, props, {
- active: !!checked,
- componentClass: 'label'
- }),
- __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('input', {
- name: name,
- type: type,
- autoComplete: 'off',
- value: value,
- checked: !!checked,
- disabled: !!disabled,
- onChange: onChange
- }),
- children
- );
- };
-
- return ToggleButton;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-ToggleButton.propTypes = propTypes;
-
-/* harmony default export */ __webpack_exports__["a"] = (ToggleButton);
-
-/***/ }),
-/* 131 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var normalize = __webpack_require__(318)
-var Schema = __webpack_require__(321)
-var DefinedInfo = __webpack_require__(322)
-
-module.exports = create
-
-function create(definition) {
- var space = definition.space
- var mustUseProperty = definition.mustUseProperty || []
- var attributes = definition.attributes || {}
- var props = definition.properties
- var transform = definition.transform
- var property = {}
- var normal = {}
- var prop
- var info
-
- for (prop in props) {
- info = new DefinedInfo(
- prop,
- transform(attributes, prop),
- props[prop],
- space
- )
-
- if (mustUseProperty.indexOf(prop) !== -1) {
- info.mustUseProperty = true
- }
-
- property[prop] = info
-
- normal[normalize(prop)] = prop
- normal[normalize(info.attribute)] = prop
- }
-
- return new Schema(property, normal, space)
-}
-
-
-/***/ }),
-/* 132 */
-/***/ (function(module, exports) {
-
-module.exports = __WEBPACK_EXTERNAL_MODULE_132__;
-
-/***/ }),
-/* 133 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash__ = __webpack_require__(9);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__lib_utils__ = __webpack_require__(16);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__prop_types_inputPropTypes__ = __webpack_require__(64);
-var _jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/src/components/adslot-ui/RadioGroup/index.jsx";
-
-function _typeof(obj) { 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); }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
-
-function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
-
-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); }
-
-function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
-
-function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-
-var RadioGroup =
-/*#__PURE__*/
-function (_React$Component) {
- _inherits(RadioGroup, _React$Component);
-
- function RadioGroup(props) {
- var _this;
-
- _classCallCheck(this, RadioGroup);
-
- _this = _possibleConstructorReturn(this, _getPrototypeOf(RadioGroup).call(this, props));
- _this.onChangeDefault = _this.onChangeDefault.bind(_assertThisInitialized(_assertThisInitialized(_this)));
- _this.renderChildren = _this.renderChildren.bind(_assertThisInitialized(_assertThisInitialized(_this)));
- return _this;
- }
-
- _createClass(RadioGroup, [{
- key: "onChangeDefault",
- value: function onChangeDefault(event) {
- var newValue = event.currentTarget.value;
- this.props.onChange(newValue);
- }
- }, {
- key: "renderChildren",
- value: function renderChildren() {
- var _this2 = this;
-
- return __WEBPACK_IMPORTED_MODULE_1_react___default.a.Children.map(this.props.children, function (child) {
- var childProps = __WEBPACK_IMPORTED_MODULE_0_lodash___default.a.assign({}, child.props, {
- name: _this2.props.name,
- checked: _this2.props.value === child.props.value,
- onChange: function onChange() {
- var _child$props;
-
- (_child$props = child.props).onChange.apply(_child$props, arguments);
-
- _this2.onChangeDefault.apply(_this2, arguments);
- },
- inline: _this2.props.inline
- });
-
- return __WEBPACK_IMPORTED_MODULE_1_react___default.a.cloneElement(child, childProps);
- });
- }
- }, {
- key: "render",
- value: function render() {
- var _this$props = this.props,
- dts = _this$props.dts,
- className = _this$props.className,
- id = _this$props.id;
- var classNames = __WEBPACK_IMPORTED_MODULE_2_classnames___default()(['radio-group-component', className]);
- return __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement("div", Object.assign({
- id: id,
- className: classNames
- }, Object(__WEBPACK_IMPORTED_MODULE_3__lib_utils__["b" /* expandDts */])(dts), {
- __source: {
- fileName: _jsxFileName,
- lineNumber: 41
- },
- __self: this
- }), this.renderChildren());
- }
- }]);
-
- return RadioGroup;
-}(__WEBPACK_IMPORTED_MODULE_1_react___default.a.Component);
-
-RadioGroup.propTypes = __WEBPACK_IMPORTED_MODULE_4__prop_types_inputPropTypes__["e" /* radioGroupPropTypes */];
-/* harmony default export */ __webpack_exports__["a"] = (RadioGroup);
-
-/***/ }),
-/* 134 */
-/***/ (function(module, exports, __webpack_require__) {
-
-const regexp = new RegExp('(MSIE)|(Trident)', 'i');
-if (regexp.test(navigator.userAgent)) {
- __webpack_require__(135)({ polyfill: true });
-}
-
-
-/***/ }),
-/* 135 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!function(root, factory) {
- true ? // AMD. Register as an anonymous module unless amdModuleId is set
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function() {
- return root.svg4everybody = factory();
- }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : "object" == typeof module && module.exports ? // Node. Does not work with strict CommonJS, but
- // only CommonJS-like environments that support module.exports,
- // like Node.
- module.exports = factory() : root.svg4everybody = factory();
-}(this, function() {
- /*! svg4everybody v2.1.9 | github.com/jonathantneal/svg4everybody */
- function embed(parent, svg, target) {
- // if the target exists
- if (target) {
- // create a document fragment to hold the contents of the target
- var fragment = document.createDocumentFragment(), viewBox = !svg.hasAttribute("viewBox") && target.getAttribute("viewBox");
- // conditionally set the viewBox on the svg
- viewBox && svg.setAttribute("viewBox", viewBox);
- // copy the contents of the clone into the fragment
- for (// clone the target
- var clone = target.cloneNode(!0); clone.childNodes.length; ) {
- fragment.appendChild(clone.firstChild);
- }
- // append the fragment into the svg
- parent.appendChild(fragment);
- }
- }
- function loadreadystatechange(xhr) {
- // listen to changes in the request
- xhr.onreadystatechange = function() {
- // if the request is ready
- if (4 === xhr.readyState) {
- // get the cached html document
- var cachedDocument = xhr._cachedDocument;
- // ensure the cached html document based on the xhr response
- cachedDocument || (cachedDocument = xhr._cachedDocument = document.implementation.createHTMLDocument(""),
- cachedDocument.body.innerHTML = xhr.responseText, xhr._cachedTarget = {}), // clear the xhr embeds list and embed each item
- xhr._embeds.splice(0).map(function(item) {
- // get the cached target
- var target = xhr._cachedTarget[item.id];
- // ensure the cached target
- target || (target = xhr._cachedTarget[item.id] = cachedDocument.getElementById(item.id)),
- // embed the target into the svg
- embed(item.parent, item.svg, target);
- });
- }
- }, // test the ready state change immediately
- xhr.onreadystatechange();
- }
- function svg4everybody(rawopts) {
- function oninterval() {
- // while the index exists in the live collection
- for (// get the cached index
- var index = 0; index < uses.length; ) {
- // get the current
- var use = uses[index], parent = use.parentNode, svg = getSVGAncestor(parent), src = use.getAttribute("xlink:href") || use.getAttribute("href");
- if (!src && opts.attributeName && (src = use.getAttribute(opts.attributeName)),
- svg && src) {
- if (polyfill) {
- if (!opts.validate || opts.validate(src, svg, use)) {
- // remove the element
- parent.removeChild(use);
- // parse the src and get the url and id
- var srcSplit = src.split("#"), url = srcSplit.shift(), id = srcSplit.join("#");
- // if the link is external
- if (url.length) {
- // get the cached xhr request
- var xhr = requests[url];
- // ensure the xhr request exists
- xhr || (xhr = requests[url] = new XMLHttpRequest(), xhr.open("GET", url), xhr.send(),
- xhr._embeds = []), // add the svg and id as an item to the xhr embeds list
- xhr._embeds.push({
- parent: parent,
- svg: svg,
- id: id
- }), // prepare the xhr ready state change event
- loadreadystatechange(xhr);
- } else {
- // embed the local id into the svg
- embed(parent, svg, document.getElementById(id));
- }
- } else {
- // increase the index when the previous value was not "valid"
- ++index, ++numberOfSvgUseElementsToBypass;
- }
- }
- } else {
- // increase the index when the previous value was not "valid"
- ++index;
- }
- }
- // continue the interval
- (!uses.length || uses.length - numberOfSvgUseElementsToBypass > 0) && requestAnimationFrame(oninterval, 67);
- }
- var polyfill, opts = Object(rawopts), newerIEUA = /\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/, webkitUA = /\bAppleWebKit\/(\d+)\b/, olderEdgeUA = /\bEdge\/12\.(\d+)\b/, edgeUA = /\bEdge\/.(\d+)\b/, inIframe = window.top !== window.self;
- polyfill = "polyfill" in opts ? opts.polyfill : newerIEUA.test(navigator.userAgent) || (navigator.userAgent.match(olderEdgeUA) || [])[1] < 10547 || (navigator.userAgent.match(webkitUA) || [])[1] < 537 || edgeUA.test(navigator.userAgent) && inIframe;
- // create xhr requests object
- var requests = {}, requestAnimationFrame = window.requestAnimationFrame || setTimeout, uses = document.getElementsByTagName("use"), numberOfSvgUseElementsToBypass = 0;
- // conditionally start the interval if the polyfill is active
- polyfill && oninterval();
- }
- function getSVGAncestor(node) {
- for (var svg = node; "svg" !== svg.nodeName.toLowerCase() && (svg = svg.parentNode); ) {}
- return svg;
- }
- return svg4everybody;
-});
-
-/***/ }),
-/* 136 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-
-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-var sizerStyle = {
- position: 'absolute',
- top: 0,
- left: 0,
- visibility: 'hidden',
- height: 0,
- overflow: 'scroll',
- whiteSpace: 'pre'
-};
-
-var INPUT_PROPS_BLACKLIST = ['extraWidth', 'injectStyles', 'inputClassName', 'inputRef', 'inputStyle', 'minWidth', 'onAutosize', 'placeholderIsMinWidth'];
-
-var cleanInputProps = function cleanInputProps(inputProps) {
- INPUT_PROPS_BLACKLIST.forEach(function (field) {
- return delete inputProps[field];
- });
- return inputProps;
-};
-
-var copyStyles = function copyStyles(styles, node) {
- node.style.fontSize = styles.fontSize;
- node.style.fontFamily = styles.fontFamily;
- node.style.fontWeight = styles.fontWeight;
- node.style.fontStyle = styles.fontStyle;
- node.style.letterSpacing = styles.letterSpacing;
- node.style.textTransform = styles.textTransform;
-};
-
-var isIE = typeof window !== 'undefined' && window.navigator ? /MSIE |Trident\/|Edge\//.test(window.navigator.userAgent) : false;
-
-var generateId = function generateId() {
- // we only need an auto-generated ID for stylesheet injection, which is only
- // used for IE. so if the browser is not IE, this should return undefined.
- return isIE ? '_' + Math.random().toString(36).substr(2, 12) : undefined;
-};
-
-var AutosizeInput = function (_Component) {
- _inherits(AutosizeInput, _Component);
-
- function AutosizeInput(props) {
- _classCallCheck(this, AutosizeInput);
-
- var _this = _possibleConstructorReturn(this, (AutosizeInput.__proto__ || Object.getPrototypeOf(AutosizeInput)).call(this, props));
-
- _this.inputRef = function (el) {
- _this.input = el;
- if (typeof _this.props.inputRef === 'function') {
- _this.props.inputRef(el);
- }
- };
-
- _this.placeHolderSizerRef = function (el) {
- _this.placeHolderSizer = el;
- };
-
- _this.sizerRef = function (el) {
- _this.sizer = el;
- };
-
- _this.state = {
- inputWidth: props.minWidth,
- inputId: props.id || generateId()
- };
- return _this;
- }
-
- _createClass(AutosizeInput, [{
- key: 'componentDidMount',
- value: function componentDidMount() {
- this.mounted = true;
- this.copyInputStyles();
- this.updateInputWidth();
- }
- }, {
- key: 'componentWillReceiveProps',
- value: function componentWillReceiveProps(nextProps) {
- var id = nextProps.id;
-
- if (id !== this.props.id) {
- this.setState({ inputId: id || generateId() });
- }
- }
- }, {
- key: 'componentDidUpdate',
- value: function componentDidUpdate(prevProps, prevState) {
- if (prevState.inputWidth !== this.state.inputWidth) {
- if (typeof this.props.onAutosize === 'function') {
- this.props.onAutosize(this.state.inputWidth);
- }
- }
- this.updateInputWidth();
- }
- }, {
- key: 'componentWillUnmount',
- value: function componentWillUnmount() {
- this.mounted = false;
- }
- }, {
- key: 'copyInputStyles',
- value: function copyInputStyles() {
- if (!this.mounted || !window.getComputedStyle) {
- return;
- }
- var inputStyles = this.input && window.getComputedStyle(this.input);
- if (!inputStyles) {
- return;
- }
- copyStyles(inputStyles, this.sizer);
- if (this.placeHolderSizer) {
- copyStyles(inputStyles, this.placeHolderSizer);
- }
- }
- }, {
- key: 'updateInputWidth',
- value: function updateInputWidth() {
- if (!this.mounted || !this.sizer || typeof this.sizer.scrollWidth === 'undefined') {
- return;
- }
- var newInputWidth = void 0;
- if (this.props.placeholder && (!this.props.value || this.props.value && this.props.placeholderIsMinWidth)) {
- newInputWidth = Math.max(this.sizer.scrollWidth, this.placeHolderSizer.scrollWidth) + 2;
- } else {
- newInputWidth = this.sizer.scrollWidth + 2;
- }
- // add extraWidth to the detected width. for number types, this defaults to 16 to allow for the stepper UI
- var extraWidth = this.props.type === 'number' && this.props.extraWidth === undefined ? 16 : parseInt(this.props.extraWidth) || 0;
- newInputWidth += extraWidth;
- if (newInputWidth < this.props.minWidth) {
- newInputWidth = this.props.minWidth;
- }
- if (newInputWidth !== this.state.inputWidth) {
- this.setState({
- inputWidth: newInputWidth
- });
- }
- }
- }, {
- key: 'getInput',
- value: function getInput() {
- return this.input;
- }
- }, {
- key: 'focus',
- value: function focus() {
- this.input.focus();
- }
- }, {
- key: 'blur',
- value: function blur() {
- this.input.blur();
- }
- }, {
- key: 'select',
- value: function select() {
- this.input.select();
- }
- }, {
- key: 'renderStyles',
- value: function renderStyles() {
- // this method injects styles to hide IE's clear indicator, which messes
- // with input size detection. the stylesheet is only injected when the
- // browser is IE, and can also be disabled by the `injectStyles` prop.
- var injectStyles = this.props.injectStyles;
-
- return isIE && injectStyles ? _react2.default.createElement('style', { dangerouslySetInnerHTML: {
- __html: 'input#' + this.state.inputId + '::-ms-clear {display: none;}'
- } }) : null;
- }
- }, {
- key: 'render',
- value: function render() {
- var sizerValue = [this.props.defaultValue, this.props.value, ''].reduce(function (previousValue, currentValue) {
- if (previousValue !== null && previousValue !== undefined) {
- return previousValue;
- }
- return currentValue;
- });
-
- var wrapperStyle = _extends({}, this.props.style);
- if (!wrapperStyle.display) wrapperStyle.display = 'inline-block';
-
- var inputStyle = _extends({
- boxSizing: 'content-box',
- width: this.state.inputWidth + 'px'
- }, this.props.inputStyle);
-
- var inputProps = _objectWithoutProperties(this.props, []);
-
- cleanInputProps(inputProps);
- inputProps.className = this.props.inputClassName;
- inputProps.id = this.state.inputId;
- inputProps.style = inputStyle;
-
- return _react2.default.createElement(
- 'div',
- { className: this.props.className, style: wrapperStyle },
- this.renderStyles(),
- _react2.default.createElement('input', _extends({}, inputProps, { ref: this.inputRef })),
- _react2.default.createElement(
- 'div',
- { ref: this.sizerRef, style: sizerStyle },
- sizerValue
- ),
- this.props.placeholder ? _react2.default.createElement(
- 'div',
- { ref: this.placeHolderSizerRef, style: sizerStyle },
- this.props.placeholder
- ) : null
- );
- }
- }]);
-
- return AutosizeInput;
-}(_react.Component);
-
-AutosizeInput.propTypes = {
- className: _propTypes2.default.string, // className for the outer element
- defaultValue: _propTypes2.default.any, // default field value
- extraWidth: _propTypes2.default.oneOfType([// additional width for input element
- _propTypes2.default.number, _propTypes2.default.string]),
- id: _propTypes2.default.string, // id to use for the input, can be set for consistent snapshots
- injectStyles: _propTypes2.default.bool, // inject the custom stylesheet to hide clear UI, defaults to true
- inputClassName: _propTypes2.default.string, // className for the input element
- inputRef: _propTypes2.default.func, // ref callback for the input element
- inputStyle: _propTypes2.default.object, // css styles for the input element
- minWidth: _propTypes2.default.oneOfType([// minimum width for input element
- _propTypes2.default.number, _propTypes2.default.string]),
- onAutosize: _propTypes2.default.func, // onAutosize handler: function(newWidth) {}
- onChange: _propTypes2.default.func, // onChange handler: function(event) {}
- placeholder: _propTypes2.default.string, // placeholder text
- placeholderIsMinWidth: _propTypes2.default.bool, // don't collapse size to less than the placeholder
- style: _propTypes2.default.object, // css styles for the outer element
- value: _propTypes2.default.any // field value
-};
-AutosizeInput.defaultProps = {
- minWidth: 1,
- injectStyles: true
-};
-
-exports.default = AutosizeInput;
-
-/***/ }),
-/* 137 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/**
- * 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.
- */
-
-
-
-var assign = __webpack_require__(138);
-
-var ReactPropTypesSecret = __webpack_require__(69);
-var checkPropTypes = __webpack_require__(139);
-
-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(),
- 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 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)) {
- process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOf, expected an instance of array.') : void 0;
- return emptyFunctionThatReturnsNull;
- }
-
- function validate(props, propName, componentName, location, propFullName) {
- var propValue = props[propName];
- for (var i = 0; i < expectedValues.length; i++) {
- if (is(propValue, expectedValues[i])) {
- return null;
- }
- }
-
- var valuesString = JSON.stringify(expectedValues);
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
- }
- 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 (propValue.hasOwnProperty(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;
- }
-
- // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
- if (propValue['@@toStringTag'] === 'Symbol') {
- return true;
- }
-
- // Fallback for non-spec compliant Symbols which are polyfilled.
- if (typeof Symbol === 'function' && propValue instanceof Symbol) {
- return true;
- }
-
- return false;
- }
-
- // Equivalent of `typeof` but with special handling for array and regexp.
- function getPropType(propValue) {
- var propType = typeof propValue;
- if (Array.isArray(propValue)) {
- return 'array';
- }
- if (propValue instanceof RegExp) {
- // Old webkits (at least until Android 4.0) return 'function' rather than
- // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
- // passes PropTypes.object.
- return 'object';
- }
- if (isSymbol(propType, propValue)) {
- return 'symbol';
- }
- return propType;
- }
-
- // This handles more types than `getPropType`. Only used for error messages.
- // See `createPrimitiveTypeChecker`.
- function getPreciseType(propValue) {
- if (typeof propValue === 'undefined' || propValue === null) {
- return '' + propValue;
- }
- var propType = getPropType(propValue);
- if (propType === 'object') {
- if (propValue instanceof Date) {
- return 'date';
- } else if (propValue instanceof RegExp) {
- return 'regexp';
- }
- }
- return propType;
- }
-
- // Returns a string that is postfixed to a warning about an invalid type.
- // For example, "undefined" or "of type array"
- function getPostfixForTypeWarning(value) {
- var type = getPreciseType(value);
- switch (type) {
- case 'array':
- case 'object':
- return 'an ' + type;
- case 'boolean':
- case 'date':
- case 'regexp':
- return 'a ' + type;
- default:
- return type;
- }
- }
-
- // Returns class name of the object, if any.
- function getClassName(propValue) {
- if (!propValue.constructor || !propValue.constructor.name) {
- return ANONYMOUS;
- }
- return propValue.constructor.name;
- }
-
- ReactPropTypes.checkPropTypes = checkPropTypes;
- ReactPropTypes.PropTypes = ReactPropTypes;
-
- return ReactPropTypes;
-};
-
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 138 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/*
-object-assign
-(c) Sindre Sorhus
-@license MIT
-*/
-
-
-/* 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;
-};
-
-
-/***/ }),
-/* 139 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/**
- * 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.
- */
-
-
-
-var printWarning = function() {};
-
-if (process.env.NODE_ENV !== 'production') {
- var ReactPropTypesSecret = __webpack_require__(69);
- var loggedTypeFailures = {};
-
- printWarning = function(text) {
- var message = 'Warning: ' + text;
- if (typeof console !== 'undefined') {
- console.error(message);
- }
- try {
- // --- Welcome to debugging React ---
- // This error was thrown as a convenience so that you can use this stack
- // to find the callsite that caused this warning to fire.
- throw new Error(message);
- } catch (x) {}
- };
-}
-
-/**
- * Assert that the values match with the type specs.
- * Error messages are memorized and will only be shown once.
- *
- * @param {object} typeSpecs Map of name to a ReactPropType
- * @param {object} values Runtime values that need to be type-checked
- * @param {string} location e.g. "prop", "context", "child context"
- * @param {string} componentName Name of the component for error messages.
- * @param {?Function} getStack Returns the component stack.
- * @private
- */
-function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
- if (process.env.NODE_ENV !== 'production') {
- for (var typeSpecName in typeSpecs) {
- if (typeSpecs.hasOwnProperty(typeSpecName)) {
- var error;
- // Prop type validation may throw. In case they do, we don't want to
- // fail the render phase where it didn't fail before. So we log it.
- // After these have been cleaned up, we'll let them throw.
- try {
- // This is intentionally an invariant that gets caught. It's the same
- // behavior as without this statement except with a better message.
- if (typeof typeSpecs[typeSpecName] !== 'function') {
- var err = Error(
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
- );
- err.name = 'Invariant Violation';
- throw err;
- }
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
- } catch (ex) {
- error = ex;
- }
- if (error && !(error instanceof Error)) {
- printWarning(
- (componentName || 'React class') + ': type specification of ' +
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
- 'You may have forgotten to pass an argument to the type checker ' +
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
- 'shape all require an argument).'
- )
-
- }
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
- // Only monitor this failure once because there tends to be a lot of the
- // same error.
- loggedTypeFailures[error.message] = true;
-
- var stack = getStack ? getStack() : '';
-
- printWarning(
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
- );
- }
- }
- }
- }
-}
-
-module.exports = checkPropTypes;
-
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 140 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/**
- * Copyright (c) 2013-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-
-
-var ReactPropTypesSecret = __webpack_require__(69);
-
-function emptyFunction() {}
-
-module.exports = function() {
- function shim(props, propName, componentName, location, propFullName, secret) {
- if (secret === ReactPropTypesSecret) {
- // It is still safe when called from React.
- return;
- }
- var err = new Error(
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
- 'Use PropTypes.checkPropTypes() to call them. ' +
- 'Read more at http://fb.me/use-check-prop-types'
- );
- err.name = 'Invariant Violation';
- throw err;
- };
- shim.isRequired = shim;
- function getShim() {
- return shim;
- };
- // Important!
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
- var ReactPropTypes = {
- array: shim,
- bool: shim,
- func: shim,
- number: shim,
- object: shim,
- string: shim,
- symbol: shim,
-
- any: shim,
- arrayOf: getShim,
- element: shim,
- instanceOf: getShim,
- node: shim,
- objectOf: getShim,
- oneOf: getShim,
- oneOfType: getShim,
- shape: getShim,
- exact: getShim
- };
-
- ReactPropTypes.checkPropTypes = emptyFunction;
- ReactPropTypes.PropTypes = ReactPropTypes;
-
- return ReactPropTypes;
-};
-
-
-/***/ }),
-/* 141 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(142);
-module.exports = __webpack_require__(21).Object.values;
-
-
-/***/ }),
-/* 142 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// https://github.com/tc39/proposal-object-values-entries
-var $export = __webpack_require__(28);
-var $values = __webpack_require__(104)(false);
-
-$export($export.S, 'Object', {
- values: function values(it) {
- return $values(it);
- }
-});
-
-
-/***/ }),
-/* 143 */
-/***/ (function(module, exports) {
-
-module.exports = function (it) {
- if (typeof it != 'function') throw TypeError(it + ' is not a function!');
- return it;
-};
-
-
-/***/ }),
-/* 144 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// false -> Array#indexOf
-// true -> Array#includes
-var toIObject = __webpack_require__(33);
-var toLength = __webpack_require__(107);
-var toAbsoluteIndex = __webpack_require__(145);
-module.exports = function (IS_INCLUDES) {
- return function ($this, el, fromIndex) {
- var O = toIObject($this);
- var length = toLength(O.length);
- var index = toAbsoluteIndex(fromIndex, length);
- var value;
- // Array#includes uses SameValueZero equality algorithm
- // eslint-disable-next-line no-self-compare
- if (IS_INCLUDES && el != el) while (length > index) {
- value = O[index++];
- // eslint-disable-next-line no-self-compare
- if (value != value) return true;
- // Array#indexOf ignores holes, Array#includes - not
- } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
- if (O[index] === el) return IS_INCLUDES || index || 0;
- } return !IS_INCLUDES && -1;
- };
-};
-
-
-/***/ }),
-/* 145 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var toInteger = __webpack_require__(75);
-var max = Math.max;
-var min = Math.min;
-module.exports = function (index, length) {
- index = toInteger(index);
- return index < 0 ? max(index + length, 0) : min(index, length);
-};
-
-
-/***/ }),
-/* 146 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(147);
-module.exports = __webpack_require__(21).Object.assign;
-
-
-/***/ }),
-/* 147 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// 19.1.3.1 Object.assign(target, source)
-var $export = __webpack_require__(28);
-
-$export($export.S + $export.F, 'Object', { assign: __webpack_require__(148) });
-
-
-/***/ }),
-/* 148 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-// 19.1.2.1 Object.assign(target, source, ...)
-var getKeys = __webpack_require__(44);
-var gOPS = __webpack_require__(80);
-var pIE = __webpack_require__(45);
-var toObject = __webpack_require__(81);
-var IObject = __webpack_require__(106);
-var $assign = Object.assign;
-
-// should work with symbols and should have deterministic property order (V8 bug)
-module.exports = !$assign || __webpack_require__(42)(function () {
- var A = {};
- var B = {};
- // eslint-disable-next-line no-undef
- var S = Symbol();
- var K = 'abcdefghijklmnopqrst';
- A[S] = 7;
- K.split('').forEach(function (k) { B[k] = k; });
- return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
-}) ? function assign(target, source) { // eslint-disable-line no-unused-vars
- var T = toObject(target);
- var aLen = arguments.length;
- var index = 1;
- var getSymbols = gOPS.f;
- var isEnum = pIE.f;
- while (aLen > index) {
- var S = IObject(arguments[index++]);
- var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);
- var length = keys.length;
- var j = 0;
- var key;
- while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];
- } return T;
-} : $assign;
-
-
-/***/ }),
-/* 149 */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = { "default": __webpack_require__(150), __esModule: true };
-
-/***/ }),
-/* 150 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(108);
-__webpack_require__(156);
-module.exports = __webpack_require__(85).f('iterator');
-
-
-/***/ }),
-/* 151 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var toInteger = __webpack_require__(75);
-var defined = __webpack_require__(74);
-// true -> String#at
-// false -> String#codePointAt
-module.exports = function (TO_STRING) {
- return function (that, pos) {
- var s = String(defined(that));
- var i = toInteger(pos);
- var l = s.length;
- var a, b;
- if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
- a = s.charCodeAt(i);
- return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
- ? TO_STRING ? s.charAt(i) : a
- : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
- };
-};
-
-
-/***/ }),
-/* 152 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-var create = __webpack_require__(83);
-var descriptor = __webpack_require__(43);
-var setToStringTag = __webpack_require__(84);
-var IteratorPrototype = {};
-
-// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
-__webpack_require__(36)(IteratorPrototype, __webpack_require__(22)('iterator'), function () { return this; });
-
-module.exports = function (Constructor, NAME, next) {
- Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
- setToStringTag(Constructor, NAME + ' Iterator');
-};
-
-
-/***/ }),
-/* 153 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var dP = __webpack_require__(31);
-var anObject = __webpack_require__(37);
-var getKeys = __webpack_require__(44);
-
-module.exports = __webpack_require__(39) ? Object.defineProperties : function defineProperties(O, Properties) {
- anObject(O);
- var keys = getKeys(Properties);
- var length = keys.length;
- var i = 0;
- var P;
- while (length > i) dP.f(O, P = keys[i++], Properties[P]);
- return O;
-};
-
-
-/***/ }),
-/* 154 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var document = __webpack_require__(29).document;
-module.exports = document && document.documentElement;
-
-
-/***/ }),
-/* 155 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
-var has = __webpack_require__(32);
-var toObject = __webpack_require__(81);
-var IE_PROTO = __webpack_require__(76)('IE_PROTO');
-var ObjectProto = Object.prototype;
-
-module.exports = Object.getPrototypeOf || function (O) {
- O = toObject(O);
- if (has(O, IE_PROTO)) return O[IE_PROTO];
- if (typeof O.constructor == 'function' && O instanceof O.constructor) {
- return O.constructor.prototype;
- } return O instanceof Object ? ObjectProto : null;
-};
-
-
-/***/ }),
-/* 156 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(157);
-var global = __webpack_require__(29);
-var hide = __webpack_require__(36);
-var Iterators = __webpack_require__(46);
-var TO_STRING_TAG = __webpack_require__(22)('toStringTag');
-
-var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
- 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
- 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
- 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
- 'TextTrackList,TouchList').split(',');
-
-for (var i = 0; i < DOMIterables.length; i++) {
- var NAME = DOMIterables[i];
- var Collection = global[NAME];
- var proto = Collection && Collection.prototype;
- if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
- Iterators[NAME] = Iterators.Array;
-}
-
-
-/***/ }),
-/* 157 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-var addToUnscopables = __webpack_require__(158);
-var step = __webpack_require__(159);
-var Iterators = __webpack_require__(46);
-var toIObject = __webpack_require__(33);
-
-// 22.1.3.4 Array.prototype.entries()
-// 22.1.3.13 Array.prototype.keys()
-// 22.1.3.29 Array.prototype.values()
-// 22.1.3.30 Array.prototype[@@iterator]()
-module.exports = __webpack_require__(109)(Array, 'Array', function (iterated, kind) {
- this._t = toIObject(iterated); // target
- this._i = 0; // next index
- this._k = kind; // kind
-// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
-}, function () {
- var O = this._t;
- var kind = this._k;
- var index = this._i++;
- if (!O || index >= O.length) {
- this._t = undefined;
- return step(1);
- }
- if (kind == 'keys') return step(0, index);
- if (kind == 'values') return step(0, O[index]);
- return step(0, [index, O[index]]);
-}, 'values');
-
-// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
-Iterators.Arguments = Iterators.Array;
-
-addToUnscopables('keys');
-addToUnscopables('values');
-addToUnscopables('entries');
-
-
-/***/ }),
-/* 158 */
-/***/ (function(module, exports) {
-
-module.exports = function () { /* empty */ };
-
-
-/***/ }),
-/* 159 */
-/***/ (function(module, exports) {
-
-module.exports = function (done, value) {
- return { value: value, done: !!done };
-};
-
-
-/***/ }),
-/* 160 */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = { "default": __webpack_require__(161), __esModule: true };
-
-/***/ }),
-/* 161 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(162);
-__webpack_require__(167);
-__webpack_require__(168);
-__webpack_require__(169);
-module.exports = __webpack_require__(21).Symbol;
-
-
-/***/ }),
-/* 162 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-// ECMAScript 6 symbols shim
-var global = __webpack_require__(29);
-var has = __webpack_require__(32);
-var DESCRIPTORS = __webpack_require__(39);
-var $export = __webpack_require__(28);
-var redefine = __webpack_require__(110);
-var META = __webpack_require__(163).KEY;
-var $fails = __webpack_require__(42);
-var shared = __webpack_require__(77);
-var setToStringTag = __webpack_require__(84);
-var uid = __webpack_require__(56);
-var wks = __webpack_require__(22);
-var wksExt = __webpack_require__(85);
-var wksDefine = __webpack_require__(86);
-var enumKeys = __webpack_require__(164);
-var isArray = __webpack_require__(165);
-var anObject = __webpack_require__(37);
-var isObject = __webpack_require__(38);
-var toIObject = __webpack_require__(33);
-var toPrimitive = __webpack_require__(72);
-var createDesc = __webpack_require__(43);
-var _create = __webpack_require__(83);
-var gOPNExt = __webpack_require__(166);
-var $GOPD = __webpack_require__(112);
-var $DP = __webpack_require__(31);
-var $keys = __webpack_require__(44);
-var gOPD = $GOPD.f;
-var dP = $DP.f;
-var gOPN = gOPNExt.f;
-var $Symbol = global.Symbol;
-var $JSON = global.JSON;
-var _stringify = $JSON && $JSON.stringify;
-var PROTOTYPE = 'prototype';
-var HIDDEN = wks('_hidden');
-var TO_PRIMITIVE = wks('toPrimitive');
-var isEnum = {}.propertyIsEnumerable;
-var SymbolRegistry = shared('symbol-registry');
-var AllSymbols = shared('symbols');
-var OPSymbols = shared('op-symbols');
-var ObjectProto = Object[PROTOTYPE];
-var USE_NATIVE = typeof $Symbol == 'function';
-var QObject = global.QObject;
-// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
-var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
-
-// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
-var setSymbolDesc = DESCRIPTORS && $fails(function () {
- return _create(dP({}, 'a', {
- get: function () { return dP(this, 'a', { value: 7 }).a; }
- })).a != 7;
-}) ? function (it, key, D) {
- var protoDesc = gOPD(ObjectProto, key);
- if (protoDesc) delete ObjectProto[key];
- dP(it, key, D);
- if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
-} : dP;
-
-var wrap = function (tag) {
- var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
- sym._k = tag;
- return sym;
-};
-
-var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
- return typeof it == 'symbol';
-} : function (it) {
- return it instanceof $Symbol;
-};
-
-var $defineProperty = function defineProperty(it, key, D) {
- if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
- anObject(it);
- key = toPrimitive(key, true);
- anObject(D);
- if (has(AllSymbols, key)) {
- if (!D.enumerable) {
- if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
- it[HIDDEN][key] = true;
- } else {
- if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
- D = _create(D, { enumerable: createDesc(0, false) });
- } return setSymbolDesc(it, key, D);
- } return dP(it, key, D);
-};
-var $defineProperties = function defineProperties(it, P) {
- anObject(it);
- var keys = enumKeys(P = toIObject(P));
- var i = 0;
- var l = keys.length;
- var key;
- while (l > i) $defineProperty(it, key = keys[i++], P[key]);
- return it;
-};
-var $create = function create(it, P) {
- return P === undefined ? _create(it) : $defineProperties(_create(it), P);
-};
-var $propertyIsEnumerable = function propertyIsEnumerable(key) {
- var E = isEnum.call(this, key = toPrimitive(key, true));
- if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
- return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
-};
-var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
- it = toIObject(it);
- key = toPrimitive(key, true);
- if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
- var D = gOPD(it, key);
- if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
- return D;
-};
-var $getOwnPropertyNames = function getOwnPropertyNames(it) {
- var names = gOPN(toIObject(it));
- var result = [];
- var i = 0;
- var key;
- while (names.length > i) {
- if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
- } return result;
-};
-var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
- var IS_OP = it === ObjectProto;
- var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
- var result = [];
- var i = 0;
- var key;
- while (names.length > i) {
- if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
- } return result;
-};
-
-// 19.4.1.1 Symbol([description])
-if (!USE_NATIVE) {
- $Symbol = function Symbol() {
- if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
- var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
- var $set = function (value) {
- if (this === ObjectProto) $set.call(OPSymbols, value);
- if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
- setSymbolDesc(this, tag, createDesc(1, value));
- };
- if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
- return wrap(tag);
- };
- redefine($Symbol[PROTOTYPE], 'toString', function toString() {
- return this._k;
- });
-
- $GOPD.f = $getOwnPropertyDescriptor;
- $DP.f = $defineProperty;
- __webpack_require__(111).f = gOPNExt.f = $getOwnPropertyNames;
- __webpack_require__(45).f = $propertyIsEnumerable;
- __webpack_require__(80).f = $getOwnPropertySymbols;
-
- if (DESCRIPTORS && !__webpack_require__(55)) {
- redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
- }
-
- wksExt.f = function (name) {
- return wrap(wks(name));
- };
-}
-
-$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
-
-for (var es6Symbols = (
- // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
- 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
-).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
-
-for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
-
-$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
- // 19.4.2.1 Symbol.for(key)
- 'for': function (key) {
- return has(SymbolRegistry, key += '')
- ? SymbolRegistry[key]
- : SymbolRegistry[key] = $Symbol(key);
- },
- // 19.4.2.5 Symbol.keyFor(sym)
- keyFor: function keyFor(sym) {
- if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
- for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
- },
- useSetter: function () { setter = true; },
- useSimple: function () { setter = false; }
-});
-
-$export($export.S + $export.F * !USE_NATIVE, 'Object', {
- // 19.1.2.2 Object.create(O [, Properties])
- create: $create,
- // 19.1.2.4 Object.defineProperty(O, P, Attributes)
- defineProperty: $defineProperty,
- // 19.1.2.3 Object.defineProperties(O, Properties)
- defineProperties: $defineProperties,
- // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
- getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
- // 19.1.2.7 Object.getOwnPropertyNames(O)
- getOwnPropertyNames: $getOwnPropertyNames,
- // 19.1.2.8 Object.getOwnPropertySymbols(O)
- getOwnPropertySymbols: $getOwnPropertySymbols
-});
-
-// 24.3.2 JSON.stringify(value [, replacer [, space]])
-$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
- var S = $Symbol();
- // MS Edge converts symbol values to JSON as {}
- // WebKit converts symbol values to JSON as null
- // V8 throws on boxed symbols
- return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
-})), 'JSON', {
- stringify: function stringify(it) {
- var args = [it];
- var i = 1;
- var replacer, $replacer;
- while (arguments.length > i) args.push(arguments[i++]);
- $replacer = replacer = args[1];
- if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
- if (!isArray(replacer)) replacer = function (key, value) {
- if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
- if (!isSymbol(value)) return value;
- };
- args[1] = replacer;
- return _stringify.apply($JSON, args);
- }
-});
-
-// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
-$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(36)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
-// 19.4.3.5 Symbol.prototype[@@toStringTag]
-setToStringTag($Symbol, 'Symbol');
-// 20.2.1.9 Math[@@toStringTag]
-setToStringTag(Math, 'Math', true);
-// 24.3.3 JSON[@@toStringTag]
-setToStringTag(global.JSON, 'JSON', true);
-
-
-/***/ }),
-/* 163 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var META = __webpack_require__(56)('meta');
-var isObject = __webpack_require__(38);
-var has = __webpack_require__(32);
-var setDesc = __webpack_require__(31).f;
-var id = 0;
-var isExtensible = Object.isExtensible || function () {
- return true;
-};
-var FREEZE = !__webpack_require__(42)(function () {
- return isExtensible(Object.preventExtensions({}));
-});
-var setMeta = function (it) {
- setDesc(it, META, { value: {
- i: 'O' + ++id, // object ID
- w: {} // weak collections IDs
- } });
-};
-var fastKey = function (it, create) {
- // return primitive with prefix
- if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
- if (!has(it, META)) {
- // can't set metadata to uncaught frozen object
- if (!isExtensible(it)) return 'F';
- // not necessary to add metadata
- if (!create) return 'E';
- // add missing metadata
- setMeta(it);
- // return object ID
- } return it[META].i;
-};
-var getWeak = function (it, create) {
- if (!has(it, META)) {
- // can't set metadata to uncaught frozen object
- if (!isExtensible(it)) return true;
- // not necessary to add metadata
- if (!create) return false;
- // add missing metadata
- setMeta(it);
- // return hash weak collections IDs
- } return it[META].w;
-};
-// add metadata on freeze-family methods calling
-var onFreeze = function (it) {
- if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
- return it;
-};
-var meta = module.exports = {
- KEY: META,
- NEED: false,
- fastKey: fastKey,
- getWeak: getWeak,
- onFreeze: onFreeze
-};
-
-
-/***/ }),
-/* 164 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// all enumerable object keys, includes symbols
-var getKeys = __webpack_require__(44);
-var gOPS = __webpack_require__(80);
-var pIE = __webpack_require__(45);
-module.exports = function (it) {
- var result = getKeys(it);
- var getSymbols = gOPS.f;
- if (getSymbols) {
- var symbols = getSymbols(it);
- var isEnum = pIE.f;
- var i = 0;
- var key;
- while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
- } return result;
-};
-
-
-/***/ }),
-/* 165 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// 7.2.2 IsArray(argument)
-var cof = __webpack_require__(73);
-module.exports = Array.isArray || function isArray(arg) {
- return cof(arg) == 'Array';
-};
-
-
-/***/ }),
-/* 166 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
-var toIObject = __webpack_require__(33);
-var gOPN = __webpack_require__(111).f;
-var toString = {}.toString;
-
-var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
- ? Object.getOwnPropertyNames(window) : [];
-
-var getWindowNames = function (it) {
- try {
- return gOPN(it);
- } catch (e) {
- return windowNames.slice();
- }
-};
-
-module.exports.f = function getOwnPropertyNames(it) {
- return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
-};
-
-
-/***/ }),
-/* 167 */
-/***/ (function(module, exports) {
-
-
-
-/***/ }),
-/* 168 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(86)('asyncIterator');
-
-
-/***/ }),
-/* 169 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(86)('observable');
-
-
-/***/ }),
-/* 170 */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = { "default": __webpack_require__(171), __esModule: true };
-
-/***/ }),
-/* 171 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(172);
-module.exports = __webpack_require__(21).Object.setPrototypeOf;
-
-
-/***/ }),
-/* 172 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// 19.1.3.19 Object.setPrototypeOf(O, proto)
-var $export = __webpack_require__(28);
-$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(173).set });
-
-
-/***/ }),
-/* 173 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// Works with __proto__ only. Old v8 can't work with null proto objects.
-/* eslint-disable no-proto */
-var isObject = __webpack_require__(38);
-var anObject = __webpack_require__(37);
-var check = function (O, proto) {
- anObject(O);
- if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
-};
-module.exports = {
- set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
- function (test, buggy, set) {
- try {
- set = __webpack_require__(71)(Function.call, __webpack_require__(112).f(Object.prototype, '__proto__').set, 2);
- set(test, []);
- buggy = !(test instanceof Array);
- } catch (e) { buggy = true; }
- return function setPrototypeOf(O, proto) {
- check(O, proto);
- if (buggy) O.__proto__ = proto;
- else set(O, proto);
- return O;
- };
- }({}, false) : undefined),
- check: check
-};
-
-
-/***/ }),
-/* 174 */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = { "default": __webpack_require__(175), __esModule: true };
-
-/***/ }),
-/* 175 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(176);
-var $Object = __webpack_require__(21).Object;
-module.exports = function create(P, D) {
- return $Object.create(P, D);
-};
-
-
-/***/ }),
-/* 176 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var $export = __webpack_require__(28);
-// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
-$export($export.S, 'Object', { create: __webpack_require__(83) });
-
-
-/***/ }),
-/* 177 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {
-
-if (process.env.NODE_ENV === 'production') {
- module.exports = __webpack_require__(178);
-} else {
- module.exports = __webpack_require__(179);
-}
-
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 178 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/** @license React v16.6.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.
- */
-
-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,r=b?Symbol.for("react.memo"):
-60115,t=b?Symbol.for("react.lazy"):60116;function u(a){if("object"===typeof a&&null!==a){var q=a.$$typeof;switch(q){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case h:return a;default:return q}}case d:return q}}}function v(a){return u(a)===m}exports.typeOf=u;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;
-exports.Profiler=g;exports.Portal=d;exports.StrictMode=f;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===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n)};exports.isAsyncMode=function(a){return v(a)||u(a)===l};exports.isConcurrentMode=v;exports.isContextConsumer=function(a){return u(a)===k};exports.isContextProvider=function(a){return u(a)===h};
-exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return u(a)===n};exports.isFragment=function(a){return u(a)===e};exports.isProfiler=function(a){return u(a)===g};exports.isPortal=function(a){return u(a)===d};exports.isStrictMode=function(a){return u(a)===f};
-
-
-/***/ }),
-/* 179 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.6.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.
- */
-
-
-
-
-
-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:
- 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_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 Profiler = REACT_PROFILER_TYPE;
-var Portal = REACT_PORTAL_TYPE;
-var StrictMode = REACT_STRICT_MODE_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 isProfiler(object) {
- return typeOf(object) === REACT_PROFILER_TYPE;
-}
-function isPortal(object) {
- return typeOf(object) === REACT_PORTAL_TYPE;
-}
-function isStrictMode(object) {
- return typeOf(object) === REACT_STRICT_MODE_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.Profiler = Profiler;
-exports.Portal = Portal;
-exports.StrictMode = StrictMode;
-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.isProfiler = isProfiler;
-exports.isPortal = isPortal;
-exports.isStrictMode = isStrictMode;
- })();
-}
-
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 180 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(181);
-module.exports = __webpack_require__(21).Object.entries;
-
-
-/***/ }),
-/* 181 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// https://github.com/tc39/proposal-object-values-entries
-var $export = __webpack_require__(28);
-var $entries = __webpack_require__(104)(true);
-
-$export($export.S, 'Object', {
- entries: function entries(it) {
- return $entries(it);
- }
-});
-
-
-/***/ }),
-/* 182 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 183 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 184 */
-/***/ (function(module, exports) {
-
-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;
-
-/***/ }),
-/* 185 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _implementation = __webpack_require__(186);
-
-var _implementation2 = _interopRequireDefault(_implementation);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-exports.default = _react2.default.createContext || _implementation2.default;
-module.exports = exports['default'];
-
-/***/ }),
-/* 186 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {
-
-exports.__esModule = true;
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _gud = __webpack_require__(187);
-
-var _gud2 = _interopRequireDefault(_gud);
-
-var _warning = __webpack_require__(188);
-
-var _warning2 = _interopRequireDefault(_warning);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-var MAX_SIGNED_31_BIT_INT = 1073741823;
-
-// Inlined Object.is polyfill.
-// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
-function objectIs(x, y) {
- if (x === y) {
- return x !== 0 || 1 / x === 1 / y;
- } else {
- return x !== x && y !== y;
- }
-}
-
-function createEventEmitter(value) {
- var handlers = [];
- return {
- on: function on(handler) {
- handlers.push(handler);
- },
- off: function off(handler) {
- handlers = handlers.filter(function (h) {
- return h !== handler;
- });
- },
- get: function get() {
- return value;
- },
- set: function set(newValue, changedBits) {
- value = newValue;
- handlers.forEach(function (handler) {
- return handler(value, changedBits);
- });
- }
- };
-}
-
-function onlyChild(children) {
- return Array.isArray(children) ? children[0] : children;
-}
-
-function createReactContext(defaultValue, calculateChangedBits) {
- var _Provider$childContex, _Consumer$contextType;
-
- var contextProp = '__create-react-context-' + (0, _gud2.default)() + '__';
-
- var Provider = function (_Component) {
- _inherits(Provider, _Component);
-
- function Provider() {
- var _temp, _this, _ret;
-
- _classCallCheck(this, Provider);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.emitter = createEventEmitter(_this.props.value), _temp), _possibleConstructorReturn(_this, _ret);
- }
-
- Provider.prototype.getChildContext = function getChildContext() {
- var _ref;
-
- return _ref = {}, _ref[contextProp] = this.emitter, _ref;
- };
-
- Provider.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- if (this.props.value !== nextProps.value) {
- var oldValue = this.props.value;
- var newValue = nextProps.value;
- var changedBits = void 0;
-
- if (objectIs(oldValue, newValue)) {
- changedBits = 0; // No change
- } else {
- changedBits = typeof calculateChangedBits === 'function' ? calculateChangedBits(oldValue, newValue) : MAX_SIGNED_31_BIT_INT;
- if (process.env.NODE_ENV !== 'production') {
- (0, _warning2.default)((changedBits & MAX_SIGNED_31_BIT_INT) === changedBits, 'calculateChangedBits: Expected the return value to be a ' + '31-bit integer. Instead received: %s', changedBits);
- }
-
- changedBits |= 0;
-
- if (changedBits !== 0) {
- this.emitter.set(nextProps.value, changedBits);
- }
- }
- }
- };
-
- Provider.prototype.render = function render() {
- return this.props.children;
- };
-
- return Provider;
- }(_react.Component);
-
- Provider.childContextTypes = (_Provider$childContex = {}, _Provider$childContex[contextProp] = _propTypes2.default.object.isRequired, _Provider$childContex);
-
- var Consumer = function (_Component2) {
- _inherits(Consumer, _Component2);
-
- function Consumer() {
- var _temp2, _this2, _ret2;
-
- _classCallCheck(this, Consumer);
-
- for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
- args[_key2] = arguments[_key2];
- }
-
- return _ret2 = (_temp2 = (_this2 = _possibleConstructorReturn(this, _Component2.call.apply(_Component2, [this].concat(args))), _this2), _this2.state = {
- value: _this2.getValue()
- }, _this2.onUpdate = function (newValue, changedBits) {
- var observedBits = _this2.observedBits | 0;
- if ((observedBits & changedBits) !== 0) {
- _this2.setState({ value: _this2.getValue() });
- }
- }, _temp2), _possibleConstructorReturn(_this2, _ret2);
- }
-
- Consumer.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- var observedBits = nextProps.observedBits;
-
- this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default
- : observedBits;
- };
-
- Consumer.prototype.componentDidMount = function componentDidMount() {
- if (this.context[contextProp]) {
- this.context[contextProp].on(this.onUpdate);
- }
- var observedBits = this.props.observedBits;
-
- this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default
- : observedBits;
- };
-
- Consumer.prototype.componentWillUnmount = function componentWillUnmount() {
- if (this.context[contextProp]) {
- this.context[contextProp].off(this.onUpdate);
- }
- };
-
- Consumer.prototype.getValue = function getValue() {
- if (this.context[contextProp]) {
- return this.context[contextProp].get();
- } else {
- return defaultValue;
- }
- };
-
- Consumer.prototype.render = function render() {
- return onlyChild(this.props.children)(this.state.value);
- };
-
- return Consumer;
- }(_react.Component);
-
- Consumer.contextTypes = (_Consumer$contextType = {}, _Consumer$contextType[contextProp] = _propTypes2.default.object, _Consumer$contextType);
-
-
- return {
- Provider: Provider,
- Consumer: Consumer
- };
-}
-
-exports.default = createReactContext;
-module.exports = exports['default'];
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 187 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(global) {// @flow
-
-
-var key = '__global_unique_id__';
-
-module.exports = function() {
- return global[key] = (global[key] || 0) + 1;
-};
-
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(70)))
-
-/***/ }),
-/* 188 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/**
- * Copyright (c) 2014-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.
- *
- */
-
-
-
-var emptyFunction = __webpack_require__(189);
-
-/**
- * Similar to invariant but only logs a warning if the condition is not met.
- * This can be used to log issues in development environments in critical
- * paths. Removing the logging code for production environments will keep the
- * same logic and follow the same code paths.
- */
-
-var warning = emptyFunction;
-
-if (process.env.NODE_ENV !== 'production') {
- var printWarning = function printWarning(format) {
- for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
- args[_key - 1] = arguments[_key];
- }
-
- var argIndex = 0;
- var message = 'Warning: ' + format.replace(/%s/g, function () {
- return args[argIndex++];
- });
- if (typeof console !== 'undefined') {
- console.error(message);
- }
- try {
- // --- Welcome to debugging React ---
- // This error was thrown as a convenience so that you can use this stack
- // to find the callsite that caused this warning to fire.
- throw new Error(message);
- } catch (x) {}
- };
-
- warning = function warning(condition, format) {
- if (format === undefined) {
- throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
- }
-
- if (format.indexOf('Failed Composite propType: ') === 0) {
- return; // Ignore CompositeComponent proptype check.
- }
-
- if (!condition) {
- for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
- args[_key2 - 2] = arguments[_key2];
- }
-
- printWarning.apply(undefined, [format].concat(args));
- }
- };
-}
-
-module.exports = warning;
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 189 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-/**
- * Copyright (c) 2013-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- *
- *
- */
-
-function makeEmptyFunction(arg) {
- return function () {
- return arg;
- };
-}
-
-/**
- * This function accepts and discards inputs; it has no side effects. This is
- * primarily useful idiomatically for overridable function endpoints which
- * always need to be callable, since JS lacks a null-call idiom ala Cocoa.
- */
-var emptyFunction = function emptyFunction() {};
-
-emptyFunction.thatReturns = makeEmptyFunction;
-emptyFunction.thatReturnsFalse = makeEmptyFunction(false);
-emptyFunction.thatReturnsTrue = makeEmptyFunction(true);
-emptyFunction.thatReturnsNull = makeEmptyFunction(null);
-emptyFunction.thatReturnsThis = function () {
- return this;
-};
-emptyFunction.thatReturnsArgument = function (arg) {
- return arg;
-};
-
-module.exports = emptyFunction;
-
-/***/ }),
-/* 190 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/**
- * Copyright (c) 2014-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.
- */
-
-
-
-/**
- * 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 __DEV__ = process.env.NODE_ENV !== 'production';
-
-var warning = function() {};
-
-if (__DEV__) {
- var printWarning = function printWarning(format, args) {
- var len = arguments.length;
- args = new Array(len > 1 ? len - 1 : 0);
- for (var key = 1; key < len; key++) {
- args[key - 1] = arguments[key];
- }
- var argIndex = 0;
- var message = 'Warning: ' +
- format.replace(/%s/g, function() {
- return args[argIndex++];
- });
- if (typeof console !== 'undefined') {
- console.error(message);
- }
- try {
- // --- Welcome to debugging React ---
- // This error was thrown as a convenience so that you can use this stack
- // to find the callsite that caused this warning to fire.
- throw new Error(message);
- } catch (x) {}
- }
-
- warning = function(condition, format, args) {
- var len = arguments.length;
- args = new Array(len > 2 ? len - 2 : 0);
- for (var key = 2; key < len; key++) {
- args[key - 2] = arguments[key];
- }
- if (format === undefined) {
- throw new Error(
- '`warning(condition, format, ...args)` requires a warning ' +
- 'message argument'
- );
- }
- if (!condition) {
- printWarning.apply(null, [format].concat(args));
- }
- };
-}
-
-module.exports = warning;
-
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 191 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 192 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _activeElement = __webpack_require__(90);
-
-var _activeElement2 = _interopRequireDefault(_activeElement);
-
-var _contains = __webpack_require__(30);
-
-var _contains2 = _interopRequireDefault(_contains);
-
-var _keycode = __webpack_require__(51);
-
-var _keycode2 = _interopRequireDefault(_keycode);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-var _all = __webpack_require__(35);
-
-var _all2 = _interopRequireDefault(_all);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _isRequiredForA11y = __webpack_require__(52);
-
-var _isRequiredForA11y2 = _interopRequireDefault(_isRequiredForA11y);
-
-var _uncontrollable = __webpack_require__(40);
-
-var _uncontrollable2 = _interopRequireDefault(_uncontrollable);
-
-var _warning = __webpack_require__(19);
-
-var _warning2 = _interopRequireDefault(_warning);
-
-var _ButtonGroup = __webpack_require__(195);
-
-var _ButtonGroup2 = _interopRequireDefault(_ButtonGroup);
-
-var _DropdownMenu = __webpack_require__(196);
-
-var _DropdownMenu2 = _interopRequireDefault(_DropdownMenu);
-
-var _DropdownToggle = __webpack_require__(205);
-
-var _DropdownToggle2 = _interopRequireDefault(_DropdownToggle);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-var _createChainedFunction = __webpack_require__(24);
-
-var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
-var _PropTypes = __webpack_require__(206);
-
-var _ValidComponentChildren = __webpack_require__(60);
-
-var _ValidComponentChildren2 = _interopRequireDefault(_ValidComponentChildren);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var TOGGLE_ROLE = _DropdownToggle2.default.defaultProps.bsRole;
-var MENU_ROLE = _DropdownMenu2.default.defaultProps.bsRole;
-
-var propTypes = {
- /**
- * The menu will open above the dropdown button, instead of below it.
- */
- dropup: _propTypes2.default.bool,
-
- /**
- * An html id attribute, necessary for assistive technologies, such as screen readers.
- * @type {string|number}
- * @required
- */
- id: (0, _isRequiredForA11y2.default)(_propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number])),
-
- componentClass: _elementType2.default,
-
- /**
- * The children of a Dropdown may be a `` or a ``.
- * @type {node}
- */
- children: (0, _all2.default)((0, _PropTypes.requiredRoles)(TOGGLE_ROLE, MENU_ROLE), (0, _PropTypes.exclusiveRoles)(MENU_ROLE)),
-
- /**
- * Whether or not component is disabled.
- */
- disabled: _propTypes2.default.bool,
-
- /**
- * Align the menu to the right side of the Dropdown toggle
- */
- pullRight: _propTypes2.default.bool,
-
- /**
- * Whether or not the Dropdown is visible.
- *
- * @controllable onToggle
- */
- open: _propTypes2.default.bool,
-
- defaultOpen: _propTypes2.default.bool,
-
- /**
- * A callback fired when the Dropdown wishes to change visibility. Called with the requested
- * `open` value, the DOM event, and the source that fired it: `'click'`,`'keydown'`,`'rootClose'`, or `'select'`.
- *
- * ```js
- * function(Boolean isOpen, Object event, { String source }) {}
- * ```
- * @controllable open
- */
- onToggle: _propTypes2.default.func,
-
- /**
- * A callback fired when a menu item is selected.
- *
- * ```js
- * (eventKey: any, event: Object) => any
- * ```
- */
- onSelect: _propTypes2.default.func,
-
- /**
- * If `'menuitem'`, causes the dropdown to behave like a menu item rather than
- * a menu button.
- */
- role: _propTypes2.default.string,
-
- /**
- * Which event when fired outside the component will cause it to be closed
- */
- rootCloseEvent: _propTypes2.default.oneOf(['click', 'mousedown']),
-
- /**
- * @private
- */
- onMouseEnter: _propTypes2.default.func,
- /**
- * @private
- */
- onMouseLeave: _propTypes2.default.func
-};
-
-var defaultProps = {
- componentClass: _ButtonGroup2.default
-};
-
-var Dropdown = function (_React$Component) {
- (0, _inherits3.default)(Dropdown, _React$Component);
-
- function Dropdown(props, context) {
- (0, _classCallCheck3.default)(this, Dropdown);
-
- var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this, props, context));
-
- _this.handleClick = _this.handleClick.bind(_this);
- _this.handleKeyDown = _this.handleKeyDown.bind(_this);
- _this.handleClose = _this.handleClose.bind(_this);
-
- _this._focusInDropdown = false;
- _this.lastOpenEventType = null;
- return _this;
- }
-
- Dropdown.prototype.componentDidMount = function componentDidMount() {
- this.focusNextOnOpen();
- };
-
- Dropdown.prototype.componentWillUpdate = function componentWillUpdate(nextProps) {
- if (!nextProps.open && this.props.open) {
- this._focusInDropdown = (0, _contains2.default)(_reactDom2.default.findDOMNode(this.menu), (0, _activeElement2.default)(document));
- }
- };
-
- Dropdown.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
- var open = this.props.open;
-
- var prevOpen = prevProps.open;
-
- if (open && !prevOpen) {
- this.focusNextOnOpen();
- }
-
- if (!open && prevOpen) {
- // if focus hasn't already moved from the menu let's return it
- // to the toggle
- if (this._focusInDropdown) {
- this._focusInDropdown = false;
- this.focus();
- }
- }
- };
-
- Dropdown.prototype.focus = function focus() {
- var toggle = _reactDom2.default.findDOMNode(this.toggle);
-
- if (toggle && toggle.focus) {
- toggle.focus();
- }
- };
-
- Dropdown.prototype.focusNextOnOpen = function focusNextOnOpen() {
- var menu = this.menu;
-
- if (!menu.focusNext) {
- return;
- }
-
- if (this.lastOpenEventType === 'keydown' || this.props.role === 'menuitem') {
- menu.focusNext();
- }
- };
-
- Dropdown.prototype.handleClick = function handleClick(event) {
- if (this.props.disabled) {
- return;
- }
-
- this.toggleOpen(event, { source: 'click' });
- };
-
- Dropdown.prototype.handleClose = function handleClose(event, eventDetails) {
- if (!this.props.open) {
- return;
- }
-
- this.toggleOpen(event, eventDetails);
- };
-
- Dropdown.prototype.handleKeyDown = function handleKeyDown(event) {
- if (this.props.disabled) {
- return;
- }
-
- switch (event.keyCode) {
- case _keycode2.default.codes.down:
- if (!this.props.open) {
- this.toggleOpen(event, { source: 'keydown' });
- } else if (this.menu.focusNext) {
- this.menu.focusNext();
- }
- event.preventDefault();
- break;
- case _keycode2.default.codes.esc:
- case _keycode2.default.codes.tab:
- this.handleClose(event, { source: 'keydown' });
- break;
- default:
- }
- };
-
- Dropdown.prototype.toggleOpen = function toggleOpen(event, eventDetails) {
- var open = !this.props.open;
-
- if (open) {
- this.lastOpenEventType = eventDetails.source;
- }
-
- if (this.props.onToggle) {
- this.props.onToggle(open, event, eventDetails);
- }
- };
-
- Dropdown.prototype.renderMenu = function renderMenu(child, _ref) {
- var _this2 = this;
-
- var id = _ref.id,
- onSelect = _ref.onSelect,
- rootCloseEvent = _ref.rootCloseEvent,
- props = (0, _objectWithoutProperties3.default)(_ref, ['id', 'onSelect', 'rootCloseEvent']);
-
- var ref = function ref(c) {
- _this2.menu = c;
- };
-
- if (typeof child.ref === 'string') {
- process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(false, 'String refs are not supported on `` components. ' + 'To apply a ref to the component use the callback signature:\n\n ' + 'https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute') : void 0;
- } else {
- ref = (0, _createChainedFunction2.default)(child.ref, ref);
- }
-
- return (0, _react.cloneElement)(child, (0, _extends3.default)({}, props, {
- ref: ref,
- labelledBy: id,
- bsClass: (0, _bootstrapUtils.prefix)(props, 'menu'),
- onClose: (0, _createChainedFunction2.default)(child.props.onClose, this.handleClose),
- onSelect: (0, _createChainedFunction2.default)(child.props.onSelect, onSelect, function (key, event) {
- return _this2.handleClose(event, { source: 'select' });
- }),
- rootCloseEvent: rootCloseEvent
- }));
- };
-
- Dropdown.prototype.renderToggle = function renderToggle(child, props) {
- var _this3 = this;
-
- var ref = function ref(c) {
- _this3.toggle = c;
- };
-
- if (typeof child.ref === 'string') {
- process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(false, 'String refs are not supported on `` components. ' + 'To apply a ref to the component use the callback signature:\n\n ' + 'https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute') : void 0;
- } else {
- ref = (0, _createChainedFunction2.default)(child.ref, ref);
- }
-
- return (0, _react.cloneElement)(child, (0, _extends3.default)({}, props, {
- ref: ref,
- bsClass: (0, _bootstrapUtils.prefix)(props, 'toggle'),
- onClick: (0, _createChainedFunction2.default)(child.props.onClick, this.handleClick),
- onKeyDown: (0, _createChainedFunction2.default)(child.props.onKeyDown, this.handleKeyDown)
- }));
- };
-
- Dropdown.prototype.render = function render() {
- var _classes,
- _this4 = this;
-
- var _props = this.props,
- Component = _props.componentClass,
- id = _props.id,
- dropup = _props.dropup,
- disabled = _props.disabled,
- pullRight = _props.pullRight,
- open = _props.open,
- onSelect = _props.onSelect,
- role = _props.role,
- bsClass = _props.bsClass,
- className = _props.className,
- rootCloseEvent = _props.rootCloseEvent,
- children = _props.children,
- props = (0, _objectWithoutProperties3.default)(_props, ['componentClass', 'id', 'dropup', 'disabled', 'pullRight', 'open', 'onSelect', 'role', 'bsClass', 'className', 'rootCloseEvent', 'children']);
-
-
- delete props.onToggle;
-
- var classes = (_classes = {}, _classes[bsClass] = true, _classes.open = open, _classes.disabled = disabled, _classes);
-
- if (dropup) {
- classes[bsClass] = false;
- classes.dropup = true;
- }
-
- // This intentionally forwards bsSize and bsStyle (if set) to the
- // underlying component, to allow it to render size and style variants.
-
- return _react2.default.createElement(
- Component,
- (0, _extends3.default)({}, props, {
- className: (0, _classnames2.default)(className, classes)
- }),
- _ValidComponentChildren2.default.map(children, function (child) {
- switch (child.props.bsRole) {
- case TOGGLE_ROLE:
- return _this4.renderToggle(child, {
- id: id, disabled: disabled, open: open, role: role, bsClass: bsClass
- });
- case MENU_ROLE:
- return _this4.renderMenu(child, {
- id: id, open: open, pullRight: pullRight, bsClass: bsClass, onSelect: onSelect, rootCloseEvent: rootCloseEvent
- });
- default:
- return child;
- }
- })
- );
- };
-
- return Dropdown;
-}(_react2.default.Component);
-
-Dropdown.propTypes = propTypes;
-Dropdown.defaultProps = defaultProps;
-
-(0, _bootstrapUtils.bsClass)('dropdown', Dropdown);
-
-var UncontrolledDropdown = (0, _uncontrollable2.default)(Dropdown, { open: 'onToggle' });
-
-UncontrolledDropdown.Toggle = _DropdownToggle2.default;
-UncontrolledDropdown.Menu = _DropdownMenu2.default;
-
-exports.default = UncontrolledDropdown;
-module.exports = exports['default'];
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 193 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
-exports.default = createUncontrollable;
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _invariant = __webpack_require__(48);
-
-var _invariant2 = _interopRequireDefault(_invariant);
-
-var _utils = __webpack_require__(194);
-
-var utils = _interopRequireWildcard(_utils);
-
-function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-function createUncontrollable(mixin, set) {
-
- return uncontrollable;
-
- function uncontrollable(Component, controlledValues) {
- var _class, _temp;
-
- var methods = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
-
- var displayName = Component.displayName || Component.name || 'Component',
- basePropTypes = utils.getType(Component).propTypes,
- isCompositeComponent = utils.isReactComponent(Component),
- controlledProps = Object.keys(controlledValues),
- propTypes;
-
- var OMIT_PROPS = ['valueLink', 'checkedLink'].concat(controlledProps.map(utils.defaultKey));
-
- propTypes = utils.uncontrolledPropTypes(controlledValues, basePropTypes, displayName);
-
- (0, _invariant2.default)(isCompositeComponent || !methods.length, '[uncontrollable] stateless function components cannot pass through methods ' + 'because they have no associated instances. Check component: ' + displayName + ', ' + 'attempting to pass through methods: ' + methods.join(', '));
-
- methods = utils.transform(methods, function (obj, method) {
- obj[method] = function () {
- var _refs$inner;
-
- return (_refs$inner = this.refs.inner)[method].apply(_refs$inner, arguments);
- };
- }, {});
-
- var component = (_temp = _class = function (_React$Component) {
- _inherits(component, _React$Component);
-
- function component() {
- _classCallCheck(this, component);
-
- return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
- }
-
- component.prototype.shouldComponentUpdate = function shouldComponentUpdate() {
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return !mixin.shouldComponentUpdate || mixin.shouldComponentUpdate.apply(this, args);
- };
-
- component.prototype.componentWillMount = function componentWillMount() {
- var _this2 = this;
-
- var props = this.props;
-
- this._values = {};
-
- controlledProps.forEach(function (key) {
- _this2._values[key] = props[utils.defaultKey(key)];
- });
- };
-
- /**
- * If a prop switches from controlled to Uncontrolled
- * reset its value to the defaultValue
- */
-
-
- component.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- var _this3 = this;
-
- var props = this.props;
-
- if (mixin.componentWillReceiveProps) {
- mixin.componentWillReceiveProps.call(this, nextProps);
- }
-
- controlledProps.forEach(function (key) {
- if (utils.getValue(nextProps, key) === undefined && utils.getValue(props, key) !== undefined) {
- _this3._values[key] = nextProps[utils.defaultKey(key)];
- }
- });
- };
-
- component.prototype.componentWillUnmount = function componentWillUnmount() {
- this.unmounted = true;
- };
-
- component.prototype.getControlledInstance = function getControlledInstance() {
- return this.refs.inner;
- };
-
- component.prototype.render = function render() {
- var _this4 = this;
-
- var newProps = {},
- props = omitProps(this.props);
-
- utils.each(controlledValues, function (handle, propName) {
- var linkPropName = utils.getLinkName(propName),
- prop = _this4.props[propName];
-
- if (linkPropName && !isProp(_this4.props, propName) && isProp(_this4.props, linkPropName)) {
- prop = _this4.props[linkPropName].value;
- }
-
- newProps[propName] = prop !== undefined ? prop : _this4._values[propName];
-
- newProps[handle] = setAndNotify.bind(_this4, propName);
- });
-
- newProps = _extends({}, props, newProps, {
- ref: isCompositeComponent ? 'inner' : null
- });
-
- return _react2.default.createElement(Component, newProps);
- };
-
- return component;
- }(_react2.default.Component), _class.displayName = 'Uncontrolled(' + displayName + ')', _class.propTypes = propTypes, _temp);
-
- _extends(component.prototype, methods);
-
- component.ControlledComponent = Component;
-
- /**
- * useful when wrapping a Component and you want to control
- * everything
- */
- component.deferControlTo = function (newComponent) {
- var additions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var nextMethods = arguments[2];
-
- return uncontrollable(newComponent, _extends({}, controlledValues, additions), nextMethods);
- };
-
- return component;
-
- function setAndNotify(propName, value) {
- var linkName = utils.getLinkName(propName),
- handler = this.props[controlledValues[propName]];
-
- if (linkName && isProp(this.props, linkName) && !handler) {
- handler = this.props[linkName].requestChange;
- }
-
- for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
- args[_key2 - 2] = arguments[_key2];
- }
-
- set(this, propName, handler, value, args);
- }
-
- function isProp(props, prop) {
- return props[prop] !== undefined;
- }
-
- function omitProps(props) {
- var result = {};
-
- utils.each(props, function (value, key) {
- if (OMIT_PROPS.indexOf(key) === -1) result[key] = value;
- });
-
- return result;
- }
- }
-}
-module.exports = exports['default'];
-
-/***/ }),
-/* 194 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {
-
-exports.__esModule = true;
-exports.version = undefined;
-exports.uncontrolledPropTypes = uncontrolledPropTypes;
-exports.getType = getType;
-exports.getValue = getValue;
-exports.getLinkName = getLinkName;
-exports.defaultKey = defaultKey;
-exports.chain = chain;
-exports.transform = transform;
-exports.each = each;
-exports.has = has;
-exports.isReactComponent = isReactComponent;
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _invariant = __webpack_require__(48);
-
-var _invariant2 = _interopRequireDefault(_invariant);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function readOnlyPropType(handler, name) {
- return function (props, propName) {
- if (props[propName] !== undefined) {
- if (!props[handler]) {
- return new Error('You have provided a `' + propName + '` prop to ' + '`' + name + '` without an `' + handler + '` handler. This will render a read-only field. ' + 'If the field should be mutable use `' + defaultKey(propName) + '`. Otherwise, set `' + handler + '`');
- }
- }
- };
-}
-
-function uncontrolledPropTypes(controlledValues, basePropTypes, displayName) {
- var propTypes = {};
-
- if (process.env.NODE_ENV !== 'production' && basePropTypes) {
- transform(controlledValues, function (obj, handler, prop) {
- (0, _invariant2.default)(typeof handler === 'string' && handler.trim().length, 'Uncontrollable - [%s]: the prop `%s` needs a valid handler key name in order to make it uncontrollable', displayName, prop);
-
- obj[prop] = readOnlyPropType(handler, displayName);
- }, propTypes);
- }
-
- return propTypes;
-}
-
-var version = exports.version = _react2.default.version.split('.').map(parseFloat);
-
-function getType(component) {
- if (version[0] >= 15 || version[0] === 0 && version[1] >= 13) return component;
-
- return component.type;
-}
-
-function getValue(props, name) {
- var linkPropName = getLinkName(name);
-
- if (linkPropName && !isProp(props, name) && isProp(props, linkPropName)) return props[linkPropName].value;
-
- return props[name];
-}
-
-function isProp(props, prop) {
- return props[prop] !== undefined;
-}
-
-function getLinkName(name) {
- return name === 'value' ? 'valueLink' : name === 'checked' ? 'checkedLink' : null;
-}
-
-function defaultKey(key) {
- return 'default' + key.charAt(0).toUpperCase() + key.substr(1);
-}
-
-function chain(thisArg, a, b) {
- return function chainedFunction() {
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- a && a.call.apply(a, [thisArg].concat(args));
- b && b.call.apply(b, [thisArg].concat(args));
- };
-}
-
-function transform(obj, cb, seed) {
- each(obj, cb.bind(null, seed = seed || (Array.isArray(obj) ? [] : {})));
- return seed;
-}
-
-function each(obj, cb, thisArg) {
- if (Array.isArray(obj)) return obj.forEach(cb, thisArg);
-
- for (var key in obj) {
- if (has(obj, key)) cb.call(thisArg, obj[key], key, obj);
- }
-}
-
-function has(o, k) {
- return o ? Object.prototype.hasOwnProperty.call(o, k) : false;
-}
-
-/**
- * Copyright (c) 2013-present, Facebook, Inc.
- * All rights reserved.
- *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
- */
-function isReactComponent(component) {
- return !!(component && component.prototype && component.prototype.isReactComponent);
-}
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 195 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends3 = __webpack_require__(6);
-
-var _extends4 = _interopRequireDefault(_extends3);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _all = __webpack_require__(35);
-
-var _all2 = _interopRequireDefault(_all);
-
-var _Button = __webpack_require__(26);
-
-var _Button2 = _interopRequireDefault(_Button);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- vertical: _propTypes2.default.bool,
- justified: _propTypes2.default.bool,
-
- /**
- * Display block buttons; only useful when used with the "vertical" prop.
- * @type {bool}
- */
- block: (0, _all2.default)(_propTypes2.default.bool, function (_ref) {
- var block = _ref.block,
- vertical = _ref.vertical;
- return block && !vertical ? new Error('`block` requires `vertical` to be set to have any effect') : null;
- })
-};
-
-var defaultProps = {
- block: false,
- justified: false,
- vertical: false
-};
-
-var ButtonGroup = function (_React$Component) {
- (0, _inherits3.default)(ButtonGroup, _React$Component);
-
- function ButtonGroup() {
- (0, _classCallCheck3.default)(this, ButtonGroup);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- ButtonGroup.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- block = _props.block,
- justified = _props.justified,
- vertical = _props.vertical,
- className = _props.className,
- props = (0, _objectWithoutProperties3.default)(_props, ['block', 'justified', 'vertical', 'className']);
-
- var _splitBsProps = (0, _bootstrapUtils.splitBsProps)(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = (0, _extends4.default)({}, (0, _bootstrapUtils.getClassSet)(bsProps), (_extends2 = {}, _extends2[(0, _bootstrapUtils.prefix)(bsProps)] = !vertical, _extends2[(0, _bootstrapUtils.prefix)(bsProps, 'vertical')] = vertical, _extends2[(0, _bootstrapUtils.prefix)(bsProps, 'justified')] = justified, _extends2[(0, _bootstrapUtils.prefix)(_Button2.default.defaultProps, 'block')] = block, _extends2));
-
- return _react2.default.createElement('div', (0, _extends4.default)({}, elementProps, {
- className: (0, _classnames2.default)(className, classes)
- }));
- };
-
- return ButtonGroup;
-}(_react2.default.Component);
-
-ButtonGroup.propTypes = propTypes;
-ButtonGroup.defaultProps = defaultProps;
-
-exports.default = (0, _bootstrapUtils.bsClass)('btn-group', ButtonGroup);
-module.exports = exports['default'];
-
-/***/ }),
-/* 196 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends3 = __webpack_require__(6);
-
-var _extends4 = _interopRequireDefault(_extends3);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _from = __webpack_require__(113);
-
-var _from2 = _interopRequireDefault(_from);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _keycode = __webpack_require__(51);
-
-var _keycode2 = _interopRequireDefault(_keycode);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-var _RootCloseWrapper = __webpack_require__(91);
-
-var _RootCloseWrapper2 = _interopRequireDefault(_RootCloseWrapper);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-var _createChainedFunction = __webpack_require__(24);
-
-var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
-var _ValidComponentChildren = __webpack_require__(60);
-
-var _ValidComponentChildren2 = _interopRequireDefault(_ValidComponentChildren);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- open: _propTypes2.default.bool,
- pullRight: _propTypes2.default.bool,
- onClose: _propTypes2.default.func,
- labelledBy: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),
- onSelect: _propTypes2.default.func,
- rootCloseEvent: _propTypes2.default.oneOf(['click', 'mousedown'])
-};
-
-var defaultProps = {
- bsRole: 'menu',
- pullRight: false
-};
-
-var DropdownMenu = function (_React$Component) {
- (0, _inherits3.default)(DropdownMenu, _React$Component);
-
- function DropdownMenu(props) {
- (0, _classCallCheck3.default)(this, DropdownMenu);
-
- var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this, props));
-
- _this.handleRootClose = _this.handleRootClose.bind(_this);
- _this.handleKeyDown = _this.handleKeyDown.bind(_this);
- return _this;
- }
-
- DropdownMenu.prototype.getFocusableMenuItems = function getFocusableMenuItems() {
- var node = _reactDom2.default.findDOMNode(this);
- if (!node) {
- return [];
- }
-
- return (0, _from2.default)(node.querySelectorAll('[tabIndex="-1"]'));
- };
-
- DropdownMenu.prototype.getItemsAndActiveIndex = function getItemsAndActiveIndex() {
- var items = this.getFocusableMenuItems();
- var activeIndex = items.indexOf(document.activeElement);
-
- return { items: items, activeIndex: activeIndex };
- };
-
- DropdownMenu.prototype.focusNext = function focusNext() {
- var _getItemsAndActiveInd = this.getItemsAndActiveIndex(),
- items = _getItemsAndActiveInd.items,
- activeIndex = _getItemsAndActiveInd.activeIndex;
-
- if (items.length === 0) {
- return;
- }
-
- var nextIndex = activeIndex === items.length - 1 ? 0 : activeIndex + 1;
- items[nextIndex].focus();
- };
-
- DropdownMenu.prototype.focusPrevious = function focusPrevious() {
- var _getItemsAndActiveInd2 = this.getItemsAndActiveIndex(),
- items = _getItemsAndActiveInd2.items,
- activeIndex = _getItemsAndActiveInd2.activeIndex;
-
- if (items.length === 0) {
- return;
- }
-
- var prevIndex = activeIndex === 0 ? items.length - 1 : activeIndex - 1;
- items[prevIndex].focus();
- };
-
- DropdownMenu.prototype.handleKeyDown = function handleKeyDown(event) {
- switch (event.keyCode) {
- case _keycode2.default.codes.down:
- this.focusNext();
- event.preventDefault();
- break;
- case _keycode2.default.codes.up:
- this.focusPrevious();
- event.preventDefault();
- break;
- case _keycode2.default.codes.esc:
- case _keycode2.default.codes.tab:
- this.props.onClose(event, { source: 'keydown' });
- break;
- default:
- }
- };
-
- DropdownMenu.prototype.handleRootClose = function handleRootClose(event) {
- this.props.onClose(event, { source: 'rootClose' });
- };
-
- DropdownMenu.prototype.render = function render() {
- var _extends2,
- _this2 = this;
-
- var _props = this.props,
- open = _props.open,
- pullRight = _props.pullRight,
- labelledBy = _props.labelledBy,
- onSelect = _props.onSelect,
- className = _props.className,
- rootCloseEvent = _props.rootCloseEvent,
- children = _props.children,
- props = (0, _objectWithoutProperties3.default)(_props, ['open', 'pullRight', 'labelledBy', 'onSelect', 'className', 'rootCloseEvent', 'children']);
-
- var _splitBsPropsAndOmit = (0, _bootstrapUtils.splitBsPropsAndOmit)(props, ['onClose']),
- bsProps = _splitBsPropsAndOmit[0],
- elementProps = _splitBsPropsAndOmit[1];
-
- var classes = (0, _extends4.default)({}, (0, _bootstrapUtils.getClassSet)(bsProps), (_extends2 = {}, _extends2[(0, _bootstrapUtils.prefix)(bsProps, 'right')] = pullRight, _extends2));
-
- return _react2.default.createElement(
- _RootCloseWrapper2.default,
- {
- disabled: !open,
- onRootClose: this.handleRootClose,
- event: rootCloseEvent
- },
- _react2.default.createElement(
- 'ul',
- (0, _extends4.default)({}, elementProps, {
- role: 'menu',
- className: (0, _classnames2.default)(className, classes),
- 'aria-labelledby': labelledBy
- }),
- _ValidComponentChildren2.default.map(children, function (child) {
- return _react2.default.cloneElement(child, {
- onKeyDown: (0, _createChainedFunction2.default)(child.props.onKeyDown, _this2.handleKeyDown),
- onSelect: (0, _createChainedFunction2.default)(child.props.onSelect, onSelect)
- });
- })
- )
- );
- };
-
- return DropdownMenu;
-}(_react2.default.Component);
-
-DropdownMenu.propTypes = propTypes;
-DropdownMenu.defaultProps = defaultProps;
-
-exports.default = (0, _bootstrapUtils.bsClass)('dropdown-menu', DropdownMenu);
-module.exports = exports['default'];
-
-/***/ }),
-/* 197 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(108);
-__webpack_require__(198);
-module.exports = __webpack_require__(21).Array.from;
-
-
-/***/ }),
-/* 198 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-var ctx = __webpack_require__(71);
-var $export = __webpack_require__(28);
-var toObject = __webpack_require__(81);
-var call = __webpack_require__(199);
-var isArrayIter = __webpack_require__(200);
-var toLength = __webpack_require__(107);
-var createProperty = __webpack_require__(201);
-var getIterFn = __webpack_require__(202);
-
-$export($export.S + $export.F * !__webpack_require__(204)(function (iter) { Array.from(iter); }), 'Array', {
- // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
- from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
- var O = toObject(arrayLike);
- var C = typeof this == 'function' ? this : Array;
- var aLen = arguments.length;
- var mapfn = aLen > 1 ? arguments[1] : undefined;
- var mapping = mapfn !== undefined;
- var index = 0;
- var iterFn = getIterFn(O);
- var length, result, step, iterator;
- if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);
- // if object isn't iterable or it's array with default iterator - use simple case
- if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {
- for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {
- createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);
- }
- } else {
- length = toLength(O.length);
- for (result = new C(length); length > index; index++) {
- createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
- }
- }
- result.length = index;
- return result;
- }
-});
-
-
-/***/ }),
-/* 199 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// call something on iterator step with safe closing on error
-var anObject = __webpack_require__(37);
-module.exports = function (iterator, fn, value, entries) {
- try {
- return entries ? fn(anObject(value)[0], value[1]) : fn(value);
- // 7.4.6 IteratorClose(iterator, completion)
- } catch (e) {
- var ret = iterator['return'];
- if (ret !== undefined) anObject(ret.call(iterator));
- throw e;
- }
-};
-
-
-/***/ }),
-/* 200 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// check on default Array iterator
-var Iterators = __webpack_require__(46);
-var ITERATOR = __webpack_require__(22)('iterator');
-var ArrayProto = Array.prototype;
-
-module.exports = function (it) {
- return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
-};
-
-
-/***/ }),
-/* 201 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-var $defineProperty = __webpack_require__(31);
-var createDesc = __webpack_require__(43);
-
-module.exports = function (object, index, value) {
- if (index in object) $defineProperty.f(object, index, createDesc(0, value));
- else object[index] = value;
-};
-
-
-/***/ }),
-/* 202 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var classof = __webpack_require__(203);
-var ITERATOR = __webpack_require__(22)('iterator');
-var Iterators = __webpack_require__(46);
-module.exports = __webpack_require__(21).getIteratorMethod = function (it) {
- if (it != undefined) return it[ITERATOR]
- || it['@@iterator']
- || Iterators[classof(it)];
-};
-
-
-/***/ }),
-/* 203 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// getting tag from 19.1.3.6 Object.prototype.toString()
-var cof = __webpack_require__(73);
-var TAG = __webpack_require__(22)('toStringTag');
-// ES3 wrong here
-var ARG = cof(function () { return arguments; }()) == 'Arguments';
-
-// fallback for IE11 Script Access Denied error
-var tryGet = function (it, key) {
- try {
- return it[key];
- } catch (e) { /* empty */ }
-};
-
-module.exports = function (it) {
- var O, T, B;
- return it === undefined ? 'Undefined' : it === null ? 'Null'
- // @@toStringTag case
- : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
- // builtinTag case
- : ARG ? cof(O)
- // ES3 arguments fallback
- : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
-};
-
-
-/***/ }),
-/* 204 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var ITERATOR = __webpack_require__(22)('iterator');
-var SAFE_CLOSING = false;
-
-try {
- var riter = [7][ITERATOR]();
- riter['return'] = function () { SAFE_CLOSING = true; };
- // eslint-disable-next-line no-throw-literal
- Array.from(riter, function () { throw 2; });
-} catch (e) { /* empty */ }
-
-module.exports = function (exec, skipClosing) {
- if (!skipClosing && !SAFE_CLOSING) return false;
- var safe = false;
- try {
- var arr = [7];
- var iter = arr[ITERATOR]();
- iter.next = function () { return { done: safe = true }; };
- arr[ITERATOR] = function () { return iter; };
- exec(arr);
- } catch (e) { /* empty */ }
- return safe;
-};
-
-
-/***/ }),
-/* 205 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _Button = __webpack_require__(26);
-
-var _Button2 = _interopRequireDefault(_Button);
-
-var _SafeAnchor = __webpack_require__(50);
-
-var _SafeAnchor2 = _interopRequireDefault(_SafeAnchor);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- noCaret: _propTypes2.default.bool,
- open: _propTypes2.default.bool,
- title: _propTypes2.default.string,
- useAnchor: _propTypes2.default.bool
-};
-
-var defaultProps = {
- open: false,
- useAnchor: false,
- bsRole: 'toggle'
-};
-
-var DropdownToggle = function (_React$Component) {
- (0, _inherits3.default)(DropdownToggle, _React$Component);
-
- function DropdownToggle() {
- (0, _classCallCheck3.default)(this, DropdownToggle);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- DropdownToggle.prototype.render = function render() {
- var _props = this.props,
- noCaret = _props.noCaret,
- open = _props.open,
- useAnchor = _props.useAnchor,
- bsClass = _props.bsClass,
- className = _props.className,
- children = _props.children,
- props = (0, _objectWithoutProperties3.default)(_props, ['noCaret', 'open', 'useAnchor', 'bsClass', 'className', 'children']);
-
-
- delete props.bsRole;
-
- var Component = useAnchor ? _SafeAnchor2.default : _Button2.default;
- var useCaret = !noCaret;
-
- // This intentionally forwards bsSize and bsStyle (if set) to the
- // underlying component, to allow it to render size and style variants.
-
- // FIXME: Should this really fall back to `title` as children?
-
- return _react2.default.createElement(
- Component,
- (0, _extends3.default)({}, props, {
- role: 'button',
- className: (0, _classnames2.default)(className, bsClass),
- 'aria-haspopup': true,
- 'aria-expanded': open
- }),
- children || props.title,
- useCaret && ' ',
- useCaret && _react2.default.createElement('span', { className: 'caret' })
- );
- };
-
- return DropdownToggle;
-}(_react2.default.Component);
-
-DropdownToggle.propTypes = propTypes;
-DropdownToggle.defaultProps = defaultProps;
-
-exports.default = (0, _bootstrapUtils.bsClass)('dropdown-toggle', DropdownToggle);
-module.exports = exports['default'];
-
-/***/ }),
-/* 206 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.requiredRoles = requiredRoles;
-exports.exclusiveRoles = exclusiveRoles;
-
-var _createChainableTypeChecker = __webpack_require__(47);
-
-var _createChainableTypeChecker2 = _interopRequireDefault(_createChainableTypeChecker);
-
-var _ValidComponentChildren = __webpack_require__(60);
-
-var _ValidComponentChildren2 = _interopRequireDefault(_ValidComponentChildren);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function requiredRoles() {
- for (var _len = arguments.length, roles = Array(_len), _key = 0; _key < _len; _key++) {
- roles[_key] = arguments[_key];
- }
-
- return (0, _createChainableTypeChecker2.default)(function (props, propName, component) {
- var missing = void 0;
-
- roles.every(function (role) {
- if (!_ValidComponentChildren2.default.some(props.children, function (child) {
- return child.props.bsRole === role;
- })) {
- missing = role;
- return false;
- }
-
- return true;
- });
-
- if (missing) {
- return new Error('(children) ' + component + ' - Missing a required child with bsRole: ' + (missing + '. ' + component + ' must have at least one child of each of ') + ('the following bsRoles: ' + roles.join(', ')));
- }
-
- return null;
- });
-}
-
-function exclusiveRoles() {
- for (var _len2 = arguments.length, roles = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
- roles[_key2] = arguments[_key2];
- }
-
- return (0, _createChainableTypeChecker2.default)(function (props, propName, component) {
- var duplicate = void 0;
-
- roles.every(function (role) {
- var childrenWithRole = _ValidComponentChildren2.default.filter(props.children, function (child) {
- return child.props.bsRole === role;
- });
-
- if (childrenWithRole.length > 1) {
- duplicate = role;
- return false;
- }
-
- return true;
- });
-
- if (duplicate) {
- return new Error('(children) ' + component + ' - Duplicate children detected of bsRole: ' + (duplicate + '. Only one child each allowed with the following ') + ('bsRoles: ' + roles.join(', ')));
- }
-
- return null;
- });
-}
-
-/***/ }),
-/* 207 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _all = __webpack_require__(35);
-
-var _all2 = _interopRequireDefault(_all);
-
-var _SafeAnchor = __webpack_require__(50);
-
-var _SafeAnchor2 = _interopRequireDefault(_SafeAnchor);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-var _createChainedFunction = __webpack_require__(24);
-
-var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- /**
- * Highlight the menu item as active.
- */
- active: _propTypes2.default.bool,
-
- /**
- * Disable the menu item, making it unselectable.
- */
- disabled: _propTypes2.default.bool,
-
- /**
- * Styles the menu item as a horizontal rule, providing visual separation between
- * groups of menu items.
- */
- divider: (0, _all2.default)(_propTypes2.default.bool, function (_ref) {
- var divider = _ref.divider,
- children = _ref.children;
- return divider && children ? new Error('Children will not be rendered for dividers') : null;
- }),
-
- /**
- * Value passed to the `onSelect` handler, useful for identifying the selected menu item.
- */
- eventKey: _propTypes2.default.any,
-
- /**
- * Styles the menu item as a header label, useful for describing a group of menu items.
- */
- header: _propTypes2.default.bool,
-
- /**
- * HTML `href` attribute corresponding to `a.href`.
- */
- href: _propTypes2.default.string,
-
- /**
- * Callback fired when the menu item is clicked.
- */
- onClick: _propTypes2.default.func,
-
- /**
- * Callback fired when the menu item is selected.
- *
- * ```js
- * (eventKey: any, event: Object) => any
- * ```
- */
- onSelect: _propTypes2.default.func
-};
-
-var defaultProps = {
- divider: false,
- disabled: false,
- header: false
-};
-
-var MenuItem = function (_React$Component) {
- (0, _inherits3.default)(MenuItem, _React$Component);
-
- function MenuItem(props, context) {
- (0, _classCallCheck3.default)(this, MenuItem);
-
- var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this, props, context));
-
- _this.handleClick = _this.handleClick.bind(_this);
- return _this;
- }
-
- MenuItem.prototype.handleClick = function handleClick(event) {
- var _props = this.props,
- href = _props.href,
- disabled = _props.disabled,
- onSelect = _props.onSelect,
- eventKey = _props.eventKey;
-
-
- if (!href || disabled) {
- event.preventDefault();
- }
-
- if (disabled) {
- return;
- }
-
- if (onSelect) {
- onSelect(eventKey, event);
- }
- };
-
- MenuItem.prototype.render = function render() {
- var _props2 = this.props,
- active = _props2.active,
- disabled = _props2.disabled,
- divider = _props2.divider,
- header = _props2.header,
- onClick = _props2.onClick,
- className = _props2.className,
- style = _props2.style,
- props = (0, _objectWithoutProperties3.default)(_props2, ['active', 'disabled', 'divider', 'header', 'onClick', 'className', 'style']);
-
- var _splitBsPropsAndOmit = (0, _bootstrapUtils.splitBsPropsAndOmit)(props, ['eventKey', 'onSelect']),
- bsProps = _splitBsPropsAndOmit[0],
- elementProps = _splitBsPropsAndOmit[1];
-
- if (divider) {
- // Forcibly blank out the children; separators shouldn't render any.
- elementProps.children = undefined;
-
- return _react2.default.createElement('li', (0, _extends3.default)({}, elementProps, {
- role: 'separator',
- className: (0, _classnames2.default)(className, 'divider'),
- style: style
- }));
- }
-
- if (header) {
- return _react2.default.createElement('li', (0, _extends3.default)({}, elementProps, {
- role: 'heading',
- className: (0, _classnames2.default)(className, (0, _bootstrapUtils.prefix)(bsProps, 'header')),
- style: style
- }));
- }
-
- return _react2.default.createElement(
- 'li',
- {
- role: 'presentation',
- className: (0, _classnames2.default)(className, { active: active, disabled: disabled }),
- style: style
- },
- _react2.default.createElement(_SafeAnchor2.default, (0, _extends3.default)({}, elementProps, {
- role: 'menuitem',
- tabIndex: '-1',
- onClick: (0, _createChainedFunction2.default)(onClick, this.handleClick)
- }))
- );
- };
-
- return MenuItem;
-}(_react2.default.Component);
-
-MenuItem.propTypes = propTypes;
-MenuItem.defaultProps = defaultProps;
-
-exports.default = (0, _bootstrapUtils.bsClass)('dropdown', MenuItem);
-module.exports = exports['default'];
-
-/***/ }),
-/* 208 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = filterEvents;
-
-var _contains = _interopRequireDefault(__webpack_require__(30));
-
-var _querySelectorAll = _interopRequireDefault(__webpack_require__(209));
-
-function filterEvents(selector, handler) {
- return function filterHandler(e) {
- var top = e.currentTarget,
- target = e.target,
- matches = (0, _querySelectorAll.default)(top, selector);
- if (matches.some(function (match) {
- return (0, _contains.default)(match, target);
- })) handler.call(this, e);
- };
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 209 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = qsa;
-// Zepto.js
-// (c) 2010-2015 Thomas Fuchs
-// Zepto.js may be freely distributed under the MIT license.
-var simpleSelectorRE = /^[\w-]*$/;
-var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
-
-function qsa(element, selector) {
- var maybeID = selector[0] === '#',
- maybeClass = selector[0] === '.',
- nameOnly = maybeID || maybeClass ? selector.slice(1) : selector,
- isSimple = simpleSelectorRE.test(nameOnly),
- found;
-
- if (isSimple) {
- if (maybeID) {
- element = element.getElementById ? element : document;
- return (found = element.getElementById(nameOnly)) ? [found] : [];
- }
-
- if (element.getElementsByClassName && maybeClass) return toArray(element.getElementsByClassName(nameOnly));
- return toArray(element.getElementsByTagName(selector));
- }
-
- return toArray(element.querySelectorAll(selector));
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 210 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = void 0;
-
-var _inDOM = _interopRequireDefault(__webpack_require__(25));
-
-var _on = _interopRequireDefault(__webpack_require__(59));
-
-var _off = _interopRequireDefault(__webpack_require__(92));
-
-var listen = function listen() {};
-
-if (_inDOM.default) {
- listen = function listen(node, eventName, handler, capture) {
- (0, _on.default)(node, eventName, handler, capture);
- return function () {
- (0, _off.default)(node, eventName, handler, capture);
- };
- };
-}
-
-var _default = listen;
-exports.default = _default;
-module.exports = exports["default"];
-
-/***/ }),
-/* 211 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = deprecated;
-
-var _warning = __webpack_require__(19);
-
-var _warning2 = _interopRequireDefault(_warning);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var warned = {};
-
-function deprecated(validator, reason) {
- return function validate(props, propName, componentName, location, propFullName) {
- var componentNameSafe = componentName || '<>';
- var propFullNameSafe = propFullName || propName;
-
- if (props[propName] != null) {
- var messageKey = componentName + '.' + propName;
-
- (0, _warning2.default)(warned[messageKey], 'The ' + location + ' `' + propFullNameSafe + '` of ' + ('`' + componentNameSafe + '` is deprecated. ' + reason + '.'));
-
- warned[messageKey] = true;
- }
-
- for (var _len = arguments.length, args = Array(_len > 5 ? _len - 5 : 0), _key = 5; _key < _len; _key++) {
- args[_key - 5] = arguments[_key];
- }
-
- return validator.apply(undefined, [props, propName, componentName, location, propFullName].concat(args));
- };
-}
-
-/* eslint-disable no-underscore-dangle */
-function _resetWarned() {
- warned = {};
-}
-
-deprecated._resetWarned = _resetWarned;
-/* eslint-enable no-underscore-dangle */
-
-module.exports = exports['default'];
-
-/***/ }),
-/* 212 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _class = __webpack_require__(213);
-
-var _class2 = _interopRequireDefault(_class);
-
-var _style = __webpack_require__(54);
-
-var _style2 = _interopRequireDefault(_style);
-
-var _scrollbarSize = __webpack_require__(94);
-
-var _scrollbarSize2 = _interopRequireDefault(_scrollbarSize);
-
-var _isOverflowing = __webpack_require__(95);
-
-var _isOverflowing2 = _interopRequireDefault(_isOverflowing);
-
-var _manageAriaHidden = __webpack_require__(222);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function findIndexOf(arr, cb) {
- var idx = -1;
- arr.some(function (d, i) {
- if (cb(d, i)) {
- idx = i;
- return true;
- }
- });
- return idx;
-}
-
-function findContainer(data, modal) {
- return findIndexOf(data, function (d) {
- return d.modals.indexOf(modal) !== -1;
- });
-}
-
-function setContainerStyle(state, container) {
- var style = { overflow: 'hidden' };
-
- // we are only interested in the actual `style` here
- // becasue we will override it
- state.style = {
- overflow: container.style.overflow,
- paddingRight: container.style.paddingRight
- };
-
- if (state.overflowing) {
- // use computed style, here to get the real padding
- // to add our scrollbar width
- style.paddingRight = parseInt((0, _style2.default)(container, 'paddingRight') || 0, 10) + (0, _scrollbarSize2.default)() + 'px';
- }
-
- (0, _style2.default)(container, style);
-}
-
-function removeContainerStyle(_ref, container) {
- var style = _ref.style;
-
-
- Object.keys(style).forEach(function (key) {
- return container.style[key] = style[key];
- });
-}
-/**
- * Proper state managment for containers and the modals in those containers.
- *
- * @internal Used by the Modal to ensure proper styling of containers.
- */
-
-var ModalManager = function ModalManager() {
- var _this = this;
-
- var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
- _ref2$hideSiblingNode = _ref2.hideSiblingNodes,
- hideSiblingNodes = _ref2$hideSiblingNode === undefined ? true : _ref2$hideSiblingNode,
- _ref2$handleContainer = _ref2.handleContainerOverflow,
- handleContainerOverflow = _ref2$handleContainer === undefined ? true : _ref2$handleContainer;
-
- _classCallCheck(this, ModalManager);
-
- this.add = function (modal, container, className) {
- var modalIdx = _this.modals.indexOf(modal);
- var containerIdx = _this.containers.indexOf(container);
-
- if (modalIdx !== -1) {
- return modalIdx;
- }
-
- modalIdx = _this.modals.length;
- _this.modals.push(modal);
-
- if (_this.hideSiblingNodes) {
- (0, _manageAriaHidden.hideSiblings)(container, modal.mountNode);
- }
-
- if (containerIdx !== -1) {
- _this.data[containerIdx].modals.push(modal);
- return modalIdx;
- }
-
- var data = {
- modals: [modal],
- //right now only the first modal of a container will have its classes applied
- classes: className ? className.split(/\s+/) : [],
-
- overflowing: (0, _isOverflowing2.default)(container)
- };
-
- if (_this.handleContainerOverflow) {
- setContainerStyle(data, container);
- }
-
- data.classes.forEach(_class2.default.addClass.bind(null, container));
-
- _this.containers.push(container);
- _this.data.push(data);
-
- return modalIdx;
- };
-
- this.remove = function (modal) {
- var modalIdx = _this.modals.indexOf(modal);
-
- if (modalIdx === -1) {
- return;
- }
-
- var containerIdx = findContainer(_this.data, modal);
- var data = _this.data[containerIdx];
- var container = _this.containers[containerIdx];
-
- data.modals.splice(data.modals.indexOf(modal), 1);
-
- _this.modals.splice(modalIdx, 1);
-
- // if that was the last modal in a container,
- // clean up the container
- if (data.modals.length === 0) {
- data.classes.forEach(_class2.default.removeClass.bind(null, container));
-
- if (_this.handleContainerOverflow) {
- removeContainerStyle(data, container);
- }
-
- if (_this.hideSiblingNodes) {
- (0, _manageAriaHidden.showSiblings)(container, modal.mountNode);
- }
- _this.containers.splice(containerIdx, 1);
- _this.data.splice(containerIdx, 1);
- } else if (_this.hideSiblingNodes) {
- //otherwise make sure the next top modal is visible to a SR
- (0, _manageAriaHidden.ariaHidden)(false, data.modals[data.modals.length - 1].mountNode);
- }
- };
-
- this.isTopModal = function (modal) {
- return !!_this.modals.length && _this.modals[_this.modals.length - 1] === modal;
- };
-
- this.hideSiblingNodes = hideSiblingNodes;
- this.handleContainerOverflow = handleContainerOverflow;
- this.modals = [];
- this.containers = [];
- this.data = [];
-};
-
-exports.default = ModalManager;
-module.exports = exports['default'];
-
-/***/ }),
-/* 213 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = void 0;
-
-var _addClass = _interopRequireDefault(__webpack_require__(214));
-
-exports.addClass = _addClass.default;
-
-var _removeClass = _interopRequireDefault(__webpack_require__(215));
-
-exports.removeClass = _removeClass.default;
-
-var _hasClass = _interopRequireDefault(__webpack_require__(117));
-
-exports.hasClass = _hasClass.default;
-var _default = {
- addClass: _addClass.default,
- removeClass: _removeClass.default,
- hasClass: _hasClass.default
-};
-exports.default = _default;
-
-/***/ }),
-/* 214 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = addClass;
-
-var _hasClass = _interopRequireDefault(__webpack_require__(117));
-
-function addClass(element, className) {
- if (element.classList) element.classList.add(className);else if (!(0, _hasClass.default)(element, className)) if (typeof element.className === 'string') element.className = element.className + ' ' + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + ' ' + className);
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 215 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-function replaceClassName(origClass, classToRemove) {
- return origClass.replace(new RegExp('(^|\\s)' + classToRemove + '(?:\\s|$)', 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, '');
-}
-
-module.exports = function removeClass(element, className) {
- if (element.classList) element.classList.remove(className);else if (typeof element.className === 'string') element.className = replaceClassName(element.className, className);else element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));
-};
-
-/***/ }),
-/* 216 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = camelize;
-var rHyphen = /-(.)/g;
-
-function camelize(string) {
- return string.replace(rHyphen, function (_, chr) {
- return chr.toUpperCase();
- });
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 217 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = hyphenateStyleName;
-
-var _hyphenate = _interopRequireDefault(__webpack_require__(218));
-
-/**
- * Copyright 2013-2014, Facebook, Inc.
- * All rights reserved.
- * https://github.com/facebook/react/blob/2aeb8a2a6beb00617a4217f7f8284924fa2ad819/src/vendor/core/hyphenateStyleName.js
- */
-var msPattern = /^ms-/;
-
-function hyphenateStyleName(string) {
- return (0, _hyphenate.default)(string).replace(msPattern, '-ms-');
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 218 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = hyphenate;
-var rUpper = /([A-Z])/g;
-
-function hyphenate(string) {
- return string.replace(rUpper, '-$1').toLowerCase();
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 219 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = _getComputedStyle;
-
-var _camelizeStyle = _interopRequireDefault(__webpack_require__(118));
-
-var rposition = /^(top|right|bottom|left)$/;
-var rnumnonpx = /^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;
-
-function _getComputedStyle(node) {
- if (!node) throw new TypeError('No Element passed to `getComputedStyle()`');
- var doc = node.ownerDocument;
- return 'defaultView' in doc ? doc.defaultView.opener ? node.ownerDocument.defaultView.getComputedStyle(node, null) : window.getComputedStyle(node, null) : {
- //ie 8 "magic" from: https://github.com/jquery/jquery/blob/1.11-stable/src/css/curCSS.js#L72
- getPropertyValue: function getPropertyValue(prop) {
- var style = node.style;
- prop = (0, _camelizeStyle.default)(prop);
- if (prop == 'float') prop = 'styleFloat';
- var current = node.currentStyle[prop] || null;
- if (current == null && style && style[prop]) current = style[prop];
-
- if (rnumnonpx.test(current) && !rposition.test(prop)) {
- // Remember the original values
- var left = style.left;
- var runStyle = node.runtimeStyle;
- var rsLeft = runStyle && runStyle.left; // Put in the new values to get a computed value out
-
- if (rsLeft) runStyle.left = node.currentStyle.left;
- style.left = prop === 'fontSize' ? '1em' : current;
- current = style.pixelLeft + 'px'; // Revert the changed values
-
- style.left = left;
- if (rsLeft) runStyle.left = rsLeft;
- }
-
- return current;
- }
- };
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 220 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = removeStyle;
-
-function removeStyle(node, key) {
- return 'removeProperty' in node.style ? node.style.removeProperty(key) : node.style.removeAttribute(key);
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 221 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = isTransform;
-var supportedTransforms = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;
-
-function isTransform(property) {
- return !!(property && supportedTransforms.test(property));
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 222 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.ariaHidden = ariaHidden;
-exports.hideSiblings = hideSiblings;
-exports.showSiblings = showSiblings;
-
-var BLACKLIST = ['template', 'script', 'style'];
-
-var isHidable = function isHidable(_ref) {
- var nodeType = _ref.nodeType,
- tagName = _ref.tagName;
- return nodeType === 1 && BLACKLIST.indexOf(tagName.toLowerCase()) === -1;
-};
-
-var siblings = function siblings(container, mount, cb) {
- mount = [].concat(mount);
-
- [].forEach.call(container.children, function (node) {
- if (mount.indexOf(node) === -1 && isHidable(node)) {
- cb(node);
- }
- });
-};
-
-function ariaHidden(show, node) {
- if (!node) {
- return;
- }
- if (show) {
- node.setAttribute('aria-hidden', 'true');
- } else {
- node.removeAttribute('aria-hidden');
- }
-}
-
-function hideSiblings(container, mountNode) {
- siblings(container, mountNode, function (node) {
- return ariaHidden(true, node);
- });
-}
-
-function showSiblings(container, mountNode) {
- siblings(container, mountNode, function (node) {
- return ariaHidden(false, node);
- });
-}
-
-/***/ }),
-/* 223 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _componentOrElement = __webpack_require__(61);
-
-var _componentOrElement2 = _interopRequireDefault(_componentOrElement);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-var _getContainer = __webpack_require__(63);
-
-var _getContainer2 = _interopRequireDefault(_getContainer);
-
-var _ownerDocument = __webpack_require__(41);
-
-var _ownerDocument2 = _interopRequireDefault(_ownerDocument);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-/**
- * The ` ` component renders its children into a new "subtree" outside of current component hierarchy.
- * You can think of it as a declarative `appendChild()`, or jQuery's `$.fn.appendTo()`.
- * The children of ` ` component will be appended to the `container` specified.
- */
-var Portal = function (_React$Component) {
- _inherits(Portal, _React$Component);
-
- function Portal() {
- var _temp, _this, _ret;
-
- _classCallCheck(this, Portal);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this._mountOverlayTarget = function () {
- if (!_this._overlayTarget) {
- _this._overlayTarget = document.createElement('div');
- _this._portalContainerNode = (0, _getContainer2.default)(_this.props.container, (0, _ownerDocument2.default)(_this).body);
- _this._portalContainerNode.appendChild(_this._overlayTarget);
- }
- }, _this._unmountOverlayTarget = function () {
- if (_this._overlayTarget) {
- _this._portalContainerNode.removeChild(_this._overlayTarget);
- _this._overlayTarget = null;
- }
- _this._portalContainerNode = null;
- }, _this._renderOverlay = function () {
- var overlay = !_this.props.children ? null : _react2.default.Children.only(_this.props.children);
-
- // Save reference for future access.
- if (overlay !== null) {
- _this._mountOverlayTarget();
-
- var initialRender = !_this._overlayInstance;
-
- _this._overlayInstance = _reactDom2.default.unstable_renderSubtreeIntoContainer(_this, overlay, _this._overlayTarget, function () {
- if (initialRender && _this.props.onRendered) {
- _this.props.onRendered();
- }
- });
- } else {
- // Unrender if the component is null for transitions to null
- _this._unrenderOverlay();
- _this._unmountOverlayTarget();
- }
- }, _this._unrenderOverlay = function () {
- if (_this._overlayTarget) {
- _reactDom2.default.unmountComponentAtNode(_this._overlayTarget);
- _this._overlayInstance = null;
- }
- }, _this.getMountNode = function () {
- return _this._overlayTarget;
- }, _temp), _possibleConstructorReturn(_this, _ret);
- }
-
- Portal.prototype.componentDidMount = function componentDidMount() {
- this._isMounted = true;
- this._renderOverlay();
- };
-
- Portal.prototype.componentDidUpdate = function componentDidUpdate() {
- this._renderOverlay();
- };
-
- Portal.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- if (this._overlayTarget && nextProps.container !== this.props.container) {
- this._portalContainerNode.removeChild(this._overlayTarget);
- this._portalContainerNode = (0, _getContainer2.default)(nextProps.container, (0, _ownerDocument2.default)(this).body);
- this._portalContainerNode.appendChild(this._overlayTarget);
- }
- };
-
- Portal.prototype.componentWillUnmount = function componentWillUnmount() {
- this._isMounted = false;
- this._unrenderOverlay();
- this._unmountOverlayTarget();
- };
-
- Portal.prototype.render = function render() {
- return null;
- };
-
- return Portal;
-}(_react2.default.Component);
-
-Portal.displayName = 'Portal';
-Portal.propTypes = {
- /**
- * A Node, Component instance, or function that returns either. The `container` will have the Portal children
- * appended to it.
- */
- container: _propTypes2.default.oneOfType([_componentOrElement2.default, _propTypes2.default.func]),
-
- onRendered: _propTypes2.default.func
-};
-exports.default = Portal;
-module.exports = exports['default'];
-
-/***/ }),
-/* 224 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-var propTypes = {
- children: _propTypes2.default.node
-};
-
-/**
- * Internal helper component to allow attaching a non-conflicting ref to a
- * child element that may not accept refs.
- */
-
-var RefHolder = function (_React$Component) {
- _inherits(RefHolder, _React$Component);
-
- function RefHolder() {
- _classCallCheck(this, RefHolder);
-
- return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
- }
-
- RefHolder.prototype.render = function render() {
- return this.props.children;
- };
-
- return RefHolder;
-}(_react2.default.Component);
-
-RefHolder.propTypes = propTypes;
-
-exports.default = RefHolder;
-module.exports = exports['default'];
-
-/***/ }),
-/* 225 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = addFocusListener;
-/**
- * Firefox doesn't have a focusin event so using capture is easiest way to get bubbling
- * IE8 can't do addEventListener, but does have onfocusin, so we use that in ie8
- *
- * We only allow one Listener at a time to avoid stack overflows
- */
-function addFocusListener(handler) {
- var useFocusin = !document.addEventListener;
- var remove = void 0;
-
- if (useFocusin) {
- document.attachEvent('onfocusin', handler);
- remove = function remove() {
- return document.detachEvent('onfocusin', handler);
- };
- } else {
- document.addEventListener('focus', handler, true);
- remove = function remove() {
- return document.removeEventListener('focus', handler, true);
- };
- }
-
- return { remove: remove };
-}
-module.exports = exports['default'];
-
-/***/ }),
-/* 226 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- componentClass: _elementType2.default
-};
-
-var defaultProps = {
- componentClass: 'div'
-};
-
-var ModalBody = function (_React$Component) {
- (0, _inherits3.default)(ModalBody, _React$Component);
-
- function ModalBody() {
- (0, _classCallCheck3.default)(this, ModalBody);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- ModalBody.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = (0, _objectWithoutProperties3.default)(_props, ['componentClass', 'className']);
-
- var _splitBsProps = (0, _bootstrapUtils.splitBsProps)(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = (0, _bootstrapUtils.getClassSet)(bsProps);
-
- return _react2.default.createElement(Component, (0, _extends3.default)({}, elementProps, {
- className: (0, _classnames2.default)(className, classes)
- }));
- };
-
- return ModalBody;
-}(_react2.default.Component);
-
-ModalBody.propTypes = propTypes;
-ModalBody.defaultProps = defaultProps;
-
-exports.default = (0, _bootstrapUtils.bsClass)('modal-body', ModalBody);
-module.exports = exports['default'];
-
-/***/ }),
-/* 227 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends3 = __webpack_require__(6);
-
-var _extends4 = _interopRequireDefault(_extends3);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-var _StyleConfig = __webpack_require__(49);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- /**
- * A css class to apply to the Modal dialog DOM node.
- */
- dialogClassName: _propTypes2.default.string
-};
-
-var ModalDialog = function (_React$Component) {
- (0, _inherits3.default)(ModalDialog, _React$Component);
-
- function ModalDialog() {
- (0, _classCallCheck3.default)(this, ModalDialog);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- ModalDialog.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- dialogClassName = _props.dialogClassName,
- className = _props.className,
- style = _props.style,
- children = _props.children,
- props = (0, _objectWithoutProperties3.default)(_props, ['dialogClassName', 'className', 'style', 'children']);
-
- var _splitBsProps = (0, _bootstrapUtils.splitBsProps)(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var bsClassName = (0, _bootstrapUtils.prefix)(bsProps);
-
- var modalStyle = (0, _extends4.default)({ display: 'block' }, style);
-
- var dialogClasses = (0, _extends4.default)({}, (0, _bootstrapUtils.getClassSet)(bsProps), (_extends2 = {}, _extends2[bsClassName] = false, _extends2[(0, _bootstrapUtils.prefix)(bsProps, 'dialog')] = true, _extends2));
-
- return _react2.default.createElement(
- 'div',
- (0, _extends4.default)({}, elementProps, {
- tabIndex: '-1',
- role: 'dialog',
- style: modalStyle,
- className: (0, _classnames2.default)(className, bsClassName)
- }),
- _react2.default.createElement(
- 'div',
- { className: (0, _classnames2.default)(dialogClassName, dialogClasses) },
- _react2.default.createElement(
- 'div',
- { className: (0, _bootstrapUtils.prefix)(bsProps, 'content'), role: 'document' },
- children
- )
- )
- );
- };
-
- return ModalDialog;
-}(_react2.default.Component);
-
-ModalDialog.propTypes = propTypes;
-
-exports.default = (0, _bootstrapUtils.bsClass)('modal', (0, _bootstrapUtils.bsSizes)([_StyleConfig.Size.LARGE, _StyleConfig.Size.SMALL], ModalDialog));
-module.exports = exports['default'];
-
-/***/ }),
-/* 228 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- componentClass: _elementType2.default
-};
-
-var defaultProps = {
- componentClass: 'div'
-};
-
-var ModalFooter = function (_React$Component) {
- (0, _inherits3.default)(ModalFooter, _React$Component);
-
- function ModalFooter() {
- (0, _classCallCheck3.default)(this, ModalFooter);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- ModalFooter.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = (0, _objectWithoutProperties3.default)(_props, ['componentClass', 'className']);
-
- var _splitBsProps = (0, _bootstrapUtils.splitBsProps)(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = (0, _bootstrapUtils.getClassSet)(bsProps);
-
- return _react2.default.createElement(Component, (0, _extends3.default)({}, elementProps, {
- className: (0, _classnames2.default)(className, classes)
- }));
- };
-
- return ModalFooter;
-}(_react2.default.Component);
-
-ModalFooter.propTypes = propTypes;
-ModalFooter.defaultProps = defaultProps;
-
-exports.default = (0, _bootstrapUtils.bsClass)('modal-footer', ModalFooter);
-module.exports = exports['default'];
-
-/***/ }),
-/* 229 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-var _createChainedFunction = __webpack_require__(24);
-
-var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
-var _CloseButton = __webpack_require__(230);
-
-var _CloseButton2 = _interopRequireDefault(_CloseButton);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-// TODO: `aria-label` should be `closeLabel`.
-
-var propTypes = {
- /**
- * Provides an accessible label for the close
- * button. It is used for Assistive Technology when the label text is not
- * readable.
- */
- closeLabel: _propTypes2.default.string,
-
- /**
- * Specify whether the Component should contain a close button
- */
- closeButton: _propTypes2.default.bool,
-
- /**
- * A Callback fired when the close button is clicked. If used directly inside
- * a Modal component, the onHide will automatically be propagated up to the
- * parent Modal `onHide`.
- */
- onHide: _propTypes2.default.func
-};
-
-var defaultProps = {
- closeLabel: 'Close',
- closeButton: false
-};
-
-var contextTypes = {
- $bs_modal: _propTypes2.default.shape({
- onHide: _propTypes2.default.func
- })
-};
-
-var ModalHeader = function (_React$Component) {
- (0, _inherits3.default)(ModalHeader, _React$Component);
-
- function ModalHeader() {
- (0, _classCallCheck3.default)(this, ModalHeader);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- ModalHeader.prototype.render = function render() {
- var _props = this.props,
- closeLabel = _props.closeLabel,
- closeButton = _props.closeButton,
- onHide = _props.onHide,
- className = _props.className,
- children = _props.children,
- props = (0, _objectWithoutProperties3.default)(_props, ['closeLabel', 'closeButton', 'onHide', 'className', 'children']);
-
-
- var modal = this.context.$bs_modal;
-
- var _splitBsProps = (0, _bootstrapUtils.splitBsProps)(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = (0, _bootstrapUtils.getClassSet)(bsProps);
-
- return _react2.default.createElement(
- 'div',
- (0, _extends3.default)({}, elementProps, {
- className: (0, _classnames2.default)(className, classes)
- }),
- closeButton && _react2.default.createElement(_CloseButton2.default, {
- label: closeLabel,
- onClick: (0, _createChainedFunction2.default)(modal && modal.onHide, onHide)
- }),
- children
- );
- };
-
- return ModalHeader;
-}(_react2.default.Component);
-
-ModalHeader.propTypes = propTypes;
-ModalHeader.defaultProps = defaultProps;
-ModalHeader.contextTypes = contextTypes;
-
-exports.default = (0, _bootstrapUtils.bsClass)('modal-header', ModalHeader);
-module.exports = exports['default'];
-
-/***/ }),
-/* 230 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- label: _propTypes2.default.string.isRequired,
- onClick: _propTypes2.default.func
-};
-
-var defaultProps = {
- label: 'Close'
-};
-
-var CloseButton = function (_React$Component) {
- (0, _inherits3.default)(CloseButton, _React$Component);
-
- function CloseButton() {
- (0, _classCallCheck3.default)(this, CloseButton);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- CloseButton.prototype.render = function render() {
- var _props = this.props,
- label = _props.label,
- onClick = _props.onClick;
-
- return _react2.default.createElement(
- 'button',
- {
- type: 'button',
- className: 'close',
- onClick: onClick
- },
- _react2.default.createElement(
- 'span',
- { 'aria-hidden': 'true' },
- '\xD7'
- ),
- _react2.default.createElement(
- 'span',
- { className: 'sr-only' },
- label
- )
- );
- };
-
- return CloseButton;
-}(_react2.default.Component);
-
-CloseButton.propTypes = propTypes;
-CloseButton.defaultProps = defaultProps;
-
-exports.default = CloseButton;
-module.exports = exports['default'];
-
-/***/ }),
-/* 231 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- componentClass: _elementType2.default
-};
-
-var defaultProps = {
- componentClass: 'h4'
-};
-
-var ModalTitle = function (_React$Component) {
- (0, _inherits3.default)(ModalTitle, _React$Component);
-
- function ModalTitle() {
- (0, _classCallCheck3.default)(this, ModalTitle);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- ModalTitle.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = (0, _objectWithoutProperties3.default)(_props, ['componentClass', 'className']);
-
- var _splitBsProps = (0, _bootstrapUtils.splitBsProps)(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = (0, _bootstrapUtils.getClassSet)(bsProps);
-
- return _react2.default.createElement(Component, (0, _extends3.default)({}, elementProps, {
- className: (0, _classnames2.default)(className, classes)
- }));
- };
-
- return ModalTitle;
-}(_react2.default.Component);
-
-ModalTitle.propTypes = propTypes;
-ModalTitle.defaultProps = defaultProps;
-
-exports.default = (0, _bootstrapUtils.bsClass)('modal-title', ModalTitle);
-module.exports = exports['default'];
-
-/***/ }),
-/* 232 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _entries = __webpack_require__(57);
-
-var _entries2 = _interopRequireDefault(_entries);
-
-exports.default = splitComponentProps;
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function splitComponentProps(props, Component) {
- var componentPropTypes = Component.propTypes;
-
- var parentProps = {};
- var childProps = {};
-
- (0, _entries2.default)(props).forEach(function (_ref) {
- var propName = _ref[0],
- propValue = _ref[1];
-
- if (componentPropTypes[propName]) {
- parentProps[propName] = propValue;
- } else {
- childProps[propName] = propValue;
- }
- });
-
- return [parentProps, childProps];
-}
-module.exports = exports["default"];
-
-/***/ }),
-/* 233 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {
-
-exports.__esModule = true;
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _contains = __webpack_require__(30);
-
-var _contains2 = _interopRequireDefault(_contains);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-var _warning = __webpack_require__(19);
-
-var _warning2 = _interopRequireDefault(_warning);
-
-var _Overlay = __webpack_require__(234);
-
-var _Overlay2 = _interopRequireDefault(_Overlay);
-
-var _createChainedFunction = __webpack_require__(24);
-
-var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-/**
- * Check if value one is inside or equal to the of value
- *
- * @param {string} one
- * @param {string|array} of
- * @returns {boolean}
- */
-function isOneOf(one, of) {
- if (Array.isArray(of)) {
- return of.indexOf(one) >= 0;
- }
- return one === of;
-}
-
-var triggerType = _propTypes2.default.oneOf(['click', 'hover', 'focus']);
-
-var propTypes = (0, _extends3.default)({}, _Overlay2.default.propTypes, {
-
- /**
- * Specify which action or actions trigger Overlay visibility
- */
- trigger: _propTypes2.default.oneOfType([triggerType, _propTypes2.default.arrayOf(triggerType)]),
-
- /**
- * A millisecond delay amount to show and hide the Overlay once triggered
- */
- delay: _propTypes2.default.number,
- /**
- * A millisecond delay amount before showing the Overlay once triggered.
- */
- delayShow: _propTypes2.default.number,
- /**
- * A millisecond delay amount before hiding the Overlay once triggered.
- */
- delayHide: _propTypes2.default.number,
-
- // FIXME: This should be `defaultShow`.
- /**
- * The initial visibility state of the Overlay. For more nuanced visibility
- * control, consider using the Overlay component directly.
- */
- defaultOverlayShown: _propTypes2.default.bool,
-
- /**
- * An element or text to overlay next to the target.
- */
- overlay: _propTypes2.default.node.isRequired,
-
- /**
- * @private
- */
- onBlur: _propTypes2.default.func,
- /**
- * @private
- */
- onClick: _propTypes2.default.func,
- /**
- * @private
- */
- onFocus: _propTypes2.default.func,
- /**
- * @private
- */
- onMouseOut: _propTypes2.default.func,
- /**
- * @private
- */
- onMouseOver: _propTypes2.default.func,
-
- // Overridden props from ``.
- /**
- * @private
- */
- target: _propTypes2.default.oneOf([null]),
- /**
- * @private
- */
- onHide: _propTypes2.default.oneOf([null]),
- /**
- * @private
- */
- show: _propTypes2.default.oneOf([null])
-});
-
-var defaultProps = {
- defaultOverlayShown: false,
- trigger: ['hover', 'focus']
-};
-
-var OverlayTrigger = function (_React$Component) {
- (0, _inherits3.default)(OverlayTrigger, _React$Component);
-
- function OverlayTrigger(props, context) {
- (0, _classCallCheck3.default)(this, OverlayTrigger);
-
- var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this, props, context));
-
- _this.handleToggle = _this.handleToggle.bind(_this);
- _this.handleDelayedShow = _this.handleDelayedShow.bind(_this);
- _this.handleDelayedHide = _this.handleDelayedHide.bind(_this);
- _this.handleHide = _this.handleHide.bind(_this);
-
- _this.handleMouseOver = function (e) {
- return _this.handleMouseOverOut(_this.handleDelayedShow, e);
- };
- _this.handleMouseOut = function (e) {
- return _this.handleMouseOverOut(_this.handleDelayedHide, e);
- };
-
- _this._mountNode = null;
-
- _this.state = {
- show: props.defaultOverlayShown
- };
- return _this;
- }
-
- OverlayTrigger.prototype.componentDidMount = function componentDidMount() {
- this._mountNode = document.createElement('div');
- this.renderOverlay();
- };
-
- OverlayTrigger.prototype.componentDidUpdate = function componentDidUpdate() {
- this.renderOverlay();
- };
-
- OverlayTrigger.prototype.componentWillUnmount = function componentWillUnmount() {
- _reactDom2.default.unmountComponentAtNode(this._mountNode);
- this._mountNode = null;
-
- clearTimeout(this._hoverShowDelay);
- clearTimeout(this._hoverHideDelay);
- };
-
- OverlayTrigger.prototype.handleDelayedHide = function handleDelayedHide() {
- var _this2 = this;
-
- if (this._hoverShowDelay != null) {
- clearTimeout(this._hoverShowDelay);
- this._hoverShowDelay = null;
- return;
- }
-
- if (!this.state.show || this._hoverHideDelay != null) {
- return;
- }
-
- var delay = this.props.delayHide != null ? this.props.delayHide : this.props.delay;
-
- if (!delay) {
- this.hide();
- return;
- }
-
- this._hoverHideDelay = setTimeout(function () {
- _this2._hoverHideDelay = null;
- _this2.hide();
- }, delay);
- };
-
- OverlayTrigger.prototype.handleDelayedShow = function handleDelayedShow() {
- var _this3 = this;
-
- if (this._hoverHideDelay != null) {
- clearTimeout(this._hoverHideDelay);
- this._hoverHideDelay = null;
- return;
- }
-
- if (this.state.show || this._hoverShowDelay != null) {
- return;
- }
-
- var delay = this.props.delayShow != null ? this.props.delayShow : this.props.delay;
-
- if (!delay) {
- this.show();
- return;
- }
-
- this._hoverShowDelay = setTimeout(function () {
- _this3._hoverShowDelay = null;
- _this3.show();
- }, delay);
- };
-
- OverlayTrigger.prototype.handleHide = function handleHide() {
- this.hide();
- };
-
- // 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.
-
-
- OverlayTrigger.prototype.handleMouseOverOut = function handleMouseOverOut(handler, e) {
- var target = e.currentTarget;
- var related = e.relatedTarget || e.nativeEvent.toElement;
-
- if ((!related || related !== target) && !(0, _contains2.default)(target, related)) {
- handler(e);
- }
- };
-
- OverlayTrigger.prototype.handleToggle = function handleToggle() {
- if (this.state.show) {
- this.hide();
- } else {
- this.show();
- }
- };
-
- OverlayTrigger.prototype.hide = function hide() {
- this.setState({ show: false });
- };
-
- OverlayTrigger.prototype.makeOverlay = function makeOverlay(overlay, props) {
- return _react2.default.createElement(
- _Overlay2.default,
- (0, _extends3.default)({}, props, {
- show: this.state.show,
- onHide: this.handleHide,
- target: this
- }),
- overlay
- );
- };
-
- OverlayTrigger.prototype.show = function show() {
- this.setState({ show: true });
- };
-
- OverlayTrigger.prototype.renderOverlay = function renderOverlay() {
- _reactDom2.default.unstable_renderSubtreeIntoContainer(this, this._overlay, this._mountNode);
- };
-
- OverlayTrigger.prototype.render = function render() {
- var _props = this.props,
- trigger = _props.trigger,
- overlay = _props.overlay,
- children = _props.children,
- onBlur = _props.onBlur,
- onClick = _props.onClick,
- onFocus = _props.onFocus,
- onMouseOut = _props.onMouseOut,
- onMouseOver = _props.onMouseOver,
- props = (0, _objectWithoutProperties3.default)(_props, ['trigger', 'overlay', 'children', 'onBlur', 'onClick', 'onFocus', 'onMouseOut', 'onMouseOver']);
-
-
- delete props.delay;
- delete props.delayShow;
- delete props.delayHide;
- delete props.defaultOverlayShown;
-
- var child = _react2.default.Children.only(children);
- var childProps = child.props;
- var triggerProps = {};
-
- if (this.state.show) {
- triggerProps['aria-describedby'] = overlay.props.id;
- }
-
- // FIXME: The logic here for passing through handlers on this component is
- // inconsistent. We shouldn't be passing any of these props through.
-
- triggerProps.onClick = (0, _createChainedFunction2.default)(childProps.onClick, onClick);
-
- if (isOneOf('click', trigger)) {
- triggerProps.onClick = (0, _createChainedFunction2.default)(triggerProps.onClick, this.handleToggle);
- }
-
- if (isOneOf('hover', trigger)) {
- process.env.NODE_ENV !== 'production' ? (0, _warning2.default)(!(trigger === 'hover'), '[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 = (0, _createChainedFunction2.default)(childProps.onMouseOver, onMouseOver, this.handleMouseOver);
- triggerProps.onMouseOut = (0, _createChainedFunction2.default)(childProps.onMouseOut, onMouseOut, this.handleMouseOut);
- }
-
- if (isOneOf('focus', trigger)) {
- triggerProps.onFocus = (0, _createChainedFunction2.default)(childProps.onFocus, onFocus, this.handleDelayedShow);
- triggerProps.onBlur = (0, _createChainedFunction2.default)(childProps.onBlur, onBlur, this.handleDelayedHide);
- }
-
- this._overlay = this.makeOverlay(overlay, props);
-
- return (0, _react.cloneElement)(child, triggerProps);
- };
-
- return OverlayTrigger;
-}(_react2.default.Component);
-
-OverlayTrigger.propTypes = propTypes;
-OverlayTrigger.defaultProps = defaultProps;
-
-exports.default = OverlayTrigger;
-module.exports = exports['default'];
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(12)))
-
-/***/ }),
-/* 234 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _Overlay = __webpack_require__(122);
-
-var _Overlay2 = _interopRequireDefault(_Overlay);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _Fade = __webpack_require__(121);
-
-var _Fade2 = _interopRequireDefault(_Fade);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = (0, _extends3.default)({}, _Overlay2.default.propTypes, {
-
- /**
- * Set the visibility of the Overlay
- */
- show: _propTypes2.default.bool,
- /**
- * Specify whether the overlay should trigger onHide when the user clicks outside the overlay
- */
- rootClose: _propTypes2.default.bool,
- /**
- * A callback invoked by the overlay when it wishes to be hidden. Required if
- * `rootClose` is specified.
- */
- onHide: _propTypes2.default.func,
-
- /**
- * Use animation
- */
- animation: _propTypes2.default.oneOfType([_propTypes2.default.bool, _elementType2.default]),
-
- /**
- * Callback fired before the Overlay transitions in
- */
- onEnter: _propTypes2.default.func,
-
- /**
- * Callback fired as the Overlay begins to transition in
- */
- onEntering: _propTypes2.default.func,
-
- /**
- * Callback fired after the Overlay finishes transitioning in
- */
- onEntered: _propTypes2.default.func,
-
- /**
- * Callback fired right before the Overlay transitions out
- */
- onExit: _propTypes2.default.func,
-
- /**
- * Callback fired as the Overlay begins to transition out
- */
- onExiting: _propTypes2.default.func,
-
- /**
- * Callback fired after the Overlay finishes transitioning out
- */
- onExited: _propTypes2.default.func,
-
- /**
- * Sets the direction of the Overlay.
- */
- placement: _propTypes2.default.oneOf(['top', 'right', 'bottom', 'left'])
-});
-
-var defaultProps = {
- animation: _Fade2.default,
- rootClose: false,
- show: false,
- placement: 'right'
-};
-
-var Overlay = function (_React$Component) {
- (0, _inherits3.default)(Overlay, _React$Component);
-
- function Overlay() {
- (0, _classCallCheck3.default)(this, Overlay);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- Overlay.prototype.render = function render() {
- var _props = this.props,
- animation = _props.animation,
- children = _props.children,
- props = (0, _objectWithoutProperties3.default)(_props, ['animation', 'children']);
-
-
- var transition = animation === true ? _Fade2.default : animation || null;
-
- var child = void 0;
-
- if (!transition) {
- child = (0, _react.cloneElement)(children, {
- className: (0, _classnames2.default)(children.props.className, 'in')
- });
- } else {
- child = children;
- }
-
- return _react2.default.createElement(
- _Overlay2.default,
- (0, _extends3.default)({}, props, {
- transition: transition
- }),
- child
- );
- };
-
- return Overlay;
-}(_react2.default.Component);
-
-Overlay.propTypes = propTypes;
-Overlay.defaultProps = defaultProps;
-
-exports.default = Overlay;
-module.exports = exports['default'];
-
-/***/ }),
-/* 235 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _componentOrElement = __webpack_require__(61);
-
-var _componentOrElement2 = _interopRequireDefault(_componentOrElement);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _reactDom = __webpack_require__(13);
-
-var _reactDom2 = _interopRequireDefault(_reactDom);
-
-var _calculatePosition = __webpack_require__(236);
-
-var _calculatePosition2 = _interopRequireDefault(_calculatePosition);
-
-var _getContainer = __webpack_require__(63);
-
-var _getContainer2 = _interopRequireDefault(_getContainer);
-
-var _ownerDocument = __webpack_require__(41);
-
-var _ownerDocument2 = _interopRequireDefault(_ownerDocument);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-/**
- * The Position component calculates the coordinates for its child, to position
- * it relative to a `target` component or node. Useful for creating callouts
- * and tooltips, the Position component injects a `style` props with `left` and
- * `top` values for positioning your component.
- *
- * It also injects "arrow" `left`, and `top` values for styling callout arrows
- * for giving your components a sense of directionality.
- */
-var Position = function (_React$Component) {
- _inherits(Position, _React$Component);
-
- function Position(props, context) {
- _classCallCheck(this, Position);
-
- var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context));
-
- _this.getTarget = function () {
- var target = _this.props.target;
-
- var targetElement = typeof target === 'function' ? target() : target;
- return targetElement && _reactDom2.default.findDOMNode(targetElement) || null;
- };
-
- _this.maybeUpdatePosition = function (placementChanged) {
- var target = _this.getTarget();
-
- if (!_this.props.shouldUpdatePosition && target === _this._lastTarget && !placementChanged) {
- return;
- }
-
- _this.updatePosition(target);
- };
-
- _this.state = {
- positionLeft: 0,
- positionTop: 0,
- arrowOffsetLeft: null,
- arrowOffsetTop: null
- };
-
- _this._needsFlush = false;
- _this._lastTarget = null;
- return _this;
- }
-
- Position.prototype.componentDidMount = function componentDidMount() {
- this.updatePosition(this.getTarget());
- };
-
- Position.prototype.componentWillReceiveProps = function componentWillReceiveProps() {
- this._needsFlush = true;
- };
-
- Position.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
- if (this._needsFlush) {
- this._needsFlush = false;
- this.maybeUpdatePosition(this.props.placement !== prevProps.placement);
- }
- };
-
- Position.prototype.render = function render() {
- var _props = this.props,
- children = _props.children,
- className = _props.className,
- props = _objectWithoutProperties(_props, ['children', 'className']);
-
- var _state = this.state,
- positionLeft = _state.positionLeft,
- positionTop = _state.positionTop,
- arrowPosition = _objectWithoutProperties(_state, ['positionLeft', 'positionTop']);
-
- // These should not be forwarded to the child.
-
-
- delete props.target;
- delete props.container;
- delete props.containerPadding;
- delete props.shouldUpdatePosition;
-
- var child = _react2.default.Children.only(children);
- return (0, _react.cloneElement)(child, _extends({}, props, arrowPosition, {
- // FIXME: Don't forward `positionLeft` and `positionTop` via both props
- // and `props.style`.
- positionLeft: positionLeft,
- positionTop: positionTop,
- className: (0, _classnames2.default)(className, child.props.className),
- style: _extends({}, child.props.style, {
- left: positionLeft,
- top: positionTop
- })
- }));
- };
-
- Position.prototype.updatePosition = function updatePosition(target) {
- this._lastTarget = target;
-
- if (!target) {
- this.setState({
- positionLeft: 0,
- positionTop: 0,
- arrowOffsetLeft: null,
- arrowOffsetTop: null
- });
-
- return;
- }
-
- var overlay = _reactDom2.default.findDOMNode(this);
- var container = (0, _getContainer2.default)(this.props.container, (0, _ownerDocument2.default)(this).body);
-
- this.setState((0, _calculatePosition2.default)(this.props.placement, overlay, target, container, this.props.containerPadding));
- };
-
- return Position;
-}(_react2.default.Component);
-
-Position.propTypes = {
- /**
- * A node, element, or function that returns either. The child will be
- * be positioned next to the `target` specified.
- */
- target: _propTypes2.default.oneOfType([_componentOrElement2.default, _propTypes2.default.func]),
-
- /**
- * "offsetParent" of the component
- */
- container: _propTypes2.default.oneOfType([_componentOrElement2.default, _propTypes2.default.func]),
- /**
- * Minimum spacing in pixels between container border and component border
- */
- containerPadding: _propTypes2.default.number,
- /**
- * How to position the component relative to the target
- */
- placement: _propTypes2.default.oneOf(['top', 'right', 'bottom', 'left']),
- /**
- * Whether the position should be changed on each update
- */
- shouldUpdatePosition: _propTypes2.default.bool
-};
-
-Position.displayName = 'Position';
-
-Position.defaultProps = {
- containerPadding: 0,
- placement: 'right',
- shouldUpdatePosition: false
-};
-
-exports.default = Position;
-module.exports = exports['default'];
-
-/***/ }),
-/* 236 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = calculatePosition;
-
-var _offset = __webpack_require__(123);
-
-var _offset2 = _interopRequireDefault(_offset);
-
-var _position = __webpack_require__(237);
-
-var _position2 = _interopRequireDefault(_position);
-
-var _scrollTop = __webpack_require__(124);
-
-var _scrollTop2 = _interopRequireDefault(_scrollTop);
-
-var _ownerDocument = __webpack_require__(41);
-
-var _ownerDocument2 = _interopRequireDefault(_ownerDocument);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function getContainerDimensions(containerNode) {
- var width = void 0,
- height = void 0,
- scroll = void 0;
-
- if (containerNode.tagName === 'BODY') {
- width = window.innerWidth;
- height = window.innerHeight;
-
- scroll = (0, _scrollTop2.default)((0, _ownerDocument2.default)(containerNode).documentElement) || (0, _scrollTop2.default)(containerNode);
- } else {
- var _getOffset = (0, _offset2.default)(containerNode);
-
- width = _getOffset.width;
- height = _getOffset.height;
-
- scroll = (0, _scrollTop2.default)(containerNode);
- }
-
- return { width: width, height: height, scroll: scroll };
-}
-
-function getTopDelta(top, overlayHeight, container, padding) {
- var containerDimensions = getContainerDimensions(container);
- var containerScroll = containerDimensions.scroll;
- var containerHeight = containerDimensions.height;
-
- var topEdgeOffset = top - padding - containerScroll;
- var bottomEdgeOffset = top + padding - containerScroll + overlayHeight;
-
- if (topEdgeOffset < 0) {
- return -topEdgeOffset;
- } else if (bottomEdgeOffset > containerHeight) {
- return containerHeight - bottomEdgeOffset;
- } else {
- return 0;
- }
-}
-
-function getLeftDelta(left, overlayWidth, container, padding) {
- var containerDimensions = getContainerDimensions(container);
- var containerWidth = containerDimensions.width;
-
- var leftEdgeOffset = left - padding;
- var rightEdgeOffset = left + padding + overlayWidth;
-
- if (leftEdgeOffset < 0) {
- return -leftEdgeOffset;
- } else if (rightEdgeOffset > containerWidth) {
- return containerWidth - rightEdgeOffset;
- }
-
- return 0;
-}
-
-function calculatePosition(placement, overlayNode, target, container, padding) {
- var childOffset = container.tagName === 'BODY' ? (0, _offset2.default)(target) : (0, _position2.default)(target, container);
-
- var _getOffset2 = (0, _offset2.default)(overlayNode),
- overlayHeight = _getOffset2.height,
- overlayWidth = _getOffset2.width;
-
- var positionLeft = void 0,
- positionTop = void 0,
- arrowOffsetLeft = void 0,
- arrowOffsetTop = void 0;
-
- if (placement === 'left' || placement === 'right') {
- positionTop = childOffset.top + (childOffset.height - overlayHeight) / 2;
-
- if (placement === 'left') {
- positionLeft = childOffset.left - overlayWidth;
- } else {
- positionLeft = childOffset.left + childOffset.width;
- }
-
- var topDelta = getTopDelta(positionTop, overlayHeight, container, padding);
-
- positionTop += topDelta;
- arrowOffsetTop = 50 * (1 - 2 * topDelta / overlayHeight) + '%';
- arrowOffsetLeft = void 0;
- } else if (placement === 'top' || placement === 'bottom') {
- positionLeft = childOffset.left + (childOffset.width - overlayWidth) / 2;
-
- if (placement === 'top') {
- positionTop = childOffset.top - overlayHeight;
- } else {
- positionTop = childOffset.top + childOffset.height;
- }
-
- var leftDelta = getLeftDelta(positionLeft, overlayWidth, container, padding);
-
- positionLeft += leftDelta;
- arrowOffsetLeft = 50 * (1 - 2 * leftDelta / overlayWidth) + '%';
- arrowOffsetTop = void 0;
- } else {
- throw new Error('calcOverlayPosition(): No such placement of "' + placement + '" found.');
- }
-
- return { positionLeft: positionLeft, positionTop: positionTop, arrowOffsetLeft: arrowOffsetLeft, arrowOffsetTop: arrowOffsetTop };
-}
-module.exports = exports['default'];
-
-/***/ }),
-/* 237 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = position;
-
-var _extends2 = _interopRequireDefault(__webpack_require__(58));
-
-var _offset = _interopRequireDefault(__webpack_require__(123));
-
-var _offsetParent = _interopRequireDefault(__webpack_require__(238));
-
-var _scrollTop = _interopRequireDefault(__webpack_require__(124));
-
-var _scrollLeft = _interopRequireDefault(__webpack_require__(239));
-
-var _style = _interopRequireDefault(__webpack_require__(54));
-
-function nodeName(node) {
- return node.nodeName && node.nodeName.toLowerCase();
-}
-
-function position(node, offsetParent) {
- var parentOffset = {
- top: 0,
- left: 0
- },
- offset; // Fixed elements are offset from window (parentOffset = {top:0, left: 0},
- // because it is its only offset parent
-
- if ((0, _style.default)(node, 'position') === 'fixed') {
- offset = node.getBoundingClientRect();
- } else {
- offsetParent = offsetParent || (0, _offsetParent.default)(node);
- offset = (0, _offset.default)(node);
- if (nodeName(offsetParent) !== 'html') parentOffset = (0, _offset.default)(offsetParent);
- parentOffset.top += parseInt((0, _style.default)(offsetParent, 'borderTopWidth'), 10) - (0, _scrollTop.default)(offsetParent) || 0;
- parentOffset.left += parseInt((0, _style.default)(offsetParent, 'borderLeftWidth'), 10) - (0, _scrollLeft.default)(offsetParent) || 0;
- } // Subtract parent offsets and node margins
-
-
- return (0, _extends2.default)({}, offset, {
- top: offset.top - parentOffset.top - (parseInt((0, _style.default)(node, 'marginTop'), 10) || 0),
- left: offset.left - parentOffset.left - (parseInt((0, _style.default)(node, 'marginLeft'), 10) || 0)
- });
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 238 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = offsetParent;
-
-var _ownerDocument = _interopRequireDefault(__webpack_require__(34));
-
-var _style = _interopRequireDefault(__webpack_require__(54));
-
-function nodeName(node) {
- return node.nodeName && node.nodeName.toLowerCase();
-}
-
-function offsetParent(node) {
- var doc = (0, _ownerDocument.default)(node),
- offsetParent = node && node.offsetParent;
-
- while (offsetParent && nodeName(node) !== 'html' && (0, _style.default)(offsetParent, 'position') === 'static') {
- offsetParent = offsetParent.offsetParent;
- }
-
- return offsetParent || doc.documentElement;
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 239 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var _interopRequireDefault = __webpack_require__(14);
-
-exports.__esModule = true;
-exports.default = scrollTop;
-
-var _isWindow = _interopRequireDefault(__webpack_require__(62));
-
-function scrollTop(node, val) {
- var win = (0, _isWindow.default)(node);
- if (val === undefined) return win ? 'pageXOffset' in win ? win.pageXOffset : win.document.documentElement.scrollLeft : node.scrollLeft;
- if (win) win.scrollTo(val, 'pageYOffset' in win ? win.pageYOffset : win.document.documentElement.scrollTop);else node.scrollLeft = val;
-}
-
-module.exports = exports["default"];
-
-/***/ }),
-/* 240 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _elementType = __webpack_require__(10);
-
-var _elementType2 = _interopRequireDefault(_elementType);
-
-var _SafeAnchor = __webpack_require__(50);
-
-var _SafeAnchor2 = _interopRequireDefault(_SafeAnchor);
-
-var _createChainedFunction = __webpack_require__(24);
-
-var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-// TODO: This should be ``.
-
-// TODO: This should use `componentClass` like other components.
-
-var propTypes = {
- componentClass: _elementType2.default,
- className: _propTypes2.default.string,
- eventKey: _propTypes2.default.any,
- onSelect: _propTypes2.default.func,
- disabled: _propTypes2.default.bool,
- active: _propTypes2.default.bool,
- onClick: _propTypes2.default.func
-};
-
-var defaultProps = {
- componentClass: _SafeAnchor2.default,
- active: false,
- disabled: false
-};
-
-var PaginationButton = function (_React$Component) {
- (0, _inherits3.default)(PaginationButton, _React$Component);
-
- function PaginationButton(props, context) {
- (0, _classCallCheck3.default)(this, PaginationButton);
-
- var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this, props, context));
-
- _this.handleClick = _this.handleClick.bind(_this);
- return _this;
- }
-
- PaginationButton.prototype.handleClick = function handleClick(event) {
- var _props = this.props,
- disabled = _props.disabled,
- onSelect = _props.onSelect,
- eventKey = _props.eventKey;
-
-
- if (disabled) {
- return;
- }
-
- if (onSelect) {
- onSelect(eventKey, event);
- }
- };
-
- PaginationButton.prototype.render = function render() {
- var _props2 = this.props,
- Component = _props2.componentClass,
- active = _props2.active,
- disabled = _props2.disabled,
- onClick = _props2.onClick,
- className = _props2.className,
- style = _props2.style,
- props = (0, _objectWithoutProperties3.default)(_props2, ['componentClass', 'active', 'disabled', 'onClick', 'className', 'style']);
-
-
- if (Component === _SafeAnchor2.default) {
- // Assume that custom components want `eventKey`.
- delete props.eventKey;
- }
-
- delete props.onSelect;
-
- return _react2.default.createElement(
- 'li',
- {
- className: (0, _classnames2.default)(className, { active: active, disabled: disabled }),
- style: style
- },
- _react2.default.createElement(Component, (0, _extends3.default)({}, props, {
- disabled: disabled,
- onClick: (0, _createChainedFunction2.default)(onClick, this.handleClick)
- }))
- );
- };
-
- return PaginationButton;
-}(_react2.default.Component);
-
-PaginationButton.propTypes = propTypes;
-PaginationButton.defaultProps = defaultProps;
-
-exports.default = PaginationButton;
-module.exports = exports['default'];
-
-/***/ }),
-/* 241 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _values = __webpack_require__(27);
-
-var _values2 = _interopRequireDefault(_values);
-
-var _extends3 = __webpack_require__(6);
-
-var _extends4 = _interopRequireDefault(_extends3);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _bootstrapUtils = __webpack_require__(18);
-
-var _StyleConfig = __webpack_require__(49);
-
-var _ValidComponentChildren = __webpack_require__(60);
-
-var _ValidComponentChildren2 = _interopRequireDefault(_ValidComponentChildren);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-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;
-
- _react2.default.Children.forEach(children, function (child) {
- if (error) {
- return;
- }
-
- if (child.type === ProgressBar) {
- // eslint-disable-line no-use-before-define
- return;
- }
-
- var childIdentifier = _react2.default.isValidElement(child) ? child.type.displayName || child.type.name || child.type : child;
- error = new Error('Children of ' + componentName + ' can contain only ProgressBar ' + ('components. Found ' + childIdentifier + '.'));
- });
-
- return error;
-}
-
-var propTypes = {
- min: _propTypes2.default.number,
- now: _propTypes2.default.number,
- max: _propTypes2.default.number,
- label: _propTypes2.default.node,
- srOnly: _propTypes2.default.bool,
- striped: _propTypes2.default.bool,
- active: _propTypes2.default.bool,
- children: onlyProgressBar,
-
- /**
- * @private
- */
- isChild: _propTypes2.default.bool
-};
-
-var defaultProps = {
- min: 0,
- max: 100,
- active: 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;
-}
-
-var ProgressBar = function (_React$Component) {
- (0, _inherits3.default)(ProgressBar, _React$Component);
-
- function ProgressBar() {
- (0, _classCallCheck3.default)(this, ProgressBar);
- return (0, _possibleConstructorReturn3.default)(this, _React$Component.apply(this, arguments));
- }
-
- ProgressBar.prototype.renderProgressBar = function renderProgressBar(_ref) {
- var _extends2;
-
- var min = _ref.min,
- now = _ref.now,
- max = _ref.max,
- label = _ref.label,
- srOnly = _ref.srOnly,
- striped = _ref.striped,
- active = _ref.active,
- className = _ref.className,
- style = _ref.style,
- props = (0, _objectWithoutProperties3.default)(_ref, ['min', 'now', 'max', 'label', 'srOnly', 'striped', 'active', 'className', 'style']);
-
- var _splitBsProps = (0, _bootstrapUtils.splitBsProps)(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = (0, _extends4.default)({}, (0, _bootstrapUtils.getClassSet)(bsProps), (_extends2 = {
- active: active
- }, _extends2[(0, _bootstrapUtils.prefix)(bsProps, 'striped')] = active || striped, _extends2));
-
- return _react2.default.createElement(
- 'div',
- (0, _extends4.default)({}, elementProps, {
- role: 'progressbar',
- className: (0, _classnames2.default)(className, classes),
- style: (0, _extends4.default)({ width: getPercentage(now, min, max) + '%' }, style),
- 'aria-valuenow': now,
- 'aria-valuemin': min,
- 'aria-valuemax': max
- }),
- srOnly ? _react2.default.createElement(
- 'span',
- { className: 'sr-only' },
- label
- ) : label
- );
- };
-
- ProgressBar.prototype.render = function render() {
- var _props = this.props,
- isChild = _props.isChild,
- props = (0, _objectWithoutProperties3.default)(_props, ['isChild']);
-
-
- if (isChild) {
- return this.renderProgressBar(props);
- }
-
- var min = props.min,
- now = props.now,
- max = props.max,
- label = props.label,
- srOnly = props.srOnly,
- striped = props.striped,
- active = props.active,
- bsClass = props.bsClass,
- bsStyle = props.bsStyle,
- className = props.className,
- children = props.children,
- wrapperProps = (0, _objectWithoutProperties3.default)(props, ['min', 'now', 'max', 'label', 'srOnly', 'striped', 'active', 'bsClass', 'bsStyle', 'className', 'children']);
-
-
- return _react2.default.createElement(
- 'div',
- (0, _extends4.default)({}, wrapperProps, {
- className: (0, _classnames2.default)(className, 'progress')
- }),
- children ? _ValidComponentChildren2.default.map(children, function (child) {
- return (0, _react.cloneElement)(child, { isChild: true });
- }) : this.renderProgressBar({
- min: min, now: now, max: max, label: label, srOnly: srOnly, striped: striped, active: active, bsClass: bsClass, bsStyle: bsStyle
- })
- );
- };
-
- return ProgressBar;
-}(_react2.default.Component);
-
-ProgressBar.propTypes = propTypes;
-ProgressBar.defaultProps = defaultProps;
-
-exports.default = (0, _bootstrapUtils.bsClass)('progress-bar', (0, _bootstrapUtils.bsStyles)((0, _values2.default)(_StyleConfig.State), ProgressBar));
-module.exports = exports['default'];
-
-/***/ }),
-/* 242 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _SafeAnchor = __webpack_require__(50);
-
-var _SafeAnchor2 = _interopRequireDefault(_SafeAnchor);
-
-var _createChainedFunction = __webpack_require__(24);
-
-var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var propTypes = {
- active: _propTypes2.default.bool,
- disabled: _propTypes2.default.bool,
- role: _propTypes2.default.string,
- href: _propTypes2.default.string,
- onClick: _propTypes2.default.func,
- onSelect: _propTypes2.default.func,
- eventKey: _propTypes2.default.any
-};
-
-var defaultProps = {
- active: false,
- disabled: false
-};
-
-var NavItem = function (_React$Component) {
- (0, _inherits3.default)(NavItem, _React$Component);
-
- function NavItem(props, context) {
- (0, _classCallCheck3.default)(this, NavItem);
-
- var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this, props, context));
-
- _this.handleClick = _this.handleClick.bind(_this);
- return _this;
- }
-
- NavItem.prototype.handleClick = function handleClick(e) {
- if (this.props.onSelect) {
- e.preventDefault();
-
- if (!this.props.disabled) {
- this.props.onSelect(this.props.eventKey, e);
- }
- }
- };
-
- NavItem.prototype.render = function render() {
- var _props = this.props,
- active = _props.active,
- disabled = _props.disabled,
- onClick = _props.onClick,
- className = _props.className,
- style = _props.style,
- props = (0, _objectWithoutProperties3.default)(_props, ['active', 'disabled', 'onClick', 'className', 'style']);
-
-
- delete props.onSelect;
- delete props.eventKey;
-
- // These are injected down by `` for building ``s.
- delete props.activeKey;
- delete props.activeHref;
-
- if (!props.role) {
- if (props.href === '#') {
- props.role = 'button';
- }
- } else if (props.role === 'tab') {
- props['aria-selected'] = active;
- }
-
- return _react2.default.createElement(
- 'li',
- {
- role: 'presentation',
- className: (0, _classnames2.default)(className, { active: active, disabled: disabled }),
- style: style
- },
- _react2.default.createElement(_SafeAnchor2.default, (0, _extends3.default)({}, props, {
- disabled: disabled,
- onClick: (0, _createChainedFunction2.default)(onClick, this.handleClick)
- }))
- );
- };
-
- return NavItem;
-}(_react2.default.Component);
-
-NavItem.propTypes = propTypes;
-NavItem.defaultProps = defaultProps;
-
-exports.default = NavItem;
-module.exports = exports['default'];
-
-/***/ }),
-/* 243 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 244 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 245 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 246 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 247 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 248 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 249 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 250 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 251 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 252 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 253 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 254 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 255 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 256 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 257 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 258 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 259 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 260 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 261 */
-/***/ (function(module, exports) {
-
-/**
- * Diff Match and Patch
- * Copyright 2018 The diff-match-patch Authors.
- * https://github.com/google/diff-match-patch
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * @fileoverview Computes the difference between two texts to create a patch.
- * Applies the patch onto another text, allowing for errors.
- * @author fraser@google.com (Neil Fraser)
- */
-
-/**
- * Class containing the diff, match and patch methods.
- * @constructor
- */
-function diff_match_patch() {
-
- // Defaults.
- // Redefine these in your program to override the defaults.
-
- // Number of seconds to map a diff before giving up (0 for infinity).
- this.Diff_Timeout = 1.0;
- // Cost of an empty edit operation in terms of edit characters.
- this.Diff_EditCost = 4;
- // At what point is no match declared (0.0 = perfection, 1.0 = very loose).
- this.Match_Threshold = 0.5;
- // How far to search for a match (0 = exact location, 1000+ = broad match).
- // A match this many characters away from the expected location will add
- // 1.0 to the score (0.0 is a perfect match).
- this.Match_Distance = 1000;
- // When deleting a large block of text (over ~64 characters), how close do
- // the contents have to be to match the expected contents. (0.0 = perfection,
- // 1.0 = very loose). Note that Match_Threshold controls how closely the
- // end points of a delete need to match.
- this.Patch_DeleteThreshold = 0.5;
- // Chunk size for context length.
- this.Patch_Margin = 4;
-
- // The number of bits in an int.
- this.Match_MaxBits = 32;
-}
-
-
-// DIFF FUNCTIONS
-
-
-/**
- * The data structure representing a diff is an array of tuples:
- * [[DIFF_DELETE, 'Hello'], [DIFF_INSERT, 'Goodbye'], [DIFF_EQUAL, ' world.']]
- * which means: delete 'Hello', add 'Goodbye' and keep ' world.'
- */
-var DIFF_DELETE = -1;
-var DIFF_INSERT = 1;
-var DIFF_EQUAL = 0;
-
-/** @typedef {{0: number, 1: string}} */
-diff_match_patch.Diff;
-
-
-/**
- * Find the differences between two texts. Simplifies the problem by stripping
- * any common prefix or suffix off the texts before diffing.
- * @param {string} text1 Old string to be diffed.
- * @param {string} text2 New string to be diffed.
- * @param {boolean=} opt_checklines Optional speedup flag. If present and false,
- * then don't run a line-level diff first to identify the changed areas.
- * Defaults to true, which does a faster, slightly less optimal diff.
- * @param {number} opt_deadline Optional time when the diff should be complete
- * by. Used internally for recursive calls. Users should set DiffTimeout
- * instead.
- * @return {!Array.} Array of diff tuples.
- */
-diff_match_patch.prototype.diff_main = function(text1, text2, opt_checklines,
- opt_deadline) {
- // Set a deadline by which time the diff must be complete.
- if (typeof opt_deadline == 'undefined') {
- if (this.Diff_Timeout <= 0) {
- opt_deadline = Number.MAX_VALUE;
- } else {
- opt_deadline = (new Date).getTime() + this.Diff_Timeout * 1000;
- }
- }
- var deadline = opt_deadline;
-
- // Check for null inputs.
- if (text1 == null || text2 == null) {
- throw new Error('Null input. (diff_main)');
- }
-
- // Check for equality (speedup).
- if (text1 == text2) {
- if (text1) {
- return [[DIFF_EQUAL, text1]];
- }
- return [];
- }
-
- if (typeof opt_checklines == 'undefined') {
- opt_checklines = true;
- }
- var checklines = opt_checklines;
-
- // Trim off common prefix (speedup).
- var commonlength = this.diff_commonPrefix(text1, text2);
- var commonprefix = text1.substring(0, commonlength);
- text1 = text1.substring(commonlength);
- text2 = text2.substring(commonlength);
-
- // Trim off common suffix (speedup).
- commonlength = this.diff_commonSuffix(text1, text2);
- var commonsuffix = text1.substring(text1.length - commonlength);
- text1 = text1.substring(0, text1.length - commonlength);
- text2 = text2.substring(0, text2.length - commonlength);
-
- // Compute the diff on the middle block.
- var diffs = this.diff_compute_(text1, text2, checklines, deadline);
-
- // Restore the prefix and suffix.
- if (commonprefix) {
- diffs.unshift([DIFF_EQUAL, commonprefix]);
- }
- if (commonsuffix) {
- diffs.push([DIFF_EQUAL, commonsuffix]);
- }
- this.diff_cleanupMerge(diffs);
- return diffs;
-};
-
-
-/**
- * Find the differences between two texts. Assumes that the texts do not
- * have any common prefix or suffix.
- * @param {string} text1 Old string to be diffed.
- * @param {string} text2 New string to be diffed.
- * @param {boolean} checklines Speedup flag. If false, then don't run a
- * line-level diff first to identify the changed areas.
- * If true, then run a faster, slightly less optimal diff.
- * @param {number} deadline Time when the diff should be complete by.
- * @return {!Array.} Array of diff tuples.
- * @private
- */
-diff_match_patch.prototype.diff_compute_ = function(text1, text2, checklines,
- deadline) {
- var diffs;
-
- if (!text1) {
- // Just add some text (speedup).
- return [[DIFF_INSERT, text2]];
- }
-
- if (!text2) {
- // Just delete some text (speedup).
- return [[DIFF_DELETE, text1]];
- }
-
- var longtext = text1.length > text2.length ? text1 : text2;
- var shorttext = text1.length > text2.length ? text2 : text1;
- var i = longtext.indexOf(shorttext);
- if (i != -1) {
- // Shorter text is inside the longer text (speedup).
- diffs = [[DIFF_INSERT, longtext.substring(0, i)],
- [DIFF_EQUAL, shorttext],
- [DIFF_INSERT, longtext.substring(i + shorttext.length)]];
- // Swap insertions for deletions if diff is reversed.
- if (text1.length > text2.length) {
- diffs[0][0] = diffs[2][0] = DIFF_DELETE;
- }
- return diffs;
- }
-
- if (shorttext.length == 1) {
- // Single character string.
- // After the previous speedup, the character can't be an equality.
- return [[DIFF_DELETE, text1], [DIFF_INSERT, text2]];
- }
-
- // Check to see if the problem can be split in two.
- var hm = this.diff_halfMatch_(text1, text2);
- if (hm) {
- // A half-match was found, sort out the return data.
- var text1_a = hm[0];
- var text1_b = hm[1];
- var text2_a = hm[2];
- var text2_b = hm[3];
- var mid_common = hm[4];
- // Send both pairs off for separate processing.
- var diffs_a = this.diff_main(text1_a, text2_a, checklines, deadline);
- var diffs_b = this.diff_main(text1_b, text2_b, checklines, deadline);
- // Merge the results.
- return diffs_a.concat([[DIFF_EQUAL, mid_common]], diffs_b);
- }
-
- if (checklines && text1.length > 100 && text2.length > 100) {
- return this.diff_lineMode_(text1, text2, deadline);
- }
-
- return this.diff_bisect_(text1, text2, deadline);
-};
-
-
-/**
- * Do a quick line-level diff on both strings, then rediff the parts for
- * greater accuracy.
- * This speedup can produce non-minimal diffs.
- * @param {string} text1 Old string to be diffed.
- * @param {string} text2 New string to be diffed.
- * @param {number} deadline Time when the diff should be complete by.
- * @return {!Array.} Array of diff tuples.
- * @private
- */
-diff_match_patch.prototype.diff_lineMode_ = function(text1, text2, deadline) {
- // Scan the text on a line-by-line basis first.
- var a = this.diff_linesToChars_(text1, text2);
- text1 = a.chars1;
- text2 = a.chars2;
- var linearray = a.lineArray;
-
- var diffs = this.diff_main(text1, text2, false, deadline);
-
- // Convert the diff back to original text.
- this.diff_charsToLines_(diffs, linearray);
- // Eliminate freak matches (e.g. blank lines)
- this.diff_cleanupSemantic(diffs);
-
- // Rediff any replacement blocks, this time character-by-character.
- // Add a dummy entry at the end.
- diffs.push([DIFF_EQUAL, '']);
- var pointer = 0;
- var count_delete = 0;
- var count_insert = 0;
- var text_delete = '';
- var text_insert = '';
- while (pointer < diffs.length) {
- switch (diffs[pointer][0]) {
- case DIFF_INSERT:
- count_insert++;
- text_insert += diffs[pointer][1];
- break;
- case DIFF_DELETE:
- count_delete++;
- text_delete += diffs[pointer][1];
- break;
- case DIFF_EQUAL:
- // Upon reaching an equality, check for prior redundancies.
- if (count_delete >= 1 && count_insert >= 1) {
- // Delete the offending records and add the merged ones.
- diffs.splice(pointer - count_delete - count_insert,
- count_delete + count_insert);
- pointer = pointer - count_delete - count_insert;
- var a = this.diff_main(text_delete, text_insert, false, deadline);
- for (var j = a.length - 1; j >= 0; j--) {
- diffs.splice(pointer, 0, a[j]);
- }
- pointer = pointer + a.length;
- }
- count_insert = 0;
- count_delete = 0;
- text_delete = '';
- text_insert = '';
- break;
- }
- pointer++;
- }
- diffs.pop(); // Remove the dummy entry at the end.
-
- return diffs;
-};
-
-
-/**
- * Find the 'middle snake' of a diff, split the problem in two
- * and return the recursively constructed diff.
- * See Myers 1986 paper: An O(ND) Difference Algorithm and Its Variations.
- * @param {string} text1 Old string to be diffed.
- * @param {string} text2 New string to be diffed.
- * @param {number} deadline Time at which to bail if not yet complete.
- * @return {!Array.} Array of diff tuples.
- * @private
- */
-diff_match_patch.prototype.diff_bisect_ = function(text1, text2, deadline) {
- // Cache the text lengths to prevent multiple calls.
- var text1_length = text1.length;
- var text2_length = text2.length;
- var max_d = Math.ceil((text1_length + text2_length) / 2);
- var v_offset = max_d;
- var v_length = 2 * max_d;
- var v1 = new Array(v_length);
- var v2 = new Array(v_length);
- // Setting all elements to -1 is faster in Chrome & Firefox than mixing
- // integers and undefined.
- for (var x = 0; x < v_length; x++) {
- v1[x] = -1;
- v2[x] = -1;
- }
- v1[v_offset + 1] = 0;
- v2[v_offset + 1] = 0;
- var delta = text1_length - text2_length;
- // If the total number of characters is odd, then the front path will collide
- // with the reverse path.
- var front = (delta % 2 != 0);
- // Offsets for start and end of k loop.
- // Prevents mapping of space beyond the grid.
- var k1start = 0;
- var k1end = 0;
- var k2start = 0;
- var k2end = 0;
- for (var d = 0; d < max_d; d++) {
- // Bail out if deadline is reached.
- if ((new Date()).getTime() > deadline) {
- break;
- }
-
- // Walk the front path one step.
- for (var k1 = -d + k1start; k1 <= d - k1end; k1 += 2) {
- var k1_offset = v_offset + k1;
- var x1;
- if (k1 == -d || (k1 != d && v1[k1_offset - 1] < v1[k1_offset + 1])) {
- x1 = v1[k1_offset + 1];
- } else {
- x1 = v1[k1_offset - 1] + 1;
- }
- var y1 = x1 - k1;
- while (x1 < text1_length && y1 < text2_length &&
- text1.charAt(x1) == text2.charAt(y1)) {
- x1++;
- y1++;
- }
- v1[k1_offset] = x1;
- if (x1 > text1_length) {
- // Ran off the right of the graph.
- k1end += 2;
- } else if (y1 > text2_length) {
- // Ran off the bottom of the graph.
- k1start += 2;
- } else if (front) {
- var k2_offset = v_offset + delta - k1;
- if (k2_offset >= 0 && k2_offset < v_length && v2[k2_offset] != -1) {
- // Mirror x2 onto top-left coordinate system.
- var x2 = text1_length - v2[k2_offset];
- if (x1 >= x2) {
- // Overlap detected.
- return this.diff_bisectSplit_(text1, text2, x1, y1, deadline);
- }
- }
- }
- }
-
- // Walk the reverse path one step.
- for (var k2 = -d + k2start; k2 <= d - k2end; k2 += 2) {
- var k2_offset = v_offset + k2;
- var x2;
- if (k2 == -d || (k2 != d && v2[k2_offset - 1] < v2[k2_offset + 1])) {
- x2 = v2[k2_offset + 1];
- } else {
- x2 = v2[k2_offset - 1] + 1;
- }
- var y2 = x2 - k2;
- while (x2 < text1_length && y2 < text2_length &&
- text1.charAt(text1_length - x2 - 1) ==
- text2.charAt(text2_length - y2 - 1)) {
- x2++;
- y2++;
- }
- v2[k2_offset] = x2;
- if (x2 > text1_length) {
- // Ran off the left of the graph.
- k2end += 2;
- } else if (y2 > text2_length) {
- // Ran off the top of the graph.
- k2start += 2;
- } else if (!front) {
- var k1_offset = v_offset + delta - k2;
- if (k1_offset >= 0 && k1_offset < v_length && v1[k1_offset] != -1) {
- var x1 = v1[k1_offset];
- var y1 = v_offset + x1 - k1_offset;
- // Mirror x2 onto top-left coordinate system.
- x2 = text1_length - x2;
- if (x1 >= x2) {
- // Overlap detected.
- return this.diff_bisectSplit_(text1, text2, x1, y1, deadline);
- }
- }
- }
- }
- }
- // Diff took too long and hit the deadline or
- // number of diffs equals number of characters, no commonality at all.
- return [[DIFF_DELETE, text1], [DIFF_INSERT, text2]];
-};
-
-
-/**
- * Given the location of the 'middle snake', split the diff in two parts
- * and recurse.
- * @param {string} text1 Old string to be diffed.
- * @param {string} text2 New string to be diffed.
- * @param {number} x Index of split point in text1.
- * @param {number} y Index of split point in text2.
- * @param {number} deadline Time at which to bail if not yet complete.
- * @return {!Array.} Array of diff tuples.
- * @private
- */
-diff_match_patch.prototype.diff_bisectSplit_ = function(text1, text2, x, y,
- deadline) {
- var text1a = text1.substring(0, x);
- var text2a = text2.substring(0, y);
- var text1b = text1.substring(x);
- var text2b = text2.substring(y);
-
- // Compute both diffs serially.
- var diffs = this.diff_main(text1a, text2a, false, deadline);
- var diffsb = this.diff_main(text1b, text2b, false, deadline);
-
- return diffs.concat(diffsb);
-};
-
-
-/**
- * Split two texts into an array of strings. Reduce the texts to a string of
- * hashes where each Unicode character represents one line.
- * @param {string} text1 First string.
- * @param {string} text2 Second string.
- * @return {{chars1: string, chars2: string, lineArray: !Array.}}
- * An object containing the encoded text1, the encoded text2 and
- * the array of unique strings.
- * The zeroth element of the array of unique strings is intentionally blank.
- * @private
- */
-diff_match_patch.prototype.diff_linesToChars_ = function(text1, text2) {
- var lineArray = []; // e.g. lineArray[4] == 'Hello\n'
- var lineHash = {}; // e.g. lineHash['Hello\n'] == 4
-
- // '\x00' is a valid character, but various debuggers don't like it.
- // So we'll insert a junk entry to avoid generating a null character.
- lineArray[0] = '';
-
- /**
- * Split a text into an array of strings. Reduce the texts to a string of
- * hashes where each Unicode character represents one line.
- * Modifies linearray and linehash through being a closure.
- * @param {string} text String to encode.
- * @return {string} Encoded string.
- * @private
- */
- function diff_linesToCharsMunge_(text) {
- var chars = '';
- // Walk the text, pulling out a substring for each line.
- // text.split('\n') would would temporarily double our memory footprint.
- // Modifying text would create many large strings to garbage collect.
- var lineStart = 0;
- var lineEnd = -1;
- // Keeping our own length variable is faster than looking it up.
- var lineArrayLength = lineArray.length;
- while (lineEnd < text.length - 1) {
- lineEnd = text.indexOf('\n', lineStart);
- if (lineEnd == -1) {
- lineEnd = text.length - 1;
- }
- var line = text.substring(lineStart, lineEnd + 1);
- lineStart = lineEnd + 1;
-
- if (lineHash.hasOwnProperty ? lineHash.hasOwnProperty(line) :
- (lineHash[line] !== undefined)) {
- chars += String.fromCharCode(lineHash[line]);
- } else {
- chars += String.fromCharCode(lineArrayLength);
- lineHash[line] = lineArrayLength;
- lineArray[lineArrayLength++] = line;
- }
- }
- return chars;
- }
-
- var chars1 = diff_linesToCharsMunge_(text1);
- var chars2 = diff_linesToCharsMunge_(text2);
- return {chars1: chars1, chars2: chars2, lineArray: lineArray};
-};
-
-
-/**
- * Rehydrate the text in a diff from a string of line hashes to real lines of
- * text.
- * @param {!Array.} diffs Array of diff tuples.
- * @param {!Array.} lineArray Array of unique strings.
- * @private
- */
-diff_match_patch.prototype.diff_charsToLines_ = function(diffs, lineArray) {
- for (var x = 0; x < diffs.length; x++) {
- var chars = diffs[x][1];
- var text = [];
- for (var y = 0; y < chars.length; y++) {
- text[y] = lineArray[chars.charCodeAt(y)];
- }
- diffs[x][1] = text.join('');
- }
-};
-
-
-/**
- * Determine the common prefix of two strings.
- * @param {string} text1 First string.
- * @param {string} text2 Second string.
- * @return {number} The number of characters common to the start of each
- * string.
- */
-diff_match_patch.prototype.diff_commonPrefix = function(text1, text2) {
- // Quick check for common null cases.
- if (!text1 || !text2 || text1.charAt(0) != text2.charAt(0)) {
- return 0;
- }
- // Binary search.
- // Performance analysis: http://neil.fraser.name/news/2007/10/09/
- var pointermin = 0;
- var pointermax = Math.min(text1.length, text2.length);
- var pointermid = pointermax;
- var pointerstart = 0;
- while (pointermin < pointermid) {
- if (text1.substring(pointerstart, pointermid) ==
- text2.substring(pointerstart, pointermid)) {
- pointermin = pointermid;
- pointerstart = pointermin;
- } else {
- pointermax = pointermid;
- }
- pointermid = Math.floor((pointermax - pointermin) / 2 + pointermin);
- }
- return pointermid;
-};
-
-
-/**
- * Determine the common suffix of two strings.
- * @param {string} text1 First string.
- * @param {string} text2 Second string.
- * @return {number} The number of characters common to the end of each string.
- */
-diff_match_patch.prototype.diff_commonSuffix = function(text1, text2) {
- // Quick check for common null cases.
- if (!text1 || !text2 ||
- text1.charAt(text1.length - 1) != text2.charAt(text2.length - 1)) {
- return 0;
- }
- // Binary search.
- // Performance analysis: http://neil.fraser.name/news/2007/10/09/
- var pointermin = 0;
- var pointermax = Math.min(text1.length, text2.length);
- var pointermid = pointermax;
- var pointerend = 0;
- while (pointermin < pointermid) {
- if (text1.substring(text1.length - pointermid, text1.length - pointerend) ==
- text2.substring(text2.length - pointermid, text2.length - pointerend)) {
- pointermin = pointermid;
- pointerend = pointermin;
- } else {
- pointermax = pointermid;
- }
- pointermid = Math.floor((pointermax - pointermin) / 2 + pointermin);
- }
- return pointermid;
-};
-
-
-/**
- * Determine if the suffix of one string is the prefix of another.
- * @param {string} text1 First string.
- * @param {string} text2 Second string.
- * @return {number} The number of characters common to the end of the first
- * string and the start of the second string.
- * @private
- */
-diff_match_patch.prototype.diff_commonOverlap_ = function(text1, text2) {
- // Cache the text lengths to prevent multiple calls.
- var text1_length = text1.length;
- var text2_length = text2.length;
- // Eliminate the null case.
- if (text1_length == 0 || text2_length == 0) {
- return 0;
- }
- // Truncate the longer string.
- if (text1_length > text2_length) {
- text1 = text1.substring(text1_length - text2_length);
- } else if (text1_length < text2_length) {
- text2 = text2.substring(0, text1_length);
- }
- var text_length = Math.min(text1_length, text2_length);
- // Quick check for the worst case.
- if (text1 == text2) {
- return text_length;
- }
-
- // Start by looking for a single character match
- // and increase length until no match is found.
- // Performance analysis: http://neil.fraser.name/news/2010/11/04/
- var best = 0;
- var length = 1;
- while (true) {
- var pattern = text1.substring(text_length - length);
- var found = text2.indexOf(pattern);
- if (found == -1) {
- return best;
- }
- length += found;
- if (found == 0 || text1.substring(text_length - length) ==
- text2.substring(0, length)) {
- best = length;
- length++;
- }
- }
-};
-
-
-/**
- * Do the two texts share a substring which is at least half the length of the
- * longer text?
- * This speedup can produce non-minimal diffs.
- * @param {string} text1 First string.
- * @param {string} text2 Second string.
- * @return {Array.} Five element Array, containing the prefix of
- * text1, the suffix of text1, the prefix of text2, the suffix of
- * text2 and the common middle. Or null if there was no match.
- * @private
- */
-diff_match_patch.prototype.diff_halfMatch_ = function(text1, text2) {
- if (this.Diff_Timeout <= 0) {
- // Don't risk returning a non-optimal diff if we have unlimited time.
- return null;
- }
- var longtext = text1.length > text2.length ? text1 : text2;
- var shorttext = text1.length > text2.length ? text2 : text1;
- if (longtext.length < 4 || shorttext.length * 2 < longtext.length) {
- return null; // Pointless.
- }
- var dmp = this; // 'this' becomes 'window' in a closure.
-
- /**
- * Does a substring of shorttext exist within longtext such that the substring
- * is at least half the length of longtext?
- * Closure, but does not reference any external variables.
- * @param {string} longtext Longer string.
- * @param {string} shorttext Shorter string.
- * @param {number} i Start index of quarter length substring within longtext.
- * @return {Array.} Five element Array, containing the prefix of
- * longtext, the suffix of longtext, the prefix of shorttext, the suffix
- * of shorttext and the common middle. Or null if there was no match.
- * @private
- */
- function diff_halfMatchI_(longtext, shorttext, i) {
- // Start with a 1/4 length substring at position i as a seed.
- var seed = longtext.substring(i, i + Math.floor(longtext.length / 4));
- var j = -1;
- var best_common = '';
- var best_longtext_a, best_longtext_b, best_shorttext_a, best_shorttext_b;
- while ((j = shorttext.indexOf(seed, j + 1)) != -1) {
- var prefixLength = dmp.diff_commonPrefix(longtext.substring(i),
- shorttext.substring(j));
- var suffixLength = dmp.diff_commonSuffix(longtext.substring(0, i),
- shorttext.substring(0, j));
- if (best_common.length < suffixLength + prefixLength) {
- best_common = shorttext.substring(j - suffixLength, j) +
- shorttext.substring(j, j + prefixLength);
- best_longtext_a = longtext.substring(0, i - suffixLength);
- best_longtext_b = longtext.substring(i + prefixLength);
- best_shorttext_a = shorttext.substring(0, j - suffixLength);
- best_shorttext_b = shorttext.substring(j + prefixLength);
- }
- }
- if (best_common.length * 2 >= longtext.length) {
- return [best_longtext_a, best_longtext_b,
- best_shorttext_a, best_shorttext_b, best_common];
- } else {
- return null;
- }
- }
-
- // First check if the second quarter is the seed for a half-match.
- var hm1 = diff_halfMatchI_(longtext, shorttext,
- Math.ceil(longtext.length / 4));
- // Check again based on the third quarter.
- var hm2 = diff_halfMatchI_(longtext, shorttext,
- Math.ceil(longtext.length / 2));
- var hm;
- if (!hm1 && !hm2) {
- return null;
- } else if (!hm2) {
- hm = hm1;
- } else if (!hm1) {
- hm = hm2;
- } else {
- // Both matched. Select the longest.
- hm = hm1[4].length > hm2[4].length ? hm1 : hm2;
- }
-
- // A half-match was found, sort out the return data.
- var text1_a, text1_b, text2_a, text2_b;
- if (text1.length > text2.length) {
- text1_a = hm[0];
- text1_b = hm[1];
- text2_a = hm[2];
- text2_b = hm[3];
- } else {
- text2_a = hm[0];
- text2_b = hm[1];
- text1_a = hm[2];
- text1_b = hm[3];
- }
- var mid_common = hm[4];
- return [text1_a, text1_b, text2_a, text2_b, mid_common];
-};
-
-
-/**
- * Reduce the number of edits by eliminating semantically trivial equalities.
- * @param {!Array.} diffs Array of diff tuples.
- */
-diff_match_patch.prototype.diff_cleanupSemantic = function(diffs) {
- var changes = false;
- var equalities = []; // Stack of indices where equalities are found.
- var equalitiesLength = 0; // Keeping our own length var is faster in JS.
- /** @type {?string} */
- var lastequality = null;
- // Always equal to diffs[equalities[equalitiesLength - 1]][1]
- var pointer = 0; // Index of current position.
- // Number of characters that changed prior to the equality.
- var length_insertions1 = 0;
- var length_deletions1 = 0;
- // Number of characters that changed after the equality.
- var length_insertions2 = 0;
- var length_deletions2 = 0;
- while (pointer < diffs.length) {
- if (diffs[pointer][0] == DIFF_EQUAL) { // Equality found.
- equalities[equalitiesLength++] = pointer;
- length_insertions1 = length_insertions2;
- length_deletions1 = length_deletions2;
- length_insertions2 = 0;
- length_deletions2 = 0;
- lastequality = diffs[pointer][1];
- } else { // An insertion or deletion.
- if (diffs[pointer][0] == DIFF_INSERT) {
- length_insertions2 += diffs[pointer][1].length;
- } else {
- length_deletions2 += diffs[pointer][1].length;
- }
- // Eliminate an equality that is smaller or equal to the edits on both
- // sides of it.
- if (lastequality && (lastequality.length <=
- Math.max(length_insertions1, length_deletions1)) &&
- (lastequality.length <= Math.max(length_insertions2,
- length_deletions2))) {
- // Duplicate record.
- diffs.splice(equalities[equalitiesLength - 1], 0,
- [DIFF_DELETE, lastequality]);
- // Change second copy to insert.
- diffs[equalities[equalitiesLength - 1] + 1][0] = DIFF_INSERT;
- // Throw away the equality we just deleted.
- equalitiesLength--;
- // Throw away the previous equality (it needs to be reevaluated).
- equalitiesLength--;
- pointer = equalitiesLength > 0 ? equalities[equalitiesLength - 1] : -1;
- length_insertions1 = 0; // Reset the counters.
- length_deletions1 = 0;
- length_insertions2 = 0;
- length_deletions2 = 0;
- lastequality = null;
- changes = true;
- }
- }
- pointer++;
- }
-
- // Normalize the diff.
- if (changes) {
- this.diff_cleanupMerge(diffs);
- }
- this.diff_cleanupSemanticLossless(diffs);
-
- // Find any overlaps between deletions and insertions.
- // e.g: abcxxxxxxdef
- // -> abcxxxdef
- // e.g: xxxabcdefxxx
- // -> def xxxabc
- // Only extract an overlap if it is as big as the edit ahead or behind it.
- pointer = 1;
- while (pointer < diffs.length) {
- if (diffs[pointer - 1][0] == DIFF_DELETE &&
- diffs[pointer][0] == DIFF_INSERT) {
- var deletion = diffs[pointer - 1][1];
- var insertion = diffs[pointer][1];
- var overlap_length1 = this.diff_commonOverlap_(deletion, insertion);
- var overlap_length2 = this.diff_commonOverlap_(insertion, deletion);
- if (overlap_length1 >= overlap_length2) {
- if (overlap_length1 >= deletion.length / 2 ||
- overlap_length1 >= insertion.length / 2) {
- // Overlap found. Insert an equality and trim the surrounding edits.
- diffs.splice(pointer, 0,
- [DIFF_EQUAL, insertion.substring(0, overlap_length1)]);
- diffs[pointer - 1][1] =
- deletion.substring(0, deletion.length - overlap_length1);
- diffs[pointer + 1][1] = insertion.substring(overlap_length1);
- pointer++;
- }
- } else {
- if (overlap_length2 >= deletion.length / 2 ||
- overlap_length2 >= insertion.length / 2) {
- // Reverse overlap found.
- // Insert an equality and swap and trim the surrounding edits.
- diffs.splice(pointer, 0,
- [DIFF_EQUAL, deletion.substring(0, overlap_length2)]);
- diffs[pointer - 1][0] = DIFF_INSERT;
- diffs[pointer - 1][1] =
- insertion.substring(0, insertion.length - overlap_length2);
- diffs[pointer + 1][0] = DIFF_DELETE;
- diffs[pointer + 1][1] =
- deletion.substring(overlap_length2);
- pointer++;
- }
- }
- pointer++;
- }
- pointer++;
- }
-};
-
-
-/**
- * Look for single edits surrounded on both sides by equalities
- * which can be shifted sideways to align the edit to a word boundary.
- * e.g: The cat c ame. -> The cat came.
- * @param {!Array.} diffs Array of diff tuples.
- */
-diff_match_patch.prototype.diff_cleanupSemanticLossless = function(diffs) {
- /**
- * Given two strings, compute a score representing whether the internal
- * boundary falls on logical boundaries.
- * Scores range from 6 (best) to 0 (worst).
- * Closure, but does not reference any external variables.
- * @param {string} one First string.
- * @param {string} two Second string.
- * @return {number} The score.
- * @private
- */
- function diff_cleanupSemanticScore_(one, two) {
- if (!one || !two) {
- // Edges are the best.
- return 6;
- }
-
- // Each port of this function behaves slightly differently due to
- // subtle differences in each language's definition of things like
- // 'whitespace'. Since this function's purpose is largely cosmetic,
- // the choice has been made to use each language's native features
- // rather than force total conformity.
- var char1 = one.charAt(one.length - 1);
- var char2 = two.charAt(0);
- var nonAlphaNumeric1 = char1.match(diff_match_patch.nonAlphaNumericRegex_);
- var nonAlphaNumeric2 = char2.match(diff_match_patch.nonAlphaNumericRegex_);
- var whitespace1 = nonAlphaNumeric1 &&
- char1.match(diff_match_patch.whitespaceRegex_);
- var whitespace2 = nonAlphaNumeric2 &&
- char2.match(diff_match_patch.whitespaceRegex_);
- var lineBreak1 = whitespace1 &&
- char1.match(diff_match_patch.linebreakRegex_);
- var lineBreak2 = whitespace2 &&
- char2.match(diff_match_patch.linebreakRegex_);
- var blankLine1 = lineBreak1 &&
- one.match(diff_match_patch.blanklineEndRegex_);
- var blankLine2 = lineBreak2 &&
- two.match(diff_match_patch.blanklineStartRegex_);
-
- if (blankLine1 || blankLine2) {
- // Five points for blank lines.
- return 5;
- } else if (lineBreak1 || lineBreak2) {
- // Four points for line breaks.
- return 4;
- } else if (nonAlphaNumeric1 && !whitespace1 && whitespace2) {
- // Three points for end of sentences.
- return 3;
- } else if (whitespace1 || whitespace2) {
- // Two points for whitespace.
- return 2;
- } else if (nonAlphaNumeric1 || nonAlphaNumeric2) {
- // One point for non-alphanumeric.
- return 1;
- }
- return 0;
- }
-
- var pointer = 1;
- // Intentionally ignore the first and last element (don't need checking).
- while (pointer < diffs.length - 1) {
- if (diffs[pointer - 1][0] == DIFF_EQUAL &&
- diffs[pointer + 1][0] == DIFF_EQUAL) {
- // This is a single edit surrounded by equalities.
- var equality1 = diffs[pointer - 1][1];
- var edit = diffs[pointer][1];
- var equality2 = diffs[pointer + 1][1];
-
- // First, shift the edit as far left as possible.
- var commonOffset = this.diff_commonSuffix(equality1, edit);
- if (commonOffset) {
- var commonString = edit.substring(edit.length - commonOffset);
- equality1 = equality1.substring(0, equality1.length - commonOffset);
- edit = commonString + edit.substring(0, edit.length - commonOffset);
- equality2 = commonString + equality2;
- }
-
- // Second, step character by character right, looking for the best fit.
- var bestEquality1 = equality1;
- var bestEdit = edit;
- var bestEquality2 = equality2;
- var bestScore = diff_cleanupSemanticScore_(equality1, edit) +
- diff_cleanupSemanticScore_(edit, equality2);
- while (edit.charAt(0) === equality2.charAt(0)) {
- equality1 += edit.charAt(0);
- edit = edit.substring(1) + equality2.charAt(0);
- equality2 = equality2.substring(1);
- var score = diff_cleanupSemanticScore_(equality1, edit) +
- diff_cleanupSemanticScore_(edit, equality2);
- // The >= encourages trailing rather than leading whitespace on edits.
- if (score >= bestScore) {
- bestScore = score;
- bestEquality1 = equality1;
- bestEdit = edit;
- bestEquality2 = equality2;
- }
- }
-
- if (diffs[pointer - 1][1] != bestEquality1) {
- // We have an improvement, save it back to the diff.
- if (bestEquality1) {
- diffs[pointer - 1][1] = bestEquality1;
- } else {
- diffs.splice(pointer - 1, 1);
- pointer--;
- }
- diffs[pointer][1] = bestEdit;
- if (bestEquality2) {
- diffs[pointer + 1][1] = bestEquality2;
- } else {
- diffs.splice(pointer + 1, 1);
- pointer--;
- }
- }
- }
- pointer++;
- }
-};
-
-// Define some regex patterns for matching boundaries.
-diff_match_patch.nonAlphaNumericRegex_ = /[^a-zA-Z0-9]/;
-diff_match_patch.whitespaceRegex_ = /\s/;
-diff_match_patch.linebreakRegex_ = /[\r\n]/;
-diff_match_patch.blanklineEndRegex_ = /\n\r?\n$/;
-diff_match_patch.blanklineStartRegex_ = /^\r?\n\r?\n/;
-
-/**
- * Reduce the number of edits by eliminating operationally trivial equalities.
- * @param {!Array.} diffs Array of diff tuples.
- */
-diff_match_patch.prototype.diff_cleanupEfficiency = function(diffs) {
- var changes = false;
- var equalities = []; // Stack of indices where equalities are found.
- var equalitiesLength = 0; // Keeping our own length var is faster in JS.
- /** @type {?string} */
- var lastequality = null;
- // Always equal to diffs[equalities[equalitiesLength - 1]][1]
- var pointer = 0; // Index of current position.
- // Is there an insertion operation before the last equality.
- var pre_ins = false;
- // Is there a deletion operation before the last equality.
- var pre_del = false;
- // Is there an insertion operation after the last equality.
- var post_ins = false;
- // Is there a deletion operation after the last equality.
- var post_del = false;
- while (pointer < diffs.length) {
- if (diffs[pointer][0] == DIFF_EQUAL) { // Equality found.
- if (diffs[pointer][1].length < this.Diff_EditCost &&
- (post_ins || post_del)) {
- // Candidate found.
- equalities[equalitiesLength++] = pointer;
- pre_ins = post_ins;
- pre_del = post_del;
- lastequality = diffs[pointer][1];
- } else {
- // Not a candidate, and can never become one.
- equalitiesLength = 0;
- lastequality = null;
- }
- post_ins = post_del = false;
- } else { // An insertion or deletion.
- if (diffs[pointer][0] == DIFF_DELETE) {
- post_del = true;
- } else {
- post_ins = true;
- }
- /*
- * Five types to be split:
- * A BXYC D
- * A XC D
- * A BXC
- * AXC D
- * A BXC
- */
- if (lastequality && ((pre_ins && pre_del && post_ins && post_del) ||
- ((lastequality.length < this.Diff_EditCost / 2) &&
- (pre_ins + pre_del + post_ins + post_del) == 3))) {
- // Duplicate record.
- diffs.splice(equalities[equalitiesLength - 1], 0,
- [DIFF_DELETE, lastequality]);
- // Change second copy to insert.
- diffs[equalities[equalitiesLength - 1] + 1][0] = DIFF_INSERT;
- equalitiesLength--; // Throw away the equality we just deleted;
- lastequality = null;
- if (pre_ins && pre_del) {
- // No changes made which could affect previous entry, keep going.
- post_ins = post_del = true;
- equalitiesLength = 0;
- } else {
- equalitiesLength--; // Throw away the previous equality.
- pointer = equalitiesLength > 0 ?
- equalities[equalitiesLength - 1] : -1;
- post_ins = post_del = false;
- }
- changes = true;
- }
- }
- pointer++;
- }
-
- if (changes) {
- this.diff_cleanupMerge(diffs);
- }
-};
-
-
-/**
- * Reorder and merge like edit sections. Merge equalities.
- * Any edit section can move as long as it doesn't cross an equality.
- * @param {!Array.} diffs Array of diff tuples.
- */
-diff_match_patch.prototype.diff_cleanupMerge = function(diffs) {
- diffs.push([DIFF_EQUAL, '']); // Add a dummy entry at the end.
- var pointer = 0;
- var count_delete = 0;
- var count_insert = 0;
- var text_delete = '';
- var text_insert = '';
- var commonlength;
- while (pointer < diffs.length) {
- switch (diffs[pointer][0]) {
- case DIFF_INSERT:
- count_insert++;
- text_insert += diffs[pointer][1];
- pointer++;
- break;
- case DIFF_DELETE:
- count_delete++;
- text_delete += diffs[pointer][1];
- pointer++;
- break;
- case DIFF_EQUAL:
- // Upon reaching an equality, check for prior redundancies.
- if (count_delete + count_insert > 1) {
- if (count_delete !== 0 && count_insert !== 0) {
- // Factor out any common prefixies.
- commonlength = this.diff_commonPrefix(text_insert, text_delete);
- if (commonlength !== 0) {
- if ((pointer - count_delete - count_insert) > 0 &&
- diffs[pointer - count_delete - count_insert - 1][0] ==
- DIFF_EQUAL) {
- diffs[pointer - count_delete - count_insert - 1][1] +=
- text_insert.substring(0, commonlength);
- } else {
- diffs.splice(0, 0, [DIFF_EQUAL,
- text_insert.substring(0, commonlength)]);
- pointer++;
- }
- text_insert = text_insert.substring(commonlength);
- text_delete = text_delete.substring(commonlength);
- }
- // Factor out any common suffixies.
- commonlength = this.diff_commonSuffix(text_insert, text_delete);
- if (commonlength !== 0) {
- diffs[pointer][1] = text_insert.substring(text_insert.length -
- commonlength) + diffs[pointer][1];
- text_insert = text_insert.substring(0, text_insert.length -
- commonlength);
- text_delete = text_delete.substring(0, text_delete.length -
- commonlength);
- }
- }
- // Delete the offending records and add the merged ones.
- if (count_delete === 0) {
- diffs.splice(pointer - count_insert,
- count_delete + count_insert, [DIFF_INSERT, text_insert]);
- } else if (count_insert === 0) {
- diffs.splice(pointer - count_delete,
- count_delete + count_insert, [DIFF_DELETE, text_delete]);
- } else {
- diffs.splice(pointer - count_delete - count_insert,
- count_delete + count_insert, [DIFF_DELETE, text_delete],
- [DIFF_INSERT, text_insert]);
- }
- pointer = pointer - count_delete - count_insert +
- (count_delete ? 1 : 0) + (count_insert ? 1 : 0) + 1;
- } else if (pointer !== 0 && diffs[pointer - 1][0] == DIFF_EQUAL) {
- // Merge this equality with the previous one.
- diffs[pointer - 1][1] += diffs[pointer][1];
- diffs.splice(pointer, 1);
- } else {
- pointer++;
- }
- count_insert = 0;
- count_delete = 0;
- text_delete = '';
- text_insert = '';
- break;
- }
- }
- if (diffs[diffs.length - 1][1] === '') {
- diffs.pop(); // Remove the dummy entry at the end.
- }
-
- // Second pass: look for single edits surrounded on both sides by equalities
- // which can be shifted sideways to eliminate an equality.
- // e.g: ABA C -> AB AC
- var changes = false;
- pointer = 1;
- // Intentionally ignore the first and last element (don't need checking).
- while (pointer < diffs.length - 1) {
- if (diffs[pointer - 1][0] == DIFF_EQUAL &&
- diffs[pointer + 1][0] == DIFF_EQUAL) {
- // This is a single edit surrounded by equalities.
- if (diffs[pointer][1].substring(diffs[pointer][1].length -
- diffs[pointer - 1][1].length) == diffs[pointer - 1][1]) {
- // Shift the edit over the previous equality.
- diffs[pointer][1] = diffs[pointer - 1][1] +
- diffs[pointer][1].substring(0, diffs[pointer][1].length -
- diffs[pointer - 1][1].length);
- diffs[pointer + 1][1] = diffs[pointer - 1][1] + diffs[pointer + 1][1];
- diffs.splice(pointer - 1, 1);
- changes = true;
- } else if (diffs[pointer][1].substring(0, diffs[pointer + 1][1].length) ==
- diffs[pointer + 1][1]) {
- // Shift the edit over the next equality.
- diffs[pointer - 1][1] += diffs[pointer + 1][1];
- diffs[pointer][1] =
- diffs[pointer][1].substring(diffs[pointer + 1][1].length) +
- diffs[pointer + 1][1];
- diffs.splice(pointer + 1, 1);
- changes = true;
- }
- }
- pointer++;
- }
- // If shifts were made, the diff needs reordering and another shift sweep.
- if (changes) {
- this.diff_cleanupMerge(diffs);
- }
-};
-
-
-/**
- * loc is a location in text1, compute and return the equivalent location in
- * text2.
- * e.g. 'The cat' vs 'The big cat', 1->1, 5->8
- * @param {!Array.} diffs Array of diff tuples.
- * @param {number} loc Location within text1.
- * @return {number} Location within text2.
- */
-diff_match_patch.prototype.diff_xIndex = function(diffs, loc) {
- var chars1 = 0;
- var chars2 = 0;
- var last_chars1 = 0;
- var last_chars2 = 0;
- var x;
- for (x = 0; x < diffs.length; x++) {
- if (diffs[x][0] !== DIFF_INSERT) { // Equality or deletion.
- chars1 += diffs[x][1].length;
- }
- if (diffs[x][0] !== DIFF_DELETE) { // Equality or insertion.
- chars2 += diffs[x][1].length;
- }
- if (chars1 > loc) { // Overshot the location.
- break;
- }
- last_chars1 = chars1;
- last_chars2 = chars2;
- }
- // Was the location was deleted?
- if (diffs.length != x && diffs[x][0] === DIFF_DELETE) {
- return last_chars2;
- }
- // Add the remaining character length.
- return last_chars2 + (loc - last_chars1);
-};
-
-
-/**
- * Convert a diff array into a pretty HTML report.
- * @param {!Array.} diffs Array of diff tuples.
- * @return {string} HTML representation.
- */
-diff_match_patch.prototype.diff_prettyHtml = function(diffs) {
- var html = [];
- var pattern_amp = /&/g;
- var pattern_lt = //g;
- var pattern_para = /\n/g;
- for (var x = 0; x < diffs.length; x++) {
- var op = diffs[x][0]; // Operation (insert, delete, equal)
- var data = diffs[x][1]; // Text of change.
- var text = data.replace(pattern_amp, '&').replace(pattern_lt, '<')
- .replace(pattern_gt, '>').replace(pattern_para, '¶ ');
- switch (op) {
- case DIFF_INSERT:
- html[x] = '' + text + ' ';
- break;
- case DIFF_DELETE:
- html[x] = '' + text + '';
- break;
- case DIFF_EQUAL:
- html[x] = '' + text + ' ';
- break;
- }
- }
- return html.join('');
-};
-
-
-/**
- * Compute and return the source text (all equalities and deletions).
- * @param {!Array.} diffs Array of diff tuples.
- * @return {string} Source text.
- */
-diff_match_patch.prototype.diff_text1 = function(diffs) {
- var text = [];
- for (var x = 0; x < diffs.length; x++) {
- if (diffs[x][0] !== DIFF_INSERT) {
- text[x] = diffs[x][1];
- }
- }
- return text.join('');
-};
-
-
-/**
- * Compute and return the destination text (all equalities and insertions).
- * @param {!Array.} diffs Array of diff tuples.
- * @return {string} Destination text.
- */
-diff_match_patch.prototype.diff_text2 = function(diffs) {
- var text = [];
- for (var x = 0; x < diffs.length; x++) {
- if (diffs[x][0] !== DIFF_DELETE) {
- text[x] = diffs[x][1];
- }
- }
- return text.join('');
-};
-
-
-/**
- * Compute the Levenshtein distance; the number of inserted, deleted or
- * substituted characters.
- * @param {!Array.} diffs Array of diff tuples.
- * @return {number} Number of changes.
- */
-diff_match_patch.prototype.diff_levenshtein = function(diffs) {
- var levenshtein = 0;
- var insertions = 0;
- var deletions = 0;
- for (var x = 0; x < diffs.length; x++) {
- var op = diffs[x][0];
- var data = diffs[x][1];
- switch (op) {
- case DIFF_INSERT:
- insertions += data.length;
- break;
- case DIFF_DELETE:
- deletions += data.length;
- break;
- case DIFF_EQUAL:
- // A deletion and an insertion is one substitution.
- levenshtein += Math.max(insertions, deletions);
- insertions = 0;
- deletions = 0;
- break;
- }
- }
- levenshtein += Math.max(insertions, deletions);
- return levenshtein;
-};
-
-
-/**
- * Crush the diff into an encoded string which describes the operations
- * required to transform text1 into text2.
- * E.g. =3\t-2\t+ing -> Keep 3 chars, delete 2 chars, insert 'ing'.
- * Operations are tab-separated. Inserted text is escaped using %xx notation.
- * @param {!Array.} diffs Array of diff tuples.
- * @return {string} Delta text.
- */
-diff_match_patch.prototype.diff_toDelta = function(diffs) {
- var text = [];
- for (var x = 0; x < diffs.length; x++) {
- switch (diffs[x][0]) {
- case DIFF_INSERT:
- text[x] = '+' + encodeURI(diffs[x][1]);
- break;
- case DIFF_DELETE:
- text[x] = '-' + diffs[x][1].length;
- break;
- case DIFF_EQUAL:
- text[x] = '=' + diffs[x][1].length;
- break;
- }
- }
- return text.join('\t').replace(/%20/g, ' ');
-};
-
-
-/**
- * Given the original text1, and an encoded string which describes the
- * operations required to transform text1 into text2, compute the full diff.
- * @param {string} text1 Source string for the diff.
- * @param {string} delta Delta text.
- * @return {!Array.} Array of diff tuples.
- * @throws {!Error} If invalid input.
- */
-diff_match_patch.prototype.diff_fromDelta = function(text1, delta) {
- var diffs = [];
- var diffsLength = 0; // Keeping our own length var is faster in JS.
- var pointer = 0; // Cursor in text1
- var tokens = delta.split(/\t/g);
- for (var x = 0; x < tokens.length; x++) {
- // Each token begins with a one character parameter which specifies the
- // operation of this token (delete, insert, equality).
- var param = tokens[x].substring(1);
- switch (tokens[x].charAt(0)) {
- case '+':
- try {
- diffs[diffsLength++] = [DIFF_INSERT, decodeURI(param)];
- } catch (ex) {
- // Malformed URI sequence.
- throw new Error('Illegal escape in diff_fromDelta: ' + param);
- }
- break;
- case '-':
- // Fall through.
- case '=':
- var n = parseInt(param, 10);
- if (isNaN(n) || n < 0) {
- throw new Error('Invalid number in diff_fromDelta: ' + param);
- }
- var text = text1.substring(pointer, pointer += n);
- if (tokens[x].charAt(0) == '=') {
- diffs[diffsLength++] = [DIFF_EQUAL, text];
- } else {
- diffs[diffsLength++] = [DIFF_DELETE, text];
- }
- break;
- default:
- // Blank tokens are ok (from a trailing \t).
- // Anything else is an error.
- if (tokens[x]) {
- throw new Error('Invalid diff operation in diff_fromDelta: ' +
- tokens[x]);
- }
- }
- }
- if (pointer != text1.length) {
- throw new Error('Delta length (' + pointer +
- ') does not equal source text length (' + text1.length + ').');
- }
- return diffs;
-};
-
-
-// MATCH FUNCTIONS
-
-
-/**
- * Locate the best instance of 'pattern' in 'text' near 'loc'.
- * @param {string} text The text to search.
- * @param {string} pattern The pattern to search for.
- * @param {number} loc The location to search around.
- * @return {number} Best match index or -1.
- */
-diff_match_patch.prototype.match_main = function(text, pattern, loc) {
- // Check for null inputs.
- if (text == null || pattern == null || loc == null) {
- throw new Error('Null input. (match_main)');
- }
-
- loc = Math.max(0, Math.min(loc, text.length));
- if (text == pattern) {
- // Shortcut (potentially not guaranteed by the algorithm)
- return 0;
- } else if (!text.length) {
- // Nothing to match.
- return -1;
- } else if (text.substring(loc, loc + pattern.length) == pattern) {
- // Perfect match at the perfect spot! (Includes case of null pattern)
- return loc;
- } else {
- // Do a fuzzy compare.
- return this.match_bitap_(text, pattern, loc);
- }
-};
-
-
-/**
- * Locate the best instance of 'pattern' in 'text' near 'loc' using the
- * Bitap algorithm.
- * @param {string} text The text to search.
- * @param {string} pattern The pattern to search for.
- * @param {number} loc The location to search around.
- * @return {number} Best match index or -1.
- * @private
- */
-diff_match_patch.prototype.match_bitap_ = function(text, pattern, loc) {
- if (pattern.length > this.Match_MaxBits) {
- throw new Error('Pattern too long for this browser.');
- }
-
- // Initialise the alphabet.
- var s = this.match_alphabet_(pattern);
-
- var dmp = this; // 'this' becomes 'window' in a closure.
-
- /**
- * Compute and return the score for a match with e errors and x location.
- * Accesses loc and pattern through being a closure.
- * @param {number} e Number of errors in match.
- * @param {number} x Location of match.
- * @return {number} Overall score for match (0.0 = good, 1.0 = bad).
- * @private
- */
- function match_bitapScore_(e, x) {
- var accuracy = e / pattern.length;
- var proximity = Math.abs(loc - x);
- if (!dmp.Match_Distance) {
- // Dodge divide by zero error.
- return proximity ? 1.0 : accuracy;
- }
- return accuracy + (proximity / dmp.Match_Distance);
- }
-
- // Highest score beyond which we give up.
- var score_threshold = this.Match_Threshold;
- // Is there a nearby exact match? (speedup)
- var best_loc = text.indexOf(pattern, loc);
- if (best_loc != -1) {
- score_threshold = Math.min(match_bitapScore_(0, best_loc), score_threshold);
- // What about in the other direction? (speedup)
- best_loc = text.lastIndexOf(pattern, loc + pattern.length);
- if (best_loc != -1) {
- score_threshold =
- Math.min(match_bitapScore_(0, best_loc), score_threshold);
- }
- }
-
- // Initialise the bit arrays.
- var matchmask = 1 << (pattern.length - 1);
- best_loc = -1;
-
- var bin_min, bin_mid;
- var bin_max = pattern.length + text.length;
- var last_rd;
- for (var d = 0; d < pattern.length; d++) {
- // Scan for the best match; each iteration allows for one more error.
- // Run a binary search to determine how far from 'loc' we can stray at this
- // error level.
- bin_min = 0;
- bin_mid = bin_max;
- while (bin_min < bin_mid) {
- if (match_bitapScore_(d, loc + bin_mid) <= score_threshold) {
- bin_min = bin_mid;
- } else {
- bin_max = bin_mid;
- }
- bin_mid = Math.floor((bin_max - bin_min) / 2 + bin_min);
- }
- // Use the result from this iteration as the maximum for the next.
- bin_max = bin_mid;
- var start = Math.max(1, loc - bin_mid + 1);
- var finish = Math.min(loc + bin_mid, text.length) + pattern.length;
-
- var rd = Array(finish + 2);
- rd[finish + 1] = (1 << d) - 1;
- for (var j = finish; j >= start; j--) {
- // The alphabet (s) is a sparse hash, so the following line generates
- // warnings.
- var charMatch = s[text.charAt(j - 1)];
- if (d === 0) { // First pass: exact match.
- rd[j] = ((rd[j + 1] << 1) | 1) & charMatch;
- } else { // Subsequent passes: fuzzy match.
- rd[j] = (((rd[j + 1] << 1) | 1) & charMatch) |
- (((last_rd[j + 1] | last_rd[j]) << 1) | 1) |
- last_rd[j + 1];
- }
- if (rd[j] & matchmask) {
- var score = match_bitapScore_(d, j - 1);
- // This match will almost certainly be better than any existing match.
- // But check anyway.
- if (score <= score_threshold) {
- // Told you so.
- score_threshold = score;
- best_loc = j - 1;
- if (best_loc > loc) {
- // When passing loc, don't exceed our current distance from loc.
- start = Math.max(1, 2 * loc - best_loc);
- } else {
- // Already passed loc, downhill from here on in.
- break;
- }
- }
- }
- }
- // No hope for a (better) match at greater error levels.
- if (match_bitapScore_(d + 1, loc) > score_threshold) {
- break;
- }
- last_rd = rd;
- }
- return best_loc;
-};
-
-
-/**
- * Initialise the alphabet for the Bitap algorithm.
- * @param {string} pattern The text to encode.
- * @return {!Object} Hash of character locations.
- * @private
- */
-diff_match_patch.prototype.match_alphabet_ = function(pattern) {
- var s = {};
- for (var i = 0; i < pattern.length; i++) {
- s[pattern.charAt(i)] = 0;
- }
- for (var i = 0; i < pattern.length; i++) {
- s[pattern.charAt(i)] |= 1 << (pattern.length - i - 1);
- }
- return s;
-};
-
-
-// PATCH FUNCTIONS
-
-
-/**
- * Increase the context until it is unique,
- * but don't let the pattern expand beyond Match_MaxBits.
- * @param {!diff_match_patch.patch_obj} patch The patch to grow.
- * @param {string} text Source text.
- * @private
- */
-diff_match_patch.prototype.patch_addContext_ = function(patch, text) {
- if (text.length == 0) {
- return;
- }
- var pattern = text.substring(patch.start2, patch.start2 + patch.length1);
- var padding = 0;
-
- // Look for the first and last matches of pattern in text. If two different
- // matches are found, increase the pattern length.
- while (text.indexOf(pattern) != text.lastIndexOf(pattern) &&
- pattern.length < this.Match_MaxBits - this.Patch_Margin -
- this.Patch_Margin) {
- padding += this.Patch_Margin;
- pattern = text.substring(patch.start2 - padding,
- patch.start2 + patch.length1 + padding);
- }
- // Add one chunk for good luck.
- padding += this.Patch_Margin;
-
- // Add the prefix.
- var prefix = text.substring(patch.start2 - padding, patch.start2);
- if (prefix) {
- patch.diffs.unshift([DIFF_EQUAL, prefix]);
- }
- // Add the suffix.
- var suffix = text.substring(patch.start2 + patch.length1,
- patch.start2 + patch.length1 + padding);
- if (suffix) {
- patch.diffs.push([DIFF_EQUAL, suffix]);
- }
-
- // Roll back the start points.
- patch.start1 -= prefix.length;
- patch.start2 -= prefix.length;
- // Extend the lengths.
- patch.length1 += prefix.length + suffix.length;
- patch.length2 += prefix.length + suffix.length;
-};
-
-
-/**
- * Compute a list of patches to turn text1 into text2.
- * Use diffs if provided, otherwise compute it ourselves.
- * There are four ways to call this function, depending on what data is
- * available to the caller:
- * Method 1:
- * a = text1, b = text2
- * Method 2:
- * a = diffs
- * Method 3 (optimal):
- * a = text1, b = diffs
- * Method 4 (deprecated, use method 3):
- * a = text1, b = text2, c = diffs
- *
- * @param {string|!Array.} a text1 (methods 1,3,4) or
- * Array of diff tuples for text1 to text2 (method 2).
- * @param {string|!Array.} opt_b text2 (methods 1,4) or
- * Array of diff tuples for text1 to text2 (method 3) or undefined (method 2).
- * @param {string|!Array.} opt_c Array of diff tuples
- * for text1 to text2 (method 4) or undefined (methods 1,2,3).
- * @return {!Array.} Array of Patch objects.
- */
-diff_match_patch.prototype.patch_make = function(a, opt_b, opt_c) {
- var text1, diffs;
- if (typeof a == 'string' && typeof opt_b == 'string' &&
- typeof opt_c == 'undefined') {
- // Method 1: text1, text2
- // Compute diffs from text1 and text2.
- text1 = /** @type {string} */(a);
- diffs = this.diff_main(text1, /** @type {string} */(opt_b), true);
- if (diffs.length > 2) {
- this.diff_cleanupSemantic(diffs);
- this.diff_cleanupEfficiency(diffs);
- }
- } else if (a && typeof a == 'object' && typeof opt_b == 'undefined' &&
- typeof opt_c == 'undefined') {
- // Method 2: diffs
- // Compute text1 from diffs.
- diffs = /** @type {!Array.} */(a);
- text1 = this.diff_text1(diffs);
- } else if (typeof a == 'string' && opt_b && typeof opt_b == 'object' &&
- typeof opt_c == 'undefined') {
- // Method 3: text1, diffs
- text1 = /** @type {string} */(a);
- diffs = /** @type {!Array.} */(opt_b);
- } else if (typeof a == 'string' && typeof opt_b == 'string' &&
- opt_c && typeof opt_c == 'object') {
- // Method 4: text1, text2, diffs
- // text2 is not used.
- text1 = /** @type {string} */(a);
- diffs = /** @type {!Array.} */(opt_c);
- } else {
- throw new Error('Unknown call format to patch_make.');
- }
-
- if (diffs.length === 0) {
- return []; // Get rid of the null case.
- }
- var patches = [];
- var patch = new diff_match_patch.patch_obj();
- var patchDiffLength = 0; // Keeping our own length var is faster in JS.
- var char_count1 = 0; // Number of characters into the text1 string.
- var char_count2 = 0; // Number of characters into the text2 string.
- // Start with text1 (prepatch_text) and apply the diffs until we arrive at
- // text2 (postpatch_text). We recreate the patches one by one to determine
- // context info.
- var prepatch_text = text1;
- var postpatch_text = text1;
- for (var x = 0; x < diffs.length; x++) {
- var diff_type = diffs[x][0];
- var diff_text = diffs[x][1];
-
- if (!patchDiffLength && diff_type !== DIFF_EQUAL) {
- // A new patch starts here.
- patch.start1 = char_count1;
- patch.start2 = char_count2;
- }
-
- switch (diff_type) {
- case DIFF_INSERT:
- patch.diffs[patchDiffLength++] = diffs[x];
- patch.length2 += diff_text.length;
- postpatch_text = postpatch_text.substring(0, char_count2) + diff_text +
- postpatch_text.substring(char_count2);
- break;
- case DIFF_DELETE:
- patch.length1 += diff_text.length;
- patch.diffs[patchDiffLength++] = diffs[x];
- postpatch_text = postpatch_text.substring(0, char_count2) +
- postpatch_text.substring(char_count2 +
- diff_text.length);
- break;
- case DIFF_EQUAL:
- if (diff_text.length <= 2 * this.Patch_Margin &&
- patchDiffLength && diffs.length != x + 1) {
- // Small equality inside a patch.
- patch.diffs[patchDiffLength++] = diffs[x];
- patch.length1 += diff_text.length;
- patch.length2 += diff_text.length;
- } else if (diff_text.length >= 2 * this.Patch_Margin) {
- // Time for a new patch.
- if (patchDiffLength) {
- this.patch_addContext_(patch, prepatch_text);
- patches.push(patch);
- patch = new diff_match_patch.patch_obj();
- patchDiffLength = 0;
- // Unlike Unidiff, our patch lists have a rolling context.
- // http://code.google.com/p/google-diff-match-patch/wiki/Unidiff
- // Update prepatch text & pos to reflect the application of the
- // just completed patch.
- prepatch_text = postpatch_text;
- char_count1 = char_count2;
- }
- }
- break;
- }
-
- // Update the current character count.
- if (diff_type !== DIFF_INSERT) {
- char_count1 += diff_text.length;
- }
- if (diff_type !== DIFF_DELETE) {
- char_count2 += diff_text.length;
- }
- }
- // Pick up the leftover patch if not empty.
- if (patchDiffLength) {
- this.patch_addContext_(patch, prepatch_text);
- patches.push(patch);
- }
-
- return patches;
-};
-
-
-/**
- * Given an array of patches, return another array that is identical.
- * @param {!Array.} patches Array of Patch objects.
- * @return {!Array.} Array of Patch objects.
- */
-diff_match_patch.prototype.patch_deepCopy = function(patches) {
- // Making deep copies is hard in JavaScript.
- var patchesCopy = [];
- for (var x = 0; x < patches.length; x++) {
- var patch = patches[x];
- var patchCopy = new diff_match_patch.patch_obj();
- patchCopy.diffs = [];
- for (var y = 0; y < patch.diffs.length; y++) {
- patchCopy.diffs[y] = patch.diffs[y].slice();
- }
- patchCopy.start1 = patch.start1;
- patchCopy.start2 = patch.start2;
- patchCopy.length1 = patch.length1;
- patchCopy.length2 = patch.length2;
- patchesCopy[x] = patchCopy;
- }
- return patchesCopy;
-};
-
-
-/**
- * Merge a set of patches onto the text. Return a patched text, as well
- * as a list of true/false values indicating which patches were applied.
- * @param {!Array.} patches Array of Patch objects.
- * @param {string} text Old text.
- * @return {!Array.>} Two element Array, containing the
- * new text and an array of boolean values.
- */
-diff_match_patch.prototype.patch_apply = function(patches, text) {
- if (patches.length == 0) {
- return [text, []];
- }
-
- // Deep copy the patches so that no changes are made to originals.
- patches = this.patch_deepCopy(patches);
-
- var nullPadding = this.patch_addPadding(patches);
- text = nullPadding + text + nullPadding;
-
- this.patch_splitMax(patches);
- // delta keeps track of the offset between the expected and actual location
- // of the previous patch. If there are patches expected at positions 10 and
- // 20, but the first patch was found at 12, delta is 2 and the second patch
- // has an effective expected position of 22.
- var delta = 0;
- var results = [];
- for (var x = 0; x < patches.length; x++) {
- var expected_loc = patches[x].start2 + delta;
- var text1 = this.diff_text1(patches[x].diffs);
- var start_loc;
- var end_loc = -1;
- if (text1.length > this.Match_MaxBits) {
- // patch_splitMax will only provide an oversized pattern in the case of
- // a monster delete.
- start_loc = this.match_main(text, text1.substring(0, this.Match_MaxBits),
- expected_loc);
- if (start_loc != -1) {
- end_loc = this.match_main(text,
- text1.substring(text1.length - this.Match_MaxBits),
- expected_loc + text1.length - this.Match_MaxBits);
- if (end_loc == -1 || start_loc >= end_loc) {
- // Can't find valid trailing context. Drop this patch.
- start_loc = -1;
- }
- }
- } else {
- start_loc = this.match_main(text, text1, expected_loc);
- }
- if (start_loc == -1) {
- // No match found. :(
- results[x] = false;
- // Subtract the delta for this failed patch from subsequent patches.
- delta -= patches[x].length2 - patches[x].length1;
- } else {
- // Found a match. :)
- results[x] = true;
- delta = start_loc - expected_loc;
- var text2;
- if (end_loc == -1) {
- text2 = text.substring(start_loc, start_loc + text1.length);
- } else {
- text2 = text.substring(start_loc, end_loc + this.Match_MaxBits);
- }
- if (text1 == text2) {
- // Perfect match, just shove the replacement text in.
- text = text.substring(0, start_loc) +
- this.diff_text2(patches[x].diffs) +
- text.substring(start_loc + text1.length);
- } else {
- // Imperfect match. Run a diff to get a framework of equivalent
- // indices.
- var diffs = this.diff_main(text1, text2, false);
- if (text1.length > this.Match_MaxBits &&
- this.diff_levenshtein(diffs) / text1.length >
- this.Patch_DeleteThreshold) {
- // The end points match, but the content is unacceptably bad.
- results[x] = false;
- } else {
- this.diff_cleanupSemanticLossless(diffs);
- var index1 = 0;
- var index2;
- for (var y = 0; y < patches[x].diffs.length; y++) {
- var mod = patches[x].diffs[y];
- if (mod[0] !== DIFF_EQUAL) {
- index2 = this.diff_xIndex(diffs, index1);
- }
- if (mod[0] === DIFF_INSERT) { // Insertion
- text = text.substring(0, start_loc + index2) + mod[1] +
- text.substring(start_loc + index2);
- } else if (mod[0] === DIFF_DELETE) { // Deletion
- text = text.substring(0, start_loc + index2) +
- text.substring(start_loc + this.diff_xIndex(diffs,
- index1 + mod[1].length));
- }
- if (mod[0] !== DIFF_DELETE) {
- index1 += mod[1].length;
- }
- }
- }
- }
- }
- }
- // Strip the padding off.
- text = text.substring(nullPadding.length, text.length - nullPadding.length);
- return [text, results];
-};
-
-
-/**
- * Add some padding on text start and end so that edges can match something.
- * Intended to be called only from within patch_apply.
- * @param {!Array.} patches Array of Patch objects.
- * @return {string} The padding string added to each side.
- */
-diff_match_patch.prototype.patch_addPadding = function(patches) {
- var paddingLength = this.Patch_Margin;
- var nullPadding = '';
- for (var x = 1; x <= paddingLength; x++) {
- nullPadding += String.fromCharCode(x);
- }
-
- // Bump all the patches forward.
- for (var x = 0; x < patches.length; x++) {
- patches[x].start1 += paddingLength;
- patches[x].start2 += paddingLength;
- }
-
- // Add some padding on start of first diff.
- var patch = patches[0];
- var diffs = patch.diffs;
- if (diffs.length == 0 || diffs[0][0] != DIFF_EQUAL) {
- // Add nullPadding equality.
- diffs.unshift([DIFF_EQUAL, nullPadding]);
- patch.start1 -= paddingLength; // Should be 0.
- patch.start2 -= paddingLength; // Should be 0.
- patch.length1 += paddingLength;
- patch.length2 += paddingLength;
- } else if (paddingLength > diffs[0][1].length) {
- // Grow first equality.
- var extraLength = paddingLength - diffs[0][1].length;
- diffs[0][1] = nullPadding.substring(diffs[0][1].length) + diffs[0][1];
- patch.start1 -= extraLength;
- patch.start2 -= extraLength;
- patch.length1 += extraLength;
- patch.length2 += extraLength;
- }
-
- // Add some padding on end of last diff.
- patch = patches[patches.length - 1];
- diffs = patch.diffs;
- if (diffs.length == 0 || diffs[diffs.length - 1][0] != DIFF_EQUAL) {
- // Add nullPadding equality.
- diffs.push([DIFF_EQUAL, nullPadding]);
- patch.length1 += paddingLength;
- patch.length2 += paddingLength;
- } else if (paddingLength > diffs[diffs.length - 1][1].length) {
- // Grow last equality.
- var extraLength = paddingLength - diffs[diffs.length - 1][1].length;
- diffs[diffs.length - 1][1] += nullPadding.substring(0, extraLength);
- patch.length1 += extraLength;
- patch.length2 += extraLength;
- }
-
- return nullPadding;
-};
-
-
-/**
- * Look through the patches and break up any which are longer than the maximum
- * limit of the match algorithm.
- * Intended to be called only from within patch_apply.
- * @param {!Array.} patches Array of Patch objects.
- */
-diff_match_patch.prototype.patch_splitMax = function(patches) {
- var patch_size = this.Match_MaxBits;
- for (var x = 0; x < patches.length; x++) {
- if (patches[x].length1 <= patch_size) {
- continue;
- }
- var bigpatch = patches[x];
- // Remove the big old patch.
- patches.splice(x--, 1);
- var start1 = bigpatch.start1;
- var start2 = bigpatch.start2;
- var precontext = '';
- while (bigpatch.diffs.length !== 0) {
- // Create one of several smaller patches.
- var patch = new diff_match_patch.patch_obj();
- var empty = true;
- patch.start1 = start1 - precontext.length;
- patch.start2 = start2 - precontext.length;
- if (precontext !== '') {
- patch.length1 = patch.length2 = precontext.length;
- patch.diffs.push([DIFF_EQUAL, precontext]);
- }
- while (bigpatch.diffs.length !== 0 &&
- patch.length1 < patch_size - this.Patch_Margin) {
- var diff_type = bigpatch.diffs[0][0];
- var diff_text = bigpatch.diffs[0][1];
- if (diff_type === DIFF_INSERT) {
- // Insertions are harmless.
- patch.length2 += diff_text.length;
- start2 += diff_text.length;
- patch.diffs.push(bigpatch.diffs.shift());
- empty = false;
- } else if (diff_type === DIFF_DELETE && patch.diffs.length == 1 &&
- patch.diffs[0][0] == DIFF_EQUAL &&
- diff_text.length > 2 * patch_size) {
- // This is a large deletion. Let it pass in one chunk.
- patch.length1 += diff_text.length;
- start1 += diff_text.length;
- empty = false;
- patch.diffs.push([diff_type, diff_text]);
- bigpatch.diffs.shift();
- } else {
- // Deletion or equality. Only take as much as we can stomach.
- diff_text = diff_text.substring(0,
- patch_size - patch.length1 - this.Patch_Margin);
- patch.length1 += diff_text.length;
- start1 += diff_text.length;
- if (diff_type === DIFF_EQUAL) {
- patch.length2 += diff_text.length;
- start2 += diff_text.length;
- } else {
- empty = false;
- }
- patch.diffs.push([diff_type, diff_text]);
- if (diff_text == bigpatch.diffs[0][1]) {
- bigpatch.diffs.shift();
- } else {
- bigpatch.diffs[0][1] =
- bigpatch.diffs[0][1].substring(diff_text.length);
- }
- }
- }
- // Compute the head context for the next patch.
- precontext = this.diff_text2(patch.diffs);
- precontext =
- precontext.substring(precontext.length - this.Patch_Margin);
- // Append the end context for this patch.
- var postcontext = this.diff_text1(bigpatch.diffs)
- .substring(0, this.Patch_Margin);
- if (postcontext !== '') {
- patch.length1 += postcontext.length;
- patch.length2 += postcontext.length;
- if (patch.diffs.length !== 0 &&
- patch.diffs[patch.diffs.length - 1][0] === DIFF_EQUAL) {
- patch.diffs[patch.diffs.length - 1][1] += postcontext;
- } else {
- patch.diffs.push([DIFF_EQUAL, postcontext]);
- }
- }
- if (!empty) {
- patches.splice(++x, 0, patch);
- }
- }
- }
-};
-
-
-/**
- * Take a list of patches and return a textual representation.
- * @param {!Array.} patches Array of Patch objects.
- * @return {string} Text representation of patches.
- */
-diff_match_patch.prototype.patch_toText = function(patches) {
- var text = [];
- for (var x = 0; x < patches.length; x++) {
- text[x] = patches[x];
- }
- return text.join('');
-};
-
-
-/**
- * Parse a textual representation of patches and return a list of Patch objects.
- * @param {string} textline Text representation of patches.
- * @return {!Array.} Array of Patch objects.
- * @throws {!Error} If invalid input.
- */
-diff_match_patch.prototype.patch_fromText = function(textline) {
- var patches = [];
- if (!textline) {
- return patches;
- }
- var text = textline.split('\n');
- var textPointer = 0;
- var patchHeader = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;
- while (textPointer < text.length) {
- var m = text[textPointer].match(patchHeader);
- if (!m) {
- throw new Error('Invalid patch string: ' + text[textPointer]);
- }
- var patch = new diff_match_patch.patch_obj();
- patches.push(patch);
- patch.start1 = parseInt(m[1], 10);
- if (m[2] === '') {
- patch.start1--;
- patch.length1 = 1;
- } else if (m[2] == '0') {
- patch.length1 = 0;
- } else {
- patch.start1--;
- patch.length1 = parseInt(m[2], 10);
- }
-
- patch.start2 = parseInt(m[3], 10);
- if (m[4] === '') {
- patch.start2--;
- patch.length2 = 1;
- } else if (m[4] == '0') {
- patch.length2 = 0;
- } else {
- patch.start2--;
- patch.length2 = parseInt(m[4], 10);
- }
- textPointer++;
-
- while (textPointer < text.length) {
- var sign = text[textPointer].charAt(0);
- try {
- var line = decodeURI(text[textPointer].substring(1));
- } catch (ex) {
- // Malformed URI sequence.
- throw new Error('Illegal escape in patch_fromText: ' + line);
- }
- if (sign == '-') {
- // Deletion.
- patch.diffs.push([DIFF_DELETE, line]);
- } else if (sign == '+') {
- // Insertion.
- patch.diffs.push([DIFF_INSERT, line]);
- } else if (sign == ' ') {
- // Minor equality.
- patch.diffs.push([DIFF_EQUAL, line]);
- } else if (sign == '@') {
- // Start of next patch.
- break;
- } else if (sign === '') {
- // Blank line? Whatever.
- } else {
- // WTF?
- throw new Error('Invalid patch mode "' + sign + '" in: ' + line);
- }
- textPointer++;
- }
- }
- return patches;
-};
-
-
-/**
- * Class representing one patch operation.
- * @constructor
- */
-diff_match_patch.patch_obj = function() {
- /** @type {!Array.} */
- this.diffs = [];
- /** @type {?number} */
- this.start1 = null;
- /** @type {?number} */
- this.start2 = null;
- /** @type {number} */
- this.length1 = 0;
- /** @type {number} */
- this.length2 = 0;
-};
-
-
-/**
- * Emmulate GNU diff's format.
- * Header: @@ -382,8 +481,9 @@
- * Indicies are printed as 1-based, not 0-based.
- * @return {string} The GNU diff string.
- */
-diff_match_patch.patch_obj.prototype.toString = function() {
- var coords1, coords2;
- if (this.length1 === 0) {
- coords1 = this.start1 + ',0';
- } else if (this.length1 == 1) {
- coords1 = this.start1 + 1;
- } else {
- coords1 = (this.start1 + 1) + ',' + this.length1;
- }
- if (this.length2 === 0) {
- coords2 = this.start2 + ',0';
- } else if (this.length2 == 1) {
- coords2 = this.start2 + 1;
- } else {
- coords2 = (this.start2 + 1) + ',' + this.length2;
- }
- var text = ['@@ -' + coords1 + ' +' + coords2 + ' @@\n'];
- var op;
- // Escape the body of the patch with %xx notation.
- for (var x = 0; x < this.diffs.length; x++) {
- switch (this.diffs[x][0]) {
- case DIFF_INSERT:
- op = '+';
- break;
- case DIFF_DELETE:
- op = '-';
- break;
- case DIFF_EQUAL:
- op = ' ';
- break;
- }
- text[x + 1] = op + encodeURI(this.diffs[x][1]) + '\n';
- }
- return text.join('').replace(/%20/g, ' ');
-};
-
-
-// The following export code was added by @ForbesLindesay
-module.exports = diff_match_patch;
-module.exports['diff_match_patch'] = diff_match_patch;
-module.exports['DIFF_DELETE'] = DIFF_DELETE;
-module.exports['DIFF_INSERT'] = DIFF_INSERT;
-module.exports['DIFF_EQUAL'] = DIFF_EQUAL;
-
-/***/ }),
-/* 262 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 263 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 264 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 265 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 266 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 267 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 268 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 269 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 270 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 271 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 272 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 273 */
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_RESULT__;/*!
- Copyright (c) 2015 Jed Watson.
- Based on code that is Copyright 2013-2015, Facebook, Inc.
- All rights reserved.
-*/
-/* global define */
-
-(function () {
- 'use strict';
-
- var canUseDOM = !!(
- typeof window !== 'undefined' &&
- window.document &&
- window.document.createElement
- );
-
- var ExecutionEnvironment = {
-
- canUseDOM: canUseDOM,
-
- canUseWorkers: typeof Worker !== 'undefined',
-
- canUseEventListeners:
- canUseDOM && !!(window.addEventListener || window.attachEvent),
-
- canUseViewport: canUseDOM && !!window.screen
-
- };
-
- if (true) {
- !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
- return ExecutionEnvironment;
- }).call(exports, __webpack_require__, exports, module),
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
- } else if (typeof module !== 'undefined' && module.exports) {
- module.exports = ExecutionEnvironment;
- } else {
- window.ExecutionEnvironment = ExecutionEnvironment;
- }
-
-}());
-
-
-/***/ }),
-/* 274 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = undefined;
-
-var _Animate = __webpack_require__(275);
-
-var _Animate2 = _interopRequireDefault(_Animate);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-exports.default = _Animate2.default; /* eslint-disable flowtype/require-valid-file-annotation */
-
-/***/ }),
-/* 275 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _d3Timer = __webpack_require__(96);
-
-var _transition = __webpack_require__(276);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // weak
-/* eslint max-len: "off" */
-
-var Animate = function (_Component) {
- _inherits(Animate, _Component);
-
- function Animate() {
- var _temp, _this, _ret;
-
- _classCallCheck(this, Animate);
-
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = typeof _this.props.start === 'function' ? _this.props.start() : _this.props.start, _this.checkTransitionStatus = function () {
- if (!_this.TRANSITION_SCHEDULES) {
- _this.interval.stop();
-
- if (_this.props.show === false) {
- _this.renderNull = true;
- _this.setState(function (prevState) {
- return prevState;
- }); // force render as null
- }
- }
- }, _this.interval = null, _this.renderNull = true, _temp), _possibleConstructorReturn(_this, _ret);
- }
-
- Animate.prototype.componentWillMount = function componentWillMount() {
- if (this.props.show === true) {
- this.renderNull = false;
- }
- };
-
- Animate.prototype.componentDidMount = function componentDidMount() {
- var _props = this.props,
- enter = _props.enter,
- show = _props.show;
-
-
- if (enter && show === true) {
- _transition.transition.call(this, typeof enter === 'function' ? enter() : enter);
- }
- };
-
- Animate.prototype.componentWillReceiveProps = function componentWillReceiveProps(next) {
- var _this2 = this;
-
- var show = next.show,
- start = next.start,
- enter = next.enter,
- update = next.update,
- leave = next.leave;
-
-
- if (this.props.show === false && this.renderNull === true && show === true) {
- this.renderNull = false;
-
- this.setState(function () {
- return typeof start === 'function' ? start() : start;
- }, function () {
- if (enter) {
- _transition.transition.call(_this2, typeof enter === 'function' ? enter() : enter);
- }
- });
- } else if (this.props.show === true && show === false) {
- if (leave) {
- _transition.transition.call(this, typeof leave === 'function' ? leave() : leave);
- this.interval = (0, _d3Timer.interval)(this.checkTransitionStatus);
- } else {
- this.renderNull = true;
- this.setState(function (prevState) {
- return prevState;
- }); // force render as null
- }
- } else if (show === true && update) {
- if (this.interval) {
- this.interval.stop();
- }
-
- _transition.transition.call(this, typeof update === 'function' ? update() : update);
- }
- };
-
- Animate.prototype.componentWillUnmount = function componentWillUnmount() {
- if (this.interval) {
- this.interval.stop();
- }
-
- _transition.stop.call(this);
- };
-
- Animate.prototype.render = function render() {
- if (this.renderNull === true) {
- return null;
- }
-
- var renderedChildren = this.props.children(this.state);
- return renderedChildren && _react2.default.Children.only(renderedChildren);
- };
-
- return Animate;
-}(_react.Component);
-
-Animate.defaultProps = {
- show: true
-};
-exports.default = Animate;
-
-/***/ }),
-/* 276 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _transition = __webpack_require__(277);
-
-Object.defineProperty(exports, 'transition', {
- enumerable: true,
- get: function get() {
- return _interopRequireDefault(_transition).default;
- }
-});
-
-var _stop = __webpack_require__(281);
-
-Object.defineProperty(exports, 'stop', {
- enumerable: true,
- get: function get() {
- return _interopRequireDefault(_stop).default;
- }
-});
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-/***/ }),
-/* 277 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.preset = undefined;
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; // weak
-
-exports.newId = newId;
-exports.default = transition;
-
-var _d3Timer = __webpack_require__(96);
-
-var _tween = __webpack_require__(278);
-
-var _tween2 = _interopRequireDefault(_tween);
-
-var _schedule = __webpack_require__(280);
-
-var _schedule2 = _interopRequireDefault(_schedule);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function once(func) {
- var called = false;
-
- return function transitionEvent() {
- if (!called) {
- called = true;
- func.call(this);
- }
- };
-}
-
-var id = 0;
-
-function newId() {
- return ++id;
-}
-
-// from https://github.com/d3/d3-ease/blob/master/src/linear.js
-function linear(t) {
- return +t;
-}
-
-var preset = exports.preset = {
- time: null,
- delay: 0,
- duration: 250,
- ease: linear
-};
-
-function scheduleTransitions() {
- var _this = this;
-
- var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-
- var transitions = _extends({}, config);
-
- var events = transitions.events || {};
- delete transitions.events;
-
- // each event handler should be called only once
- Object.keys(events).forEach(function (d) {
- if (typeof events[d] !== 'function') {
- throw new Error('Event handlers must be a function');
- } else {
- events[d] = once(events[d]);
- }
- });
-
- var timing = transitions.timing || {};
- delete transitions.timing;
-
- Object.keys(transitions).forEach(function (stateKey) {
- var tweens = [];
-
- if (_typeof(transitions[stateKey]) === 'object' && Array.isArray(transitions[stateKey]) === false) {
- Object.keys(transitions[stateKey]).forEach(function (attr) {
- var val = transitions[stateKey][attr];
-
- if (Array.isArray(val)) {
- if (val.length === 1) {
- tweens.push(_tween2.default.call(_this, stateKey, attr, val[0]));
- } else {
- _this.setState(function (state) {
- var _extends2, _ref;
-
- return _ref = {}, _ref[stateKey] = _extends({}, state[stateKey], (_extends2 = {}, _extends2[attr] = val[0], _extends2)), _ref;
- });
-
- tweens.push(_tween2.default.call(_this, stateKey, attr, val[1]));
- }
- } else if (typeof val === 'function') {
- var getResonanceCustomTween = function getResonanceCustomTween() {
- var resonanceCustomTween = function resonanceCustomTween(t) {
- _this.setState(function (state) {
- var _extends3, _ref2;
-
- return _ref2 = {}, _ref2[stateKey] = _extends({}, state[stateKey], (_extends3 = {}, _extends3[attr] = val(t), _extends3)), _ref2;
- });
- };
-
- return resonanceCustomTween;
- };
-
- tweens.push(getResonanceCustomTween);
- } else {
- _this.setState(function (state) {
- var _extends4, _ref3;
-
- return _ref3 = {}, _ref3[stateKey] = _extends({}, state[stateKey], (_extends4 = {}, _extends4[attr] = val, _extends4)), _ref3;
- });
- // This assures any existing transitions are stopped
- tweens.push(_tween2.default.call(_this, stateKey, attr, val));
- }
- });
- } else {
- var val = transitions[stateKey];
-
- if (Array.isArray(val)) {
- if (val.length === 1) {
- tweens.push(_tween2.default.call(_this, null, stateKey, val[0]));
- } else {
- _this.setState(function () {
- var _ref4;
-
- return _ref4 = {}, _ref4[stateKey] = val[0], _ref4;
- });
-
- tweens.push(_tween2.default.call(_this, null, stateKey, val[1]));
- }
- } else if (typeof val === 'function') {
- var getResonanceCustomTween = function getResonanceCustomTween() {
- var resonanceCustomTween = function resonanceCustomTween(t) {
- _this.setState(function () {
- var _ref5;
-
- return _ref5 = {}, _ref5[stateKey] = val(t), _ref5;
- });
- };
-
- return resonanceCustomTween;
- };
-
- tweens.push(getResonanceCustomTween);
- } else {
- _this.setState(function () {
- var _ref6;
-
- return _ref6 = {}, _ref6[stateKey] = val, _ref6;
- });
- // This assures any existing transitions are stopped
- tweens.push(_tween2.default.call(_this, null, stateKey, val));
- }
- }
-
- var timingConfig = _extends({}, preset, timing, { time: (0, _d3Timer.now)() });
- (0, _schedule2.default)(_this, stateKey, newId(), timingConfig, tweens, events);
- });
-}
-
-function transition(config) {
- var _this2 = this;
-
- if (Array.isArray(config)) {
- config.forEach(function (c) {
- scheduleTransitions.call(_this2, c);
- });
- } else {
- scheduleTransitions.call(this, config);
- }
-}
-
-/***/ }),
-/* 278 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; // weak
-
-
-exports.getInterpolator = getInterpolator;
-
-exports.default = function (nameSpace, attr, value) {
- return getTween.call(this, nameSpace, attr, value);
-};
-
-var _d3Interpolate = __webpack_require__(279);
-
-function getInterpolator(attr) {
- if (attr === 'transform') {
- return _d3Interpolate.interpolateTransformSvg;
- }
-
- return _d3Interpolate.interpolate;
-}
-
-function getTween(nameSpace, attr, value1) {
- return function tween() {
- var _this = this;
-
- var value0 = nameSpace ? this.state[nameSpace][attr] : this.state[attr];
-
- if (value0 === value1) {
- return null;
- }
-
- var i = getInterpolator(attr)(value0, value1);
-
- var stateTween = void 0;
-
- if (nameSpace === null) {
- stateTween = function stateTween(t) {
- _this.setState(function () {
- var _ref;
-
- return _ref = {}, _ref[attr] = i(t), _ref;
- });
- };
- } else {
- stateTween = function stateTween(t) {
- _this.setState(function (state) {
- var _extends2, _ref2;
-
- return _ref2 = {}, _ref2[nameSpace] = _extends({}, state[nameSpace], (_extends2 = {}, _extends2[attr] = i(t), _extends2)), _ref2;
- });
- };
- }
-
- return stateTween;
- };
-}
-
-/***/ }),
-/* 279 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
-
-// CONCATENATED MODULE: ../node_modules/d3-color/src/define.js
-/* harmony default export */ var define = (function(constructor, factory, prototype) {
- constructor.prototype = factory.prototype = prototype;
- prototype.constructor = constructor;
-});
-
-function extend(parent, definition) {
- var prototype = Object.create(parent.prototype);
- for (var key in definition) prototype[key] = definition[key];
- return prototype;
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-color/src/color.js
-
-
-function Color() {}
-
-var darker = 0.7;
-var brighter = 1 / darker;
-
-var reI = "\\s*([+-]?\\d+)\\s*",
- reN = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",
- reP = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
- reHex3 = /^#([0-9a-f]{3})$/,
- reHex6 = /^#([0-9a-f]{6})$/,
- reRgbInteger = new RegExp("^rgb\\(" + [reI, reI, reI] + "\\)$"),
- reRgbPercent = new RegExp("^rgb\\(" + [reP, reP, reP] + "\\)$"),
- reRgbaInteger = new RegExp("^rgba\\(" + [reI, reI, reI, reN] + "\\)$"),
- reRgbaPercent = new RegExp("^rgba\\(" + [reP, reP, reP, reN] + "\\)$"),
- reHslPercent = new RegExp("^hsl\\(" + [reN, reP, reP] + "\\)$"),
- reHslaPercent = new RegExp("^hsla\\(" + [reN, reP, reP, reN] + "\\)$");
-
-var named = {
- aliceblue: 0xf0f8ff,
- antiquewhite: 0xfaebd7,
- aqua: 0x00ffff,
- aquamarine: 0x7fffd4,
- azure: 0xf0ffff,
- beige: 0xf5f5dc,
- bisque: 0xffe4c4,
- black: 0x000000,
- blanchedalmond: 0xffebcd,
- blue: 0x0000ff,
- blueviolet: 0x8a2be2,
- brown: 0xa52a2a,
- burlywood: 0xdeb887,
- cadetblue: 0x5f9ea0,
- chartreuse: 0x7fff00,
- chocolate: 0xd2691e,
- coral: 0xff7f50,
- cornflowerblue: 0x6495ed,
- cornsilk: 0xfff8dc,
- crimson: 0xdc143c,
- cyan: 0x00ffff,
- darkblue: 0x00008b,
- darkcyan: 0x008b8b,
- darkgoldenrod: 0xb8860b,
- darkgray: 0xa9a9a9,
- darkgreen: 0x006400,
- darkgrey: 0xa9a9a9,
- darkkhaki: 0xbdb76b,
- darkmagenta: 0x8b008b,
- darkolivegreen: 0x556b2f,
- darkorange: 0xff8c00,
- darkorchid: 0x9932cc,
- darkred: 0x8b0000,
- darksalmon: 0xe9967a,
- darkseagreen: 0x8fbc8f,
- darkslateblue: 0x483d8b,
- darkslategray: 0x2f4f4f,
- darkslategrey: 0x2f4f4f,
- darkturquoise: 0x00ced1,
- darkviolet: 0x9400d3,
- deeppink: 0xff1493,
- deepskyblue: 0x00bfff,
- dimgray: 0x696969,
- dimgrey: 0x696969,
- dodgerblue: 0x1e90ff,
- firebrick: 0xb22222,
- floralwhite: 0xfffaf0,
- forestgreen: 0x228b22,
- fuchsia: 0xff00ff,
- gainsboro: 0xdcdcdc,
- ghostwhite: 0xf8f8ff,
- gold: 0xffd700,
- goldenrod: 0xdaa520,
- gray: 0x808080,
- green: 0x008000,
- greenyellow: 0xadff2f,
- grey: 0x808080,
- honeydew: 0xf0fff0,
- hotpink: 0xff69b4,
- indianred: 0xcd5c5c,
- indigo: 0x4b0082,
- ivory: 0xfffff0,
- khaki: 0xf0e68c,
- lavender: 0xe6e6fa,
- lavenderblush: 0xfff0f5,
- lawngreen: 0x7cfc00,
- lemonchiffon: 0xfffacd,
- lightblue: 0xadd8e6,
- lightcoral: 0xf08080,
- lightcyan: 0xe0ffff,
- lightgoldenrodyellow: 0xfafad2,
- lightgray: 0xd3d3d3,
- lightgreen: 0x90ee90,
- lightgrey: 0xd3d3d3,
- lightpink: 0xffb6c1,
- lightsalmon: 0xffa07a,
- lightseagreen: 0x20b2aa,
- lightskyblue: 0x87cefa,
- lightslategray: 0x778899,
- lightslategrey: 0x778899,
- lightsteelblue: 0xb0c4de,
- lightyellow: 0xffffe0,
- lime: 0x00ff00,
- limegreen: 0x32cd32,
- linen: 0xfaf0e6,
- magenta: 0xff00ff,
- maroon: 0x800000,
- mediumaquamarine: 0x66cdaa,
- mediumblue: 0x0000cd,
- mediumorchid: 0xba55d3,
- mediumpurple: 0x9370db,
- mediumseagreen: 0x3cb371,
- mediumslateblue: 0x7b68ee,
- mediumspringgreen: 0x00fa9a,
- mediumturquoise: 0x48d1cc,
- mediumvioletred: 0xc71585,
- midnightblue: 0x191970,
- mintcream: 0xf5fffa,
- mistyrose: 0xffe4e1,
- moccasin: 0xffe4b5,
- navajowhite: 0xffdead,
- navy: 0x000080,
- oldlace: 0xfdf5e6,
- olive: 0x808000,
- olivedrab: 0x6b8e23,
- orange: 0xffa500,
- orangered: 0xff4500,
- orchid: 0xda70d6,
- palegoldenrod: 0xeee8aa,
- palegreen: 0x98fb98,
- paleturquoise: 0xafeeee,
- palevioletred: 0xdb7093,
- papayawhip: 0xffefd5,
- peachpuff: 0xffdab9,
- peru: 0xcd853f,
- pink: 0xffc0cb,
- plum: 0xdda0dd,
- powderblue: 0xb0e0e6,
- purple: 0x800080,
- rebeccapurple: 0x663399,
- red: 0xff0000,
- rosybrown: 0xbc8f8f,
- royalblue: 0x4169e1,
- saddlebrown: 0x8b4513,
- salmon: 0xfa8072,
- sandybrown: 0xf4a460,
- seagreen: 0x2e8b57,
- seashell: 0xfff5ee,
- sienna: 0xa0522d,
- silver: 0xc0c0c0,
- skyblue: 0x87ceeb,
- slateblue: 0x6a5acd,
- slategray: 0x708090,
- slategrey: 0x708090,
- snow: 0xfffafa,
- springgreen: 0x00ff7f,
- steelblue: 0x4682b4,
- tan: 0xd2b48c,
- teal: 0x008080,
- thistle: 0xd8bfd8,
- tomato: 0xff6347,
- turquoise: 0x40e0d0,
- violet: 0xee82ee,
- wheat: 0xf5deb3,
- white: 0xffffff,
- whitesmoke: 0xf5f5f5,
- yellow: 0xffff00,
- yellowgreen: 0x9acd32
-};
-
-define(Color, color_color, {
- displayable: function() {
- return this.rgb().displayable();
- },
- hex: function() {
- return this.rgb().hex();
- },
- toString: function() {
- return this.rgb() + "";
- }
-});
-
-function color_color(format) {
- var m;
- format = (format + "").trim().toLowerCase();
- return (m = reHex3.exec(format)) ? (m = parseInt(m[1], 16), new Rgb((m >> 8 & 0xf) | (m >> 4 & 0x0f0), (m >> 4 & 0xf) | (m & 0xf0), ((m & 0xf) << 4) | (m & 0xf), 1)) // #f00
- : (m = reHex6.exec(format)) ? rgbn(parseInt(m[1], 16)) // #ff0000
- : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)
- : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)
- : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)
- : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)
- : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)
- : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)
- : named.hasOwnProperty(format) ? rgbn(named[format])
- : format === "transparent" ? new Rgb(NaN, NaN, NaN, 0)
- : null;
-}
-
-function rgbn(n) {
- return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);
-}
-
-function rgba(r, g, b, a) {
- if (a <= 0) r = g = b = NaN;
- return new Rgb(r, g, b, a);
-}
-
-function rgbConvert(o) {
- if (!(o instanceof Color)) o = color_color(o);
- if (!o) return new Rgb;
- o = o.rgb();
- return new Rgb(o.r, o.g, o.b, o.opacity);
-}
-
-function color_rgb(r, g, b, opacity) {
- return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
-}
-
-function Rgb(r, g, b, opacity) {
- this.r = +r;
- this.g = +g;
- this.b = +b;
- this.opacity = +opacity;
-}
-
-define(Rgb, color_rgb, extend(Color, {
- brighter: function(k) {
- k = k == null ? brighter : Math.pow(brighter, k);
- return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
- },
- darker: function(k) {
- k = k == null ? darker : Math.pow(darker, k);
- return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
- },
- rgb: function() {
- return this;
- },
- displayable: function() {
- return (0 <= this.r && this.r <= 255)
- && (0 <= this.g && this.g <= 255)
- && (0 <= this.b && this.b <= 255)
- && (0 <= this.opacity && this.opacity <= 1);
- },
- hex: function() {
- return "#" + hex(this.r) + hex(this.g) + hex(this.b);
- },
- toString: function() {
- var a = this.opacity; a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
- return (a === 1 ? "rgb(" : "rgba(")
- + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", "
- + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", "
- + Math.max(0, Math.min(255, Math.round(this.b) || 0))
- + (a === 1 ? ")" : ", " + a + ")");
- }
-}));
-
-function hex(value) {
- value = Math.max(0, Math.min(255, Math.round(value) || 0));
- return (value < 16 ? "0" : "") + value.toString(16);
-}
-
-function hsla(h, s, l, a) {
- if (a <= 0) h = s = l = NaN;
- else if (l <= 0 || l >= 1) h = s = NaN;
- else if (s <= 0) h = NaN;
- return new Hsl(h, s, l, a);
-}
-
-function hslConvert(o) {
- if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
- if (!(o instanceof Color)) o = color_color(o);
- if (!o) return new Hsl;
- if (o instanceof Hsl) return o;
- o = o.rgb();
- var r = o.r / 255,
- g = o.g / 255,
- b = o.b / 255,
- min = Math.min(r, g, b),
- max = Math.max(r, g, b),
- h = NaN,
- s = max - min,
- l = (max + min) / 2;
- if (s) {
- if (r === max) h = (g - b) / s + (g < b) * 6;
- else if (g === max) h = (b - r) / s + 2;
- else h = (r - g) / s + 4;
- s /= l < 0.5 ? max + min : 2 - max - min;
- h *= 60;
- } else {
- s = l > 0 && l < 1 ? 0 : h;
- }
- return new Hsl(h, s, l, o.opacity);
-}
-
-function hsl(h, s, l, opacity) {
- return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
-}
-
-function Hsl(h, s, l, opacity) {
- this.h = +h;
- this.s = +s;
- this.l = +l;
- this.opacity = +opacity;
-}
-
-define(Hsl, hsl, extend(Color, {
- brighter: function(k) {
- k = k == null ? brighter : Math.pow(brighter, k);
- return new Hsl(this.h, this.s, this.l * k, this.opacity);
- },
- darker: function(k) {
- k = k == null ? darker : Math.pow(darker, k);
- return new Hsl(this.h, this.s, this.l * k, this.opacity);
- },
- rgb: function() {
- var h = this.h % 360 + (this.h < 0) * 360,
- s = isNaN(h) || isNaN(this.s) ? 0 : this.s,
- l = this.l,
- m2 = l + (l < 0.5 ? l : 1 - l) * s,
- m1 = 2 * l - m2;
- return new Rgb(
- hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),
- hsl2rgb(h, m1, m2),
- hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),
- this.opacity
- );
- },
- displayable: function() {
- return (0 <= this.s && this.s <= 1 || isNaN(this.s))
- && (0 <= this.l && this.l <= 1)
- && (0 <= this.opacity && this.opacity <= 1);
- }
-}));
-
-/* From FvD 13.37, CSS Color Module Level 3 */
-function hsl2rgb(h, m1, m2) {
- return (h < 60 ? m1 + (m2 - m1) * h / 60
- : h < 180 ? m2
- : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60
- : m1) * 255;
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-color/src/math.js
-var deg2rad = Math.PI / 180;
-var rad2deg = 180 / Math.PI;
-
-// CONCATENATED MODULE: ../node_modules/d3-color/src/lab.js
-
-
-
-
-// https://beta.observablehq.com/@mbostock/lab-and-rgb
-var K = 18,
- Xn = 0.96422,
- Yn = 1,
- Zn = 0.82521,
- t0 = 4 / 29,
- t1 = 6 / 29,
- t2 = 3 * t1 * t1,
- t3 = t1 * t1 * t1;
-
-function labConvert(o) {
- if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);
- if (o instanceof Hcl) {
- if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity);
- var h = o.h * deg2rad;
- return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);
- }
- if (!(o instanceof Rgb)) o = rgbConvert(o);
- var r = rgb2lrgb(o.r),
- g = rgb2lrgb(o.g),
- b = rgb2lrgb(o.b),
- y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / Yn), x, z;
- if (r === g && g === b) x = z = y; else {
- x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / Xn);
- z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / Zn);
- }
- return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);
-}
-
-function gray(l, opacity) {
- return new Lab(l, 0, 0, opacity == null ? 1 : opacity);
-}
-
-function lab(l, a, b, opacity) {
- return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);
-}
-
-function Lab(l, a, b, opacity) {
- this.l = +l;
- this.a = +a;
- this.b = +b;
- this.opacity = +opacity;
-}
-
-define(Lab, lab, extend(Color, {
- brighter: function(k) {
- return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);
- },
- darker: function(k) {
- return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);
- },
- rgb: function() {
- var y = (this.l + 16) / 116,
- x = isNaN(this.a) ? y : y + this.a / 500,
- z = isNaN(this.b) ? y : y - this.b / 200;
- x = Xn * lab2xyz(x);
- y = Yn * lab2xyz(y);
- z = Zn * lab2xyz(z);
- return new Rgb(
- lrgb2rgb( 3.1338561 * x - 1.6168667 * y - 0.4906146 * z),
- lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z),
- lrgb2rgb( 0.0719453 * x - 0.2289914 * y + 1.4052427 * z),
- this.opacity
- );
- }
-}));
-
-function xyz2lab(t) {
- return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0;
-}
-
-function lab2xyz(t) {
- return t > t1 ? t * t * t : t2 * (t - t0);
-}
-
-function lrgb2rgb(x) {
- return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);
-}
-
-function rgb2lrgb(x) {
- return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);
-}
-
-function hclConvert(o) {
- if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);
- if (!(o instanceof Lab)) o = labConvert(o);
- if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0, o.l, o.opacity);
- var h = Math.atan2(o.b, o.a) * rad2deg;
- return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);
-}
-
-function lch(l, c, h, opacity) {
- return arguments.length === 1 ? hclConvert(l) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
-}
-
-function hcl(h, c, l, opacity) {
- return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
-}
-
-function Hcl(h, c, l, opacity) {
- this.h = +h;
- this.c = +c;
- this.l = +l;
- this.opacity = +opacity;
-}
-
-define(Hcl, hcl, extend(Color, {
- brighter: function(k) {
- return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);
- },
- darker: function(k) {
- return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);
- },
- rgb: function() {
- return labConvert(this).rgb();
- }
-}));
-
-// CONCATENATED MODULE: ../node_modules/d3-color/src/cubehelix.js
-
-
-
-
-var A = -0.14861,
- B = +1.78277,
- C = -0.29227,
- D = -0.90649,
- E = +1.97294,
- ED = E * D,
- EB = E * B,
- BC_DA = B * C - D * A;
-
-function cubehelixConvert(o) {
- if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);
- if (!(o instanceof Rgb)) o = rgbConvert(o);
- var r = o.r / 255,
- g = o.g / 255,
- b = o.b / 255,
- l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),
- bl = b - l,
- k = (E * (g - l) - C * bl) / D,
- s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)), // NaN if l=0 or l=1
- h = s ? Math.atan2(k, bl) * rad2deg - 120 : NaN;
- return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);
-}
-
-function cubehelix_cubehelix(h, s, l, opacity) {
- return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);
-}
-
-function Cubehelix(h, s, l, opacity) {
- this.h = +h;
- this.s = +s;
- this.l = +l;
- this.opacity = +opacity;
-}
-
-define(Cubehelix, cubehelix_cubehelix, extend(Color, {
- brighter: function(k) {
- k = k == null ? brighter : Math.pow(brighter, k);
- return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
- },
- darker: function(k) {
- k = k == null ? darker : Math.pow(darker, k);
- return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
- },
- rgb: function() {
- var h = isNaN(this.h) ? 0 : (this.h + 120) * deg2rad,
- l = +this.l,
- a = isNaN(this.s) ? 0 : this.s * l * (1 - l),
- cosh = Math.cos(h),
- sinh = Math.sin(h);
- return new Rgb(
- 255 * (l + a * (A * cosh + B * sinh)),
- 255 * (l + a * (C * cosh + D * sinh)),
- 255 * (l + a * (E * cosh)),
- this.opacity
- );
- }
-}));
-
-// CONCATENATED MODULE: ../node_modules/d3-color/src/index.js
-
-
-
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/basis.js
-function basis(t1, v0, v1, v2, v3) {
- var t2 = t1 * t1, t3 = t2 * t1;
- return ((1 - 3 * t1 + 3 * t2 - t3) * v0
- + (4 - 6 * t2 + 3 * t3) * v1
- + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2
- + t3 * v3) / 6;
-}
-
-/* harmony default export */ var src_basis = (function(values) {
- var n = values.length - 1;
- return function(t) {
- var i = t <= 0 ? (t = 0) : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),
- v1 = values[i],
- v2 = values[i + 1],
- v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,
- v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;
- return basis((t - i / n) * n, v0, v1, v2, v3);
- };
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/basisClosed.js
-
-
-/* harmony default export */ var basisClosed = (function(values) {
- var n = values.length;
- return function(t) {
- var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),
- v0 = values[(i + n - 1) % n],
- v1 = values[i % n],
- v2 = values[(i + 1) % n],
- v3 = values[(i + 2) % n];
- return basis((t - i / n) * n, v0, v1, v2, v3);
- };
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/constant.js
-/* harmony default export */ var constant = (function(x) {
- return function() {
- return x;
- };
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/color.js
-
-
-function linear(a, d) {
- return function(t) {
- return a + t * d;
- };
-}
-
-function exponential(a, b, y) {
- return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {
- return Math.pow(a + t * b, y);
- };
-}
-
-function color_hue(a, b) {
- var d = b - a;
- return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);
-}
-
-function gamma(y) {
- return (y = +y) === 1 ? nogamma : function(a, b) {
- return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);
- };
-}
-
-function nogamma(a, b) {
- var d = b - a;
- return d ? linear(a, d) : constant(isNaN(a) ? b : a);
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/rgb.js
-
-
-
-
-
-/* harmony default export */ var src_rgb = ((function rgbGamma(y) {
- var color = gamma(y);
-
- function rgb(start, end) {
- var r = color((start = color_rgb(start)).r, (end = color_rgb(end)).r),
- g = color(start.g, end.g),
- b = color(start.b, end.b),
- opacity = nogamma(start.opacity, end.opacity);
- return function(t) {
- start.r = r(t);
- start.g = g(t);
- start.b = b(t);
- start.opacity = opacity(t);
- return start + "";
- };
- }
-
- rgb.gamma = rgbGamma;
-
- return rgb;
-})(1));
-
-function rgbSpline(spline) {
- return function(colors) {
- var n = colors.length,
- r = new Array(n),
- g = new Array(n),
- b = new Array(n),
- i, color;
- for (i = 0; i < n; ++i) {
- color = color_rgb(colors[i]);
- r[i] = color.r || 0;
- g[i] = color.g || 0;
- b[i] = color.b || 0;
- }
- r = spline(r);
- g = spline(g);
- b = spline(b);
- color.opacity = 1;
- return function(t) {
- color.r = r(t);
- color.g = g(t);
- color.b = b(t);
- return color + "";
- };
- };
-}
-
-var rgbBasis = rgbSpline(src_basis);
-var rgbBasisClosed = rgbSpline(basisClosed);
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/array.js
-
-
-/* harmony default export */ var array = (function(a, b) {
- var nb = b ? b.length : 0,
- na = a ? Math.min(nb, a.length) : 0,
- x = new Array(na),
- c = new Array(nb),
- i;
-
- for (i = 0; i < na; ++i) x[i] = src_value(a[i], b[i]);
- for (; i < nb; ++i) c[i] = b[i];
-
- return function(t) {
- for (i = 0; i < na; ++i) c[i] = x[i](t);
- return c;
- };
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/date.js
-/* harmony default export */ var date = (function(a, b) {
- var d = new Date;
- return a = +a, b -= a, function(t) {
- return d.setTime(a + b * t), d;
- };
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/number.js
-/* harmony default export */ var number = (function(a, b) {
- return a = +a, b -= a, function(t) {
- return a + b * t;
- };
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/object.js
-
-
-/* harmony default export */ var object = (function(a, b) {
- var i = {},
- c = {},
- k;
-
- if (a === null || typeof a !== "object") a = {};
- if (b === null || typeof b !== "object") b = {};
-
- for (k in b) {
- if (k in a) {
- i[k] = src_value(a[k], b[k]);
- } else {
- c[k] = b[k];
- }
- }
-
- return function(t) {
- for (k in i) c[k] = i[k](t);
- return c;
- };
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/string.js
-
-
-var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,
- reB = new RegExp(reA.source, "g");
-
-function zero(b) {
- return function() {
- return b;
- };
-}
-
-function one(b) {
- return function(t) {
- return b(t) + "";
- };
-}
-
-/* harmony default export */ var string = (function(a, b) {
- var bi = reA.lastIndex = reB.lastIndex = 0, // scan index for next number in b
- am, // current match in a
- bm, // current match in b
- bs, // string preceding current number in b, if any
- i = -1, // index in s
- s = [], // string constants and placeholders
- q = []; // number interpolators
-
- // Coerce inputs to strings.
- a = a + "", b = b + "";
-
- // Interpolate pairs of numbers in a & b.
- while ((am = reA.exec(a))
- && (bm = reB.exec(b))) {
- if ((bs = bm.index) > bi) { // a string precedes the next number in b
- bs = b.slice(bi, bs);
- if (s[i]) s[i] += bs; // coalesce with previous string
- else s[++i] = bs;
- }
- if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match
- if (s[i]) s[i] += bm; // coalesce with previous string
- else s[++i] = bm;
- } else { // interpolate non-matching numbers
- s[++i] = null;
- q.push({i: i, x: number(am, bm)});
- }
- bi = reB.lastIndex;
- }
-
- // Add remains of b.
- if (bi < b.length) {
- bs = b.slice(bi);
- if (s[i]) s[i] += bs; // coalesce with previous string
- else s[++i] = bs;
- }
-
- // Special optimization for only a single match.
- // Otherwise, interpolate each of the numbers and rejoin the string.
- return s.length < 2 ? (q[0]
- ? one(q[0].x)
- : zero(b))
- : (b = q.length, function(t) {
- for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);
- return s.join("");
- });
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/value.js
-
-
-
-
-
-
-
-
-
-/* harmony default export */ var src_value = (function(a, b) {
- var t = typeof b, c;
- return b == null || t === "boolean" ? constant(b)
- : (t === "number" ? number
- : t === "string" ? ((c = color_color(b)) ? (b = c, src_rgb) : string)
- : b instanceof color_color ? src_rgb
- : b instanceof Date ? date
- : Array.isArray(b) ? array
- : typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? object
- : number)(a, b);
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/discrete.js
-/* harmony default export */ var discrete = (function(range) {
- var n = range.length;
- return function(t) {
- return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];
- };
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/hue.js
-
-
-/* harmony default export */ var src_hue = (function(a, b) {
- var i = color_hue(+a, +b);
- return function(t) {
- var x = i(t);
- return x - 360 * Math.floor(x / 360);
- };
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/round.js
-/* harmony default export */ var round = (function(a, b) {
- return a = +a, b -= a, function(t) {
- return Math.round(a + b * t);
- };
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/transform/decompose.js
-var degrees = 180 / Math.PI;
-
-var identity = {
- translateX: 0,
- translateY: 0,
- rotate: 0,
- skewX: 0,
- scaleX: 1,
- scaleY: 1
-};
-
-/* harmony default export */ var decompose = (function(a, b, c, d, e, f) {
- var scaleX, scaleY, skewX;
- if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;
- if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;
- if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;
- if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;
- return {
- translateX: e,
- translateY: f,
- rotate: Math.atan2(b, a) * degrees,
- skewX: Math.atan(skewX) * degrees,
- scaleX: scaleX,
- scaleY: scaleY
- };
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/transform/parse.js
-
-
-var cssNode,
- cssRoot,
- cssView,
- svgNode;
-
-function parseCss(value) {
- if (value === "none") return identity;
- if (!cssNode) cssNode = document.createElement("DIV"), cssRoot = document.documentElement, cssView = document.defaultView;
- cssNode.style.transform = value;
- value = cssView.getComputedStyle(cssRoot.appendChild(cssNode), null).getPropertyValue("transform");
- cssRoot.removeChild(cssNode);
- value = value.slice(7, -1).split(",");
- return decompose(+value[0], +value[1], +value[2], +value[3], +value[4], +value[5]);
-}
-
-function parseSvg(value) {
- if (value == null) return identity;
- if (!svgNode) svgNode = document.createElementNS("http://www.w3.org/2000/svg", "g");
- svgNode.setAttribute("transform", value);
- if (!(value = svgNode.transform.baseVal.consolidate())) return identity;
- value = value.matrix;
- return decompose(value.a, value.b, value.c, value.d, value.e, value.f);
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/transform/index.js
-
-
-
-function interpolateTransform(parse, pxComma, pxParen, degParen) {
-
- function pop(s) {
- return s.length ? s.pop() + " " : "";
- }
-
- function translate(xa, ya, xb, yb, s, q) {
- if (xa !== xb || ya !== yb) {
- var i = s.push("translate(", null, pxComma, null, pxParen);
- q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});
- } else if (xb || yb) {
- s.push("translate(" + xb + pxComma + yb + pxParen);
- }
- }
-
- function rotate(a, b, s, q) {
- if (a !== b) {
- if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path
- q.push({i: s.push(pop(s) + "rotate(", null, degParen) - 2, x: number(a, b)});
- } else if (b) {
- s.push(pop(s) + "rotate(" + b + degParen);
- }
- }
-
- function skewX(a, b, s, q) {
- if (a !== b) {
- q.push({i: s.push(pop(s) + "skewX(", null, degParen) - 2, x: number(a, b)});
- } else if (b) {
- s.push(pop(s) + "skewX(" + b + degParen);
- }
- }
-
- function scale(xa, ya, xb, yb, s, q) {
- if (xa !== xb || ya !== yb) {
- var i = s.push(pop(s) + "scale(", null, ",", null, ")");
- q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});
- } else if (xb !== 1 || yb !== 1) {
- s.push(pop(s) + "scale(" + xb + "," + yb + ")");
- }
- }
-
- return function(a, b) {
- var s = [], // string constants and placeholders
- q = []; // number interpolators
- a = parse(a), b = parse(b);
- translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);
- rotate(a.rotate, b.rotate, s, q);
- skewX(a.skewX, b.skewX, s, q);
- scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);
- a = b = null; // gc
- return function(t) {
- var i = -1, n = q.length, o;
- while (++i < n) s[(o = q[i]).i] = o.x(t);
- return s.join("");
- };
- };
-}
-
-var interpolateTransformCss = interpolateTransform(parseCss, "px, ", "px)", "deg)");
-var interpolateTransformSvg = interpolateTransform(parseSvg, ", ", ")", ")");
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/zoom.js
-var rho = Math.SQRT2,
- rho2 = 2,
- rho4 = 4,
- epsilon2 = 1e-12;
-
-function zoom_cosh(x) {
- return ((x = Math.exp(x)) + 1 / x) / 2;
-}
-
-function zoom_sinh(x) {
- return ((x = Math.exp(x)) - 1 / x) / 2;
-}
-
-function tanh(x) {
- return ((x = Math.exp(2 * x)) - 1) / (x + 1);
-}
-
-// p0 = [ux0, uy0, w0]
-// p1 = [ux1, uy1, w1]
-/* harmony default export */ var zoom = (function(p0, p1) {
- var ux0 = p0[0], uy0 = p0[1], w0 = p0[2],
- ux1 = p1[0], uy1 = p1[1], w1 = p1[2],
- dx = ux1 - ux0,
- dy = uy1 - uy0,
- d2 = dx * dx + dy * dy,
- i,
- S;
-
- // Special case for u0 ≅ u1.
- if (d2 < epsilon2) {
- S = Math.log(w1 / w0) / rho;
- i = function(t) {
- return [
- ux0 + t * dx,
- uy0 + t * dy,
- w0 * Math.exp(rho * t * S)
- ];
- }
- }
-
- // General case.
- else {
- var d1 = Math.sqrt(d2),
- b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),
- b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),
- r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),
- r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);
- S = (r1 - r0) / rho;
- i = function(t) {
- var s = t * S,
- coshr0 = zoom_cosh(r0),
- u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - zoom_sinh(r0));
- return [
- ux0 + u * dx,
- uy0 + u * dy,
- w0 * coshr0 / zoom_cosh(rho * s + r0)
- ];
- }
- }
-
- i.duration = S * 1000;
-
- return i;
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/hsl.js
-
-
-
-function hsl_hsl(hue) {
- return function(start, end) {
- var h = hue((start = hsl(start)).h, (end = hsl(end)).h),
- s = nogamma(start.s, end.s),
- l = nogamma(start.l, end.l),
- opacity = nogamma(start.opacity, end.opacity);
- return function(t) {
- start.h = h(t);
- start.s = s(t);
- start.l = l(t);
- start.opacity = opacity(t);
- return start + "";
- };
- }
-}
-
-/* harmony default export */ var src_hsl = (hsl_hsl(color_hue));
-var hslLong = hsl_hsl(nogamma);
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/lab.js
-
-
-
-function lab_lab(start, end) {
- var l = nogamma((start = lab(start)).l, (end = lab(end)).l),
- a = nogamma(start.a, end.a),
- b = nogamma(start.b, end.b),
- opacity = nogamma(start.opacity, end.opacity);
- return function(t) {
- start.l = l(t);
- start.a = a(t);
- start.b = b(t);
- start.opacity = opacity(t);
- return start + "";
- };
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/hcl.js
-
-
-
-function hcl_hcl(hue) {
- return function(start, end) {
- var h = hue((start = hcl(start)).h, (end = hcl(end)).h),
- c = nogamma(start.c, end.c),
- l = nogamma(start.l, end.l),
- opacity = nogamma(start.opacity, end.opacity);
- return function(t) {
- start.h = h(t);
- start.c = c(t);
- start.l = l(t);
- start.opacity = opacity(t);
- return start + "";
- };
- }
-}
-
-/* harmony default export */ var src_hcl = (hcl_hcl(color_hue));
-var hclLong = hcl_hcl(nogamma);
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/cubehelix.js
-
-
-
-function src_cubehelix_cubehelix(hue) {
- return (function cubehelixGamma(y) {
- y = +y;
-
- function cubehelix(start, end) {
- var h = hue((start = cubehelix_cubehelix(start)).h, (end = cubehelix_cubehelix(end)).h),
- s = nogamma(start.s, end.s),
- l = nogamma(start.l, end.l),
- opacity = nogamma(start.opacity, end.opacity);
- return function(t) {
- start.h = h(t);
- start.s = s(t);
- start.l = l(Math.pow(t, y));
- start.opacity = opacity(t);
- return start + "";
- };
- }
-
- cubehelix.gamma = cubehelixGamma;
-
- return cubehelix;
- })(1);
-}
-
-/* harmony default export */ var src_cubehelix = (src_cubehelix_cubehelix(color_hue));
-var cubehelixLong = src_cubehelix_cubehelix(nogamma);
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/piecewise.js
-function piecewise(interpolate, values) {
- var i = 0, n = values.length - 1, v = values[0], I = new Array(n < 0 ? 0 : n);
- while (i < n) I[i] = interpolate(v, v = values[++i]);
- return function(t) {
- var i = Math.max(0, Math.min(n - 1, Math.floor(t *= n)));
- return I[i](t - i);
- };
-}
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/quantize.js
-/* harmony default export */ var quantize = (function(interpolator, n) {
- var samples = new Array(n);
- for (var i = 0; i < n; ++i) samples[i] = interpolator(i / (n - 1));
- return samples;
-});
-
-// CONCATENATED MODULE: ../node_modules/d3-interpolate/src/index.js
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolate", function() { return src_value; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateArray", function() { return array; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateBasis", function() { return src_basis; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateBasisClosed", function() { return basisClosed; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateDate", function() { return date; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateDiscrete", function() { return discrete; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateHue", function() { return src_hue; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateNumber", function() { return number; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateObject", function() { return object; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateRound", function() { return round; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateString", function() { return string; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateTransformCss", function() { return interpolateTransformCss; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateTransformSvg", function() { return interpolateTransformSvg; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateZoom", function() { return zoom; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateRgb", function() { return src_rgb; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateRgbBasis", function() { return rgbBasis; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateRgbBasisClosed", function() { return rgbBasisClosed; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateHsl", function() { return src_hsl; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateHslLong", function() { return hslLong; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateLab", function() { return lab_lab; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateHcl", function() { return src_hcl; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateHclLong", function() { return hclLong; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateCubehelix", function() { return src_cubehelix; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "interpolateCubehelixLong", function() { return cubehelixLong; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "piecewise", function() { return piecewise; });
-/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "quantize", function() { return quantize; });
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/***/ }),
-/* 280 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; // weak
-/* eslint no-use-before-define: "off" */
-// Apapted from https://github.com/d3/d3-transition/blob/master/src/transition/schedule.js
-
-exports.default = function (node, stateKey, id, timing, tweens) {
- var events = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {};
-
- var schedules = node.TRANSITION_SCHEDULES;
- if (!schedules) {
- node.TRANSITION_SCHEDULES = {}; // eslint-disable-line no-param-reassign
- } else if (id in schedules) {
- return;
- }
-
- var config = _extends({ stateKey: stateKey, events: events, tweens: tweens }, timing, { timer: null, state: CREATED });
- create(node, id, config);
-};
-
-var _d3Timer = __webpack_require__(96);
-
-var CREATED = 0;
-var SCHEDULED = 1;
-var STARTING = 2;
-var STARTED = 3;
-var RUNNING = 4;
-var ENDING = 5;
-var ENDED = 6;
-
-function create(node, id, config) {
- var schedules = node.TRANSITION_SCHEDULES;
-
- // Initialize the transition timer when the transition is created.
- // Note the actual delay is not known until the first callback!
- var transition = _extends({}, config);
- var n = transition.tweens.length;
- var tweens = new Array(n);
-
- schedules[id] = transition;
- transition.timer = (0, _d3Timer.timer)(schedule, 0, transition.time);
-
- function schedule(elapsed) {
- transition.state = SCHEDULED;
- transition.timer.restart(start, transition.delay, transition.time);
-
- // If the elapsed delay is less than our first sleep, start immediately.
- if (transition.delay <= elapsed) {
- start(elapsed - transition.delay);
- }
- }
-
- function start(elapsed) {
- // eslint-disable-line consistent-return
- // If the state is not SCHEDULED, then we previously errored on start.
- if (transition.state !== SCHEDULED) return stop();
-
- for (var sid in schedules) {
- // eslint-disable-line
- var s = schedules[sid];
-
- if (s.stateKey !== transition.stateKey) {
- continue; // eslint-disable-line no-continue
- }
-
- // While this element already has a starting transition during this frame,
- // defer starting an interrupting transition until that transition has a
- // chance to tick (and possibly end); see d3/d3-transition#54!
- if (s.state === STARTED) return (0, _d3Timer.timeout)(start);
-
- // 1. Interrupt the active transition, if any. dispatch the interrupt event.
- // 2. Cancel any pre-empted transitions. No interrupt event is dispatched
- // because the cancelled transitions never started. Note that this also
- // removes this transition from the pending list!
-
- if (s.state === RUNNING) {
- s.state = ENDED;
- s.timer.stop();
- if (s.events.interrupt && typeof s.events.interrupt === 'function') {
- s.events.interrupt.call(this);
- }
- delete schedules[sid];
- } else if (+sid < id) {
- s.state = ENDED;
- s.timer.stop();
- delete schedules[sid];
- }
- }
-
- // Defer the first tick to end of the current frame; see d3/d3#1576.
- // Note the transition may be canceled after start and before the first tick!
- // Note this must be scheduled before the start event; see d3/d3-transition#16!
- // Assuming this is successful, subsequent callbacks go straight to tick.
- (0, _d3Timer.timeout)(function () {
- if (transition.state === STARTED) {
- transition.state = RUNNING;
- transition.timer.restart(tick, transition.delay, transition.time);
- tick(elapsed);
- }
- });
-
- transition.state = STARTING;
- if (transition.events.start && typeof transition.events.start === 'function') {
- transition.events.start.call(node);
- }
-
- if (transition.state !== STARTING) {
- // interrupted
- return; // eslint-disable-line consistent-return
- }
-
- transition.state = STARTED;
-
- // Initialize the tween, deleting null tween.
- var j = -1;
-
- for (var i = 0; i < n; ++i) {
- var res = transition.tweens[i].call(node);
-
- if (res) {
- tweens[++j] = res;
- }
- }
-
- tweens.length = j + 1;
- }
-
- function tick(elapsed) {
- var t = 1;
-
- if (elapsed < transition.duration) {
- t = transition.ease.call(null, elapsed / transition.duration);
- } else {
- transition.timer.restart(stop);
- transition.state = ENDING;
- }
-
- var i = -1;
-
- while (++i < tweens.length) {
- tweens[i].call(null, t);
- }
-
- if (transition.state === ENDING) {
- if (transition.events.end && typeof transition.events.end === 'function') {
- transition.events.end.call(node);
- }
- stop();
- }
- }
-
- function stop() {
- transition.state = ENDED;
- transition.timer.stop();
-
- delete schedules[id];
- for (var i in schedules) {
- return;
- } // eslint-disable-line guard-for-in, no-restricted-syntax
- delete node.TRANSITION_SCHEDULES; // eslint-disable-line no-param-reassign
- }
-}
-
-/***/ }),
-/* 281 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = stop;
-// weak
-
-function stop() {
- var ts = this.TRANSITION_SCHEDULES;
-
- if (ts) {
- Object.keys(ts).forEach(function (s) {
- ts[s].timer.stop();
- });
- }
-}
-
-/***/ }),
-/* 282 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 283 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 284 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 285 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 286 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 287 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 288 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 289 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 290 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 291 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 292 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 293 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 294 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 295 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 296 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 297 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 298 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 299 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 300 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 301 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_warning__ = __webpack_require__(19);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_warning__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__ = __webpack_require__(8);
-
-
-
-
-
-/* eslint-disable jsx-a11y/label-has-for */
-
-
-
-
-
-
-
-
-var propTypes = {
- inline: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
- disabled: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
- title: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.string,
- /**
- * Only valid if `inline` is not set.
- */
- validationState: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOf(['success', 'warning', 'error', null]),
- /**
- * Attaches a ref to the ` ` element. Only functions can be used here.
- *
- * ```js
- * { this.input = ref; }} />
- * ```
- */
- inputRef: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func
-};
-
-var defaultProps = {
- inline: false,
- disabled: false,
- title: ''
-};
-
-var Checkbox = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(Checkbox, _React$Component);
-
- function Checkbox() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, Checkbox);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- Checkbox.prototype.render = function render() {
- var _props = this.props,
- inline = _props.inline,
- disabled = _props.disabled,
- validationState = _props.validationState,
- inputRef = _props.inputRef,
- className = _props.className,
- style = _props.style,
- title = _props.title,
- children = _props.children,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['inline', 'disabled', 'validationState', 'inputRef', 'className', 'style', 'title', 'children']);
-
- var _splitBsProps = Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var input = __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('input', __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, elementProps, {
- ref: inputRef,
- type: 'checkbox',
- disabled: disabled
- }));
-
- if (inline) {
- var _classes2;
-
- var _classes = (_classes2 = {}, _classes2[Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["e" /* prefix */])(bsProps, 'inline')] = true, _classes2.disabled = disabled, _classes2);
-
- // Use a warning here instead of in propTypes to get better-looking
- // generated documentation.
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_8_warning___default()(!validationState, '`validationState` is ignored on ``. To display ' + 'validation state on an inline checkbox, set `validationState` on a ' + 'parent `` or other element instead.') : void 0;
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- 'label',
- { className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, _classes), style: style, title: title },
- input,
- children
- );
- }
-
- var classes = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps), {
- disabled: disabled
- });
- if (validationState) {
- classes['has-' + validationState] = true;
- }
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- 'div',
- { className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, classes), style: style },
- __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- 'label',
- { title: title },
- input,
- children
- )
- );
- };
-
- return Checkbox;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-Checkbox.propTypes = propTypes;
-Checkbox.defaultProps = defaultProps;
-
-/* unused harmony default export */ var _unused_webpack_default_export = (Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["a" /* bsClass */])('checkbox', Checkbox));
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 302 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_warning__ = __webpack_require__(19);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_warning__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__ = __webpack_require__(8);
-
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- /**
- * Uses `controlId` from `` if not explicitly specified.
- */
- htmlFor: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.string,
- srOnly: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool
-};
-
-var defaultProps = {
- srOnly: false
-};
-
-var contextTypes = {
- $bs_formGroup: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.object
-};
-
-var ControlLabel = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(ControlLabel, _React$Component);
-
- function ControlLabel() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, ControlLabel);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- ControlLabel.prototype.render = function render() {
- var formGroup = this.context.$bs_formGroup;
- var controlId = formGroup && formGroup.controlId;
-
- var _props = this.props,
- _props$htmlFor = _props.htmlFor,
- htmlFor = _props$htmlFor === undefined ? controlId : _props$htmlFor,
- srOnly = _props.srOnly,
- className = _props.className,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['htmlFor', 'srOnly', 'className']);
-
- var _splitBsProps = Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_8_warning___default()(controlId == null || htmlFor === controlId, '`controlId` is ignored on `` when `htmlFor` is specified.') : void 0;
-
- var classes = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps), {
- 'sr-only': srOnly
- });
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('label', __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, elementProps, {
- htmlFor: htmlFor,
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, classes)
- }));
- };
-
- return ControlLabel;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-ControlLabel.propTypes = propTypes;
-ControlLabel.defaultProps = defaultProps;
-ControlLabel.contextTypes = contextTypes;
-
-/* unused harmony default export */ var _unused_webpack_default_export = (Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["a" /* bsClass */])('control-label', ControlLabel));
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 303 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_array_from__ = __webpack_require__(113);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_array_from___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_array_from__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_keycode__ = __webpack_require__(51);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_keycode___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_keycode__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_dom__ = __webpack_require__(13);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_react_dom__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react_overlays_lib_RootCloseWrapper__ = __webpack_require__(91);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_react_overlays_lib_RootCloseWrapper___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_react_overlays_lib_RootCloseWrapper__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__ = __webpack_require__(8);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__utils_createChainedFunction__ = __webpack_require__(15);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__utils_ValidComponentChildren__ = __webpack_require__(20);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- open: __WEBPACK_IMPORTED_MODULE_9_prop_types___default.a.bool,
- pullRight: __WEBPACK_IMPORTED_MODULE_9_prop_types___default.a.bool,
- onClose: __WEBPACK_IMPORTED_MODULE_9_prop_types___default.a.func,
- labelledBy: __WEBPACK_IMPORTED_MODULE_9_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_9_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_9_prop_types___default.a.number]),
- onSelect: __WEBPACK_IMPORTED_MODULE_9_prop_types___default.a.func,
- rootCloseEvent: __WEBPACK_IMPORTED_MODULE_9_prop_types___default.a.oneOf(['click', 'mousedown'])
-};
-
-var defaultProps = {
- bsRole: 'menu',
- pullRight: false
-};
-
-var DropdownMenu = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits___default()(DropdownMenu, _React$Component);
-
- function DropdownMenu(props) {
- __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_classCallCheck___default()(this, DropdownMenu);
-
- var _this = __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.call(this, props));
-
- _this.handleRootClose = _this.handleRootClose.bind(_this);
- _this.handleKeyDown = _this.handleKeyDown.bind(_this);
- return _this;
- }
-
- DropdownMenu.prototype.getFocusableMenuItems = function getFocusableMenuItems() {
- var node = __WEBPACK_IMPORTED_MODULE_10_react_dom___default.a.findDOMNode(this);
- if (!node) {
- return [];
- }
-
- return __WEBPACK_IMPORTED_MODULE_2_babel_runtime_core_js_array_from___default()(node.querySelectorAll('[tabIndex="-1"]'));
- };
-
- DropdownMenu.prototype.getItemsAndActiveIndex = function getItemsAndActiveIndex() {
- var items = this.getFocusableMenuItems();
- var activeIndex = items.indexOf(document.activeElement);
-
- return { items: items, activeIndex: activeIndex };
- };
-
- DropdownMenu.prototype.focusNext = function focusNext() {
- var _getItemsAndActiveInd = this.getItemsAndActiveIndex(),
- items = _getItemsAndActiveInd.items,
- activeIndex = _getItemsAndActiveInd.activeIndex;
-
- if (items.length === 0) {
- return;
- }
-
- var nextIndex = activeIndex === items.length - 1 ? 0 : activeIndex + 1;
- items[nextIndex].focus();
- };
-
- DropdownMenu.prototype.focusPrevious = function focusPrevious() {
- var _getItemsAndActiveInd2 = this.getItemsAndActiveIndex(),
- items = _getItemsAndActiveInd2.items,
- activeIndex = _getItemsAndActiveInd2.activeIndex;
-
- if (items.length === 0) {
- return;
- }
-
- var prevIndex = activeIndex === 0 ? items.length - 1 : activeIndex - 1;
- items[prevIndex].focus();
- };
-
- DropdownMenu.prototype.handleKeyDown = function handleKeyDown(event) {
- switch (event.keyCode) {
- case __WEBPACK_IMPORTED_MODULE_7_keycode___default.a.codes.down:
- this.focusNext();
- event.preventDefault();
- break;
- case __WEBPACK_IMPORTED_MODULE_7_keycode___default.a.codes.up:
- this.focusPrevious();
- event.preventDefault();
- break;
- case __WEBPACK_IMPORTED_MODULE_7_keycode___default.a.codes.esc:
- case __WEBPACK_IMPORTED_MODULE_7_keycode___default.a.codes.tab:
- this.props.onClose(event, { source: 'keydown' });
- break;
- default:
- }
- };
-
- DropdownMenu.prototype.handleRootClose = function handleRootClose(event) {
- this.props.onClose(event, { source: 'rootClose' });
- };
-
- DropdownMenu.prototype.render = function render() {
- var _extends2,
- _this2 = this;
-
- var _props = this.props,
- open = _props.open,
- pullRight = _props.pullRight,
- labelledBy = _props.labelledBy,
- onSelect = _props.onSelect,
- className = _props.className,
- rootCloseEvent = _props.rootCloseEvent,
- children = _props.children,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['open', 'pullRight', 'labelledBy', 'onSelect', 'className', 'rootCloseEvent', 'children']);
-
- var _splitBsPropsAndOmit = Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["g" /* splitBsPropsAndOmit */])(props, ['onClose']),
- bsProps = _splitBsPropsAndOmit[0],
- elementProps = _splitBsPropsAndOmit[1];
-
- var classes = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps), (_extends2 = {}, _extends2[Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["e" /* prefix */])(bsProps, 'right')] = pullRight, _extends2));
-
- return __WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(
- __WEBPACK_IMPORTED_MODULE_11_react_overlays_lib_RootCloseWrapper___default.a,
- {
- disabled: !open,
- onRootClose: this.handleRootClose,
- event: rootCloseEvent
- },
- __WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(
- 'ul',
- __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, elementProps, {
- role: 'menu',
- className: __WEBPACK_IMPORTED_MODULE_6_classnames___default()(className, classes),
- 'aria-labelledby': labelledBy
- }),
- __WEBPACK_IMPORTED_MODULE_14__utils_ValidComponentChildren__["a" /* default */].map(children, function (child) {
- return __WEBPACK_IMPORTED_MODULE_8_react___default.a.cloneElement(child, {
- onKeyDown: Object(__WEBPACK_IMPORTED_MODULE_13__utils_createChainedFunction__["a" /* default */])(child.props.onKeyDown, _this2.handleKeyDown),
- onSelect: Object(__WEBPACK_IMPORTED_MODULE_13__utils_createChainedFunction__["a" /* default */])(child.props.onSelect, onSelect)
- });
- })
- )
- );
- };
-
- return DropdownMenu;
-}(__WEBPACK_IMPORTED_MODULE_8_react___default.a.Component);
-
-DropdownMenu.propTypes = propTypes;
-DropdownMenu.defaultProps = defaultProps;
-
-/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["a" /* bsClass */])('dropdown-menu', DropdownMenu));
-
-/***/ }),
-/* 304 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (immutable) */ __webpack_exports__["b"] = requiredRoles;
-/* harmony export (immutable) */ __webpack_exports__["a"] = exclusiveRoles;
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types_extra_lib_utils_createChainableTypeChecker__ = __webpack_require__(47);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types_extra_lib_utils_createChainableTypeChecker___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_prop_types_extra_lib_utils_createChainableTypeChecker__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ValidComponentChildren__ = __webpack_require__(20);
-
-
-
-
-function requiredRoles() {
- for (var _len = arguments.length, roles = Array(_len), _key = 0; _key < _len; _key++) {
- roles[_key] = arguments[_key];
- }
-
- return __WEBPACK_IMPORTED_MODULE_0_prop_types_extra_lib_utils_createChainableTypeChecker___default()(function (props, propName, component) {
- var missing = void 0;
-
- roles.every(function (role) {
- if (!__WEBPACK_IMPORTED_MODULE_1__ValidComponentChildren__["a" /* default */].some(props.children, function (child) {
- return child.props.bsRole === role;
- })) {
- missing = role;
- return false;
- }
-
- return true;
- });
-
- if (missing) {
- return new Error('(children) ' + component + ' - Missing a required child with bsRole: ' + (missing + '. ' + component + ' must have at least one child of each of ') + ('the following bsRoles: ' + roles.join(', ')));
- }
-
- return null;
- });
-}
-
-function exclusiveRoles() {
- for (var _len2 = arguments.length, roles = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
- roles[_key2] = arguments[_key2];
- }
-
- return __WEBPACK_IMPORTED_MODULE_0_prop_types_extra_lib_utils_createChainableTypeChecker___default()(function (props, propName, component) {
- var duplicate = void 0;
-
- roles.every(function (role) {
- var childrenWithRole = __WEBPACK_IMPORTED_MODULE_1__ValidComponentChildren__["a" /* default */].filter(props.children, function (child) {
- return child.props.bsRole === role;
- });
-
- if (childrenWithRole.length > 1) {
- duplicate = role;
- return false;
- }
-
- return true;
- });
-
- if (duplicate) {
- return new Error('(children) ' + component + ' - Duplicate children detected of bsRole: ' + (duplicate + '. Only one child each allowed with the following ') + ('bsRoles: ' + roles.join(', ')));
- }
-
- return null;
- });
-}
-
-/***/ }),
-/* 305 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_elementType__ = __webpack_require__(10);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_elementType___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_elementType__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_warning__ = __webpack_require__(19);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_warning__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__FormControlFeedback__ = __webpack_require__(306);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__FormControlStatic__ = __webpack_require__(307);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__ = __webpack_require__(8);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__utils_StyleConfig__ = __webpack_require__(17);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- componentClass: __WEBPACK_IMPORTED_MODULE_8_prop_types_extra_lib_elementType___default.a,
- /**
- * Only relevant if `componentClass` is `'input'`.
- */
- type: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.string,
- /**
- * Uses `controlId` from `` if not explicitly specified.
- */
- id: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.string,
- /**
- * Attaches a ref to the ` ` element. Only functions can be used here.
- *
- * ```js
- * { this.input = ref; }} />
- * ```
- */
- inputRef: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func
-};
-
-var defaultProps = {
- componentClass: 'input'
-};
-
-var contextTypes = {
- $bs_formGroup: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.object
-};
-
-var FormControl = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(FormControl, _React$Component);
-
- function FormControl() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, FormControl);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- FormControl.prototype.render = function render() {
- var formGroup = this.context.$bs_formGroup;
- var controlId = formGroup && formGroup.controlId;
-
- var _props = this.props,
- Component = _props.componentClass,
- type = _props.type,
- _props$id = _props.id,
- id = _props$id === undefined ? controlId : _props$id,
- inputRef = _props.inputRef,
- className = _props.className,
- bsSize = _props.bsSize,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['componentClass', 'type', 'id', 'inputRef', 'className', 'bsSize']);
-
- var _splitBsProps = Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_9_warning___default()(controlId == null || id === controlId, '`controlId` is ignored on `` when `id` is specified.') : void 0;
-
- // input[type="file"] should not have .form-control.
- var classes = void 0;
- if (type !== 'file') {
- classes = Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps);
- }
-
- // If user provides a size, make sure to append it to classes as input-
- // e.g. if bsSize is small, it will append input-sm
- if (bsSize) {
- var size = __WEBPACK_IMPORTED_MODULE_13__utils_StyleConfig__["b" /* SIZE_MAP */][bsSize] || bsSize;
- classes[Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["e" /* prefix */])({ bsClass: 'input' }, size)] = true;
- }
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(Component, __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, elementProps, {
- type: type,
- id: id,
- ref: inputRef,
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, classes)
- }));
- };
-
- return FormControl;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-FormControl.propTypes = propTypes;
-FormControl.defaultProps = defaultProps;
-FormControl.contextTypes = contextTypes;
-
-FormControl.Feedback = __WEBPACK_IMPORTED_MODULE_10__FormControlFeedback__["a" /* default */];
-FormControl.Static = __WEBPACK_IMPORTED_MODULE_11__FormControlStatic__["a" /* default */];
-
-/* unused harmony default export */ var _unused_webpack_default_export = (Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["a" /* bsClass */])('form-control', Object(__WEBPACK_IMPORTED_MODULE_12__utils_bootstrapUtils__["b" /* bsSizes */])([__WEBPACK_IMPORTED_MODULE_13__utils_StyleConfig__["c" /* Size */].SMALL, __WEBPACK_IMPORTED_MODULE_13__utils_StyleConfig__["c" /* Size */].LARGE], FormControl)));
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 306 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Glyphicon__ = __webpack_require__(99);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__ = __webpack_require__(8);
-
-
-
-
-
-
-
-
-
-
-
-
-var defaultProps = {
- bsRole: 'feedback'
-};
-
-var contextTypes = {
- $bs_formGroup: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.object
-};
-
-var FormControlFeedback = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(FormControlFeedback, _React$Component);
-
- function FormControlFeedback() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, FormControlFeedback);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- FormControlFeedback.prototype.getGlyph = function getGlyph(validationState) {
- switch (validationState) {
- case 'success':
- return 'ok';
- case 'warning':
- return 'warning-sign';
- case 'error':
- return 'remove';
- default:
- return null;
- }
- };
-
- FormControlFeedback.prototype.renderDefaultFeedback = function renderDefaultFeedback(formGroup, className, classes, elementProps) {
- var glyph = this.getGlyph(formGroup && formGroup.validationState);
- if (!glyph) {
- return null;
- }
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_8__Glyphicon__["a" /* default */], __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default()({}, elementProps, {
- glyph: glyph,
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, classes)
- }));
- };
-
- FormControlFeedback.prototype.render = function render() {
- var _props = this.props,
- className = _props.className,
- children = _props.children,
- props = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['className', 'children']);
-
- var _splitBsProps = Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps);
-
- if (!children) {
- return this.renderDefaultFeedback(this.context.$bs_formGroup, className, classes, elementProps);
- }
-
- var child = __WEBPACK_IMPORTED_MODULE_6_react___default.a.Children.only(children);
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.cloneElement(child, __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default()({}, elementProps, {
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(child.props.className, className, classes)
- }));
- };
-
- return FormControlFeedback;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-FormControlFeedback.defaultProps = defaultProps;
-FormControlFeedback.contextTypes = contextTypes;
-
-/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["a" /* bsClass */])('form-control-feedback', FormControlFeedback));
-
-/***/ }),
-/* 307 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types_extra_lib_elementType__ = __webpack_require__(10);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types_extra_lib_elementType___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types_extra_lib_elementType__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__utils_bootstrapUtils__ = __webpack_require__(8);
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- componentClass: __WEBPACK_IMPORTED_MODULE_7_prop_types_extra_lib_elementType___default.a
-};
-
-var defaultProps = {
- componentClass: 'p'
-};
-
-var FormControlStatic = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(FormControlStatic, _React$Component);
-
- function FormControlStatic() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, FormControlStatic);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- FormControlStatic.prototype.render = function render() {
- var _props = this.props,
- Component = _props.componentClass,
- className = _props.className,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['componentClass', 'className']);
-
- var _splitBsProps = Object(__WEBPACK_IMPORTED_MODULE_8__utils_bootstrapUtils__["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var classes = Object(__WEBPACK_IMPORTED_MODULE_8__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps);
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(Component, __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, elementProps, {
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, classes)
- }));
- };
-
- return FormControlStatic;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-FormControlStatic.propTypes = propTypes;
-FormControlStatic.defaultProps = defaultProps;
-
-/* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_8__utils_bootstrapUtils__["a" /* bsClass */])('form-control-static', FormControlStatic));
-
-/***/ }),
-/* 308 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_dom_helpers_query_contains__ = __webpack_require__(30);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_dom_helpers_query_contains___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_dom_helpers_query_contains__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_dom__ = __webpack_require__(13);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_react_dom__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_warning__ = __webpack_require__(19);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_warning__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__Overlay__ = __webpack_require__(128);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__utils_createChainedFunction__ = __webpack_require__(15);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/**
- * Check if value one is inside or equal to the of value
- *
- * @param {string} one
- * @param {string|array} of
- * @returns {boolean}
- */
-function isOneOf(one, of) {
- if (Array.isArray(of)) {
- return of.indexOf(one) >= 0;
- }
- return one === of;
-}
-
-var triggerType = __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOf(['click', 'hover', 'focus']);
-
-var propTypes = __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_extends___default()({}, __WEBPACK_IMPORTED_MODULE_10__Overlay__["a" /* default */].propTypes, {
-
- /**
- * Specify which action or actions trigger Overlay visibility
- */
- trigger: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOfType([triggerType, __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.arrayOf(triggerType)]),
-
- /**
- * A millisecond delay amount to show and hide the Overlay once triggered
- */
- delay: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.number,
- /**
- * A millisecond delay amount before showing the Overlay once triggered.
- */
- delayShow: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.number,
- /**
- * A millisecond delay amount before hiding the Overlay once triggered.
- */
- delayHide: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.number,
-
- // FIXME: This should be `defaultShow`.
- /**
- * The initial visibility state of the Overlay. For more nuanced visibility
- * control, consider using the Overlay component directly.
- */
- defaultOverlayShown: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
-
- /**
- * An element or text to overlay next to the target.
- */
- overlay: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.node.isRequired,
-
- /**
- * @private
- */
- onBlur: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
- /**
- * @private
- */
- onClick: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
- /**
- * @private
- */
- onFocus: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
- /**
- * @private
- */
- onMouseOut: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
- /**
- * @private
- */
- onMouseOver: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func,
-
- // Overridden props from ``.
- /**
- * @private
- */
- target: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOf([null]),
- /**
- * @private
- */
- onHide: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOf([null]),
- /**
- * @private
- */
- show: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOf([null])
-});
-
-var defaultProps = {
- defaultOverlayShown: false,
- trigger: ['hover', 'focus']
-};
-
-var OverlayTrigger = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_inherits___default()(OverlayTrigger, _React$Component);
-
- function OverlayTrigger(props, context) {
- __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default()(this, OverlayTrigger);
-
- var _this = __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.call(this, props, context));
-
- _this.handleToggle = _this.handleToggle.bind(_this);
- _this.handleDelayedShow = _this.handleDelayedShow.bind(_this);
- _this.handleDelayedHide = _this.handleDelayedHide.bind(_this);
- _this.handleHide = _this.handleHide.bind(_this);
-
- _this.handleMouseOver = function (e) {
- return _this.handleMouseOverOut(_this.handleDelayedShow, e);
- };
- _this.handleMouseOut = function (e) {
- return _this.handleMouseOverOut(_this.handleDelayedHide, e);
- };
-
- _this._mountNode = null;
-
- _this.state = {
- show: props.defaultOverlayShown
- };
- return _this;
- }
-
- OverlayTrigger.prototype.componentDidMount = function componentDidMount() {
- this._mountNode = document.createElement('div');
- this.renderOverlay();
- };
-
- OverlayTrigger.prototype.componentDidUpdate = function componentDidUpdate() {
- this.renderOverlay();
- };
-
- OverlayTrigger.prototype.componentWillUnmount = function componentWillUnmount() {
- __WEBPACK_IMPORTED_MODULE_8_react_dom___default.a.unmountComponentAtNode(this._mountNode);
- this._mountNode = null;
-
- clearTimeout(this._hoverShowDelay);
- clearTimeout(this._hoverHideDelay);
- };
-
- OverlayTrigger.prototype.handleDelayedHide = function handleDelayedHide() {
- var _this2 = this;
-
- if (this._hoverShowDelay != null) {
- clearTimeout(this._hoverShowDelay);
- this._hoverShowDelay = null;
- return;
- }
-
- if (!this.state.show || this._hoverHideDelay != null) {
- return;
- }
-
- var delay = this.props.delayHide != null ? this.props.delayHide : this.props.delay;
-
- if (!delay) {
- this.hide();
- return;
- }
-
- this._hoverHideDelay = setTimeout(function () {
- _this2._hoverHideDelay = null;
- _this2.hide();
- }, delay);
- };
-
- OverlayTrigger.prototype.handleDelayedShow = function handleDelayedShow() {
- var _this3 = this;
-
- if (this._hoverHideDelay != null) {
- clearTimeout(this._hoverHideDelay);
- this._hoverHideDelay = null;
- return;
- }
-
- if (this.state.show || this._hoverShowDelay != null) {
- return;
- }
-
- var delay = this.props.delayShow != null ? this.props.delayShow : this.props.delay;
-
- if (!delay) {
- this.show();
- return;
- }
-
- this._hoverShowDelay = setTimeout(function () {
- _this3._hoverShowDelay = null;
- _this3.show();
- }, delay);
- };
-
- OverlayTrigger.prototype.handleHide = function handleHide() {
- this.hide();
- };
-
- // 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.
-
-
- OverlayTrigger.prototype.handleMouseOverOut = function handleMouseOverOut(handler, e) {
- var target = e.currentTarget;
- var related = e.relatedTarget || e.nativeEvent.toElement;
-
- if ((!related || related !== target) && !__WEBPACK_IMPORTED_MODULE_5_dom_helpers_query_contains___default()(target, related)) {
- handler(e);
- }
- };
-
- OverlayTrigger.prototype.handleToggle = function handleToggle() {
- if (this.state.show) {
- this.hide();
- } else {
- this.show();
- }
- };
-
- OverlayTrigger.prototype.hide = function hide() {
- this.setState({ show: false });
- };
-
- OverlayTrigger.prototype.makeOverlay = function makeOverlay(overlay, props) {
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- __WEBPACK_IMPORTED_MODULE_10__Overlay__["a" /* default */],
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_extends___default()({}, props, {
- show: this.state.show,
- onHide: this.handleHide,
- target: this
- }),
- overlay
- );
- };
-
- OverlayTrigger.prototype.show = function show() {
- this.setState({ show: true });
- };
-
- OverlayTrigger.prototype.renderOverlay = function renderOverlay() {
- __WEBPACK_IMPORTED_MODULE_8_react_dom___default.a.unstable_renderSubtreeIntoContainer(this, this._overlay, this._mountNode);
- };
-
- OverlayTrigger.prototype.render = function render() {
- var _props = this.props,
- trigger = _props.trigger,
- overlay = _props.overlay,
- children = _props.children,
- onBlur = _props.onBlur,
- onClick = _props.onClick,
- onFocus = _props.onFocus,
- onMouseOut = _props.onMouseOut,
- onMouseOver = _props.onMouseOver,
- props = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['trigger', 'overlay', 'children', 'onBlur', 'onClick', 'onFocus', 'onMouseOut', 'onMouseOver']);
-
- delete props.delay;
- delete props.delayShow;
- delete props.delayHide;
- delete props.defaultOverlayShown;
-
- var child = __WEBPACK_IMPORTED_MODULE_6_react___default.a.Children.only(children);
- var childProps = child.props;
- var triggerProps = {};
-
- if (this.state.show) {
- triggerProps['aria-describedby'] = overlay.props.id;
- }
-
- // FIXME: The logic here for passing through handlers on this component is
- // inconsistent. We shouldn't be passing any of these props through.
-
- triggerProps.onClick = Object(__WEBPACK_IMPORTED_MODULE_11__utils_createChainedFunction__["a" /* default */])(childProps.onClick, onClick);
-
- if (isOneOf('click', trigger)) {
- triggerProps.onClick = Object(__WEBPACK_IMPORTED_MODULE_11__utils_createChainedFunction__["a" /* default */])(triggerProps.onClick, this.handleToggle);
- }
-
- if (isOneOf('hover', trigger)) {
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_9_warning___default()(!(trigger === 'hover'), '[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 = Object(__WEBPACK_IMPORTED_MODULE_11__utils_createChainedFunction__["a" /* default */])(childProps.onMouseOver, onMouseOver, this.handleMouseOver);
- triggerProps.onMouseOut = Object(__WEBPACK_IMPORTED_MODULE_11__utils_createChainedFunction__["a" /* default */])(childProps.onMouseOut, onMouseOut, this.handleMouseOut);
- }
-
- if (isOneOf('focus', trigger)) {
- triggerProps.onFocus = Object(__WEBPACK_IMPORTED_MODULE_11__utils_createChainedFunction__["a" /* default */])(childProps.onFocus, onFocus, this.handleDelayedShow);
- triggerProps.onBlur = Object(__WEBPACK_IMPORTED_MODULE_11__utils_createChainedFunction__["a" /* default */])(childProps.onBlur, onBlur, this.handleDelayedHide);
- }
-
- this._overlay = this.makeOverlay(overlay, props);
-
- return Object(__WEBPACK_IMPORTED_MODULE_6_react__["cloneElement"])(child, triggerProps);
- };
-
- return OverlayTrigger;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-OverlayTrigger.propTypes = propTypes;
-OverlayTrigger.defaultProps = defaultProps;
-
-/* unused harmony default export */ var _unused_webpack_default_export = (OverlayTrigger);
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 309 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export _resetWarned */
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_typeof__ = __webpack_require__(82);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_typeof___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_typeof__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_warning__ = __webpack_require__(19);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_warning__);
-
-
-
-
-
-
-var warned = {};
-
-function deprecationWarning(oldname, newname, link) {
- var message = void 0;
-
- if ((typeof oldname === 'undefined' ? 'undefined' : __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_typeof___default()(oldname)) === 'object') {
- message = oldname.message;
- } else {
- message = oldname + ' is deprecated. Use ' + newname + ' instead.';
-
- if (link) {
- message += '\nYou can read more about it at ' + link;
- }
- }
-
- if (warned[message]) {
- return;
- }
-
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_4_warning___default()(false, message) : void 0;
- warned[message] = true;
-}
-
-deprecationWarning.wrapper = function (Component) {
- for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
- args[_key - 1] = arguments[_key];
- }
-
- return function (_Component) {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_inherits___default()(DeprecatedComponent, _Component);
-
- function DeprecatedComponent() {
- __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_classCallCheck___default()(this, DeprecatedComponent);
-
- return __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_possibleConstructorReturn___default()(this, _Component.apply(this, arguments));
- }
-
- DeprecatedComponent.prototype.componentWillMount = function componentWillMount() {
- deprecationWarning.apply(undefined, args);
-
- if (_Component.prototype.componentWillMount) {
- var _Component$prototype$;
-
- for (var _len2 = arguments.length, methodArgs = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
- methodArgs[_key2] = arguments[_key2];
- }
-
- (_Component$prototype$ = _Component.prototype.componentWillMount).call.apply(_Component$prototype$, [this].concat(methodArgs));
- }
- };
-
- return DeprecatedComponent;
- }(Component);
-};
-
-/* harmony default export */ __webpack_exports__["a"] = (deprecationWarning);
-
-function _resetWarned() {
- warned = {};
-}
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 310 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_warning__ = __webpack_require__(19);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_warning__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__ = __webpack_require__(8);
-
-
-
-
-
-/* eslint-disable jsx-a11y/label-has-for */
-
-
-
-
-
-
-
-
-var propTypes = {
- inline: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
- disabled: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
- title: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.string,
- /**
- * Only valid if `inline` is not set.
- */
- validationState: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.oneOf(['success', 'warning', 'error', null]),
- /**
- * Attaches a ref to the ` ` element. Only functions can be used here.
- *
- * ```js
- * { this.input = ref; }} />
- * ```
- */
- inputRef: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.func
-};
-
-var defaultProps = {
- inline: false,
- disabled: false,
- title: ''
-};
-
-var Radio = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(Radio, _React$Component);
-
- function Radio() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, Radio);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- Radio.prototype.render = function render() {
- var _props = this.props,
- inline = _props.inline,
- disabled = _props.disabled,
- validationState = _props.validationState,
- inputRef = _props.inputRef,
- className = _props.className,
- style = _props.style,
- title = _props.title,
- children = _props.children,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['inline', 'disabled', 'validationState', 'inputRef', 'className', 'style', 'title', 'children']);
-
- var _splitBsProps = Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- var input = __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('input', __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, elementProps, {
- ref: inputRef,
- type: 'radio',
- disabled: disabled
- }));
-
- if (inline) {
- var _classes2;
-
- var _classes = (_classes2 = {}, _classes2[Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["e" /* prefix */])(bsProps, 'inline')] = true, _classes2.disabled = disabled, _classes2);
-
- // Use a warning here instead of in propTypes to get better-looking
- // generated documentation.
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_8_warning___default()(!validationState, '`validationState` is ignored on ``. To display ' + 'validation state on an inline radio, set `validationState` on a ' + 'parent `` or other element instead.') : void 0;
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- 'label',
- { className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, _classes), style: style, title: title },
- input,
- children
- );
- }
-
- var classes = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps), {
- disabled: disabled
- });
- if (validationState) {
- classes['has-' + validationState] = true;
- }
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- 'div',
- { className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, classes), style: style },
- __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- 'label',
- { title: title },
- input,
- children
- )
- );
- };
-
- return Radio;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-Radio.propTypes = propTypes;
-Radio.defaultProps = defaultProps;
-
-/* unused harmony default export */ var _unused_webpack_default_export = (Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["a" /* bsClass */])('radio', Radio));
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 311 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames__ = __webpack_require__(2);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_classnames__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_warning__ = __webpack_require__(19);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_warning__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__ = __webpack_require__(8);
-
-
-
-
-
-
-
-
-
-
-
-
-// TODO: This should probably take a single `aspectRatio` prop.
-
-var propTypes = {
- /**
- * This component requires a single child element
- */
- children: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.element.isRequired,
- /**
- * 16by9 aspect ratio
- */
- a16by9: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool,
- /**
- * 4by3 aspect ratio
- */
- a4by3: __WEBPACK_IMPORTED_MODULE_7_prop_types___default.a.bool
-};
-
-var defaultProps = {
- a16by9: false,
- a4by3: false
-};
-
-var ResponsiveEmbed = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(ResponsiveEmbed, _React$Component);
-
- function ResponsiveEmbed() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, ResponsiveEmbed);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- ResponsiveEmbed.prototype.render = function render() {
- var _extends2;
-
- var _props = this.props,
- a16by9 = _props.a16by9,
- a4by3 = _props.a4by3,
- className = _props.className,
- children = _props.children,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props, ['a16by9', 'a4by3', 'className', 'children']);
-
- var _splitBsProps = Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["f" /* splitBsProps */])(props),
- bsProps = _splitBsProps[0],
- elementProps = _splitBsProps[1];
-
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_8_warning___default()(a16by9 || a4by3, 'Either `a16by9` or `a4by3` must be set.') : void 0;
- process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_8_warning___default()(!(a16by9 && a4by3), 'Only one of `a16by9` or `a4by3` can be set.') : void 0;
-
- var classes = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["d" /* getClassSet */])(bsProps), (_extends2 = {}, _extends2[Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["e" /* prefix */])(bsProps, '16by9')] = a16by9, _extends2[Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["e" /* prefix */])(bsProps, '4by3')] = a4by3, _extends2));
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- 'div',
- { className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(classes) },
- Object(__WEBPACK_IMPORTED_MODULE_6_react__["cloneElement"])(children, __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, elementProps, {
- className: __WEBPACK_IMPORTED_MODULE_5_classnames___default()(className, Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["e" /* prefix */])(bsProps, 'item'))
- }))
- );
- };
-
- return ResponsiveEmbed;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-ResponsiveEmbed.propTypes = propTypes;
-ResponsiveEmbed.defaultProps = defaultProps;
-
-/* unused harmony default export */ var _unused_webpack_default_export = (Object(__WEBPACK_IMPORTED_MODULE_9__utils_bootstrapUtils__["a" /* bsClass */])('embed-responsive', ResponsiveEmbed));
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 312 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(6);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__ = __webpack_require__(7);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(3);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(4);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(5);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_prop_types__ = __webpack_require__(1);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_prop_types__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_invariant__ = __webpack_require__(48);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_invariant__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_uncontrollable__ = __webpack_require__(40);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_uncontrollable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_uncontrollable__);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__utils_createChainedFunction__ = __webpack_require__(15);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_ValidComponentChildren__ = __webpack_require__(20);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__ButtonGroup__ = __webpack_require__(98);
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__ToggleButton__ = __webpack_require__(130);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var propTypes = {
- /**
- * An HTML ` ` name for each child button.
- *
- * __Required if `type` is set to `'radio'`__
- */
- name: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.string,
-
- /**
- * The value, or array of values, of the active (pressed) buttons
- *
- * @controllable onChange
- */
- value: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.any,
-
- /**
- * Callback fired when a button is pressed, depending on whether the `type`
- * is `'radio'` or `'checkbox'`, `onChange` will be called with the value or
- * array of active values
- *
- * @controllable values
- */
- onChange: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.func,
-
- /**
- * The input `type` of the rendered buttons, determines the toggle behavior
- * of the buttons
- */
- type: __WEBPACK_IMPORTED_MODULE_5_prop_types___default.a.oneOf(['checkbox', 'radio']).isRequired
-};
-
-var defaultProps = {
- type: 'radio'
-};
-
-var ToggleButtonGroup = function (_React$Component) {
- __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(ToggleButtonGroup, _React$Component);
-
- function ToggleButtonGroup() {
- __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, ToggleButtonGroup);
-
- return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, _React$Component.apply(this, arguments));
- }
-
- ToggleButtonGroup.prototype.getValues = function getValues() {
- var value = this.props.value;
-
- return value == null ? [] : [].concat(value);
- };
-
- ToggleButtonGroup.prototype.handleToggle = function handleToggle(value) {
- var _props = this.props,
- type = _props.type,
- onChange = _props.onChange;
-
- var values = this.getValues();
- var isActive = values.indexOf(value) !== -1;
-
- if (type === 'radio') {
- if (!isActive) {
- onChange(value);
- }
- return;
- }
-
- if (isActive) {
- onChange(values.filter(function (n) {
- return n !== value;
- }));
- } else {
- onChange([].concat(values, [value]));
- }
- };
-
- ToggleButtonGroup.prototype.render = function render() {
- var _this2 = this;
-
- var _props2 = this.props,
- children = _props2.children,
- type = _props2.type,
- name = _props2.name,
- props = __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_objectWithoutProperties___default()(_props2, ['children', 'type', 'name']);
-
- var values = this.getValues();
-
- !(type !== 'radio' || !!name) ? process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_7_invariant___default()(false, 'A `name` is required to group the toggle buttons when the `type` ' + 'is set to "radio"') : __WEBPACK_IMPORTED_MODULE_7_invariant___default()(false) : void 0;
-
- delete props.onChange;
- delete props.value;
-
- // the data attribute is required b/c twbs css uses it in the selector
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(
- __WEBPACK_IMPORTED_MODULE_11__ButtonGroup__["a" /* default */],
- __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({}, props, { 'data-toggle': 'buttons' }),
- __WEBPACK_IMPORTED_MODULE_10__utils_ValidComponentChildren__["a" /* default */].map(children, function (child) {
- var _child$props = child.props,
- value = _child$props.value,
- onChange = _child$props.onChange;
-
- var handler = function handler() {
- return _this2.handleToggle(value);
- };
-
- return __WEBPACK_IMPORTED_MODULE_6_react___default.a.cloneElement(child, {
- type: type,
- name: child.name || name,
- checked: values.indexOf(value) !== -1,
- onChange: Object(__WEBPACK_IMPORTED_MODULE_9__utils_createChainedFunction__["a" /* default */])(onChange, handler)
- });
- })
- );
- };
-
- return ToggleButtonGroup;
-}(__WEBPACK_IMPORTED_MODULE_6_react___default.a.Component);
-
-ToggleButtonGroup.propTypes = propTypes;
-ToggleButtonGroup.defaultProps = defaultProps;
-
-var UncontrolledToggleButtonGroup = __WEBPACK_IMPORTED_MODULE_8_uncontrollable___default()(ToggleButtonGroup, {
- value: 'onChange'
-});
-
-UncontrolledToggleButtonGroup.Button = __WEBPACK_IMPORTED_MODULE_12__ToggleButton__["a" /* default */];
-
-/* unused harmony default export */ var _unused_webpack_default_export = (UncontrolledToggleButtonGroup);
-/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(12)))
-
-/***/ }),
-/* 313 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 314 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 315 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 316 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 317 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 318 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-module.exports = normalize
-
-function normalize(value) {
- return value.toLowerCase()
-}
-
-
-/***/ }),
-/* 319 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var powers = 0
-
-exports.boolean = increment()
-exports.booleanish = increment()
-exports.overloadedBoolean = increment()
-exports.number = increment()
-exports.spaceSeparated = increment()
-exports.commaSeparated = increment()
-exports.commaOrSpaceSeparated = increment()
-
-function increment() {
- return Math.pow(2, ++powers)
-}
-
-
-/***/ }),
-/* 320 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.registerLanguage = undefined;
-
-var _highlight = __webpack_require__(341);
-
-var _highlight2 = _interopRequireDefault(_highlight);
-
-var _core = __webpack_require__(343);
-
-var _core2 = _interopRequireDefault(_core);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var registerLanguage = exports.registerLanguage = function registerLanguage(_, language) {
- return _core2.default.register(language);
-};
-exports.default = (0, _highlight2.default)(_core2.default, {});
-
-/***/ }),
-/* 321 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-module.exports = Schema
-
-var proto = Schema.prototype
-
-proto.space = null
-proto.normal = {}
-proto.property = {}
-
-function Schema(property, normal, space) {
- this.property = property
- this.normal = normal
-
- if (space) {
- this.space = space
- }
-}
-
-
-/***/ }),
-/* 322 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var Info = __webpack_require__(323)
-var types = __webpack_require__(319)
-
-module.exports = DefinedInfo
-
-DefinedInfo.prototype = new Info()
-DefinedInfo.prototype.defined = true
-
-function DefinedInfo(property, attribute, mask, space) {
- mark(this, 'space', space)
- Info.call(this, property, attribute)
- mark(this, 'boolean', check(mask, types.boolean))
- mark(this, 'booleanish', check(mask, types.booleanish))
- mark(this, 'overloadedBoolean', check(mask, types.overloadedBoolean))
- mark(this, 'number', check(mask, types.number))
- mark(this, 'commaSeparated', check(mask, types.commaSeparated))
- mark(this, 'spaceSeparated', check(mask, types.spaceSeparated))
- mark(this, 'commaOrSpaceSeparated', check(mask, types.commaOrSpaceSeparated))
-}
-
-function mark(values, key, value) {
- if (value) {
- values[key] = value
- }
-}
-
-function check(value, mask) {
- return (value & mask) === mask
-}
-
-
-/***/ }),
-/* 323 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-module.exports = Info
-
-var proto = Info.prototype
-
-proto.space = null
-proto.attribute = null
-proto.property = null
-proto.boolean = false
-proto.booleanish = false
-proto.overloadedBoolean = false
-proto.number = false
-proto.commaSeparated = false
-proto.spaceSeparated = false
-proto.commaOrSpaceSeparated = false
-proto.mustUseProperty = false
-proto.defined = false
-
-function Info(property, attribute) {
- this.property = property
- this.attribute = attribute
-}
-
-
-/***/ }),
-/* 324 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var caseSensitiveTransform = __webpack_require__(352)
-
-module.exports = caseInsensitiveTransform
-
-function caseInsensitiveTransform(attributes, property) {
- return caseSensitiveTransform(attributes, property.toLowerCase())
-}
-
-
-/***/ }),
-/* 325 */
-/***/ (function(module, exports) {
-
-
-exports = module.exports = trim;
-
-function trim(str){
- return str.replace(/^\s*|\s*$/g, '');
-}
-
-exports.left = function(str){
- return str.replace(/^\s*/, '');
-};
-
-exports.right = function(str){
- return str.replace(/\s*$/, '');
-};
-
-
-/***/ }),
-/* 326 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-module.exports = decimal
-
-/* Check if the given character code, or the character
- * code at the first character, is decimal. */
-function decimal(character) {
- var code = typeof character === 'string' ? character.charCodeAt(0) : character
-
- return code >= 48 && code <= 57 /* 0-9 */
-}
-
-
-/***/ }),
-/* 327 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-
-var _jsx = __webpack_require__(372);
-
-var _jsx2 = _interopRequireDefault(_jsx);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-;
-exports.default = _jsx2.default;
-
-/***/ }),
-/* 328 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = {
- "code[class*=\"language-\"]": {
- "color": "black",
- "background": "none",
- "fontFamily": "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",
- "textAlign": "left",
- "whiteSpace": "pre",
- "wordSpacing": "normal",
- "wordBreak": "normal",
- "wordWrap": "normal",
- "lineHeight": "1.5",
- "MozTabSize": "4",
- "OTabSize": "4",
- "tabSize": "4",
- "WebkitHyphens": "none",
- "MozHyphens": "none",
- "msHyphens": "none",
- "hyphens": "none"
- },
- "pre[class*=\"language-\"]": {
- "color": "black",
- "background": "none",
- "fontFamily": "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",
- "textAlign": "left",
- "whiteSpace": "pre",
- "wordSpacing": "normal",
- "wordBreak": "normal",
- "wordWrap": "normal",
- "lineHeight": "1.5",
- "MozTabSize": "4",
- "OTabSize": "4",
- "tabSize": "4",
- "WebkitHyphens": "none",
- "MozHyphens": "none",
- "msHyphens": "none",
- "hyphens": "none",
- "position": "relative",
- "margin": ".5em 0",
- "overflow": "visible",
- "padding": "0",
- "backgroundColor": "#fdfdfd",
- "WebkitBoxSizing": "border-box",
- "MozBoxSizing": "border-box",
- "boxSizing": "border-box",
- "marginBottom": "1em"
- },
- "pre[class*=\"language-\"]>code": {
- "position": "relative",
- "borderLeft": "10px solid #358ccb",
- "boxShadow": "-1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf",
- "backgroundColor": "#fdfdfd",
- "backgroundImage": "linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",
- "backgroundSize": "3em 3em",
- "backgroundOrigin": "content-box",
- "backgroundAttachment": "local"
- },
- "code[class*=\"language\"]": {
- "maxHeight": "inherit",
- "height": "inherit",
- "padding": "0 1em",
- "display": "block",
- "overflow": "auto"
- },
- ":not(pre) > code[class*=\"language-\"]": {
- "backgroundColor": "#fdfdfd",
- "WebkitBoxSizing": "border-box",
- "MozBoxSizing": "border-box",
- "boxSizing": "border-box",
- "marginBottom": "1em",
- "position": "relative",
- "padding": ".2em",
- "borderRadius": "0.3em",
- "color": "#c92c2c",
- "border": "1px solid rgba(0, 0, 0, 0.1)",
- "display": "inline",
- "whiteSpace": "normal"
- },
- "pre[class*=\"language-\"]:before": {
- "content": "''",
- "zIndex": "-2",
- "display": "block",
- "position": "absolute",
- "bottom": "0.75em",
- "left": "0.18em",
- "width": "40%",
- "height": "20%",
- "maxHeight": "13em",
- "boxShadow": "0px 13px 8px #979797",
- "WebkitTransform": "rotate(-2deg)",
- "MozTransform": "rotate(-2deg)",
- "msTransform": "rotate(-2deg)",
- "OTransform": "rotate(-2deg)",
- "transform": "rotate(-2deg)"
- },
- "pre[class*=\"language-\"]:after": {
- "content": "''",
- "zIndex": "-2",
- "display": "block",
- "position": "absolute",
- "bottom": "0.75em",
- "left": "auto",
- "width": "40%",
- "height": "20%",
- "maxHeight": "13em",
- "boxShadow": "0px 13px 8px #979797",
- "WebkitTransform": "rotate(2deg)",
- "MozTransform": "rotate(2deg)",
- "msTransform": "rotate(2deg)",
- "OTransform": "rotate(2deg)",
- "transform": "rotate(2deg)",
- "right": "0.75em"
- },
- ":not(pre) > code[class*=\"language-\"]:after": {
- "right": "0.75em",
- "left": "auto",
- "WebkitTransform": "rotate(2deg)",
- "MozTransform": "rotate(2deg)",
- "msTransform": "rotate(2deg)",
- "OTransform": "rotate(2deg)",
- "transform": "rotate(2deg)"
- },
- "comment": {
- "color": "#7D8B99"
- },
- "block-comment": {
- "color": "#7D8B99"
- },
- "prolog": {
- "color": "#7D8B99"
- },
- "doctype": {
- "color": "#7D8B99"
- },
- "cdata": {
- "color": "#7D8B99"
- },
- "punctuation": {
- "color": "#5F6364"
- },
- "property": {
- "color": "#c92c2c"
- },
- "tag": {
- "color": "#c92c2c"
- },
- "boolean": {
- "color": "#c92c2c"
- },
- "number": {
- "color": "#c92c2c"
- },
- "function-name": {
- "color": "#c92c2c"
- },
- "constant": {
- "color": "#c92c2c"
- },
- "symbol": {
- "color": "#c92c2c"
- },
- "deleted": {
- "color": "#c92c2c"
- },
- "selector": {
- "color": "#2f9c0a"
- },
- "attr-name": {
- "color": "#2f9c0a"
- },
- "string": {
- "color": "#2f9c0a"
- },
- "char": {
- "color": "#2f9c0a"
- },
- "function": {
- "color": "#2f9c0a"
- },
- "builtin": {
- "color": "#2f9c0a"
- },
- "inserted": {
- "color": "#2f9c0a"
- },
- "operator": {
- "color": "#a67f59",
- "background": "rgba(255, 255, 255, 0.5)"
- },
- "entity": {
- "color": "#a67f59",
- "background": "rgba(255, 255, 255, 0.5)",
- "cursor": "help"
- },
- "url": {
- "color": "#a67f59",
- "background": "rgba(255, 255, 255, 0.5)"
- },
- "variable": {
- "color": "#a67f59",
- "background": "rgba(255, 255, 255, 0.5)"
- },
- "atrule": {
- "color": "#1990b8"
- },
- "attr-value": {
- "color": "#1990b8"
- },
- "keyword": {
- "color": "#1990b8"
- },
- "class-name": {
- "color": "#1990b8"
- },
- "regex": {
- "color": "#e90"
- },
- "important": {
- "color": "#e90",
- "fontWeight": "normal"
- },
- ".language-css .token.string": {
- "color": "#a67f59",
- "background": "rgba(255, 255, 255, 0.5)"
- },
- ".style .token.string": {
- "color": "#a67f59",
- "background": "rgba(255, 255, 255, 0.5)"
- },
- "bold": {
- "fontWeight": "bold"
- },
- "italic": {
- "fontStyle": "italic"
- },
- ".namespace": {
- "Opacity": ".7"
- },
- "tab:not(:empty):before": {
- "color": "#e0d7d1"
- },
- "cr:before": {
- "color": "#e0d7d1"
- },
- "lf:before": {
- "color": "#e0d7d1"
- },
- "pre[class*=\"language-\"].line-numbers": {
- "paddingLeft": "0"
- },
- "pre[class*=\"language-\"].line-numbers code": {
- "paddingLeft": "3.8em"
- },
- "pre[class*=\"language-\"].line-numbers .line-numbers-rows": {
- "left": "0"
- },
- "pre[class*=\"language-\"][data-line]": {
- "paddingTop": "0",
- "paddingBottom": "0",
- "paddingLeft": "0"
- },
- "pre[data-line] code": {
- "position": "relative",
- "paddingLeft": "4em"
- },
- "pre .line-highlight": {
- "marginTop": "0"
- }
-};
-
-/***/ }),
-/* 329 */,
-/* 330 */
-/***/ (function(module, exports, __webpack_require__) {
-
-__webpack_require__(134);
-module.exports = __webpack_require__(331);
-
-
-/***/ }),
-/* 331 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
-
-// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"}
-var external___root___React___commonjs2___react___commonjs___react___amd___react__ = __webpack_require__(0);
-var external___root___React___commonjs2___react___commonjs___react___amd___react___default = /*#__PURE__*/__webpack_require__.n(external___root___React___commonjs2___react___commonjs___react___amd___react__);
-
-// EXTERNAL MODULE: external {"root":"ReactDOM","commonjs2":"react-dom","commonjs":"react-dom","amd":"react-dom"}
-var external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__ = __webpack_require__(13);
-var external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom___default = /*#__PURE__*/__webpack_require__.n(external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom__);
-
-// EXTERNAL MODULE: external {"root":"_","commonjs2":"lodash","commonjs":"lodash","amd":"lodash"}
-var external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash__ = __webpack_require__(9);
-var external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default = /*#__PURE__*/__webpack_require__.n(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash__);
-
-// EXTERNAL MODULE: ../node_modules/prop-types/index.js
-var prop_types = __webpack_require__(1);
-var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
-
-// EXTERNAL MODULE: ./index.js + 100 modules
-var index_0 = __webpack_require__(11);
-
-// EXTERNAL MODULE: ../docs/components/Header/styles.scss
-var styles = __webpack_require__(332);
-var styles_default = /*#__PURE__*/__webpack_require__.n(styles);
-
-// CONCATENATED MODULE: ../docs/components/Header/index.jsx
-var _jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/components/Header/index.jsx";
-
-
-
-
-var Header_HeaderGraphics = function HeaderGraphics() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: _jsxFileName,
- lineNumber: 6
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SvgSymbol"], {
- href: "./docs/assets/svg-symbols.svg#logo",
- __source: {
- fileName: _jsxFileName,
- lineNumber: 7
- },
- __self: this
- }), /adslot\.github\.io/.test(window.location.href) ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("img", {
- src: "https://badge.fury.io/js/adslot-ui.svg",
- __source: {
- fileName: _jsxFileName,
- lineNumber: 8
- },
- __self: this
- }) : null);
-};
-
-/* harmony default export */ var Header = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "adslot-ui-header",
- __source: {
- fileName: _jsxFileName,
- lineNumber: 13
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Header_HeaderGraphics, {
- __source: {
- fileName: _jsxFileName,
- lineNumber: 14
- },
- __self: this
- }),
- __source: {
- fileName: _jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("small", {
- __source: {
- fileName: _jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- bsStyle: "link",
- href: "https://adslot.com",
- __source: {
- fileName: _jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, "Visit Adslot")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("small", {
- __source: {
- fileName: _jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- bsStyle: "link",
- href: "https://github.com/Adslot/adslot-ui",
- __source: {
- fileName: _jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, "View on GitHub"))));
-});
-// EXTERNAL MODULE: ../docs/components/Navigation/styles.scss
-var Navigation_styles = __webpack_require__(333);
-var Navigation_styles_default = /*#__PURE__*/__webpack_require__.n(Navigation_styles);
-
-// CONCATENATED MODULE: ../docs/components/Navigation/index.jsx
-var Navigation__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/components/Navigation/index.jsx";
-
-function _typeof(obj) { 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); }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
-
-function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
-
-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); }
-
-function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
-
-function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-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; }
-
-
-
-
-
-
-var initialOpenPanel = 'form-elements';
-
-var Navigation_contentFactory = function contentFactory(navigateTo) {
- return function (componentName) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- key: componentName,
- __source: {
- fileName: Navigation__jsxFileName,
- lineNumber: 10
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- bsStyle: "link",
- onClick: function onClick() {
- return navigateTo(componentName);
- },
- __source: {
- fileName: Navigation__jsxFileName,
- lineNumber: 11
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.startCase(componentName)));
- };
-};
-
-var Navigation_panelFactory = function panelFactory(navigateTo) {
- return function (section, sectionName) {
- return {
- id: sectionName,
- title: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.startCase(sectionName),
- content: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("ul", {
- className: "list-unstyled",
- __source: {
- fileName: Navigation__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(section, Navigation_contentFactory(navigateTo)))
- };
- };
-};
-
-var Navigation_Navigation =
-/*#__PURE__*/
-function (_React$Component) {
- _inherits(Navigation, _React$Component);
-
- function Navigation() {
- var _getPrototypeOf2;
-
- var _this;
-
- _classCallCheck(this, Navigation);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Navigation)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "togglePanel", function (panelId) {
- var nextPanel = panelId === _this.state.currentOpenPanel ? '' : panelId;
-
- _this.setState({
- currentOpenPanel: nextPanel
- });
- });
-
- return _this;
- }
-
- _createClass(Navigation, [{
- key: "render",
- value: function render() {
- var panels = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(this.props.componentsBySection, Navigation_panelFactory(this.props.navigateTo));
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "adslot-ui-navigation",
- __source: {
- fileName: Navigation__jsxFileName,
- lineNumber: 32
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Accordion"], {
- defaultActivePanelIds: [initialOpenPanel],
- maxExpand: 1,
- __source: {
- fileName: Navigation__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(panels, function (panel) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Accordion"].Panel, Object.assign({}, panel, {
- key: panel.id,
- __source: {
- fileName: Navigation__jsxFileName,
- lineNumber: 35
- },
- __self: this
- }), panel.content);
- })));
- }
- }]);
-
- return Navigation;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-Navigation_Navigation.propTypes = {
- navigateTo: prop_types_default.a.func.isRequired,
- componentsBySection: prop_types_default.a.objectOf(prop_types_default.a.arrayOf(prop_types_default.a.string.isRequired)).isRequired
-};
-/* harmony default export */ var components_Navigation = (Navigation_Navigation);
-// EXTERNAL MODULE: ../node_modules/isomorphic-fetch/fetch-npm-browserify.js
-var fetch_npm_browserify = __webpack_require__(334);
-var fetch_npm_browserify_default = /*#__PURE__*/__webpack_require__.n(fetch_npm_browserify);
-
-// EXTERNAL MODULE: ../docs/components/Contributors/styles.scss
-var Contributors_styles = __webpack_require__(336);
-var Contributors_styles_default = /*#__PURE__*/__webpack_require__.n(Contributors_styles);
-
-// CONCATENATED MODULE: ../docs/components/Contributors/index.jsx
-var Contributors__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/components/Contributors/index.jsx";
-
-function Contributors__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Contributors__typeof = function _typeof(obj) { return typeof obj; }; } else { Contributors__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Contributors__typeof(obj); }
-
-function Contributors__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Contributors__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 Contributors__createClass(Constructor, protoProps, staticProps) { if (protoProps) Contributors__defineProperties(Constructor.prototype, protoProps); if (staticProps) Contributors__defineProperties(Constructor, staticProps); return Constructor; }
-
-function Contributors__possibleConstructorReturn(self, call) { if (call && (Contributors__typeof(call) === "object" || typeof call === "function")) { return call; } return Contributors__assertThisInitialized(self); }
-
-function Contributors__getPrototypeOf(o) { Contributors__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Contributors__getPrototypeOf(o); }
-
-function Contributors__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) Contributors__setPrototypeOf(subClass, superClass); }
-
-function Contributors__setPrototypeOf(o, p) { Contributors__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Contributors__setPrototypeOf(o, p); }
-
-function Contributors__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function Contributors__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; }
-
-
-
-
-
-
-
-var plural = function plural(number) {
- return "".concat(number, " contribution").concat(number > 1 ? 's' : '');
-};
-
-var Contributors_Contributors =
-/*#__PURE__*/
-function (_React$PureComponent) {
- Contributors__inherits(Contributors, _React$PureComponent);
-
- function Contributors() {
- var _getPrototypeOf2;
-
- var _this;
-
- Contributors__classCallCheck(this, Contributors);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = Contributors__possibleConstructorReturn(this, (_getPrototypeOf2 = Contributors__getPrototypeOf(Contributors)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- Contributors__defineProperty(Contributors__assertThisInitialized(Contributors__assertThisInitialized(_this)), "state", {
- contributors: []
- });
-
- Contributors__defineProperty(Contributors__assertThisInitialized(Contributors__assertThisInitialized(_this)), "getContributors", function () {
- fetch('https://api.github.com/repos/Adslot/adslot-ui/contributors').then(function (response) {
- return response.json();
- }).then(function (contributors) {
- _this.setState({
- contributors: contributors
- });
- });
- });
-
- Contributors__defineProperty(Contributors__assertThisInitialized(Contributors__assertThisInitialized(_this)), "renderContributors", function () {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(_this.state.contributors, function (_ref // eslint-disable-line camelcase
- ) {
- var login = _ref.login,
- avatar_url = _ref.avatar_url,
- contributions = _ref.contributions;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Avatar"], {
- givenName: login,
- image: avatar_url // eslint-disable-line camelcase
- ,
- key: login,
- tooltip: "Thanks, ".concat(login, ", for your ").concat(plural(contributions)),
- __source: {
- fileName: Contributors__jsxFileName,
- lineNumber: 31
- },
- __self: this
- });
- });
- });
-
- return _this;
- }
-
- Contributors__createClass(Contributors, [{
- key: "componentDidMount",
- value: function componentDidMount() {
- this.getContributors();
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "git-contributors",
- __source: {
- fileName: Contributors__jsxFileName,
- lineNumber: 41
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Contributors",
- __source: {
- fileName: Contributors__jsxFileName,
- lineNumber: 42
- },
- __self: this
- }, this.state.contributors.length ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("small", {
- __source: {
- fileName: Contributors__jsxFileName,
- lineNumber: 44
- },
- __self: this
- }, "Thanks to all ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("strong", {
- __source: {
- fileName: Contributors__jsxFileName,
- lineNumber: 45
- },
- __self: this
- }, this.state.contributors.length), " of our contributors!") : null), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "avatars-container",
- __source: {
- fileName: Contributors__jsxFileName,
- lineNumber: 49
- },
- __self: this
- }, this.state.contributors.length ? this.renderContributors() : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Spinner"], {
- size: "medium",
- __source: {
- fileName: Contributors__jsxFileName,
- lineNumber: 50
- },
- __self: this
- })));
- }
- }]);
-
- return Contributors;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-/* harmony default export */ var components_Contributors = (Contributors_Contributors);
-// EXTERNAL MODULE: ../docs/components/SearchBar/styles.scss
-var SearchBar_styles = __webpack_require__(337);
-var SearchBar_styles_default = /*#__PURE__*/__webpack_require__.n(SearchBar_styles);
-
-// CONCATENATED MODULE: ../docs/components/SearchBar/index.jsx
-var SearchBar__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/components/SearchBar/index.jsx";
-
-function SearchBar__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SearchBar__typeof = function _typeof(obj) { return typeof obj; }; } else { SearchBar__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SearchBar__typeof(obj); }
-
-function SearchBar__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function SearchBar__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 SearchBar__createClass(Constructor, protoProps, staticProps) { if (protoProps) SearchBar__defineProperties(Constructor.prototype, protoProps); if (staticProps) SearchBar__defineProperties(Constructor, staticProps); return Constructor; }
-
-function SearchBar__possibleConstructorReturn(self, call) { if (call && (SearchBar__typeof(call) === "object" || typeof call === "function")) { return call; } return SearchBar__assertThisInitialized(self); }
-
-function SearchBar__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function SearchBar__getPrototypeOf(o) { SearchBar__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SearchBar__getPrototypeOf(o); }
-
-function SearchBar__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) SearchBar__setPrototypeOf(subClass, superClass); }
-
-function SearchBar__setPrototypeOf(o, p) { SearchBar__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SearchBar__setPrototypeOf(o, p); }
-
-
-
-
-
-
-var SearchBar_SearchBarComponent =
-/*#__PURE__*/
-function (_React$Component) {
- SearchBar__inherits(SearchBarComponent, _React$Component);
-
- function SearchBarComponent(props) {
- var _this;
-
- SearchBar__classCallCheck(this, SearchBarComponent);
-
- _this = SearchBar__possibleConstructorReturn(this, SearchBar__getPrototypeOf(SearchBarComponent).call(this, props));
- _this.state = {
- searchBarString: ''
- };
-
- _this.handleStringChange = function (searchBarString) {
- _this.setState({
- searchBarString: searchBarString.trim()
- });
- };
-
- return _this;
- }
-
- SearchBar__createClass(SearchBarComponent, [{
- key: "render",
- value: function render() {
- var _this2 = this;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SearchBar"], {
- additionalClassNames: ['adslot-ui-searchbar'],
- searchString: this.state.searchBarString,
- searchPlaceholder: "Search for component.",
- searchIconHref: "./docs/assets/svg-symbols.svg#search",
- onSearchStringChange: this.handleStringChange,
- onSearch: function onSearch() {
- return _this2.props.onSearch(_this2.state.searchBarString);
- },
- __source: {
- fileName: SearchBar__jsxFileName,
- lineNumber: 19
- },
- __self: this
- });
- }
- }]);
-
- return SearchBarComponent;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-SearchBar_SearchBarComponent.propTypes = {
- onSearch: prop_types_default.a.func.isRequired
-};
-/* harmony default export */ var SearchBar = (SearchBar_SearchBarComponent);
-// EXTERNAL MODULE: ../docs/components/SearchResultCard/styles.scss
-var SearchResultCard_styles = __webpack_require__(338);
-var SearchResultCard_styles_default = /*#__PURE__*/__webpack_require__.n(SearchResultCard_styles);
-
-// CONCATENATED MODULE: ../docs/components/SearchResultCard/index.jsx
-var SearchResultCard__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/components/SearchResultCard/index.jsx";
-
-
-
-
-
-
-var SearchResultCard_SearchResultCard = function SearchResultCard(_ref) {
- var navigateTo = _ref.navigateTo,
- clearSearch = _ref.clearSearch,
- searchResults = _ref.searchResults;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Card"].Container, {
- className: "search-result-card",
- __source: {
- fileName: SearchResultCard__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Card"].Content, {
- key: "search-result-card-title",
- __source: {
- fileName: SearchResultCard__jsxFileName,
- lineNumber: 9
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("strong", {
- className: "title",
- __source: {
- fileName: SearchResultCard__jsxFileName,
- lineNumber: 10
- },
- __self: this
- }, "Results"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- bsStyle: "link",
- onClick: clearSearch,
- className: "clear-button",
- __source: {
- fileName: SearchResultCard__jsxFileName,
- lineNumber: 11
- },
- __self: this
- }, "Clear")), external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(searchResults, function (componentName) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Card"].Content, {
- key: componentName,
- __source: {
- fileName: SearchResultCard__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- bsStyle: "link",
- onClick: function onClick() {
- return navigateTo(componentName);
- },
- __source: {
- fileName: SearchResultCard__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.startCase(componentName)));
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Empty"], {
- collection: searchResults,
- text: "No results found.",
- svgSymbol: {
- href: './docs/assets/svg-symbols.svg#search'
- },
- __source: {
- fileName: SearchResultCard__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }));
-};
-
-SearchResultCard_SearchResultCard.propTypes = {
- navigateTo: prop_types_default.a.func.isRequired,
- clearSearch: prop_types_default.a.func.isRequired,
- searchResults: prop_types_default.a.arrayOf(prop_types_default.a.string).isRequired
-};
-/* harmony default export */ var components_SearchResultCard = (SearchResultCard_SearchResultCard);
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/lib/Collapse.js
-var Collapse = __webpack_require__(339);
-var Collapse_default = /*#__PURE__*/__webpack_require__.n(Collapse);
-
-// EXTERNAL MODULE: ../node_modules/react-syntax-highlighter/prism-light.js
-var prism_light = __webpack_require__(320);
-var prism_light_default = /*#__PURE__*/__webpack_require__.n(prism_light);
-
-// EXTERNAL MODULE: ../node_modules/react-syntax-highlighter/languages/prism/jsx.js
-var jsx = __webpack_require__(327);
-var jsx_default = /*#__PURE__*/__webpack_require__.n(jsx);
-
-// EXTERNAL MODULE: ../node_modules/react-syntax-highlighter/styles/prism/coy.js
-var coy = __webpack_require__(328);
-var coy_default = /*#__PURE__*/__webpack_require__.n(coy);
-
-// CONCATENATED MODULE: ../docs/components/MigrationNote/index.jsx
-var MigrationNote__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/components/MigrationNote/index.jsx";
-
-function MigrationNote__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { MigrationNote__typeof = function _typeof(obj) { return typeof obj; }; } else { MigrationNote__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return MigrationNote__typeof(obj); }
-
-function MigrationNote__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function MigrationNote__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 MigrationNote__createClass(Constructor, protoProps, staticProps) { if (protoProps) MigrationNote__defineProperties(Constructor.prototype, protoProps); if (staticProps) MigrationNote__defineProperties(Constructor, staticProps); return Constructor; }
-
-function MigrationNote__possibleConstructorReturn(self, call) { if (call && (MigrationNote__typeof(call) === "object" || typeof call === "function")) { return call; } return MigrationNote__assertThisInitialized(self); }
-
-function MigrationNote__getPrototypeOf(o) { MigrationNote__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return MigrationNote__getPrototypeOf(o); }
-
-function MigrationNote__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) MigrationNote__setPrototypeOf(subClass, superClass); }
-
-function MigrationNote__setPrototypeOf(o, p) { MigrationNote__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return MigrationNote__setPrototypeOf(o, p); }
-
-function MigrationNote__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function MigrationNote__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; }
-
-
-
-
-
-
-
-Object(prism_light["registerLanguage"])('jsx', jsx_default.a);
-
-var MigrationNote_MigrationNote =
-/*#__PURE__*/
-function (_React$Component) {
- MigrationNote__inherits(MigrationNote, _React$Component);
-
- function MigrationNote() {
- var _getPrototypeOf2;
-
- var _this;
-
- MigrationNote__classCallCheck(this, MigrationNote);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = MigrationNote__possibleConstructorReturn(this, (_getPrototypeOf2 = MigrationNote__getPrototypeOf(MigrationNote)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- MigrationNote__defineProperty(MigrationNote__assertThisInitialized(MigrationNote__assertThisInitialized(_this)), "state", {
- showModal: false
- });
-
- MigrationNote__defineProperty(MigrationNote__assertThisInitialized(MigrationNote__assertThisInitialized(_this)), "openCollapse", function () {
- _this.setState(function (prev) {
- return {
- showModal: !prev.showModal
- };
- });
- });
-
- return _this;
- }
-
- MigrationNote__createClass(MigrationNote, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Fragment, null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- bsStyle: "link",
- onClick: this.openCollapse,
- className: "migration-docs",
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 24
- },
- __self: this
- }, "Version 27 Migration guide "), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- role: "img",
- "aria-label": "emoji",
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 25
- },
- __self: this
- }, "\uD83D\uDCDA")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Collapse_default.a, {
- in: this.state.showModal,
- mountOnEnter: true,
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 29
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 30
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h2", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 31
- },
- __self: this
- }, "Migration Guide"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("hr", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 32
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h3", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }, "Popover Component"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 34
- },
- __self: this
- }, "The ", " ", " component can be themed by providing one of the following values to the ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 35
- },
- __self: this
- }, "theme"), ' ', "prop:", " ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 37
- },
- __self: this
- }, "['light', 'dark', 'warn', 'error']"), "."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 39
- },
- __self: this
- }, "For more information check the example: ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#popover-example",
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }, "Popover Example")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 42
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h3", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 43
- },
- __self: this
- }, "Accordion Component"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 44
- },
- __self: this
- }, "The accordion component has been rewritten due to performance concerns."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 45
- },
- __self: this
- }, "The new component no longer accepts the ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 46
- },
- __self: this
- }, "'panels'"), " prop."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 48
- },
- __self: this
- }, "Old way:"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(prism_light_default.a, {
- language: "jsx",
- style: coy_default.a,
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 49
- },
- __self: this
- }, "\n \n \n \n \n \n \n \n \n ),\n },\n ]}\n onPanelClick={this.toggleAccordionPanel}\n />\n "), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 74
- },
- __self: this
- }, "New way: Each panel should be provided as a child of the Accordion component."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(prism_light_default.a, {
- language: "jsx",
- style: coy_default.a,
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 75
- },
- __self: this
- }, "\n \n \n \n \n \n "), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h3", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 95
- },
- __self: this
- }, "Tabs Component"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 96
- },
- __self: this
- }, "This component has been rewritten due to some React issues."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 97
- },
- __self: this
- }, "Also Adslot-ui lib has deprecated Tabs and Tab from react-bootstrap"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 98
- },
- __self: this
- }, "For more information check the example: ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#tab-example",
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 99
- },
- __self: this
- }, "Tab Example")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 101
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h3", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 102
- },
- __self: this
- }, "Checkbox Component"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 103
- },
- __self: this
- }, "This component will support 3 states ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("i", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 104
- },
- __self: this
- }, "CHECKED, PARTIAL CHECKED AND NON-CHECKED"), " from version 27", ' '), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 106
- },
- __self: this
- }, "Also the onChange function has changed"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(prism_light_default.a, {
- language: "jsx",
- style: coy_default.a,
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 107
- },
- __self: this
- }, "\n From: onChange = (event, name) => {...}\n To: onChange = (nextCheckState, name, value) => {...}\n "), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 113
- },
- __self: this
- }, "The nextCheckState will be:"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(prism_light_default.a, {
- language: "jsx",
- style: coy_default.a,
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 114
- },
- __self: this
- }, "\n true => false false => true 'partial' => false\n "), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 119
- },
- __self: this
- }, "For more information check the example: ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#checkbox-example",
- __source: {
- fileName: MigrationNote__jsxFileName,
- lineNumber: 120
- },
- __self: this
- }, "Checkbox Example")))));
- }
- }]);
-
- return MigrationNote;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var components_MigrationNote = (MigrationNote_MigrationNote);
-// EXTERNAL MODULE: ../docs/components/PropTypeTable/styles.scss
-var PropTypeTable_styles = __webpack_require__(373);
-var PropTypeTable_styles_default = /*#__PURE__*/__webpack_require__.n(PropTypeTable_styles);
-
-// CONCATENATED MODULE: ../docs/components/PropTypeTable/index.jsx
-var PropTypeTable__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/components/PropTypeTable/index.jsx";
-
-function PropTypeTable__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { PropTypeTable__typeof = function _typeof(obj) { return typeof obj; }; } else { PropTypeTable__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return PropTypeTable__typeof(obj); }
-
-function PropTypeTable__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function PropTypeTable__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 PropTypeTable__createClass(Constructor, protoProps, staticProps) { if (protoProps) PropTypeTable__defineProperties(Constructor.prototype, protoProps); if (staticProps) PropTypeTable__defineProperties(Constructor, staticProps); return Constructor; }
-
-function PropTypeTable__possibleConstructorReturn(self, call) { if (call && (PropTypeTable__typeof(call) === "object" || typeof call === "function")) { return call; } return PropTypeTable__assertThisInitialized(self); }
-
-function PropTypeTable__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function PropTypeTable__getPrototypeOf(o) { PropTypeTable__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return PropTypeTable__getPrototypeOf(o); }
-
-function PropTypeTable__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) PropTypeTable__setPrototypeOf(subClass, superClass); }
-
-function PropTypeTable__setPrototypeOf(o, p) { PropTypeTable__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return PropTypeTable__setPrototypeOf(o, p); }
-
-
-
-
-
-
-
-var PropTypeTable_PropTypeTable =
-/*#__PURE__*/
-function (_React$PureComponent) {
- PropTypeTable__inherits(PropTypeTable, _React$PureComponent);
-
- function PropTypeTable() {
- PropTypeTable__classCallCheck(this, PropTypeTable);
-
- return PropTypeTable__possibleConstructorReturn(this, PropTypeTable__getPrototypeOf(PropTypeTable).apply(this, arguments));
- }
-
- PropTypeTable__createClass(PropTypeTable, [{
- key: "render",
- value: function render() {
- var _this$props = this.props,
- propTypes = _this$props.propTypes,
- label = _this$props.label;
- var tableTitle = label ? "PropTypes \u2014 ".concat(label) : 'PropTypes';
-
- var isEmptyTable = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(propTypes);
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "adslot-ui-proptype-table",
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h3", {
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, tableTitle), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("table", {
- className: "table table-striped table-bordered",
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("thead", {
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("tr", {
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 19
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("th", {
- className: "col-prop-type",
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, "PropType"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("th", {
- className: "col-type",
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, "Type"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("th", {
- className: "col-default-value",
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }, "Default Value"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("th", {
- className: "col-notes",
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }, "Notes"))), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("tbody", {
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(propTypes, function (_ref) {
- var propType = _ref.propType,
- type = _ref.type,
- defaultValue = _ref.defaultValue,
- note = _ref.note;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("tr", {
- key: propType,
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 28
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("td", {
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 29
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 30
- },
- __self: this
- }, propType)), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("td", {
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 32
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }, type)), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("td", {
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 35
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 36
- },
- __self: this
- }, defaultValue)), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("td", {
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }, note));
- }))), isEmptyTable ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Empty"], {
- hideIcon: true,
- text: "No PropType definitions for this component, please check the source-code.",
- __source: {
- fileName: PropTypeTable__jsxFileName,
- lineNumber: 44
- },
- __self: this
- }) : null);
- }
- }]);
-
- return PropTypeTable;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-PropTypeTable_PropTypeTable.propTypes = {
- propTypes: prop_types_default.a.arrayOf(prop_types_default.a.shape({
- propType: prop_types_default.a.string.isRequired,
- type: prop_types_default.a.node.isRequired,
- defaultValue: prop_types_default.a.node,
- note: prop_types_default.a.node
- })),
- label: prop_types_default.a.string
-};
-/* harmony default export */ var components_PropTypeTable = (PropTypeTable_PropTypeTable);
-// EXTERNAL MODULE: ../docs/components/Example/styles.scss
-var Example_styles = __webpack_require__(374);
-var Example_styles_default = /*#__PURE__*/__webpack_require__.n(Example_styles);
-
-// CONCATENATED MODULE: ../docs/components/Example/index.jsx
-var Example__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/components/Example/index.jsx";
-
-function Example__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Example__typeof = function _typeof(obj) { return typeof obj; }; } else { Example__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Example__typeof(obj); }
-
-function Example__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Example__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 Example__createClass(Constructor, protoProps, staticProps) { if (protoProps) Example__defineProperties(Constructor.prototype, protoProps); if (staticProps) Example__defineProperties(Constructor, staticProps); return Constructor; }
-
-function Example__possibleConstructorReturn(self, call) { if (call && (Example__typeof(call) === "object" || typeof call === "function")) { return call; } return Example__assertThisInitialized(self); }
-
-function Example__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function Example__getPrototypeOf(o) { Example__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Example__getPrototypeOf(o); }
-
-function Example__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) Example__setPrototypeOf(subClass, superClass); }
-
-function Example__setPrototypeOf(o, p) { Example__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Example__setPrototypeOf(o, p); }
-
-
-
-
-
-
-
-
-
-
-Object(prism_light["registerLanguage"])('jsx', jsx_default.a);
-
-var Example_Example =
-/*#__PURE__*/
-function (_React$PureComponent) {
- Example__inherits(Example, _React$PureComponent);
-
- function Example() {
- Example__classCallCheck(this, Example);
-
- return Example__possibleConstructorReturn(this, Example__getPrototypeOf(Example).apply(this, arguments));
- }
-
- Example__createClass(Example, [{
- key: "render",
- value: function render() {
- var _this$props = this.props,
- children = _this$props.children,
- componentName = _this$props.componentName,
- notes = _this$props.notes,
- exampleCodeSnippet = _this$props.exampleCodeSnippet,
- propTypeSectionArray = _this$props.propTypeSectionArray,
- designNotes = _this$props.designNotes;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "adslot-ui-example-container ".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(componentName), "-example"),
- id: "".concat(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.kebabCase(componentName), "-example"),
- __source: {
- fileName: Example__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h2", {
- __source: {
- fileName: Example__jsxFileName,
- lineNumber: 24
- },
- __self: this
- }, componentName), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h3", {
- __source: {
- fileName: Example__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, "Example"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "adslot-ui-example",
- __source: {
- fileName: Example__jsxFileName,
- lineNumber: 27
- },
- __self: this
- }, children), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "adslot-ui-code-snippet",
- __source: {
- fileName: Example__jsxFileName,
- lineNumber: 29
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(prism_light_default.a, {
- language: "jsx",
- style: coy_default.a,
- __source: {
- fileName: Example__jsxFileName,
- lineNumber: 30
- },
- __self: this
- }, exampleCodeSnippet)), designNotes ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["InformationBox"], {
- title: "Design notes",
- className: "note-panel",
- __source: {
- fileName: Example__jsxFileName,
- lineNumber: 36
- },
- __self: this
- }, designNotes) : null, notes ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["InformationBox"], {
- title: "Technical notes",
- className: "note-panel",
- __source: {
- fileName: Example__jsxFileName,
- lineNumber: 41
- },
- __self: this
- }, notes) : null, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(propTypeSectionArray, function (section, index) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_PropTypeTable, {
- propTypes: section.propTypes,
- label: section.label,
- key: index,
- __source: {
- fileName: Example__jsxFileName,
- lineNumber: 47
- },
- __self: this
- });
- }), external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(propTypeSectionArray) ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_PropTypeTable, {
- __source: {
- fileName: Example__jsxFileName,
- lineNumber: 49
- },
- __self: this
- }) : null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- bsStyle: "link",
- href: "#top",
- __source: {
- fileName: Example__jsxFileName,
- lineNumber: 51
- },
- __self: this
- }, "\u2191 Back to top."));
- }
- }]);
-
- return Example;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-Example_Example.propTypes = {
- children: prop_types_default.a.element.isRequired,
- componentName: prop_types_default.a.string.isRequired,
- notes: prop_types_default.a.node,
- designNotes: prop_types_default.a.node,
- exampleCodeSnippet: prop_types_default.a.string.isRequired,
- propTypeSectionArray: prop_types_default.a.arrayOf(prop_types_default.a.object).isRequired
-};
-/* harmony default export */ var components_Example = (Example_Example);
-// CONCATENATED MODULE: ../docs/examples/ButtonExample.jsx
-var ButtonExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/ButtonExample.jsx";
-
-function ButtonExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { ButtonExample__typeof = function _typeof(obj) { return typeof obj; }; } else { ButtonExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return ButtonExample__typeof(obj); }
-
-function ButtonExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function ButtonExample__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 ButtonExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) ButtonExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) ButtonExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function ButtonExample__possibleConstructorReturn(self, call) { if (call && (ButtonExample__typeof(call) === "object" || typeof call === "function")) { return call; } return ButtonExample__assertThisInitialized(self); }
-
-function ButtonExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function ButtonExample__getPrototypeOf(o) { ButtonExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return ButtonExample__getPrototypeOf(o); }
-
-function ButtonExample__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) ButtonExample__setPrototypeOf(subClass, superClass); }
-
-function ButtonExample__setPrototypeOf(o, p) { ButtonExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return ButtonExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var ButtonExample_ButtonExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- ButtonExample__inherits(ButtonExample, _React$PureComponent);
-
- function ButtonExample(props) {
- var _this;
-
- ButtonExample__classCallCheck(this, ButtonExample);
-
- _this = ButtonExample__possibleConstructorReturn(this, ButtonExample__getPrototypeOf(ButtonExample).call(this, props));
- _this.state = {
- canUndo: false
- };
-
- _this.onClick = function () {
- return _this.setState({
- canUndo: !_this.state.canUndo
- });
- };
-
- return _this;
- }
-
- ButtonExample__createClass(ButtonExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- bsStyle: "link",
- disabled: !this.state.canUndo,
- reason: "There's nothing to undo.",
- onClick: this.onClick,
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, "Undo"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- bsStyle: "primary",
- disabled: this.state.canUndo,
- onClick: this.onClick,
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, "Apply"));
- }
- }]);
-
- return ButtonExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var exampleProps = {
- componentName: 'Button',
- notes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 31
- },
- __self: this
- }, "See", ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "https://getbootstrap.com/docs/3.3/css/#buttons",
- target: "_blank",
- rel: "noopener noreferrer",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }, "Bootstrap documentation"), ' ', "or", ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "https://react-bootstrap.github.io/components/buttons/",
- target: "_blank",
- rel: "noopener noreferrer",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 37
- },
- __self: this
- }, "React Bootstrap documentation"), "."),
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 44
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 45
- },
- __self: this
- }, "Primary buttons"), " are used to drive user action, there is only one primary action button per page. Primary buttons display filled with a colour and inverted white text eg.", ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-blue text-bold",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 47
- },
- __self: this
- }, "Blue"), ", ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-green text-bold",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 47
- },
- __self: this
- }, "Green"), " and used commonly for Sign off, Save, Apply, Approve etc.", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 49
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 50
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 51
- },
- __self: this
- }, "Inverted button"), " is used as a secondary action to the primary action on the page. Inverted buttons are bordered with ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-gray-light text-bold",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 52
- },
- __self: this
- }, "Gray-Light"), " with text", ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-gray-dark text-bold",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 53
- },
- __self: this
- }, "Gray-Dark"), " and used commonly for eg. Edit, Cancel, Add Product, Close etc.", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 56
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 57
- },
- __self: this
- }, "Inverted coloured buttons"), " are used as second primary actions alongside a primary action. Use the same colour for the border and text eg. ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-blue text-bold",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 58
- },
- __self: this
- }, "Blue"), ",", ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-green text-bold",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 59
- },
- __self: this
- }, "Green"), ", ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-red text-bold",
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 59
- },
- __self: this
- }, "Red"), " eg. Cancel Campaign, Save, Reject etc."),
- exampleCodeSnippet: "\n \n Undo\n \n \n Apply\n \n
",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'bsStyle',
- type: 'string, oneOf primary, link, and default.',
- defaultValue: 'default',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 88
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 89
- },
- __self: this
- }), "It's uncommon to use ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 90
- },
- __self: this
- }, "success"), ", ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 90
- },
- __self: this
- }, "info"), ", ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 90
- },
- __self: this
- }, "warning"), ", or", ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 91
- },
- __self: this
- }, "danger"), "which are supported by Bootstrap but not us.")
- }, {
- propType: 'inverse',
- type: 'bool',
- note: 'Renders an inverse button. Can be used with bsStyle to create primary inverse buttons.',
- defaultValue: 'false'
- }, {
- propType: 'reason',
- type: 'string',
- note: 'Used in tandem with the disabled prop to present a popover explaining why the button is disabled.'
- }, {
- propType: 'onClick',
- type: 'func',
- note: 'onClick(event)'
- }, {
- propType: 'bsSize',
- type: 'string',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 116
- },
- __self: this
- }, "We rarely use ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 117
- },
- __self: this
- }, "large"), ", and should not use ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 117
- },
- __self: this
- }, "small"), ".")
- }, {
- propType: 'isLoading',
- type: 'bool',
- defaultValue: 'false',
- note: 'set this to true to display Spinner and disable the button'
- }]
- }]
-};
-/* harmony default export */ var examples_ButtonExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, exampleProps, {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 133
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(ButtonExample_ButtonExample, {
- __source: {
- fileName: ButtonExample__jsxFileName,
- lineNumber: 134
- },
- __self: this
- }));
-});
-// EXTERNAL MODULE: ../node_modules/react-bootstrap/es/index.js + 72 modules
-var es = __webpack_require__(100);
-
-// CONCATENATED MODULE: ../docs/examples/ButtonGroupExample.jsx
-var ButtonGroupExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/ButtonGroupExample.jsx";
-
-function ButtonGroupExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { ButtonGroupExample__typeof = function _typeof(obj) { return typeof obj; }; } else { ButtonGroupExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return ButtonGroupExample__typeof(obj); }
-
-function ButtonGroupExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function ButtonGroupExample__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 ButtonGroupExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) ButtonGroupExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) ButtonGroupExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function ButtonGroupExample__possibleConstructorReturn(self, call) { if (call && (ButtonGroupExample__typeof(call) === "object" || typeof call === "function")) { return call; } return ButtonGroupExample__assertThisInitialized(self); }
-
-function ButtonGroupExample__getPrototypeOf(o) { ButtonGroupExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return ButtonGroupExample__getPrototypeOf(o); }
-
-function ButtonGroupExample__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) ButtonGroupExample__setPrototypeOf(subClass, superClass); }
-
-function ButtonGroupExample__setPrototypeOf(o, p) { ButtonGroupExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return ButtonGroupExample__setPrototypeOf(o, p); }
-
-function ButtonGroupExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function ButtonGroupExample__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; }
-
-
-
-
-
-
-var ButtonGroupExample_ButtonGroupExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- ButtonGroupExample__inherits(ButtonGroupExample, _React$PureComponent);
-
- function ButtonGroupExample() {
- var _getPrototypeOf2;
-
- var _this;
-
- ButtonGroupExample__classCallCheck(this, ButtonGroupExample);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = ButtonGroupExample__possibleConstructorReturn(this, (_getPrototypeOf2 = ButtonGroupExample__getPrototypeOf(ButtonGroupExample)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- ButtonGroupExample__defineProperty(ButtonGroupExample__assertThisInitialized(ButtonGroupExample__assertThisInitialized(_this)), "state", {
- isDropdownOpen: false
- });
-
- ButtonGroupExample__defineProperty(ButtonGroupExample__assertThisInitialized(ButtonGroupExample__assertThisInitialized(_this)), "buttonRef", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createRef());
-
- return _this;
- }
-
- ButtonGroupExample__createClass(ButtonGroupExample, [{
- key: "render",
- value: function render() {
- var _this2 = this;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Fragment, {
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["ButtonGroup"], {
- bsStyle: "success",
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, "Approve"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Popover"], {
- triggers: "click",
- placement: "bottom",
- popoverContent: "I am a popover on click!",
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SvgSymbol"], {
- className: "svg-icon",
- href: "./docs/assets/svg-symbols.svg#caret-down",
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 20
- },
- __self: this
- })))), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["ButtonGroup"], {
- bsStyle: "danger",
- inverse: true,
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 24
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 25
- },
- __self: this
- }, "Reject"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Popover"], {
- triggers: "disabled",
- isOpen: this.state.isDropdownOpen,
- id: "popover-2",
- popoverContent: "I am a Overlay on click!",
- placement: "bottom",
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- onClick: function onClick() {
- return _this2.setState(function (prevState) {
- return {
- isDropdownOpen: !prevState.isDropdownOpen
- };
- });
- },
- ref: this.buttonRef,
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SvgSymbol"], {
- className: "svg-icon",
- href: "./docs/assets/svg-symbols.svg#caret-down",
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 41
- },
- __self: this
- })))), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["ButtonGroup"], {
- bsStyle: "primary",
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 45
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 46
- },
- __self: this
- }, "Sign off"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- onClick: function onClick() {
- return alert('>I am a Alert on click!');
- },
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 47
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SvgSymbol"], {
- className: "svg-icon",
- href: "./docs/assets/svg-symbols.svg#caret-down",
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 48
- },
- __self: this
- }))), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["ButtonGroup"], {
- bsStyle: "warning",
- inverse: true,
- disabled: true,
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 51
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 52
- },
- __self: this
- }, "Disabled"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 53
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SvgSymbol"], {
- className: "svg-icon",
- href: "./docs/assets/svg-symbols.svg#caret-down",
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 54
- },
- __self: this
- }))));
- }
- }]);
-
- return ButtonGroupExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var ButtonGroupExample_exampleProps = {
- componentName: 'Button Group',
- exampleCodeSnippet: "\n \n Approve \n \n \n \n \n \n \n \n Reject \n \n \n this.setState(prevState => ({\n isDropdownOpen: !prevState.isDropdownOpen,\n }))\n }\n ref={this.buttonRef}\n >\n \n \n \n \n \n Sign off \n alert('>I am a Alert on click!')}>\n \n \n \n \n Disabled \n \n \n \n \n ",
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 108
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 109
- },
- __self: this
- }, "Button Groups"), " provides a layout for a two or more buttons to share common style and functionality but with independent events."),
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'bsStyle',
- type: 'string, oneOf primary, default, success, info, warning or danger',
- defaultValue: 'default'
- }, {
- propType: 'inverse',
- type: 'bool',
- note: 'Renders an inverse button. Can be used with bsStyle to create primary inverse buttons.',
- defaultValue: 'false'
- }, {
- propType: 'disabled',
- type: 'bool',
- note: 'Disables entire button group',
- defaultValue: 'false'
- }, {
- propType: 'bsSize',
- type: 'string',
- note: 'small, large'
- }]
- }]
-};
-/* harmony default export */ var examples_ButtonGroupExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, ButtonGroupExample_exampleProps, {
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 144
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(ButtonGroupExample_ButtonGroupExample, {
- __source: {
- fileName: ButtonGroupExample__jsxFileName,
- lineNumber: 145
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/AlertInputExample.jsx
-var AlertInputExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/AlertInputExample.jsx";
-
-function AlertInputExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { AlertInputExample__typeof = function _typeof(obj) { return typeof obj; }; } else { AlertInputExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return AlertInputExample__typeof(obj); }
-
-function AlertInputExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function AlertInputExample__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 AlertInputExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) AlertInputExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) AlertInputExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function AlertInputExample__possibleConstructorReturn(self, call) { if (call && (AlertInputExample__typeof(call) === "object" || typeof call === "function")) { return call; } return AlertInputExample__assertThisInitialized(self); }
-
-function AlertInputExample__getPrototypeOf(o) { AlertInputExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return AlertInputExample__getPrototypeOf(o); }
-
-function AlertInputExample__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) AlertInputExample__setPrototypeOf(subClass, superClass); }
-
-function AlertInputExample__setPrototypeOf(o, p) { AlertInputExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return AlertInputExample__setPrototypeOf(o, p); }
-
-function AlertInputExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var initialState = {
- impressions: null,
- status: null,
- message: null
-};
-
-var AlertInputExample_AlertInputExample =
-/*#__PURE__*/
-function (_React$Component) {
- AlertInputExample__inherits(AlertInputExample, _React$Component);
-
- function AlertInputExample() {
- var _this;
-
- AlertInputExample__classCallCheck(this, AlertInputExample);
-
- _this = AlertInputExample__possibleConstructorReturn(this, AlertInputExample__getPrototypeOf(AlertInputExample).call(this));
- _this.state = initialState;
- if (typeof _this.state.impressions != 'string') _this.state.impressions = '';
- _this.changeValue = _this.changeValue.bind(AlertInputExample__assertThisInitialized(AlertInputExample__assertThisInitialized(_this)));
- return _this;
- }
-
- AlertInputExample__createClass(AlertInputExample, [{
- key: "validateValue",
- value: function validateValue(value) {
- switch (true) {
- case external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(value):
- return {
- status: 'success'
- };
-
- case !external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isNumber(+value) || external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isNaN(+value):
- return {
- status: 'error',
- message: 'Impressions should be a number.'
- };
-
- case value < 1000:
- return {
- status: 'warning',
- message: 'A minimum value of 1000 impressions is expected.'
- };
-
- default:
- return {
- status: 'success'
- };
- }
- }
- }, {
- key: "changeValue",
- value: function changeValue(value) {
- if (value === this.state.impressions) return;
- var validationResponse = this.validateValue(value);
- var validationState = {
- status: null,
- message: null
- };
-
- if (validationResponse.status !== 'success') {
- external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.assign(validationState, validationResponse);
- }
-
- this.setState(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.assign({
- impressions: value
- }, validationState));
- }
- }, {
- key: "render",
- value: function render() {
- var _this2 = this;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["AlertInput"], {
- value: this.state.impressions,
- suffixAddon: "impressions",
- alertStatus: this.state.status,
- alertMessage: this.state.message,
- onValueChange: function onValueChange(event) {
- return _this2.changeValue(event.target.value);
- },
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 56
- },
- __self: this
- });
- }
- }]);
-
- return AlertInputExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var AlertInputExample_exampleProps = {
- componentName: 'Alert Input',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 70
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- className: "text-bold",
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 71
- },
- __self: this
- }, "Alert input"), " provide direct feedback by", ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- className: "text-orange text-bold",
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 72
- },
- __self: this
- }, "\u2018Warning\u2019"), " the user but not blocking them.", ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- className: "text-red text-bold",
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 73
- },
- __self: this
- }, "\u2018Required\u2019"), " informing the users there is required information or they have entered incorrect information."),
- exampleCodeSnippet: "\n this.changeValue(event.target.value)}\n />\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'defaultValue',
- type: 'string'
- }, {
- propType: 'value',
- type: 'string|number'
- }, {
- propType: 'type',
- type: "oneOf: 'text', 'number'",
- defaultValue: 'text'
- }, {
- propType: 'min',
- type: 'number'
- }, {
- propType: 'placeholder',
- type: 'string'
- }, {
- propType: 'prefixAddon',
- type: 'node'
- }, {
- propType: 'suffixAddon',
- type: 'node'
- }, {
- propType: 'alertStatus',
- type: "oneOf: 'success', 'info', 'warning', 'error'",
- defaultValue: 'success',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 123
- },
- __self: this
- }, "As ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 124
- },
- __self: this
- }, "success"), " is assumed, and help is always displayed independently, the accepted pattern is to only use ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 125
- },
- __self: this
- }, "warning"), " and ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 125
- },
- __self: this
- }, "error"), " feedback states with this component. Otherwise leave type undefined for ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 126
- },
- __self: this
- }, "success"), ".")
- }, {
- propType: 'alertMessage',
- type: 'string'
- }, {
- propType: 'onValueChange',
- type: 'func'
- }, {
- propType: 'onBlur',
- type: 'func'
- }, {
- propType: 'onFocus',
- type: 'func'
- }]
- }]
-};
-/* harmony default export */ var examples_AlertInputExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, AlertInputExample_exampleProps, {
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 152
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(AlertInputExample_AlertInputExample, {
- __source: {
- fileName: AlertInputExample__jsxFileName,
- lineNumber: 153
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/FilePickerExample.jsx
-var FilePickerExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/FilePickerExample.jsx";
-
-function FilePickerExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { FilePickerExample__typeof = function _typeof(obj) { return typeof obj; }; } else { FilePickerExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return FilePickerExample__typeof(obj); }
-
-function FilePickerExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function FilePickerExample__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 FilePickerExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) FilePickerExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) FilePickerExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function FilePickerExample__possibleConstructorReturn(self, call) { if (call && (FilePickerExample__typeof(call) === "object" || typeof call === "function")) { return call; } return FilePickerExample__assertThisInitialized(self); }
-
-function FilePickerExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function FilePickerExample__getPrototypeOf(o) { FilePickerExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return FilePickerExample__getPrototypeOf(o); }
-
-function FilePickerExample__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) FilePickerExample__setPrototypeOf(subClass, superClass); }
-
-function FilePickerExample__setPrototypeOf(o, p) { FilePickerExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return FilePickerExample__setPrototypeOf(o, p); }
-
-
-
-
-
-
-var FilePickerExample_FilePickerExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- FilePickerExample__inherits(FilePickerExample, _React$PureComponent);
-
- function FilePickerExample() {
- FilePickerExample__classCallCheck(this, FilePickerExample);
-
- return FilePickerExample__possibleConstructorReturn(this, FilePickerExample__getPrototypeOf(FilePickerExample).apply(this, arguments));
- }
-
- FilePickerExample__createClass(FilePickerExample, [{
- key: "render",
- value: function render() {
- var onSelect = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.noop;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["FilePicker"], {
- onSelect: onSelect,
- __source: {
- fileName: FilePickerExample__jsxFileName,
- lineNumber: 9
- },
- __self: this
- });
- }
- }]);
-
- return FilePickerExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var FilePickerExample_exampleProps = {
- componentName: 'File Picker',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: FilePickerExample__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: FilePickerExample__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, "File picker"), " allows the user to easily add and remove a file for upload."),
- exampleCodeSnippet: ' ',
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'disabled',
- type: 'bool',
- defaultValue: 'false'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }, {
- propType: 'filter',
- type: 'string'
- }, {
- propType: 'isHighlighted',
- type: 'bool',
- defaultValue: 'false'
- }, {
- propType: 'label',
- type: 'string',
- defaultValue: 'Select'
- }, {
- propType: 'onRemove',
- type: 'func'
- }, {
- propType: 'onSelect',
- type: 'func',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: FilePickerExample__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }, 'onSelect({ isClosed, lastModified, lastModifiedDate, name, size, type })')
- }, {
- propType: 'placeholder',
- type: 'string',
- defaultValue: 'No file selected'
- }]
- }]
-};
-/* harmony default export */ var examples_FilePickerExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, FilePickerExample_exampleProps, {
- __source: {
- fileName: FilePickerExample__jsxFileName,
- lineNumber: 68
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(FilePickerExample_FilePickerExample, {
- __source: {
- fileName: FilePickerExample__jsxFileName,
- lineNumber: 69
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/TextareaExample.jsx
-var TextareaExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/TextareaExample.jsx";
-
-function TextareaExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { TextareaExample__typeof = function _typeof(obj) { return typeof obj; }; } else { TextareaExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return TextareaExample__typeof(obj); }
-
-function TextareaExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function TextareaExample__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 TextareaExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) TextareaExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) TextareaExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function TextareaExample__possibleConstructorReturn(self, call) { if (call && (TextareaExample__typeof(call) === "object" || typeof call === "function")) { return call; } return TextareaExample__assertThisInitialized(self); }
-
-function TextareaExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function TextareaExample__getPrototypeOf(o) { TextareaExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return TextareaExample__getPrototypeOf(o); }
-
-function TextareaExample__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) TextareaExample__setPrototypeOf(subClass, superClass); }
-
-function TextareaExample__setPrototypeOf(o, p) { TextareaExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return TextareaExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var TextareaExample_TextareaExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- TextareaExample__inherits(TextareaExample, _React$PureComponent);
-
- function TextareaExample() {
- TextareaExample__classCallCheck(this, TextareaExample);
-
- return TextareaExample__possibleConstructorReturn(this, TextareaExample__getPrototypeOf(TextareaExample).apply(this, arguments));
- }
-
- TextareaExample__createClass(TextareaExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Textarea"], {
- maxLength: 250,
- __source: {
- fileName: TextareaExample__jsxFileName,
- lineNumber: 7
- },
- __self: this
- });
- }
- }]);
-
- return TextareaExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var TextareaExample_exampleProps = {
- componentName: 'Textarea',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: TextareaExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: TextareaExample__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, "Text area"), " used to capture comments, creative ad tags etc. If there is a character limitation then the count should be listed below and on the right side of the text area. Font size is", ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: TextareaExample__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, "12px"), ", weight ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: TextareaExample__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, "300"), "."),
- exampleCodeSnippet: '',
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'maxLength',
- type: 'number'
- }, {
- propType: 'statusClass',
- type: 'string',
- defaultValue: ''
- }, {
- propType: 'onChange',
- type: 'func'
- }]
- }]
-};
-/* harmony default export */ var examples_TextareaExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, TextareaExample_exampleProps, {
- __source: {
- fileName: TextareaExample__jsxFileName,
- lineNumber: 43
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TextareaExample_TextareaExample, {
- __source: {
- fileName: TextareaExample__jsxFileName,
- lineNumber: 44
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/TextEllipsisExample.jsx
-var TextEllipsisExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/TextEllipsisExample.jsx";
-
-function TextEllipsisExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { TextEllipsisExample__typeof = function _typeof(obj) { return typeof obj; }; } else { TextEllipsisExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return TextEllipsisExample__typeof(obj); }
-
-function TextEllipsisExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function TextEllipsisExample__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 TextEllipsisExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) TextEllipsisExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) TextEllipsisExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function TextEllipsisExample__possibleConstructorReturn(self, call) { if (call && (TextEllipsisExample__typeof(call) === "object" || typeof call === "function")) { return call; } return TextEllipsisExample__assertThisInitialized(self); }
-
-function TextEllipsisExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function TextEllipsisExample__getPrototypeOf(o) { TextEllipsisExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return TextEllipsisExample__getPrototypeOf(o); }
-
-function TextEllipsisExample__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) TextEllipsisExample__setPrototypeOf(subClass, superClass); }
-
-function TextEllipsisExample__setPrototypeOf(o, p) { TextEllipsisExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return TextEllipsisExample__setPrototypeOf(o, p); }
-
-
-
-
-var loremIpsum = "\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore\n magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.\n Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n";
-
-var TextEllipsisExample_TextEllipsisExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- TextEllipsisExample__inherits(TextEllipsisExample, _React$PureComponent);
-
- function TextEllipsisExample() {
- TextEllipsisExample__classCallCheck(this, TextEllipsisExample);
-
- return TextEllipsisExample__possibleConstructorReturn(this, TextEllipsisExample__getPrototypeOf(TextEllipsisExample).apply(this, arguments));
- }
-
- TextEllipsisExample__createClass(TextEllipsisExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["TextEllipsis"], {
- __source: {
- fileName: TextEllipsisExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, loremIpsum);
- }
- }]);
-
- return TextEllipsisExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var TextEllipsisExample_exampleProps = {
- componentName: 'Text Ellipsis',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: TextEllipsisExample__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, "Truncating provides enough information to the user initially, as well as indicating a hover over is available for displaying hidden information. Commonly used for grid cells, grid labels, marketplace tile info, product names etc."),
- notes: 'Useful for single line truncation of text values, also provides a hover over displaying the full text.',
- exampleCodeSnippet: "".concat(loremIpsum, " "),
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'children',
- type: 'node'
- }, {
- propType: 'overlayTriggerProps',
- type: 'shape',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: TextEllipsisExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }, "See", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "https://react-bootstrap.github.io/components/overlays/#custom-overlays-props",
- target: "_blank",
- rel: "noopener noreferrer",
- __source: {
- fileName: TextEllipsisExample__jsxFileName,
- lineNumber: 42
- },
- __self: this
- }, "React Bootstrap Docs"), ".")
- }, {
- propType: 'popoverProps',
- type: 'shape',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: TextEllipsisExample__jsxFileName,
- lineNumber: 57
- },
- __self: this
- }, "See", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "https://react-bootstrap.github.io/components/popovers/#popover-props",
- target: "_blank",
- rel: "noopener noreferrer",
- __source: {
- fileName: TextEllipsisExample__jsxFileName,
- lineNumber: 59
- },
- __self: this
- }, "React Bootstrap Docs"), ".")
- }]
- }]
-};
-/* harmony default export */ var examples_TextEllipsisExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, TextEllipsisExample_exampleProps, {
- __source: {
- fileName: TextEllipsisExample__jsxFileName,
- lineNumber: 76
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TextEllipsisExample_TextEllipsisExample, {
- __source: {
- fileName: TextEllipsisExample__jsxFileName,
- lineNumber: 77
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/AlertExample.jsx
-var AlertExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/AlertExample.jsx";
-
-function AlertExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { AlertExample__typeof = function _typeof(obj) { return typeof obj; }; } else { AlertExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return AlertExample__typeof(obj); }
-
-function AlertExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function AlertExample__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 AlertExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) AlertExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) AlertExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function AlertExample__possibleConstructorReturn(self, call) { if (call && (AlertExample__typeof(call) === "object" || typeof call === "function")) { return call; } return AlertExample__assertThisInitialized(self); }
-
-function AlertExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function AlertExample__getPrototypeOf(o) { AlertExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return AlertExample__getPrototypeOf(o); }
-
-function AlertExample__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) AlertExample__setPrototypeOf(subClass, superClass); }
-
-function AlertExample__setPrototypeOf(o, p) { AlertExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return AlertExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var AlertExample_AlertExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- AlertExample__inherits(AlertExample, _React$PureComponent);
-
- function AlertExample() {
- AlertExample__classCallCheck(this, AlertExample);
-
- return AlertExample__possibleConstructorReturn(this, AlertExample__getPrototypeOf(AlertExample).apply(this, arguments));
- }
-
- AlertExample__createClass(AlertExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Alert"], {
- type: "danger",
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 7
- },
- __self: this
- }, "Error: Unable to save. We can't talk to the API, try again in a bit.");
- }
- }]);
-
- return AlertExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var AlertExample_exampleProps = {
- componentName: 'Alert',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, "Alert messages are used to provide action-based feedback. The most common message colours used are", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-green",
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, "Success"), " and ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-red",
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, "Error"), ".", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-orange",
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }, "Warning"), " is rarely used as a flash message, and occasionally", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-cyan",
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- }, "Info"), " is used to present further information related to a performed action."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, "Examples:"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-green",
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }, "Success"), " : indicates that an action was processed successfully.", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 24
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-orange",
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 25
- },
- __self: this
- }, "Warning"), " : indicates that an action may have concerns but not critical.", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-red",
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 27
- },
- __self: this
- }, "Error"), " : indicates that an action failed completely or something is critically wrong.", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 29
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-cyan",
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 30
- },
- __self: this
- }, "Info"), " : provides information related to a performed action.")),
- exampleCodeSnippet: 'Unable to save. We can\'t talk to the API, try again in a bit. ',
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'type',
- type: "oneOf: 'success', 'info', 'warning', 'danger'"
- }, {
- propType: 'children',
- type: 'node'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }]
- }]
-};
-/* harmony default export */ var examples_AlertExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, AlertExample_exampleProps, {
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 57
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(AlertExample_AlertExample, {
- __source: {
- fileName: AlertExample__jsxFileName,
- lineNumber: 58
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/CheckboxExample.jsx
-var CheckboxExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/CheckboxExample.jsx";
-
-
-
-
-
-var handleChange = function handleChange() {
- var _console;
-
- for (var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++) {
- arg[_key] = arguments[_key];
- }
-
- return (_console = console).log.apply(_console, ['Checkbox changed with arguments'].concat(arg));
-};
-
-var CheckboxExample_CheckboxExample = function CheckboxExample() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Fragment, null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h4", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 10
- },
- __self: this
- }, "Not selected"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "Checked: false",
- checked: false,
- inline: true,
- className: "fix-size",
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 11
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, "Checked: false ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }), " ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, "Disabled")),
- checked: false,
- disabled: true,
- inline: true,
- className: "fix-size",
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 12
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h4", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 24
- },
- __self: this
- }, "Selected"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "Checked: true",
- checked: true,
- inline: true,
- className: "fix-size",
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 25
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 28
- },
- __self: this
- }, "Checked: true ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 29
- },
- __self: this
- }), " ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 29
- },
- __self: this
- }, "Disabled")),
- checked: true,
- disabled: true,
- inline: true,
- className: "fix-size",
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h4", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }, "Partial Selected"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "Checked: 'partial'",
- checked: "partial",
- inline: true,
- className: "fix-size",
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 39
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 42
- },
- __self: this
- }, "Checked: 'partial' ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 43
- },
- __self: this
- }), " ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 43
- },
- __self: this
- }, "Disabled")),
- checked: "partial",
- disabled: true,
- inline: true,
- className: "fix-size",
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h4", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 52
- },
- __self: this
- }, "Checkboxes without labels"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- checked: false,
- inline: true,
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 53
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- checked: false,
- disabled: true,
- inline: true,
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 54
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- checked: true,
- inline: true,
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- checked: true,
- disabled: true,
- inline: true,
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 56
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- checked: "partial",
- inline: true,
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 57
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- checked: "partial",
- disabled: true,
- inline: true,
- onChange: handleChange,
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 58
- },
- __self: this
- }));
-};
-
-var CheckboxExample_exampleProps = {
- componentName: 'Checkbox',
- notes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 65
- },
- __self: this
- }, "This component supports 3 states ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 66
- },
- __self: this
- }, "checked"), ", ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 66
- },
- __self: this
- }, "partial checked"), " and ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 66
- },
- __self: this
- }, "non-checked")),
- exampleCodeSnippet: "\n handleChange = (nextCheckState, name, value) => {\n // onChange logic\n // The nextCheckState is:\n // true => false false => true 'partial' => false\n }\n\n Not selected \n \n \n Checked: false Disabled \n
\n }\n checked={false}\n disabled\n inline\n className=\"fix-size\"\n onChange={handleChange}\n />\n Selected \n \n \n Checked: true Disabled \n \n }\n checked\n disabled\n inline\n className=\"fix-size\"\n onChange={handleChange}\n />\n Partial Selected \n \n \n Checked: 'partial' Disabled \n \n }\n checked=\"partial\"\n disabled\n inline\n className=\"fix-size\"\n onChange={handleChange}\n />\n Checkboxes without labels \n \n \n \n \n \n \n ",
- propTypeSectionArray: [{
- label: '',
- propTypes: [{
- propType: 'id',
- type: 'string'
- }, {
- propType: 'className',
- type: 'string',
- note: 'This class will be applied to the input element'
- }, {
- propType: 'name',
- type: 'string'
- }, {
- propType: 'label',
- type: 'node'
- }, {
- propType: 'value',
- type: 'string'
- }, {
- propType: 'checked',
- type: 'bool',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 154
- },
- __self: this
- }, "false")
- }, {
- propType: 'disabled',
- type: 'bool',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 159
- },
- __self: this
- }, "false")
- }, {
- propType: 'dts',
- type: 'string'
- }, {
- propType: 'onChange',
- type: 'func'
- }, {
- propType: 'inline',
- type: 'bool',
- note: 'Set this component to be `display: inline-block`.'
- }]
- }]
-};
-/* harmony default export */ var examples_CheckboxExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, CheckboxExample_exampleProps, {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 180
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(CheckboxExample_CheckboxExample, {
- __source: {
- fileName: CheckboxExample__jsxFileName,
- lineNumber: 181
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/CheckboxGroupExample.jsx
-var CheckboxGroupExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/CheckboxGroupExample.jsx";
-
-function CheckboxGroupExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { CheckboxGroupExample__typeof = function _typeof(obj) { return typeof obj; }; } else { CheckboxGroupExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return CheckboxGroupExample__typeof(obj); }
-
-function CheckboxGroupExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function CheckboxGroupExample__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 CheckboxGroupExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) CheckboxGroupExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) CheckboxGroupExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function CheckboxGroupExample__possibleConstructorReturn(self, call) { if (call && (CheckboxGroupExample__typeof(call) === "object" || typeof call === "function")) { return call; } return CheckboxGroupExample__assertThisInitialized(self); }
-
-function CheckboxGroupExample__getPrototypeOf(o) { CheckboxGroupExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return CheckboxGroupExample__getPrototypeOf(o); }
-
-function CheckboxGroupExample__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) CheckboxGroupExample__setPrototypeOf(subClass, superClass); }
-
-function CheckboxGroupExample__setPrototypeOf(o, p) { CheckboxGroupExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return CheckboxGroupExample__setPrototypeOf(o, p); }
-
-function CheckboxGroupExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function CheckboxGroupExample__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; }
-
-
-
-
-
-
-var CheckboxGroupExample_CheckboxGroupExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- CheckboxGroupExample__inherits(CheckboxGroupExample, _React$PureComponent);
-
- function CheckboxGroupExample() {
- var _getPrototypeOf2;
-
- var _this;
-
- CheckboxGroupExample__classCallCheck(this, CheckboxGroupExample);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = CheckboxGroupExample__possibleConstructorReturn(this, (_getPrototypeOf2 = CheckboxGroupExample__getPrototypeOf(CheckboxGroupExample)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- CheckboxGroupExample__defineProperty(CheckboxGroupExample__assertThisInitialized(CheckboxGroupExample__assertThisInitialized(_this)), "state", {
- movies: ['terminator', 'predator']
- });
-
- CheckboxGroupExample__defineProperty(CheckboxGroupExample__assertThisInitialized(CheckboxGroupExample__assertThisInitialized(_this)), "handleGroupChange", function (movies) {
- _this.setState({
- movies: movies
- });
- });
-
- CheckboxGroupExample__defineProperty(CheckboxGroupExample__assertThisInitialized(CheckboxGroupExample__assertThisInitialized(_this)), "displayValue", function () {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(_this.state.movies) ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("i", {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, "Empty") : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("i", {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, "[", _this.state.movies.join(' '), "]");
- });
-
- return _this;
- }
-
- CheckboxGroupExample__createClass(CheckboxGroupExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Fragment, null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h4", {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }, "Selected Values: ", this.displayValue())), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 25
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["CheckboxGroup"], {
- name: "movies",
- value: this.state.movies,
- onChange: this.handleGroupChange,
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "The Terminator",
- value: "terminator",
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 27
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "Predator",
- value: "predator",
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 28
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "The Sound of Music",
- value: "soundofmusic",
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 29
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 31
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h3", {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 32
- },
- __self: this
- }, "Inline CheckboxGroup"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["CheckboxGroup"], {
- name: "movies",
- value: this.state.movies,
- onChange: this.handleGroupChange,
- inline: true,
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "The Terminator",
- value: "terminator",
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 34
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "Predator",
- value: "predator",
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 35
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "The Sound of Music",
- value: "soundofmusic",
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 36
- },
- __self: this
- })));
- }
- }]);
-
- return CheckboxGroupExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var CheckboxGroupExample_exampleProps = {
- componentName: 'CheckboxGroup',
- notes: 'Contains individual checkboxes. The state of child checkboxes is held in an array.',
- exampleCodeSnippet: "\n \n \n \n \n \n\n \n \n \n \n \n ",
- propTypeSectionArray: [{
- label: '',
- propTypes: [{
- propType: 'id',
- type: 'string'
- }, {
- propType: 'className',
- type: 'string'
- }, {
- propType: 'name',
- type: 'string',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 75
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("strong", {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 76
- },
- __self: this
- }, "Required."), " All Checkboxes within this group will have the same name")
- }, {
- propType: 'value',
- type: 'arrayOf(string: value, ...)',
- note: "The strings must be the values of the group's child Checkboxes"
- }, {
- propType: 'children',
- type: 'arrayOf elements',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("strong", {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 88
- },
- __self: this
- }, "Required.")
- }, {
- propType: 'onChange',
- type: 'func',
- note: 'Triggers when selection changes.'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }, {
- propType: 'inline',
- type: 'bool',
- note: 'Passing to each Checkbox component.'
- }]
- }]
-};
-/* harmony default export */ var examples_CheckboxGroupExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, CheckboxGroupExample_exampleProps, {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 111
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(CheckboxGroupExample_CheckboxGroupExample, {
- __source: {
- fileName: CheckboxGroupExample__jsxFileName,
- lineNumber: 112
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/CountBadgeExample.jsx
-var CountBadgeExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/CountBadgeExample.jsx";
-
-function CountBadgeExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { CountBadgeExample__typeof = function _typeof(obj) { return typeof obj; }; } else { CountBadgeExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return CountBadgeExample__typeof(obj); }
-
-function CountBadgeExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function CountBadgeExample__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 CountBadgeExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) CountBadgeExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) CountBadgeExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function CountBadgeExample__possibleConstructorReturn(self, call) { if (call && (CountBadgeExample__typeof(call) === "object" || typeof call === "function")) { return call; } return CountBadgeExample__assertThisInitialized(self); }
-
-function CountBadgeExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function CountBadgeExample__getPrototypeOf(o) { CountBadgeExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return CountBadgeExample__getPrototypeOf(o); }
-
-function CountBadgeExample__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) CountBadgeExample__setPrototypeOf(subClass, superClass); }
-
-function CountBadgeExample__setPrototypeOf(o, p) { CountBadgeExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return CountBadgeExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var CountBadgeExample_CountBadgeExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- CountBadgeExample__inherits(CountBadgeExample, _React$PureComponent);
-
- function CountBadgeExample() {
- CountBadgeExample__classCallCheck(this, CountBadgeExample);
-
- return CountBadgeExample__possibleConstructorReturn(this, CountBadgeExample__getPrototypeOf(CountBadgeExample).apply(this, arguments));
- }
-
- CountBadgeExample__createClass(CountBadgeExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["CountBadge"], {
- value: 8,
- status: "info",
- dts: "data-test-selector-goes-here",
- __source: {
- fileName: CountBadgeExample__jsxFileName,
- lineNumber: 7
- },
- __self: this
- });
- }
- }]);
-
- return CountBadgeExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var CountBadgeExample_exampleProps = {
- componentName: 'CountBadge',
- notes: '',
- exampleCodeSnippet: " ",
- propTypeSectionArray: [{
- label: '',
- propTypes: [{
- propType: 'value',
- type: 'string',
- defaultValue: '',
- note: 'Should be a 1- to 3-digit number'
- }, {
- propType: 'status',
- type: "oneOf: 'default', 'info', 'warning', 'danger'",
- defaultValue: 'default',
- note: '"default" and no value given have the same effect'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'data test selector, used for testing'
- }]
- }]
-};
-/* harmony default export */ var examples_CountBadgeExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, CountBadgeExample_exampleProps, {
- __source: {
- fileName: CountBadgeExample__jsxFileName,
- lineNumber: 42
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(CountBadgeExample_CountBadgeExample, {
- __source: {
- fileName: CountBadgeExample__jsxFileName,
- lineNumber: 43
- },
- __self: this
- }));
-});
-// EXTERNAL MODULE: ./components/adslot-ui/Radio/index.jsx
-var Radio = __webpack_require__(97);
-
-// CONCATENATED MODULE: ../docs/examples/RadioExample.jsx
-var RadioExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/RadioExample.jsx";
-
-function RadioExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { RadioExample__typeof = function _typeof(obj) { return typeof obj; }; } else { RadioExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return RadioExample__typeof(obj); }
-
-function RadioExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function RadioExample__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 RadioExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) RadioExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) RadioExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function RadioExample__possibleConstructorReturn(self, call) { if (call && (RadioExample__typeof(call) === "object" || typeof call === "function")) { return call; } return RadioExample__assertThisInitialized(self); }
-
-function RadioExample__getPrototypeOf(o) { RadioExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return RadioExample__getPrototypeOf(o); }
-
-function RadioExample__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) RadioExample__setPrototypeOf(subClass, superClass); }
-
-function RadioExample__setPrototypeOf(o, p) { RadioExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return RadioExample__setPrototypeOf(o, p); }
-
-function RadioExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var RadioExample_RadioExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- RadioExample__inherits(RadioExample, _React$PureComponent);
-
- function RadioExample(props) {
- var _this;
-
- RadioExample__classCallCheck(this, RadioExample);
-
- _this = RadioExample__possibleConstructorReturn(this, RadioExample__getPrototypeOf(RadioExample).call(this, props));
- _this.state = {
- isSelected: false
- };
- _this.handleChange = _this.handleChange.bind(RadioExample__assertThisInitialized(RadioExample__assertThisInitialized(_this)));
- return _this;
- }
-
- RadioExample__createClass(RadioExample, [{
- key: "handleChange",
- value: function handleChange() {
- this.setState(function (prevState) {
- return {
- isSelected: !prevState.isSelected
- };
- });
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Radio["a" /* default */], {
- name: "Radio button name",
- label: "Radio button label",
- dts: "radio-button-data-test-selector",
- value: "Radio button value",
- checked: this.state.isSelected,
- onChange: this.handleChange,
- __source: {
- fileName: RadioExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- });
- }
- }]);
-
- return RadioExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var RadioExample_exampleProps = {
- componentName: 'Radio',
- notes: '',
- exampleCodeSnippet: "",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'id',
- type: 'string'
- }, {
- propType: 'className',
- type: 'string',
- note: 'This class will be applied to the input element'
- }, {
- propType: 'name',
- type: 'string'
- }, {
- propType: 'label',
- type: 'node'
- }, {
- propType: 'value',
- type: 'string'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }, {
- propType: 'disabled',
- type: 'bool',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: RadioExample__jsxFileName,
- lineNumber: 78
- },
- __self: this
- }, "false")
- }, {
- propType: 'checked',
- type: 'bool',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: RadioExample__jsxFileName,
- lineNumber: 83
- },
- __self: this
- }, "false")
- }, {
- propType: 'onChange',
- type: 'func'
- }, {
- propType: 'inline',
- type: 'bool',
- note: 'Set this component to be `display: inline-block`.'
- }]
- }]
-};
-/* harmony default export */ var examples_RadioExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, RadioExample_exampleProps, {
- __source: {
- fileName: RadioExample__jsxFileName,
- lineNumber: 100
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(RadioExample_RadioExample, {
- __source: {
- fileName: RadioExample__jsxFileName,
- lineNumber: 101
- },
- __self: this
- }));
-});
-// EXTERNAL MODULE: ./components/adslot-ui/RadioGroup/index.jsx
-var RadioGroup = __webpack_require__(133);
-
-// CONCATENATED MODULE: ../docs/examples/RadioGroupExample.jsx
-var RadioGroupExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/RadioGroupExample.jsx";
-
-function RadioGroupExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { RadioGroupExample__typeof = function _typeof(obj) { return typeof obj; }; } else { RadioGroupExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return RadioGroupExample__typeof(obj); }
-
-function RadioGroupExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function RadioGroupExample__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 RadioGroupExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) RadioGroupExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) RadioGroupExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function RadioGroupExample__possibleConstructorReturn(self, call) { if (call && (RadioGroupExample__typeof(call) === "object" || typeof call === "function")) { return call; } return RadioGroupExample__assertThisInitialized(self); }
-
-function RadioGroupExample__getPrototypeOf(o) { RadioGroupExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return RadioGroupExample__getPrototypeOf(o); }
-
-function RadioGroupExample__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) RadioGroupExample__setPrototypeOf(subClass, superClass); }
-
-function RadioGroupExample__setPrototypeOf(o, p) { RadioGroupExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return RadioGroupExample__setPrototypeOf(o, p); }
-
-function RadioGroupExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-var RadioGroupExample_RadioGroupExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- RadioGroupExample__inherits(RadioGroupExample, _React$PureComponent);
-
- function RadioGroupExample(props) {
- var _this;
-
- RadioGroupExample__classCallCheck(this, RadioGroupExample);
-
- _this = RadioGroupExample__possibleConstructorReturn(this, RadioGroupExample__getPrototypeOf(RadioGroupExample).call(this, props));
- _this.state = {
- hobbies: 'badminton'
- };
- _this.handleGroupChange = _this.handleGroupChange.bind(RadioGroupExample__assertThisInitialized(RadioGroupExample__assertThisInitialized(_this)));
- return _this;
- }
-
- RadioGroupExample__createClass(RadioGroupExample, [{
- key: "handleGroupChange",
- value: function handleGroupChange(value) {
- this.setState({
- hobbies: value
- });
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Fragment, {
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(RadioGroup["a" /* default */], {
- name: "hobbies",
- value: this.state.hobbies,
- onChange: this.handleGroupChange,
- dts: "radio-group-dts",
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Radio["a" /* default */], {
- value: "swimming",
- label: "Swimming",
- dts: "radio-dts",
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 24
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Radio["a" /* default */], {
- value: "soccer",
- label: "Soccer",
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 25
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Radio["a" /* default */], {
- value: "badminton",
- label: "Badminton",
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 26
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 28
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h3", {
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 29
- },
- __self: this
- }, "Inline RadioGroup"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(RadioGroup["a" /* default */], {
- name: "hobbies",
- value: "badminton",
- onChange: this.handleGroupChange,
- dts: "radio-group-dts",
- inline: true,
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 30
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Radio["a" /* default */], {
- value: "swimming",
- label: "Swimming",
- dts: "radio-dts",
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 31
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Radio["a" /* default */], {
- value: "soccer",
- label: "Soccer",
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 32
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Radio["a" /* default */], {
- value: "badminton",
- label: "Badminton",
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 33
- },
- __self: this
- })));
- }
- }]);
-
- return RadioGroupExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var RadioGroupExample_exampleProps = {
- componentName: 'RadioGroup',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 43
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 44
- },
- __self: this
- }, "Radio buttons"), " used for making a single selection from multiple options. Only one selection can ever be made from the radio button group at a time."),
- notes: '',
- exampleCodeSnippet: "\n \n \n \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'id',
- type: 'string'
- }, {
- propType: 'className',
- type: 'string'
- }, {
- propType: 'name',
- type: 'string',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 69
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("strong", {
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 70
- },
- __self: this
- }, "Required."), " All Radio buttons within this group will have the same name")
- }, {
- propType: 'value',
- type: 'string',
- note: 'value of the selected radio button, should be one of children values'
- }, {
- propType: 'children',
- type: 'arrayOf elements',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("strong", {
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 82
- },
- __self: this
- }, "Required.")
- }, {
- propType: 'onChange',
- type: 'func',
- note: 'Triggers when selection changes.'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }, {
- propType: 'inline',
- type: 'bool',
- note: 'Passing to each Radio component.'
- }]
- }]
-};
-/* harmony default export */ var examples_RadioGroupExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, RadioGroupExample_exampleProps, {
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 105
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(RadioGroupExample_RadioGroupExample, {
- __source: {
- fileName: RadioGroupExample__jsxFileName,
- lineNumber: 106
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/SelectExample.jsx
-var SelectExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/SelectExample.jsx";
-
-function SelectExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SelectExample__typeof = function _typeof(obj) { return typeof obj; }; } else { SelectExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SelectExample__typeof(obj); }
-
-function SelectExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function SelectExample__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 SelectExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) SelectExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) SelectExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function SelectExample__possibleConstructorReturn(self, call) { if (call && (SelectExample__typeof(call) === "object" || typeof call === "function")) { return call; } return SelectExample__assertThisInitialized(self); }
-
-function SelectExample__getPrototypeOf(o) { SelectExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SelectExample__getPrototypeOf(o); }
-
-function SelectExample__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) SelectExample__setPrototypeOf(subClass, superClass); }
-
-function SelectExample__setPrototypeOf(o, p) { SelectExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SelectExample__setPrototypeOf(o, p); }
-
-function SelectExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var SelectExample_SelectExample =
-/*#__PURE__*/
-function (_React$Component) {
- SelectExample__inherits(SelectExample, _React$Component);
-
- function SelectExample() {
- var _this;
-
- SelectExample__classCallCheck(this, SelectExample);
-
- _this = SelectExample__possibleConstructorReturn(this, SelectExample__getPrototypeOf(SelectExample).call(this));
- _this.state = {
- selected: ''
- };
- _this.onChangeHandler = _this.onChangeHandler.bind(SelectExample__assertThisInitialized(SelectExample__assertThisInitialized(_this)));
- return _this;
- }
-
- SelectExample__createClass(SelectExample, [{
- key: "onChangeHandler",
- value: function onChangeHandler(value) {
- this.setState({
- selected: value
- });
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Select"], {
- clearable: false,
- name: "countriesSelect",
- noResultsText: "Sorry, couldn't find that country.",
- options: [{
- value: 'au',
- label: 'Australia'
- }, {
- value: 'ca',
- label: 'Canada'
- }, {
- value: 'jp',
- label: 'Japan',
- disabled: true
- }, {
- value: 'uk',
- label: 'United Kingdom'
- }],
- placeholder: "Countries",
- value: this.state.selected,
- onChange: this.onChangeHandler,
- __source: {
- fileName: SelectExample__jsxFileName,
- lineNumber: 18
- },
- __self: this
- });
- }
- }]);
-
- return SelectExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var SelectExample_exampleProps = {
- componentName: 'Select',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: SelectExample__jsxFileName,
- lineNumber: 39
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: SelectExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }, "Select"), " When a single selection from more than 3 options is required the select drop down should be used."),
- notes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: SelectExample__jsxFileName,
- lineNumber: 45
- },
- __self: this
- }, "See ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "https://github.com/JedWatson/react-select",
- __source: {
- fileName: SelectExample__jsxFileName,
- lineNumber: 46
- },
- __self: this
- }, "React Select Documentation")),
- exampleCodeSnippet: " ",
- propTypeSectionArray: []
-};
-/* harmony default export */ var examples_SelectExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, SelectExample_exampleProps, {
- __source: {
- fileName: SelectExample__jsxFileName,
- lineNumber: 67
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SelectExample_SelectExample, {
- __source: {
- fileName: SelectExample__jsxFileName,
- lineNumber: 68
- },
- __self: this
- }));
-});
-// EXTERNAL MODULE: external {"root":"moment","commonjs2":"moment","commonjs":"moment","amd":"moment"}
-var external___root___moment___commonjs2___moment___commonjs___moment___amd___moment__ = __webpack_require__(132);
-var external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default = /*#__PURE__*/__webpack_require__.n(external___root___moment___commonjs2___moment___commonjs___moment___amd___moment__);
-
-// CONCATENATED MODULE: ../docs/examples/DatePickerExample.jsx
-var DatePickerExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/DatePickerExample.jsx";
-
-function DatePickerExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { DatePickerExample__typeof = function _typeof(obj) { return typeof obj; }; } else { DatePickerExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return DatePickerExample__typeof(obj); }
-
-function DatePickerExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function DatePickerExample__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 DatePickerExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) DatePickerExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) DatePickerExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function DatePickerExample__possibleConstructorReturn(self, call) { if (call && (DatePickerExample__typeof(call) === "object" || typeof call === "function")) { return call; } return DatePickerExample__assertThisInitialized(self); }
-
-function DatePickerExample__getPrototypeOf(o) { DatePickerExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return DatePickerExample__getPrototypeOf(o); }
-
-function DatePickerExample__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) DatePickerExample__setPrototypeOf(subClass, superClass); }
-
-function DatePickerExample__setPrototypeOf(o, p) { DatePickerExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return DatePickerExample__setPrototypeOf(o, p); }
-
-function DatePickerExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-var DatePickerExample_DatePickerExample =
-/*#__PURE__*/
-function (_React$Component) {
- DatePickerExample__inherits(DatePickerExample, _React$Component);
-
- function DatePickerExample() {
- var _this;
-
- DatePickerExample__classCallCheck(this, DatePickerExample);
-
- _this = DatePickerExample__possibleConstructorReturn(this, DatePickerExample__getPrototypeOf(DatePickerExample).call(this));
- _this.state = {
- startDate: external___root___moment___commonjs2___moment___commonjs___moment___amd___moment___default()()
- };
- _this.setSelectedDate = _this.setSelectedDate.bind(DatePickerExample__assertThisInitialized(DatePickerExample__assertThisInitialized(_this)));
- return _this;
- }
-
- DatePickerExample__createClass(DatePickerExample, [{
- key: "setSelectedDate",
- value: function setSelectedDate(newValue) {
- this.setState({
- startDate: newValue
- });
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["DatePicker"], {
- className: "form-control",
- dateFormat: "DD MMM YYYY",
- selected: this.state.startDate,
- onChange: this.setSelectedDate,
- placeholderText: "Date e.g. 03 Sep 2016",
- __source: {
- fileName: DatePickerExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- });
- }
- }]);
-
- return DatePickerExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var DatePickerExample_exampleProps = {
- componentName: 'DatePicker',
- notes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: DatePickerExample__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: DatePickerExample__jsxFileName,
- lineNumber: 34
- },
- __self: this
- }, "See ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "https://github.com/Hacker0x01/react-datepicker",
- __source: {
- fileName: DatePickerExample__jsxFileName,
- lineNumber: 35
- },
- __self: this
- }, "React DatePicker Documentation"), "."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: DatePickerExample__jsxFileName,
- lineNumber: 37
- },
- __self: this
- }, "For a Date Range Picker, use two Date Pickers with ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: DatePickerExample__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }, "minDate"), " and ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: DatePickerExample__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }, "maxDate"), " props for validation.")),
- exampleCodeSnippet: "\n ",
- propTypeSectionArray: []
-};
-/* harmony default export */ var examples_DatePickerExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, DatePickerExample_exampleProps, {
- __source: {
- fileName: DatePickerExample__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(DatePickerExample_DatePickerExample, {
- __source: {
- fileName: DatePickerExample__jsxFileName,
- lineNumber: 56
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/BorderedWellExample.jsx
-var BorderedWellExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/BorderedWellExample.jsx";
-
-function BorderedWellExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { BorderedWellExample__typeof = function _typeof(obj) { return typeof obj; }; } else { BorderedWellExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return BorderedWellExample__typeof(obj); }
-
-function BorderedWellExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function BorderedWellExample__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 BorderedWellExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) BorderedWellExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) BorderedWellExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function BorderedWellExample__possibleConstructorReturn(self, call) { if (call && (BorderedWellExample__typeof(call) === "object" || typeof call === "function")) { return call; } return BorderedWellExample__assertThisInitialized(self); }
-
-function BorderedWellExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function BorderedWellExample__getPrototypeOf(o) { BorderedWellExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return BorderedWellExample__getPrototypeOf(o); }
-
-function BorderedWellExample__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) BorderedWellExample__setPrototypeOf(subClass, superClass); }
-
-function BorderedWellExample__setPrototypeOf(o, p) { BorderedWellExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return BorderedWellExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var BorderedWellExample_BorderedWellExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- BorderedWellExample__inherits(BorderedWellExample, _React$PureComponent);
-
- function BorderedWellExample() {
- BorderedWellExample__classCallCheck(this, BorderedWellExample);
-
- return BorderedWellExample__possibleConstructorReturn(this, BorderedWellExample__getPrototypeOf(BorderedWellExample).apply(this, arguments));
- }
-
- BorderedWellExample__createClass(BorderedWellExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["BorderedWell"], {
- __source: {
- fileName: BorderedWellExample__jsxFileName,
- lineNumber: 7
- },
- __self: this
- }, "Content body.");
- }
- }]);
-
- return BorderedWellExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var BorderedWellExample_exampleProps = {
- componentName: 'BorderedWell',
- exampleCodeSnippet: 'Content body. ',
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'children',
- type: 'node'
- }]
- }]
-};
-/* harmony default export */ var examples_BorderedWellExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, BorderedWellExample_exampleProps, {
- __source: {
- fileName: BorderedWellExample__jsxFileName,
- lineNumber: 27
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(BorderedWellExample_BorderedWellExample, {
- __source: {
- fileName: BorderedWellExample__jsxFileName,
- lineNumber: 28
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/CardExample.jsx
-var CardExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/CardExample.jsx";
-
-function CardExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { CardExample__typeof = function _typeof(obj) { return typeof obj; }; } else { CardExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return CardExample__typeof(obj); }
-
-function CardExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function CardExample__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 CardExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) CardExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) CardExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function CardExample__possibleConstructorReturn(self, call) { if (call && (CardExample__typeof(call) === "object" || typeof call === "function")) { return call; } return CardExample__assertThisInitialized(self); }
-
-function CardExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function CardExample__getPrototypeOf(o) { CardExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return CardExample__getPrototypeOf(o); }
-
-function CardExample__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) CardExample__setPrototypeOf(subClass, superClass); }
-
-function CardExample__setPrototypeOf(o, p) { CardExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return CardExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var CardExample_CardExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- CardExample__inherits(CardExample, _React$PureComponent);
-
- function CardExample() {
- CardExample__classCallCheck(this, CardExample);
-
- return CardExample__possibleConstructorReturn(this, CardExample__getPrototypeOf(CardExample).apply(this, arguments));
- }
-
- CardExample__createClass(CardExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Card"].Container, {
- __source: {
- fileName: CardExample__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Card"].Content, {
- __source: {
- fileName: CardExample__jsxFileName,
- lineNumber: 9
- },
- __self: this
- }, "Card body."));
- }
- }]);
-
- return CardExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var CardExample_exampleProps = {
- componentName: 'Card',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: CardExample__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }, "Cards are used as a visual list which usually contain a logo or icon to assist the user in with discovery."),
- exampleCodeSnippet: "\n \n Card body. \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'children',
- type: 'arrayOf '
- }, {
- propType: 'className',
- type: 'string'
- }, {
- propType: 'accent',
- type: 'string'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }]
- }]
-};
-/* harmony default export */ var examples_CardExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, CardExample_exampleProps, {
- __source: {
- fileName: CardExample__jsxFileName,
- lineNumber: 50
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(CardExample_CardExample, {
- __source: {
- fileName: CardExample__jsxFileName,
- lineNumber: 51
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/FlexibleSpacerExample.jsx
-var FlexibleSpacerExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/FlexibleSpacerExample.jsx";
-
-function FlexibleSpacerExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { FlexibleSpacerExample__typeof = function _typeof(obj) { return typeof obj; }; } else { FlexibleSpacerExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return FlexibleSpacerExample__typeof(obj); }
-
-function FlexibleSpacerExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function FlexibleSpacerExample__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 FlexibleSpacerExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) FlexibleSpacerExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) FlexibleSpacerExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function FlexibleSpacerExample__possibleConstructorReturn(self, call) { if (call && (FlexibleSpacerExample__typeof(call) === "object" || typeof call === "function")) { return call; } return FlexibleSpacerExample__assertThisInitialized(self); }
-
-function FlexibleSpacerExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function FlexibleSpacerExample__getPrototypeOf(o) { FlexibleSpacerExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return FlexibleSpacerExample__getPrototypeOf(o); }
-
-function FlexibleSpacerExample__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) FlexibleSpacerExample__setPrototypeOf(subClass, superClass); }
-
-function FlexibleSpacerExample__setPrototypeOf(o, p) { FlexibleSpacerExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return FlexibleSpacerExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var FlexibleSpacerExample_FlexibleSpacerExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- FlexibleSpacerExample__inherits(FlexibleSpacerExample, _React$PureComponent);
-
- function FlexibleSpacerExample() {
- FlexibleSpacerExample__classCallCheck(this, FlexibleSpacerExample);
-
- return FlexibleSpacerExample__possibleConstructorReturn(this, FlexibleSpacerExample__getPrototypeOf(FlexibleSpacerExample).apply(this, arguments));
- }
-
- FlexibleSpacerExample__createClass(FlexibleSpacerExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["FlexibleSpacer"], {
- __source: {
- fileName: FlexibleSpacerExample__jsxFileName,
- lineNumber: 7
- },
- __self: this
- });
- }
- }]);
-
- return FlexibleSpacerExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var FlexibleSpacerExample_exampleProps = {
- componentName: 'Flexible Spacer',
- notes: 'Used to fill a flex container with empty space.',
- exampleCodeSnippet: ' ',
- propTypeSectionArray: []
-};
-/* harmony default export */ var examples_FlexibleSpacerExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, FlexibleSpacerExample_exampleProps, {
- __source: {
- fileName: FlexibleSpacerExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(FlexibleSpacerExample_FlexibleSpacerExample, {
- __source: {
- fileName: FlexibleSpacerExample__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/PageTitleExample.jsx
-var PageTitleExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/PageTitleExample.jsx";
-
-function PageTitleExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { PageTitleExample__typeof = function _typeof(obj) { return typeof obj; }; } else { PageTitleExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return PageTitleExample__typeof(obj); }
-
-function PageTitleExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function PageTitleExample__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 PageTitleExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) PageTitleExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) PageTitleExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function PageTitleExample__possibleConstructorReturn(self, call) { if (call && (PageTitleExample__typeof(call) === "object" || typeof call === "function")) { return call; } return PageTitleExample__assertThisInitialized(self); }
-
-function PageTitleExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function PageTitleExample__getPrototypeOf(o) { PageTitleExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return PageTitleExample__getPrototypeOf(o); }
-
-function PageTitleExample__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) PageTitleExample__setPrototypeOf(subClass, superClass); }
-
-function PageTitleExample__setPrototypeOf(o, p) { PageTitleExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return PageTitleExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var PageTitleExample_PageTitleExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- PageTitleExample__inherits(PageTitleExample, _React$PureComponent);
-
- function PageTitleExample() {
- PageTitleExample__classCallCheck(this, PageTitleExample);
-
- return PageTitleExample__possibleConstructorReturn(this, PageTitleExample__getPrototypeOf(PageTitleExample).apply(this, arguments));
- }
-
- PageTitleExample__createClass(PageTitleExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Campaign 12345: Adslot",
- __source: {
- fileName: PageTitleExample__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("small", {
- __source: {
- fileName: PageTitleExample__jsxFileName,
- lineNumber: 9
- },
- __self: this
- }, "Version 5"));
- }
- }]);
-
- return PageTitleExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var PageTitleExample_exampleProps = {
- componentName: 'PageTitle',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: PageTitleExample__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: PageTitleExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- }, "Title are commonly used to ensure the user knows which section they have entered within the application."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: PageTitleExample__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: PageTitleExample__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, "Example:"), " Page Title 18px Roboto 300.")),
- exampleCodeSnippet: 'Version 5 ',
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'title',
- type: 'string'
- }, {
- propType: 'children',
- type: 'node'
- }, {
- propType: 'isFooter',
- type: 'bool',
- defaultValue: 'false'
- }]
- }]
-};
-/* harmony default export */ var examples_PageTitleExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, PageTitleExample_exampleProps, {
- __source: {
- fileName: PageTitleExample__jsxFileName,
- lineNumber: 48
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(PageTitleExample_PageTitleExample, {
- __source: {
- fileName: PageTitleExample__jsxFileName,
- lineNumber: 49
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/SliceyExample.jsx
-var SliceyExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/SliceyExample.jsx";
-
-function SliceyExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SliceyExample__typeof = function _typeof(obj) { return typeof obj; }; } else { SliceyExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SliceyExample__typeof(obj); }
-
-function SliceyExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function SliceyExample__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 SliceyExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) SliceyExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) SliceyExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function SliceyExample__possibleConstructorReturn(self, call) { if (call && (SliceyExample__typeof(call) === "object" || typeof call === "function")) { return call; } return SliceyExample__assertThisInitialized(self); }
-
-function SliceyExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function SliceyExample__getPrototypeOf(o) { SliceyExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SliceyExample__getPrototypeOf(o); }
-
-function SliceyExample__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) SliceyExample__setPrototypeOf(subClass, superClass); }
-
-function SliceyExample__setPrototypeOf(o, p) { SliceyExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SliceyExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var SliceyExample_SliceyExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- SliceyExample__inherits(SliceyExample, _React$PureComponent);
-
- function SliceyExample() {
- SliceyExample__classCallCheck(this, SliceyExample);
-
- return SliceyExample__possibleConstructorReturn(this, SliceyExample__getPrototypeOf(SliceyExample).apply(this, arguments));
- }
-
- SliceyExample__createClass(SliceyExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Slicey"], {
- dataset: [{
- label: 'info',
- value: 35
- }, {
- label: 'positive',
- value: 123
- }, {
- label: 'negative',
- value: 15
- }],
- diameter: 100,
- __source: {
- fileName: SliceyExample__jsxFileName,
- lineNumber: 8
- },
- __self: this
- });
- }
- }]);
-
- return SliceyExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var SliceyExample_exampleProps = {
- componentName: 'Slicey',
- exampleCodeSnippet: "\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'dataset',
- type: 'arrayOf {string: label, number: value}',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: SliceyExample__jsxFileName,
- lineNumber: 34
- },
- __self: this
- }, "Slicey will represent all values as percentage of the pie based on the sum of all values. Label will provide a className to each slice as ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: SliceyExample__jsxFileName,
- lineNumber: 36
- },
- __self: this
- }, ".arc-component-", '${label}'), ".")
- }, {
- propType: 'diameter',
- type: 'number',
- defaultValue: '100'
- }, {
- propType: 'marker',
- type: 'number',
- note: 'Add a line across the radius at a set fraction of the whole e.g. .25 for ¼.'
- }, {
- propType: 'donut',
- type: 'bool',
- note: 'Set to true if you wish the pie chart to have a hollow hole in the centre, like a donut :9'
- }]
- }]
-};
-/* harmony default export */ var examples_SliceyExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, SliceyExample_exampleProps, {
- __source: {
- fileName: SliceyExample__jsxFileName,
- lineNumber: 61
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SliceyExample_SliceyExample, {
- __source: {
- fileName: SliceyExample__jsxFileName,
- lineNumber: 62
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/StatisticExample.jsx
-var StatisticExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/StatisticExample.jsx";
-
-function StatisticExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { StatisticExample__typeof = function _typeof(obj) { return typeof obj; }; } else { StatisticExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return StatisticExample__typeof(obj); }
-
-function StatisticExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function StatisticExample__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 StatisticExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) StatisticExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) StatisticExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function StatisticExample__possibleConstructorReturn(self, call) { if (call && (StatisticExample__typeof(call) === "object" || typeof call === "function")) { return call; } return StatisticExample__assertThisInitialized(self); }
-
-function StatisticExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function StatisticExample__getPrototypeOf(o) { StatisticExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return StatisticExample__getPrototypeOf(o); }
-
-function StatisticExample__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) StatisticExample__setPrototypeOf(subClass, superClass); }
-
-function StatisticExample__setPrototypeOf(o, p) { StatisticExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return StatisticExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var StatisticExample_StatisticExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- StatisticExample__inherits(StatisticExample, _React$PureComponent);
-
- function StatisticExample() {
- StatisticExample__classCallCheck(this, StatisticExample);
-
- return StatisticExample__possibleConstructorReturn(this, StatisticExample__getPrototypeOf(StatisticExample).apply(this, arguments));
- }
-
- StatisticExample__createClass(StatisticExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Statistic"], {
- value: "50 Million",
- label: "Page Views",
- __source: {
- fileName: StatisticExample__jsxFileName,
- lineNumber: 7
- },
- __self: this
- });
- }
- }]);
-
- return StatisticExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var StatisticExample_exampleProps = {
- componentName: 'Statistic',
- notes: 'Used for metadata stats and pricing information.',
- exampleCodeSnippet: ' ',
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'inline',
- type: 'boolean',
- note: 'Horizontal layout as opposed to stacked.',
- defaultValue: 'false'
- }, {
- propType: 'label',
- type: 'string',
- note: 'Preferred TitleCase (aka. PascalCase, StartCase)'
- }, {
- propType: 'value',
- type: 'string',
- note: "Where value is a number consider human readable strings e.g 'Million' instead of 000,000."
- }]
- }]
-};
-/* harmony default export */ var examples_StatisticExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, StatisticExample_exampleProps, {
- __source: {
- fileName: StatisticExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(StatisticExample_StatisticExample, {
- __source: {
- fileName: StatisticExample__jsxFileName,
- lineNumber: 41
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/StatusPillExample.jsx
-var StatusPillExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/StatusPillExample.jsx";
-
-function StatusPillExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { StatusPillExample__typeof = function _typeof(obj) { return typeof obj; }; } else { StatusPillExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return StatusPillExample__typeof(obj); }
-
-function StatusPillExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function StatusPillExample__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 StatusPillExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) StatusPillExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) StatusPillExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function StatusPillExample__possibleConstructorReturn(self, call) { if (call && (StatusPillExample__typeof(call) === "object" || typeof call === "function")) { return call; } return StatusPillExample__assertThisInitialized(self); }
-
-function StatusPillExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function StatusPillExample__getPrototypeOf(o) { StatusPillExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return StatusPillExample__getPrototypeOf(o); }
-
-function StatusPillExample__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) StatusPillExample__setPrototypeOf(subClass, superClass); }
-
-function StatusPillExample__setPrototypeOf(o, p) { StatusPillExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return StatusPillExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var StatusPillExample_StatusPillExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- StatusPillExample__inherits(StatusPillExample, _React$PureComponent);
-
- function StatusPillExample() {
- StatusPillExample__classCallCheck(this, StatusPillExample);
-
- return StatusPillExample__possibleConstructorReturn(this, StatusPillExample__getPrototypeOf(StatusPillExample).apply(this, arguments));
- }
-
- StatusPillExample__createClass(StatusPillExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Fragment, null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 9
- },
- __self: this
- }, "Status pills"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 10
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["StatusPill"], {
- status: "Primary",
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 11
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["StatusPill"], {
- status: "Success",
- displayStyle: "success",
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 12
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["StatusPill"], {
- status: "Warning",
- displayStyle: "warning",
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 13
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["StatusPill"], {
- status: "Error",
- displayStyle: "error",
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["StatusPill"], {
- status: "Light",
- displayStyle: "light",
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 15
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }, "Inverse status pills"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["StatusPill"], {
- status: "Primary",
- inverse: true,
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["StatusPill"], {
- status: "Success",
- displayStyle: "success",
- inverse: true,
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["StatusPill"], {
- status: "Warning",
- displayStyle: "warning",
- inverse: true,
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["StatusPill"], {
- status: "Error",
- displayStyle: "error",
- inverse: true,
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["StatusPill"], {
- status: "Light",
- displayStyle: "light",
- inverse: true,
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 24
- },
- __self: this
- })));
- }
- }]);
-
- return StatusPillExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var StatusPillExample_exampleProps = {
- componentName: 'Status Pill',
- notes: '',
- exampleCodeSnippet: "\n Status pills \n \n \n \n \n \n\n\n Inverse status pills \n \n \n \n \n \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'status',
- type: 'string',
- note: 'Text inside status pill'
- }, {
- propType: 'displayStyle',
- type: 'string',
- note: 'one of ["primary", "success", "warning", "error", "light"]',
- defaultValue: 'primary'
- }, {
- propType: 'inverse',
- type: 'boolean',
- note: 'Status pill with inverse style',
- defaultValue: 'false'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'Generate "data-test-selector" on the status pill'
- }]
- }]
-};
-/* harmony default export */ var examples_StatusPillExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, StatusPillExample_exampleProps, {
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 81
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(StatusPillExample_StatusPillExample, {
- __source: {
- fileName: StatusPillExample__jsxFileName,
- lineNumber: 82
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/TagExample.jsx
-var TagExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/TagExample.jsx";
-
-function TagExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { TagExample__typeof = function _typeof(obj) { return typeof obj; }; } else { TagExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return TagExample__typeof(obj); }
-
-function TagExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function TagExample__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 TagExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) TagExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) TagExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function TagExample__possibleConstructorReturn(self, call) { if (call && (TagExample__typeof(call) === "object" || typeof call === "function")) { return call; } return TagExample__assertThisInitialized(self); }
-
-function TagExample__getPrototypeOf(o) { TagExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return TagExample__getPrototypeOf(o); }
-
-function TagExample__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) TagExample__setPrototypeOf(subClass, superClass); }
-
-function TagExample__setPrototypeOf(o, p) { TagExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return TagExample__setPrototypeOf(o, p); }
-
-function TagExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var TagExample_initialState = {
- tags: [{
- text: 'Display',
- accent: 'positive',
- id: '0ac7d4ce-af36-4fd9-b142-6377f8ad5f17',
- actionIconSvgHref: './docs/assets/svg-symbols.svg#cancel'
- }, {
- text: 'Mobile',
- accent: 'pending',
- id: '5a884b04-223b-49d9-91d4-7abf10ea608f',
- actionIconSvgHref: './docs/assets/svg-symbols.svg#cancel'
- }, {
- text: 'Run of Network',
- accent: 'negative',
- id: '87ecaf18-bf7f-472e-86e6-c91dd2700b78',
- actionIconSvgHref: './docs/assets/svg-symbols.svg#cancel'
- }]
-};
-
-var TagExample_TagExample =
-/*#__PURE__*/
-function (_React$Component) {
- TagExample__inherits(TagExample, _React$Component);
-
- function TagExample() {
- var _this;
-
- TagExample__classCallCheck(this, TagExample);
-
- _this = TagExample__possibleConstructorReturn(this, TagExample__getPrototypeOf(TagExample).call(this));
- _this.state = TagExample_initialState;
- _this.resetTags = _this.resetTags.bind(TagExample__assertThisInitialized(TagExample__assertThisInitialized(_this)));
- _this.deleteTag = _this.deleteTag.bind(TagExample__assertThisInitialized(TagExample__assertThisInitialized(_this)));
- return _this;
- }
-
- TagExample__createClass(TagExample, [{
- key: "resetTags",
- value: function resetTags() {
- this.setState(TagExample_initialState);
- }
- }, {
- key: "deleteTag",
- value: function deleteTag(tagIdToDelete) {
- this.setState({
- tags: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.reject(this.state.tags, function (tag) {
- return tag.id === tagIdToDelete;
- })
- });
- }
- }, {
- key: "render",
- value: function render() {
- var _this2 = this;
-
- if (external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(this.state.tags)) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- className: "btn-inverse",
- onClick: this.resetTags,
- __source: {
- fileName: TagExample__jsxFileName,
- lineNumber: 50
- },
- __self: this
- }, "Reset tag example");
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: TagExample__jsxFileName,
- lineNumber: 57
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(this.state.tags, function (tag) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Tag"], {
- key: tag.id,
- id: tag.id,
- accent: tag.accent,
- baseClass: tag.baseClass,
- onAction: _this2.deleteTag,
- inverse: true,
- actionIconSvgHref: tag.actionIconSvgHref,
- __source: {
- fileName: TagExample__jsxFileName,
- lineNumber: 59
- },
- __self: this
- }, tag.text);
- }));
- }
- }]);
-
- return TagExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var TagExample_exampleProps = {
- componentName: 'Tag',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: TagExample__jsxFileName,
- lineNumber: 79
- },
- __self: this
- }, "Tags most commonly used to list selected filters, a multiple select drop down displaying the selected pill within the input field."),
- exampleCodeSnippet: "\n \n Display\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'children',
- type: 'node'
- }, {
- propType: 'id',
- type: 'string',
- defaultValue: 'default'
- }, {
- propType: 'accent',
- type: 'string'
- }, {
- propType: 'baseClass',
- type: 'string',
- defaultValue: 'tag-component'
- }, {
- propType: 'inverse',
- type: 'boolean'
- }, {
- propType: 'onAction',
- type: 'func'
- }, {
- propType: 'actionIconSvgHref',
- type: 'string'
- }]
- }]
-};
-/* harmony default export */ var examples_TagExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, TagExample_exampleProps, {
- __source: {
- fileName: TagExample__jsxFileName,
- lineNumber: 133
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TagExample_TagExample, {
- __source: {
- fileName: TagExample__jsxFileName,
- lineNumber: 134
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/TotalsExample.jsx
-var TotalsExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/TotalsExample.jsx";
-
-function TotalsExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { TotalsExample__typeof = function _typeof(obj) { return typeof obj; }; } else { TotalsExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return TotalsExample__typeof(obj); }
-
-function TotalsExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function TotalsExample__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 TotalsExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) TotalsExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) TotalsExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function TotalsExample__possibleConstructorReturn(self, call) { if (call && (TotalsExample__typeof(call) === "object" || typeof call === "function")) { return call; } return TotalsExample__assertThisInitialized(self); }
-
-function TotalsExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function TotalsExample__getPrototypeOf(o) { TotalsExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return TotalsExample__getPrototypeOf(o); }
-
-function TotalsExample__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) TotalsExample__setPrototypeOf(subClass, superClass); }
-
-function TotalsExample__setPrototypeOf(o, p) { TotalsExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return TotalsExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var TotalsExample_TotalsExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- TotalsExample__inherits(TotalsExample, _React$PureComponent);
-
- function TotalsExample() {
- TotalsExample__classCallCheck(this, TotalsExample);
-
- return TotalsExample__possibleConstructorReturn(this, TotalsExample__getPrototypeOf(TotalsExample).apply(this, arguments));
- }
-
- TotalsExample__createClass(TotalsExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Totals"], {
- toSum: [{
- value: 10,
- isHidden: true
- }, {
- label: 'Movies Category - Medium Rectangle',
- value: 1000
- }, {
- label: 'Selected',
- value: 36.8
- }],
- __source: {
- fileName: TotalsExample__jsxFileName,
- lineNumber: 8
- },
- __self: this
- });
- }
- }]);
-
- return TotalsExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var TotalsExample_exampleProps = {
- componentName: 'Totals',
- exampleCodeSnippet: "\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'toSum',
- type: 'arrayOf {number: value, string: label, boolean: isHidden}',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: TotalsExample__jsxFileName,
- lineNumber: 35
- },
- __self: this
- }, "[]")
- }, {
- propType: 'valueFormatter',
- type: 'func',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: TotalsExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }, "(value) => `$value`")
- }]
- }]
-};
-/* harmony default export */ var examples_TotalsExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, TotalsExample_exampleProps, {
- __source: {
- fileName: TotalsExample__jsxFileName,
- lineNumber: 48
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TotalsExample_TotalsExample, {
- __source: {
- fileName: TotalsExample__jsxFileName,
- lineNumber: 49
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/AvatarExample.jsx
-var AvatarExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/AvatarExample.jsx";
-
-function AvatarExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { AvatarExample__typeof = function _typeof(obj) { return typeof obj; }; } else { AvatarExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return AvatarExample__typeof(obj); }
-
-function AvatarExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function AvatarExample__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 AvatarExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) AvatarExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) AvatarExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function AvatarExample__possibleConstructorReturn(self, call) { if (call && (AvatarExample__typeof(call) === "object" || typeof call === "function")) { return call; } return AvatarExample__assertThisInitialized(self); }
-
-function AvatarExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function AvatarExample__getPrototypeOf(o) { AvatarExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return AvatarExample__getPrototypeOf(o); }
-
-function AvatarExample__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) AvatarExample__setPrototypeOf(subClass, superClass); }
-
-function AvatarExample__setPrototypeOf(o, p) { AvatarExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return AvatarExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var AvatarExample_AvatarExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- AvatarExample__inherits(AvatarExample, _React$PureComponent);
-
- function AvatarExample() {
- AvatarExample__classCallCheck(this, AvatarExample);
-
- return AvatarExample__possibleConstructorReturn(this, AvatarExample__getPrototypeOf(AvatarExample).apply(this, arguments));
- }
-
- AvatarExample__createClass(AvatarExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Avatar"], {
- givenName: "John",
- surname: "Smith",
- __source: {
- fileName: AvatarExample__jsxFileName,
- lineNumber: 7
- },
- __self: this
- });
- }
- }]);
-
- return AvatarExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var AvatarExample_exampleProps = {
- componentName: 'Avatar',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: AvatarExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: AvatarExample__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, "Avatars are used to personalise the user\u2019s experience allowing each buyer and seller feel they are collaborating with an actual person."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: AvatarExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: AvatarExample__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, "Example:"), " Profile area, Inbox and User section.")),
- exampleCodeSnippet: ' ',
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'color',
- type: 'string'
- }, {
- propType: 'givenName',
- type: 'string'
- }, {
- propType: 'tooltip',
- type: 'string'
- }, {
- propType: 'surname',
- type: 'string'
- }, {
- propType: 'image',
- type: 'string',
- note: 'URL to image source (e.g. Gravatar).'
- }]
- }]
-};
-/* harmony default export */ var examples_AvatarExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, AvatarExample_exampleProps, {
- __source: {
- fileName: AvatarExample__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(AvatarExample_AvatarExample, {
- __source: {
- fileName: AvatarExample__jsxFileName,
- lineNumber: 56
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/BreadcrumbExample.jsx
-var BreadcrumbExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/BreadcrumbExample.jsx";
-
-function BreadcrumbExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { BreadcrumbExample__typeof = function _typeof(obj) { return typeof obj; }; } else { BreadcrumbExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return BreadcrumbExample__typeof(obj); }
-
-function BreadcrumbExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function BreadcrumbExample__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 BreadcrumbExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) BreadcrumbExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) BreadcrumbExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function BreadcrumbExample__possibleConstructorReturn(self, call) { if (call && (BreadcrumbExample__typeof(call) === "object" || typeof call === "function")) { return call; } return BreadcrumbExample__assertThisInitialized(self); }
-
-function BreadcrumbExample__getPrototypeOf(o) { BreadcrumbExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return BreadcrumbExample__getPrototypeOf(o); }
-
-function BreadcrumbExample__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) BreadcrumbExample__setPrototypeOf(subClass, superClass); }
-
-function BreadcrumbExample__setPrototypeOf(o, p) { BreadcrumbExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return BreadcrumbExample__setPrototypeOf(o, p); }
-
-function BreadcrumbExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var BreadcrumbExample_initialState = {
- breadcrumbNodes: [{
- id: 'db4e2cda-ffad-4763-a016-03619ccfd7c2',
- label: 'Australia'
- }, {
- id: 'b1b8222c-172b-46f6-bc91-5b92ea9adcd5',
- label: 'Victoria'
- }, {
- id: '9398d812-9e01-4a8b-9d3e-bc946218070b',
- label: 'Melbourne'
- }]
-};
-
-var BreadcrumbExample_BreadcrumbExample =
-/*#__PURE__*/
-function (_React$Component) {
- BreadcrumbExample__inherits(BreadcrumbExample, _React$Component);
-
- function BreadcrumbExample() {
- var _this;
-
- BreadcrumbExample__classCallCheck(this, BreadcrumbExample);
-
- _this = BreadcrumbExample__possibleConstructorReturn(this, BreadcrumbExample__getPrototypeOf(BreadcrumbExample).call(this));
- _this.state = BreadcrumbExample_initialState;
- _this.onClickHandler = _this.onClickHandler.bind(BreadcrumbExample__assertThisInitialized(BreadcrumbExample__assertThisInitialized(_this)));
- _this.resetState = _this.resetState.bind(BreadcrumbExample__assertThisInitialized(BreadcrumbExample__assertThisInitialized(_this)));
- return _this;
- }
-
- BreadcrumbExample__createClass(BreadcrumbExample, [{
- key: "onClickHandler",
- value: function onClickHandler(nodeId) {
- if (nodeId === 'all') this.navigateToRootNode();else this.navigateToNode(nodeId);
- }
- }, {
- key: "navigateToRootNode",
- value: function navigateToRootNode() {
- this.setState({
- breadcrumbNodes: []
- });
- }
- }, {
- key: "resetState",
- value: function resetState() {
- this.setState(BreadcrumbExample_initialState);
- }
- }, {
- key: "navigateToNode",
- value: function navigateToNode(nodeId) {
- var nodeIndex = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.findIndex(this.state.breadcrumbNodes, {
- id: nodeId
- });
-
- this.setState({
- breadcrumbNodes: [].concat(this.state.breadcrumbNodes.slice(0, nodeIndex + 1))
- });
- }
- }, {
- key: "render",
- value: function render() {
- if (external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.isEmpty(this.state.breadcrumbNodes)) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- className: "btn-inverse",
- onClick: this.resetState,
- __source: {
- fileName: BreadcrumbExample__jsxFileName,
- lineNumber: 45
- },
- __self: this
- }, "Reset breadcrumb example");
- }
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Breadcrumb"], {
- nodes: this.state.breadcrumbNodes,
- onClick: this.onClickHandler,
- __source: {
- fileName: BreadcrumbExample__jsxFileName,
- lineNumber: 50
- },
- __self: this
- });
- }
- }]);
-
- return BreadcrumbExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var BreadcrumbExample_exampleProps = {
- componentName: 'Breadcrumb',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: BreadcrumbExample__jsxFileName,
- lineNumber: 57
- },
- __self: this
- }, "Bread crumbs allow the user to return to the previous or parent folder. Currently used in deep nested content within our ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#tree-picker-example",
- __source: {
- fileName: BreadcrumbExample__jsxFileName,
- lineNumber: 59
- },
- __self: this
- }, "Tree Pickers"), "."),
- exampleCodeSnippet: "\n \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'nodes',
- type: 'arrayOf { string: id, string: label }'
- }, {
- propType: 'onClick',
- type: 'func',
- note: 'onClick(nodeId)'
- }, {
- propType: 'disabled',
- type: 'bool',
- defaultValue: 'false'
- }]
- }]
-};
-/* harmony default export */ var examples_BreadcrumbExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, BreadcrumbExample_exampleProps, {
- __source: {
- fileName: BreadcrumbExample__jsxFileName,
- lineNumber: 91
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(BreadcrumbExample_BreadcrumbExample, {
- __source: {
- fileName: BreadcrumbExample__jsxFileName,
- lineNumber: 92
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/TabExample.jsx
-var TabExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/TabExample.jsx";
-
-function TabExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { TabExample__typeof = function _typeof(obj) { return typeof obj; }; } else { TabExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return TabExample__typeof(obj); }
-
-function TabExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function TabExample__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 TabExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) TabExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) TabExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function TabExample__possibleConstructorReturn(self, call) { if (call && (TabExample__typeof(call) === "object" || typeof call === "function")) { return call; } return TabExample__assertThisInitialized(self); }
-
-function TabExample__getPrototypeOf(o) { TabExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return TabExample__getPrototypeOf(o); }
-
-function TabExample__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) TabExample__setPrototypeOf(subClass, superClass); }
-
-function TabExample__setPrototypeOf(o, p) { TabExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return TabExample__setPrototypeOf(o, p); }
-
-function TabExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function TabExample__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; }
-
-
-
-
-
-var TabExample_TabExample =
-/*#__PURE__*/
-function (_React$Component) {
- TabExample__inherits(TabExample, _React$Component);
-
- function TabExample() {
- var _getPrototypeOf2;
-
- var _this;
-
- TabExample__classCallCheck(this, TabExample);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = TabExample__possibleConstructorReturn(this, (_getPrototypeOf2 = TabExample__getPrototypeOf(TabExample)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- TabExample__defineProperty(TabExample__assertThisInitialized(TabExample__assertThisInitialized(_this)), "state", {
- activeTab: 'Audience'
- });
-
- TabExample__defineProperty(TabExample__assertThisInitialized(TabExample__assertThisInitialized(_this)), "switchTab", function (tabKey) {
- _this.setState({
- activeTab: tabKey
- });
- });
-
- return _this;
- }
-
- TabExample__createClass(TabExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Tabs"], {
- activeKey: this.state.activeTab,
- onSelect: this.switchTab,
- id: "audience-tab",
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Tab"], {
- eventKey: "Audience",
- title: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "flexible-wrapper-inline",
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SvgSymbol"], {
- href: "./docs/assets/svg-symbols.svg#list",
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["FlexibleSpacer"], {
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 24
- },
- __self: this
- }), "Audience"),
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Empty"], {
- collection: [],
- text: "No audience details.",
- svgSymbol: {
- href: './docs/assets/svg-symbols.svg#checklist-incomplete'
- },
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 29
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Tab"], {
- eventKey: "Billing",
- title: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "flexible-wrapper-inline",
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SvgSymbol"], {
- href: "./docs/assets/svg-symbols.svg#calendar",
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 41
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["FlexibleSpacer"], {
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 42
- },
- __self: this
- }), "Billing"),
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 37
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Empty"], {
- collection: [],
- text: "No billing information.",
- svgSymbol: {
- href: './docs/assets/svg-symbols.svg#calendar'
- },
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 47
- },
- __self: this
- })));
- }
- }]);
-
- return TabExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var TabExample_exampleProps = {
- componentName: 'Tab',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 61
- },
- __self: this
- }, "Tabs are most commonly used with areas that require the user to switch between views. Each tab label is supported by an icon."),
- notes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 67
- },
- __self: this
- }, "This is not a react-bootstrap component. However it implements the same API for switching tabs. Only the props listed are supported."),
- exampleCodeSnippet: "\n \n \n \n \n Audience\n \n }\n >\n \n \n \n \n \n Billing\n \n }\n >\n \n \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'defaultActiveKey',
- type: 'oneOfType [string, number]'
- }, {
- propType: 'activeKey',
- type: 'oneOfType [string, number]'
- }, {
- propType: 'onSelect',
- type: 'func',
- note: "(selectedTabKey) => {...}"
- }, {
- propType: 'id',
- type: 'string'
- }]
- }]
-};
-/* harmony default export */ var examples_TabExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, TabExample_exampleProps, {
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 135
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TabExample_TabExample, {
- __source: {
- fileName: TabExample__jsxFileName,
- lineNumber: 136
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/EmptyExample.jsx
-var EmptyExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/EmptyExample.jsx";
-
-function EmptyExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { EmptyExample__typeof = function _typeof(obj) { return typeof obj; }; } else { EmptyExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return EmptyExample__typeof(obj); }
-
-function EmptyExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function EmptyExample__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 EmptyExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) EmptyExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) EmptyExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function EmptyExample__possibleConstructorReturn(self, call) { if (call && (EmptyExample__typeof(call) === "object" || typeof call === "function")) { return call; } return EmptyExample__assertThisInitialized(self); }
-
-function EmptyExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function EmptyExample__getPrototypeOf(o) { EmptyExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return EmptyExample__getPrototypeOf(o); }
-
-function EmptyExample__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) EmptyExample__setPrototypeOf(subClass, superClass); }
-
-function EmptyExample__setPrototypeOf(o, p) { EmptyExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return EmptyExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var EmptyExample_EmptyExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- EmptyExample__inherits(EmptyExample, _React$PureComponent);
-
- function EmptyExample() {
- EmptyExample__classCallCheck(this, EmptyExample);
-
- return EmptyExample__possibleConstructorReturn(this, EmptyExample__getPrototypeOf(EmptyExample).apply(this, arguments));
- }
-
- EmptyExample__createClass(EmptyExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: EmptyExample__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Empty"], {
- collection: [],
- text: "No items selected",
- svgSymbol: {
- href: './docs/assets/svg-symbols.svg#checklist-incomplete'
- },
- __source: {
- fileName: EmptyExample__jsxFileName,
- lineNumber: 9
- },
- __self: this
- }));
- }
- }]);
-
- return EmptyExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var EmptyExample_exampleProps = {
- componentName: 'Empty',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: EmptyExample__jsxFileName,
- lineNumber: 24
- },
- __self: this
- }, "Empty states should be used when data or information is not available. Always display a graphic icon with supported copy to give context to the empty area."),
- notes: 'Given a collection prop will render an empty state when collection is empty.',
- exampleCodeSnippet: "\n \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'collection',
- type: 'node',
- defaultValue: 'null'
- }, {
- propType: 'text',
- type: 'node',
- defaultValue: 'Nothing to show.'
- }, {
- propType: 'svgSymbol',
- type: 'shape',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: EmptyExample__jsxFileName,
- lineNumber: 54
- },
- __self: this
- }, "Accepts ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-example",
- __source: {
- fileName: EmptyExample__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }, "SVG Symbol"), " props such as href.")
- }, {
- propType: 'hideIcon',
- type: 'boolean',
- defaultValue: 'false',
- note: 'Whether or not the SVG Symbol should be displayed.'
- }]
- }]
-};
-/* harmony default export */ var examples_EmptyExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, EmptyExample_exampleProps, {
- __source: {
- fileName: EmptyExample__jsxFileName,
- lineNumber: 71
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(EmptyExample_EmptyExample, {
- __source: {
- fileName: EmptyExample__jsxFileName,
- lineNumber: 72
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/GridExample.jsx
-var GridExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/GridExample.jsx";
-
-function GridExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { GridExample__typeof = function _typeof(obj) { return typeof obj; }; } else { GridExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return GridExample__typeof(obj); }
-
-function GridExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function GridExample__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 GridExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) GridExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) GridExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function GridExample__possibleConstructorReturn(self, call) { if (call && (GridExample__typeof(call) === "object" || typeof call === "function")) { return call; } return GridExample__assertThisInitialized(self); }
-
-function GridExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function GridExample__getPrototypeOf(o) { GridExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return GridExample__getPrototypeOf(o); }
-
-function GridExample__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) GridExample__setPrototypeOf(subClass, superClass); }
-
-function GridExample__setPrototypeOf(o, p) { GridExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return GridExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var cellClicked = function cellClicked() {
- return console.log('Cell clicked');
-};
-
-var GridExample_GridExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- GridExample__inherits(GridExample, _React$PureComponent);
-
- function GridExample() {
- GridExample__classCallCheck(this, GridExample);
-
- return GridExample__possibleConstructorReturn(this, GridExample__getPrototypeOf(GridExample).apply(this, arguments));
- }
-
- GridExample__createClass(GridExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Grid"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 10
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridRow"], {
- type: "header",
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 11
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 12
- },
- __self: this
- }, "Header"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 13
- },
- __self: this
- }, "Header"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, "Header")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridRow"], {
- verticalCellBorder: true,
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- stretch: true,
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, "Body"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }, "Content"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- }, "Content")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridRow"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }, "Body"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }, "Content"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- onClick: cellClicked,
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 24
- },
- __self: this
- }, "This Cell logs clicks.")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridRow"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- addonClassNames: ['full-width'],
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 27
- },
- __self: this
- }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus finibus suscipit velit quis tempor. Nunc non lorem viverra, tincidunt dui ut, dictum enim. Nam quis ligula ac mi egestas scelerisque. Phasellus posuere tellus quis nisl vulputate efficitur. Nulla laoreet ut ex vitae pharetra. Vivamus felis eros, finibus fringilla turpis ut, convallis maximus mi.")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridRow"], {
- type: "subfooter",
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 34
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 35
- },
- __self: this
- }, "Subfooter")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridRow"], {
- type: "footer",
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 37
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["GridCell"], {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }, "Footer")));
- }
- }]);
-
- return GridExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var GridExample_exampleProps = {
- componentName: 'Grid',
- exampleCodeSnippet: "\n \n \n Header \n Header \n Header \n \n \n Body \n Content \n Content \n \n \n Body \n Content \n This Cell logs clicks. \n \n \n //full-width { width: 100%; }\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus finibus suscipit velit quis tempor. Nunc\n non lorem viverra, tincidunt dui ut, dictum enim. Nam quis ligula ac mi egestas scelerisque. Phasellus\n posuere tellus quis nisl vulputate efficitur. Nulla laoreet ut ex vitae pharetra. Vivamus felis eros,\n finibus fringilla turpis ut, convallis maximus mi.\n \n \n \n Subfooter \n \n \n Footer \n \n ",
- propTypeSectionArray: [{
- label: 'Grid',
- propTypes: [{
- propType: 'children',
- type: 'node'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }]
- }, {
- label: 'GridRow',
- propTypes: [{
- propType: 'children',
- type: 'node'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }, {
- propType: 'horizontalBorder',
- type: 'bool',
- defaultValue: 'true',
- note: 'If setting to true, it will show the border between two GridRows.'
- }, {
- propType: 'short',
- type: 'bool',
- defaultValue: 'false',
- note: 'If setting to true, it will have less padding.'
- }, {
- propType: 'type',
- type: "oneOf('body', 'header', 'subfooter', 'footer')",
- defaultValue: "'body'",
- note: 'Providing 4 pre-configured styles.'
- }, {
- propType: 'verticalCellBorder',
- type: 'bool',
- defaultValue: 'false',
- note: 'If setting to true, it will show the border between each GridCells.'
- }]
- }, {
- label: 'GridCell',
- propTypes: [{
- propType: 'addonClassNames',
- type: 'arrayOf(String)',
- note: 'Used to apply custom classes to this cell.'
- }, {
- propType: 'children',
- type: 'node'
- }, {
- propType: 'classSuffixes',
- type: 'arrayOf(String)',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 147
- },
- __self: this
- }, "[]"),
- note: "Every element provided in this prop, will generate a className like 'grid-component-cell-something'."
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }, {
- propType: 'onClick',
- type: 'func',
- note: 'A function triggerd when user clicks this cell.'
- }, {
- propType: 'stretch',
- type: 'bool',
- defaultValue: 'false',
- note: "The stretch cell will use most space is this row and minimize other cells' space."
- }]
- }]
-};
-/* harmony default export */ var examples_GridExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, GridExample_exampleProps, {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 172
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(GridExample_GridExample, {
- __source: {
- fileName: GridExample__jsxFileName,
- lineNumber: 173
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/PrettyDiffExample.jsx
-var PrettyDiffExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/PrettyDiffExample.jsx";
-
-function PrettyDiffExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { PrettyDiffExample__typeof = function _typeof(obj) { return typeof obj; }; } else { PrettyDiffExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return PrettyDiffExample__typeof(obj); }
-
-function PrettyDiffExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function PrettyDiffExample__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 PrettyDiffExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) PrettyDiffExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) PrettyDiffExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function PrettyDiffExample__possibleConstructorReturn(self, call) { if (call && (PrettyDiffExample__typeof(call) === "object" || typeof call === "function")) { return call; } return PrettyDiffExample__assertThisInitialized(self); }
-
-function PrettyDiffExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function PrettyDiffExample__getPrototypeOf(o) { PrettyDiffExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return PrettyDiffExample__getPrototypeOf(o); }
-
-function PrettyDiffExample__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) PrettyDiffExample__setPrototypeOf(subClass, superClass); }
-
-function PrettyDiffExample__setPrototypeOf(o, p) { PrettyDiffExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return PrettyDiffExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var PrettyDiffExample_PrettyDiffExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- PrettyDiffExample__inherits(PrettyDiffExample, _React$PureComponent);
-
- function PrettyDiffExample() {
- PrettyDiffExample__classCallCheck(this, PrettyDiffExample);
-
- return PrettyDiffExample__possibleConstructorReturn(this, PrettyDiffExample__getPrototypeOf(PrettyDiffExample).apply(this, arguments));
- }
-
- PrettyDiffExample__createClass(PrettyDiffExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PrettyDiff"], {
- newText: "\n \n ",
- oldText: "\n \n ",
- __source: {
- fileName: PrettyDiffExample__jsxFileName,
- lineNumber: 8
- },
- __self: this
- });
- }
- }]);
-
- return PrettyDiffExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var PrettyDiffExample_exampleProps = {
- componentName: 'PrettyDiff',
- exampleCodeSnippet: "\n \n \n '\n }\n oldText={\n '\n \n '\n }\n />\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'oldText',
- type: 'string',
- defaultValue: ''
- }, {
- propType: 'newText',
- type: 'string',
- defaultValue: ''
- }]
- }]
-};
-/* harmony default export */ var examples_PrettyDiffExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, PrettyDiffExample_exampleProps, {
- __source: {
- fileName: PrettyDiffExample__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(PrettyDiffExample_PrettyDiffExample, {
- __source: {
- fileName: PrettyDiffExample__jsxFileName,
- lineNumber: 56
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/PopoverExample.jsx
-var PopoverExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/PopoverExample.jsx";
-
-function PopoverExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { PopoverExample__typeof = function _typeof(obj) { return typeof obj; }; } else { PopoverExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return PopoverExample__typeof(obj); }
-
-function PopoverExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function PopoverExample__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 PopoverExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) PopoverExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) PopoverExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function PopoverExample__possibleConstructorReturn(self, call) { if (call && (PopoverExample__typeof(call) === "object" || typeof call === "function")) { return call; } return PopoverExample__assertThisInitialized(self); }
-
-function PopoverExample__getPrototypeOf(o) { PopoverExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return PopoverExample__getPrototypeOf(o); }
-
-function PopoverExample__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) PopoverExample__setPrototypeOf(subClass, superClass); }
-
-function PopoverExample__setPrototypeOf(o, p) { PopoverExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return PopoverExample__setPrototypeOf(o, p); }
-
-function PopoverExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function PopoverExample__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; }
-
-
-
-
-
-
-var PopoverExample_PopoverExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- PopoverExample__inherits(PopoverExample, _React$PureComponent);
-
- function PopoverExample() {
- var _getPrototypeOf2;
-
- var _this;
-
- PopoverExample__classCallCheck(this, PopoverExample);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = PopoverExample__possibleConstructorReturn(this, (_getPrototypeOf2 = PopoverExample__getPrototypeOf(PopoverExample)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- PopoverExample__defineProperty(PopoverExample__assertThisInitialized(PopoverExample__assertThisInitialized(_this)), "state", {
- placement: 'left',
- theme: 'light',
- trigger: 'hover',
- isOpen: false
- });
-
- PopoverExample__defineProperty(PopoverExample__assertThisInitialized(PopoverExample__assertThisInitialized(_this)), "placements", ['left', 'top', 'top-start', 'top-end', 'bottom-start', 'bottom', 'bottom-end', 'right']);
-
- PopoverExample__defineProperty(PopoverExample__assertThisInitialized(PopoverExample__assertThisInitialized(_this)), "themes", ['light', 'dark', 'warn', 'error']);
-
- PopoverExample__defineProperty(PopoverExample__assertThisInitialized(PopoverExample__assertThisInitialized(_this)), "triggers", ['hover', 'click']);
-
- PopoverExample__defineProperty(PopoverExample__assertThisInitialized(PopoverExample__assertThisInitialized(_this)), "renderPopoverContent", function (content) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, "static content"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, content));
- });
-
- PopoverExample__defineProperty(PopoverExample__assertThisInitialized(PopoverExample__assertThisInitialized(_this)), "handlePlacements", function (state, placement) {
- return _this.setState({
- placement: placement
- });
- });
-
- PopoverExample__defineProperty(PopoverExample__assertThisInitialized(PopoverExample__assertThisInitialized(_this)), "handleThemes", function (state, theme) {
- return _this.setState({
- theme: theme
- });
- });
-
- PopoverExample__defineProperty(PopoverExample__assertThisInitialized(PopoverExample__assertThisInitialized(_this)), "handleTriggers", function (state, trigger) {
- return _this.setState({
- trigger: trigger
- });
- });
-
- PopoverExample__defineProperty(PopoverExample__assertThisInitialized(PopoverExample__assertThisInitialized(_this)), "togglePopover", function () {
- return _this.setState(function (prevState) {
- return {
- isOpen: !prevState.isOpen
- };
- });
- });
-
- return _this;
- }
-
- PopoverExample__createClass(PopoverExample, [{
- key: "render",
- value: function render() {
- var _this2 = this;
-
- var formattedPlacement = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.startCase(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.toLower(this.state.placement));
-
- var formattedTheme = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.startCase(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.toLower(this.state.theme));
-
- var formattedTrigger = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.startCase(external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.toLower(this.state.trigger));
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Fragment, null, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "button-example-container",
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 39
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h3", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }, "Popover over element"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 41
- },
- __self: this
- }, "Placements"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "placement-checkbox",
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 42
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(this.placements, function (placement) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- onChange: _this2.handlePlacements,
- value: _this2.state.placement,
- name: placement,
- label: placement,
- checked: _this2.state.placement === placement,
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 44
- },
- __self: this
- });
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 53
- },
- __self: this
- }, "Themes"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "theme-checkbox",
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 54
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(this.themes, function (theme) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- onChange: _this2.handleThemes,
- value: _this2.state.theme,
- name: theme,
- label: theme,
- checked: _this2.state.theme === theme,
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 56
- },
- __self: this
- });
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 65
- },
- __self: this
- }, "Triggers"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "trigger-checkbox",
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 66
- },
- __self: this
- }, external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(this.triggers, function (trigger) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- onChange: _this2.handleTriggers,
- value: _this2.state.trigger,
- name: trigger,
- label: trigger,
- checked: _this2.state.trigger === trigger,
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 68
- },
- __self: this
- });
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "disabled-popover",
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 77
- },
- __self: this
- }, "You can also\xA0", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- onChange: this.handleTriggers,
- value: 'disabled',
- name: 'disabled',
- label: 'Disable',
- checked: this.state.trigger === 'disabled',
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 79
- },
- __self: this
- }), "\xA0 the triggers and control the popover with external events", this.state.trigger === 'disabled' && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- onClick: this.togglePopover,
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 88
- },
- __self: this
- }, this.state.isOpen ? 'Close' : 'Open', " Popover")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 92
- },
- __self: this
- }, "Live Demo"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "example-button",
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 93
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Popover"], Object.assign({}, this.state.trigger === 'disabled' ? {
- isOpen: this.state.isOpen
- } : {}, {
- triggers: this.state.trigger,
- placement: this.state.placement,
- title: "Popover Title",
- theme: this.state.theme,
- popoverContent: "My initial positioning is ".concat(formattedPlacement),
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 94
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- theme: this.state.theme,
- disabled: this.state.trigger === 'disabled',
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 102
- },
- __self: this
- }, this.state.trigger === 'disabled' ? 'Trigger Disabled' : "".concat(formattedTrigger, " me for ").concat(formattedTheme, " theme and ").concat(formattedPlacement, " positioned popover"))))), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h3", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 110
- },
- __self: this
- }, "Auto flip on boundaries and stay in container"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 111
- },
- __self: this
- }, "Scroll the container"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "auto-flip-container",
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 112
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- id: "popover-boundaries",
- className: "popover-example-container",
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 113
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Popover"], {
- triggers: "disabled",
- isOpen: true,
- placement: "left",
- title: "Popover Title",
- theme: "dark",
- popoverContent: "My initial positioning is left",
- modifiers: {
- preventOverflow: {
- enabled: true
- }
- },
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 114
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 123
- },
- __self: this
- }, "Anchor")))));
- }
- }]);
-
- return PopoverExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var PopoverExample_exampleProps = {
- componentName: 'Popover',
- exampleCodeSnippet: "\n // Basic usage\n \n Left \n \n\n // Popper controlled by external events\n \n Right \n \n\n // Non overflowing popover\n \n Anchor \n \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'title',
- type: 'node',
- note: 'Title for this popover.'
- }, {
- propType: 'children',
- type: 'node',
- note: 'Message content for this popover.'
- }, {
- propType: 'className',
- type: 'text',
- note: 'Additional Class name for anchor element'
- }, {
- propType: 'wrapperClassName',
- type: 'text',
- note: 'Additional className for the popover wrapper'
- }, {
- propType: 'placement',
- type: 'oneOf[left, top, top-start, top-end, bottom-start, bottom, bottom-end, right, auto]',
- defaultValue: 'auto'
- }, {
- propType: 'theme',
- type: 'oneOf[light, dark, warn, error]',
- defaultValue: 'light'
- }, {
- propType: 'popoverContent',
- type: 'node',
- note: 'Popover content, can be a react element.'
- }, {
- propType: 'trigger',
- type: 'oneOf[click, hover]',
- defaultValue: 'hover'
- }, {
- propType: 'modifiers',
- type: 'PopperJS.Modifiers',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "https://popper.js.org/popper-documentation.html#modifiers",
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 204
- },
- __self: this
- }, "Popper Modifier Configurations")
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }, {
- propType: 'popperRef',
- type: 'func',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 215
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("pre", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 216
- },
- __self: this
- }, "(node) => this.ref = node;"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 217
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 218
- },
- __self: this
- }, "Store the ref of the popover to manipulate when needed."))
- }]
- }]
-};
-/* harmony default export */ var examples_PopoverExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, PopoverExample_exampleProps, {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 228
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(PopoverExample_PopoverExample, {
- __source: {
- fileName: PopoverExample__jsxFileName,
- lineNumber: 229
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/SpinnerExample.jsx
-var SpinnerExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/SpinnerExample.jsx";
-
-function SpinnerExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SpinnerExample__typeof = function _typeof(obj) { return typeof obj; }; } else { SpinnerExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SpinnerExample__typeof(obj); }
-
-function SpinnerExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function SpinnerExample__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 SpinnerExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) SpinnerExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) SpinnerExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function SpinnerExample__possibleConstructorReturn(self, call) { if (call && (SpinnerExample__typeof(call) === "object" || typeof call === "function")) { return call; } return SpinnerExample__assertThisInitialized(self); }
-
-function SpinnerExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function SpinnerExample__getPrototypeOf(o) { SpinnerExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SpinnerExample__getPrototypeOf(o); }
-
-function SpinnerExample__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) SpinnerExample__setPrototypeOf(subClass, superClass); }
-
-function SpinnerExample__setPrototypeOf(o, p) { SpinnerExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SpinnerExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var SpinnerExample_SpinnerExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- SpinnerExample__inherits(SpinnerExample, _React$PureComponent);
-
- function SpinnerExample() {
- SpinnerExample__classCallCheck(this, SpinnerExample);
-
- return SpinnerExample__possibleConstructorReturn(this, SpinnerExample__getPrototypeOf(SpinnerExample).apply(this, arguments));
- }
-
- SpinnerExample__createClass(SpinnerExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Spinner"], {
- __source: {
- fileName: SpinnerExample__jsxFileName,
- lineNumber: 7
- },
- __self: this
- });
- }
- }]);
-
- return SpinnerExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var SpinnerExample_exampleProps = {
- componentName: 'Spinner',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: SpinnerExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: SpinnerExample__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, "The spinner is commonly used to indicate it is processing the user's action."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: SpinnerExample__jsxFileName,
- lineNumber: 16
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: SpinnerExample__jsxFileName,
- lineNumber: 17
- },
- __self: this
- }, "Example:"), " Used inside a button or cell, or while loading a page.")),
- exampleCodeSnippet: ' ',
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'size',
- type: "oneOf: 'large', medium', 'small'",
- defaultValue: 'large'
- }, {
- propType: 'colourStyle',
- type: 'string',
- defaultValue: 'default'
- }]
- }]
-};
-/* harmony default export */ var examples_SpinnerExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, SpinnerExample_exampleProps, {
- __source: {
- fileName: SpinnerExample__jsxFileName,
- lineNumber: 41
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SpinnerExample_SpinnerExample, {
- __source: {
- fileName: SpinnerExample__jsxFileName,
- lineNumber: 42
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/SvgSymbolExample.jsx
-var SvgSymbolExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/SvgSymbolExample.jsx";
-
-function SvgSymbolExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SvgSymbolExample__typeof = function _typeof(obj) { return typeof obj; }; } else { SvgSymbolExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SvgSymbolExample__typeof(obj); }
-
-function SvgSymbolExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function SvgSymbolExample__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 SvgSymbolExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) SvgSymbolExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) SvgSymbolExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function SvgSymbolExample__possibleConstructorReturn(self, call) { if (call && (SvgSymbolExample__typeof(call) === "object" || typeof call === "function")) { return call; } return SvgSymbolExample__assertThisInitialized(self); }
-
-function SvgSymbolExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function SvgSymbolExample__getPrototypeOf(o) { SvgSymbolExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SvgSymbolExample__getPrototypeOf(o); }
-
-function SvgSymbolExample__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) SvgSymbolExample__setPrototypeOf(subClass, superClass); }
-
-function SvgSymbolExample__setPrototypeOf(o, p) { SvgSymbolExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SvgSymbolExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var SvgSymbolExample_SvgSymbolExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- SvgSymbolExample__inherits(SvgSymbolExample, _React$PureComponent);
-
- function SvgSymbolExample() {
- SvgSymbolExample__classCallCheck(this, SvgSymbolExample);
-
- return SvgSymbolExample__possibleConstructorReturn(this, SvgSymbolExample__getPrototypeOf(SvgSymbolExample).apply(this, arguments));
- }
-
- SvgSymbolExample__createClass(SvgSymbolExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SvgSymbol"], {
- href: "./docs/assets/svg-symbols.svg#checklist-incomplete",
- classSuffixes: ['70'],
- __source: {
- fileName: SvgSymbolExample__jsxFileName,
- lineNumber: 7
- },
- __self: this
- });
- }
- }]);
-
- return SvgSymbolExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var SvgSymbolExample_exampleProps = {
- componentName: 'SvgSymbol',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: SvgSymbolExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: SvgSymbolExample__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, "SVGs are used to provide visual support for an action or information. Icons and graphics are used alongside text, inside a button, tab and larger graphics are used to provide information around a state of a page, onboarding or recommending an action that could be taken."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: SvgSymbolExample__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, "Examples:"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: SvgSymbolExample__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: SvgSymbolExample__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }, "Larger graphics"), " - Get Started page, Information blocks.", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: SvgSymbolExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: SvgSymbolExample__jsxFileName,
- lineNumber: 24
- },
- __self: this
- }, "Smaller icons"), " - Import, export buttons, campaign tabs.")),
- exampleCodeSnippet: ' ',
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'href',
- type: 'string',
- note: 'accept both file path and base64 encoded string'
- }, {
- propType: 'classSuffixes',
- type: 'arrayOf string'
- }, {
- propType: 'onClick',
- type: 'func'
- }]
- }]
-};
-/* harmony default export */ var examples_SvgSymbolExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, SvgSymbolExample_exampleProps, {
- __source: {
- fileName: SvgSymbolExample__jsxFileName,
- lineNumber: 52
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SvgSymbolExample_SvgSymbolExample, {
- __source: {
- fileName: SvgSymbolExample__jsxFileName,
- lineNumber: 53
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/SvgSymbolCircleExample.jsx
-var SvgSymbolCircleExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/SvgSymbolCircleExample.jsx";
-
-function SvgSymbolCircleExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SvgSymbolCircleExample__typeof = function _typeof(obj) { return typeof obj; }; } else { SvgSymbolCircleExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SvgSymbolCircleExample__typeof(obj); }
-
-function SvgSymbolCircleExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function SvgSymbolCircleExample__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 SvgSymbolCircleExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) SvgSymbolCircleExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) SvgSymbolCircleExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function SvgSymbolCircleExample__possibleConstructorReturn(self, call) { if (call && (SvgSymbolCircleExample__typeof(call) === "object" || typeof call === "function")) { return call; } return SvgSymbolCircleExample__assertThisInitialized(self); }
-
-function SvgSymbolCircleExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function SvgSymbolCircleExample__getPrototypeOf(o) { SvgSymbolCircleExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SvgSymbolCircleExample__getPrototypeOf(o); }
-
-function SvgSymbolCircleExample__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) SvgSymbolCircleExample__setPrototypeOf(subClass, superClass); }
-
-function SvgSymbolCircleExample__setPrototypeOf(o, p) { SvgSymbolCircleExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SvgSymbolCircleExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var SvgSymbolCircleExample_SvgSymbolCircleExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- SvgSymbolCircleExample__inherits(SvgSymbolCircleExample, _React$PureComponent);
-
- function SvgSymbolCircleExample() {
- SvgSymbolCircleExample__classCallCheck(this, SvgSymbolCircleExample);
-
- return SvgSymbolCircleExample__possibleConstructorReturn(this, SvgSymbolCircleExample__getPrototypeOf(SvgSymbolCircleExample).apply(this, arguments));
- }
-
- SvgSymbolCircleExample__createClass(SvgSymbolCircleExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SvgSymbolCircle"], {
- href: "./docs/assets/svg-symbols.svg#calendar",
- classSuffixes: ['50'],
- __source: {
- fileName: SvgSymbolCircleExample__jsxFileName,
- lineNumber: 7
- },
- __self: this
- });
- }
- }]);
-
- return SvgSymbolCircleExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var SvgSymbolCircleExample_exampleProps = {
- componentName: 'SvgSymbolCircle',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: SvgSymbolCircleExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, "For more details see ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-example",
- __source: {
- fileName: SvgSymbolCircleExample__jsxFileName,
- lineNumber: 15
- },
- __self: this
- }, "SVG Symbol"), " component."),
- exampleCodeSnippet: ' ',
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'href',
- type: 'string'
- }, {
- propType: 'classSuffixes',
- type: 'arrayOf string'
- }, {
- propType: 'onClick',
- type: 'func'
- }]
- }]
-};
-/* harmony default export */ var examples_SvgSymbolCircleExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, SvgSymbolCircleExample_exampleProps, {
- __source: {
- fileName: SvgSymbolCircleExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SvgSymbolCircleExample_SvgSymbolCircleExample, {
- __source: {
- fileName: SvgSymbolCircleExample__jsxFileName,
- lineNumber: 41
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/TileGridExample.jsx
-var TileGridExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/TileGridExample.jsx";
-
-function TileGridExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { TileGridExample__typeof = function _typeof(obj) { return typeof obj; }; } else { TileGridExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return TileGridExample__typeof(obj); }
-
-function TileGridExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function TileGridExample__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 TileGridExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) TileGridExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) TileGridExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function TileGridExample__possibleConstructorReturn(self, call) { if (call && (TileGridExample__typeof(call) === "object" || typeof call === "function")) { return call; } return TileGridExample__assertThisInitialized(self); }
-
-function TileGridExample__getPrototypeOf(o) { TileGridExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return TileGridExample__getPrototypeOf(o); }
-
-function TileGridExample__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) TileGridExample__setPrototypeOf(subClass, superClass); }
-
-function TileGridExample__setPrototypeOf(o, p) { TileGridExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return TileGridExample__setPrototypeOf(o, p); }
-
-function TileGridExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-var exampleImageLink = './docs/assets/tileGrid/example-image.jpg';
-
-var TileGridExample_TileGridExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- TileGridExample__inherits(TileGridExample, _React$PureComponent);
-
- function TileGridExample() {
- var _this;
-
- TileGridExample__classCallCheck(this, TileGridExample);
-
- _this = TileGridExample__possibleConstructorReturn(this, TileGridExample__getPrototypeOf(TileGridExample).call(this));
- _this.onClick = _this.onClick.bind(TileGridExample__assertThisInitialized(TileGridExample__assertThisInitialized(_this)));
- return _this;
- }
-
- TileGridExample__createClass(TileGridExample, [{
- key: "onClick",
- value: function onClick() {
- return;
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["TileGrid"], {
- title: "Browse by category",
- items: [{
- id: '0',
- classSuffix: 'news',
- title: 'News',
- imgLink: exampleImageLink
- }, {
- id: '1',
- classSuffix: 'sport',
- title: 'Sport',
- imgLink: exampleImageLink,
- imgAlign: 'center'
- }, {
- id: '2',
- classSuffix: 'health',
- title: 'Health & Fitness',
- imgLink: exampleImageLink,
- imgAlign: 'right'
- }, {
- id: '3',
- classSuffix: 'tech',
- title: 'Technology & Computing'
- }],
- onItemClick: this.onClick,
- distributed: true,
- __source: {
- fileName: TileGridExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- });
- }
- }]);
-
- return TileGridExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var TileGridExample_exampleProps = {
- componentName: 'Tile Grid',
- exampleCodeSnippet: "\n ",
- propTypeSectionArray: [{
- label: 'TileGrid',
- propTypes: [{
- propType: 'title',
- type: 'string'
- }, {
- propType: 'items',
- type: 'arrayOf(item object)',
- note: 'The shape of item object is defined below'
- }, {
- propType: 'onItemClick',
- type: 'func'
- }, {
- propType: 'distributed',
- type: 'bool',
- defaultValue: 'false',
- note: 'If distributed is true, each tile in this component will have a distributed width.'
- }]
- }, {
- label: '(Item Object)',
- propTypes: [{
- propType: 'id',
- type: 'string || number',
- note: 'required'
- }, {
- propType: 'classSuffix',
- type: 'string',
- note: 'required'
- }, {
- propType: 'title',
- type: 'string',
- note: 'required'
- }, {
- propType: 'imgLink',
- type: 'string',
- note: 'Address link used for background image of each tile.'
- }, {
- propType: 'width',
- type: 'number',
- defaultValue: '204',
- note: 'Defining width of each tile. (In pixels)'
- }, {
- propType: 'maxWidth',
- type: 'number',
- defaultValue: '295',
- note: 'Defining max-width of each tile. (In pixels)'
- }, {
- propType: 'imgAlign',
- type: "oneOf('left', 'right', 'center')",
- defaultValue: 'left',
- note: 'Used for defining the position of background image. (Only working if imgLink is defined)'
- }]
- }]
-};
-/* harmony default export */ var examples_TileGridExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, TileGridExample_exampleProps, {
- __source: {
- fileName: TileGridExample__jsxFileName,
- lineNumber: 120
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TileGridExample_TileGridExample, {
- __source: {
- fileName: TileGridExample__jsxFileName,
- lineNumber: 121
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/AccordionExample.jsx
-var AccordionExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/AccordionExample.jsx";
-
-function AccordionExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { AccordionExample__typeof = function _typeof(obj) { return typeof obj; }; } else { AccordionExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return AccordionExample__typeof(obj); }
-
-function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
-
-function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
-
-function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
-
-function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }
-
-function AccordionExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function AccordionExample__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 AccordionExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) AccordionExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) AccordionExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function AccordionExample__possibleConstructorReturn(self, call) { if (call && (AccordionExample__typeof(call) === "object" || typeof call === "function")) { return call; } return AccordionExample__assertThisInitialized(self); }
-
-function AccordionExample__getPrototypeOf(o) { AccordionExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return AccordionExample__getPrototypeOf(o); }
-
-function AccordionExample__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) AccordionExample__setPrototypeOf(subClass, superClass); }
-
-function AccordionExample__setPrototypeOf(o, p) { AccordionExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return AccordionExample__setPrototypeOf(o, p); }
-
-function AccordionExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function AccordionExample__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; }
-
-
-
-
-
-var AccordionExample_AccordionExample =
-/*#__PURE__*/
-function (_React$Component) {
- AccordionExample__inherits(AccordionExample, _React$Component);
-
- function AccordionExample() {
- var _getPrototypeOf2;
-
- var _this;
-
- AccordionExample__classCallCheck(this, AccordionExample);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = AccordionExample__possibleConstructorReturn(this, (_getPrototypeOf2 = AccordionExample__getPrototypeOf(AccordionExample)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- AccordionExample__defineProperty(AccordionExample__assertThisInitialized(AccordionExample__assertThisInitialized(_this)), "state", {
- clickHistory: []
- });
-
- AccordionExample__defineProperty(AccordionExample__assertThisInitialized(AccordionExample__assertThisInitialized(_this)), "onPanelClick", function (panelId) {
- _this.setState({
- clickHistory: [].concat(_toConsumableArray(_this.state.clickHistory), ["onPanelClick triggered on ".concat(panelId)])
- });
- });
-
- return _this;
- }
-
- AccordionExample__createClass(AccordionExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "row",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "col-xs-6",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 19
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Accordion"], {
- defaultActivePanelIds: ['filter-by-region'],
- onPanelClick: this.onPanelClick,
- maxExpand: 3,
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Accordion"].Panel, {
- id: "filter-by-region",
- title: "Filter by region",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("ul", {
- className: "list-unstyled",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "Australia",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 24
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "New Zealand",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 27
- },
- __self: this
- })))), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Accordion"].Panel, {
- id: "filter-by-device",
- title: "Filter by device",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 31
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("ul", {
- className: "list-unstyled",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 32
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "Desktop",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 34
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 36
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "Mobile",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 37
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("li", {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 39
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Checkbox"], {
- label: "Tablet",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- })))), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 44
- },
- __self: this
- }, "test"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Accordion"].Panel, {
- id: "filter-1",
- title: "Filter 1",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 45
- },
- __self: this
- }, "Filter 1"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Accordion"].Panel, {
- id: "filter-2",
- title: "Filter 2",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 48
- },
- __self: this
- }, "Filter 2"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Accordion"].Panel, {
- id: "filter-3",
- title: "Filter 3",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 51
- },
- __self: this
- }, "Filter 3"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Accordion"].Panel, {
- id: "filter-4",
- title: "Filter 4",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 54
- },
- __self: this
- }, "Filter 4"))), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "col-xs-6",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 59
- },
- __self: this
- }, this.state.clickHistory.map(function (text, index) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- key: "".concat(index, "-").concat(text),
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 61
- },
- __self: this
- }, text);
- })));
- }
- }]);
-
- return AccordionExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var AccordionExample_exampleProps = {
- componentName: 'Accordion',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 72
- },
- __self: this
- }, "The accordion menu is commonly used to group long list of filter options. Allowing the user to expand and close areas of the list."),
- exampleCodeSnippet: "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }, {
- propType: 'onPanelClick',
- type: 'func',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 116
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("pre", {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 117
- },
- __self: this
- }, "onPanelClick(panelId)"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("br", {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 118
- },
- __self: this
- }), "takes in a single parameter which is the id of the clicked panel.")
- }, {
- propType: 'defaultActivePanelIds',
- type: 'arrayOf(string)'
- }, {
- propType: 'maxExpand',
- type: "oneOfType(number, string('max'))",
- defaultValue: 'max',
- note: 'determine how many Panels can be expanded, accepted value is a positive number, or `max` to have no restriction'
- }, {
- propType: 'children',
- type: 'node',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 138
- },
- __self: this
- }, "Accept an array of ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#panel-example",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 139
- },
- __self: this
- }, " "), " or", ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#accordion-panel-example",
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 140
- },
- __self: this
- }, " "))
- }]
- }]
-};
-/* harmony default export */ var examples_AccordionExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, AccordionExample_exampleProps, {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 150
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(AccordionExample_AccordionExample, {
- __source: {
- fileName: AccordionExample__jsxFileName,
- lineNumber: 151
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/AccordionPanelExample.jsx
-var AccordionPanelExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/AccordionPanelExample.jsx";
-
-function AccordionPanelExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { AccordionPanelExample__typeof = function _typeof(obj) { return typeof obj; }; } else { AccordionPanelExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return AccordionPanelExample__typeof(obj); }
-
-function AccordionPanelExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function AccordionPanelExample__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 AccordionPanelExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) AccordionPanelExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) AccordionPanelExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function AccordionPanelExample__possibleConstructorReturn(self, call) { if (call && (AccordionPanelExample__typeof(call) === "object" || typeof call === "function")) { return call; } return AccordionPanelExample__assertThisInitialized(self); }
-
-function AccordionPanelExample__getPrototypeOf(o) { AccordionPanelExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return AccordionPanelExample__getPrototypeOf(o); }
-
-function AccordionPanelExample__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) AccordionPanelExample__setPrototypeOf(subClass, superClass); }
-
-function AccordionPanelExample__setPrototypeOf(o, p) { AccordionPanelExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return AccordionPanelExample__setPrototypeOf(o, p); }
-
-function AccordionPanelExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function AccordionPanelExample__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; }
-
-
-
-
-
-var AccordionPanelExample_AccordionPanelExample =
-/*#__PURE__*/
-function (_React$Component) {
- AccordionPanelExample__inherits(AccordionPanelExample, _React$Component);
-
- function AccordionPanelExample() {
- var _getPrototypeOf2;
-
- var _this;
-
- AccordionPanelExample__classCallCheck(this, AccordionPanelExample);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = AccordionPanelExample__possibleConstructorReturn(this, (_getPrototypeOf2 = AccordionPanelExample__getPrototypeOf(AccordionPanelExample)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- AccordionPanelExample__defineProperty(AccordionPanelExample__assertThisInitialized(AccordionPanelExample__assertThisInitialized(_this)), "state", {
- isCollapsed: false
- });
-
- AccordionPanelExample__defineProperty(AccordionPanelExample__assertThisInitialized(AccordionPanelExample__assertThisInitialized(_this)), "onPanelClick", function () {
- return _this.setState({
- isCollapsed: !_this.state.isCollapsed
- });
- });
-
- return _this;
- }
-
- AccordionPanelExample__createClass(AccordionPanelExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Accordion"].Panel, {
- id: "panel-id",
- title: "demo",
- isCollapsed: this.state.isCollapsed,
- onClick: this.onPanelClick,
- __source: {
- fileName: AccordionPanelExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, "Panel content");
- }
- }]);
-
- return AccordionPanelExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var AccordionPanelExample_exampleProps = {
- componentName: 'Accordion.Panel',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: AccordionPanelExample__jsxFileName,
- lineNumber: 24
- },
- __self: this
- }, "This component is equivalent to ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#panel-example",
- __source: {
- fileName: AccordionPanelExample__jsxFileName,
- lineNumber: 25
- },
- __self: this
- }, "Panel")),
- exampleCodeSnippet: "\n Panel content\n ",
- propTypeSectionArray: []
-};
-/* harmony default export */ var examples_AccordionPanelExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, AccordionPanelExample_exampleProps, {
- __source: {
- fileName: AccordionPanelExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(AccordionPanelExample_AccordionPanelExample, {
- __source: {
- fileName: AccordionPanelExample__jsxFileName,
- lineNumber: 41
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/CarouselExample.jsx
-var CarouselExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/CarouselExample.jsx";
-
-function CarouselExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { CarouselExample__typeof = function _typeof(obj) { return typeof obj; }; } else { CarouselExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return CarouselExample__typeof(obj); }
-
-function CarouselExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function CarouselExample__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 CarouselExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) CarouselExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) CarouselExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function CarouselExample__possibleConstructorReturn(self, call) { if (call && (CarouselExample__typeof(call) === "object" || typeof call === "function")) { return call; } return CarouselExample__assertThisInitialized(self); }
-
-function CarouselExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function CarouselExample__getPrototypeOf(o) { CarouselExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return CarouselExample__getPrototypeOf(o); }
-
-function CarouselExample__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) CarouselExample__setPrototypeOf(subClass, superClass); }
-
-function CarouselExample__setPrototypeOf(o, p) { CarouselExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return CarouselExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var CarouselExample_CarouselExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- CarouselExample__inherits(CarouselExample, _React$PureComponent);
-
- function CarouselExample() {
- CarouselExample__classCallCheck(this, CarouselExample);
-
- return CarouselExample__possibleConstructorReturn(this, CarouselExample__getPrototypeOf(CarouselExample).apply(this, arguments));
- }
-
- CarouselExample__createClass(CarouselExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Carousel"], {
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- style: {
- display: 'block'
- },
- href: "/",
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 9
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("img", {
- src: "./docs/assets/carousel/carousel-1.jpg",
- alt: "Slide 1",
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 10
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("img", {
- src: "./docs/assets/carousel/carousel-2.jpg",
- alt: "Slide 2",
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 12
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- style: {
- position: 'relative'
- },
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 13
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h2", {
- style: {
- position: 'absolute',
- right: 0,
- left: 0,
- textAlign: 'center',
- color: '#fff'
- },
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 14
- },
- __self: this
- }, "\uFF21\uFF25\uFF33\uFF34\uFF28\uFF25\uFF34\uFF29\uFF23\uFF33", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("small", {
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }, "Adslot UI")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("img", {
- src: "./docs/assets/carousel/carousel-3.jpg",
- alt: "Slide 3",
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 25
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("img", {
- src: "./docs/assets/carousel/carousel-4.jpg",
- alt: "Slide 4",
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 27
- },
- __self: this
- }));
- }
- }]);
-
- return CarouselExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var CarouselExample_exampleProps = {
- componentName: 'Carousel',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 36
- },
- __self: this
- }, "Carousel is used to showcase an area with visual message, and allowing marketing to customise propositions to each region. Arrows on each end are used to slide through each panel."),
- exampleCodeSnippet: "\n \n \n \n \n \n \n
\uFF21\uFF25\uFF33\uFF34\uFF28\uFF25\uFF34\uFF29\uFF23\uFF33Adslot UI \n
\n
\n \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'children',
- type: 'node'
- }, {
- propType: 'className',
- type: 'string'
- }, {
- propType: 'Nuka Carousel prop types',
- type: '',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "https://github.com/FormidableLabs/nuka-carousel",
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 75
- },
- __self: this
- }, "See Nuka Carousel docs for other options")
- }]
- }]
-};
-/* harmony default export */ var examples_CarouselExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, CarouselExample_exampleProps, {
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 83
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(CarouselExample_CarouselExample, {
- __source: {
- fileName: CarouselExample__jsxFileName,
- lineNumber: 84
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/ConfirmModalExample.jsx
-var ConfirmModalExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/ConfirmModalExample.jsx";
-
-function ConfirmModalExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { ConfirmModalExample__typeof = function _typeof(obj) { return typeof obj; }; } else { ConfirmModalExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return ConfirmModalExample__typeof(obj); }
-
-function ConfirmModalExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function ConfirmModalExample__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 ConfirmModalExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) ConfirmModalExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) ConfirmModalExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function ConfirmModalExample__possibleConstructorReturn(self, call) { if (call && (ConfirmModalExample__typeof(call) === "object" || typeof call === "function")) { return call; } return ConfirmModalExample__assertThisInitialized(self); }
-
-function ConfirmModalExample__getPrototypeOf(o) { ConfirmModalExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return ConfirmModalExample__getPrototypeOf(o); }
-
-function ConfirmModalExample__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) ConfirmModalExample__setPrototypeOf(subClass, superClass); }
-
-function ConfirmModalExample__setPrototypeOf(o, p) { ConfirmModalExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return ConfirmModalExample__setPrototypeOf(o, p); }
-
-function ConfirmModalExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var ConfirmModalExample_ConfirmModalExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- ConfirmModalExample__inherits(ConfirmModalExample, _React$PureComponent);
-
- function ConfirmModalExample() {
- var _this;
-
- ConfirmModalExample__classCallCheck(this, ConfirmModalExample);
-
- _this = ConfirmModalExample__possibleConstructorReturn(this, ConfirmModalExample__getPrototypeOf(ConfirmModalExample).call(this));
- _this.state = {
- showConfirmModal: false
- };
- _this.toggleConfirmModal = _this.toggleConfirmModal.bind(ConfirmModalExample__assertThisInitialized(ConfirmModalExample__assertThisInitialized(_this)));
- return _this;
- }
-
- ConfirmModalExample__createClass(ConfirmModalExample, [{
- key: "toggleConfirmModal",
- value: function toggleConfirmModal() {
- this.setState({
- showConfirmModal: !this.state.showConfirmModal
- });
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: ConfirmModalExample__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["ConfirmModal"], {
- modalApply: this.toggleConfirmModal,
- modalClose: this.toggleConfirmModal,
- show: this.state.showConfirmModal,
- __source: {
- fileName: ConfirmModalExample__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- bsStyle: "primary",
- onClick: this.toggleConfirmModal,
- __source: {
- fileName: ConfirmModalExample__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, "Sign Off"));
- }
- }]);
-
- return ConfirmModalExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var ConfirmModalExample_exampleProps = {
- componentName: 'Confirm Modal',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: ConfirmModalExample__jsxFileName,
- lineNumber: 36
- },
- __self: this
- }, "Confirm modal are commonly used to verify an action."),
- exampleCodeSnippet: "\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'buttonCancelLabel',
- type: 'string',
- defaultValue: 'Cancel'
- }, {
- propType: 'buttonConfirmLabel',
- type: 'string',
- defaultValue: 'Confirm'
- }, {
- propType: 'modalApply',
- type: 'func',
- defaultValue: "() => { throw new Error('AdslotUi ConfirmModal needs a modalApply handler'); }"
- }, {
- propType: 'modalClose',
- type: 'func'
- }, {
- propType: 'modalDescription',
- type: 'string',
- defaultValue: 'Are you sure?'
- }, {
- propType: 'modalTitle',
- type: 'string'
- }, {
- propType: 'show',
- type: 'boolean',
- defaultValue: 'true'
- }]
- }]
-};
-/* harmony default export */ var examples_ConfirmModalExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, ConfirmModalExample_exampleProps, {
- __source: {
- fileName: ConfirmModalExample__jsxFileName,
- lineNumber: 85
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(ConfirmModalExample_ConfirmModalExample, {
- __source: {
- fileName: ConfirmModalExample__jsxFileName,
- lineNumber: 86
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/HelpIconPopoverExample.jsx
-var HelpIconPopoverExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/HelpIconPopoverExample.jsx";
-
-function HelpIconPopoverExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { HelpIconPopoverExample__typeof = function _typeof(obj) { return typeof obj; }; } else { HelpIconPopoverExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return HelpIconPopoverExample__typeof(obj); }
-
-function HelpIconPopoverExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function HelpIconPopoverExample__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 HelpIconPopoverExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) HelpIconPopoverExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) HelpIconPopoverExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function HelpIconPopoverExample__possibleConstructorReturn(self, call) { if (call && (HelpIconPopoverExample__typeof(call) === "object" || typeof call === "function")) { return call; } return HelpIconPopoverExample__assertThisInitialized(self); }
-
-function HelpIconPopoverExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function HelpIconPopoverExample__getPrototypeOf(o) { HelpIconPopoverExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return HelpIconPopoverExample__getPrototypeOf(o); }
-
-function HelpIconPopoverExample__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) HelpIconPopoverExample__setPrototypeOf(subClass, superClass); }
-
-function HelpIconPopoverExample__setPrototypeOf(o, p) { HelpIconPopoverExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return HelpIconPopoverExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var HelpIconPopoverExample_HelpIconPopoverExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- HelpIconPopoverExample__inherits(HelpIconPopoverExample, _React$PureComponent);
-
- function HelpIconPopoverExample() {
- HelpIconPopoverExample__classCallCheck(this, HelpIconPopoverExample);
-
- return HelpIconPopoverExample__possibleConstructorReturn(this, HelpIconPopoverExample__getPrototypeOf(HelpIconPopoverExample).apply(this, arguments));
- }
-
- HelpIconPopoverExample__createClass(HelpIconPopoverExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["HelpIconPopover"], {
- id: "help-text-example",
- __source: {
- fileName: HelpIconPopoverExample__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: HelpIconPopoverExample__jsxFileName,
- lineNumber: 9
- },
- __self: this
- }, "Download your ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("em", {
- __source: {
- fileName: HelpIconPopoverExample__jsxFileName,
- lineNumber: 10
- },
- __self: this
- }, "latest"), " report."));
- }
- }]);
-
- return HelpIconPopoverExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var HelpIconPopoverExample_exampleProps = {
- componentName: 'Help Icon Popover',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: HelpIconPopoverExample__jsxFileName,
- lineNumber: 20
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: HelpIconPopoverExample__jsxFileName,
- lineNumber: 21
- },
- __self: this
- }, "Help icon is commonly used to deliver information on an area. On hover a popover will present the user with information about eg. cell, form section etc."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: HelpIconPopoverExample__jsxFileName,
- lineNumber: 25
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: HelpIconPopoverExample__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, "Example:"), " Cell and Form section.")),
- notes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: HelpIconPopoverExample__jsxFileName,
- lineNumber: 31
- },
- __self: this
- }, "Help text icon and popoover of rich-text. Useful in modals, accordions and page headers. For forms, use stacked", ' ', external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: HelpIconPopoverExample__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }, ".help-block"), " text."),
- exampleCodeSnippet: "\n \n Download your latest report.
\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'id',
- type: 'string',
- note: 'A unique identifier for the element.'
- }, {
- propType: 'children',
- type: 'node',
- note: 'Rich-text, html help message.'
- }, {
- propType: 'placement',
- type: 'string oneOf top, right, bottom, left',
- defaultValue: 'right'
- }]
- }]
-};
-/* harmony default export */ var examples_HelpIconPopoverExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, HelpIconPopoverExample_exampleProps, {
- __source: {
- fileName: HelpIconPopoverExample__jsxFileName,
- lineNumber: 64
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(HelpIconPopoverExample_HelpIconPopoverExample, {
- __source: {
- fileName: HelpIconPopoverExample__jsxFileName,
- lineNumber: 65
- },
- __self: this
- }));
-});
-// EXTERNAL MODULE: ./components/adslot-ui/Checkbox/index.jsx
-var Checkbox = __webpack_require__(68);
-
-// CONCATENATED MODULE: ../docs/examples/ListPickerExample.jsx
-var ListPickerExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/ListPickerExample.jsx";
-
-function ListPickerExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { ListPickerExample__typeof = function _typeof(obj) { return typeof obj; }; } else { ListPickerExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return ListPickerExample__typeof(obj); }
-
-function ListPickerExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function ListPickerExample__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 ListPickerExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) ListPickerExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) ListPickerExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function ListPickerExample__possibleConstructorReturn(self, call) { if (call && (ListPickerExample__typeof(call) === "object" || typeof call === "function")) { return call; } return ListPickerExample__assertThisInitialized(self); }
-
-function ListPickerExample__getPrototypeOf(o) { ListPickerExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return ListPickerExample__getPrototypeOf(o); }
-
-function ListPickerExample__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) ListPickerExample__setPrototypeOf(subClass, superClass); }
-
-function ListPickerExample__setPrototypeOf(o, p) { ListPickerExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return ListPickerExample__setPrototypeOf(o, p); }
-
-function ListPickerExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var teamMember1 = {
- avatar: '//lorempixel.com/35/35/people/7',
- givenName: 'John',
- id: 1,
- surname: 'Smith'
-};
-var teamMember2 = {
- givenName: 'Jane',
- id: 2,
- surname: 'Doe'
-};
-var teamMember3 = {
- givenName: 'Jack',
- id: 3,
- surname: 'White'
-};
-var listPickerItems = [teamMember1, teamMember2, teamMember3];
-var listPickerInitialSelection = [teamMember2];
-
-var labelFormatter = function labelFormatter(item) {
- return "".concat(item.givenName, " ").concat(item.surname);
-};
-
-var ListPickerExample_addonFormatter = function addonFormatter() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(ListPickerExample_UncontrolledCheckbox, {
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 17
- },
- __self: this
- });
-};
-
-var listPickerItemHeaders = {
- label: 'Team',
- toggle: 'Primary',
- addon: 'Secondary'
-};
-
-var ListPickerExample_UncontrolledCheckbox =
-/*#__PURE__*/
-function (_React$PureComponent) {
- ListPickerExample__inherits(UncontrolledCheckbox, _React$PureComponent);
-
- function UncontrolledCheckbox() {
- var _this;
-
- ListPickerExample__classCallCheck(this, UncontrolledCheckbox);
-
- _this = ListPickerExample__possibleConstructorReturn(this, ListPickerExample__getPrototypeOf(UncontrolledCheckbox).call(this));
- _this.state = {
- checked: false
- };
- _this.handleCheck = _this.handleCheck.bind(ListPickerExample__assertThisInitialized(ListPickerExample__assertThisInitialized(_this)));
- return _this;
- }
-
- ListPickerExample__createClass(UncontrolledCheckbox, [{
- key: "handleCheck",
- value: function handleCheck() {
- this.setState(function (prevState) {
- return {
- checked: !prevState.checked
- };
- });
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Checkbox["a" /* default */], {
- checked: this.state.checked,
- onChange: this.handleCheck,
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 38
- },
- __self: this
- });
- }
- }]);
-
- return UncontrolledCheckbox;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var ListPickerExample_ListPickerExample =
-/*#__PURE__*/
-function (_React$PureComponent2) {
- ListPickerExample__inherits(ListPickerExample, _React$PureComponent2);
-
- function ListPickerExample() {
- var _this2;
-
- ListPickerExample__classCallCheck(this, ListPickerExample);
-
- _this2 = ListPickerExample__possibleConstructorReturn(this, ListPickerExample__getPrototypeOf(ListPickerExample).call(this));
- _this2.state = {
- showListPickerModal: false
- };
- _this2.toggleListPickerModal = _this2.toggleListPickerModal.bind(ListPickerExample__assertThisInitialized(ListPickerExample__assertThisInitialized(_this2)));
- return _this2;
- }
-
- ListPickerExample__createClass(ListPickerExample, [{
- key: "toggleListPickerModal",
- value: function toggleListPickerModal() {
- this.setState(function (prevState) {
- return {
- showListPickerModal: !prevState.showListPickerModal
- };
- });
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 57
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["ListPicker"], {
- allowMultiSelection: false,
- initialSelection: listPickerInitialSelection,
- itemHeaders: listPickerItemHeaders,
- items: listPickerItems,
- itemType: "user",
- labelFormatter: labelFormatter,
- addonFormatter: ListPickerExample_addonFormatter,
- modalClose: this.toggleListPickerModal,
- modalApply: this.toggleListPickerModal,
- modalDescription: "Please select the user that you want.",
- modalFootnote: "You can select one user.",
- modalTitle: "Select User",
- show: this.state.showListPickerModal,
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 58
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- bsStyle: "primary",
- className: "btn-inverse",
- onClick: this.toggleListPickerModal,
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 73
- },
- __self: this
- }, "Request Approval"));
- }
- }]);
-
- return ListPickerExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var ListPickerExample_exampleProps = {
- componentName: 'List Picker',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 84
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- className: "text-bold",
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 85
- },
- __self: this
- }, "List picker"), " displays lists in modals for users to make selections and apply as required. This same pattern is used in the ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 86
- },
- __self: this
- }, "UserListPicker"), "."),
- exampleCodeSnippet: "\n \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'allowEmptySelection',
- type: 'boolean',
- defaultValue: 'true'
- }, {
- propType: 'allowMultiSelection',
- type: 'boolean',
- defaultValue: 'true'
- }, {
- propType: 'emptyIcon',
- type: 'string'
- }, {
- propType: 'emptyMessage',
- type: 'string'
- }, {
- propType: 'emptySvgSymbol',
- type: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 130
- },
- __self: this
- }, "shapeOf ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-component",
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 131
- },
- __self: this
- }, "SVG Symbol"), " prop types.")
- }, {
- propType: 'initialSelection',
- type: 'array',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 138
- },
- __self: this
- }, "[]")
- }, {
- propType: 'itemHeaders',
- type: 'shapeOf { string: label, string: toggle, string: addon }'
- }, {
- propType: 'itemInfo',
- type: 'shapeOf { string: label, arrayOf({ string: label, string: value }): properties, string: addon }'
- }, {
- propType: 'items',
- type: 'array',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 151
- },
- __self: this
- }, "[]")
- }, {
- propType: 'itemType',
- type: 'string',
- defaultValue: 'item'
- }, {
- propType: 'labelFormatter',
- type: 'func'
- }, {
- propType: 'addonFormatter',
- type: 'func'
- }, {
- propType: 'linkButtons',
- type: 'arrayOf(node|{ string: label, string: href })'
- }, {
- propType: 'modalApply',
- type: 'func',
- defaultValue: "() => { throw new Error('AdslotUi ListPicker needs a modalApply handler'); }"
- }, {
- propType: 'modalDescription',
- type: 'string'
- }, {
- propType: 'modalClassName',
- type: 'string',
- defaultValue: 'listpicker-component'
- }, {
- propType: 'modalClose',
- type: 'func',
- defaultValue: "() => { throw new Error('AdslotUi ListPicker needs a modalClose handler'); }"
- }, {
- propType: 'modalFootnote',
- type: 'string'
- }, {
- propType: 'modalTitle',
- type: 'string',
- defaultValue: 'Select Items'
- }, {
- propType: 'show',
- type: 'boolean',
- defaultValue: 'false'
- }]
- }]
-};
-/* harmony default export */ var examples_ListPickerExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, ListPickerExample_exampleProps, {
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 209
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(ListPickerExample_ListPickerExample, {
- __source: {
- fileName: ListPickerExample__jsxFileName,
- lineNumber: 210
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/PagedGridExample.jsx
-var PagedGridExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/PagedGridExample.jsx";
-
-function PagedGridExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { PagedGridExample__typeof = function _typeof(obj) { return typeof obj; }; } else { PagedGridExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return PagedGridExample__typeof(obj); }
-
-function PagedGridExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function PagedGridExample__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 PagedGridExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) PagedGridExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) PagedGridExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function PagedGridExample__possibleConstructorReturn(self, call) { if (call && (PagedGridExample__typeof(call) === "object" || typeof call === "function")) { return call; } return PagedGridExample__assertThisInitialized(self); }
-
-function PagedGridExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function PagedGridExample__getPrototypeOf(o) { PagedGridExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return PagedGridExample__getPrototypeOf(o); }
-
-function PagedGridExample__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) PagedGridExample__setPrototypeOf(subClass, superClass); }
-
-function PagedGridExample__setPrototypeOf(o, p) { PagedGridExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return PagedGridExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var PagedGridExample_PagedGridExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- PagedGridExample__inherits(PagedGridExample, _React$PureComponent);
-
- function PagedGridExample() {
- PagedGridExample__classCallCheck(this, PagedGridExample);
-
- return PagedGridExample__possibleConstructorReturn(this, PagedGridExample__getPrototypeOf(PagedGridExample).apply(this, arguments));
- }
-
- PagedGridExample__createClass(PagedGridExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PagedGrid"], {
- columns: [{
- key: 'id',
- label: 'ID'
- }, {
- key: 'givenName',
- label: 'Given Name',
- stretch: true
- }, {
- key: 'surname',
- label: 'Surname',
- stretch: true
- }],
- items: [{
- givenName: 'John',
- id: 1,
- surname: 'Smith'
- }, {
- givenName: 'Jane',
- id: 2,
- surname: 'Doe'
- }, {
- givenName: 'Jack',
- id: 3,
- surname: 'White'
- }],
- verticalCellBorder: true,
- perPage: 2,
- __source: {
- fileName: PagedGridExample__jsxFileName,
- lineNumber: 8
- },
- __self: this
- });
- }
- }]);
-
- return PagedGridExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var PagedGridExample_exampleProps = {
- componentName: 'Paged Grid',
- exampleCodeSnippet: "\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'columns',
- type: 'arrayOf({ string: key, node: label, bool: stretch })'
- }, {
- propType: 'emptyIcon',
- type: 'string'
- }, {
- propType: 'emptyMessage',
- type: 'string'
- }, {
- propType: 'emptySvgSymbol',
- type: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: PagedGridExample__jsxFileName,
- lineNumber: 61
- },
- __self: this
- }, "shapeOf ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-component",
- __source: {
- fileName: PagedGridExample__jsxFileName,
- lineNumber: 62
- },
- __self: this
- }, "SVG Symbol"), " prop types.")
- }, {
- propType: 'items',
- type: 'arrayOf({ node: id })'
- }, {
- propType: 'perPage',
- type: 'number'
- }, {
- propType: 'verticalCellBorder',
- type: 'boolean'
- }]
- }]
-};
-/* harmony default export */ var examples_PagedGridExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, PagedGridExample_exampleProps, {
- __source: {
- fileName: PagedGridExample__jsxFileName,
- lineNumber: 84
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(PagedGridExample_PagedGridExample, {
- __source: {
- fileName: PagedGridExample__jsxFileName,
- lineNumber: 85
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/PanelExample.jsx
-var PanelExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/PanelExample.jsx";
-
-function PanelExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { PanelExample__typeof = function _typeof(obj) { return typeof obj; }; } else { PanelExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return PanelExample__typeof(obj); }
-
-function PanelExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function PanelExample__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 PanelExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) PanelExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) PanelExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function PanelExample__possibleConstructorReturn(self, call) { if (call && (PanelExample__typeof(call) === "object" || typeof call === "function")) { return call; } return PanelExample__assertThisInitialized(self); }
-
-function PanelExample__getPrototypeOf(o) { PanelExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return PanelExample__getPrototypeOf(o); }
-
-function PanelExample__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) PanelExample__setPrototypeOf(subClass, superClass); }
-
-function PanelExample__setPrototypeOf(o, p) { PanelExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return PanelExample__setPrototypeOf(o, p); }
-
-function PanelExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-var PanelExample_PanelExample =
-/*#__PURE__*/
-function (_React$Component) {
- PanelExample__inherits(PanelExample, _React$Component);
-
- function PanelExample() {
- var _this;
-
- PanelExample__classCallCheck(this, PanelExample);
-
- _this = PanelExample__possibleConstructorReturn(this, PanelExample__getPrototypeOf(PanelExample).call(this));
- _this.state = {
- isCollapsed: true
- };
- _this.togglePanel = _this.togglePanel.bind(PanelExample__assertThisInitialized(PanelExample__assertThisInitialized(_this)));
- return _this;
- }
-
- PanelExample__createClass(PanelExample, [{
- key: "togglePanel",
- value: function togglePanel() {
- var nextPanel = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.assign({}, this.state);
-
- nextPanel.isCollapsed = !nextPanel.isCollapsed;
- this.setState(nextPanel);
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Panel"], {
- id: "8db886a1-671f-4a40-a000-3c6bf1f87ecd",
- title: "Read more about integration",
- isCollapsed: this.state.isCollapsed,
- onClick: this.togglePanel,
- __source: {
- fileName: PanelExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: PanelExample__jsxFileName,
- lineNumber: 29
- },
- __self: this
- }, "Lorem ipsum amet dolore voluptate veniam nulla dolore nulla adipisicing irure adipisicing qui fugiat veniam. Ullamco reprehenderit cillum irure esse ad eu dolor laboris."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: PanelExample__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }, "Consequat commodo consequat eiusmod sit mollit elit ex nostrud consectetur."));
- }
- }]);
-
- return PanelExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var PanelExample_exampleProps = {
- componentName: 'Panel',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: PanelExample__jsxFileName,
- lineNumber: 42
- },
- __self: this
- }, "Panel is an expandable information panel which can be used in a group (accordion). Panel is not commonly used on its own."),
- exampleCodeSnippet: "\n \n \n Lorem ipsum amet dolore voluptate veniam nulla dolore nulla adipisicing irure\n adipisicing qui fugiat veniam. Ullamco reprehenderit cillum irure esse ad eu dolor laboris.\n
\n Consequat commodo consequat eiusmod sit mollit elit ex nostrud consectetur.
\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'id',
- type: 'string',
- defaultValue: '',
- note: ''
- }, {
- propType: 'className',
- type: 'string',
- defaultValue: '',
- note: ''
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }, {
- propType: 'icon',
- type: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: PanelExample__jsxFileName,
- lineNumber: 83
- },
- __self: this
- }, "shapeOf ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-component",
- __source: {
- fileName: PanelExample__jsxFileName,
- lineNumber: 84
- },
- __self: this
- }, "SVG Symbol"), " prop types.")
- }, {
- propType: 'title',
- type: 'string',
- defaultValue: '',
- note: ''
- }, {
- propType: 'isCollapsed',
- type: 'boolean',
- note: ''
- }, {
- propType: 'onClick',
- type: 'func',
- defaultValue: '',
- note: ''
- }, {
- propType: 'children',
- type: 'node',
- defaultValue: '',
- note: ''
- }]
- }]
-};
-/* harmony default export */ var examples_PanelExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, PanelExample_exampleProps, {
- __source: {
- fileName: PanelExample__jsxFileName,
- lineNumber: 117
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(PanelExample_PanelExample, {
- __source: {
- fileName: PanelExample__jsxFileName,
- lineNumber: 118
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/SearchExample.jsx
-var SearchExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/SearchExample.jsx";
-
-function SearchExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SearchExample__typeof = function _typeof(obj) { return typeof obj; }; } else { SearchExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SearchExample__typeof(obj); }
-
-function SearchExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function SearchExample__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 SearchExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) SearchExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) SearchExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function SearchExample__possibleConstructorReturn(self, call) { if (call && (SearchExample__typeof(call) === "object" || typeof call === "function")) { return call; } return SearchExample__assertThisInitialized(self); }
-
-function SearchExample__getPrototypeOf(o) { SearchExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SearchExample__getPrototypeOf(o); }
-
-function SearchExample__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) SearchExample__setPrototypeOf(subClass, superClass); }
-
-function SearchExample__setPrototypeOf(o, p) { SearchExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SearchExample__setPrototypeOf(o, p); }
-
-function SearchExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var SearchExample_SearchExample =
-/*#__PURE__*/
-function (_React$Component) {
- SearchExample__inherits(SearchExample, _React$Component);
-
- function SearchExample() {
- var _this;
-
- SearchExample__classCallCheck(this, SearchExample);
-
- _this = SearchExample__possibleConstructorReturn(this, SearchExample__getPrototypeOf(SearchExample).call(this));
- _this.state = {
- value: ''
- };
- _this.onChange = _this.onChange.bind(SearchExample__assertThisInitialized(SearchExample__assertThisInitialized(_this)));
- _this.onSearch = _this.onSearch.bind(SearchExample__assertThisInitialized(SearchExample__assertThisInitialized(_this)));
- return _this;
- }
-
- SearchExample__createClass(SearchExample, [{
- key: "onChange",
- value: function onChange(value) {
- this.setState({
- value: value
- });
- }
- }, {
- key: "onSearch",
- value: function onSearch() {
- var _this2 = this;
-
- this.setState({
- isLoading: true
- });
- setTimeout(function () {
- return _this2.setState({
- isLoading: false
- });
- }, 950);
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Search"], {
- value: this.state.value,
- onChange: this.onChange,
- onSearch: this.onSearch,
- debounceInterval: 350,
- isLoading: this.state.isLoading,
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 30
- },
- __self: this
- });
- }
- }]);
-
- return SearchExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var SearchExample_exampleProps = {
- componentName: 'Search',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 44
- },
- __self: this
- }, "Search field is more commonly used within the pickers and modals with spinner indicating search action when you begin typing."),
- exampleCodeSnippet: "\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'disabled',
- type: 'bool',
- defaultValue: 'false',
- note: 'determine if the Search bar is disabled'
- }, {
- propType: 'isLoading',
- type: 'bool',
- defaultValue: 'false'
- }, {
- propType: 'onChange',
- type: 'func',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 74
- },
- __self: this
- }, "onChange(value)")
- }, {
- propType: 'onClear',
- type: 'func',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 79
- },
- __self: this
- }, "onClear(value)")
- }, {
- propType: 'onSearch',
- type: 'func',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 84
- },
- __self: this
- }, "onSearch(value)")
- }, {
- propType: 'placeholder',
- type: 'string',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 89
- },
- __self: this
- }, "''")
- }, {
- propType: 'svgSymbolCancel',
- type: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 94
- },
- __self: this
- }, "shapeOf ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-component",
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 95
- },
- __self: this
- }, "SVG Symbol"), " prop types."),
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("pre", {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 99
- },
- __self: this
- }, JSON.stringify({
- classSuffixes: ['gray-darker'],
- href: './docs/assets/svg-symbols.svg#cancel'
- }, null, 2))
- }, {
- propType: 'svgSymbolSearch',
- type: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 114
- },
- __self: this
- }, "shapeOf ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-component",
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 115
- },
- __self: this
- }, "SVG Symbol"), " prop types."),
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("pre", {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 119
- },
- __self: this
- }, JSON.stringify({
- classSuffixes: ['gray-light'],
- href: './docs/assets/svg-symbols.svg#search'
- }, null, 2))
- }, {
- propType: 'value',
- type: 'string',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 134
- },
- __self: this
- }, "''"),
- note: 'As value within search component is uncontrolled we need to pass in the search value externally.'
- }, {
- propType: 'searchOnChange',
- type: 'bool',
- defaultValue: 'true',
- note: 'determine if onSearch() will be fired upon text changes'
- }, {
- propType: 'searchOnEnterKey',
- type: 'bool',
- defaultValue: 'false',
- note: 'determine if onSearch() will be fired upon pressing Enter key'
- }, {
- propType: 'debounceInterval',
- type: 'number',
- defaultValue: '0'
- }]
- }]
-};
-/* harmony default export */ var examples_SearchExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, SearchExample_exampleProps, {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 160
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SearchExample_SearchExample, {
- __source: {
- fileName: SearchExample__jsxFileName,
- lineNumber: 161
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/SearchBarExample.jsx
-var SearchBarExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/SearchBarExample.jsx";
-
-function SearchBarExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SearchBarExample__typeof = function _typeof(obj) { return typeof obj; }; } else { SearchBarExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SearchBarExample__typeof(obj); }
-
-function SearchBarExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function SearchBarExample__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 SearchBarExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) SearchBarExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) SearchBarExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function SearchBarExample__possibleConstructorReturn(self, call) { if (call && (SearchBarExample__typeof(call) === "object" || typeof call === "function")) { return call; } return SearchBarExample__assertThisInitialized(self); }
-
-function SearchBarExample__getPrototypeOf(o) { SearchBarExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SearchBarExample__getPrototypeOf(o); }
-
-function SearchBarExample__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) SearchBarExample__setPrototypeOf(subClass, superClass); }
-
-function SearchBarExample__setPrototypeOf(o, p) { SearchBarExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SearchBarExample__setPrototypeOf(o, p); }
-
-function SearchBarExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var SearchBarExample_SearchBarExample =
-/*#__PURE__*/
-function (_React$Component) {
- SearchBarExample__inherits(SearchBarExample, _React$Component);
-
- function SearchBarExample() {
- var _this;
-
- SearchBarExample__classCallCheck(this, SearchBarExample);
-
- _this = SearchBarExample__possibleConstructorReturn(this, SearchBarExample__getPrototypeOf(SearchBarExample).call(this));
- _this.state = {
- searchBarString: ''
- };
- _this.setSearchBarString = _this.setSearchBarString.bind(SearchBarExample__assertThisInitialized(SearchBarExample__assertThisInitialized(_this)));
- _this.performSearchBarSearch = _this.performSearchBarSearch.bind(SearchBarExample__assertThisInitialized(SearchBarExample__assertThisInitialized(_this)));
- return _this;
- }
-
- SearchBarExample__createClass(SearchBarExample, [{
- key: "setSearchBarString",
- value: function setSearchBarString(searchBarString) {
- this.setState({
- searchBarString: searchBarString
- });
- }
- }, {
- key: "performSearchBarSearch",
- value: function performSearchBarSearch() {
- return;
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SearchBar"], {
- searchString: this.state.searchBarString,
- searchPlaceholder: "Enter a word or phrase to find matching items.",
- searchIconHref: "./docs/assets/svg-symbols.svg#search",
- onSearchStringChange: this.setSearchBarString,
- onSearch: this.performSearchBarSearch,
- __source: {
- fileName: SearchBarExample__jsxFileName,
- lineNumber: 25
- },
- __self: this
- });
- }
- }]);
-
- return SearchBarExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var SearchBarExample_exampleProps = {
- componentName: 'SearchBar',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: SearchBarExample__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }, "Search Bar is commonly used above the pages designed to manage filter pills and search."),
- exampleCodeSnippet: "\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'additionalClassNames',
- type: 'array',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: SearchBarExample__jsxFileName,
- lineNumber: 53
- },
- __self: this
- }, "[]"),
- note: 'array of strings'
- }, {
- propType: 'searchString',
- type: 'string',
- note: 'required'
- }, {
- propType: 'searchPlaceholder',
- type: 'string'
- }, {
- propType: 'searchIconHref',
- type: 'string',
- note: 'required'
- }, {
- propType: 'onSearchStringChange',
- type: 'func',
- note: 'required'
- }, {
- propType: 'onSearch',
- type: 'func',
- note: 'required'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }]
- }]
-};
-/* harmony default export */ var examples_SearchBarExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, SearchBarExample_exampleProps, {
- __source: {
- fileName: SearchBarExample__jsxFileName,
- lineNumber: 91
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SearchBarExample_SearchBarExample, {
- __source: {
- fileName: SearchBarExample__jsxFileName,
- lineNumber: 92
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/TreePickerExample.jsx
-var TreePickerExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/TreePickerExample.jsx";
-
-function TreePickerExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { TreePickerExample__typeof = function _typeof(obj) { return typeof obj; }; } else { TreePickerExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return TreePickerExample__typeof(obj); }
-
-function TreePickerExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function TreePickerExample__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 TreePickerExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) TreePickerExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) TreePickerExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function TreePickerExample__possibleConstructorReturn(self, call) { if (call && (TreePickerExample__typeof(call) === "object" || typeof call === "function")) { return call; } return TreePickerExample__assertThisInitialized(self); }
-
-function TreePickerExample__getPrototypeOf(o) { TreePickerExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return TreePickerExample__getPrototypeOf(o); }
-
-function TreePickerExample__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) TreePickerExample__setPrototypeOf(subClass, superClass); }
-
-function TreePickerExample__setPrototypeOf(o, p) { TreePickerExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return TreePickerExample__setPrototypeOf(o, p); }
-
-function TreePickerExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-
-var TreePickerExample_TreePickerExample =
-/*#__PURE__*/
-function (_React$Component) {
- TreePickerExample__inherits(TreePickerExample, _React$Component);
-
- function TreePickerExample() {
- var _this;
-
- TreePickerExample__classCallCheck(this, TreePickerExample);
-
- _this = TreePickerExample__possibleConstructorReturn(this, TreePickerExample__getPrototypeOf(TreePickerExample).call(this));
- _this.state = {
- itemType: 'segment value',
- treePickerPureSubtree: [],
- selectedNodes: [],
- pickerSearchValue: '',
- subTree: [{
- id: '0',
- label: 'Northern Territory',
- path: [{
- id: '10',
- label: 'Australia'
- }],
- type: 'Territory'
- }, {
- id: '1',
- label: 'Australian Capital Territory',
- path: [{
- id: '10',
- label: 'Australia'
- }],
- type: 'Territory'
- }, {
- id: '2',
- label: 'Victoria',
- path: [{
- id: '10',
- label: 'Australia'
- }],
- type: 'State'
- }]
- };
- _this.setPickerSearchValue = _this.setPickerSearchValue.bind(TreePickerExample__assertThisInitialized(TreePickerExample__assertThisInitialized(_this)));
- return _this;
- }
-
- TreePickerExample__createClass(TreePickerExample, [{
- key: "setPickerSearchValue",
- value: function setPickerSearchValue(newValue) {
- this.setState({
- pickerSearchValue: newValue
- });
- this.setState({
- treePickerPureSubtree: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.filter(this.state.subTree, function (_ref) {
- var label = _ref.label;
-
- if (newValue) {
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.includes(label.toLowerCase(), newValue.toLowerCase());
- }
-
- return false;
- })
- });
- }
- }, {
- key: "pickerSearchOnClear",
- value: function pickerSearchOnClear() {
- this.setPickerSearchValue('');
- }
- }, {
- key: "render",
- value: function render() {
- var _this2 = this;
-
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["TreePickerSimplePure"], {
- itemType: this.state.itemType,
- hideIcon: true,
- selectedNodes: this.state.selectedNodes,
- subtree: this.state.treePickerPureSubtree,
- emptySelectedListText: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 62
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 63
- },
- __self: this
- }, "Choose items of interest")),
- initialStateNode: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 67
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("b", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 68
- },
- __self: this
- }, "Start by searching for items")),
- searchValue: this.state.pickerSearchValue,
- onChange: this.setPickerSearchValue,
- searchOnClear: this.pickerSearchOnClear,
- includeNode: function includeNode(node) {
- return _this2.setState({
- selectedNodes: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.concat([], _this2.state.selectedNodes, node)
- });
- },
- removeNode: function removeNode(node) {
- return _this2.setState({
- selectedNodes: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.reject(_this2.state.selectedNodes, {
- id: node.id
- })
- });
- },
- additionalClassNames: this.state.pickerSearchValue ? undefined : ['background-highlighted', 'test-class'],
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 56
- },
- __self: this
- });
- }
- }]);
-
- return TreePickerExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var TreePickerExample_exampleProps = {
- componentName: 'TreePicker',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 85
- },
- __self: this
- }, "Tree pickers are useful for users when we require to configure from large list, allowing users to clearly see the result of their action in the right panel. This split view allows the user to quickly edit, review and save their selection."),
- exampleCodeSnippet: "\n Choose items of interest }\n initialStateNode={Start by searching for items
}\n searchValue={this.state.pickerSearchValue}\n onChange={this.setPickerSearchValue}\n searchOnClear={this.pickerSearchOnClear}\n additionalClassNames={this.state.pickerSearchValue ? undefined : ['background-highlighted', 'test-class']}\n />",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'additionalClassNames',
- type: 'arrayOf(string)',
- note: 'Class Names for SplitPane component'
- }, {
- propType: 'breadcrumbNodes',
- type: 'arrayOf { id: string/number, label: string }',
- note: "returns node id. This prop is not required,\n but an empty array is not allowed. At least one element is required in the array."
- }, {
- propType: 'breadcrumbOnClick',
- type: 'func',
- note: 'This propType creates a list of breadcrumb node'
- }, {
- propType: 'debounceInterval',
- type: 'number',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 126
- },
- __self: this
- }, "0"),
- note: 'Interval time on search'
- }, {
- propType: 'disabled',
- type: 'bool',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 132
- },
- __self: this
- }, "false"),
- note: 'disables treepicker including search bar'
- }, {
- propType: 'disableInclude',
- type: 'bool',
- note: "disables treepicker's grid item"
- }, {
- propType: 'emptySvgSymbol',
- type: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 143
- },
- __self: this
- }, "shapeOf ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-component",
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 144
- },
- __self: this
- }, "SVG Symbol"), " prop types."),
- note: "displays this svg symbol when there will be no item on both left or right Grid"
- }, {
- propType: 'emptySelectedListSvgSymbol',
- type: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 152
- },
- __self: this
- }, "shapeOf ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-component",
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 153
- },
- __self: this
- }, "SVG Symbol"), " prop types."),
- note: "displays this svg symbol when there will be no item on right Grid(Selected list)"
- }, {
- propType: 'emptyText',
- type: 'node',
- note: "displays this text when there will be no item on left Grid. Prefer type 'string', but rich text can be used here."
- }, {
- propType: 'emptySelectedListText',
- type: 'node',
- note: "displays this text when there will be no item on right Grid(Selected list). Prefer type 'string', but rich text can be used here."
- }, {
- propType: 'expandNode',
- type: 'func',
- note: "triggers when clicking any item in the left Grid"
- }, {
- propType: 'groupFormatter',
- type: 'func',
- note: "this function use to transform keys of the list item in the left Grid"
- }, {
- propType: 'hideIcon',
- type: 'bool',
- note: "hides icon when displays empty symbol"
- }, {
- propType: 'includeNode',
- type: 'func',
- note: "onclick event on '+' button of each list Item"
- }, {
- propType: 'initialStateNode',
- type: 'node',
- note: 'same as emptyText'
- }, {
- propType: 'initialStateSymbol',
- type: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 196
- },
- __self: this
- }, "shapeOf ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-component",
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 197
- },
- __self: this
- }, "SVG Symbol"), " prop types."),
- note: 'same as emptySymbol'
- }, {
- propType: 'itemType',
- type: 'string',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 205
- },
- __self: this
- }, "'node'"),
- note: 'uses for specific className'
- }, {
- propType: 'isLoading',
- type: 'bool',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 211
- },
- __self: this
- }, "false")
- }, {
- propType: 'nodeRenderer',
- type: 'func',
- note: 'uses for rendering custom node'
- }, {
- propType: 'removeNode',
- type: 'func'
- }, {
- propType: 'onChange',
- type: 'func',
- note: 'onChange function triggers, when search input changes'
- }, {
- propType: 'onClear',
- type: 'func',
- note: 'onClear function triggers, when the user clicks the clear button on search input'
- }, {
- propType: 'onSearch',
- type: 'func',
- note: 'not specified'
- }, {
- propType: 'searchOnChange',
- type: 'bool',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 240
- },
- __self: this
- }, "true"),
- note: 'When true, search is triggered as soon as the user types in the search field'
- }, {
- propType: 'searchOnEnterKey',
- type: 'bool',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 246
- },
- __self: this
- }, "false"),
- note: 'When true, triggers search when the user presses the Enter key'
- }, {
- propType: 'searchPlaceholder',
- type: 'string'
- }, {
- propType: 'searchValue',
- type: 'string'
- }, {
- propType: 'selectedNodes',
- type: 'arrayOf Treepicker Nodes',
- note: 'required'
- }, {
- propType: 'subtree',
- type: 'arrayOf Treepicker Nodes',
- note: "A list of available unselected nodes. This prop is not required,\n but an empty array is not allowed. At least one element is required in the array."
- }, {
- propType: 'svgSymbolCancel',
- type: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 271
- },
- __self: this
- }, "shapeOf ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-component",
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 272
- },
- __self: this
- }, "SVG Symbol"), " prop types.")
- }, {
- propType: 'svgSymbolSearch',
- type: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 279
- },
- __self: this
- }, "shapeOf ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-component",
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 280
- },
- __self: this
- }, "SVG Symbol"), " prop types.")
- }, {
- propType: 'displayGroupHeader',
- type: 'bool',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 287
- },
- __self: this
- }, "true"),
- note: 'e.g: Default Group'
- }, {
- propType: 'hideSearchOnRoot',
- type: 'bool',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 293
- },
- __self: this
- }, "false")
- }]
- }]
-};
-/* harmony default export */ var examples_TreePickerExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, TreePickerExample_exampleProps, {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 301
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(TreePickerExample_TreePickerExample, {
- __source: {
- fileName: TreePickerExample__jsxFileName,
- lineNumber: 302
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/UserListPickerExample.jsx
-var UserListPickerExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/UserListPickerExample.jsx";
-
-function UserListPickerExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { UserListPickerExample__typeof = function _typeof(obj) { return typeof obj; }; } else { UserListPickerExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return UserListPickerExample__typeof(obj); }
-
-function UserListPickerExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function UserListPickerExample__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 UserListPickerExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) UserListPickerExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) UserListPickerExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function UserListPickerExample__possibleConstructorReturn(self, call) { if (call && (UserListPickerExample__typeof(call) === "object" || typeof call === "function")) { return call; } return UserListPickerExample__assertThisInitialized(self); }
-
-function UserListPickerExample__getPrototypeOf(o) { UserListPickerExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return UserListPickerExample__getPrototypeOf(o); }
-
-function UserListPickerExample__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) UserListPickerExample__setPrototypeOf(subClass, superClass); }
-
-function UserListPickerExample__setPrototypeOf(o, p) { UserListPickerExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return UserListPickerExample__setPrototypeOf(o, p); }
-
-function UserListPickerExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var avatarColor = function avatarColor() {
- return 'cyan';
-};
-
-var emptySvgSymbol = {
- href: './docs/assets/svg-symbols.svg#checklist-incomplete'
-};
-var UserListPickerExample_teamMember1 = {
- avatar: '//lorempixel.com/35/35/people/7',
- givenName: 'John',
- id: 1,
- surname: 'Smith'
-};
-var UserListPickerExample_teamMember2 = {
- givenName: 'Jane',
- id: 2,
- surname: 'Doe'
-};
-var UserListPickerExample_teamMember3 = {
- givenName: 'Jack',
- id: 3,
- surname: 'White'
-};
-var UserListPickerExample_listPickerItems = [UserListPickerExample_teamMember1, UserListPickerExample_teamMember2, UserListPickerExample_teamMember3];
-var UserListPickerExample_listPickerInitialSelection = [UserListPickerExample_teamMember2];
-var UserListPickerExample_listPickerItemHeaders = {
- label: 'Team',
- toggle: 'Member',
- addon: 'Required'
-};
-
-var UserListPickerExample_UserListPickerExample =
-/*#__PURE__*/
-function (_React$Component) {
- UserListPickerExample__inherits(UserListPickerExample, _React$Component);
-
- function UserListPickerExample() {
- var _this;
-
- UserListPickerExample__classCallCheck(this, UserListPickerExample);
-
- _this = UserListPickerExample__possibleConstructorReturn(this, UserListPickerExample__getPrototypeOf(UserListPickerExample).call(this));
- _this.state = {
- showUserListPickerModal: false
- };
- _this.toggleUserListPickerModal = _this.toggleUserListPickerModal.bind(UserListPickerExample__assertThisInitialized(UserListPickerExample__assertThisInitialized(_this)));
- return _this;
- }
-
- UserListPickerExample__createClass(UserListPickerExample, [{
- key: "toggleUserListPickerModal",
- value: function toggleUserListPickerModal() {
- this.setState({
- showUserListPickerModal: !this.state.showUserListPickerModal
- });
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 42
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["UserListPicker"], {
- avatarColor: avatarColor,
- emptySvgSymbol: emptySvgSymbol,
- initialSelection: UserListPickerExample_listPickerInitialSelection,
- modalClose: this.toggleUserListPickerModal,
- modalApply: this.toggleUserListPickerModal,
- modalDescription: "Please select the users you want.",
- modalTitle: "Select Users",
- show: this.state.showUserListPickerModal,
- userHeaders: UserListPickerExample_listPickerItemHeaders,
- users: UserListPickerExample_listPickerItems,
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 43
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- className: "btn-inverse",
- onClick: this.toggleUserListPickerModal,
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }, "Assign Team"));
- }
- }]);
-
- return UserListPickerExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var UserListPickerExample_exampleProps = {
- componentName: 'UserListPicker',
- notes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 66
- },
- __self: this
- }, "Implements ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#list-picker-example",
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 67
- },
- __self: this
- }, "List Picker"), " Component"),
- exampleCodeSnippet: "\n \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'allowEmptySelection',
- type: 'bool',
- defaultValue: 'false'
- }, {
- propType: 'avatarColor',
- type: 'func',
- note: 'avatarColor({ avatar, givenName, id, surname })'
- }, {
- propType: 'emptyIcon',
- type: 'string'
- }, {
- propType: 'emptyMessage',
- type: 'string',
- defaultValue: 'No users.'
- }, {
- propType: 'emptySvgSymbol',
- type: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 109
- },
- __self: this
- }, "shapeOf ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-component",
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 110
- },
- __self: this
- }, "SVG Symbol"), " prop types.")
- }, {
- propType: 'initialSelection',
- type: 'arrayOf { string: avatar, string: givenName, number: id, string: surname }',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 117
- },
- __self: this
- }, "[]")
- }, {
- propType: 'modalApply',
- type: 'func'
- }, {
- propType: 'modalDescription',
- type: 'string',
- defaultValue: 'Select users.'
- }, {
- propType: 'modalClose',
- type: 'func'
- }, {
- propType: 'modalTitle',
- type: 'string',
- defaultValue: 'Select Users'
- }, {
- propType: 'show',
- type: 'bool',
- defaultValue: 'false'
- }, {
- propType: 'userHeaders',
- type: '{ string: label, string: toggle }',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 145
- },
- __self: this
- }, JSON.stringify({
- label: 'Team',
- toggle: 'Member'
- }))
- }, {
- propType: 'users',
- type: 'arrayOf {string: avatar, string: givenName, number: id, string: surname}',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 150
- },
- __self: this
- }, "[]")
- }]
- }]
-};
-/* harmony default export */ var examples_UserListPickerExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, UserListPickerExample_exampleProps, {
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 158
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(UserListPickerExample_UserListPickerExample, {
- __source: {
- fileName: UserListPickerExample__jsxFileName,
- lineNumber: 159
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/InformationBoxExample.jsx
-var InformationBoxExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/InformationBoxExample.jsx";
-
-function InformationBoxExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { InformationBoxExample__typeof = function _typeof(obj) { return typeof obj; }; } else { InformationBoxExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return InformationBoxExample__typeof(obj); }
-
-function InformationBoxExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function InformationBoxExample__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 InformationBoxExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) InformationBoxExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) InformationBoxExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function InformationBoxExample__possibleConstructorReturn(self, call) { if (call && (InformationBoxExample__typeof(call) === "object" || typeof call === "function")) { return call; } return InformationBoxExample__assertThisInitialized(self); }
-
-function InformationBoxExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function InformationBoxExample__getPrototypeOf(o) { InformationBoxExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return InformationBoxExample__getPrototypeOf(o); }
-
-function InformationBoxExample__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) InformationBoxExample__setPrototypeOf(subClass, superClass); }
-
-function InformationBoxExample__setPrototypeOf(o, p) { InformationBoxExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return InformationBoxExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var InformationBoxExample_InformationBoxExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- InformationBoxExample__inherits(InformationBoxExample, _React$PureComponent);
-
- function InformationBoxExample() {
- InformationBoxExample__classCallCheck(this, InformationBoxExample);
-
- return InformationBoxExample__possibleConstructorReturn(this, InformationBoxExample__getPrototypeOf(InformationBoxExample).apply(this, arguments));
- }
-
- InformationBoxExample__createClass(InformationBoxExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["InformationBox"], {
- title: "This is an information",
- icon: "./docs/assets/svg-symbols.svg#cancel",
- __source: {
- fileName: InformationBoxExample__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }, "Content body.");
- }
- }]);
-
- return InformationBoxExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var InformationBoxExample_exampleProps = {
- componentName: 'Information Box',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: InformationBoxExample__jsxFileName,
- lineNumber: 18
- },
- __self: this
- }, "Information box is commonly used to highlight useful information on recent actions as well as what needs to be next in the workflow."),
- exampleCodeSnippet: "\n \n Content body.\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'children',
- type: 'node'
- }, {
- propType: 'icon',
- type: 'string',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("span", {
- __source: {
- fileName: InformationBoxExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }, "href for ", external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "#svg-symbol-example",
- __source: {
- fileName: InformationBoxExample__jsxFileName,
- lineNumber: 41
- },
- __self: this
- }, "SVG Symbol"), " component.")
- }, {
- propType: 'title',
- type: 'string'
- }]
- }]
-};
-/* harmony default export */ var examples_InformationBoxExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, InformationBoxExample_exampleProps, {
- __source: {
- fileName: InformationBoxExample__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(InformationBoxExample_InformationBoxExample, {
- __source: {
- fileName: InformationBoxExample__jsxFileName,
- lineNumber: 56
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/SplitPaneExample.jsx
-var SplitPaneExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/SplitPaneExample.jsx";
-
-function SplitPaneExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { SplitPaneExample__typeof = function _typeof(obj) { return typeof obj; }; } else { SplitPaneExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return SplitPaneExample__typeof(obj); }
-
-function SplitPaneExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function SplitPaneExample__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 SplitPaneExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) SplitPaneExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) SplitPaneExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function SplitPaneExample__possibleConstructorReturn(self, call) { if (call && (SplitPaneExample__typeof(call) === "object" || typeof call === "function")) { return call; } return SplitPaneExample__assertThisInitialized(self); }
-
-function SplitPaneExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function SplitPaneExample__getPrototypeOf(o) { SplitPaneExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return SplitPaneExample__getPrototypeOf(o); }
-
-function SplitPaneExample__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) SplitPaneExample__setPrototypeOf(subClass, superClass); }
-
-function SplitPaneExample__setPrototypeOf(o, p) { SplitPaneExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return SplitPaneExample__setPrototypeOf(o, p); }
-
-
-
-
-
-var SplitPaneExample_SplitPaneExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- SplitPaneExample__inherits(SplitPaneExample, _React$PureComponent);
-
- function SplitPaneExample() {
- SplitPaneExample__classCallCheck(this, SplitPaneExample);
-
- return SplitPaneExample__possibleConstructorReturn(this, SplitPaneExample__getPrototypeOf(SplitPaneExample).apply(this, arguments));
- }
-
- SplitPaneExample__createClass(SplitPaneExample, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- style: {
- display: 'flex'
- },
- __source: {
- fileName: SplitPaneExample__jsxFileName,
- lineNumber: 8
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SplitPane"], {
- dts: "left-side",
- __source: {
- fileName: SplitPaneExample__jsxFileName,
- lineNumber: 9
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: SplitPaneExample__jsxFileName,
- lineNumber: 10
- },
- __self: this
- }, "First pane")), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["SplitPane"], {
- dts: "right-side",
- __source: {
- fileName: SplitPaneExample__jsxFileName,
- lineNumber: 12
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: SplitPaneExample__jsxFileName,
- lineNumber: 13
- },
- __self: this
- }, "Second pane")));
- }
- }]);
-
- return SplitPaneExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var SplitPaneExample_exampleProps = {
- componentName: 'SplitPane',
- exampleCodeSnippet: "\n \n
\n First pane
\n \n
\n Second pane
\n \n
",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'additionalClassNames',
- type: 'array',
- defaultValue: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("code", {
- __source: {
- fileName: SplitPaneExample__jsxFileName,
- lineNumber: 37
- },
- __self: this
- }, "[]")
- }, {
- propType: 'children',
- type: 'node'
- }, {
- propType: 'dts',
- type: 'string',
- note: 'render `data-test-selector` onto the component. It can be useful for testing.'
- }]
- }]
-};
-/* harmony default export */ var examples_SplitPaneExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, SplitPaneExample_exampleProps, {
- __source: {
- fileName: SplitPaneExample__jsxFileName,
- lineNumber: 54
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SplitPaneExample_SplitPaneExample, {
- __source: {
- fileName: SplitPaneExample__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/HoverDropdownMenuExample.jsx
-var HoverDropdownMenuExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/HoverDropdownMenuExample.jsx";
-
-function HoverDropdownMenuExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { HoverDropdownMenuExample__typeof = function _typeof(obj) { return typeof obj; }; } else { HoverDropdownMenuExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return HoverDropdownMenuExample__typeof(obj); }
-
-function HoverDropdownMenuExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function HoverDropdownMenuExample__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 HoverDropdownMenuExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) HoverDropdownMenuExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) HoverDropdownMenuExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function HoverDropdownMenuExample__possibleConstructorReturn(self, call) { if (call && (HoverDropdownMenuExample__typeof(call) === "object" || typeof call === "function")) { return call; } return HoverDropdownMenuExample__assertThisInitialized(self); }
-
-function HoverDropdownMenuExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function HoverDropdownMenuExample__getPrototypeOf(o) { HoverDropdownMenuExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return HoverDropdownMenuExample__getPrototypeOf(o); }
-
-function HoverDropdownMenuExample__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) HoverDropdownMenuExample__setPrototypeOf(subClass, superClass); }
-
-function HoverDropdownMenuExample__setPrototypeOf(o, p) { HoverDropdownMenuExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return HoverDropdownMenuExample__setPrototypeOf(o, p); }
-
-
-
-
-
-
-var HoverDropdownMenuExample_HoverDropdownMenuExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- HoverDropdownMenuExample__inherits(HoverDropdownMenuExample, _React$PureComponent);
-
- function HoverDropdownMenuExample() {
- HoverDropdownMenuExample__classCallCheck(this, HoverDropdownMenuExample);
-
- return HoverDropdownMenuExample__possibleConstructorReturn(this, HoverDropdownMenuExample__getPrototypeOf(HoverDropdownMenuExample).apply(this, arguments));
- }
-
- HoverDropdownMenuExample__createClass(HoverDropdownMenuExample, [{
- key: "render",
- value: function render() {
- var links = [{
- title: 'Adslot.com',
- url: 'http://www.adslot.com',
- target: '_self',
- isEnabled: true,
- onClick: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.noop
- }, {
- title: 'Logout',
- url: '#',
- target: '_modal',
- isEnabled: true,
- onClick: external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.noop
- }];
- var props = {
- arrowPosition: 'left',
- headerText: 'Hello, John Smith',
- hoverComponent: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Avatar"], {
- givenName: "John",
- surname: "Smith",
- __source: {
- fileName: HoverDropdownMenuExample__jsxFileName,
- lineNumber: 28
- },
- __self: this
- })
- };
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "hover-dropdown-example",
- __source: {
- fileName: HoverDropdownMenuExample__jsxFileName,
- lineNumber: 32
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["HoverDropdownMenu"], Object.assign({}, props, {
- __source: {
- fileName: HoverDropdownMenuExample__jsxFileName,
- lineNumber: 33
- },
- __self: this
- }), external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.map(links, function (link) {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["HoverDropdownMenu"].Item, Object.assign({
- key: link.title
- }, link, {
- __source: {
- fileName: HoverDropdownMenuExample__jsxFileName,
- lineNumber: 35
- },
- __self: this
- }));
- })));
- }
- }]);
-
- return HoverDropdownMenuExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var HoverDropdownMenuExample_exampleProps = {
- componentName: 'Hover Dropdown Menu',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: HoverDropdownMenuExample__jsxFileName,
- lineNumber: 46
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: HoverDropdownMenuExample__jsxFileName,
- lineNumber: 47
- },
- __self: this
- }, "Hover dropdown menu aids in helping the user discover selectable options on rollover."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: HoverDropdownMenuExample__jsxFileName,
- lineNumber: 48
- },
- __self: this
- }, "Example: Profile menu")),
- exampleCodeSnippet: "\n const links = [\n {\n title: 'Adslot.com',\n url: 'http://www.adslot.com',\n target: '_self',\n isEnabled: true,\n onClick: _.noop,\n },\n {\n title: 'Logout',\n url: '#',\n target: '_modal',\n isEnabled: true,\n onClick: _.noop,\n },\n ];\n\n const props = {\n arrowPosition: 'left',\n headerText: 'Hello, John Smith',\n hoverComponent: ( ),\n };\n\n \n \n {_.map(links, (link) => (\n \n ))}\n \n
\n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'arrowPosition',
- type: "oneOf ['left', 'right']",
- defaultValue: 'left',
- note: 'determine the placement of the popover'
- }, {
- propType: 'headerText',
- type: 'string',
- defaultValue: '',
- note: 'If set to empty string, header will not be rendered.'
- }, {
- propType: 'links',
- type: "arrayOf {oneOf ['_self', '_modal']: target, string: title, string: url, bool: isEnabled}",
- defaultValue: '[ ]',
- note: 'Each link will be used to render dropdown item'
- }, {
- propType: 'hoverComponent',
- type: 'node',
- note: 'displayed element to be hovered on, e.g. Avatar component.'
- }, {
- propType: 'onLinkClick',
- type: 'func',
- note: 'onLinkClick(link), callback when user clicks on a dropdown item; link is an object of `links` prop',
- defaultValue: '_.noop'
- }]
- }]
-};
-/* harmony default export */ var examples_HoverDropdownMenuExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, HoverDropdownMenuExample_exampleProps, {
- __source: {
- fileName: HoverDropdownMenuExample__jsxFileName,
- lineNumber: 121
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(HoverDropdownMenuExample_HoverDropdownMenuExample, {
- __source: {
- fileName: HoverDropdownMenuExample__jsxFileName,
- lineNumber: 122
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/NavigationExample.jsx
-var NavigationExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/NavigationExample.jsx";
-
-function NavigationExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { NavigationExample__typeof = function _typeof(obj) { return typeof obj; }; } else { NavigationExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return NavigationExample__typeof(obj); }
-
-function NavigationExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function NavigationExample__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 NavigationExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) NavigationExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) NavigationExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function NavigationExample__possibleConstructorReturn(self, call) { if (call && (NavigationExample__typeof(call) === "object" || typeof call === "function")) { return call; } return NavigationExample__assertThisInitialized(self); }
-
-function NavigationExample__getPrototypeOf(o) { NavigationExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return NavigationExample__getPrototypeOf(o); }
-
-function NavigationExample__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) NavigationExample__setPrototypeOf(subClass, superClass); }
-
-function NavigationExample__setPrototypeOf(o, p) { NavigationExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return NavigationExample__setPrototypeOf(o, p); }
-
-function NavigationExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var NavigationExample_NavigationExample =
-/*#__PURE__*/
-function (_React$PureComponent) {
- NavigationExample__inherits(NavigationExample, _React$PureComponent);
-
- function NavigationExample(props) {
- var _this;
-
- NavigationExample__classCallCheck(this, NavigationExample);
-
- _this = NavigationExample__possibleConstructorReturn(this, NavigationExample__getPrototypeOf(NavigationExample).call(this, props));
- _this.state = {
- activeKey: 0
- };
- _this.onSelect = _this.onSelect.bind(NavigationExample__assertThisInitialized(NavigationExample__assertThisInitialized(_this)));
- return _this;
- }
-
- NavigationExample__createClass(NavigationExample, [{
- key: "onSelect",
- value: function onSelect(eventKey) {
- this.setState({
- activeKey: eventKey
- });
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Nav"], {
- activeKey: this.state.activeKey,
- onSelect: this.onSelect,
- __source: {
- fileName: NavigationExample__jsxFileName,
- lineNumber: 22
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["NavItem"], {
- eventKey: 0,
- href: "#",
- title: "Dashboard Home",
- className: "dashboard-tab",
- __source: {
- fileName: NavigationExample__jsxFileName,
- lineNumber: 23
- },
- __self: this
- }, "Dashboard"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["NavItem"], {
- eventKey: 1,
- title: "Analytics Reporting",
- __source: {
- fileName: NavigationExample__jsxFileName,
- lineNumber: 26
- },
- __self: this
- }, "Reports"));
- }
- }]);
-
- return NavigationExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.PureComponent);
-
-var NavigationExample_exampleProps = {
- componentName: 'Navigation Tabs',
- designNotes: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- __source: {
- fileName: NavigationExample__jsxFileName,
- lineNumber: 37
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("p", {
- __source: {
- fileName: NavigationExample__jsxFileName,
- lineNumber: 38
- },
- __self: this
- }, "Primarily used as secondary level navigation which requires users to switch between views and information."), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("label", {
- __source: {
- fileName: NavigationExample__jsxFileName,
- lineNumber: 39
- },
- __self: this
- }, "Example: Campaign navigation.")),
- exampleCodeSnippet: "\n \n Dashboard \n Reports \n ",
- propTypeSectionArray: [{
- propTypes: [{
- propType: 'React Bootstrap Nav prop types',
- type: '',
- defaultValue: '',
- note: external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("a", {
- href: "https://react-bootstrap.github.io/components/navs/#navs-props",
- target: "_blank",
- rel: "noopener noreferrer",
- __source: {
- fileName: NavigationExample__jsxFileName,
- lineNumber: 55
- },
- __self: this
- }, "React Bootstrap Docs")
- }, {
- propType: 'dts',
- type: 'string',
- note: 'data-test-selector; used for testing purposes'
- }, {
- propType: 'barPosition',
- type: "oneOf: 'top', 'bottom'",
- defaultValue: 'bottom',
- note: 'Determine the position of selected tab bar indicator'
- }]
- }]
-};
-/* harmony default export */ var examples_NavigationExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, NavigationExample_exampleProps, {
- __source: {
- fileName: NavigationExample__jsxFileName,
- lineNumber: 81
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(NavigationExample_NavigationExample, {
- __source: {
- fileName: NavigationExample__jsxFileName,
- lineNumber: 82
- },
- __self: this
- }));
-});
-// CONCATENATED MODULE: ../docs/examples/OverlayLoaderExample.jsx
-var OverlayLoaderExample__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/examples/OverlayLoaderExample.jsx";
-
-function OverlayLoaderExample__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { OverlayLoaderExample__typeof = function _typeof(obj) { return typeof obj; }; } else { OverlayLoaderExample__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return OverlayLoaderExample__typeof(obj); }
-
-function OverlayLoaderExample__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function OverlayLoaderExample__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 OverlayLoaderExample__createClass(Constructor, protoProps, staticProps) { if (protoProps) OverlayLoaderExample__defineProperties(Constructor.prototype, protoProps); if (staticProps) OverlayLoaderExample__defineProperties(Constructor, staticProps); return Constructor; }
-
-function OverlayLoaderExample__possibleConstructorReturn(self, call) { if (call && (OverlayLoaderExample__typeof(call) === "object" || typeof call === "function")) { return call; } return OverlayLoaderExample__assertThisInitialized(self); }
-
-function OverlayLoaderExample__getPrototypeOf(o) { OverlayLoaderExample__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return OverlayLoaderExample__getPrototypeOf(o); }
-
-function OverlayLoaderExample__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) OverlayLoaderExample__setPrototypeOf(subClass, superClass); }
-
-function OverlayLoaderExample__setPrototypeOf(o, p) { OverlayLoaderExample__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return OverlayLoaderExample__setPrototypeOf(o, p); }
-
-function OverlayLoaderExample__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-
-
-
-
-var OverlayLoaderExample_OverlayLoaderExample =
-/*#__PURE__*/
-function (_React$Component) {
- OverlayLoaderExample__inherits(OverlayLoaderExample, _React$Component);
-
- function OverlayLoaderExample(props) {
- var _this;
-
- OverlayLoaderExample__classCallCheck(this, OverlayLoaderExample);
-
- _this = OverlayLoaderExample__possibleConstructorReturn(this, OverlayLoaderExample__getPrototypeOf(OverlayLoaderExample).call(this, props));
- _this.state = {
- showDisabledLoader: false,
- showLoader: false
- };
- _this.toggleLoader = _this.toggleLoader.bind(OverlayLoaderExample__assertThisInitialized(OverlayLoaderExample__assertThisInitialized(_this)));
- _this.toggleDisabledLoader = _this.toggleDisabledLoader.bind(OverlayLoaderExample__assertThisInitialized(OverlayLoaderExample__assertThisInitialized(_this)));
- _this.handleKeyPress = _this.handleKeyPress.bind(OverlayLoaderExample__assertThisInitialized(OverlayLoaderExample__assertThisInitialized(_this)));
- return _this;
- }
-
- OverlayLoaderExample__createClass(OverlayLoaderExample, [{
- key: "handleKeyPress",
- value: function handleKeyPress(event) {
- if (event.keyCode === 27) {
- this.toggleDisabledLoader();
- }
- }
- }, {
- key: "toggleLoader",
- value: function toggleLoader() {
- this.setState(function (prevState) {
- return {
- showLoader: !prevState.showLoader
- };
- });
- }
- }, {
- key: "toggleDisabledLoader",
- value: function toggleDisabledLoader() {
- var _this2 = this;
-
- this.setState(function (prevState) {
- return {
- showDisabledLoader: !prevState.showDisabledLoader,
- showLoader: false
- };
- }, function () {
- var eventTrigger = _this2.state.showDisabledLoader ? window.addEventListener : window.removeEventListener;
- eventTrigger('keydown', _this2.handleKeyPress);
- });
- }
- }, {
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Fragment, {
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 39
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h4", {
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 40
- },
- __self: this
- }, "Static markup"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "static-markup",
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 41
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["OverlayLoader"], {
- text: "campaigns",
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 42
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["OverlayLoader"], {
- heading: "Fetching",
- text: "delivery data",
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 43
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "live-demo",
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 45
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("h4", {
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 46
- },
- __self: this
- }, "Demo"), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- onClick: this.toggleLoader,
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 47
- },
- __self: this
- }, this.state.showLoader ? 'Hide' : 'Show', " Loader"), this.state.showLoader && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["OverlayLoader"], {
- heading: "Entering",
- text: "galaxy",
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 48
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["Button"], {
- onClick: this.toggleDisabledLoader,
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 49
- },
- __self: this
- }, this.state.showDisabledLoader ? 'Hide' : 'Show', " Loader (disabled background)"), this.state.showDisabledLoader && external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["OverlayLoader"], {
- disableBackground: true,
- text: "Press esc to hide",
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 52
- },
- __self: this
- })));
- }
- }]);
-
- return OverlayLoaderExample;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-var OverlayLoaderExample_exampleProps = {
- componentName: 'Overlay Loader',
- notes: "Fixed position loader which provides user experience for page loading or interim loading states",
- exampleCodeSnippet: "\n // Static Markup Loaders\n \n \n\n // Demo Loaders\n \n \n ",
- propTypeSectionArray: [{
- propTypes: [{
- defaultValue: 'Loading',
- propType: 'heading',
- type: 'string'
- }, {
- propType: 'top',
- type: 'number',
- note: 'Position from top of DOM',
- defaultValue: '320'
- }, {
- propType: 'text',
- type: 'string'
- }, {
- propType: 'disableBackground',
- defaultValue: 'false',
- type: 'bool',
- note: 'prevents event propogation'
- }]
- }]
-};
-/* harmony default export */ var examples_OverlayLoaderExample = (function () {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Example, Object.assign({}, OverlayLoaderExample_exampleProps, {
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 101
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(OverlayLoaderExample_OverlayLoaderExample, {
- __source: {
- fileName: OverlayLoaderExample__jsxFileName,
- lineNumber: 102
- },
- __self: this
- }));
-});
-// EXTERNAL MODULE: ../docs/components/Layout/styles.scss
-var Layout_styles = __webpack_require__(375);
-var Layout_styles_default = /*#__PURE__*/__webpack_require__.n(Layout_styles);
-
-// EXTERNAL MODULE: ../docs/examples/styles.scss
-var examples_styles = __webpack_require__(376);
-var examples_styles_default = /*#__PURE__*/__webpack_require__.n(examples_styles);
-
-// CONCATENATED MODULE: ../docs/components/Layout/index.jsx
-var Layout__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/components/Layout/index.jsx";
-
-function Layout__typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Layout__typeof = function _typeof(obj) { return typeof obj; }; } else { Layout__typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Layout__typeof(obj); }
-
-function Layout__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function Layout__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 Layout__createClass(Constructor, protoProps, staticProps) { if (protoProps) Layout__defineProperties(Constructor.prototype, protoProps); if (staticProps) Layout__defineProperties(Constructor, staticProps); return Constructor; }
-
-function Layout__possibleConstructorReturn(self, call) { if (call && (Layout__typeof(call) === "object" || typeof call === "function")) { return call; } return Layout__assertThisInitialized(self); }
-
-function Layout__getPrototypeOf(o) { Layout__getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return Layout__getPrototypeOf(o); }
-
-function Layout__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) Layout__setPrototypeOf(subClass, superClass); }
-
-function Layout__setPrototypeOf(o, p) { Layout__setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return Layout__setPrototypeOf(o, p); }
-
-function Layout__assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
-
-function Layout__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; }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var Layout_SidebarArea = function SidebarArea(_ref) {
- var children = _ref.children;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "adslot-ui-sidebar-area",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 68
- },
- __self: this
- }, children);
-};
-
-var Layout_ContentArea = function ContentArea(_ref2) {
- var children = _ref2.children;
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "adslot-ui-content-area",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 69
- },
- __self: this
- }, children);
-};
-
-Layout_SidebarArea.propTypes = {
- children: prop_types_default.a.node.isRequired
-};
-Layout_ContentArea.propTypes = Layout_SidebarArea.propTypes;
-var componentsBySection = {
- 'form-elements': ['button', 'button-group', 'alert-input', 'file-picker', 'textarea', 'list-picker', 'user-list-picker', 'checkbox', 'checkbox-group', 'radio', 'radio-group', 'select', 'date-picker'],
- 'typography-and-text-layout': ['text-ellipsis'],
- 'stats-and-data': ['count-badge', 'statistic', 'totals', 'slicey'],
- 'icons-and-graphics': ['svg-symbol', 'svg-symbol-circle'],
- navigation: ['breadcrumb', 'tab', 'hover-dropdown-menu', 'navigation-tabs'],
- 'feedback-and-states': ['alert', 'empty', 'spinner', 'overlay-loader', 'pretty-diff', 'status-pill'],
- dialogue: ['popover', 'help-icon-popover', 'avatar'],
- modals: ['confirm-modal'],
- search: ['search', 'search-bar', 'tag'],
- grouping: ['page-title', 'card', 'panel', 'accordion', 'bordered-well', 'carousel', 'grid', 'paged-grid', 'tile-grid', 'flexible-spacer', 'split-pane', 'information-box'],
- 'tree-picker': ['tree-picker']
-};
-
-var componentIndexForSearch = external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default.a.flatMap(componentsBySection);
-
-var Layout_PageLayout =
-/*#__PURE__*/
-function (_React$Component) {
- Layout__inherits(PageLayout, _React$Component);
-
- function PageLayout() {
- var _getPrototypeOf2;
-
- var _this;
-
- Layout__classCallCheck(this, PageLayout);
-
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- _this = Layout__possibleConstructorReturn(this, (_getPrototypeOf2 = Layout__getPrototypeOf(PageLayout)).call.apply(_getPrototypeOf2, [this].concat(args)));
-
- Layout__defineProperty(Layout__assertThisInitialized(Layout__assertThisInitialized(_this)), "state", {
- page: 'buttons',
- searchTerm: '',
- searchResults: []
- });
-
- Layout__defineProperty(Layout__assertThisInitialized(Layout__assertThisInitialized(_this)), "navigateTo", function (newPage) {
- if (newPage !== _this.state.page) {
- _this.setState({
- page: newPage
- });
- }
-
- window.location.href = "".concat(window.location.origin).concat(window.location.pathname, "#").concat(newPage, "-example");
- });
-
- Layout__defineProperty(Layout__assertThisInitialized(Layout__assertThisInitialized(_this)), "filterComponents", function (searchTerm) {
- var searchTermRegExp = new RegExp(searchTerm, 'i');
- return external___root_______commonjs2___lodash___commonjs___lodash___amd___lodash___default()(componentIndexForSearch).filter(function (val) {
- return searchTermRegExp.test(val);
- }).sort().value();
- });
-
- Layout__defineProperty(Layout__assertThisInitialized(Layout__assertThisInitialized(_this)), "handleSearch", function (searchTerm) {
- if (searchTerm.length === 0) {
- _this.clearSearch();
- } else {
- _this.setState({
- searchTerm: searchTerm,
- searchResults: _this.filterComponents(searchTerm)
- });
- }
- });
-
- Layout__defineProperty(Layout__assertThisInitialized(Layout__assertThisInitialized(_this)), "clearSearch", function () {
- _this.setState({
- searchTerm: '',
- searchResults: []
- });
- });
-
- return _this;
- }
-
- Layout__createClass(PageLayout, [{
- key: "render",
- value: function render() {
- return external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "adslot-ui-layout",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 162
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Header, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 163
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement("div", {
- className: "adslot-ui-body",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 164
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Layout_SidebarArea, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 165
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(SearchBar, {
- onSearch: this.handleSearch,
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 166
- },
- __self: this
- }), this.state.searchTerm.length > 0 || this.state.searchResults.length > 0 ? external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_SearchResultCard, {
- searchResults: this.state.searchResults,
- navigateTo: this.navigateTo,
- clearSearch: this.clearSearch,
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 168
- },
- __self: this
- }) : external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Navigation, {
- componentsBySection: componentsBySection,
- navigateTo: this.navigateTo,
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 174
- },
- __self: this
- })), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Layout_ContentArea, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 177
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_MigrationNote, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 178
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Form Elements",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 179
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_ButtonExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 180
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_ButtonGroupExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 181
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_AlertInputExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 182
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_FilePickerExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 183
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_TextareaExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 184
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_ListPickerExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 185
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_UserListPickerExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 186
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_CheckboxExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 187
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_CheckboxGroupExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 188
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_CountBadgeExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 189
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_RadioExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 190
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_RadioGroupExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 191
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_SelectExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 192
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_DatePickerExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 193
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Typography and Text Layout",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 195
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_TextEllipsisExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 196
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Stats and Data",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 198
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_StatisticExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 199
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_TotalsExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 200
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_SliceyExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 201
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Icons and Graphics",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 203
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_SvgSymbolExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 204
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_SvgSymbolCircleExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 205
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Navigation",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 207
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_BreadcrumbExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 208
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_TabExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 209
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_HoverDropdownMenuExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 210
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_NavigationExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 211
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Feedback and States",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 213
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_AlertExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 214
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_EmptyExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 215
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_SpinnerExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 216
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_OverlayLoaderExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 217
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_PrettyDiffExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 218
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_StatusPillExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 219
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Dialogue",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 221
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_PopoverExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 222
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_HelpIconPopoverExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 223
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_AvatarExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 224
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Modals",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 226
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_ConfirmModalExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 227
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Search",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 229
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_SearchExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 230
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_SearchBarExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 231
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_TagExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 232
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Grouping",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 234
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_PageTitleExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 235
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_CardExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 236
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_PanelExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 237
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_AccordionExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 238
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_AccordionPanelExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 239
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_BorderedWellExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 240
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_CarouselExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 241
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_GridExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 242
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_PagedGridExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 243
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_TileGridExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 244
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_FlexibleSpacerExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 245
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_SplitPaneExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 246
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_InformationBoxExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 247
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(index_0["PageTitle"], {
- title: "Tree Picker",
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 249
- },
- __self: this
- }), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(examples_TreePickerExample, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 250
- },
- __self: this
- }))), external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(components_Contributors, {
- __source: {
- fileName: Layout__jsxFileName,
- lineNumber: 254
- },
- __self: this
- }));
- }
- }]);
-
- return PageLayout;
-}(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.Component);
-
-/* harmony default export */ var Layout = (Layout_PageLayout);
-// CONCATENATED MODULE: ../docs/run.jsx
-var run__jsxFileName = "/home/jenkins/workspace/direct-infra-master-au/docs/run.jsx";
-
-
-
-
-var run_renderApp = function renderApp() {
- external___root___ReactDOM___commonjs2___react_dom___commonjs___react_dom___amd___react_dom___default.a.render(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.StrictMode, {
- __source: {
- fileName: run__jsxFileName,
- lineNumber: 7
- },
- __self: this
- }, external___root___React___commonjs2___react___commonjs___react___amd___react___default.a.createElement(Layout, {
- __source: {
- fileName: run__jsxFileName,
- lineNumber: 8
- },
- __self: this
- })), document.getElementById('app'));
-};
-
-run_renderApp();
-
-/***/ }),
-/* 332 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 333 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 334 */
-/***/ (function(module, exports, __webpack_require__) {
-
-// the whatwg-fetch polyfill installs the fetch() function
-// on the global object (window or self)
-//
-// Return that as the export for use in Webpack, Browserify etc.
-__webpack_require__(335);
-module.exports = self.fetch.bind(self);
-
-
-/***/ }),
-/* 335 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
-/* harmony export (immutable) */ __webpack_exports__["Headers"] = Headers;
-/* harmony export (immutable) */ __webpack_exports__["Request"] = Request;
-/* harmony export (immutable) */ __webpack_exports__["Response"] = Response;
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DOMException", function() { return DOMException; });
-/* harmony export (immutable) */ __webpack_exports__["fetch"] = fetch;
-var support = {
- searchParams: 'URLSearchParams' in self,
- iterable: 'Symbol' in self && 'iterator' in Symbol,
- blob:
- 'FileReader' in self &&
- 'Blob' in self &&
- (function() {
- try {
- new Blob()
- return true
- } catch (e) {
- return false
- }
- })(),
- formData: 'FormData' in self,
- arrayBuffer: 'ArrayBuffer' in self
-}
-
-function isDataView(obj) {
- return obj && DataView.prototype.isPrototypeOf(obj)
-}
-
-if (support.arrayBuffer) {
- var viewClasses = [
- '[object Int8Array]',
- '[object Uint8Array]',
- '[object Uint8ClampedArray]',
- '[object Int16Array]',
- '[object Uint16Array]',
- '[object Int32Array]',
- '[object Uint32Array]',
- '[object Float32Array]',
- '[object Float64Array]'
- ]
-
- var isArrayBufferView =
- ArrayBuffer.isView ||
- function(obj) {
- return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1
- }
-}
-
-function normalizeName(name) {
- if (typeof name !== 'string') {
- name = String(name)
- }
- if (/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(name)) {
- throw new TypeError('Invalid character in header field name')
- }
- return name.toLowerCase()
-}
-
-function normalizeValue(value) {
- if (typeof value !== 'string') {
- value = String(value)
- }
- return value
-}
-
-// Build a destructive iterator for the value list
-function iteratorFor(items) {
- var iterator = {
- next: function() {
- var value = items.shift()
- return {done: value === undefined, value: value}
- }
- }
-
- if (support.iterable) {
- iterator[Symbol.iterator] = function() {
- return iterator
- }
- }
-
- return iterator
-}
-
-function Headers(headers) {
- this.map = {}
-
- if (headers instanceof Headers) {
- headers.forEach(function(value, name) {
- this.append(name, value)
- }, this)
- } else if (Array.isArray(headers)) {
- headers.forEach(function(header) {
- this.append(header[0], header[1])
- }, this)
- } else if (headers) {
- Object.getOwnPropertyNames(headers).forEach(function(name) {
- this.append(name, headers[name])
- }, this)
- }
-}
-
-Headers.prototype.append = function(name, value) {
- name = normalizeName(name)
- value = normalizeValue(value)
- var oldValue = this.map[name]
- this.map[name] = oldValue ? oldValue + ', ' + value : value
-}
-
-Headers.prototype['delete'] = function(name) {
- delete this.map[normalizeName(name)]
-}
-
-Headers.prototype.get = function(name) {
- name = normalizeName(name)
- return this.has(name) ? this.map[name] : null
-}
-
-Headers.prototype.has = function(name) {
- return this.map.hasOwnProperty(normalizeName(name))
-}
-
-Headers.prototype.set = function(name, value) {
- this.map[normalizeName(name)] = normalizeValue(value)
-}
-
-Headers.prototype.forEach = function(callback, thisArg) {
- for (var name in this.map) {
- if (this.map.hasOwnProperty(name)) {
- callback.call(thisArg, this.map[name], name, this)
- }
- }
-}
-
-Headers.prototype.keys = function() {
- var items = []
- this.forEach(function(value, name) {
- items.push(name)
- })
- return iteratorFor(items)
-}
-
-Headers.prototype.values = function() {
- var items = []
- this.forEach(function(value) {
- items.push(value)
- })
- return iteratorFor(items)
-}
-
-Headers.prototype.entries = function() {
- var items = []
- this.forEach(function(value, name) {
- items.push([name, value])
- })
- return iteratorFor(items)
-}
-
-if (support.iterable) {
- Headers.prototype[Symbol.iterator] = Headers.prototype.entries
-}
-
-function consumed(body) {
- if (body.bodyUsed) {
- return Promise.reject(new TypeError('Already read'))
- }
- body.bodyUsed = true
-}
-
-function fileReaderReady(reader) {
- return new Promise(function(resolve, reject) {
- reader.onload = function() {
- resolve(reader.result)
- }
- reader.onerror = function() {
- reject(reader.error)
- }
- })
-}
-
-function readBlobAsArrayBuffer(blob) {
- var reader = new FileReader()
- var promise = fileReaderReady(reader)
- reader.readAsArrayBuffer(blob)
- return promise
-}
-
-function readBlobAsText(blob) {
- var reader = new FileReader()
- var promise = fileReaderReady(reader)
- reader.readAsText(blob)
- return promise
-}
-
-function readArrayBufferAsText(buf) {
- var view = new Uint8Array(buf)
- var chars = new Array(view.length)
-
- for (var i = 0; i < view.length; i++) {
- chars[i] = String.fromCharCode(view[i])
- }
- return chars.join('')
-}
-
-function bufferClone(buf) {
- if (buf.slice) {
- return buf.slice(0)
- } else {
- var view = new Uint8Array(buf.byteLength)
- view.set(new Uint8Array(buf))
- return view.buffer
- }
-}
-
-function Body() {
- this.bodyUsed = false
-
- this._initBody = function(body) {
- this._bodyInit = body
- if (!body) {
- this._bodyText = ''
- } else if (typeof body === 'string') {
- this._bodyText = body
- } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {
- this._bodyBlob = body
- } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {
- this._bodyFormData = body
- } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
- this._bodyText = body.toString()
- } else if (support.arrayBuffer && support.blob && isDataView(body)) {
- this._bodyArrayBuffer = bufferClone(body.buffer)
- // IE 10-11 can't handle a DataView body.
- this._bodyInit = new Blob([this._bodyArrayBuffer])
- } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {
- this._bodyArrayBuffer = bufferClone(body)
- } else {
- this._bodyText = body = Object.prototype.toString.call(body)
- }
-
- if (!this.headers.get('content-type')) {
- if (typeof body === 'string') {
- this.headers.set('content-type', 'text/plain;charset=UTF-8')
- } else if (this._bodyBlob && this._bodyBlob.type) {
- this.headers.set('content-type', this._bodyBlob.type)
- } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
- this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')
- }
- }
- }
-
- if (support.blob) {
- this.blob = function() {
- var rejected = consumed(this)
- if (rejected) {
- return rejected
- }
-
- if (this._bodyBlob) {
- return Promise.resolve(this._bodyBlob)
- } else if (this._bodyArrayBuffer) {
- return Promise.resolve(new Blob([this._bodyArrayBuffer]))
- } else if (this._bodyFormData) {
- throw new Error('could not read FormData body as blob')
- } else {
- return Promise.resolve(new Blob([this._bodyText]))
- }
- }
-
- this.arrayBuffer = function() {
- if (this._bodyArrayBuffer) {
- return consumed(this) || Promise.resolve(this._bodyArrayBuffer)
- } else {
- return this.blob().then(readBlobAsArrayBuffer)
- }
- }
- }
-
- this.text = function() {
- var rejected = consumed(this)
- if (rejected) {
- return rejected
- }
-
- if (this._bodyBlob) {
- return readBlobAsText(this._bodyBlob)
- } else if (this._bodyArrayBuffer) {
- return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))
- } else if (this._bodyFormData) {
- throw new Error('could not read FormData body as text')
- } else {
- return Promise.resolve(this._bodyText)
- }
- }
-
- if (support.formData) {
- this.formData = function() {
- return this.text().then(decode)
- }
- }
-
- this.json = function() {
- return this.text().then(JSON.parse)
- }
-
- return this
-}
-
-// HTTP methods whose capitalization should be normalized
-var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']
-
-function normalizeMethod(method) {
- var upcased = method.toUpperCase()
- return methods.indexOf(upcased) > -1 ? upcased : method
-}
-
-function Request(input, options) {
- options = options || {}
- var body = options.body
-
- if (input instanceof Request) {
- if (input.bodyUsed) {
- throw new TypeError('Already read')
- }
- this.url = input.url
- this.credentials = input.credentials
- if (!options.headers) {
- this.headers = new Headers(input.headers)
- }
- this.method = input.method
- this.mode = input.mode
- this.signal = input.signal
- if (!body && input._bodyInit != null) {
- body = input._bodyInit
- input.bodyUsed = true
- }
- } else {
- this.url = String(input)
- }
-
- this.credentials = options.credentials || this.credentials || 'same-origin'
- if (options.headers || !this.headers) {
- this.headers = new Headers(options.headers)
- }
- this.method = normalizeMethod(options.method || this.method || 'GET')
- this.mode = options.mode || this.mode || null
- this.signal = options.signal || this.signal
- this.referrer = null
-
- if ((this.method === 'GET' || this.method === 'HEAD') && body) {
- throw new TypeError('Body not allowed for GET or HEAD requests')
- }
- this._initBody(body)
-}
-
-Request.prototype.clone = function() {
- return new Request(this, {body: this._bodyInit})
-}
-
-function decode(body) {
- var form = new FormData()
- body
- .trim()
- .split('&')
- .forEach(function(bytes) {
- if (bytes) {
- var split = bytes.split('=')
- var name = split.shift().replace(/\+/g, ' ')
- var value = split.join('=').replace(/\+/g, ' ')
- form.append(decodeURIComponent(name), decodeURIComponent(value))
- }
- })
- return form
-}
-
-function parseHeaders(rawHeaders) {
- var headers = new Headers()
- // Replace instances of \r\n and \n followed by at least one space or horizontal tab with a space
- // https://tools.ietf.org/html/rfc7230#section-3.2
- var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' ')
- preProcessedHeaders.split(/\r?\n/).forEach(function(line) {
- var parts = line.split(':')
- var key = parts.shift().trim()
- if (key) {
- var value = parts.join(':').trim()
- headers.append(key, value)
- }
- })
- return headers
-}
-
-Body.call(Request.prototype)
-
-function Response(bodyInit, options) {
- if (!options) {
- options = {}
- }
-
- this.type = 'default'
- this.status = options.status === undefined ? 200 : options.status
- this.ok = this.status >= 200 && this.status < 300
- this.statusText = 'statusText' in options ? options.statusText : 'OK'
- this.headers = new Headers(options.headers)
- this.url = options.url || ''
- this._initBody(bodyInit)
-}
-
-Body.call(Response.prototype)
-
-Response.prototype.clone = function() {
- return new Response(this._bodyInit, {
- status: this.status,
- statusText: this.statusText,
- headers: new Headers(this.headers),
- url: this.url
- })
-}
-
-Response.error = function() {
- var response = new Response(null, {status: 0, statusText: ''})
- response.type = 'error'
- return response
-}
-
-var redirectStatuses = [301, 302, 303, 307, 308]
-
-Response.redirect = function(url, status) {
- if (redirectStatuses.indexOf(status) === -1) {
- throw new RangeError('Invalid status code')
- }
-
- return new Response(null, {status: status, headers: {location: url}})
-}
-
-var DOMException = self.DOMException
-try {
- new DOMException()
-} catch (err) {
- DOMException = function(message, name) {
- this.message = message
- this.name = name
- var error = Error(message)
- this.stack = error.stack
- }
- DOMException.prototype = Object.create(Error.prototype)
- DOMException.prototype.constructor = DOMException
-}
-
-function fetch(input, init) {
- return new Promise(function(resolve, reject) {
- var request = new Request(input, init)
-
- if (request.signal && request.signal.aborted) {
- return reject(new DOMException('Aborted', 'AbortError'))
- }
-
- var xhr = new XMLHttpRequest()
-
- function abortXhr() {
- xhr.abort()
- }
-
- xhr.onload = function() {
- var options = {
- status: xhr.status,
- statusText: xhr.statusText,
- headers: parseHeaders(xhr.getAllResponseHeaders() || '')
- }
- options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')
- var body = 'response' in xhr ? xhr.response : xhr.responseText
- resolve(new Response(body, options))
- }
-
- xhr.onerror = function() {
- reject(new TypeError('Network request failed'))
- }
-
- xhr.ontimeout = function() {
- reject(new TypeError('Network request failed'))
- }
-
- xhr.onabort = function() {
- reject(new DOMException('Aborted', 'AbortError'))
- }
-
- xhr.open(request.method, request.url, true)
-
- if (request.credentials === 'include') {
- xhr.withCredentials = true
- } else if (request.credentials === 'omit') {
- xhr.withCredentials = false
- }
-
- if ('responseType' in xhr && support.blob) {
- xhr.responseType = 'blob'
- }
-
- request.headers.forEach(function(value, name) {
- xhr.setRequestHeader(name, value)
- })
-
- if (request.signal) {
- request.signal.addEventListener('abort', abortXhr)
-
- xhr.onreadystatechange = function() {
- // DONE (success or failure)
- if (xhr.readyState === 4) {
- request.signal.removeEventListener('abort', abortXhr)
- }
- }
- }
-
- xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)
- })
-}
-
-fetch.polyfill = true
-
-if (!self.fetch) {
- self.fetch = fetch
- self.Headers = Headers
- self.Request = Request
- self.Response = Response
-}
-
-
-/***/ }),
-/* 336 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 337 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 338 */
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-/* 339 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _classCallCheck2 = __webpack_require__(3);
-
-var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
-
-var _possibleConstructorReturn2 = __webpack_require__(4);
-
-var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
-
-var _inherits2 = __webpack_require__(5);
-
-var _inherits3 = _interopRequireDefault(_inherits2);
-
-var _classnames = __webpack_require__(2);
-
-var _classnames2 = _interopRequireDefault(_classnames);
-
-var _style = __webpack_require__(54);
-
-var _style2 = _interopRequireDefault(_style);
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__(1);
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _Transition = __webpack_require__(67);
-
-var _Transition2 = _interopRequireDefault(_Transition);
-
-var _capitalize = __webpack_require__(340);
-
-var _capitalize2 = _interopRequireDefault(_capitalize);
-
-var _createChainedFunction = __webpack_require__(24);
-
-var _createChainedFunction2 = _interopRequireDefault(_createChainedFunction);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var MARGINS = {
- height: ['marginTop', 'marginBottom'],
- width: ['marginLeft', 'marginRight']
-};
-
-// reading a dimension prop will cause the browser to recalculate,
-// which will let our animations work
-function triggerBrowserReflow(node) {
- node.offsetHeight; // eslint-disable-line no-unused-expressions
-}
-
-function getDimensionValue(dimension, elem) {
- var value = elem['offset' + (0, _capitalize2.default)(dimension)];
- var margins = MARGINS[dimension];
-
- return value + parseInt((0, _style2.default)(elem, margins[0]), 10) + parseInt((0, _style2.default)(elem, margins[1]), 10);
-}
-
-var propTypes = {
- /**
- * Show the component; triggers the expand or collapse animation
- */
- in: _propTypes2.default.bool,
-
- /**
- * Wait until the first "enter" transition to mount the component (add it to the DOM)
- */
- mountOnEnter: _propTypes2.default.bool,
-
- /**
- * Unmount the component (remove it from the DOM) when it is collapsed
- */
- unmountOnExit: _propTypes2.default.bool,
-
- /**
- * Run the expand animation when the component mounts, if it is initially
- * shown
- */
- transitionAppear: _propTypes2.default.bool,
-
- /**
- * Duration of the collapse animation in milliseconds, to ensure that
- * finishing callbacks are fired even if the original browser transition end
- * events are canceled
- */
- timeout: _propTypes2.default.number,
-
- /**
- * Callback fired before the component expands
- */
- onEnter: _propTypes2.default.func,
- /**
- * Callback fired after the component starts to expand
- */
- onEntering: _propTypes2.default.func,
- /**
- * Callback fired after the component has expanded
- */
- onEntered: _propTypes2.default.func,
- /**
- * Callback fired before the component collapses
- */
- onExit: _propTypes2.default.func,
- /**
- * Callback fired after the component starts to collapse
- */
- onExiting: _propTypes2.default.func,
- /**
- * Callback fired after the component has collapsed
- */
- onExited: _propTypes2.default.func,
-
- /**
- * The dimension used when collapsing, or a function that returns the
- * dimension
- *
- * _Note: Bootstrap only partially supports 'width'!
- * You will need to supply your own CSS animation for the `.width` CSS class._
- */
- dimension: _propTypes2.default.oneOfType([_propTypes2.default.oneOf(['height', 'width']), _propTypes2.default.func]),
-
- /**
- * Function that returns the height or width of the animating DOM node
- *
- * Allows for providing some custom logic for how much the Collapse component
- * should animate in its specified dimension. Called with the current
- * dimension prop value and the DOM node.
- */
- getDimensionValue: _propTypes2.default.func,
-
- /**
- * ARIA role of collapsible element
- */
- role: _propTypes2.default.string
-};
-
-var defaultProps = {
- in: false,
- timeout: 300,
- mountOnEnter: false,
- unmountOnExit: false,
- transitionAppear: false,
-
- dimension: 'height',
- getDimensionValue: getDimensionValue
-};
-
-var Collapse = function (_React$Component) {
- (0, _inherits3.default)(Collapse, _React$Component);
-
- function Collapse(props, context) {
- (0, _classCallCheck3.default)(this, Collapse);
-
- var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this, props, context));
-
- _this.handleEnter = _this.handleEnter.bind(_this);
- _this.handleEntering = _this.handleEntering.bind(_this);
- _this.handleEntered = _this.handleEntered.bind(_this);
- _this.handleExit = _this.handleExit.bind(_this);
- _this.handleExiting = _this.handleExiting.bind(_this);
- return _this;
- }
-
- Collapse.prototype._dimension = function _dimension() {
- return typeof this.props.dimension === 'function' ? this.props.dimension() : this.props.dimension;
- };
-
- // for testing
-
-
- Collapse.prototype._getScrollDimensionValue = function _getScrollDimensionValue(elem, dimension) {
- return elem['scroll' + (0, _capitalize2.default)(dimension)] + 'px';
- };
-
- /* -- Expanding -- */
-
-
- Collapse.prototype.handleEnter = function handleEnter(elem) {
- var dimension = this._dimension();
- elem.style[dimension] = '0';
- };
-
- Collapse.prototype.handleEntered = function handleEntered(elem) {
- var dimension = this._dimension();
- elem.style[dimension] = null;
- };
-
- Collapse.prototype.handleEntering = function handleEntering(elem) {
- var dimension = this._dimension();
- elem.style[dimension] = this._getScrollDimensionValue(elem, dimension);
- };
-
- /* -- Collapsing -- */
-
-
- Collapse.prototype.handleExit = function handleExit(elem) {
- var dimension = this._dimension();
- elem.style[dimension] = this.props.getDimensionValue(dimension, elem) + 'px';
- triggerBrowserReflow(elem);
- };
-
- Collapse.prototype.handleExiting = function handleExiting(elem) {
- var dimension = this._dimension();
- elem.style[dimension] = '0';
- };
-
- Collapse.prototype.render = function render() {
- var _props = this.props,
- onEnter = _props.onEnter,
- onEntering = _props.onEntering,
- onEntered = _props.onEntered,
- onExit = _props.onExit,
- onExiting = _props.onExiting,
- className = _props.className,
- props = (0, _objectWithoutProperties3.default)(_props, ['onEnter', 'onEntering', 'onEntered', 'onExit', 'onExiting', 'className']);
-
-
- delete props.dimension;
- delete props.getDimensionValue;
-
- var handleEnter = (0, _createChainedFunction2.default)(this.handleEnter, onEnter);
- var handleEntering = (0, _createChainedFunction2.default)(this.handleEntering, onEntering);
- var handleEntered = (0, _createChainedFunction2.default)(this.handleEntered, onEntered);
- var handleExit = (0, _createChainedFunction2.default)(this.handleExit, onExit);
- var handleExiting = (0, _createChainedFunction2.default)(this.handleExiting, onExiting);
-
- var classes = {
- width: this._dimension() === 'width'
- };
-
- return _react2.default.createElement(_Transition2.default, (0, _extends3.default)({}, props, {
- 'aria-expanded': props.role ? props.in : null,
- className: (0, _classnames2.default)(className, classes),
- exitedClassName: 'collapse',
- exitingClassName: 'collapsing',
- enteredClassName: 'collapse in',
- enteringClassName: 'collapsing',
- onEnter: handleEnter,
- onEntering: handleEntering,
- onEntered: handleEntered,
- onExit: handleExit,
- onExiting: handleExiting
- }));
- };
-
- return Collapse;
-}(_react2.default.Component);
-
-Collapse.propTypes = propTypes;
-Collapse.defaultProps = defaultProps;
-
-exports.default = Collapse;
-module.exports = exports['default'];
-
-/***/ }),
-/* 340 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-exports.__esModule = true;
-exports.default = capitalize;
-function capitalize(string) {
- return "" + string.charAt(0).toUpperCase() + string.slice(1);
-}
-module.exports = exports["default"];
-
-/***/ }),
-/* 341 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-
-var _objectWithoutProperties2 = __webpack_require__(7);
-
-var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
-
-var _assign = __webpack_require__(79);
-
-var _assign2 = _interopRequireDefault(_assign);
-
-exports.default = function (astGenerator, defaultStyle) {
- return function SyntaxHighlighter(_ref6) {
- var language = _ref6.language,
- children = _ref6.children,
- _ref6$style = _ref6.style,
- style = _ref6$style === undefined ? defaultStyle : _ref6$style,
- _ref6$customStyle = _ref6.customStyle,
- customStyle = _ref6$customStyle === undefined ? {} : _ref6$customStyle,
- _ref6$codeTagProps = _ref6.codeTagProps,
- codeTagProps = _ref6$codeTagProps === undefined ? { style: style['code[class*=\"language-\"]'] } : _ref6$codeTagProps,
- _ref6$useInlineStyles = _ref6.useInlineStyles,
- useInlineStyles = _ref6$useInlineStyles === undefined ? true : _ref6$useInlineStyles,
- _ref6$showLineNumbers = _ref6.showLineNumbers,
- showLineNumbers = _ref6$showLineNumbers === undefined ? false : _ref6$showLineNumbers,
- _ref6$startingLineNum = _ref6.startingLineNumber,
- startingLineNumber = _ref6$startingLineNum === undefined ? 1 : _ref6$startingLineNum,
- lineNumberContainerStyle = _ref6.lineNumberContainerStyle,
- lineNumberStyle = _ref6.lineNumberStyle,
- wrapLines = _ref6.wrapLines,
- _ref6$lineProps = _ref6.lineProps,
- lineProps = _ref6$lineProps === undefined ? {} : _ref6$lineProps,
- renderer = _ref6.renderer,
- _ref6$PreTag = _ref6.PreTag,
- PreTag = _ref6$PreTag === undefined ? 'pre' : _ref6$PreTag,
- _ref6$CodeTag = _ref6.CodeTag,
- CodeTag = _ref6$CodeTag === undefined ? 'code' : _ref6$CodeTag,
- _ref6$code = _ref6.code,
- code = _ref6$code === undefined ? Array.isArray(children) ? children[0] : children : _ref6$code,
- rest = (0, _objectWithoutProperties3.default)(_ref6, ['language', 'children', 'style', 'customStyle', 'codeTagProps', 'useInlineStyles', 'showLineNumbers', 'startingLineNumber', 'lineNumberContainerStyle', 'lineNumberStyle', 'wrapLines', 'lineProps', 'renderer', 'PreTag', 'CodeTag', 'code']);
-
- /*
- * some custom renderers rely on individual row elements so we need to turn wrapLines on
- * if renderer is provided and wrapLines is undefined
- */
- wrapLines = renderer && wrapLines === undefined ? true : wrapLines;
- renderer = renderer || defaultRenderer;
- var defaultCodeValue = [{ type: 'text', value: code }];
- var codeTree = getCodeTree({ astGenerator: astGenerator, language: language, code: code, defaultCodeValue: defaultCodeValue });
- if (codeTree.language === null) {
- codeTree.value = defaultCodeValue;
- }
- var defaultPreStyle = style.hljs || style['pre[class*=\"language-\"]'] || { backgroundColor: '#fff' };
- var preProps = useInlineStyles ? (0, _assign2.default)({}, rest, { style: (0, _assign2.default)({}, defaultPreStyle, customStyle) }) : (0, _assign2.default)({}, rest, { className: 'hljs' });
- var tree = wrapLines ? wrapLinesInSpan(codeTree, lineProps) : codeTree.value;
- var lineNumbers = showLineNumbers ? _react2.default.createElement(LineNumbers, {
- containerStyle: lineNumberContainerStyle,
- codeStyle: codeTagProps.style || {},
- numberStyle: lineNumberStyle,
- startingLineNumber: startingLineNumber,
- codeString: code
- }) : null;
- return _react2.default.createElement(
- PreTag,
- preProps,
- lineNumbers,
- _react2.default.createElement(
- CodeTag,
- codeTagProps,
- renderer({ rows: tree, stylesheet: style, useInlineStyles: useInlineStyles })
- )
- );
- };
-};
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-var _createElement = __webpack_require__(342);
-
-var _createElement2 = _interopRequireDefault(_createElement);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var newLineRegex = /\n/g;
-function getNewLines(str) {
- return str.match(newLineRegex);
-}
-
-function getLineNumbers(_ref) {
- var lines = _ref.lines,
- startingLineNumber = _ref.startingLineNumber,
- style = _ref.style;
-
- return lines.map(function (_, i) {
- var number = i + startingLineNumber;
- return _react2.default.createElement(
- 'span',
- {
- key: 'line-' + i,
- className: 'react-syntax-highlighter-line-number',
- style: typeof style === 'function' ? style(number) : style
- },
- number + '\n'
- );
- });
-}
-
-function LineNumbers(_ref2) {
- var codeString = _ref2.codeString,
- codeStyle = _ref2.codeStyle,
- _ref2$containerStyle = _ref2.containerStyle,
- containerStyle = _ref2$containerStyle === undefined ? { float: 'left', paddingRight: '10px' } : _ref2$containerStyle,
- _ref2$numberStyle = _ref2.numberStyle,
- numberStyle = _ref2$numberStyle === undefined ? {} : _ref2$numberStyle,
- startingLineNumber = _ref2.startingLineNumber;
-
- return _react2.default.createElement(
- 'code',
- { style: (0, _assign2.default)({}, codeStyle, containerStyle) },
- getLineNumbers({
- lines: codeString.replace(/\n$/, '').split('\n'),
- style: numberStyle,
- startingLineNumber: startingLineNumber
- })
- );
-}
-
-function createLineElement(_ref3) {
- var children = _ref3.children,
- lineNumber = _ref3.lineNumber,
- lineProps = _ref3.lineProps,
- _ref3$className = _ref3.className,
- className = _ref3$className === undefined ? [] : _ref3$className;
-
- var properties = (typeof lineProps === 'function' ? lineProps(lineNumber) : lineProps) || {};
- properties.className = properties.className ? className.concat(properties.className) : className;
- return {
- type: 'element',
- tagName: 'span',
- properties: properties,
- children: children
- };
-}
-
-function flattenCodeTree(tree) {
- var className = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
- var newTree = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
-
- for (var i = 0; i < tree.length; i++) {
- var node = tree[i];
- if (node.type === 'text') {
- newTree.push(createLineElement({
- children: [node],
- className: className
- }));
- } else if (node.children) {
- var classNames = className.concat(node.properties.className);
- newTree = newTree.concat(flattenCodeTree(node.children, classNames));
- }
- }
- return newTree;
-}
-
-function wrapLinesInSpan(codeTree, lineProps) {
- var tree = flattenCodeTree(codeTree.value);
- var newTree = [];
- var lastLineBreakIndex = -1;
- var index = 0;
-
- var _loop = function _loop() {
- var node = tree[index];
- var value = node.children[0].value;
- var newLines = getNewLines(value);
- if (newLines) {
- var splitValue = value.split('\n');
- splitValue.forEach(function (text, i) {
- var lineNumber = newTree.length + 1;
- var newChild = { type: 'text', value: text + '\n' };
- if (i === 0) {
- var _children = tree.slice(lastLineBreakIndex + 1, index).concat(createLineElement({ children: [newChild], className: node.properties.className }));
- newTree.push(createLineElement({ children: _children, lineNumber: lineNumber, lineProps: lineProps }));
- } else if (i === splitValue.length - 1) {
- var stringChild = tree[index + 1] && tree[index + 1].children && tree[index + 1].children[0];
- if (stringChild) {
- var lastLineInPreviousSpan = { type: 'text', value: '' + text };
- var newElem = createLineElement({ children: [lastLineInPreviousSpan], className: node.properties.className });
- tree.splice(index + 1, 0, newElem);
- } else {
- newTree.push(createLineElement({ children: [newChild], lineNumber: lineNumber, lineProps: lineProps }));
- }
- } else {
- newTree.push(createLineElement({ children: [newChild], lineNumber: lineNumber, lineProps: lineProps }));
- }
- });
- lastLineBreakIndex = index;
- }
- index++;
- };
-
- while (index < tree.length) {
- _loop();
- }
- if (lastLineBreakIndex !== tree.length - 1) {
- var children = tree.slice(lastLineBreakIndex + 1, tree.length);
- if (children && children.length) {
- newTree.push(createLineElement({ children: children, lineNumber: newTree.length + 1, lineProps: lineProps }));
- }
- }
- return newTree;
-}
-
-function defaultRenderer(_ref4) {
- var rows = _ref4.rows,
- stylesheet = _ref4.stylesheet,
- useInlineStyles = _ref4.useInlineStyles;
-
- return rows.map(function (node, i) {
- return (0, _createElement2.default)({
- node: node,
- stylesheet: stylesheet,
- useInlineStyles: useInlineStyles,
- key: 'code-segement' + i
- });
- });
-}
-
-function getCodeTree(_ref5) {
- var astGenerator = _ref5.astGenerator,
- language = _ref5.language,
- code = _ref5.code,
- defaultCodeValue = _ref5.defaultCodeValue;
-
- if (astGenerator.getLanguage) {
- var hasLanguage = language && astGenerator.getLanguage(language);
- if (language === 'text') {
- return { value: defaultCodeValue, language: 'text' };
- } else if (hasLanguage) {
- return astGenerator.highlight(language, code);
- } else {
- return astGenerator.highlightAuto(code);
- }
- }
- try {
- return language && language !== 'text' ? { value: astGenerator.highlight(code, language) } : { value: defaultCodeValue };
- } catch (e) {
- return { value: defaultCodeValue };
- }
-}
-
-/***/ }),
-/* 342 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-
-var _assign = __webpack_require__(79);
-
-var _assign2 = _interopRequireDefault(_assign);
-
-var _extends2 = __webpack_require__(6);
-
-var _extends3 = _interopRequireDefault(_extends2);
-
-exports.createStyleObject = createStyleObject;
-exports.createClassNameString = createClassNameString;
-exports.createChildren = createChildren;
-exports.default = createElement;
-
-var _react = __webpack_require__(0);
-
-var _react2 = _interopRequireDefault(_react);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function createStyleObject(classNames) {
- var elementStyle = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var stylesheet = arguments[2];
-
- return classNames.reduce(function (styleObject, className) {
- return (0, _extends3.default)({}, styleObject, stylesheet[className]);
- }, elementStyle);
-}
-
-function createClassNameString(classNames) {
- return classNames.join(' ');
-}
-
-function createChildren(stylesheet, useInlineStyles) {
- var childrenCount = 0;
- return function (children) {
- childrenCount += 1;
- return children.map(function (child, i) {
- return createElement({
- node: child,
- stylesheet: stylesheet,
- useInlineStyles: useInlineStyles,
- key: 'code-segment-' + childrenCount + '-' + i
- });
- });
- };
-}
-
-function createElement(_ref) {
- var node = _ref.node,
- stylesheet = _ref.stylesheet,
- _ref$style = _ref.style,
- style = _ref$style === undefined ? {} : _ref$style,
- useInlineStyles = _ref.useInlineStyles,
- key = _ref.key;
- var properties = node.properties,
- type = node.type,
- TagName = node.tagName,
- value = node.value;
-
- if (type === 'text') {
- return value;
- } else if (TagName) {
- var childrenCreator = createChildren(stylesheet, useInlineStyles);
- var props = useInlineStyles ? (0, _extends3.default)({}, properties, { className: undefined }, {
- style: createStyleObject(properties.className, (0, _assign2.default)({}, properties.style, style), stylesheet)
- }) : (0, _extends3.default)({}, properties, { className: createClassNameString(properties.className) });
- var children = childrenCreator(node.children);
- return _react2.default.createElement(
- TagName,
- (0, _extends3.default)({ key: key }, props),
- children
- );
- }
-}
-
-/***/ }),
-/* 343 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(global) {
-
-/* global window, self */
-
-var restore = capture()
-
-// istanbul ignore next - Don't allow Prism to run on page load in browser or
-// to start messaging from workers.
-var ctx =
- typeof window === 'undefined'
- ? typeof self === 'undefined'
- ? {}
- : self
- : window
-
-ctx.Prism = {manual: true, disableWorkerMessageHandler: true}
-
-/* Load all stuff in `prism.js` itself, except for
- * `prism-file-highlight.js`.
- * The wrapped non-leaky grammars are loaded instead of
- * Prism’s originals. */
-var h = __webpack_require__(344)
-var decode = __webpack_require__(360)
-var Prism = __webpack_require__(367)
-var markup = __webpack_require__(368)
-var css = __webpack_require__(369)
-var clike = __webpack_require__(370)
-var js = __webpack_require__(371)
-
-restore()
-
-var own = {}.hasOwnProperty
-
-/* Inherit. */
-function Refractor() {}
-
-Refractor.prototype = Prism
-
-/* Construct. */
-var refract = new Refractor()
-
-/* Expose. */
-module.exports = refract
-
-/* Create. */
-refract.highlight = highlight
-refract.register = register
-refract.registered = registered
-
-/* Register bundled grammars. */
-register(markup)
-register(css)
-register(clike)
-register(js)
-
-refract.util.encode = encode
-refract.Token.stringify = stringify
-
-function register(grammar) {
- if (typeof grammar !== 'function' || !grammar.displayName) {
- throw new Error('Expected `function` for `grammar`, got `' + grammar + '`')
- }
-
- /* Do not duplicate registrations. */
- if (refract.languages[grammar.displayName] === undefined) {
- grammar(refract)
- }
-}
-
-function highlight(value, name) {
- var sup = Prism.highlight
- var grammar
-
- if (typeof value !== 'string') {
- throw new Error('Expected `string` for `value`, got `' + value + '`')
- }
-
- /* `name` is a grammar object */
- if (refract.util.type(name) === 'Object') {
- grammar = name
- name = null
- } else {
- if (typeof name !== 'string') {
- throw new Error('Expected `string` for `name`, got `' + name + '`')
- }
-
- if (own.call(refract.languages, name)) {
- grammar = refract.languages[name]
- } else {
- throw new Error('Unknown language: `' + name + '` is not registered')
- }
- }
-
- return sup.call(this, value, grammar, name)
-}
-
-function registered(language) {
- if (typeof language !== 'string') {
- throw new Error('Expected `string` for `language`, got `' + language + '`')
- }
-
- return own.call(refract.languages, language)
-}
-
-function stringify(value, language, parent) {
- var env
-
- if (typeof value === 'string') {
- return {type: 'text', value: value}
- }
-
- if (refract.util.type(value) === 'Array') {
- return stringifyAll(value, language)
- }
-
- env = {
- type: value.type,
- content: refract.Token.stringify(value.content, language, parent),
- tag: 'span',
- classes: ['token', value.type],
- attributes: {},
- language: language,
- parent: parent
- }
-
- if (value.alias) {
- env.classes = env.classes.concat(value.alias)
- }
-
- refract.hooks.run('wrap', env)
-
- return h(
- env.tag + '.' + env.classes.join('.'),
- attributes(env.attributes),
- env.content
- )
-}
-
-function stringifyAll(values, language) {
- var result = []
- var length = values.length
- var index = -1
- var value
-
- while (++index < length) {
- value = values[index]
-
- if (value !== '' && value !== null && value !== undefined) {
- result.push(value)
- }
- }
-
- index = -1
- length = result.length
-
- while (++index < length) {
- value = result[index]
- result[index] = refract.Token.stringify(value, language, result)
- }
-
- return result
-}
-
-function encode(tokens) {
- return tokens
-}
-
-function attributes(attrs) {
- var key
-
- for (key in attrs) {
- attrs[key] = decode(attrs[key])
- }
-
- return attrs
-}
-
-function capture() {
- var defined = 'Prism' in global
- /* istanbul ignore next */
- var current = defined ? global.Prism : undefined
-
- return restore
-
- function restore() {
- /* istanbul ignore else - Clean leaks after Prism. */
- if (defined) {
- global.Prism = current
- } else {
- delete global.Prism
- }
-
- defined = undefined
- current = undefined
- }
-}
-
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(70)))
-
-/***/ }),
-/* 344 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-module.exports = __webpack_require__(345)
-
-
-/***/ }),
-/* 345 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var schema = __webpack_require__(346)
-var factory = __webpack_require__(355)
-
-var html = factory(schema, 'div')
-html.displayName = 'html'
-
-module.exports = html
-
-
-/***/ }),
-/* 346 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var merge = __webpack_require__(347)
-var xlink = __webpack_require__(349)
-var xml = __webpack_require__(350)
-var xmlns = __webpack_require__(351)
-var aria = __webpack_require__(353)
-var html = __webpack_require__(354)
-
-module.exports = merge([xml, xlink, xmlns, aria, html])
-
-
-/***/ }),
-/* 347 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var xtend = __webpack_require__(348)
-var Schema = __webpack_require__(321)
-
-module.exports = merge
-
-function merge(definitions) {
- var length = definitions.length
- var property = []
- var normal = []
- var index = -1
- var info
- var space
-
- while (++index < length) {
- info = definitions[index]
- property.push(info.property)
- normal.push(info.normal)
- space = info.space
- }
-
- return new Schema(
- xtend.apply(null, property),
- xtend.apply(null, normal),
- space
- )
-}
-
-
-/***/ }),
-/* 348 */
-/***/ (function(module, exports) {
-
-module.exports = extend
-
-var hasOwnProperty = Object.prototype.hasOwnProperty;
-
-function extend() {
- var target = {}
-
- for (var i = 0; i < arguments.length; i++) {
- var source = arguments[i]
-
- for (var key in source) {
- if (hasOwnProperty.call(source, key)) {
- target[key] = source[key]
- }
- }
- }
-
- return target
-}
-
-
-/***/ }),
-/* 349 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var create = __webpack_require__(131)
-
-module.exports = create({
- space: 'xlink',
- transform: xlinkTransform,
- properties: {
- xLinkActuate: null,
- xLinkArcRole: null,
- xLinkHref: null,
- xLinkRole: null,
- xLinkShow: null,
- xLinkTitle: null,
- xLinkType: null
- }
-})
-
-function xlinkTransform(_, prop) {
- return 'xlink:' + prop.slice(5).toLowerCase()
-}
-
-
-/***/ }),
-/* 350 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var create = __webpack_require__(131)
-
-module.exports = create({
- space: 'xml',
- transform: xmlTransform,
- properties: {
- xmlLang: null,
- xmlBase: null,
- xmlSpace: null
- }
-})
-
-function xmlTransform(_, prop) {
- return 'xml:' + prop.slice(3).toLowerCase()
-}
-
-
-/***/ }),
-/* 351 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var create = __webpack_require__(131)
-var caseInsensitiveTransform = __webpack_require__(324)
-
-module.exports = create({
- space: 'xmlns',
- attributes: {
- xmlnsxlink: 'xmlns:xlink'
- },
- transform: caseInsensitiveTransform,
- properties: {
- xmlns: null,
- xmlnsXLink: null
- }
-})
-
-
-/***/ }),
-/* 352 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-module.exports = caseSensitiveTransform
-
-function caseSensitiveTransform(attributes, attribute) {
- return attribute in attributes ? attributes[attribute] : attribute
-}
-
-
-/***/ }),
-/* 353 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var types = __webpack_require__(319)
-var create = __webpack_require__(131)
-
-var booleanish = types.booleanish
-var number = types.number
-var spaceSeparated = types.spaceSeparated
-
-module.exports = create({
- transform: ariaTransform,
- properties: {
- ariaActiveDescendant: null,
- ariaAtomic: booleanish,
- ariaAutoComplete: null,
- ariaBusy: booleanish,
- ariaChecked: booleanish,
- ariaColCount: number,
- ariaColIndex: number,
- ariaColSpan: number,
- ariaControls: spaceSeparated,
- ariaCurrent: null,
- ariaDescribedBy: spaceSeparated,
- ariaDetails: null,
- ariaDisabled: booleanish,
- ariaDropEffect: spaceSeparated,
- ariaErrorMessage: null,
- ariaExpanded: booleanish,
- ariaFlowTo: spaceSeparated,
- ariaGrabbed: booleanish,
- ariaHasPopup: null,
- ariaHidden: booleanish,
- ariaInvalid: null,
- ariaKeyShortcuts: null,
- ariaLabel: null,
- ariaLabelledBy: spaceSeparated,
- ariaLevel: number,
- ariaLive: null,
- ariaModal: booleanish,
- ariaMultiLine: booleanish,
- ariaMultiSelectable: booleanish,
- ariaOrientation: null,
- ariaOwns: spaceSeparated,
- ariaPlaceholder: null,
- ariaPosInSet: number,
- ariaPressed: booleanish,
- ariaReadOnly: booleanish,
- ariaRelevant: null,
- ariaRequired: booleanish,
- ariaRoleDescription: spaceSeparated,
- ariaRowCount: number,
- ariaRowIndex: number,
- ariaRowSpan: number,
- ariaSelected: booleanish,
- ariaSetSize: number,
- ariaSort: null,
- ariaValueMax: number,
- ariaValueMin: number,
- ariaValueNow: number,
- ariaValueText: null,
- role: null
- }
-})
-
-function ariaTransform(_, prop) {
- return prop === 'role' ? prop : 'aria-' + prop.slice(4).toLowerCase()
-}
-
-
-/***/ }),
-/* 354 */
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var types = __webpack_require__(319)
-var create = __webpack_require__(131)
-var caseInsensitiveTransform = __webpack_require__(324)
-
-var boolean = types.boolean
-var overloadedBoolean = types.overloadedBoolean
-var booleanish = types.booleanish
-var number = types.number
-var spaceSeparated = types.spaceSeparated
-var commaSeparated = types.commaSeparated
-
-module.exports = create({
- space: 'html',
- attributes: {
- acceptcharset: 'accept-charset',
- classname: 'class',
- htmlfor: 'for',
- httpequiv: 'http-equiv'
- },
- transform: caseInsensitiveTransform,
- mustUseProperty: ['checked', 'multiple', 'muted', 'selected'],
- properties: {
- // Standard Properties.
- abbr: null,
- accept: commaSeparated,
- acceptCharset: spaceSeparated,
- accessKey: spaceSeparated,
- action: null,
- allowFullScreen: boolean,
- allowPaymentRequest: boolean,
- allowUserMedia: boolean,
- alt: null,
- as: null,
- async: boolean,
- autoCapitalize: null,
- autoComplete: spaceSeparated,
- autoFocus: boolean,
- autoPlay: boolean,
- capture: boolean,
- charSet: null,
- checked: boolean,
- cite: null,
- className: spaceSeparated,
- cols: number,
- colSpan: null,
- content: null,
- contentEditable: booleanish,
- controls: boolean,
- controlsList: spaceSeparated,
- coords: number | commaSeparated,
- crossOrigin: null,
- data: null,
- dateTime: null,
- decoding: null,
- default: boolean,
- defer: boolean,
- dir: null,
- dirName: null,
- disabled: boolean,
- download: overloadedBoolean,
- draggable: booleanish,
- encType: null,
- form: null,
- formAction: null,
- formEncType: null,
- formMethod: null,
- formNoValidate: boolean,
- formTarget: null,
- headers: spaceSeparated,
- height: number,
- hidden: boolean,
- high: number,
- href: null,
- hrefLang: null,
- htmlFor: spaceSeparated,
- httpEquiv: spaceSeparated,
- id: null,
- inputMode: null,
- integrity: null,
- is: null,
- isMap: boolean,
- itemId: null,
- itemProp: spaceSeparated,
- itemRef: spaceSeparated,
- itemScope: boolean,
- itemType: spaceSeparated,
- kind: null,
- label: null,
- lang: null,
- language: null,
- list: null,
- loop: boolean,
- low: number,
- manifest: null,
- max: null,
- maxLength: number,
- media: null,
- method: null,
- min: null,
- minLength: number,
- multiple: boolean,
- muted: boolean,
- name: null,
- nonce: null,
- noModule: boolean,
- noValidate: boolean,
- open: boolean,
- optimum: number,
- pattern: null,
- ping: spaceSeparated,
- placeholder: null,
- playsInline: boolean,
- poster: null,
- preload: null,
- readOnly: boolean,
- referrerPolicy: null,
- rel: spaceSeparated,
- required: boolean,
- reversed: boolean,
- rows: number,
- rowSpan: number,
- sandbox: spaceSeparated,
- scope: null,
- scoped: boolean,
- seamless: boolean,
- selected: boolean,
- shape: null,
- size: number,
- sizes: null,
- slot: null,
- span: number,
- spellCheck: booleanish,
- src: null,
- srcDoc: null,
- srcLang: null,
- srcSet: commaSeparated,
- start: number,
- step: null,
- style: null,
- tabIndex: number,
- target: null,
- title: null,
- translate: null,
- type: null,
- typeMustMatch: boolean,
- useMap: null,
- value: booleanish,
- width: number,
- wrap: null,
-
- // Legacy.
- // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
- align: null, // Several. Use CSS `text-align` instead,
- aLink: null, // ``. Use CSS `a:active {color}` instead
- archive: spaceSeparated, // ``. List of URIs to archives
- axis: null, // `` and ` `. Use `scope` on ` `
- background: null, // ``. Use CSS `background-image` instead
- bgColor: null, // `` and table elements. Use CSS `background-color` instead
- border: number, // ``. Use CSS `border-width` instead,
- borderColor: null, // ``. Use CSS `border-color` instead,
- bottomMargin: number, // ``
- cellPadding: null, // ``
- cellSpacing: null, // ``
- char: null, // Several table elements. When `align=char`, sets the character to align on
- charOff: null, // Several table elements. When `char`, offsets the alignment
- classId: null, // ``
- clear: null, // ` `. Use CSS `clear` instead
- code: null, // ``
- codeBase: null, // ``
- codeType: null, // ``
- color: null, // `` and ` `. Use CSS instead
- compact: boolean, // Lists. Use CSS to reduce space between items instead
- declare: boolean, // ``
- event: null, // `
diff --git a/docs/run.jsx b/docs/index.jsx
similarity index 100%
rename from docs/run.jsx
rename to docs/index.jsx
diff --git a/karma.conf.js b/karma.conf.js
index 6e4c90304..848568ac9 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -1,10 +1,11 @@
const _ = require('lodash');
const webpack = require('webpack');
-const webpackConfig = require('./webpack.config');
+const webpackConfig = require('./config/webpack.config.test');
const env = { ADSLOT_TEST_FILE: '' };
process.env.CHROME_BIN = require('puppeteer').executablePath();
+
webpackConfig.plugins.push(
new webpack.DefinePlugin(
_(env)
@@ -39,6 +40,7 @@ exports.ignoreImagesMw = (req, res, next) => {
module.exports = function configureKarma(config) {
config.set({
+ mode: 'development',
basePath: '',
browsers: ['ChromeHeadless'],
colors: true,
diff --git a/package-lock.json b/package-lock.json
index 7c150871d..a5c095fa9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -113,14 +113,87 @@
}
},
"@babel/helper-call-delegate": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.1.0.tgz",
- "integrity": "sha512-YEtYZrw3GUK6emQHKthltKNZwszBcHK58Ygcis+gVUrF4/FmTVr5CCqQNSfmvg2y+YDEANyYoaLz/SHsnusCwQ==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.4.4.tgz",
+ "integrity": "sha512-l79boDFJ8S1c5hvQvG+rc+wHw6IuH7YldmRKsYtpbawsxURu/paVy57FZMomGK22/JckepaikOkY0MoAmdyOlQ==",
"dev": true,
"requires": {
- "@babel/helper-hoist-variables": "^7.0.0",
- "@babel/traverse": "^7.1.0",
- "@babel/types": "^7.0.0"
+ "@babel/helper-hoist-variables": "^7.4.4",
+ "@babel/traverse": "^7.4.4",
+ "@babel/types": "^7.4.4"
+ },
+ "dependencies": {
+ "@babel/generator": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.4.4.tgz",
+ "integrity": "sha512-53UOLK6TVNqKxf7RUh8NE851EHRxOOeVXKbK2bivdb+iziMyk03Sr4eaE9OELCbyZAAafAKPDwF2TPUES5QbxQ==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.4.4",
+ "jsesc": "^2.5.1",
+ "lodash": "^4.17.11",
+ "source-map": "^0.5.0",
+ "trim-right": "^1.0.1"
+ }
+ },
+ "@babel/helper-split-export-declaration": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz",
+ "integrity": "sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.4.4"
+ }
+ },
+ "@babel/parser": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.5.tgz",
+ "integrity": "sha512-9mUqkL1FF5T7f0WDFfAoDdiMVPWsdD1gZYzSnaXsxUCUqzuch/8of9G3VUSNiZmMBoRxT3neyVsqeiL/ZPcjew==",
+ "dev": true
+ },
+ "@babel/traverse": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.5.tgz",
+ "integrity": "sha512-Vc+qjynwkjRmIFGxy0KYoPj4FdVDxLej89kMHFsWScq999uX+pwcX4v9mWRjW0KcAYTPAuVQl2LKP1wEVLsp+A==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.0.0",
+ "@babel/generator": "^7.4.4",
+ "@babel/helper-function-name": "^7.1.0",
+ "@babel/helper-split-export-declaration": "^7.4.4",
+ "@babel/parser": "^7.4.5",
+ "@babel/types": "^7.4.4",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0",
+ "lodash": "^4.17.11"
+ }
+ },
+ "@babel/types": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.4.4.tgz",
+ "integrity": "sha512-dOllgYdnEFOebhkKCjzSVFqw/PmmB8pH6RGOWkY4GsboQNd47b1fBThBSwlHAq9alF9vc1M3+6oqR47R50L0tQ==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.11",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ }
}
},
"@babel/helper-create-class-features-plugin": {
@@ -137,14 +210,27 @@
}
},
"@babel/helper-define-map": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.1.0.tgz",
- "integrity": "sha512-yPPcW8dc3gZLN+U1mhYV91QU3n5uTbx7DUdf8NnPbjS0RMwBuHi9Xt2MUgppmNz7CJxTBWsGczTiEp1CSOTPRg==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.4.4.tgz",
+ "integrity": "sha512-IX3Ln8gLhZpSuqHJSnTNBWGDE9kdkTEWl21A/K7PQ00tseBwbqCHTvNLHSBd9M0R5rER4h5Rsvj9vw0R5SieBg==",
"dev": true,
"requires": {
"@babel/helper-function-name": "^7.1.0",
- "@babel/types": "^7.0.0",
- "lodash": "^4.17.10"
+ "@babel/types": "^7.4.4",
+ "lodash": "^4.17.11"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.4.4.tgz",
+ "integrity": "sha512-dOllgYdnEFOebhkKCjzSVFqw/PmmB8pH6RGOWkY4GsboQNd47b1fBThBSwlHAq9alF9vc1M3+6oqR47R50L0tQ==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.11",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
}
},
"@babel/helper-explode-assignable-expression": {
@@ -178,12 +264,25 @@
}
},
"@babel/helper-hoist-variables": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0.tgz",
- "integrity": "sha512-Ggv5sldXUeSKsuzLkddtyhyHe2YantsxWKNi7A+7LeD12ExRDWTRk29JCXpaHPAbMaIPZSil7n+lq78WY2VY7w==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.4.4.tgz",
+ "integrity": "sha512-VYk2/H/BnYbZDDg39hr3t2kKyifAm1W6zHRfhx8jGjIHpQEBv9dry7oQ2f3+J703TLu69nYdxsovl0XYfcnK4w==",
"dev": true,
"requires": {
- "@babel/types": "^7.0.0"
+ "@babel/types": "^7.4.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.4.4.tgz",
+ "integrity": "sha512-dOllgYdnEFOebhkKCjzSVFqw/PmmB8pH6RGOWkY4GsboQNd47b1fBThBSwlHAq9alF9vc1M3+6oqR47R50L0tQ==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.11",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
}
},
"@babel/helper-member-expression-to-functions": {
@@ -205,17 +304,56 @@
}
},
"@babel/helper-module-transforms": {
- "version": "7.2.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.2.2.tgz",
- "integrity": "sha512-YRD7I6Wsv+IHuTPkAmAS4HhY0dkPobgLftHp0cRGZSdrRvmZY8rFvae/GVu3bD00qscuvK3WPHB3YdNpBXUqrA==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.4.4.tgz",
+ "integrity": "sha512-3Z1yp8TVQf+B4ynN7WoHPKS8EkdTbgAEy0nU0rs/1Kw4pDgmvYH3rz3aI11KgxKCba2cn7N+tqzV1mY2HMN96w==",
"dev": true,
"requires": {
"@babel/helper-module-imports": "^7.0.0",
"@babel/helper-simple-access": "^7.1.0",
- "@babel/helper-split-export-declaration": "^7.0.0",
- "@babel/template": "^7.2.2",
- "@babel/types": "^7.2.2",
- "lodash": "^4.17.10"
+ "@babel/helper-split-export-declaration": "^7.4.4",
+ "@babel/template": "^7.4.4",
+ "@babel/types": "^7.4.4",
+ "lodash": "^4.17.11"
+ },
+ "dependencies": {
+ "@babel/helper-split-export-declaration": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz",
+ "integrity": "sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.4.4"
+ }
+ },
+ "@babel/parser": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.5.tgz",
+ "integrity": "sha512-9mUqkL1FF5T7f0WDFfAoDdiMVPWsdD1gZYzSnaXsxUCUqzuch/8of9G3VUSNiZmMBoRxT3neyVsqeiL/ZPcjew==",
+ "dev": true
+ },
+ "@babel/template": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.4.4.tgz",
+ "integrity": "sha512-CiGzLN9KgAvgZsnivND7rkA+AeJ9JB0ciPOD4U59GKbQP2iQl+olF1l76kJOupqidozfZ32ghwBEJDhnk9MEcw==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.0.0",
+ "@babel/parser": "^7.4.4",
+ "@babel/types": "^7.4.4"
+ }
+ },
+ "@babel/types": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.4.4.tgz",
+ "integrity": "sha512-dOllgYdnEFOebhkKCjzSVFqw/PmmB8pH6RGOWkY4GsboQNd47b1fBThBSwlHAq9alF9vc1M3+6oqR47R50L0tQ==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.11",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
}
},
"@babel/helper-optimise-call-expression": {
@@ -234,12 +372,12 @@
"dev": true
},
"@babel/helper-regex": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.0.0.tgz",
- "integrity": "sha512-TR0/N0NDCcUIUEbqV6dCO+LptmmSQFQ7q70lfcEB4URsjD0E1HzicrwUH+ap6BAQ2jhCX9Q4UqZy4wilujWlkg==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.4.4.tgz",
+ "integrity": "sha512-Y5nuB/kESmR3tKjU8Nkn1wMGEx1tjJX076HBMeL3XLQCu6vA/YRzuTW0bbb+qRnXvQGn+d6Rx953yffl8vEy7Q==",
"dev": true,
"requires": {
- "lodash": "^4.17.10"
+ "lodash": "^4.17.11"
}
},
"@babel/helper-remap-async-to-generator": {
@@ -378,14 +516,14 @@
}
},
"@babel/plugin-proposal-unicode-property-regex": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.2.0.tgz",
- "integrity": "sha512-LvRVYb7kikuOtIoUeWTkOxQEV1kYvL5B6U3iWEGCzPNRus1MzJweFqORTj+0jkxozkTSYNJozPOddxmqdqsRpw==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.4.4.tgz",
+ "integrity": "sha512-j1NwnOqMG9mFUOH58JTFsA/+ZYzQLUZ/drqWUqxCYLGeu2JFZL8YrNC9hBxKmWtAuOCHPcRpgv7fhap09Fb4kA==",
"dev": true,
"requires": {
"@babel/helper-plugin-utils": "^7.0.0",
- "@babel/helper-regex": "^7.0.0",
- "regexpu-core": "^4.2.0"
+ "@babel/helper-regex": "^7.4.4",
+ "regexpu-core": "^4.5.4"
}
},
"@babel/plugin-syntax-async-generators": {
@@ -443,9 +581,9 @@
}
},
"@babel/plugin-transform-async-to-generator": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.2.0.tgz",
- "integrity": "sha512-CEHzg4g5UraReozI9D4fblBYABs7IM6UerAVG7EJVrTLC5keh00aEuLUT+O40+mJCEzaXkYfTCUKIyeDfMOFFQ==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.4.4.tgz",
+ "integrity": "sha512-YiqW2Li8TXmzgbXw+STsSqPBPFnGviiaSp6CYOq55X8GQ2SGVLrXB6pNid8HkqkZAzOH6knbai3snhP7v0fNwA==",
"dev": true,
"requires": {
"@babel/helper-module-imports": "^7.0.0",
@@ -463,29 +601,114 @@
}
},
"@babel/plugin-transform-block-scoping": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.2.0.tgz",
- "integrity": "sha512-vDTgf19ZEV6mx35yiPJe4fS02mPQUUcBNwWQSZFXSzTSbsJFQvHt7DqyS3LK8oOWALFOsJ+8bbqBgkirZteD5Q==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.4.4.tgz",
+ "integrity": "sha512-jkTUyWZcTrwxu5DD4rWz6rDB5Cjdmgz6z7M7RLXOJyCUkFBawssDGcGh8M/0FTSB87avyJI1HsTwUXp9nKA1PA==",
"dev": true,
"requires": {
"@babel/helper-plugin-utils": "^7.0.0",
- "lodash": "^4.17.10"
+ "lodash": "^4.17.11"
}
},
"@babel/plugin-transform-classes": {
- "version": "7.2.2",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.2.2.tgz",
- "integrity": "sha512-gEZvgTy1VtcDOaQty1l10T3jQmJKlNVxLDCs+3rCVPr6nMkODLELxViq5X9l+rfxbie3XrfrMCYYY6eX3aOcOQ==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.4.4.tgz",
+ "integrity": "sha512-/e44eFLImEGIpL9qPxSRat13I5QNRgBLu2hOQJCF7VLy/otSM/sypV1+XaIw5+502RX/+6YaSAPmldk+nhHDPw==",
"dev": true,
"requires": {
"@babel/helper-annotate-as-pure": "^7.0.0",
- "@babel/helper-define-map": "^7.1.0",
+ "@babel/helper-define-map": "^7.4.4",
"@babel/helper-function-name": "^7.1.0",
"@babel/helper-optimise-call-expression": "^7.0.0",
"@babel/helper-plugin-utils": "^7.0.0",
- "@babel/helper-replace-supers": "^7.1.0",
- "@babel/helper-split-export-declaration": "^7.0.0",
+ "@babel/helper-replace-supers": "^7.4.4",
+ "@babel/helper-split-export-declaration": "^7.4.4",
"globals": "^11.1.0"
+ },
+ "dependencies": {
+ "@babel/generator": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.4.4.tgz",
+ "integrity": "sha512-53UOLK6TVNqKxf7RUh8NE851EHRxOOeVXKbK2bivdb+iziMyk03Sr4eaE9OELCbyZAAafAKPDwF2TPUES5QbxQ==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.4.4",
+ "jsesc": "^2.5.1",
+ "lodash": "^4.17.11",
+ "source-map": "^0.5.0",
+ "trim-right": "^1.0.1"
+ }
+ },
+ "@babel/helper-replace-supers": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.4.4.tgz",
+ "integrity": "sha512-04xGEnd+s01nY1l15EuMS1rfKktNF+1CkKmHoErDppjAAZL+IUBZpzT748x262HF7fibaQPhbvWUl5HeSt1EXg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-member-expression-to-functions": "^7.0.0",
+ "@babel/helper-optimise-call-expression": "^7.0.0",
+ "@babel/traverse": "^7.4.4",
+ "@babel/types": "^7.4.4"
+ }
+ },
+ "@babel/helper-split-export-declaration": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz",
+ "integrity": "sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.4.4"
+ }
+ },
+ "@babel/parser": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.5.tgz",
+ "integrity": "sha512-9mUqkL1FF5T7f0WDFfAoDdiMVPWsdD1gZYzSnaXsxUCUqzuch/8of9G3VUSNiZmMBoRxT3neyVsqeiL/ZPcjew==",
+ "dev": true
+ },
+ "@babel/traverse": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.5.tgz",
+ "integrity": "sha512-Vc+qjynwkjRmIFGxy0KYoPj4FdVDxLej89kMHFsWScq999uX+pwcX4v9mWRjW0KcAYTPAuVQl2LKP1wEVLsp+A==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.0.0",
+ "@babel/generator": "^7.4.4",
+ "@babel/helper-function-name": "^7.1.0",
+ "@babel/helper-split-export-declaration": "^7.4.4",
+ "@babel/parser": "^7.4.5",
+ "@babel/types": "^7.4.4",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0",
+ "lodash": "^4.17.11"
+ }
+ },
+ "@babel/types": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.4.4.tgz",
+ "integrity": "sha512-dOllgYdnEFOebhkKCjzSVFqw/PmmB8pH6RGOWkY4GsboQNd47b1fBThBSwlHAq9alF9vc1M3+6oqR47R50L0tQ==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.11",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ }
}
},
"@babel/plugin-transform-computed-properties": {
@@ -498,23 +721,23 @@
}
},
"@babel/plugin-transform-destructuring": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.2.0.tgz",
- "integrity": "sha512-coVO2Ayv7g0qdDbrNiadE4bU7lvCd9H539m2gMknyVjjMdwF/iCOM7R+E8PkntoqLkltO0rk+3axhpp/0v68VQ==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.4.4.tgz",
+ "integrity": "sha512-/aOx+nW0w8eHiEHm+BTERB2oJn5D127iye/SUQl7NjHy0lf+j7h4MKMMSOwdazGq9OxgiNADncE+SRJkCxjZpQ==",
"dev": true,
"requires": {
"@babel/helper-plugin-utils": "^7.0.0"
}
},
"@babel/plugin-transform-dotall-regex": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.2.0.tgz",
- "integrity": "sha512-sKxnyHfizweTgKZf7XsXu/CNupKhzijptfTM+bozonIuyVrLWVUvYjE2bhuSBML8VQeMxq4Mm63Q9qvcvUcciQ==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.4.4.tgz",
+ "integrity": "sha512-P05YEhRc2h53lZDjRPk/OektxCVevFzZs2Gfjd545Wde3k+yFDbXORgl2e0xpbq8mLcKJ7Idss4fAg0zORN/zg==",
"dev": true,
"requires": {
"@babel/helper-plugin-utils": "^7.0.0",
- "@babel/helper-regex": "^7.0.0",
- "regexpu-core": "^4.1.3"
+ "@babel/helper-regex": "^7.4.4",
+ "regexpu-core": "^4.5.4"
}
},
"@babel/plugin-transform-duplicate-keys": {
@@ -537,18 +760,18 @@
}
},
"@babel/plugin-transform-for-of": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.2.0.tgz",
- "integrity": "sha512-Kz7Mt0SsV2tQk6jG5bBv5phVbkd0gd27SgYD4hH1aLMJRchM0dzHaXvrWhVZ+WxAlDoAKZ7Uy3jVTW2mKXQ1WQ==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.4.tgz",
+ "integrity": "sha512-9T/5Dlr14Z9TIEXLXkt8T1DU7F24cbhwhMNUziN3hB1AXoZcdzPcTiKGRn/6iOymDqtTKWnr/BtRKN9JwbKtdQ==",
"dev": true,
"requires": {
"@babel/helper-plugin-utils": "^7.0.0"
}
},
"@babel/plugin-transform-function-name": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.2.0.tgz",
- "integrity": "sha512-kWgksow9lHdvBC2Z4mxTsvc7YdY7w/V6B2vy9cTIPtLEE9NhwoWivaxdNM/S37elu5bqlLP/qOY906LukO9lkQ==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.4.4.tgz",
+ "integrity": "sha512-iU9pv7U+2jC9ANQkKeNF6DrPy4GBa4NWQtl6dHB4Pb3izX2JOEvDTFarlNsBj/63ZEzNNIAMs3Qw4fNCcSOXJA==",
"dev": true,
"requires": {
"@babel/helper-function-name": "^7.1.0",
@@ -564,6 +787,15 @@
"@babel/helper-plugin-utils": "^7.0.0"
}
},
+ "@babel/plugin-transform-member-expression-literals": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.2.0.tgz",
+ "integrity": "sha512-HiU3zKkSU6scTidmnFJ0bMX8hz5ixC93b4MHMiYebmk2lUVNGOboPsqQvx5LzooihijUoLR/v7Nc1rbBtnc7FA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
"@babel/plugin-transform-modules-amd": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.2.0.tgz",
@@ -575,23 +807,23 @@
}
},
"@babel/plugin-transform-modules-commonjs": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.2.0.tgz",
- "integrity": "sha512-V6y0uaUQrQPXUrmj+hgnks8va2L0zcZymeU7TtWEgdRLNkceafKXEduv7QzgQAE4lT+suwooG9dC7LFhdRAbVQ==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.4.4.tgz",
+ "integrity": "sha512-4sfBOJt58sEo9a2BQXnZq+Q3ZTSAUXyK3E30o36BOGnJ+tvJ6YSxF0PG6kERvbeISgProodWuI9UVG3/FMY6iw==",
"dev": true,
"requires": {
- "@babel/helper-module-transforms": "^7.1.0",
+ "@babel/helper-module-transforms": "^7.4.4",
"@babel/helper-plugin-utils": "^7.0.0",
"@babel/helper-simple-access": "^7.1.0"
}
},
"@babel/plugin-transform-modules-systemjs": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.2.0.tgz",
- "integrity": "sha512-aYJwpAhoK9a+1+O625WIjvMY11wkB/ok0WClVwmeo3mCjcNRjt+/8gHWrB5i+00mUju0gWsBkQnPpdvQ7PImmQ==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.4.4.tgz",
+ "integrity": "sha512-MSiModfILQc3/oqnG7NrP1jHaSPryO6tA2kOMmAQApz5dayPxWiHqmq4sWH2xF5LcQK56LlbKByCd8Aah/OIkQ==",
"dev": true,
"requires": {
- "@babel/helper-hoist-variables": "^7.0.0",
+ "@babel/helper-hoist-variables": "^7.4.4",
"@babel/helper-plugin-utils": "^7.0.0"
}
},
@@ -605,10 +837,19 @@
"@babel/helper-plugin-utils": "^7.0.0"
}
},
+ "@babel/plugin-transform-named-capturing-groups-regex": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.5.tgz",
+ "integrity": "sha512-z7+2IsWafTBbjNsOxU/Iv5CvTJlr5w4+HGu1HovKYTtgJ362f7kBcQglkfmlspKKZ3bgrbSGvLfNx++ZJgCWsg==",
+ "dev": true,
+ "requires": {
+ "regexp-tree": "^0.1.6"
+ }
+ },
"@babel/plugin-transform-new-target": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0.tgz",
- "integrity": "sha512-yin069FYjah+LbqfGeTfzIBODex/e++Yfa0rH0fpfam9uTbuEeEOx5GLGr210ggOV77mVRNoeqSYqeuaqSzVSw==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.4.4.tgz",
+ "integrity": "sha512-r1z3T2DNGQwwe2vPGZMBNjioT2scgWzK9BCnDEh+46z8EEwXBq24uRzd65I7pjtugzPSj921aM15RpESgzsSuA==",
"dev": true,
"requires": {
"@babel/helper-plugin-utils": "^7.0.0"
@@ -625,16 +866,25 @@
}
},
"@babel/plugin-transform-parameters": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.2.0.tgz",
- "integrity": "sha512-kB9+hhUidIgUoBQ0MsxMewhzr8i60nMa2KgeJKQWYrqQpqcBYtnpR+JgkadZVZoaEZ/eKu9mclFaVwhRpLNSzA==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.4.tgz",
+ "integrity": "sha512-oMh5DUO1V63nZcu/ZVLQFqiihBGo4OpxJxR1otF50GMeCLiRx5nUdtokd+u9SuVJrvvuIh9OosRFPP4pIPnwmw==",
"dev": true,
"requires": {
- "@babel/helper-call-delegate": "^7.1.0",
+ "@babel/helper-call-delegate": "^7.4.4",
"@babel/helper-get-function-arity": "^7.0.0",
"@babel/helper-plugin-utils": "^7.0.0"
}
},
+ "@babel/plugin-transform-property-literals": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.2.0.tgz",
+ "integrity": "sha512-9q7Dbk4RhgcLp8ebduOpCbtjh7C0itoLYHXd9ueASKAG/is5PQtMR5VJGka9NKqGhYEGn5ITahd4h9QeBMylWQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
"@babel/plugin-transform-react-display-name": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.2.0.tgz",
@@ -676,12 +926,21 @@
}
},
"@babel/plugin-transform-regenerator": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0.tgz",
- "integrity": "sha512-sj2qzsEx8KDVv1QuJc/dEfilkg3RRPvPYx/VnKLtItVQRWt1Wqf5eVCOLZm29CiGFfYYsA3VPjfizTCV0S0Dlw==",
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.5.tgz",
+ "integrity": "sha512-gBKRh5qAaCWntnd09S8QC7r3auLCqq5DI6O0DlfoyDjslSBVqBibrMdsqO+Uhmx3+BlOmE/Kw1HFxmGbv0N9dA==",
+ "dev": true,
+ "requires": {
+ "regenerator-transform": "^0.14.0"
+ }
+ },
+ "@babel/plugin-transform-reserved-words": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.2.0.tgz",
+ "integrity": "sha512-fz43fqW8E1tAB3DKF19/vxbpib1fuyCwSPE418ge5ZxILnBhWyhtPgz8eh1RCGGJlwvksHkyxMxh0eenFi+kFw==",
"dev": true,
"requires": {
- "regenerator-transform": "^0.13.3"
+ "@babel/helper-plugin-utils": "^7.0.0"
}
},
"@babel/plugin-transform-shorthand-properties": {
@@ -713,9 +972,9 @@
}
},
"@babel/plugin-transform-template-literals": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.2.0.tgz",
- "integrity": "sha512-FkPix00J9A/XWXv4VoKJBMeSkyY9x/TqIh76wzcdfl57RJJcf8CehQ08uwfhCDNtRQYtHQKBTwKZDEyjE13Lwg==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.4.4.tgz",
+ "integrity": "sha512-mQrEC4TWkhLN0z8ygIvEL9ZEToPhG5K7KDW3pzGqOfIGZ28Jb0POUkeWcoz8HnHvhFy6dwAT1j8OzqN8s804+g==",
"dev": true,
"requires": {
"@babel/helper-annotate-as-pure": "^7.0.0",
@@ -732,14 +991,14 @@
}
},
"@babel/plugin-transform-unicode-regex": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.2.0.tgz",
- "integrity": "sha512-m48Y0lMhrbXEJnVUaYly29jRXbQ3ksxPrS1Tg8t+MHqzXhtBYAvI51euOBaoAlZLPHsieY9XPVMf80a5x0cPcA==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.4.4.tgz",
+ "integrity": "sha512-il+/XdNw01i93+M9J9u4T7/e/Ue/vWfNZE4IRUQjplu2Mqb/AFTDimkw2tdEdSH50wuQXZAbXSql0UphQke+vA==",
"dev": true,
"requires": {
"@babel/helper-plugin-utils": "^7.0.0",
- "@babel/helper-regex": "^7.0.0",
- "regexpu-core": "^4.1.3"
+ "@babel/helper-regex": "^7.4.4",
+ "regexpu-core": "^4.5.4"
}
},
"@babel/polyfill": {
@@ -749,55 +1008,124 @@
"requires": {
"core-js": "^2.5.7",
"regenerator-runtime": "^0.11.1"
+ },
+ "dependencies": {
+ "core-js": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz",
+ "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A=="
+ }
}
},
"@babel/preset-env": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.2.0.tgz",
- "integrity": "sha512-haGR38j5vOGVeBatrQPr3l0xHbs14505DcM57cbJy48kgMFvvHHoYEhHuRV+7vi559yyAUAVbTWzbK/B/pzJng==",
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.4.5.tgz",
+ "integrity": "sha512-f2yNVXM+FsR5V8UwcFeIHzHWgnhXg3NpRmy0ADvALpnhB0SLbCvrCRr4BLOUYbQNLS+Z0Yer46x9dJXpXewI7w==",
"dev": true,
"requires": {
"@babel/helper-module-imports": "^7.0.0",
"@babel/helper-plugin-utils": "^7.0.0",
"@babel/plugin-proposal-async-generator-functions": "^7.2.0",
"@babel/plugin-proposal-json-strings": "^7.2.0",
- "@babel/plugin-proposal-object-rest-spread": "^7.2.0",
+ "@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/plugin-proposal-optional-catch-binding": "^7.2.0",
- "@babel/plugin-proposal-unicode-property-regex": "^7.2.0",
+ "@babel/plugin-proposal-unicode-property-regex": "^7.4.4",
"@babel/plugin-syntax-async-generators": "^7.2.0",
+ "@babel/plugin-syntax-json-strings": "^7.2.0",
"@babel/plugin-syntax-object-rest-spread": "^7.2.0",
"@babel/plugin-syntax-optional-catch-binding": "^7.2.0",
"@babel/plugin-transform-arrow-functions": "^7.2.0",
- "@babel/plugin-transform-async-to-generator": "^7.2.0",
+ "@babel/plugin-transform-async-to-generator": "^7.4.4",
"@babel/plugin-transform-block-scoped-functions": "^7.2.0",
- "@babel/plugin-transform-block-scoping": "^7.2.0",
- "@babel/plugin-transform-classes": "^7.2.0",
+ "@babel/plugin-transform-block-scoping": "^7.4.4",
+ "@babel/plugin-transform-classes": "^7.4.4",
"@babel/plugin-transform-computed-properties": "^7.2.0",
- "@babel/plugin-transform-destructuring": "^7.2.0",
- "@babel/plugin-transform-dotall-regex": "^7.2.0",
+ "@babel/plugin-transform-destructuring": "^7.4.4",
+ "@babel/plugin-transform-dotall-regex": "^7.4.4",
"@babel/plugin-transform-duplicate-keys": "^7.2.0",
"@babel/plugin-transform-exponentiation-operator": "^7.2.0",
- "@babel/plugin-transform-for-of": "^7.2.0",
- "@babel/plugin-transform-function-name": "^7.2.0",
+ "@babel/plugin-transform-for-of": "^7.4.4",
+ "@babel/plugin-transform-function-name": "^7.4.4",
"@babel/plugin-transform-literals": "^7.2.0",
+ "@babel/plugin-transform-member-expression-literals": "^7.2.0",
"@babel/plugin-transform-modules-amd": "^7.2.0",
- "@babel/plugin-transform-modules-commonjs": "^7.2.0",
- "@babel/plugin-transform-modules-systemjs": "^7.2.0",
+ "@babel/plugin-transform-modules-commonjs": "^7.4.4",
+ "@babel/plugin-transform-modules-systemjs": "^7.4.4",
"@babel/plugin-transform-modules-umd": "^7.2.0",
- "@babel/plugin-transform-new-target": "^7.0.0",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.4.5",
+ "@babel/plugin-transform-new-target": "^7.4.4",
"@babel/plugin-transform-object-super": "^7.2.0",
- "@babel/plugin-transform-parameters": "^7.2.0",
- "@babel/plugin-transform-regenerator": "^7.0.0",
+ "@babel/plugin-transform-parameters": "^7.4.4",
+ "@babel/plugin-transform-property-literals": "^7.2.0",
+ "@babel/plugin-transform-regenerator": "^7.4.5",
+ "@babel/plugin-transform-reserved-words": "^7.2.0",
"@babel/plugin-transform-shorthand-properties": "^7.2.0",
"@babel/plugin-transform-spread": "^7.2.0",
"@babel/plugin-transform-sticky-regex": "^7.2.0",
- "@babel/plugin-transform-template-literals": "^7.2.0",
+ "@babel/plugin-transform-template-literals": "^7.4.4",
"@babel/plugin-transform-typeof-symbol": "^7.2.0",
- "@babel/plugin-transform-unicode-regex": "^7.2.0",
- "browserslist": "^4.3.4",
+ "@babel/plugin-transform-unicode-regex": "^7.4.4",
+ "@babel/types": "^7.4.4",
+ "browserslist": "^4.6.0",
+ "core-js-compat": "^3.1.1",
"invariant": "^2.2.2",
"js-levenshtein": "^1.1.3",
- "semver": "^5.3.0"
+ "semver": "^5.5.0"
+ },
+ "dependencies": {
+ "@babel/plugin-proposal-object-rest-spread": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.4.tgz",
+ "integrity": "sha512-dMBG6cSPBbHeEBdFXeQ2QLc5gUpg4Vkaz8octD4aoW/ISO+jBOcsuxYL7bsb5WSu8RLP6boxrBIALEHgoHtO9g==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-object-rest-spread": "^7.2.0"
+ }
+ },
+ "@babel/types": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.4.4.tgz",
+ "integrity": "sha512-dOllgYdnEFOebhkKCjzSVFqw/PmmB8pH6RGOWkY4GsboQNd47b1fBThBSwlHAq9alF9vc1M3+6oqR47R50L0tQ==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.11",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "browserslist": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.6.2.tgz",
+ "integrity": "sha512-2neU/V0giQy9h3XMPwLhEY3+Ao0uHSwHvU8Q1Ea6AgLVL1sXbX3dzPrJ8NWe5Hi4PoTkCYXOtVR9rfRLI0J/8Q==",
+ "dev": true,
+ "requires": {
+ "caniuse-lite": "^1.0.30000974",
+ "electron-to-chromium": "^1.3.150",
+ "node-releases": "^1.1.23"
+ }
+ },
+ "caniuse-lite": {
+ "version": "1.0.30000974",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000974.tgz",
+ "integrity": "sha512-xc3rkNS/Zc3CmpMKuczWEdY2sZgx09BkAxfvkxlAEBTqcMHeL8QnPqhKse+5sRTi3nrw2pJwToD2WvKn1Uhvww==",
+ "dev": true
+ },
+ "electron-to-chromium": {
+ "version": "1.3.155",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.155.tgz",
+ "integrity": "sha512-/ci/XgZG8jkLYOgOe3mpJY1onxPPTDY17y7scldhnSjjZqV6VvREG/LvwhRuV7BJbnENFfuDWZkSqlTh4x9ZjQ==",
+ "dev": true
+ },
+ "node-releases": {
+ "version": "1.1.23",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.23.tgz",
+ "integrity": "sha512-uq1iL79YjfYC0WXoHbC/z28q/9pOl8kSHaXdWmAAc8No+bDwqkZbzIJz55g/MUsPgSGm9LZ7QSUbzTcH5tz47w==",
+ "dev": true,
+ "requires": {
+ "semver": "^5.3.0"
+ }
+ }
}
},
"@babel/preset-react": {
@@ -1085,6 +1413,22 @@
"rimraf": "^2.5.2"
}
},
+ "@mrmlnc/readdir-enhanced": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz",
+ "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==",
+ "dev": true,
+ "requires": {
+ "call-me-maybe": "^1.0.1",
+ "glob-to-regexp": "^0.3.0"
+ }
+ },
+ "@nodelib/fs.stat": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz",
+ "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==",
+ "dev": true
+ },
"@sinonjs/commons": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.3.0.tgz",
@@ -1122,79 +1466,285 @@
}
}
},
+ "@types/events": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz",
+ "integrity": "sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==",
+ "dev": true
+ },
+ "@types/glob": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz",
+ "integrity": "sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==",
+ "dev": true,
+ "requires": {
+ "@types/events": "*",
+ "@types/minimatch": "*",
+ "@types/node": "*"
+ }
+ },
+ "@types/minimatch": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
+ "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==",
+ "dev": true
+ },
"@types/node": {
"version": "10.12.15",
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.15.tgz",
"integrity": "sha512-9kROxduaN98QghwwHmxXO2Xz3MaWf+I1sLVAA6KJDF5xix+IyXVhds0MAfdNwtcpSrzhaTsNB0/jnL86fgUhqA==",
"dev": true
},
- "JSONStream": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
- "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",
+ "@types/q": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz",
+ "integrity": "sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==",
+ "dev": true
+ },
+ "@webassemblyjs/ast": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.8.5.tgz",
+ "integrity": "sha512-aJMfngIZ65+t71C3y2nBBg5FFG0Okt9m0XEgWZ7Ywgn1oMAT8cNwx00Uv1cQyHtidq0Xn94R4TAywO+LCQ+ZAQ==",
"dev": true,
"requires": {
- "jsonparse": "^1.2.0",
- "through": ">=2.2.7 <3"
+ "@webassemblyjs/helper-module-context": "1.8.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.8.5",
+ "@webassemblyjs/wast-parser": "1.8.5"
}
},
- "abbrev": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz",
- "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU=",
+ "@webassemblyjs/floating-point-hex-parser": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz",
+ "integrity": "sha512-9p+79WHru1oqBh9ewP9zW95E3XAo+90oth7S5Re3eQnECGq59ly1Ri5tsIipKGpiStHsUYmY3zMLqtk3gTcOtQ==",
"dev": true
},
- "accepts": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz",
- "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=",
+ "@webassemblyjs/helper-api-error": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz",
+ "integrity": "sha512-Za/tnzsvnqdaSPOUXHyKJ2XI7PDX64kWtURyGiJJZKVEdFOsdKUCPTNEVFZq3zJ2R0G5wc2PZ5gvdTRFgm81zA==",
+ "dev": true
+ },
+ "@webassemblyjs/helper-buffer": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz",
+ "integrity": "sha512-Ri2R8nOS0U6G49Q86goFIPNgjyl6+oE1abW1pS84BuhP1Qcr5JqMwRFT3Ah3ADDDYGEgGs1iyb1DGX+kAi/c/Q==",
+ "dev": true
+ },
+ "@webassemblyjs/helper-code-frame": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz",
+ "integrity": "sha512-VQAadSubZIhNpH46IR3yWO4kZZjMxN1opDrzePLdVKAZ+DFjkGD/rf4v1jap744uPVU6yjL/smZbRIIJTOUnKQ==",
"dev": true,
"requires": {
- "mime-types": "~2.1.18",
- "negotiator": "0.6.1"
- },
- "dependencies": {
- "mime-types": {
- "version": "2.1.21",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz",
- "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==",
- "dev": true,
- "requires": {
- "mime-db": "~1.37.0"
- }
- }
+ "@webassemblyjs/wast-printer": "1.8.5"
}
},
- "acorn": {
- "version": "5.7.3",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz",
- "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==",
+ "@webassemblyjs/helper-fsm": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz",
+ "integrity": "sha512-kRuX/saORcg8se/ft6Q2UbRpZwP4y7YrWsLXPbbmtepKr22i8Z4O3V5QE9DbZK908dh5Xya4Un57SDIKwB9eow==",
"dev": true
},
- "acorn-dynamic-import": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz",
- "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=",
+ "@webassemblyjs/helper-module-context": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz",
+ "integrity": "sha512-/O1B236mN7UNEU4t9X7Pj38i4VoU8CcMHyy3l2cV/kIF4U5KoHXDVqcDuOs1ltkac90IM4vZdHc52t1x8Yfs3g==",
"dev": true,
"requires": {
- "acorn": "^4.0.3"
- },
- "dependencies": {
- "acorn": {
- "version": "4.0.13",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz",
- "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=",
- "dev": true
- }
+ "@webassemblyjs/ast": "1.8.5",
+ "mamacro": "^0.0.3"
}
},
- "acorn-jsx": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz",
- "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=",
+ "@webassemblyjs/helper-wasm-bytecode": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz",
+ "integrity": "sha512-Cu4YMYG3Ddl72CbmpjU/wbP6SACcOPVbHN1dI4VJNJVgFwaKf1ppeFJrwydOG3NDHxVGuCfPlLZNyEdIYlQ6QQ==",
+ "dev": true
+ },
+ "@webassemblyjs/helper-wasm-section": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz",
+ "integrity": "sha512-VV083zwR+VTrIWWtgIUpqfvVdK4ff38loRmrdDBgBT8ADXYsEZ5mPQ4Nde90N3UYatHdYoDIFb7oHzMncI02tA==",
"dev": true,
"requires": {
- "acorn": "^3.0.4"
+ "@webassemblyjs/ast": "1.8.5",
+ "@webassemblyjs/helper-buffer": "1.8.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.8.5",
+ "@webassemblyjs/wasm-gen": "1.8.5"
+ }
+ },
+ "@webassemblyjs/ieee754": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz",
+ "integrity": "sha512-aaCvQYrvKbY/n6wKHb/ylAJr27GglahUO89CcGXMItrOBqRarUMxWLJgxm9PJNuKULwN5n1csT9bYoMeZOGF3g==",
+ "dev": true,
+ "requires": {
+ "@xtuc/ieee754": "^1.2.0"
+ }
+ },
+ "@webassemblyjs/leb128": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.8.5.tgz",
+ "integrity": "sha512-plYUuUwleLIziknvlP8VpTgO4kqNaH57Y3JnNa6DLpu/sGcP6hbVdfdX5aHAV716pQBKrfuU26BJK29qY37J7A==",
+ "dev": true,
+ "requires": {
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "@webassemblyjs/utf8": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.8.5.tgz",
+ "integrity": "sha512-U7zgftmQriw37tfD934UNInokz6yTmn29inT2cAetAsaU9YeVCveWEwhKL1Mg4yS7q//NGdzy79nlXh3bT8Kjw==",
+ "dev": true
+ },
+ "@webassemblyjs/wasm-edit": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz",
+ "integrity": "sha512-A41EMy8MWw5yvqj7MQzkDjU29K7UJq1VrX2vWLzfpRHt3ISftOXqrtojn7nlPsZ9Ijhp5NwuODuycSvfAO/26Q==",
+ "dev": true,
+ "requires": {
+ "@webassemblyjs/ast": "1.8.5",
+ "@webassemblyjs/helper-buffer": "1.8.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.8.5",
+ "@webassemblyjs/helper-wasm-section": "1.8.5",
+ "@webassemblyjs/wasm-gen": "1.8.5",
+ "@webassemblyjs/wasm-opt": "1.8.5",
+ "@webassemblyjs/wasm-parser": "1.8.5",
+ "@webassemblyjs/wast-printer": "1.8.5"
+ }
+ },
+ "@webassemblyjs/wasm-gen": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz",
+ "integrity": "sha512-BCZBT0LURC0CXDzj5FXSc2FPTsxwp3nWcqXQdOZE4U7h7i8FqtFK5Egia6f9raQLpEKT1VL7zr4r3+QX6zArWg==",
+ "dev": true,
+ "requires": {
+ "@webassemblyjs/ast": "1.8.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.8.5",
+ "@webassemblyjs/ieee754": "1.8.5",
+ "@webassemblyjs/leb128": "1.8.5",
+ "@webassemblyjs/utf8": "1.8.5"
+ }
+ },
+ "@webassemblyjs/wasm-opt": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz",
+ "integrity": "sha512-HKo2mO/Uh9A6ojzu7cjslGaHaUU14LdLbGEKqTR7PBKwT6LdPtLLh9fPY33rmr5wcOMrsWDbbdCHq4hQUdd37Q==",
+ "dev": true,
+ "requires": {
+ "@webassemblyjs/ast": "1.8.5",
+ "@webassemblyjs/helper-buffer": "1.8.5",
+ "@webassemblyjs/wasm-gen": "1.8.5",
+ "@webassemblyjs/wasm-parser": "1.8.5"
+ }
+ },
+ "@webassemblyjs/wasm-parser": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz",
+ "integrity": "sha512-pi0SYE9T6tfcMkthwcgCpL0cM9nRYr6/6fjgDtL6q/ZqKHdMWvxitRi5JcZ7RI4SNJJYnYNaWy5UUrHQy998lw==",
+ "dev": true,
+ "requires": {
+ "@webassemblyjs/ast": "1.8.5",
+ "@webassemblyjs/helper-api-error": "1.8.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.8.5",
+ "@webassemblyjs/ieee754": "1.8.5",
+ "@webassemblyjs/leb128": "1.8.5",
+ "@webassemblyjs/utf8": "1.8.5"
+ }
+ },
+ "@webassemblyjs/wast-parser": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz",
+ "integrity": "sha512-daXC1FyKWHF1i11obK086QRlsMsY4+tIOKgBqI1lxAnkp9xe9YMcgOxm9kLe+ttjs5aWV2KKE1TWJCN57/Btsg==",
+ "dev": true,
+ "requires": {
+ "@webassemblyjs/ast": "1.8.5",
+ "@webassemblyjs/floating-point-hex-parser": "1.8.5",
+ "@webassemblyjs/helper-api-error": "1.8.5",
+ "@webassemblyjs/helper-code-frame": "1.8.5",
+ "@webassemblyjs/helper-fsm": "1.8.5",
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "@webassemblyjs/wast-printer": {
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz",
+ "integrity": "sha512-w0U0pD4EhlnvRyeJzBqaVSJAo9w/ce7/WPogeXLzGkO6hzhr4GnQIZ4W4uUt5b9ooAaXPtnXlj0gzsXEOUNYMg==",
+ "dev": true,
+ "requires": {
+ "@webassemblyjs/ast": "1.8.5",
+ "@webassemblyjs/wast-parser": "1.8.5",
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "@xtuc/ieee754": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
+ "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",
+ "dev": true
+ },
+ "@xtuc/long": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
+ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",
+ "dev": true
+ },
+ "JSONStream": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
+ "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",
+ "dev": true,
+ "requires": {
+ "jsonparse": "^1.2.0",
+ "through": ">=2.2.7 <3"
+ }
+ },
+ "abbrev": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz",
+ "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU=",
+ "dev": true
+ },
+ "accepts": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz",
+ "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=",
+ "dev": true,
+ "requires": {
+ "mime-types": "~2.1.18",
+ "negotiator": "0.6.1"
+ },
+ "dependencies": {
+ "mime-types": {
+ "version": "2.1.21",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz",
+ "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==",
+ "dev": true,
+ "requires": {
+ "mime-db": "~1.37.0"
+ }
+ }
+ }
+ },
+ "acorn": {
+ "version": "5.7.3",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz",
+ "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==",
+ "dev": true
+ },
+ "acorn-dynamic-import": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz",
+ "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==",
+ "dev": true
+ },
+ "acorn-jsx": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz",
+ "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=",
+ "dev": true,
+ "requires": {
+ "acorn": "^3.0.4"
},
"dependencies": {
"acorn": {
@@ -1205,6 +1755,12 @@
}
}
},
+ "address": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/address/-/address-1.0.3.tgz",
+ "integrity": "sha512-z55ocwKBRLryBs394Sm3ushTtBeg6VAeuku7utSoSnsJKvKcnXFIyC6vh27n3rXyxSgkJBBCAvyOn7gSUcTYjg==",
+ "dev": true
+ },
"after": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/after/-/after-0.8.2.tgz",
@@ -1232,34 +1788,18 @@
"json-schema-traverse": "^0.3.0"
}
},
+ "ajv-errors": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz",
+ "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==",
+ "dev": true
+ },
"ajv-keywords": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.1.tgz",
"integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=",
"dev": true
},
- "align-text": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz",
- "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=",
- "dev": true,
- "requires": {
- "kind-of": "^3.0.2",
- "longest": "^1.0.1",
- "repeat-string": "^1.5.2"
- },
- "dependencies": {
- "kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "dev": true,
- "requires": {
- "is-buffer": "^1.1.5"
- }
- }
- }
- },
"alphanum-sort": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz",
@@ -1272,6 +1812,12 @@
"integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",
"dev": true
},
+ "ansi-colors": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz",
+ "integrity": "sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==",
+ "dev": true
+ },
"ansi-escapes": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz",
@@ -1374,6 +1920,12 @@
"integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=",
"dev": true
},
+ "array-filter": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-0.0.1.tgz",
+ "integrity": "sha1-fajPLiZijtcygDWB/SH2fKzS7uw=",
+ "dev": true
+ },
"array-find": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/array-find/-/array-find-1.0.0.tgz",
@@ -1414,6 +1966,18 @@
"es-abstract": "^1.7.0"
}
},
+ "array-map": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz",
+ "integrity": "sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=",
+ "dev": true
+ },
+ "array-reduce": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz",
+ "integrity": "sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=",
+ "dev": true
+ },
"array-slice": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz",
@@ -1576,17 +2140,91 @@
"dev": true
},
"autoprefixer": {
- "version": "9.4.3",
- "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.4.3.tgz",
- "integrity": "sha512-/XSnzDepRkAU//xLcXA/lUWxpsBuw0WiriAHOqnxkuCtzLhaz+fL4it4gp20BQ8n5SyLzK/FOc7A0+u/rti2FQ==",
+ "version": "9.6.0",
+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.6.0.tgz",
+ "integrity": "sha512-kuip9YilBqhirhHEGHaBTZKXL//xxGnzvsD0FtBQa6z+A69qZD6s/BAX9VzDF1i9VKDquTJDQaPLSEhOnL6FvQ==",
"dev": true,
"requires": {
- "browserslist": "^4.3.6",
- "caniuse-lite": "^1.0.30000921",
+ "browserslist": "^4.6.1",
+ "caniuse-lite": "^1.0.30000971",
+ "chalk": "^2.4.2",
"normalize-range": "^0.1.2",
"num2fraction": "^1.2.2",
- "postcss": "^7.0.6",
+ "postcss": "^7.0.16",
"postcss-value-parser": "^3.3.1"
+ },
+ "dependencies": {
+ "browserslist": {
+ "version": "4.6.1",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.6.1.tgz",
+ "integrity": "sha512-1MC18ooMPRG2UuVFJTHFIAkk6mpByJfxCrnUyvSlu/hyQSFHMrlhM02SzNuCV+quTP4CKmqtOMAIjrifrpBJXQ==",
+ "dev": true,
+ "requires": {
+ "caniuse-lite": "^1.0.30000971",
+ "electron-to-chromium": "^1.3.137",
+ "node-releases": "^1.1.21"
+ }
+ },
+ "caniuse-lite": {
+ "version": "1.0.30000973",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000973.tgz",
+ "integrity": "sha512-/F3t/Yo8LEdRSEPCmI15fLu5vepVh9UCg/9inJXF5AAfW7xRRJkbaM2ut52iRMQMnGCLQouLbFdbOA+VEFOIsg==",
+ "dev": true
+ },
+ "chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ }
+ },
+ "electron-to-chromium": {
+ "version": "1.3.148",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.148.tgz",
+ "integrity": "sha512-nuCOlXNlGMQmdzihIPGm2K3Yf3H1hke/1rK381i02pH8wNliJU9hVNnOi/xjmxt+mjABd/BzufP5nPHWKshLWA==",
+ "dev": true
+ },
+ "node-releases": {
+ "version": "1.1.23",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.23.tgz",
+ "integrity": "sha512-uq1iL79YjfYC0WXoHbC/z28q/9pOl8kSHaXdWmAAc8No+bDwqkZbzIJz55g/MUsPgSGm9LZ7QSUbzTcH5tz47w==",
+ "dev": true,
+ "requires": {
+ "semver": "^5.3.0"
+ }
+ },
+ "postcss": {
+ "version": "7.0.17",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.17.tgz",
+ "integrity": "sha512-546ZowA+KZ3OasvQZHsbuEpysvwTZNGJv9EfyCQdsIDltPSWHAeTQ5fQy/Npi2ZDtLI3zs7Ps/p6wThErhm9fQ==",
+ "dev": true,
+ "requires": {
+ "chalk": "^2.4.2",
+ "source-map": "^0.6.1",
+ "supports-color": "^6.1.0"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^3.0.0"
+ }
+ }
+ }
+ },
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true
+ }
}
},
"aws-sign2": {
@@ -1603,13 +2241,21 @@
"dev": true
},
"axios": {
- "version": "0.18.0",
- "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.0.tgz",
- "integrity": "sha1-MtU+SFHv3AoRmTts0AB4nXDAUQI=",
+ "version": "0.18.1",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.1.tgz",
+ "integrity": "sha512-0BfJq4NSfQXd+SkFdrvFbG7addhYSBA2mQwISr46pD6E5iqkWg02RAs8vyTT/j0RTnoYmeXauBuSv1qKwR179g==",
"dev": true,
"requires": {
- "follow-redirects": "^1.3.0",
- "is-buffer": "^1.1.5"
+ "follow-redirects": "1.5.10",
+ "is-buffer": "^2.0.2"
+ },
+ "dependencies": {
+ "is-buffer": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz",
+ "integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==",
+ "dev": true
+ }
}
},
"axobject-query": {
@@ -1680,15 +2326,23 @@
}
},
"babel-loader": {
- "version": "8.0.4",
- "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.0.4.tgz",
- "integrity": "sha512-fhBhNkUToJcW9nV46v8w87AJOwAJDz84c1CL57n3Stj73FANM/b9TbCUK4YhdOwEyZ+OxhYpdeZDNzSI29Firw==",
+ "version": "8.0.6",
+ "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.0.6.tgz",
+ "integrity": "sha512-4BmWKtBOBm13uoUwd08UwjZlaw3O9GWf456R9j+5YykFZ6LUIjIKLc0zEZf+hauxPOJs96C8k6FvYD09vWzhYw==",
"dev": true,
"requires": {
- "find-cache-dir": "^1.0.0",
+ "find-cache-dir": "^2.0.0",
"loader-utils": "^1.0.2",
"mkdirp": "^0.5.1",
- "util.promisify": "^1.0.0"
+ "pify": "^4.0.1"
+ },
+ "dependencies": {
+ "pify": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
+ "dev": true
+ }
}
},
"babel-plugin-istanbul": {
@@ -1758,6 +2412,12 @@
"regenerator-runtime": "^0.10.5"
},
"dependencies": {
+ "core-js": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz",
+ "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==",
+ "dev": true
+ },
"regenerator-runtime": {
"version": "0.10.5",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz",
@@ -1774,6 +2434,14 @@
"requires": {
"core-js": "^2.4.0",
"regenerator-runtime": "^0.11.0"
+ },
+ "dependencies": {
+ "core-js": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz",
+ "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==",
+ "dev": true
+ }
}
},
"backo2": {
@@ -2240,6 +2908,51 @@
"integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=",
"dev": true
},
+ "cacache": {
+ "version": "11.3.2",
+ "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.2.tgz",
+ "integrity": "sha512-E0zP4EPGDOaT2chM08Als91eYnf8Z+eH1awwwVsngUmgppfM5jjJ8l3z5vO5p5w/I3LsiXawb1sW0VY65pQABg==",
+ "dev": true,
+ "requires": {
+ "bluebird": "^3.5.3",
+ "chownr": "^1.1.1",
+ "figgy-pudding": "^3.5.1",
+ "glob": "^7.1.3",
+ "graceful-fs": "^4.1.15",
+ "lru-cache": "^5.1.1",
+ "mississippi": "^3.0.0",
+ "mkdirp": "^0.5.1",
+ "move-concurrently": "^1.0.1",
+ "promise-inflight": "^1.0.1",
+ "rimraf": "^2.6.2",
+ "ssri": "^6.0.1",
+ "unique-filename": "^1.1.1",
+ "y18n": "^4.0.0"
+ },
+ "dependencies": {
+ "lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dev": true,
+ "requires": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "y18n": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
+ "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==",
+ "dev": true
+ },
+ "yallist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
+ "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==",
+ "dev": true
+ }
+ }
+ },
"cache-base": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
@@ -2257,6 +2970,12 @@
"unset-value": "^1.0.0"
}
},
+ "call-me-maybe": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz",
+ "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=",
+ "dev": true
+ },
"caller-callsite": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz",
@@ -2295,6 +3014,16 @@
"integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=",
"dev": true
},
+ "camel-case": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz",
+ "integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=",
+ "dev": true,
+ "requires": {
+ "no-case": "^2.2.0",
+ "upper-case": "^1.1.1"
+ }
+ },
"camelcase": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",
@@ -2313,57 +3042,35 @@
}
},
"caniuse-api": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-1.6.1.tgz",
- "integrity": "sha1-tTTnxzTE+B7F++isoq0kNUuWLGw=",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",
+ "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==",
"dev": true,
"requires": {
- "browserslist": "^1.3.6",
- "caniuse-db": "^1.0.30000529",
+ "browserslist": "^4.0.0",
+ "caniuse-lite": "^1.0.0",
"lodash.memoize": "^4.1.2",
"lodash.uniq": "^4.5.0"
- },
- "dependencies": {
- "browserslist": {
- "version": "1.7.7",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz",
- "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
- "dev": true,
- "requires": {
- "caniuse-db": "^1.0.30000639",
- "electron-to-chromium": "^1.2.7"
- }
- }
}
},
- "caniuse-db": {
- "version": "1.0.30000921",
- "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000921.tgz",
- "integrity": "sha512-sAvmRuxZ457rlTK+ydUMpmeXjVfkiXQXv0POTdpHEdKrVwEQaeZqJgQA5MH7sKAGTGxzlLcDpfoNkpVXw09X5Q==",
- "dev": true
- },
"caniuse-lite": {
"version": "1.0.30000921",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000921.tgz",
"integrity": "sha512-Bu09ciy0lMWLgpYC77I0YGuI8eFRBPPzaSOYJK1jTI64txCphYCqnWbxJYjHABYVt/TYX/p3jNjLBR87u1Bfpw==",
"dev": true
},
+ "case-sensitive-paths-webpack-plugin": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.2.0.tgz",
+ "integrity": "sha512-u5ElzokS8A1pm9vM3/iDgTcI3xqHxuCao94Oz8etI3cf0Tio0p8izkDYbTIn09uP3yUUr6+veaE6IkjnTYS46g==",
+ "dev": true
+ },
"caseless": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.6.0.tgz",
"integrity": "sha1-gWfBq4OX+1u5X5bSjlqBxQ8kesQ=",
"dev": true
},
- "center-align": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz",
- "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=",
- "dev": true,
- "requires": {
- "align-text": "^0.1.3",
- "lazy-cache": "^1.0.3"
- }
- },
"chai": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/chai/-/chai-4.2.0.tgz",
@@ -2454,6 +3161,21 @@
"upath": "^1.0.5"
}
},
+ "chownr": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz",
+ "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==",
+ "dev": true
+ },
+ "chrome-trace-event": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz",
+ "integrity": "sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==",
+ "dev": true,
+ "requires": {
+ "tslib": "^1.9.0"
+ }
+ },
"ci-info": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz",
@@ -2476,52 +3198,16 @@
"integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==",
"dev": true
},
- "clap": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/clap/-/clap-1.2.3.tgz",
- "integrity": "sha512-4CoL/A3hf90V3VIEjeuhSvlGFEHKzOz+Wfc2IVZc+FaUgU0ZQafJTP49fvnULipOPcAfqhyI2duwQyns6xqjYA==",
+ "class-utils": {
+ "version": "0.3.6",
+ "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
+ "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",
"dev": true,
"requires": {
- "chalk": "^1.1.3"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- }
- },
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "class-utils": {
- "version": "0.3.6",
- "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
- "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",
- "dev": true,
- "requires": {
- "arr-union": "^3.1.0",
- "define-property": "^0.2.5",
- "isobject": "^3.0.0",
- "static-extend": "^0.1.1"
+ "arr-union": "^3.1.0",
+ "define-property": "^0.2.5",
+ "isobject": "^3.0.0",
+ "static-extend": "^0.1.1"
},
"dependencies": {
"define-property": {
@@ -2541,6 +3227,23 @@
"integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==",
"dev": true
},
+ "clean-css": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz",
+ "integrity": "sha512-4ZxI6dy4lrY6FHzfiy1aEOXgu4LIsW2MhwG0VBKdcoGoH/XLFgaHSdLTGr4O8Be6A8r3MOphEiI8Gc1n0ecf3g==",
+ "dev": true,
+ "requires": {
+ "source-map": "~0.6.0"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true
+ }
+ }
+ },
"cli-cursor": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
@@ -2645,12 +3348,6 @@
}
}
},
- "clone": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
- "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=",
- "dev": true
- },
"clone-deep": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-2.0.2.tgz",
@@ -2670,11 +3367,13 @@
"dev": true
},
"coa": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/coa/-/coa-1.0.4.tgz",
- "integrity": "sha1-qe8VNmDWqGqL3sAomlxoTSF0Mv0=",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz",
+ "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==",
"dev": true,
"requires": {
+ "@types/q": "^1.5.1",
+ "chalk": "^2.4.1",
"q": "^1.1.2"
}
},
@@ -2705,14 +3404,13 @@
}
},
"color": {
- "version": "0.11.4",
- "resolved": "https://registry.npmjs.org/color/-/color-0.11.4.tgz",
- "integrity": "sha1-bXtcdPtl6EHNSHkq0e1eB7kE12Q=",
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/color/-/color-3.1.2.tgz",
+ "integrity": "sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg==",
"dev": true,
"requires": {
- "clone": "^1.0.2",
- "color-convert": "^1.3.0",
- "color-string": "^0.3.0"
+ "color-convert": "^1.9.1",
+ "color-string": "^1.5.2"
}
},
"color-convert": {
@@ -2731,23 +3429,13 @@
"dev": true
},
"color-string": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/color-string/-/color-string-0.3.0.tgz",
- "integrity": "sha1-J9RvtnAlxcL6JZk7+/V55HhBuZE=",
- "dev": true,
- "requires": {
- "color-name": "^1.0.0"
- }
- },
- "colormin": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/colormin/-/colormin-1.1.2.tgz",
- "integrity": "sha1-6i90IKcrlogaOKrlnsEkpvcpgTM=",
+ "version": "1.5.3",
+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz",
+ "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==",
"dev": true,
"requires": {
- "color": "^0.11.0",
- "css-color-names": "0.0.4",
- "has": "^1.0.1"
+ "color-name": "^1.0.0",
+ "simple-swizzle": "^0.2.2"
}
},
"colors": {
@@ -2825,25 +3513,33 @@
"dev": true
},
"compressible": {
- "version": "2.0.15",
- "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.15.tgz",
- "integrity": "sha512-4aE67DL33dSW9gw4CI2H/yTxqHLNcxp0yS6jB+4h+wr3e43+1z7vm0HU9qXOH8j+qjKuL8+UtkOxYQSMq60Ylw==",
+ "version": "2.0.17",
+ "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.17.tgz",
+ "integrity": "sha512-BGHeLCK1GV7j1bSmQQAi26X+GgWcTjLr/0tzSvMCl3LH1w1IJ4PFSPoV5316b30cneTziC+B1a+3OjoSUcQYmw==",
"dev": true,
"requires": {
- "mime-db": ">= 1.36.0 < 2"
+ "mime-db": ">= 1.40.0 < 2"
+ },
+ "dependencies": {
+ "mime-db": {
+ "version": "1.40.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz",
+ "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==",
+ "dev": true
+ }
}
},
"compression": {
- "version": "1.7.3",
- "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.3.tgz",
- "integrity": "sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg==",
+ "version": "1.7.4",
+ "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz",
+ "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==",
"dev": true,
"requires": {
"accepts": "~1.3.5",
"bytes": "3.0.0",
- "compressible": "~2.0.14",
+ "compressible": "~2.0.16",
"debug": "2.6.9",
- "on-headers": "~1.0.1",
+ "on-headers": "~1.0.2",
"safe-buffer": "5.1.2",
"vary": "~1.1.2"
}
@@ -2879,9 +3575,9 @@
}
},
"connect-history-api-fallback": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz",
- "integrity": "sha1-sGhzk0vF40T+9hGhlqb6rgruAVo=",
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz",
+ "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==",
"dev": true
},
"console-browserify": {
@@ -2912,10 +3608,13 @@
"dev": true
},
"content-disposition": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz",
- "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=",
- "dev": true
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
+ "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
+ "dev": true,
+ "requires": {
+ "safe-buffer": "5.1.2"
+ }
},
"content-type": {
"version": "1.0.4",
@@ -2988,6 +3687,20 @@
"integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=",
"dev": true
},
+ "copy-concurrently": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz",
+ "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==",
+ "dev": true,
+ "requires": {
+ "aproba": "^1.1.1",
+ "fs-write-stream-atomic": "^1.0.8",
+ "iferr": "^0.1.5",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.4",
+ "run-queue": "^1.0.0"
+ }
+ },
"copy-descriptor": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
@@ -2995,9 +3708,75 @@
"dev": true
},
"core-js": {
- "version": "2.6.0",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.0.tgz",
- "integrity": "sha512-kLRC6ncVpuEW/1kwrOXYX6KQASCVtrh1gQr/UiaVgFlf9WE5Vp+lNe5+h3LuMr5PAucWnnEXwH0nQHRH/gpGtw=="
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.1.3.tgz",
+ "integrity": "sha512-PWZ+ZfuaKf178BIAg+CRsljwjIMRV8MY00CbZczkR6Zk5LfkSkjGoaab3+bqRQWVITNZxQB7TFYz+CFcyuamvA==",
+ "dev": true
+ },
+ "core-js-compat": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.1.3.tgz",
+ "integrity": "sha512-EP018pVhgwsKHz3YoN1hTq49aRe+h017Kjz0NQz3nXV0cCRMvH3fLQl+vEPGr4r4J5sk4sU3tUC7U1aqTCeJeA==",
+ "dev": true,
+ "requires": {
+ "browserslist": "^4.6.0",
+ "core-js-pure": "3.1.3",
+ "semver": "^6.1.0"
+ },
+ "dependencies": {
+ "browserslist": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.6.2.tgz",
+ "integrity": "sha512-2neU/V0giQy9h3XMPwLhEY3+Ao0uHSwHvU8Q1Ea6AgLVL1sXbX3dzPrJ8NWe5Hi4PoTkCYXOtVR9rfRLI0J/8Q==",
+ "dev": true,
+ "requires": {
+ "caniuse-lite": "^1.0.30000974",
+ "electron-to-chromium": "^1.3.150",
+ "node-releases": "^1.1.23"
+ }
+ },
+ "caniuse-lite": {
+ "version": "1.0.30000974",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000974.tgz",
+ "integrity": "sha512-xc3rkNS/Zc3CmpMKuczWEdY2sZgx09BkAxfvkxlAEBTqcMHeL8QnPqhKse+5sRTi3nrw2pJwToD2WvKn1Uhvww==",
+ "dev": true
+ },
+ "electron-to-chromium": {
+ "version": "1.3.155",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.155.tgz",
+ "integrity": "sha512-/ci/XgZG8jkLYOgOe3mpJY1onxPPTDY17y7scldhnSjjZqV6VvREG/LvwhRuV7BJbnENFfuDWZkSqlTh4x9ZjQ==",
+ "dev": true
+ },
+ "node-releases": {
+ "version": "1.1.23",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.23.tgz",
+ "integrity": "sha512-uq1iL79YjfYC0WXoHbC/z28q/9pOl8kSHaXdWmAAc8No+bDwqkZbzIJz55g/MUsPgSGm9LZ7QSUbzTcH5tz47w==",
+ "dev": true,
+ "requires": {
+ "semver": "^5.3.0"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "5.7.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",
+ "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",
+ "dev": true
+ }
+ }
+ },
+ "semver": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.1.1.tgz",
+ "integrity": "sha512-rWYq2e5iYW+fFe/oPPtYJxYgjBm8sC4rmoGdUOgBB7VnwKt6HrL793l2voH1UlsyYZpJ4g0wfjnTEO1s1NP2eQ==",
+ "dev": true
+ }
+ }
+ },
+ "core-js-pure": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.1.3.tgz",
+ "integrity": "sha512-k3JWTrcQBKqjkjI0bkfXS0lbpWPxYuHWfMMjC1VDmzU4Q58IwSbuXSo99YO/hUHlw/EB4AlfA2PVxOGkrIq6dA==",
+ "dev": true
},
"core-util-is": {
"version": "1.0.2",
@@ -3063,6 +3842,31 @@
"gud": "^1.0.0"
}
},
+ "cross-env": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.2.0.tgz",
+ "integrity": "sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==",
+ "dev": true,
+ "requires": {
+ "cross-spawn": "^6.0.5",
+ "is-windows": "^1.0.0"
+ },
+ "dependencies": {
+ "cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
+ "dev": true,
+ "requires": {
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ }
+ }
+ }
+ },
"cross-spawn": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz",
@@ -3109,80 +3913,160 @@
"integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=",
"dev": true
},
- "css-loader": {
- "version": "0.28.11",
- "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.11.tgz",
- "integrity": "sha512-wovHgjAx8ZIMGSL8pTys7edA1ClmzxHeY6n/d97gg5odgsxEgKjULPR0viqyC+FWMCL9sfqoC/QCUBo62tLvPg==",
+ "css-declaration-sorter": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz",
+ "integrity": "sha512-BcxQSKTSEEQUftYpBVnsH4SF05NTuBokb19/sBt6asXGKZ/6VP7PLG1CBCkFDYOnhXhPh0jMhO6xZ71oYHXHBA==",
"dev": true,
"requires": {
- "babel-code-frame": "^6.26.0",
- "css-selector-tokenizer": "^0.7.0",
- "cssnano": "^3.10.0",
- "icss-utils": "^2.1.0",
- "loader-utils": "^1.0.2",
- "lodash.camelcase": "^4.3.0",
- "object-assign": "^4.1.1",
- "postcss": "^5.0.6",
- "postcss-modules-extract-imports": "^1.2.0",
- "postcss-modules-local-by-default": "^1.2.0",
- "postcss-modules-scope": "^1.1.0",
- "postcss-modules-values": "^1.3.0",
+ "postcss": "^7.0.1",
+ "timsort": "^0.3.0"
+ }
+ },
+ "css-loader": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-2.1.1.tgz",
+ "integrity": "sha512-OcKJU/lt232vl1P9EEDamhoO9iKY3tIjY5GU+XDLblAykTdgs6Ux9P1hTHve8nFKy5KPpOXOsVI/hIwi3841+w==",
+ "dev": true,
+ "requires": {
+ "camelcase": "^5.2.0",
+ "icss-utils": "^4.1.0",
+ "loader-utils": "^1.2.3",
+ "normalize-path": "^3.0.0",
+ "postcss": "^7.0.14",
+ "postcss-modules-extract-imports": "^2.0.0",
+ "postcss-modules-local-by-default": "^2.0.6",
+ "postcss-modules-scope": "^2.1.0",
+ "postcss-modules-values": "^2.0.0",
"postcss-value-parser": "^3.3.0",
- "source-list-map": "^2.0.0"
+ "schema-utils": "^1.0.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "ajv": {
+ "version": "6.10.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
+ "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
+ "dev": true,
+ "requires": {
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "ajv-keywords": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz",
+ "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==",
+ "dev": true
+ },
+ "big.js": {
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
+ "dev": true
+ },
+ "camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
"dev": true
},
"chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
"dev": true,
"requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
},
"dependencies": {
"supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^3.0.0"
+ }
}
}
},
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "fast-deep-equal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
+ "dev": true
+ },
+ "json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "json5": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
+ "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
+ "dev": true,
+ "requires": {
+ "minimist": "^1.2.0"
+ }
+ },
+ "loader-utils": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz",
+ "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==",
+ "dev": true,
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^2.0.0",
+ "json5": "^1.0.1"
+ }
+ },
+ "normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
"dev": true
},
"postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "version": "7.0.16",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",
+ "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",
"dev": true,
"requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
+ "chalk": "^2.4.2",
+ "source-map": "^0.6.1",
+ "supports-color": "^6.1.0"
+ }
+ },
+ "schema-utils": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
+ "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
+ "dev": true,
+ "requires": {
+ "ajv": "^6.1.0",
+ "ajv-errors": "^1.0.0",
+ "ajv-keywords": "^3.1.0"
}
},
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true
+ },
"supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "has-flag": "^3.0.0"
}
}
}
@@ -3199,51 +4083,34 @@
"nth-check": "~1.0.1"
}
},
- "css-selector-tokenizer": {
- "version": "0.7.1",
- "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.1.tgz",
- "integrity": "sha512-xYL0AMZJ4gFzJQsHUKa5jiWWi2vH77WVNg7JYRyewwj6oPh4yb/y6Y9ZCw9dsj/9UauMhtuxR+ogQd//EdEVNA==",
+ "css-select-base-adapter": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz",
+ "integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==",
+ "dev": true
+ },
+ "css-tree": {
+ "version": "1.0.0-alpha.28",
+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.28.tgz",
+ "integrity": "sha512-joNNW1gCp3qFFzj4St6zk+Wh/NBv0vM5YbEreZk0SD4S23S+1xBKb6cLDg2uj4P4k/GUMlIm6cKIDqIG+vdt0w==",
"dev": true,
"requires": {
- "cssesc": "^0.1.0",
- "fastparse": "^1.1.1",
- "regexpu-core": "^1.0.0"
- },
- "dependencies": {
- "jsesc": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
- "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
- "dev": true
- },
- "regexpu-core": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz",
- "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=",
- "dev": true,
- "requires": {
- "regenerate": "^1.2.1",
- "regjsgen": "^0.2.0",
- "regjsparser": "^0.1.4"
- }
- },
- "regjsgen": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",
- "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=",
- "dev": true
- },
- "regjsparser": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz",
- "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=",
- "dev": true,
- "requires": {
- "jsesc": "~0.5.0"
- }
- }
+ "mdn-data": "~1.1.0",
+ "source-map": "^0.5.3"
}
},
+ "css-unit-converter": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/css-unit-converter/-/css-unit-converter-1.1.1.tgz",
+ "integrity": "sha1-2bkoGtz9jO2TW9urqDeGiX9k6ZY=",
+ "dev": true
+ },
+ "css-url-regex": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/css-url-regex/-/css-url-regex-1.1.0.tgz",
+ "integrity": "sha1-g4NCMMyfdMRX3lnuvRVD/uuDt+w=",
+ "dev": true
+ },
"css-what": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.2.tgz",
@@ -3251,145 +4118,131 @@
"dev": true
},
"cssesc": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz",
- "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
"dev": true
},
"cssnano": {
- "version": "3.10.0",
- "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-3.10.0.tgz",
- "integrity": "sha1-Tzj2zqK5sX+gFJDyPx3GjqZcHDg=",
+ "version": "4.1.10",
+ "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.10.tgz",
+ "integrity": "sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ==",
"dev": true,
"requires": {
- "autoprefixer": "^6.3.1",
- "decamelize": "^1.1.2",
- "defined": "^1.0.0",
- "has": "^1.0.1",
- "object-assign": "^4.0.1",
- "postcss": "^5.0.14",
- "postcss-calc": "^5.2.0",
- "postcss-colormin": "^2.1.8",
- "postcss-convert-values": "^2.3.4",
- "postcss-discard-comments": "^2.0.4",
- "postcss-discard-duplicates": "^2.0.1",
- "postcss-discard-empty": "^2.0.1",
- "postcss-discard-overridden": "^0.1.1",
- "postcss-discard-unused": "^2.2.1",
- "postcss-filter-plugins": "^2.0.0",
- "postcss-merge-idents": "^2.1.5",
- "postcss-merge-longhand": "^2.0.1",
- "postcss-merge-rules": "^2.0.3",
- "postcss-minify-font-values": "^1.0.2",
- "postcss-minify-gradients": "^1.0.1",
- "postcss-minify-params": "^1.0.4",
- "postcss-minify-selectors": "^2.0.4",
- "postcss-normalize-charset": "^1.1.0",
- "postcss-normalize-url": "^3.0.7",
- "postcss-ordered-values": "^2.1.0",
- "postcss-reduce-idents": "^2.2.2",
- "postcss-reduce-initial": "^1.0.0",
- "postcss-reduce-transforms": "^1.0.3",
- "postcss-svgo": "^2.1.1",
- "postcss-unique-selectors": "^2.0.2",
- "postcss-value-parser": "^3.2.3",
- "postcss-zindex": "^2.0.1"
+ "cosmiconfig": "^5.0.0",
+ "cssnano-preset-default": "^4.0.7",
+ "is-resolvable": "^1.0.0",
+ "postcss": "^7.0.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "autoprefixer": {
- "version": "6.7.7",
- "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz",
- "integrity": "sha1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=",
- "dev": true,
- "requires": {
- "browserslist": "^1.7.6",
- "caniuse-db": "^1.0.30000634",
- "normalize-range": "^0.1.2",
- "num2fraction": "^1.2.2",
- "postcss": "^5.2.16",
- "postcss-value-parser": "^3.2.3"
- }
- },
- "browserslist": {
- "version": "1.7.7",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz",
- "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
- "dev": true,
- "requires": {
- "caniuse-db": "^1.0.30000639",
- "electron-to-chromium": "^1.2.7"
- }
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "defined": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
- "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=",
- "dev": true
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "cosmiconfig": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz",
+ "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==",
"dev": true,
"requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
+ "import-fresh": "^2.0.0",
+ "is-directory": "^0.3.1",
+ "js-yaml": "^3.13.1",
+ "parse-json": "^4.0.0"
}
},
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "js-yaml": {
+ "version": "3.13.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
+ "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "argparse": "^1.0.7",
+ "esprima": "^4.0.0"
}
}
}
},
+ "cssnano-preset-default": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz",
+ "integrity": "sha512-x0YHHx2h6p0fCl1zY9L9roD7rnlltugGu7zXSKQx6k2rYw0Hi3IqxcoAGF7u9Q5w1nt7vK0ulxV8Lo+EvllGsA==",
+ "dev": true,
+ "requires": {
+ "css-declaration-sorter": "^4.0.1",
+ "cssnano-util-raw-cache": "^4.0.1",
+ "postcss": "^7.0.0",
+ "postcss-calc": "^7.0.1",
+ "postcss-colormin": "^4.0.3",
+ "postcss-convert-values": "^4.0.1",
+ "postcss-discard-comments": "^4.0.2",
+ "postcss-discard-duplicates": "^4.0.2",
+ "postcss-discard-empty": "^4.0.1",
+ "postcss-discard-overridden": "^4.0.1",
+ "postcss-merge-longhand": "^4.0.11",
+ "postcss-merge-rules": "^4.0.3",
+ "postcss-minify-font-values": "^4.0.2",
+ "postcss-minify-gradients": "^4.0.2",
+ "postcss-minify-params": "^4.0.2",
+ "postcss-minify-selectors": "^4.0.2",
+ "postcss-normalize-charset": "^4.0.1",
+ "postcss-normalize-display-values": "^4.0.2",
+ "postcss-normalize-positions": "^4.0.2",
+ "postcss-normalize-repeat-style": "^4.0.2",
+ "postcss-normalize-string": "^4.0.2",
+ "postcss-normalize-timing-functions": "^4.0.2",
+ "postcss-normalize-unicode": "^4.0.1",
+ "postcss-normalize-url": "^4.0.1",
+ "postcss-normalize-whitespace": "^4.0.2",
+ "postcss-ordered-values": "^4.1.2",
+ "postcss-reduce-initial": "^4.0.3",
+ "postcss-reduce-transforms": "^4.0.2",
+ "postcss-svgo": "^4.0.2",
+ "postcss-unique-selectors": "^4.0.1"
+ }
+ },
+ "cssnano-util-get-arguments": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz",
+ "integrity": "sha1-7ToIKZ8h11dBsg87gfGU7UnMFQ8=",
+ "dev": true
+ },
+ "cssnano-util-get-match": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz",
+ "integrity": "sha1-wOTKB/U4a7F+xeUiULT1lhNlFW0=",
+ "dev": true
+ },
+ "cssnano-util-raw-cache": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz",
+ "integrity": "sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA==",
+ "dev": true,
+ "requires": {
+ "postcss": "^7.0.0"
+ }
+ },
+ "cssnano-util-same-parent": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz",
+ "integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q==",
+ "dev": true
+ },
"csso": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/csso/-/csso-2.3.2.tgz",
- "integrity": "sha1-3dUsWHAz9J6Utx/FVWnyUuj/X4U=",
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/csso/-/csso-3.5.1.tgz",
+ "integrity": "sha512-vrqULLffYU1Q2tLdJvaCYbONStnfkfimRxXNaGjxMldI0C7JPBC4rB1RyjhfdZ4m1frm8pM9uRPKH3d2knZ8gg==",
"dev": true,
"requires": {
- "clap": "^1.0.9",
- "source-map": "^0.5.3"
+ "css-tree": "1.0.0-alpha.29"
+ },
+ "dependencies": {
+ "css-tree": {
+ "version": "1.0.0-alpha.29",
+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.29.tgz",
+ "integrity": "sha512-sRNb1XydwkW9IOci6iB2xmy8IGCj6r/fr+JWitvJ2JxQRPzN3T4AGGVWCMlVmVwM1gtgALJRmGIlWv5ppnGGkg==",
+ "dev": true,
+ "requires": {
+ "mdn-data": "~1.1.0",
+ "source-map": "^0.5.3"
+ }
+ }
}
},
"ctype": {
@@ -3414,6 +4267,12 @@
"integrity": "sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=",
"dev": true
},
+ "cyclist": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-0.2.2.tgz",
+ "integrity": "sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA=",
+ "dev": true
+ },
"d": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz",
@@ -3746,6 +4605,55 @@
"integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
"dev": true
},
+ "default-gateway": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-4.2.0.tgz",
+ "integrity": "sha512-h6sMrVB1VMWVrW13mSc6ia/DwYYw5MN6+exNu1OaJeFac5aSAvwM7lZ0NVfTABuSkQelr4h5oebg3KB1XPdjgA==",
+ "dev": true,
+ "requires": {
+ "execa": "^1.0.0",
+ "ip-regex": "^2.1.0"
+ },
+ "dependencies": {
+ "cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
+ "dev": true,
+ "requires": {
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ }
+ },
+ "execa": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
+ "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
+ "dev": true,
+ "requires": {
+ "cross-spawn": "^6.0.0",
+ "get-stream": "^4.0.0",
+ "is-stream": "^1.1.0",
+ "npm-run-path": "^2.0.0",
+ "p-finally": "^1.0.0",
+ "signal-exit": "^3.0.0",
+ "strip-eof": "^1.0.0"
+ }
+ },
+ "get-stream": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
+ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
+ "dev": true,
+ "requires": {
+ "pump": "^3.0.0"
+ }
+ }
+ }
+ },
"define-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
@@ -3803,17 +4711,41 @@
"dev": true
},
"del": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz",
- "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/del/-/del-4.1.1.tgz",
+ "integrity": "sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ==",
"dev": true,
"requires": {
+ "@types/glob": "^7.1.1",
"globby": "^6.1.0",
- "is-path-cwd": "^1.0.0",
- "is-path-in-cwd": "^1.0.0",
- "p-map": "^1.1.1",
- "pify": "^3.0.0",
- "rimraf": "^2.2.8"
+ "is-path-cwd": "^2.0.0",
+ "is-path-in-cwd": "^2.0.0",
+ "p-map": "^2.0.0",
+ "pify": "^4.0.1",
+ "rimraf": "^2.6.3"
+ },
+ "dependencies": {
+ "p-map": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz",
+ "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==",
+ "dev": true
+ },
+ "pify": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
+ "dev": true
+ },
+ "rimraf": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
+ "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
+ "dev": true,
+ "requires": {
+ "glob": "^7.1.3"
+ }
+ }
}
},
"delayed-stream": {
@@ -3858,12 +4790,28 @@
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=",
"dev": true
},
+ "detect-file": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",
+ "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=",
+ "dev": true
+ },
"detect-node": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz",
"integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==",
"dev": true
},
+ "detect-port-alt": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/detect-port-alt/-/detect-port-alt-1.1.6.tgz",
+ "integrity": "sha512-5tQykt+LqfJFBEYaDITx7S7cR7mJ/zQmLXZ2qt5w04ainYZw6tBf9dBunMjVeVOdYVRUzUOE4HkY5J7+uttb5Q==",
+ "dev": true,
+ "requires": {
+ "address": "^1.0.1",
+ "debug": "^2.6.0"
+ }
+ },
"di": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz",
@@ -3892,6 +4840,16 @@
"randombytes": "^2.0.0"
}
},
+ "dir-glob": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.0.0.tgz",
+ "integrity": "sha512-37qirFDz8cA5fimp9feo43fSuRo2gHwaIn6dXL8Ber1dGwUosDrGZeCCXq57WnIqE4aQ+u3eQZzsk1yOzhdwag==",
+ "dev": true,
+ "requires": {
+ "arrify": "^1.0.1",
+ "path-type": "^3.0.0"
+ }
+ },
"discontinuous-range": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/discontinuous-range/-/discontinuous-range-1.0.0.tgz",
@@ -3932,6 +4890,15 @@
"esutils": "^2.0.2"
}
},
+ "dom-converter": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz",
+ "integrity": "sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA==",
+ "dev": true,
+ "requires": {
+ "utila": "~0.4"
+ }
+ },
"dom-helpers": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.4.0.tgz",
@@ -4017,6 +4984,18 @@
"integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=",
"dev": true
},
+ "duplexify": {
+ "version": "3.7.1",
+ "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz",
+ "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==",
+ "dev": true,
+ "requires": {
+ "end-of-stream": "^1.0.0",
+ "inherits": "^2.0.1",
+ "readable-stream": "^2.0.0",
+ "stream-shift": "^1.0.0"
+ }
+ },
"ecc-jsbn": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
@@ -4564,9 +5543,9 @@
}
},
"eslint-loader": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/eslint-loader/-/eslint-loader-1.9.0.tgz",
- "integrity": "sha1-fhvp/t3KMo09z67xrUnVvv/oOhM=",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/eslint-loader/-/eslint-loader-2.1.2.tgz",
+ "integrity": "sha512-rA9XiXEOilLYPOIInvVH5S/hYfyTPyxag6DZhoQOduM+3TkghAEQ3VcFO8VnX4J4qg/UIBzp72aOf/xvYmpmsg==",
"dev": true,
"requires": {
"loader-fs-cache": "^1.0.0",
@@ -4838,12 +5817,12 @@
"dev": true
},
"eventsource": {
- "version": "0.1.6",
- "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-0.1.6.tgz",
- "integrity": "sha1-Cs7ehJ7X3RzMMsgRuxG5RNTykjI=",
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.0.7.tgz",
+ "integrity": "sha512-4Ln17+vVT0k8aWq+t/bF5arcS3EpT9gYtW66EPacdj/mAFevznsnyoHLPy2BA8gbIQeIHoPsvwmfBftfcG//BQ==",
"dev": true,
"requires": {
- "original": ">=0.0.5"
+ "original": "^1.0.0"
}
},
"evp_bytestokey": {
@@ -4970,65 +5949,154 @@
}
}
},
+ "expand-tilde": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz",
+ "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=",
+ "dev": true,
+ "requires": {
+ "homedir-polyfill": "^1.0.1"
+ }
+ },
"express": {
- "version": "4.16.4",
- "resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz",
- "integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==",
+ "version": "4.17.1",
+ "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
+ "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
"dev": true,
"requires": {
- "accepts": "~1.3.5",
+ "accepts": "~1.3.7",
"array-flatten": "1.1.1",
- "body-parser": "1.18.3",
- "content-disposition": "0.5.2",
+ "body-parser": "1.19.0",
+ "content-disposition": "0.5.3",
"content-type": "~1.0.4",
- "cookie": "0.3.1",
+ "cookie": "0.4.0",
"cookie-signature": "1.0.6",
"debug": "2.6.9",
"depd": "~1.1.2",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"etag": "~1.8.1",
- "finalhandler": "1.1.1",
+ "finalhandler": "~1.1.2",
"fresh": "0.5.2",
"merge-descriptors": "1.0.1",
"methods": "~1.1.2",
"on-finished": "~2.3.0",
- "parseurl": "~1.3.2",
+ "parseurl": "~1.3.3",
"path-to-regexp": "0.1.7",
- "proxy-addr": "~2.0.4",
- "qs": "6.5.2",
- "range-parser": "~1.2.0",
+ "proxy-addr": "~2.0.5",
+ "qs": "6.7.0",
+ "range-parser": "~1.2.1",
"safe-buffer": "5.1.2",
- "send": "0.16.2",
- "serve-static": "1.13.2",
- "setprototypeof": "1.1.0",
- "statuses": "~1.4.0",
- "type-is": "~1.6.16",
+ "send": "0.17.1",
+ "serve-static": "1.14.1",
+ "setprototypeof": "1.1.1",
+ "statuses": "~1.5.0",
+ "type-is": "~1.6.18",
"utils-merge": "1.0.1",
"vary": "~1.1.2"
},
"dependencies": {
+ "accepts": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
+ "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
+ "dev": true,
+ "requires": {
+ "mime-types": "~2.1.24",
+ "negotiator": "0.6.2"
+ }
+ },
"array-flatten": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
"integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=",
"dev": true
},
+ "body-parser": {
+ "version": "1.19.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
+ "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
+ "dev": true,
+ "requires": {
+ "bytes": "3.1.0",
+ "content-type": "~1.0.4",
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "http-errors": "1.7.2",
+ "iconv-lite": "0.4.24",
+ "on-finished": "~2.3.0",
+ "qs": "6.7.0",
+ "raw-body": "2.4.0",
+ "type-is": "~1.6.17"
+ }
+ },
+ "bytes": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
+ "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==",
+ "dev": true
+ },
+ "cookie": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
+ "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==",
+ "dev": true
+ },
"finalhandler": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz",
- "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==",
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
+ "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
"dev": true,
"requires": {
"debug": "2.6.9",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"on-finished": "~2.3.0",
- "parseurl": "~1.3.2",
- "statuses": "~1.4.0",
+ "parseurl": "~1.3.3",
+ "statuses": "~1.5.0",
"unpipe": "~1.0.0"
}
},
+ "http-errors": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
+ "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
+ "dev": true,
+ "requires": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.3",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ }
+ },
+ "mime-db": {
+ "version": "1.40.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz",
+ "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==",
+ "dev": true
+ },
+ "mime-types": {
+ "version": "2.1.24",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz",
+ "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==",
+ "dev": true,
+ "requires": {
+ "mime-db": "1.40.0"
+ }
+ },
+ "negotiator": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
+ "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==",
+ "dev": true
+ },
+ "parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
+ "dev": true
+ },
"path-to-regexp": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
@@ -5036,16 +6104,44 @@
"dev": true
},
"qs": {
- "version": "6.5.2",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
- "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==",
+ "version": "6.7.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
+ "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==",
"dev": true
},
- "statuses": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz",
- "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==",
+ "range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
+ "dev": true
+ },
+ "raw-body": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
+ "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
+ "dev": true,
+ "requires": {
+ "bytes": "3.1.0",
+ "http-errors": "1.7.2",
+ "iconv-lite": "0.4.24",
+ "unpipe": "1.0.0"
+ }
+ },
+ "setprototypeof": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
+ "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==",
"dev": true
+ },
+ "type-is": {
+ "version": "1.6.18",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "dev": true,
+ "requires": {
+ "media-typer": "0.3.0",
+ "mime-types": "~2.1.24"
+ }
}
}
},
@@ -5152,29 +6248,6 @@
}
}
},
- "extract-text-webpack-plugin": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-3.0.2.tgz",
- "integrity": "sha512-bt/LZ4m5Rqt/Crl2HiKuAl/oqg0psx1tsTLkvWbJen1CtD+fftkZhMaQ9HOtY2gWsl2Wq+sABmMVi9z3DhKWQQ==",
- "dev": true,
- "requires": {
- "async": "^2.4.1",
- "loader-utils": "^1.1.0",
- "schema-utils": "^0.3.0",
- "webpack-sources": "^1.0.1"
- },
- "dependencies": {
- "async": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz",
- "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==",
- "dev": true,
- "requires": {
- "lodash": "^4.17.10"
- }
- }
- }
- },
"extract-zip": {
"version": "1.6.7",
"resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.7.tgz",
@@ -5199,6 +6272,20 @@
"integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=",
"dev": true
},
+ "fast-glob": {
+ "version": "2.2.7",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz",
+ "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==",
+ "dev": true,
+ "requires": {
+ "@mrmlnc/readdir-enhanced": "^2.2.1",
+ "@nodelib/fs.stat": "^1.1.2",
+ "glob-parent": "^3.1.0",
+ "is-glob": "^4.0.0",
+ "merge2": "^1.2.3",
+ "micromatch": "^3.1.10"
+ }
+ },
"fast-json-stable-stringify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
@@ -5211,12 +6298,6 @@
"integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
"dev": true
},
- "fastparse": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz",
- "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==",
- "dev": true
- },
"fault": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/fault/-/fault-1.0.2.tgz",
@@ -5265,6 +6346,12 @@
"pend": "~1.2.0"
}
},
+ "figgy-pudding": {
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz",
+ "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w==",
+ "dev": true
+ },
"figures": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
@@ -5336,10 +6423,10 @@
}
}
},
- "filename-regex": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz",
- "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=",
+ "filesize": {
+ "version": "3.6.1",
+ "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
+ "integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg==",
"dev": true
},
"fill-range": {
@@ -5389,14 +6476,14 @@
}
},
"find-cache-dir": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz",
- "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz",
+ "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==",
"dev": true,
"requires": {
"commondir": "^1.0.1",
- "make-dir": "^1.0.0",
- "pkg-dir": "^2.0.0"
+ "make-dir": "^2.0.0",
+ "pkg-dir": "^3.0.0"
}
},
"find-parent-dir": {
@@ -5420,6 +6507,29 @@
"locate-path": "^2.0.0"
}
},
+ "findup-sync": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-2.0.0.tgz",
+ "integrity": "sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=",
+ "dev": true,
+ "requires": {
+ "detect-file": "^1.0.0",
+ "is-glob": "^3.1.0",
+ "micromatch": "^3.0.4",
+ "resolve-dir": "^1.0.1"
+ },
+ "dependencies": {
+ "is-glob": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
+ "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
+ "dev": true,
+ "requires": {
+ "is-extglob": "^2.1.0"
+ }
+ }
+ }
+ },
"flat-cache": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz",
@@ -5438,11 +6548,15 @@
"integrity": "sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg==",
"dev": true
},
- "flatten": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz",
- "integrity": "sha1-2uRqnXj74lKSJYzB54CkHZXAN4I=",
- "dev": true
+ "flush-write-stream": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz",
+ "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==",
+ "dev": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "readable-stream": "^2.3.6"
+ }
},
"follow-redirects": {
"version": "1.5.10",
@@ -5485,6 +6599,30 @@
"integrity": "sha1-bQ4JxJIflKJ/Y9O0nF/v8epMUTA=",
"dev": true
},
+ "fork-ts-checker-webpack-plugin": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-1.1.1.tgz",
+ "integrity": "sha512-gqWAEMLlae/oeVnN6RWCAhesOJMswAN1MaKNqhhjXHV5O0/rTUjWI4UbgQHdlrVbCnb+xLotXmJbBlC66QmpFw==",
+ "dev": true,
+ "requires": {
+ "babel-code-frame": "^6.22.0",
+ "chalk": "^2.4.1",
+ "chokidar": "^2.0.4",
+ "micromatch": "^3.1.10",
+ "minimatch": "^3.0.4",
+ "semver": "^5.6.0",
+ "tapable": "^1.0.0",
+ "worker-rpc": "^0.1.0"
+ },
+ "dependencies": {
+ "tapable": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz",
+ "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==",
+ "dev": true
+ }
+ }
+ },
"form-data": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz",
@@ -5524,6 +6662,16 @@
"integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=",
"dev": true
},
+ "from2": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz",
+ "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=",
+ "dev": true,
+ "requires": {
+ "inherits": "^2.0.1",
+ "readable-stream": "^2.0.0"
+ }
+ },
"front-matter": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/front-matter/-/front-matter-2.1.2.tgz",
@@ -5559,6 +6707,18 @@
"integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==",
"dev": true
},
+ "fs-write-stream-atomic": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz",
+ "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=",
+ "dev": true,
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "iferr": "^0.1.5",
+ "imurmurhash": "^0.1.4",
+ "readable-stream": "1 || 2"
+ }
+ },
"fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -6312,42 +7472,6 @@
"path-is-absolute": "^1.0.0"
}
},
- "glob-base": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz",
- "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=",
- "dev": true,
- "requires": {
- "glob-parent": "^2.0.0",
- "is-glob": "^2.0.0"
- },
- "dependencies": {
- "glob-parent": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz",
- "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=",
- "dev": true,
- "requires": {
- "is-glob": "^2.0.0"
- }
- },
- "is-extglob": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
- "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
- "dev": true
- },
- "is-glob": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
- "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
- "dev": true,
- "requires": {
- "is-extglob": "^1.0.0"
- }
- }
- }
- },
"glob-parent": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",
@@ -6369,6 +7493,12 @@
}
}
},
+ "glob-to-regexp": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz",
+ "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=",
+ "dev": true
+ },
"global-dirs": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz",
@@ -6378,6 +7508,30 @@
"ini": "^1.3.4"
}
},
+ "global-modules": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz",
+ "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==",
+ "dev": true,
+ "requires": {
+ "global-prefix": "^1.0.1",
+ "is-windows": "^1.0.1",
+ "resolve-dir": "^1.0.0"
+ }
+ },
+ "global-prefix": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz",
+ "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=",
+ "dev": true,
+ "requires": {
+ "expand-tilde": "^2.0.2",
+ "homedir-polyfill": "^1.0.1",
+ "ini": "^1.3.4",
+ "is-windows": "^1.0.1",
+ "which": "^1.2.14"
+ }
+ },
"globals": {
"version": "11.9.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-11.9.0.tgz",
@@ -6460,10 +7614,20 @@
"resolved": "https://registry.npmjs.org/gud/-/gud-1.0.0.tgz",
"integrity": "sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw=="
},
+ "gzip-size": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-5.0.0.tgz",
+ "integrity": "sha512-5iI7omclyqrnWw4XbXAmGhPsABkSIDQonv2K0h61lybgofWa6iZyvrI3r2zsJH4P8Nb64fFVzlvfhs0g7BBxAA==",
+ "dev": true,
+ "requires": {
+ "duplexer": "^0.1.1",
+ "pify": "^3.0.0"
+ }
+ },
"handle-thing": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-1.2.5.tgz",
- "integrity": "sha1-/Xqtcmvxpf0W38KbL3pmAdJxOcQ=",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.0.tgz",
+ "integrity": "sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ==",
"dev": true
},
"handlebars": {
@@ -6685,6 +7849,12 @@
"integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=",
"dev": true
},
+ "hex-color-regex": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz",
+ "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==",
+ "dev": true
+ },
"highlight.js": {
"version": "9.12.0",
"resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.12.0.tgz",
@@ -6709,6 +7879,15 @@
"dev": true,
"optional": true
},
+ "homedir-polyfill": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",
+ "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==",
+ "dev": true,
+ "requires": {
+ "parse-passwd": "^1.0.0"
+ }
+ },
"hosted-git-info": {
"version": "2.7.1",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz",
@@ -6727,6 +7906,18 @@
"wbuf": "^1.1.0"
}
},
+ "hsl-regex": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/hsl-regex/-/hsl-regex-1.0.0.tgz",
+ "integrity": "sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4=",
+ "dev": true
+ },
+ "hsla-regex": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/hsla-regex/-/hsla-regex-1.0.0.tgz",
+ "integrity": "sha1-wc56MWjIxmFAM6S194d/OyJfnDg=",
+ "dev": true
+ },
"html-comment-regex": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.2.tgz",
@@ -6739,6 +7930,76 @@
"integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=",
"dev": true
},
+ "html-minifier": {
+ "version": "3.5.21",
+ "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.21.tgz",
+ "integrity": "sha512-LKUKwuJDhxNa3uf/LPR/KVjm/l3rBqtYeCOAekvG8F1vItxMUpueGd94i/asDDr8/1u7InxzFA5EeGjhhG5mMA==",
+ "dev": true,
+ "requires": {
+ "camel-case": "3.0.x",
+ "clean-css": "4.2.x",
+ "commander": "2.17.x",
+ "he": "1.2.x",
+ "param-case": "2.1.x",
+ "relateurl": "0.2.x",
+ "uglify-js": "3.4.x"
+ },
+ "dependencies": {
+ "commander": {
+ "version": "2.17.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz",
+ "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==",
+ "dev": true
+ },
+ "he": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
+ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
+ "dev": true
+ }
+ }
+ },
+ "html-webpack-plugin": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-3.2.0.tgz",
+ "integrity": "sha1-sBq71yOsqqeze2r0SS69oD2d03s=",
+ "dev": true,
+ "requires": {
+ "html-minifier": "^3.2.3",
+ "loader-utils": "^0.2.16",
+ "lodash": "^4.17.3",
+ "pretty-error": "^2.0.2",
+ "tapable": "^1.0.0",
+ "toposort": "^1.0.0",
+ "util.promisify": "1.0.0"
+ },
+ "dependencies": {
+ "json5": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
+ "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
+ "dev": true
+ },
+ "loader-utils": {
+ "version": "0.2.17",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz",
+ "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=",
+ "dev": true,
+ "requires": {
+ "big.js": "^3.1.3",
+ "emojis-list": "^2.0.0",
+ "json5": "^0.5.0",
+ "object-assign": "^4.0.1"
+ }
+ },
+ "tapable": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz",
+ "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==",
+ "dev": true
+ }
+ }
+ },
"htmlparser2": {
"version": "3.10.0",
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.0.tgz",
@@ -6802,165 +8063,15 @@
}
},
"http-proxy-middleware": {
- "version": "0.17.4",
- "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.17.4.tgz",
- "integrity": "sha1-ZC6ISIUdZvCdTxJJEoRtuutBuDM=",
+ "version": "0.19.1",
+ "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz",
+ "integrity": "sha512-yHYTgWMQO8VvwNS22eLLloAkvungsKdKTLO8AJlftYIKNfJr3GK3zK0ZCfzDDGUBttdGc8xFy1mCitvNKQtC3Q==",
"dev": true,
"requires": {
- "http-proxy": "^1.16.2",
- "is-glob": "^3.1.0",
- "lodash": "^4.17.2",
- "micromatch": "^2.3.11"
- },
- "dependencies": {
- "arr-diff": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz",
- "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=",
- "dev": true,
- "requires": {
- "arr-flatten": "^1.0.1"
- }
- },
- "array-unique": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",
- "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",
- "dev": true
- },
- "braces": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz",
- "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=",
- "dev": true,
- "requires": {
- "expand-range": "^1.8.1",
- "preserve": "^0.2.0",
- "repeat-element": "^1.1.2"
- }
- },
- "expand-brackets": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz",
- "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=",
- "dev": true,
- "requires": {
- "is-posix-bracket": "^0.1.0"
- }
- },
- "expand-range": {
- "version": "1.8.2",
- "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz",
- "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=",
- "dev": true,
- "requires": {
- "fill-range": "^2.1.0"
- }
- },
- "extglob": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz",
- "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=",
- "dev": true,
- "requires": {
- "is-extglob": "^1.0.0"
- },
- "dependencies": {
- "is-extglob": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
- "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
- "dev": true
- }
- }
- },
- "fill-range": {
- "version": "2.2.4",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz",
- "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==",
- "dev": true,
- "requires": {
- "is-number": "^2.1.0",
- "isobject": "^2.0.0",
- "randomatic": "^3.0.0",
- "repeat-element": "^1.1.2",
- "repeat-string": "^1.5.2"
- }
- },
- "is-glob": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
- "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
- "dev": true,
- "requires": {
- "is-extglob": "^2.1.0"
- }
- },
- "is-number": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz",
- "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=",
- "dev": true,
- "requires": {
- "kind-of": "^3.0.2"
- }
- },
- "isobject": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
- "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
- "dev": true,
- "requires": {
- "isarray": "1.0.0"
- }
- },
- "kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "dev": true,
- "requires": {
- "is-buffer": "^1.1.5"
- }
- },
- "micromatch": {
- "version": "2.3.11",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",
- "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=",
- "dev": true,
- "requires": {
- "arr-diff": "^2.0.0",
- "array-unique": "^0.2.1",
- "braces": "^1.8.2",
- "expand-brackets": "^0.1.4",
- "extglob": "^0.3.1",
- "filename-regex": "^2.0.0",
- "is-extglob": "^1.0.0",
- "is-glob": "^2.0.1",
- "kind-of": "^3.0.2",
- "normalize-path": "^2.0.1",
- "object.omit": "^2.0.0",
- "parse-glob": "^3.0.4",
- "regex-cache": "^0.4.2"
- },
- "dependencies": {
- "is-extglob": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
- "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
- "dev": true
- },
- "is-glob": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
- "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
- "dev": true,
- "requires": {
- "is-extglob": "^1.0.0"
- }
- }
- }
- }
+ "http-proxy": "^1.17.0",
+ "is-glob": "^4.0.0",
+ "lodash": "^4.17.11",
+ "micromatch": "^3.1.10"
}
},
"http-signature": {
@@ -7161,23 +8272,45 @@
"dev": true
},
"icss-utils": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-2.1.0.tgz",
- "integrity": "sha1-g/Cg7DeL8yRheLbCrZE28TWxyWI=",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-4.1.1.tgz",
+ "integrity": "sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==",
"dev": true,
"requires": {
- "postcss": "^6.0.1"
+ "postcss": "^7.0.14"
},
"dependencies": {
- "postcss": {
- "version": "6.0.23",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz",
- "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==",
+ "chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
"dev": true,
"requires": {
- "chalk": "^2.4.1",
- "source-map": "^0.6.1",
- "supports-color": "^5.4.0"
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^3.0.0"
+ }
+ }
+ }
+ },
+ "postcss": {
+ "version": "7.0.16",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",
+ "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",
+ "dev": true,
+ "requires": {
+ "chalk": "^2.4.2",
+ "source-map": "^0.6.1",
+ "supports-color": "^6.1.0"
}
},
"source-map": {
@@ -7185,6 +8318,15 @@
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
+ },
+ "supports-color": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^3.0.0"
+ }
}
}
},
@@ -7194,12 +8336,24 @@
"integrity": "sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA==",
"dev": true
},
+ "iferr": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz",
+ "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=",
+ "dev": true
+ },
"ignore": {
"version": "3.3.10",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz",
"integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==",
"dev": true
},
+ "immer": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/immer/-/immer-1.10.0.tgz",
+ "integrity": "sha512-O3sR1/opvCDGLEVcvrGTMtLac8GJ5IwZC4puPrLuRj3l7ICKvkmA0vGuU9OW8mV9WIBRnaxp5GJh9IEAaNOoYg==",
+ "dev": true
+ },
"import-cwd": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz",
@@ -7254,13 +8408,67 @@
}
},
"import-local": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/import-local/-/import-local-1.0.0.tgz",
- "integrity": "sha512-vAaZHieK9qjGo58agRBg+bhHX3hoTZU/Oa3GESWLz7t1U62fk63aHuDJJEteXoDeTCcPmUT+z38gkHPZkkmpmQ==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz",
+ "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==",
"dev": true,
"requires": {
- "pkg-dir": "^2.0.0",
+ "pkg-dir": "^3.0.0",
"resolve-cwd": "^2.0.0"
+ },
+ "dependencies": {
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "dev": true,
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "dev": true,
+ "requires": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "p-limit": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
+ "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
+ "dev": true,
+ "requires": {
+ "p-try": "^2.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "dev": true,
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true
+ },
+ "pkg-dir": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",
+ "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
+ "dev": true,
+ "requires": {
+ "find-up": "^3.0.0"
+ }
+ }
}
},
"imurmurhash": {
@@ -7355,182 +8563,13 @@
}
},
"internal-ip": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/internal-ip/-/internal-ip-1.2.0.tgz",
- "integrity": "sha1-rp+/k7mEh4eF1QqN4bNWlWBYz1w=",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/internal-ip/-/internal-ip-4.3.0.tgz",
+ "integrity": "sha512-S1zBo1D6zcsyuC6PMmY5+55YMILQ9av8lotMx447Bq6SAgo/sDK6y6uUKmuYhW7eacnIhFfsPmCNYdDzsnnDCg==",
"dev": true,
"requires": {
- "meow": "^3.3.0"
- },
- "dependencies": {
- "camelcase": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
- "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=",
- "dev": true
- },
- "camelcase-keys": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz",
- "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=",
- "dev": true,
- "requires": {
- "camelcase": "^2.0.0",
- "map-obj": "^1.0.0"
- }
- },
- "find-up": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
- "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
- "dev": true,
- "requires": {
- "path-exists": "^2.0.0",
- "pinkie-promise": "^2.0.0"
- }
- },
- "get-stdin": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz",
- "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=",
- "dev": true
- },
- "indent-string": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",
- "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=",
- "dev": true,
- "requires": {
- "repeating": "^2.0.0"
- }
- },
- "load-json-file": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
- "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
- "dev": true,
- "requires": {
- "graceful-fs": "^4.1.2",
- "parse-json": "^2.2.0",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0",
- "strip-bom": "^2.0.0"
- }
- },
- "map-obj": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
- "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=",
- "dev": true
- },
- "meow": {
- "version": "3.7.0",
- "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz",
- "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=",
- "dev": true,
- "requires": {
- "camelcase-keys": "^2.0.0",
- "decamelize": "^1.1.2",
- "loud-rejection": "^1.0.0",
- "map-obj": "^1.0.1",
- "minimist": "^1.1.3",
- "normalize-package-data": "^2.3.4",
- "object-assign": "^4.0.1",
- "read-pkg-up": "^1.0.1",
- "redent": "^1.0.0",
- "trim-newlines": "^1.0.0"
- }
- },
- "parse-json": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
- "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
- "dev": true,
- "requires": {
- "error-ex": "^1.2.0"
- }
- },
- "path-exists": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
- "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
- "dev": true,
- "requires": {
- "pinkie-promise": "^2.0.0"
- }
- },
- "path-type": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
- "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
- "dev": true,
- "requires": {
- "graceful-fs": "^4.1.2",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0"
- }
- },
- "pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
- "dev": true
- },
- "read-pkg": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
- "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
- "dev": true,
- "requires": {
- "load-json-file": "^1.0.0",
- "normalize-package-data": "^2.3.2",
- "path-type": "^1.0.0"
- }
- },
- "read-pkg-up": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
- "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
- "dev": true,
- "requires": {
- "find-up": "^1.0.0",
- "read-pkg": "^1.0.0"
- }
- },
- "redent": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz",
- "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=",
- "dev": true,
- "requires": {
- "indent-string": "^2.1.0",
- "strip-indent": "^1.0.1"
- }
- },
- "strip-bom": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
- "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
- "dev": true,
- "requires": {
- "is-utf8": "^0.2.0"
- }
- },
- "strip-indent": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
- "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=",
- "dev": true,
- "requires": {
- "get-stdin": "^4.0.1"
- }
- },
- "trim-newlines": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz",
- "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=",
- "dev": true
- }
+ "default-gateway": "^4.2.0",
+ "ipaddr.js": "^1.9.0"
}
},
"interpret": {
@@ -7560,10 +8599,16 @@
"integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=",
"dev": true
},
+ "ip-regex": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz",
+ "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=",
+ "dev": true
+ },
"ipaddr.js": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz",
- "integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4=",
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.0.tgz",
+ "integrity": "sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==",
"dev": true
},
"is-absolute": {
@@ -7677,6 +8722,20 @@
"ci-info": "^1.5.0"
}
},
+ "is-color-stop": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz",
+ "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=",
+ "dev": true,
+ "requires": {
+ "css-color-names": "^0.0.4",
+ "hex-color-regex": "^1.1.0",
+ "hsl-regex": "^1.0.0",
+ "hsla-regex": "^1.0.0",
+ "rgb-regex": "^1.0.1",
+ "rgba-regex": "^1.0.0"
+ }
+ },
"is-data-descriptor": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",
@@ -7734,21 +8793,6 @@
"integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=",
"dev": true
},
- "is-dotfile": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz",
- "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=",
- "dev": true
- },
- "is-equal-shallow": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz",
- "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=",
- "dev": true,
- "requires": {
- "is-primitive": "^2.0.0"
- }
- },
"is-extendable": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
@@ -7852,27 +8896,27 @@
}
},
"is-path-cwd": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz",
- "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.1.0.tgz",
+ "integrity": "sha512-Sc5j3/YnM8tDeyCsVeKlm/0p95075DyLmDEIkSgQ7mXkrOX+uTCtmQFm0CYzVyJwcCCmO3k8qfJt17SxQwB5Zw==",
"dev": true
},
"is-path-in-cwd": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz",
- "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz",
+ "integrity": "sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ==",
"dev": true,
"requires": {
- "is-path-inside": "^1.0.0"
+ "is-path-inside": "^2.1.0"
}
},
"is-path-inside": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz",
- "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-2.1.0.tgz",
+ "integrity": "sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg==",
"dev": true,
"requires": {
- "path-is-inside": "^1.0.1"
+ "path-is-inside": "^1.0.2"
}
},
"is-plain-obj": {
@@ -7890,18 +8934,6 @@
"isobject": "^3.0.1"
}
},
- "is-posix-bracket": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz",
- "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=",
- "dev": true
- },
- "is-primitive": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz",
- "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=",
- "dev": true
- },
"is-promise": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
@@ -7944,6 +8976,12 @@
"integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==",
"dev": true
},
+ "is-root": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-root/-/is-root-2.0.0.tgz",
+ "integrity": "sha512-F/pJIk8QD6OX5DNhRB7hWamLsUilmkDGho48KbgZ6xg/lmAZXHxzXQ91jzB3yRSw5kdQGGGc4yz8HYhTYIMWPg==",
+ "dev": true
+ },
"is-stream": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
@@ -7962,9 +9000,9 @@
"dev": true
},
"is-svg": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-2.1.0.tgz",
- "integrity": "sha1-z2EJDaDZ77yrhyLeum8DIgjbsOk=",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-3.0.0.tgz",
+ "integrity": "sha512-gi4iHK53LR2ujhLVVj+37Ykh9GLqYHX6JOVXbLAucaG/Cqw9xwdFOjDM2qeifLs1sF1npXXFvDu0r5HNgCMrzQ==",
"dev": true,
"requires": {
"html-comment-regex": "^1.1.0"
@@ -8179,9 +9217,9 @@
"dev": true
},
"js-levenshtein": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.4.tgz",
- "integrity": "sha512-PxfGzSs0ztShKrUYPIn5r0MtyAhYcCwmndozzpz8YObbPnD1jFxzlBGbRnX2mIu6Z13xN6+PTu05TQFnZFlzow==",
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz",
+ "integrity": "sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==",
"dev": true
},
"js-tokens": {
@@ -8211,12 +9249,6 @@
"integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
"dev": true
},
- "json-loader": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/json-loader/-/json-loader-0.5.7.tgz",
- "integrity": "sha1-3KFKcCNf+C8KyaOr62DTN6NlGF0=",
- "dev": true
- },
"json-parse-better-errors": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
@@ -8257,9 +9289,9 @@
"dev": true
},
"json3": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz",
- "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=",
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.3.tgz",
+ "integrity": "sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA==",
"dev": true
},
"json5": {
@@ -8369,6 +9401,12 @@
"useragent": "2.3.0"
},
"dependencies": {
+ "core-js": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz",
+ "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==",
+ "dev": true
+ },
"mime": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/mime/-/mime-2.4.0.tgz",
@@ -8450,27 +9488,91 @@
}
},
"karma-webpack": {
- "version": "2.0.13",
- "resolved": "https://registry.npmjs.org/karma-webpack/-/karma-webpack-2.0.13.tgz",
- "integrity": "sha512-2cyII34jfrAabbI2+4Rk4j95Nazl98FvZQhgSiqKUDarT317rxfv/EdzZ60CyATN4PQxJdO5ucR5bOOXkEVrXw==",
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/karma-webpack/-/karma-webpack-4.0.2.tgz",
+ "integrity": "sha512-970/okAsdUOmiMOCY8sb17A2I8neS25Ad9uhyK3GHgmRSIFJbDcNEFE8dqqUhNe9OHiCC9k3DMrSmtd/0ymP1A==",
"dev": true,
"requires": {
- "async": "^2.0.0",
- "babel-runtime": "^6.0.0",
- "loader-utils": "^1.0.0",
- "lodash": "^4.0.0",
- "source-map": "^0.5.6",
- "webpack-dev-middleware": "^1.12.0"
+ "clone-deep": "^4.0.1",
+ "loader-utils": "^1.1.0",
+ "neo-async": "^2.6.1",
+ "schema-utils": "^1.0.0",
+ "source-map": "^0.7.3",
+ "webpack-dev-middleware": "^3.7.0"
},
"dependencies": {
- "async": {
+ "ajv": {
+ "version": "6.10.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
+ "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
+ "dev": true,
+ "requires": {
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "ajv-keywords": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz",
+ "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==",
+ "dev": true
+ },
+ "clone-deep": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz",
+ "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==",
+ "dev": true,
+ "requires": {
+ "is-plain-object": "^2.0.4",
+ "kind-of": "^6.0.2",
+ "shallow-clone": "^3.0.0"
+ }
+ },
+ "fast-deep-equal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
+ "dev": true
+ },
+ "json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "neo-async": {
"version": "2.6.1",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz",
- "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==",
+ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",
+ "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==",
+ "dev": true
+ },
+ "schema-utils": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
+ "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
"dev": true,
"requires": {
- "lodash": "^4.17.10"
+ "ajv": "^6.1.0",
+ "ajv-errors": "^1.0.0",
+ "ajv-keywords": "^3.1.0"
+ }
+ },
+ "shallow-clone": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz",
+ "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==",
+ "dev": true,
+ "requires": {
+ "kind-of": "^6.0.2"
}
+ },
+ "source-map": {
+ "version": "0.7.3",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",
+ "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==",
+ "dev": true
}
}
},
@@ -8498,11 +9600,15 @@
"integrity": "sha512-QMQcnKAiQccfQTqtBh/qwquGZ2XK/DXND1jrcN9M8gMMy99Gwla7GQjndVUsEqIaRyP6bsFRuhwRj5poafBGJQ==",
"dev": true
},
- "lazy-cache": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz",
- "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=",
- "dev": true
+ "last-call-webpack-plugin": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/last-call-webpack-plugin/-/last-call-webpack-plugin-3.0.0.tgz",
+ "integrity": "sha512-7KI2l2GIZa9p2spzPIVZBYyNKkN+e/SQPpnjlTiPhdbDW3F86tdKKELxKpzJ5sgU19wQWsACULZmpTPYHeWO5w==",
+ "dev": true,
+ "requires": {
+ "lodash": "^4.17.5",
+ "webpack-sources": "^1.1.0"
+ }
},
"lcid": {
"version": "1.0.0",
@@ -8824,9 +9930,9 @@
}
},
"loader-fs-cache": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/loader-fs-cache/-/loader-fs-cache-1.0.1.tgz",
- "integrity": "sha1-VuC/CL2XCLJqdltoUJhAyN7J/bw=",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/loader-fs-cache/-/loader-fs-cache-1.0.2.tgz",
+ "integrity": "sha512-70IzT/0/L+M20jUlEqZhZyArTU6VKLRTYRDAYN26g4jfzpJqjipLL3/hgYpySqI9PwsVRHHFja0LfEmsx9X2Cw==",
"dev": true,
"requires": {
"find-cache-dir": "^0.1.1",
@@ -8875,9 +9981,9 @@
}
},
"loader-runner": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.1.tgz",
- "integrity": "sha512-By6ZFY7ETWOc9RFaAIb23IjJVcM4dvJC/N57nmdz9RSkMXvAXGI7SyVlAw3v8vjtDRlqThgVDVmTnr9fqMlxkw==",
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz",
+ "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==",
"dev": true
},
"loader-utils": {
@@ -9185,9 +10291,9 @@
}
},
"loglevel": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.1.tgz",
- "integrity": "sha1-4PyVEztu8nbNyIh82vJKpvFW+Po=",
+ "version": "1.6.2",
+ "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.2.tgz",
+ "integrity": "sha512-Jt2MHrCNdtIe1W6co3tF5KXGRkzF+TYffiQstfXa04mrss9IKXzAAXYWak8LbZseAQY03sH2GzMCMU0ZOUc9bg==",
"dev": true
},
"lolex": {
@@ -9196,12 +10302,6 @@
"integrity": "sha512-l9x0+1offnKKIzYVjyXU2SiwhXDLekRzKyhnbyldPHvC7BvLPVpdNUNR2KeMAiCN2D/kLNttZgQD5WjSxuBx3Q==",
"dev": true
},
- "longest": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
- "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=",
- "dev": true
- },
"loose-envify": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
@@ -9220,6 +10320,12 @@
"signal-exit": "^3.0.0"
}
},
+ "lower-case": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz",
+ "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw=",
+ "dev": true
+ },
"lowlight": {
"version": "1.9.2",
"resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.9.2.tgz",
@@ -9241,12 +10347,36 @@
}
},
"make-dir": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz",
- "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
+ "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
"dev": true,
"requires": {
- "pify": "^3.0.0"
+ "pify": "^4.0.1",
+ "semver": "^5.6.0"
+ },
+ "dependencies": {
+ "pify": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
+ "dev": true
+ }
+ }
+ },
+ "mamacro": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/mamacro/-/mamacro-0.0.3.tgz",
+ "integrity": "sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA==",
+ "dev": true
+ },
+ "map-age-cleaner": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz",
+ "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==",
+ "dev": true,
+ "requires": {
+ "p-defer": "^1.0.0"
}
},
"map-cache": {
@@ -9270,18 +10400,6 @@
"object-visit": "^1.0.0"
}
},
- "math-expression-evaluator": {
- "version": "1.2.17",
- "resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.2.17.tgz",
- "integrity": "sha1-3oGf282E3M2PrlnGrreWFbnSZqw=",
- "dev": true
- },
- "math-random": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz",
- "integrity": "sha1-izqsWIuKZuSXXjzepn97sylgH6w=",
- "dev": true
- },
"md5.js": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",
@@ -9293,6 +10411,12 @@
"safe-buffer": "^5.1.2"
}
},
+ "mdn-data": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-1.1.4.tgz",
+ "integrity": "sha512-FSYbp3lyKjyj3E7fMl6rYvUdX0FBXaluGqlFoYESWQlyUTq8R+wp0rkFxoYFqZlHCvsUXGjyJmLQSnXToYhOSA==",
+ "dev": true
+ },
"media-typer": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
@@ -9300,12 +10424,22 @@
"dev": true
},
"mem": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz",
- "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz",
+ "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==",
"dev": true,
"requires": {
- "mimic-fn": "^1.0.0"
+ "map-age-cleaner": "^0.1.1",
+ "mimic-fn": "^2.0.0",
+ "p-is-promise": "^2.0.0"
+ },
+ "dependencies": {
+ "mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "dev": true
+ }
}
},
"memory-fs": {
@@ -9343,12 +10477,24 @@
"integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=",
"dev": true
},
+ "merge2": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.2.3.tgz",
+ "integrity": "sha512-gdUU1Fwj5ep4kplwcmftruWofEFt6lfpkkr3h860CXbAB9c3hGb55EOL2ali0Td5oebvW0E1+3Sr+Ur7XfKpRA==",
+ "dev": true
+ },
"methods": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=",
"dev": true
},
+ "microevent.ts": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/microevent.ts/-/microevent.ts-0.1.1.tgz",
+ "integrity": "sha512-jo1OfR4TaEwd5HOrt5+tAZ9mqT4jmpNAusXtyfNzqVm9uiSYFZlKM1wYL4oU7azZW/PxQW53wM0S6OR1JHNa2g==",
+ "dev": true
+ },
"micromatch": {
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
@@ -9405,6 +10551,61 @@
"integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",
"dev": true
},
+ "mini-css-extract-plugin": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-0.7.0.tgz",
+ "integrity": "sha512-RQIw6+7utTYn8DBGsf/LpRgZCJMpZt+kuawJ/fju0KiOL6nAaTBNmCJwS7HtwSCXfS47gCkmtBFS7HdsquhdxQ==",
+ "dev": true,
+ "requires": {
+ "loader-utils": "^1.1.0",
+ "normalize-url": "1.9.1",
+ "schema-utils": "^1.0.0",
+ "webpack-sources": "^1.1.0"
+ },
+ "dependencies": {
+ "ajv": {
+ "version": "6.10.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
+ "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
+ "dev": true,
+ "requires": {
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "ajv-keywords": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz",
+ "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==",
+ "dev": true
+ },
+ "fast-deep-equal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
+ "dev": true
+ },
+ "json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "schema-utils": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
+ "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
+ "dev": true,
+ "requires": {
+ "ajv": "^6.1.0",
+ "ajv-errors": "^1.0.0",
+ "ajv-keywords": "^3.1.0"
+ }
+ }
+ }
+ },
"minimalistic-assert": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
@@ -9442,6 +10643,24 @@
"is-plain-obj": "^1.1.0"
}
},
+ "mississippi": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz",
+ "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==",
+ "dev": true,
+ "requires": {
+ "concat-stream": "^1.5.0",
+ "duplexify": "^3.4.2",
+ "end-of-stream": "^1.1.0",
+ "flush-write-stream": "^1.0.0",
+ "from2": "^2.1.0",
+ "parallel-transform": "^1.1.0",
+ "pump": "^3.0.0",
+ "pumpify": "^1.3.3",
+ "stream-each": "^1.1.0",
+ "through2": "^2.0.0"
+ }
+ },
"mixin-deep": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz",
@@ -9569,6 +10788,20 @@
"integrity": "sha512-gFD2xGCl8YFgGHsqJ9NKRVdwlioeW3mI1iqfLNYQOv0+6JRwG58Zk9DIGQgyIaffSYaO1xsKnMaYzzNr1KyIAw==",
"dev": true
},
+ "move-concurrently": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz",
+ "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=",
+ "dev": true,
+ "requires": {
+ "aproba": "^1.1.1",
+ "copy-concurrently": "^1.0.0",
+ "fs-write-stream-atomic": "^1.0.8",
+ "mkdirp": "^0.5.1",
+ "rimraf": "^2.5.4",
+ "run-queue": "^1.0.3"
+ }
+ },
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
@@ -9689,6 +10922,15 @@
}
}
},
+ "no-case": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz",
+ "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==",
+ "dev": true,
+ "requires": {
+ "lower-case": "^1.1.1"
+ }
+ },
"node-fetch": {
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
@@ -10435,10 +11677,83 @@
"dev": true
},
"null-loader": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/null-loader/-/null-loader-0.1.1.tgz",
- "integrity": "sha1-F76av80/8OFRL2/Er8sfUDk3j64=",
- "dev": true
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/null-loader/-/null-loader-3.0.0.tgz",
+ "integrity": "sha512-hf5sNLl8xdRho4UPBOOeoIwT3WhjYcMUQm0zj44EhD6UscMAz72o2udpoDFBgykucdEDGIcd6SXbc/G6zssbzw==",
+ "dev": true,
+ "requires": {
+ "loader-utils": "^1.2.3",
+ "schema-utils": "^1.0.0"
+ },
+ "dependencies": {
+ "ajv": {
+ "version": "6.10.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
+ "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
+ "dev": true,
+ "requires": {
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "ajv-keywords": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz",
+ "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==",
+ "dev": true
+ },
+ "big.js": {
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
+ "dev": true
+ },
+ "fast-deep-equal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
+ "dev": true
+ },
+ "json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "json5": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
+ "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
+ "dev": true,
+ "requires": {
+ "minimist": "^1.2.0"
+ }
+ },
+ "loader-utils": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz",
+ "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==",
+ "dev": true,
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^2.0.0",
+ "json5": "^1.0.1"
+ }
+ },
+ "schema-utils": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
+ "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
+ "dev": true,
+ "requires": {
+ "ajv": "^6.1.0",
+ "ajv-errors": "^1.0.0",
+ "ajv-keywords": "^3.1.0"
+ }
+ }
+ }
},
"num2fraction": {
"version": "1.2.2",
@@ -10568,27 +11883,6 @@
"es-abstract": "^1.5.1"
}
},
- "object.omit": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz",
- "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=",
- "dev": true,
- "requires": {
- "for-own": "^0.1.4",
- "is-extendable": "^0.1.1"
- },
- "dependencies": {
- "for-own": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz",
- "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=",
- "dev": true,
- "requires": {
- "for-in": "^1.0.1"
- }
- }
- }
- },
"object.pick": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
@@ -10626,9 +11920,9 @@
}
},
"on-headers": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz",
- "integrity": "sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c=",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",
+ "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==",
"dev": true
},
"once": {
@@ -10650,9 +11944,9 @@
}
},
"opn": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/opn/-/opn-5.4.0.tgz",
- "integrity": "sha512-YF9MNdVy/0qvJvDtunAOzFw9iasOQHpVthTCvGzxt61Il64AYSGdK+rYwld7NAfk9qJ7dt+hymBNSc9LNYS+Sw==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/opn/-/opn-5.5.0.tgz",
+ "integrity": "sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA==",
"dev": true,
"requires": {
"is-wsl": "^1.1.0"
@@ -10682,6 +11976,16 @@
}
}
},
+ "optimize-css-assets-webpack-plugin": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-5.0.1.tgz",
+ "integrity": "sha512-Rqm6sSjWtx9FchdP0uzTQDc7GXDKnwVEGoSxjezPkzMewx7gEWE9IMUYKmigTRC4U3RaNSwYVnUDLuIdtTpm0A==",
+ "dev": true,
+ "requires": {
+ "cssnano": "^4.1.0",
+ "last-call-webpack-plugin": "^3.0.0"
+ }
+ },
"optionator": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz",
@@ -10817,12 +12121,24 @@
"mkdirp": "^0.5.1"
}
},
+ "p-defer": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz",
+ "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=",
+ "dev": true
+ },
"p-finally": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
"integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",
"dev": true
},
+ "p-is-promise": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz",
+ "integrity": "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==",
+ "dev": true
+ },
"p-limit": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
@@ -10859,6 +12175,26 @@
"integrity": "sha512-3HNK5tW4x8o5mO8RuHZp3Ydw9icZXx0RANAOMzlMzx7LVXhMJ4mo3MOBpzyd7r/+RUu8BmndP47LXT+vzjtWcQ==",
"dev": true
},
+ "parallel-transform": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz",
+ "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=",
+ "dev": true,
+ "requires": {
+ "cyclist": "~0.2.2",
+ "inherits": "^2.0.3",
+ "readable-stream": "^2.1.5"
+ }
+ },
+ "param-case": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz",
+ "integrity": "sha1-35T9jPZTHs915r75oIWPvHK+Ikc=",
+ "dev": true,
+ "requires": {
+ "no-case": "^2.2.0"
+ }
+ },
"parse-asn1": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz",
@@ -10886,35 +12222,6 @@
"is-hexadecimal": "^1.0.0"
}
},
- "parse-glob": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz",
- "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=",
- "dev": true,
- "requires": {
- "glob-base": "^0.3.0",
- "is-dotfile": "^1.0.0",
- "is-extglob": "^1.0.0",
- "is-glob": "^2.0.0"
- },
- "dependencies": {
- "is-extglob": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
- "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
- "dev": true
- },
- "is-glob": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
- "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
- "dev": true,
- "requires": {
- "is-extglob": "^1.0.0"
- }
- }
- }
- },
"parse-json": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz",
@@ -10925,6 +12232,12 @@
"json-parse-better-errors": "^1.0.1"
}
},
+ "parse-passwd": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",
+ "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=",
+ "dev": true
+ },
"parse5": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz",
@@ -11085,9 +12398,63 @@
}
},
"pkg-dir": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",
+ "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
+ "dev": true,
+ "requires": {
+ "find-up": "^3.0.0"
+ },
+ "dependencies": {
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "dev": true,
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "dev": true,
+ "requires": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "p-limit": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
+ "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
+ "dev": true,
+ "requires": {
+ "p-try": "^2.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "dev": true,
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true
+ }
+ }
+ },
+ "pkg-up": {
"version": "2.0.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz",
- "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=",
+ "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz",
+ "integrity": "sha1-yBmscoBZpGHKscOImivjxJoATX8=",
"dev": true,
"requires": {
"find-up": "^2.1.0"
@@ -11158,3025 +12525,1958 @@
}
},
"postcss-calc": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-5.3.1.tgz",
- "integrity": "sha1-d7rnypKK2FcW4v2kLyYb98HWW14=",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.1.tgz",
+ "integrity": "sha512-oXqx0m6tb4N3JGdmeMSc/i91KppbYsFZKdH0xMOqK8V1rJlzrKlTdokz8ozUXLVejydRN6u2IddxpcijRj2FqQ==",
"dev": true,
"requires": {
- "postcss": "^5.0.2",
- "postcss-message-helpers": "^2.0.0",
- "reduce-css-calc": "^1.2.6"
+ "css-unit-converter": "^1.1.1",
+ "postcss": "^7.0.5",
+ "postcss-selector-parser": "^5.0.0-rc.4",
+ "postcss-value-parser": "^3.3.1"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "cssesc": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz",
+ "integrity": "sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==",
"dev": true
},
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "postcss-selector-parser": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz",
+ "integrity": "sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ==",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "cssesc": "^2.0.0",
+ "indexes-of": "^1.0.1",
+ "uniq": "^1.0.1"
}
}
}
},
"postcss-colormin": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-2.2.2.tgz",
- "integrity": "sha1-ZjFBfV8OkJo9fsJrJMio0eT5bks=",
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz",
+ "integrity": "sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw==",
+ "dev": true,
+ "requires": {
+ "browserslist": "^4.0.0",
+ "color": "^3.0.0",
+ "has": "^1.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
+ }
+ },
+ "postcss-convert-values": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz",
+ "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==",
+ "dev": true,
+ "requires": {
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
+ }
+ },
+ "postcss-discard-comments": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz",
+ "integrity": "sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==",
+ "dev": true,
+ "requires": {
+ "postcss": "^7.0.0"
+ }
+ },
+ "postcss-discard-duplicates": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz",
+ "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==",
+ "dev": true,
+ "requires": {
+ "postcss": "^7.0.0"
+ }
+ },
+ "postcss-discard-empty": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz",
+ "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==",
+ "dev": true,
+ "requires": {
+ "postcss": "^7.0.0"
+ }
+ },
+ "postcss-discard-overridden": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz",
+ "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==",
+ "dev": true,
+ "requires": {
+ "postcss": "^7.0.0"
+ }
+ },
+ "postcss-flexbugs-fixes": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-4.1.0.tgz",
+ "integrity": "sha512-jr1LHxQvStNNAHlgco6PzY308zvLklh7SJVYuWUwyUQncofaAlD2l+P/gxKHOdqWKe7xJSkVLFF/2Tp+JqMSZA==",
+ "dev": true,
+ "requires": {
+ "postcss": "^7.0.0"
+ }
+ },
+ "postcss-load-config": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.0.0.tgz",
+ "integrity": "sha512-V5JBLzw406BB8UIfsAWSK2KSwIJ5yoEIVFb4gVkXci0QdKgA24jLmHZ/ghe/GgX0lJ0/D1uUK1ejhzEY94MChQ==",
+ "dev": true,
+ "requires": {
+ "cosmiconfig": "^4.0.0",
+ "import-cwd": "^2.0.0"
+ }
+ },
+ "postcss-loader": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-3.0.0.tgz",
+ "integrity": "sha512-cLWoDEY5OwHcAjDnkyRQzAXfs2jrKjXpO/HQFcc5b5u/r7aa471wdmChmwfnv7x2u840iat/wi0lQ5nbRgSkUA==",
"dev": true,
"requires": {
- "colormin": "^1.0.5",
- "postcss": "^5.0.13",
- "postcss-value-parser": "^3.2.3"
+ "loader-utils": "^1.1.0",
+ "postcss": "^7.0.0",
+ "postcss-load-config": "^2.0.0",
+ "schema-utils": "^1.0.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "ajv": {
+ "version": "6.10.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
+ "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
"dev": true,
"requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
}
},
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "ajv-keywords": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz",
+ "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==",
"dev": true
},
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
+ "fast-deep-equal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
+ "dev": true
},
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "schema-utils": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
+ "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "ajv": "^6.1.0",
+ "ajv-errors": "^1.0.0",
+ "ajv-keywords": "^3.1.0"
}
}
}
},
- "postcss-convert-values": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-2.6.1.tgz",
- "integrity": "sha1-u9hZPFwf0uPRwyK7kl3K6Nrk1i0=",
+ "postcss-merge-longhand": {
+ "version": "4.0.11",
+ "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz",
+ "integrity": "sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw==",
"dev": true,
"requires": {
- "postcss": "^5.0.11",
- "postcss-value-parser": "^3.1.2"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
- }
+ "css-color-names": "0.0.4",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0",
+ "stylehacks": "^4.0.0"
}
},
- "postcss-discard-comments": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz",
- "integrity": "sha1-vv6J+v1bPazlzM5Rt2uBUUvgDj0=",
+ "postcss-merge-rules": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz",
+ "integrity": "sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ==",
"dev": true,
"requires": {
- "postcss": "^5.0.14"
+ "browserslist": "^4.0.0",
+ "caniuse-api": "^3.0.0",
+ "cssnano-util-same-parent": "^4.0.0",
+ "postcss": "^7.0.0",
+ "postcss-selector-parser": "^3.0.0",
+ "vendors": "^1.0.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dot-prop": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz",
+ "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==",
"dev": true,
"requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
+ "is-obj": "^1.0.0"
}
},
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "postcss-selector-parser": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz",
+ "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "dot-prop": "^4.1.1",
+ "indexes-of": "^1.0.1",
+ "uniq": "^1.0.1"
}
}
}
},
- "postcss-discard-duplicates": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-2.1.0.tgz",
- "integrity": "sha1-uavye4isGIFYpesSq8riAmO5GTI=",
+ "postcss-minify-font-values": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz",
+ "integrity": "sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg==",
"dev": true,
"requires": {
- "postcss": "^5.0.4"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
- }
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
}
},
- "postcss-discard-empty": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz",
- "integrity": "sha1-0rS9nVztXr2Nyt52QMfXzX9PkrU=",
+ "postcss-minify-gradients": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz",
+ "integrity": "sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q==",
"dev": true,
"requires": {
- "postcss": "^5.0.14"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
- }
+ "cssnano-util-get-arguments": "^4.0.0",
+ "is-color-stop": "^1.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
}
},
- "postcss-discard-overridden": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz",
- "integrity": "sha1-ix6vVU9ob7KIzYdMVWZ7CqNmjVg=",
+ "postcss-minify-params": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz",
+ "integrity": "sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg==",
+ "dev": true,
+ "requires": {
+ "alphanum-sort": "^1.0.0",
+ "browserslist": "^4.0.0",
+ "cssnano-util-get-arguments": "^4.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0",
+ "uniqs": "^2.0.0"
+ }
+ },
+ "postcss-minify-selectors": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz",
+ "integrity": "sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g==",
"dev": true,
"requires": {
- "postcss": "^5.0.16"
+ "alphanum-sort": "^1.0.0",
+ "has": "^1.0.0",
+ "postcss": "^7.0.0",
+ "postcss-selector-parser": "^3.0.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dot-prop": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz",
+ "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==",
"dev": true,
"requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
+ "is-obj": "^1.0.0"
}
},
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "postcss-selector-parser": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz",
+ "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "dot-prop": "^4.1.1",
+ "indexes-of": "^1.0.1",
+ "uniq": "^1.0.1"
}
}
}
},
- "postcss-discard-unused": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz",
- "integrity": "sha1-vOMLLMWR/8Y0Mitfs0ZLbZNPRDM=",
+ "postcss-modules-extract-imports": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz",
+ "integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==",
"dev": true,
"requires": {
- "postcss": "^5.0.14",
- "uniqs": "^2.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
- }
+ "postcss": "^7.0.5"
}
},
- "postcss-filter-plugins": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/postcss-filter-plugins/-/postcss-filter-plugins-2.0.3.tgz",
- "integrity": "sha512-T53GVFsdinJhgwm7rg1BzbeBRomOg9y5MBVhGcsV0CxurUdVj1UlPdKtn7aqYA/c/QVkzKMjq2bSV5dKG5+AwQ==",
+ "postcss-modules-local-by-default": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-2.0.6.tgz",
+ "integrity": "sha512-oLUV5YNkeIBa0yQl7EYnxMgy4N6noxmiwZStaEJUSe2xPMcdNc8WmBQuQCx18H5psYbVxz8zoHk0RAAYZXP9gA==",
"dev": true,
"requires": {
- "postcss": "^5.0.4"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
- }
+ "postcss": "^7.0.6",
+ "postcss-selector-parser": "^6.0.0",
+ "postcss-value-parser": "^3.3.1"
}
},
- "postcss-load-config": {
+ "postcss-modules-scope": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-2.1.0.tgz",
+ "integrity": "sha512-91Rjps0JnmtUB0cujlc8KIKCsJXWjzuxGeT/+Q2i2HXKZ7nBUeF9YQTZZTNvHVoNYj1AthsjnGLtqDUE0Op79A==",
+ "dev": true,
+ "requires": {
+ "postcss": "^7.0.6",
+ "postcss-selector-parser": "^6.0.0"
+ }
+ },
+ "postcss-modules-values": {
"version": "2.0.0",
- "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.0.0.tgz",
- "integrity": "sha512-V5JBLzw406BB8UIfsAWSK2KSwIJ5yoEIVFb4gVkXci0QdKgA24jLmHZ/ghe/GgX0lJ0/D1uUK1ejhzEY94MChQ==",
+ "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-2.0.0.tgz",
+ "integrity": "sha512-Ki7JZa7ff1N3EIMlPnGTZfUMe69FFwiQPnVSXC9mnn3jozCRBYIxiZd44yJOV2AmabOo4qFf8s0dC/+lweG7+w==",
"dev": true,
"requires": {
- "cosmiconfig": "^4.0.0",
- "import-cwd": "^2.0.0"
+ "icss-replace-symbols": "^1.1.0",
+ "postcss": "^7.0.6"
}
},
- "postcss-loader": {
- "version": "2.1.6",
- "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-2.1.6.tgz",
- "integrity": "sha512-hgiWSc13xVQAq25cVw80CH0l49ZKlAnU1hKPOdRrNj89bokRr/bZF2nT+hebPPF9c9xs8c3gw3Fr2nxtmXYnNg==",
+ "postcss-normalize-charset": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz",
+ "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==",
"dev": true,
"requires": {
- "loader-utils": "^1.1.0",
- "postcss": "^6.0.0",
- "postcss-load-config": "^2.0.0",
- "schema-utils": "^0.4.0"
- },
- "dependencies": {
- "ajv": {
- "version": "6.6.2",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.6.2.tgz",
- "integrity": "sha512-FBHEW6Jf5TB9MGBgUUA9XHkTbjXYfAUjY43ACMfmdMRHniyoMHjHjzD50OK8LGDWQwp4rWEsIq5kEqq7rvIM1g==",
- "dev": true,
- "requires": {
- "fast-deep-equal": "^2.0.1",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.4.1",
- "uri-js": "^4.2.2"
- }
- },
- "ajv-keywords": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz",
- "integrity": "sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo=",
- "dev": true
- },
- "fast-deep-equal": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
- "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
- "dev": true
- },
- "json-schema-traverse": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true
- },
- "postcss": {
- "version": "6.0.23",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz",
- "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==",
- "dev": true,
- "requires": {
- "chalk": "^2.4.1",
- "source-map": "^0.6.1",
- "supports-color": "^5.4.0"
- }
- },
- "schema-utils": {
- "version": "0.4.7",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz",
- "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==",
- "dev": true,
- "requires": {
- "ajv": "^6.1.0",
- "ajv-keywords": "^3.1.0"
- }
- },
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true
- }
+ "postcss": "^7.0.0"
}
},
- "postcss-merge-idents": {
- "version": "2.1.7",
- "resolved": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz",
- "integrity": "sha1-TFUwMTwI4dWzu/PSu8dH4njuonA=",
+ "postcss-normalize-display-values": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz",
+ "integrity": "sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ==",
"dev": true,
"requires": {
- "has": "^1.0.1",
- "postcss": "^5.0.10",
- "postcss-value-parser": "^3.1.1"
+ "cssnano-util-get-match": "^4.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
+ }
+ },
+ "postcss-normalize-positions": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz",
+ "integrity": "sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA==",
+ "dev": true,
+ "requires": {
+ "cssnano-util-get-arguments": "^4.0.0",
+ "has": "^1.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
+ }
+ },
+ "postcss-normalize-repeat-style": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz",
+ "integrity": "sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q==",
+ "dev": true,
+ "requires": {
+ "cssnano-util-get-arguments": "^4.0.0",
+ "cssnano-util-get-match": "^4.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
+ }
+ },
+ "postcss-normalize-string": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz",
+ "integrity": "sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA==",
+ "dev": true,
+ "requires": {
+ "has": "^1.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
+ }
+ },
+ "postcss-normalize-timing-functions": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz",
+ "integrity": "sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A==",
+ "dev": true,
+ "requires": {
+ "cssnano-util-get-match": "^4.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
+ }
+ },
+ "postcss-normalize-unicode": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz",
+ "integrity": "sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg==",
+ "dev": true,
+ "requires": {
+ "browserslist": "^4.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
+ }
+ },
+ "postcss-normalize-url": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz",
+ "integrity": "sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA==",
+ "dev": true,
+ "requires": {
+ "is-absolute-url": "^2.0.0",
+ "normalize-url": "^3.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "normalize-url": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz",
+ "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==",
"dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
}
}
},
- "postcss-merge-longhand": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-2.0.2.tgz",
- "integrity": "sha1-I9kM0Sewp3mUkVMyc5A0oaTz1lg=",
+ "postcss-normalize-whitespace": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz",
+ "integrity": "sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA==",
"dev": true,
"requires": {
- "postcss": "^5.0.4"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
- }
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
}
},
- "postcss-merge-rules": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz",
- "integrity": "sha1-0d9d+qexrMO+VT8OnhDofGG19yE=",
+ "postcss-ordered-values": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz",
+ "integrity": "sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw==",
"dev": true,
"requires": {
- "browserslist": "^1.5.2",
- "caniuse-api": "^1.5.2",
- "postcss": "^5.0.4",
- "postcss-selector-parser": "^2.2.2",
- "vendors": "^1.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "browserslist": {
- "version": "1.7.7",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz",
- "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
- "dev": true,
- "requires": {
- "caniuse-db": "^1.0.30000639",
- "electron-to-chromium": "^1.2.7"
- }
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
- }
+ "cssnano-util-get-arguments": "^4.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
}
},
- "postcss-message-helpers": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/postcss-message-helpers/-/postcss-message-helpers-2.0.0.tgz",
- "integrity": "sha1-pPL0+rbk/gAvCu0ABHjN9S+bpg4=",
+ "postcss-reduce-initial": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz",
+ "integrity": "sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA==",
+ "dev": true,
+ "requires": {
+ "browserslist": "^4.0.0",
+ "caniuse-api": "^3.0.0",
+ "has": "^1.0.0",
+ "postcss": "^7.0.0"
+ }
+ },
+ "postcss-reduce-transforms": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz",
+ "integrity": "sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg==",
+ "dev": true,
+ "requires": {
+ "cssnano-util-get-match": "^4.0.0",
+ "has": "^1.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
+ }
+ },
+ "postcss-safe-parser": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-4.0.1.tgz",
+ "integrity": "sha512-xZsFA3uX8MO3yAda03QrG3/Eg1LN3EPfjjf07vke/46HERLZyHrTsQ9E1r1w1W//fWEhtYNndo2hQplN2cVpCQ==",
+ "dev": true,
+ "requires": {
+ "postcss": "^7.0.0"
+ }
+ },
+ "postcss-selector-parser": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz",
+ "integrity": "sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==",
+ "dev": true,
+ "requires": {
+ "cssesc": "^3.0.0",
+ "indexes-of": "^1.0.1",
+ "uniq": "^1.0.1"
+ }
+ },
+ "postcss-svgo": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.2.tgz",
+ "integrity": "sha512-C6wyjo3VwFm0QgBy+Fu7gCYOkCmgmClghO+pjcxvrcBKtiKt0uCF+hvbMO1fyv5BMImRK90SMb+dwUnfbGd+jw==",
+ "dev": true,
+ "requires": {
+ "is-svg": "^3.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0",
+ "svgo": "^1.0.0"
+ }
+ },
+ "postcss-unique-selectors": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz",
+ "integrity": "sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==",
+ "dev": true,
+ "requires": {
+ "alphanum-sort": "^1.0.0",
+ "postcss": "^7.0.0",
+ "uniqs": "^2.0.0"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
"dev": true
},
- "postcss-minify-font-values": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-1.0.5.tgz",
- "integrity": "sha1-S1jttWZB66fIR0qzUmyv17vey2k=",
+ "prelude-ls": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
+ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
+ "dev": true
+ },
+ "prepend-http": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",
+ "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=",
+ "dev": true
+ },
+ "prettier": {
+ "version": "1.15.3",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.15.3.tgz",
+ "integrity": "sha512-gAU9AGAPMaKb3NNSUUuhhFAS7SCO4ALTN4nRIn6PJ075Qd28Yn2Ig2ahEJWdJwJmlEBTUfC7mMUSFy8MwsOCfg==",
+ "dev": true
+ },
+ "prettier-check": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/prettier-check/-/prettier-check-2.0.0.tgz",
+ "integrity": "sha512-HZG53XQTJ9Cyi5hi1VFVVFxdlhITJybpZAch3ib9KqI05VUxV+F5Hip0GhSWRItrlDzVyqjSoDQ9KqIn7AHYyw==",
"dev": true,
"requires": {
- "object-assign": "^4.0.1",
- "postcss": "^5.0.4",
- "postcss-value-parser": "^3.0.2"
+ "execa": "^0.6.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "execa": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-0.6.3.tgz",
+ "integrity": "sha1-V7aaWU8IF1nGnlNw8NF7nLEWWP4=",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "cross-spawn": "^5.0.1",
+ "get-stream": "^3.0.0",
+ "is-stream": "^1.1.0",
+ "npm-run-path": "^2.0.0",
+ "p-finally": "^1.0.0",
+ "signal-exit": "^3.0.0",
+ "strip-eof": "^1.0.0"
}
}
}
},
- "postcss-minify-gradients": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-1.0.5.tgz",
- "integrity": "sha1-Xb2hE3NwP4PPtKPqOIHY11/15uE=",
+ "pretty-error": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.1.tgz",
+ "integrity": "sha1-X0+HyPkeWuPzuoerTPXgOxoX8aM=",
+ "dev": true,
+ "requires": {
+ "renderkid": "^2.0.1",
+ "utila": "~0.4"
+ }
+ },
+ "pretty-format": {
+ "version": "21.2.1",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-21.2.1.tgz",
+ "integrity": "sha512-ZdWPGYAnYfcVP8yKA3zFjCn8s4/17TeYH28MXuC8vTp0o21eXjbFGcOAXZEaDaOFJjc3h2qa7HQNHNshhvoh2A==",
"dev": true,
"requires": {
- "postcss": "^5.0.12",
- "postcss-value-parser": "^3.3.0"
+ "ansi-regex": "^3.0.0",
+ "ansi-styles": "^3.2.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
"dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
}
}
},
- "postcss-minify-params": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz",
- "integrity": "sha1-rSzgcTc7lDs9kwo/pZo1jCjW8fM=",
+ "prismjs": {
+ "version": "1.15.0",
+ "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.15.0.tgz",
+ "integrity": "sha512-Lf2JrFYx8FanHrjoV5oL8YHCclLQgbJcVZR+gikGGMqz6ub5QVWDTM6YIwm3BuPxM/LOV+rKns3LssXNLIf+DA==",
"dev": true,
"requires": {
- "alphanum-sort": "^1.0.1",
- "postcss": "^5.0.2",
- "postcss-value-parser": "^3.0.2",
- "uniqs": "^2.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
- }
+ "clipboard": "^2.0.0"
}
},
- "postcss-minify-selectors": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz",
- "integrity": "sha1-ssapjAByz5G5MtGkllCBFDEXNb8=",
- "dev": true,
+ "private": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz",
+ "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==",
+ "dev": true
+ },
+ "process": {
+ "version": "0.11.10",
+ "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
+ "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",
+ "dev": true
+ },
+ "process-nextick-args": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
+ "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==",
+ "dev": true
+ },
+ "progress": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
+ "dev": true
+ },
+ "promise": {
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
+ "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
"requires": {
- "alphanum-sort": "^1.0.2",
- "has": "^1.0.1",
- "postcss": "^5.0.14",
- "postcss-selector-parser": "^2.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
- }
+ "asap": "~2.0.3"
}
},
- "postcss-modules-extract-imports": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.1.tgz",
- "integrity": "sha512-6jt9XZwUhwmRUhb/CkyJY020PYaPJsCyt3UjbaWo6XEbH/94Hmv6MP7fG2C5NDU/BcHzyGYxNtHvM+LTf9HrYw==",
- "dev": true,
+ "promise-inflight": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz",
+ "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=",
+ "dev": true
+ },
+ "prop-types": {
+ "version": "15.6.2",
+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz",
+ "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==",
"requires": {
- "postcss": "^6.0.1"
- },
- "dependencies": {
- "postcss": {
- "version": "6.0.23",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz",
- "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==",
- "dev": true,
- "requires": {
- "chalk": "^2.4.1",
- "source-map": "^0.6.1",
- "supports-color": "^5.4.0"
- }
- },
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true
- }
+ "loose-envify": "^1.3.1",
+ "object-assign": "^4.1.1"
}
},
- "postcss-modules-local-by-default": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz",
- "integrity": "sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk=",
+ "prop-types-extra": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/prop-types-extra/-/prop-types-extra-1.1.0.tgz",
+ "integrity": "sha512-QFyuDxvMipmIVKD2TwxLVPzMnO4e5oOf1vr3tJIomL8E7d0lr6phTHd5nkPhFIzTD1idBLLEPeylL9g+rrTzRg==",
"dev": true,
"requires": {
- "css-selector-tokenizer": "^0.7.0",
- "postcss": "^6.0.1"
- },
- "dependencies": {
- "postcss": {
- "version": "6.0.23",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz",
- "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==",
- "dev": true,
- "requires": {
- "chalk": "^2.4.1",
- "source-map": "^0.6.1",
- "supports-color": "^5.4.0"
- }
- },
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true
- }
+ "react-is": "^16.3.2",
+ "warning": "^3.0.0"
}
},
- "postcss-modules-scope": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz",
- "integrity": "sha1-1upkmUx5+XtipytCb75gVqGUu5A=",
+ "property-information": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.0.1.tgz",
+ "integrity": "sha512-nAtBDVeSwFM3Ot/YxT7s4NqZmqXI7lLzf46BThvotEtYf2uk2yH0ACYuWQkJ7gxKs49PPtKVY0UlDGkyN9aJlw==",
"dev": true,
"requires": {
- "css-selector-tokenizer": "^0.7.0",
- "postcss": "^6.0.1"
- },
- "dependencies": {
- "postcss": {
- "version": "6.0.23",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz",
- "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==",
- "dev": true,
- "requires": {
- "chalk": "^2.4.1",
- "source-map": "^0.6.1",
- "supports-color": "^5.4.0"
- }
- },
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true
- }
+ "xtend": "^4.0.1"
}
},
- "postcss-modules-values": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz",
- "integrity": "sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA=",
+ "proxy-addr": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.5.tgz",
+ "integrity": "sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ==",
"dev": true,
"requires": {
- "icss-replace-symbols": "^1.1.0",
- "postcss": "^6.0.1"
- },
- "dependencies": {
- "postcss": {
- "version": "6.0.23",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz",
- "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==",
- "dev": true,
- "requires": {
- "chalk": "^2.4.1",
- "source-map": "^0.6.1",
- "supports-color": "^5.4.0"
- }
- },
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true
- }
+ "forwarded": "~0.1.2",
+ "ipaddr.js": "1.9.0"
}
},
- "postcss-normalize-charset": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-1.1.1.tgz",
- "integrity": "sha1-757nEhLX/nWceO0WL2HtYrXLk/E=",
+ "proxy-from-env": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.0.0.tgz",
+ "integrity": "sha1-M8UDmPcOp+uW0h97gXYwpVeRx+4=",
+ "dev": true
+ },
+ "prr": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
+ "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=",
+ "dev": true
+ },
+ "pseudomap": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
+ "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=",
+ "dev": true
+ },
+ "psl": {
+ "version": "1.1.31",
+ "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz",
+ "integrity": "sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==",
+ "dev": true
+ },
+ "public-encrypt": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",
+ "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==",
"dev": true,
"requires": {
- "postcss": "^5.0.5"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
- }
+ "bn.js": "^4.1.0",
+ "browserify-rsa": "^4.0.0",
+ "create-hash": "^1.1.0",
+ "parse-asn1": "^5.0.0",
+ "randombytes": "^2.0.1",
+ "safe-buffer": "^5.1.2"
}
},
- "postcss-normalize-url": {
- "version": "3.0.8",
- "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz",
- "integrity": "sha1-EI90s/L82viRov+j6kWSJ5/HgiI=",
+ "pump": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
"dev": true,
"requires": {
- "is-absolute-url": "^2.0.0",
- "normalize-url": "^1.4.0",
- "postcss": "^5.0.14",
- "postcss-value-parser": "^3.2.3"
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "pumpify": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz",
+ "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==",
+ "dev": true,
+ "requires": {
+ "duplexify": "^3.6.0",
+ "inherits": "^2.0.3",
+ "pump": "^2.0.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "pump": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz",
+ "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
}
}
}
},
- "postcss-ordered-values": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-2.2.3.tgz",
- "integrity": "sha1-7sbCpntsQSqNsgQud/6NpD+VwR0=",
+ "punycode": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
+ "dev": true
+ },
+ "puppeteer": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-1.11.0.tgz",
+ "integrity": "sha512-iG4iMOHixc2EpzqRV+pv7o3GgmU2dNYEMkvKwSaQO/vMZURakwSOn/EYJ6OIRFYOque1qorzIBvrytPIQB3YzQ==",
"dev": true,
"requires": {
- "postcss": "^5.0.4",
- "postcss-value-parser": "^3.0.1"
+ "debug": "^4.1.0",
+ "extract-zip": "^1.6.6",
+ "https-proxy-agent": "^2.2.1",
+ "mime": "^2.0.3",
+ "progress": "^2.0.1",
+ "proxy-from-env": "^1.0.0",
+ "rimraf": "^2.6.1",
+ "ws": "^6.1.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "debug": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.0.tgz",
+ "integrity": "sha512-heNPJUJIqC+xB6ayLAMHaIrmN9HKa7aQO8MGqKpvCA+uJYVcvR6l5kgdrhRuwPFHU7P5/A1w0BjByPHwpfTDKg==",
"dev": true,
"requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
+ "ms": "^2.1.1"
}
},
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "mime": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.0.tgz",
+ "integrity": "sha512-ikBcWwyqXQSHKtciCcctu9YfPbFYZ4+gbHEmE0Q8jzcTYQg5dHCr3g2wwAZjPoJfQVXZq6KXAjpXOTf5/cjT7w==",
"dev": true
},
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
- }
+ "ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
+ "dev": true
},
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "ws": {
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-6.1.2.tgz",
+ "integrity": "sha512-rfUqzvz0WxmSXtJpPMX2EeASXabOrSMk1ruMOV3JBTBjo4ac2lDjGGsbQSyxj8Odhw5fBib8ZKEjDNvgouNKYw==",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "async-limiter": "~1.0.0"
}
}
}
},
- "postcss-reduce-idents": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/postcss-reduce-idents/-/postcss-reduce-idents-2.4.0.tgz",
- "integrity": "sha1-wsbSDMlYKE9qv75j92Cb9AkFmtM=",
+ "q": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",
+ "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=",
+ "dev": true
+ },
+ "qjobs": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz",
+ "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==",
+ "dev": true
+ },
+ "qs": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-1.2.2.tgz",
+ "integrity": "sha1-GbV/8k3CqZzh+L32r82ln472H4g=",
+ "dev": true
+ },
+ "query-string": {
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz",
+ "integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=",
"dev": true,
"requires": {
- "postcss": "^5.0.4",
- "postcss-value-parser": "^3.0.2"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
- },
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
- },
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "object-assign": "^4.1.0",
+ "strict-uri-encode": "^1.0.0"
+ }
+ },
+ "querystring": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
+ "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=",
+ "dev": true
+ },
+ "querystring-es3": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz",
+ "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=",
+ "dev": true
+ },
+ "querystringify": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.1.1.tgz",
+ "integrity": "sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA==",
+ "dev": true
+ },
+ "quick-lru": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz",
+ "integrity": "sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=",
+ "dev": true
+ },
+ "raf": {
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
+ "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
+ "dev": true,
+ "requires": {
+ "performance-now": "^2.1.0"
+ }
+ },
+ "railroad-diagrams": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz",
+ "integrity": "sha1-635iZ1SN3t+4mcG5Dlc3RVnN234=",
+ "dev": true
+ },
+ "randexp": {
+ "version": "0.4.6",
+ "resolved": "https://registry.npmjs.org/randexp/-/randexp-0.4.6.tgz",
+ "integrity": "sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ==",
+ "dev": true,
+ "requires": {
+ "discontinuous-range": "1.0.0",
+ "ret": "~0.1.10"
+ }
+ },
+ "randombytes": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz",
+ "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==",
+ "dev": true,
+ "requires": {
+ "safe-buffer": "^5.1.0"
+ }
+ },
+ "randomfill": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",
+ "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==",
+ "dev": true,
+ "requires": {
+ "randombytes": "^2.0.5",
+ "safe-buffer": "^5.1.0"
+ }
+ },
+ "range-parser": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",
+ "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=",
+ "dev": true
+ },
+ "raw-body": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz",
+ "integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==",
+ "dev": true,
+ "requires": {
+ "bytes": "3.0.0",
+ "http-errors": "1.6.3",
+ "iconv-lite": "0.4.23",
+ "unpipe": "1.0.0"
+ },
+ "dependencies": {
+ "iconv-lite": {
+ "version": "0.4.23",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz",
+ "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==",
"dev": true,
"requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
+ "safer-buffer": ">= 2.1.2 < 3"
}
- },
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ }
+ }
+ },
+ "react": {
+ "version": "16.6.3",
+ "resolved": "https://registry.npmjs.org/react/-/react-16.6.3.tgz",
+ "integrity": "sha512-zCvmH2vbEolgKxtqXL2wmGCUxUyNheYn/C+PD1YAjfxHC54+MhdruyhO7QieQrYsYeTxrn93PM2y0jRH1zEExw==",
+ "requires": {
+ "loose-envify": "^1.1.0",
+ "object-assign": "^4.1.1",
+ "prop-types": "^15.6.2",
+ "scheduler": "^0.11.2"
+ }
+ },
+ "react-bootstrap": {
+ "version": "0.31.5",
+ "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-0.31.5.tgz",
+ "integrity": "sha512-xgDihgX4QvYHmHzL87faDBMDnGfYyqcrqV0TEbWY+JizePOG1vfb8M3xJN+6MJ3kUYqDtQSZ7v/Q6Y5YDrkMdA==",
+ "dev": true,
+ "requires": {
+ "babel-runtime": "^6.11.6",
+ "classnames": "^2.2.5",
+ "dom-helpers": "^3.2.0",
+ "invariant": "^2.2.1",
+ "keycode": "^2.1.2",
+ "prop-types": "^15.5.10",
+ "prop-types-extra": "^1.0.1",
+ "react-overlays": "^0.7.4",
+ "uncontrollable": "^4.1.0",
+ "warning": "^3.0.0"
+ }
+ },
+ "react-datepicker": {
+ "version": "github:Adslot/react-datepicker#2a1ebb8618e1996c321331ef01d290424272d126",
+ "from": "react-datepicker@github:Adslot/react-datepicker#2a1ebb8618e1996c321331ef01d290424272d126",
+ "dev": true,
+ "requires": {
+ "classnames": "^2.2.5",
+ "prop-types": "^15.6.0",
+ "react-onclickoutside": "^6.7.1",
+ "react-popper": "^0.9.1"
+ },
+ "dependencies": {
+ "react-popper": {
+ "version": "0.9.5",
+ "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-0.9.5.tgz",
+ "integrity": "sha1-AqJO8+7DOvnlToNYq3DrDjMe3QU=",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "popper.js": "^1.14.1",
+ "prop-types": "^15.6.1"
}
}
}
},
- "postcss-reduce-initial": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-1.0.1.tgz",
- "integrity": "sha1-aPgGlfBF0IJjqHmtJA343WT2ROo=",
+ "react-dev-utils": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-9.0.1.tgz",
+ "integrity": "sha512-pnaeMo/Pxel8aZpxk1WwxT3uXxM3tEwYvsjCYn5R7gNxjhN1auowdcLDzFB8kr7rafAj2rxmvfic/fbac5CzwQ==",
"dev": true,
"requires": {
- "postcss": "^5.0.4"
+ "@babel/code-frame": "7.0.0",
+ "address": "1.0.3",
+ "browserslist": "4.5.4",
+ "chalk": "2.4.2",
+ "cross-spawn": "6.0.5",
+ "detect-port-alt": "1.1.6",
+ "escape-string-regexp": "1.0.5",
+ "filesize": "3.6.1",
+ "find-up": "3.0.0",
+ "fork-ts-checker-webpack-plugin": "1.1.1",
+ "global-modules": "2.0.0",
+ "globby": "8.0.2",
+ "gzip-size": "5.0.0",
+ "immer": "1.10.0",
+ "inquirer": "6.2.2",
+ "is-root": "2.0.0",
+ "loader-utils": "1.2.3",
+ "opn": "5.4.0",
+ "pkg-up": "2.0.0",
+ "react-error-overlay": "^5.1.6",
+ "recursive-readdir": "2.2.2",
+ "shell-quote": "1.6.1",
+ "sockjs-client": "1.3.0",
+ "strip-ansi": "5.2.0",
+ "text-table": "0.2.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "ansi-escapes": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz",
+ "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==",
"dev": true
},
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
- }
+ "ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "dev": true
},
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "big.js": {
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
"dev": true
},
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "browserslist": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.4.tgz",
+ "integrity": "sha512-rAjx494LMjqKnMPhFkuLmLp8JWEX0o8ADTGeAbOqaF+XCvYLreZrG5uVjnPBlAQ8REZK4pzXGvp0bWgrFtKaag==",
"dev": true,
"requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
+ "caniuse-lite": "^1.0.30000955",
+ "electron-to-chromium": "^1.3.122",
+ "node-releases": "^1.1.13"
}
},
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "requires": {
- "has-flag": "^1.0.0"
- }
- }
- }
- },
- "postcss-reduce-transforms": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz",
- "integrity": "sha1-/3b02CEkN7McKYpC0uFEQCV3GuE=",
- "dev": true,
- "requires": {
- "has": "^1.0.1",
- "postcss": "^5.0.8",
- "postcss-value-parser": "^3.0.1"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "caniuse-lite": {
+ "version": "1.0.30000973",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000973.tgz",
+ "integrity": "sha512-/F3t/Yo8LEdRSEPCmI15fLu5vepVh9UCg/9inJXF5AAfW7xRRJkbaM2ut52iRMQMnGCLQouLbFdbOA+VEFOIsg==",
"dev": true
},
"chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
"dev": true,
"requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
}
},
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "chardet": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
+ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
"dev": true
},
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
"dev": true,
"requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
}
},
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "electron-to-chromium": {
+ "version": "1.3.148",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.148.tgz",
+ "integrity": "sha512-nuCOlXNlGMQmdzihIPGm2K3Yf3H1hke/1rK381i02pH8wNliJU9hVNnOi/xjmxt+mjABd/BzufP5nPHWKshLWA==",
+ "dev": true
+ },
+ "external-editor": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz",
+ "integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "chardet": "^0.7.0",
+ "iconv-lite": "^0.4.24",
+ "tmp": "^0.0.33"
}
- }
- }
- },
- "postcss-selector-parser": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz",
- "integrity": "sha1-+UN3iGBsPJrO4W/+jYsWKX8nu5A=",
- "dev": true,
- "requires": {
- "flatten": "^1.0.2",
- "indexes-of": "^1.0.1",
- "uniq": "^1.0.1"
- }
- },
- "postcss-svgo": {
- "version": "2.1.6",
- "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-2.1.6.tgz",
- "integrity": "sha1-tt8YqmE7Zm4TPwittSGcJoSsEI0=",
- "dev": true,
- "requires": {
- "is-svg": "^2.0.0",
- "postcss": "^5.0.14",
- "postcss-value-parser": "^3.2.3",
- "svgo": "^0.7.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
},
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
"dev": true,
"requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
+ "locate-path": "^3.0.0"
}
},
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
+ "global-modules": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz",
+ "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==",
+ "dev": true,
+ "requires": {
+ "global-prefix": "^3.0.0"
+ }
},
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "global-prefix": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz",
+ "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==",
"dev": true,
"requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
+ "ini": "^1.3.5",
+ "kind-of": "^6.0.2",
+ "which": "^1.3.1"
}
},
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "globby": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-8.0.2.tgz",
+ "integrity": "sha512-yTzMmKygLp8RUpG1Ymu2VXPSJQZjNAZPD4ywgYEaG7e4tBJeUQBO8OpXrf1RCNcEs5alsoJYPAMiIHP0cmeC7w==",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "array-union": "^1.0.1",
+ "dir-glob": "2.0.0",
+ "fast-glob": "^2.0.2",
+ "glob": "^7.1.2",
+ "ignore": "^3.3.5",
+ "pify": "^3.0.0",
+ "slash": "^1.0.0"
}
- }
- }
- },
- "postcss-unique-selectors": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz",
- "integrity": "sha1-mB1X0p3csz57Hf4f1DuGSfkzyh0=",
- "dev": true,
- "requires": {
- "alphanum-sort": "^1.0.1",
- "postcss": "^5.0.4",
- "uniqs": "^2.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
},
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "inquirer": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.2.2.tgz",
+ "integrity": "sha512-Z2rREiXA6cHRR9KBOarR3WuLlFzlIfAEIiB45ll5SSadMg7WqOh1MKEjjndfuH5ewXdixWCxqnVfGOQzPeiztA==",
"dev": true,
"requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
+ "ansi-escapes": "^3.2.0",
+ "chalk": "^2.4.2",
+ "cli-cursor": "^2.1.0",
+ "cli-width": "^2.0.0",
+ "external-editor": "^3.0.3",
+ "figures": "^2.0.0",
+ "lodash": "^4.17.11",
+ "mute-stream": "0.0.7",
+ "run-async": "^2.2.0",
+ "rxjs": "^6.4.0",
+ "string-width": "^2.1.0",
+ "strip-ansi": "^5.0.0",
+ "through": "^2.3.6"
}
},
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true
+ "json5": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
+ "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
+ "dev": true,
+ "requires": {
+ "minimist": "^1.2.0"
+ }
},
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "loader-utils": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz",
+ "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==",
"dev": true,
"requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
+ "big.js": "^5.2.2",
+ "emojis-list": "^2.0.0",
+ "json5": "^1.0.1"
}
},
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
}
- }
- }
- },
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- },
- "postcss-zindex": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/postcss-zindex/-/postcss-zindex-2.2.0.tgz",
- "integrity": "sha1-0hCd3AVbka9n/EyzsCWUZjnSryI=",
- "dev": true,
- "requires": {
- "has": "^1.0.1",
- "postcss": "^5.0.4",
- "uniqs": "^2.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
},
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "node-releases": {
+ "version": "1.1.23",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.23.tgz",
+ "integrity": "sha512-uq1iL79YjfYC0WXoHbC/z28q/9pOl8kSHaXdWmAAc8No+bDwqkZbzIJz55g/MUsPgSGm9LZ7QSUbzTcH5tz47w==",
"dev": true,
"requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
+ "semver": "^5.3.0"
}
},
- "has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "opn": {
+ "version": "5.4.0",
+ "resolved": "https://registry.npmjs.org/opn/-/opn-5.4.0.tgz",
+ "integrity": "sha512-YF9MNdVy/0qvJvDtunAOzFw9iasOQHpVthTCvGzxt61Il64AYSGdK+rYwld7NAfk9qJ7dt+hymBNSc9LNYS+Sw==",
+ "dev": true,
+ "requires": {
+ "is-wsl": "^1.1.0"
+ }
+ },
+ "p-limit": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
+ "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
+ "dev": true,
+ "requires": {
+ "p-try": "^2.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "dev": true,
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
"dev": true
},
- "postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "rxjs": {
+ "version": "6.5.2",
+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.2.tgz",
+ "integrity": "sha512-HUb7j3kvb7p7eCUHE3FqjoDsC1xfZQ4AHFWfTKSpZ+sAhhz5X1WX0ZuUqWbzB2QhSLp3DoLUG+hMdEDKqWo2Zg==",
"dev": true,
"requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
+ "tslib": "^1.9.0"
}
},
- "supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "slash": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
+ "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
+ "dev": true
+ },
+ "strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "ansi-regex": "^4.1.0"
}
}
}
},
- "prelude-ls": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
- "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
- "dev": true
+ "react-dom": {
+ "version": "16.6.3",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.6.3.tgz",
+ "integrity": "sha512-8ugJWRCWLGXy+7PmNh8WJz3g1TaTUt1XyoIcFN+x0Zbkoz+KKdUyx1AQLYJdbFXjuF41Nmjn5+j//rxvhFjgSQ==",
+ "requires": {
+ "loose-envify": "^1.1.0",
+ "object-assign": "^4.1.1",
+ "prop-types": "^15.6.2",
+ "scheduler": "^0.11.2"
+ }
},
- "prepend-http": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",
- "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=",
+ "react-error-overlay": {
+ "version": "5.1.6",
+ "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-5.1.6.tgz",
+ "integrity": "sha512-X1Y+0jR47ImDVr54Ab6V9eGk0Hnu7fVWGeHQSOXHf/C2pF9c6uy3gef8QUeuUiWlNb0i08InPSE5a/KJzNzw1Q==",
"dev": true
},
- "preserve": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz",
- "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=",
+ "react-input-autosize": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/react-input-autosize/-/react-input-autosize-2.2.1.tgz",
+ "integrity": "sha512-3+K4CD13iE4lQQ2WlF8PuV5htfmTRLH6MDnfndHM6LuBRszuXnuyIfE7nhSKt8AzRBZ50bu0sAhkNMeS5pxQQA==",
+ "dev": true,
+ "requires": {
+ "prop-types": "^15.5.8"
+ }
+ },
+ "react-is": {
+ "version": "16.6.3",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.6.3.tgz",
+ "integrity": "sha512-u7FDWtthB4rWibG/+mFbVd5FvdI20yde86qKGx4lVUTWmPlSWQ4QxbBIrrs+HnXGbxOUlUzTAP/VDmvCwaP2yA==",
"dev": true
},
- "prettier": {
- "version": "1.15.3",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.15.3.tgz",
- "integrity": "sha512-gAU9AGAPMaKb3NNSUUuhhFAS7SCO4ALTN4nRIn6PJ075Qd28Yn2Ig2ahEJWdJwJmlEBTUfC7mMUSFy8MwsOCfg==",
+ "react-lifecycles-compat": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
+ "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==",
"dev": true
},
- "prettier-check": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/prettier-check/-/prettier-check-2.0.0.tgz",
- "integrity": "sha512-HZG53XQTJ9Cyi5hi1VFVVFxdlhITJybpZAch3ib9KqI05VUxV+F5Hip0GhSWRItrlDzVyqjSoDQ9KqIn7AHYyw==",
+ "react-move": {
+ "version": "2.8.0",
+ "resolved": "https://registry.npmjs.org/react-move/-/react-move-2.8.0.tgz",
+ "integrity": "sha512-pqH9m6k0dOkEHRFQSJC7gK8sPABgY69h8BoriSxdv1SXYSWaOHWxUWgfeEaeQ76od32qKMFj+EztKGqtrcUGPg==",
"dev": true,
"requires": {
- "execa": "^0.6.0"
- },
- "dependencies": {
- "execa": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/execa/-/execa-0.6.3.tgz",
- "integrity": "sha1-V7aaWU8IF1nGnlNw8NF7nLEWWP4=",
- "dev": true,
- "requires": {
- "cross-spawn": "^5.0.1",
- "get-stream": "^3.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
- }
- }
+ "d3-interpolate": "^1.2.0",
+ "d3-timer": "^1.0.4"
}
},
- "pretty-format": {
- "version": "21.2.1",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-21.2.1.tgz",
- "integrity": "sha512-ZdWPGYAnYfcVP8yKA3zFjCn8s4/17TeYH28MXuC8vTp0o21eXjbFGcOAXZEaDaOFJjc3h2qa7HQNHNshhvoh2A==",
+ "react-onclickoutside": {
+ "version": "6.7.1",
+ "resolved": "https://registry.npmjs.org/react-onclickoutside/-/react-onclickoutside-6.7.1.tgz",
+ "integrity": "sha512-p84kBqGaMoa7VYT0vZ/aOYRfJB+gw34yjpda1Z5KeLflg70HipZOT+MXQenEhdkPAABuE2Astq4zEPdMqUQxcg==",
+ "dev": true
+ },
+ "react-overlays": {
+ "version": "0.7.4",
+ "resolved": "https://registry.npmjs.org/react-overlays/-/react-overlays-0.7.4.tgz",
+ "integrity": "sha512-7vsooMx3siLAuEfTs8FYeP/lAORWWFXTO8PON3KgX0Htq1Oa+po6ioSjGyO0/GO5CVSMNhpWt6V2opeexHgBuQ==",
"dev": true,
"requires": {
- "ansi-regex": "^3.0.0",
- "ansi-styles": "^3.2.0"
+ "classnames": "^2.2.5",
+ "dom-helpers": "^3.2.1",
+ "prop-types": "^15.5.10",
+ "prop-types-extra": "^1.0.1",
+ "warning": "^3.0.0"
+ }
+ },
+ "react-popper": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-1.3.3.tgz",
+ "integrity": "sha512-ynMZBPkXONPc5K4P5yFWgZx5JGAUIP3pGGLNs58cfAPgK67olx7fmLp+AdpZ0+GoQ+ieFDa/z4cdV6u7sioH6w==",
+ "requires": {
+ "@babel/runtime": "^7.1.2",
+ "create-react-context": "<=0.2.2",
+ "popper.js": "^1.14.4",
+ "prop-types": "^15.6.1",
+ "typed-styles": "^0.0.7",
+ "warning": "^4.0.2"
},
"dependencies": {
- "ansi-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
- "dev": true
+ "warning": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz",
+ "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==",
+ "requires": {
+ "loose-envify": "^1.0.0"
+ }
}
}
},
- "prismjs": {
- "version": "1.15.0",
- "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.15.0.tgz",
- "integrity": "sha512-Lf2JrFYx8FanHrjoV5oL8YHCclLQgbJcVZR+gikGGMqz6ub5QVWDTM6YIwm3BuPxM/LOV+rKns3LssXNLIf+DA==",
+ "react-redux": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-5.1.1.tgz",
+ "integrity": "sha512-LE7Ned+cv5qe7tMV5BPYkGQ5Lpg8gzgItK07c67yHvJ8t0iaD9kPFPAli/mYkiyJYrs2pJgExR2ZgsGqlrOApg==",
"dev": true,
"requires": {
- "clipboard": "^2.0.0"
+ "@babel/runtime": "^7.1.2",
+ "hoist-non-react-statics": "^3.1.0",
+ "invariant": "^2.2.4",
+ "loose-envify": "^1.1.0",
+ "prop-types": "^15.6.1",
+ "react-is": "^16.6.0",
+ "react-lifecycles-compat": "^3.0.0"
+ },
+ "dependencies": {
+ "hoist-non-react-statics": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.2.1.tgz",
+ "integrity": "sha512-TFsu3TV3YLY+zFTZDrN8L2DTFanObwmBLpWvJs1qfUuEQ5bTAdFcwfx2T/bsCXfM9QHSLvjfP+nihEl0yvozxw==",
+ "dev": true,
+ "requires": {
+ "react-is": "^16.3.2"
+ }
+ }
}
},
- "private": {
- "version": "0.1.8",
- "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz",
- "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==",
- "dev": true
- },
- "process": {
- "version": "0.11.10",
- "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
- "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",
- "dev": true
- },
- "process-nextick-args": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
- "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==",
- "dev": true
- },
- "progress": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
- "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
- "dev": true
- },
- "promise": {
- "version": "7.3.1",
- "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
- "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
+ "react-select": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/react-select/-/react-select-1.3.0.tgz",
+ "integrity": "sha512-g/QAU1HZrzSfxkwMAo/wzi6/ezdWye302RGZevsATec07hI/iSxcpB1hejFIp7V63DJ8mwuign6KmB3VjdlinQ==",
+ "dev": true,
"requires": {
- "asap": "~2.0.3"
+ "classnames": "^2.2.4",
+ "prop-types": "^15.5.8",
+ "react-input-autosize": "^2.1.2"
}
},
- "prop-types": {
- "version": "15.6.2",
- "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz",
- "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==",
+ "react-syntax-highlighter": {
+ "version": "7.0.4",
+ "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-7.0.4.tgz",
+ "integrity": "sha512-WtaHAlI5++csZ5uTnJc5+ozqqIzUkO/rnkv1GJ3CeRtjhTzbo12r9F0BICzhibr7gBWECd1Xgj1FKJEWZxcP4w==",
+ "dev": true,
"requires": {
- "loose-envify": "^1.3.1",
- "object-assign": "^4.1.1"
+ "babel-runtime": "^6.18.0",
+ "highlight.js": "~9.12.0",
+ "lowlight": "~1.9.1",
+ "prismjs": "^1.8.4",
+ "refractor": "^2.4.1"
}
},
- "prop-types-extra": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/prop-types-extra/-/prop-types-extra-1.1.0.tgz",
- "integrity": "sha512-QFyuDxvMipmIVKD2TwxLVPzMnO4e5oOf1vr3tJIomL8E7d0lr6phTHd5nkPhFIzTD1idBLLEPeylL9g+rrTzRg==",
+ "react-test-renderer": {
+ "version": "16.6.3",
+ "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-16.6.3.tgz",
+ "integrity": "sha512-B5bCer+qymrQz/wN03lT0LppbZUDRq6AMfzMKrovzkGzfO81a9T+PWQW6MzkWknbwODQH/qpJno/yFQLX5IWrQ==",
"dev": true,
"requires": {
- "react-is": "^16.3.2",
- "warning": "^3.0.0"
+ "object-assign": "^4.1.1",
+ "prop-types": "^15.6.2",
+ "react-is": "^16.6.3",
+ "scheduler": "^0.11.2"
}
},
- "property-information": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.0.1.tgz",
- "integrity": "sha512-nAtBDVeSwFM3Ot/YxT7s4NqZmqXI7lLzf46BThvotEtYf2uk2yH0ACYuWQkJ7gxKs49PPtKVY0UlDGkyN9aJlw==",
+ "read-pkg": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz",
+ "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=",
"dev": true,
"requires": {
- "xtend": "^4.0.1"
+ "load-json-file": "^4.0.0",
+ "normalize-package-data": "^2.3.2",
+ "path-type": "^3.0.0"
}
},
- "proxy-addr": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz",
- "integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==",
+ "read-pkg-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz",
+ "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=",
"dev": true,
"requires": {
- "forwarded": "~0.1.2",
- "ipaddr.js": "1.8.0"
+ "find-up": "^2.0.0",
+ "read-pkg": "^3.0.0"
}
},
- "proxy-from-env": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.0.0.tgz",
- "integrity": "sha1-M8UDmPcOp+uW0h97gXYwpVeRx+4=",
- "dev": true
- },
- "prr": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
- "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=",
- "dev": true
- },
- "pseudomap": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
- "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=",
- "dev": true
- },
- "psl": {
- "version": "1.1.31",
- "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz",
- "integrity": "sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==",
- "dev": true
- },
- "public-encrypt": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",
- "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==",
+ "readable-stream": {
+ "version": "2.3.6",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"dev": true,
"requires": {
- "bn.js": "^4.1.0",
- "browserify-rsa": "^4.0.0",
- "create-hash": "^1.1.0",
- "parse-asn1": "^5.0.0",
- "randombytes": "^2.0.1",
- "safe-buffer": "^5.1.2"
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
}
},
- "pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
+ "readdirp": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",
+ "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",
"dev": true,
"requires": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
+ "graceful-fs": "^4.1.11",
+ "micromatch": "^3.1.10",
+ "readable-stream": "^2.0.2"
}
},
- "punycode": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
- "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
- "dev": true
- },
- "puppeteer": {
- "version": "1.11.0",
- "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-1.11.0.tgz",
- "integrity": "sha512-iG4iMOHixc2EpzqRV+pv7o3GgmU2dNYEMkvKwSaQO/vMZURakwSOn/EYJ6OIRFYOque1qorzIBvrytPIQB3YzQ==",
+ "readline2": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz",
+ "integrity": "sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU=",
"dev": true,
"requires": {
- "debug": "^4.1.0",
- "extract-zip": "^1.6.6",
- "https-proxy-agent": "^2.2.1",
- "mime": "^2.0.3",
- "progress": "^2.0.1",
- "proxy-from-env": "^1.0.0",
- "rimraf": "^2.6.1",
- "ws": "^6.1.0"
+ "code-point-at": "^1.0.0",
+ "is-fullwidth-code-point": "^1.0.0",
+ "mute-stream": "0.0.5"
},
"dependencies": {
- "debug": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.0.tgz",
- "integrity": "sha512-heNPJUJIqC+xB6ayLAMHaIrmN9HKa7aQO8MGqKpvCA+uJYVcvR6l5kgdrhRuwPFHU7P5/A1w0BjByPHwpfTDKg==",
+ "is-fullwidth-code-point": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
"dev": true,
"requires": {
- "ms": "^2.1.1"
+ "number-is-nan": "^1.0.0"
}
},
- "mime": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.0.tgz",
- "integrity": "sha512-ikBcWwyqXQSHKtciCcctu9YfPbFYZ4+gbHEmE0Q8jzcTYQg5dHCr3g2wwAZjPoJfQVXZq6KXAjpXOTf5/cjT7w==",
- "dev": true
- },
- "ms": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
- "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
+ "mute-stream": {
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz",
+ "integrity": "sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA=",
"dev": true
- },
- "ws": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/ws/-/ws-6.1.2.tgz",
- "integrity": "sha512-rfUqzvz0WxmSXtJpPMX2EeASXabOrSMk1ruMOV3JBTBjo4ac2lDjGGsbQSyxj8Odhw5fBib8ZKEjDNvgouNKYw==",
- "dev": true,
- "requires": {
- "async-limiter": "~1.0.0"
- }
}
}
},
- "q": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",
- "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=",
- "dev": true
- },
- "qjobs": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz",
- "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==",
- "dev": true
- },
- "qs": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/qs/-/qs-1.2.2.tgz",
- "integrity": "sha1-GbV/8k3CqZzh+L32r82ln472H4g=",
- "dev": true
- },
- "query-string": {
- "version": "4.3.4",
- "resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz",
- "integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=",
- "dev": true,
- "requires": {
- "object-assign": "^4.1.0",
- "strict-uri-encode": "^1.0.0"
- }
- },
- "querystring": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
- "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=",
- "dev": true
- },
- "querystring-es3": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz",
- "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=",
- "dev": true
- },
- "querystringify": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.1.0.tgz",
- "integrity": "sha512-sluvZZ1YiTLD5jsqZcDmFyV2EwToyXZBfpoVOmktMmW+VEnhgakFHnasVph65fOjGPTWN0Nw3+XQaSeMayr0kg==",
- "dev": true
- },
- "quick-lru": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz",
- "integrity": "sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=",
- "dev": true
- },
- "raf": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
- "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
+ "recursive-readdir": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/recursive-readdir/-/recursive-readdir-2.2.2.tgz",
+ "integrity": "sha512-nRCcW9Sj7NuZwa2XvH9co8NPeXUBhZP7CRKJtU+cS6PW9FpCIFoI5ib0NT1ZrbNuPoRy0ylyCaUL8Gih4LSyFg==",
"dev": true,
"requires": {
- "performance-now": "^2.1.0"
+ "minimatch": "3.0.4"
}
},
- "railroad-diagrams": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz",
- "integrity": "sha1-635iZ1SN3t+4mcG5Dlc3RVnN234=",
- "dev": true
- },
- "randexp": {
- "version": "0.4.6",
- "resolved": "https://registry.npmjs.org/randexp/-/randexp-0.4.6.tgz",
- "integrity": "sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ==",
+ "redent": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz",
+ "integrity": "sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=",
"dev": true,
"requires": {
- "discontinuous-range": "1.0.0",
- "ret": "~0.1.10"
+ "indent-string": "^3.0.0",
+ "strip-indent": "^2.0.0"
}
},
- "randomatic": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz",
- "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==",
+ "redux": {
+ "version": "3.7.2",
+ "resolved": "https://registry.npmjs.org/redux/-/redux-3.7.2.tgz",
+ "integrity": "sha512-pNqnf9q1hI5HHZRBkj3bAngGZW/JMCmexDlOxw4XagXY2o1327nHH54LoTjiPJ0gizoqPDRqWyX/00g0hD6w+A==",
"dev": true,
"requires": {
- "is-number": "^4.0.0",
- "kind-of": "^6.0.0",
- "math-random": "^1.0.1"
+ "lodash": "^4.2.1",
+ "lodash-es": "^4.2.1",
+ "loose-envify": "^1.1.0",
+ "symbol-observable": "^1.0.3"
},
"dependencies": {
- "is-number": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz",
- "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==",
+ "symbol-observable": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
+ "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==",
"dev": true
}
}
},
- "randombytes": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz",
- "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==",
+ "refractor": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/refractor/-/refractor-2.6.2.tgz",
+ "integrity": "sha512-AMNEGkhaXfhoa0/0mW0bHdfizDJnuHDK29/D5oQaKICf6DALQ+kDEHW/36oDHCdfva4XrZ+cdMhRvPsTI4OIjA==",
"dev": true,
"requires": {
- "safe-buffer": "^5.1.0"
+ "hastscript": "^5.0.0",
+ "parse-entities": "^1.1.2",
+ "prismjs": "~1.15.0"
}
},
- "randomfill": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",
- "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==",
+ "regenerate": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",
+ "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==",
+ "dev": true
+ },
+ "regenerate-unicode-properties": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz",
+ "integrity": "sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA==",
"dev": true,
"requires": {
- "randombytes": "^2.0.5",
- "safe-buffer": "^5.1.0"
+ "regenerate": "^1.4.0"
}
},
- "range-parser": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",
- "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=",
- "dev": true
+ "regenerator-runtime": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
+ "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
},
- "raw-body": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz",
- "integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==",
+ "regenerator-transform": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.0.tgz",
+ "integrity": "sha512-rtOelq4Cawlbmq9xuMR5gdFmv7ku/sFoB7sRiywx7aq53bc52b4j6zvH7Te1Vt/X2YveDKnCGUbioieU7FEL3w==",
"dev": true,
"requires": {
- "bytes": "3.0.0",
- "http-errors": "1.6.3",
- "iconv-lite": "0.4.23",
- "unpipe": "1.0.0"
- },
- "dependencies": {
- "iconv-lite": {
- "version": "0.4.23",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz",
- "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==",
- "dev": true,
- "requires": {
- "safer-buffer": ">= 2.1.2 < 3"
- }
- }
+ "private": "^0.1.6"
}
},
- "react": {
- "version": "16.6.3",
- "resolved": "https://registry.npmjs.org/react/-/react-16.6.3.tgz",
- "integrity": "sha512-zCvmH2vbEolgKxtqXL2wmGCUxUyNheYn/C+PD1YAjfxHC54+MhdruyhO7QieQrYsYeTxrn93PM2y0jRH1zEExw==",
+ "regex-not": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
+ "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
+ "dev": true,
"requires": {
- "loose-envify": "^1.1.0",
- "object-assign": "^4.1.1",
- "prop-types": "^15.6.2",
- "scheduler": "^0.11.2"
+ "extend-shallow": "^3.0.2",
+ "safe-regex": "^1.1.0"
}
},
- "react-bootstrap": {
- "version": "0.31.5",
- "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-0.31.5.tgz",
- "integrity": "sha512-xgDihgX4QvYHmHzL87faDBMDnGfYyqcrqV0TEbWY+JizePOG1vfb8M3xJN+6MJ3kUYqDtQSZ7v/Q6Y5YDrkMdA==",
+ "regexp-tree": {
+ "version": "0.1.10",
+ "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.10.tgz",
+ "integrity": "sha512-K1qVSbcedffwuIslMwpe6vGlj+ZXRnGkvjAtFHfDZZZuEdA/h0dxljAPu9vhUo6Rrx2U2AwJ+nSQ6hK+lrP5MQ==",
+ "dev": true
+ },
+ "regexpp": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-1.1.0.tgz",
+ "integrity": "sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw==",
+ "dev": true
+ },
+ "regexpu-core": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.5.4.tgz",
+ "integrity": "sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ==",
"dev": true,
"requires": {
- "babel-runtime": "^6.11.6",
- "classnames": "^2.2.5",
- "dom-helpers": "^3.2.0",
- "invariant": "^2.2.1",
- "keycode": "^2.1.2",
- "prop-types": "^15.5.10",
- "prop-types-extra": "^1.0.1",
- "react-overlays": "^0.7.4",
- "uncontrollable": "^4.1.0",
- "warning": "^3.0.0"
+ "regenerate": "^1.4.0",
+ "regenerate-unicode-properties": "^8.0.2",
+ "regjsgen": "^0.5.0",
+ "regjsparser": "^0.6.0",
+ "unicode-match-property-ecmascript": "^1.0.4",
+ "unicode-match-property-value-ecmascript": "^1.1.0"
}
},
- "react-datepicker": {
- "version": "github:Adslot/react-datepicker#2a1ebb8618e1996c321331ef01d290424272d126",
- "from": "react-datepicker@github:Adslot/react-datepicker#2a1ebb8618e1996c321331ef01d290424272d126",
+ "regjsgen": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.0.tgz",
+ "integrity": "sha512-RnIrLhrXCX5ow/E5/Mh2O4e/oa1/jW0eaBKTSy3LaCj+M3Bqvm97GWDp2yUtzIs4LEn65zR2yiYGFqb2ApnzDA==",
+ "dev": true
+ },
+ "regjsparser": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.0.tgz",
+ "integrity": "sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==",
"dev": true,
"requires": {
- "classnames": "^2.2.5",
- "prop-types": "^15.6.0",
- "react-onclickoutside": "^6.7.1",
- "react-popper": "^0.9.1"
+ "jsesc": "~0.5.0"
},
"dependencies": {
- "react-popper": {
- "version": "0.9.5",
- "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-0.9.5.tgz",
- "integrity": "sha1-AqJO8+7DOvnlToNYq3DrDjMe3QU=",
- "dev": true,
- "requires": {
- "popper.js": "^1.14.1",
- "prop-types": "^15.6.1"
- }
+ "jsesc": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
+ "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
+ "dev": true
}
}
},
- "react-dom": {
- "version": "16.6.3",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.6.3.tgz",
- "integrity": "sha512-8ugJWRCWLGXy+7PmNh8WJz3g1TaTUt1XyoIcFN+x0Zbkoz+KKdUyx1AQLYJdbFXjuF41Nmjn5+j//rxvhFjgSQ==",
- "requires": {
- "loose-envify": "^1.1.0",
- "object-assign": "^4.1.1",
- "prop-types": "^15.6.2",
- "scheduler": "^0.11.2"
- }
+ "relateurl": {
+ "version": "0.2.7",
+ "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz",
+ "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=",
+ "dev": true
},
- "react-input-autosize": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/react-input-autosize/-/react-input-autosize-2.2.1.tgz",
- "integrity": "sha512-3+K4CD13iE4lQQ2WlF8PuV5htfmTRLH6MDnfndHM6LuBRszuXnuyIfE7nhSKt8AzRBZ50bu0sAhkNMeS5pxQQA==",
+ "remove-trailing-separator": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
+ "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",
+ "dev": true
+ },
+ "renderkid": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.3.tgz",
+ "integrity": "sha512-z8CLQp7EZBPCwCnncgf9C4XAi3WR0dv+uWu/PjIyhhAb5d6IJ/QZqlHFprHeKT+59//V6BNUsLbvN8+2LarxGA==",
"dev": true,
"requires": {
- "prop-types": "^15.5.8"
+ "css-select": "^1.1.0",
+ "dom-converter": "^0.2",
+ "htmlparser2": "^3.3.0",
+ "strip-ansi": "^3.0.0",
+ "utila": "^0.4.0"
}
},
- "react-is": {
- "version": "16.6.3",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.6.3.tgz",
- "integrity": "sha512-u7FDWtthB4rWibG/+mFbVd5FvdI20yde86qKGx4lVUTWmPlSWQ4QxbBIrrs+HnXGbxOUlUzTAP/VDmvCwaP2yA==",
+ "repeat-element": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",
+ "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==",
"dev": true
},
- "react-lifecycles-compat": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
- "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==",
+ "repeat-string": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
+ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=",
"dev": true
},
- "react-move": {
- "version": "2.8.0",
- "resolved": "https://registry.npmjs.org/react-move/-/react-move-2.8.0.tgz",
- "integrity": "sha512-pqH9m6k0dOkEHRFQSJC7gK8sPABgY69h8BoriSxdv1SXYSWaOHWxUWgfeEaeQ76od32qKMFj+EztKGqtrcUGPg==",
+ "repeating": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
+ "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
"dev": true,
"requires": {
- "d3-interpolate": "^1.2.0",
- "d3-timer": "^1.0.4"
+ "is-finite": "^1.0.0"
}
},
- "react-onclickoutside": {
- "version": "6.7.1",
- "resolved": "https://registry.npmjs.org/react-onclickoutside/-/react-onclickoutside-6.7.1.tgz",
- "integrity": "sha512-p84kBqGaMoa7VYT0vZ/aOYRfJB+gw34yjpda1Z5KeLflg70HipZOT+MXQenEhdkPAABuE2Astq4zEPdMqUQxcg==",
- "dev": true
- },
- "react-overlays": {
- "version": "0.7.4",
- "resolved": "https://registry.npmjs.org/react-overlays/-/react-overlays-0.7.4.tgz",
- "integrity": "sha512-7vsooMx3siLAuEfTs8FYeP/lAORWWFXTO8PON3KgX0Htq1Oa+po6ioSjGyO0/GO5CVSMNhpWt6V2opeexHgBuQ==",
+ "request": {
+ "version": "2.42.0",
+ "resolved": "https://registry.npmjs.org/request/-/request-2.42.0.tgz",
+ "integrity": "sha1-VyvQFIk4VkBArHqxSLlkI6BjMEo=",
"dev": true,
"requires": {
- "classnames": "^2.2.5",
- "dom-helpers": "^3.2.1",
- "prop-types": "^15.5.10",
- "prop-types-extra": "^1.0.1",
- "warning": "^3.0.0"
+ "aws-sign2": "~0.5.0",
+ "bl": "~0.9.0",
+ "caseless": "~0.6.0",
+ "forever-agent": "~0.5.0",
+ "form-data": "~0.1.0",
+ "hawk": "1.1.1",
+ "http-signature": "~0.10.0",
+ "json-stringify-safe": "~5.0.0",
+ "mime-types": "~1.0.1",
+ "node-uuid": "~1.4.0",
+ "oauth-sign": "~0.4.0",
+ "qs": "~1.2.0",
+ "stringstream": "~0.0.4",
+ "tough-cookie": ">=0.12.0",
+ "tunnel-agent": "~0.4.0"
}
},
- "react-popper": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-1.3.3.tgz",
- "integrity": "sha512-ynMZBPkXONPc5K4P5yFWgZx5JGAUIP3pGGLNs58cfAPgK67olx7fmLp+AdpZ0+GoQ+ieFDa/z4cdV6u7sioH6w==",
- "requires": {
- "@babel/runtime": "^7.1.2",
- "create-react-context": "<=0.2.2",
- "popper.js": "^1.14.4",
- "prop-types": "^15.6.1",
- "typed-styles": "^0.0.7",
- "warning": "^4.0.2"
- },
- "dependencies": {
- "warning": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz",
- "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==",
- "requires": {
- "loose-envify": "^1.0.0"
- }
- }
- }
+ "require-directory": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
+ "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
+ "dev": true
},
- "react-redux": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-5.1.1.tgz",
- "integrity": "sha512-LE7Ned+cv5qe7tMV5BPYkGQ5Lpg8gzgItK07c67yHvJ8t0iaD9kPFPAli/mYkiyJYrs2pJgExR2ZgsGqlrOApg==",
+ "require-from-string": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
+ "dev": true
+ },
+ "require-main-filename": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
+ "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=",
+ "dev": true
+ },
+ "require-uncached": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz",
+ "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=",
"dev": true,
"requires": {
- "@babel/runtime": "^7.1.2",
- "hoist-non-react-statics": "^3.1.0",
- "invariant": "^2.2.4",
- "loose-envify": "^1.1.0",
- "prop-types": "^15.6.1",
- "react-is": "^16.6.0",
- "react-lifecycles-compat": "^3.0.0"
+ "caller-path": "^0.1.0",
+ "resolve-from": "^1.0.0"
},
"dependencies": {
- "hoist-non-react-statics": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.2.1.tgz",
- "integrity": "sha512-TFsu3TV3YLY+zFTZDrN8L2DTFanObwmBLpWvJs1qfUuEQ5bTAdFcwfx2T/bsCXfM9QHSLvjfP+nihEl0yvozxw==",
- "dev": true,
- "requires": {
- "react-is": "^16.3.2"
- }
+ "resolve-from": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz",
+ "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=",
+ "dev": true
}
}
},
- "react-select": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/react-select/-/react-select-1.3.0.tgz",
- "integrity": "sha512-g/QAU1HZrzSfxkwMAo/wzi6/ezdWye302RGZevsATec07hI/iSxcpB1hejFIp7V63DJ8mwuign6KmB3VjdlinQ==",
+ "requires-port": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
+ "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=",
+ "dev": true
+ },
+ "resolve": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.9.0.tgz",
+ "integrity": "sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ==",
"dev": true,
"requires": {
- "classnames": "^2.2.4",
- "prop-types": "^15.5.8",
- "react-input-autosize": "^2.1.2"
+ "path-parse": "^1.0.6"
}
},
- "react-syntax-highlighter": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-7.0.4.tgz",
- "integrity": "sha512-WtaHAlI5++csZ5uTnJc5+ozqqIzUkO/rnkv1GJ3CeRtjhTzbo12r9F0BICzhibr7gBWECd1Xgj1FKJEWZxcP4w==",
+ "resolve-cwd": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz",
+ "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=",
"dev": true,
"requires": {
- "babel-runtime": "^6.18.0",
- "highlight.js": "~9.12.0",
- "lowlight": "~1.9.1",
- "prismjs": "^1.8.4",
- "refractor": "^2.4.1"
+ "resolve-from": "^3.0.0"
+ },
+ "dependencies": {
+ "resolve-from": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz",
+ "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=",
+ "dev": true
+ }
}
},
- "react-test-renderer": {
- "version": "16.6.3",
- "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-16.6.3.tgz",
- "integrity": "sha512-B5bCer+qymrQz/wN03lT0LppbZUDRq6AMfzMKrovzkGzfO81a9T+PWQW6MzkWknbwODQH/qpJno/yFQLX5IWrQ==",
+ "resolve-dir": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz",
+ "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=",
"dev": true,
"requires": {
- "object-assign": "^4.1.1",
- "prop-types": "^15.6.2",
- "react-is": "^16.6.3",
- "scheduler": "^0.11.2"
+ "expand-tilde": "^2.0.0",
+ "global-modules": "^1.0.0"
}
},
- "read-pkg": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz",
- "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=",
+ "resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true
+ },
+ "resolve-global": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/resolve-global/-/resolve-global-0.1.0.tgz",
+ "integrity": "sha1-j7As/Vt9sgEY6IYxHxWvlb0V+9k=",
"dev": true,
"requires": {
- "load-json-file": "^4.0.0",
- "normalize-package-data": "^2.3.2",
- "path-type": "^3.0.0"
+ "global-dirs": "^0.1.0"
}
},
- "read-pkg-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz",
- "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=",
+ "resolve-url": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
+ "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=",
+ "dev": true
+ },
+ "restore-cursor": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
+ "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
"dev": true,
"requires": {
- "find-up": "^2.0.0",
- "read-pkg": "^3.0.0"
+ "onetime": "^2.0.0",
+ "signal-exit": "^3.0.2"
}
},
- "readable-stream": {
- "version": "2.3.6",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
- "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
+ "resumer": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz",
+ "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=",
"dev": true,
"requires": {
- "core-util-is": "~1.0.0",
- "inherits": "~2.0.3",
- "isarray": "~1.0.0",
- "process-nextick-args": "~2.0.0",
- "safe-buffer": "~5.1.1",
- "string_decoder": "~1.1.1",
- "util-deprecate": "~1.0.1"
+ "through": "~2.3.4"
}
},
- "readdirp": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",
- "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",
- "dev": true,
- "requires": {
- "graceful-fs": "^4.1.11",
- "micromatch": "^3.1.10",
- "readable-stream": "^2.0.2"
- }
+ "ret": {
+ "version": "0.1.15",
+ "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
+ "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",
+ "dev": true
},
- "readline2": {
+ "rfdc": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.1.2.tgz",
+ "integrity": "sha512-92ktAgvZhBzYTIK0Mja9uen5q5J3NRVMoDkJL2VMwq6SXjVCgqvQeVP2XAaUY6HT+XpQYeLSjb3UoitBryKmdA==",
+ "dev": true
+ },
+ "rgb-regex": {
"version": "1.0.1",
- "resolved": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz",
- "integrity": "sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU=",
- "dev": true,
- "requires": {
- "code-point-at": "^1.0.0",
- "is-fullwidth-code-point": "^1.0.0",
- "mute-stream": "0.0.5"
- },
- "dependencies": {
- "is-fullwidth-code-point": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
- "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
- "dev": true,
- "requires": {
- "number-is-nan": "^1.0.0"
- }
- },
- "mute-stream": {
- "version": "0.0.5",
- "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz",
- "integrity": "sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA=",
- "dev": true
- }
- }
+ "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz",
+ "integrity": "sha1-wODWiC3w4jviVKR16O3UGRX+rrE=",
+ "dev": true
},
- "redent": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz",
- "integrity": "sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=",
- "dev": true,
- "requires": {
- "indent-string": "^3.0.0",
- "strip-indent": "^2.0.0"
- }
+ "rgba-regex": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz",
+ "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=",
+ "dev": true
},
- "reduce-css-calc": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz",
- "integrity": "sha1-dHyRTgSWFKTJz7umKYca0dKSdxY=",
+ "rimraf": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",
+ "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==",
"dev": true,
"requires": {
- "balanced-match": "^0.4.2",
- "math-expression-evaluator": "^1.2.14",
- "reduce-function-call": "^1.0.1"
- },
- "dependencies": {
- "balanced-match": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz",
- "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=",
- "dev": true
- }
+ "glob": "^7.0.5"
}
},
- "reduce-function-call": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/reduce-function-call/-/reduce-function-call-1.0.2.tgz",
- "integrity": "sha1-WiAL+S4ON3UXUv5FsKszD9S2vpk=",
+ "ripemd160": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz",
+ "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==",
"dev": true,
"requires": {
- "balanced-match": "^0.4.2"
- },
- "dependencies": {
- "balanced-match": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz",
- "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=",
- "dev": true
- }
+ "hash-base": "^3.0.0",
+ "inherits": "^2.0.1"
}
},
- "redux": {
- "version": "3.7.2",
- "resolved": "https://registry.npmjs.org/redux/-/redux-3.7.2.tgz",
- "integrity": "sha512-pNqnf9q1hI5HHZRBkj3bAngGZW/JMCmexDlOxw4XagXY2o1327nHH54LoTjiPJ0gizoqPDRqWyX/00g0hD6w+A==",
+ "rst-selector-parser": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz",
+ "integrity": "sha1-gbIw6i/MYGbInjRy3nlChdmwPZE=",
"dev": true,
"requires": {
- "lodash": "^4.2.1",
- "lodash-es": "^4.2.1",
- "loose-envify": "^1.1.0",
- "symbol-observable": "^1.0.3"
- },
- "dependencies": {
- "symbol-observable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
- "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==",
- "dev": true
- }
+ "lodash.flattendeep": "^4.4.0",
+ "nearley": "^2.7.10"
}
},
- "refractor": {
- "version": "2.6.2",
- "resolved": "https://registry.npmjs.org/refractor/-/refractor-2.6.2.tgz",
- "integrity": "sha512-AMNEGkhaXfhoa0/0mW0bHdfizDJnuHDK29/D5oQaKICf6DALQ+kDEHW/36oDHCdfva4XrZ+cdMhRvPsTI4OIjA==",
+ "run-async": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",
+ "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=",
"dev": true,
"requires": {
- "hastscript": "^5.0.0",
- "parse-entities": "^1.1.2",
- "prismjs": "~1.15.0"
+ "is-promise": "^2.1.0"
}
},
- "regenerate": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",
- "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==",
+ "run-node": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/run-node/-/run-node-1.0.0.tgz",
+ "integrity": "sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A==",
"dev": true
},
- "regenerate-unicode-properties": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-7.0.0.tgz",
- "integrity": "sha512-s5NGghCE4itSlUS+0WUj88G6cfMVMmH8boTPNvABf8od+2dhT9WDlWu8n01raQAJZMOK8Ch6jSexaRO7swd6aw==",
- "dev": true,
- "requires": {
- "regenerate": "^1.4.0"
- }
- },
- "regenerator-runtime": {
- "version": "0.11.1",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
- "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
- },
- "regenerator-transform": {
- "version": "0.13.3",
- "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.13.3.tgz",
- "integrity": "sha512-5ipTrZFSq5vU2YoGoww4uaRVAK4wyYC4TSICibbfEPOruUu8FFP7ErV0BjmbIOEpn3O/k9na9UEdYR/3m7N6uA==",
- "dev": true,
- "requires": {
- "private": "^0.1.6"
- }
- },
- "regex-cache": {
- "version": "0.4.4",
- "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz",
- "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==",
- "dev": true,
- "requires": {
- "is-equal-shallow": "^0.1.3"
- }
- },
- "regex-not": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
- "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
+ "run-queue": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz",
+ "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=",
"dev": true,
"requires": {
- "extend-shallow": "^3.0.2",
- "safe-regex": "^1.1.0"
+ "aproba": "^1.1.1"
}
},
- "regexpp": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-1.1.0.tgz",
- "integrity": "sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw==",
+ "rx-lite": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz",
+ "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=",
"dev": true
},
- "regexpu-core": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.4.0.tgz",
- "integrity": "sha512-eDDWElbwwI3K0Lo6CqbQbA6FwgtCz4kYTarrri1okfkRLZAqstU+B3voZBCjg8Fl6iq0gXrJG6MvRgLthfvgOA==",
+ "rx-lite-aggregates": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz",
+ "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=",
"dev": true,
"requires": {
- "regenerate": "^1.4.0",
- "regenerate-unicode-properties": "^7.0.0",
- "regjsgen": "^0.5.0",
- "regjsparser": "^0.6.0",
- "unicode-match-property-ecmascript": "^1.0.4",
- "unicode-match-property-value-ecmascript": "^1.0.2"
+ "rx-lite": "*"
}
},
- "regjsgen": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.0.tgz",
- "integrity": "sha512-RnIrLhrXCX5ow/E5/Mh2O4e/oa1/jW0eaBKTSy3LaCj+M3Bqvm97GWDp2yUtzIs4LEn65zR2yiYGFqb2ApnzDA==",
- "dev": true
- },
- "regjsparser": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.0.tgz",
- "integrity": "sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==",
+ "rxjs": {
+ "version": "5.5.12",
+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.12.tgz",
+ "integrity": "sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==",
"dev": true,
"requires": {
- "jsesc": "~0.5.0"
+ "symbol-observable": "1.0.1"
},
"dependencies": {
- "jsesc": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
- "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
+ "symbol-observable": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz",
+ "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=",
"dev": true
}
}
},
- "remove-trailing-separator": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
- "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",
+ "safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
"dev": true
},
- "repeat-element": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",
- "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==",
- "dev": true
+ "safe-regex": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
+ "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=",
+ "dev": true,
+ "requires": {
+ "ret": "~0.1.10"
+ }
},
- "repeat-string": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
- "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=",
+ "safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
+ },
+ "samsam": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/samsam/-/samsam-1.3.0.tgz",
+ "integrity": "sha512-1HwIYD/8UlOtFS3QO3w7ey+SdSDFE4HRNLZoZRYVQefrOY3l17epswImeB1ijgJFQJodIaHcwkp3r/myBjFVbg==",
"dev": true
},
- "repeating": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
- "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
+ "sass-graph": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz",
+ "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=",
"dev": true,
"requires": {
- "is-finite": "^1.0.0"
+ "glob": "^7.0.0",
+ "lodash": "^4.0.0",
+ "scss-tokenizer": "^0.2.3",
+ "yargs": "^7.0.0"
}
},
- "request": {
- "version": "2.42.0",
- "resolved": "https://registry.npmjs.org/request/-/request-2.42.0.tgz",
- "integrity": "sha1-VyvQFIk4VkBArHqxSLlkI6BjMEo=",
- "dev": true,
- "requires": {
- "aws-sign2": "~0.5.0",
- "bl": "~0.9.0",
- "caseless": "~0.6.0",
- "forever-agent": "~0.5.0",
- "form-data": "~0.1.0",
- "hawk": "1.1.1",
- "http-signature": "~0.10.0",
- "json-stringify-safe": "~5.0.0",
- "mime-types": "~1.0.1",
- "node-uuid": "~1.4.0",
- "oauth-sign": "~0.4.0",
- "qs": "~1.2.0",
- "stringstream": "~0.0.4",
- "tough-cookie": ">=0.12.0",
- "tunnel-agent": "~0.4.0"
- }
- },
- "require-directory": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
- "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
- "dev": true
- },
- "require-from-string": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
- "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
- "dev": true
- },
- "require-main-filename": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
- "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=",
- "dev": true
- },
- "require-uncached": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz",
- "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=",
- "dev": true,
- "requires": {
- "caller-path": "^0.1.0",
- "resolve-from": "^1.0.0"
- },
- "dependencies": {
- "resolve-from": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz",
- "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=",
- "dev": true
- }
- }
- },
- "requires-port": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
- "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=",
- "dev": true
- },
- "resolve": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.9.0.tgz",
- "integrity": "sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ==",
- "dev": true,
- "requires": {
- "path-parse": "^1.0.6"
- }
- },
- "resolve-cwd": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz",
- "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=",
- "dev": true,
- "requires": {
- "resolve-from": "^3.0.0"
- },
- "dependencies": {
- "resolve-from": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz",
- "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=",
- "dev": true
- }
- }
- },
- "resolve-from": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true
- },
- "resolve-global": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/resolve-global/-/resolve-global-0.1.0.tgz",
- "integrity": "sha1-j7As/Vt9sgEY6IYxHxWvlb0V+9k=",
- "dev": true,
- "requires": {
- "global-dirs": "^0.1.0"
- }
- },
- "resolve-url": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
- "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=",
- "dev": true
- },
- "restore-cursor": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
- "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
- "dev": true,
- "requires": {
- "onetime": "^2.0.0",
- "signal-exit": "^3.0.2"
- }
- },
- "resumer": {
- "version": "0.0.0",
- "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz",
- "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=",
- "dev": true,
- "requires": {
- "through": "~2.3.4"
- }
- },
- "ret": {
- "version": "0.1.15",
- "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
- "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",
- "dev": true
- },
- "rfdc": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.1.2.tgz",
- "integrity": "sha512-92ktAgvZhBzYTIK0Mja9uen5q5J3NRVMoDkJL2VMwq6SXjVCgqvQeVP2XAaUY6HT+XpQYeLSjb3UoitBryKmdA==",
- "dev": true
- },
- "right-align": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz",
- "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=",
- "dev": true,
- "requires": {
- "align-text": "^0.1.1"
- }
- },
- "rimraf": {
- "version": "2.6.2",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",
- "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==",
- "dev": true,
- "requires": {
- "glob": "^7.0.5"
- }
- },
- "ripemd160": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz",
- "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==",
- "dev": true,
- "requires": {
- "hash-base": "^3.0.0",
- "inherits": "^2.0.1"
- }
- },
- "rst-selector-parser": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz",
- "integrity": "sha1-gbIw6i/MYGbInjRy3nlChdmwPZE=",
- "dev": true,
- "requires": {
- "lodash.flattendeep": "^4.4.0",
- "nearley": "^2.7.10"
- }
- },
- "run-async": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",
- "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=",
- "dev": true,
- "requires": {
- "is-promise": "^2.1.0"
- }
- },
- "run-node": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/run-node/-/run-node-1.0.0.tgz",
- "integrity": "sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A==",
- "dev": true
- },
- "rx-lite": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz",
- "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=",
- "dev": true
- },
- "rx-lite-aggregates": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz",
- "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=",
- "dev": true,
- "requires": {
- "rx-lite": "*"
- }
- },
- "rxjs": {
- "version": "5.5.12",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.12.tgz",
- "integrity": "sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==",
- "dev": true,
- "requires": {
- "symbol-observable": "1.0.1"
- },
- "dependencies": {
- "symbol-observable": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz",
- "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=",
- "dev": true
- }
- }
- },
- "safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
- },
- "safe-regex": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
- "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=",
- "dev": true,
- "requires": {
- "ret": "~0.1.10"
- }
- },
- "safer-buffer": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
- },
- "samsam": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/samsam/-/samsam-1.3.0.tgz",
- "integrity": "sha512-1HwIYD/8UlOtFS3QO3w7ey+SdSDFE4HRNLZoZRYVQefrOY3l17epswImeB1ijgJFQJodIaHcwkp3r/myBjFVbg==",
- "dev": true
- },
- "sass-graph": {
- "version": "2.2.4",
- "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz",
- "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=",
- "dev": true,
- "requires": {
- "glob": "^7.0.0",
- "lodash": "^4.0.0",
- "scss-tokenizer": "^0.2.3",
- "yargs": "^7.0.0"
- }
- },
- "sass-lint": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/sass-lint/-/sass-lint-1.12.1.tgz",
- "integrity": "sha1-Yw9pwhaqIGuCMvsqqQe98zNrbYM=",
+ "sass-lint": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/sass-lint/-/sass-lint-1.12.1.tgz",
+ "integrity": "sha1-Yw9pwhaqIGuCMvsqqQe98zNrbYM=",
"dev": true,
"requires": {
"commander": "^2.8.1",
@@ -14489,16 +14789,17 @@
}
},
"sass-loader": {
- "version": "6.0.7",
- "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-6.0.7.tgz",
- "integrity": "sha512-JoiyD00Yo1o61OJsoP2s2kb19L1/Y2p3QFcCdWdF6oomBGKVYuZyqHWemRBfQ2uGYsk+CH3eCguXNfpjzlcpaA==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-7.1.0.tgz",
+ "integrity": "sha512-+G+BKGglmZM2GUSfT9TLuEp6tzehHPjAMoRRItOojWIqIGPloVCMhNIQuG639eJ+y033PaGTSjLaTHts8Kw79w==",
"dev": true,
"requires": {
"clone-deep": "^2.0.1",
"loader-utils": "^1.0.1",
"lodash.tail": "^4.1.1",
"neo-async": "^2.5.0",
- "pify": "^3.0.0"
+ "pify": "^3.0.0",
+ "semver": "^5.5.0"
}
},
"sax": {
@@ -14587,9 +14888,9 @@
"dev": true
},
"send": {
- "version": "0.16.2",
- "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz",
- "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==",
+ "version": "0.17.1",
+ "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
+ "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
"dev": true,
"requires": {
"debug": "2.6.9",
@@ -14599,28 +14900,59 @@
"escape-html": "~1.0.3",
"etag": "~1.8.1",
"fresh": "0.5.2",
- "http-errors": "~1.6.2",
- "mime": "1.4.1",
- "ms": "2.0.0",
+ "http-errors": "~1.7.2",
+ "mime": "1.6.0",
+ "ms": "2.1.1",
"on-finished": "~2.3.0",
- "range-parser": "~1.2.0",
- "statuses": "~1.4.0"
+ "range-parser": "~1.2.1",
+ "statuses": "~1.5.0"
},
"dependencies": {
+ "http-errors": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
+ "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
+ "dev": true,
+ "requires": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.3",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ }
+ },
"mime": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz",
- "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==",
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
"dev": true
},
- "statuses": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz",
- "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==",
+ "ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
+ "dev": true
+ },
+ "range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
+ "dev": true
+ },
+ "setprototypeof": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
+ "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==",
"dev": true
}
}
},
+ "serialize-javascript": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.7.0.tgz",
+ "integrity": "sha512-ke8UG8ulpFOxO8f8gRYabHQe/ZntKlcig2Mp+8+URDP1D8vJZ0KUt7LYo07q25Z/+JVSgpr/cui9PIp5H6/+nA==",
+ "dev": true
+ },
"serve-index": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz",
@@ -14636,27 +14968,41 @@
"parseurl": "~1.3.2"
},
"dependencies": {
+ "mime-db": {
+ "version": "1.40.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz",
+ "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==",
+ "dev": true
+ },
"mime-types": {
- "version": "2.1.21",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz",
- "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==",
+ "version": "2.1.24",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz",
+ "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==",
"dev": true,
"requires": {
- "mime-db": "~1.37.0"
+ "mime-db": "1.40.0"
}
}
}
},
"serve-static": {
- "version": "1.13.2",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz",
- "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==",
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
+ "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
"dev": true,
"requires": {
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
- "parseurl": "~1.3.2",
- "send": "0.16.2"
+ "parseurl": "~1.3.3",
+ "send": "0.17.1"
+ },
+ "dependencies": {
+ "parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
+ "dev": true
+ }
}
},
"set-blocking": {
@@ -14743,6 +15089,18 @@
"integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
"dev": true
},
+ "shell-quote": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.6.1.tgz",
+ "integrity": "sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=",
+ "dev": true,
+ "requires": {
+ "array-filter": "~0.0.0",
+ "array-map": "~0.0.0",
+ "array-reduce": "~0.0.0",
+ "jsonify": "~0.0.0"
+ }
+ },
"shelljs": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.6.1.tgz",
@@ -14755,6 +15113,23 @@
"integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",
"dev": true
},
+ "simple-swizzle": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
+ "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=",
+ "dev": true,
+ "requires": {
+ "is-arrayish": "^0.3.1"
+ },
+ "dependencies": {
+ "is-arrayish": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
+ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==",
+ "dev": true
+ }
+ }
+ },
"sinon": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/sinon/-/sinon-4.5.0.tgz",
@@ -15021,19 +15396,28 @@
}
},
"sockjs-client": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.1.5.tgz",
- "integrity": "sha1-G7fA9yIsQPQq3xT0RCy9Eml3GoM=",
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.3.0.tgz",
+ "integrity": "sha512-R9jxEzhnnrdxLCNln0xg5uGHqMnkhPSTzUZH2eXcR03S/On9Yvoq2wyUZILRUhZCNVu2PmwWVoyuiPz8th8zbg==",
"dev": true,
"requires": {
- "debug": "^2.6.6",
- "eventsource": "0.1.6",
- "faye-websocket": "~0.11.0",
- "inherits": "^2.0.1",
+ "debug": "^3.2.5",
+ "eventsource": "^1.0.7",
+ "faye-websocket": "~0.11.1",
+ "inherits": "^2.0.3",
"json3": "^3.3.2",
- "url-parse": "^1.1.8"
+ "url-parse": "^1.4.3"
},
"dependencies": {
+ "debug": {
+ "version": "3.2.6",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
+ "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
+ "dev": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
"faye-websocket": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.1.tgz",
@@ -15042,6 +15426,12 @@
"requires": {
"websocket-driver": ">=0.5.1"
}
+ },
+ "ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
+ "dev": true
}
}
},
@@ -15079,6 +15469,24 @@
"urix": "^0.1.0"
}
},
+ "source-map-support": {
+ "version": "0.5.12",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.12.tgz",
+ "integrity": "sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ==",
+ "dev": true,
+ "requires": {
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true
+ }
+ }
+ },
"source-map-url": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz",
@@ -15127,32 +15535,75 @@
"dev": true
},
"spdy": {
- "version": "3.4.7",
- "resolved": "https://registry.npmjs.org/spdy/-/spdy-3.4.7.tgz",
- "integrity": "sha1-Qv9B7OXMD5mjpsKKq7c/XDsDrLw=",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.0.tgz",
+ "integrity": "sha512-ot0oEGT/PGUpzf/6uk4AWLqkq+irlqHXkrdbk51oWONh3bxQmBuljxPNl66zlRRcIJStWq0QkLUCPOPjgjvU0Q==",
"dev": true,
"requires": {
- "debug": "^2.6.8",
- "handle-thing": "^1.2.5",
+ "debug": "^4.1.0",
+ "handle-thing": "^2.0.0",
"http-deceiver": "^1.2.7",
- "safe-buffer": "^5.0.1",
"select-hose": "^2.0.0",
- "spdy-transport": "^2.0.18"
+ "spdy-transport": "^3.0.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
+ "dev": true
+ }
}
},
"spdy-transport": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-2.1.1.tgz",
- "integrity": "sha512-q7D8c148escoB3Z7ySCASadkegMmUZW8Wb/Q1u0/XBgDKMO880rLQDj8Twiew/tYi7ghemKUi/whSYOwE17f5Q==",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz",
+ "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==",
"dev": true,
"requires": {
- "debug": "^2.6.8",
- "detect-node": "^2.0.3",
+ "debug": "^4.1.0",
+ "detect-node": "^2.0.4",
"hpack.js": "^2.1.6",
- "obuf": "^1.1.1",
- "readable-stream": "^2.2.9",
- "safe-buffer": "^5.0.1",
- "wbuf": "^1.7.2"
+ "obuf": "^1.1.2",
+ "readable-stream": "^3.0.6",
+ "wbuf": "^1.7.3"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
+ "dev": true
+ },
+ "readable-stream": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz",
+ "integrity": "sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==",
+ "dev": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
}
},
"split": {
@@ -15222,6 +15673,21 @@
}
}
},
+ "ssri": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz",
+ "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==",
+ "dev": true,
+ "requires": {
+ "figgy-pudding": "^3.5.1"
+ }
+ },
+ "stable": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",
+ "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==",
+ "dev": true
+ },
"staged-git-files": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/staged-git-files/-/staged-git-files-1.0.0.tgz",
@@ -15283,6 +15749,16 @@
"duplexer": "~0.1.1"
}
},
+ "stream-each": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz",
+ "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==",
+ "dev": true,
+ "requires": {
+ "end-of-stream": "^1.1.0",
+ "stream-shift": "^1.0.0"
+ }
+ },
"stream-http": {
"version": "2.8.3",
"resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz",
@@ -15296,6 +15772,12 @@
"xtend": "^4.0.0"
}
},
+ "stream-shift": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz",
+ "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=",
+ "dev": true
+ },
"stream-to-observable": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/stream-to-observable/-/stream-to-observable-0.2.0.tgz",
@@ -15438,6 +15920,92 @@
"integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",
"dev": true
},
+ "style-loader": {
+ "version": "0.23.1",
+ "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.23.1.tgz",
+ "integrity": "sha512-XK+uv9kWwhZMZ1y7mysB+zoihsEj4wneFWAS5qoiLwzW0WzSqMrrsIy+a3zkQJq0ipFtBpX5W3MqyRIBF/WFGg==",
+ "dev": true,
+ "requires": {
+ "loader-utils": "^1.1.0",
+ "schema-utils": "^1.0.0"
+ },
+ "dependencies": {
+ "ajv": {
+ "version": "6.10.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
+ "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
+ "dev": true,
+ "requires": {
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "ajv-keywords": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz",
+ "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==",
+ "dev": true
+ },
+ "fast-deep-equal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
+ "dev": true
+ },
+ "json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "schema-utils": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
+ "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
+ "dev": true,
+ "requires": {
+ "ajv": "^6.1.0",
+ "ajv-errors": "^1.0.0",
+ "ajv-keywords": "^3.1.0"
+ }
+ }
+ }
+ },
+ "stylehacks": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.3.tgz",
+ "integrity": "sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==",
+ "dev": true,
+ "requires": {
+ "browserslist": "^4.0.0",
+ "postcss": "^7.0.0",
+ "postcss-selector-parser": "^3.0.0"
+ },
+ "dependencies": {
+ "dot-prop": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz",
+ "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==",
+ "dev": true,
+ "requires": {
+ "is-obj": "^1.0.0"
+ }
+ },
+ "postcss-selector-parser": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz",
+ "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=",
+ "dev": true,
+ "requires": {
+ "dot-prop": "^4.1.1",
+ "indexes-of": "^1.0.1",
+ "uniq": "^1.0.1"
+ }
+ }
+ }
+ },
"supports-color": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
@@ -15454,34 +16022,69 @@
"dev": true
},
"svgo": {
- "version": "0.7.2",
- "resolved": "https://registry.npmjs.org/svgo/-/svgo-0.7.2.tgz",
- "integrity": "sha1-n1dyQTlSE1xv779Ar+ak+qiLS7U=",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.2.2.tgz",
+ "integrity": "sha512-rAfulcwp2D9jjdGu+0CuqlrAUin6bBWrpoqXWwKDZZZJfXcUXQSxLJOFJCQCSA0x0pP2U0TxSlJu2ROq5Bq6qA==",
"dev": true,
"requires": {
- "coa": "~1.0.1",
- "colors": "~1.1.2",
- "csso": "~2.3.1",
- "js-yaml": "~3.7.0",
+ "chalk": "^2.4.1",
+ "coa": "^2.0.2",
+ "css-select": "^2.0.0",
+ "css-select-base-adapter": "^0.1.1",
+ "css-tree": "1.0.0-alpha.28",
+ "css-url-regex": "^1.1.0",
+ "csso": "^3.5.1",
+ "js-yaml": "^3.13.1",
"mkdirp": "~0.5.1",
- "sax": "~1.2.1",
- "whet.extend": "~0.9.9"
+ "object.values": "^1.1.0",
+ "sax": "~1.2.4",
+ "stable": "^0.1.8",
+ "unquote": "~1.1.1",
+ "util.promisify": "~1.0.0"
},
"dependencies": {
- "esprima": {
- "version": "2.7.3",
- "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz",
- "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=",
- "dev": true
+ "css-select": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.0.2.tgz",
+ "integrity": "sha512-dSpYaDVoWaELjvZ3mS6IKZM/y2PMPa/XYoEfYNZePL4U/XgyxZNroHEHReDx/d+VgXh9VbCTtFqLkFbmeqeaRQ==",
+ "dev": true,
+ "requires": {
+ "boolbase": "^1.0.0",
+ "css-what": "^2.1.2",
+ "domutils": "^1.7.0",
+ "nth-check": "^1.0.2"
+ }
+ },
+ "domutils": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",
+ "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==",
+ "dev": true,
+ "requires": {
+ "dom-serializer": "0",
+ "domelementtype": "1"
+ }
},
"js-yaml": {
- "version": "3.7.0",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.7.0.tgz",
- "integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=",
+ "version": "3.13.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
+ "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
"dev": true,
"requires": {
"argparse": "^1.0.7",
- "esprima": "^2.6.0"
+ "esprima": "^4.0.0"
+ }
+ },
+ "object.values": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.0.tgz",
+ "integrity": "sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.12.0",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3"
}
}
}
@@ -15539,25 +16142,216 @@
"inherits": "2"
}
},
- "test-exclude": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-5.0.0.tgz",
- "integrity": "sha512-bO3Lj5+qFa9YLfYW2ZcXMOV1pmQvw+KS/DpjqhyX6Y6UZ8zstpZJ+mA2ERkXfpOqhxsJlQiLeVXD3Smsrs6oLw==",
+ "terser": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-4.0.0.tgz",
+ "integrity": "sha512-dOapGTU0hETFl1tCo4t56FN+2jffoKyER9qBGoUFyZ6y7WLoKT0bF+lAYi6B6YsILcGF3q1C2FBh8QcKSCgkgA==",
"dev": true,
"requires": {
- "arrify": "^1.0.1",
- "minimatch": "^3.0.4",
- "read-pkg-up": "^4.0.0",
- "require-main-filename": "^1.0.1"
+ "commander": "^2.19.0",
+ "source-map": "~0.6.1",
+ "source-map-support": "~0.5.10"
},
"dependencies": {
- "find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true
+ }
+ }
+ },
+ "terser-webpack-plugin": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.3.0.tgz",
+ "integrity": "sha512-W2YWmxPjjkUcOWa4pBEv4OP4er1aeQJlSo2UhtCFQCuRXEHjOFscO8VyWHj9JLlA0RzQb8Y2/Ta78XZvT54uGg==",
+ "dev": true,
+ "requires": {
+ "cacache": "^11.3.2",
+ "find-cache-dir": "^2.0.0",
+ "is-wsl": "^1.1.0",
+ "loader-utils": "^1.2.3",
+ "schema-utils": "^1.0.0",
+ "serialize-javascript": "^1.7.0",
+ "source-map": "^0.6.1",
+ "terser": "^4.0.0",
+ "webpack-sources": "^1.3.0",
+ "worker-farm": "^1.7.0"
+ },
+ "dependencies": {
+ "ajv": {
+ "version": "6.10.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
+ "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
"dev": true,
"requires": {
- "locate-path": "^3.0.0"
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "ajv-keywords": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz",
+ "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==",
+ "dev": true
+ },
+ "big.js": {
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
+ "dev": true
+ },
+ "fast-deep-equal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
+ "dev": true
+ },
+ "find-cache-dir": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz",
+ "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==",
+ "dev": true,
+ "requires": {
+ "commondir": "^1.0.1",
+ "make-dir": "^2.0.0",
+ "pkg-dir": "^3.0.0"
+ }
+ },
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "dev": true,
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
+ "json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "json5": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
+ "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
+ "dev": true,
+ "requires": {
+ "minimist": "^1.2.0"
+ }
+ },
+ "loader-utils": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz",
+ "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==",
+ "dev": true,
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^2.0.0",
+ "json5": "^1.0.1"
+ }
+ },
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "dev": true,
+ "requires": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "make-dir": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
+ "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
+ "dev": true,
+ "requires": {
+ "pify": "^4.0.1",
+ "semver": "^5.6.0"
+ }
+ },
+ "p-limit": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
+ "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
+ "dev": true,
+ "requires": {
+ "p-try": "^2.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "dev": true,
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true
+ },
+ "pify": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
+ "dev": true
+ },
+ "pkg-dir": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",
+ "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
+ "dev": true,
+ "requires": {
+ "find-up": "^3.0.0"
+ }
+ },
+ "schema-utils": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
+ "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
+ "dev": true,
+ "requires": {
+ "ajv": "^6.1.0",
+ "ajv-errors": "^1.0.0",
+ "ajv-keywords": "^3.1.0"
+ }
+ },
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true
+ }
+ }
+ },
+ "test-exclude": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-5.0.0.tgz",
+ "integrity": "sha512-bO3Lj5+qFa9YLfYW2ZcXMOV1pmQvw+KS/DpjqhyX6Y6UZ8zstpZJ+mA2ERkXfpOqhxsJlQiLeVXD3Smsrs6oLw==",
+ "dev": true,
+ "requires": {
+ "arrify": "^1.0.1",
+ "minimatch": "^3.0.4",
+ "read-pkg-up": "^4.0.0",
+ "require-main-filename": "^1.0.1"
+ },
+ "dependencies": {
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "dev": true,
+ "requires": {
+ "locate-path": "^3.0.0"
}
},
"locate-path": {
@@ -15646,12 +16440,6 @@
"integrity": "sha512-YwT8pjmNcAXBZqrubu22P4FYsh2D4dxRmnWBOL8Jk8bUcRUtc5326kx32tuTmFDAZtLOGEVNl8POAR8j896Iow==",
"dev": true
},
- "time-stamp": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-2.2.0.tgz",
- "integrity": "sha512-zxke8goJQpBeEgD82CXABeMh0LSJcj7CXEd0OHOg45HgcofF7pxNwZm9+RknpxpDhwN4gFpySkApKfFYfRQnUA==",
- "dev": true
- },
"timers-browserify": {
"version": "2.0.10",
"resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz",
@@ -15661,6 +16449,12 @@
"setimmediate": "^1.0.4"
}
},
+ "timsort": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz",
+ "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=",
+ "dev": true
+ },
"tiny-emitter": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.0.2.tgz",
@@ -15737,6 +16531,18 @@
"repeat-string": "^1.6.1"
}
},
+ "toidentifier": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
+ "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==",
+ "dev": true
+ },
+ "toposort": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/toposort/-/toposort-1.0.7.tgz",
+ "integrity": "sha1-LmhELZ9k7HILjMieZEOsbKqVACk=",
+ "dev": true
+ },
"tough-cookie": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",
@@ -15781,6 +16587,12 @@
"glob": "^7.1.2"
}
},
+ "tslib": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",
+ "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==",
+ "dev": true
+ },
"tty-browserify": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz",
@@ -15856,7 +16668,6 @@
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz",
"integrity": "sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q==",
"dev": true,
- "optional": true,
"requires": {
"commander": "~2.17.1",
"source-map": "~0.6.1"
@@ -15866,81 +16677,13 @@
"version": "2.17.1",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz",
"integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==",
- "dev": true,
- "optional": true
+ "dev": true
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "optional": true
- }
- }
- },
- "uglify-to-browserify": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz",
- "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=",
- "dev": true,
- "optional": true
- },
- "uglifyjs-webpack-plugin": {
- "version": "0.4.6",
- "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz",
- "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=",
- "dev": true,
- "requires": {
- "source-map": "^0.5.6",
- "uglify-js": "^2.8.29",
- "webpack-sources": "^1.0.1"
- },
- "dependencies": {
- "camelcase": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz",
- "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=",
- "dev": true
- },
- "cliui": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz",
- "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=",
- "dev": true,
- "requires": {
- "center-align": "^0.1.1",
- "right-align": "^0.1.1",
- "wordwrap": "0.0.2"
- }
- },
- "uglify-js": {
- "version": "2.8.29",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz",
- "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=",
- "dev": true,
- "requires": {
- "source-map": "~0.5.1",
- "uglify-to-browserify": "~1.0.0",
- "yargs": "~3.10.0"
- }
- },
- "wordwrap": {
- "version": "0.0.2",
- "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz",
- "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=",
"dev": true
- },
- "yargs": {
- "version": "3.10.0",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz",
- "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=",
- "dev": true,
- "requires": {
- "camelcase": "^1.0.2",
- "cliui": "^2.1.0",
- "decamelize": "^1.0.0",
- "window-size": "0.1.0"
- }
}
}
},
@@ -15988,15 +16731,15 @@
}
},
"unicode-match-property-value-ecmascript": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.0.2.tgz",
- "integrity": "sha512-Rx7yODZC1L/T8XKo/2kNzVAQaRE88AaMvI1EF/Xnj3GW2wzN6fop9DDWuFAKUVFH7vozkz26DzP0qyWLKLIVPQ==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz",
+ "integrity": "sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g==",
"dev": true
},
"unicode-property-aliases-ecmascript": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.4.tgz",
- "integrity": "sha512-2WSLa6OdYd2ng8oqiGIWnJqyFArvhn+5vgx5GTxMbUYjCYKUcuKS62YLFF0R/BDGlB1yzXjQOLtPAfHsgirEpg==",
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz",
+ "integrity": "sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw==",
"dev": true
},
"union-value": {
@@ -16046,6 +16789,24 @@
"integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=",
"dev": true
},
+ "unique-filename": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz",
+ "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==",
+ "dev": true,
+ "requires": {
+ "unique-slug": "^2.0.0"
+ }
+ },
+ "unique-slug": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.1.tgz",
+ "integrity": "sha512-n9cU6+gITaVu7VGj1Z8feKMmfAjEAQGhwD9fE3zvpRRa0wEIx8ODYkVGfSc94M2OX00tUFV8wH3zYbm1I8mxFg==",
+ "dev": true,
+ "requires": {
+ "imurmurhash": "^0.1.4"
+ }
+ },
"universalify": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
@@ -16058,6 +16819,12 @@
"integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=",
"dev": true
},
+ "unquote": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz",
+ "integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=",
+ "dev": true
+ },
"unset-value": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
@@ -16104,6 +16871,12 @@
"integrity": "sha512-bzpH/oBhoS/QI/YtbkqCg6VEiPYjSZtrHQM6/QnJS6OL9pKUFLqb3aFh4Scvwm45+7iAgiMkLhSbaZxUqmrprw==",
"dev": true
},
+ "upper-case": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz",
+ "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=",
+ "dev": true
+ },
"uri-js": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
@@ -16157,15 +16930,21 @@
}
},
"url-parse": {
- "version": "1.4.4",
- "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.4.tgz",
- "integrity": "sha512-/92DTTorg4JjktLNLe6GPS2/RvAd/RGr6LuktmWSMLEOa6rjnlrFXNgSbSmkNvCoL2T028A0a1JaJLzRMlFoHg==",
+ "version": "1.4.7",
+ "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.7.tgz",
+ "integrity": "sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg==",
"dev": true,
"requires": {
- "querystringify": "^2.0.0",
+ "querystringify": "^2.1.1",
"requires-port": "^1.0.0"
}
},
+ "url-search-params-polyfill": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/url-search-params-polyfill/-/url-search-params-polyfill-6.0.0.tgz",
+ "integrity": "sha512-69Bl5s3SiEgcHe8SMpzLGOyag27BQeTeSaP/CfVHkKc/VdUHtNjaP2PnhshFVC021221ItueOzuMMGofZ/HDmQ==",
+ "dev": true
+ },
"urlgrey": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/urlgrey/-/urlgrey-0.4.0.tgz",
@@ -16225,12 +17004,24 @@
"object.getownpropertydescriptors": "^2.0.3"
}
},
+ "utila": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/utila/-/utila-0.4.0.tgz",
+ "integrity": "sha1-ihagXURWV6Oupe7MWxKk+lN5dyw=",
+ "dev": true
+ },
"utils-merge": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
"integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=",
"dev": true
},
+ "v8-compile-cache": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz",
+ "integrity": "sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w==",
+ "dev": true
+ },
"validate-npm-package-license": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
@@ -16248,9 +17039,9 @@
"dev": true
},
"vendors": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.2.tgz",
- "integrity": "sha512-w/hry/368nO21AN9QljsaIhb9ZiZtZARoVH5f3CsFbawdLdayCgKRPup7CggujvySMxx0I91NOyxdVENohprLQ==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.3.tgz",
+ "integrity": "sha512-fOi47nsJP5Wqefa43kyWSg80qF+Q3XA6MUkgi7Hp1HQaKDQW4cQrK2D0P7mmbFtsV1N89am55Yru/nyEwRubcw==",
"dev": true
},
"verror": {
@@ -16317,39 +17108,47 @@
}
},
"webpack": {
- "version": "3.12.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.12.0.tgz",
- "integrity": "sha512-Sw7MdIIOv/nkzPzee4o0EdvCuPmxT98+vVpIvwtcwcF1Q4SDSNp92vwcKc4REe7NItH9f1S4ra9FuQ7yuYZ8bQ==",
+ "version": "4.32.2",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.32.2.tgz",
+ "integrity": "sha512-F+H2Aa1TprTQrpodRAWUMJn7A8MgDx82yQiNvYMaj3d1nv3HetKU0oqEulL9huj8enirKi8KvEXQ3QtuHF89Zg==",
"dev": true,
"requires": {
- "acorn": "^5.0.0",
- "acorn-dynamic-import": "^2.0.0",
+ "@webassemblyjs/ast": "1.8.5",
+ "@webassemblyjs/helper-module-context": "1.8.5",
+ "@webassemblyjs/wasm-edit": "1.8.5",
+ "@webassemblyjs/wasm-parser": "1.8.5",
+ "acorn": "^6.0.5",
+ "acorn-dynamic-import": "^4.0.0",
"ajv": "^6.1.0",
"ajv-keywords": "^3.1.0",
- "async": "^2.1.2",
- "enhanced-resolve": "^3.4.0",
- "escope": "^3.6.0",
- "interpret": "^1.0.0",
- "json-loader": "^0.5.4",
- "json5": "^0.5.1",
+ "chrome-trace-event": "^1.0.0",
+ "enhanced-resolve": "^4.1.0",
+ "eslint-scope": "^4.0.0",
+ "json-parse-better-errors": "^1.0.2",
"loader-runner": "^2.3.0",
"loader-utils": "^1.1.0",
"memory-fs": "~0.4.1",
+ "micromatch": "^3.1.8",
"mkdirp": "~0.5.0",
+ "neo-async": "^2.5.0",
"node-libs-browser": "^2.0.0",
- "source-map": "^0.5.3",
- "supports-color": "^4.2.1",
- "tapable": "^0.2.7",
- "uglifyjs-webpack-plugin": "^0.4.6",
- "watchpack": "^1.4.0",
- "webpack-sources": "^1.0.1",
- "yargs": "^8.0.2"
+ "schema-utils": "^1.0.0",
+ "tapable": "^1.1.0",
+ "terser-webpack-plugin": "^1.1.0",
+ "watchpack": "^1.5.0",
+ "webpack-sources": "^1.3.0"
},
"dependencies": {
+ "acorn": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz",
+ "integrity": "sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==",
+ "dev": true
+ },
"ajv": {
- "version": "6.6.2",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.6.2.tgz",
- "integrity": "sha512-FBHEW6Jf5TB9MGBgUUA9XHkTbjXYfAUjY43ACMfmdMRHniyoMHjHjzD50OK8LGDWQwp4rWEsIq5kEqq7rvIM1g==",
+ "version": "6.10.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
+ "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
"dev": true,
"requires": {
"fast-deep-equal": "^2.0.1",
@@ -16359,45 +17158,30 @@
}
},
"ajv-keywords": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz",
- "integrity": "sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo=",
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz",
+ "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==",
"dev": true
},
- "async": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz",
- "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==",
- "dev": true,
- "requires": {
- "lodash": "^4.17.10"
- }
- },
"enhanced-resolve": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz",
- "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz",
+ "integrity": "sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==",
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
"memory-fs": "^0.4.0",
- "object-assign": "^4.0.1",
- "tapable": "^0.2.7"
+ "tapable": "^1.0.0"
}
},
- "execa": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz",
- "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=",
+ "eslint-scope": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz",
+ "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==",
"dev": true,
"requires": {
- "cross-spawn": "^5.0.1",
- "get-stream": "^3.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
+ "esrecurse": "^4.1.0",
+ "estraverse": "^4.1.1"
}
},
"fast-deep-equal": {
@@ -16406,34 +17190,174 @@
"integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
"dev": true
},
- "has-flag": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",
- "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",
- "dev": true
- },
"json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
"dev": true
},
- "json5": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
- "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
- "dev": true
- },
- "load-json-file": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
- "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=",
+ "memory-fs": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz",
+ "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=",
+ "dev": true,
+ "requires": {
+ "errno": "^0.1.3",
+ "readable-stream": "^2.0.1"
+ }
+ },
+ "schema-utils": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
+ "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
+ "dev": true,
+ "requires": {
+ "ajv": "^6.1.0",
+ "ajv-errors": "^1.0.0",
+ "ajv-keywords": "^3.1.0"
+ }
+ },
+ "tapable": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz",
+ "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==",
+ "dev": true
+ }
+ }
+ },
+ "webpack-cli": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-3.3.2.tgz",
+ "integrity": "sha512-FLkobnaJJ+03j5eplxlI0TUxhGCOdfewspIGuvDVtpOlrAuKMFC57K42Ukxqs1tn8947/PM6tP95gQc0DCzRYA==",
+ "dev": true,
+ "requires": {
+ "chalk": "^2.4.1",
+ "cross-spawn": "^6.0.5",
+ "enhanced-resolve": "^4.1.0",
+ "findup-sync": "^2.0.0",
+ "global-modules": "^1.0.0",
+ "import-local": "^2.0.0",
+ "interpret": "^1.1.0",
+ "loader-utils": "^1.1.0",
+ "supports-color": "^5.5.0",
+ "v8-compile-cache": "^2.0.2",
+ "yargs": "^12.0.5"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "dev": true
+ },
+ "camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
+ "dev": true
+ },
+ "cliui": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",
+ "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==",
+ "dev": true,
+ "requires": {
+ "string-width": "^2.1.1",
+ "strip-ansi": "^4.0.0",
+ "wrap-ansi": "^2.0.0"
+ }
+ },
+ "cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
+ "dev": true,
+ "requires": {
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ }
+ },
+ "enhanced-resolve": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz",
+ "integrity": "sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==",
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
- "parse-json": "^2.2.0",
- "pify": "^2.0.0",
- "strip-bom": "^3.0.0"
+ "memory-fs": "^0.4.0",
+ "tapable": "^1.0.0"
+ }
+ },
+ "execa": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
+ "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
+ "dev": true,
+ "requires": {
+ "cross-spawn": "^6.0.0",
+ "get-stream": "^4.0.0",
+ "is-stream": "^1.1.0",
+ "npm-run-path": "^2.0.0",
+ "p-finally": "^1.0.0",
+ "signal-exit": "^3.0.0",
+ "strip-eof": "^1.0.0"
+ }
+ },
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "dev": true,
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
+ "get-stream": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
+ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
+ "dev": true,
+ "requires": {
+ "pump": "^3.0.0"
+ }
+ },
+ "invert-kv": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz",
+ "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==",
+ "dev": true
+ },
+ "lcid": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz",
+ "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==",
+ "dev": true,
+ "requires": {
+ "invert-kv": "^2.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "dev": true,
+ "requires": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "mem": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz",
+ "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==",
+ "dev": true,
+ "requires": {
+ "map-age-cleaner": "^0.1.1",
+ "mimic-fn": "^2.0.0",
+ "p-is-promise": "^2.0.0"
}
},
"memory-fs": {
@@ -16446,128 +17370,894 @@
"readable-stream": "^2.0.1"
}
},
- "os-locale": {
+ "mimic-fn": {
"version": "2.1.0",
- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz",
- "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "dev": true
+ },
+ "os-locale": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",
+ "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==",
"dev": true,
"requires": {
- "execa": "^0.7.0",
- "lcid": "^1.0.0",
- "mem": "^1.1.0"
+ "execa": "^1.0.0",
+ "lcid": "^2.0.0",
+ "mem": "^4.0.0"
}
},
- "parse-json": {
+ "p-limit": {
"version": "2.2.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
- "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
+ "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
"dev": true,
"requires": {
- "error-ex": "^1.2.0"
+ "p-try": "^2.0.0"
}
},
- "path-type": {
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "dev": true,
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true
+ },
+ "strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dev": true,
+ "requires": {
+ "ansi-regex": "^3.0.0"
+ }
+ },
+ "tapable": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz",
+ "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==",
+ "dev": true
+ },
+ "which-module": {
"version": "2.0.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz",
- "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=",
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
+ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
+ "dev": true
+ },
+ "yargs": {
+ "version": "12.0.5",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz",
+ "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==",
"dev": true,
"requires": {
- "pify": "^2.0.0"
+ "cliui": "^4.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^3.0.0",
+ "get-caller-file": "^1.0.1",
+ "os-locale": "^3.0.0",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^1.0.1",
+ "set-blocking": "^2.0.0",
+ "string-width": "^2.0.0",
+ "which-module": "^2.0.0",
+ "y18n": "^3.2.1 || ^4.0.0",
+ "yargs-parser": "^11.1.1"
+ }
+ },
+ "yargs-parser": {
+ "version": "11.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz",
+ "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==",
+ "dev": true,
+ "requires": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ }
+ }
+ }
+ },
+ "webpack-dev-middleware": {
+ "version": "3.7.0",
+ "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.7.0.tgz",
+ "integrity": "sha512-qvDesR1QZRIAZHOE3iQ4CXLZZSQ1lAUsSpnQmlB1PBfoN/xdRjmge3Dok0W4IdaVLJOGJy3sGI4sZHwjRU0PCA==",
+ "dev": true,
+ "requires": {
+ "memory-fs": "^0.4.1",
+ "mime": "^2.4.2",
+ "range-parser": "^1.2.1",
+ "webpack-log": "^2.0.0"
+ },
+ "dependencies": {
+ "memory-fs": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz",
+ "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=",
+ "dev": true,
+ "requires": {
+ "errno": "^0.1.3",
+ "readable-stream": "^2.0.1"
+ }
+ },
+ "mime": {
+ "version": "2.4.4",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.4.tgz",
+ "integrity": "sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA==",
+ "dev": true
+ },
+ "range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
+ "dev": true
+ }
+ }
+ },
+ "webpack-dev-server": {
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-3.5.1.tgz",
+ "integrity": "sha512-0IdMGddJcnK9zesZOeHWl4uAOVfypn7DSrdNWtclROkVBXy/TcBN+6eEG1wNfLT9dXVfaRZZsLTJt0mJtgTQgw==",
+ "dev": true,
+ "requires": {
+ "ansi-html": "0.0.7",
+ "bonjour": "^3.5.0",
+ "chokidar": "^2.1.6",
+ "compression": "^1.7.4",
+ "connect-history-api-fallback": "^1.6.0",
+ "debug": "^4.1.1",
+ "del": "^4.1.1",
+ "express": "^4.17.1",
+ "html-entities": "^1.2.1",
+ "http-proxy-middleware": "^0.19.1",
+ "import-local": "^2.0.0",
+ "internal-ip": "^4.3.0",
+ "ip": "^1.1.5",
+ "killable": "^1.0.1",
+ "loglevel": "^1.6.2",
+ "opn": "^5.5.0",
+ "portfinder": "^1.0.20",
+ "schema-utils": "^1.0.0",
+ "selfsigned": "^1.10.4",
+ "semver": "^6.1.1",
+ "serve-index": "^1.9.1",
+ "sockjs": "0.3.19",
+ "sockjs-client": "1.3.0",
+ "spdy": "^4.0.0",
+ "strip-ansi": "^3.0.1",
+ "supports-color": "^6.1.0",
+ "url": "^0.11.0",
+ "webpack-dev-middleware": "^3.7.0",
+ "webpack-log": "^2.0.0",
+ "yargs": "12.0.5"
+ },
+ "dependencies": {
+ "ajv": {
+ "version": "6.10.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
+ "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
+ "dev": true,
+ "requires": {
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "ajv-keywords": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.0.tgz",
+ "integrity": "sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==",
+ "dev": true
+ },
+ "ansi-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+ "dev": true
+ },
+ "camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
+ "dev": true
+ },
+ "chokidar": {
+ "version": "2.1.6",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.6.tgz",
+ "integrity": "sha512-V2jUo67OKkc6ySiRpJrjlpJKl9kDuG+Xb8VgsGzb+aEouhgS1D0weyPU4lEzdAcsCAvrih2J2BqyXqHWvVLw5g==",
+ "dev": true,
+ "requires": {
+ "anymatch": "^2.0.0",
+ "async-each": "^1.0.1",
+ "braces": "^2.3.2",
+ "fsevents": "^1.2.7",
+ "glob-parent": "^3.1.0",
+ "inherits": "^2.0.3",
+ "is-binary-path": "^1.0.0",
+ "is-glob": "^4.0.0",
+ "normalize-path": "^3.0.0",
+ "path-is-absolute": "^1.0.0",
+ "readdirp": "^2.2.1",
+ "upath": "^1.1.1"
+ }
+ },
+ "cliui": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",
+ "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==",
+ "dev": true,
+ "requires": {
+ "string-width": "^2.1.1",
+ "strip-ansi": "^4.0.0",
+ "wrap-ansi": "^2.0.0"
+ },
+ "dependencies": {
+ "strip-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+ "dev": true,
+ "requires": {
+ "ansi-regex": "^3.0.0"
+ }
+ }
+ }
+ },
+ "cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
+ "dev": true,
+ "requires": {
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "5.7.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",
+ "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",
+ "dev": true
+ }
+ }
+ },
+ "debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "execa": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
+ "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
+ "dev": true,
+ "requires": {
+ "cross-spawn": "^6.0.0",
+ "get-stream": "^4.0.0",
+ "is-stream": "^1.1.0",
+ "npm-run-path": "^2.0.0",
+ "p-finally": "^1.0.0",
+ "signal-exit": "^3.0.0",
+ "strip-eof": "^1.0.0"
+ }
+ },
+ "fast-deep-equal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
+ "dev": true
+ },
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "dev": true,
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
+ "fsevents": {
+ "version": "1.2.9",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.9.tgz",
+ "integrity": "sha512-oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw==",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "nan": "^2.12.1",
+ "node-pre-gyp": "^0.12.0"
+ },
+ "dependencies": {
+ "abbrev": {
+ "version": "1.1.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "ansi-regex": {
+ "version": "2.1.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "aproba": {
+ "version": "1.2.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "are-we-there-yet": {
+ "version": "1.1.5",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "delegates": "^1.0.0",
+ "readable-stream": "^2.0.6"
+ }
+ },
+ "balanced-match": {
+ "version": "1.0.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "brace-expansion": {
+ "version": "1.1.11",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "chownr": {
+ "version": "1.1.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "code-point-at": {
+ "version": "1.1.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "concat-map": {
+ "version": "0.0.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "console-control-strings": {
+ "version": "1.1.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "core-util-is": {
+ "version": "1.0.2",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "debug": {
+ "version": "4.1.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "deep-extend": {
+ "version": "0.6.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "delegates": {
+ "version": "1.0.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "detect-libc": {
+ "version": "1.0.3",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "fs-minipass": {
+ "version": "1.2.5",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "minipass": "^2.2.1"
+ }
+ },
+ "fs.realpath": {
+ "version": "1.0.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "gauge": {
+ "version": "2.7.4",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "aproba": "^1.0.3",
+ "console-control-strings": "^1.0.0",
+ "has-unicode": "^2.0.0",
+ "object-assign": "^4.1.0",
+ "signal-exit": "^3.0.0",
+ "string-width": "^1.0.1",
+ "strip-ansi": "^3.0.1",
+ "wide-align": "^1.1.0"
+ }
+ },
+ "glob": {
+ "version": "7.1.3",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "has-unicode": {
+ "version": "2.0.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "iconv-lite": {
+ "version": "0.4.24",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "safer-buffer": ">= 2.1.2 < 3"
+ }
+ },
+ "ignore-walk": {
+ "version": "3.0.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "minimatch": "^3.0.4"
+ }
+ },
+ "inflight": {
+ "version": "1.0.6",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "inherits": {
+ "version": "2.0.3",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "ini": {
+ "version": "1.3.5",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "is-fullwidth-code-point": {
+ "version": "1.0.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "number-is-nan": "^1.0.0"
+ }
+ },
+ "isarray": {
+ "version": "1.0.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "minimatch": {
+ "version": "3.0.4",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "brace-expansion": "^1.1.7"
+ }
+ },
+ "minimist": {
+ "version": "0.0.8",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "minipass": {
+ "version": "2.3.5",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "safe-buffer": "^5.1.2",
+ "yallist": "^3.0.0"
+ }
+ },
+ "minizlib": {
+ "version": "1.2.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "minipass": "^2.2.1"
+ }
+ },
+ "mkdirp": {
+ "version": "0.5.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "minimist": "0.0.8"
+ }
+ },
+ "ms": {
+ "version": "2.1.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "needle": {
+ "version": "2.3.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "debug": "^4.1.0",
+ "iconv-lite": "^0.4.4",
+ "sax": "^1.2.4"
+ }
+ },
+ "node-pre-gyp": {
+ "version": "0.12.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "detect-libc": "^1.0.2",
+ "mkdirp": "^0.5.1",
+ "needle": "^2.2.1",
+ "nopt": "^4.0.1",
+ "npm-packlist": "^1.1.6",
+ "npmlog": "^4.0.2",
+ "rc": "^1.2.7",
+ "rimraf": "^2.6.1",
+ "semver": "^5.3.0",
+ "tar": "^4"
+ }
+ },
+ "nopt": {
+ "version": "4.0.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "abbrev": "1",
+ "osenv": "^0.1.4"
+ }
+ },
+ "npm-bundled": {
+ "version": "1.0.6",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "npm-packlist": {
+ "version": "1.4.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "ignore-walk": "^3.0.1",
+ "npm-bundled": "^1.0.1"
+ }
+ },
+ "npmlog": {
+ "version": "4.1.2",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "are-we-there-yet": "~1.1.2",
+ "console-control-strings": "~1.1.0",
+ "gauge": "~2.7.3",
+ "set-blocking": "~2.0.0"
+ }
+ },
+ "number-is-nan": {
+ "version": "1.0.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "object-assign": {
+ "version": "4.1.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "once": {
+ "version": "1.4.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "wrappy": "1"
+ }
+ },
+ "os-homedir": {
+ "version": "1.0.2",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "os-tmpdir": {
+ "version": "1.0.2",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "osenv": {
+ "version": "0.1.5",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "os-homedir": "^1.0.0",
+ "os-tmpdir": "^1.0.0"
+ }
+ },
+ "path-is-absolute": {
+ "version": "1.0.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "process-nextick-args": {
+ "version": "2.0.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "rc": {
+ "version": "1.2.8",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "deep-extend": "^0.6.0",
+ "ini": "~1.3.0",
+ "minimist": "^1.2.0",
+ "strip-json-comments": "~2.0.1"
+ },
+ "dependencies": {
+ "minimist": {
+ "version": "1.2.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ }
+ }
+ },
+ "readable-stream": {
+ "version": "2.3.6",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "rimraf": {
+ "version": "2.6.3",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "glob": "^7.1.3"
+ }
+ },
+ "safe-buffer": {
+ "version": "5.1.2",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "safer-buffer": {
+ "version": "2.1.2",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "sax": {
+ "version": "1.2.4",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "semver": {
+ "version": "5.7.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "set-blocking": {
+ "version": "2.0.0",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "signal-exit": {
+ "version": "3.0.2",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "string-width": {
+ "version": "1.0.2",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "code-point-at": "^1.0.0",
+ "is-fullwidth-code-point": "^1.0.0",
+ "strip-ansi": "^3.0.0"
+ }
+ },
+ "string_decoder": {
+ "version": "1.1.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "safe-buffer": "~5.1.0"
+ }
+ },
+ "strip-ansi": {
+ "version": "3.0.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "ansi-regex": "^2.0.0"
+ }
+ },
+ "strip-json-comments": {
+ "version": "2.0.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "tar": {
+ "version": "4.4.8",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "chownr": "^1.1.1",
+ "fs-minipass": "^1.2.5",
+ "minipass": "^2.3.4",
+ "minizlib": "^1.1.1",
+ "mkdirp": "^0.5.0",
+ "safe-buffer": "^5.1.2",
+ "yallist": "^3.0.2"
+ }
+ },
+ "util-deprecate": {
+ "version": "1.0.2",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "wide-align": {
+ "version": "1.1.3",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "string-width": "^1.0.2 || 2"
+ }
+ },
+ "wrappy": {
+ "version": "1.0.2",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ },
+ "yallist": {
+ "version": "3.0.3",
+ "bundled": true,
+ "dev": true,
+ "optional": true
+ }
}
},
- "pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
- "dev": true
- },
- "read-pkg": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz",
- "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=",
+ "get-stream": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
+ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
"dev": true,
"requires": {
- "load-json-file": "^2.0.0",
- "normalize-package-data": "^2.3.2",
- "path-type": "^2.0.0"
+ "pump": "^3.0.0"
}
},
- "read-pkg-up": {
+ "invert-kv": {
"version": "2.0.0",
- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz",
- "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=",
- "dev": true,
- "requires": {
- "find-up": "^2.0.0",
- "read-pkg": "^2.0.0"
- }
- },
- "supports-color": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz",
- "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=",
- "dev": true,
- "requires": {
- "has-flag": "^2.0.0"
- }
- },
- "tapable": {
- "version": "0.2.9",
- "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.9.tgz",
- "integrity": "sha512-2wsvQ+4GwBvLPLWsNfLCDYGsW6xb7aeC6utq2Qh0PFwgEy7K7dsma9Jsmb2zSQj7GvYAyUGSntLtsv++GmgL1A==",
+ "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz",
+ "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==",
"dev": true
},
- "which-module": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
+ "json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
"dev": true
},
- "yargs": {
- "version": "8.0.2",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz",
- "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=",
+ "lcid": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz",
+ "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==",
"dev": true,
"requires": {
- "camelcase": "^4.1.0",
- "cliui": "^3.2.0",
- "decamelize": "^1.1.1",
- "get-caller-file": "^1.0.1",
- "os-locale": "^2.0.0",
- "read-pkg-up": "^2.0.0",
- "require-directory": "^2.1.1",
- "require-main-filename": "^1.0.1",
- "set-blocking": "^2.0.0",
- "string-width": "^2.0.0",
- "which-module": "^2.0.0",
- "y18n": "^3.2.1",
- "yargs-parser": "^7.0.0"
+ "invert-kv": "^2.0.0"
}
},
- "yargs-parser": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz",
- "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=",
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
"dev": true,
"requires": {
- "camelcase": "^4.1.0"
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
}
- }
- }
- },
- "webpack-dev-middleware": {
- "version": "1.12.2",
- "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-1.12.2.tgz",
- "integrity": "sha512-FCrqPy1yy/sN6U/SaEZcHKRXGlqU0DUaEBL45jkUYoB8foVb6wCnbIJ1HKIx+qUFTW+3JpVcCJCxZ8VATL4e+A==",
- "dev": true,
- "requires": {
- "memory-fs": "~0.4.1",
- "mime": "^1.5.0",
- "path-is-absolute": "^1.0.0",
- "range-parser": "^1.0.3",
- "time-stamp": "^2.0.0"
- },
- "dependencies": {
+ },
"memory-fs": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz",
@@ -16579,209 +18269,171 @@
}
},
"mime": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.3.tgz",
+ "integrity": "sha512-QgrPRJfE+riq5TPZMcHZOtm8c6K/yYrMbKIoRfapfiGLxS8OTeIfRhUGW5LU7MlRa52KOAGCfUNruqLrIBvWZw==",
"dev": true
- }
- }
- },
- "webpack-dev-server": {
- "version": "2.11.3",
- "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-2.11.3.tgz",
- "integrity": "sha512-Qz22YEFhWx+M2vvJ+rQppRv39JA0h5NNbOOdODApdX6iZ52Diz7vTPXjF7kJlfn+Uc24Qr48I3SZ9yncQwRycg==",
- "dev": true,
- "requires": {
- "ansi-html": "0.0.7",
- "array-includes": "^3.0.3",
- "bonjour": "^3.5.0",
- "chokidar": "^2.0.0",
- "compression": "^1.5.2",
- "connect-history-api-fallback": "^1.3.0",
- "debug": "^3.1.0",
- "del": "^3.0.0",
- "express": "^4.16.2",
- "html-entities": "^1.2.0",
- "http-proxy-middleware": "~0.17.4",
- "import-local": "^1.0.0",
- "internal-ip": "1.2.0",
- "ip": "^1.1.5",
- "killable": "^1.0.0",
- "loglevel": "^1.4.1",
- "opn": "^5.1.0",
- "portfinder": "^1.0.9",
- "selfsigned": "^1.9.1",
- "serve-index": "^1.7.2",
- "sockjs": "0.3.19",
- "sockjs-client": "1.1.5",
- "spdy": "^3.4.1",
- "strip-ansi": "^3.0.0",
- "supports-color": "^5.1.0",
- "webpack-dev-middleware": "1.12.2",
- "yargs": "6.6.0"
- },
- "dependencies": {
- "camelcase": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
- "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=",
+ },
+ "ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
"dev": true
},
- "debug": {
- "version": "3.2.6",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
- "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
+ "nan": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
+ "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==",
"dev": true,
- "requires": {
- "ms": "^2.1.1"
- }
+ "optional": true
},
- "find-up": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
- "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
+ "normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "dev": true
+ },
+ "os-locale": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",
+ "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==",
"dev": true,
"requires": {
- "path-exists": "^2.0.0",
- "pinkie-promise": "^2.0.0"
+ "execa": "^1.0.0",
+ "lcid": "^2.0.0",
+ "mem": "^4.0.0"
}
},
- "is-fullwidth-code-point": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
- "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
+ "p-limit": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
+ "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
"dev": true,
"requires": {
- "number-is-nan": "^1.0.0"
+ "p-try": "^2.0.0"
}
},
- "load-json-file": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
- "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
"dev": true,
"requires": {
- "graceful-fs": "^4.1.2",
- "parse-json": "^2.2.0",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0",
- "strip-bom": "^2.0.0"
+ "p-limit": "^2.0.0"
}
},
- "ms": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
- "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
- "dev": true
- },
- "parse-json": {
+ "p-try": {
"version": "2.2.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
- "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
- "dev": true,
- "requires": {
- "error-ex": "^1.2.0"
- }
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true
},
- "path-exists": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
- "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
- "dev": true,
- "requires": {
- "pinkie-promise": "^2.0.0"
- }
+ "range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
+ "dev": true
},
- "path-type": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
- "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
+ "schema-utils": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
+ "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
"dev": true,
"requires": {
- "graceful-fs": "^4.1.2",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0"
+ "ajv": "^6.1.0",
+ "ajv-errors": "^1.0.0",
+ "ajv-keywords": "^3.1.0"
}
},
- "pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
+ "semver": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.1.1.tgz",
+ "integrity": "sha512-rWYq2e5iYW+fFe/oPPtYJxYgjBm8sC4rmoGdUOgBB7VnwKt6HrL793l2voH1UlsyYZpJ4g0wfjnTEO1s1NP2eQ==",
"dev": true
},
- "read-pkg": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
- "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
+ "supports-color": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
"dev": true,
"requires": {
- "load-json-file": "^1.0.0",
- "normalize-package-data": "^2.3.2",
- "path-type": "^1.0.0"
+ "has-flag": "^3.0.0"
}
},
- "read-pkg-up": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
- "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
- "dev": true,
- "requires": {
- "find-up": "^1.0.0",
- "read-pkg": "^1.0.0"
- }
+ "upath": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/upath/-/upath-1.1.2.tgz",
+ "integrity": "sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q==",
+ "dev": true
},
- "string-width": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
- "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
+ "webpack-dev-middleware": {
+ "version": "3.7.0",
+ "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.7.0.tgz",
+ "integrity": "sha512-qvDesR1QZRIAZHOE3iQ4CXLZZSQ1lAUsSpnQmlB1PBfoN/xdRjmge3Dok0W4IdaVLJOGJy3sGI4sZHwjRU0PCA==",
"dev": true,
"requires": {
- "code-point-at": "^1.0.0",
- "is-fullwidth-code-point": "^1.0.0",
- "strip-ansi": "^3.0.0"
+ "memory-fs": "^0.4.1",
+ "mime": "^2.4.2",
+ "range-parser": "^1.2.1",
+ "webpack-log": "^2.0.0"
}
},
- "strip-bom": {
+ "which-module": {
"version": "2.0.0",
- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
- "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
- "dev": true,
- "requires": {
- "is-utf8": "^0.2.0"
- }
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
+ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
+ "dev": true
},
"yargs": {
- "version": "6.6.0",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz",
- "integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=",
+ "version": "12.0.5",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz",
+ "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==",
"dev": true,
"requires": {
- "camelcase": "^3.0.0",
- "cliui": "^3.2.0",
- "decamelize": "^1.1.1",
+ "cliui": "^4.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^3.0.0",
"get-caller-file": "^1.0.1",
- "os-locale": "^1.4.0",
- "read-pkg-up": "^1.0.1",
+ "os-locale": "^3.0.0",
"require-directory": "^2.1.1",
"require-main-filename": "^1.0.1",
"set-blocking": "^2.0.0",
- "string-width": "^1.0.2",
- "which-module": "^1.0.0",
- "y18n": "^3.2.1",
- "yargs-parser": "^4.2.0"
+ "string-width": "^2.0.0",
+ "which-module": "^2.0.0",
+ "y18n": "^3.2.1 || ^4.0.0",
+ "yargs-parser": "^11.1.1"
}
},
"yargs-parser": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz",
- "integrity": "sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=",
+ "version": "11.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz",
+ "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==",
"dev": true,
"requires": {
- "camelcase": "^3.0.0"
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
}
}
}
},
+ "webpack-log": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/webpack-log/-/webpack-log-2.0.0.tgz",
+ "integrity": "sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==",
+ "dev": true,
+ "requires": {
+ "ansi-colors": "^3.0.0",
+ "uuid": "^3.3.2"
+ },
+ "dependencies": {
+ "uuid": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
+ "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==",
+ "dev": true
+ }
+ }
+ },
"webpack-merge": {
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-4.1.5.tgz",
@@ -16830,12 +18482,6 @@
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz",
"integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q=="
},
- "whet.extend": {
- "version": "0.9.9",
- "resolved": "https://registry.npmjs.org/whet.extend/-/whet.extend-0.9.9.tgz",
- "integrity": "sha1-+HfVv2SMl+WqVC+twW1qJZucEaE=",
- "dev": true
- },
"which": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
@@ -16860,18 +18506,30 @@
"string-width": "^1.0.2 || 2"
}
},
- "window-size": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz",
- "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=",
- "dev": true
- },
"wordwrap": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
"integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=",
"dev": true
},
+ "worker-farm": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz",
+ "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==",
+ "dev": true,
+ "requires": {
+ "errno": "~0.1.7"
+ }
+ },
+ "worker-rpc": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/worker-rpc/-/worker-rpc-0.1.1.tgz",
+ "integrity": "sha512-P1WjMrUB3qgJNI9jfmpZ/htmBEjFh//6l/5y8SD9hg1Ef5zTTVVoRjTrTEzPrNBQvmhMxkoTsjOXN10GWU7aCg==",
+ "dev": true,
+ "requires": {
+ "microevent.ts": "~0.1.1"
+ }
+ },
"wrap-ansi": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
diff --git a/package.json b/package.json
index 8b81344e5..267ce50e5 100644
--- a/package.json
+++ b/package.json
@@ -3,12 +3,18 @@
"version": "27.1.1",
"description": "Core component library. By Adslot",
"main": "dist/adslot-ui-main.js",
+ "files": [
+ "dist",
+ "src/styles"
+ ],
"license": "MIT",
"scripts": {
"protect-master": "./scripts/protect-master",
"clean": "rimraf dist/*",
"codecov": "cat coverage/coverage-final.json | codecov",
- "dist": "./scripts/dist",
+ "dist:dev": "node ./scripts/build.js",
+ "dist:prod": "cross-env NODE_ENV=dist node ./scripts/build.js",
+ "dist": "npm run clean && npm run dist:prod && npm run dist:dev ",
"lint:sass": "sass-lint -v",
"lint:eslint": "eslint --ext .jsx,.js ./src && eslint --ext .jsx,.js ./docs",
"lint:prettier": "prettier-check '{src,docs,config}/**/*.{js,json,jsx}'",
@@ -17,13 +23,10 @@
"posttest": "npm run lint",
"postversion": "git push -u origin $(git rev-parse --abbrev-ref HEAD) --follow-tags && npm publish && echo '…released.'",
"preversion": "echo 'Releasing…' && npm i",
- "profile": "webpack --env=dist --profile --json > stats.json",
"release:major": "npm version major -m 'build: release major version %s'",
"release:minor": "npm version minor -m 'build: release minor version %s'",
"release:patch": "npm version patch -m 'build: release patch version %s'",
- "start": "npm run start:dev",
- "start:dev": "webpack-dev-server --config=./config/dev.js",
- "start:cold": "node server.js --env=dev-cold",
+ "start": "node scripts/start.js",
"test": "scripts/test --coverage",
"test:watch": "scripts/test --watch",
"version": "echo '…generating dist…' && npm run dist && git add dist/*",
@@ -69,35 +72,38 @@
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
- "@babel/preset-env": "^7.2.0",
+ "@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@commitlint/travis-cli": "^7.2.1",
- "autoprefixer": "^9.1.5",
- "axios": "^0.18.0",
+ "autoprefixer": "^9.6.0",
+ "axios": "^0.18.1",
"babel-eslint": "^10.0.1",
- "babel-loader": "^8.0.4",
+ "babel-loader": "^8.0.6",
"babel-plugin-istanbul": "^5.1.0",
"bootstrap-sass": "^3.3.7",
+ "case-sensitive-paths-webpack-plugin": "^2.2.0",
"chai": "^4.2.0",
"classnames": "^2.2.5",
"codecov.io": "^0.1.6",
- "css-loader": "^0.28.9",
+ "core-js": "^3.1.3",
+ "cross-env": "^5.2.0",
+ "css-loader": "^2.1.1",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"eslint": "^4.17.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-import-resolver-webpack": "^0.8.4",
- "eslint-loader": "^1.9.0",
+ "eslint-loader": "^2.1.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-lodash": "^2.6.1",
"eslint-plugin-react": "^7.6.1",
- "extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.6",
"gonzales-pe": "^4.2.3",
+ "html-webpack-plugin": "^3.2.0",
"husky": "^1.1.2",
"karma": "^3.1.1",
"karma-chai": "^0.1.0",
@@ -105,22 +111,27 @@
"karma-coverage": "^1.1.2",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
- "karma-webpack": "^2.0.13",
+ "karma-webpack": "^4.0.2",
"lint-staged": "^6.1.0",
+ "mini-css-extract-plugin": "^0.7.0",
"minimist": "^1.2.0",
"mocha": "^5.2.0",
"moment": "^2.20.1",
"node-sass": "^4.9.4",
"nuka-carousel": "^4.4.3",
- "null-loader": "^0.1.1",
+ "null-loader": "^3.0.0",
"object-assign": "^4.1.1",
- "postcss-loader": "^2.1.0",
+ "optimize-css-assets-webpack-plugin": "^5.0.1",
+ "postcss-flexbugs-fixes": "^4.1.0",
+ "postcss-loader": "^3.0.0",
+ "postcss-safe-parser": "^4.0.1",
"prettier": "^1.10.2",
"prettier-check": "^2.0.0",
"prop-types": "^15.6.1",
"puppeteer": "^1.11.0",
"react-bootstrap": "^0.31.5",
"react-datepicker": "github:Adslot/react-datepicker#2a1ebb8618e1996c321331ef01d290424272d126",
+ "react-dev-utils": "^9.0.1",
"react-redux": "^5.0.6",
"react-select": "^1.2.1",
"react-syntax-highlighter": "^7.0.0",
@@ -128,13 +139,17 @@
"redux": "^3.7.2",
"rimraf": "^2.6.2",
"sass-lint": "^1.12.1",
- "sass-loader": "^6.0.6",
+ "sass-loader": "^7.1.0",
"seamless-immutable": "^7.1.3",
"sinon": "^4.2.2",
+ "style-loader": "^0.23.1",
"svg4everybody": "^2.1.9",
+ "terser-webpack-plugin": "^1.3.0",
"url-loader": "^0.6.2",
- "webpack": "^3.12.0",
- "webpack-dev-server": "^2.11.3",
+ "url-search-params-polyfill": "^6.0.0",
+ "webpack": "^4.32.2",
+ "webpack-cli": "^3.3.2",
+ "webpack-dev-server": "^3.5.1",
"webpack-merge": "^4.1.4"
},
"dependencies": {
diff --git a/scripts/build.js b/scripts/build.js
new file mode 100644
index 000000000..37d234d8b
--- /dev/null
+++ b/scripts/build.js
@@ -0,0 +1,123 @@
+// Makes the script crash on unhandled rejections instead of silently
+// ignoring them. In the future, promise rejections that are not handled will
+// terminate the Node.js process with a non-zero exit code.
+process.on('unhandledRejection', err => {
+ throw err;
+});
+
+const chalk = require('chalk');
+const fs = require('fs-extra');
+const webpack = require('webpack');
+const config =
+ process.env.NODE_ENV === 'dist' ? require('../config/webpack.config.dist') : require('../config/webpack.config.dev.build');
+const paths = require('../config/paths');
+const checkRequiredFiles = require('react-dev-utils/checkRequiredFiles');
+const formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
+const FileSizeReporter = require('react-dev-utils/FileSizeReporter');
+const printBuildError = require('react-dev-utils/printBuildError');
+
+const measureFileSizesBeforeBuild = FileSizeReporter.measureFileSizesBeforeBuild;
+const printFileSizesAfterBuild = FileSizeReporter.printFileSizesAfterBuild;
+
+// These sizes are pretty large. We'll warn for bundles exceeding them.
+const WARN_AFTER_BUNDLE_GZIP_SIZE = 512 * 1024;
+const WARN_AFTER_CHUNK_GZIP_SIZE = 1024 * 1024;
+
+const buildPath = process.env.NODE_ENV === 'dist' ? paths.appDist : paths.appBuild;
+
+// Warn and crash if required files are missingclear
+if (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) {
+ process.exit(1);
+}
+
+function copyPublicFolder() {
+ fs.copySync(paths.appPublic, buildPath, {
+ dereference: true,
+ filter: file => file !== paths.appHtml,
+ });
+}
+
+// Create the production build and print the deployment instructions.
+function build(previousFileSizes) {
+ console.log('Creating an optimized build...');
+
+ let compiler = webpack(config);
+ return new Promise((resolve, reject) => {
+ compiler.run((err, stats) => {
+ if (err) {
+ return reject(err);
+ }
+ const messages = formatWebpackMessages(stats.toJson({}, true));
+ if (messages.errors.length) {
+ // Only keep the first error. Others are often indicative
+ // of the same problem, but confuse the reader with noise.
+ if (messages.errors.length > 1) {
+ messages.errors.length = 1;
+ }
+ return reject(new Error(messages.errors.join('\n\n')));
+ }
+ if (
+ process.env.CI &&
+ (typeof process.env.CI !== 'string' || process.env.CI.toLowerCase() !== 'false') &&
+ messages.warnings.length
+ ) {
+ console.log(
+ chalk.yellow(
+ '\nTreating warnings as errors because process.env.CI = true.\n' + 'Most CI servers set it automatically.\n'
+ )
+ );
+ return reject(new Error(messages.warnings.join('\n\n')));
+ }
+ return resolve({
+ stats,
+ previousFileSizes,
+ warnings: messages.warnings,
+ });
+ });
+ });
+}
+
+// First, read the current file sizes in build directory.
+// This lets us display how much they changed later.
+measureFileSizesBeforeBuild(buildPath)
+ .then(previousFileSizes => {
+ // Remove all content but keep the directory so that
+ // if you're in it, you don't end up in Trash
+ if (process.env.NODE_ENV === 'dist') fs.emptyDirSync(buildPath);
+ // Merge with the public folder
+ if (process.env.NODE_ENV === 'production') copyPublicFolder();
+ // Start the webpack build
+ return build(previousFileSizes);
+ })
+ .then(
+ ({ stats, previousFileSizes, warnings }) => {
+ if (warnings.length) {
+ console.log(chalk.yellow('Compiled with warnings.\n'));
+ console.log(warnings.join('\n\n'));
+ console.log(
+ '\nSearch for the ' + chalk.underline(chalk.yellow('keywords')) + ' to learn more about each warning.'
+ );
+ console.log('To ignore, add ' + chalk.cyan('// eslint-disable-next-line') + ' to the line before.\n');
+ } else {
+ console.log(chalk.green('Compiled successfully.\n'));
+ }
+
+ console.log('File sizes after gzip:\n');
+ printFileSizesAfterBuild(
+ stats,
+ previousFileSizes,
+ buildPath,
+ WARN_AFTER_BUNDLE_GZIP_SIZE,
+ WARN_AFTER_CHUNK_GZIP_SIZE
+ );
+
+ console.log();
+
+ if (process.env.NODE_ENV !== 'production' || process.env.NODE_ENV !== 'dist') return;
+ },
+ err => {
+ console.log(chalk.red('Failed to compile.\n'));
+ printBuildError(err);
+ process.exit(1);
+ }
+ );
diff --git a/scripts/dist b/scripts/dist
deleted file mode 100755
index 2d92104d1..000000000
--- a/scripts/dist
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash -e
-
-echo 'Deleting distribution files...'
-npm run clean
-
-echo 'Generating development build...'
-TYPE=development webpack --bail --env=dist --progress --hide-modules
-
-echo 'Generating production build...'
-TYPE=production webpack --bail --env=dist --progress -p --hide-modules
diff --git a/scripts/start.js b/scripts/start.js
new file mode 100644
index 000000000..2d6991518
--- /dev/null
+++ b/scripts/start.js
@@ -0,0 +1,77 @@
+process.env.NODE_ENV = 'development';
+
+// Makes the script crash on unhandled rejections instead of silently
+// ignoring them. In the future, promise rejections that are not handled will
+// terminate the Node.js process with a non-zero exit code.
+process.on('unhandledRejection', err => {
+ throw err;
+});
+
+const fs = require('fs');
+const chalk = require('chalk');
+const webpack = require('webpack');
+const WebpackDevServer = require('webpack-dev-server');
+const clearConsole = require('react-dev-utils/clearConsole');
+const checkRequiredFiles = require('react-dev-utils/checkRequiredFiles');
+const { choosePort, createCompiler, prepareProxy, prepareUrls } = require('react-dev-utils/WebpackDevServerUtils');
+const openBrowser = require('react-dev-utils/openBrowser');
+const paths = require('../config/paths');
+const config = require('../config/webpack.config.dev');
+const createDevServerConfig = require('../config/webpackDevServer.config');
+
+const useYarn = fs.existsSync(paths.yarnLockFile);
+const isInteractive = process.stdout.isTTY;
+
+// Warn and crash if required files are missing
+if (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) {
+ process.exit(1);
+}
+
+// Tools like Cloud9 rely on this.
+const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 8888;
+const HOST = process.env.HOST || '0.0.0.0';
+
+// We attempt to use the default port but if it is busy, we offer the user to
+// run on a different port. `detect()` Promise resolves to the next free port.
+choosePort(HOST, DEFAULT_PORT)
+ .then(port => {
+ if (port == null) {
+ // We have not found a port.
+ return;
+ }
+ const protocol = process.env.HTTPS === 'true' ? 'https' : 'http';
+ const appName = require(paths.appPackageJson).name;
+ const urls = prepareUrls(protocol, HOST, port);
+ // Create a webpack compiler that is configured with custom messages.
+ const compiler = createCompiler({ webpack, config, appName, urls, useYarn });
+ // Load proxy config
+ const proxySetting = paths.appPackageJson.proxy;
+ const proxyConfig = prepareProxy(proxySetting, paths.appPublic);
+ // Serve webpack assets generated by the compiler over a web sever.
+ const serverConfig = createDevServerConfig(proxyConfig, urls.lanUrlForConfig);
+ const devServer = new WebpackDevServer(compiler, serverConfig);
+ // Launch WebpackDevServer.
+ devServer.listen(port, HOST, err => {
+ if (err) {
+ return console.log(err);
+ }
+ if (isInteractive) {
+ clearConsole();
+ }
+ console.log(chalk.cyan('Starting the development server...\n'));
+ openBrowser(urls.localUrlForBrowser);
+ });
+
+ ['SIGINT', 'SIGTERM'].forEach(function(sig) {
+ process.on(sig, function() {
+ devServer.close();
+ process.exit();
+ });
+ });
+ })
+ .catch(err => {
+ if (err && err.message) {
+ console.log(err.message);
+ }
+ process.exit(1);
+ });
diff --git a/webpack.config.js b/webpack.config.js
deleted file mode 100644
index 047c3f41f..000000000
--- a/webpack.config.js
+++ /dev/null
@@ -1,44 +0,0 @@
-const path = require('path');
-const minimist = require('minimist');
-
-/**
- * Get an environment from arguments
- * @param {Array} args
- * @return {String}
- */
-function getEnv(args) {
- switch (true) {
- case Boolean(args._.length > 0 && args._.indexOf('start') !== -1):
- return 'test';
-
- case Boolean(args.env):
- return args.env;
-
- default:
- return 'dev';
- }
-}
-
-/**
- * Get an allowed environment
- * @param {String} env
- * @return {String}
- */
-function getValidEnv(env) {
- const allowedEnvs = ['dev', 'dist', 'test'];
- const isValid = env && env.length > 0 && allowedEnvs.indexOf(env) !== -1;
- return isValid ? env : 'dev';
-}
-
-/**
- * Build the webpack configuration
- * @param {String} env Environment to use
- * @return {Object} Webpack config
- */
-function buildConfig() {
- const args = minimist(process.argv.slice(2));
- const usedEnv = getValidEnv(getEnv(args));
- return require(path.join(__dirname, `config/${usedEnv}.js`)); // eslint-disable-line global-require
-}
-
-module.exports = buildConfig();