diff --git a/.env.example b/.env.example index 88cc2576..e0c5bd23 100644 --- a/.env.example +++ b/.env.example @@ -2,9 +2,10 @@ APP_NAME=SomelineStarter APP_ENV=local APP_KEY=base64:g/qleSmMZ4Yn0i0TIGiBBDYL/GMY0FSjKpeO+U91zLQ= APP_DEBUG=true -APP_LOG_LEVEL=debug APP_URL=http://localhost +LOG_CHANNEL=stack + REST_CLIENT_ENV=dev API_SUBTYPE=someline @@ -29,6 +30,7 @@ DB_PASSWORD=secret BROADCAST_DRIVER=log CACHE_DRIVER=file SESSION_DRIVER=file +SESSION_LIFETIME=120 QUEUE_DRIVER=sync REDIS_HOST=127.0.0.1 @@ -45,3 +47,7 @@ MAIL_ENCRYPTION=null PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= +PUSHER_APP_CLUSTER=mt1 + +MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" +MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" diff --git a/.gitignore b/.gitignore index 8e9d790e..f416f49a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ /storage/*.key /vendor /.idea +/.vscode /.vagrant Homestead.json Homestead.yaml diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index 3a8ae4b3..695b8769 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -3,8 +3,9 @@ namespace Someline\Http\Controllers\Auth; use Someline\Models\Foundation\User; -use Validator; use Someline\Http\Controllers\BaseController; +use Illuminate\Support\Facades\Hash; +use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController extends BaseController @@ -48,9 +49,9 @@ public function __construct() protected function validator(array $data) { return Validator::make($data, [ - 'name' => 'required|max:255', - 'email' => 'required|email|max:255|unique:users', - 'password' => 'required|min:6|confirmed', + 'name' => 'required|string|max:255', + 'email' => 'required|string|email|max:255|unique:users', + 'password' => 'required|string|min:6|confirmed', ]); } @@ -65,7 +66,7 @@ protected function create(array $data) return User::create([ 'name' => $data['name'], 'email' => $data['email'], - 'password' => bcrypt($data['password']), + 'password' => Hash::make($data['password']), ]); } diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 90989683..752fb963 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -59,8 +59,10 @@ class Kernel extends HttpKernel 'auth' => \Illuminate\Auth\Middleware\Authenticate::class, 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, + 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 'can' => \Illuminate\Auth\Middleware\Authorize::class, 'guest' => \Someline\Http\Middleware\RedirectIfAuthenticated::class, + 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, // Passport diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index a7f3f87a..dafac0c7 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -15,15 +15,9 @@ class TrustProxies extends Middleware protected $proxies; /** - * The current proxy header mappings. + * The headers that should be used to detect proxies. * - * @var array + * @var int */ - protected $headers = [ - Request::HEADER_FORWARDED => 'FORWARDED', - Request::HEADER_X_FORWARDED_FOR => 'X_FORWARDED_FOR', - Request::HEADER_X_FORWARDED_HOST => 'X_FORWARDED_HOST', - Request::HEADER_X_FORWARDED_PORT => 'X_FORWARDED_PORT', - Request::HEADER_X_FORWARDED_PROTO => 'X_FORWARDED_PROTO', - ]; + protected $headers = Request::HEADER_X_FORWARDED_ALL; } diff --git a/app/Models/Foundation/User.php b/app/Models/Foundation/User.php index 6d3f984c..cc7a0417 100644 --- a/app/Models/Foundation/User.php +++ b/app/Models/Foundation/User.php @@ -27,7 +27,7 @@ class User extends BaseUser * @var array */ protected $hidden = [ - 'remember_token', + 'password', 'remember_token', ]; /** diff --git a/composer.json b/composer.json index 5db76261..b036e3e8 100644 --- a/composer.json +++ b/composer.json @@ -4,28 +4,19 @@ "keywords": ["framework", "laravel", "someline", "someline-starter"], "license": "MIT", "type": "project", - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/BafS/api" - }, - { - "type": "vcs", - "url": "https://github.com/BafS/blueprint" - } - ], "require": { - "php": ">=7.0.0", - "fideloper/proxy": "~3.3", - "dingo/api": "v1.0.0-beta9", - "rap2hpoutre/laravel-log-viewer": "^0.10.0", - "someline/starter-framework": "1.7.*" + "php": "^7.1.3", + "fideloper/proxy": "^4.0", + "dingo/api": "v2.0.0-alpha2", + "rap2hpoutre/laravel-log-viewer": "^0.14.0", + "someline/starter-framework": "1.8.*" }, "require-dev": { - "filp/whoops": "~2.0", - "fzaninotto/faker": "~1.4", - "mockery/mockery": "0.9.*", - "phpunit/phpunit": "~6.0" + "filp/whoops": "^2.0", + "fzaninotto/faker": "^1.4", + "mockery/mockery": "^1.0", + "nunomaduro/collision": "^2.0", + "phpunit/phpunit": "^7.0" }, "autoload": { "classmap": [ @@ -60,23 +51,13 @@ "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php artisan package:discover" - ], - "post-install-cmd": [ - "Illuminate\\Foundation\\ComposerScripts::postInstall", - "php artisan ide-helper:generate", - "php artisan ide-helper:meta", - "php artisan optimize" - ], - "post-update-cmd": [ - "Illuminate\\Foundation\\ComposerScripts::postUpdate", - "php artisan ide-helper:generate", - "php artisan ide-helper:meta", - "php artisan optimize" ] }, "config": { "preferred-install": "dist", "sort-packages": true, "optimize-autoloader": true - } + }, + "minimum-stability": "dev", + "prefer-stable": true } diff --git a/composer.lock b/composer.lock index 9b376d87..19893772 100644 --- a/composer.lock +++ b/composer.lock @@ -1,10 +1,10 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1a5e12a20c0f7b0e56e3ea4e89c3cf69", + "content-hash": "ef49f17ff0cf38411b1fc7a6cbf61eec", "packages": [ { "name": "barryvdh/laravel-ide-helper", @@ -193,26 +193,27 @@ }, { "name": "dingo/api", - "version": "v1.0.0-beta9", + "version": "v2.0.0-alpha2", "source": { "type": "git", - "url": "https://github.com/BafS/api.git", - "reference": "34280965c46fbed3ddf4c0faac0ef2eda3865bb2" + "url": "https://github.com/dingo/api.git", + "reference": "d46792602a838d399dc2c84642bb1cddde1a6183" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/BafS/api/zipball/34280965c46fbed3ddf4c0faac0ef2eda3865bb2", - "reference": "34280965c46fbed3ddf4c0faac0ef2eda3865bb2", + "url": "https://api.github.com/repos/dingo/api/zipball/d46792602a838d399dc2c84642bb1cddde1a6183", + "reference": "d46792602a838d399dc2c84642bb1cddde1a6183", "shasum": "" }, "require": { - "dingo/blueprint": "0.2.*", + "dingo/blueprint": "^0.2", "illuminate/routing": "^5.1", "illuminate/support": "^5.1", - "league/fractal": ">=0.12.0", - "php": "^5.5.9 || ^7.0" + "league/fractal": "^0.17", + "php": "^7.0" }, "require-dev": { + "friendsofphp/php-cs-fixer": "~2", "illuminate/auth": "^5.1", "illuminate/cache": "^5.1", "illuminate/console": "^5.1", @@ -221,21 +222,28 @@ "illuminate/filesystem": "^5.1", "illuminate/log": "^5.1", "illuminate/pagination": "^5.1", - "laravel/lumen-framework": "5.1.* || 5.2.*", - "lucadegasperi/oauth2-server-laravel": "5.0.*", - "mockery/mockery": "~0.9", - "phpunit/phpunit": "^4.8 || ^5.0", + "laravel/lumen-framework": "^5.1", + "mockery/mockery": "~1.0", + "phpdocumentor/reflection-docblock": "3.3.2", + "phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.5", "squizlabs/php_codesniffer": "~2.0", "tymon/jwt-auth": "1.0.*" }, "suggest": { - "lucadegasperi/oauth2-server-laravel": "Protect your API with OAuth 2.0.", "tymon/jwt-auth": "Protect your API with JSON Web Tokens." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "2.0-dev" + }, + "laravel": { + "providers": [ + "Dingo\\Api\\Provider\\LaravelServiceProvider" + ], + "aliases": { + "API": "Dingo\\Api\\Facade\\API" + } } }, "autoload": { @@ -246,11 +254,7 @@ "src/helpers.php" ] }, - "autoload-dev": { - "psr-4": { - "Dingo\\Api\\Tests\\": "tests/" - } - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -267,23 +271,20 @@ "laravel", "restful" ], - "support": { - "source": "https://github.com/BafS/api/tree/v1.0.0-beta9" - }, - "time": "2017-08-29T02:52:18+00:00" + "time": "2018-02-23T23:27:41+00:00" }, { "name": "dingo/blueprint", - "version": "v0.2.3", + "version": "v0.2.4", "source": { "type": "git", - "url": "https://github.com/BafS/blueprint.git", - "reference": "445c93b7c7f31a6339f5243c2a0d7030823bc5ba" + "url": "https://github.com/dingo/blueprint.git", + "reference": "1dc93b8ea443fbbdaaca0582572ee6ca53afccfd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/BafS/blueprint/zipball/445c93b7c7f31a6339f5243c2a0d7030823bc5ba", - "reference": "445c93b7c7f31a6339f5243c2a0d7030823bc5ba", + "url": "https://api.github.com/repos/dingo/blueprint/zipball/1dc93b8ea443fbbdaaca0582572ee6ca53afccfd", + "reference": "1dc93b8ea443fbbdaaca0582572ee6ca53afccfd", "shasum": "" }, "require": { @@ -291,7 +292,7 @@ "illuminate/filesystem": "^5.1", "illuminate/support": "^5.1", "php": ">=5.5.9", - "phpdocumentor/reflection-docblock": "3.1.*" + "phpdocumentor/reflection-docblock": "^3.1" }, "require-dev": { "phpunit/phpunit": "~4.0", @@ -308,11 +309,7 @@ "Dingo\\Blueprint\\": "src" } }, - "autoload-dev": { - "psr-4": { - "Dingo\\Blueprint\\Tests\\": "tests" - } - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -330,10 +327,7 @@ "docs", "laravel" ], - "support": { - "source": "https://github.com/BafS/blueprint/tree/v0.2.3" - }, - "time": "2017-08-30T18:00:06+00:00" + "time": "2017-12-05T12:02:08+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -652,16 +646,16 @@ }, { "name": "doctrine/dbal", - "version": "v2.6.3", + "version": "v2.7.1", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "e3eed9b1facbb0ced3a0995244843a189e7d1b13" + "reference": "11037b4352c008373561dc6fc836834eed80c3b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/e3eed9b1facbb0ced3a0995244843a189e7d1b13", - "reference": "e3eed9b1facbb0ced3a0995244843a189e7d1b13", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/11037b4352c008373561dc6fc836834eed80c3b5", + "reference": "11037b4352c008373561dc6fc836834eed80c3b5", "shasum": "" }, "require": { @@ -670,9 +664,11 @@ "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "^5.4.6", + "doctrine/coding-standard": "^4.0", + "phpunit/phpunit": "^7.0", "phpunit/phpunit-mock-objects": "!=3.2.4,!=3.2.5", - "symfony/console": "2.*||^3.0" + "symfony/console": "^2.0.5||^3.0", + "symfony/phpunit-bridge": "^3.4.5|^4.0.5" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -683,7 +679,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6.x-dev" + "dev-master": "2.7.x-dev" } }, "autoload": { @@ -721,7 +717,7 @@ "persistence", "queryobject" ], - "time": "2017-11-19T13:38:54+00:00" + "time": "2018-04-07T18:44:18+00:00" }, { "name": "doctrine/inflector", @@ -844,18 +840,67 @@ ], "time": "2014-09-09T13:34:57+00:00" }, + { + "name": "dragonmantank/cron-expression", + "version": "v2.1.0", + "source": { + "type": "git", + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "3f00985deec8df53d4cc1e5c33619bda1ee309a5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/3f00985deec8df53d4cc1e5c33619bda1ee309a5", + "reference": "3f00985deec8df53d4cc1e5c33619bda1ee309a5", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": [ + "cron", + "schedule" + ], + "time": "2018-04-06T15:51:55+00:00" + }, { "name": "egulias/email-validator", - "version": "2.1.3", + "version": "2.1.4", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "1bec00a10039b823cc94eef4eddd47dcd3b2ca04" + "reference": "8790f594151ca6a2010c6218e09d96df67173ad3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/1bec00a10039b823cc94eef4eddd47dcd3b2ca04", - "reference": "1bec00a10039b823cc94eef4eddd47dcd3b2ca04", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/8790f594151ca6a2010c6218e09d96df67173ad3", + "reference": "8790f594151ca6a2010c6218e09d96df67173ad3", "shasum": "" }, "require": { @@ -864,7 +909,7 @@ }, "require-dev": { "dominicsayers/isemail": "dev-master", - "phpunit/phpunit": "^4.8.35", + "phpunit/phpunit": "^4.8.35||^5.7||^6.0", "satooshi/php-coveralls": "^1.0.1" }, "suggest": { @@ -899,23 +944,24 @@ "validation", "validator" ], - "time": "2017-11-15T23:40:40+00:00" + "time": "2018-04-10T10:11:19+00:00" }, { "name": "erusev/parsedown", - "version": "1.6.4", + "version": "1.7.1", "source": { "type": "git", "url": "https://github.com/erusev/parsedown.git", - "reference": "fbe3fe878f4fe69048bb8a52783a09802004f548" + "reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/erusev/parsedown/zipball/fbe3fe878f4fe69048bb8a52783a09802004f548", - "reference": "fbe3fe878f4fe69048bb8a52783a09802004f548", + "url": "https://api.github.com/repos/erusev/parsedown/zipball/92e9c27ba0e74b8b028b111d1b6f956a15c01fc1", + "reference": "92e9c27ba0e74b8b028b111d1b6f956a15c01fc1", "shasum": "" }, "require": { + "ext-mbstring": "*", "php": ">=5.3.0" }, "require-dev": { @@ -944,20 +990,20 @@ "markdown", "parser" ], - "time": "2017-11-14T20:44:03+00:00" + "time": "2018-03-08T01:11:30+00:00" }, { "name": "fideloper/proxy", - "version": "3.3.4", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/fideloper/TrustedProxy.git", - "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f" + "reference": "cf8a0ca4b85659b9557e206c90110a6a4dba980a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/9cdf6f118af58d89764249bbcc7bb260c132924f", - "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f", + "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/cf8a0ca4b85659b9557e206c90110a6a4dba980a", + "reference": "cf8a0ca4b85659b9557e206c90110a6a4dba980a", "shasum": "" }, "require": { @@ -965,15 +1011,12 @@ "php": ">=5.4.0" }, "require-dev": { - "illuminate/http": "~5.0", - "mockery/mockery": "~0.9.3", - "phpunit/phpunit": "^5.7" + "illuminate/http": "~5.6", + "mockery/mockery": "~1.0", + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - }, "laravel": { "providers": [ "Fideloper\\Proxy\\TrustedProxyServiceProvider" @@ -1001,7 +1044,7 @@ "proxy", "trusted proxy" ], - "time": "2017-06-15T17:19:42+00:00" + "time": "2018-02-07T20:20:57+00:00" }, { "name": "firebase/php-jwt", @@ -1051,16 +1094,16 @@ }, { "name": "giggsey/libphonenumber-for-php", - "version": "8.8.11", + "version": "8.9.4", "source": { "type": "git", "url": "https://github.com/giggsey/libphonenumber-for-php.git", - "reference": "919d24a13ff772b6af07d0f3ffefe8963cfb635c" + "reference": "dcdd1257eff60f3f3c72ba3e2d5a3b73efe317e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php/zipball/919d24a13ff772b6af07d0f3ffefe8963cfb635c", - "reference": "919d24a13ff772b6af07d0f3ffefe8963cfb635c", + "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php/zipball/dcdd1257eff60f3f3c72ba3e2d5a3b73efe317e9", + "reference": "dcdd1257eff60f3f3c72ba3e2d5a3b73efe317e9", "shasum": "" }, "require": { @@ -1074,7 +1117,7 @@ "pear/versioncontrol_git": "^0.5", "phing/phing": "^2.7", "phpunit/phpunit": "^4.8|^5.0", - "satooshi/php-coveralls": "^1.0", + "satooshi/php-coveralls": "^1.0|^2.0", "symfony/console": "^2.8|^3.0" }, "type": "library", @@ -1115,20 +1158,20 @@ "phonenumber", "validation" ], - "time": "2018-02-07T11:27:18+00:00" + "time": "2018-04-17T10:23:54+00:00" }, { "name": "giggsey/locale", - "version": "1.4", + "version": "1.5", "source": { "type": "git", "url": "https://github.com/giggsey/Locale.git", - "reference": "e351a72ad6af6b41b690efdeffe1138fe5cc8b9c" + "reference": "3c9cc23c15851c54cb3ccd41a00fd4b5a89feeff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/giggsey/Locale/zipball/e351a72ad6af6b41b690efdeffe1138fe5cc8b9c", - "reference": "e351a72ad6af6b41b690efdeffe1138fe5cc8b9c", + "url": "https://api.github.com/repos/giggsey/Locale/zipball/3c9cc23c15851c54cb3ccd41a00fd4b5a89feeff", + "reference": "3c9cc23c15851c54cb3ccd41a00fd4b5a89feeff", "shasum": "" }, "require": { @@ -1141,10 +1184,10 @@ "phing/phing": "~2.7", "phpunit/phpunit": "^4.8|^5.0", "satooshi/php-coveralls": "^1.0", - "symfony/console": "^2.8|^3.0", - "symfony/filesystem": "^2.8|^3.0", - "symfony/finder": "^2.8|^3.0", - "symfony/process": "^2.8|^3.0" + "symfony/console": "^2.8|^3.0|^4.0", + "symfony/filesystem": "^2.8|^3.0|^4.0", + "symfony/finder": "^2.8|^3.0|^4.0", + "symfony/process": "^2.8|^3.0|^4.0" }, "type": "library", "autoload": { @@ -1164,20 +1207,20 @@ } ], "description": "Locale functions required by libphonenumber-for-php", - "time": "2017-11-01T21:34:27+00:00" + "time": "2018-04-03T15:53:12+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "6.3.0", + "version": "6.3.2", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699" + "reference": "68d0ea14d5a3f42a20e87632a5f84931e2709c90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699", - "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/68d0ea14d5a3f42a20e87632a5f84931e2709c90", + "reference": "68d0ea14d5a3f42a20e87632a5f84931e2709c90", "shasum": "" }, "require": { @@ -1187,7 +1230,7 @@ }, "require-dev": { "ext-curl": "*", - "phpunit/phpunit": "^4.0 || ^5.0", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4", "psr/log": "^1.0" }, "suggest": { @@ -1196,7 +1239,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.2-dev" + "dev-master": "6.3-dev" } }, "autoload": { @@ -1229,7 +1272,7 @@ "rest", "web service" ], - "time": "2017-06-22T18:50:49+00:00" + "time": "2018-03-26T16:33:04+00:00" }, { "name": "guzzlehttp/promises", @@ -1472,20 +1515,20 @@ }, { "name": "itsgoingd/clockwork", - "version": "v1.14.5", + "version": "v2.2.4", "source": { "type": "git", "url": "https://github.com/itsgoingd/clockwork.git", - "reference": "55ec557cc8cc60944de0eefbe27f905d538a8f70" + "reference": "93127290541d9ea22f858033fe3954cb117bd63d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/itsgoingd/clockwork/zipball/55ec557cc8cc60944de0eefbe27f905d538a8f70", - "reference": "55ec557cc8cc60944de0eefbe27f905d538a8f70", + "url": "https://api.github.com/repos/itsgoingd/clockwork/zipball/93127290541d9ea22f858033fe3954cb117bd63d", + "reference": "93127290541d9ea22f858033fe3954cb117bd63d", "shasum": "" }, "require": { - "php": ">=5.3.9", + "php": ">=5.4", "psr/log": "1.*" }, "type": "library", @@ -1512,18 +1555,21 @@ { "name": "itsgoingd", "email": "itsgoingd@luzer.sk", - "homepage": "http://twitter.com/itsgoingd" + "homepage": "https://twitter.com/itsgoingd" } ], - "description": "Server-side component of Clockwork, a Chrome extension for PHP development", - "homepage": "http://github.com/itsgoingd/clockwork", + "description": "php dev tools integrated to your browser", + "homepage": "https://underground.works/clockwork", "keywords": [ + "Devtools", "debugging", "laravel", "logging", - "profiling" + "lumen", + "profiling", + "slim" ], - "time": "2017-09-15T14:50:14+00:00" + "time": "2018-03-31T15:42:01+00:00" }, { "name": "jakub-onderka/php-console-color", @@ -1614,20 +1660,20 @@ }, { "name": "jeremeamia/SuperClosure", - "version": "2.3.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/jeremeamia/super_closure.git", - "reference": "443c3df3207f176a1b41576ee2a66968a507b3db" + "reference": "5707d5821b30b9a07acfb4d76949784aaa0e9ce9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jeremeamia/super_closure/zipball/443c3df3207f176a1b41576ee2a66968a507b3db", - "reference": "443c3df3207f176a1b41576ee2a66968a507b3db", + "url": "https://api.github.com/repos/jeremeamia/super_closure/zipball/5707d5821b30b9a07acfb4d76949784aaa0e9ce9", + "reference": "5707d5821b30b9a07acfb4d76949784aaa0e9ce9", "shasum": "" }, "require": { - "nikic/php-parser": "^1.2|^2.0|^3.0", + "nikic/php-parser": "^1.2|^2.0|^3.0|^4.0", "php": ">=5.4", "symfony/polyfill-php56": "^1.0" }, @@ -1637,7 +1683,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-master": "2.4-dev" } }, "autoload": { @@ -1668,47 +1714,50 @@ "serialize", "tokenizer" ], - "time": "2016-12-07T09:37:55+00:00" + "time": "2018-03-21T22:21:57+00:00" }, { "name": "laravel/framework", - "version": "v5.5.34", + "version": "v5.6.17", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "1de7c0aec13eadbdddc2d1ba4019b064b2c6b966" + "reference": "0f787c763ae8fb9fae0c8c809830ba4fa81e2d9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/1de7c0aec13eadbdddc2d1ba4019b064b2c6b966", - "reference": "1de7c0aec13eadbdddc2d1ba4019b064b2c6b966", + "url": "https://api.github.com/repos/laravel/framework/zipball/0f787c763ae8fb9fae0c8c809830ba4fa81e2d9d", + "reference": "0f787c763ae8fb9fae0c8c809830ba4fa81e2d9d", "shasum": "" }, "require": { "doctrine/inflector": "~1.1", - "erusev/parsedown": "~1.6", + "dragonmantank/cron-expression": "~2.0", + "erusev/parsedown": "~1.7", "ext-mbstring": "*", "ext-openssl": "*", - "league/flysystem": "~1.0", + "league/flysystem": "^1.0.8", "monolog/monolog": "~1.12", - "mtdowling/cron-expression": "~1.0", - "nesbot/carbon": "~1.20", - "php": ">=7.0", + "nesbot/carbon": "1.25.*", + "php": "^7.1.3", "psr/container": "~1.0", "psr/simple-cache": "^1.0", - "ramsey/uuid": "~3.0", + "ramsey/uuid": "^3.7", "swiftmailer/swiftmailer": "~6.0", - "symfony/console": "~3.3", - "symfony/debug": "~3.3", - "symfony/finder": "~3.3", - "symfony/http-foundation": "~3.3", - "symfony/http-kernel": "~3.3", - "symfony/process": "~3.3", - "symfony/routing": "~3.3", - "symfony/var-dumper": "~3.3", - "tijsverkoyen/css-to-inline-styles": "~2.2", + "symfony/console": "~4.0", + "symfony/debug": "~4.0", + "symfony/finder": "~4.0", + "symfony/http-foundation": "~4.0", + "symfony/http-kernel": "~4.0", + "symfony/process": "~4.0", + "symfony/routing": "~4.0", + "symfony/var-dumper": "~4.0", + "tijsverkoyen/css-to-inline-styles": "^2.2.1", "vlucas/phpdotenv": "~2.2" }, + "conflict": { + "tightenco/collect": "<5.5.33" + }, "replace": { "illuminate/auth": "self.version", "illuminate/broadcasting": "self.version", @@ -1737,44 +1786,46 @@ "illuminate/support": "self.version", "illuminate/translation": "self.version", "illuminate/validation": "self.version", - "illuminate/view": "self.version", - "tightenco/collect": "self.version" + "illuminate/view": "self.version" }, "require-dev": { "aws/aws-sdk-php": "~3.0", - "doctrine/dbal": "~2.5", + "doctrine/dbal": "~2.6", "filp/whoops": "^2.1.4", + "league/flysystem-cached-adapter": "~1.0", "mockery/mockery": "~1.0", - "orchestra/testbench-core": "3.5.*", + "moontoast/math": "^1.1", + "orchestra/testbench-core": "3.6.*", "pda/pheanstalk": "~3.0", - "phpunit/phpunit": "~6.0", + "phpunit/phpunit": "~7.0", "predis/predis": "^1.1.1", - "symfony/css-selector": "~3.3", - "symfony/dom-crawler": "~3.3" + "symfony/css-selector": "~4.0", + "symfony/dom-crawler": "~4.0" }, "suggest": { "aws/aws-sdk-php": "Required to use the SQS queue driver and SES mail driver (~3.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (~2.5).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (~2.6).", "ext-pcntl": "Required to use all features of the queue worker.", "ext-posix": "Required to use all features of the queue worker.", "fzaninotto/faker": "Required to use the eloquent factory builder (~1.4).", "guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~6.0).", "laravel/tinker": "Required to use the tinker console command (~1.0).", "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (~1.0).", - "league/flysystem-cached-adapter": "Required to use Flysystem caching (~1.0).", + "league/flysystem-cached-adapter": "Required to use the Flysystem cache (~1.0).", "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (~1.0).", + "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (~1.0).", "nexmo/client": "Required to use the Nexmo transport (~1.0).", "pda/pheanstalk": "Required to use the beanstalk queue driver (~3.0).", "predis/predis": "Required to use the redis cache and queue drivers (~1.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (~3.0).", - "symfony/css-selector": "Required to use some of the crawler integration testing tools (~3.3).", - "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (~3.3).", + "symfony/css-selector": "Required to use some of the crawler integration testing tools (~4.0).", + "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (~4.0).", "symfony/psr-http-message-bridge": "Required to psr7 bridging features (~1.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.5-dev" + "dev-master": "5.6-dev" } }, "autoload": { @@ -1802,47 +1853,47 @@ "framework", "laravel" ], - "time": "2018-02-06T15:36:55+00:00" + "time": "2018-04-17T12:51:04+00:00" }, { "name": "laravel/passport", - "version": "v4.0.3", + "version": "v6.0.0", "source": { "type": "git", "url": "https://github.com/laravel/passport.git", - "reference": "0542f1f82edfbf857d0197c34a3d41f549aff30a" + "reference": "86af0267016a076d58a780a86cbcdf0448ccc95e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/passport/zipball/0542f1f82edfbf857d0197c34a3d41f549aff30a", - "reference": "0542f1f82edfbf857d0197c34a3d41f549aff30a", + "url": "https://api.github.com/repos/laravel/passport/zipball/86af0267016a076d58a780a86cbcdf0448ccc95e", + "reference": "86af0267016a076d58a780a86cbcdf0448ccc95e", "shasum": "" }, "require": { "firebase/php-jwt": "~3.0|~4.0|~5.0", "guzzlehttp/guzzle": "~6.0", - "illuminate/auth": "~5.4", - "illuminate/console": "~5.4", - "illuminate/container": "~5.4", - "illuminate/contracts": "~5.4", - "illuminate/database": "~5.4", - "illuminate/encryption": "~5.4", - "illuminate/http": "~5.4", - "illuminate/support": "~5.4", - "league/oauth2-server": "^6.0", - "php": ">=5.6.4", + "illuminate/auth": "~5.6", + "illuminate/console": "~5.6", + "illuminate/container": "~5.6", + "illuminate/contracts": "~5.6", + "illuminate/database": "~5.6", + "illuminate/encryption": "~5.6", + "illuminate/http": "~5.6", + "illuminate/support": "~5.6", + "league/oauth2-server": "^7.0", + "php": ">=7.0", "phpseclib/phpseclib": "^2.0", "symfony/psr-http-message-bridge": "~1.0", "zendframework/zend-diactoros": "~1.0" }, "require-dev": { - "mockery/mockery": "~0.9", - "phpunit/phpunit": "~5.0" + "mockery/mockery": "~1.0", + "phpunit/phpunit": "~6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "6.0-dev" }, "laravel": { "providers": [ @@ -1871,20 +1922,20 @@ "oauth", "passport" ], - "time": "2017-09-24T14:21:39+00:00" + "time": "2018-04-09T15:58:56+00:00" }, { "name": "laravel/tinker", - "version": "v1.0.3", + "version": "v1.0.6", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "852c2abe0b0991555a403f1c0583e64de6acb4a6" + "reference": "b22fe905fcefdffae76b011e27c7ac09e07e052b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/852c2abe0b0991555a403f1c0583e64de6acb4a6", - "reference": "852c2abe0b0991555a403f1c0583e64de6acb4a6", + "url": "https://api.github.com/repos/laravel/tinker/zipball/b22fe905fcefdffae76b011e27c7ac09e07e052b", + "reference": "b22fe905fcefdffae76b011e27c7ac09e07e052b", "shasum": "" }, "require": { @@ -1892,7 +1943,7 @@ "illuminate/contracts": "~5.1", "illuminate/support": "~5.1", "php": ">=5.5.9", - "psy/psysh": "0.7.*|0.8.*", + "psy/psysh": "0.7.*|0.8.*|0.9.*", "symfony/var-dumper": "~3.0|~4.0" }, "require-dev": { @@ -1934,7 +1985,7 @@ "laravel", "psysh" ], - "time": "2017-12-18T16:25:11+00:00" + "time": "2018-04-16T12:10:37+00:00" }, { "name": "lcobucci/jwt", @@ -2046,16 +2097,16 @@ }, { "name": "league/flysystem", - "version": "1.0.42", + "version": "1.0.44", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "09eabc54e199950041aef258a85847676496fe8e" + "reference": "168dbe519737221dc87d17385cde33073881fd02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/09eabc54e199950041aef258a85847676496fe8e", - "reference": "09eabc54e199950041aef258a85847676496fe8e", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/168dbe519737221dc87d17385cde33073881fd02", + "reference": "168dbe519737221dc87d17385cde33073881fd02", "shasum": "" }, "require": { @@ -2126,7 +2177,7 @@ "sftp", "storage" ], - "time": "2018-01-27T16:03:56+00:00" + "time": "2018-04-06T09:58:14+00:00" }, { "name": "league/fractal", @@ -2194,34 +2245,37 @@ }, { "name": "league/oauth2-server", - "version": "6.1.1", + "version": "7.0.0", "source": { "type": "git", "url": "https://github.com/thephpleague/oauth2-server.git", - "reference": "a0cabb573c7cd5ee01803daec992d6ee3677c4ae" + "reference": "456c6cfdd2c6cc1a949d7cd6621c575824828785" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/a0cabb573c7cd5ee01803daec992d6ee3677c4ae", - "reference": "a0cabb573c7cd5ee01803daec992d6ee3677c4ae", + "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/456c6cfdd2c6cc1a949d7cd6621c575824828785", + "reference": "456c6cfdd2c6cc1a949d7cd6621c575824828785", "shasum": "" }, "require": { "defuse/php-encryption": "^2.1", "ext-openssl": "*", - "lcobucci/jwt": "^3.1", + "lcobucci/jwt": "^3.2.2", "league/event": "^2.1", "paragonie/random_compat": "^2.0", - "php": ">=5.6.0", - "psr/http-message": "^1.0" + "php": ">=7.0.0", + "psr/http-message": "^1.0.1" }, "replace": { "league/oauth2server": "*", "lncd/oauth2": "*" }, "require-dev": { - "phpunit/phpunit": "^4.8.38 || ^5.7.21", - "zendframework/zend-diactoros": "^1.0" + "phpstan/phpstan": "^0.9.2", + "phpstan/phpstan-phpunit": "^0.9.4", + "phpstan/phpstan-strict-rules": "^0.9.0", + "phpunit/phpunit": "^6.3 || ^7.0", + "zendframework/zend-diactoros": "^1.3.2" }, "type": "library", "autoload": { @@ -2258,7 +2312,7 @@ "secure", "server" ], - "time": "2017-12-23T23:33:42+00:00" + "time": "2018-02-18T15:57:10+00:00" }, { "name": "libern/timezone", @@ -2357,25 +2411,28 @@ }, { "name": "mcamara/laravel-localization", - "version": "v1.2.7", + "version": "v1.3.6", "source": { "type": "git", "url": "https://github.com/mcamara/laravel-localization.git", - "reference": "5f7e0e646d5c2374b8adaf1757599e043cd0994d" + "reference": "68a06bcb5406083f2dbe8ac6f2344aa85381b655" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mcamara/laravel-localization/zipball/5f7e0e646d5c2374b8adaf1757599e043cd0994d", - "reference": "5f7e0e646d5c2374b8adaf1757599e043cd0994d", + "url": "https://api.github.com/repos/mcamara/laravel-localization/zipball/68a06bcb5406083f2dbe8ac6f2344aa85381b655", + "reference": "68a06bcb5406083f2dbe8ac6f2344aa85381b655", "shasum": "" }, "require": { - "laravel/framework": "~5.2, ~5.3, ~5.4", - "php": ">=5.6.0" + "laravel/framework": "~5.2||~5.3||~5.4||~5.5||~5.6", + "php": ">=7.0.0" }, "require-dev": { "orchestra/testbench-browser-kit": "~3.4", - "phpunit/phpunit": "5.4.*" + "phpunit/phpunit": "6.0.*" + }, + "suggest": { + "ext-intl": "*" }, "type": "library", "extra": { @@ -2412,20 +2469,20 @@ "localization", "php" ], - "time": "2017-08-08T04:41:28+00:00" + "time": "2018-03-15T17:23:53+00:00" }, { "name": "monarobase/country-list", - "version": "2.0.0", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/Monarobase/country-list.git", - "reference": "4a74ca733f03a7c3009ff03c43b3acdf1e804ee3" + "reference": "7d3bee9cd4712fd27ede285a01228fe1984dcf70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Monarobase/country-list/zipball/4a74ca733f03a7c3009ff03c43b3acdf1e804ee3", - "reference": "4a74ca733f03a7c3009ff03c43b3acdf1e804ee3", + "url": "https://api.github.com/repos/Monarobase/country-list/zipball/7d3bee9cd4712fd27ede285a01228fe1984dcf70", + "reference": "7d3bee9cd4712fd27ede285a01228fe1984dcf70", "shasum": "" }, "require": { @@ -2433,9 +2490,19 @@ "umpirsky/country-list": "2.0.*" }, "type": "library", + "extra": { + "laravel": { + "providers": [ + "Monarobase\\CountryList\\CountryListServiceProvider" + ], + "aliases": { + "Countries": "Monarobase\\CountryList\\CountryListFacade" + } + } + }, "autoload": { - "psr-0": { - "Monarobase\\CountryList": "src/" + "psr-4": { + "Monarobase\\CountryList\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2446,12 +2513,16 @@ { "name": "Jonathan Thuau", "email": "jonathan@monarobase.net", - "homepage": "http://monarobase.net", + "homepage": "https://monarobase.net", "role": "Developer" } ], - "description": "List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel 4", - "time": "2017-02-20T15:21:00+00:00" + "description": "List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel 4/5", + "keywords": [ + "countries", + "laravel" + ], + "time": "2018-02-20T07:38:50+00:00" }, { "name": "monolog/monolog", @@ -2531,71 +2602,27 @@ ], "time": "2017-06-19T01:22:40+00:00" }, - { - "name": "mtdowling/cron-expression", - "version": "v1.2.1", - "source": { - "type": "git", - "url": "https://github.com/mtdowling/cron-expression.git", - "reference": "9504fa9ea681b586028adaaa0877db4aecf32bad" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mtdowling/cron-expression/zipball/9504fa9ea681b586028adaaa0877db4aecf32bad", - "reference": "9504fa9ea681b586028adaaa0877db4aecf32bad", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.0|~5.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Cron\\": "src/Cron/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", - "keywords": [ - "cron", - "schedule" - ], - "time": "2017-01-23T04:29:33+00:00" - }, { "name": "nesbot/carbon", - "version": "1.22.1", + "version": "1.25.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "7cdf42c0b1cc763ab7e4c33c47a24e27c66bfccc" + "reference": "cbcf13da0b531767e39eb86e9687f5deba9857b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/7cdf42c0b1cc763ab7e4c33c47a24e27c66bfccc", - "reference": "7cdf42c0b1cc763ab7e4c33c47a24e27c66bfccc", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/cbcf13da0b531767e39eb86e9687f5deba9857b4", + "reference": "cbcf13da0b531767e39eb86e9687f5deba9857b4", "shasum": "" }, "require": { - "php": ">=5.3.0", - "symfony/translation": "~2.6 || ~3.0" + "php": ">=5.3.9", + "symfony/translation": "~2.6 || ~3.0 || ~4.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "~2", - "phpunit/phpunit": "~4.0 || ~5.0" + "phpunit/phpunit": "^4.8.35 || ^5.7" }, "type": "library", "extra": { @@ -2626,28 +2653,28 @@ "datetime", "time" ], - "time": "2017-01-16T07:55:07+00:00" + "time": "2018-03-19T15:50:49+00:00" }, { "name": "nikic/php-parser", - "version": "v3.1.4", + "version": "v4.0.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "e57b3a09784f846411aa7ed664eedb73e3399078" + "reference": "e4a54fa90a5cd8e8dd3fb4099942681731c5cdd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/e57b3a09784f846411aa7ed664eedb73e3399078", - "reference": "e57b3a09784f846411aa7ed664eedb73e3399078", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/e4a54fa90a5cd8e8dd3fb4099942681731c5cdd3", + "reference": "e4a54fa90a5cd8e8dd3fb4099942681731c5cdd3", "shasum": "" }, "require": { "ext-tokenizer": "*", - "php": ">=5.5" + "php": ">=7.0" }, "require-dev": { - "phpunit/phpunit": "~4.0|~5.0" + "phpunit/phpunit": "^6.5 || ^7.0" }, "bin": [ "bin/php-parse" @@ -2655,7 +2682,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2677,20 +2704,20 @@ "parser", "php" ], - "time": "2018-01-25T21:31:33+00:00" + "time": "2018-03-25T17:35:16+00:00" }, { "name": "paragonie/random_compat", - "version": "v2.0.11", + "version": "v2.0.12", "source": { "type": "git", "url": "https://github.com/paragonie/random_compat.git", - "reference": "5da4d3c796c275c55f057af5a643ae297d96b4d8" + "reference": "258c89a6b97de7dfaf5b8c7607d0478e236b04fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/5da4d3c796c275c55f057af5a643ae297d96b4d8", - "reference": "5da4d3c796c275c55f057af5a643ae297d96b4d8", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/258c89a6b97de7dfaf5b8c7607d0478e236b04fb", + "reference": "258c89a6b97de7dfaf5b8c7607d0478e236b04fb", "shasum": "" }, "require": { @@ -2725,7 +2752,7 @@ "pseudorandom", "random" ], - "time": "2017-09-27T21:40:39+00:00" + "time": "2018-04-04T21:24:14+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -2783,22 +2810,22 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "3.1.1", + "version": "3.3.2", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e" + "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bf329f6c1aadea3299f08ee804682b7c45b326a2", + "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2", "shasum": "" }, "require": { - "php": ">=5.5", - "phpdocumentor/reflection-common": "^1.0@dev", - "phpdocumentor/type-resolver": "^0.2.0", + "php": "^5.6 || ^7.0", + "phpdocumentor/reflection-common": "^1.0.0", + "phpdocumentor/type-resolver": "^0.4.0", "webmozart/assert": "^1.0" }, "require-dev": { @@ -2824,24 +2851,24 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2016-09-30T07:12:33+00:00" + "time": "2017-11-10T14:09:06+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "0.2.1", + "version": "0.4.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb" + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", "shasum": "" }, "require": { - "php": ">=5.5", + "php": "^5.5 || ^7.0", "phpdocumentor/reflection-common": "^1.0" }, "require-dev": { @@ -2871,20 +2898,20 @@ "email": "me@mikevanriel.com" } ], - "time": "2016-11-25T06:54:22+00:00" + "time": "2017-07-14T14:27:02+00:00" }, { "name": "phpseclib/phpseclib", - "version": "2.0.10", + "version": "2.0.11", "source": { "type": "git", "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "d305b780829ea4252ed9400b3f5937c2c99b51d4" + "reference": "7053f06f91b3de78e143d430e55a8f7889efc08b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/d305b780829ea4252ed9400b3f5937c2c99b51d4", - "reference": "d305b780829ea4252ed9400b3f5937c2c99b51d4", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/7053f06f91b3de78e143d430e55a8f7889efc08b", + "reference": "7053f06f91b3de78e143d430e55a8f7889efc08b", "shasum": "" }, "require": { @@ -2963,7 +2990,7 @@ "x.509", "x509" ], - "time": "2018-02-19T04:29:13+00:00" + "time": "2018-04-15T16:55:05+00:00" }, { "name": "predis/predis", @@ -3266,16 +3293,16 @@ }, { "name": "psr/simple-cache", - "version": "1.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/php-fig/simple-cache.git", - "reference": "753fa598e8f3b9966c886fe13f370baa45ef0e24" + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/753fa598e8f3b9966c886fe13f370baa45ef0e24", - "reference": "753fa598e8f3b9966c886fe13f370baa45ef0e24", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", "shasum": "" }, "require": { @@ -3310,33 +3337,33 @@ "psr-16", "simple-cache" ], - "time": "2017-01-02T13:31:39+00:00" + "time": "2017-10-23T01:57:42+00:00" }, { "name": "psy/psysh", - "version": "v0.8.17", + "version": "v0.9.3", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "5069b70e8c4ea492c2b5939b6eddc78bfe41cfec" + "reference": "79c280013cf0b30fa23f3ba8bd3649218075adf4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/5069b70e8c4ea492c2b5939b6eddc78bfe41cfec", - "reference": "5069b70e8c4ea492c2b5939b6eddc78bfe41cfec", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/79c280013cf0b30fa23f3ba8bd3649218075adf4", + "reference": "79c280013cf0b30fa23f3ba8bd3649218075adf4", "shasum": "" }, "require": { "dnoegel/php-xdg-base-dir": "0.1", "jakub-onderka/php-console-highlighter": "0.3.*", - "nikic/php-parser": "~1.3|~2.0|~3.0", - "php": ">=5.3.9", + "nikic/php-parser": "~1.3|~2.0|~3.0|~4.0", + "php": ">=5.4.0", "symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0", "symfony/var-dumper": "~2.7|~3.0|~4.0" }, "require-dev": { - "hoa/console": "~3.16|~1.14", - "phpunit/phpunit": "^4.8.35|^5.4.3", + "hoa/console": "~2.15|~3.16", + "phpunit/phpunit": "~4.8.35|~5.0|~6.0|~7.0", "symfony/finder": "~2.1|~3.0|~4.0" }, "suggest": { @@ -3352,15 +3379,15 @@ "type": "library", "extra": { "branch-alias": { - "dev-develop": "0.8.x-dev" + "dev-develop": "0.9.x-dev" } }, "autoload": { "files": [ - "src/Psy/functions.php" + "src/functions.php" ], "psr-4": { - "Psy\\": "src/Psy/" + "Psy\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -3382,7 +3409,7 @@ "interactive", "shell" ], - "time": "2017-12-28T16:14:16+00:00" + "time": "2018-04-18T12:32:50+00:00" }, { "name": "ramsey/uuid", @@ -3466,23 +3493,23 @@ }, { "name": "rap2hpoutre/laravel-log-viewer", - "version": "v0.10.4", + "version": "v0.14.3", "source": { "type": "git", "url": "https://github.com/rap2hpoutre/laravel-log-viewer.git", - "reference": "499263bc8459d3a9ac3950130ca169ce327f40d7" + "reference": "46b322385d7bc45b75019dc80d19bad65c0a10f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rap2hpoutre/laravel-log-viewer/zipball/499263bc8459d3a9ac3950130ca169ce327f40d7", - "reference": "499263bc8459d3a9ac3950130ca169ce327f40d7", + "url": "https://api.github.com/repos/rap2hpoutre/laravel-log-viewer/zipball/46b322385d7bc45b75019dc80d19bad65c0a10f7", + "reference": "46b322385d7bc45b75019dc80d19bad65c0a10f7", "shasum": "" }, "require": { "illuminate/support": "4.2.*|5.*", "php": ">=5.4.0" }, - "type": "library", + "type": "laravel-package", "extra": { "laravel": { "providers": [ @@ -3517,25 +3544,25 @@ "logging", "lumen" ], - "time": "2017-06-29T11:18:01+00:00" + "time": "2018-03-20T21:24:28+00:00" }, { "name": "someline/rest-api-client", - "version": "v1.2.1", + "version": "v1.2.2", "source": { "type": "git", "url": "https://github.com/someline/rest-api-client.git", - "reference": "935f51de565dbe9cf3e1406a7935181c752dc90a" + "reference": "a2404264a1dcd266e6be0b7c53e9a4e76069fedc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/someline/rest-api-client/zipball/935f51de565dbe9cf3e1406a7935181c752dc90a", - "reference": "935f51de565dbe9cf3e1406a7935181c752dc90a", + "url": "https://api.github.com/repos/someline/rest-api-client/zipball/a2404264a1dcd266e6be0b7c53e9a4e76069fedc", + "reference": "a2404264a1dcd266e6be0b7c53e9a4e76069fedc", "shasum": "" }, "require": { "guzzlehttp/guzzle": "~6.0", - "laravel/framework": "5.2.*|5.3.*|5.4.*|5.5.*", + "laravel/framework": "5.2.*|5.3.*|5.4.*|5.5.*|5.6.*", "php": ">=5.3.0" }, "require-dev": { @@ -3578,26 +3605,26 @@ "rest", "someline-starter" ], - "time": "2017-09-01T13:20:33+00:00" + "time": "2018-04-20T10:48:18+00:00" }, { "name": "someline/someline-image", - "version": "v2.2.3", + "version": "v2.2.4", "source": { "type": "git", "url": "https://github.com/someline/someline-image.git", - "reference": "58f2a49db6e6cad554233f278ce01d87a02ebce6" + "reference": "4ac437fa729e626e6b141e55f534191203ed3a7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/someline/someline-image/zipball/58f2a49db6e6cad554233f278ce01d87a02ebce6", - "reference": "58f2a49db6e6cad554233f278ce01d87a02ebce6", + "url": "https://api.github.com/repos/someline/someline-image/zipball/4ac437fa729e626e6b141e55f534191203ed3a7e", + "reference": "4ac437fa729e626e6b141e55f534191203ed3a7e", "shasum": "" }, "require": { "intervention/image": "^2.3", "intervention/imagecache": "~2.1", - "laravel/framework": "5.2.*|5.3.*|5.4.*|5.5.*", + "laravel/framework": "5.2.*|5.3.*|5.4.*|5.5.*|5.6.*", "php": ">=5.3.0" }, "require-dev": { @@ -3643,39 +3670,40 @@ "someline-starter", "starter-framework" ], - "time": "2017-10-27T08:18:25+00:00" + "time": "2018-04-20T10:46:34+00:00" }, { "name": "someline/starter-framework", - "version": "v1.7.9", + "version": "v1.8.1", "source": { "type": "git", "url": "https://github.com/someline/starter-framework.git", - "reference": "0df919befbf7658f0c2f195750cd438a390b6e72" + "reference": "f0b6b24a52cfa250b0342633ee57c3c8b8f73953" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/someline/starter-framework/zipball/0df919befbf7658f0c2f195750cd438a390b6e72", - "reference": "0df919befbf7658f0c2f195750cd438a390b6e72", + "url": "https://api.github.com/repos/someline/starter-framework/zipball/f0b6b24a52cfa250b0342633ee57c3c8b8f73953", + "reference": "f0b6b24a52cfa250b0342633ee57c3c8b8f73953", "shasum": "" }, "require": { "barryvdh/laravel-ide-helper": "^2.4", - "doctrine/dbal": "~2.6", + "doctrine/dbal": "~2.7", "ext-pdo_sqlite": "*", - "giggsey/libphonenumber-for-php": "~8.8", + "fideloper/proxy": "^4.0", + "giggsey/libphonenumber-for-php": "~8.9", "guzzlehttp/guzzle": "~6.3", "intervention/image": "^2.4", "intervention/imagecache": "^2.3", - "itsgoingd/clockwork": "~1.14", - "laravel/framework": "5.5.*", - "laravel/passport": "^4.0", + "itsgoingd/clockwork": "~2.2", + "laravel/framework": "5.6.*", + "laravel/passport": "^6.0", "laravel/tinker": "~1.0", "libern/timezone": "^1.0", "lukasoppermann/http-status": "^2.0", - "mcamara/laravel-localization": "1.2.*", - "monarobase/country-list": "^2.0", - "php": ">=7.1.0", + "mcamara/laravel-localization": "1.3.*", + "monarobase/country-list": "^2.1", + "php": "^7.1.3", "predis/predis": "~1.1", "prettus/l5-repository": "^2.6", "prettus/laravel-validation": "1.1.*", @@ -3725,7 +3753,7 @@ "someline", "starter-framework" ], - "time": "2018-02-20T08:55:21+00:00" + "time": "2018-04-20T10:50:35+00:00" }, { "name": "swiftmailer/swiftmailer", @@ -3784,7 +3812,7 @@ }, { "name": "symfony/class-loader", - "version": "v3.4.4", + "version": "v3.4.8", "source": { "type": "git", "url": "https://github.com/symfony/class-loader.git", @@ -3840,21 +3868,20 @@ }, { "name": "symfony/console", - "version": "v3.4.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "26b6f419edda16c19775211987651cb27baea7f1" + "reference": "aad9a6fe47319f22748fd764f52d3a7ca6fa6b64" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/26b6f419edda16c19775211987651cb27baea7f1", - "reference": "26b6f419edda16c19775211987651cb27baea7f1", + "url": "https://api.github.com/repos/symfony/console/zipball/aad9a6fe47319f22748fd764f52d3a7ca6fa6b64", + "reference": "aad9a6fe47319f22748fd764f52d3a7ca6fa6b64", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/debug": "~2.8|~3.0|~4.0", + "php": "^7.1.3", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { @@ -3863,11 +3890,11 @@ }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~3.3|~4.0", + "symfony/config": "~3.4|~4.0", "symfony/dependency-injection": "~3.4|~4.0", - "symfony/event-dispatcher": "~2.8|~3.0|~4.0", + "symfony/event-dispatcher": "~3.4|~4.0", "symfony/lock": "~3.4|~4.0", - "symfony/process": "~3.3|~4.0" + "symfony/process": "~3.4|~4.0" }, "suggest": { "psr/log": "For using the console logger", @@ -3878,7 +3905,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -3905,20 +3932,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2018-01-29T09:03:43+00:00" + "time": "2018-04-03T05:24:00+00:00" }, { "name": "symfony/css-selector", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "f97600434e3141ef3cbb9ea42cf500fba88022b7" + "reference": "03f965583147957f1ecbad7ea1c9d6fd5e525ec2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/f97600434e3141ef3cbb9ea42cf500fba88022b7", - "reference": "f97600434e3141ef3cbb9ea42cf500fba88022b7", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/03f965583147957f1ecbad7ea1c9d6fd5e525ec2", + "reference": "03f965583147957f1ecbad7ea1c9d6fd5e525ec2", "shasum": "" }, "require": { @@ -3958,36 +3985,36 @@ ], "description": "Symfony CssSelector Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:38:00+00:00" + "time": "2018-03-19T22:35:49+00:00" }, { "name": "symfony/debug", - "version": "v3.4.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "53f6af2805daf52a43b393b93d2f24925d35c937" + "reference": "5961d02d48828671f5d8a7805e06579d692f6ede" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/53f6af2805daf52a43b393b93d2f24925d35c937", - "reference": "53f6af2805daf52a43b393b93d2f24925d35c937", + "url": "https://api.github.com/repos/symfony/debug/zipball/5961d02d48828671f5d8a7805e06579d692f6ede", + "reference": "5961d02d48828671f5d8a7805e06579d692f6ede", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "psr/log": "~1.0" }, "conflict": { - "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" + "symfony/http-kernel": "<3.4" }, "require-dev": { - "symfony/http-kernel": "~2.8|~3.0|~4.0" + "symfony/http-kernel": "~3.4|~4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4014,20 +4041,20 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2018-01-18T22:16:57+00:00" + "time": "2018-04-03T05:24:00+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "74d33aac36208c4d6757807d9f598f0133a3a4eb" + "reference": "63353a71073faf08f62caab4e6889b06a787f07b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/74d33aac36208c4d6757807d9f598f0133a3a4eb", - "reference": "74d33aac36208c4d6757807d9f598f0133a3a4eb", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/63353a71073faf08f62caab4e6889b06a787f07b", + "reference": "63353a71073faf08f62caab4e6889b06a787f07b", "shasum": "" }, "require": { @@ -4077,29 +4104,29 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:38:00+00:00" + "time": "2018-04-06T07:35:43+00:00" }, { "name": "symfony/finder", - "version": "v3.4.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "613e26310776f49a1773b6737c6bd554b8bc8c6f" + "reference": "ca27c02b7a3fef4828c998c2ff9ba7aae1641c49" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/613e26310776f49a1773b6737c6bd554b8bc8c6f", - "reference": "613e26310776f49a1773b6737c6bd554b8bc8c6f", + "url": "https://api.github.com/repos/symfony/finder/zipball/ca27c02b7a3fef4828c998c2ff9ba7aae1641c49", + "reference": "ca27c02b7a3fef4828c998c2ff9ba7aae1641c49", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8" + "php": "^7.1.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4126,34 +4153,33 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:37:34+00:00" + "time": "2018-04-04T05:10:37+00:00" }, { "name": "symfony/http-foundation", - "version": "v3.4.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "8c39071ac9cc7e6d8dab1d556c990dc0d2cc3d30" + "reference": "d0864a82e5891ab61d31eecbaa48bed5a09b8e6c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/8c39071ac9cc7e6d8dab1d556c990dc0d2cc3d30", - "reference": "8c39071ac9cc7e6d8dab1d556c990dc0d2cc3d30", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d0864a82e5891ab61d31eecbaa48bed5a09b8e6c", + "reference": "d0864a82e5891ab61d31eecbaa48bed5a09b8e6c", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/polyfill-mbstring": "~1.1", - "symfony/polyfill-php70": "~1.6" + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.1" }, "require-dev": { - "symfony/expression-language": "~2.8|~3.0|~4.0" + "symfony/expression-language": "~3.4|~4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4180,33 +4206,33 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2018-01-29T09:03:43+00:00" + "time": "2018-04-03T05:24:00+00:00" }, { "name": "symfony/http-kernel", - "version": "v3.4.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "911d2e5dd4beb63caad9a72e43857de984301907" + "reference": "6dd620d96d64456075536ffe3c6c4658dd689021" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/911d2e5dd4beb63caad9a72e43857de984301907", - "reference": "911d2e5dd4beb63caad9a72e43857de984301907", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/6dd620d96d64456075536ffe3c6c4658dd689021", + "reference": "6dd620d96d64456075536ffe3c6c4658dd689021", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "psr/log": "~1.0", - "symfony/debug": "~2.8|~3.0|~4.0", - "symfony/event-dispatcher": "~2.8|~3.0|~4.0", - "symfony/http-foundation": "^3.4.4|^4.0.4" + "symfony/debug": "~3.4|~4.0", + "symfony/event-dispatcher": "~3.4|~4.0", + "symfony/http-foundation": "~3.4.4|~4.0.4" }, "conflict": { - "symfony/config": "<2.8", - "symfony/dependency-injection": "<3.4", - "symfony/var-dumper": "<3.3", + "symfony/config": "<3.4", + "symfony/dependency-injection": "<3.4.5|<4.0.5,>=4", + "symfony/var-dumper": "<3.4", "twig/twig": "<1.34|<2.4,>=2" }, "provide": { @@ -4214,34 +4240,32 @@ }, "require-dev": { "psr/cache": "~1.0", - "symfony/browser-kit": "~2.8|~3.0|~4.0", - "symfony/class-loader": "~2.8|~3.0", - "symfony/config": "~2.8|~3.0|~4.0", - "symfony/console": "~2.8|~3.0|~4.0", - "symfony/css-selector": "~2.8|~3.0|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/dom-crawler": "~2.8|~3.0|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/finder": "~2.8|~3.0|~4.0", - "symfony/process": "~2.8|~3.0|~4.0", + "symfony/browser-kit": "~3.4|~4.0", + "symfony/config": "~3.4|~4.0", + "symfony/console": "~3.4|~4.0", + "symfony/css-selector": "~3.4|~4.0", + "symfony/dependency-injection": "^3.4.5|^4.0.5", + "symfony/dom-crawler": "~3.4|~4.0", + "symfony/expression-language": "~3.4|~4.0", + "symfony/finder": "~3.4|~4.0", + "symfony/process": "~3.4|~4.0", "symfony/routing": "~3.4|~4.0", - "symfony/stopwatch": "~2.8|~3.0|~4.0", - "symfony/templating": "~2.8|~3.0|~4.0", - "symfony/translation": "~2.8|~3.0|~4.0", - "symfony/var-dumper": "~3.3|~4.0" + "symfony/stopwatch": "~3.4|~4.0", + "symfony/templating": "~3.4|~4.0", + "symfony/translation": "~3.4|~4.0", + "symfony/var-dumper": "~3.4|~4.0" }, "suggest": { "symfony/browser-kit": "", "symfony/config": "", "symfony/console": "", "symfony/dependency-injection": "", - "symfony/finder": "", "symfony/var-dumper": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4268,7 +4292,7 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2018-01-29T12:29:46+00:00" + "time": "2018-04-06T16:25:03+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -4386,21 +4410,20 @@ "time": "2018-01-30T19:27:44+00:00" }, { - "name": "symfony/polyfill-php70", + "name": "symfony/polyfill-php72", "version": "v1.7.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "3532bfcd8f933a7816f3a0a59682fc404776600f" + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "8eca20c8a369e069d4f4c2ac9895144112867422" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/3532bfcd8f933a7816f3a0a59682fc404776600f", - "reference": "3532bfcd8f933a7816f3a0a59682fc404776600f", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/8eca20c8a369e069d4f4c2ac9895144112867422", + "reference": "8eca20c8a369e069d4f4c2ac9895144112867422", "shasum": "" }, "require": { - "paragonie/random_compat": "~1.0|~2.0", "php": ">=5.3.3" }, "type": "library", @@ -4411,13 +4434,10 @@ }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" + "Symfony\\Polyfill\\Php72\\": "" }, "files": [ "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -4434,7 +4454,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -4442,7 +4462,7 @@ "portable", "shim" ], - "time": "2018-01-30T19:27:44+00:00" + "time": "2018-01-31T17:43:24+00:00" }, { "name": "symfony/polyfill-util", @@ -4498,25 +4518,25 @@ }, { "name": "symfony/process", - "version": "v3.4.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "09a5172057be8fc677840e591b17f385e58c7c0d" + "reference": "d7dc1ee5dfe9f732cb1bba7310f5b99f2b7a6d25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/09a5172057be8fc677840e591b17f385e58c7c0d", - "reference": "09a5172057be8fc677840e591b17f385e58c7c0d", + "url": "https://api.github.com/repos/symfony/process/zipball/d7dc1ee5dfe9f732cb1bba7310f5b99f2b7a6d25", + "reference": "d7dc1ee5dfe9f732cb1bba7310f5b99f2b7a6d25", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8" + "php": "^7.1.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4543,7 +4563,7 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2018-01-29T09:03:43+00:00" + "time": "2018-04-03T05:24:00+00:00" }, { "name": "symfony/psr-http-message-bridge", @@ -4607,34 +4627,34 @@ }, { "name": "symfony/routing", - "version": "v3.4.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "235d01730d553a97732990588407eaf6779bb4b2" + "reference": "0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/235d01730d553a97732990588407eaf6779bb4b2", - "reference": "235d01730d553a97732990588407eaf6779bb4b2", + "url": "https://api.github.com/repos/symfony/routing/zipball/0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71", + "reference": "0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8" + "php": "^7.1.3" }, "conflict": { - "symfony/config": "<2.8", - "symfony/dependency-injection": "<3.3", + "symfony/config": "<3.4", + "symfony/dependency-injection": "<3.4", "symfony/yaml": "<3.4" }, "require-dev": { "doctrine/annotations": "~1.0", "doctrine/common": "~2.2", "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0|~4.0", - "symfony/dependency-injection": "~3.3|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/http-foundation": "~2.8|~3.0|~4.0", + "symfony/config": "~3.4|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/expression-language": "~3.4|~4.0", + "symfony/http-foundation": "~3.4|~4.0", "symfony/yaml": "~3.4|~4.0" }, "suggest": { @@ -4648,7 +4668,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4681,37 +4701,37 @@ "uri", "url" ], - "time": "2018-01-16T18:03:57+00:00" + "time": "2018-04-04T13:50:32+00:00" }, { "name": "symfony/translation", - "version": "v3.4.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "10b32cf0eae28b9b39fe26c456c42b19854c4b84" + "reference": "e20a9b7f9f62cb33a11638b345c248e7d510c938" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/10b32cf0eae28b9b39fe26c456c42b19854c4b84", - "reference": "10b32cf0eae28b9b39fe26c456c42b19854c4b84", + "url": "https://api.github.com/repos/symfony/translation/zipball/e20a9b7f9f62cb33a11638b345c248e7d510c938", + "reference": "e20a9b7f9f62cb33a11638b345c248e7d510c938", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/config": "<2.8", + "symfony/config": "<3.4", "symfony/dependency-injection": "<3.4", "symfony/yaml": "<3.4" }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0|~4.0", + "symfony/config": "~3.4|~4.0", "symfony/dependency-injection": "~3.4|~4.0", "symfony/finder": "~2.8|~3.0|~4.0", - "symfony/intl": "^2.8.18|^3.2.5|~4.0", + "symfony/intl": "~3.4|~4.0", "symfony/yaml": "~3.4|~4.0" }, "suggest": { @@ -4722,7 +4742,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4749,25 +4769,26 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2018-01-18T22:16:57+00:00" + "time": "2018-02-22T10:50:29+00:00" }, { "name": "symfony/var-dumper", - "version": "v3.4.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "472a9849930cf21f73abdb02240f17cf5b5bd1a7" + "reference": "e1b4d008100f4d203cc38b0d793ad6252d8d8af0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/472a9849930cf21f73abdb02240f17cf5b5bd1a7", - "reference": "472a9849930cf21f73abdb02240f17cf5b5bd1a7", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/e1b4d008100f4d203cc38b0d793ad6252d8d8af0", + "reference": "e1b4d008100f4d203cc38b0d793ad6252d8d8af0", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/polyfill-mbstring": "~1.0" + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php72": "~1.5" }, "conflict": { "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0" @@ -4778,13 +4799,12 @@ }, "suggest": { "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", - "ext-intl": "To show region name in time zone dump", - "ext-symfony_debug": "" + "ext-intl": "To show region name in time zone dump" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4818,7 +4838,7 @@ "debug", "dump" ], - "time": "2018-01-29T09:03:43+00:00" + "time": "2018-04-04T05:10:37+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -4869,21 +4889,21 @@ }, { "name": "torann/geoip", - "version": "1.0.5", + "version": "1.0.6", "source": { "type": "git", "url": "https://github.com/Torann/laravel-geoip.git", - "reference": "b5d77ed475a3a4266ae91242686ce017d8430db9" + "reference": "45f528171d777615c4dc5babd439617e31f15faf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Torann/laravel-geoip/zipball/b5d77ed475a3a4266ae91242686ce017d8430db9", - "reference": "b5d77ed475a3a4266ae91242686ce017d8430db9", + "url": "https://api.github.com/repos/Torann/laravel-geoip/zipball/45f528171d777615c4dc5babd439617e31f15faf", + "reference": "45f528171d777615c4dc5babd439617e31f15faf", "shasum": "" }, "require": { - "illuminate/console": "~5.0", - "illuminate/support": "~5.0", + "illuminate/console": "5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.*", + "illuminate/support": "5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.*", "php": ">=5.5.9" }, "require-dev": { @@ -4919,7 +4939,7 @@ }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD 2-Clause" + "BSD-2-Clause" ], "authors": [ { @@ -4938,30 +4958,37 @@ "location", "maxmind" ], - "time": "2017-09-19T23:43:25+00:00" + "time": "2018-04-12T14:16:13+00:00" }, { "name": "umpirsky/country-list", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/umpirsky/country-list.git", - "reference": "19547a3f3741cb227a867da0c19511580d71f0bb" + "reference": "ddabf3a8ef2956fc0fbd22da9bec642ab6cfdede" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/umpirsky/country-list/zipball/19547a3f3741cb227a867da0c19511580d71f0bb", - "reference": "19547a3f3741cb227a867da0c19511580d71f0bb", + "url": "https://api.github.com/repos/umpirsky/country-list/zipball/ddabf3a8ef2956fc0fbd22da9bec642ab6cfdede", + "reference": "ddabf3a8ef2956fc0fbd22da9bec642ab6cfdede", "shasum": "" }, "require": { - "php": "^7.1" + "php": "^7.0" }, "require-dev": { + "slowprog/composer-copy-file": "^0.2", "symfony/locale": "^2.7|^3.0", - "umpirsky/list-generator": "^1.1" + "umpirsky/list-generator": "^1.2" }, "type": "library", + "extra": { + "copy-file": { + "vendor/umpirsky/list-generator/Dockerfile": "./", + "vendor/umpirsky/list-generator/docker-compose.yml": "./" + } + }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" @@ -4973,7 +5000,7 @@ } ], "description": "List of all countries with names and ISO 3166-1 codes in all languages and data formats.", - "time": "2018-01-13T16:53:17+00:00" + "time": "2018-02-27T18:55:19+00:00" }, { "name": "vlucas/phpdotenv", @@ -5077,16 +5104,16 @@ }, { "name": "zendframework/zend-diactoros", - "version": "1.7.0", + "version": "1.7.1", "source": { "type": "git", "url": "https://github.com/zendframework/zend-diactoros.git", - "reference": "ed6ce7e2105c400ca10277643a8327957c0384b7" + "reference": "bf26aff803a11c5cc8eb7c4878a702c403ec67f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/ed6ce7e2105c400ca10277643a8327957c0384b7", - "reference": "ed6ce7e2105c400ca10277643a8327957c0384b7", + "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/bf26aff803a11c5cc8eb7c4878a702c403ec67f1", + "reference": "bf26aff803a11c5cc8eb7c4878a702c403ec67f1", "shasum": "" }, "require": { @@ -5125,7 +5152,7 @@ "psr", "psr-7" ], - "time": "2018-01-04T18:21:48+00:00" + "time": "2018-02-26T15:44:50+00:00" } ], "packages-dev": [ @@ -5296,20 +5323,20 @@ }, { "name": "hamcrest/hamcrest-php", - "version": "v1.2.2", + "version": "v2.0.0", "source": { "type": "git", "url": "https://github.com/hamcrest/hamcrest-php.git", - "reference": "b37020aa976fa52d3de9aa904aa2522dc518f79c" + "reference": "776503d3a8e85d4f9a1148614f95b7a608b046ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/b37020aa976fa52d3de9aa904aa2522dc518f79c", - "reference": "b37020aa976fa52d3de9aa904aa2522dc518f79c", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/776503d3a8e85d4f9a1148614f95b7a608b046ad", + "reference": "776503d3a8e85d4f9a1148614f95b7a608b046ad", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": "^5.3|^7.0" }, "replace": { "cordoval/hamcrest-php": "*", @@ -5318,15 +5345,18 @@ }, "require-dev": { "phpunit/php-file-iterator": "1.3.3", - "satooshi/php-coveralls": "dev-master" + "phpunit/phpunit": "~4.0", + "satooshi/php-coveralls": "^1.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, "autoload": { "classmap": [ "hamcrest" - ], - "files": [ - "hamcrest/Hamcrest.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -5337,34 +5367,34 @@ "keywords": [ "test" ], - "time": "2015-05-11T14:41:42+00:00" + "time": "2016-01-20T08:20:44+00:00" }, { "name": "mockery/mockery", - "version": "0.9.9", + "version": "1.0", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "6fdb61243844dc924071d3404bb23994ea0b6856" + "reference": "1bac8c362b12f522fdd1f1fa3556284c91affa38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/6fdb61243844dc924071d3404bb23994ea0b6856", - "reference": "6fdb61243844dc924071d3404bb23994ea0b6856", + "url": "https://api.github.com/repos/mockery/mockery/zipball/1bac8c362b12f522fdd1f1fa3556284c91affa38", + "reference": "1bac8c362b12f522fdd1f1fa3556284c91affa38", "shasum": "" }, "require": { - "hamcrest/hamcrest-php": "~1.1", + "hamcrest/hamcrest-php": "~2.0", "lib-pcre": ">=7.0", - "php": ">=5.3.2" + "php": ">=5.6.0" }, "require-dev": { - "phpunit/phpunit": "~4.0" + "phpunit/phpunit": "~5.7|~6.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.9.x-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { @@ -5389,7 +5419,7 @@ } ], "description": "Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.", - "homepage": "http://github.com/padraic/mockery", + "homepage": "http://github.com/mockery/mockery", "keywords": [ "BDD", "TDD", @@ -5402,7 +5432,7 @@ "test double", "testing" ], - "time": "2017-02-28T12:52:32+00:00" + "time": "2017-10-06T16:20:43+00:00" }, { "name": "myclabs/deep-copy", @@ -5449,6 +5479,68 @@ ], "time": "2017-10-19T19:58:43+00:00" }, + { + "name": "nunomaduro/collision", + "version": "v2.0.2", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/collision.git", + "reference": "245958b02c6a9edf24627380f368333ac5413a51" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/245958b02c6a9edf24627380f368333ac5413a51", + "reference": "245958b02c6a9edf24627380f368333ac5413a51", + "shasum": "" + }, + "require": { + "filp/whoops": "^2.1.4", + "jakub-onderka/php-console-highlighter": "0.3.*", + "php": "^7.1", + "symfony/console": "~2.8|~3.3|~4.0" + }, + "require-dev": { + "laravel/framework": "5.6.*", + "phpunit/phpunit": "~7.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "NunoMaduro\\Collision\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Cli error handling for console/command-line PHP applications.", + "keywords": [ + "artisan", + "cli", + "command-line", + "console", + "error", + "handling", + "laravel", + "laravel-zero", + "php", + "symfony" + ], + "time": "2018-03-21T20:11:24+00:00" + }, { "name": "phar-io/manifest", "version": "1.0.1", @@ -5553,23 +5645,23 @@ }, { "name": "phpspec/prophecy", - "version": "1.7.5", + "version": "1.7.6", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401" + "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/dfd6be44111a7c41c2e884a336cc4f461b3b2401", - "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/33a7e3c4fda54e912ff6338c48823bd5c0f0b712", + "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", - "sebastian/comparator": "^1.1|^2.0", + "sebastian/comparator": "^1.1|^2.0|^3.0", "sebastian/recursion-context": "^1.0|^2.0|^3.0" }, "require-dev": { @@ -5612,44 +5704,44 @@ "spy", "stub" ], - "time": "2018-02-19T10:16:54+00:00" + "time": "2018-04-18T13:57:24+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "5.3.0", + "version": "6.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "661f34d0bd3f1a7225ef491a70a020ad23a057a1" + "reference": "774a82c0c5da4c1c7701790c262035d235ab7856" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/661f34d0bd3f1a7225ef491a70a020ad23a057a1", - "reference": "661f34d0bd3f1a7225ef491a70a020ad23a057a1", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/774a82c0c5da4c1c7701790c262035d235ab7856", + "reference": "774a82c0c5da4c1c7701790c262035d235ab7856", "shasum": "" }, "require": { "ext-dom": "*", "ext-xmlwriter": "*", - "php": "^7.0", + "php": "^7.1", "phpunit/php-file-iterator": "^1.4.2", "phpunit/php-text-template": "^1.2.1", - "phpunit/php-token-stream": "^2.0.1", + "phpunit/php-token-stream": "^3.0", "sebastian/code-unit-reverse-lookup": "^1.0.1", - "sebastian/environment": "^3.0", + "sebastian/environment": "^3.1", "sebastian/version": "^2.0.1", "theseer/tokenizer": "^1.1" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^7.0" }, "suggest": { - "ext-xdebug": "^2.5.5" + "ext-xdebug": "^2.6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.3.x-dev" + "dev-master": "6.0-dev" } }, "autoload": { @@ -5675,7 +5767,7 @@ "testing", "xunit" ], - "time": "2017-12-06T09:29:45+00:00" + "time": "2018-04-06T15:39:20+00:00" }, { "name": "phpunit/php-file-iterator", @@ -5767,28 +5859,28 @@ }, { "name": "phpunit/php-timer", - "version": "1.0.9", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" + "reference": "8b8454ea6958c3dee38453d3bd571e023108c91f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/8b8454ea6958c3dee38453d3bd571e023108c91f", + "reference": "8b8454ea6958c3dee38453d3bd571e023108c91f", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -5803,7 +5895,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -5812,33 +5904,33 @@ "keywords": [ "timer" ], - "time": "2017-02-26T11:10:40+00:00" + "time": "2018-02-01T13:07:23+00:00" }, { "name": "phpunit/php-token-stream", - "version": "2.0.2", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "791198a2c6254db10131eecfe8c06670700904db" + "reference": "21ad88bbba7c3d93530d93994e0a33cd45f02ace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db", - "reference": "791198a2c6254db10131eecfe8c06670700904db", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/21ad88bbba7c3d93530d93994e0a33cd45f02ace", + "reference": "21ad88bbba7c3d93530d93994e0a33cd45f02ace", "shasum": "" }, "require": { "ext-tokenizer": "*", - "php": "^7.0" + "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "^6.2.4" + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -5861,20 +5953,20 @@ "keywords": [ "tokenizer" ], - "time": "2017-11-27T05:48:46+00:00" + "time": "2018-02-01T13:16:43+00:00" }, { "name": "phpunit/phpunit", - "version": "6.5.6", + "version": "7.1.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3330ef26ade05359d006041316ed0fa9e8e3cefe" + "reference": "6d51299e307dc510149e0b7cd1931dd11770e1cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3330ef26ade05359d006041316ed0fa9e8e3cefe", - "reference": "3330ef26ade05359d006041316ed0fa9e8e3cefe", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6d51299e307dc510149e0b7cd1931dd11770e1cb", + "reference": "6d51299e307dc510149e0b7cd1931dd11770e1cb", "shasum": "" }, "require": { @@ -5886,15 +5978,15 @@ "myclabs/deep-copy": "^1.6.1", "phar-io/manifest": "^1.0.1", "phar-io/version": "^1.0", - "php": "^7.0", + "php": "^7.1", "phpspec/prophecy": "^1.7", - "phpunit/php-code-coverage": "^5.3", + "phpunit/php-code-coverage": "^6.0.1", "phpunit/php-file-iterator": "^1.4.3", "phpunit/php-text-template": "^1.2.1", - "phpunit/php-timer": "^1.0.9", - "phpunit/phpunit-mock-objects": "^5.0.5", - "sebastian/comparator": "^2.1", - "sebastian/diff": "^2.0", + "phpunit/php-timer": "^2.0", + "phpunit/phpunit-mock-objects": "^6.1.1", + "sebastian/comparator": "^2.1 || ^3.0", + "sebastian/diff": "^3.0", "sebastian/environment": "^3.1", "sebastian/exporter": "^3.1", "sebastian/global-state": "^2.0", @@ -5902,16 +5994,12 @@ "sebastian/resource-operations": "^1.0", "sebastian/version": "^2.0.1" }, - "conflict": { - "phpdocumentor/reflection-docblock": "3.0.2", - "phpunit/dbunit": "<3.0" - }, "require-dev": { "ext-pdo": "*" }, "suggest": { "ext-xdebug": "*", - "phpunit/php-invoker": "^1.1" + "phpunit/php-invoker": "^2.0" }, "bin": [ "phpunit" @@ -5919,7 +6007,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.5.x-dev" + "dev-master": "7.1-dev" } }, "autoload": { @@ -5945,33 +6033,30 @@ "testing", "xunit" ], - "time": "2018-02-01T05:57:37+00:00" + "time": "2018-04-18T13:41:53+00:00" }, { "name": "phpunit/phpunit-mock-objects", - "version": "5.0.6", + "version": "6.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "33fd41a76e746b8fa96d00b49a23dadfa8334cdf" + "reference": "70c740bde8fd9ea9ea295be1cd875dd7b267e157" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/33fd41a76e746b8fa96d00b49a23dadfa8334cdf", - "reference": "33fd41a76e746b8fa96d00b49a23dadfa8334cdf", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/70c740bde8fd9ea9ea295be1cd875dd7b267e157", + "reference": "70c740bde8fd9ea9ea295be1cd875dd7b267e157", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.5", - "php": "^7.0", + "php": "^7.1", "phpunit/php-text-template": "^1.2.1", "sebastian/exporter": "^3.1" }, - "conflict": { - "phpunit/phpunit": "<6.0" - }, "require-dev": { - "phpunit/phpunit": "^6.5" + "phpunit/phpunit": "^7.0" }, "suggest": { "ext-soap": "*" @@ -5979,7 +6064,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0.x-dev" + "dev-master": "6.1-dev" } }, "autoload": { @@ -6004,7 +6089,7 @@ "mock", "xunit" ], - "time": "2018-01-06T05:45:45+00:00" + "time": "2018-04-11T04:50:36+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -6053,30 +6138,30 @@ }, { "name": "sebastian/comparator", - "version": "2.1.3", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9" + "reference": "ed5fd2281113729f1ebcc64d101ad66028aeb3d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9", - "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/ed5fd2281113729f1ebcc64d101ad66028aeb3d5", + "reference": "ed5fd2281113729f1ebcc64d101ad66028aeb3d5", "shasum": "" }, "require": { - "php": "^7.0", - "sebastian/diff": "^2.0 || ^3.0", + "php": "^7.1", + "sebastian/diff": "^3.0", "sebastian/exporter": "^3.1" }, "require-dev": { - "phpunit/phpunit": "^6.4" + "phpunit/phpunit": "^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1.x-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -6113,32 +6198,33 @@ "compare", "equality" ], - "time": "2018-02-01T13:46:46+00:00" + "time": "2018-04-18T13:33:00+00:00" }, { "name": "sebastian/diff", - "version": "2.0.1", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd" + "reference": "e09160918c66281713f1c324c1f4c4c3037ba1e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/347c1d8b49c5c3ee30c7040ea6fc446790e6bddd", - "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/e09160918c66281713f1c324c1f4c4c3037ba1e8", + "reference": "e09160918c66281713f1c324c1f4c4c3037ba1e8", "shasum": "" }, "require": { - "php": "^7.0" + "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "^6.2" + "phpunit/phpunit": "^7.0", + "symfony/process": "^2 || ^3.3 || ^4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -6163,9 +6249,12 @@ "description": "Diff implementation", "homepage": "https://github.com/sebastianbergmann/diff", "keywords": [ - "diff" + "diff", + "udiff", + "unidiff", + "unified diff" ], - "time": "2017-08-03T08:09:46+00:00" + "time": "2018-02-01T13:45:15+00:00" }, { "name": "sebastian/environment", @@ -6607,14 +6696,12 @@ } ], "aliases": [], - "minimum-stability": "stable", - "stability-flags": { - "dingo/api": 10 - }, - "prefer-stable": false, + "minimum-stability": "dev", + "stability-flags": [], + "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=7.0.0" + "php": "^7.1.3" }, "platform-dev": [] } diff --git a/config/app.php b/config/app.php index 3b82f39c..44f36b90 100644 --- a/config/app.php +++ b/config/app.php @@ -121,23 +121,6 @@ 'cipher' => 'AES-256-CBC', - /* - |-------------------------------------------------------------------------- - | Logging Configuration - |-------------------------------------------------------------------------- - | - | Here you may configure the log settings for your application. Out of - | the box, Laravel uses the Monolog PHP logging library. This gives - | you a variety of powerful log handlers / formatters to utilize. - | - | Available Settings: "single", "daily", "syslog", "errorlog" - | - */ - - 'log' => env('APP_LOG', 'single'), - - 'log_level' => env('APP_LOG_LEVEL', 'debug'), - /* |-------------------------------------------------------------------------- | Autoloaded Service Providers diff --git a/config/broadcasting.php b/config/broadcasting.php index 5eecd2b2..3ca45eaa 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -36,7 +36,8 @@ 'secret' => env('PUSHER_APP_SECRET'), 'app_id' => env('PUSHER_APP_ID'), 'options' => [ - // + 'cluster' => env('PUSHER_APP_CLUSTER'), + 'encrypted' => true, ], ], diff --git a/config/cache.php b/config/cache.php index e87f0320..fa12e5e4 100644 --- a/config/cache.php +++ b/config/cache.php @@ -86,6 +86,9 @@ | */ - 'prefix' => 'laravel', + 'prefix' => env( + 'CACHE_PREFIX', + str_slug(env('APP_NAME', 'laravel'), '_').'_cache' + ), ]; diff --git a/config/filesystems.php b/config/filesystems.php index 4544f60c..77fa5ded 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -37,7 +37,7 @@ | may even configure multiple disks of the same driver. Defaults have | been setup for each driver as an example of the required options. | - | Supported Drivers: "local", "ftp", "s3", "rackspace" + | Supported Drivers: "local", "ftp", "sftp", "s3", "rackspace" | */ @@ -57,10 +57,11 @@ 's3' => [ 'driver' => 's3', - 'key' => env('AWS_KEY'), - 'secret' => env('AWS_SECRET'), - 'region' => env('AWS_REGION'), + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION'), 'bucket' => env('AWS_BUCKET'), + 'url' => env('AWS_URL'), ], ], diff --git a/config/hashing.php b/config/hashing.php new file mode 100644 index 00000000..d3c8e2fb --- /dev/null +++ b/config/hashing.php @@ -0,0 +1,52 @@ + 'bcrypt', + + /* + |-------------------------------------------------------------------------- + | Bcrypt Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Bcrypt algorithm. This will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'bcrypt' => [ + 'rounds' => env('BCRYPT_ROUNDS', 10), + ], + + /* + |-------------------------------------------------------------------------- + | Argon Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Argon algorithm. These will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'argon' => [ + 'memory' => 1024, + 'threads' => 2, + 'time' => 2, + ], + +]; diff --git a/config/logging.php b/config/logging.php new file mode 100644 index 00000000..400bc7f4 --- /dev/null +++ b/config/logging.php @@ -0,0 +1,81 @@ + env('LOG_CHANNEL', 'stack'), + + /* + |-------------------------------------------------------------------------- + | Log Channels + |-------------------------------------------------------------------------- + | + | Here you may configure the log channels for your application. Out of + | the box, Laravel uses the Monolog PHP logging library. This gives + | you a variety of powerful log handlers / formatters to utilize. + | + | Available Drivers: "single", "daily", "slack", "syslog", + | "errorlog", "monolog", + | "custom", "stack" + | + */ + + 'channels' => [ + 'stack' => [ + 'driver' => 'stack', + 'channels' => ['single'], + ], + + 'single' => [ + 'driver' => 'single', + 'path' => storage_path('logs/laravel.log'), + 'level' => 'debug', + ], + + 'daily' => [ + 'driver' => 'daily', + 'path' => storage_path('logs/laravel.log'), + 'level' => 'debug', + 'days' => 7, + ], + + 'slack' => [ + 'driver' => 'slack', + 'url' => env('LOG_SLACK_WEBHOOK_URL'), + 'username' => 'Laravel Log', + 'emoji' => ':boom:', + 'level' => 'critical', + ], + + 'stderr' => [ + 'driver' => 'monolog', + 'handler' => StreamHandler::class, + 'with' => [ + 'stream' => 'php://stderr', + ], + ], + + 'syslog' => [ + 'driver' => 'syslog', + 'level' => 'debug', + ], + + 'errorlog' => [ + 'driver' => 'errorlog', + 'level' => 'debug', + ], + ], + +]; diff --git a/config/queue.php b/config/queue.php index 4d83ebd0..391304f3 100644 --- a/config/queue.php +++ b/config/queue.php @@ -4,14 +4,12 @@ /* |-------------------------------------------------------------------------- - | Default Queue Driver + | Default Queue Connection Name |-------------------------------------------------------------------------- | | Laravel's queue API supports an assortment of back-ends via a single | API, giving you convenient access to each back-end using the same - | syntax for each one. Here you may set the default queue driver. - | - | Supported: "sync", "database", "beanstalkd", "sqs", "redis", "null" + | syntax for every one. Here you may define a default connection. | */ @@ -26,6 +24,8 @@ | is used by your application. A default configuration has been added | for each back-end shipped with Laravel. You are free to add more. | + | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" + | */ 'connections' => [ @@ -50,11 +50,11 @@ 'sqs' => [ 'driver' => 'sqs', - 'key' => 'your-public-key', - 'secret' => 'your-secret-key', - 'prefix' => 'https://sqs.us-east-1.amazonaws.com/your-account-id', - 'queue' => 'your-queue-name', - 'region' => 'us-east-1', + 'key' => env('SQS_KEY', 'your-public-key'), + 'secret' => env('SQS_SECRET', 'your-secret-key'), + 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), + 'queue' => env('SQS_QUEUE', 'your-queue-name'), + 'region' => env('SQS_REGION', 'us-east-1'), ], 'redis' => [ @@ -62,6 +62,7 @@ 'connection' => 'default', 'queue' => 'default', 'retry_after' => 90, + 'block_for' => null, ], ], diff --git a/config/services.php b/config/services.php index 6b5cceb8..581c9246 100644 --- a/config/services.php +++ b/config/services.php @@ -22,7 +22,7 @@ 'ses' => [ 'key' => env('SES_KEY'), 'secret' => env('SES_SECRET'), - 'region' => 'us-east-1', + 'region' => env('SES_REGION', 'us-east-1'), ], 'sparkpost' => [ diff --git a/config/session.php b/config/session.php index 71ad0ed1..736fb3c7 100644 --- a/config/session.php +++ b/config/session.php @@ -29,7 +29,7 @@ | */ - 'lifetime' => 120, + 'lifetime' => env('SESSION_LIFETIME', 120), 'expire_on_close' => false, diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index 08de16ba..47bee479 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -14,12 +14,10 @@ */ $factory->define(\Someline\Models\Foundation\User::class, function (Faker $faker) { - static $password; - return [ 'name' => $faker->name, 'email' => $faker->unique()->safeEmail, - 'password' => $password ?: $password = bcrypt('secret'), + 'password' => '$2y$10$TKh8H1.PfQx37YgCzwiKb.KjNyWgaHb9cbcoQgdIVFlYg7B77UdFm', // secret 'remember_token' => str_random(10), ]; }); diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php index 2399bf11..ea7ee536 100644 --- a/database/seeds/DatabaseSeeder.php +++ b/database/seeds/DatabaseSeeder.php @@ -5,7 +5,7 @@ class DatabaseSeeder extends Seeder { /** - * Run the database seeds. + * Seed the application's database. * * @return void */ diff --git a/package.json b/package.json index 4cab8ec5..2a50dba8 100644 --- a/package.json +++ b/package.json @@ -1,41 +1,42 @@ { - "private": true, - "scripts": { - "theme": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --config resources/assets/angulr/config/webpack.config.js --progress --hide-modules", - "dev": "npm run development", - "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", - "hot (FOR LOCAL DEVELOPMENT)": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", - "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", - "watch-poll": "npm run watch -- --watch-poll", - "prod": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", - "production (FOR DEPLOYMENT IN PRODUCTION)": "npm run prod", - "artisan migrate": "php artisan migrate", - "artisan db:seed": "php artisan db:seed", - "artisan passport:install": "php artisan passport:install", - "artisan migrate:refresh": "php artisan migrate:refresh", - "artisan migrate:refresh+seed": "php artisan migrate:refresh --seed" - }, - "devDependencies": { - "axios": "^0.16.2", - "bootstrap-sass": "^3.3.7", - "cross-env": "^5.0.1", - "jquery": "^3.1.1", - "laravel-mix": "^1.0", - "lodash": "^4.17.4", - "vue": "^2.2.4" - }, - "dependencies": { - "autosize": "^3.0.20", - "babel-polyfill": "^6.23.0", - "browser-sync": "^2.18.13", - "browser-sync-webpack-plugin": "^1.2.0", - "es6-shim": "^0.35.3", - "less": "^2.7.2", - "less-loader": "^4.0.5", - "moment": "^2.18.1", - "promise.prototype.finally": "^2.0.1", - "vue-i18n": "^5.0.3", - "vue-router": "^2.3.0", - "vuex": "^2.2.1" - } + "private": true, + "scripts": { + "theme": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js --env.mixfile=resources/assets/angulr/config/webpack.mix", + "dev": "npm run development", + "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", + "watch": "npm run development -- --watch", + "watch-poll": "npm run watch -- --watch-poll", + "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", + "prod": "npm run production", + "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", + "artisan migrate": "php artisan migrate", + "artisan db:seed": "php artisan db:seed", + "artisan passport:install": "php artisan passport:install", + "artisan migrate:refresh": "php artisan migrate:refresh", + "artisan migrate:refresh+seed": "php artisan migrate:refresh --seed" + }, + "devDependencies": { + "axios": "^0.18", + "bootstrap": "^4.0.0", + "browser-sync": "^2.23.7", + "browser-sync-webpack-plugin": "2.0.1", + "cross-env": "^5.1", + "jquery": "^3.2", + "laravel-mix": "^2.0", + "less": "^3.0.1", + "less-loader": "^4.1.0", + "lodash": "^4.17.4", + "popper.js": "^1.12", + "vue": "^2.5.7" + }, + "dependencies": { + "autosize": "^3.0.20", + "babel-polyfill": "^6.23.0", + "es6-shim": "^0.35.3", + "moment": "^2.18.1", + "promise.prototype.finally": "^2.0.1", + "vue-i18n": "^5.0.3", + "vue-router": "^2.3.0", + "vuex": "^2.2.1" + } } diff --git a/phpunit.xml b/phpunit.xml index bb9c4a7e..c9e326b6 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -24,8 +24,10 @@ + + diff --git a/public/.htaccess b/public/.htaccess index 09683488..b75525be 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,10 +1,14 @@ - Options -MultiViews + Options -MultiViews -Indexes RewriteEngine On + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ @@ -14,8 +18,4 @@ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] - - # Handle Authorization Header - RewriteCond %{HTTP:Authorization} . - RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] diff --git a/public/assets/css/app.main.css b/public/assets/css/app.main.css index 1fd9ce70..cc5ed9ed 100644 --- a/public/assets/css/app.main.css +++ b/public/assets/css/app.main.css @@ -1,28 +1 @@ -.app-desktop { - min-width: 980px !important; -} -.app-desktop.app-desktop-padder { - min-width: 1010px !important; -} -.app-desktop .app-desktop-wrapper { - width: 980px; - min-width: 980px; - margin: 0px auto; -} -.app-desktop .app-desktop-wrapper .navbar-brand { - padding: 0px; -} -.app-desktop .app-footer > .wrapper { - padding-left: 0px; - padding-right: 0px; -} -@media (max-width: 1009px) { - .app-desktop { - width: auto !important; - } - .app-desktop.app-desktop-padder .app-desktop-wrapper { - margin: 0px 15px !important; - } -} - -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvYXNzZXRzL2xlc3MvYXBwL2Rlc2t0b3AubGVzcyIsIndlYnBhY2s6Ly8vLi9hcHAubGVzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQTtFQUNFO0NDSEQ7QURJQztFQUNFO0NDRkg7QURERDtFQU1JO0VBQ0E7RUFDQTtDQ0ZIO0FETkQ7RUFVTTtDQ0RMO0FEVEQ7RUFlTTtFQUNBO0NDSEw7QURRRDtFQUNFO0lBQ0U7R0NORDtFRE9DO0lBRUk7R0NOTDtDQUNGIiwiZmlsZSI6Ii9hc3NldHMvY3NzL2FwcC5tYWluLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIkBkZXNrdG9wV2lkdGg6IDk4MHB4O1xuQGRlc2t0b3BQYWRkZXI6IDE1cHg7XG5AZGVza3RvcE1pbldpZHRoOiAoQGRlc2t0b3BXaWR0aCArIEBkZXNrdG9wUGFkZGVyICogMik7XG5cbi5hcHAtZGVza3RvcCB7XG4gIG1pbi13aWR0aDogQGRlc2t0b3BXaWR0aCAhaW1wb3J0YW50O1xuICAmLmFwcC1kZXNrdG9wLXBhZGRlciB7XG4gICAgbWluLXdpZHRoOiBAZGVza3RvcE1pbldpZHRoICFpbXBvcnRhbnQ7XG4gIH1cbiAgLmFwcC1kZXNrdG9wLXdyYXBwZXIge1xuICAgIHdpZHRoOiBAZGVza3RvcFdpZHRoO1xuICAgIG1pbi13aWR0aDogQGRlc2t0b3BXaWR0aDtcbiAgICBtYXJnaW46IDBweCBhdXRvO1xuICAgIC5uYXZiYXItYnJhbmQge1xuICAgICAgcGFkZGluZzogMHB4O1xuICAgIH1cbiAgfVxuICAuYXBwLWZvb3RlciB7XG4gICAgPiAud3JhcHBlciB7XG4gICAgICBwYWRkaW5nLWxlZnQ6IDBweDtcbiAgICAgIHBhZGRpbmctcmlnaHQ6IDBweDtcbiAgICB9XG4gIH1cbn1cblxuQG1lZGlhIChtYXgtd2lkdGg6IChAZGVza3RvcE1pbldpZHRoIC0gMSkgKSB7XG4gIC5hcHAtZGVza3RvcCB7XG4gICAgd2lkdGg6IGF1dG8gIWltcG9ydGFudDtcbiAgICAmLmFwcC1kZXNrdG9wLXBhZGRlciB7XG4gICAgICAuYXBwLWRlc2t0b3Atd3JhcHBlciB7XG4gICAgICAgIG1hcmdpbjogMHB4IEBkZXNrdG9wUGFkZGVyICFpbXBvcnRhbnQ7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9yZXNvdXJjZXMvYXNzZXRzL2xlc3MvYXBwL2Rlc2t0b3AubGVzcyIsIi5hcHAtZGVza3RvcCB7XG4gIG1pbi13aWR0aDogOTgwcHggIWltcG9ydGFudDtcbn1cbi5hcHAtZGVza3RvcC5hcHAtZGVza3RvcC1wYWRkZXIge1xuICBtaW4td2lkdGg6IDEwMTBweCAhaW1wb3J0YW50O1xufVxuLmFwcC1kZXNrdG9wIC5hcHAtZGVza3RvcC13cmFwcGVyIHtcbiAgd2lkdGg6IDk4MHB4O1xuICBtaW4td2lkdGg6IDk4MHB4O1xuICBtYXJnaW46IDBweCBhdXRvO1xufVxuLmFwcC1kZXNrdG9wIC5hcHAtZGVza3RvcC13cmFwcGVyIC5uYXZiYXItYnJhbmQge1xuICBwYWRkaW5nOiAwcHg7XG59XG4uYXBwLWRlc2t0b3AgLmFwcC1mb290ZXIgPiAud3JhcHBlciB7XG4gIHBhZGRpbmctbGVmdDogMHB4O1xuICBwYWRkaW5nLXJpZ2h0OiAwcHg7XG59XG5AbWVkaWEgKG1heC13aWR0aDogMTAwOXB4KSB7XG4gIC5hcHAtZGVza3RvcCB7XG4gICAgd2lkdGg6IGF1dG8gIWltcG9ydGFudDtcbiAgfVxuICAuYXBwLWRlc2t0b3AuYXBwLWRlc2t0b3AtcGFkZGVyIC5hcHAtZGVza3RvcC13cmFwcGVyIHtcbiAgICBtYXJnaW46IDBweCAxNXB4ICFpbXBvcnRhbnQ7XG4gIH1cbn1cblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL2FwcC5sZXNzIl0sInNvdXJjZVJvb3QiOiIifQ==*/ \ No newline at end of file +.app-desktop{min-width:980px!important}.app-desktop.app-desktop-padder{min-width:1010px!important}.app-desktop .app-desktop-wrapper{width:980px;min-width:980px;margin:0 auto}.app-desktop .app-desktop-wrapper .navbar-brand{padding:0}.app-desktop .app-footer>.wrapper{padding-left:0;padding-right:0}@media (max-width:1009px){.app-desktop{width:auto!important}.app-desktop.app-desktop-padder .app-desktop-wrapper{margin:0 15px!important}} \ No newline at end of file diff --git a/public/assets/css/console.main.css b/public/assets/css/console.main.css index 1f8d8d08..e69de29b 100644 --- a/public/assets/css/console.main.css +++ b/public/assets/css/console.main.css @@ -1,2 +0,0 @@ - -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiIvYXNzZXRzL2Nzcy9jb25zb2xlLm1haW4uY3NzIiwic291cmNlUm9vdCI6IiJ9*/ \ No newline at end of file diff --git a/public/assets/css/mobile.main.css b/public/assets/css/mobile.main.css index 2fcece55..4261ffdb 100644 --- a/public/assets/css/mobile.main.css +++ b/public/assets/css/mobile.main.css @@ -1,9 +1 @@ -.weui-mask, -.weui-dialog, -.weui-actionsheet, -.weui-toptips, -.weui-toast { - z-index: 10000; -} - -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvYXNzZXRzL2xlc3MvbW9iaWxlLmxlc3MiLCJ3ZWJwYWNrOi8vLy4vbW9iaWxlLmxlc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBU0E7Ozs7O0VBTUU7Q0NURCIsImZpbGUiOiIvYXNzZXRzL2Nzcy9tb2JpbGUubWFpbi5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBtb2JpbGUubGVzc1xuXG4vLyBSZW1vdmUgY29tbWVudHMgYmVsb3cgdG8gdGVzdCBpZiBpdCB3b3Jrc1xuXG4vL2JvZHksICNhcHAsICNjb250ZW50IHtcbi8vICBiYWNrZ3JvdW5kOiBncmVlbjtcbi8vfVxuXG4vLyBXRVVJIGFkcG90IGZvciBjdXJyZW50IHRoZW1lXG4ud2V1aS1tYXNrLFxuLndldWktZGlhbG9nLFxuLndldWktYWN0aW9uc2hlZXQsXG4ud2V1aS10b3B0aXBzLFxuLndldWktdG9hc3RcbntcbiAgei1pbmRleDogMTAwMDA7XG59XG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vcmVzb3VyY2VzL2Fzc2V0cy9sZXNzL21vYmlsZS5sZXNzIiwiLndldWktbWFzayxcbi53ZXVpLWRpYWxvZyxcbi53ZXVpLWFjdGlvbnNoZWV0LFxuLndldWktdG9wdGlwcyxcbi53ZXVpLXRvYXN0IHtcbiAgei1pbmRleDogMTAwMDA7XG59XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9tb2JpbGUubGVzcyJdLCJzb3VyY2VSb290IjoiIn0=*/ \ No newline at end of file +.weui-actionsheet,.weui-dialog,.weui-mask,.weui-toast,.weui-toptips{z-index:10000} \ No newline at end of file diff --git a/public/assets/js/app.main.js b/public/assets/js/app.main.js index 9a335405..2dbaae76 100644 --- a/public/assets/js/app.main.js +++ b/public/assets/js/app.main.js @@ -1,16022 +1 @@ -webpackJsonp([2],{ - -/***/ "./node_modules/babel-loader/lib/index.js?{\"cacheDirectory\":true,\"presets\":[[\"env\",{\"modules\":false,\"targets\":{\"browsers\":[\"> 2%\"],\"uglify\":true}}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/components/Example.vue": -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// - -/* harmony default export */ __webpack_exports__["default"] = ({ - mounted: function mounted() { - console.log('Component mounted.'); - } -}); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js?{\"cacheDirectory\":true,\"presets\":[[\"env\",{\"modules\":false,\"targets\":{\"browsers\":[\"> 2%\"],\"uglify\":true}}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/components/app/users/UserList.vue": -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// - -/* harmony default export */ __webpack_exports__["default"] = ({ - props: [], - data: function data() { - return { - // msg: 'hello vue', - items: [] - }; - }, - - computed: {}, - components: { - 'sl-user-list-item': __webpack_require__("./resources/assets/js/components/app/users/UserListGroupItem.vue") - }, - mounted: function mounted() { - console.log('Component Ready.'); - - this.fetchData(); - }, - - watch: {}, - events: {}, - methods: { - fetchData: function fetchData() { - var _this = this; - - this.$api.get('/users', { - params: { - // include: '' - } - }).then(function (response) { - console.log(response); - _this.items = response.data.data; - }.bind(this)).catch(function (error) { - console.error(error); - }.bind(this)); - } - } -}); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js?{\"cacheDirectory\":true,\"presets\":[[\"env\",{\"modules\":false,\"targets\":{\"browsers\":[\"> 2%\"],\"uglify\":true}}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/components/app/users/UserListGroupItem.vue": -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// - -/* harmony default export */ __webpack_exports__["default"] = ({ - props: ['item'], - data: function data() { - return { - // msg: 'hello vue' - }; - }, - - computed: { - userId: function userId() { - return this.item.user_id; - }, - link: function link() { - return "/users/" + this.userId + "#/user/" + this.userId + "/profile"; - } - }, - watch: {}, - events: {}, - methods: {} -}); - -/***/ }), - -/***/ "./node_modules/babel-polyfill/lib/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(global) { - -__webpack_require__("./node_modules/core-js/shim.js"); - -__webpack_require__("./node_modules/regenerator-runtime/runtime.js"); - -__webpack_require__("./node_modules/core-js/fn/regexp/escape.js"); - -if (global._babelPolyfill) { - throw new Error("only one instance of babel-polyfill is allowed"); -} -global._babelPolyfill = true; - -var DEFINE_PROPERTY = "defineProperty"; -function define(O, key, value) { - O[key] || Object[DEFINE_PROPERTY](O, key, { - writable: true, - configurable: true, - value: value - }); -} - -define(String.prototype, "padLeft", "".padStart); -define(String.prototype, "padRight", "".padEnd); - -"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function (key) { - [][key] && define(Array, key, Function.call.bind([][key])); -}); -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("./node_modules/webpack/buildin/global.js"))) - -/***/ }), - -/***/ "./node_modules/core-js/fn/regexp/escape.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/core.regexp.escape.js"); -module.exports = __webpack_require__("./node_modules/core-js/modules/_core.js").RegExp.escape; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_a-function.js": -/***/ (function(module, exports) { - -module.exports = function (it) { - if (typeof it != 'function') throw TypeError(it + ' is not a function!'); - return it; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_a-number-value.js": -/***/ (function(module, exports, __webpack_require__) { - -var cof = __webpack_require__("./node_modules/core-js/modules/_cof.js"); -module.exports = function (it, msg) { - if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); - return +it; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_add-to-unscopables.js": -/***/ (function(module, exports, __webpack_require__) { - -// 22.1.3.31 Array.prototype[@@unscopables] -var UNSCOPABLES = __webpack_require__("./node_modules/core-js/modules/_wks.js")('unscopables'); -var ArrayProto = Array.prototype; -if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("./node_modules/core-js/modules/_hide.js")(ArrayProto, UNSCOPABLES, {}); -module.exports = function (key) { - ArrayProto[UNSCOPABLES][key] = true; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_an-instance.js": -/***/ (function(module, exports) { - -module.exports = function (it, Constructor, name, forbiddenField) { - if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { - throw TypeError(name + ': incorrect invocation!'); - } return it; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_an-object.js": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -module.exports = function (it) { - if (!isObject(it)) throw TypeError(it + ' is not an object!'); - return it; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-copy-within.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) - -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var toAbsoluteIndex = __webpack_require__("./node_modules/core-js/modules/_to-absolute-index.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); - -module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { - var O = toObject(this); - var len = toLength(O.length); - var to = toAbsoluteIndex(target, len); - var from = toAbsoluteIndex(start, len); - var end = arguments.length > 2 ? arguments[2] : undefined; - var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); - var inc = 1; - if (from < to && to < from + count) { - inc = -1; - from += count - 1; - to += count - 1; - } - while (count-- > 0) { - if (from in O) O[to] = O[from]; - else delete O[to]; - to += inc; - from += inc; - } return O; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-fill.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) - -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var toAbsoluteIndex = __webpack_require__("./node_modules/core-js/modules/_to-absolute-index.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -module.exports = function fill(value /* , start = 0, end = @length */) { - var O = toObject(this); - var length = toLength(O.length); - var aLen = arguments.length; - var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length); - var end = aLen > 2 ? arguments[2] : undefined; - var endPos = end === undefined ? length : toAbsoluteIndex(end, length); - while (endPos > index) O[index++] = value; - return O; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-from-iterable.js": -/***/ (function(module, exports, __webpack_require__) { - -var forOf = __webpack_require__("./node_modules/core-js/modules/_for-of.js"); - -module.exports = function (iter, ITERATOR) { - var result = []; - forOf(iter, false, result.push, result, ITERATOR); - return result; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-includes.js": -/***/ (function(module, exports, __webpack_require__) { - -// false -> Array#indexOf -// true -> Array#includes -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var toAbsoluteIndex = __webpack_require__("./node_modules/core-js/modules/_to-absolute-index.js"); -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; - }; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-methods.js": -/***/ (function(module, exports, __webpack_require__) { - -// 0 -> Array#forEach -// 1 -> Array#map -// 2 -> Array#filter -// 3 -> Array#some -// 4 -> Array#every -// 5 -> Array#find -// 6 -> Array#findIndex -var ctx = __webpack_require__("./node_modules/core-js/modules/_ctx.js"); -var IObject = __webpack_require__("./node_modules/core-js/modules/_iobject.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var asc = __webpack_require__("./node_modules/core-js/modules/_array-species-create.js"); -module.exports = function (TYPE, $create) { - var IS_MAP = TYPE == 1; - var IS_FILTER = TYPE == 2; - var IS_SOME = TYPE == 3; - var IS_EVERY = TYPE == 4; - var IS_FIND_INDEX = TYPE == 6; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; - var create = $create || asc; - return function ($this, callbackfn, that) { - var O = toObject($this); - var self = IObject(O); - var f = ctx(callbackfn, that, 3); - var length = toLength(self.length); - var index = 0; - var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; - var val, res; - for (;length > index; index++) if (NO_HOLES || index in self) { - val = self[index]; - res = f(val, index, O); - if (TYPE) { - if (IS_MAP) result[index] = res; // map - else if (res) switch (TYPE) { - case 3: return true; // some - case 5: return val; // find - case 6: return index; // findIndex - case 2: result.push(val); // filter - } else if (IS_EVERY) return false; // every - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; - }; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-reduce.js": -/***/ (function(module, exports, __webpack_require__) { - -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var IObject = __webpack_require__("./node_modules/core-js/modules/_iobject.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); - -module.exports = function (that, callbackfn, aLen, memo, isRight) { - aFunction(callbackfn); - var O = toObject(that); - var self = IObject(O); - var length = toLength(O.length); - var index = isRight ? length - 1 : 0; - var i = isRight ? -1 : 1; - if (aLen < 2) for (;;) { - if (index in self) { - memo = self[index]; - index += i; - break; - } - index += i; - if (isRight ? index < 0 : length <= index) { - throw TypeError('Reduce of empty array with no initial value'); - } - } - for (;isRight ? index >= 0 : length > index; index += i) if (index in self) { - memo = callbackfn(memo, self[index], index, O); - } - return memo; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-species-constructor.js": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var isArray = __webpack_require__("./node_modules/core-js/modules/_is-array.js"); -var SPECIES = __webpack_require__("./node_modules/core-js/modules/_wks.js")('species'); - -module.exports = function (original) { - var C; - if (isArray(original)) { - C = original.constructor; - // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; - if (isObject(C)) { - C = C[SPECIES]; - if (C === null) C = undefined; - } - } return C === undefined ? Array : C; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-species-create.js": -/***/ (function(module, exports, __webpack_require__) { - -// 9.4.2.3 ArraySpeciesCreate(originalArray, length) -var speciesConstructor = __webpack_require__("./node_modules/core-js/modules/_array-species-constructor.js"); - -module.exports = function (original, length) { - return new (speciesConstructor(original))(length); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_bind.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var invoke = __webpack_require__("./node_modules/core-js/modules/_invoke.js"); -var arraySlice = [].slice; -var factories = {}; - -var construct = function (F, len, args) { - if (!(len in factories)) { - for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; - // eslint-disable-next-line no-new-func - factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); - } return factories[len](F, args); -}; - -module.exports = Function.bind || function bind(that /* , ...args */) { - var fn = aFunction(this); - var partArgs = arraySlice.call(arguments, 1); - var bound = function (/* args... */) { - var args = partArgs.concat(arraySlice.call(arguments)); - return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); - }; - if (isObject(fn.prototype)) bound.prototype = fn.prototype; - return bound; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_classof.js": -/***/ (function(module, exports, __webpack_require__) { - -// getting tag from 19.1.3.6 Object.prototype.toString() -var cof = __webpack_require__("./node_modules/core-js/modules/_cof.js"); -var TAG = __webpack_require__("./node_modules/core-js/modules/_wks.js")('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; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_cof.js": -/***/ (function(module, exports) { - -var toString = {}.toString; - -module.exports = function (it) { - return toString.call(it).slice(8, -1); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_collection-strong.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var dP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js").f; -var create = __webpack_require__("./node_modules/core-js/modules/_object-create.js"); -var redefineAll = __webpack_require__("./node_modules/core-js/modules/_redefine-all.js"); -var ctx = __webpack_require__("./node_modules/core-js/modules/_ctx.js"); -var anInstance = __webpack_require__("./node_modules/core-js/modules/_an-instance.js"); -var forOf = __webpack_require__("./node_modules/core-js/modules/_for-of.js"); -var $iterDefine = __webpack_require__("./node_modules/core-js/modules/_iter-define.js"); -var step = __webpack_require__("./node_modules/core-js/modules/_iter-step.js"); -var setSpecies = __webpack_require__("./node_modules/core-js/modules/_set-species.js"); -var DESCRIPTORS = __webpack_require__("./node_modules/core-js/modules/_descriptors.js"); -var fastKey = __webpack_require__("./node_modules/core-js/modules/_meta.js").fastKey; -var validate = __webpack_require__("./node_modules/core-js/modules/_validate-collection.js"); -var SIZE = DESCRIPTORS ? '_s' : 'size'; - -var getEntry = function (that, key) { - // fast case - var index = fastKey(key); - var entry; - if (index !== 'F') return that._i[index]; - // frozen object case - for (entry = that._f; entry; entry = entry.n) { - if (entry.k == key) return entry; - } -}; - -module.exports = { - getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, NAME, '_i'); - that._t = NAME; // collection type - that._i = create(null); // index - that._f = undefined; // first entry - that._l = undefined; // last entry - that[SIZE] = 0; // size - if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); - }); - redefineAll(C.prototype, { - // 23.1.3.1 Map.prototype.clear() - // 23.2.3.2 Set.prototype.clear() - clear: function clear() { - for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { - entry.r = true; - if (entry.p) entry.p = entry.p.n = undefined; - delete data[entry.i]; - } - that._f = that._l = undefined; - that[SIZE] = 0; - }, - // 23.1.3.3 Map.prototype.delete(key) - // 23.2.3.4 Set.prototype.delete(value) - 'delete': function (key) { - var that = validate(this, NAME); - var entry = getEntry(that, key); - if (entry) { - var next = entry.n; - var prev = entry.p; - delete that._i[entry.i]; - entry.r = true; - if (prev) prev.n = next; - if (next) next.p = prev; - if (that._f == entry) that._f = next; - if (that._l == entry) that._l = prev; - that[SIZE]--; - } return !!entry; - }, - // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) - // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) - forEach: function forEach(callbackfn /* , that = undefined */) { - validate(this, NAME); - var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var entry; - while (entry = entry ? entry.n : this._f) { - f(entry.v, entry.k, this); - // revert to the last existing entry - while (entry && entry.r) entry = entry.p; - } - }, - // 23.1.3.7 Map.prototype.has(key) - // 23.2.3.7 Set.prototype.has(value) - has: function has(key) { - return !!getEntry(validate(this, NAME), key); - } - }); - if (DESCRIPTORS) dP(C.prototype, 'size', { - get: function () { - return validate(this, NAME)[SIZE]; - } - }); - return C; - }, - def: function (that, key, value) { - var entry = getEntry(that, key); - var prev, index; - // change existing entry - if (entry) { - entry.v = value; - // create new entry - } else { - that._l = entry = { - i: index = fastKey(key, true), // <- index - k: key, // <- key - v: value, // <- value - p: prev = that._l, // <- previous entry - n: undefined, // <- next entry - r: false // <- removed - }; - if (!that._f) that._f = entry; - if (prev) prev.n = entry; - that[SIZE]++; - // add to index - if (index !== 'F') that._i[index] = entry; - } return that; - }, - getEntry: getEntry, - setStrong: function (C, NAME, IS_MAP) { - // add .keys, .values, .entries, [@@iterator] - // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 - $iterDefine(C, NAME, function (iterated, kind) { - this._t = validate(iterated, NAME); // target - this._k = kind; // kind - this._l = undefined; // previous - }, function () { - var that = this; - var kind = that._k; - var entry = that._l; - // revert to the last existing entry - while (entry && entry.r) entry = entry.p; - // get next entry - if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { - // or finish the iteration - that._t = undefined; - return step(1); - } - // return step by kind - if (kind == 'keys') return step(0, entry.k); - if (kind == 'values') return step(0, entry.v); - return step(0, [entry.k, entry.v]); - }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); - - // add [@@species], 23.1.2.2, 23.2.2.2 - setSpecies(NAME); - } -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_collection-to-json.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/DavidBruant/Map-Set.prototype.toJSON -var classof = __webpack_require__("./node_modules/core-js/modules/_classof.js"); -var from = __webpack_require__("./node_modules/core-js/modules/_array-from-iterable.js"); -module.exports = function (NAME) { - return function toJSON() { - if (classof(this) != NAME) throw TypeError(NAME + "#toJSON isn't generic"); - return from(this); - }; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_collection-weak.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var redefineAll = __webpack_require__("./node_modules/core-js/modules/_redefine-all.js"); -var getWeak = __webpack_require__("./node_modules/core-js/modules/_meta.js").getWeak; -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var anInstance = __webpack_require__("./node_modules/core-js/modules/_an-instance.js"); -var forOf = __webpack_require__("./node_modules/core-js/modules/_for-of.js"); -var createArrayMethod = __webpack_require__("./node_modules/core-js/modules/_array-methods.js"); -var $has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var validate = __webpack_require__("./node_modules/core-js/modules/_validate-collection.js"); -var arrayFind = createArrayMethod(5); -var arrayFindIndex = createArrayMethod(6); -var id = 0; - -// fallback for uncaught frozen keys -var uncaughtFrozenStore = function (that) { - return that._l || (that._l = new UncaughtFrozenStore()); -}; -var UncaughtFrozenStore = function () { - this.a = []; -}; -var findUncaughtFrozen = function (store, key) { - return arrayFind(store.a, function (it) { - return it[0] === key; - }); -}; -UncaughtFrozenStore.prototype = { - get: function (key) { - var entry = findUncaughtFrozen(this, key); - if (entry) return entry[1]; - }, - has: function (key) { - return !!findUncaughtFrozen(this, key); - }, - set: function (key, value) { - var entry = findUncaughtFrozen(this, key); - if (entry) entry[1] = value; - else this.a.push([key, value]); - }, - 'delete': function (key) { - var index = arrayFindIndex(this.a, function (it) { - return it[0] === key; - }); - if (~index) this.a.splice(index, 1); - return !!~index; - } -}; - -module.exports = { - getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, NAME, '_i'); - that._t = NAME; // collection type - that._i = id++; // collection id - that._l = undefined; // leak store for uncaught frozen objects - if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); - }); - redefineAll(C.prototype, { - // 23.3.3.2 WeakMap.prototype.delete(key) - // 23.4.3.3 WeakSet.prototype.delete(value) - 'delete': function (key) { - if (!isObject(key)) return false; - var data = getWeak(key); - if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); - return data && $has(data, this._i) && delete data[this._i]; - }, - // 23.3.3.4 WeakMap.prototype.has(key) - // 23.4.3.4 WeakSet.prototype.has(value) - has: function has(key) { - if (!isObject(key)) return false; - var data = getWeak(key); - if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); - return data && $has(data, this._i); - } - }); - return C; - }, - def: function (that, key, value) { - var data = getWeak(anObject(key), true); - if (data === true) uncaughtFrozenStore(that).set(key, value); - else data[that._i] = value; - return that; - }, - ufstore: uncaughtFrozenStore -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_collection.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var redefine = __webpack_require__("./node_modules/core-js/modules/_redefine.js"); -var redefineAll = __webpack_require__("./node_modules/core-js/modules/_redefine-all.js"); -var meta = __webpack_require__("./node_modules/core-js/modules/_meta.js"); -var forOf = __webpack_require__("./node_modules/core-js/modules/_for-of.js"); -var anInstance = __webpack_require__("./node_modules/core-js/modules/_an-instance.js"); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var $iterDetect = __webpack_require__("./node_modules/core-js/modules/_iter-detect.js"); -var setToStringTag = __webpack_require__("./node_modules/core-js/modules/_set-to-string-tag.js"); -var inheritIfRequired = __webpack_require__("./node_modules/core-js/modules/_inherit-if-required.js"); - -module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { - var Base = global[NAME]; - var C = Base; - var ADDER = IS_MAP ? 'set' : 'add'; - var proto = C && C.prototype; - var O = {}; - var fixMethod = function (KEY) { - var fn = proto[KEY]; - redefine(proto, KEY, - KEY == 'delete' ? function (a) { - return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); - } : KEY == 'has' ? function has(a) { - return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); - } : KEY == 'get' ? function get(a) { - return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a); - } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; } - : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; } - ); - }; - if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { - new C().entries().next(); - }))) { - // create collection constructor - C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); - redefineAll(C.prototype, methods); - meta.NEED = true; - } else { - var instance = new C(); - // early implementations not supports chaining - var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; - // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false - var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); - // most early implementations doesn't supports iterables, most modern - not close it correctly - var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new - // for early implementations -0 and +0 not the same - var BUGGY_ZERO = !IS_WEAK && fails(function () { - // V8 ~ Chromium 42- fails only with 5+ elements - var $instance = new C(); - var index = 5; - while (index--) $instance[ADDER](index, index); - return !$instance.has(-0); - }); - if (!ACCEPT_ITERABLES) { - C = wrapper(function (target, iterable) { - anInstance(target, C, NAME); - var that = inheritIfRequired(new Base(), target, C); - if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); - return that; - }); - C.prototype = proto; - proto.constructor = C; - } - if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { - fixMethod('delete'); - fixMethod('has'); - IS_MAP && fixMethod('get'); - } - if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); - // weak collections should not contains .clear method - if (IS_WEAK && proto.clear) delete proto.clear; - } - - setToStringTag(C, NAME); - - O[NAME] = C; - $export($export.G + $export.W + $export.F * (C != Base), O); - - if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); - - return C; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_core.js": -/***/ (function(module, exports) { - -var core = module.exports = { version: '2.5.1' }; -if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_create-property.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $defineProperty = __webpack_require__("./node_modules/core-js/modules/_object-dp.js"); -var createDesc = __webpack_require__("./node_modules/core-js/modules/_property-desc.js"); - -module.exports = function (object, index, value) { - if (index in object) $defineProperty.f(object, index, createDesc(0, value)); - else object[index] = value; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_ctx.js": -/***/ (function(module, exports, __webpack_require__) { - -// optional / simple context binding -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -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); - }; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_date-to-iso-string.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var getTime = Date.prototype.getTime; -var $toISOString = Date.prototype.toISOString; - -var lz = function (num) { - return num > 9 ? num : '0' + num; -}; - -// PhantomJS / old WebKit has a broken implementations -module.exports = (fails(function () { - return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; -}) || !fails(function () { - $toISOString.call(new Date(NaN)); -})) ? function toISOString() { - if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value'); - var d = this; - var y = d.getUTCFullYear(); - var m = d.getUTCMilliseconds(); - var s = y < 0 ? '-' : y > 9999 ? '+' : ''; - return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) + - '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) + - 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) + - ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; -} : $toISOString; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_date-to-primitive.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var toPrimitive = __webpack_require__("./node_modules/core-js/modules/_to-primitive.js"); -var NUMBER = 'number'; - -module.exports = function (hint) { - if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint'); - return toPrimitive(anObject(this), hint != NUMBER); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_defined.js": -/***/ (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; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_descriptors.js": -/***/ (function(module, exports, __webpack_require__) { - -// Thank's IE8 for his funny defineProperty -module.exports = !__webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_dom-create.js": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var document = __webpack_require__("./node_modules/core-js/modules/_global.js").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) : {}; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_enum-bug-keys.js": -/***/ (function(module, exports) { - -// IE 8- don't enum bug keys -module.exports = ( - 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' -).split(','); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_enum-keys.js": -/***/ (function(module, exports, __webpack_require__) { - -// all enumerable object keys, includes symbols -var getKeys = __webpack_require__("./node_modules/core-js/modules/_object-keys.js"); -var gOPS = __webpack_require__("./node_modules/core-js/modules/_object-gops.js"); -var pIE = __webpack_require__("./node_modules/core-js/modules/_object-pie.js"); -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; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_export.js": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var core = __webpack_require__("./node_modules/core-js/modules/_core.js"); -var hide = __webpack_require__("./node_modules/core-js/modules/_hide.js"); -var redefine = __webpack_require__("./node_modules/core-js/modules/_redefine.js"); -var ctx = __webpack_require__("./node_modules/core-js/modules/_ctx.js"); -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 target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; - var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); - var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); - var key, own, out, exp; - if (IS_GLOBAL) source = name; - for (key in source) { - // contains in native - own = !IS_FORCED && target && target[key] !== undefined; - // export native or passed - out = (own ? target : source)[key]; - // bind timers to global for call from export context - exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; - // extend global - if (target) redefine(target, key, out, type & $export.U); - // export - if (exports[key] != out) hide(exports, key, exp); - if (IS_PROTO && expProto[key] != out) expProto[key] = out; - } -}; -global.core = core; -// 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; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_fails-is-regexp.js": -/***/ (function(module, exports, __webpack_require__) { - -var MATCH = __webpack_require__("./node_modules/core-js/modules/_wks.js")('match'); -module.exports = function (KEY) { - var re = /./; - try { - '/./'[KEY](re); - } catch (e) { - try { - re[MATCH] = false; - return !'/./'[KEY](re); - } catch (f) { /* empty */ } - } return true; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_fails.js": -/***/ (function(module, exports) { - -module.exports = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; - } -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_fix-re-wks.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var hide = __webpack_require__("./node_modules/core-js/modules/_hide.js"); -var redefine = __webpack_require__("./node_modules/core-js/modules/_redefine.js"); -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var defined = __webpack_require__("./node_modules/core-js/modules/_defined.js"); -var wks = __webpack_require__("./node_modules/core-js/modules/_wks.js"); - -module.exports = function (KEY, length, exec) { - var SYMBOL = wks(KEY); - var fns = exec(defined, SYMBOL, ''[KEY]); - var strfn = fns[0]; - var rxfn = fns[1]; - if (fails(function () { - var O = {}; - O[SYMBOL] = function () { return 7; }; - return ''[KEY](O) != 7; - })) { - redefine(String.prototype, KEY, strfn); - hide(RegExp.prototype, SYMBOL, length == 2 - // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) - // 21.2.5.11 RegExp.prototype[@@split](string, limit) - ? function (string, arg) { return rxfn.call(string, this, arg); } - // 21.2.5.6 RegExp.prototype[@@match](string) - // 21.2.5.9 RegExp.prototype[@@search](string) - : function (string) { return rxfn.call(string, this); } - ); - } -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_flags.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// 21.2.5.3 get RegExp.prototype.flags -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -module.exports = function () { - var that = anObject(this); - var result = ''; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.unicode) result += 'u'; - if (that.sticky) result += 'y'; - return result; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_flatten-into-array.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray -var isArray = __webpack_require__("./node_modules/core-js/modules/_is-array.js"); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var ctx = __webpack_require__("./node_modules/core-js/modules/_ctx.js"); -var IS_CONCAT_SPREADABLE = __webpack_require__("./node_modules/core-js/modules/_wks.js")('isConcatSpreadable'); - -function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) { - var targetIndex = start; - var sourceIndex = 0; - var mapFn = mapper ? ctx(mapper, thisArg, 3) : false; - var element, spreadable; - - while (sourceIndex < sourceLen) { - if (sourceIndex in source) { - element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; - - spreadable = false; - if (isObject(element)) { - spreadable = element[IS_CONCAT_SPREADABLE]; - spreadable = spreadable !== undefined ? !!spreadable : isArray(element); - } - - if (spreadable && depth > 0) { - targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; - } else { - if (targetIndex >= 0x1fffffffffffff) throw TypeError(); - target[targetIndex] = element; - } - - targetIndex++; - } - sourceIndex++; - } - return targetIndex; -} - -module.exports = flattenIntoArray; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_for-of.js": -/***/ (function(module, exports, __webpack_require__) { - -var ctx = __webpack_require__("./node_modules/core-js/modules/_ctx.js"); -var call = __webpack_require__("./node_modules/core-js/modules/_iter-call.js"); -var isArrayIter = __webpack_require__("./node_modules/core-js/modules/_is-array-iter.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var getIterFn = __webpack_require__("./node_modules/core-js/modules/core.get-iterator-method.js"); -var BREAK = {}; -var RETURN = {}; -var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { - var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); - var f = ctx(fn, that, entries ? 2 : 1); - var index = 0; - var length, step, iterator, result; - if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); - // fast case for arrays with default iterator - if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { - result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); - if (result === BREAK || result === RETURN) return result; - } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { - result = call(iterator, f, step.value, entries); - if (result === BREAK || result === RETURN) return result; - } -}; -exports.BREAK = BREAK; -exports.RETURN = RETURN; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_global.js": -/***/ (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 - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_has.js": -/***/ (function(module, exports) { - -var hasOwnProperty = {}.hasOwnProperty; -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_hide.js": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js"); -var createDesc = __webpack_require__("./node_modules/core-js/modules/_property-desc.js"); -module.exports = __webpack_require__("./node_modules/core-js/modules/_descriptors.js") ? function (object, key, value) { - return dP.f(object, key, createDesc(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_html.js": -/***/ (function(module, exports, __webpack_require__) { - -var document = __webpack_require__("./node_modules/core-js/modules/_global.js").document; -module.exports = document && document.documentElement; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_ie8-dom-define.js": -/***/ (function(module, exports, __webpack_require__) { - -module.exports = !__webpack_require__("./node_modules/core-js/modules/_descriptors.js") && !__webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - return Object.defineProperty(__webpack_require__("./node_modules/core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_inherit-if-required.js": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var setPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_set-proto.js").set; -module.exports = function (that, target, C) { - var S = target.constructor; - var P; - if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { - setPrototypeOf(that, P); - } return that; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_invoke.js": -/***/ (function(module, exports) { - -// fast apply, http://jsperf.lnkit.com/fast-apply/5 -module.exports = function (fn, args, that) { - var un = that === undefined; - switch (args.length) { - case 0: return un ? fn() - : fn.call(that); - case 1: return un ? fn(args[0]) - : fn.call(that, args[0]); - case 2: return un ? fn(args[0], args[1]) - : fn.call(that, args[0], args[1]); - case 3: return un ? fn(args[0], args[1], args[2]) - : fn.call(that, args[0], args[1], args[2]); - case 4: return un ? fn(args[0], args[1], args[2], args[3]) - : fn.call(that, args[0], args[1], args[2], args[3]); - } return fn.apply(that, args); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_iobject.js": -/***/ (function(module, exports, __webpack_require__) { - -// fallback for non-array-like ES3 and non-enumerable old V8 strings -var cof = __webpack_require__("./node_modules/core-js/modules/_cof.js"); -// eslint-disable-next-line no-prototype-builtins -module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { - return cof(it) == 'String' ? it.split('') : Object(it); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_is-array-iter.js": -/***/ (function(module, exports, __webpack_require__) { - -// check on default Array iterator -var Iterators = __webpack_require__("./node_modules/core-js/modules/_iterators.js"); -var ITERATOR = __webpack_require__("./node_modules/core-js/modules/_wks.js")('iterator'); -var ArrayProto = Array.prototype; - -module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_is-array.js": -/***/ (function(module, exports, __webpack_require__) { - -// 7.2.2 IsArray(argument) -var cof = __webpack_require__("./node_modules/core-js/modules/_cof.js"); -module.exports = Array.isArray || function isArray(arg) { - return cof(arg) == 'Array'; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_is-integer.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.1.2.3 Number.isInteger(number) -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var floor = Math.floor; -module.exports = function isInteger(it) { - return !isObject(it) && isFinite(it) && floor(it) === it; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_is-object.js": -/***/ (function(module, exports) { - -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_is-regexp.js": -/***/ (function(module, exports, __webpack_require__) { - -// 7.2.8 IsRegExp(argument) -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var cof = __webpack_require__("./node_modules/core-js/modules/_cof.js"); -var MATCH = __webpack_require__("./node_modules/core-js/modules/_wks.js")('match'); -module.exports = function (it) { - var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_iter-call.js": -/***/ (function(module, exports, __webpack_require__) { - -// call something on iterator step with safe closing on error -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -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; - } -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_iter-create.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var create = __webpack_require__("./node_modules/core-js/modules/_object-create.js"); -var descriptor = __webpack_require__("./node_modules/core-js/modules/_property-desc.js"); -var setToStringTag = __webpack_require__("./node_modules/core-js/modules/_set-to-string-tag.js"); -var IteratorPrototype = {}; - -// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -__webpack_require__("./node_modules/core-js/modules/_hide.js")(IteratorPrototype, __webpack_require__("./node_modules/core-js/modules/_wks.js")('iterator'), function () { return this; }); - -module.exports = function (Constructor, NAME, next) { - Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); - setToStringTag(Constructor, NAME + ' Iterator'); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_iter-define.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var LIBRARY = __webpack_require__("./node_modules/core-js/modules/_library.js"); -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var redefine = __webpack_require__("./node_modules/core-js/modules/_redefine.js"); -var hide = __webpack_require__("./node_modules/core-js/modules/_hide.js"); -var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var Iterators = __webpack_require__("./node_modules/core-js/modules/_iterators.js"); -var $iterCreate = __webpack_require__("./node_modules/core-js/modules/_iter-create.js"); -var setToStringTag = __webpack_require__("./node_modules/core-js/modules/_set-to-string-tag.js"); -var getPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); -var ITERATOR = __webpack_require__("./node_modules/core-js/modules/_wks.js")('iterator'); -var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` -var FF_ITERATOR = '@@iterator'; -var KEYS = 'keys'; -var VALUES = 'values'; - -var returnThis = function () { return this; }; - -module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { - $iterCreate(Constructor, NAME, next); - var getMethod = function (kind) { - if (!BUGGY && kind in proto) return proto[kind]; - switch (kind) { - case KEYS: return function keys() { return new Constructor(this, kind); }; - case VALUES: return function values() { return new Constructor(this, kind); }; - } return function entries() { return new Constructor(this, kind); }; - }; - var TAG = NAME + ' Iterator'; - var DEF_VALUES = DEFAULT == VALUES; - var VALUES_BUG = false; - var proto = Base.prototype; - var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; - var $default = $native || getMethod(DEFAULT); - var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; - var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; - var methods, key, IteratorPrototype; - // Fix native - if ($anyNative) { - IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); - if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { - // Set @@toStringTag to native iterators - setToStringTag(IteratorPrototype, TAG, true); - // fix for some old engines - if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis); - } - } - // fix Array#{values, @@iterator}.name in V8 / FF - if (DEF_VALUES && $native && $native.name !== VALUES) { - VALUES_BUG = true; - $default = function values() { return $native.call(this); }; - } - // Define iterator - if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { - hide(proto, ITERATOR, $default); - } - // Plug for library - Iterators[NAME] = $default; - Iterators[TAG] = returnThis; - if (DEFAULT) { - methods = { - values: DEF_VALUES ? $default : getMethod(VALUES), - keys: IS_SET ? $default : getMethod(KEYS), - entries: $entries - }; - if (FORCED) for (key in methods) { - if (!(key in proto)) redefine(proto, key, methods[key]); - } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); - } - return methods; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_iter-detect.js": -/***/ (function(module, exports, __webpack_require__) { - -var ITERATOR = __webpack_require__("./node_modules/core-js/modules/_wks.js")('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; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_iter-step.js": -/***/ (function(module, exports) { - -module.exports = function (done, value) { - return { value: value, done: !!done }; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_iterators.js": -/***/ (function(module, exports) { - -module.exports = {}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_library.js": -/***/ (function(module, exports) { - -module.exports = false; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_math-expm1.js": -/***/ (function(module, exports) { - -// 20.2.2.14 Math.expm1(x) -var $expm1 = Math.expm1; -module.exports = (!$expm1 - // Old FF bug - || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 - // Tor Browser bug - || $expm1(-2e-17) != -2e-17 -) ? function expm1(x) { - return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; -} : $expm1; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_math-fround.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.16 Math.fround(x) -var sign = __webpack_require__("./node_modules/core-js/modules/_math-sign.js"); -var pow = Math.pow; -var EPSILON = pow(2, -52); -var EPSILON32 = pow(2, -23); -var MAX32 = pow(2, 127) * (2 - EPSILON32); -var MIN32 = pow(2, -126); - -var roundTiesToEven = function (n) { - return n + 1 / EPSILON - 1 / EPSILON; -}; - -module.exports = Math.fround || function fround(x) { - var $abs = Math.abs(x); - var $sign = sign(x); - var a, result; - if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; - a = (1 + EPSILON32 / EPSILON) * $abs; - result = a - (a - $abs); - // eslint-disable-next-line no-self-compare - if (result > MAX32 || result != result) return $sign * Infinity; - return $sign * result; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_math-log1p.js": -/***/ (function(module, exports) { - -// 20.2.2.20 Math.log1p(x) -module.exports = Math.log1p || function log1p(x) { - return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_math-scale.js": -/***/ (function(module, exports) { - -// https://rwaldron.github.io/proposal-math-extensions/ -module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { - if ( - arguments.length === 0 - // eslint-disable-next-line no-self-compare - || x != x - // eslint-disable-next-line no-self-compare - || inLow != inLow - // eslint-disable-next-line no-self-compare - || inHigh != inHigh - // eslint-disable-next-line no-self-compare - || outLow != outLow - // eslint-disable-next-line no-self-compare - || outHigh != outHigh - ) return NaN; - if (x === Infinity || x === -Infinity) return x; - return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_math-sign.js": -/***/ (function(module, exports) { - -// 20.2.2.28 Math.sign(x) -module.exports = Math.sign || function sign(x) { - // eslint-disable-next-line no-self-compare - return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_meta.js": -/***/ (function(module, exports, __webpack_require__) { - -var META = __webpack_require__("./node_modules/core-js/modules/_uid.js")('meta'); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var setDesc = __webpack_require__("./node_modules/core-js/modules/_object-dp.js").f; -var id = 0; -var isExtensible = Object.isExtensible || function () { - return true; -}; -var FREEZE = !__webpack_require__("./node_modules/core-js/modules/_fails.js")(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 -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_metadata.js": -/***/ (function(module, exports, __webpack_require__) { - -var Map = __webpack_require__("./node_modules/core-js/modules/es6.map.js"); -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var shared = __webpack_require__("./node_modules/core-js/modules/_shared.js")('metadata'); -var store = shared.store || (shared.store = new (__webpack_require__("./node_modules/core-js/modules/es6.weak-map.js"))()); - -var getOrCreateMetadataMap = function (target, targetKey, create) { - var targetMetadata = store.get(target); - if (!targetMetadata) { - if (!create) return undefined; - store.set(target, targetMetadata = new Map()); - } - var keyMetadata = targetMetadata.get(targetKey); - if (!keyMetadata) { - if (!create) return undefined; - targetMetadata.set(targetKey, keyMetadata = new Map()); - } return keyMetadata; -}; -var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { - var metadataMap = getOrCreateMetadataMap(O, P, false); - return metadataMap === undefined ? false : metadataMap.has(MetadataKey); -}; -var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { - var metadataMap = getOrCreateMetadataMap(O, P, false); - return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); -}; -var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { - getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); -}; -var ordinaryOwnMetadataKeys = function (target, targetKey) { - var metadataMap = getOrCreateMetadataMap(target, targetKey, false); - var keys = []; - if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); - return keys; -}; -var toMetaKey = function (it) { - return it === undefined || typeof it == 'symbol' ? it : String(it); -}; -var exp = function (O) { - $export($export.S, 'Reflect', O); -}; - -module.exports = { - store: store, - map: getOrCreateMetadataMap, - has: ordinaryHasOwnMetadata, - get: ordinaryGetOwnMetadata, - set: ordinaryDefineOwnMetadata, - keys: ordinaryOwnMetadataKeys, - key: toMetaKey, - exp: exp -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_microtask.js": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var macrotask = __webpack_require__("./node_modules/core-js/modules/_task.js").set; -var Observer = global.MutationObserver || global.WebKitMutationObserver; -var process = global.process; -var Promise = global.Promise; -var isNode = __webpack_require__("./node_modules/core-js/modules/_cof.js")(process) == 'process'; - -module.exports = function () { - var head, last, notify; - - var flush = function () { - var parent, fn; - if (isNode && (parent = process.domain)) parent.exit(); - while (head) { - fn = head.fn; - head = head.next; - try { - fn(); - } catch (e) { - if (head) notify(); - else last = undefined; - throw e; - } - } last = undefined; - if (parent) parent.enter(); - }; - - // Node.js - if (isNode) { - notify = function () { - process.nextTick(flush); - }; - // browsers with MutationObserver - } else if (Observer) { - var toggle = true; - var node = document.createTextNode(''); - new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new - notify = function () { - node.data = toggle = !toggle; - }; - // environments with maybe non-completely correct, but existent Promise - } else if (Promise && Promise.resolve) { - var promise = Promise.resolve(); - notify = function () { - promise.then(flush); - }; - // for other environments - macrotask based on: - // - setImmediate - // - MessageChannel - // - window.postMessag - // - onreadystatechange - // - setTimeout - } else { - notify = function () { - // strange IE + webpack dev server bug - use .call(global) - macrotask.call(global, flush); - }; - } - - return function (fn) { - var task = { fn: fn, next: undefined }; - if (last) last.next = task; - if (!head) { - head = task; - notify(); - } last = task; - }; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_new-promise-capability.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// 25.4.1.5 NewPromiseCapability(C) -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); - -function PromiseCapability(C) { - var resolve, reject; - this.promise = new C(function ($$resolve, $$reject) { - if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); - resolve = $$resolve; - reject = $$reject; - }); - this.resolve = aFunction(resolve); - this.reject = aFunction(reject); -} - -module.exports.f = function (C) { - return new PromiseCapability(C); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-assign.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// 19.1.2.1 Object.assign(target, source, ...) -var getKeys = __webpack_require__("./node_modules/core-js/modules/_object-keys.js"); -var gOPS = __webpack_require__("./node_modules/core-js/modules/_object-gops.js"); -var pIE = __webpack_require__("./node_modules/core-js/modules/_object-pie.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var IObject = __webpack_require__("./node_modules/core-js/modules/_iobject.js"); -var $assign = Object.assign; - -// should work with symbols and should have deterministic property order (V8 bug) -module.exports = !$assign || __webpack_require__("./node_modules/core-js/modules/_fails.js")(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; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-create.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var dPs = __webpack_require__("./node_modules/core-js/modules/_object-dps.js"); -var enumBugKeys = __webpack_require__("./node_modules/core-js/modules/_enum-bug-keys.js"); -var IE_PROTO = __webpack_require__("./node_modules/core-js/modules/_shared-key.js")('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__("./node_modules/core-js/modules/_dom-create.js")('iframe'); - var i = enumBugKeys.length; - var lt = '<'; - var gt = '>'; - var iframeDocument; - iframe.style.display = 'none'; - __webpack_require__("./node_modules/core-js/modules/_html.js").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); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-dp.js": -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var IE8_DOM_DEFINE = __webpack_require__("./node_modules/core-js/modules/_ie8-dom-define.js"); -var toPrimitive = __webpack_require__("./node_modules/core-js/modules/_to-primitive.js"); -var dP = Object.defineProperty; - -exports.f = __webpack_require__("./node_modules/core-js/modules/_descriptors.js") ? 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; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-dps.js": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var getKeys = __webpack_require__("./node_modules/core-js/modules/_object-keys.js"); - -module.exports = __webpack_require__("./node_modules/core-js/modules/_descriptors.js") ? 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; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-forced-pam.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// Forced replacement prototype accessors methods -module.exports = __webpack_require__("./node_modules/core-js/modules/_library.js") || !__webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - var K = Math.random(); - // In FF throws only define methods - // eslint-disable-next-line no-undef, no-useless-call - __defineSetter__.call(null, K, function () { /* empty */ }); - delete __webpack_require__("./node_modules/core-js/modules/_global.js")[K]; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-gopd.js": -/***/ (function(module, exports, __webpack_require__) { - -var pIE = __webpack_require__("./node_modules/core-js/modules/_object-pie.js"); -var createDesc = __webpack_require__("./node_modules/core-js/modules/_property-desc.js"); -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); -var toPrimitive = __webpack_require__("./node_modules/core-js/modules/_to-primitive.js"); -var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var IE8_DOM_DEFINE = __webpack_require__("./node_modules/core-js/modules/_ie8-dom-define.js"); -var gOPD = Object.getOwnPropertyDescriptor; - -exports.f = __webpack_require__("./node_modules/core-js/modules/_descriptors.js") ? 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]); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-gopn-ext.js": -/***/ (function(module, exports, __webpack_require__) { - -// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); -var gOPN = __webpack_require__("./node_modules/core-js/modules/_object-gopn.js").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)); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-gopn.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) -var $keys = __webpack_require__("./node_modules/core-js/modules/_object-keys-internal.js"); -var hiddenKeys = __webpack_require__("./node_modules/core-js/modules/_enum-bug-keys.js").concat('length', 'prototype'); - -exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return $keys(O, hiddenKeys); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-gops.js": -/***/ (function(module, exports) { - -exports.f = Object.getOwnPropertySymbols; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-gpo.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) -var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var IE_PROTO = __webpack_require__("./node_modules/core-js/modules/_shared-key.js")('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; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-keys-internal.js": -/***/ (function(module, exports, __webpack_require__) { - -var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); -var arrayIndexOf = __webpack_require__("./node_modules/core-js/modules/_array-includes.js")(false); -var IE_PROTO = __webpack_require__("./node_modules/core-js/modules/_shared-key.js")('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; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-keys.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.14 / 15.2.3.14 Object.keys(O) -var $keys = __webpack_require__("./node_modules/core-js/modules/_object-keys-internal.js"); -var enumBugKeys = __webpack_require__("./node_modules/core-js/modules/_enum-bug-keys.js"); - -module.exports = Object.keys || function keys(O) { - return $keys(O, enumBugKeys); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-pie.js": -/***/ (function(module, exports) { - -exports.f = {}.propertyIsEnumerable; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-sap.js": -/***/ (function(module, exports, __webpack_require__) { - -// most Object methods by ES6 should accept primitives -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var core = __webpack_require__("./node_modules/core-js/modules/_core.js"); -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -module.exports = function (KEY, exec) { - var fn = (core.Object || {})[KEY] || Object[KEY]; - var exp = {}; - exp[KEY] = exec(fn); - $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-to-array.js": -/***/ (function(module, exports, __webpack_require__) { - -var getKeys = __webpack_require__("./node_modules/core-js/modules/_object-keys.js"); -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); -var isEnum = __webpack_require__("./node_modules/core-js/modules/_object-pie.js").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; - }; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_own-keys.js": -/***/ (function(module, exports, __webpack_require__) { - -// all object keys, includes non-enumerable and symbols -var gOPN = __webpack_require__("./node_modules/core-js/modules/_object-gopn.js"); -var gOPS = __webpack_require__("./node_modules/core-js/modules/_object-gops.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var Reflect = __webpack_require__("./node_modules/core-js/modules/_global.js").Reflect; -module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { - var keys = gOPN.f(anObject(it)); - var getSymbols = gOPS.f; - return getSymbols ? keys.concat(getSymbols(it)) : keys; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_parse-float.js": -/***/ (function(module, exports, __webpack_require__) { - -var $parseFloat = __webpack_require__("./node_modules/core-js/modules/_global.js").parseFloat; -var $trim = __webpack_require__("./node_modules/core-js/modules/_string-trim.js").trim; - -module.exports = 1 / $parseFloat(__webpack_require__("./node_modules/core-js/modules/_string-ws.js") + '-0') !== -Infinity ? function parseFloat(str) { - var string = $trim(String(str), 3); - var result = $parseFloat(string); - return result === 0 && string.charAt(0) == '-' ? -0 : result; -} : $parseFloat; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_parse-int.js": -/***/ (function(module, exports, __webpack_require__) { - -var $parseInt = __webpack_require__("./node_modules/core-js/modules/_global.js").parseInt; -var $trim = __webpack_require__("./node_modules/core-js/modules/_string-trim.js").trim; -var ws = __webpack_require__("./node_modules/core-js/modules/_string-ws.js"); -var hex = /^[-+]?0[xX]/; - -module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { - var string = $trim(String(str), 3); - return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); -} : $parseInt; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_perform.js": -/***/ (function(module, exports) { - -module.exports = function (exec) { - try { - return { e: false, v: exec() }; - } catch (e) { - return { e: true, v: e }; - } -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_promise-resolve.js": -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var newPromiseCapability = __webpack_require__("./node_modules/core-js/modules/_new-promise-capability.js"); - -module.exports = function (C, x) { - anObject(C); - if (isObject(x) && x.constructor === C) return x; - var promiseCapability = newPromiseCapability.f(C); - var resolve = promiseCapability.resolve; - resolve(x); - return promiseCapability.promise; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_property-desc.js": -/***/ (function(module, exports) { - -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_redefine-all.js": -/***/ (function(module, exports, __webpack_require__) { - -var redefine = __webpack_require__("./node_modules/core-js/modules/_redefine.js"); -module.exports = function (target, src, safe) { - for (var key in src) redefine(target, key, src[key], safe); - return target; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_redefine.js": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var hide = __webpack_require__("./node_modules/core-js/modules/_hide.js"); -var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var SRC = __webpack_require__("./node_modules/core-js/modules/_uid.js")('src'); -var TO_STRING = 'toString'; -var $toString = Function[TO_STRING]; -var TPL = ('' + $toString).split(TO_STRING); - -__webpack_require__("./node_modules/core-js/modules/_core.js").inspectSource = function (it) { - return $toString.call(it); -}; - -(module.exports = function (O, key, val, safe) { - var isFunction = typeof val == 'function'; - if (isFunction) has(val, 'name') || hide(val, 'name', key); - if (O[key] === val) return; - if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); - if (O === global) { - O[key] = val; - } else if (!safe) { - delete O[key]; - hide(O, key, val); - } else if (O[key]) { - O[key] = val; - } else { - hide(O, key, val); - } -// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative -})(Function.prototype, TO_STRING, function toString() { - return typeof this == 'function' && this[SRC] || $toString.call(this); -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_replacer.js": -/***/ (function(module, exports) { - -module.exports = function (regExp, replace) { - var replacer = replace === Object(replace) ? function (part) { - return replace[part]; - } : replace; - return function (it) { - return String(it).replace(regExp, replacer); - }; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_same-value.js": -/***/ (function(module, exports) { - -// 7.2.9 SameValue(x, y) -module.exports = Object.is || function is(x, y) { - // eslint-disable-next-line no-self-compare - return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_set-collection-from.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://tc39.github.io/proposal-setmap-offrom/ -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var ctx = __webpack_require__("./node_modules/core-js/modules/_ctx.js"); -var forOf = __webpack_require__("./node_modules/core-js/modules/_for-of.js"); - -module.exports = function (COLLECTION) { - $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) { - var mapFn = arguments[1]; - var mapping, A, n, cb; - aFunction(this); - mapping = mapFn !== undefined; - if (mapping) aFunction(mapFn); - if (source == undefined) return new this(); - A = []; - if (mapping) { - n = 0; - cb = ctx(mapFn, arguments[2], 2); - forOf(source, false, function (nextItem) { - A.push(cb(nextItem, n++)); - }); - } else { - forOf(source, false, A.push, A); - } - return new this(A); - } }); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_set-collection-of.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://tc39.github.io/proposal-setmap-offrom/ -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -module.exports = function (COLLECTION) { - $export($export.S, COLLECTION, { of: function of() { - var length = arguments.length; - var A = Array(length); - while (length--) A[length] = arguments[length]; - return new this(A); - } }); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_set-proto.js": -/***/ (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__("./node_modules/core-js/modules/_is-object.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -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__("./node_modules/core-js/modules/_ctx.js")(Function.call, __webpack_require__("./node_modules/core-js/modules/_object-gopd.js").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 -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_set-species.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var dP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js"); -var DESCRIPTORS = __webpack_require__("./node_modules/core-js/modules/_descriptors.js"); -var SPECIES = __webpack_require__("./node_modules/core-js/modules/_wks.js")('species'); - -module.exports = function (KEY) { - var C = global[KEY]; - if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { - configurable: true, - get: function () { return this; } - }); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_set-to-string-tag.js": -/***/ (function(module, exports, __webpack_require__) { - -var def = __webpack_require__("./node_modules/core-js/modules/_object-dp.js").f; -var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var TAG = __webpack_require__("./node_modules/core-js/modules/_wks.js")('toStringTag'); - -module.exports = function (it, tag, stat) { - if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_shared-key.js": -/***/ (function(module, exports, __webpack_require__) { - -var shared = __webpack_require__("./node_modules/core-js/modules/_shared.js")('keys'); -var uid = __webpack_require__("./node_modules/core-js/modules/_uid.js"); -module.exports = function (key) { - return shared[key] || (shared[key] = uid(key)); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_shared.js": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var SHARED = '__core-js_shared__'; -var store = global[SHARED] || (global[SHARED] = {}); -module.exports = function (key) { - return store[key] || (store[key] = {}); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_species-constructor.js": -/***/ (function(module, exports, __webpack_require__) { - -// 7.3.20 SpeciesConstructor(O, defaultConstructor) -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var SPECIES = __webpack_require__("./node_modules/core-js/modules/_wks.js")('species'); -module.exports = function (O, D) { - var C = anObject(O).constructor; - var S; - return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_strict-method.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); - -module.exports = function (method, arg) { - return !!method && fails(function () { - // eslint-disable-next-line no-useless-call - arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); - }); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_string-at.js": -/***/ (function(module, exports, __webpack_require__) { - -var toInteger = __webpack_require__("./node_modules/core-js/modules/_to-integer.js"); -var defined = __webpack_require__("./node_modules/core-js/modules/_defined.js"); -// 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; - }; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_string-context.js": -/***/ (function(module, exports, __webpack_require__) { - -// helper for String#{startsWith, endsWith, includes} -var isRegExp = __webpack_require__("./node_modules/core-js/modules/_is-regexp.js"); -var defined = __webpack_require__("./node_modules/core-js/modules/_defined.js"); - -module.exports = function (that, searchString, NAME) { - if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); - return String(defined(that)); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_string-html.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var defined = __webpack_require__("./node_modules/core-js/modules/_defined.js"); -var quot = /"/g; -// B.2.3.2.1 CreateHTML(string, tag, attribute, value) -var createHTML = function (string, tag, attribute, value) { - var S = String(defined(string)); - var p1 = '<' + tag; - if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; - return p1 + '>' + S + ''; -}; -module.exports = function (NAME, exec) { - var O = {}; - O[NAME] = exec(createHTML); - $export($export.P + $export.F * fails(function () { - var test = ''[NAME]('"'); - return test !== test.toLowerCase() || test.split('"').length > 3; - }), 'String', O); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_string-pad.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/tc39/proposal-string-pad-start-end -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var repeat = __webpack_require__("./node_modules/core-js/modules/_string-repeat.js"); -var defined = __webpack_require__("./node_modules/core-js/modules/_defined.js"); - -module.exports = function (that, maxLength, fillString, left) { - var S = String(defined(that)); - var stringLength = S.length; - var fillStr = fillString === undefined ? ' ' : String(fillString); - var intMaxLength = toLength(maxLength); - if (intMaxLength <= stringLength || fillStr == '') return S; - var fillLen = intMaxLength - stringLength; - var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); - if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); - return left ? stringFiller + S : S + stringFiller; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_string-repeat.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var toInteger = __webpack_require__("./node_modules/core-js/modules/_to-integer.js"); -var defined = __webpack_require__("./node_modules/core-js/modules/_defined.js"); - -module.exports = function repeat(count) { - var str = String(defined(this)); - var res = ''; - var n = toInteger(count); - if (n < 0 || n == Infinity) throw RangeError("Count can't be negative"); - for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str; - return res; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_string-trim.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var defined = __webpack_require__("./node_modules/core-js/modules/_defined.js"); -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var spaces = __webpack_require__("./node_modules/core-js/modules/_string-ws.js"); -var space = '[' + spaces + ']'; -var non = '\u200b\u0085'; -var ltrim = RegExp('^' + space + space + '*'); -var rtrim = RegExp(space + space + '*$'); - -var exporter = function (KEY, exec, ALIAS) { - var exp = {}; - var FORCE = fails(function () { - return !!spaces[KEY]() || non[KEY]() != non; - }); - var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; - if (ALIAS) exp[ALIAS] = fn; - $export($export.P + $export.F * FORCE, 'String', exp); -}; - -// 1 -> String#trimLeft -// 2 -> String#trimRight -// 3 -> String#trim -var trim = exporter.trim = function (string, TYPE) { - string = String(defined(string)); - if (TYPE & 1) string = string.replace(ltrim, ''); - if (TYPE & 2) string = string.replace(rtrim, ''); - return string; -}; - -module.exports = exporter; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_string-ws.js": -/***/ (function(module, exports) { - -module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_task.js": -/***/ (function(module, exports, __webpack_require__) { - -var ctx = __webpack_require__("./node_modules/core-js/modules/_ctx.js"); -var invoke = __webpack_require__("./node_modules/core-js/modules/_invoke.js"); -var html = __webpack_require__("./node_modules/core-js/modules/_html.js"); -var cel = __webpack_require__("./node_modules/core-js/modules/_dom-create.js"); -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var process = global.process; -var setTask = global.setImmediate; -var clearTask = global.clearImmediate; -var MessageChannel = global.MessageChannel; -var Dispatch = global.Dispatch; -var counter = 0; -var queue = {}; -var ONREADYSTATECHANGE = 'onreadystatechange'; -var defer, channel, port; -var run = function () { - var id = +this; - // eslint-disable-next-line no-prototype-builtins - if (queue.hasOwnProperty(id)) { - var fn = queue[id]; - delete queue[id]; - fn(); - } -}; -var listener = function (event) { - run.call(event.data); -}; -// Node.js 0.9+ & IE10+ has setImmediate, otherwise: -if (!setTask || !clearTask) { - setTask = function setImmediate(fn) { - var args = []; - var i = 1; - while (arguments.length > i) args.push(arguments[i++]); - queue[++counter] = function () { - // eslint-disable-next-line no-new-func - invoke(typeof fn == 'function' ? fn : Function(fn), args); - }; - defer(counter); - return counter; - }; - clearTask = function clearImmediate(id) { - delete queue[id]; - }; - // Node.js 0.8- - if (__webpack_require__("./node_modules/core-js/modules/_cof.js")(process) == 'process') { - defer = function (id) { - process.nextTick(ctx(run, id, 1)); - }; - // Sphere (JS game engine) Dispatch API - } else if (Dispatch && Dispatch.now) { - defer = function (id) { - Dispatch.now(ctx(run, id, 1)); - }; - // Browsers with MessageChannel, includes WebWorkers - } else if (MessageChannel) { - channel = new MessageChannel(); - port = channel.port2; - channel.port1.onmessage = listener; - defer = ctx(port.postMessage, port, 1); - // Browsers with postMessage, skip WebWorkers - // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' - } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { - defer = function (id) { - global.postMessage(id + '', '*'); - }; - global.addEventListener('message', listener, false); - // IE8- - } else if (ONREADYSTATECHANGE in cel('script')) { - defer = function (id) { - html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { - html.removeChild(this); - run.call(id); - }; - }; - // Rest old browsers - } else { - defer = function (id) { - setTimeout(ctx(run, id, 1), 0); - }; - } -} -module.exports = { - set: setTask, - clear: clearTask -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-absolute-index.js": -/***/ (function(module, exports, __webpack_require__) { - -var toInteger = __webpack_require__("./node_modules/core-js/modules/_to-integer.js"); -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); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-index.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://tc39.github.io/ecma262/#sec-toindex -var toInteger = __webpack_require__("./node_modules/core-js/modules/_to-integer.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -module.exports = function (it) { - if (it === undefined) return 0; - var number = toInteger(it); - var length = toLength(number); - if (number !== length) throw RangeError('Wrong length!'); - return length; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-integer.js": -/***/ (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); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-iobject.js": -/***/ (function(module, exports, __webpack_require__) { - -// to indexed object, toObject with fallback for non-array-like ES3 strings -var IObject = __webpack_require__("./node_modules/core-js/modules/_iobject.js"); -var defined = __webpack_require__("./node_modules/core-js/modules/_defined.js"); -module.exports = function (it) { - return IObject(defined(it)); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-length.js": -/***/ (function(module, exports, __webpack_require__) { - -// 7.1.15 ToLength -var toInteger = __webpack_require__("./node_modules/core-js/modules/_to-integer.js"); -var min = Math.min; -module.exports = function (it) { - return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-object.js": -/***/ (function(module, exports, __webpack_require__) { - -// 7.1.13 ToObject(argument) -var defined = __webpack_require__("./node_modules/core-js/modules/_defined.js"); -module.exports = function (it) { - return Object(defined(it)); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-primitive.js": -/***/ (function(module, exports, __webpack_require__) { - -// 7.1.1 ToPrimitive(input [, PreferredType]) -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -// 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"); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_typed-array.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -if (__webpack_require__("./node_modules/core-js/modules/_descriptors.js")) { - var LIBRARY = __webpack_require__("./node_modules/core-js/modules/_library.js"); - var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); - var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); - var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - var $typed = __webpack_require__("./node_modules/core-js/modules/_typed.js"); - var $buffer = __webpack_require__("./node_modules/core-js/modules/_typed-buffer.js"); - var ctx = __webpack_require__("./node_modules/core-js/modules/_ctx.js"); - var anInstance = __webpack_require__("./node_modules/core-js/modules/_an-instance.js"); - var propertyDesc = __webpack_require__("./node_modules/core-js/modules/_property-desc.js"); - var hide = __webpack_require__("./node_modules/core-js/modules/_hide.js"); - var redefineAll = __webpack_require__("./node_modules/core-js/modules/_redefine-all.js"); - var toInteger = __webpack_require__("./node_modules/core-js/modules/_to-integer.js"); - var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); - var toIndex = __webpack_require__("./node_modules/core-js/modules/_to-index.js"); - var toAbsoluteIndex = __webpack_require__("./node_modules/core-js/modules/_to-absolute-index.js"); - var toPrimitive = __webpack_require__("./node_modules/core-js/modules/_to-primitive.js"); - var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); - var classof = __webpack_require__("./node_modules/core-js/modules/_classof.js"); - var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); - var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); - var isArrayIter = __webpack_require__("./node_modules/core-js/modules/_is-array-iter.js"); - var create = __webpack_require__("./node_modules/core-js/modules/_object-create.js"); - var getPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); - var gOPN = __webpack_require__("./node_modules/core-js/modules/_object-gopn.js").f; - var getIterFn = __webpack_require__("./node_modules/core-js/modules/core.get-iterator-method.js"); - var uid = __webpack_require__("./node_modules/core-js/modules/_uid.js"); - var wks = __webpack_require__("./node_modules/core-js/modules/_wks.js"); - var createArrayMethod = __webpack_require__("./node_modules/core-js/modules/_array-methods.js"); - var createArrayIncludes = __webpack_require__("./node_modules/core-js/modules/_array-includes.js"); - var speciesConstructor = __webpack_require__("./node_modules/core-js/modules/_species-constructor.js"); - var ArrayIterators = __webpack_require__("./node_modules/core-js/modules/es6.array.iterator.js"); - var Iterators = __webpack_require__("./node_modules/core-js/modules/_iterators.js"); - var $iterDetect = __webpack_require__("./node_modules/core-js/modules/_iter-detect.js"); - var setSpecies = __webpack_require__("./node_modules/core-js/modules/_set-species.js"); - var arrayFill = __webpack_require__("./node_modules/core-js/modules/_array-fill.js"); - var arrayCopyWithin = __webpack_require__("./node_modules/core-js/modules/_array-copy-within.js"); - var $DP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js"); - var $GOPD = __webpack_require__("./node_modules/core-js/modules/_object-gopd.js"); - var dP = $DP.f; - var gOPD = $GOPD.f; - var RangeError = global.RangeError; - var TypeError = global.TypeError; - var Uint8Array = global.Uint8Array; - var ARRAY_BUFFER = 'ArrayBuffer'; - var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER; - var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; - var PROTOTYPE = 'prototype'; - var ArrayProto = Array[PROTOTYPE]; - var $ArrayBuffer = $buffer.ArrayBuffer; - var $DataView = $buffer.DataView; - var arrayForEach = createArrayMethod(0); - var arrayFilter = createArrayMethod(2); - var arraySome = createArrayMethod(3); - var arrayEvery = createArrayMethod(4); - var arrayFind = createArrayMethod(5); - var arrayFindIndex = createArrayMethod(6); - var arrayIncludes = createArrayIncludes(true); - var arrayIndexOf = createArrayIncludes(false); - var arrayValues = ArrayIterators.values; - var arrayKeys = ArrayIterators.keys; - var arrayEntries = ArrayIterators.entries; - var arrayLastIndexOf = ArrayProto.lastIndexOf; - var arrayReduce = ArrayProto.reduce; - var arrayReduceRight = ArrayProto.reduceRight; - var arrayJoin = ArrayProto.join; - var arraySort = ArrayProto.sort; - var arraySlice = ArrayProto.slice; - var arrayToString = ArrayProto.toString; - var arrayToLocaleString = ArrayProto.toLocaleString; - var ITERATOR = wks('iterator'); - var TAG = wks('toStringTag'); - var TYPED_CONSTRUCTOR = uid('typed_constructor'); - var DEF_CONSTRUCTOR = uid('def_constructor'); - var ALL_CONSTRUCTORS = $typed.CONSTR; - var TYPED_ARRAY = $typed.TYPED; - var VIEW = $typed.VIEW; - var WRONG_LENGTH = 'Wrong length!'; - - var $map = createArrayMethod(1, function (O, length) { - return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length); - }); - - var LITTLE_ENDIAN = fails(function () { - // eslint-disable-next-line no-undef - return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1; - }); - - var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () { - new Uint8Array(1).set({}); - }); - - var toOffset = function (it, BYTES) { - var offset = toInteger(it); - if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!'); - return offset; - }; - - var validate = function (it) { - if (isObject(it) && TYPED_ARRAY in it) return it; - throw TypeError(it + ' is not a typed array!'); - }; - - var allocate = function (C, length) { - if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) { - throw TypeError('It is not a typed array constructor!'); - } return new C(length); - }; - - var speciesFromList = function (O, list) { - return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list); - }; - - var fromList = function (C, list) { - var index = 0; - var length = list.length; - var result = allocate(C, length); - while (length > index) result[index] = list[index++]; - return result; - }; - - var addGetter = function (it, key, internal) { - dP(it, key, { get: function () { return this._d[internal]; } }); - }; - - var $from = function from(source /* , mapfn, thisArg */) { - var O = toObject(source); - var aLen = arguments.length; - var mapfn = aLen > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var iterFn = getIterFn(O); - var i, length, values, result, step, iterator; - if (iterFn != undefined && !isArrayIter(iterFn)) { - for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) { - values.push(step.value); - } O = values; - } - if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2); - for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) { - result[i] = mapping ? mapfn(O[i], i) : O[i]; - } - return result; - }; - - var $of = function of(/* ...items */) { - var index = 0; - var length = arguments.length; - var result = allocate(this, length); - while (length > index) result[index] = arguments[index++]; - return result; - }; - - // iOS Safari 6.x fails here - var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); }); - - var $toLocaleString = function toLocaleString() { - return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments); - }; - - var proto = { - copyWithin: function copyWithin(target, start /* , end */) { - return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined); - }, - every: function every(callbackfn /* , thisArg */) { - return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }, - fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars - return arrayFill.apply(validate(this), arguments); - }, - filter: function filter(callbackfn /* , thisArg */) { - return speciesFromList(this, arrayFilter(validate(this), callbackfn, - arguments.length > 1 ? arguments[1] : undefined)); - }, - find: function find(predicate /* , thisArg */) { - return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); - }, - findIndex: function findIndex(predicate /* , thisArg */) { - return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); - }, - forEach: function forEach(callbackfn /* , thisArg */) { - arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }, - indexOf: function indexOf(searchElement /* , fromIndex */) { - return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); - }, - includes: function includes(searchElement /* , fromIndex */) { - return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); - }, - join: function join(separator) { // eslint-disable-line no-unused-vars - return arrayJoin.apply(validate(this), arguments); - }, - lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars - return arrayLastIndexOf.apply(validate(this), arguments); - }, - map: function map(mapfn /* , thisArg */) { - return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); - }, - reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars - return arrayReduce.apply(validate(this), arguments); - }, - reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars - return arrayReduceRight.apply(validate(this), arguments); - }, - reverse: function reverse() { - var that = this; - var length = validate(that).length; - var middle = Math.floor(length / 2); - var index = 0; - var value; - while (index < middle) { - value = that[index]; - that[index++] = that[--length]; - that[length] = value; - } return that; - }, - some: function some(callbackfn /* , thisArg */) { - return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }, - sort: function sort(comparefn) { - return arraySort.call(validate(this), comparefn); - }, - subarray: function subarray(begin, end) { - var O = validate(this); - var length = O.length; - var $begin = toAbsoluteIndex(begin, length); - return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))( - O.buffer, - O.byteOffset + $begin * O.BYTES_PER_ELEMENT, - toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin) - ); - } - }; - - var $slice = function slice(start, end) { - return speciesFromList(this, arraySlice.call(validate(this), start, end)); - }; - - var $set = function set(arrayLike /* , offset */) { - validate(this); - var offset = toOffset(arguments[1], 1); - var length = this.length; - var src = toObject(arrayLike); - var len = toLength(src.length); - var index = 0; - if (len + offset > length) throw RangeError(WRONG_LENGTH); - while (index < len) this[offset + index] = src[index++]; - }; - - var $iterators = { - entries: function entries() { - return arrayEntries.call(validate(this)); - }, - keys: function keys() { - return arrayKeys.call(validate(this)); - }, - values: function values() { - return arrayValues.call(validate(this)); - } - }; - - var isTAIndex = function (target, key) { - return isObject(target) - && target[TYPED_ARRAY] - && typeof key != 'symbol' - && key in target - && String(+key) == String(key); - }; - var $getDesc = function getOwnPropertyDescriptor(target, key) { - return isTAIndex(target, key = toPrimitive(key, true)) - ? propertyDesc(2, target[key]) - : gOPD(target, key); - }; - var $setDesc = function defineProperty(target, key, desc) { - if (isTAIndex(target, key = toPrimitive(key, true)) - && isObject(desc) - && has(desc, 'value') - && !has(desc, 'get') - && !has(desc, 'set') - // TODO: add validation descriptor w/o calling accessors - && !desc.configurable - && (!has(desc, 'writable') || desc.writable) - && (!has(desc, 'enumerable') || desc.enumerable) - ) { - target[key] = desc.value; - return target; - } return dP(target, key, desc); - }; - - if (!ALL_CONSTRUCTORS) { - $GOPD.f = $getDesc; - $DP.f = $setDesc; - } - - $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', { - getOwnPropertyDescriptor: $getDesc, - defineProperty: $setDesc - }); - - if (fails(function () { arrayToString.call({}); })) { - arrayToString = arrayToLocaleString = function toString() { - return arrayJoin.call(this); - }; - } - - var $TypedArrayPrototype$ = redefineAll({}, proto); - redefineAll($TypedArrayPrototype$, $iterators); - hide($TypedArrayPrototype$, ITERATOR, $iterators.values); - redefineAll($TypedArrayPrototype$, { - slice: $slice, - set: $set, - constructor: function () { /* noop */ }, - toString: arrayToString, - toLocaleString: $toLocaleString - }); - addGetter($TypedArrayPrototype$, 'buffer', 'b'); - addGetter($TypedArrayPrototype$, 'byteOffset', 'o'); - addGetter($TypedArrayPrototype$, 'byteLength', 'l'); - addGetter($TypedArrayPrototype$, 'length', 'e'); - dP($TypedArrayPrototype$, TAG, { - get: function () { return this[TYPED_ARRAY]; } - }); - - // eslint-disable-next-line max-statements - module.exports = function (KEY, BYTES, wrapper, CLAMPED) { - CLAMPED = !!CLAMPED; - var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'; - var GETTER = 'get' + KEY; - var SETTER = 'set' + KEY; - var TypedArray = global[NAME]; - var Base = TypedArray || {}; - var TAC = TypedArray && getPrototypeOf(TypedArray); - var FORCED = !TypedArray || !$typed.ABV; - var O = {}; - var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE]; - var getter = function (that, index) { - var data = that._d; - return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN); - }; - var setter = function (that, index, value) { - var data = that._d; - if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; - data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN); - }; - var addElement = function (that, index) { - dP(that, index, { - get: function () { - return getter(this, index); - }, - set: function (value) { - return setter(this, index, value); - }, - enumerable: true - }); - }; - if (FORCED) { - TypedArray = wrapper(function (that, data, $offset, $length) { - anInstance(that, TypedArray, NAME, '_d'); - var index = 0; - var offset = 0; - var buffer, byteLength, length, klass; - if (!isObject(data)) { - length = toIndex(data); - byteLength = length * BYTES; - buffer = new $ArrayBuffer(byteLength); - } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { - buffer = data; - offset = toOffset($offset, BYTES); - var $len = data.byteLength; - if ($length === undefined) { - if ($len % BYTES) throw RangeError(WRONG_LENGTH); - byteLength = $len - offset; - if (byteLength < 0) throw RangeError(WRONG_LENGTH); - } else { - byteLength = toLength($length) * BYTES; - if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH); - } - length = byteLength / BYTES; - } else if (TYPED_ARRAY in data) { - return fromList(TypedArray, data); - } else { - return $from.call(TypedArray, data); - } - hide(that, '_d', { - b: buffer, - o: offset, - l: byteLength, - e: length, - v: new $DataView(buffer) - }); - while (index < length) addElement(that, index++); - }); - TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$); - hide(TypedArrayPrototype, 'constructor', TypedArray); - } else if (!fails(function () { - TypedArray(1); - }) || !fails(function () { - new TypedArray(-1); // eslint-disable-line no-new - }) || !$iterDetect(function (iter) { - new TypedArray(); // eslint-disable-line no-new - new TypedArray(null); // eslint-disable-line no-new - new TypedArray(1.5); // eslint-disable-line no-new - new TypedArray(iter); // eslint-disable-line no-new - }, true)) { - TypedArray = wrapper(function (that, data, $offset, $length) { - anInstance(that, TypedArray, NAME); - var klass; - // `ws` module bug, temporarily remove validation length for Uint8Array - // https://github.com/websockets/ws/pull/645 - if (!isObject(data)) return new Base(toIndex(data)); - if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { - return $length !== undefined - ? new Base(data, toOffset($offset, BYTES), $length) - : $offset !== undefined - ? new Base(data, toOffset($offset, BYTES)) - : new Base(data); - } - if (TYPED_ARRAY in data) return fromList(TypedArray, data); - return $from.call(TypedArray, data); - }); - arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) { - if (!(key in TypedArray)) hide(TypedArray, key, Base[key]); - }); - TypedArray[PROTOTYPE] = TypedArrayPrototype; - if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray; - } - var $nativeIterator = TypedArrayPrototype[ITERATOR]; - var CORRECT_ITER_NAME = !!$nativeIterator - && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined); - var $iterator = $iterators.values; - hide(TypedArray, TYPED_CONSTRUCTOR, true); - hide(TypedArrayPrototype, TYPED_ARRAY, NAME); - hide(TypedArrayPrototype, VIEW, true); - hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray); - - if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) { - dP(TypedArrayPrototype, TAG, { - get: function () { return NAME; } - }); - } - - O[NAME] = TypedArray; - - $export($export.G + $export.W + $export.F * (TypedArray != Base), O); - - $export($export.S, NAME, { - BYTES_PER_ELEMENT: BYTES - }); - - $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, { - from: $from, - of: $of - }); - - if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES); - - $export($export.P, NAME, proto); - - setSpecies(NAME); - - $export($export.P + $export.F * FORCED_SET, NAME, { set: $set }); - - $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators); - - if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString; - - $export($export.P + $export.F * fails(function () { - new TypedArray(1).slice(); - }), NAME, { slice: $slice }); - - $export($export.P + $export.F * (fails(function () { - return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); - }) || !fails(function () { - TypedArrayPrototype.toLocaleString.call([1, 2]); - })), NAME, { toLocaleString: $toLocaleString }); - - Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator; - if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator); - }; -} else module.exports = function () { /* empty */ }; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_typed-buffer.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var DESCRIPTORS = __webpack_require__("./node_modules/core-js/modules/_descriptors.js"); -var LIBRARY = __webpack_require__("./node_modules/core-js/modules/_library.js"); -var $typed = __webpack_require__("./node_modules/core-js/modules/_typed.js"); -var hide = __webpack_require__("./node_modules/core-js/modules/_hide.js"); -var redefineAll = __webpack_require__("./node_modules/core-js/modules/_redefine-all.js"); -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var anInstance = __webpack_require__("./node_modules/core-js/modules/_an-instance.js"); -var toInteger = __webpack_require__("./node_modules/core-js/modules/_to-integer.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var toIndex = __webpack_require__("./node_modules/core-js/modules/_to-index.js"); -var gOPN = __webpack_require__("./node_modules/core-js/modules/_object-gopn.js").f; -var dP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js").f; -var arrayFill = __webpack_require__("./node_modules/core-js/modules/_array-fill.js"); -var setToStringTag = __webpack_require__("./node_modules/core-js/modules/_set-to-string-tag.js"); -var ARRAY_BUFFER = 'ArrayBuffer'; -var DATA_VIEW = 'DataView'; -var PROTOTYPE = 'prototype'; -var WRONG_LENGTH = 'Wrong length!'; -var WRONG_INDEX = 'Wrong index!'; -var $ArrayBuffer = global[ARRAY_BUFFER]; -var $DataView = global[DATA_VIEW]; -var Math = global.Math; -var RangeError = global.RangeError; -// eslint-disable-next-line no-shadow-restricted-names -var Infinity = global.Infinity; -var BaseBuffer = $ArrayBuffer; -var abs = Math.abs; -var pow = Math.pow; -var floor = Math.floor; -var log = Math.log; -var LN2 = Math.LN2; -var BUFFER = 'buffer'; -var BYTE_LENGTH = 'byteLength'; -var BYTE_OFFSET = 'byteOffset'; -var $BUFFER = DESCRIPTORS ? '_b' : BUFFER; -var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH; -var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; - -// IEEE754 conversions based on https://github.com/feross/ieee754 -function packIEEE754(value, mLen, nBytes) { - var buffer = Array(nBytes); - var eLen = nBytes * 8 - mLen - 1; - var eMax = (1 << eLen) - 1; - var eBias = eMax >> 1; - var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0; - var i = 0; - var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; - var e, m, c; - value = abs(value); - // eslint-disable-next-line no-self-compare - if (value != value || value === Infinity) { - // eslint-disable-next-line no-self-compare - m = value != value ? 1 : 0; - e = eMax; - } else { - e = floor(log(value) / LN2); - if (value * (c = pow(2, -e)) < 1) { - e--; - c *= 2; - } - if (e + eBias >= 1) { - value += rt / c; - } else { - value += rt * pow(2, 1 - eBias); - } - if (value * c >= 2) { - e++; - c /= 2; - } - if (e + eBias >= eMax) { - m = 0; - e = eMax; - } else if (e + eBias >= 1) { - m = (value * c - 1) * pow(2, mLen); - e = e + eBias; - } else { - m = value * pow(2, eBias - 1) * pow(2, mLen); - e = 0; - } - } - for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8); - e = e << mLen | m; - eLen += mLen; - for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8); - buffer[--i] |= s * 128; - return buffer; -} -function unpackIEEE754(buffer, mLen, nBytes) { - var eLen = nBytes * 8 - mLen - 1; - var eMax = (1 << eLen) - 1; - var eBias = eMax >> 1; - var nBits = eLen - 7; - var i = nBytes - 1; - var s = buffer[i--]; - var e = s & 127; - var m; - s >>= 7; - for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8); - m = e & (1 << -nBits) - 1; - e >>= -nBits; - nBits += mLen; - for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8); - if (e === 0) { - e = 1 - eBias; - } else if (e === eMax) { - return m ? NaN : s ? -Infinity : Infinity; - } else { - m = m + pow(2, mLen); - e = e - eBias; - } return (s ? -1 : 1) * m * pow(2, e - mLen); -} - -function unpackI32(bytes) { - return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0]; -} -function packI8(it) { - return [it & 0xff]; -} -function packI16(it) { - return [it & 0xff, it >> 8 & 0xff]; -} -function packI32(it) { - return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff]; -} -function packF64(it) { - return packIEEE754(it, 52, 8); -} -function packF32(it) { - return packIEEE754(it, 23, 4); -} - -function addGetter(C, key, internal) { - dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } }); -} - -function get(view, bytes, index, isLittleEndian) { - var numIndex = +index; - var intIndex = toIndex(numIndex); - if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); - var store = view[$BUFFER]._b; - var start = intIndex + view[$OFFSET]; - var pack = store.slice(start, start + bytes); - return isLittleEndian ? pack : pack.reverse(); -} -function set(view, bytes, index, conversion, value, isLittleEndian) { - var numIndex = +index; - var intIndex = toIndex(numIndex); - if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); - var store = view[$BUFFER]._b; - var start = intIndex + view[$OFFSET]; - var pack = conversion(+value); - for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1]; -} - -if (!$typed.ABV) { - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer, ARRAY_BUFFER); - var byteLength = toIndex(length); - this._b = arrayFill.call(Array(byteLength), 0); - this[$LENGTH] = byteLength; - }; - - $DataView = function DataView(buffer, byteOffset, byteLength) { - anInstance(this, $DataView, DATA_VIEW); - anInstance(buffer, $ArrayBuffer, DATA_VIEW); - var bufferLength = buffer[$LENGTH]; - var offset = toInteger(byteOffset); - if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!'); - byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); - if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); - this[$BUFFER] = buffer; - this[$OFFSET] = offset; - this[$LENGTH] = byteLength; - }; - - if (DESCRIPTORS) { - addGetter($ArrayBuffer, BYTE_LENGTH, '_l'); - addGetter($DataView, BUFFER, '_b'); - addGetter($DataView, BYTE_LENGTH, '_l'); - addGetter($DataView, BYTE_OFFSET, '_o'); - } - - redefineAll($DataView[PROTOTYPE], { - getInt8: function getInt8(byteOffset) { - return get(this, 1, byteOffset)[0] << 24 >> 24; - }, - getUint8: function getUint8(byteOffset) { - return get(this, 1, byteOffset)[0]; - }, - getInt16: function getInt16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments[1]); - return (bytes[1] << 8 | bytes[0]) << 16 >> 16; - }, - getUint16: function getUint16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments[1]); - return bytes[1] << 8 | bytes[0]; - }, - getInt32: function getInt32(byteOffset /* , littleEndian */) { - return unpackI32(get(this, 4, byteOffset, arguments[1])); - }, - getUint32: function getUint32(byteOffset /* , littleEndian */) { - return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0; - }, - getFloat32: function getFloat32(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4); - }, - getFloat64: function getFloat64(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8); - }, - setInt8: function setInt8(byteOffset, value) { - set(this, 1, byteOffset, packI8, value); - }, - setUint8: function setUint8(byteOffset, value) { - set(this, 1, byteOffset, packI8, value); - }, - setInt16: function setInt16(byteOffset, value /* , littleEndian */) { - set(this, 2, byteOffset, packI16, value, arguments[2]); - }, - setUint16: function setUint16(byteOffset, value /* , littleEndian */) { - set(this, 2, byteOffset, packI16, value, arguments[2]); - }, - setInt32: function setInt32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packI32, value, arguments[2]); - }, - setUint32: function setUint32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packI32, value, arguments[2]); - }, - setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packF32, value, arguments[2]); - }, - setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { - set(this, 8, byteOffset, packF64, value, arguments[2]); - } - }); -} else { - if (!fails(function () { - $ArrayBuffer(1); - }) || !fails(function () { - new $ArrayBuffer(-1); // eslint-disable-line no-new - }) || fails(function () { - new $ArrayBuffer(); // eslint-disable-line no-new - new $ArrayBuffer(1.5); // eslint-disable-line no-new - new $ArrayBuffer(NaN); // eslint-disable-line no-new - return $ArrayBuffer.name != ARRAY_BUFFER; - })) { - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer); - return new BaseBuffer(toIndex(length)); - }; - var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE]; - for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) { - if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]); - } - if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer; - } - // iOS Safari 7.x bug - var view = new $DataView(new $ArrayBuffer(2)); - var $setInt8 = $DataView[PROTOTYPE].setInt8; - view.setInt8(0, 2147483648); - view.setInt8(1, 2147483649); - if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], { - setInt8: function setInt8(byteOffset, value) { - $setInt8.call(this, byteOffset, value << 24 >> 24); - }, - setUint8: function setUint8(byteOffset, value) { - $setInt8.call(this, byteOffset, value << 24 >> 24); - } - }, true); -} -setToStringTag($ArrayBuffer, ARRAY_BUFFER); -setToStringTag($DataView, DATA_VIEW); -hide($DataView[PROTOTYPE], $typed.VIEW, true); -exports[ARRAY_BUFFER] = $ArrayBuffer; -exports[DATA_VIEW] = $DataView; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_typed.js": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var hide = __webpack_require__("./node_modules/core-js/modules/_hide.js"); -var uid = __webpack_require__("./node_modules/core-js/modules/_uid.js"); -var TYPED = uid('typed_array'); -var VIEW = uid('view'); -var ABV = !!(global.ArrayBuffer && global.DataView); -var CONSTR = ABV; -var i = 0; -var l = 9; -var Typed; - -var TypedArrayConstructors = ( - 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array' -).split(','); - -while (i < l) { - if (Typed = global[TypedArrayConstructors[i++]]) { - hide(Typed.prototype, TYPED, true); - hide(Typed.prototype, VIEW, true); - } else CONSTR = false; -} - -module.exports = { - ABV: ABV, - CONSTR: CONSTR, - TYPED: TYPED, - VIEW: VIEW -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_uid.js": -/***/ (function(module, exports) { - -var id = 0; -var px = Math.random(); -module.exports = function (key) { - return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_validate-collection.js": -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -module.exports = function (it, TYPE) { - if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); - return it; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_wks-define.js": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var core = __webpack_require__("./node_modules/core-js/modules/_core.js"); -var LIBRARY = __webpack_require__("./node_modules/core-js/modules/_library.js"); -var wksExt = __webpack_require__("./node_modules/core-js/modules/_wks-ext.js"); -var defineProperty = __webpack_require__("./node_modules/core-js/modules/_object-dp.js").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) }); -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_wks-ext.js": -/***/ (function(module, exports, __webpack_require__) { - -exports.f = __webpack_require__("./node_modules/core-js/modules/_wks.js"); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_wks.js": -/***/ (function(module, exports, __webpack_require__) { - -var store = __webpack_require__("./node_modules/core-js/modules/_shared.js")('wks'); -var uid = __webpack_require__("./node_modules/core-js/modules/_uid.js"); -var Symbol = __webpack_require__("./node_modules/core-js/modules/_global.js").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; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/core.get-iterator-method.js": -/***/ (function(module, exports, __webpack_require__) { - -var classof = __webpack_require__("./node_modules/core-js/modules/_classof.js"); -var ITERATOR = __webpack_require__("./node_modules/core-js/modules/_wks.js")('iterator'); -var Iterators = __webpack_require__("./node_modules/core-js/modules/_iterators.js"); -module.exports = __webpack_require__("./node_modules/core-js/modules/_core.js").getIteratorMethod = function (it) { - if (it != undefined) return it[ITERATOR] - || it['@@iterator'] - || Iterators[classof(it)]; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/core.regexp.escape.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/benjamingr/RexExp.escape -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $re = __webpack_require__("./node_modules/core-js/modules/_replacer.js")(/[\\^$*+?.()|[\]{}]/g, '\\$&'); - -$export($export.S, 'RegExp', { escape: function escape(it) { return $re(it); } }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.copy-within.js": -/***/ (function(module, exports, __webpack_require__) { - -// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.P, 'Array', { copyWithin: __webpack_require__("./node_modules/core-js/modules/_array-copy-within.js") }); - -__webpack_require__("./node_modules/core-js/modules/_add-to-unscopables.js")('copyWithin'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.every.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $every = __webpack_require__("./node_modules/core-js/modules/_array-methods.js")(4); - -$export($export.P + $export.F * !__webpack_require__("./node_modules/core-js/modules/_strict-method.js")([].every, true), 'Array', { - // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg]) - every: function every(callbackfn /* , thisArg */) { - return $every(this, callbackfn, arguments[1]); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.fill.js": -/***/ (function(module, exports, __webpack_require__) { - -// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.P, 'Array', { fill: __webpack_require__("./node_modules/core-js/modules/_array-fill.js") }); - -__webpack_require__("./node_modules/core-js/modules/_add-to-unscopables.js")('fill'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.filter.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $filter = __webpack_require__("./node_modules/core-js/modules/_array-methods.js")(2); - -$export($export.P + $export.F * !__webpack_require__("./node_modules/core-js/modules/_strict-method.js")([].filter, true), 'Array', { - // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) - filter: function filter(callbackfn /* , thisArg */) { - return $filter(this, callbackfn, arguments[1]); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.find-index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $find = __webpack_require__("./node_modules/core-js/modules/_array-methods.js")(6); -var KEY = 'findIndex'; -var forced = true; -// Shouldn't skip holes -if (KEY in []) Array(1)[KEY](function () { forced = false; }); -$export($export.P + $export.F * forced, 'Array', { - findIndex: function findIndex(callbackfn /* , that = undefined */) { - return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); -__webpack_require__("./node_modules/core-js/modules/_add-to-unscopables.js")(KEY); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.find.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $find = __webpack_require__("./node_modules/core-js/modules/_array-methods.js")(5); -var KEY = 'find'; -var forced = true; -// Shouldn't skip holes -if (KEY in []) Array(1)[KEY](function () { forced = false; }); -$export($export.P + $export.F * forced, 'Array', { - find: function find(callbackfn /* , that = undefined */) { - return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); -__webpack_require__("./node_modules/core-js/modules/_add-to-unscopables.js")(KEY); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.for-each.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $forEach = __webpack_require__("./node_modules/core-js/modules/_array-methods.js")(0); -var STRICT = __webpack_require__("./node_modules/core-js/modules/_strict-method.js")([].forEach, true); - -$export($export.P + $export.F * !STRICT, 'Array', { - // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) - forEach: function forEach(callbackfn /* , thisArg */) { - return $forEach(this, callbackfn, arguments[1]); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.from.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var ctx = __webpack_require__("./node_modules/core-js/modules/_ctx.js"); -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var call = __webpack_require__("./node_modules/core-js/modules/_iter-call.js"); -var isArrayIter = __webpack_require__("./node_modules/core-js/modules/_is-array-iter.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var createProperty = __webpack_require__("./node_modules/core-js/modules/_create-property.js"); -var getIterFn = __webpack_require__("./node_modules/core-js/modules/core.get-iterator-method.js"); - -$export($export.S + $export.F * !__webpack_require__("./node_modules/core-js/modules/_iter-detect.js")(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; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.index-of.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $indexOf = __webpack_require__("./node_modules/core-js/modules/_array-includes.js")(false); -var $native = [].indexOf; -var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; - -$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__("./node_modules/core-js/modules/_strict-method.js")($native)), 'Array', { - // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex]) - indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { - return NEGATIVE_ZERO - // convert -0 to +0 - ? $native.apply(this, arguments) || 0 - : $indexOf(this, searchElement, arguments[1]); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.is-array.js": -/***/ (function(module, exports, __webpack_require__) { - -// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Array', { isArray: __webpack_require__("./node_modules/core-js/modules/_is-array.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.iterator.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var addToUnscopables = __webpack_require__("./node_modules/core-js/modules/_add-to-unscopables.js"); -var step = __webpack_require__("./node_modules/core-js/modules/_iter-step.js"); -var Iterators = __webpack_require__("./node_modules/core-js/modules/_iterators.js"); -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); - -// 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__("./node_modules/core-js/modules/_iter-define.js")(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'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.join.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// 22.1.3.13 Array.prototype.join(separator) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); -var arrayJoin = [].join; - -// fallback for not array-like strings -$export($export.P + $export.F * (__webpack_require__("./node_modules/core-js/modules/_iobject.js") != Object || !__webpack_require__("./node_modules/core-js/modules/_strict-method.js")(arrayJoin)), 'Array', { - join: function join(separator) { - return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.last-index-of.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); -var toInteger = __webpack_require__("./node_modules/core-js/modules/_to-integer.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var $native = [].lastIndexOf; -var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; - -$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__("./node_modules/core-js/modules/_strict-method.js")($native)), 'Array', { - // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex]) - lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { - // convert -0 to +0 - if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0; - var O = toIObject(this); - var length = toLength(O.length); - var index = length - 1; - if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1])); - if (index < 0) index = length + index; - for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0; - return -1; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.map.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $map = __webpack_require__("./node_modules/core-js/modules/_array-methods.js")(1); - -$export($export.P + $export.F * !__webpack_require__("./node_modules/core-js/modules/_strict-method.js")([].map, true), 'Array', { - // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) - map: function map(callbackfn /* , thisArg */) { - return $map(this, callbackfn, arguments[1]); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.of.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var createProperty = __webpack_require__("./node_modules/core-js/modules/_create-property.js"); - -// WebKit Array.of isn't generic -$export($export.S + $export.F * __webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - function F() { /* empty */ } - return !(Array.of.call(F) instanceof F); -}), 'Array', { - // 22.1.2.3 Array.of( ...items) - of: function of(/* ...args */) { - var index = 0; - var aLen = arguments.length; - var result = new (typeof this == 'function' ? this : Array)(aLen); - while (aLen > index) createProperty(result, index, arguments[index++]); - result.length = aLen; - return result; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.reduce-right.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $reduce = __webpack_require__("./node_modules/core-js/modules/_array-reduce.js"); - -$export($export.P + $export.F * !__webpack_require__("./node_modules/core-js/modules/_strict-method.js")([].reduceRight, true), 'Array', { - // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue]) - reduceRight: function reduceRight(callbackfn /* , initialValue */) { - return $reduce(this, callbackfn, arguments.length, arguments[1], true); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.reduce.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $reduce = __webpack_require__("./node_modules/core-js/modules/_array-reduce.js"); - -$export($export.P + $export.F * !__webpack_require__("./node_modules/core-js/modules/_strict-method.js")([].reduce, true), 'Array', { - // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue]) - reduce: function reduce(callbackfn /* , initialValue */) { - return $reduce(this, callbackfn, arguments.length, arguments[1], false); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.slice.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var html = __webpack_require__("./node_modules/core-js/modules/_html.js"); -var cof = __webpack_require__("./node_modules/core-js/modules/_cof.js"); -var toAbsoluteIndex = __webpack_require__("./node_modules/core-js/modules/_to-absolute-index.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var arraySlice = [].slice; - -// fallback for not array-like ES3 strings and DOM objects -$export($export.P + $export.F * __webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - if (html) arraySlice.call(html); -}), 'Array', { - slice: function slice(begin, end) { - var len = toLength(this.length); - var klass = cof(this); - end = end === undefined ? len : end; - if (klass == 'Array') return arraySlice.call(this, begin, end); - var start = toAbsoluteIndex(begin, len); - var upTo = toAbsoluteIndex(end, len); - var size = toLength(upTo - start); - var cloned = Array(size); - var i = 0; - for (; i < size; i++) cloned[i] = klass == 'String' - ? this.charAt(start + i) - : this[start + i]; - return cloned; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.some.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $some = __webpack_require__("./node_modules/core-js/modules/_array-methods.js")(3); - -$export($export.P + $export.F * !__webpack_require__("./node_modules/core-js/modules/_strict-method.js")([].some, true), 'Array', { - // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg]) - some: function some(callbackfn /* , thisArg */) { - return $some(this, callbackfn, arguments[1]); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.sort.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var $sort = [].sort; -var test = [1, 2, 3]; - -$export($export.P + $export.F * (fails(function () { - // IE8- - test.sort(undefined); -}) || !fails(function () { - // V8 bug - test.sort(null); - // Old WebKit -}) || !__webpack_require__("./node_modules/core-js/modules/_strict-method.js")($sort)), 'Array', { - // 22.1.3.25 Array.prototype.sort(comparefn) - sort: function sort(comparefn) { - return comparefn === undefined - ? $sort.call(toObject(this)) - : $sort.call(toObject(this), aFunction(comparefn)); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.species.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_set-species.js")('Array'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.date.now.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.3.3.1 / 15.9.4.4 Date.now() -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.date.to-iso-string.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toISOString = __webpack_require__("./node_modules/core-js/modules/_date-to-iso-string.js"); - -// PhantomJS / old WebKit has a broken implementations -$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', { - toISOString: toISOString -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.date.to-json.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var toPrimitive = __webpack_require__("./node_modules/core-js/modules/_to-primitive.js"); - -$export($export.P + $export.F * __webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - return new Date(NaN).toJSON() !== null - || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; -}), 'Date', { - // eslint-disable-next-line no-unused-vars - toJSON: function toJSON(key) { - var O = toObject(this); - var pv = toPrimitive(O); - return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.date.to-primitive.js": -/***/ (function(module, exports, __webpack_require__) { - -var TO_PRIMITIVE = __webpack_require__("./node_modules/core-js/modules/_wks.js")('toPrimitive'); -var proto = Date.prototype; - -if (!(TO_PRIMITIVE in proto)) __webpack_require__("./node_modules/core-js/modules/_hide.js")(proto, TO_PRIMITIVE, __webpack_require__("./node_modules/core-js/modules/_date-to-primitive.js")); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.date.to-string.js": -/***/ (function(module, exports, __webpack_require__) { - -var DateProto = Date.prototype; -var INVALID_DATE = 'Invalid Date'; -var TO_STRING = 'toString'; -var $toString = DateProto[TO_STRING]; -var getTime = DateProto.getTime; -if (new Date(NaN) + '' != INVALID_DATE) { - __webpack_require__("./node_modules/core-js/modules/_redefine.js")(DateProto, TO_STRING, function toString() { - var value = getTime.call(this); - // eslint-disable-next-line no-self-compare - return value === value ? $toString.call(this) : INVALID_DATE; - }); -} - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.function.bind.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.P, 'Function', { bind: __webpack_require__("./node_modules/core-js/modules/_bind.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.function.has-instance.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var getPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); -var HAS_INSTANCE = __webpack_require__("./node_modules/core-js/modules/_wks.js")('hasInstance'); -var FunctionProto = Function.prototype; -// 19.2.3.6 Function.prototype[@@hasInstance](V) -if (!(HAS_INSTANCE in FunctionProto)) __webpack_require__("./node_modules/core-js/modules/_object-dp.js").f(FunctionProto, HAS_INSTANCE, { value: function (O) { - if (typeof this != 'function' || !isObject(O)) return false; - if (!isObject(this.prototype)) return O instanceof this; - // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: - while (O = getPrototypeOf(O)) if (this.prototype === O) return true; - return false; -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.function.name.js": -/***/ (function(module, exports, __webpack_require__) { - -var dP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js").f; -var FProto = Function.prototype; -var nameRE = /^\s*function ([^ (]*)/; -var NAME = 'name'; - -// 19.2.4.2 name -NAME in FProto || __webpack_require__("./node_modules/core-js/modules/_descriptors.js") && dP(FProto, NAME, { - configurable: true, - get: function () { - try { - return ('' + this).match(nameRE)[1]; - } catch (e) { - return ''; - } - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.map.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var strong = __webpack_require__("./node_modules/core-js/modules/_collection-strong.js"); -var validate = __webpack_require__("./node_modules/core-js/modules/_validate-collection.js"); -var MAP = 'Map'; - -// 23.1 Map Objects -module.exports = __webpack_require__("./node_modules/core-js/modules/_collection.js")(MAP, function (get) { - return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; -}, { - // 23.1.3.6 Map.prototype.get(key) - get: function get(key) { - var entry = strong.getEntry(validate(this, MAP), key); - return entry && entry.v; - }, - // 23.1.3.9 Map.prototype.set(key, value) - set: function set(key, value) { - return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); - } -}, strong, true); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.acosh.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.3 Math.acosh(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var log1p = __webpack_require__("./node_modules/core-js/modules/_math-log1p.js"); -var sqrt = Math.sqrt; -var $acosh = Math.acosh; - -$export($export.S + $export.F * !($acosh - // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 - && Math.floor($acosh(Number.MAX_VALUE)) == 710 - // Tor Browser bug: Math.acosh(Infinity) -> NaN - && $acosh(Infinity) == Infinity -), 'Math', { - acosh: function acosh(x) { - return (x = +x) < 1 ? NaN : x > 94906265.62425156 - ? Math.log(x) + Math.LN2 - : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.asinh.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.5 Math.asinh(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $asinh = Math.asinh; - -function asinh(x) { - return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); -} - -// Tor Browser bug: Math.asinh(0) -> -0 -$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.atanh.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.7 Math.atanh(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $atanh = Math.atanh; - -// Tor Browser bug: Math.atanh(-0) -> 0 -$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { - atanh: function atanh(x) { - return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.cbrt.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.9 Math.cbrt(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var sign = __webpack_require__("./node_modules/core-js/modules/_math-sign.js"); - -$export($export.S, 'Math', { - cbrt: function cbrt(x) { - return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.clz32.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.11 Math.clz32(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { - clz32: function clz32(x) { - return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.cosh.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.12 Math.cosh(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var exp = Math.exp; - -$export($export.S, 'Math', { - cosh: function cosh(x) { - return (exp(x = +x) + exp(-x)) / 2; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.expm1.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.14 Math.expm1(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $expm1 = __webpack_require__("./node_modules/core-js/modules/_math-expm1.js"); - -$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.fround.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.16 Math.fround(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { fround: __webpack_require__("./node_modules/core-js/modules/_math-fround.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.hypot.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var abs = Math.abs; - -$export($export.S, 'Math', { - hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars - var sum = 0; - var i = 0; - var aLen = arguments.length; - var larg = 0; - var arg, div; - while (i < aLen) { - arg = abs(arguments[i++]); - if (larg < arg) { - div = larg / arg; - sum = sum * div * div + 1; - larg = arg; - } else if (arg > 0) { - div = arg / larg; - sum += div * div; - } else sum += arg; - } - return larg === Infinity ? Infinity : larg * Math.sqrt(sum); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.imul.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.18 Math.imul(x, y) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $imul = Math.imul; - -// some WebKit versions fails with big numbers, some has wrong arity -$export($export.S + $export.F * __webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - return $imul(0xffffffff, 5) != -5 || $imul.length != 2; -}), 'Math', { - imul: function imul(x, y) { - var UINT16 = 0xffff; - var xn = +x; - var yn = +y; - var xl = UINT16 & xn; - var yl = UINT16 & yn; - return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.log10.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.21 Math.log10(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { - log10: function log10(x) { - return Math.log(x) * Math.LOG10E; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.log1p.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.20 Math.log1p(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { log1p: __webpack_require__("./node_modules/core-js/modules/_math-log1p.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.log2.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.22 Math.log2(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { - log2: function log2(x) { - return Math.log(x) / Math.LN2; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.sign.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.28 Math.sign(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { sign: __webpack_require__("./node_modules/core-js/modules/_math-sign.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.sinh.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.30 Math.sinh(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var expm1 = __webpack_require__("./node_modules/core-js/modules/_math-expm1.js"); -var exp = Math.exp; - -// V8 near Chromium 38 has a problem with very small numbers -$export($export.S + $export.F * __webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - return !Math.sinh(-2e-17) != -2e-17; -}), 'Math', { - sinh: function sinh(x) { - return Math.abs(x = +x) < 1 - ? (expm1(x) - expm1(-x)) / 2 - : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.tanh.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.33 Math.tanh(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var expm1 = __webpack_require__("./node_modules/core-js/modules/_math-expm1.js"); -var exp = Math.exp; - -$export($export.S, 'Math', { - tanh: function tanh(x) { - var a = expm1(x = +x); - var b = expm1(-x); - return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.trunc.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.2.2.34 Math.trunc(x) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { - trunc: function trunc(it) { - return (it > 0 ? Math.floor : Math.ceil)(it); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.constructor.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var cof = __webpack_require__("./node_modules/core-js/modules/_cof.js"); -var inheritIfRequired = __webpack_require__("./node_modules/core-js/modules/_inherit-if-required.js"); -var toPrimitive = __webpack_require__("./node_modules/core-js/modules/_to-primitive.js"); -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var gOPN = __webpack_require__("./node_modules/core-js/modules/_object-gopn.js").f; -var gOPD = __webpack_require__("./node_modules/core-js/modules/_object-gopd.js").f; -var dP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js").f; -var $trim = __webpack_require__("./node_modules/core-js/modules/_string-trim.js").trim; -var NUMBER = 'Number'; -var $Number = global[NUMBER]; -var Base = $Number; -var proto = $Number.prototype; -// Opera ~12 has broken Object#toString -var BROKEN_COF = cof(__webpack_require__("./node_modules/core-js/modules/_object-create.js")(proto)) == NUMBER; -var TRIM = 'trim' in String.prototype; - -// 7.1.3 ToNumber(argument) -var toNumber = function (argument) { - var it = toPrimitive(argument, false); - if (typeof it == 'string' && it.length > 2) { - it = TRIM ? it.trim() : $trim(it, 3); - var first = it.charCodeAt(0); - var third, radix, maxCode; - if (first === 43 || first === 45) { - third = it.charCodeAt(2); - if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix - } else if (first === 48) { - switch (it.charCodeAt(1)) { - case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i - case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i - default: return +it; - } - for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) { - code = digits.charCodeAt(i); - // parseInt parses a string to a first unavailable symbol - // but ToNumber should return NaN if a string contains unavailable symbols - if (code < 48 || code > maxCode) return NaN; - } return parseInt(digits, radix); - } - } return +it; -}; - -if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { - $Number = function Number(value) { - var it = arguments.length < 1 ? 0 : value; - var that = this; - return that instanceof $Number - // check on 1..constructor(foo) case - && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER) - ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it); - }; - for (var keys = __webpack_require__("./node_modules/core-js/modules/_descriptors.js") ? gOPN(Base) : ( - // ES3: - 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + - // ES6 (in case, if modules with ES6 Number statics required before): - 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + - 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' - ).split(','), j = 0, key; keys.length > j; j++) { - if (has(Base, key = keys[j]) && !has($Number, key)) { - dP($Number, key, gOPD(Base, key)); - } - } - $Number.prototype = proto; - proto.constructor = $Number; - __webpack_require__("./node_modules/core-js/modules/_redefine.js")(global, NUMBER, $Number); -} - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.epsilon.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.1.2.1 Number.EPSILON -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.is-finite.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.1.2.2 Number.isFinite(number) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var _isFinite = __webpack_require__("./node_modules/core-js/modules/_global.js").isFinite; - -$export($export.S, 'Number', { - isFinite: function isFinite(it) { - return typeof it == 'number' && _isFinite(it); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.is-integer.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.1.2.3 Number.isInteger(number) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Number', { isInteger: __webpack_require__("./node_modules/core-js/modules/_is-integer.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.is-nan.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.1.2.4 Number.isNaN(number) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Number', { - isNaN: function isNaN(number) { - // eslint-disable-next-line no-self-compare - return number != number; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.is-safe-integer.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.1.2.5 Number.isSafeInteger(number) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var isInteger = __webpack_require__("./node_modules/core-js/modules/_is-integer.js"); -var abs = Math.abs; - -$export($export.S, 'Number', { - isSafeInteger: function isSafeInteger(number) { - return isInteger(number) && abs(number) <= 0x1fffffffffffff; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.max-safe-integer.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.1.2.6 Number.MAX_SAFE_INTEGER -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.min-safe-integer.js": -/***/ (function(module, exports, __webpack_require__) { - -// 20.1.2.10 Number.MIN_SAFE_INTEGER -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.parse-float.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $parseFloat = __webpack_require__("./node_modules/core-js/modules/_parse-float.js"); -// 20.1.2.12 Number.parseFloat(string) -$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.parse-int.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $parseInt = __webpack_require__("./node_modules/core-js/modules/_parse-int.js"); -// 20.1.2.13 Number.parseInt(string, radix) -$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.to-fixed.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toInteger = __webpack_require__("./node_modules/core-js/modules/_to-integer.js"); -var aNumberValue = __webpack_require__("./node_modules/core-js/modules/_a-number-value.js"); -var repeat = __webpack_require__("./node_modules/core-js/modules/_string-repeat.js"); -var $toFixed = 1.0.toFixed; -var floor = Math.floor; -var data = [0, 0, 0, 0, 0, 0]; -var ERROR = 'Number.toFixed: incorrect invocation!'; -var ZERO = '0'; - -var multiply = function (n, c) { - var i = -1; - var c2 = c; - while (++i < 6) { - c2 += n * data[i]; - data[i] = c2 % 1e7; - c2 = floor(c2 / 1e7); - } -}; -var divide = function (n) { - var i = 6; - var c = 0; - while (--i >= 0) { - c += data[i]; - data[i] = floor(c / n); - c = (c % n) * 1e7; - } -}; -var numToString = function () { - var i = 6; - var s = ''; - while (--i >= 0) { - if (s !== '' || i === 0 || data[i] !== 0) { - var t = String(data[i]); - s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t; - } - } return s; -}; -var pow = function (x, n, acc) { - return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); -}; -var log = function (x) { - var n = 0; - var x2 = x; - while (x2 >= 4096) { - n += 12; - x2 /= 4096; - } - while (x2 >= 2) { - n += 1; - x2 /= 2; - } return n; -}; - -$export($export.P + $export.F * (!!$toFixed && ( - 0.00008.toFixed(3) !== '0.000' || - 0.9.toFixed(0) !== '1' || - 1.255.toFixed(2) !== '1.25' || - 1000000000000000128.0.toFixed(0) !== '1000000000000000128' -) || !__webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - // V8 ~ Android 4.3- - $toFixed.call({}); -})), 'Number', { - toFixed: function toFixed(fractionDigits) { - var x = aNumberValue(this, ERROR); - var f = toInteger(fractionDigits); - var s = ''; - var m = ZERO; - var e, z, j, k; - if (f < 0 || f > 20) throw RangeError(ERROR); - // eslint-disable-next-line no-self-compare - if (x != x) return 'NaN'; - if (x <= -1e21 || x >= 1e21) return String(x); - if (x < 0) { - s = '-'; - x = -x; - } - if (x > 1e-21) { - e = log(x * pow(2, 69, 1)) - 69; - z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1); - z *= 0x10000000000000; - e = 52 - e; - if (e > 0) { - multiply(0, z); - j = f; - while (j >= 7) { - multiply(1e7, 0); - j -= 7; - } - multiply(pow(10, j, 1), 0); - j = e - 1; - while (j >= 23) { - divide(1 << 23); - j -= 23; - } - divide(1 << j); - multiply(1, 1); - divide(2); - m = numToString(); - } else { - multiply(0, z); - multiply(1 << -e, 0); - m = numToString() + repeat.call(ZERO, f); - } - } - if (f > 0) { - k = m.length; - m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); - } else { - m = s + m; - } return m; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.number.to-precision.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var aNumberValue = __webpack_require__("./node_modules/core-js/modules/_a-number-value.js"); -var $toPrecision = 1.0.toPrecision; - -$export($export.P + $export.F * ($fails(function () { - // IE7- - return $toPrecision.call(1, undefined) !== '1'; -}) || !$fails(function () { - // V8 ~ Android 4.3- - $toPrecision.call({}); -})), 'Number', { - toPrecision: function toPrecision(precision) { - var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!'); - return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.assign.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.3.1 Object.assign(target, source) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S + $export.F, 'Object', { assign: __webpack_require__("./node_modules/core-js/modules/_object-assign.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.create.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -$export($export.S, 'Object', { create: __webpack_require__("./node_modules/core-js/modules/_object-create.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.define-properties.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) -$export($export.S + $export.F * !__webpack_require__("./node_modules/core-js/modules/_descriptors.js"), 'Object', { defineProperties: __webpack_require__("./node_modules/core-js/modules/_object-dps.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.define-property.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) -$export($export.S + $export.F * !__webpack_require__("./node_modules/core-js/modules/_descriptors.js"), 'Object', { defineProperty: __webpack_require__("./node_modules/core-js/modules/_object-dp.js").f }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.freeze.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.5 Object.freeze(O) -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var meta = __webpack_require__("./node_modules/core-js/modules/_meta.js").onFreeze; - -__webpack_require__("./node_modules/core-js/modules/_object-sap.js")('freeze', function ($freeze) { - return function freeze(it) { - return $freeze && isObject(it) ? $freeze(meta(it)) : it; - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); -var $getOwnPropertyDescriptor = __webpack_require__("./node_modules/core-js/modules/_object-gopd.js").f; - -__webpack_require__("./node_modules/core-js/modules/_object-sap.js")('getOwnPropertyDescriptor', function () { - return function getOwnPropertyDescriptor(it, key) { - return $getOwnPropertyDescriptor(toIObject(it), key); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.get-own-property-names.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.7 Object.getOwnPropertyNames(O) -__webpack_require__("./node_modules/core-js/modules/_object-sap.js")('getOwnPropertyNames', function () { - return __webpack_require__("./node_modules/core-js/modules/_object-gopn-ext.js").f; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.get-prototype-of.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.9 Object.getPrototypeOf(O) -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var $getPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); - -__webpack_require__("./node_modules/core-js/modules/_object-sap.js")('getPrototypeOf', function () { - return function getPrototypeOf(it) { - return $getPrototypeOf(toObject(it)); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.is-extensible.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.11 Object.isExtensible(O) -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); - -__webpack_require__("./node_modules/core-js/modules/_object-sap.js")('isExtensible', function ($isExtensible) { - return function isExtensible(it) { - return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false; - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.is-frozen.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.12 Object.isFrozen(O) -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); - -__webpack_require__("./node_modules/core-js/modules/_object-sap.js")('isFrozen', function ($isFrozen) { - return function isFrozen(it) { - return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.is-sealed.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.13 Object.isSealed(O) -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); - -__webpack_require__("./node_modules/core-js/modules/_object-sap.js")('isSealed', function ($isSealed) { - return function isSealed(it) { - return isObject(it) ? $isSealed ? $isSealed(it) : false : true; - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.is.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.3.10 Object.is(value1, value2) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -$export($export.S, 'Object', { is: __webpack_require__("./node_modules/core-js/modules/_same-value.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.keys.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.14 Object.keys(O) -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var $keys = __webpack_require__("./node_modules/core-js/modules/_object-keys.js"); - -__webpack_require__("./node_modules/core-js/modules/_object-sap.js")('keys', function () { - return function keys(it) { - return $keys(toObject(it)); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.prevent-extensions.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.15 Object.preventExtensions(O) -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var meta = __webpack_require__("./node_modules/core-js/modules/_meta.js").onFreeze; - -__webpack_require__("./node_modules/core-js/modules/_object-sap.js")('preventExtensions', function ($preventExtensions) { - return function preventExtensions(it) { - return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.seal.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.2.17 Object.seal(O) -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var meta = __webpack_require__("./node_modules/core-js/modules/_meta.js").onFreeze; - -__webpack_require__("./node_modules/core-js/modules/_object-sap.js")('seal', function ($seal) { - return function seal(it) { - return $seal && isObject(it) ? $seal(meta(it)) : it; - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.set-prototype-of.js": -/***/ (function(module, exports, __webpack_require__) { - -// 19.1.3.19 Object.setPrototypeOf(O, proto) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -$export($export.S, 'Object', { setPrototypeOf: __webpack_require__("./node_modules/core-js/modules/_set-proto.js").set }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.object.to-string.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// 19.1.3.6 Object.prototype.toString() -var classof = __webpack_require__("./node_modules/core-js/modules/_classof.js"); -var test = {}; -test[__webpack_require__("./node_modules/core-js/modules/_wks.js")('toStringTag')] = 'z'; -if (test + '' != '[object z]') { - __webpack_require__("./node_modules/core-js/modules/_redefine.js")(Object.prototype, 'toString', function toString() { - return '[object ' + classof(this) + ']'; - }, true); -} - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.parse-float.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $parseFloat = __webpack_require__("./node_modules/core-js/modules/_parse-float.js"); -// 18.2.4 parseFloat(string) -$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.parse-int.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $parseInt = __webpack_require__("./node_modules/core-js/modules/_parse-int.js"); -// 18.2.5 parseInt(string, radix) -$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.promise.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var LIBRARY = __webpack_require__("./node_modules/core-js/modules/_library.js"); -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var ctx = __webpack_require__("./node_modules/core-js/modules/_ctx.js"); -var classof = __webpack_require__("./node_modules/core-js/modules/_classof.js"); -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var anInstance = __webpack_require__("./node_modules/core-js/modules/_an-instance.js"); -var forOf = __webpack_require__("./node_modules/core-js/modules/_for-of.js"); -var speciesConstructor = __webpack_require__("./node_modules/core-js/modules/_species-constructor.js"); -var task = __webpack_require__("./node_modules/core-js/modules/_task.js").set; -var microtask = __webpack_require__("./node_modules/core-js/modules/_microtask.js")(); -var newPromiseCapabilityModule = __webpack_require__("./node_modules/core-js/modules/_new-promise-capability.js"); -var perform = __webpack_require__("./node_modules/core-js/modules/_perform.js"); -var promiseResolve = __webpack_require__("./node_modules/core-js/modules/_promise-resolve.js"); -var PROMISE = 'Promise'; -var TypeError = global.TypeError; -var process = global.process; -var $Promise = global[PROMISE]; -var isNode = classof(process) == 'process'; -var empty = function () { /* empty */ }; -var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; -var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; - -var USE_NATIVE = !!function () { - try { - // correct subclassing with @@species support - var promise = $Promise.resolve(1); - var FakePromise = (promise.constructor = {})[__webpack_require__("./node_modules/core-js/modules/_wks.js")('species')] = function (exec) { - exec(empty, empty); - }; - // unhandled rejections tracking support, NodeJS Promise without it fails @@species test - return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise; - } catch (e) { /* empty */ } -}(); - -// helpers -var isThenable = function (it) { - var then; - return isObject(it) && typeof (then = it.then) == 'function' ? then : false; -}; -var notify = function (promise, isReject) { - if (promise._n) return; - promise._n = true; - var chain = promise._c; - microtask(function () { - var value = promise._v; - var ok = promise._s == 1; - var i = 0; - var run = function (reaction) { - var handler = ok ? reaction.ok : reaction.fail; - var resolve = reaction.resolve; - var reject = reaction.reject; - var domain = reaction.domain; - var result, then; - try { - if (handler) { - if (!ok) { - if (promise._h == 2) onHandleUnhandled(promise); - promise._h = 1; - } - if (handler === true) result = value; - else { - if (domain) domain.enter(); - result = handler(value); - if (domain) domain.exit(); - } - if (result === reaction.promise) { - reject(TypeError('Promise-chain cycle')); - } else if (then = isThenable(result)) { - then.call(result, resolve, reject); - } else resolve(result); - } else reject(value); - } catch (e) { - reject(e); - } - }; - while (chain.length > i) run(chain[i++]); // variable length - can't use forEach - promise._c = []; - promise._n = false; - if (isReject && !promise._h) onUnhandled(promise); - }); -}; -var onUnhandled = function (promise) { - task.call(global, function () { - var value = promise._v; - var unhandled = isUnhandled(promise); - var result, handler, console; - if (unhandled) { - result = perform(function () { - if (isNode) { - process.emit('unhandledRejection', value, promise); - } else if (handler = global.onunhandledrejection) { - handler({ promise: promise, reason: value }); - } else if ((console = global.console) && console.error) { - console.error('Unhandled promise rejection', value); - } - }); - // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should - promise._h = isNode || isUnhandled(promise) ? 2 : 1; - } promise._a = undefined; - if (unhandled && result.e) throw result.v; - }); -}; -var isUnhandled = function (promise) { - if (promise._h == 1) return false; - var chain = promise._a || promise._c; - var i = 0; - var reaction; - while (chain.length > i) { - reaction = chain[i++]; - if (reaction.fail || !isUnhandled(reaction.promise)) return false; - } return true; -}; -var onHandleUnhandled = function (promise) { - task.call(global, function () { - var handler; - if (isNode) { - process.emit('rejectionHandled', promise); - } else if (handler = global.onrejectionhandled) { - handler({ promise: promise, reason: promise._v }); - } - }); -}; -var $reject = function (value) { - var promise = this; - if (promise._d) return; - promise._d = true; - promise = promise._w || promise; // unwrap - promise._v = value; - promise._s = 2; - if (!promise._a) promise._a = promise._c.slice(); - notify(promise, true); -}; -var $resolve = function (value) { - var promise = this; - var then; - if (promise._d) return; - promise._d = true; - promise = promise._w || promise; // unwrap - try { - if (promise === value) throw TypeError("Promise can't be resolved itself"); - if (then = isThenable(value)) { - microtask(function () { - var wrapper = { _w: promise, _d: false }; // wrap - try { - then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); - } catch (e) { - $reject.call(wrapper, e); - } - }); - } else { - promise._v = value; - promise._s = 1; - notify(promise, false); - } - } catch (e) { - $reject.call({ _w: promise, _d: false }, e); // wrap - } -}; - -// constructor polyfill -if (!USE_NATIVE) { - // 25.4.3.1 Promise(executor) - $Promise = function Promise(executor) { - anInstance(this, $Promise, PROMISE, '_h'); - aFunction(executor); - Internal.call(this); - try { - executor(ctx($resolve, this, 1), ctx($reject, this, 1)); - } catch (err) { - $reject.call(this, err); - } - }; - // eslint-disable-next-line no-unused-vars - Internal = function Promise(executor) { - this._c = []; // <- awaiting reactions - this._a = undefined; // <- checked in isUnhandled reactions - this._s = 0; // <- state - this._d = false; // <- done - this._v = undefined; // <- value - this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled - this._n = false; // <- notify - }; - Internal.prototype = __webpack_require__("./node_modules/core-js/modules/_redefine-all.js")($Promise.prototype, { - // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) - then: function then(onFulfilled, onRejected) { - var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); - reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; - reaction.fail = typeof onRejected == 'function' && onRejected; - reaction.domain = isNode ? process.domain : undefined; - this._c.push(reaction); - if (this._a) this._a.push(reaction); - if (this._s) notify(this, false); - return reaction.promise; - }, - // 25.4.5.1 Promise.prototype.catch(onRejected) - 'catch': function (onRejected) { - return this.then(undefined, onRejected); - } - }); - OwnPromiseCapability = function () { - var promise = new Internal(); - this.promise = promise; - this.resolve = ctx($resolve, promise, 1); - this.reject = ctx($reject, promise, 1); - }; - newPromiseCapabilityModule.f = newPromiseCapability = function (C) { - return C === $Promise || C === Wrapper - ? new OwnPromiseCapability(C) - : newGenericPromiseCapability(C); - }; -} - -$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); -__webpack_require__("./node_modules/core-js/modules/_set-to-string-tag.js")($Promise, PROMISE); -__webpack_require__("./node_modules/core-js/modules/_set-species.js")(PROMISE); -Wrapper = __webpack_require__("./node_modules/core-js/modules/_core.js")[PROMISE]; - -// statics -$export($export.S + $export.F * !USE_NATIVE, PROMISE, { - // 25.4.4.5 Promise.reject(r) - reject: function reject(r) { - var capability = newPromiseCapability(this); - var $$reject = capability.reject; - $$reject(r); - return capability.promise; - } -}); -$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { - // 25.4.4.6 Promise.resolve(x) - resolve: function resolve(x) { - return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); - } -}); -$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__("./node_modules/core-js/modules/_iter-detect.js")(function (iter) { - $Promise.all(iter)['catch'](empty); -})), PROMISE, { - // 25.4.4.1 Promise.all(iterable) - all: function all(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var resolve = capability.resolve; - var reject = capability.reject; - var result = perform(function () { - var values = []; - var index = 0; - var remaining = 1; - forOf(iterable, false, function (promise) { - var $index = index++; - var alreadyCalled = false; - values.push(undefined); - remaining++; - C.resolve(promise).then(function (value) { - if (alreadyCalled) return; - alreadyCalled = true; - values[$index] = value; - --remaining || resolve(values); - }, reject); - }); - --remaining || resolve(values); - }); - if (result.e) reject(result.v); - return capability.promise; - }, - // 25.4.4.4 Promise.race(iterable) - race: function race(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var reject = capability.reject; - var result = perform(function () { - forOf(iterable, false, function (promise) { - C.resolve(promise).then(capability.resolve, reject); - }); - }); - if (result.e) reject(result.v); - return capability.promise; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.apply.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.1 Reflect.apply(target, thisArgument, argumentsList) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var rApply = (__webpack_require__("./node_modules/core-js/modules/_global.js").Reflect || {}).apply; -var fApply = Function.apply; -// MS Edge argumentsList argument is optional -$export($export.S + $export.F * !__webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - rApply(function () { /* empty */ }); -}), 'Reflect', { - apply: function apply(target, thisArgument, argumentsList) { - var T = aFunction(target); - var L = anObject(argumentsList); - return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.construct.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var create = __webpack_require__("./node_modules/core-js/modules/_object-create.js"); -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var bind = __webpack_require__("./node_modules/core-js/modules/_bind.js"); -var rConstruct = (__webpack_require__("./node_modules/core-js/modules/_global.js").Reflect || {}).construct; - -// MS Edge supports only 2 arguments and argumentsList argument is optional -// FF Nightly sets third argument as `new.target`, but does not create `this` from it -var NEW_TARGET_BUG = fails(function () { - function F() { /* empty */ } - return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); -}); -var ARGS_BUG = !fails(function () { - rConstruct(function () { /* empty */ }); -}); - -$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { - construct: function construct(Target, args /* , newTarget */) { - aFunction(Target); - anObject(args); - var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); - if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); - if (Target == newTarget) { - // w/o altered newTarget, optimization for 0-4 arguments - switch (args.length) { - case 0: return new Target(); - case 1: return new Target(args[0]); - case 2: return new Target(args[0], args[1]); - case 3: return new Target(args[0], args[1], args[2]); - case 4: return new Target(args[0], args[1], args[2], args[3]); - } - // w/o altered newTarget, lot of arguments case - var $args = [null]; - $args.push.apply($args, args); - return new (bind.apply(Target, $args))(); - } - // with altered newTarget, not support built-in constructors - var proto = newTarget.prototype; - var instance = create(isObject(proto) ? proto : Object.prototype); - var result = Function.apply.call(Target, instance, args); - return isObject(result) ? result : instance; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.define-property.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) -var dP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js"); -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var toPrimitive = __webpack_require__("./node_modules/core-js/modules/_to-primitive.js"); - -// MS Edge has broken Reflect.defineProperty - throwing instead of returning false -$export($export.S + $export.F * __webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - // eslint-disable-next-line no-undef - Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); -}), 'Reflect', { - defineProperty: function defineProperty(target, propertyKey, attributes) { - anObject(target); - propertyKey = toPrimitive(propertyKey, true); - anObject(attributes); - try { - dP.f(target, propertyKey, attributes); - return true; - } catch (e) { - return false; - } - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.delete-property.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.4 Reflect.deleteProperty(target, propertyKey) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var gOPD = __webpack_require__("./node_modules/core-js/modules/_object-gopd.js").f; -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); - -$export($export.S, 'Reflect', { - deleteProperty: function deleteProperty(target, propertyKey) { - var desc = gOPD(anObject(target), propertyKey); - return desc && !desc.configurable ? false : delete target[propertyKey]; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.enumerate.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// 26.1.5 Reflect.enumerate(target) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var Enumerate = function (iterated) { - this._t = anObject(iterated); // target - this._i = 0; // next index - var keys = this._k = []; // keys - var key; - for (key in iterated) keys.push(key); -}; -__webpack_require__("./node_modules/core-js/modules/_iter-create.js")(Enumerate, 'Object', function () { - var that = this; - var keys = that._k; - var key; - do { - if (that._i >= keys.length) return { value: undefined, done: true }; - } while (!((key = keys[that._i++]) in that._t)); - return { value: key, done: false }; -}); - -$export($export.S, 'Reflect', { - enumerate: function enumerate(target) { - return new Enumerate(target); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) -var gOPD = __webpack_require__("./node_modules/core-js/modules/_object-gopd.js"); -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); - -$export($export.S, 'Reflect', { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { - return gOPD.f(anObject(target), propertyKey); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.get-prototype-of.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.8 Reflect.getPrototypeOf(target) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var getProto = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); - -$export($export.S, 'Reflect', { - getPrototypeOf: function getPrototypeOf(target) { - return getProto(anObject(target)); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.get.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.6 Reflect.get(target, propertyKey [, receiver]) -var gOPD = __webpack_require__("./node_modules/core-js/modules/_object-gopd.js"); -var getPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); -var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); - -function get(target, propertyKey /* , receiver */) { - var receiver = arguments.length < 3 ? target : arguments[2]; - var desc, proto; - if (anObject(target) === receiver) return target[propertyKey]; - if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') - ? desc.value - : desc.get !== undefined - ? desc.get.call(receiver) - : undefined; - if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); -} - -$export($export.S, 'Reflect', { get: get }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.has.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.9 Reflect.has(target, propertyKey) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Reflect', { - has: function has(target, propertyKey) { - return propertyKey in target; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.is-extensible.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.10 Reflect.isExtensible(target) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var $isExtensible = Object.isExtensible; - -$export($export.S, 'Reflect', { - isExtensible: function isExtensible(target) { - anObject(target); - return $isExtensible ? $isExtensible(target) : true; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.own-keys.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.11 Reflect.ownKeys(target) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Reflect', { ownKeys: __webpack_require__("./node_modules/core-js/modules/_own-keys.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.prevent-extensions.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.12 Reflect.preventExtensions(target) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var $preventExtensions = Object.preventExtensions; - -$export($export.S, 'Reflect', { - preventExtensions: function preventExtensions(target) { - anObject(target); - try { - if ($preventExtensions) $preventExtensions(target); - return true; - } catch (e) { - return false; - } - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.set-prototype-of.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.14 Reflect.setPrototypeOf(target, proto) -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var setProto = __webpack_require__("./node_modules/core-js/modules/_set-proto.js"); - -if (setProto) $export($export.S, 'Reflect', { - setPrototypeOf: function setPrototypeOf(target, proto) { - setProto.check(target, proto); - try { - setProto.set(target, proto); - return true; - } catch (e) { - return false; - } - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.reflect.set.js": -/***/ (function(module, exports, __webpack_require__) { - -// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) -var dP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js"); -var gOPD = __webpack_require__("./node_modules/core-js/modules/_object-gopd.js"); -var getPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); -var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var createDesc = __webpack_require__("./node_modules/core-js/modules/_property-desc.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); - -function set(target, propertyKey, V /* , receiver */) { - var receiver = arguments.length < 4 ? target : arguments[3]; - var ownDesc = gOPD.f(anObject(target), propertyKey); - var existingDescriptor, proto; - if (!ownDesc) { - if (isObject(proto = getPrototypeOf(target))) { - return set(proto, propertyKey, V, receiver); - } - ownDesc = createDesc(0); - } - if (has(ownDesc, 'value')) { - if (ownDesc.writable === false || !isObject(receiver)) return false; - existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0); - existingDescriptor.value = V; - dP.f(receiver, propertyKey, existingDescriptor); - return true; - } - return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); -} - -$export($export.S, 'Reflect', { set: set }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.regexp.constructor.js": -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var inheritIfRequired = __webpack_require__("./node_modules/core-js/modules/_inherit-if-required.js"); -var dP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js").f; -var gOPN = __webpack_require__("./node_modules/core-js/modules/_object-gopn.js").f; -var isRegExp = __webpack_require__("./node_modules/core-js/modules/_is-regexp.js"); -var $flags = __webpack_require__("./node_modules/core-js/modules/_flags.js"); -var $RegExp = global.RegExp; -var Base = $RegExp; -var proto = $RegExp.prototype; -var re1 = /a/g; -var re2 = /a/g; -// "new" creates a new object, old webkit buggy here -var CORRECT_NEW = new $RegExp(re1) !== re1; - -if (__webpack_require__("./node_modules/core-js/modules/_descriptors.js") && (!CORRECT_NEW || __webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - re2[__webpack_require__("./node_modules/core-js/modules/_wks.js")('match')] = false; - // RegExp constructor can alter flags and IsRegExp works correct with @@match - return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i'; -}))) { - $RegExp = function RegExp(p, f) { - var tiRE = this instanceof $RegExp; - var piRE = isRegExp(p); - var fiU = f === undefined; - return !tiRE && piRE && p.constructor === $RegExp && fiU ? p - : inheritIfRequired(CORRECT_NEW - ? new Base(piRE && !fiU ? p.source : p, f) - : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f) - , tiRE ? this : proto, $RegExp); - }; - var proxy = function (key) { - key in $RegExp || dP($RegExp, key, { - configurable: true, - get: function () { return Base[key]; }, - set: function (it) { Base[key] = it; } - }); - }; - for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]); - proto.constructor = $RegExp; - $RegExp.prototype = proto; - __webpack_require__("./node_modules/core-js/modules/_redefine.js")(global, 'RegExp', $RegExp); -} - -__webpack_require__("./node_modules/core-js/modules/_set-species.js")('RegExp'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.regexp.flags.js": -/***/ (function(module, exports, __webpack_require__) { - -// 21.2.5.3 get RegExp.prototype.flags() -if (__webpack_require__("./node_modules/core-js/modules/_descriptors.js") && /./g.flags != 'g') __webpack_require__("./node_modules/core-js/modules/_object-dp.js").f(RegExp.prototype, 'flags', { - configurable: true, - get: __webpack_require__("./node_modules/core-js/modules/_flags.js") -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.regexp.match.js": -/***/ (function(module, exports, __webpack_require__) { - -// @@match logic -__webpack_require__("./node_modules/core-js/modules/_fix-re-wks.js")('match', 1, function (defined, MATCH, $match) { - // 21.1.3.11 String.prototype.match(regexp) - return [function match(regexp) { - 'use strict'; - var O = defined(this); - var fn = regexp == undefined ? undefined : regexp[MATCH]; - return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); - }, $match]; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.regexp.replace.js": -/***/ (function(module, exports, __webpack_require__) { - -// @@replace logic -__webpack_require__("./node_modules/core-js/modules/_fix-re-wks.js")('replace', 2, function (defined, REPLACE, $replace) { - // 21.1.3.14 String.prototype.replace(searchValue, replaceValue) - return [function replace(searchValue, replaceValue) { - 'use strict'; - var O = defined(this); - var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; - return fn !== undefined - ? fn.call(searchValue, O, replaceValue) - : $replace.call(String(O), searchValue, replaceValue); - }, $replace]; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.regexp.search.js": -/***/ (function(module, exports, __webpack_require__) { - -// @@search logic -__webpack_require__("./node_modules/core-js/modules/_fix-re-wks.js")('search', 1, function (defined, SEARCH, $search) { - // 21.1.3.15 String.prototype.search(regexp) - return [function search(regexp) { - 'use strict'; - var O = defined(this); - var fn = regexp == undefined ? undefined : regexp[SEARCH]; - return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); - }, $search]; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.regexp.split.js": -/***/ (function(module, exports, __webpack_require__) { - -// @@split logic -__webpack_require__("./node_modules/core-js/modules/_fix-re-wks.js")('split', 2, function (defined, SPLIT, $split) { - 'use strict'; - var isRegExp = __webpack_require__("./node_modules/core-js/modules/_is-regexp.js"); - var _split = $split; - var $push = [].push; - var $SPLIT = 'split'; - var LENGTH = 'length'; - var LAST_INDEX = 'lastIndex'; - if ( - 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || - 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || - 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || - '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || - '.'[$SPLIT](/()()/)[LENGTH] > 1 || - ''[$SPLIT](/.?/)[LENGTH] - ) { - var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group - // based on es5-shim implementation, need to rework it - $split = function (separator, limit) { - var string = String(this); - if (separator === undefined && limit === 0) return []; - // If `separator` is not a regex, use native split - if (!isRegExp(separator)) return _split.call(string, separator, limit); - var output = []; - var flags = (separator.ignoreCase ? 'i' : '') + - (separator.multiline ? 'm' : '') + - (separator.unicode ? 'u' : '') + - (separator.sticky ? 'y' : ''); - var lastLastIndex = 0; - var splitLimit = limit === undefined ? 4294967295 : limit >>> 0; - // Make `global` and avoid `lastIndex` issues by working with a copy - var separatorCopy = new RegExp(separator.source, flags + 'g'); - var separator2, match, lastIndex, lastLength, i; - // Doesn't need flags gy, but they don't hurt - if (!NPCG) separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\s)', flags); - while (match = separatorCopy.exec(string)) { - // `separatorCopy.lastIndex` is not reliable cross-browser - lastIndex = match.index + match[0][LENGTH]; - if (lastIndex > lastLastIndex) { - output.push(string.slice(lastLastIndex, match.index)); - // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG - // eslint-disable-next-line no-loop-func - if (!NPCG && match[LENGTH] > 1) match[0].replace(separator2, function () { - for (i = 1; i < arguments[LENGTH] - 2; i++) if (arguments[i] === undefined) match[i] = undefined; - }); - if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); - lastLength = match[0][LENGTH]; - lastLastIndex = lastIndex; - if (output[LENGTH] >= splitLimit) break; - } - if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop - } - if (lastLastIndex === string[LENGTH]) { - if (lastLength || !separatorCopy.test('')) output.push(''); - } else output.push(string.slice(lastLastIndex)); - return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; - }; - // Chakra, V8 - } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { - $split = function (separator, limit) { - return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit); - }; - } - // 21.1.3.17 String.prototype.split(separator, limit) - return [function split(separator, limit) { - var O = defined(this); - var fn = separator == undefined ? undefined : separator[SPLIT]; - return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit); - }, $split]; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.regexp.to-string.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -__webpack_require__("./node_modules/core-js/modules/es6.regexp.flags.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var $flags = __webpack_require__("./node_modules/core-js/modules/_flags.js"); -var DESCRIPTORS = __webpack_require__("./node_modules/core-js/modules/_descriptors.js"); -var TO_STRING = 'toString'; -var $toString = /./[TO_STRING]; - -var define = function (fn) { - __webpack_require__("./node_modules/core-js/modules/_redefine.js")(RegExp.prototype, TO_STRING, fn, true); -}; - -// 21.2.5.14 RegExp.prototype.toString() -if (__webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { - define(function toString() { - var R = anObject(this); - return '/'.concat(R.source, '/', - 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); - }); -// FF44- RegExp#toString has a wrong name -} else if ($toString.name != TO_STRING) { - define(function toString() { - return $toString.call(this); - }); -} - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.set.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var strong = __webpack_require__("./node_modules/core-js/modules/_collection-strong.js"); -var validate = __webpack_require__("./node_modules/core-js/modules/_validate-collection.js"); -var SET = 'Set'; - -// 23.2 Set Objects -module.exports = __webpack_require__("./node_modules/core-js/modules/_collection.js")(SET, function (get) { - return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; -}, { - // 23.2.3.1 Set.prototype.add(value) - add: function add(value) { - return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); - } -}, strong); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.anchor.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.2 String.prototype.anchor(name) -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('anchor', function (createHTML) { - return function anchor(name) { - return createHTML(this, 'a', 'name', name); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.big.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.3 String.prototype.big() -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('big', function (createHTML) { - return function big() { - return createHTML(this, 'big', '', ''); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.blink.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.4 String.prototype.blink() -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('blink', function (createHTML) { - return function blink() { - return createHTML(this, 'blink', '', ''); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.bold.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.5 String.prototype.bold() -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('bold', function (createHTML) { - return function bold() { - return createHTML(this, 'b', '', ''); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.code-point-at.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $at = __webpack_require__("./node_modules/core-js/modules/_string-at.js")(false); -$export($export.P, 'String', { - // 21.1.3.3 String.prototype.codePointAt(pos) - codePointAt: function codePointAt(pos) { - return $at(this, pos); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.ends-with.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var context = __webpack_require__("./node_modules/core-js/modules/_string-context.js"); -var ENDS_WITH = 'endsWith'; -var $endsWith = ''[ENDS_WITH]; - -$export($export.P + $export.F * __webpack_require__("./node_modules/core-js/modules/_fails-is-regexp.js")(ENDS_WITH), 'String', { - endsWith: function endsWith(searchString /* , endPosition = @length */) { - var that = context(this, searchString, ENDS_WITH); - var endPosition = arguments.length > 1 ? arguments[1] : undefined; - var len = toLength(that.length); - var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len); - var search = String(searchString); - return $endsWith - ? $endsWith.call(that, search, end) - : that.slice(end - search.length, end) === search; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.fixed.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.6 String.prototype.fixed() -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('fixed', function (createHTML) { - return function fixed() { - return createHTML(this, 'tt', '', ''); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.fontcolor.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.7 String.prototype.fontcolor(color) -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('fontcolor', function (createHTML) { - return function fontcolor(color) { - return createHTML(this, 'font', 'color', color); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.fontsize.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.8 String.prototype.fontsize(size) -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('fontsize', function (createHTML) { - return function fontsize(size) { - return createHTML(this, 'font', 'size', size); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.from-code-point.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toAbsoluteIndex = __webpack_require__("./node_modules/core-js/modules/_to-absolute-index.js"); -var fromCharCode = String.fromCharCode; -var $fromCodePoint = String.fromCodePoint; - -// length should be 1, old FF problem -$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', { - // 21.1.2.2 String.fromCodePoint(...codePoints) - fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars - var res = []; - var aLen = arguments.length; - var i = 0; - var code; - while (aLen > i) { - code = +arguments[i++]; - if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point'); - res.push(code < 0x10000 - ? fromCharCode(code) - : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00) - ); - } return res.join(''); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.includes.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// 21.1.3.7 String.prototype.includes(searchString, position = 0) - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var context = __webpack_require__("./node_modules/core-js/modules/_string-context.js"); -var INCLUDES = 'includes'; - -$export($export.P + $export.F * __webpack_require__("./node_modules/core-js/modules/_fails-is-regexp.js")(INCLUDES), 'String', { - includes: function includes(searchString /* , position = 0 */) { - return !!~context(this, searchString, INCLUDES) - .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.italics.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.9 String.prototype.italics() -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('italics', function (createHTML) { - return function italics() { - return createHTML(this, 'i', '', ''); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.iterator.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $at = __webpack_require__("./node_modules/core-js/modules/_string-at.js")(true); - -// 21.1.3.27 String.prototype[@@iterator]() -__webpack_require__("./node_modules/core-js/modules/_iter-define.js")(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 }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.link.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.10 String.prototype.link(url) -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('link', function (createHTML) { - return function link(url) { - return createHTML(this, 'a', 'href', url); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.raw.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); - -$export($export.S, 'String', { - // 21.1.2.4 String.raw(callSite, ...substitutions) - raw: function raw(callSite) { - var tpl = toIObject(callSite.raw); - var len = toLength(tpl.length); - var aLen = arguments.length; - var res = []; - var i = 0; - while (len > i) { - res.push(String(tpl[i++])); - if (i < aLen) res.push(String(arguments[i])); - } return res.join(''); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.repeat.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.P, 'String', { - // 21.1.3.13 String.prototype.repeat(count) - repeat: __webpack_require__("./node_modules/core-js/modules/_string-repeat.js") -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.small.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.11 String.prototype.small() -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('small', function (createHTML) { - return function small() { - return createHTML(this, 'small', '', ''); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.starts-with.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// 21.1.3.18 String.prototype.startsWith(searchString [, position ]) - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var context = __webpack_require__("./node_modules/core-js/modules/_string-context.js"); -var STARTS_WITH = 'startsWith'; -var $startsWith = ''[STARTS_WITH]; - -$export($export.P + $export.F * __webpack_require__("./node_modules/core-js/modules/_fails-is-regexp.js")(STARTS_WITH), 'String', { - startsWith: function startsWith(searchString /* , position = 0 */) { - var that = context(this, searchString, STARTS_WITH); - var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); - var search = String(searchString); - return $startsWith - ? $startsWith.call(that, search, index) - : that.slice(index, index + search.length) === search; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.strike.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.12 String.prototype.strike() -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('strike', function (createHTML) { - return function strike() { - return createHTML(this, 'strike', '', ''); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.sub.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.13 String.prototype.sub() -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('sub', function (createHTML) { - return function sub() { - return createHTML(this, 'sub', '', ''); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.sup.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// B.2.3.14 String.prototype.sup() -__webpack_require__("./node_modules/core-js/modules/_string-html.js")('sup', function (createHTML) { - return function sup() { - return createHTML(this, 'sup', '', ''); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.string.trim.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// 21.1.3.25 String.prototype.trim() -__webpack_require__("./node_modules/core-js/modules/_string-trim.js")('trim', function ($trim) { - return function trim() { - return $trim(this, 3); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.symbol.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// ECMAScript 6 symbols shim -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var has = __webpack_require__("./node_modules/core-js/modules/_has.js"); -var DESCRIPTORS = __webpack_require__("./node_modules/core-js/modules/_descriptors.js"); -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var redefine = __webpack_require__("./node_modules/core-js/modules/_redefine.js"); -var META = __webpack_require__("./node_modules/core-js/modules/_meta.js").KEY; -var $fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var shared = __webpack_require__("./node_modules/core-js/modules/_shared.js"); -var setToStringTag = __webpack_require__("./node_modules/core-js/modules/_set-to-string-tag.js"); -var uid = __webpack_require__("./node_modules/core-js/modules/_uid.js"); -var wks = __webpack_require__("./node_modules/core-js/modules/_wks.js"); -var wksExt = __webpack_require__("./node_modules/core-js/modules/_wks-ext.js"); -var wksDefine = __webpack_require__("./node_modules/core-js/modules/_wks-define.js"); -var enumKeys = __webpack_require__("./node_modules/core-js/modules/_enum-keys.js"); -var isArray = __webpack_require__("./node_modules/core-js/modules/_is-array.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); -var toPrimitive = __webpack_require__("./node_modules/core-js/modules/_to-primitive.js"); -var createDesc = __webpack_require__("./node_modules/core-js/modules/_property-desc.js"); -var _create = __webpack_require__("./node_modules/core-js/modules/_object-create.js"); -var gOPNExt = __webpack_require__("./node_modules/core-js/modules/_object-gopn-ext.js"); -var $GOPD = __webpack_require__("./node_modules/core-js/modules/_object-gopd.js"); -var $DP = __webpack_require__("./node_modules/core-js/modules/_object-dp.js"); -var $keys = __webpack_require__("./node_modules/core-js/modules/_object-keys.js"); -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__("./node_modules/core-js/modules/_object-gopn.js").f = gOPNExt.f = $getOwnPropertyNames; - __webpack_require__("./node_modules/core-js/modules/_object-pie.js").f = $propertyIsEnumerable; - __webpack_require__("./node_modules/core-js/modules/_object-gops.js").f = $getOwnPropertySymbols; - - if (DESCRIPTORS && !__webpack_require__("./node_modules/core-js/modules/_library.js")) { - redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); - } - - wksExt.f = function (name) { - return wrap(wks(name)); - }; -} - -$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); - -for (var es6Symbols = ( - // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 - 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' -).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); - -for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); - -$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { - // 19.4.2.1 Symbol.for(key) - 'for': function (key) { - return has(SymbolRegistry, key += '') - ? SymbolRegistry[key] - : SymbolRegistry[key] = $Symbol(key); - }, - // 19.4.2.5 Symbol.keyFor(sym) - keyFor: function keyFor(sym) { - if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); - for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; - }, - useSetter: function () { setter = true; }, - useSimple: function () { setter = false; } -}); - -$export($export.S + $export.F * !USE_NATIVE, 'Object', { - // 19.1.2.2 Object.create(O [, Properties]) - create: $create, - // 19.1.2.4 Object.defineProperty(O, P, Attributes) - defineProperty: $defineProperty, - // 19.1.2.3 Object.defineProperties(O, Properties) - defineProperties: $defineProperties, - // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) - getOwnPropertyDescriptor: $getOwnPropertyDescriptor, - // 19.1.2.7 Object.getOwnPropertyNames(O) - getOwnPropertyNames: $getOwnPropertyNames, - // 19.1.2.8 Object.getOwnPropertySymbols(O) - getOwnPropertySymbols: $getOwnPropertySymbols -}); - -// 24.3.2 JSON.stringify(value [, replacer [, space]]) -$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { - var S = $Symbol(); - // MS Edge converts symbol values to JSON as {} - // WebKit converts symbol values to JSON as null - // V8 throws on boxed symbols - return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; -})), 'JSON', { - stringify: function stringify(it) { - if (it === undefined || isSymbol(it)) return; // IE8 returns string on undefined - var args = [it]; - var i = 1; - var replacer, $replacer; - while (arguments.length > i) args.push(arguments[i++]); - replacer = args[1]; - if (typeof replacer == 'function') $replacer = replacer; - if ($replacer || !isArray(replacer)) replacer = function (key, value) { - if ($replacer) value = $replacer.call(this, key, value); - if (!isSymbol(value)) return value; - }; - args[1] = replacer; - return _stringify.apply($JSON, args); - } -}); - -// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) -$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__("./node_modules/core-js/modules/_hide.js")($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); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.typed.array-buffer.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $typed = __webpack_require__("./node_modules/core-js/modules/_typed.js"); -var buffer = __webpack_require__("./node_modules/core-js/modules/_typed-buffer.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var toAbsoluteIndex = __webpack_require__("./node_modules/core-js/modules/_to-absolute-index.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var ArrayBuffer = __webpack_require__("./node_modules/core-js/modules/_global.js").ArrayBuffer; -var speciesConstructor = __webpack_require__("./node_modules/core-js/modules/_species-constructor.js"); -var $ArrayBuffer = buffer.ArrayBuffer; -var $DataView = buffer.DataView; -var $isView = $typed.ABV && ArrayBuffer.isView; -var $slice = $ArrayBuffer.prototype.slice; -var VIEW = $typed.VIEW; -var ARRAY_BUFFER = 'ArrayBuffer'; - -$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer }); - -$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, { - // 24.1.3.1 ArrayBuffer.isView(arg) - isView: function isView(it) { - return $isView && $isView(it) || isObject(it) && VIEW in it; - } -}); - -$export($export.P + $export.U + $export.F * __webpack_require__("./node_modules/core-js/modules/_fails.js")(function () { - return !new $ArrayBuffer(2).slice(1, undefined).byteLength; -}), ARRAY_BUFFER, { - // 24.1.4.3 ArrayBuffer.prototype.slice(start, end) - slice: function slice(start, end) { - if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix - var len = anObject(this).byteLength; - var first = toAbsoluteIndex(start, len); - var final = toAbsoluteIndex(end === undefined ? len : end, len); - var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first)); - var viewS = new $DataView(this); - var viewT = new $DataView(result); - var index = 0; - while (first < final) { - viewT.setUint8(index++, viewS.getUint8(first++)); - } return result; - } -}); - -__webpack_require__("./node_modules/core-js/modules/_set-species.js")(ARRAY_BUFFER); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.typed.data-view.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -$export($export.G + $export.W + $export.F * !__webpack_require__("./node_modules/core-js/modules/_typed.js").ABV, { - DataView: __webpack_require__("./node_modules/core-js/modules/_typed-buffer.js").DataView -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.typed.float32-array.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_typed-array.js")('Float32', 4, function (init) { - return function Float32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.typed.float64-array.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_typed-array.js")('Float64', 8, function (init) { - return function Float64Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.typed.int16-array.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_typed-array.js")('Int16', 2, function (init) { - return function Int16Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.typed.int32-array.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_typed-array.js")('Int32', 4, function (init) { - return function Int32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.typed.int8-array.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_typed-array.js")('Int8', 1, function (init) { - return function Int8Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.typed.uint16-array.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_typed-array.js")('Uint16', 2, function (init) { - return function Uint16Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.typed.uint32-array.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_typed-array.js")('Uint32', 4, function (init) { - return function Uint32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.typed.uint8-array.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_typed-array.js")('Uint8', 1, function (init) { - return function Uint8Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_typed-array.js")('Uint8', 1, function (init) { - return function Uint8ClampedArray(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}, true); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.weak-map.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var each = __webpack_require__("./node_modules/core-js/modules/_array-methods.js")(0); -var redefine = __webpack_require__("./node_modules/core-js/modules/_redefine.js"); -var meta = __webpack_require__("./node_modules/core-js/modules/_meta.js"); -var assign = __webpack_require__("./node_modules/core-js/modules/_object-assign.js"); -var weak = __webpack_require__("./node_modules/core-js/modules/_collection-weak.js"); -var isObject = __webpack_require__("./node_modules/core-js/modules/_is-object.js"); -var fails = __webpack_require__("./node_modules/core-js/modules/_fails.js"); -var validate = __webpack_require__("./node_modules/core-js/modules/_validate-collection.js"); -var WEAK_MAP = 'WeakMap'; -var getWeak = meta.getWeak; -var isExtensible = Object.isExtensible; -var uncaughtFrozenStore = weak.ufstore; -var tmp = {}; -var InternalMap; - -var wrapper = function (get) { - return function WeakMap() { - return get(this, arguments.length > 0 ? arguments[0] : undefined); - }; -}; - -var methods = { - // 23.3.3.3 WeakMap.prototype.get(key) - get: function get(key) { - if (isObject(key)) { - var data = getWeak(key); - if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); - return data ? data[this._i] : undefined; - } - }, - // 23.3.3.5 WeakMap.prototype.set(key, value) - set: function set(key, value) { - return weak.def(validate(this, WEAK_MAP), key, value); - } -}; - -// 23.3 WeakMap Objects -var $WeakMap = module.exports = __webpack_require__("./node_modules/core-js/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true); - -// IE11 WeakMap frozen keys fix -if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) { - InternalMap = weak.getConstructor(wrapper, WEAK_MAP); - assign(InternalMap.prototype, methods); - meta.NEED = true; - each(['delete', 'has', 'get', 'set'], function (key) { - var proto = $WeakMap.prototype; - var method = proto[key]; - redefine(proto, key, function (a, b) { - // store frozen objects on internal weakmap shim - if (isObject(a) && !isExtensible(a)) { - if (!this._f) this._f = new InternalMap(); - var result = this._f[key](a, b); - return key == 'set' ? this : result; - // store all the rest on native weakmap - } return method.call(this, a, b); - }); - }); -} - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.weak-set.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var weak = __webpack_require__("./node_modules/core-js/modules/_collection-weak.js"); -var validate = __webpack_require__("./node_modules/core-js/modules/_validate-collection.js"); -var WEAK_SET = 'WeakSet'; - -// 23.4 WeakSet Objects -__webpack_require__("./node_modules/core-js/modules/_collection.js")(WEAK_SET, function (get) { - return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; -}, { - // 23.4.3.1 WeakSet.prototype.add(value) - add: function add(value) { - return weak.def(validate(this, WEAK_SET), value, true); - } -}, weak, false, true); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.array.flat-map.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var flattenIntoArray = __webpack_require__("./node_modules/core-js/modules/_flatten-into-array.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var arraySpeciesCreate = __webpack_require__("./node_modules/core-js/modules/_array-species-create.js"); - -$export($export.P, 'Array', { - flatMap: function flatMap(callbackfn /* , thisArg */) { - var O = toObject(this); - var sourceLen, A; - aFunction(callbackfn); - sourceLen = toLength(O.length); - A = arraySpeciesCreate(O, 0); - flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); - return A; - } -}); - -__webpack_require__("./node_modules/core-js/modules/_add-to-unscopables.js")('flatMap'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.array.flatten.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatten -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var flattenIntoArray = __webpack_require__("./node_modules/core-js/modules/_flatten-into-array.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var toInteger = __webpack_require__("./node_modules/core-js/modules/_to-integer.js"); -var arraySpeciesCreate = __webpack_require__("./node_modules/core-js/modules/_array-species-create.js"); - -$export($export.P, 'Array', { - flatten: function flatten(/* depthArg = 1 */) { - var depthArg = arguments[0]; - var O = toObject(this); - var sourceLen = toLength(O.length); - var A = arraySpeciesCreate(O, 0); - flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg)); - return A; - } -}); - -__webpack_require__("./node_modules/core-js/modules/_add-to-unscopables.js")('flatten'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.array.includes.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://github.com/tc39/Array.prototype.includes -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $includes = __webpack_require__("./node_modules/core-js/modules/_array-includes.js")(true); - -$export($export.P, 'Array', { - includes: function includes(el /* , fromIndex = 0 */) { - return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); - } -}); - -__webpack_require__("./node_modules/core-js/modules/_add-to-unscopables.js")('includes'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.asap.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var microtask = __webpack_require__("./node_modules/core-js/modules/_microtask.js")(); -var process = __webpack_require__("./node_modules/core-js/modules/_global.js").process; -var isNode = __webpack_require__("./node_modules/core-js/modules/_cof.js")(process) == 'process'; - -$export($export.G, { - asap: function asap(fn) { - var domain = isNode && process.domain; - microtask(domain ? domain.bind(fn) : fn); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.error.is-error.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/ljharb/proposal-is-error -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var cof = __webpack_require__("./node_modules/core-js/modules/_cof.js"); - -$export($export.S, 'Error', { - isError: function isError(it) { - return cof(it) === 'Error'; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.global.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/tc39/proposal-global -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.G, { global: __webpack_require__("./node_modules/core-js/modules/_global.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.map.from.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://tc39.github.io/proposal-setmap-offrom/#sec-map.from -__webpack_require__("./node_modules/core-js/modules/_set-collection-from.js")('Map'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.map.of.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://tc39.github.io/proposal-setmap-offrom/#sec-map.of -__webpack_require__("./node_modules/core-js/modules/_set-collection-of.js")('Map'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.map.to-json.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/DavidBruant/Map-Set.prototype.toJSON -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.P + $export.R, 'Map', { toJSON: __webpack_require__("./node_modules/core-js/modules/_collection-to-json.js")('Map') }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.clamp.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { - clamp: function clamp(x, lower, upper) { - return Math.min(upper, Math.max(lower, x)); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.deg-per-rad.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { DEG_PER_RAD: Math.PI / 180 }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.degrees.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var RAD_PER_DEG = 180 / Math.PI; - -$export($export.S, 'Math', { - degrees: function degrees(radians) { - return radians * RAD_PER_DEG; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.fscale.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var scale = __webpack_require__("./node_modules/core-js/modules/_math-scale.js"); -var fround = __webpack_require__("./node_modules/core-js/modules/_math-fround.js"); - -$export($export.S, 'Math', { - fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { - return fround(scale(x, inLow, inHigh, outLow, outHigh)); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.iaddh.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { - iaddh: function iaddh(x0, x1, y0, y1) { - var $x0 = x0 >>> 0; - var $x1 = x1 >>> 0; - var $y0 = y0 >>> 0; - return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.imulh.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { - imulh: function imulh(u, v) { - var UINT16 = 0xffff; - var $u = +u; - var $v = +v; - var u0 = $u & UINT16; - var v0 = $v & UINT16; - var u1 = $u >> 16; - var v1 = $v >> 16; - var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); - return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.isubh.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { - isubh: function isubh(x0, x1, y0, y1) { - var $x0 = x0 >>> 0; - var $x1 = x1 >>> 0; - var $y0 = y0 >>> 0; - return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.rad-per-deg.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { RAD_PER_DEG: 180 / Math.PI }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.radians.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var DEG_PER_RAD = Math.PI / 180; - -$export($export.S, 'Math', { - radians: function radians(degrees) { - return degrees * DEG_PER_RAD; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.scale.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://rwaldron.github.io/proposal-math-extensions/ -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { scale: __webpack_require__("./node_modules/core-js/modules/_math-scale.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.signbit.js": -/***/ (function(module, exports, __webpack_require__) { - -// http://jfbastien.github.io/papers/Math.signbit.html -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { signbit: function signbit(x) { - // eslint-disable-next-line no-self-compare - return (x = +x) != x ? x : x == 0 ? 1 / x == Infinity : x > 0; -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.math.umulh.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Math', { - umulh: function umulh(u, v) { - var UINT16 = 0xffff; - var $u = +u; - var $v = +v; - var u0 = $u & UINT16; - var v0 = $v & UINT16; - var u1 = $u >>> 16; - var v1 = $v >>> 16; - var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); - return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.object.define-getter.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var $defineProperty = __webpack_require__("./node_modules/core-js/modules/_object-dp.js"); - -// B.2.2.2 Object.prototype.__defineGetter__(P, getter) -__webpack_require__("./node_modules/core-js/modules/_descriptors.js") && $export($export.P + __webpack_require__("./node_modules/core-js/modules/_object-forced-pam.js"), 'Object', { - __defineGetter__: function __defineGetter__(P, getter) { - $defineProperty.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true }); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.object.define-setter.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var $defineProperty = __webpack_require__("./node_modules/core-js/modules/_object-dp.js"); - -// B.2.2.3 Object.prototype.__defineSetter__(P, setter) -__webpack_require__("./node_modules/core-js/modules/_descriptors.js") && $export($export.P + __webpack_require__("./node_modules/core-js/modules/_object-forced-pam.js"), 'Object', { - __defineSetter__: function __defineSetter__(P, setter) { - $defineProperty.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true }); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.object.entries.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/tc39/proposal-object-values-entries -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $entries = __webpack_require__("./node_modules/core-js/modules/_object-to-array.js")(true); - -$export($export.S, 'Object', { - entries: function entries(it) { - return $entries(it); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/tc39/proposal-object-getownpropertydescriptors -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var ownKeys = __webpack_require__("./node_modules/core-js/modules/_own-keys.js"); -var toIObject = __webpack_require__("./node_modules/core-js/modules/_to-iobject.js"); -var gOPD = __webpack_require__("./node_modules/core-js/modules/_object-gopd.js"); -var createProperty = __webpack_require__("./node_modules/core-js/modules/_create-property.js"); - -$export($export.S, 'Object', { - getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { - var O = toIObject(object); - var getDesc = gOPD.f; - var keys = ownKeys(O); - var result = {}; - var i = 0; - var key, desc; - while (keys.length > i) { - desc = getDesc(O, key = keys[i++]); - if (desc !== undefined) createProperty(result, key, desc); - } - return result; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.object.lookup-getter.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var toPrimitive = __webpack_require__("./node_modules/core-js/modules/_to-primitive.js"); -var getPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); -var getOwnPropertyDescriptor = __webpack_require__("./node_modules/core-js/modules/_object-gopd.js").f; - -// B.2.2.4 Object.prototype.__lookupGetter__(P) -__webpack_require__("./node_modules/core-js/modules/_descriptors.js") && $export($export.P + __webpack_require__("./node_modules/core-js/modules/_object-forced-pam.js"), 'Object', { - __lookupGetter__: function __lookupGetter__(P) { - var O = toObject(this); - var K = toPrimitive(P, true); - var D; - do { - if (D = getOwnPropertyDescriptor(O, K)) return D.get; - } while (O = getPrototypeOf(O)); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.object.lookup-setter.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var toObject = __webpack_require__("./node_modules/core-js/modules/_to-object.js"); -var toPrimitive = __webpack_require__("./node_modules/core-js/modules/_to-primitive.js"); -var getPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); -var getOwnPropertyDescriptor = __webpack_require__("./node_modules/core-js/modules/_object-gopd.js").f; - -// B.2.2.5 Object.prototype.__lookupSetter__(P) -__webpack_require__("./node_modules/core-js/modules/_descriptors.js") && $export($export.P + __webpack_require__("./node_modules/core-js/modules/_object-forced-pam.js"), 'Object', { - __lookupSetter__: function __lookupSetter__(P) { - var O = toObject(this); - var K = toPrimitive(P, true); - var D; - do { - if (D = getOwnPropertyDescriptor(O, K)) return D.set; - } while (O = getPrototypeOf(O)); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.object.values.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/tc39/proposal-object-values-entries -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $values = __webpack_require__("./node_modules/core-js/modules/_object-to-array.js")(false); - -$export($export.S, 'Object', { - values: function values(it) { - return $values(it); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.observable.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://github.com/zenparsing/es-observable -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var core = __webpack_require__("./node_modules/core-js/modules/_core.js"); -var microtask = __webpack_require__("./node_modules/core-js/modules/_microtask.js")(); -var OBSERVABLE = __webpack_require__("./node_modules/core-js/modules/_wks.js")('observable'); -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var anInstance = __webpack_require__("./node_modules/core-js/modules/_an-instance.js"); -var redefineAll = __webpack_require__("./node_modules/core-js/modules/_redefine-all.js"); -var hide = __webpack_require__("./node_modules/core-js/modules/_hide.js"); -var forOf = __webpack_require__("./node_modules/core-js/modules/_for-of.js"); -var RETURN = forOf.RETURN; - -var getMethod = function (fn) { - return fn == null ? undefined : aFunction(fn); -}; - -var cleanupSubscription = function (subscription) { - var cleanup = subscription._c; - if (cleanup) { - subscription._c = undefined; - cleanup(); - } -}; - -var subscriptionClosed = function (subscription) { - return subscription._o === undefined; -}; - -var closeSubscription = function (subscription) { - if (!subscriptionClosed(subscription)) { - subscription._o = undefined; - cleanupSubscription(subscription); - } -}; - -var Subscription = function (observer, subscriber) { - anObject(observer); - this._c = undefined; - this._o = observer; - observer = new SubscriptionObserver(this); - try { - var cleanup = subscriber(observer); - var subscription = cleanup; - if (cleanup != null) { - if (typeof cleanup.unsubscribe === 'function') cleanup = function () { subscription.unsubscribe(); }; - else aFunction(cleanup); - this._c = cleanup; - } - } catch (e) { - observer.error(e); - return; - } if (subscriptionClosed(this)) cleanupSubscription(this); -}; - -Subscription.prototype = redefineAll({}, { - unsubscribe: function unsubscribe() { closeSubscription(this); } -}); - -var SubscriptionObserver = function (subscription) { - this._s = subscription; -}; - -SubscriptionObserver.prototype = redefineAll({}, { - next: function next(value) { - var subscription = this._s; - if (!subscriptionClosed(subscription)) { - var observer = subscription._o; - try { - var m = getMethod(observer.next); - if (m) return m.call(observer, value); - } catch (e) { - try { - closeSubscription(subscription); - } finally { - throw e; - } - } - } - }, - error: function error(value) { - var subscription = this._s; - if (subscriptionClosed(subscription)) throw value; - var observer = subscription._o; - subscription._o = undefined; - try { - var m = getMethod(observer.error); - if (!m) throw value; - value = m.call(observer, value); - } catch (e) { - try { - cleanupSubscription(subscription); - } finally { - throw e; - } - } cleanupSubscription(subscription); - return value; - }, - complete: function complete(value) { - var subscription = this._s; - if (!subscriptionClosed(subscription)) { - var observer = subscription._o; - subscription._o = undefined; - try { - var m = getMethod(observer.complete); - value = m ? m.call(observer, value) : undefined; - } catch (e) { - try { - cleanupSubscription(subscription); - } finally { - throw e; - } - } cleanupSubscription(subscription); - return value; - } - } -}); - -var $Observable = function Observable(subscriber) { - anInstance(this, $Observable, 'Observable', '_f')._f = aFunction(subscriber); -}; - -redefineAll($Observable.prototype, { - subscribe: function subscribe(observer) { - return new Subscription(observer, this._f); - }, - forEach: function forEach(fn) { - var that = this; - return new (core.Promise || global.Promise)(function (resolve, reject) { - aFunction(fn); - var subscription = that.subscribe({ - next: function (value) { - try { - return fn(value); - } catch (e) { - reject(e); - subscription.unsubscribe(); - } - }, - error: reject, - complete: resolve - }); - }); - } -}); - -redefineAll($Observable, { - from: function from(x) { - var C = typeof this === 'function' ? this : $Observable; - var method = getMethod(anObject(x)[OBSERVABLE]); - if (method) { - var observable = anObject(method.call(x)); - return observable.constructor === C ? observable : new C(function (observer) { - return observable.subscribe(observer); - }); - } - return new C(function (observer) { - var done = false; - microtask(function () { - if (!done) { - try { - if (forOf(x, false, function (it) { - observer.next(it); - if (done) return RETURN; - }) === RETURN) return; - } catch (e) { - if (done) throw e; - observer.error(e); - return; - } observer.complete(); - } - }); - return function () { done = true; }; - }); - }, - of: function of() { - for (var i = 0, l = arguments.length, items = Array(l); i < l;) items[i] = arguments[i++]; - return new (typeof this === 'function' ? this : $Observable)(function (observer) { - var done = false; - microtask(function () { - if (!done) { - for (var j = 0; j < items.length; ++j) { - observer.next(items[j]); - if (done) return; - } observer.complete(); - } - }); - return function () { done = true; }; - }); - } -}); - -hide($Observable.prototype, OBSERVABLE, function () { return this; }); - -$export($export.G, { Observable: $Observable }); - -__webpack_require__("./node_modules/core-js/modules/_set-species.js")('Observable'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.promise.finally.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// https://github.com/tc39/proposal-promise-finally - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var core = __webpack_require__("./node_modules/core-js/modules/_core.js"); -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var speciesConstructor = __webpack_require__("./node_modules/core-js/modules/_species-constructor.js"); -var promiseResolve = __webpack_require__("./node_modules/core-js/modules/_promise-resolve.js"); - -$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { - var C = speciesConstructor(this, core.Promise || global.Promise); - var isFunction = typeof onFinally == 'function'; - return this.then( - isFunction ? function (x) { - return promiseResolve(C, onFinally()).then(function () { return x; }); - } : onFinally, - isFunction ? function (e) { - return promiseResolve(C, onFinally()).then(function () { throw e; }); - } : onFinally - ); -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.promise.try.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://github.com/tc39/proposal-promise-try -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var newPromiseCapability = __webpack_require__("./node_modules/core-js/modules/_new-promise-capability.js"); -var perform = __webpack_require__("./node_modules/core-js/modules/_perform.js"); - -$export($export.S, 'Promise', { 'try': function (callbackfn) { - var promiseCapability = newPromiseCapability.f(this); - var result = perform(callbackfn); - (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v); - return promiseCapability.promise; -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.reflect.define-metadata.js": -/***/ (function(module, exports, __webpack_require__) { - -var metadata = __webpack_require__("./node_modules/core-js/modules/_metadata.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var toMetaKey = metadata.key; -var ordinaryDefineOwnMetadata = metadata.set; - -metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) { - ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey)); -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.reflect.delete-metadata.js": -/***/ (function(module, exports, __webpack_require__) { - -var metadata = __webpack_require__("./node_modules/core-js/modules/_metadata.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var toMetaKey = metadata.key; -var getOrCreateMetadataMap = metadata.map; -var store = metadata.store; - -metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]); - var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); - if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; - if (metadataMap.size) return true; - var targetMetadata = store.get(target); - targetMetadata['delete'](targetKey); - return !!targetMetadata.size || store['delete'](target); -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.reflect.get-metadata-keys.js": -/***/ (function(module, exports, __webpack_require__) { - -var Set = __webpack_require__("./node_modules/core-js/modules/es6.set.js"); -var from = __webpack_require__("./node_modules/core-js/modules/_array-from-iterable.js"); -var metadata = __webpack_require__("./node_modules/core-js/modules/_metadata.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var getPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); -var ordinaryOwnMetadataKeys = metadata.keys; -var toMetaKey = metadata.key; - -var ordinaryMetadataKeys = function (O, P) { - var oKeys = ordinaryOwnMetadataKeys(O, P); - var parent = getPrototypeOf(O); - if (parent === null) return oKeys; - var pKeys = ordinaryMetadataKeys(parent, P); - return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; -}; - -metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { - return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.reflect.get-metadata.js": -/***/ (function(module, exports, __webpack_require__) { - -var metadata = __webpack_require__("./node_modules/core-js/modules/_metadata.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var getPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); -var ordinaryHasOwnMetadata = metadata.has; -var ordinaryGetOwnMetadata = metadata.get; -var toMetaKey = metadata.key; - -var ordinaryGetMetadata = function (MetadataKey, O, P) { - var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); - if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); - var parent = getPrototypeOf(O); - return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; -}; - -metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { - return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js": -/***/ (function(module, exports, __webpack_require__) { - -var metadata = __webpack_require__("./node_modules/core-js/modules/_metadata.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var ordinaryOwnMetadataKeys = metadata.keys; -var toMetaKey = metadata.key; - -metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { - return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.reflect.get-own-metadata.js": -/***/ (function(module, exports, __webpack_require__) { - -var metadata = __webpack_require__("./node_modules/core-js/modules/_metadata.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var ordinaryGetOwnMetadata = metadata.get; -var toMetaKey = metadata.key; - -metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { - return ordinaryGetOwnMetadata(metadataKey, anObject(target) - , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.reflect.has-metadata.js": -/***/ (function(module, exports, __webpack_require__) { - -var metadata = __webpack_require__("./node_modules/core-js/modules/_metadata.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var getPrototypeOf = __webpack_require__("./node_modules/core-js/modules/_object-gpo.js"); -var ordinaryHasOwnMetadata = metadata.has; -var toMetaKey = metadata.key; - -var ordinaryHasMetadata = function (MetadataKey, O, P) { - var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); - if (hasOwn) return true; - var parent = getPrototypeOf(O); - return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; -}; - -metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { - return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.reflect.has-own-metadata.js": -/***/ (function(module, exports, __webpack_require__) { - -var metadata = __webpack_require__("./node_modules/core-js/modules/_metadata.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var ordinaryHasOwnMetadata = metadata.has; -var toMetaKey = metadata.key; - -metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { - return ordinaryHasOwnMetadata(metadataKey, anObject(target) - , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.reflect.metadata.js": -/***/ (function(module, exports, __webpack_require__) { - -var $metadata = __webpack_require__("./node_modules/core-js/modules/_metadata.js"); -var anObject = __webpack_require__("./node_modules/core-js/modules/_an-object.js"); -var aFunction = __webpack_require__("./node_modules/core-js/modules/_a-function.js"); -var toMetaKey = $metadata.key; -var ordinaryDefineOwnMetadata = $metadata.set; - -$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) { - return function decorator(target, targetKey) { - ordinaryDefineOwnMetadata( - metadataKey, metadataValue, - (targetKey !== undefined ? anObject : aFunction)(target), - toMetaKey(targetKey) - ); - }; -} }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.set.from.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from -__webpack_require__("./node_modules/core-js/modules/_set-collection-from.js")('Set'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.set.of.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://tc39.github.io/proposal-setmap-offrom/#sec-set.of -__webpack_require__("./node_modules/core-js/modules/_set-collection-of.js")('Set'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.set.to-json.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/DavidBruant/Map-Set.prototype.toJSON -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.P + $export.R, 'Set', { toJSON: __webpack_require__("./node_modules/core-js/modules/_collection-to-json.js")('Set') }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.string.at.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://github.com/mathiasbynens/String.prototype.at -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $at = __webpack_require__("./node_modules/core-js/modules/_string-at.js")(true); - -$export($export.P, 'String', { - at: function at(pos) { - return $at(this, pos); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.string.match-all.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://tc39.github.io/String.prototype.matchAll/ -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var defined = __webpack_require__("./node_modules/core-js/modules/_defined.js"); -var toLength = __webpack_require__("./node_modules/core-js/modules/_to-length.js"); -var isRegExp = __webpack_require__("./node_modules/core-js/modules/_is-regexp.js"); -var getFlags = __webpack_require__("./node_modules/core-js/modules/_flags.js"); -var RegExpProto = RegExp.prototype; - -var $RegExpStringIterator = function (regexp, string) { - this._r = regexp; - this._s = string; -}; - -__webpack_require__("./node_modules/core-js/modules/_iter-create.js")($RegExpStringIterator, 'RegExp String', function next() { - var match = this._r.exec(this._s); - return { value: match, done: match === null }; -}); - -$export($export.P, 'String', { - matchAll: function matchAll(regexp) { - defined(this); - if (!isRegExp(regexp)) throw TypeError(regexp + ' is not a regexp!'); - var S = String(this); - var flags = 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp); - var rx = new RegExp(regexp.source, ~flags.indexOf('g') ? flags : 'g' + flags); - rx.lastIndex = toLength(regexp.lastIndex); - return new $RegExpStringIterator(rx, S); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.string.pad-end.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://github.com/tc39/proposal-string-pad-start-end -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $pad = __webpack_require__("./node_modules/core-js/modules/_string-pad.js"); - -$export($export.P, 'String', { - padEnd: function padEnd(maxLength /* , fillString = ' ' */) { - return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.string.pad-start.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://github.com/tc39/proposal-string-pad-start-end -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $pad = __webpack_require__("./node_modules/core-js/modules/_string-pad.js"); - -$export($export.P, 'String', { - padStart: function padStart(maxLength /* , fillString = ' ' */) { - return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.string.trim-left.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://github.com/sebmarkbage/ecmascript-string-left-right-trim -__webpack_require__("./node_modules/core-js/modules/_string-trim.js")('trimLeft', function ($trim) { - return function trimLeft() { - return $trim(this, 1); - }; -}, 'trimStart'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.string.trim-right.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// https://github.com/sebmarkbage/ecmascript-string-left-right-trim -__webpack_require__("./node_modules/core-js/modules/_string-trim.js")('trimRight', function ($trim) { - return function trimRight() { - return $trim(this, 2); - }; -}, 'trimEnd'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.symbol.async-iterator.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_wks-define.js")('asyncIterator'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.symbol.observable.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/_wks-define.js")('observable'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.system.global.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/tc39/proposal-global -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'System', { global: __webpack_require__("./node_modules/core-js/modules/_global.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.weak-map.from.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from -__webpack_require__("./node_modules/core-js/modules/_set-collection-from.js")('WeakMap'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.weak-map.of.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of -__webpack_require__("./node_modules/core-js/modules/_set-collection-of.js")('WeakMap'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.weak-set.from.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from -__webpack_require__("./node_modules/core-js/modules/_set-collection-from.js")('WeakSet'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.weak-set.of.js": -/***/ (function(module, exports, __webpack_require__) { - -// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of -__webpack_require__("./node_modules/core-js/modules/_set-collection-of.js")('WeakSet'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/web.dom.iterable.js": -/***/ (function(module, exports, __webpack_require__) { - -var $iterators = __webpack_require__("./node_modules/core-js/modules/es6.array.iterator.js"); -var getKeys = __webpack_require__("./node_modules/core-js/modules/_object-keys.js"); -var redefine = __webpack_require__("./node_modules/core-js/modules/_redefine.js"); -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var hide = __webpack_require__("./node_modules/core-js/modules/_hide.js"); -var Iterators = __webpack_require__("./node_modules/core-js/modules/_iterators.js"); -var wks = __webpack_require__("./node_modules/core-js/modules/_wks.js"); -var ITERATOR = wks('iterator'); -var TO_STRING_TAG = wks('toStringTag'); -var ArrayValues = Iterators.Array; - -var DOMIterables = { - CSSRuleList: true, // TODO: Not spec compliant, should be false. - CSSStyleDeclaration: false, - CSSValueList: false, - ClientRectList: false, - DOMRectList: false, - DOMStringList: false, - DOMTokenList: true, - DataTransferItemList: false, - FileList: false, - HTMLAllCollection: false, - HTMLCollection: false, - HTMLFormElement: false, - HTMLSelectElement: false, - MediaList: true, // TODO: Not spec compliant, should be false. - MimeTypeArray: false, - NamedNodeMap: false, - NodeList: true, - PaintRequestList: false, - Plugin: false, - PluginArray: false, - SVGLengthList: false, - SVGNumberList: false, - SVGPathSegList: false, - SVGPointList: false, - SVGStringList: false, - SVGTransformList: false, - SourceBufferList: false, - StyleSheetList: true, // TODO: Not spec compliant, should be false. - TextTrackCueList: false, - TextTrackList: false, - TouchList: false -}; - -for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { - var NAME = collections[i]; - var explicit = DOMIterables[NAME]; - var Collection = global[NAME]; - var proto = Collection && Collection.prototype; - var key; - if (proto) { - if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); - if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); - Iterators[NAME] = ArrayValues; - if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); - } -} - - -/***/ }), - -/***/ "./node_modules/core-js/modules/web.immediate.js": -/***/ (function(module, exports, __webpack_require__) { - -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var $task = __webpack_require__("./node_modules/core-js/modules/_task.js"); -$export($export.G + $export.B, { - setImmediate: $task.set, - clearImmediate: $task.clear -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/web.timers.js": -/***/ (function(module, exports, __webpack_require__) { - -// ie9- setTimeout & setInterval additional parameters fix -var global = __webpack_require__("./node_modules/core-js/modules/_global.js"); -var $export = __webpack_require__("./node_modules/core-js/modules/_export.js"); -var navigator = global.navigator; -var slice = [].slice; -var MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check -var wrap = function (set) { - return function (fn, time /* , ...args */) { - var boundArgs = arguments.length > 2; - var args = boundArgs ? slice.call(arguments, 2) : false; - return set(boundArgs ? function () { - // eslint-disable-next-line no-new-func - (typeof fn == 'function' ? fn : Function(fn)).apply(this, args); - } : fn, time); - }; -}; -$export($export.G + $export.B + $export.F * MSIE, { - setTimeout: wrap(global.setTimeout), - setInterval: wrap(global.setInterval) -}); - - -/***/ }), - -/***/ "./node_modules/core-js/shim.js": -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__("./node_modules/core-js/modules/es6.symbol.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.create.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.define-property.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.define-properties.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.get-prototype-of.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.keys.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.get-own-property-names.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.freeze.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.seal.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.prevent-extensions.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.is-frozen.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.is-sealed.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.is-extensible.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.assign.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.is.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.set-prototype-of.js"); -__webpack_require__("./node_modules/core-js/modules/es6.object.to-string.js"); -__webpack_require__("./node_modules/core-js/modules/es6.function.bind.js"); -__webpack_require__("./node_modules/core-js/modules/es6.function.name.js"); -__webpack_require__("./node_modules/core-js/modules/es6.function.has-instance.js"); -__webpack_require__("./node_modules/core-js/modules/es6.parse-int.js"); -__webpack_require__("./node_modules/core-js/modules/es6.parse-float.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.constructor.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.to-fixed.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.to-precision.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.epsilon.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.is-finite.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.is-integer.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.is-nan.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.is-safe-integer.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.max-safe-integer.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.min-safe-integer.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.parse-float.js"); -__webpack_require__("./node_modules/core-js/modules/es6.number.parse-int.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.acosh.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.asinh.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.atanh.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.cbrt.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.clz32.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.cosh.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.expm1.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.fround.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.hypot.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.imul.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.log10.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.log1p.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.log2.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.sign.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.sinh.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.tanh.js"); -__webpack_require__("./node_modules/core-js/modules/es6.math.trunc.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.from-code-point.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.raw.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.trim.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.iterator.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.code-point-at.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.ends-with.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.includes.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.repeat.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.starts-with.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.anchor.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.big.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.blink.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.bold.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.fixed.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.fontcolor.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.fontsize.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.italics.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.link.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.small.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.strike.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.sub.js"); -__webpack_require__("./node_modules/core-js/modules/es6.string.sup.js"); -__webpack_require__("./node_modules/core-js/modules/es6.date.now.js"); -__webpack_require__("./node_modules/core-js/modules/es6.date.to-json.js"); -__webpack_require__("./node_modules/core-js/modules/es6.date.to-iso-string.js"); -__webpack_require__("./node_modules/core-js/modules/es6.date.to-string.js"); -__webpack_require__("./node_modules/core-js/modules/es6.date.to-primitive.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.is-array.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.from.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.of.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.join.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.slice.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.sort.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.for-each.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.map.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.filter.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.some.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.every.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.reduce.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.reduce-right.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.index-of.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.last-index-of.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.copy-within.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.fill.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.find.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.find-index.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.species.js"); -__webpack_require__("./node_modules/core-js/modules/es6.array.iterator.js"); -__webpack_require__("./node_modules/core-js/modules/es6.regexp.constructor.js"); -__webpack_require__("./node_modules/core-js/modules/es6.regexp.to-string.js"); -__webpack_require__("./node_modules/core-js/modules/es6.regexp.flags.js"); -__webpack_require__("./node_modules/core-js/modules/es6.regexp.match.js"); -__webpack_require__("./node_modules/core-js/modules/es6.regexp.replace.js"); -__webpack_require__("./node_modules/core-js/modules/es6.regexp.search.js"); -__webpack_require__("./node_modules/core-js/modules/es6.regexp.split.js"); -__webpack_require__("./node_modules/core-js/modules/es6.promise.js"); -__webpack_require__("./node_modules/core-js/modules/es6.map.js"); -__webpack_require__("./node_modules/core-js/modules/es6.set.js"); -__webpack_require__("./node_modules/core-js/modules/es6.weak-map.js"); -__webpack_require__("./node_modules/core-js/modules/es6.weak-set.js"); -__webpack_require__("./node_modules/core-js/modules/es6.typed.array-buffer.js"); -__webpack_require__("./node_modules/core-js/modules/es6.typed.data-view.js"); -__webpack_require__("./node_modules/core-js/modules/es6.typed.int8-array.js"); -__webpack_require__("./node_modules/core-js/modules/es6.typed.uint8-array.js"); -__webpack_require__("./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js"); -__webpack_require__("./node_modules/core-js/modules/es6.typed.int16-array.js"); -__webpack_require__("./node_modules/core-js/modules/es6.typed.uint16-array.js"); -__webpack_require__("./node_modules/core-js/modules/es6.typed.int32-array.js"); -__webpack_require__("./node_modules/core-js/modules/es6.typed.uint32-array.js"); -__webpack_require__("./node_modules/core-js/modules/es6.typed.float32-array.js"); -__webpack_require__("./node_modules/core-js/modules/es6.typed.float64-array.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.apply.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.construct.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.define-property.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.delete-property.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.enumerate.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.get.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.get-prototype-of.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.has.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.is-extensible.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.own-keys.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.prevent-extensions.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.set.js"); -__webpack_require__("./node_modules/core-js/modules/es6.reflect.set-prototype-of.js"); -__webpack_require__("./node_modules/core-js/modules/es7.array.includes.js"); -__webpack_require__("./node_modules/core-js/modules/es7.array.flat-map.js"); -__webpack_require__("./node_modules/core-js/modules/es7.array.flatten.js"); -__webpack_require__("./node_modules/core-js/modules/es7.string.at.js"); -__webpack_require__("./node_modules/core-js/modules/es7.string.pad-start.js"); -__webpack_require__("./node_modules/core-js/modules/es7.string.pad-end.js"); -__webpack_require__("./node_modules/core-js/modules/es7.string.trim-left.js"); -__webpack_require__("./node_modules/core-js/modules/es7.string.trim-right.js"); -__webpack_require__("./node_modules/core-js/modules/es7.string.match-all.js"); -__webpack_require__("./node_modules/core-js/modules/es7.symbol.async-iterator.js"); -__webpack_require__("./node_modules/core-js/modules/es7.symbol.observable.js"); -__webpack_require__("./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js"); -__webpack_require__("./node_modules/core-js/modules/es7.object.values.js"); -__webpack_require__("./node_modules/core-js/modules/es7.object.entries.js"); -__webpack_require__("./node_modules/core-js/modules/es7.object.define-getter.js"); -__webpack_require__("./node_modules/core-js/modules/es7.object.define-setter.js"); -__webpack_require__("./node_modules/core-js/modules/es7.object.lookup-getter.js"); -__webpack_require__("./node_modules/core-js/modules/es7.object.lookup-setter.js"); -__webpack_require__("./node_modules/core-js/modules/es7.map.to-json.js"); -__webpack_require__("./node_modules/core-js/modules/es7.set.to-json.js"); -__webpack_require__("./node_modules/core-js/modules/es7.map.of.js"); -__webpack_require__("./node_modules/core-js/modules/es7.set.of.js"); -__webpack_require__("./node_modules/core-js/modules/es7.weak-map.of.js"); -__webpack_require__("./node_modules/core-js/modules/es7.weak-set.of.js"); -__webpack_require__("./node_modules/core-js/modules/es7.map.from.js"); -__webpack_require__("./node_modules/core-js/modules/es7.set.from.js"); -__webpack_require__("./node_modules/core-js/modules/es7.weak-map.from.js"); -__webpack_require__("./node_modules/core-js/modules/es7.weak-set.from.js"); -__webpack_require__("./node_modules/core-js/modules/es7.global.js"); -__webpack_require__("./node_modules/core-js/modules/es7.system.global.js"); -__webpack_require__("./node_modules/core-js/modules/es7.error.is-error.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.clamp.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.deg-per-rad.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.degrees.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.fscale.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.iaddh.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.isubh.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.imulh.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.rad-per-deg.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.radians.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.scale.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.umulh.js"); -__webpack_require__("./node_modules/core-js/modules/es7.math.signbit.js"); -__webpack_require__("./node_modules/core-js/modules/es7.promise.finally.js"); -__webpack_require__("./node_modules/core-js/modules/es7.promise.try.js"); -__webpack_require__("./node_modules/core-js/modules/es7.reflect.define-metadata.js"); -__webpack_require__("./node_modules/core-js/modules/es7.reflect.delete-metadata.js"); -__webpack_require__("./node_modules/core-js/modules/es7.reflect.get-metadata.js"); -__webpack_require__("./node_modules/core-js/modules/es7.reflect.get-metadata-keys.js"); -__webpack_require__("./node_modules/core-js/modules/es7.reflect.get-own-metadata.js"); -__webpack_require__("./node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js"); -__webpack_require__("./node_modules/core-js/modules/es7.reflect.has-metadata.js"); -__webpack_require__("./node_modules/core-js/modules/es7.reflect.has-own-metadata.js"); -__webpack_require__("./node_modules/core-js/modules/es7.reflect.metadata.js"); -__webpack_require__("./node_modules/core-js/modules/es7.asap.js"); -__webpack_require__("./node_modules/core-js/modules/es7.observable.js"); -__webpack_require__("./node_modules/core-js/modules/web.timers.js"); -__webpack_require__("./node_modules/core-js/modules/web.immediate.js"); -__webpack_require__("./node_modules/core-js/modules/web.dom.iterable.js"); -module.exports = __webpack_require__("./node_modules/core-js/modules/_core.js"); - - -/***/ }), - -/***/ "./node_modules/css-loader/index.js?sourceMap!./node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-2c196e12\",\"scoped\":true,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/app/users/UserListGroupItem.vue": -/***/ (function(module, exports, __webpack_require__) { - -exports = module.exports = __webpack_require__("./node_modules/css-loader/lib/css-base.js")(true); -// imports - - -// module -exports.push([module.i, "\n", "", {"version":3,"sources":[],"names":[],"mappings":"","file":"UserListGroupItem.vue","sourceRoot":""}]); - -// exports - - -/***/ }), - -/***/ "./node_modules/css-loader/index.js?sourceMap!./node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-c83552aa\",\"scoped\":true,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/app/users/UserList.vue": -/***/ (function(module, exports, __webpack_require__) { - -exports = module.exports = __webpack_require__("./node_modules/css-loader/lib/css-base.js")(true); -// imports - - -// module -exports.push([module.i, "\n", "", {"version":3,"sources":[],"names":[],"mappings":"","file":"UserList.vue","sourceRoot":""}]); - -// exports - - -/***/ }), - -/***/ "./node_modules/css-loader/lib/css-base.js": -/***/ (function(module, exports) { - -/* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra -*/ -// css base code, injected by the css-loader -module.exports = function(useSourceMap) { - var list = []; - - // return the list of modules as css string - list.toString = function toString() { - return this.map(function (item) { - var content = cssWithMappingToString(item, useSourceMap); - if(item[2]) { - return "@media " + item[2] + "{" + content + "}"; - } else { - return content; - } - }).join(""); - }; - - // import a list of modules into the list - list.i = function(modules, mediaQuery) { - if(typeof modules === "string") - modules = [[null, modules, ""]]; - var alreadyImportedModules = {}; - for(var i = 0; i < this.length; i++) { - var id = this[i][0]; - if(typeof id === "number") - alreadyImportedModules[id] = true; - } - for(i = 0; i < modules.length; i++) { - var item = modules[i]; - // skip already imported module - // this implementation is not 100% perfect for weird media query combinations - // when a module is imported multiple times with different media queries. - // I hope this will never occur (Hey this way we have smaller bundles) - if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { - if(mediaQuery && !item[2]) { - item[2] = mediaQuery; - } else if(mediaQuery) { - item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; - } - list.push(item); - } - } - }; - return list; -}; - -function cssWithMappingToString(item, useSourceMap) { - var content = item[1] || ''; - var cssMapping = item[3]; - if (!cssMapping) { - return content; - } - - if (useSourceMap && typeof btoa === 'function') { - var sourceMapping = toComment(cssMapping); - var sourceURLs = cssMapping.sources.map(function (source) { - return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */' - }); - - return [content].concat(sourceURLs).concat([sourceMapping]).join('\n'); - } - - return [content].join('\n'); -} - -// Adapted from convert-source-map (MIT) -function toComment(sourceMap) { - // eslint-disable-next-line no-undef - var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))); - var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64; - - return '/*# ' + data + ' */'; -} - - -/***/ }), - -/***/ "./node_modules/define-properties/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var keys = __webpack_require__("./node_modules/object-keys/index.js"); -var foreach = __webpack_require__("./node_modules/foreach/index.js"); -var hasSymbols = typeof Symbol === 'function' && typeof Symbol() === 'symbol'; - -var toStr = Object.prototype.toString; - -var isFunction = function (fn) { - return typeof fn === 'function' && toStr.call(fn) === '[object Function]'; -}; - -var arePropertyDescriptorsSupported = function () { - var obj = {}; - try { - Object.defineProperty(obj, 'x', { enumerable: false, value: obj }); - /* eslint-disable no-unused-vars, no-restricted-syntax */ - for (var _ in obj) { return false; } - /* eslint-enable no-unused-vars, no-restricted-syntax */ - return obj.x === obj; - } catch (e) { /* this is IE 8. */ - return false; - } -}; -var supportsDescriptors = Object.defineProperty && arePropertyDescriptorsSupported(); - -var defineProperty = function (object, name, value, predicate) { - if (name in object && (!isFunction(predicate) || !predicate())) { - return; - } - if (supportsDescriptors) { - Object.defineProperty(object, name, { - configurable: true, - enumerable: false, - value: value, - writable: true - }); - } else { - object[name] = value; - } -}; - -var defineProperties = function (object, map) { - var predicates = arguments.length > 2 ? arguments[2] : {}; - var props = keys(map); - if (hasSymbols) { - props = props.concat(Object.getOwnPropertySymbols(map)); - } - foreach(props, function (name) { - defineProperty(object, name, map[name], predicates[name]); - }); -}; - -defineProperties.supportsDescriptors = !!supportsDescriptors; - -module.exports = defineProperties; - - -/***/ }), - -/***/ "./node_modules/es-abstract/es2015.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var has = __webpack_require__("./node_modules/has/src/index.js"); - -var toStr = Object.prototype.toString; -var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; - -var $isNaN = __webpack_require__("./node_modules/es-abstract/helpers/isNaN.js"); -var $isFinite = __webpack_require__("./node_modules/es-abstract/helpers/isFinite.js"); -var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1; - -var assign = __webpack_require__("./node_modules/es-abstract/helpers/assign.js"); -var sign = __webpack_require__("./node_modules/es-abstract/helpers/sign.js"); -var mod = __webpack_require__("./node_modules/es-abstract/helpers/mod.js"); -var isPrimitive = __webpack_require__("./node_modules/es-abstract/helpers/isPrimitive.js"); -var toPrimitive = __webpack_require__("./node_modules/es-to-primitive/es6.js"); -var parseInteger = parseInt; -var bind = __webpack_require__("./node_modules/function-bind/index.js"); -var arraySlice = bind.call(Function.call, Array.prototype.slice); -var strSlice = bind.call(Function.call, String.prototype.slice); -var isBinary = bind.call(Function.call, RegExp.prototype.test, /^0b[01]+$/i); -var isOctal = bind.call(Function.call, RegExp.prototype.test, /^0o[0-7]+$/i); -var regexExec = bind.call(Function.call, RegExp.prototype.exec); -var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); -var nonWSregex = new RegExp('[' + nonWS + ']', 'g'); -var hasNonWS = bind.call(Function.call, RegExp.prototype.test, nonWSregex); -var invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i; -var isInvalidHexLiteral = bind.call(Function.call, RegExp.prototype.test, invalidHexLiteral); - -// whitespace from: http://es5.github.io/#x15.5.4.20 -// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 -var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' -].join(''); -var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); -var replace = bind.call(Function.call, String.prototype.replace); -var trim = function (value) { - return replace(value, trimRegex, ''); -}; - -var ES5 = __webpack_require__("./node_modules/es-abstract/es5.js"); - -var hasRegExpMatcher = __webpack_require__("./node_modules/is-regex/index.js"); - -// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-abstract-operations -var ES6 = assign(assign({}, ES5), { - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-call-f-v-args - Call: function Call(F, V) { - var args = arguments.length > 2 ? arguments[2] : []; - if (!this.IsCallable(F)) { - throw new TypeError(F + ' is not a function'); - } - return F.apply(V, args); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toprimitive - ToPrimitive: toPrimitive, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toboolean - // ToBoolean: ES5.ToBoolean, - - // http://www.ecma-international.org/ecma-262/6.0/#sec-tonumber - ToNumber: function ToNumber(argument) { - var value = isPrimitive(argument) ? argument : toPrimitive(argument, 'number'); - if (typeof value === 'symbol') { - throw new TypeError('Cannot convert a Symbol value to a number'); - } - if (typeof value === 'string') { - if (isBinary(value)) { - return this.ToNumber(parseInteger(strSlice(value, 2), 2)); - } else if (isOctal(value)) { - return this.ToNumber(parseInteger(strSlice(value, 2), 8)); - } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { - return NaN; - } else { - var trimmed = trim(value); - if (trimmed !== value) { - return this.ToNumber(trimmed); - } - } - } - return Number(value); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tointeger - // ToInteger: ES5.ToNumber, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint32 - // ToInt32: ES5.ToInt32, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint32 - // ToUint32: ES5.ToUint32, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint16 - ToInt16: function ToInt16(argument) { - var int16bit = this.ToUint16(argument); - return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint16 - // ToUint16: ES5.ToUint16, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint8 - ToInt8: function ToInt8(argument) { - var int8bit = this.ToUint8(argument); - return int8bit >= 0x80 ? int8bit - 0x100 : int8bit; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint8 - ToUint8: function ToUint8(argument) { - var number = this.ToNumber(argument); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = sign(number) * Math.floor(Math.abs(number)); - return mod(posInt, 0x100); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint8clamp - ToUint8Clamp: function ToUint8Clamp(argument) { - var number = this.ToNumber(argument); - if ($isNaN(number) || number <= 0) { return 0; } - if (number >= 0xFF) { return 0xFF; } - var f = Math.floor(argument); - if (f + 0.5 < number) { return f + 1; } - if (number < f + 0.5) { return f; } - if (f % 2 !== 0) { return f + 1; } - return f; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tostring - ToString: function ToString(argument) { - if (typeof argument === 'symbol') { - throw new TypeError('Cannot convert a Symbol value to a string'); - } - return String(argument); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toobject - ToObject: function ToObject(value) { - this.RequireObjectCoercible(value); - return Object(value); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey - ToPropertyKey: function ToPropertyKey(argument) { - var key = this.ToPrimitive(argument, String); - return typeof key === 'symbol' ? key : this.ToString(key); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength - ToLength: function ToLength(argument) { - var len = this.ToInteger(argument); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } - return len; - }, - - // http://www.ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring - CanonicalNumericIndexString: function CanonicalNumericIndexString(argument) { - if (toStr.call(argument) !== '[object String]') { - throw new TypeError('must be a string'); - } - if (argument === '-0') { return -0; } - var n = this.ToNumber(argument); - if (this.SameValue(this.ToString(n), argument)) { return n; } - return void 0; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-requireobjectcoercible - RequireObjectCoercible: ES5.CheckObjectCoercible, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray - IsArray: Array.isArray || function IsArray(argument) { - return toStr.call(argument) === '[object Array]'; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-iscallable - // IsCallable: ES5.IsCallable, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor - IsConstructor: function IsConstructor(argument) { - return typeof argument === 'function' && !!argument.prototype; // unfortunately there's no way to truly check this without try/catch `new argument` - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isextensible-o - IsExtensible: function IsExtensible(obj) { - if (!Object.preventExtensions) { return true; } - if (isPrimitive(obj)) { - return false; - } - return Object.isExtensible(obj); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isinteger - IsInteger: function IsInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var abs = Math.abs(argument); - return Math.floor(abs) === abs; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ispropertykey - IsPropertyKey: function IsPropertyKey(argument) { - return typeof argument === 'string' || typeof argument === 'symbol'; - }, - - // http://www.ecma-international.org/ecma-262/6.0/#sec-isregexp - IsRegExp: function IsRegExp(argument) { - if (!argument || typeof argument !== 'object') { - return false; - } - if (hasSymbols) { - var isRegExp = argument[Symbol.match]; - if (typeof isRegExp !== 'undefined') { - return ES5.ToBoolean(isRegExp); - } - } - return hasRegExpMatcher(argument); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevalue - // SameValue: ES5.SameValue, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero - SameValueZero: function SameValueZero(x, y) { - return (x === y) || ($isNaN(x) && $isNaN(y)); - }, - - /** - * 7.3.2 GetV (V, P) - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let O be ToObject(V). - * 3. ReturnIfAbrupt(O). - * 4. Return O.[[Get]](P, V). - */ - GetV: function GetV(V, P) { - // 7.3.2.1 - if (!this.IsPropertyKey(P)) { - throw new TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.2.2-3 - var O = this.ToObject(V); - - // 7.3.2.4 - return O[P]; - }, - - /** - * 7.3.9 - http://www.ecma-international.org/ecma-262/6.0/#sec-getmethod - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let func be GetV(O, P). - * 3. ReturnIfAbrupt(func). - * 4. If func is either undefined or null, return undefined. - * 5. If IsCallable(func) is false, throw a TypeError exception. - * 6. Return func. - */ - GetMethod: function GetMethod(O, P) { - // 7.3.9.1 - if (!this.IsPropertyKey(P)) { - throw new TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.9.2 - var func = this.GetV(O, P); - - // 7.3.9.4 - if (func == null) { - return undefined; - } - - // 7.3.9.5 - if (!this.IsCallable(func)) { - throw new TypeError(P + 'is not a function'); - } - - // 7.3.9.6 - return func; - }, - - /** - * 7.3.1 Get (O, P) - http://www.ecma-international.org/ecma-262/6.0/#sec-get-o-p - * 1. Assert: Type(O) is Object. - * 2. Assert: IsPropertyKey(P) is true. - * 3. Return O.[[Get]](P, O). - */ - Get: function Get(O, P) { - // 7.3.1.1 - if (this.Type(O) !== 'Object') { - throw new TypeError('Assertion failed: Type(O) is not Object'); - } - // 7.3.1.2 - if (!this.IsPropertyKey(P)) { - throw new TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - // 7.3.1.3 - return O[P]; - }, - - Type: function Type(x) { - if (typeof x === 'symbol') { - return 'Symbol'; - } - return ES5.Type(x); - }, - - // http://www.ecma-international.org/ecma-262/6.0/#sec-speciesconstructor - SpeciesConstructor: function SpeciesConstructor(O, defaultConstructor) { - if (this.Type(O) !== 'Object') { - throw new TypeError('Assertion failed: Type(O) is not Object'); - } - var C = O.constructor; - if (typeof C === 'undefined') { - return defaultConstructor; - } - if (this.Type(C) !== 'Object') { - throw new TypeError('O.constructor is not an Object'); - } - var S = hasSymbols && Symbol.species ? C[Symbol.species] : undefined; - if (S == null) { - return defaultConstructor; - } - if (this.IsConstructor(S)) { - return S; - } - throw new TypeError('no constructor found'); - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor - CompletePropertyDescriptor: function CompletePropertyDescriptor(Desc) { - if (!this.IsPropertyDescriptor(Desc)) { - throw new TypeError('Desc must be a Property Descriptor'); - } - - if (this.IsGenericDescriptor(Desc) || this.IsDataDescriptor(Desc)) { - if (!has(Desc, '[[Value]]')) { - Desc['[[Value]]'] = void 0; - } - if (!has(Desc, '[[Writable]]')) { - Desc['[[Writable]]'] = false; - } - } else { - if (!has(Desc, '[[Get]]')) { - Desc['[[Get]]'] = void 0; - } - if (!has(Desc, '[[Set]]')) { - Desc['[[Set]]'] = void 0; - } - } - if (!has(Desc, '[[Enumerable]]')) { - Desc['[[Enumerable]]'] = false; - } - if (!has(Desc, '[[Configurable]]')) { - Desc['[[Configurable]]'] = false; - } - return Desc; - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw - Set: function Set(O, P, V, Throw) { - if (this.Type(O) !== 'Object') { - throw new TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new TypeError('P must be a Property Key'); - } - if (this.Type(Throw) !== 'Boolean') { - throw new TypeError('Throw must be a Boolean'); - } - if (Throw) { - O[P] = V; - return true; - } else { - try { - O[P] = V; - } catch (e) { - return false; - } - } - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-hasownproperty - HasOwnProperty: function HasOwnProperty(O, P) { - if (this.Type(O) !== 'Object') { - throw new TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new TypeError('P must be a Property Key'); - } - return has(O, P); - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-hasproperty - HasProperty: function HasProperty(O, P) { - if (this.Type(O) !== 'Object') { - throw new TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new TypeError('P must be a Property Key'); - } - return P in O; - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable - IsConcatSpreadable: function IsConcatSpreadable(O) { - if (this.Type(O) !== 'Object') { - return false; - } - if (hasSymbols && typeof Symbol.isConcatSpreadable === 'symbol') { - var spreadable = this.Get(O, Symbol.isConcatSpreadable); - if (typeof spreadable !== 'undefined') { - return this.ToBoolean(spreadable); - } - } - return this.IsArray(O); - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-invoke - Invoke: function Invoke(O, P) { - if (!this.IsPropertyKey(P)) { - throw new TypeError('P must be a Property Key'); - } - var argumentsList = arraySlice(arguments, 2); - var func = this.GetV(O, P); - return this.Call(func, O, argumentsList); - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject - CreateIterResultObject: function CreateIterResultObject(value, done) { - if (this.Type(done) !== 'Boolean') { - throw new TypeError('Assertion failed: Type(done) is not Boolean'); - } - return { - value: value, - done: done - }; - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-regexpexec - RegExpExec: function RegExpExec(R, S) { - if (this.Type(R) !== 'Object') { - throw new TypeError('R must be an Object'); - } - if (this.Type(S) !== 'String') { - throw new TypeError('S must be a String'); - } - var exec = this.Get(R, 'exec'); - if (this.IsCallable(exec)) { - var result = this.Call(exec, R, [S]); - if (result === null || this.Type(result) === 'Object') { - return result; - } - throw new TypeError('"exec" method must return `null` or an Object'); - } - return regexExec(R, S); - } -}); - -delete ES6.CheckObjectCoercible; // renamed in ES6 to RequireObjectCoercible - -module.exports = ES6; - - -/***/ }), - -/***/ "./node_modules/es-abstract/es2016.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var ES2015 = __webpack_require__("./node_modules/es-abstract/es2015.js"); -var assign = __webpack_require__("./node_modules/es-abstract/helpers/assign.js"); - -var ES2016 = assign(assign({}, ES2015), { - // https://github.com/tc39/ecma262/pull/60 - SameValueNonNumber: function SameValueNonNumber(x, y) { - if (typeof x === 'number' || typeof x !== typeof y) { - throw new TypeError('SameValueNonNumber requires two non-number values of the same type.'); - } - return this.SameValue(x, y); - } -}); - -module.exports = ES2016; - - -/***/ }), - -/***/ "./node_modules/es-abstract/es5.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var $isNaN = __webpack_require__("./node_modules/es-abstract/helpers/isNaN.js"); -var $isFinite = __webpack_require__("./node_modules/es-abstract/helpers/isFinite.js"); - -var sign = __webpack_require__("./node_modules/es-abstract/helpers/sign.js"); -var mod = __webpack_require__("./node_modules/es-abstract/helpers/mod.js"); - -var IsCallable = __webpack_require__("./node_modules/is-callable/index.js"); -var toPrimitive = __webpack_require__("./node_modules/es-to-primitive/es5.js"); - -var has = __webpack_require__("./node_modules/has/src/index.js"); - -// https://es5.github.io/#x9 -var ES5 = { - ToPrimitive: toPrimitive, - - ToBoolean: function ToBoolean(value) { - return !!value; - }, - ToNumber: function ToNumber(value) { - return Number(value); - }, - ToInteger: function ToInteger(value) { - var number = this.ToNumber(value); - if ($isNaN(number)) { return 0; } - if (number === 0 || !$isFinite(number)) { return number; } - return sign(number) * Math.floor(Math.abs(number)); - }, - ToInt32: function ToInt32(x) { - return this.ToNumber(x) >> 0; - }, - ToUint32: function ToUint32(x) { - return this.ToNumber(x) >>> 0; - }, - ToUint16: function ToUint16(value) { - var number = this.ToNumber(value); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = sign(number) * Math.floor(Math.abs(number)); - return mod(posInt, 0x10000); - }, - ToString: function ToString(value) { - return String(value); - }, - ToObject: function ToObject(value) { - this.CheckObjectCoercible(value); - return Object(value); - }, - CheckObjectCoercible: function CheckObjectCoercible(value, optMessage) { - /* jshint eqnull:true */ - if (value == null) { - throw new TypeError(optMessage || 'Cannot call method on ' + value); - } - return value; - }, - IsCallable: IsCallable, - SameValue: function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); - }, - - // http://www.ecma-international.org/ecma-262/5.1/#sec-8 - Type: function Type(x) { - if (x === null) { - return 'Null'; - } - if (typeof x === 'undefined') { - return 'Undefined'; - } - if (typeof x === 'function' || typeof x === 'object') { - return 'Object'; - } - if (typeof x === 'number') { - return 'Number'; - } - if (typeof x === 'boolean') { - return 'Boolean'; - } - if (typeof x === 'string') { - return 'String'; - } - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type - IsPropertyDescriptor: function IsPropertyDescriptor(Desc) { - if (this.Type(Desc) !== 'Object') { - return false; - } - var allowed = { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Get]]': true, - '[[Set]]': true, - '[[Value]]': true, - '[[Writable]]': true - }; - // jscs:disable - for (var key in Desc) { // eslint-disable-line - if (has(Desc, key) && !allowed[key]) { - return false; - } - } - // jscs:enable - var isData = has(Desc, '[[Value]]'); - var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]'); - if (isData && IsAccessor) { - throw new TypeError('Property Descriptors may not be both accessor and data descriptors'); - } - return true; - }, - - // http://ecma-international.org/ecma-262/5.1/#sec-8.10.1 - IsAccessorDescriptor: function IsAccessorDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - if (!this.IsPropertyDescriptor(Desc)) { - throw new TypeError('Desc must be a Property Descriptor'); - } - - if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { - return false; - } - - return true; - }, - - // http://ecma-international.org/ecma-262/5.1/#sec-8.10.2 - IsDataDescriptor: function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - if (!this.IsPropertyDescriptor(Desc)) { - throw new TypeError('Desc must be a Property Descriptor'); - } - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; - }, - - // http://ecma-international.org/ecma-262/5.1/#sec-8.10.3 - IsGenericDescriptor: function IsGenericDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - if (!this.IsPropertyDescriptor(Desc)) { - throw new TypeError('Desc must be a Property Descriptor'); - } - - if (!this.IsAccessorDescriptor(Desc) && !this.IsDataDescriptor(Desc)) { - return true; - } - - return false; - }, - - // http://ecma-international.org/ecma-262/5.1/#sec-8.10.4 - FromPropertyDescriptor: function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - if (!this.IsPropertyDescriptor(Desc)) { - throw new TypeError('Desc must be a Property Descriptor'); - } - - if (this.IsDataDescriptor(Desc)) { - return { - value: Desc['[[Value]]'], - writable: !!Desc['[[Writable]]'], - enumerable: !!Desc['[[Enumerable]]'], - configurable: !!Desc['[[Configurable]]'] - }; - } else if (this.IsAccessorDescriptor(Desc)) { - return { - get: Desc['[[Get]]'], - set: Desc['[[Set]]'], - enumerable: !!Desc['[[Enumerable]]'], - configurable: !!Desc['[[Configurable]]'] - }; - } else { - throw new TypeError('FromPropertyDescriptor must be called with a fully populated Property Descriptor'); - } - }, - - // http://ecma-international.org/ecma-262/5.1/#sec-8.10.5 - ToPropertyDescriptor: function ToPropertyDescriptor(Obj) { - if (this.Type(Obj) !== 'Object') { - throw new TypeError('ToPropertyDescriptor requires an object'); - } - - var desc = {}; - if (has(Obj, 'enumerable')) { - desc['[[Enumerable]]'] = this.ToBoolean(Obj.enumerable); - } - if (has(Obj, 'configurable')) { - desc['[[Configurable]]'] = this.ToBoolean(Obj.configurable); - } - if (has(Obj, 'value')) { - desc['[[Value]]'] = Obj.value; - } - if (has(Obj, 'writable')) { - desc['[[Writable]]'] = this.ToBoolean(Obj.writable); - } - if (has(Obj, 'get')) { - var getter = Obj.get; - if (typeof getter !== 'undefined' && !this.IsCallable(getter)) { - throw new TypeError('getter must be a function'); - } - desc['[[Get]]'] = getter; - } - if (has(Obj, 'set')) { - var setter = Obj.set; - if (typeof setter !== 'undefined' && !this.IsCallable(setter)) { - throw new TypeError('setter must be a function'); - } - desc['[[Set]]'] = setter; - } - - if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { - throw new TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); - } - return desc; - } -}; - -module.exports = ES5; - - -/***/ }), - -/***/ "./node_modules/es-abstract/es7.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = __webpack_require__("./node_modules/es-abstract/es2016.js"); - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/assign.js": -/***/ (function(module, exports) { - -var has = Object.prototype.hasOwnProperty; -module.exports = function assign(target, source) { - if (Object.assign) { - return Object.assign(target, source); - } - for (var key in source) { - if (has.call(source, key)) { - target[key] = source[key]; - } - } - return target; -}; - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/isFinite.js": -/***/ (function(module, exports) { - -var $isNaN = Number.isNaN || function (a) { return a !== a; }; - -module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; }; - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/isNaN.js": -/***/ (function(module, exports) { - -module.exports = Number.isNaN || function isNaN(a) { - return a !== a; -}; - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/isPrimitive.js": -/***/ (function(module, exports) { - -module.exports = function isPrimitive(value) { - return value === null || (typeof value !== 'function' && typeof value !== 'object'); -}; - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/mod.js": -/***/ (function(module, exports) { - -module.exports = function mod(number, modulo) { - var remain = number % modulo; - return Math.floor(remain >= 0 ? remain : remain + modulo); -}; - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/sign.js": -/***/ (function(module, exports) { - -module.exports = function sign(number) { - return number >= 0 ? 1 : -1; -}; - - -/***/ }), - -/***/ "./node_modules/es-to-primitive/es5.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var toStr = Object.prototype.toString; - -var isPrimitive = __webpack_require__("./node_modules/es-to-primitive/helpers/isPrimitive.js"); - -var isCallable = __webpack_require__("./node_modules/is-callable/index.js"); - -// https://es5.github.io/#x8.12 -var ES5internalSlots = { - '[[DefaultValue]]': function (O, hint) { - var actualHint = hint || (toStr.call(O) === '[object Date]' ? String : Number); - - if (actualHint === String || actualHint === Number) { - var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString']; - var value, i; - for (i = 0; i < methods.length; ++i) { - if (isCallable(O[methods[i]])) { - value = O[methods[i]](); - if (isPrimitive(value)) { - return value; - } - } - } - throw new TypeError('No default value'); - } - throw new TypeError('invalid [[DefaultValue]] hint supplied'); - } -}; - -// https://es5.github.io/#x9 -module.exports = function ToPrimitive(input, PreferredType) { - if (isPrimitive(input)) { - return input; - } - return ES5internalSlots['[[DefaultValue]]'](input, PreferredType); -}; - - -/***/ }), - -/***/ "./node_modules/es-to-primitive/es6.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; - -var isPrimitive = __webpack_require__("./node_modules/es-to-primitive/helpers/isPrimitive.js"); -var isCallable = __webpack_require__("./node_modules/is-callable/index.js"); -var isDate = __webpack_require__("./node_modules/is-date-object/index.js"); -var isSymbol = __webpack_require__("./node_modules/is-symbol/index.js"); - -var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) { - if (typeof O === 'undefined' || O === null) { - throw new TypeError('Cannot call method on ' + O); - } - if (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) { - throw new TypeError('hint must be "string" or "number"'); - } - var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString']; - var method, result, i; - for (i = 0; i < methodNames.length; ++i) { - method = O[methodNames[i]]; - if (isCallable(method)) { - result = method.call(O); - if (isPrimitive(result)) { - return result; - } - } - } - throw new TypeError('No default value'); -}; - -var GetMethod = function GetMethod(O, P) { - var func = O[P]; - if (func !== null && typeof func !== 'undefined') { - if (!isCallable(func)) { - throw new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function'); - } - return func; - } -}; - -// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive -module.exports = function ToPrimitive(input, PreferredType) { - if (isPrimitive(input)) { - return input; - } - var hint = 'default'; - if (arguments.length > 1) { - if (PreferredType === String) { - hint = 'string'; - } else if (PreferredType === Number) { - hint = 'number'; - } - } - - var exoticToPrim; - if (hasSymbols) { - if (Symbol.toPrimitive) { - exoticToPrim = GetMethod(input, Symbol.toPrimitive); - } else if (isSymbol(input)) { - exoticToPrim = Symbol.prototype.valueOf; - } - } - if (typeof exoticToPrim !== 'undefined') { - var result = exoticToPrim.call(input, hint); - if (isPrimitive(result)) { - return result; - } - throw new TypeError('unable to convert exotic object to primitive'); - } - if (hint === 'default' && (isDate(input) || isSymbol(input))) { - hint = 'string'; - } - return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint); -}; - - -/***/ }), - -/***/ "./node_modules/es-to-primitive/helpers/isPrimitive.js": -/***/ (function(module, exports) { - -module.exports = function isPrimitive(value) { - return value === null || (typeof value !== 'function' && typeof value !== 'object'); -}; - - -/***/ }), - -/***/ "./node_modules/es6-shim/es6-shim.js": -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(global, process) {var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__; /*! - * https://github.com/paulmillr/es6-shim - * @license es6-shim Copyright 2013-2016 by Paul Miller (http://paulmillr.com) - * and contributors, MIT License - * es6-shim: v0.35.1 - * see https://github.com/paulmillr/es6-shim/blob/0.35.1/LICENSE - * Details and documentation: - * https://github.com/paulmillr/es6-shim/ - */ - -// UMD (Universal Module Definition) -// see https://github.com/umdjs/umd/blob/master/returnExports.js -(function (root, factory) { - /*global define, module, exports */ - if (true) { - // AMD. Register as an anonymous module. - !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), - __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? - (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : - __WEBPACK_AMD_DEFINE_FACTORY__), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - } else if (typeof exports === 'object') { - // Node. Does not work with strict CommonJS, but - // only CommonJS-like environments that support module.exports, - // like Node. - module.exports = factory(); - } else { - // Browser globals (root is window) - root.returnExports = factory(); - } -}(this, function () { - 'use strict'; - - var _apply = Function.call.bind(Function.apply); - var _call = Function.call.bind(Function.call); - var isArray = Array.isArray; - var keys = Object.keys; - - var not = function notThunker(func) { - return function notThunk() { - return !_apply(func, this, arguments); - }; - }; - var throwsError = function (func) { - try { - func(); - return false; - } catch (e) { - return true; - } - }; - var valueOrFalseIfThrows = function valueOrFalseIfThrows(func) { - try { - return func(); - } catch (e) { - return false; - } - }; - - var isCallableWithoutNew = not(throwsError); - var arePropertyDescriptorsSupported = function () { - // if Object.defineProperty exists but throws, it's IE 8 - return !throwsError(function () { - Object.defineProperty({}, 'x', { get: function () {} }); - }); - }; - var supportsDescriptors = !!Object.defineProperty && arePropertyDescriptorsSupported(); - var functionsHaveNames = (function foo() {}).name === 'foo'; // eslint-disable-line no-extra-parens - - var _forEach = Function.call.bind(Array.prototype.forEach); - var _reduce = Function.call.bind(Array.prototype.reduce); - var _filter = Function.call.bind(Array.prototype.filter); - var _some = Function.call.bind(Array.prototype.some); - - var defineProperty = function (object, name, value, force) { - if (!force && name in object) { return; } - if (supportsDescriptors) { - Object.defineProperty(object, name, { - configurable: true, - enumerable: false, - writable: true, - value: value - }); - } else { - object[name] = value; - } - }; - - // Define configurable, writable and non-enumerable props - // if they don’t exist. - var defineProperties = function (object, map, forceOverride) { - _forEach(keys(map), function (name) { - var method = map[name]; - defineProperty(object, name, method, !!forceOverride); - }); - }; - - var _toString = Function.call.bind(Object.prototype.toString); - var isCallable = false ? function IsCallableSlow(x) { - // Some old browsers (IE, FF) say that typeof /abc/ === 'function' - return typeof x === 'function' && _toString(x) === '[object Function]'; - } : function IsCallableFast(x) { return typeof x === 'function'; }; - - var Value = { - getter: function (object, name, getter) { - if (!supportsDescriptors) { - throw new TypeError('getters require true ES5 support'); - } - Object.defineProperty(object, name, { - configurable: true, - enumerable: false, - get: getter - }); - }, - proxy: function (originalObject, key, targetObject) { - if (!supportsDescriptors) { - throw new TypeError('getters require true ES5 support'); - } - var originalDescriptor = Object.getOwnPropertyDescriptor(originalObject, key); - Object.defineProperty(targetObject, key, { - configurable: originalDescriptor.configurable, - enumerable: originalDescriptor.enumerable, - get: function getKey() { return originalObject[key]; }, - set: function setKey(value) { originalObject[key] = value; } - }); - }, - redefine: function (object, property, newValue) { - if (supportsDescriptors) { - var descriptor = Object.getOwnPropertyDescriptor(object, property); - descriptor.value = newValue; - Object.defineProperty(object, property, descriptor); - } else { - object[property] = newValue; - } - }, - defineByDescriptor: function (object, property, descriptor) { - if (supportsDescriptors) { - Object.defineProperty(object, property, descriptor); - } else if ('value' in descriptor) { - object[property] = descriptor.value; - } - }, - preserveToString: function (target, source) { - if (source && isCallable(source.toString)) { - defineProperty(target, 'toString', source.toString.bind(source), true); - } - } - }; - - // Simple shim for Object.create on ES3 browsers - // (unlike real shim, no attempt to support `prototype === null`) - var create = Object.create || function (prototype, properties) { - var Prototype = function Prototype() {}; - Prototype.prototype = prototype; - var object = new Prototype(); - if (typeof properties !== 'undefined') { - keys(properties).forEach(function (key) { - Value.defineByDescriptor(object, key, properties[key]); - }); - } - return object; - }; - - var supportsSubclassing = function (C, f) { - if (!Object.setPrototypeOf) { return false; /* skip test on IE < 11 */ } - return valueOrFalseIfThrows(function () { - var Sub = function Subclass(arg) { - var o = new C(arg); - Object.setPrototypeOf(o, Subclass.prototype); - return o; - }; - Object.setPrototypeOf(Sub, C); - Sub.prototype = create(C.prototype, { - constructor: { value: Sub } - }); - return f(Sub); - }); - }; - - var getGlobal = function () { - /* global self, window, global */ - // the only reliable means to get the global object is - // `Function('return this')()` - // However, this causes CSP violations in Chrome apps. - if (typeof self !== 'undefined') { return self; } - if (typeof window !== 'undefined') { return window; } - if (typeof global !== 'undefined') { return global; } - throw new Error('unable to locate global object'); - }; - - var globals = getGlobal(); - var globalIsFinite = globals.isFinite; - var _indexOf = Function.call.bind(String.prototype.indexOf); - var _arrayIndexOfApply = Function.apply.bind(Array.prototype.indexOf); - var _concat = Function.call.bind(Array.prototype.concat); - // var _sort = Function.call.bind(Array.prototype.sort); - var _strSlice = Function.call.bind(String.prototype.slice); - var _push = Function.call.bind(Array.prototype.push); - var _pushApply = Function.apply.bind(Array.prototype.push); - var _shift = Function.call.bind(Array.prototype.shift); - var _max = Math.max; - var _min = Math.min; - var _floor = Math.floor; - var _abs = Math.abs; - var _exp = Math.exp; - var _log = Math.log; - var _sqrt = Math.sqrt; - var _hasOwnProperty = Function.call.bind(Object.prototype.hasOwnProperty); - var ArrayIterator; // make our implementation private - var noop = function () {}; - - var OrigMap = globals.Map; - var origMapDelete = OrigMap && OrigMap.prototype['delete']; - var origMapGet = OrigMap && OrigMap.prototype.get; - var origMapHas = OrigMap && OrigMap.prototype.has; - var origMapSet = OrigMap && OrigMap.prototype.set; - - var Symbol = globals.Symbol || {}; - var symbolSpecies = Symbol.species || '@@species'; - - var numberIsNaN = Number.isNaN || function isNaN(value) { - // NaN !== NaN, but they are identical. - // NaNs are the only non-reflexive value, i.e., if x !== x, - // then x is NaN. - // isNaN is broken: it converts its argument to number, so - // isNaN('foo') => true - return value !== value; - }; - var numberIsFinite = Number.isFinite || function isFinite(value) { - return typeof value === 'number' && globalIsFinite(value); - }; - var _sign = isCallable(Math.sign) ? Math.sign : function sign(value) { - var number = Number(value); - if (number === 0) { return number; } - if (numberIsNaN(number)) { return number; } - return number < 0 ? -1 : 1; - }; - - // taken directly from https://github.com/ljharb/is-arguments/blob/master/index.js - // can be replaced with require('is-arguments') if we ever use a build process instead - var isStandardArguments = function isArguments(value) { - return _toString(value) === '[object Arguments]'; - }; - var isLegacyArguments = function isArguments(value) { - return value !== null && - typeof value === 'object' && - typeof value.length === 'number' && - value.length >= 0 && - _toString(value) !== '[object Array]' && - _toString(value.callee) === '[object Function]'; - }; - var isArguments = isStandardArguments(arguments) ? isStandardArguments : isLegacyArguments; - - var Type = { - primitive: function (x) { return x === null || (typeof x !== 'function' && typeof x !== 'object'); }, - string: function (x) { return _toString(x) === '[object String]'; }, - regex: function (x) { return _toString(x) === '[object RegExp]'; }, - symbol: function (x) { - return typeof globals.Symbol === 'function' && typeof x === 'symbol'; - } - }; - - var overrideNative = function overrideNative(object, property, replacement) { - var original = object[property]; - defineProperty(object, property, replacement, true); - Value.preserveToString(object[property], original); - }; - - // eslint-disable-next-line no-restricted-properties - var hasSymbols = typeof Symbol === 'function' && typeof Symbol['for'] === 'function' && Type.symbol(Symbol()); - - // This is a private name in the es6 spec, equal to '[Symbol.iterator]' - // we're going to use an arbitrary _-prefixed name to make our shims - // work properly with each other, even though we don't have full Iterator - // support. That is, `Array.from(map.keys())` will work, but we don't - // pretend to export a "real" Iterator interface. - var $iterator$ = Type.symbol(Symbol.iterator) ? Symbol.iterator : '_es6-shim iterator_'; - // Firefox ships a partial implementation using the name @@iterator. - // https://bugzilla.mozilla.org/show_bug.cgi?id=907077#c14 - // So use that name if we detect it. - if (globals.Set && typeof new globals.Set()['@@iterator'] === 'function') { - $iterator$ = '@@iterator'; - } - - // Reflect - if (!globals.Reflect) { - defineProperty(globals, 'Reflect', {}, true); - } - var Reflect = globals.Reflect; - - var $String = String; - - /* global document */ - var domAll = (typeof document === 'undefined' || !document) ? null : document.all; - /* jshint eqnull:true */ - var isNullOrUndefined = domAll == null ? function isNullOrUndefined(x) { - /* jshint eqnull:true */ - return x == null; - } : function isNullOrUndefinedAndNotDocumentAll(x) { - /* jshint eqnull:true */ - return x == null && x !== domAll; - }; - - var ES = { - // http://www.ecma-international.org/ecma-262/6.0/#sec-call - Call: function Call(F, V) { - var args = arguments.length > 2 ? arguments[2] : []; - if (!ES.IsCallable(F)) { - throw new TypeError(F + ' is not a function'); - } - return _apply(F, V, args); - }, - - RequireObjectCoercible: function (x, optMessage) { - if (isNullOrUndefined(x)) { - throw new TypeError(optMessage || 'Cannot call method on ' + x); - } - return x; - }, - - // This might miss the "(non-standard exotic and does not implement - // [[Call]])" case from - // http://www.ecma-international.org/ecma-262/6.0/#sec-typeof-operator-runtime-semantics-evaluation - // but we can't find any evidence these objects exist in practice. - // If we find some in the future, you could test `Object(x) === x`, - // which is reliable according to - // http://www.ecma-international.org/ecma-262/6.0/#sec-toobject - // but is not well optimized by runtimes and creates an object - // whenever it returns false, and thus is very slow. - TypeIsObject: function (x) { - if (x === void 0 || x === null || x === true || x === false) { - return false; - } - return typeof x === 'function' || typeof x === 'object' || x === domAll; - }, - - ToObject: function (o, optMessage) { - return Object(ES.RequireObjectCoercible(o, optMessage)); - }, - - IsCallable: isCallable, - - IsConstructor: function (x) { - // We can't tell callables from constructors in ES5 - return ES.IsCallable(x); - }, - - ToInt32: function (x) { - return ES.ToNumber(x) >> 0; - }, - - ToUint32: function (x) { - return ES.ToNumber(x) >>> 0; - }, - - ToNumber: function (value) { - if (_toString(value) === '[object Symbol]') { - throw new TypeError('Cannot convert a Symbol value to a number'); - } - return +value; - }, - - ToInteger: function (value) { - var number = ES.ToNumber(value); - if (numberIsNaN(number)) { return 0; } - if (number === 0 || !numberIsFinite(number)) { return number; } - return (number > 0 ? 1 : -1) * _floor(_abs(number)); - }, - - ToLength: function (value) { - var len = ES.ToInteger(value); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > Number.MAX_SAFE_INTEGER) { return Number.MAX_SAFE_INTEGER; } - return len; - }, - - SameValue: function (a, b) { - if (a === b) { - // 0 === -0, but they are not identical. - if (a === 0) { return 1 / a === 1 / b; } - return true; - } - return numberIsNaN(a) && numberIsNaN(b); - }, - - SameValueZero: function (a, b) { - // same as SameValue except for SameValueZero(+0, -0) == true - return (a === b) || (numberIsNaN(a) && numberIsNaN(b)); - }, - - IsIterable: function (o) { - return ES.TypeIsObject(o) && (typeof o[$iterator$] !== 'undefined' || isArguments(o)); - }, - - GetIterator: function (o) { - if (isArguments(o)) { - // special case support for `arguments` - return new ArrayIterator(o, 'value'); - } - var itFn = ES.GetMethod(o, $iterator$); - if (!ES.IsCallable(itFn)) { - // Better diagnostics if itFn is null or undefined - throw new TypeError('value is not an iterable'); - } - var it = ES.Call(itFn, o); - if (!ES.TypeIsObject(it)) { - throw new TypeError('bad iterator'); - } - return it; - }, - - GetMethod: function (o, p) { - var func = ES.ToObject(o)[p]; - if (isNullOrUndefined(func)) { - return void 0; - } - if (!ES.IsCallable(func)) { - throw new TypeError('Method not callable: ' + p); - } - return func; - }, - - IteratorComplete: function (iterResult) { - return !!iterResult.done; - }, - - IteratorClose: function (iterator, completionIsThrow) { - var returnMethod = ES.GetMethod(iterator, 'return'); - if (returnMethod === void 0) { - return; - } - var innerResult, innerException; - try { - innerResult = ES.Call(returnMethod, iterator); - } catch (e) { - innerException = e; - } - if (completionIsThrow) { - return; - } - if (innerException) { - throw innerException; - } - if (!ES.TypeIsObject(innerResult)) { - throw new TypeError("Iterator's return method returned a non-object."); - } - }, - - IteratorNext: function (it) { - var result = arguments.length > 1 ? it.next(arguments[1]) : it.next(); - if (!ES.TypeIsObject(result)) { - throw new TypeError('bad iterator'); - } - return result; - }, - - IteratorStep: function (it) { - var result = ES.IteratorNext(it); - var done = ES.IteratorComplete(result); - return done ? false : result; - }, - - Construct: function (C, args, newTarget, isES6internal) { - var target = typeof newTarget === 'undefined' ? C : newTarget; - - if (!isES6internal && Reflect.construct) { - // Try to use Reflect.construct if available - return Reflect.construct(C, args, target); - } - // OK, we have to fake it. This will only work if the - // C.[[ConstructorKind]] == "base" -- but that's the only - // kind we can make in ES5 code anyway. - - // OrdinaryCreateFromConstructor(target, "%ObjectPrototype%") - var proto = target.prototype; - if (!ES.TypeIsObject(proto)) { - proto = Object.prototype; - } - var obj = create(proto); - // Call the constructor. - var result = ES.Call(C, obj, args); - return ES.TypeIsObject(result) ? result : obj; - }, - - SpeciesConstructor: function (O, defaultConstructor) { - var C = O.constructor; - if (C === void 0) { - return defaultConstructor; - } - if (!ES.TypeIsObject(C)) { - throw new TypeError('Bad constructor'); - } - var S = C[symbolSpecies]; - if (isNullOrUndefined(S)) { - return defaultConstructor; - } - if (!ES.IsConstructor(S)) { - throw new TypeError('Bad @@species'); - } - return S; - }, - - CreateHTML: function (string, tag, attribute, value) { - var S = ES.ToString(string); - var p1 = '<' + tag; - if (attribute !== '') { - var V = ES.ToString(value); - var escapedV = V.replace(/"/g, '"'); - p1 += ' ' + attribute + '="' + escapedV + '"'; - } - var p2 = p1 + '>'; - var p3 = p2 + S; - return p3 + ''; - }, - - IsRegExp: function IsRegExp(argument) { - if (!ES.TypeIsObject(argument)) { - return false; - } - var isRegExp = argument[Symbol.match]; - if (typeof isRegExp !== 'undefined') { - return !!isRegExp; - } - return Type.regex(argument); - }, - - ToString: function ToString(string) { - return $String(string); - } - }; - - // Well-known Symbol shims - if (supportsDescriptors && hasSymbols) { - var defineWellKnownSymbol = function defineWellKnownSymbol(name) { - if (Type.symbol(Symbol[name])) { - return Symbol[name]; - } - // eslint-disable-next-line no-restricted-properties - var sym = Symbol['for']('Symbol.' + name); - Object.defineProperty(Symbol, name, { - configurable: false, - enumerable: false, - writable: false, - value: sym - }); - return sym; - }; - if (!Type.symbol(Symbol.search)) { - var symbolSearch = defineWellKnownSymbol('search'); - var originalSearch = String.prototype.search; - defineProperty(RegExp.prototype, symbolSearch, function search(string) { - return ES.Call(originalSearch, string, [this]); - }); - var searchShim = function search(regexp) { - var O = ES.RequireObjectCoercible(this); - if (!isNullOrUndefined(regexp)) { - var searcher = ES.GetMethod(regexp, symbolSearch); - if (typeof searcher !== 'undefined') { - return ES.Call(searcher, regexp, [O]); - } - } - return ES.Call(originalSearch, O, [ES.ToString(regexp)]); - }; - overrideNative(String.prototype, 'search', searchShim); - } - if (!Type.symbol(Symbol.replace)) { - var symbolReplace = defineWellKnownSymbol('replace'); - var originalReplace = String.prototype.replace; - defineProperty(RegExp.prototype, symbolReplace, function replace(string, replaceValue) { - return ES.Call(originalReplace, string, [this, replaceValue]); - }); - var replaceShim = function replace(searchValue, replaceValue) { - var O = ES.RequireObjectCoercible(this); - if (!isNullOrUndefined(searchValue)) { - var replacer = ES.GetMethod(searchValue, symbolReplace); - if (typeof replacer !== 'undefined') { - return ES.Call(replacer, searchValue, [O, replaceValue]); - } - } - return ES.Call(originalReplace, O, [ES.ToString(searchValue), replaceValue]); - }; - overrideNative(String.prototype, 'replace', replaceShim); - } - if (!Type.symbol(Symbol.split)) { - var symbolSplit = defineWellKnownSymbol('split'); - var originalSplit = String.prototype.split; - defineProperty(RegExp.prototype, symbolSplit, function split(string, limit) { - return ES.Call(originalSplit, string, [this, limit]); - }); - var splitShim = function split(separator, limit) { - var O = ES.RequireObjectCoercible(this); - if (!isNullOrUndefined(separator)) { - var splitter = ES.GetMethod(separator, symbolSplit); - if (typeof splitter !== 'undefined') { - return ES.Call(splitter, separator, [O, limit]); - } - } - return ES.Call(originalSplit, O, [ES.ToString(separator), limit]); - }; - overrideNative(String.prototype, 'split', splitShim); - } - var symbolMatchExists = Type.symbol(Symbol.match); - var stringMatchIgnoresSymbolMatch = symbolMatchExists && (function () { - // Firefox 41, through Nightly 45 has Symbol.match, but String#match ignores it. - // Firefox 40 and below have Symbol.match but String#match works fine. - var o = {}; - o[Symbol.match] = function () { return 42; }; - return 'a'.match(o) !== 42; - }()); - if (!symbolMatchExists || stringMatchIgnoresSymbolMatch) { - var symbolMatch = defineWellKnownSymbol('match'); - - var originalMatch = String.prototype.match; - defineProperty(RegExp.prototype, symbolMatch, function match(string) { - return ES.Call(originalMatch, string, [this]); - }); - - var matchShim = function match(regexp) { - var O = ES.RequireObjectCoercible(this); - if (!isNullOrUndefined(regexp)) { - var matcher = ES.GetMethod(regexp, symbolMatch); - if (typeof matcher !== 'undefined') { - return ES.Call(matcher, regexp, [O]); - } - } - return ES.Call(originalMatch, O, [ES.ToString(regexp)]); - }; - overrideNative(String.prototype, 'match', matchShim); - } - } - - var wrapConstructor = function wrapConstructor(original, replacement, keysToSkip) { - Value.preserveToString(replacement, original); - if (Object.setPrototypeOf) { - // sets up proper prototype chain where possible - Object.setPrototypeOf(original, replacement); - } - if (supportsDescriptors) { - _forEach(Object.getOwnPropertyNames(original), function (key) { - if (key in noop || keysToSkip[key]) { return; } - Value.proxy(original, key, replacement); - }); - } else { - _forEach(Object.keys(original), function (key) { - if (key in noop || keysToSkip[key]) { return; } - replacement[key] = original[key]; - }); - } - replacement.prototype = original.prototype; - Value.redefine(original.prototype, 'constructor', replacement); - }; - - var defaultSpeciesGetter = function () { return this; }; - var addDefaultSpecies = function (C) { - if (supportsDescriptors && !_hasOwnProperty(C, symbolSpecies)) { - Value.getter(C, symbolSpecies, defaultSpeciesGetter); - } - }; - - var addIterator = function (prototype, impl) { - var implementation = impl || function iterator() { return this; }; - defineProperty(prototype, $iterator$, implementation); - if (!prototype[$iterator$] && Type.symbol($iterator$)) { - // implementations are buggy when $iterator$ is a Symbol - prototype[$iterator$] = implementation; - } - }; - - var createDataProperty = function createDataProperty(object, name, value) { - if (supportsDescriptors) { - Object.defineProperty(object, name, { - configurable: true, - enumerable: true, - writable: true, - value: value - }); - } else { - object[name] = value; - } - }; - var createDataPropertyOrThrow = function createDataPropertyOrThrow(object, name, value) { - createDataProperty(object, name, value); - if (!ES.SameValue(object[name], value)) { - throw new TypeError('property is nonconfigurable'); - } - }; - - var emulateES6construct = function (o, defaultNewTarget, defaultProto, slots) { - // This is an es5 approximation to es6 construct semantics. in es6, - // 'new Foo' invokes Foo.[[Construct]] which (for almost all objects) - // just sets the internal variable NewTarget (in es6 syntax `new.target`) - // to Foo and then returns Foo(). - - // Many ES6 object then have constructors of the form: - // 1. If NewTarget is undefined, throw a TypeError exception - // 2. Let xxx by OrdinaryCreateFromConstructor(NewTarget, yyy, zzz) - - // So we're going to emulate those first two steps. - if (!ES.TypeIsObject(o)) { - throw new TypeError('Constructor requires `new`: ' + defaultNewTarget.name); - } - var proto = defaultNewTarget.prototype; - if (!ES.TypeIsObject(proto)) { - proto = defaultProto; - } - var obj = create(proto); - for (var name in slots) { - if (_hasOwnProperty(slots, name)) { - var value = slots[name]; - defineProperty(obj, name, value, true); - } - } - return obj; - }; - - // Firefox 31 reports this function's length as 0 - // https://bugzilla.mozilla.org/show_bug.cgi?id=1062484 - if (String.fromCodePoint && String.fromCodePoint.length !== 1) { - var originalFromCodePoint = String.fromCodePoint; - overrideNative(String, 'fromCodePoint', function fromCodePoint(codePoints) { - return ES.Call(originalFromCodePoint, this, arguments); - }); - } - - var StringShims = { - fromCodePoint: function fromCodePoint(codePoints) { - var result = []; - var next; - for (var i = 0, length = arguments.length; i < length; i++) { - next = Number(arguments[i]); - if (!ES.SameValue(next, ES.ToInteger(next)) || next < 0 || next > 0x10FFFF) { - throw new RangeError('Invalid code point ' + next); - } - - if (next < 0x10000) { - _push(result, String.fromCharCode(next)); - } else { - next -= 0x10000; - _push(result, String.fromCharCode((next >> 10) + 0xD800)); - _push(result, String.fromCharCode((next % 0x400) + 0xDC00)); - } - } - return result.join(''); - }, - - raw: function raw(callSite) { - var cooked = ES.ToObject(callSite, 'bad callSite'); - var rawString = ES.ToObject(cooked.raw, 'bad raw value'); - var len = rawString.length; - var literalsegments = ES.ToLength(len); - if (literalsegments <= 0) { - return ''; - } - - var stringElements = []; - var nextIndex = 0; - var nextKey, next, nextSeg, nextSub; - while (nextIndex < literalsegments) { - nextKey = ES.ToString(nextIndex); - nextSeg = ES.ToString(rawString[nextKey]); - _push(stringElements, nextSeg); - if (nextIndex + 1 >= literalsegments) { - break; - } - next = nextIndex + 1 < arguments.length ? arguments[nextIndex + 1] : ''; - nextSub = ES.ToString(next); - _push(stringElements, nextSub); - nextIndex += 1; - } - return stringElements.join(''); - } - }; - if (String.raw && String.raw({ raw: { 0: 'x', 1: 'y', length: 2 } }) !== 'xy') { - // IE 11 TP has a broken String.raw implementation - overrideNative(String, 'raw', StringShims.raw); - } - defineProperties(String, StringShims); - - // Fast repeat, uses the `Exponentiation by squaring` algorithm. - // Perf: http://jsperf.com/string-repeat2/2 - var stringRepeat = function repeat(s, times) { - if (times < 1) { return ''; } - if (times % 2) { return repeat(s, times - 1) + s; } - var half = repeat(s, times / 2); - return half + half; - }; - var stringMaxLength = Infinity; - - var StringPrototypeShims = { - repeat: function repeat(times) { - var thisStr = ES.ToString(ES.RequireObjectCoercible(this)); - var numTimes = ES.ToInteger(times); - if (numTimes < 0 || numTimes >= stringMaxLength) { - throw new RangeError('repeat count must be less than infinity and not overflow maximum string size'); - } - return stringRepeat(thisStr, numTimes); - }, - - startsWith: function startsWith(searchString) { - var S = ES.ToString(ES.RequireObjectCoercible(this)); - if (ES.IsRegExp(searchString)) { - throw new TypeError('Cannot call method "startsWith" with a regex'); - } - var searchStr = ES.ToString(searchString); - var position; - if (arguments.length > 1) { - position = arguments[1]; - } - var start = _max(ES.ToInteger(position), 0); - return _strSlice(S, start, start + searchStr.length) === searchStr; - }, - - endsWith: function endsWith(searchString) { - var S = ES.ToString(ES.RequireObjectCoercible(this)); - if (ES.IsRegExp(searchString)) { - throw new TypeError('Cannot call method "endsWith" with a regex'); - } - var searchStr = ES.ToString(searchString); - var len = S.length; - var endPosition; - if (arguments.length > 1) { - endPosition = arguments[1]; - } - var pos = typeof endPosition === 'undefined' ? len : ES.ToInteger(endPosition); - var end = _min(_max(pos, 0), len); - return _strSlice(S, end - searchStr.length, end) === searchStr; - }, - - includes: function includes(searchString) { - if (ES.IsRegExp(searchString)) { - throw new TypeError('"includes" does not accept a RegExp'); - } - var searchStr = ES.ToString(searchString); - var position; - if (arguments.length > 1) { - position = arguments[1]; - } - // Somehow this trick makes method 100% compat with the spec. - return _indexOf(this, searchStr, position) !== -1; - }, - - codePointAt: function codePointAt(pos) { - var thisStr = ES.ToString(ES.RequireObjectCoercible(this)); - var position = ES.ToInteger(pos); - var length = thisStr.length; - if (position >= 0 && position < length) { - var first = thisStr.charCodeAt(position); - var isEnd = position + 1 === length; - if (first < 0xD800 || first > 0xDBFF || isEnd) { return first; } - var second = thisStr.charCodeAt(position + 1); - if (second < 0xDC00 || second > 0xDFFF) { return first; } - return ((first - 0xD800) * 1024) + (second - 0xDC00) + 0x10000; - } - } - }; - if (String.prototype.includes && 'a'.includes('a', Infinity) !== false) { - overrideNative(String.prototype, 'includes', StringPrototypeShims.includes); - } - - if (String.prototype.startsWith && String.prototype.endsWith) { - var startsWithRejectsRegex = throwsError(function () { - /* throws if spec-compliant */ - '/a/'.startsWith(/a/); - }); - var startsWithHandlesInfinity = valueOrFalseIfThrows(function () { - return 'abc'.startsWith('a', Infinity) === false; - }); - if (!startsWithRejectsRegex || !startsWithHandlesInfinity) { - // Firefox (< 37?) and IE 11 TP have a noncompliant startsWith implementation - overrideNative(String.prototype, 'startsWith', StringPrototypeShims.startsWith); - overrideNative(String.prototype, 'endsWith', StringPrototypeShims.endsWith); - } - } - if (hasSymbols) { - var startsWithSupportsSymbolMatch = valueOrFalseIfThrows(function () { - var re = /a/; - re[Symbol.match] = false; - return '/a/'.startsWith(re); - }); - if (!startsWithSupportsSymbolMatch) { - overrideNative(String.prototype, 'startsWith', StringPrototypeShims.startsWith); - } - var endsWithSupportsSymbolMatch = valueOrFalseIfThrows(function () { - var re = /a/; - re[Symbol.match] = false; - return '/a/'.endsWith(re); - }); - if (!endsWithSupportsSymbolMatch) { - overrideNative(String.prototype, 'endsWith', StringPrototypeShims.endsWith); - } - var includesSupportsSymbolMatch = valueOrFalseIfThrows(function () { - var re = /a/; - re[Symbol.match] = false; - return '/a/'.includes(re); - }); - if (!includesSupportsSymbolMatch) { - overrideNative(String.prototype, 'includes', StringPrototypeShims.includes); - } - } - - defineProperties(String.prototype, StringPrototypeShims); - - // whitespace from: http://es5.github.io/#x15.5.4.20 - // implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 - var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' - ].join(''); - var trimRegexp = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); - var trimShim = function trim() { - return ES.ToString(ES.RequireObjectCoercible(this)).replace(trimRegexp, ''); - }; - var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); - var nonWSregex = new RegExp('[' + nonWS + ']', 'g'); - var isBadHexRegex = /^[-+]0x[0-9a-f]+$/i; - var hasStringTrimBug = nonWS.trim().length !== nonWS.length; - defineProperty(String.prototype, 'trim', trimShim, hasStringTrimBug); - - // Given an argument x, it will return an IteratorResult object, - // with value set to x and done to false. - // Given no arguments, it will return an iterator completion object. - var iteratorResult = function (x) { - return { value: x, done: arguments.length === 0 }; - }; - - // see http://www.ecma-international.org/ecma-262/6.0/#sec-string.prototype-@@iterator - var StringIterator = function (s) { - ES.RequireObjectCoercible(s); - this._s = ES.ToString(s); - this._i = 0; - }; - StringIterator.prototype.next = function () { - var s = this._s; - var i = this._i; - if (typeof s === 'undefined' || i >= s.length) { - this._s = void 0; - return iteratorResult(); - } - var first = s.charCodeAt(i); - var second, len; - if (first < 0xD800 || first > 0xDBFF || (i + 1) === s.length) { - len = 1; - } else { - second = s.charCodeAt(i + 1); - len = (second < 0xDC00 || second > 0xDFFF) ? 1 : 2; - } - this._i = i + len; - return iteratorResult(s.substr(i, len)); - }; - addIterator(StringIterator.prototype); - addIterator(String.prototype, function () { - return new StringIterator(this); - }); - - var ArrayShims = { - from: function from(items) { - var C = this; - var mapFn; - if (arguments.length > 1) { - mapFn = arguments[1]; - } - var mapping, T; - if (typeof mapFn === 'undefined') { - mapping = false; - } else { - if (!ES.IsCallable(mapFn)) { - throw new TypeError('Array.from: when provided, the second argument must be a function'); - } - if (arguments.length > 2) { - T = arguments[2]; - } - mapping = true; - } - - // Note that that Arrays will use ArrayIterator: - // https://bugs.ecmascript.org/show_bug.cgi?id=2416 - var usingIterator = typeof (isArguments(items) || ES.GetMethod(items, $iterator$)) !== 'undefined'; - - var length, result, i; - if (usingIterator) { - result = ES.IsConstructor(C) ? Object(new C()) : []; - var iterator = ES.GetIterator(items); - var next, nextValue; - - i = 0; - while (true) { - next = ES.IteratorStep(iterator); - if (next === false) { - break; - } - nextValue = next.value; - try { - if (mapping) { - nextValue = typeof T === 'undefined' ? mapFn(nextValue, i) : _call(mapFn, T, nextValue, i); - } - result[i] = nextValue; - } catch (e) { - ES.IteratorClose(iterator, true); - throw e; - } - i += 1; - } - length = i; - } else { - var arrayLike = ES.ToObject(items); - length = ES.ToLength(arrayLike.length); - result = ES.IsConstructor(C) ? Object(new C(length)) : new Array(length); - var value; - for (i = 0; i < length; ++i) { - value = arrayLike[i]; - if (mapping) { - value = typeof T === 'undefined' ? mapFn(value, i) : _call(mapFn, T, value, i); - } - createDataPropertyOrThrow(result, i, value); - } - } - - result.length = length; - return result; - }, - - of: function of() { - var len = arguments.length; - var C = this; - var A = isArray(C) || !ES.IsCallable(C) ? new Array(len) : ES.Construct(C, [len]); - for (var k = 0; k < len; ++k) { - createDataPropertyOrThrow(A, k, arguments[k]); - } - A.length = len; - return A; - } - }; - defineProperties(Array, ArrayShims); - addDefaultSpecies(Array); - - // Our ArrayIterator is private; see - // https://github.com/paulmillr/es6-shim/issues/252 - ArrayIterator = function (array, kind) { - this.i = 0; - this.array = array; - this.kind = kind; - }; - - defineProperties(ArrayIterator.prototype, { - next: function () { - var i = this.i; - var array = this.array; - if (!(this instanceof ArrayIterator)) { - throw new TypeError('Not an ArrayIterator'); - } - if (typeof array !== 'undefined') { - var len = ES.ToLength(array.length); - for (; i < len; i++) { - var kind = this.kind; - var retval; - if (kind === 'key') { - retval = i; - } else if (kind === 'value') { - retval = array[i]; - } else if (kind === 'entry') { - retval = [i, array[i]]; - } - this.i = i + 1; - return iteratorResult(retval); - } - } - this.array = void 0; - return iteratorResult(); - } - }); - addIterator(ArrayIterator.prototype); - -/* - var orderKeys = function orderKeys(a, b) { - var aNumeric = String(ES.ToInteger(a)) === a; - var bNumeric = String(ES.ToInteger(b)) === b; - if (aNumeric && bNumeric) { - return b - a; - } else if (aNumeric && !bNumeric) { - return -1; - } else if (!aNumeric && bNumeric) { - return 1; - } else { - return a.localeCompare(b); - } - }; - - var getAllKeys = function getAllKeys(object) { - var ownKeys = []; - var keys = []; - - for (var key in object) { - _push(_hasOwnProperty(object, key) ? ownKeys : keys, key); - } - _sort(ownKeys, orderKeys); - _sort(keys, orderKeys); - - return _concat(ownKeys, keys); - }; - */ - - // note: this is positioned here because it depends on ArrayIterator - var arrayOfSupportsSubclassing = Array.of === ArrayShims.of || (function () { - // Detects a bug in Webkit nightly r181886 - var Foo = function Foo(len) { this.length = len; }; - Foo.prototype = []; - var fooArr = Array.of.apply(Foo, [1, 2]); - return fooArr instanceof Foo && fooArr.length === 2; - }()); - if (!arrayOfSupportsSubclassing) { - overrideNative(Array, 'of', ArrayShims.of); - } - - var ArrayPrototypeShims = { - copyWithin: function copyWithin(target, start) { - var o = ES.ToObject(this); - var len = ES.ToLength(o.length); - var relativeTarget = ES.ToInteger(target); - var relativeStart = ES.ToInteger(start); - var to = relativeTarget < 0 ? _max(len + relativeTarget, 0) : _min(relativeTarget, len); - var from = relativeStart < 0 ? _max(len + relativeStart, 0) : _min(relativeStart, len); - var end; - if (arguments.length > 2) { - end = arguments[2]; - } - var relativeEnd = typeof end === 'undefined' ? len : ES.ToInteger(end); - var finalItem = relativeEnd < 0 ? _max(len + relativeEnd, 0) : _min(relativeEnd, len); - var count = _min(finalItem - from, len - to); - var direction = 1; - if (from < to && to < (from + count)) { - direction = -1; - from += count - 1; - to += count - 1; - } - while (count > 0) { - if (from in o) { - o[to] = o[from]; - } else { - delete o[to]; - } - from += direction; - to += direction; - count -= 1; - } - return o; - }, - - fill: function fill(value) { - var start; - if (arguments.length > 1) { - start = arguments[1]; - } - var end; - if (arguments.length > 2) { - end = arguments[2]; - } - var O = ES.ToObject(this); - var len = ES.ToLength(O.length); - start = ES.ToInteger(typeof start === 'undefined' ? 0 : start); - end = ES.ToInteger(typeof end === 'undefined' ? len : end); - - var relativeStart = start < 0 ? _max(len + start, 0) : _min(start, len); - var relativeEnd = end < 0 ? len + end : end; - - for (var i = relativeStart; i < len && i < relativeEnd; ++i) { - O[i] = value; - } - return O; - }, - - find: function find(predicate) { - var list = ES.ToObject(this); - var length = ES.ToLength(list.length); - if (!ES.IsCallable(predicate)) { - throw new TypeError('Array#find: predicate must be a function'); - } - var thisArg = arguments.length > 1 ? arguments[1] : null; - for (var i = 0, value; i < length; i++) { - value = list[i]; - if (thisArg) { - if (_call(predicate, thisArg, value, i, list)) { - return value; - } - } else if (predicate(value, i, list)) { - return value; - } - } - }, - - findIndex: function findIndex(predicate) { - var list = ES.ToObject(this); - var length = ES.ToLength(list.length); - if (!ES.IsCallable(predicate)) { - throw new TypeError('Array#findIndex: predicate must be a function'); - } - var thisArg = arguments.length > 1 ? arguments[1] : null; - for (var i = 0; i < length; i++) { - if (thisArg) { - if (_call(predicate, thisArg, list[i], i, list)) { - return i; - } - } else if (predicate(list[i], i, list)) { - return i; - } - } - return -1; - }, - - keys: function keys() { - return new ArrayIterator(this, 'key'); - }, - - values: function values() { - return new ArrayIterator(this, 'value'); - }, - - entries: function entries() { - return new ArrayIterator(this, 'entry'); - } - }; - // Safari 7.1 defines Array#keys and Array#entries natively, - // but the resulting ArrayIterator objects don't have a "next" method. - if (Array.prototype.keys && !ES.IsCallable([1].keys().next)) { - delete Array.prototype.keys; - } - if (Array.prototype.entries && !ES.IsCallable([1].entries().next)) { - delete Array.prototype.entries; - } - - // Chrome 38 defines Array#keys and Array#entries, and Array#@@iterator, but not Array#values - if (Array.prototype.keys && Array.prototype.entries && !Array.prototype.values && Array.prototype[$iterator$]) { - defineProperties(Array.prototype, { - values: Array.prototype[$iterator$] - }); - if (Type.symbol(Symbol.unscopables)) { - Array.prototype[Symbol.unscopables].values = true; - } - } - // Chrome 40 defines Array#values with the incorrect name, although Array#{keys,entries} have the correct name - if (functionsHaveNames && Array.prototype.values && Array.prototype.values.name !== 'values') { - var originalArrayPrototypeValues = Array.prototype.values; - overrideNative(Array.prototype, 'values', function values() { return ES.Call(originalArrayPrototypeValues, this, arguments); }); - defineProperty(Array.prototype, $iterator$, Array.prototype.values, true); - } - defineProperties(Array.prototype, ArrayPrototypeShims); - - if (1 / [true].indexOf(true, -0) < 0) { - // indexOf when given a position arg of -0 should return +0. - // https://github.com/tc39/ecma262/pull/316 - defineProperty(Array.prototype, 'indexOf', function indexOf(searchElement) { - var value = _arrayIndexOfApply(this, arguments); - if (value === 0 && (1 / value) < 0) { - return 0; - } - return value; - }, true); - } - - addIterator(Array.prototype, function () { return this.values(); }); - // Chrome defines keys/values/entries on Array, but doesn't give us - // any way to identify its iterator. So add our own shimmed field. - if (Object.getPrototypeOf) { - addIterator(Object.getPrototypeOf([].values())); - } - - // note: this is positioned here because it relies on Array#entries - var arrayFromSwallowsNegativeLengths = (function () { - // Detects a Firefox bug in v32 - // https://bugzilla.mozilla.org/show_bug.cgi?id=1063993 - return valueOrFalseIfThrows(function () { - return Array.from({ length: -1 }).length === 0; - }); - }()); - var arrayFromHandlesIterables = (function () { - // Detects a bug in Webkit nightly r181886 - var arr = Array.from([0].entries()); - return arr.length === 1 && isArray(arr[0]) && arr[0][0] === 0 && arr[0][1] === 0; - }()); - if (!arrayFromSwallowsNegativeLengths || !arrayFromHandlesIterables) { - overrideNative(Array, 'from', ArrayShims.from); - } - var arrayFromHandlesUndefinedMapFunction = (function () { - // Microsoft Edge v0.11 throws if the mapFn argument is *provided* but undefined, - // but the spec doesn't care if it's provided or not - undefined doesn't throw. - return valueOrFalseIfThrows(function () { - return Array.from([0], void 0); - }); - }()); - if (!arrayFromHandlesUndefinedMapFunction) { - var origArrayFrom = Array.from; - overrideNative(Array, 'from', function from(items) { - if (arguments.length > 1 && typeof arguments[1] !== 'undefined') { - return ES.Call(origArrayFrom, this, arguments); - } else { - return _call(origArrayFrom, this, items); - } - }); - } - - var int32sAsOne = -(Math.pow(2, 32) - 1); - var toLengthsCorrectly = function (method, reversed) { - var obj = { length: int32sAsOne }; - obj[reversed ? (obj.length >>> 0) - 1 : 0] = true; - return valueOrFalseIfThrows(function () { - _call(method, obj, function () { - // note: in nonconforming browsers, this will be called - // -1 >>> 0 times, which is 4294967295, so the throw matters. - throw new RangeError('should not reach here'); - }, []); - return true; - }); - }; - if (!toLengthsCorrectly(Array.prototype.forEach)) { - var originalForEach = Array.prototype.forEach; - overrideNative(Array.prototype, 'forEach', function forEach(callbackFn) { - return ES.Call(originalForEach, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.map)) { - var originalMap = Array.prototype.map; - overrideNative(Array.prototype, 'map', function map(callbackFn) { - return ES.Call(originalMap, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.filter)) { - var originalFilter = Array.prototype.filter; - overrideNative(Array.prototype, 'filter', function filter(callbackFn) { - return ES.Call(originalFilter, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.some)) { - var originalSome = Array.prototype.some; - overrideNative(Array.prototype, 'some', function some(callbackFn) { - return ES.Call(originalSome, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.every)) { - var originalEvery = Array.prototype.every; - overrideNative(Array.prototype, 'every', function every(callbackFn) { - return ES.Call(originalEvery, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.reduce)) { - var originalReduce = Array.prototype.reduce; - overrideNative(Array.prototype, 'reduce', function reduce(callbackFn) { - return ES.Call(originalReduce, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.reduceRight, true)) { - var originalReduceRight = Array.prototype.reduceRight; - overrideNative(Array.prototype, 'reduceRight', function reduceRight(callbackFn) { - return ES.Call(originalReduceRight, this.length >= 0 ? this : [], arguments); - }, true); - } - - var lacksOctalSupport = Number('0o10') !== 8; - var lacksBinarySupport = Number('0b10') !== 2; - var trimsNonWhitespace = _some(nonWS, function (c) { - return Number(c + 0 + c) === 0; - }); - if (lacksOctalSupport || lacksBinarySupport || trimsNonWhitespace) { - var OrigNumber = Number; - var binaryRegex = /^0b[01]+$/i; - var octalRegex = /^0o[0-7]+$/i; - // Note that in IE 8, RegExp.prototype.test doesn't seem to exist: ie, "test" is an own property of regexes. wtf. - var isBinary = binaryRegex.test.bind(binaryRegex); - var isOctal = octalRegex.test.bind(octalRegex); - var toPrimitive = function (O) { // need to replace this with `es-to-primitive/es6` - var result; - if (typeof O.valueOf === 'function') { - result = O.valueOf(); - if (Type.primitive(result)) { - return result; - } - } - if (typeof O.toString === 'function') { - result = O.toString(); - if (Type.primitive(result)) { - return result; - } - } - throw new TypeError('No default value'); - }; - var hasNonWS = nonWSregex.test.bind(nonWSregex); - var isBadHex = isBadHexRegex.test.bind(isBadHexRegex); - var NumberShim = (function () { - // this is wrapped in an IIFE because of IE 6-8's wacky scoping issues with named function expressions. - var NumberShim = function Number(value) { - var primValue; - if (arguments.length > 0) { - primValue = Type.primitive(value) ? value : toPrimitive(value, 'number'); - } else { - primValue = 0; - } - if (typeof primValue === 'string') { - primValue = ES.Call(trimShim, primValue); - if (isBinary(primValue)) { - primValue = parseInt(_strSlice(primValue, 2), 2); - } else if (isOctal(primValue)) { - primValue = parseInt(_strSlice(primValue, 2), 8); - } else if (hasNonWS(primValue) || isBadHex(primValue)) { - primValue = NaN; - } - } - var receiver = this; - var valueOfSucceeds = valueOrFalseIfThrows(function () { - OrigNumber.prototype.valueOf.call(receiver); - return true; - }); - if (receiver instanceof NumberShim && !valueOfSucceeds) { - return new OrigNumber(primValue); - } - /* jshint newcap: false */ - return OrigNumber(primValue); - /* jshint newcap: true */ - }; - return NumberShim; - }()); - wrapConstructor(OrigNumber, NumberShim, {}); - // this is necessary for ES3 browsers, where these properties are non-enumerable. - defineProperties(NumberShim, { - NaN: OrigNumber.NaN, - MAX_VALUE: OrigNumber.MAX_VALUE, - MIN_VALUE: OrigNumber.MIN_VALUE, - NEGATIVE_INFINITY: OrigNumber.NEGATIVE_INFINITY, - POSITIVE_INFINITY: OrigNumber.POSITIVE_INFINITY - }); - /* globals Number: true */ - /* eslint-disable no-undef, no-global-assign */ - /* jshint -W020 */ - Number = NumberShim; - Value.redefine(globals, 'Number', NumberShim); - /* jshint +W020 */ - /* eslint-enable no-undef, no-global-assign */ - /* globals Number: false */ - } - - var maxSafeInteger = Math.pow(2, 53) - 1; - defineProperties(Number, { - MAX_SAFE_INTEGER: maxSafeInteger, - MIN_SAFE_INTEGER: -maxSafeInteger, - EPSILON: 2.220446049250313e-16, - - parseInt: globals.parseInt, - parseFloat: globals.parseFloat, - - isFinite: numberIsFinite, - - isInteger: function isInteger(value) { - return numberIsFinite(value) && ES.ToInteger(value) === value; - }, - - isSafeInteger: function isSafeInteger(value) { - return Number.isInteger(value) && _abs(value) <= Number.MAX_SAFE_INTEGER; - }, - - isNaN: numberIsNaN - }); - // Firefox 37 has a conforming Number.parseInt, but it's not === to the global parseInt (fixed in v40) - defineProperty(Number, 'parseInt', globals.parseInt, Number.parseInt !== globals.parseInt); - - // Work around bugs in Array#find and Array#findIndex -- early - // implementations skipped holes in sparse arrays. (Note that the - // implementations of find/findIndex indirectly use shimmed - // methods of Number, so this test has to happen down here.) - /*jshint elision: true */ - /* eslint-disable no-sparse-arrays */ - if ([, 1].find(function () { return true; }) === 1) { - overrideNative(Array.prototype, 'find', ArrayPrototypeShims.find); - } - if ([, 1].findIndex(function () { return true; }) !== 0) { - overrideNative(Array.prototype, 'findIndex', ArrayPrototypeShims.findIndex); - } - /* eslint-enable no-sparse-arrays */ - /*jshint elision: false */ - - var isEnumerableOn = Function.bind.call(Function.bind, Object.prototype.propertyIsEnumerable); - var ensureEnumerable = function ensureEnumerable(obj, prop) { - if (supportsDescriptors && isEnumerableOn(obj, prop)) { - Object.defineProperty(obj, prop, { enumerable: false }); - } - }; - var sliceArgs = function sliceArgs() { - // per https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments - // and https://gist.github.com/WebReflection/4327762cb87a8c634a29 - var initial = Number(this); - var len = arguments.length; - var desiredArgCount = len - initial; - var args = new Array(desiredArgCount < 0 ? 0 : desiredArgCount); - for (var i = initial; i < len; ++i) { - args[i - initial] = arguments[i]; - } - return args; - }; - var assignTo = function assignTo(source) { - return function assignToSource(target, key) { - target[key] = source[key]; - return target; - }; - }; - var assignReducer = function (target, source) { - var sourceKeys = keys(Object(source)); - var symbols; - if (ES.IsCallable(Object.getOwnPropertySymbols)) { - symbols = _filter(Object.getOwnPropertySymbols(Object(source)), isEnumerableOn(source)); - } - return _reduce(_concat(sourceKeys, symbols || []), assignTo(source), target); - }; - - var ObjectShims = { - // 19.1.3.1 - assign: function (target, source) { - var to = ES.ToObject(target, 'Cannot convert undefined or null to object'); - return _reduce(ES.Call(sliceArgs, 1, arguments), assignReducer, to); - }, - - // Added in WebKit in https://bugs.webkit.org/show_bug.cgi?id=143865 - is: function is(a, b) { - return ES.SameValue(a, b); - } - }; - var assignHasPendingExceptions = Object.assign && Object.preventExtensions && (function () { - // Firefox 37 still has "pending exception" logic in its Object.assign implementation, - // which is 72% slower than our shim, and Firefox 40's native implementation. - var thrower = Object.preventExtensions({ 1: 2 }); - try { - Object.assign(thrower, 'xy'); - } catch (e) { - return thrower[1] === 'y'; - } - }()); - if (assignHasPendingExceptions) { - overrideNative(Object, 'assign', ObjectShims.assign); - } - defineProperties(Object, ObjectShims); - - if (supportsDescriptors) { - var ES5ObjectShims = { - // 19.1.3.9 - // shim from https://gist.github.com/WebReflection/5593554 - setPrototypeOf: (function (Object, magic) { - var set; - - var checkArgs = function (O, proto) { - if (!ES.TypeIsObject(O)) { - throw new TypeError('cannot set prototype on a non-object'); - } - if (!(proto === null || ES.TypeIsObject(proto))) { - throw new TypeError('can only set prototype to an object or null' + proto); - } - }; - - var setPrototypeOf = function (O, proto) { - checkArgs(O, proto); - _call(set, O, proto); - return O; - }; - - try { - // this works already in Firefox and Safari - set = Object.getOwnPropertyDescriptor(Object.prototype, magic).set; - _call(set, {}, null); - } catch (e) { - if (Object.prototype !== {}[magic]) { - // IE < 11 cannot be shimmed - return; - } - // probably Chrome or some old Mobile stock browser - set = function (proto) { - this[magic] = proto; - }; - // please note that this will **not** work - // in those browsers that do not inherit - // __proto__ by mistake from Object.prototype - // in these cases we should probably throw an error - // or at least be informed about the issue - setPrototypeOf.polyfill = setPrototypeOf( - setPrototypeOf({}, null), - Object.prototype - ) instanceof Object; - // setPrototypeOf.polyfill === true means it works as meant - // setPrototypeOf.polyfill === false means it's not 100% reliable - // setPrototypeOf.polyfill === undefined - // or - // setPrototypeOf.polyfill == null means it's not a polyfill - // which means it works as expected - // we can even delete Object.prototype.__proto__; - } - return setPrototypeOf; - }(Object, '__proto__')) - }; - - defineProperties(Object, ES5ObjectShims); - } - - // Workaround bug in Opera 12 where setPrototypeOf(x, null) doesn't work, - // but Object.create(null) does. - if (Object.setPrototypeOf && Object.getPrototypeOf && - Object.getPrototypeOf(Object.setPrototypeOf({}, null)) !== null && - Object.getPrototypeOf(Object.create(null)) === null) { - (function () { - var FAKENULL = Object.create(null); - var gpo = Object.getPrototypeOf; - var spo = Object.setPrototypeOf; - Object.getPrototypeOf = function (o) { - var result = gpo(o); - return result === FAKENULL ? null : result; - }; - Object.setPrototypeOf = function (o, p) { - var proto = p === null ? FAKENULL : p; - return spo(o, proto); - }; - Object.setPrototypeOf.polyfill = false; - }()); - } - - var objectKeysAcceptsPrimitives = !throwsError(function () { Object.keys('foo'); }); - if (!objectKeysAcceptsPrimitives) { - var originalObjectKeys = Object.keys; - overrideNative(Object, 'keys', function keys(value) { - return originalObjectKeys(ES.ToObject(value)); - }); - keys = Object.keys; - } - var objectKeysRejectsRegex = throwsError(function () { Object.keys(/a/g); }); - if (objectKeysRejectsRegex) { - var regexRejectingObjectKeys = Object.keys; - overrideNative(Object, 'keys', function keys(value) { - if (Type.regex(value)) { - var regexKeys = []; - for (var k in value) { - if (_hasOwnProperty(value, k)) { - _push(regexKeys, k); - } - } - return regexKeys; - } - return regexRejectingObjectKeys(value); - }); - keys = Object.keys; - } - - if (Object.getOwnPropertyNames) { - var objectGOPNAcceptsPrimitives = !throwsError(function () { Object.getOwnPropertyNames('foo'); }); - if (!objectGOPNAcceptsPrimitives) { - var cachedWindowNames = typeof window === 'object' ? Object.getOwnPropertyNames(window) : []; - var originalObjectGetOwnPropertyNames = Object.getOwnPropertyNames; - overrideNative(Object, 'getOwnPropertyNames', function getOwnPropertyNames(value) { - var val = ES.ToObject(value); - if (_toString(val) === '[object Window]') { - try { - return originalObjectGetOwnPropertyNames(val); - } catch (e) { - // IE bug where layout engine calls userland gOPN for cross-domain `window` objects - return _concat([], cachedWindowNames); - } - } - return originalObjectGetOwnPropertyNames(val); - }); - } - } - if (Object.getOwnPropertyDescriptor) { - var objectGOPDAcceptsPrimitives = !throwsError(function () { Object.getOwnPropertyDescriptor('foo', 'bar'); }); - if (!objectGOPDAcceptsPrimitives) { - var originalObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - overrideNative(Object, 'getOwnPropertyDescriptor', function getOwnPropertyDescriptor(value, property) { - return originalObjectGetOwnPropertyDescriptor(ES.ToObject(value), property); - }); - } - } - if (Object.seal) { - var objectSealAcceptsPrimitives = !throwsError(function () { Object.seal('foo'); }); - if (!objectSealAcceptsPrimitives) { - var originalObjectSeal = Object.seal; - overrideNative(Object, 'seal', function seal(value) { - if (!ES.TypeIsObject(value)) { return value; } - return originalObjectSeal(value); - }); - } - } - if (Object.isSealed) { - var objectIsSealedAcceptsPrimitives = !throwsError(function () { Object.isSealed('foo'); }); - if (!objectIsSealedAcceptsPrimitives) { - var originalObjectIsSealed = Object.isSealed; - overrideNative(Object, 'isSealed', function isSealed(value) { - if (!ES.TypeIsObject(value)) { return true; } - return originalObjectIsSealed(value); - }); - } - } - if (Object.freeze) { - var objectFreezeAcceptsPrimitives = !throwsError(function () { Object.freeze('foo'); }); - if (!objectFreezeAcceptsPrimitives) { - var originalObjectFreeze = Object.freeze; - overrideNative(Object, 'freeze', function freeze(value) { - if (!ES.TypeIsObject(value)) { return value; } - return originalObjectFreeze(value); - }); - } - } - if (Object.isFrozen) { - var objectIsFrozenAcceptsPrimitives = !throwsError(function () { Object.isFrozen('foo'); }); - if (!objectIsFrozenAcceptsPrimitives) { - var originalObjectIsFrozen = Object.isFrozen; - overrideNative(Object, 'isFrozen', function isFrozen(value) { - if (!ES.TypeIsObject(value)) { return true; } - return originalObjectIsFrozen(value); - }); - } - } - if (Object.preventExtensions) { - var objectPreventExtensionsAcceptsPrimitives = !throwsError(function () { Object.preventExtensions('foo'); }); - if (!objectPreventExtensionsAcceptsPrimitives) { - var originalObjectPreventExtensions = Object.preventExtensions; - overrideNative(Object, 'preventExtensions', function preventExtensions(value) { - if (!ES.TypeIsObject(value)) { return value; } - return originalObjectPreventExtensions(value); - }); - } - } - if (Object.isExtensible) { - var objectIsExtensibleAcceptsPrimitives = !throwsError(function () { Object.isExtensible('foo'); }); - if (!objectIsExtensibleAcceptsPrimitives) { - var originalObjectIsExtensible = Object.isExtensible; - overrideNative(Object, 'isExtensible', function isExtensible(value) { - if (!ES.TypeIsObject(value)) { return false; } - return originalObjectIsExtensible(value); - }); - } - } - if (Object.getPrototypeOf) { - var objectGetProtoAcceptsPrimitives = !throwsError(function () { Object.getPrototypeOf('foo'); }); - if (!objectGetProtoAcceptsPrimitives) { - var originalGetProto = Object.getPrototypeOf; - overrideNative(Object, 'getPrototypeOf', function getPrototypeOf(value) { - return originalGetProto(ES.ToObject(value)); - }); - } - } - - var hasFlags = supportsDescriptors && (function () { - var desc = Object.getOwnPropertyDescriptor(RegExp.prototype, 'flags'); - return desc && ES.IsCallable(desc.get); - }()); - if (supportsDescriptors && !hasFlags) { - var regExpFlagsGetter = function flags() { - if (!ES.TypeIsObject(this)) { - throw new TypeError('Method called on incompatible type: must be an object.'); - } - var result = ''; - if (this.global) { - result += 'g'; - } - if (this.ignoreCase) { - result += 'i'; - } - if (this.multiline) { - result += 'm'; - } - if (this.unicode) { - result += 'u'; - } - if (this.sticky) { - result += 'y'; - } - return result; - }; - - Value.getter(RegExp.prototype, 'flags', regExpFlagsGetter); - } - - var regExpSupportsFlagsWithRegex = supportsDescriptors && valueOrFalseIfThrows(function () { - return String(new RegExp(/a/g, 'i')) === '/a/i'; - }); - var regExpNeedsToSupportSymbolMatch = hasSymbols && supportsDescriptors && (function () { - // Edge 0.12 supports flags fully, but does not support Symbol.match - var regex = /./; - regex[Symbol.match] = false; - return RegExp(regex) === regex; - }()); - - var regexToStringIsGeneric = valueOrFalseIfThrows(function () { - return RegExp.prototype.toString.call({ source: 'abc' }) === '/abc/'; - }); - var regexToStringSupportsGenericFlags = regexToStringIsGeneric && valueOrFalseIfThrows(function () { - return RegExp.prototype.toString.call({ source: 'a', flags: 'b' }) === '/a/b'; - }); - if (!regexToStringIsGeneric || !regexToStringSupportsGenericFlags) { - var origRegExpToString = RegExp.prototype.toString; - defineProperty(RegExp.prototype, 'toString', function toString() { - var R = ES.RequireObjectCoercible(this); - if (Type.regex(R)) { - return _call(origRegExpToString, R); - } - var pattern = $String(R.source); - var flags = $String(R.flags); - return '/' + pattern + '/' + flags; - }, true); - Value.preserveToString(RegExp.prototype.toString, origRegExpToString); - } - - if (supportsDescriptors && (!regExpSupportsFlagsWithRegex || regExpNeedsToSupportSymbolMatch)) { - var flagsGetter = Object.getOwnPropertyDescriptor(RegExp.prototype, 'flags').get; - var sourceDesc = Object.getOwnPropertyDescriptor(RegExp.prototype, 'source') || {}; - var legacySourceGetter = function () { - // prior to it being a getter, it's own + nonconfigurable - return this.source; - }; - var sourceGetter = ES.IsCallable(sourceDesc.get) ? sourceDesc.get : legacySourceGetter; - - var OrigRegExp = RegExp; - var RegExpShim = (function () { - return function RegExp(pattern, flags) { - var patternIsRegExp = ES.IsRegExp(pattern); - var calledWithNew = this instanceof RegExp; - if (!calledWithNew && patternIsRegExp && typeof flags === 'undefined' && pattern.constructor === RegExp) { - return pattern; - } - - var P = pattern; - var F = flags; - if (Type.regex(pattern)) { - P = ES.Call(sourceGetter, pattern); - F = typeof flags === 'undefined' ? ES.Call(flagsGetter, pattern) : flags; - return new RegExp(P, F); - } else if (patternIsRegExp) { - P = pattern.source; - F = typeof flags === 'undefined' ? pattern.flags : flags; - } - return new OrigRegExp(pattern, flags); - }; - }()); - wrapConstructor(OrigRegExp, RegExpShim, { - $input: true // Chrome < v39 & Opera < 26 have a nonstandard "$input" property - }); - /* globals RegExp: true */ - /* eslint-disable no-undef, no-global-assign */ - /* jshint -W020 */ - RegExp = RegExpShim; - Value.redefine(globals, 'RegExp', RegExpShim); - /* jshint +W020 */ - /* eslint-enable no-undef, no-global-assign */ - /* globals RegExp: false */ - } - - if (supportsDescriptors) { - var regexGlobals = { - input: '$_', - lastMatch: '$&', - lastParen: '$+', - leftContext: '$`', - rightContext: '$\'' - }; - _forEach(keys(regexGlobals), function (prop) { - if (prop in RegExp && !(regexGlobals[prop] in RegExp)) { - Value.getter(RegExp, regexGlobals[prop], function get() { - return RegExp[prop]; - }); - } - }); - } - addDefaultSpecies(RegExp); - - var inverseEpsilon = 1 / Number.EPSILON; - var roundTiesToEven = function roundTiesToEven(n) { - // Even though this reduces down to `return n`, it takes advantage of built-in rounding. - return (n + inverseEpsilon) - inverseEpsilon; - }; - var BINARY_32_EPSILON = Math.pow(2, -23); - var BINARY_32_MAX_VALUE = Math.pow(2, 127) * (2 - BINARY_32_EPSILON); - var BINARY_32_MIN_VALUE = Math.pow(2, -126); - var E = Math.E; - var LOG2E = Math.LOG2E; - var LOG10E = Math.LOG10E; - var numberCLZ = Number.prototype.clz; - delete Number.prototype.clz; // Safari 8 has Number#clz - - var MathShims = { - acosh: function acosh(value) { - var x = Number(value); - if (numberIsNaN(x) || value < 1) { return NaN; } - if (x === 1) { return 0; } - if (x === Infinity) { return x; } - return _log((x / E) + (_sqrt(x + 1) * _sqrt(x - 1) / E)) + 1; - }, - - asinh: function asinh(value) { - var x = Number(value); - if (x === 0 || !globalIsFinite(x)) { - return x; - } - return x < 0 ? -asinh(-x) : _log(x + _sqrt((x * x) + 1)); - }, - - atanh: function atanh(value) { - var x = Number(value); - if (numberIsNaN(x) || x < -1 || x > 1) { - return NaN; - } - if (x === -1) { return -Infinity; } - if (x === 1) { return Infinity; } - if (x === 0) { return x; } - return 0.5 * _log((1 + x) / (1 - x)); - }, - - cbrt: function cbrt(value) { - var x = Number(value); - if (x === 0) { return x; } - var negate = x < 0; - var result; - if (negate) { x = -x; } - if (x === Infinity) { - result = Infinity; - } else { - result = _exp(_log(x) / 3); - // from http://en.wikipedia.org/wiki/Cube_root#Numerical_methods - result = ((x / (result * result)) + (2 * result)) / 3; - } - return negate ? -result : result; - }, - - clz32: function clz32(value) { - // See https://bugs.ecmascript.org/show_bug.cgi?id=2465 - var x = Number(value); - var number = ES.ToUint32(x); - if (number === 0) { - return 32; - } - return numberCLZ ? ES.Call(numberCLZ, number) : 31 - _floor(_log(number + 0.5) * LOG2E); - }, - - cosh: function cosh(value) { - var x = Number(value); - if (x === 0) { return 1; } // +0 or -0 - if (numberIsNaN(x)) { return NaN; } - if (!globalIsFinite(x)) { return Infinity; } - if (x < 0) { x = -x; } - if (x > 21) { return _exp(x) / 2; } - return (_exp(x) + _exp(-x)) / 2; - }, - - expm1: function expm1(value) { - var x = Number(value); - if (x === -Infinity) { return -1; } - if (!globalIsFinite(x) || x === 0) { return x; } - if (_abs(x) > 0.5) { - return _exp(x) - 1; - } - // A more precise approximation using Taylor series expansion - // from https://github.com/paulmillr/es6-shim/issues/314#issuecomment-70293986 - var t = x; - var sum = 0; - var n = 1; - while (sum + t !== sum) { - sum += t; - n += 1; - t *= x / n; - } - return sum; - }, - - hypot: function hypot(x, y) { - var result = 0; - var largest = 0; - for (var i = 0; i < arguments.length; ++i) { - var value = _abs(Number(arguments[i])); - if (largest < value) { - result *= (largest / value) * (largest / value); - result += 1; - largest = value; - } else { - result += value > 0 ? (value / largest) * (value / largest) : value; - } - } - return largest === Infinity ? Infinity : largest * _sqrt(result); - }, - - log2: function log2(value) { - return _log(value) * LOG2E; - }, - - log10: function log10(value) { - return _log(value) * LOG10E; - }, - - log1p: function log1p(value) { - var x = Number(value); - if (x < -1 || numberIsNaN(x)) { return NaN; } - if (x === 0 || x === Infinity) { return x; } - if (x === -1) { return -Infinity; } - - return (1 + x) - 1 === 0 ? x : x * (_log(1 + x) / ((1 + x) - 1)); - }, - - sign: _sign, - - sinh: function sinh(value) { - var x = Number(value); - if (!globalIsFinite(x) || x === 0) { return x; } - - if (_abs(x) < 1) { - return (Math.expm1(x) - Math.expm1(-x)) / 2; - } - return (_exp(x - 1) - _exp(-x - 1)) * E / 2; - }, - - tanh: function tanh(value) { - var x = Number(value); - if (numberIsNaN(x) || x === 0) { return x; } - // can exit early at +-20 as JS loses precision for true value at this integer - if (x >= 20) { return 1; } - if (x <= -20) { return -1; } - - return (Math.expm1(x) - Math.expm1(-x)) / (_exp(x) + _exp(-x)); - }, - - trunc: function trunc(value) { - var x = Number(value); - return x < 0 ? -_floor(-x) : _floor(x); - }, - - imul: function imul(x, y) { - // taken from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul - var a = ES.ToUint32(x); - var b = ES.ToUint32(y); - var ah = (a >>> 16) & 0xffff; - var al = a & 0xffff; - var bh = (b >>> 16) & 0xffff; - var bl = b & 0xffff; - // the shift by 0 fixes the sign on the high part - // the final |0 converts the unsigned value into a signed value - return (al * bl) + ((((ah * bl) + (al * bh)) << 16) >>> 0) | 0; - }, - - fround: function fround(x) { - var v = Number(x); - if (v === 0 || v === Infinity || v === -Infinity || numberIsNaN(v)) { - return v; - } - var sign = _sign(v); - var abs = _abs(v); - if (abs < BINARY_32_MIN_VALUE) { - return sign * roundTiesToEven( - abs / BINARY_32_MIN_VALUE / BINARY_32_EPSILON - ) * BINARY_32_MIN_VALUE * BINARY_32_EPSILON; - } - // Veltkamp's splitting (?) - var a = (1 + (BINARY_32_EPSILON / Number.EPSILON)) * abs; - var result = a - (a - abs); - if (result > BINARY_32_MAX_VALUE || numberIsNaN(result)) { - return sign * Infinity; - } - return sign * result; - } - }; - defineProperties(Math, MathShims); - // IE 11 TP has an imprecise log1p: reports Math.log1p(-1e-17) as 0 - defineProperty(Math, 'log1p', MathShims.log1p, Math.log1p(-1e-17) !== -1e-17); - // IE 11 TP has an imprecise asinh: reports Math.asinh(-1e7) as not exactly equal to -Math.asinh(1e7) - defineProperty(Math, 'asinh', MathShims.asinh, Math.asinh(-1e7) !== -Math.asinh(1e7)); - // Chrome 40 has an imprecise Math.tanh with very small numbers - defineProperty(Math, 'tanh', MathShims.tanh, Math.tanh(-2e-17) !== -2e-17); - // Chrome 40 loses Math.acosh precision with high numbers - defineProperty(Math, 'acosh', MathShims.acosh, Math.acosh(Number.MAX_VALUE) === Infinity); - // Firefox 38 on Windows - defineProperty(Math, 'cbrt', MathShims.cbrt, Math.abs(1 - (Math.cbrt(1e-300) / 1e-100)) / Number.EPSILON > 8); - // node 0.11 has an imprecise Math.sinh with very small numbers - defineProperty(Math, 'sinh', MathShims.sinh, Math.sinh(-2e-17) !== -2e-17); - // FF 35 on Linux reports 22025.465794806725 for Math.expm1(10) - var expm1OfTen = Math.expm1(10); - defineProperty(Math, 'expm1', MathShims.expm1, expm1OfTen > 22025.465794806719 || expm1OfTen < 22025.4657948067165168); - - var origMathRound = Math.round; - // breaks in e.g. Safari 8, Internet Explorer 11, Opera 12 - var roundHandlesBoundaryConditions = Math.round(0.5 - (Number.EPSILON / 4)) === 0 && - Math.round(-0.5 + (Number.EPSILON / 3.99)) === 1; - - // When engines use Math.floor(x + 0.5) internally, Math.round can be buggy for large integers. - // This behavior should be governed by "round to nearest, ties to even mode" - // see http://www.ecma-international.org/ecma-262/6.0/#sec-terms-and-definitions-number-type - // These are the boundary cases where it breaks. - var smallestPositiveNumberWhereRoundBreaks = inverseEpsilon + 1; - var largestPositiveNumberWhereRoundBreaks = (2 * inverseEpsilon) - 1; - var roundDoesNotIncreaseIntegers = [ - smallestPositiveNumberWhereRoundBreaks, - largestPositiveNumberWhereRoundBreaks - ].every(function (num) { - return Math.round(num) === num; - }); - defineProperty(Math, 'round', function round(x) { - var floor = _floor(x); - var ceil = floor === -1 ? -0 : floor + 1; - return x - floor < 0.5 ? floor : ceil; - }, !roundHandlesBoundaryConditions || !roundDoesNotIncreaseIntegers); - Value.preserveToString(Math.round, origMathRound); - - var origImul = Math.imul; - if (Math.imul(0xffffffff, 5) !== -5) { - // Safari 6.1, at least, reports "0" for this value - Math.imul = MathShims.imul; - Value.preserveToString(Math.imul, origImul); - } - if (Math.imul.length !== 2) { - // Safari 8.0.4 has a length of 1 - // fixed in https://bugs.webkit.org/show_bug.cgi?id=143658 - overrideNative(Math, 'imul', function imul(x, y) { - return ES.Call(origImul, Math, arguments); - }); - } - - // Promises - // Simplest possible implementation; use a 3rd-party library if you - // want the best possible speed and/or long stack traces. - var PromiseShim = (function () { - var setTimeout = globals.setTimeout; - // some environments don't have setTimeout - no way to shim here. - if (typeof setTimeout !== 'function' && typeof setTimeout !== 'object') { return; } - - ES.IsPromise = function (promise) { - if (!ES.TypeIsObject(promise)) { - return false; - } - if (typeof promise._promise === 'undefined') { - return false; // uninitialized, or missing our hidden field. - } - return true; - }; - - // "PromiseCapability" in the spec is what most promise implementations - // call a "deferred". - var PromiseCapability = function (C) { - if (!ES.IsConstructor(C)) { - throw new TypeError('Bad promise constructor'); - } - var capability = this; - var resolver = function (resolve, reject) { - if (capability.resolve !== void 0 || capability.reject !== void 0) { - throw new TypeError('Bad Promise implementation!'); - } - capability.resolve = resolve; - capability.reject = reject; - }; - // Initialize fields to inform optimizers about the object shape. - capability.resolve = void 0; - capability.reject = void 0; - capability.promise = new C(resolver); - if (!(ES.IsCallable(capability.resolve) && ES.IsCallable(capability.reject))) { - throw new TypeError('Bad promise constructor'); - } - }; - - // find an appropriate setImmediate-alike - var makeZeroTimeout; - /*global window */ - if (typeof window !== 'undefined' && ES.IsCallable(window.postMessage)) { - makeZeroTimeout = function () { - // from http://dbaron.org/log/20100309-faster-timeouts - var timeouts = []; - var messageName = 'zero-timeout-message'; - var setZeroTimeout = function (fn) { - _push(timeouts, fn); - window.postMessage(messageName, '*'); - }; - var handleMessage = function (event) { - if (event.source === window && event.data === messageName) { - event.stopPropagation(); - if (timeouts.length === 0) { return; } - var fn = _shift(timeouts); - fn(); - } - }; - window.addEventListener('message', handleMessage, true); - return setZeroTimeout; - }; - } - var makePromiseAsap = function () { - // An efficient task-scheduler based on a pre-existing Promise - // implementation, which we can use even if we override the - // global Promise below (in order to workaround bugs) - // https://github.com/Raynos/observ-hash/issues/2#issuecomment-35857671 - var P = globals.Promise; - var pr = P && P.resolve && P.resolve(); - return pr && function (task) { - return pr.then(task); - }; - }; - /*global process */ - /* jscs:disable disallowMultiLineTernary */ - var enqueue = ES.IsCallable(globals.setImmediate) ? - globals.setImmediate : - typeof process === 'object' && process.nextTick ? process.nextTick : - makePromiseAsap() || - (ES.IsCallable(makeZeroTimeout) ? makeZeroTimeout() : - function (task) { setTimeout(task, 0); }); // fallback - /* jscs:enable disallowMultiLineTernary */ - - // Constants for Promise implementation - var PROMISE_IDENTITY = function (x) { return x; }; - var PROMISE_THROWER = function (e) { throw e; }; - var PROMISE_PENDING = 0; - var PROMISE_FULFILLED = 1; - var PROMISE_REJECTED = 2; - // We store fulfill/reject handlers and capabilities in a single array. - var PROMISE_FULFILL_OFFSET = 0; - var PROMISE_REJECT_OFFSET = 1; - var PROMISE_CAPABILITY_OFFSET = 2; - // This is used in an optimization for chaining promises via then. - var PROMISE_FAKE_CAPABILITY = {}; - - var enqueuePromiseReactionJob = function (handler, capability, argument) { - enqueue(function () { - promiseReactionJob(handler, capability, argument); - }); - }; - - var promiseReactionJob = function (handler, promiseCapability, argument) { - var handlerResult, f; - if (promiseCapability === PROMISE_FAKE_CAPABILITY) { - // Fast case, when we don't actually need to chain through to a - // (real) promiseCapability. - return handler(argument); - } - try { - handlerResult = handler(argument); - f = promiseCapability.resolve; - } catch (e) { - handlerResult = e; - f = promiseCapability.reject; - } - f(handlerResult); - }; - - var fulfillPromise = function (promise, value) { - var _promise = promise._promise; - var length = _promise.reactionLength; - if (length > 0) { - enqueuePromiseReactionJob( - _promise.fulfillReactionHandler0, - _promise.reactionCapability0, - value - ); - _promise.fulfillReactionHandler0 = void 0; - _promise.rejectReactions0 = void 0; - _promise.reactionCapability0 = void 0; - if (length > 1) { - for (var i = 1, idx = 0; i < length; i++, idx += 3) { - enqueuePromiseReactionJob( - _promise[idx + PROMISE_FULFILL_OFFSET], - _promise[idx + PROMISE_CAPABILITY_OFFSET], - value - ); - promise[idx + PROMISE_FULFILL_OFFSET] = void 0; - promise[idx + PROMISE_REJECT_OFFSET] = void 0; - promise[idx + PROMISE_CAPABILITY_OFFSET] = void 0; - } - } - } - _promise.result = value; - _promise.state = PROMISE_FULFILLED; - _promise.reactionLength = 0; - }; - - var rejectPromise = function (promise, reason) { - var _promise = promise._promise; - var length = _promise.reactionLength; - if (length > 0) { - enqueuePromiseReactionJob( - _promise.rejectReactionHandler0, - _promise.reactionCapability0, - reason - ); - _promise.fulfillReactionHandler0 = void 0; - _promise.rejectReactions0 = void 0; - _promise.reactionCapability0 = void 0; - if (length > 1) { - for (var i = 1, idx = 0; i < length; i++, idx += 3) { - enqueuePromiseReactionJob( - _promise[idx + PROMISE_REJECT_OFFSET], - _promise[idx + PROMISE_CAPABILITY_OFFSET], - reason - ); - promise[idx + PROMISE_FULFILL_OFFSET] = void 0; - promise[idx + PROMISE_REJECT_OFFSET] = void 0; - promise[idx + PROMISE_CAPABILITY_OFFSET] = void 0; - } - } - } - _promise.result = reason; - _promise.state = PROMISE_REJECTED; - _promise.reactionLength = 0; - }; - - var createResolvingFunctions = function (promise) { - var alreadyResolved = false; - var resolve = function (resolution) { - var then; - if (alreadyResolved) { return; } - alreadyResolved = true; - if (resolution === promise) { - return rejectPromise(promise, new TypeError('Self resolution')); - } - if (!ES.TypeIsObject(resolution)) { - return fulfillPromise(promise, resolution); - } - try { - then = resolution.then; - } catch (e) { - return rejectPromise(promise, e); - } - if (!ES.IsCallable(then)) { - return fulfillPromise(promise, resolution); - } - enqueue(function () { - promiseResolveThenableJob(promise, resolution, then); - }); - }; - var reject = function (reason) { - if (alreadyResolved) { return; } - alreadyResolved = true; - return rejectPromise(promise, reason); - }; - return { resolve: resolve, reject: reject }; - }; - - var optimizedThen = function (then, thenable, resolve, reject) { - // Optimization: since we discard the result, we can pass our - // own then implementation a special hint to let it know it - // doesn't have to create it. (The PROMISE_FAKE_CAPABILITY - // object is local to this implementation and unforgeable outside.) - if (then === Promise$prototype$then) { - _call(then, thenable, resolve, reject, PROMISE_FAKE_CAPABILITY); - } else { - _call(then, thenable, resolve, reject); - } - }; - var promiseResolveThenableJob = function (promise, thenable, then) { - var resolvingFunctions = createResolvingFunctions(promise); - var resolve = resolvingFunctions.resolve; - var reject = resolvingFunctions.reject; - try { - optimizedThen(then, thenable, resolve, reject); - } catch (e) { - reject(e); - } - }; - - var Promise$prototype, Promise$prototype$then; - var Promise = (function () { - var PromiseShim = function Promise(resolver) { - if (!(this instanceof PromiseShim)) { - throw new TypeError('Constructor Promise requires "new"'); - } - if (this && this._promise) { - throw new TypeError('Bad construction'); - } - // see https://bugs.ecmascript.org/show_bug.cgi?id=2482 - if (!ES.IsCallable(resolver)) { - throw new TypeError('not a valid resolver'); - } - var promise = emulateES6construct(this, PromiseShim, Promise$prototype, { - _promise: { - result: void 0, - state: PROMISE_PENDING, - // The first member of the "reactions" array is inlined here, - // since most promises only have one reaction. - // We've also exploded the 'reaction' object to inline the - // "handler" and "capability" fields, since both fulfill and - // reject reactions share the same capability. - reactionLength: 0, - fulfillReactionHandler0: void 0, - rejectReactionHandler0: void 0, - reactionCapability0: void 0 - } - }); - var resolvingFunctions = createResolvingFunctions(promise); - var reject = resolvingFunctions.reject; - try { - resolver(resolvingFunctions.resolve, reject); - } catch (e) { - reject(e); - } - return promise; - }; - return PromiseShim; - }()); - Promise$prototype = Promise.prototype; - - var _promiseAllResolver = function (index, values, capability, remaining) { - var alreadyCalled = false; - return function (x) { - if (alreadyCalled) { return; } - alreadyCalled = true; - values[index] = x; - if ((--remaining.count) === 0) { - var resolve = capability.resolve; - resolve(values); // call w/ this===undefined - } - }; - }; - - var performPromiseAll = function (iteratorRecord, C, resultCapability) { - var it = iteratorRecord.iterator; - var values = []; - var remaining = { count: 1 }; - var next, nextValue; - var index = 0; - while (true) { - try { - next = ES.IteratorStep(it); - if (next === false) { - iteratorRecord.done = true; - break; - } - nextValue = next.value; - } catch (e) { - iteratorRecord.done = true; - throw e; - } - values[index] = void 0; - var nextPromise = C.resolve(nextValue); - var resolveElement = _promiseAllResolver( - index, values, resultCapability, remaining - ); - remaining.count += 1; - optimizedThen(nextPromise.then, nextPromise, resolveElement, resultCapability.reject); - index += 1; - } - if ((--remaining.count) === 0) { - var resolve = resultCapability.resolve; - resolve(values); // call w/ this===undefined - } - return resultCapability.promise; - }; - - var performPromiseRace = function (iteratorRecord, C, resultCapability) { - var it = iteratorRecord.iterator; - var next, nextValue, nextPromise; - while (true) { - try { - next = ES.IteratorStep(it); - if (next === false) { - // NOTE: If iterable has no items, resulting promise will never - // resolve; see: - // https://github.com/domenic/promises-unwrapping/issues/75 - // https://bugs.ecmascript.org/show_bug.cgi?id=2515 - iteratorRecord.done = true; - break; - } - nextValue = next.value; - } catch (e) { - iteratorRecord.done = true; - throw e; - } - nextPromise = C.resolve(nextValue); - optimizedThen(nextPromise.then, nextPromise, resultCapability.resolve, resultCapability.reject); - } - return resultCapability.promise; - }; - - defineProperties(Promise, { - all: function all(iterable) { - var C = this; - if (!ES.TypeIsObject(C)) { - throw new TypeError('Promise is not object'); - } - var capability = new PromiseCapability(C); - var iterator, iteratorRecord; - try { - iterator = ES.GetIterator(iterable); - iteratorRecord = { iterator: iterator, done: false }; - return performPromiseAll(iteratorRecord, C, capability); - } catch (e) { - var exception = e; - if (iteratorRecord && !iteratorRecord.done) { - try { - ES.IteratorClose(iterator, true); - } catch (ee) { - exception = ee; - } - } - var reject = capability.reject; - reject(exception); - return capability.promise; - } - }, - - race: function race(iterable) { - var C = this; - if (!ES.TypeIsObject(C)) { - throw new TypeError('Promise is not object'); - } - var capability = new PromiseCapability(C); - var iterator, iteratorRecord; - try { - iterator = ES.GetIterator(iterable); - iteratorRecord = { iterator: iterator, done: false }; - return performPromiseRace(iteratorRecord, C, capability); - } catch (e) { - var exception = e; - if (iteratorRecord && !iteratorRecord.done) { - try { - ES.IteratorClose(iterator, true); - } catch (ee) { - exception = ee; - } - } - var reject = capability.reject; - reject(exception); - return capability.promise; - } - }, - - reject: function reject(reason) { - var C = this; - if (!ES.TypeIsObject(C)) { - throw new TypeError('Bad promise constructor'); - } - var capability = new PromiseCapability(C); - var rejectFunc = capability.reject; - rejectFunc(reason); // call with this===undefined - return capability.promise; - }, - - resolve: function resolve(v) { - // See https://esdiscuss.org/topic/fixing-promise-resolve for spec - var C = this; - if (!ES.TypeIsObject(C)) { - throw new TypeError('Bad promise constructor'); - } - if (ES.IsPromise(v)) { - var constructor = v.constructor; - if (constructor === C) { - return v; - } - } - var capability = new PromiseCapability(C); - var resolveFunc = capability.resolve; - resolveFunc(v); // call with this===undefined - return capability.promise; - } - }); - - defineProperties(Promise$prototype, { - 'catch': function (onRejected) { - return this.then(null, onRejected); - }, - - then: function then(onFulfilled, onRejected) { - var promise = this; - if (!ES.IsPromise(promise)) { throw new TypeError('not a promise'); } - var C = ES.SpeciesConstructor(promise, Promise); - var resultCapability; - var returnValueIsIgnored = arguments.length > 2 && arguments[2] === PROMISE_FAKE_CAPABILITY; - if (returnValueIsIgnored && C === Promise) { - resultCapability = PROMISE_FAKE_CAPABILITY; - } else { - resultCapability = new PromiseCapability(C); - } - // PerformPromiseThen(promise, onFulfilled, onRejected, resultCapability) - // Note that we've split the 'reaction' object into its two - // components, "capabilities" and "handler" - // "capabilities" is always equal to `resultCapability` - var fulfillReactionHandler = ES.IsCallable(onFulfilled) ? onFulfilled : PROMISE_IDENTITY; - var rejectReactionHandler = ES.IsCallable(onRejected) ? onRejected : PROMISE_THROWER; - var _promise = promise._promise; - var value; - if (_promise.state === PROMISE_PENDING) { - if (_promise.reactionLength === 0) { - _promise.fulfillReactionHandler0 = fulfillReactionHandler; - _promise.rejectReactionHandler0 = rejectReactionHandler; - _promise.reactionCapability0 = resultCapability; - } else { - var idx = 3 * (_promise.reactionLength - 1); - _promise[idx + PROMISE_FULFILL_OFFSET] = fulfillReactionHandler; - _promise[idx + PROMISE_REJECT_OFFSET] = rejectReactionHandler; - _promise[idx + PROMISE_CAPABILITY_OFFSET] = resultCapability; - } - _promise.reactionLength += 1; - } else if (_promise.state === PROMISE_FULFILLED) { - value = _promise.result; - enqueuePromiseReactionJob( - fulfillReactionHandler, resultCapability, value - ); - } else if (_promise.state === PROMISE_REJECTED) { - value = _promise.result; - enqueuePromiseReactionJob( - rejectReactionHandler, resultCapability, value - ); - } else { - throw new TypeError('unexpected Promise state'); - } - return resultCapability.promise; - } - }); - // This helps the optimizer by ensuring that methods which take - // capabilities aren't polymorphic. - PROMISE_FAKE_CAPABILITY = new PromiseCapability(Promise); - Promise$prototype$then = Promise$prototype.then; - - return Promise; - }()); - - // Chrome's native Promise has extra methods that it shouldn't have. Let's remove them. - if (globals.Promise) { - delete globals.Promise.accept; - delete globals.Promise.defer; - delete globals.Promise.prototype.chain; - } - - if (typeof PromiseShim === 'function') { - // export the Promise constructor. - defineProperties(globals, { Promise: PromiseShim }); - // In Chrome 33 (and thereabouts) Promise is defined, but the - // implementation is buggy in a number of ways. Let's check subclassing - // support to see if we have a buggy implementation. - var promiseSupportsSubclassing = supportsSubclassing(globals.Promise, function (S) { - return S.resolve(42).then(function () {}) instanceof S; - }); - var promiseIgnoresNonFunctionThenCallbacks = !throwsError(function () { - globals.Promise.reject(42).then(null, 5).then(null, noop); - }); - var promiseRequiresObjectContext = throwsError(function () { globals.Promise.call(3, noop); }); - // Promise.resolve() was errata'ed late in the ES6 process. - // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1170742 - // https://code.google.com/p/v8/issues/detail?id=4161 - // It serves as a proxy for a number of other bugs in early Promise - // implementations. - var promiseResolveBroken = (function (Promise) { - var p = Promise.resolve(5); - p.constructor = {}; - var p2 = Promise.resolve(p); - try { - p2.then(null, noop).then(null, noop); // avoid "uncaught rejection" warnings in console - } catch (e) { - return true; // v8 native Promises break here https://code.google.com/p/chromium/issues/detail?id=575314 - } - return p === p2; // This *should* be false! - }(globals.Promise)); - - // Chrome 46 (probably older too) does not retrieve a thenable's .then synchronously - var getsThenSynchronously = supportsDescriptors && (function () { - var count = 0; - var thenable = Object.defineProperty({}, 'then', { get: function () { count += 1; } }); - Promise.resolve(thenable); - return count === 1; - }()); - - var BadResolverPromise = function BadResolverPromise(executor) { - var p = new Promise(executor); - executor(3, function () {}); - this.then = p.then; - this.constructor = BadResolverPromise; - }; - BadResolverPromise.prototype = Promise.prototype; - BadResolverPromise.all = Promise.all; - // Chrome Canary 49 (probably older too) has some implementation bugs - var hasBadResolverPromise = valueOrFalseIfThrows(function () { - return !!BadResolverPromise.all([1, 2]); - }); - - if (!promiseSupportsSubclassing || !promiseIgnoresNonFunctionThenCallbacks || - !promiseRequiresObjectContext || promiseResolveBroken || - !getsThenSynchronously || hasBadResolverPromise) { - /* globals Promise: true */ - /* eslint-disable no-undef, no-global-assign */ - /* jshint -W020 */ - Promise = PromiseShim; - /* jshint +W020 */ - /* eslint-enable no-undef, no-global-assign */ - /* globals Promise: false */ - overrideNative(globals, 'Promise', PromiseShim); - } - if (Promise.all.length !== 1) { - var origAll = Promise.all; - overrideNative(Promise, 'all', function all(iterable) { - return ES.Call(origAll, this, arguments); - }); - } - if (Promise.race.length !== 1) { - var origRace = Promise.race; - overrideNative(Promise, 'race', function race(iterable) { - return ES.Call(origRace, this, arguments); - }); - } - if (Promise.resolve.length !== 1) { - var origResolve = Promise.resolve; - overrideNative(Promise, 'resolve', function resolve(x) { - return ES.Call(origResolve, this, arguments); - }); - } - if (Promise.reject.length !== 1) { - var origReject = Promise.reject; - overrideNative(Promise, 'reject', function reject(r) { - return ES.Call(origReject, this, arguments); - }); - } - ensureEnumerable(Promise, 'all'); - ensureEnumerable(Promise, 'race'); - ensureEnumerable(Promise, 'resolve'); - ensureEnumerable(Promise, 'reject'); - addDefaultSpecies(Promise); - } - - // Map and Set require a true ES5 environment - // Their fast path also requires that the environment preserve - // property insertion order, which is not guaranteed by the spec. - var testOrder = function (a) { - var b = keys(_reduce(a, function (o, k) { - o[k] = true; - return o; - }, {})); - return a.join(':') === b.join(':'); - }; - var preservesInsertionOrder = testOrder(['z', 'a', 'bb']); - // some engines (eg, Chrome) only preserve insertion order for string keys - var preservesNumericInsertionOrder = testOrder(['z', 1, 'a', '3', 2]); - - if (supportsDescriptors) { - - var fastkey = function fastkey(key, skipInsertionOrderCheck) { - if (!skipInsertionOrderCheck && !preservesInsertionOrder) { - return null; - } - if (isNullOrUndefined(key)) { - return '^' + ES.ToString(key); - } else if (typeof key === 'string') { - return '$' + key; - } else if (typeof key === 'number') { - // note that -0 will get coerced to "0" when used as a property key - if (!preservesNumericInsertionOrder) { - return 'n' + key; - } - return key; - } else if (typeof key === 'boolean') { - return 'b' + key; - } - return null; - }; - - var emptyObject = function emptyObject() { - // accomodate some older not-quite-ES5 browsers - return Object.create ? Object.create(null) : {}; - }; - - var addIterableToMap = function addIterableToMap(MapConstructor, map, iterable) { - if (isArray(iterable) || Type.string(iterable)) { - _forEach(iterable, function (entry) { - if (!ES.TypeIsObject(entry)) { - throw new TypeError('Iterator value ' + entry + ' is not an entry object'); - } - map.set(entry[0], entry[1]); - }); - } else if (iterable instanceof MapConstructor) { - _call(MapConstructor.prototype.forEach, iterable, function (value, key) { - map.set(key, value); - }); - } else { - var iter, adder; - if (!isNullOrUndefined(iterable)) { - adder = map.set; - if (!ES.IsCallable(adder)) { throw new TypeError('bad map'); } - iter = ES.GetIterator(iterable); - } - if (typeof iter !== 'undefined') { - while (true) { - var next = ES.IteratorStep(iter); - if (next === false) { break; } - var nextItem = next.value; - try { - if (!ES.TypeIsObject(nextItem)) { - throw new TypeError('Iterator value ' + nextItem + ' is not an entry object'); - } - _call(adder, map, nextItem[0], nextItem[1]); - } catch (e) { - ES.IteratorClose(iter, true); - throw e; - } - } - } - } - }; - var addIterableToSet = function addIterableToSet(SetConstructor, set, iterable) { - if (isArray(iterable) || Type.string(iterable)) { - _forEach(iterable, function (value) { - set.add(value); - }); - } else if (iterable instanceof SetConstructor) { - _call(SetConstructor.prototype.forEach, iterable, function (value) { - set.add(value); - }); - } else { - var iter, adder; - if (!isNullOrUndefined(iterable)) { - adder = set.add; - if (!ES.IsCallable(adder)) { throw new TypeError('bad set'); } - iter = ES.GetIterator(iterable); - } - if (typeof iter !== 'undefined') { - while (true) { - var next = ES.IteratorStep(iter); - if (next === false) { break; } - var nextValue = next.value; - try { - _call(adder, set, nextValue); - } catch (e) { - ES.IteratorClose(iter, true); - throw e; - } - } - } - } - }; - - var collectionShims = { - Map: (function () { - - var empty = {}; - - var MapEntry = function MapEntry(key, value) { - this.key = key; - this.value = value; - this.next = null; - this.prev = null; - }; - - MapEntry.prototype.isRemoved = function isRemoved() { - return this.key === empty; - }; - - var isMap = function isMap(map) { - return !!map._es6map; - }; - - var requireMapSlot = function requireMapSlot(map, method) { - if (!ES.TypeIsObject(map) || !isMap(map)) { - throw new TypeError('Method Map.prototype.' + method + ' called on incompatible receiver ' + ES.ToString(map)); - } - }; - - var MapIterator = function MapIterator(map, kind) { - requireMapSlot(map, '[[MapIterator]]'); - this.head = map._head; - this.i = this.head; - this.kind = kind; - }; - - MapIterator.prototype = { - next: function next() { - var i = this.i; - var kind = this.kind; - var head = this.head; - if (typeof this.i === 'undefined') { - return iteratorResult(); - } - while (i.isRemoved() && i !== head) { - // back up off of removed entries - i = i.prev; - } - // advance to next unreturned element. - var result; - while (i.next !== head) { - i = i.next; - if (!i.isRemoved()) { - if (kind === 'key') { - result = i.key; - } else if (kind === 'value') { - result = i.value; - } else { - result = [i.key, i.value]; - } - this.i = i; - return iteratorResult(result); - } - } - // once the iterator is done, it is done forever. - this.i = void 0; - return iteratorResult(); - } - }; - addIterator(MapIterator.prototype); - - var Map$prototype; - var MapShim = function Map() { - if (!(this instanceof Map)) { - throw new TypeError('Constructor Map requires "new"'); - } - if (this && this._es6map) { - throw new TypeError('Bad construction'); - } - var map = emulateES6construct(this, Map, Map$prototype, { - _es6map: true, - _head: null, - _map: OrigMap ? new OrigMap() : null, - _size: 0, - _storage: emptyObject() - }); - - var head = new MapEntry(null, null); - // circular doubly-linked list. - /* eslint no-multi-assign: 1 */ - head.next = head.prev = head; - map._head = head; - - // Optionally initialize map from iterable - if (arguments.length > 0) { - addIterableToMap(Map, map, arguments[0]); - } - return map; - }; - Map$prototype = MapShim.prototype; - - Value.getter(Map$prototype, 'size', function () { - if (typeof this._size === 'undefined') { - throw new TypeError('size method called on incompatible Map'); - } - return this._size; - }); - - defineProperties(Map$prototype, { - get: function get(key) { - requireMapSlot(this, 'get'); - var entry; - var fkey = fastkey(key, true); - if (fkey !== null) { - // fast O(1) path - entry = this._storage[fkey]; - if (entry) { - return entry.value; - } else { - return; - } - } - if (this._map) { - // fast object key path - entry = origMapGet.call(this._map, key); - if (entry) { - return entry.value; - } else { - return; - } - } - var head = this._head; - var i = head; - while ((i = i.next) !== head) { - if (ES.SameValueZero(i.key, key)) { - return i.value; - } - } - }, - - has: function has(key) { - requireMapSlot(this, 'has'); - var fkey = fastkey(key, true); - if (fkey !== null) { - // fast O(1) path - return typeof this._storage[fkey] !== 'undefined'; - } - if (this._map) { - // fast object key path - return origMapHas.call(this._map, key); - } - var head = this._head; - var i = head; - while ((i = i.next) !== head) { - if (ES.SameValueZero(i.key, key)) { - return true; - } - } - return false; - }, - - set: function set(key, value) { - requireMapSlot(this, 'set'); - var head = this._head; - var i = head; - var entry; - var fkey = fastkey(key, true); - if (fkey !== null) { - // fast O(1) path - if (typeof this._storage[fkey] !== 'undefined') { - this._storage[fkey].value = value; - return this; - } else { - entry = this._storage[fkey] = new MapEntry(key, value); /* eslint no-multi-assign: 1 */ - i = head.prev; - // fall through - } - } else if (this._map) { - // fast object key path - if (origMapHas.call(this._map, key)) { - origMapGet.call(this._map, key).value = value; - } else { - entry = new MapEntry(key, value); - origMapSet.call(this._map, key, entry); - i = head.prev; - // fall through - } - } - while ((i = i.next) !== head) { - if (ES.SameValueZero(i.key, key)) { - i.value = value; - return this; - } - } - entry = entry || new MapEntry(key, value); - if (ES.SameValue(-0, key)) { - entry.key = +0; // coerce -0 to +0 in entry - } - entry.next = this._head; - entry.prev = this._head.prev; - entry.prev.next = entry; - entry.next.prev = entry; - this._size += 1; - return this; - }, - - 'delete': function (key) { - requireMapSlot(this, 'delete'); - var head = this._head; - var i = head; - var fkey = fastkey(key, true); - if (fkey !== null) { - // fast O(1) path - if (typeof this._storage[fkey] === 'undefined') { - return false; - } - i = this._storage[fkey].prev; - delete this._storage[fkey]; - // fall through - } else if (this._map) { - // fast object key path - if (!origMapHas.call(this._map, key)) { - return false; - } - i = origMapGet.call(this._map, key).prev; - origMapDelete.call(this._map, key); - // fall through - } - while ((i = i.next) !== head) { - if (ES.SameValueZero(i.key, key)) { - i.key = empty; - i.value = empty; - i.prev.next = i.next; - i.next.prev = i.prev; - this._size -= 1; - return true; - } - } - return false; - }, - - clear: function clear() { - /* eslint no-multi-assign: 1 */ - requireMapSlot(this, 'clear'); - this._map = OrigMap ? new OrigMap() : null; - this._size = 0; - this._storage = emptyObject(); - var head = this._head; - var i = head; - var p = i.next; - while ((i = p) !== head) { - i.key = empty; - i.value = empty; - p = i.next; - i.next = i.prev = head; - } - head.next = head.prev = head; - }, - - keys: function keys() { - requireMapSlot(this, 'keys'); - return new MapIterator(this, 'key'); - }, - - values: function values() { - requireMapSlot(this, 'values'); - return new MapIterator(this, 'value'); - }, - - entries: function entries() { - requireMapSlot(this, 'entries'); - return new MapIterator(this, 'key+value'); - }, - - forEach: function forEach(callback) { - requireMapSlot(this, 'forEach'); - var context = arguments.length > 1 ? arguments[1] : null; - var it = this.entries(); - for (var entry = it.next(); !entry.done; entry = it.next()) { - if (context) { - _call(callback, context, entry.value[1], entry.value[0], this); - } else { - callback(entry.value[1], entry.value[0], this); - } - } - } - }); - addIterator(Map$prototype, Map$prototype.entries); - - return MapShim; - }()), - - Set: (function () { - var isSet = function isSet(set) { - return set._es6set && typeof set._storage !== 'undefined'; - }; - var requireSetSlot = function requireSetSlot(set, method) { - if (!ES.TypeIsObject(set) || !isSet(set)) { - // https://github.com/paulmillr/es6-shim/issues/176 - throw new TypeError('Set.prototype.' + method + ' called on incompatible receiver ' + ES.ToString(set)); - } - }; - - // Creating a Map is expensive. To speed up the common case of - // Sets containing only string or numeric keys, we use an object - // as backing storage and lazily create a full Map only when - // required. - var Set$prototype; - var SetShim = function Set() { - if (!(this instanceof Set)) { - throw new TypeError('Constructor Set requires "new"'); - } - if (this && this._es6set) { - throw new TypeError('Bad construction'); - } - var set = emulateES6construct(this, Set, Set$prototype, { - _es6set: true, - '[[SetData]]': null, - _storage: emptyObject() - }); - if (!set._es6set) { - throw new TypeError('bad set'); - } - - // Optionally initialize Set from iterable - if (arguments.length > 0) { - addIterableToSet(Set, set, arguments[0]); - } - return set; - }; - Set$prototype = SetShim.prototype; - - var decodeKey = function (key) { - var k = key; - if (k === '^null') { - return null; - } else if (k === '^undefined') { - return void 0; - } else { - var first = k.charAt(0); - if (first === '$') { - return _strSlice(k, 1); - } else if (first === 'n') { - return +_strSlice(k, 1); - } else if (first === 'b') { - return k === 'btrue'; - } - } - return +k; - }; - // Switch from the object backing storage to a full Map. - var ensureMap = function ensureMap(set) { - if (!set['[[SetData]]']) { - var m = new collectionShims.Map(); - set['[[SetData]]'] = m; - _forEach(keys(set._storage), function (key) { - var k = decodeKey(key); - m.set(k, k); - }); - set['[[SetData]]'] = m; - } - set._storage = null; // free old backing storage - }; - - Value.getter(SetShim.prototype, 'size', function () { - requireSetSlot(this, 'size'); - if (this._storage) { - return keys(this._storage).length; - } - ensureMap(this); - return this['[[SetData]]'].size; - }); - - defineProperties(SetShim.prototype, { - has: function has(key) { - requireSetSlot(this, 'has'); - var fkey; - if (this._storage && (fkey = fastkey(key)) !== null) { - return !!this._storage[fkey]; - } - ensureMap(this); - return this['[[SetData]]'].has(key); - }, - - add: function add(key) { - requireSetSlot(this, 'add'); - var fkey; - if (this._storage && (fkey = fastkey(key)) !== null) { - this._storage[fkey] = true; - return this; - } - ensureMap(this); - this['[[SetData]]'].set(key, key); - return this; - }, - - 'delete': function (key) { - requireSetSlot(this, 'delete'); - var fkey; - if (this._storage && (fkey = fastkey(key)) !== null) { - var hasFKey = _hasOwnProperty(this._storage, fkey); - return (delete this._storage[fkey]) && hasFKey; - } - ensureMap(this); - return this['[[SetData]]']['delete'](key); - }, - - clear: function clear() { - requireSetSlot(this, 'clear'); - if (this._storage) { - this._storage = emptyObject(); - } - if (this['[[SetData]]']) { - this['[[SetData]]'].clear(); - } - }, - - values: function values() { - requireSetSlot(this, 'values'); - ensureMap(this); - return this['[[SetData]]'].values(); - }, - - entries: function entries() { - requireSetSlot(this, 'entries'); - ensureMap(this); - return this['[[SetData]]'].entries(); - }, - - forEach: function forEach(callback) { - requireSetSlot(this, 'forEach'); - var context = arguments.length > 1 ? arguments[1] : null; - var entireSet = this; - ensureMap(entireSet); - this['[[SetData]]'].forEach(function (value, key) { - if (context) { - _call(callback, context, key, key, entireSet); - } else { - callback(key, key, entireSet); - } - }); - } - }); - defineProperty(SetShim.prototype, 'keys', SetShim.prototype.values, true); - addIterator(SetShim.prototype, SetShim.prototype.values); - - return SetShim; - }()) - }; - - if (globals.Map || globals.Set) { - // Safari 8, for example, doesn't accept an iterable. - var mapAcceptsArguments = valueOrFalseIfThrows(function () { return new Map([[1, 2]]).get(1) === 2; }); - if (!mapAcceptsArguments) { - globals.Map = function Map() { - if (!(this instanceof Map)) { - throw new TypeError('Constructor Map requires "new"'); - } - var m = new OrigMap(); - if (arguments.length > 0) { - addIterableToMap(Map, m, arguments[0]); - } - delete m.constructor; - Object.setPrototypeOf(m, globals.Map.prototype); - return m; - }; - globals.Map.prototype = create(OrigMap.prototype); - defineProperty(globals.Map.prototype, 'constructor', globals.Map, true); - Value.preserveToString(globals.Map, OrigMap); - } - var testMap = new Map(); - var mapUsesSameValueZero = (function () { - // Chrome 38-42, node 0.11/0.12, iojs 1/2 also have a bug when the Map has a size > 4 - var m = new Map([[1, 0], [2, 0], [3, 0], [4, 0]]); - m.set(-0, m); - return m.get(0) === m && m.get(-0) === m && m.has(0) && m.has(-0); - }()); - var mapSupportsChaining = testMap.set(1, 2) === testMap; - if (!mapUsesSameValueZero || !mapSupportsChaining) { - overrideNative(Map.prototype, 'set', function set(k, v) { - _call(origMapSet, this, k === 0 ? 0 : k, v); - return this; - }); - } - if (!mapUsesSameValueZero) { - defineProperties(Map.prototype, { - get: function get(k) { - return _call(origMapGet, this, k === 0 ? 0 : k); - }, - has: function has(k) { - return _call(origMapHas, this, k === 0 ? 0 : k); - } - }, true); - Value.preserveToString(Map.prototype.get, origMapGet); - Value.preserveToString(Map.prototype.has, origMapHas); - } - var testSet = new Set(); - var setUsesSameValueZero = (function (s) { - s['delete'](0); - s.add(-0); - return !s.has(0); - }(testSet)); - var setSupportsChaining = testSet.add(1) === testSet; - if (!setUsesSameValueZero || !setSupportsChaining) { - var origSetAdd = Set.prototype.add; - Set.prototype.add = function add(v) { - _call(origSetAdd, this, v === 0 ? 0 : v); - return this; - }; - Value.preserveToString(Set.prototype.add, origSetAdd); - } - if (!setUsesSameValueZero) { - var origSetHas = Set.prototype.has; - Set.prototype.has = function has(v) { - return _call(origSetHas, this, v === 0 ? 0 : v); - }; - Value.preserveToString(Set.prototype.has, origSetHas); - var origSetDel = Set.prototype['delete']; - Set.prototype['delete'] = function SetDelete(v) { - return _call(origSetDel, this, v === 0 ? 0 : v); - }; - Value.preserveToString(Set.prototype['delete'], origSetDel); - } - var mapSupportsSubclassing = supportsSubclassing(globals.Map, function (M) { - var m = new M([]); - // Firefox 32 is ok with the instantiating the subclass but will - // throw when the map is used. - m.set(42, 42); - return m instanceof M; - }); - // without Object.setPrototypeOf, subclassing is not possible - var mapFailsToSupportSubclassing = Object.setPrototypeOf && !mapSupportsSubclassing; - var mapRequiresNew = (function () { - try { - return !(globals.Map() instanceof globals.Map); - } catch (e) { - return e instanceof TypeError; - } - }()); - if (globals.Map.length !== 0 || mapFailsToSupportSubclassing || !mapRequiresNew) { - globals.Map = function Map() { - if (!(this instanceof Map)) { - throw new TypeError('Constructor Map requires "new"'); - } - var m = new OrigMap(); - if (arguments.length > 0) { - addIterableToMap(Map, m, arguments[0]); - } - delete m.constructor; - Object.setPrototypeOf(m, Map.prototype); - return m; - }; - globals.Map.prototype = OrigMap.prototype; - defineProperty(globals.Map.prototype, 'constructor', globals.Map, true); - Value.preserveToString(globals.Map, OrigMap); - } - var setSupportsSubclassing = supportsSubclassing(globals.Set, function (S) { - var s = new S([]); - s.add(42, 42); - return s instanceof S; - }); - // without Object.setPrototypeOf, subclassing is not possible - var setFailsToSupportSubclassing = Object.setPrototypeOf && !setSupportsSubclassing; - var setRequiresNew = (function () { - try { - return !(globals.Set() instanceof globals.Set); - } catch (e) { - return e instanceof TypeError; - } - }()); - if (globals.Set.length !== 0 || setFailsToSupportSubclassing || !setRequiresNew) { - var OrigSet = globals.Set; - globals.Set = function Set() { - if (!(this instanceof Set)) { - throw new TypeError('Constructor Set requires "new"'); - } - var s = new OrigSet(); - if (arguments.length > 0) { - addIterableToSet(Set, s, arguments[0]); - } - delete s.constructor; - Object.setPrototypeOf(s, Set.prototype); - return s; - }; - globals.Set.prototype = OrigSet.prototype; - defineProperty(globals.Set.prototype, 'constructor', globals.Set, true); - Value.preserveToString(globals.Set, OrigSet); - } - var newMap = new globals.Map(); - var mapIterationThrowsStopIterator = !valueOrFalseIfThrows(function () { - return newMap.keys().next().done; - }); - /* - - In Firefox < 23, Map#size is a function. - - In all current Firefox, Set#entries/keys/values & Map#clear do not exist - - https://bugzilla.mozilla.org/show_bug.cgi?id=869996 - - In Firefox 24, Map and Set do not implement forEach - - In Firefox 25 at least, Map and Set are callable without "new" - */ - if ( - typeof globals.Map.prototype.clear !== 'function' || - new globals.Set().size !== 0 || - newMap.size !== 0 || - typeof globals.Map.prototype.keys !== 'function' || - typeof globals.Set.prototype.keys !== 'function' || - typeof globals.Map.prototype.forEach !== 'function' || - typeof globals.Set.prototype.forEach !== 'function' || - isCallableWithoutNew(globals.Map) || - isCallableWithoutNew(globals.Set) || - typeof newMap.keys().next !== 'function' || // Safari 8 - mapIterationThrowsStopIterator || // Firefox 25 - !mapSupportsSubclassing - ) { - defineProperties(globals, { - Map: collectionShims.Map, - Set: collectionShims.Set - }, true); - } - - if (globals.Set.prototype.keys !== globals.Set.prototype.values) { - // Fixed in WebKit with https://bugs.webkit.org/show_bug.cgi?id=144190 - defineProperty(globals.Set.prototype, 'keys', globals.Set.prototype.values, true); - } - - // Shim incomplete iterator implementations. - addIterator(Object.getPrototypeOf((new globals.Map()).keys())); - addIterator(Object.getPrototypeOf((new globals.Set()).keys())); - - if (functionsHaveNames && globals.Set.prototype.has.name !== 'has') { - // Microsoft Edge v0.11.10074.0 is missing a name on Set#has - var anonymousSetHas = globals.Set.prototype.has; - overrideNative(globals.Set.prototype, 'has', function has(key) { - return _call(anonymousSetHas, this, key); - }); - } - } - defineProperties(globals, collectionShims); - addDefaultSpecies(globals.Map); - addDefaultSpecies(globals.Set); - } - - var throwUnlessTargetIsObject = function throwUnlessTargetIsObject(target) { - if (!ES.TypeIsObject(target)) { - throw new TypeError('target must be an object'); - } - }; - - // Some Reflect methods are basically the same as - // those on the Object global, except that a TypeError is thrown if - // target isn't an object. As well as returning a boolean indicating - // the success of the operation. - var ReflectShims = { - // Apply method in a functional form. - apply: function apply() { - return ES.Call(ES.Call, null, arguments); - }, - - // New operator in a functional form. - construct: function construct(constructor, args) { - if (!ES.IsConstructor(constructor)) { - throw new TypeError('First argument must be a constructor.'); - } - var newTarget = arguments.length > 2 ? arguments[2] : constructor; - if (!ES.IsConstructor(newTarget)) { - throw new TypeError('new.target must be a constructor.'); - } - return ES.Construct(constructor, args, newTarget, 'internal'); - }, - - // When deleting a non-existent or configurable property, - // true is returned. - // When attempting to delete a non-configurable property, - // it will return false. - deleteProperty: function deleteProperty(target, key) { - throwUnlessTargetIsObject(target); - if (supportsDescriptors) { - var desc = Object.getOwnPropertyDescriptor(target, key); - - if (desc && !desc.configurable) { - return false; - } - } - - // Will return true. - return delete target[key]; - }, - - has: function has(target, key) { - throwUnlessTargetIsObject(target); - return key in target; - } - }; - - if (Object.getOwnPropertyNames) { - Object.assign(ReflectShims, { - // Basically the result of calling the internal [[OwnPropertyKeys]]. - // Concatenating propertyNames and propertySymbols should do the trick. - // This should continue to work together with a Symbol shim - // which overrides Object.getOwnPropertyNames and implements - // Object.getOwnPropertySymbols. - ownKeys: function ownKeys(target) { - throwUnlessTargetIsObject(target); - var keys = Object.getOwnPropertyNames(target); - - if (ES.IsCallable(Object.getOwnPropertySymbols)) { - _pushApply(keys, Object.getOwnPropertySymbols(target)); - } - - return keys; - } - }); - } - - var callAndCatchException = function ConvertExceptionToBoolean(func) { - return !throwsError(func); - }; - - if (Object.preventExtensions) { - Object.assign(ReflectShims, { - isExtensible: function isExtensible(target) { - throwUnlessTargetIsObject(target); - return Object.isExtensible(target); - }, - preventExtensions: function preventExtensions(target) { - throwUnlessTargetIsObject(target); - return callAndCatchException(function () { - Object.preventExtensions(target); - }); - } - }); - } - - if (supportsDescriptors) { - var internalGet = function get(target, key, receiver) { - var desc = Object.getOwnPropertyDescriptor(target, key); - - if (!desc) { - var parent = Object.getPrototypeOf(target); - - if (parent === null) { - return void 0; - } - - return internalGet(parent, key, receiver); - } - - if ('value' in desc) { - return desc.value; - } - - if (desc.get) { - return ES.Call(desc.get, receiver); - } - - return void 0; - }; - - var internalSet = function set(target, key, value, receiver) { - var desc = Object.getOwnPropertyDescriptor(target, key); - - if (!desc) { - var parent = Object.getPrototypeOf(target); - - if (parent !== null) { - return internalSet(parent, key, value, receiver); - } - - desc = { - value: void 0, - writable: true, - enumerable: true, - configurable: true - }; - } - - if ('value' in desc) { - if (!desc.writable) { - return false; - } - - if (!ES.TypeIsObject(receiver)) { - return false; - } - - var existingDesc = Object.getOwnPropertyDescriptor(receiver, key); - - if (existingDesc) { - return Reflect.defineProperty(receiver, key, { - value: value - }); - } else { - return Reflect.defineProperty(receiver, key, { - value: value, - writable: true, - enumerable: true, - configurable: true - }); - } - } - - if (desc.set) { - _call(desc.set, receiver, value); - return true; - } - - return false; - }; - - Object.assign(ReflectShims, { - defineProperty: function defineProperty(target, propertyKey, attributes) { - throwUnlessTargetIsObject(target); - return callAndCatchException(function () { - Object.defineProperty(target, propertyKey, attributes); - }); - }, - - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { - throwUnlessTargetIsObject(target); - return Object.getOwnPropertyDescriptor(target, propertyKey); - }, - - // Syntax in a functional form. - get: function get(target, key) { - throwUnlessTargetIsObject(target); - var receiver = arguments.length > 2 ? arguments[2] : target; - - return internalGet(target, key, receiver); - }, - - set: function set(target, key, value) { - throwUnlessTargetIsObject(target); - var receiver = arguments.length > 3 ? arguments[3] : target; - - return internalSet(target, key, value, receiver); - } - }); - } - - if (Object.getPrototypeOf) { - var objectDotGetPrototypeOf = Object.getPrototypeOf; - ReflectShims.getPrototypeOf = function getPrototypeOf(target) { - throwUnlessTargetIsObject(target); - return objectDotGetPrototypeOf(target); - }; - } - - if (Object.setPrototypeOf && ReflectShims.getPrototypeOf) { - var willCreateCircularPrototype = function (object, lastProto) { - var proto = lastProto; - while (proto) { - if (object === proto) { - return true; - } - proto = ReflectShims.getPrototypeOf(proto); - } - return false; - }; - - Object.assign(ReflectShims, { - // Sets the prototype of the given object. - // Returns true on success, otherwise false. - setPrototypeOf: function setPrototypeOf(object, proto) { - throwUnlessTargetIsObject(object); - if (proto !== null && !ES.TypeIsObject(proto)) { - throw new TypeError('proto must be an object or null'); - } - - // If they already are the same, we're done. - if (proto === Reflect.getPrototypeOf(object)) { - return true; - } - - // Cannot alter prototype if object not extensible. - if (Reflect.isExtensible && !Reflect.isExtensible(object)) { - return false; - } - - // Ensure that we do not create a circular prototype chain. - if (willCreateCircularPrototype(object, proto)) { - return false; - } - - Object.setPrototypeOf(object, proto); - - return true; - } - }); - } - var defineOrOverrideReflectProperty = function (key, shim) { - if (!ES.IsCallable(globals.Reflect[key])) { - defineProperty(globals.Reflect, key, shim); - } else { - var acceptsPrimitives = valueOrFalseIfThrows(function () { - globals.Reflect[key](1); - globals.Reflect[key](NaN); - globals.Reflect[key](true); - return true; - }); - if (acceptsPrimitives) { - overrideNative(globals.Reflect, key, shim); - } - } - }; - Object.keys(ReflectShims).forEach(function (key) { - defineOrOverrideReflectProperty(key, ReflectShims[key]); - }); - var originalReflectGetProto = globals.Reflect.getPrototypeOf; - if (functionsHaveNames && originalReflectGetProto && originalReflectGetProto.name !== 'getPrototypeOf') { - overrideNative(globals.Reflect, 'getPrototypeOf', function getPrototypeOf(target) { - return _call(originalReflectGetProto, globals.Reflect, target); - }); - } - if (globals.Reflect.setPrototypeOf) { - if (valueOrFalseIfThrows(function () { - globals.Reflect.setPrototypeOf(1, {}); - return true; - })) { - overrideNative(globals.Reflect, 'setPrototypeOf', ReflectShims.setPrototypeOf); - } - } - if (globals.Reflect.defineProperty) { - if (!valueOrFalseIfThrows(function () { - var basic = !globals.Reflect.defineProperty(1, 'test', { value: 1 }); - // "extensible" fails on Edge 0.12 - var extensible = typeof Object.preventExtensions !== 'function' || !globals.Reflect.defineProperty(Object.preventExtensions({}), 'test', {}); - return basic && extensible; - })) { - overrideNative(globals.Reflect, 'defineProperty', ReflectShims.defineProperty); - } - } - if (globals.Reflect.construct) { - if (!valueOrFalseIfThrows(function () { - var F = function F() {}; - return globals.Reflect.construct(function () {}, [], F) instanceof F; - })) { - overrideNative(globals.Reflect, 'construct', ReflectShims.construct); - } - } - - if (String(new Date(NaN)) !== 'Invalid Date') { - var dateToString = Date.prototype.toString; - var shimmedDateToString = function toString() { - var valueOf = +this; - if (valueOf !== valueOf) { - return 'Invalid Date'; - } - return ES.Call(dateToString, this); - }; - overrideNative(Date.prototype, 'toString', shimmedDateToString); - } - - // Annex B HTML methods - // http://www.ecma-international.org/ecma-262/6.0/#sec-additional-properties-of-the-string.prototype-object - var stringHTMLshims = { - anchor: function anchor(name) { return ES.CreateHTML(this, 'a', 'name', name); }, - big: function big() { return ES.CreateHTML(this, 'big', '', ''); }, - blink: function blink() { return ES.CreateHTML(this, 'blink', '', ''); }, - bold: function bold() { return ES.CreateHTML(this, 'b', '', ''); }, - fixed: function fixed() { return ES.CreateHTML(this, 'tt', '', ''); }, - fontcolor: function fontcolor(color) { return ES.CreateHTML(this, 'font', 'color', color); }, - fontsize: function fontsize(size) { return ES.CreateHTML(this, 'font', 'size', size); }, - italics: function italics() { return ES.CreateHTML(this, 'i', '', ''); }, - link: function link(url) { return ES.CreateHTML(this, 'a', 'href', url); }, - small: function small() { return ES.CreateHTML(this, 'small', '', ''); }, - strike: function strike() { return ES.CreateHTML(this, 'strike', '', ''); }, - sub: function sub() { return ES.CreateHTML(this, 'sub', '', ''); }, - sup: function sub() { return ES.CreateHTML(this, 'sup', '', ''); } - }; - _forEach(Object.keys(stringHTMLshims), function (key) { - var method = String.prototype[key]; - var shouldOverwrite = false; - if (ES.IsCallable(method)) { - var output = _call(method, '', ' " '); - var quotesCount = _concat([], output.match(/"/g)).length; - shouldOverwrite = output !== output.toLowerCase() || quotesCount > 2; - } else { - shouldOverwrite = true; - } - if (shouldOverwrite) { - overrideNative(String.prototype, key, stringHTMLshims[key]); - } - }); - - var JSONstringifiesSymbols = (function () { - // Microsoft Edge v0.12 stringifies Symbols incorrectly - if (!hasSymbols) { return false; } // Symbols are not supported - var stringify = typeof JSON === 'object' && typeof JSON.stringify === 'function' ? JSON.stringify : null; - if (!stringify) { return false; } // JSON.stringify is not supported - if (typeof stringify(Symbol()) !== 'undefined') { return true; } // Symbols should become `undefined` - if (stringify([Symbol()]) !== '[null]') { return true; } // Symbols in arrays should become `null` - var obj = { a: Symbol() }; - obj[Symbol()] = true; - if (stringify(obj) !== '{}') { return true; } // Symbol-valued keys *and* Symbol-valued properties should be omitted - return false; - }()); - var JSONstringifyAcceptsObjectSymbol = valueOrFalseIfThrows(function () { - // Chrome 45 throws on stringifying object symbols - if (!hasSymbols) { return true; } // Symbols are not supported - return JSON.stringify(Object(Symbol())) === '{}' && JSON.stringify([Object(Symbol())]) === '[{}]'; - }); - if (JSONstringifiesSymbols || !JSONstringifyAcceptsObjectSymbol) { - var origStringify = JSON.stringify; - overrideNative(JSON, 'stringify', function stringify(value) { - if (typeof value === 'symbol') { return; } - var replacer; - if (arguments.length > 1) { - replacer = arguments[1]; - } - var args = [value]; - if (!isArray(replacer)) { - var replaceFn = ES.IsCallable(replacer) ? replacer : null; - var wrappedReplacer = function (key, val) { - var parsedValue = replaceFn ? _call(replaceFn, this, key, val) : val; - if (typeof parsedValue !== 'symbol') { - if (Type.symbol(parsedValue)) { - return assignTo({})(parsedValue); - } else { - return parsedValue; - } - } - }; - args.push(wrappedReplacer); - } else { - // create wrapped replacer that handles an array replacer? - args.push(replacer); - } - if (arguments.length > 2) { - args.push(arguments[2]); - } - return origStringify.apply(this, args); - }); - } - - return globals; -})); - -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("./node_modules/webpack/buildin/global.js"), __webpack_require__("./node_modules/process/browser.js"))) - -/***/ }), - -/***/ "./node_modules/foreach/index.js": -/***/ (function(module, exports) { - - -var hasOwn = Object.prototype.hasOwnProperty; -var toString = Object.prototype.toString; - -module.exports = function forEach (obj, fn, ctx) { - if (toString.call(fn) !== '[object Function]') { - throw new TypeError('iterator must be a function'); - } - var l = obj.length; - if (l === +l) { - for (var i = 0; i < l; i++) { - fn.call(ctx, obj[i], i, obj); - } - } else { - for (var k in obj) { - if (hasOwn.call(obj, k)) { - fn.call(ctx, obj[k], k, obj); - } - } - } -}; - - - -/***/ }), - -/***/ "./node_modules/function-bind/implementation.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -/* eslint no-invalid-this: 1 */ - -var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; -var slice = Array.prototype.slice; -var toStr = Object.prototype.toString; -var funcType = '[object Function]'; - -module.exports = function bind(that) { - var target = this; - if (typeof target !== 'function' || toStr.call(target) !== funcType) { - throw new TypeError(ERROR_MESSAGE + target); - } - var args = slice.call(arguments, 1); - - var bound; - var binder = function () { - if (this instanceof bound) { - var result = target.apply( - this, - args.concat(slice.call(arguments)) - ); - if (Object(result) === result) { - return result; - } - return this; - } else { - return target.apply( - that, - args.concat(slice.call(arguments)) - ); - } - }; - - var boundLength = Math.max(0, target.length - args.length); - var boundArgs = []; - for (var i = 0; i < boundLength; i++) { - boundArgs.push('$' + i); - } - - bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); - - if (target.prototype) { - var Empty = function Empty() {}; - Empty.prototype = target.prototype; - bound.prototype = new Empty(); - Empty.prototype = null; - } - - return bound; -}; - - -/***/ }), - -/***/ "./node_modules/function-bind/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var implementation = __webpack_require__("./node_modules/function-bind/implementation.js"); - -module.exports = Function.prototype.bind || implementation; - - -/***/ }), - -/***/ "./node_modules/has/src/index.js": -/***/ (function(module, exports, __webpack_require__) { - -var bind = __webpack_require__("./node_modules/function-bind/index.js"); - -module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); - - -/***/ }), - -/***/ "./node_modules/is-callable/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var fnToStr = Function.prototype.toString; - -var constructorRegex = /^\s*class /; -var isES6ClassFn = function isES6ClassFn(value) { - try { - var fnStr = fnToStr.call(value); - var singleStripped = fnStr.replace(/\/\/.*\n/g, ''); - var multiStripped = singleStripped.replace(/\/\*[.\s\S]*\*\//g, ''); - var spaceStripped = multiStripped.replace(/\n/mg, ' ').replace(/ {2}/g, ' '); - return constructorRegex.test(spaceStripped); - } catch (e) { - return false; // not a function - } -}; - -var tryFunctionObject = function tryFunctionObject(value) { - try { - if (isES6ClassFn(value)) { return false; } - fnToStr.call(value); - return true; - } catch (e) { - return false; - } -}; -var toStr = Object.prototype.toString; -var fnClass = '[object Function]'; -var genClass = '[object GeneratorFunction]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; - -module.exports = function isCallable(value) { - if (!value) { return false; } - if (typeof value !== 'function' && typeof value !== 'object') { return false; } - if (hasToStringTag) { return tryFunctionObject(value); } - if (isES6ClassFn(value)) { return false; } - var strClass = toStr.call(value); - return strClass === fnClass || strClass === genClass; -}; - - -/***/ }), - -/***/ "./node_modules/is-date-object/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var getDay = Date.prototype.getDay; -var tryDateObject = function tryDateObject(value) { - try { - getDay.call(value); - return true; - } catch (e) { - return false; - } -}; - -var toStr = Object.prototype.toString; -var dateClass = '[object Date]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; - -module.exports = function isDateObject(value) { - if (typeof value !== 'object' || value === null) { return false; } - return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass; -}; - - -/***/ }), - -/***/ "./node_modules/is-regex/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var has = __webpack_require__("./node_modules/has/src/index.js"); -var regexExec = RegExp.prototype.exec; -var gOPD = Object.getOwnPropertyDescriptor; - -var tryRegexExecCall = function tryRegexExec(value) { - try { - var lastIndex = value.lastIndex; - value.lastIndex = 0; - - regexExec.call(value); - return true; - } catch (e) { - return false; - } finally { - value.lastIndex = lastIndex; - } -}; -var toStr = Object.prototype.toString; -var regexClass = '[object RegExp]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; - -module.exports = function isRegex(value) { - if (!value || typeof value !== 'object') { - return false; - } - if (!hasToStringTag) { - return toStr.call(value) === regexClass; - } - - var descriptor = gOPD(value, 'lastIndex'); - var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); - if (!hasLastIndexDataProperty) { - return false; - } - - return tryRegexExecCall(value); -}; - - -/***/ }), - -/***/ "./node_modules/is-symbol/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var toStr = Object.prototype.toString; -var hasSymbols = typeof Symbol === 'function' && typeof Symbol() === 'symbol'; - -if (hasSymbols) { - var symToStr = Symbol.prototype.toString; - var symStringRegex = /^Symbol\(.*\)$/; - var isSymbolObject = function isSymbolObject(value) { - if (typeof value.valueOf() !== 'symbol') { return false; } - return symStringRegex.test(symToStr.call(value)); - }; - module.exports = function isSymbol(value) { - if (typeof value === 'symbol') { return true; } - if (toStr.call(value) !== '[object Symbol]') { return false; } - try { - return isSymbolObject(value); - } catch (e) { - return false; - } - }; -} else { - module.exports = function isSymbol(value) { - // this environment does not support Symbols. - return false; - }; -} - - -/***/ }), - -/***/ "./node_modules/object-keys/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -// modified from https://github.com/es-shims/es5-shim -var has = Object.prototype.hasOwnProperty; -var toStr = Object.prototype.toString; -var slice = Array.prototype.slice; -var isArgs = __webpack_require__("./node_modules/object-keys/isArguments.js"); -var isEnumerable = Object.prototype.propertyIsEnumerable; -var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); -var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); -var dontEnums = [ - 'toString', - 'toLocaleString', - 'valueOf', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'constructor' -]; -var equalsConstructorPrototype = function (o) { - var ctor = o.constructor; - return ctor && ctor.prototype === o; -}; -var excludedKeys = { - $console: true, - $external: true, - $frame: true, - $frameElement: true, - $frames: true, - $innerHeight: true, - $innerWidth: true, - $outerHeight: true, - $outerWidth: true, - $pageXOffset: true, - $pageYOffset: true, - $parent: true, - $scrollLeft: true, - $scrollTop: true, - $scrollX: true, - $scrollY: true, - $self: true, - $webkitIndexedDB: true, - $webkitStorageInfo: true, - $window: true -}; -var hasAutomationEqualityBug = (function () { - /* global window */ - if (typeof window === 'undefined') { return false; } - for (var k in window) { - try { - if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') { - try { - equalsConstructorPrototype(window[k]); - } catch (e) { - return true; - } - } - } catch (e) { - return true; - } - } - return false; -}()); -var equalsConstructorPrototypeIfNotBuggy = function (o) { - /* global window */ - if (typeof window === 'undefined' || !hasAutomationEqualityBug) { - return equalsConstructorPrototype(o); - } - try { - return equalsConstructorPrototype(o); - } catch (e) { - return false; - } -}; - -var keysShim = function keys(object) { - var isObject = object !== null && typeof object === 'object'; - var isFunction = toStr.call(object) === '[object Function]'; - var isArguments = isArgs(object); - var isString = isObject && toStr.call(object) === '[object String]'; - var theKeys = []; - - if (!isObject && !isFunction && !isArguments) { - throw new TypeError('Object.keys called on a non-object'); - } - - var skipProto = hasProtoEnumBug && isFunction; - if (isString && object.length > 0 && !has.call(object, 0)) { - for (var i = 0; i < object.length; ++i) { - theKeys.push(String(i)); - } - } - - if (isArguments && object.length > 0) { - for (var j = 0; j < object.length; ++j) { - theKeys.push(String(j)); - } - } else { - for (var name in object) { - if (!(skipProto && name === 'prototype') && has.call(object, name)) { - theKeys.push(String(name)); - } - } - } - - if (hasDontEnumBug) { - var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); - - for (var k = 0; k < dontEnums.length; ++k) { - if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) { - theKeys.push(dontEnums[k]); - } - } - } - return theKeys; -}; - -keysShim.shim = function shimObjectKeys() { - if (Object.keys) { - var keysWorksWithArguments = (function () { - // Safari 5.0 bug - return (Object.keys(arguments) || '').length === 2; - }(1, 2)); - if (!keysWorksWithArguments) { - var originalKeys = Object.keys; - Object.keys = function keys(object) { - if (isArgs(object)) { - return originalKeys(slice.call(object)); - } else { - return originalKeys(object); - } - }; - } - } else { - Object.keys = keysShim; - } - return Object.keys || keysShim; -}; - -module.exports = keysShim; - - -/***/ }), - -/***/ "./node_modules/object-keys/isArguments.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var toStr = Object.prototype.toString; - -module.exports = function isArguments(value) { - var str = toStr.call(value); - var isArgs = str === '[object Arguments]'; - if (!isArgs) { - isArgs = str !== '[object Array]' && - value !== null && - typeof value === 'object' && - typeof value.length === 'number' && - value.length >= 0 && - toStr.call(value.callee) === '[object Function]'; - } - return isArgs; -}; - - -/***/ }), - -/***/ "./node_modules/promise.prototype.finally/implementation.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var requirePromise = __webpack_require__("./node_modules/promise.prototype.finally/requirePromise.js"); - -requirePromise(); - -var ES = __webpack_require__("./node_modules/es-abstract/es7.js"); -var bind = __webpack_require__("./node_modules/function-bind/index.js"); - -var getPromise = function getPromise(C, handler) { - return new C(function (resolve) { - resolve(handler()); - }); -}; - -var OriginalPromise = Promise; - -var then = bind.call(Function.call, Promise.prototype.then); - -var promiseFinally = function finally_(onFinally) { - /* eslint no-invalid-this: 0 */ - - var handler = typeof onFinally === 'function' ? onFinally : function () {}; - var C; - var newPromise = then( - this, // throw if IsPromise(this) is false - function (x) { - return then(getPromise(C, handler), function () { - return x; - }); - }, - function (e) { - return then(getPromise(C, handler), function () { - throw e; - }); - } - ); - C = ES.SpeciesConstructor(this, OriginalPromise); // may throw - return newPromise; -}; -if (Object.getOwnPropertyDescriptor) { - var descriptor = Object.getOwnPropertyDescriptor(promiseFinally, 'name'); - if (descriptor && descriptor.configurable) { - Object.defineProperty(promiseFinally, 'name', { configurable: true, value: 'finally' }); - } -} - -module.exports = promiseFinally; - - -/***/ }), - -/***/ "./node_modules/promise.prototype.finally/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var bind = __webpack_require__("./node_modules/function-bind/index.js"); -var define = __webpack_require__("./node_modules/define-properties/index.js"); - -var implementation = __webpack_require__("./node_modules/promise.prototype.finally/implementation.js"); -var getPolyfill = __webpack_require__("./node_modules/promise.prototype.finally/polyfill.js"); -var shim = __webpack_require__("./node_modules/promise.prototype.finally/shim.js"); - -var bound = bind.call(Function.call, getPolyfill()); - -define(bound, { - getPolyfill: getPolyfill, - implementation: implementation, - shim: shim -}); - -module.exports = bound; - - -/***/ }), - -/***/ "./node_modules/promise.prototype.finally/polyfill.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var requirePromise = __webpack_require__("./node_modules/promise.prototype.finally/requirePromise.js"); - -var implementation = __webpack_require__("./node_modules/promise.prototype.finally/implementation.js"); - -module.exports = function getPolyfill() { - requirePromise(); - return typeof Promise.prototype['finally'] === 'function' ? Promise.prototype['finally'] : implementation; -}; - - -/***/ }), - -/***/ "./node_modules/promise.prototype.finally/requirePromise.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = function requirePromise() { - if (typeof Promise !== 'function') { - throw new TypeError('`Promise.prototype.finally` requires a global `Promise` be available.'); - } -}; - - -/***/ }), - -/***/ "./node_modules/promise.prototype.finally/shim.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var requirePromise = __webpack_require__("./node_modules/promise.prototype.finally/requirePromise.js"); - -var getPolyfill = __webpack_require__("./node_modules/promise.prototype.finally/polyfill.js"); -var define = __webpack_require__("./node_modules/define-properties/index.js"); - -module.exports = function shimPromiseFinally() { - requirePromise(); - - var polyfill = getPolyfill(); - define(Promise.prototype, { 'finally': polyfill }, { - 'finally': function testFinally() { - return Promise.prototype['finally'] !== polyfill; - } - }); - return polyfill; -}; - - -/***/ }), - -/***/ "./node_modules/regenerator-runtime/runtime.js": -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(global) {/** - * Copyright (c) 2014, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * https://raw.github.com/facebook/regenerator/master/LICENSE file. An - * additional grant of patent rights can be found in the PATENTS file in - * the same directory. - */ - -!(function(global) { - "use strict"; - - var Op = Object.prototype; - var hasOwn = Op.hasOwnProperty; - var undefined; // More compressible than void 0. - var $Symbol = typeof Symbol === "function" ? Symbol : {}; - var iteratorSymbol = $Symbol.iterator || "@@iterator"; - var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; - var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; - - var inModule = typeof module === "object"; - var runtime = global.regeneratorRuntime; - if (runtime) { - if (inModule) { - // If regeneratorRuntime is defined globally and we're in a module, - // make the exports object identical to regeneratorRuntime. - module.exports = runtime; - } - // Don't bother evaluating the rest of this file if the runtime was - // already defined globally. - return; - } - - // Define the runtime globally (as expected by generated code) as either - // module.exports (if we're in a module) or a new, empty object. - runtime = global.regeneratorRuntime = inModule ? module.exports : {}; - - function wrap(innerFn, outerFn, self, tryLocsList) { - // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. - var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; - var generator = Object.create(protoGenerator.prototype); - var context = new Context(tryLocsList || []); - - // The ._invoke method unifies the implementations of the .next, - // .throw, and .return methods. - generator._invoke = makeInvokeMethod(innerFn, self, context); - - return generator; - } - runtime.wrap = wrap; - - // Try/catch helper to minimize deoptimizations. Returns a completion - // record like context.tryEntries[i].completion. This interface could - // have been (and was previously) designed to take a closure to be - // invoked without arguments, but in all the cases we care about we - // already have an existing method we want to call, so there's no need - // to create a new function object. We can even get away with assuming - // the method takes exactly one argument, since that happens to be true - // in every case, so we don't have to touch the arguments object. The - // only additional allocation required is the completion record, which - // has a stable shape and so hopefully should be cheap to allocate. - function tryCatch(fn, obj, arg) { - try { - return { type: "normal", arg: fn.call(obj, arg) }; - } catch (err) { - return { type: "throw", arg: err }; - } - } - - var GenStateSuspendedStart = "suspendedStart"; - var GenStateSuspendedYield = "suspendedYield"; - var GenStateExecuting = "executing"; - var GenStateCompleted = "completed"; - - // Returning this object from the innerFn has the same effect as - // breaking out of the dispatch switch statement. - var ContinueSentinel = {}; - - // Dummy constructor functions that we use as the .constructor and - // .constructor.prototype properties for functions that return Generator - // objects. For full spec compliance, you may wish to configure your - // minifier not to mangle the names of these two functions. - function Generator() {} - function GeneratorFunction() {} - function GeneratorFunctionPrototype() {} - - // This is a polyfill for %IteratorPrototype% for environments that - // don't natively support it. - var IteratorPrototype = {}; - IteratorPrototype[iteratorSymbol] = function () { - return this; - }; - - var getProto = Object.getPrototypeOf; - var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); - if (NativeIteratorPrototype && - NativeIteratorPrototype !== Op && - hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { - // This environment has a native %IteratorPrototype%; use it instead - // of the polyfill. - IteratorPrototype = NativeIteratorPrototype; - } - - var Gp = GeneratorFunctionPrototype.prototype = - Generator.prototype = Object.create(IteratorPrototype); - GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; - GeneratorFunctionPrototype.constructor = GeneratorFunction; - GeneratorFunctionPrototype[toStringTagSymbol] = - GeneratorFunction.displayName = "GeneratorFunction"; - - // Helper for defining the .next, .throw, and .return methods of the - // Iterator interface in terms of a single ._invoke method. - function defineIteratorMethods(prototype) { - ["next", "throw", "return"].forEach(function(method) { - prototype[method] = function(arg) { - return this._invoke(method, arg); - }; - }); - } - - runtime.isGeneratorFunction = function(genFun) { - var ctor = typeof genFun === "function" && genFun.constructor; - return ctor - ? ctor === GeneratorFunction || - // For the native GeneratorFunction constructor, the best we can - // do is to check its .name property. - (ctor.displayName || ctor.name) === "GeneratorFunction" - : false; - }; - - runtime.mark = function(genFun) { - if (Object.setPrototypeOf) { - Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); - } else { - genFun.__proto__ = GeneratorFunctionPrototype; - if (!(toStringTagSymbol in genFun)) { - genFun[toStringTagSymbol] = "GeneratorFunction"; - } - } - genFun.prototype = Object.create(Gp); - return genFun; - }; - - // Within the body of any async function, `await x` is transformed to - // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test - // `hasOwn.call(value, "__await")` to determine if the yielded value is - // meant to be awaited. - runtime.awrap = function(arg) { - return { __await: arg }; - }; - - function AsyncIterator(generator) { - function invoke(method, arg, resolve, reject) { - var record = tryCatch(generator[method], generator, arg); - if (record.type === "throw") { - reject(record.arg); - } else { - var result = record.arg; - var value = result.value; - if (value && - typeof value === "object" && - hasOwn.call(value, "__await")) { - return Promise.resolve(value.__await).then(function(value) { - invoke("next", value, resolve, reject); - }, function(err) { - invoke("throw", err, resolve, reject); - }); - } - - return Promise.resolve(value).then(function(unwrapped) { - // When a yielded Promise is resolved, its final value becomes - // the .value of the Promise<{value,done}> result for the - // current iteration. If the Promise is rejected, however, the - // result for this iteration will be rejected with the same - // reason. Note that rejections of yielded Promises are not - // thrown back into the generator function, as is the case - // when an awaited Promise is rejected. This difference in - // behavior between yield and await is important, because it - // allows the consumer to decide what to do with the yielded - // rejection (swallow it and continue, manually .throw it back - // into the generator, abandon iteration, whatever). With - // await, by contrast, there is no opportunity to examine the - // rejection reason outside the generator function, so the - // only option is to throw it from the await expression, and - // let the generator function handle the exception. - result.value = unwrapped; - resolve(result); - }, reject); - } - } - - if (typeof global.process === "object" && global.process.domain) { - invoke = global.process.domain.bind(invoke); - } - - var previousPromise; - - function enqueue(method, arg) { - function callInvokeWithMethodAndArg() { - return new Promise(function(resolve, reject) { - invoke(method, arg, resolve, reject); - }); - } - - return previousPromise = - // If enqueue has been called before, then we want to wait until - // all previous Promises have been resolved before calling invoke, - // so that results are always delivered in the correct order. If - // enqueue has not been called before, then it is important to - // call invoke immediately, without waiting on a callback to fire, - // so that the async generator function has the opportunity to do - // any necessary setup in a predictable way. This predictability - // is why the Promise constructor synchronously invokes its - // executor callback, and why async functions synchronously - // execute code before the first await. Since we implement simple - // async functions in terms of async generators, it is especially - // important to get this right, even though it requires care. - previousPromise ? previousPromise.then( - callInvokeWithMethodAndArg, - // Avoid propagating failures to Promises returned by later - // invocations of the iterator. - callInvokeWithMethodAndArg - ) : callInvokeWithMethodAndArg(); - } - - // Define the unified helper method that is used to implement .next, - // .throw, and .return (see defineIteratorMethods). - this._invoke = enqueue; - } - - defineIteratorMethods(AsyncIterator.prototype); - AsyncIterator.prototype[asyncIteratorSymbol] = function () { - return this; - }; - runtime.AsyncIterator = AsyncIterator; - - // Note that simple async functions are implemented on top of - // AsyncIterator objects; they just return a Promise for the value of - // the final result produced by the iterator. - runtime.async = function(innerFn, outerFn, self, tryLocsList) { - var iter = new AsyncIterator( - wrap(innerFn, outerFn, self, tryLocsList) - ); - - return runtime.isGeneratorFunction(outerFn) - ? iter // If outerFn is a generator, return the full iterator. - : iter.next().then(function(result) { - return result.done ? result.value : iter.next(); - }); - }; - - function makeInvokeMethod(innerFn, self, context) { - var state = GenStateSuspendedStart; - - return function invoke(method, arg) { - if (state === GenStateExecuting) { - throw new Error("Generator is already running"); - } - - if (state === GenStateCompleted) { - if (method === "throw") { - throw arg; - } - - // Be forgiving, per 25.3.3.3.3 of the spec: - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume - return doneResult(); - } - - context.method = method; - context.arg = arg; - - while (true) { - var delegate = context.delegate; - if (delegate) { - var delegateResult = maybeInvokeDelegate(delegate, context); - if (delegateResult) { - if (delegateResult === ContinueSentinel) continue; - return delegateResult; - } - } - - if (context.method === "next") { - // Setting context._sent for legacy support of Babel's - // function.sent implementation. - context.sent = context._sent = context.arg; - - } else if (context.method === "throw") { - if (state === GenStateSuspendedStart) { - state = GenStateCompleted; - throw context.arg; - } - - context.dispatchException(context.arg); - - } else if (context.method === "return") { - context.abrupt("return", context.arg); - } - - state = GenStateExecuting; - - var record = tryCatch(innerFn, self, context); - if (record.type === "normal") { - // If an exception is thrown from innerFn, we leave state === - // GenStateExecuting and loop back for another invocation. - state = context.done - ? GenStateCompleted - : GenStateSuspendedYield; - - if (record.arg === ContinueSentinel) { - continue; - } - - return { - value: record.arg, - done: context.done - }; - - } else if (record.type === "throw") { - state = GenStateCompleted; - // Dispatch the exception by looping back around to the - // context.dispatchException(context.arg) call above. - context.method = "throw"; - context.arg = record.arg; - } - } - }; - } - - // Call delegate.iterator[context.method](context.arg) and handle the - // result, either by returning a { value, done } result from the - // delegate iterator, or by modifying context.method and context.arg, - // setting context.delegate to null, and returning the ContinueSentinel. - function maybeInvokeDelegate(delegate, context) { - var method = delegate.iterator[context.method]; - if (method === undefined) { - // A .throw or .return when the delegate iterator has no .throw - // method always terminates the yield* loop. - context.delegate = null; - - if (context.method === "throw") { - if (delegate.iterator.return) { - // If the delegate iterator has a return method, give it a - // chance to clean up. - context.method = "return"; - context.arg = undefined; - maybeInvokeDelegate(delegate, context); - - if (context.method === "throw") { - // If maybeInvokeDelegate(context) changed context.method from - // "return" to "throw", let that override the TypeError below. - return ContinueSentinel; - } - } - - context.method = "throw"; - context.arg = new TypeError( - "The iterator does not provide a 'throw' method"); - } - - return ContinueSentinel; - } - - var record = tryCatch(method, delegate.iterator, context.arg); - - if (record.type === "throw") { - context.method = "throw"; - context.arg = record.arg; - context.delegate = null; - return ContinueSentinel; - } - - var info = record.arg; - - if (! info) { - context.method = "throw"; - context.arg = new TypeError("iterator result is not an object"); - context.delegate = null; - return ContinueSentinel; - } - - if (info.done) { - // Assign the result of the finished delegate to the temporary - // variable specified by delegate.resultName (see delegateYield). - context[delegate.resultName] = info.value; - - // Resume execution at the desired location (see delegateYield). - context.next = delegate.nextLoc; - - // If context.method was "throw" but the delegate handled the - // exception, let the outer generator proceed normally. If - // context.method was "next", forget context.arg since it has been - // "consumed" by the delegate iterator. If context.method was - // "return", allow the original .return call to continue in the - // outer generator. - if (context.method !== "return") { - context.method = "next"; - context.arg = undefined; - } - - } else { - // Re-yield the result returned by the delegate method. - return info; - } - - // The delegate iterator is finished, so forget it and continue with - // the outer generator. - context.delegate = null; - return ContinueSentinel; - } - - // Define Generator.prototype.{next,throw,return} in terms of the - // unified ._invoke helper method. - defineIteratorMethods(Gp); - - Gp[toStringTagSymbol] = "Generator"; - - // A Generator should always return itself as the iterator object when the - // @@iterator function is called on it. Some browsers' implementations of the - // iterator prototype chain incorrectly implement this, causing the Generator - // object to not be returned from this call. This ensures that doesn't happen. - // See https://github.com/facebook/regenerator/issues/274 for more details. - Gp[iteratorSymbol] = function() { - return this; - }; - - Gp.toString = function() { - return "[object Generator]"; - }; - - function pushTryEntry(locs) { - var entry = { tryLoc: locs[0] }; - - if (1 in locs) { - entry.catchLoc = locs[1]; - } - - if (2 in locs) { - entry.finallyLoc = locs[2]; - entry.afterLoc = locs[3]; - } - - this.tryEntries.push(entry); - } - - function resetTryEntry(entry) { - var record = entry.completion || {}; - record.type = "normal"; - delete record.arg; - entry.completion = record; - } - - function Context(tryLocsList) { - // The root entry object (effectively a try statement without a catch - // or a finally block) gives us a place to store values thrown from - // locations where there is no enclosing try statement. - this.tryEntries = [{ tryLoc: "root" }]; - tryLocsList.forEach(pushTryEntry, this); - this.reset(true); - } - - runtime.keys = function(object) { - var keys = []; - for (var key in object) { - keys.push(key); - } - keys.reverse(); - - // Rather than returning an object with a next method, we keep - // things simple and return the next function itself. - return function next() { - while (keys.length) { - var key = keys.pop(); - if (key in object) { - next.value = key; - next.done = false; - return next; - } - } - - // To avoid creating an additional object, we just hang the .value - // and .done properties off the next function object itself. This - // also ensures that the minifier will not anonymize the function. - next.done = true; - return next; - }; - }; - - function values(iterable) { - if (iterable) { - var iteratorMethod = iterable[iteratorSymbol]; - if (iteratorMethod) { - return iteratorMethod.call(iterable); - } - - if (typeof iterable.next === "function") { - return iterable; - } - - if (!isNaN(iterable.length)) { - var i = -1, next = function next() { - while (++i < iterable.length) { - if (hasOwn.call(iterable, i)) { - next.value = iterable[i]; - next.done = false; - return next; - } - } - - next.value = undefined; - next.done = true; - - return next; - }; - - return next.next = next; - } - } - - // Return an iterator with no values. - return { next: doneResult }; - } - runtime.values = values; - - function doneResult() { - return { value: undefined, done: true }; - } - - Context.prototype = { - constructor: Context, - - reset: function(skipTempReset) { - this.prev = 0; - this.next = 0; - // Resetting context._sent for legacy support of Babel's - // function.sent implementation. - this.sent = this._sent = undefined; - this.done = false; - this.delegate = null; - - this.method = "next"; - this.arg = undefined; - - this.tryEntries.forEach(resetTryEntry); - - if (!skipTempReset) { - for (var name in this) { - // Not sure about the optimal order of these conditions: - if (name.charAt(0) === "t" && - hasOwn.call(this, name) && - !isNaN(+name.slice(1))) { - this[name] = undefined; - } - } - } - }, - - stop: function() { - this.done = true; - - var rootEntry = this.tryEntries[0]; - var rootRecord = rootEntry.completion; - if (rootRecord.type === "throw") { - throw rootRecord.arg; - } - - return this.rval; - }, - - dispatchException: function(exception) { - if (this.done) { - throw exception; - } - - var context = this; - function handle(loc, caught) { - record.type = "throw"; - record.arg = exception; - context.next = loc; - - if (caught) { - // If the dispatched exception was caught by a catch block, - // then let that catch block handle the exception normally. - context.method = "next"; - context.arg = undefined; - } - - return !! caught; - } - - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - var record = entry.completion; - - if (entry.tryLoc === "root") { - // Exception thrown outside of any try block that could handle - // it, so set the completion value of the entire function to - // throw the exception. - return handle("end"); - } - - if (entry.tryLoc <= this.prev) { - var hasCatch = hasOwn.call(entry, "catchLoc"); - var hasFinally = hasOwn.call(entry, "finallyLoc"); - - if (hasCatch && hasFinally) { - if (this.prev < entry.catchLoc) { - return handle(entry.catchLoc, true); - } else if (this.prev < entry.finallyLoc) { - return handle(entry.finallyLoc); - } - - } else if (hasCatch) { - if (this.prev < entry.catchLoc) { - return handle(entry.catchLoc, true); - } - - } else if (hasFinally) { - if (this.prev < entry.finallyLoc) { - return handle(entry.finallyLoc); - } - - } else { - throw new Error("try statement without catch or finally"); - } - } - } - }, - - abrupt: function(type, arg) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.tryLoc <= this.prev && - hasOwn.call(entry, "finallyLoc") && - this.prev < entry.finallyLoc) { - var finallyEntry = entry; - break; - } - } - - if (finallyEntry && - (type === "break" || - type === "continue") && - finallyEntry.tryLoc <= arg && - arg <= finallyEntry.finallyLoc) { - // Ignore the finally entry if control is not jumping to a - // location outside the try/catch block. - finallyEntry = null; - } - - var record = finallyEntry ? finallyEntry.completion : {}; - record.type = type; - record.arg = arg; - - if (finallyEntry) { - this.method = "next"; - this.next = finallyEntry.finallyLoc; - return ContinueSentinel; - } - - return this.complete(record); - }, - - complete: function(record, afterLoc) { - if (record.type === "throw") { - throw record.arg; - } - - if (record.type === "break" || - record.type === "continue") { - this.next = record.arg; - } else if (record.type === "return") { - this.rval = this.arg = record.arg; - this.method = "return"; - this.next = "end"; - } else if (record.type === "normal" && afterLoc) { - this.next = afterLoc; - } - - return ContinueSentinel; - }, - - finish: function(finallyLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.finallyLoc === finallyLoc) { - this.complete(entry.completion, entry.afterLoc); - resetTryEntry(entry); - return ContinueSentinel; - } - } - }, - - "catch": function(tryLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.tryLoc === tryLoc) { - var record = entry.completion; - if (record.type === "throw") { - var thrown = record.arg; - resetTryEntry(entry); - } - return thrown; - } - } - - // The context.catch method must only be called with a location - // argument that corresponds to a known catch block. - throw new Error("illegal catch attempt"); - }, - - delegateYield: function(iterable, resultName, nextLoc) { - this.delegate = { - iterator: values(iterable), - resultName: resultName, - nextLoc: nextLoc - }; - - if (this.method === "next") { - // Deliberately forget the last sent value so that we don't - // accidentally pass it on to the delegate. - this.arg = undefined; - } - - return ContinueSentinel; - } - }; -})( - // Among the various tricks for obtaining a reference to the global - // object, this seems to be the most reliable technique that does not - // use indirect eval (which violates Content Security Policy). - typeof global === "object" ? global : - typeof window === "object" ? window : - typeof self === "object" ? self : this -); - -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("./node_modules/webpack/buildin/global.js"))) - -/***/ }), - -/***/ "./node_modules/vue-loader/lib/component-normalizer.js": -/***/ (function(module, exports) { - -/* globals __VUE_SSR_CONTEXT__ */ - -// this module is a runtime utility for cleaner component module output and will -// be included in the final webpack user bundle - -module.exports = function normalizeComponent ( - rawScriptExports, - compiledTemplate, - injectStyles, - scopeId, - moduleIdentifier /* server only */ -) { - var esModule - var scriptExports = rawScriptExports = rawScriptExports || {} - - // ES6 modules interop - var type = typeof rawScriptExports.default - if (type === 'object' || type === 'function') { - esModule = rawScriptExports - scriptExports = rawScriptExports.default - } - - // Vue.extend constructor export interop - var options = typeof scriptExports === 'function' - ? scriptExports.options - : scriptExports - - // render functions - if (compiledTemplate) { - options.render = compiledTemplate.render - options.staticRenderFns = compiledTemplate.staticRenderFns - } - - // scopedId - if (scopeId) { - options._scopeId = scopeId - } - - var hook - if (moduleIdentifier) { // server build - hook = function (context) { - // 2.3 injection - context = - context || // cached call - (this.$vnode && this.$vnode.ssrContext) || // stateful - (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional - // 2.2 with runInNewContext: true - if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { - context = __VUE_SSR_CONTEXT__ - } - // inject component styles - if (injectStyles) { - injectStyles.call(this, context) - } - // register component module identifier for async chunk inferrence - if (context && context._registeredComponents) { - context._registeredComponents.add(moduleIdentifier) - } - } - // used by ssr in case component is cached and beforeCreate - // never gets called - options._ssrRegister = hook - } else if (injectStyles) { - hook = injectStyles - } - - if (hook) { - var functional = options.functional - var existing = functional - ? options.render - : options.beforeCreate - if (!functional) { - // inject component registration as beforeCreate hook - options.beforeCreate = existing - ? [].concat(existing, hook) - : [hook] - } else { - // register for functioal component in vue file - options.render = function renderWithStyleInjection (h, context) { - hook.call(context) - return existing(h, context) - } - } - } - - return { - esModule: esModule, - exports: scriptExports, - options: options - } -} - - -/***/ }), - -/***/ "./node_modules/vue-loader/lib/template-compiler/index.js?{\"id\":\"data-v-2c196e12\",\"hasScoped\":true}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/app/users/UserListGroupItem.vue": -/***/ (function(module, exports, __webpack_require__) { - -module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('a', { - staticClass: "list-group-item clearfix", - attrs: { - "href": "#" - } - }, [_vm._m(0), _vm._v(" "), _c('span', { - staticClass: "clear" - }, [_c('span', [_vm._v(_vm._s(_vm.item.name))])])]) -},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('span', { - staticClass: "pull-left thumb-sm avatar m-r" - }, [_c('img', { - attrs: { - "src": "https://www.someline.com/en/user/profilephoto/origin/f4ccc4de78c03fe2c321490cf6f8157f825e4c4f.jpg", - "alt": "..." - } - })]) -}]} -module.exports.render._withStripped = true -if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-hot-reload-api").rerender("data-v-2c196e12", module.exports) - } -} - -/***/ }), - -/***/ "./node_modules/vue-loader/lib/template-compiler/index.js?{\"id\":\"data-v-a47b3826\",\"hasScoped\":false}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/Example.vue": -/***/ (function(module, exports, __webpack_require__) { - -module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _vm._m(0) -},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', { - staticClass: "container" - }, [_c('div', { - staticClass: "row" - }, [_c('div', { - staticClass: "col-md-8 col-md-offset-2" - }, [_c('div', { - staticClass: "panel panel-default" - }, [_c('div', { - staticClass: "panel-heading" - }, [_vm._v("Example Component")]), _vm._v(" "), _c('div', { - staticClass: "panel-body" - }, [_vm._v("\n I'm an example component!\n ")])])])])]) -}]} -module.exports.render._withStripped = true -if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-hot-reload-api").rerender("data-v-a47b3826", module.exports) - } -} - -/***/ }), - -/***/ "./node_modules/vue-loader/lib/template-compiler/index.js?{\"id\":\"data-v-c83552aa\",\"hasScoped\":true}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/app/users/UserList.vue": -/***/ (function(module, exports, __webpack_require__) { - -module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', { - staticClass: "wrapper-md" - }, [_c('h1', [_vm._v(_vm._s(_vm.$t('user.users')))]), _vm._v(" "), _c('hr'), _vm._v(" "), _c('div', { - staticClass: "row" - }, [_c('div', { - staticClass: "list-group list-group-lg list-group-sp" - }, [_vm._l((_vm.items), function(item) { - return [_c('div', { - staticClass: "col-md-4 m-b-sm" - }, [_c('sl-user-list-item', { - attrs: { - "item": item - } - })], 1)] - })], 2)])]) -},staticRenderFns: []} -module.exports.render._withStripped = true -if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-hot-reload-api").rerender("data-v-c83552aa", module.exports) - } -} - -/***/ }), - -/***/ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/index.js?sourceMap!./node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-2c196e12\",\"scoped\":true,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/app/users/UserListGroupItem.vue": -/***/ (function(module, exports, __webpack_require__) { - -// style-loader: Adds some css to the DOM by adding a \n\n\n\n\n"],"sourceRoot":""}]); - -// exports - - -/***/ }), - -/***/ "./node_modules/css-loader/index.js?sourceMap!./node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-31728d50\",\"scoped\":true,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/passport/Clients.vue": -/***/ (function(module, exports, __webpack_require__) { - -exports = module.exports = __webpack_require__("./node_modules/css-loader/lib/css-base.js")(true); -// imports - - -// module -exports.push([module.i, "\n.action-link[data-v-31728d50] {\n cursor: pointer;\n}\n.m-b-none[data-v-31728d50] {\n margin-bottom: 0;\n}\n", "", {"version":3,"sources":["/Users/Libern/Code/someline-starter-master/resources/assets/js/components/passport/Clients.vue?0a388e40"],"names":[],"mappings":";AACA;IACA,gBAAA;CACA;AAEA;IACA,iBAAA;CACA","file":"Clients.vue","sourcesContent":["\n\n\n\n\n"],"sourceRoot":""}]); - -// exports - - -/***/ }), - -/***/ "./node_modules/css-loader/index.js?sourceMap!./node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-af1adf44\",\"scoped\":true,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/passport/PersonalAccessTokens.vue": -/***/ (function(module, exports, __webpack_require__) { - -exports = module.exports = __webpack_require__("./node_modules/css-loader/lib/css-base.js")(true); -// imports - - -// module -exports.push([module.i, "\n.action-link[data-v-af1adf44] {\n cursor: pointer;\n}\n.m-b-none[data-v-af1adf44] {\n margin-bottom: 0;\n}\n", "", {"version":3,"sources":["/Users/Libern/Code/someline-starter-master/resources/assets/js/components/passport/PersonalAccessTokens.vue?17591698"],"names":[],"mappings":";AACA;IACA,gBAAA;CACA;AAEA;IACA,iBAAA;CACA","file":"PersonalAccessTokens.vue","sourcesContent":["\n\n\n\n\n"],"sourceRoot":""}]); - -// exports - - -/***/ }), - -/***/ "./node_modules/css-loader/lib/css-base.js": -/***/ (function(module, exports) { - -/* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra -*/ -// css base code, injected by the css-loader -module.exports = function(useSourceMap) { - var list = []; - - // return the list of modules as css string - list.toString = function toString() { - return this.map(function (item) { - var content = cssWithMappingToString(item, useSourceMap); - if(item[2]) { - return "@media " + item[2] + "{" + content + "}"; - } else { - return content; - } - }).join(""); - }; - - // import a list of modules into the list - list.i = function(modules, mediaQuery) { - if(typeof modules === "string") - modules = [[null, modules, ""]]; - var alreadyImportedModules = {}; - for(var i = 0; i < this.length; i++) { - var id = this[i][0]; - if(typeof id === "number") - alreadyImportedModules[id] = true; - } - for(i = 0; i < modules.length; i++) { - var item = modules[i]; - // skip already imported module - // this implementation is not 100% perfect for weird media query combinations - // when a module is imported multiple times with different media queries. - // I hope this will never occur (Hey this way we have smaller bundles) - if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { - if(mediaQuery && !item[2]) { - item[2] = mediaQuery; - } else if(mediaQuery) { - item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; - } - list.push(item); - } - } - }; - return list; -}; - -function cssWithMappingToString(item, useSourceMap) { - var content = item[1] || ''; - var cssMapping = item[3]; - if (!cssMapping) { - return content; - } - - if (useSourceMap && typeof btoa === 'function') { - var sourceMapping = toComment(cssMapping); - var sourceURLs = cssMapping.sources.map(function (source) { - return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */' - }); - - return [content].concat(sourceURLs).concat([sourceMapping]).join('\n'); - } - - return [content].join('\n'); -} - -// Adapted from convert-source-map (MIT) -function toComment(sourceMap) { - // eslint-disable-next-line no-undef - var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))); - var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64; - - return '/*# ' + data + ' */'; -} - - -/***/ }), - -/***/ "./node_modules/define-properties/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var keys = __webpack_require__("./node_modules/object-keys/index.js"); -var foreach = __webpack_require__("./node_modules/foreach/index.js"); -var hasSymbols = typeof Symbol === 'function' && typeof Symbol() === 'symbol'; - -var toStr = Object.prototype.toString; - -var isFunction = function (fn) { - return typeof fn === 'function' && toStr.call(fn) === '[object Function]'; -}; - -var arePropertyDescriptorsSupported = function () { - var obj = {}; - try { - Object.defineProperty(obj, 'x', { enumerable: false, value: obj }); - /* eslint-disable no-unused-vars, no-restricted-syntax */ - for (var _ in obj) { return false; } - /* eslint-enable no-unused-vars, no-restricted-syntax */ - return obj.x === obj; - } catch (e) { /* this is IE 8. */ - return false; - } -}; -var supportsDescriptors = Object.defineProperty && arePropertyDescriptorsSupported(); - -var defineProperty = function (object, name, value, predicate) { - if (name in object && (!isFunction(predicate) || !predicate())) { - return; - } - if (supportsDescriptors) { - Object.defineProperty(object, name, { - configurable: true, - enumerable: false, - value: value, - writable: true - }); - } else { - object[name] = value; - } -}; - -var defineProperties = function (object, map) { - var predicates = arguments.length > 2 ? arguments[2] : {}; - var props = keys(map); - if (hasSymbols) { - props = props.concat(Object.getOwnPropertySymbols(map)); - } - foreach(props, function (name) { - defineProperty(object, name, map[name], predicates[name]); - }); -}; - -defineProperties.supportsDescriptors = !!supportsDescriptors; - -module.exports = defineProperties; - - -/***/ }), - -/***/ "./node_modules/es-abstract/es2015.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var has = __webpack_require__("./node_modules/has/src/index.js"); - -var toStr = Object.prototype.toString; -var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; - -var $isNaN = __webpack_require__("./node_modules/es-abstract/helpers/isNaN.js"); -var $isFinite = __webpack_require__("./node_modules/es-abstract/helpers/isFinite.js"); -var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1; - -var assign = __webpack_require__("./node_modules/es-abstract/helpers/assign.js"); -var sign = __webpack_require__("./node_modules/es-abstract/helpers/sign.js"); -var mod = __webpack_require__("./node_modules/es-abstract/helpers/mod.js"); -var isPrimitive = __webpack_require__("./node_modules/es-abstract/helpers/isPrimitive.js"); -var toPrimitive = __webpack_require__("./node_modules/es-to-primitive/es6.js"); -var parseInteger = parseInt; -var bind = __webpack_require__("./node_modules/function-bind/index.js"); -var arraySlice = bind.call(Function.call, Array.prototype.slice); -var strSlice = bind.call(Function.call, String.prototype.slice); -var isBinary = bind.call(Function.call, RegExp.prototype.test, /^0b[01]+$/i); -var isOctal = bind.call(Function.call, RegExp.prototype.test, /^0o[0-7]+$/i); -var regexExec = bind.call(Function.call, RegExp.prototype.exec); -var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); -var nonWSregex = new RegExp('[' + nonWS + ']', 'g'); -var hasNonWS = bind.call(Function.call, RegExp.prototype.test, nonWSregex); -var invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i; -var isInvalidHexLiteral = bind.call(Function.call, RegExp.prototype.test, invalidHexLiteral); - -// whitespace from: http://es5.github.io/#x15.5.4.20 -// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 -var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' -].join(''); -var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); -var replace = bind.call(Function.call, String.prototype.replace); -var trim = function (value) { - return replace(value, trimRegex, ''); -}; - -var ES5 = __webpack_require__("./node_modules/es-abstract/es5.js"); - -var hasRegExpMatcher = __webpack_require__("./node_modules/is-regex/index.js"); - -// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-abstract-operations -var ES6 = assign(assign({}, ES5), { - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-call-f-v-args - Call: function Call(F, V) { - var args = arguments.length > 2 ? arguments[2] : []; - if (!this.IsCallable(F)) { - throw new TypeError(F + ' is not a function'); - } - return F.apply(V, args); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toprimitive - ToPrimitive: toPrimitive, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toboolean - // ToBoolean: ES5.ToBoolean, - - // http://www.ecma-international.org/ecma-262/6.0/#sec-tonumber - ToNumber: function ToNumber(argument) { - var value = isPrimitive(argument) ? argument : toPrimitive(argument, 'number'); - if (typeof value === 'symbol') { - throw new TypeError('Cannot convert a Symbol value to a number'); - } - if (typeof value === 'string') { - if (isBinary(value)) { - return this.ToNumber(parseInteger(strSlice(value, 2), 2)); - } else if (isOctal(value)) { - return this.ToNumber(parseInteger(strSlice(value, 2), 8)); - } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { - return NaN; - } else { - var trimmed = trim(value); - if (trimmed !== value) { - return this.ToNumber(trimmed); - } - } - } - return Number(value); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tointeger - // ToInteger: ES5.ToNumber, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint32 - // ToInt32: ES5.ToInt32, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint32 - // ToUint32: ES5.ToUint32, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint16 - ToInt16: function ToInt16(argument) { - var int16bit = this.ToUint16(argument); - return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint16 - // ToUint16: ES5.ToUint16, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint8 - ToInt8: function ToInt8(argument) { - var int8bit = this.ToUint8(argument); - return int8bit >= 0x80 ? int8bit - 0x100 : int8bit; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint8 - ToUint8: function ToUint8(argument) { - var number = this.ToNumber(argument); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = sign(number) * Math.floor(Math.abs(number)); - return mod(posInt, 0x100); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint8clamp - ToUint8Clamp: function ToUint8Clamp(argument) { - var number = this.ToNumber(argument); - if ($isNaN(number) || number <= 0) { return 0; } - if (number >= 0xFF) { return 0xFF; } - var f = Math.floor(argument); - if (f + 0.5 < number) { return f + 1; } - if (number < f + 0.5) { return f; } - if (f % 2 !== 0) { return f + 1; } - return f; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tostring - ToString: function ToString(argument) { - if (typeof argument === 'symbol') { - throw new TypeError('Cannot convert a Symbol value to a string'); - } - return String(argument); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toobject - ToObject: function ToObject(value) { - this.RequireObjectCoercible(value); - return Object(value); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey - ToPropertyKey: function ToPropertyKey(argument) { - var key = this.ToPrimitive(argument, String); - return typeof key === 'symbol' ? key : this.ToString(key); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength - ToLength: function ToLength(argument) { - var len = this.ToInteger(argument); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } - return len; - }, - - // http://www.ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring - CanonicalNumericIndexString: function CanonicalNumericIndexString(argument) { - if (toStr.call(argument) !== '[object String]') { - throw new TypeError('must be a string'); - } - if (argument === '-0') { return -0; } - var n = this.ToNumber(argument); - if (this.SameValue(this.ToString(n), argument)) { return n; } - return void 0; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-requireobjectcoercible - RequireObjectCoercible: ES5.CheckObjectCoercible, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray - IsArray: Array.isArray || function IsArray(argument) { - return toStr.call(argument) === '[object Array]'; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-iscallable - // IsCallable: ES5.IsCallable, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor - IsConstructor: function IsConstructor(argument) { - return typeof argument === 'function' && !!argument.prototype; // unfortunately there's no way to truly check this without try/catch `new argument` - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isextensible-o - IsExtensible: function IsExtensible(obj) { - if (!Object.preventExtensions) { return true; } - if (isPrimitive(obj)) { - return false; - } - return Object.isExtensible(obj); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isinteger - IsInteger: function IsInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var abs = Math.abs(argument); - return Math.floor(abs) === abs; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ispropertykey - IsPropertyKey: function IsPropertyKey(argument) { - return typeof argument === 'string' || typeof argument === 'symbol'; - }, - - // http://www.ecma-international.org/ecma-262/6.0/#sec-isregexp - IsRegExp: function IsRegExp(argument) { - if (!argument || typeof argument !== 'object') { - return false; - } - if (hasSymbols) { - var isRegExp = argument[Symbol.match]; - if (typeof isRegExp !== 'undefined') { - return ES5.ToBoolean(isRegExp); - } - } - return hasRegExpMatcher(argument); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevalue - // SameValue: ES5.SameValue, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero - SameValueZero: function SameValueZero(x, y) { - return (x === y) || ($isNaN(x) && $isNaN(y)); - }, - - /** - * 7.3.2 GetV (V, P) - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let O be ToObject(V). - * 3. ReturnIfAbrupt(O). - * 4. Return O.[[Get]](P, V). - */ - GetV: function GetV(V, P) { - // 7.3.2.1 - if (!this.IsPropertyKey(P)) { - throw new TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.2.2-3 - var O = this.ToObject(V); - - // 7.3.2.4 - return O[P]; - }, - - /** - * 7.3.9 - http://www.ecma-international.org/ecma-262/6.0/#sec-getmethod - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let func be GetV(O, P). - * 3. ReturnIfAbrupt(func). - * 4. If func is either undefined or null, return undefined. - * 5. If IsCallable(func) is false, throw a TypeError exception. - * 6. Return func. - */ - GetMethod: function GetMethod(O, P) { - // 7.3.9.1 - if (!this.IsPropertyKey(P)) { - throw new TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.9.2 - var func = this.GetV(O, P); - - // 7.3.9.4 - if (func == null) { - return undefined; - } - - // 7.3.9.5 - if (!this.IsCallable(func)) { - throw new TypeError(P + 'is not a function'); - } - - // 7.3.9.6 - return func; - }, - - /** - * 7.3.1 Get (O, P) - http://www.ecma-international.org/ecma-262/6.0/#sec-get-o-p - * 1. Assert: Type(O) is Object. - * 2. Assert: IsPropertyKey(P) is true. - * 3. Return O.[[Get]](P, O). - */ - Get: function Get(O, P) { - // 7.3.1.1 - if (this.Type(O) !== 'Object') { - throw new TypeError('Assertion failed: Type(O) is not Object'); - } - // 7.3.1.2 - if (!this.IsPropertyKey(P)) { - throw new TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - // 7.3.1.3 - return O[P]; - }, - - Type: function Type(x) { - if (typeof x === 'symbol') { - return 'Symbol'; - } - return ES5.Type(x); - }, - - // http://www.ecma-international.org/ecma-262/6.0/#sec-speciesconstructor - SpeciesConstructor: function SpeciesConstructor(O, defaultConstructor) { - if (this.Type(O) !== 'Object') { - throw new TypeError('Assertion failed: Type(O) is not Object'); - } - var C = O.constructor; - if (typeof C === 'undefined') { - return defaultConstructor; - } - if (this.Type(C) !== 'Object') { - throw new TypeError('O.constructor is not an Object'); - } - var S = hasSymbols && Symbol.species ? C[Symbol.species] : undefined; - if (S == null) { - return defaultConstructor; - } - if (this.IsConstructor(S)) { - return S; - } - throw new TypeError('no constructor found'); - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor - CompletePropertyDescriptor: function CompletePropertyDescriptor(Desc) { - if (!this.IsPropertyDescriptor(Desc)) { - throw new TypeError('Desc must be a Property Descriptor'); - } - - if (this.IsGenericDescriptor(Desc) || this.IsDataDescriptor(Desc)) { - if (!has(Desc, '[[Value]]')) { - Desc['[[Value]]'] = void 0; - } - if (!has(Desc, '[[Writable]]')) { - Desc['[[Writable]]'] = false; - } - } else { - if (!has(Desc, '[[Get]]')) { - Desc['[[Get]]'] = void 0; - } - if (!has(Desc, '[[Set]]')) { - Desc['[[Set]]'] = void 0; - } - } - if (!has(Desc, '[[Enumerable]]')) { - Desc['[[Enumerable]]'] = false; - } - if (!has(Desc, '[[Configurable]]')) { - Desc['[[Configurable]]'] = false; - } - return Desc; - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw - Set: function Set(O, P, V, Throw) { - if (this.Type(O) !== 'Object') { - throw new TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new TypeError('P must be a Property Key'); - } - if (this.Type(Throw) !== 'Boolean') { - throw new TypeError('Throw must be a Boolean'); - } - if (Throw) { - O[P] = V; - return true; - } else { - try { - O[P] = V; - } catch (e) { - return false; - } - } - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-hasownproperty - HasOwnProperty: function HasOwnProperty(O, P) { - if (this.Type(O) !== 'Object') { - throw new TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new TypeError('P must be a Property Key'); - } - return has(O, P); - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-hasproperty - HasProperty: function HasProperty(O, P) { - if (this.Type(O) !== 'Object') { - throw new TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new TypeError('P must be a Property Key'); - } - return P in O; - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable - IsConcatSpreadable: function IsConcatSpreadable(O) { - if (this.Type(O) !== 'Object') { - return false; - } - if (hasSymbols && typeof Symbol.isConcatSpreadable === 'symbol') { - var spreadable = this.Get(O, Symbol.isConcatSpreadable); - if (typeof spreadable !== 'undefined') { - return this.ToBoolean(spreadable); - } - } - return this.IsArray(O); - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-invoke - Invoke: function Invoke(O, P) { - if (!this.IsPropertyKey(P)) { - throw new TypeError('P must be a Property Key'); - } - var argumentsList = arraySlice(arguments, 2); - var func = this.GetV(O, P); - return this.Call(func, O, argumentsList); - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject - CreateIterResultObject: function CreateIterResultObject(value, done) { - if (this.Type(done) !== 'Boolean') { - throw new TypeError('Assertion failed: Type(done) is not Boolean'); - } - return { - value: value, - done: done - }; - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-regexpexec - RegExpExec: function RegExpExec(R, S) { - if (this.Type(R) !== 'Object') { - throw new TypeError('R must be an Object'); - } - if (this.Type(S) !== 'String') { - throw new TypeError('S must be a String'); - } - var exec = this.Get(R, 'exec'); - if (this.IsCallable(exec)) { - var result = this.Call(exec, R, [S]); - if (result === null || this.Type(result) === 'Object') { - return result; - } - throw new TypeError('"exec" method must return `null` or an Object'); - } - return regexExec(R, S); - } -}); - -delete ES6.CheckObjectCoercible; // renamed in ES6 to RequireObjectCoercible - -module.exports = ES6; - - -/***/ }), - -/***/ "./node_modules/es-abstract/es2016.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var ES2015 = __webpack_require__("./node_modules/es-abstract/es2015.js"); -var assign = __webpack_require__("./node_modules/es-abstract/helpers/assign.js"); - -var ES2016 = assign(assign({}, ES2015), { - // https://github.com/tc39/ecma262/pull/60 - SameValueNonNumber: function SameValueNonNumber(x, y) { - if (typeof x === 'number' || typeof x !== typeof y) { - throw new TypeError('SameValueNonNumber requires two non-number values of the same type.'); - } - return this.SameValue(x, y); - } -}); - -module.exports = ES2016; - - -/***/ }), - -/***/ "./node_modules/es-abstract/es5.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var $isNaN = __webpack_require__("./node_modules/es-abstract/helpers/isNaN.js"); -var $isFinite = __webpack_require__("./node_modules/es-abstract/helpers/isFinite.js"); - -var sign = __webpack_require__("./node_modules/es-abstract/helpers/sign.js"); -var mod = __webpack_require__("./node_modules/es-abstract/helpers/mod.js"); - -var IsCallable = __webpack_require__("./node_modules/is-callable/index.js"); -var toPrimitive = __webpack_require__("./node_modules/es-to-primitive/es5.js"); - -var has = __webpack_require__("./node_modules/has/src/index.js"); - -// https://es5.github.io/#x9 -var ES5 = { - ToPrimitive: toPrimitive, - - ToBoolean: function ToBoolean(value) { - return !!value; - }, - ToNumber: function ToNumber(value) { - return Number(value); - }, - ToInteger: function ToInteger(value) { - var number = this.ToNumber(value); - if ($isNaN(number)) { return 0; } - if (number === 0 || !$isFinite(number)) { return number; } - return sign(number) * Math.floor(Math.abs(number)); - }, - ToInt32: function ToInt32(x) { - return this.ToNumber(x) >> 0; - }, - ToUint32: function ToUint32(x) { - return this.ToNumber(x) >>> 0; - }, - ToUint16: function ToUint16(value) { - var number = this.ToNumber(value); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = sign(number) * Math.floor(Math.abs(number)); - return mod(posInt, 0x10000); - }, - ToString: function ToString(value) { - return String(value); - }, - ToObject: function ToObject(value) { - this.CheckObjectCoercible(value); - return Object(value); - }, - CheckObjectCoercible: function CheckObjectCoercible(value, optMessage) { - /* jshint eqnull:true */ - if (value == null) { - throw new TypeError(optMessage || 'Cannot call method on ' + value); - } - return value; - }, - IsCallable: IsCallable, - SameValue: function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); - }, - - // http://www.ecma-international.org/ecma-262/5.1/#sec-8 - Type: function Type(x) { - if (x === null) { - return 'Null'; - } - if (typeof x === 'undefined') { - return 'Undefined'; - } - if (typeof x === 'function' || typeof x === 'object') { - return 'Object'; - } - if (typeof x === 'number') { - return 'Number'; - } - if (typeof x === 'boolean') { - return 'Boolean'; - } - if (typeof x === 'string') { - return 'String'; - } - }, - - // http://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type - IsPropertyDescriptor: function IsPropertyDescriptor(Desc) { - if (this.Type(Desc) !== 'Object') { - return false; - } - var allowed = { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Get]]': true, - '[[Set]]': true, - '[[Value]]': true, - '[[Writable]]': true - }; - // jscs:disable - for (var key in Desc) { // eslint-disable-line - if (has(Desc, key) && !allowed[key]) { - return false; - } - } - // jscs:enable - var isData = has(Desc, '[[Value]]'); - var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]'); - if (isData && IsAccessor) { - throw new TypeError('Property Descriptors may not be both accessor and data descriptors'); - } - return true; - }, - - // http://ecma-international.org/ecma-262/5.1/#sec-8.10.1 - IsAccessorDescriptor: function IsAccessorDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - if (!this.IsPropertyDescriptor(Desc)) { - throw new TypeError('Desc must be a Property Descriptor'); - } - - if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { - return false; - } - - return true; - }, - - // http://ecma-international.org/ecma-262/5.1/#sec-8.10.2 - IsDataDescriptor: function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - if (!this.IsPropertyDescriptor(Desc)) { - throw new TypeError('Desc must be a Property Descriptor'); - } - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; - }, - - // http://ecma-international.org/ecma-262/5.1/#sec-8.10.3 - IsGenericDescriptor: function IsGenericDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - if (!this.IsPropertyDescriptor(Desc)) { - throw new TypeError('Desc must be a Property Descriptor'); - } - - if (!this.IsAccessorDescriptor(Desc) && !this.IsDataDescriptor(Desc)) { - return true; - } - - return false; - }, - - // http://ecma-international.org/ecma-262/5.1/#sec-8.10.4 - FromPropertyDescriptor: function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - if (!this.IsPropertyDescriptor(Desc)) { - throw new TypeError('Desc must be a Property Descriptor'); - } - - if (this.IsDataDescriptor(Desc)) { - return { - value: Desc['[[Value]]'], - writable: !!Desc['[[Writable]]'], - enumerable: !!Desc['[[Enumerable]]'], - configurable: !!Desc['[[Configurable]]'] - }; - } else if (this.IsAccessorDescriptor(Desc)) { - return { - get: Desc['[[Get]]'], - set: Desc['[[Set]]'], - enumerable: !!Desc['[[Enumerable]]'], - configurable: !!Desc['[[Configurable]]'] - }; - } else { - throw new TypeError('FromPropertyDescriptor must be called with a fully populated Property Descriptor'); - } - }, - - // http://ecma-international.org/ecma-262/5.1/#sec-8.10.5 - ToPropertyDescriptor: function ToPropertyDescriptor(Obj) { - if (this.Type(Obj) !== 'Object') { - throw new TypeError('ToPropertyDescriptor requires an object'); - } - - var desc = {}; - if (has(Obj, 'enumerable')) { - desc['[[Enumerable]]'] = this.ToBoolean(Obj.enumerable); - } - if (has(Obj, 'configurable')) { - desc['[[Configurable]]'] = this.ToBoolean(Obj.configurable); - } - if (has(Obj, 'value')) { - desc['[[Value]]'] = Obj.value; - } - if (has(Obj, 'writable')) { - desc['[[Writable]]'] = this.ToBoolean(Obj.writable); - } - if (has(Obj, 'get')) { - var getter = Obj.get; - if (typeof getter !== 'undefined' && !this.IsCallable(getter)) { - throw new TypeError('getter must be a function'); - } - desc['[[Get]]'] = getter; - } - if (has(Obj, 'set')) { - var setter = Obj.set; - if (typeof setter !== 'undefined' && !this.IsCallable(setter)) { - throw new TypeError('setter must be a function'); - } - desc['[[Set]]'] = setter; - } - - if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { - throw new TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); - } - return desc; - } -}; - -module.exports = ES5; - - -/***/ }), - -/***/ "./node_modules/es-abstract/es7.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = __webpack_require__("./node_modules/es-abstract/es2016.js"); - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/assign.js": -/***/ (function(module, exports) { - -var has = Object.prototype.hasOwnProperty; -module.exports = function assign(target, source) { - if (Object.assign) { - return Object.assign(target, source); - } - for (var key in source) { - if (has.call(source, key)) { - target[key] = source[key]; - } - } - return target; -}; - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/isFinite.js": -/***/ (function(module, exports) { - -var $isNaN = Number.isNaN || function (a) { return a !== a; }; - -module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; }; - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/isNaN.js": -/***/ (function(module, exports) { - -module.exports = Number.isNaN || function isNaN(a) { - return a !== a; -}; - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/isPrimitive.js": -/***/ (function(module, exports) { - -module.exports = function isPrimitive(value) { - return value === null || (typeof value !== 'function' && typeof value !== 'object'); -}; - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/mod.js": -/***/ (function(module, exports) { - -module.exports = function mod(number, modulo) { - var remain = number % modulo; - return Math.floor(remain >= 0 ? remain : remain + modulo); -}; - - -/***/ }), - -/***/ "./node_modules/es-abstract/helpers/sign.js": -/***/ (function(module, exports) { - -module.exports = function sign(number) { - return number >= 0 ? 1 : -1; -}; - - -/***/ }), - -/***/ "./node_modules/es-to-primitive/es5.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var toStr = Object.prototype.toString; - -var isPrimitive = __webpack_require__("./node_modules/es-to-primitive/helpers/isPrimitive.js"); - -var isCallable = __webpack_require__("./node_modules/is-callable/index.js"); - -// https://es5.github.io/#x8.12 -var ES5internalSlots = { - '[[DefaultValue]]': function (O, hint) { - var actualHint = hint || (toStr.call(O) === '[object Date]' ? String : Number); - - if (actualHint === String || actualHint === Number) { - var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString']; - var value, i; - for (i = 0; i < methods.length; ++i) { - if (isCallable(O[methods[i]])) { - value = O[methods[i]](); - if (isPrimitive(value)) { - return value; - } - } - } - throw new TypeError('No default value'); - } - throw new TypeError('invalid [[DefaultValue]] hint supplied'); - } -}; - -// https://es5.github.io/#x9 -module.exports = function ToPrimitive(input, PreferredType) { - if (isPrimitive(input)) { - return input; - } - return ES5internalSlots['[[DefaultValue]]'](input, PreferredType); -}; - - -/***/ }), - -/***/ "./node_modules/es-to-primitive/es6.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; - -var isPrimitive = __webpack_require__("./node_modules/es-to-primitive/helpers/isPrimitive.js"); -var isCallable = __webpack_require__("./node_modules/is-callable/index.js"); -var isDate = __webpack_require__("./node_modules/is-date-object/index.js"); -var isSymbol = __webpack_require__("./node_modules/is-symbol/index.js"); - -var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) { - if (typeof O === 'undefined' || O === null) { - throw new TypeError('Cannot call method on ' + O); - } - if (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) { - throw new TypeError('hint must be "string" or "number"'); - } - var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString']; - var method, result, i; - for (i = 0; i < methodNames.length; ++i) { - method = O[methodNames[i]]; - if (isCallable(method)) { - result = method.call(O); - if (isPrimitive(result)) { - return result; - } - } - } - throw new TypeError('No default value'); -}; - -var GetMethod = function GetMethod(O, P) { - var func = O[P]; - if (func !== null && typeof func !== 'undefined') { - if (!isCallable(func)) { - throw new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function'); - } - return func; - } -}; - -// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive -module.exports = function ToPrimitive(input, PreferredType) { - if (isPrimitive(input)) { - return input; - } - var hint = 'default'; - if (arguments.length > 1) { - if (PreferredType === String) { - hint = 'string'; - } else if (PreferredType === Number) { - hint = 'number'; - } - } - - var exoticToPrim; - if (hasSymbols) { - if (Symbol.toPrimitive) { - exoticToPrim = GetMethod(input, Symbol.toPrimitive); - } else if (isSymbol(input)) { - exoticToPrim = Symbol.prototype.valueOf; - } - } - if (typeof exoticToPrim !== 'undefined') { - var result = exoticToPrim.call(input, hint); - if (isPrimitive(result)) { - return result; - } - throw new TypeError('unable to convert exotic object to primitive'); - } - if (hint === 'default' && (isDate(input) || isSymbol(input))) { - hint = 'string'; - } - return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint); -}; - - -/***/ }), - -/***/ "./node_modules/es-to-primitive/helpers/isPrimitive.js": -/***/ (function(module, exports) { - -module.exports = function isPrimitive(value) { - return value === null || (typeof value !== 'function' && typeof value !== 'object'); -}; - - -/***/ }), - -/***/ "./node_modules/es6-shim/es6-shim.js": -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(global, process) {var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__; /*! - * https://github.com/paulmillr/es6-shim - * @license es6-shim Copyright 2013-2016 by Paul Miller (http://paulmillr.com) - * and contributors, MIT License - * es6-shim: v0.35.1 - * see https://github.com/paulmillr/es6-shim/blob/0.35.1/LICENSE - * Details and documentation: - * https://github.com/paulmillr/es6-shim/ - */ - -// UMD (Universal Module Definition) -// see https://github.com/umdjs/umd/blob/master/returnExports.js -(function (root, factory) { - /*global define, module, exports */ - if (true) { - // AMD. Register as an anonymous module. - !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), - __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? - (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : - __WEBPACK_AMD_DEFINE_FACTORY__), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - } else if (typeof exports === 'object') { - // Node. Does not work with strict CommonJS, but - // only CommonJS-like environments that support module.exports, - // like Node. - module.exports = factory(); - } else { - // Browser globals (root is window) - root.returnExports = factory(); - } -}(this, function () { - 'use strict'; - - var _apply = Function.call.bind(Function.apply); - var _call = Function.call.bind(Function.call); - var isArray = Array.isArray; - var keys = Object.keys; - - var not = function notThunker(func) { - return function notThunk() { - return !_apply(func, this, arguments); - }; - }; - var throwsError = function (func) { - try { - func(); - return false; - } catch (e) { - return true; - } - }; - var valueOrFalseIfThrows = function valueOrFalseIfThrows(func) { - try { - return func(); - } catch (e) { - return false; - } - }; - - var isCallableWithoutNew = not(throwsError); - var arePropertyDescriptorsSupported = function () { - // if Object.defineProperty exists but throws, it's IE 8 - return !throwsError(function () { - Object.defineProperty({}, 'x', { get: function () {} }); - }); - }; - var supportsDescriptors = !!Object.defineProperty && arePropertyDescriptorsSupported(); - var functionsHaveNames = (function foo() {}).name === 'foo'; // eslint-disable-line no-extra-parens - - var _forEach = Function.call.bind(Array.prototype.forEach); - var _reduce = Function.call.bind(Array.prototype.reduce); - var _filter = Function.call.bind(Array.prototype.filter); - var _some = Function.call.bind(Array.prototype.some); - - var defineProperty = function (object, name, value, force) { - if (!force && name in object) { return; } - if (supportsDescriptors) { - Object.defineProperty(object, name, { - configurable: true, - enumerable: false, - writable: true, - value: value - }); - } else { - object[name] = value; - } - }; - - // Define configurable, writable and non-enumerable props - // if they don’t exist. - var defineProperties = function (object, map, forceOverride) { - _forEach(keys(map), function (name) { - var method = map[name]; - defineProperty(object, name, method, !!forceOverride); - }); - }; - - var _toString = Function.call.bind(Object.prototype.toString); - var isCallable = false ? function IsCallableSlow(x) { - // Some old browsers (IE, FF) say that typeof /abc/ === 'function' - return typeof x === 'function' && _toString(x) === '[object Function]'; - } : function IsCallableFast(x) { return typeof x === 'function'; }; - - var Value = { - getter: function (object, name, getter) { - if (!supportsDescriptors) { - throw new TypeError('getters require true ES5 support'); - } - Object.defineProperty(object, name, { - configurable: true, - enumerable: false, - get: getter - }); - }, - proxy: function (originalObject, key, targetObject) { - if (!supportsDescriptors) { - throw new TypeError('getters require true ES5 support'); - } - var originalDescriptor = Object.getOwnPropertyDescriptor(originalObject, key); - Object.defineProperty(targetObject, key, { - configurable: originalDescriptor.configurable, - enumerable: originalDescriptor.enumerable, - get: function getKey() { return originalObject[key]; }, - set: function setKey(value) { originalObject[key] = value; } - }); - }, - redefine: function (object, property, newValue) { - if (supportsDescriptors) { - var descriptor = Object.getOwnPropertyDescriptor(object, property); - descriptor.value = newValue; - Object.defineProperty(object, property, descriptor); - } else { - object[property] = newValue; - } - }, - defineByDescriptor: function (object, property, descriptor) { - if (supportsDescriptors) { - Object.defineProperty(object, property, descriptor); - } else if ('value' in descriptor) { - object[property] = descriptor.value; - } - }, - preserveToString: function (target, source) { - if (source && isCallable(source.toString)) { - defineProperty(target, 'toString', source.toString.bind(source), true); - } - } - }; - - // Simple shim for Object.create on ES3 browsers - // (unlike real shim, no attempt to support `prototype === null`) - var create = Object.create || function (prototype, properties) { - var Prototype = function Prototype() {}; - Prototype.prototype = prototype; - var object = new Prototype(); - if (typeof properties !== 'undefined') { - keys(properties).forEach(function (key) { - Value.defineByDescriptor(object, key, properties[key]); - }); - } - return object; - }; - - var supportsSubclassing = function (C, f) { - if (!Object.setPrototypeOf) { return false; /* skip test on IE < 11 */ } - return valueOrFalseIfThrows(function () { - var Sub = function Subclass(arg) { - var o = new C(arg); - Object.setPrototypeOf(o, Subclass.prototype); - return o; - }; - Object.setPrototypeOf(Sub, C); - Sub.prototype = create(C.prototype, { - constructor: { value: Sub } - }); - return f(Sub); - }); - }; - - var getGlobal = function () { - /* global self, window, global */ - // the only reliable means to get the global object is - // `Function('return this')()` - // However, this causes CSP violations in Chrome apps. - if (typeof self !== 'undefined') { return self; } - if (typeof window !== 'undefined') { return window; } - if (typeof global !== 'undefined') { return global; } - throw new Error('unable to locate global object'); - }; - - var globals = getGlobal(); - var globalIsFinite = globals.isFinite; - var _indexOf = Function.call.bind(String.prototype.indexOf); - var _arrayIndexOfApply = Function.apply.bind(Array.prototype.indexOf); - var _concat = Function.call.bind(Array.prototype.concat); - // var _sort = Function.call.bind(Array.prototype.sort); - var _strSlice = Function.call.bind(String.prototype.slice); - var _push = Function.call.bind(Array.prototype.push); - var _pushApply = Function.apply.bind(Array.prototype.push); - var _shift = Function.call.bind(Array.prototype.shift); - var _max = Math.max; - var _min = Math.min; - var _floor = Math.floor; - var _abs = Math.abs; - var _exp = Math.exp; - var _log = Math.log; - var _sqrt = Math.sqrt; - var _hasOwnProperty = Function.call.bind(Object.prototype.hasOwnProperty); - var ArrayIterator; // make our implementation private - var noop = function () {}; - - var OrigMap = globals.Map; - var origMapDelete = OrigMap && OrigMap.prototype['delete']; - var origMapGet = OrigMap && OrigMap.prototype.get; - var origMapHas = OrigMap && OrigMap.prototype.has; - var origMapSet = OrigMap && OrigMap.prototype.set; - - var Symbol = globals.Symbol || {}; - var symbolSpecies = Symbol.species || '@@species'; - - var numberIsNaN = Number.isNaN || function isNaN(value) { - // NaN !== NaN, but they are identical. - // NaNs are the only non-reflexive value, i.e., if x !== x, - // then x is NaN. - // isNaN is broken: it converts its argument to number, so - // isNaN('foo') => true - return value !== value; - }; - var numberIsFinite = Number.isFinite || function isFinite(value) { - return typeof value === 'number' && globalIsFinite(value); - }; - var _sign = isCallable(Math.sign) ? Math.sign : function sign(value) { - var number = Number(value); - if (number === 0) { return number; } - if (numberIsNaN(number)) { return number; } - return number < 0 ? -1 : 1; - }; - - // taken directly from https://github.com/ljharb/is-arguments/blob/master/index.js - // can be replaced with require('is-arguments') if we ever use a build process instead - var isStandardArguments = function isArguments(value) { - return _toString(value) === '[object Arguments]'; - }; - var isLegacyArguments = function isArguments(value) { - return value !== null && - typeof value === 'object' && - typeof value.length === 'number' && - value.length >= 0 && - _toString(value) !== '[object Array]' && - _toString(value.callee) === '[object Function]'; - }; - var isArguments = isStandardArguments(arguments) ? isStandardArguments : isLegacyArguments; - - var Type = { - primitive: function (x) { return x === null || (typeof x !== 'function' && typeof x !== 'object'); }, - string: function (x) { return _toString(x) === '[object String]'; }, - regex: function (x) { return _toString(x) === '[object RegExp]'; }, - symbol: function (x) { - return typeof globals.Symbol === 'function' && typeof x === 'symbol'; - } - }; - - var overrideNative = function overrideNative(object, property, replacement) { - var original = object[property]; - defineProperty(object, property, replacement, true); - Value.preserveToString(object[property], original); - }; - - // eslint-disable-next-line no-restricted-properties - var hasSymbols = typeof Symbol === 'function' && typeof Symbol['for'] === 'function' && Type.symbol(Symbol()); - - // This is a private name in the es6 spec, equal to '[Symbol.iterator]' - // we're going to use an arbitrary _-prefixed name to make our shims - // work properly with each other, even though we don't have full Iterator - // support. That is, `Array.from(map.keys())` will work, but we don't - // pretend to export a "real" Iterator interface. - var $iterator$ = Type.symbol(Symbol.iterator) ? Symbol.iterator : '_es6-shim iterator_'; - // Firefox ships a partial implementation using the name @@iterator. - // https://bugzilla.mozilla.org/show_bug.cgi?id=907077#c14 - // So use that name if we detect it. - if (globals.Set && typeof new globals.Set()['@@iterator'] === 'function') { - $iterator$ = '@@iterator'; - } - - // Reflect - if (!globals.Reflect) { - defineProperty(globals, 'Reflect', {}, true); - } - var Reflect = globals.Reflect; - - var $String = String; - - /* global document */ - var domAll = (typeof document === 'undefined' || !document) ? null : document.all; - /* jshint eqnull:true */ - var isNullOrUndefined = domAll == null ? function isNullOrUndefined(x) { - /* jshint eqnull:true */ - return x == null; - } : function isNullOrUndefinedAndNotDocumentAll(x) { - /* jshint eqnull:true */ - return x == null && x !== domAll; - }; - - var ES = { - // http://www.ecma-international.org/ecma-262/6.0/#sec-call - Call: function Call(F, V) { - var args = arguments.length > 2 ? arguments[2] : []; - if (!ES.IsCallable(F)) { - throw new TypeError(F + ' is not a function'); - } - return _apply(F, V, args); - }, - - RequireObjectCoercible: function (x, optMessage) { - if (isNullOrUndefined(x)) { - throw new TypeError(optMessage || 'Cannot call method on ' + x); - } - return x; - }, - - // This might miss the "(non-standard exotic and does not implement - // [[Call]])" case from - // http://www.ecma-international.org/ecma-262/6.0/#sec-typeof-operator-runtime-semantics-evaluation - // but we can't find any evidence these objects exist in practice. - // If we find some in the future, you could test `Object(x) === x`, - // which is reliable according to - // http://www.ecma-international.org/ecma-262/6.0/#sec-toobject - // but is not well optimized by runtimes and creates an object - // whenever it returns false, and thus is very slow. - TypeIsObject: function (x) { - if (x === void 0 || x === null || x === true || x === false) { - return false; - } - return typeof x === 'function' || typeof x === 'object' || x === domAll; - }, - - ToObject: function (o, optMessage) { - return Object(ES.RequireObjectCoercible(o, optMessage)); - }, - - IsCallable: isCallable, - - IsConstructor: function (x) { - // We can't tell callables from constructors in ES5 - return ES.IsCallable(x); - }, - - ToInt32: function (x) { - return ES.ToNumber(x) >> 0; - }, - - ToUint32: function (x) { - return ES.ToNumber(x) >>> 0; - }, - - ToNumber: function (value) { - if (_toString(value) === '[object Symbol]') { - throw new TypeError('Cannot convert a Symbol value to a number'); - } - return +value; - }, - - ToInteger: function (value) { - var number = ES.ToNumber(value); - if (numberIsNaN(number)) { return 0; } - if (number === 0 || !numberIsFinite(number)) { return number; } - return (number > 0 ? 1 : -1) * _floor(_abs(number)); - }, - - ToLength: function (value) { - var len = ES.ToInteger(value); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > Number.MAX_SAFE_INTEGER) { return Number.MAX_SAFE_INTEGER; } - return len; - }, - - SameValue: function (a, b) { - if (a === b) { - // 0 === -0, but they are not identical. - if (a === 0) { return 1 / a === 1 / b; } - return true; - } - return numberIsNaN(a) && numberIsNaN(b); - }, - - SameValueZero: function (a, b) { - // same as SameValue except for SameValueZero(+0, -0) == true - return (a === b) || (numberIsNaN(a) && numberIsNaN(b)); - }, - - IsIterable: function (o) { - return ES.TypeIsObject(o) && (typeof o[$iterator$] !== 'undefined' || isArguments(o)); - }, - - GetIterator: function (o) { - if (isArguments(o)) { - // special case support for `arguments` - return new ArrayIterator(o, 'value'); - } - var itFn = ES.GetMethod(o, $iterator$); - if (!ES.IsCallable(itFn)) { - // Better diagnostics if itFn is null or undefined - throw new TypeError('value is not an iterable'); - } - var it = ES.Call(itFn, o); - if (!ES.TypeIsObject(it)) { - throw new TypeError('bad iterator'); - } - return it; - }, - - GetMethod: function (o, p) { - var func = ES.ToObject(o)[p]; - if (isNullOrUndefined(func)) { - return void 0; - } - if (!ES.IsCallable(func)) { - throw new TypeError('Method not callable: ' + p); - } - return func; - }, - - IteratorComplete: function (iterResult) { - return !!iterResult.done; - }, - - IteratorClose: function (iterator, completionIsThrow) { - var returnMethod = ES.GetMethod(iterator, 'return'); - if (returnMethod === void 0) { - return; - } - var innerResult, innerException; - try { - innerResult = ES.Call(returnMethod, iterator); - } catch (e) { - innerException = e; - } - if (completionIsThrow) { - return; - } - if (innerException) { - throw innerException; - } - if (!ES.TypeIsObject(innerResult)) { - throw new TypeError("Iterator's return method returned a non-object."); - } - }, - - IteratorNext: function (it) { - var result = arguments.length > 1 ? it.next(arguments[1]) : it.next(); - if (!ES.TypeIsObject(result)) { - throw new TypeError('bad iterator'); - } - return result; - }, - - IteratorStep: function (it) { - var result = ES.IteratorNext(it); - var done = ES.IteratorComplete(result); - return done ? false : result; - }, - - Construct: function (C, args, newTarget, isES6internal) { - var target = typeof newTarget === 'undefined' ? C : newTarget; - - if (!isES6internal && Reflect.construct) { - // Try to use Reflect.construct if available - return Reflect.construct(C, args, target); - } - // OK, we have to fake it. This will only work if the - // C.[[ConstructorKind]] == "base" -- but that's the only - // kind we can make in ES5 code anyway. - - // OrdinaryCreateFromConstructor(target, "%ObjectPrototype%") - var proto = target.prototype; - if (!ES.TypeIsObject(proto)) { - proto = Object.prototype; - } - var obj = create(proto); - // Call the constructor. - var result = ES.Call(C, obj, args); - return ES.TypeIsObject(result) ? result : obj; - }, - - SpeciesConstructor: function (O, defaultConstructor) { - var C = O.constructor; - if (C === void 0) { - return defaultConstructor; - } - if (!ES.TypeIsObject(C)) { - throw new TypeError('Bad constructor'); - } - var S = C[symbolSpecies]; - if (isNullOrUndefined(S)) { - return defaultConstructor; - } - if (!ES.IsConstructor(S)) { - throw new TypeError('Bad @@species'); - } - return S; - }, - - CreateHTML: function (string, tag, attribute, value) { - var S = ES.ToString(string); - var p1 = '<' + tag; - if (attribute !== '') { - var V = ES.ToString(value); - var escapedV = V.replace(/"/g, '"'); - p1 += ' ' + attribute + '="' + escapedV + '"'; - } - var p2 = p1 + '>'; - var p3 = p2 + S; - return p3 + ''; - }, - - IsRegExp: function IsRegExp(argument) { - if (!ES.TypeIsObject(argument)) { - return false; - } - var isRegExp = argument[Symbol.match]; - if (typeof isRegExp !== 'undefined') { - return !!isRegExp; - } - return Type.regex(argument); - }, - - ToString: function ToString(string) { - return $String(string); - } - }; - - // Well-known Symbol shims - if (supportsDescriptors && hasSymbols) { - var defineWellKnownSymbol = function defineWellKnownSymbol(name) { - if (Type.symbol(Symbol[name])) { - return Symbol[name]; - } - // eslint-disable-next-line no-restricted-properties - var sym = Symbol['for']('Symbol.' + name); - Object.defineProperty(Symbol, name, { - configurable: false, - enumerable: false, - writable: false, - value: sym - }); - return sym; - }; - if (!Type.symbol(Symbol.search)) { - var symbolSearch = defineWellKnownSymbol('search'); - var originalSearch = String.prototype.search; - defineProperty(RegExp.prototype, symbolSearch, function search(string) { - return ES.Call(originalSearch, string, [this]); - }); - var searchShim = function search(regexp) { - var O = ES.RequireObjectCoercible(this); - if (!isNullOrUndefined(regexp)) { - var searcher = ES.GetMethod(regexp, symbolSearch); - if (typeof searcher !== 'undefined') { - return ES.Call(searcher, regexp, [O]); - } - } - return ES.Call(originalSearch, O, [ES.ToString(regexp)]); - }; - overrideNative(String.prototype, 'search', searchShim); - } - if (!Type.symbol(Symbol.replace)) { - var symbolReplace = defineWellKnownSymbol('replace'); - var originalReplace = String.prototype.replace; - defineProperty(RegExp.prototype, symbolReplace, function replace(string, replaceValue) { - return ES.Call(originalReplace, string, [this, replaceValue]); - }); - var replaceShim = function replace(searchValue, replaceValue) { - var O = ES.RequireObjectCoercible(this); - if (!isNullOrUndefined(searchValue)) { - var replacer = ES.GetMethod(searchValue, symbolReplace); - if (typeof replacer !== 'undefined') { - return ES.Call(replacer, searchValue, [O, replaceValue]); - } - } - return ES.Call(originalReplace, O, [ES.ToString(searchValue), replaceValue]); - }; - overrideNative(String.prototype, 'replace', replaceShim); - } - if (!Type.symbol(Symbol.split)) { - var symbolSplit = defineWellKnownSymbol('split'); - var originalSplit = String.prototype.split; - defineProperty(RegExp.prototype, symbolSplit, function split(string, limit) { - return ES.Call(originalSplit, string, [this, limit]); - }); - var splitShim = function split(separator, limit) { - var O = ES.RequireObjectCoercible(this); - if (!isNullOrUndefined(separator)) { - var splitter = ES.GetMethod(separator, symbolSplit); - if (typeof splitter !== 'undefined') { - return ES.Call(splitter, separator, [O, limit]); - } - } - return ES.Call(originalSplit, O, [ES.ToString(separator), limit]); - }; - overrideNative(String.prototype, 'split', splitShim); - } - var symbolMatchExists = Type.symbol(Symbol.match); - var stringMatchIgnoresSymbolMatch = symbolMatchExists && (function () { - // Firefox 41, through Nightly 45 has Symbol.match, but String#match ignores it. - // Firefox 40 and below have Symbol.match but String#match works fine. - var o = {}; - o[Symbol.match] = function () { return 42; }; - return 'a'.match(o) !== 42; - }()); - if (!symbolMatchExists || stringMatchIgnoresSymbolMatch) { - var symbolMatch = defineWellKnownSymbol('match'); - - var originalMatch = String.prototype.match; - defineProperty(RegExp.prototype, symbolMatch, function match(string) { - return ES.Call(originalMatch, string, [this]); - }); - - var matchShim = function match(regexp) { - var O = ES.RequireObjectCoercible(this); - if (!isNullOrUndefined(regexp)) { - var matcher = ES.GetMethod(regexp, symbolMatch); - if (typeof matcher !== 'undefined') { - return ES.Call(matcher, regexp, [O]); - } - } - return ES.Call(originalMatch, O, [ES.ToString(regexp)]); - }; - overrideNative(String.prototype, 'match', matchShim); - } - } - - var wrapConstructor = function wrapConstructor(original, replacement, keysToSkip) { - Value.preserveToString(replacement, original); - if (Object.setPrototypeOf) { - // sets up proper prototype chain where possible - Object.setPrototypeOf(original, replacement); - } - if (supportsDescriptors) { - _forEach(Object.getOwnPropertyNames(original), function (key) { - if (key in noop || keysToSkip[key]) { return; } - Value.proxy(original, key, replacement); - }); - } else { - _forEach(Object.keys(original), function (key) { - if (key in noop || keysToSkip[key]) { return; } - replacement[key] = original[key]; - }); - } - replacement.prototype = original.prototype; - Value.redefine(original.prototype, 'constructor', replacement); - }; - - var defaultSpeciesGetter = function () { return this; }; - var addDefaultSpecies = function (C) { - if (supportsDescriptors && !_hasOwnProperty(C, symbolSpecies)) { - Value.getter(C, symbolSpecies, defaultSpeciesGetter); - } - }; - - var addIterator = function (prototype, impl) { - var implementation = impl || function iterator() { return this; }; - defineProperty(prototype, $iterator$, implementation); - if (!prototype[$iterator$] && Type.symbol($iterator$)) { - // implementations are buggy when $iterator$ is a Symbol - prototype[$iterator$] = implementation; - } - }; - - var createDataProperty = function createDataProperty(object, name, value) { - if (supportsDescriptors) { - Object.defineProperty(object, name, { - configurable: true, - enumerable: true, - writable: true, - value: value - }); - } else { - object[name] = value; - } - }; - var createDataPropertyOrThrow = function createDataPropertyOrThrow(object, name, value) { - createDataProperty(object, name, value); - if (!ES.SameValue(object[name], value)) { - throw new TypeError('property is nonconfigurable'); - } - }; - - var emulateES6construct = function (o, defaultNewTarget, defaultProto, slots) { - // This is an es5 approximation to es6 construct semantics. in es6, - // 'new Foo' invokes Foo.[[Construct]] which (for almost all objects) - // just sets the internal variable NewTarget (in es6 syntax `new.target`) - // to Foo and then returns Foo(). - - // Many ES6 object then have constructors of the form: - // 1. If NewTarget is undefined, throw a TypeError exception - // 2. Let xxx by OrdinaryCreateFromConstructor(NewTarget, yyy, zzz) - - // So we're going to emulate those first two steps. - if (!ES.TypeIsObject(o)) { - throw new TypeError('Constructor requires `new`: ' + defaultNewTarget.name); - } - var proto = defaultNewTarget.prototype; - if (!ES.TypeIsObject(proto)) { - proto = defaultProto; - } - var obj = create(proto); - for (var name in slots) { - if (_hasOwnProperty(slots, name)) { - var value = slots[name]; - defineProperty(obj, name, value, true); - } - } - return obj; - }; - - // Firefox 31 reports this function's length as 0 - // https://bugzilla.mozilla.org/show_bug.cgi?id=1062484 - if (String.fromCodePoint && String.fromCodePoint.length !== 1) { - var originalFromCodePoint = String.fromCodePoint; - overrideNative(String, 'fromCodePoint', function fromCodePoint(codePoints) { - return ES.Call(originalFromCodePoint, this, arguments); - }); - } - - var StringShims = { - fromCodePoint: function fromCodePoint(codePoints) { - var result = []; - var next; - for (var i = 0, length = arguments.length; i < length; i++) { - next = Number(arguments[i]); - if (!ES.SameValue(next, ES.ToInteger(next)) || next < 0 || next > 0x10FFFF) { - throw new RangeError('Invalid code point ' + next); - } - - if (next < 0x10000) { - _push(result, String.fromCharCode(next)); - } else { - next -= 0x10000; - _push(result, String.fromCharCode((next >> 10) + 0xD800)); - _push(result, String.fromCharCode((next % 0x400) + 0xDC00)); - } - } - return result.join(''); - }, - - raw: function raw(callSite) { - var cooked = ES.ToObject(callSite, 'bad callSite'); - var rawString = ES.ToObject(cooked.raw, 'bad raw value'); - var len = rawString.length; - var literalsegments = ES.ToLength(len); - if (literalsegments <= 0) { - return ''; - } - - var stringElements = []; - var nextIndex = 0; - var nextKey, next, nextSeg, nextSub; - while (nextIndex < literalsegments) { - nextKey = ES.ToString(nextIndex); - nextSeg = ES.ToString(rawString[nextKey]); - _push(stringElements, nextSeg); - if (nextIndex + 1 >= literalsegments) { - break; - } - next = nextIndex + 1 < arguments.length ? arguments[nextIndex + 1] : ''; - nextSub = ES.ToString(next); - _push(stringElements, nextSub); - nextIndex += 1; - } - return stringElements.join(''); - } - }; - if (String.raw && String.raw({ raw: { 0: 'x', 1: 'y', length: 2 } }) !== 'xy') { - // IE 11 TP has a broken String.raw implementation - overrideNative(String, 'raw', StringShims.raw); - } - defineProperties(String, StringShims); - - // Fast repeat, uses the `Exponentiation by squaring` algorithm. - // Perf: http://jsperf.com/string-repeat2/2 - var stringRepeat = function repeat(s, times) { - if (times < 1) { return ''; } - if (times % 2) { return repeat(s, times - 1) + s; } - var half = repeat(s, times / 2); - return half + half; - }; - var stringMaxLength = Infinity; - - var StringPrototypeShims = { - repeat: function repeat(times) { - var thisStr = ES.ToString(ES.RequireObjectCoercible(this)); - var numTimes = ES.ToInteger(times); - if (numTimes < 0 || numTimes >= stringMaxLength) { - throw new RangeError('repeat count must be less than infinity and not overflow maximum string size'); - } - return stringRepeat(thisStr, numTimes); - }, - - startsWith: function startsWith(searchString) { - var S = ES.ToString(ES.RequireObjectCoercible(this)); - if (ES.IsRegExp(searchString)) { - throw new TypeError('Cannot call method "startsWith" with a regex'); - } - var searchStr = ES.ToString(searchString); - var position; - if (arguments.length > 1) { - position = arguments[1]; - } - var start = _max(ES.ToInteger(position), 0); - return _strSlice(S, start, start + searchStr.length) === searchStr; - }, - - endsWith: function endsWith(searchString) { - var S = ES.ToString(ES.RequireObjectCoercible(this)); - if (ES.IsRegExp(searchString)) { - throw new TypeError('Cannot call method "endsWith" with a regex'); - } - var searchStr = ES.ToString(searchString); - var len = S.length; - var endPosition; - if (arguments.length > 1) { - endPosition = arguments[1]; - } - var pos = typeof endPosition === 'undefined' ? len : ES.ToInteger(endPosition); - var end = _min(_max(pos, 0), len); - return _strSlice(S, end - searchStr.length, end) === searchStr; - }, - - includes: function includes(searchString) { - if (ES.IsRegExp(searchString)) { - throw new TypeError('"includes" does not accept a RegExp'); - } - var searchStr = ES.ToString(searchString); - var position; - if (arguments.length > 1) { - position = arguments[1]; - } - // Somehow this trick makes method 100% compat with the spec. - return _indexOf(this, searchStr, position) !== -1; - }, - - codePointAt: function codePointAt(pos) { - var thisStr = ES.ToString(ES.RequireObjectCoercible(this)); - var position = ES.ToInteger(pos); - var length = thisStr.length; - if (position >= 0 && position < length) { - var first = thisStr.charCodeAt(position); - var isEnd = position + 1 === length; - if (first < 0xD800 || first > 0xDBFF || isEnd) { return first; } - var second = thisStr.charCodeAt(position + 1); - if (second < 0xDC00 || second > 0xDFFF) { return first; } - return ((first - 0xD800) * 1024) + (second - 0xDC00) + 0x10000; - } - } - }; - if (String.prototype.includes && 'a'.includes('a', Infinity) !== false) { - overrideNative(String.prototype, 'includes', StringPrototypeShims.includes); - } - - if (String.prototype.startsWith && String.prototype.endsWith) { - var startsWithRejectsRegex = throwsError(function () { - /* throws if spec-compliant */ - '/a/'.startsWith(/a/); - }); - var startsWithHandlesInfinity = valueOrFalseIfThrows(function () { - return 'abc'.startsWith('a', Infinity) === false; - }); - if (!startsWithRejectsRegex || !startsWithHandlesInfinity) { - // Firefox (< 37?) and IE 11 TP have a noncompliant startsWith implementation - overrideNative(String.prototype, 'startsWith', StringPrototypeShims.startsWith); - overrideNative(String.prototype, 'endsWith', StringPrototypeShims.endsWith); - } - } - if (hasSymbols) { - var startsWithSupportsSymbolMatch = valueOrFalseIfThrows(function () { - var re = /a/; - re[Symbol.match] = false; - return '/a/'.startsWith(re); - }); - if (!startsWithSupportsSymbolMatch) { - overrideNative(String.prototype, 'startsWith', StringPrototypeShims.startsWith); - } - var endsWithSupportsSymbolMatch = valueOrFalseIfThrows(function () { - var re = /a/; - re[Symbol.match] = false; - return '/a/'.endsWith(re); - }); - if (!endsWithSupportsSymbolMatch) { - overrideNative(String.prototype, 'endsWith', StringPrototypeShims.endsWith); - } - var includesSupportsSymbolMatch = valueOrFalseIfThrows(function () { - var re = /a/; - re[Symbol.match] = false; - return '/a/'.includes(re); - }); - if (!includesSupportsSymbolMatch) { - overrideNative(String.prototype, 'includes', StringPrototypeShims.includes); - } - } - - defineProperties(String.prototype, StringPrototypeShims); - - // whitespace from: http://es5.github.io/#x15.5.4.20 - // implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 - var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' - ].join(''); - var trimRegexp = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); - var trimShim = function trim() { - return ES.ToString(ES.RequireObjectCoercible(this)).replace(trimRegexp, ''); - }; - var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); - var nonWSregex = new RegExp('[' + nonWS + ']', 'g'); - var isBadHexRegex = /^[-+]0x[0-9a-f]+$/i; - var hasStringTrimBug = nonWS.trim().length !== nonWS.length; - defineProperty(String.prototype, 'trim', trimShim, hasStringTrimBug); - - // Given an argument x, it will return an IteratorResult object, - // with value set to x and done to false. - // Given no arguments, it will return an iterator completion object. - var iteratorResult = function (x) { - return { value: x, done: arguments.length === 0 }; - }; - - // see http://www.ecma-international.org/ecma-262/6.0/#sec-string.prototype-@@iterator - var StringIterator = function (s) { - ES.RequireObjectCoercible(s); - this._s = ES.ToString(s); - this._i = 0; - }; - StringIterator.prototype.next = function () { - var s = this._s; - var i = this._i; - if (typeof s === 'undefined' || i >= s.length) { - this._s = void 0; - return iteratorResult(); - } - var first = s.charCodeAt(i); - var second, len; - if (first < 0xD800 || first > 0xDBFF || (i + 1) === s.length) { - len = 1; - } else { - second = s.charCodeAt(i + 1); - len = (second < 0xDC00 || second > 0xDFFF) ? 1 : 2; - } - this._i = i + len; - return iteratorResult(s.substr(i, len)); - }; - addIterator(StringIterator.prototype); - addIterator(String.prototype, function () { - return new StringIterator(this); - }); - - var ArrayShims = { - from: function from(items) { - var C = this; - var mapFn; - if (arguments.length > 1) { - mapFn = arguments[1]; - } - var mapping, T; - if (typeof mapFn === 'undefined') { - mapping = false; - } else { - if (!ES.IsCallable(mapFn)) { - throw new TypeError('Array.from: when provided, the second argument must be a function'); - } - if (arguments.length > 2) { - T = arguments[2]; - } - mapping = true; - } - - // Note that that Arrays will use ArrayIterator: - // https://bugs.ecmascript.org/show_bug.cgi?id=2416 - var usingIterator = typeof (isArguments(items) || ES.GetMethod(items, $iterator$)) !== 'undefined'; - - var length, result, i; - if (usingIterator) { - result = ES.IsConstructor(C) ? Object(new C()) : []; - var iterator = ES.GetIterator(items); - var next, nextValue; - - i = 0; - while (true) { - next = ES.IteratorStep(iterator); - if (next === false) { - break; - } - nextValue = next.value; - try { - if (mapping) { - nextValue = typeof T === 'undefined' ? mapFn(nextValue, i) : _call(mapFn, T, nextValue, i); - } - result[i] = nextValue; - } catch (e) { - ES.IteratorClose(iterator, true); - throw e; - } - i += 1; - } - length = i; - } else { - var arrayLike = ES.ToObject(items); - length = ES.ToLength(arrayLike.length); - result = ES.IsConstructor(C) ? Object(new C(length)) : new Array(length); - var value; - for (i = 0; i < length; ++i) { - value = arrayLike[i]; - if (mapping) { - value = typeof T === 'undefined' ? mapFn(value, i) : _call(mapFn, T, value, i); - } - createDataPropertyOrThrow(result, i, value); - } - } - - result.length = length; - return result; - }, - - of: function of() { - var len = arguments.length; - var C = this; - var A = isArray(C) || !ES.IsCallable(C) ? new Array(len) : ES.Construct(C, [len]); - for (var k = 0; k < len; ++k) { - createDataPropertyOrThrow(A, k, arguments[k]); - } - A.length = len; - return A; - } - }; - defineProperties(Array, ArrayShims); - addDefaultSpecies(Array); - - // Our ArrayIterator is private; see - // https://github.com/paulmillr/es6-shim/issues/252 - ArrayIterator = function (array, kind) { - this.i = 0; - this.array = array; - this.kind = kind; - }; - - defineProperties(ArrayIterator.prototype, { - next: function () { - var i = this.i; - var array = this.array; - if (!(this instanceof ArrayIterator)) { - throw new TypeError('Not an ArrayIterator'); - } - if (typeof array !== 'undefined') { - var len = ES.ToLength(array.length); - for (; i < len; i++) { - var kind = this.kind; - var retval; - if (kind === 'key') { - retval = i; - } else if (kind === 'value') { - retval = array[i]; - } else if (kind === 'entry') { - retval = [i, array[i]]; - } - this.i = i + 1; - return iteratorResult(retval); - } - } - this.array = void 0; - return iteratorResult(); - } - }); - addIterator(ArrayIterator.prototype); - -/* - var orderKeys = function orderKeys(a, b) { - var aNumeric = String(ES.ToInteger(a)) === a; - var bNumeric = String(ES.ToInteger(b)) === b; - if (aNumeric && bNumeric) { - return b - a; - } else if (aNumeric && !bNumeric) { - return -1; - } else if (!aNumeric && bNumeric) { - return 1; - } else { - return a.localeCompare(b); - } - }; - - var getAllKeys = function getAllKeys(object) { - var ownKeys = []; - var keys = []; - - for (var key in object) { - _push(_hasOwnProperty(object, key) ? ownKeys : keys, key); - } - _sort(ownKeys, orderKeys); - _sort(keys, orderKeys); - - return _concat(ownKeys, keys); - }; - */ - - // note: this is positioned here because it depends on ArrayIterator - var arrayOfSupportsSubclassing = Array.of === ArrayShims.of || (function () { - // Detects a bug in Webkit nightly r181886 - var Foo = function Foo(len) { this.length = len; }; - Foo.prototype = []; - var fooArr = Array.of.apply(Foo, [1, 2]); - return fooArr instanceof Foo && fooArr.length === 2; - }()); - if (!arrayOfSupportsSubclassing) { - overrideNative(Array, 'of', ArrayShims.of); - } - - var ArrayPrototypeShims = { - copyWithin: function copyWithin(target, start) { - var o = ES.ToObject(this); - var len = ES.ToLength(o.length); - var relativeTarget = ES.ToInteger(target); - var relativeStart = ES.ToInteger(start); - var to = relativeTarget < 0 ? _max(len + relativeTarget, 0) : _min(relativeTarget, len); - var from = relativeStart < 0 ? _max(len + relativeStart, 0) : _min(relativeStart, len); - var end; - if (arguments.length > 2) { - end = arguments[2]; - } - var relativeEnd = typeof end === 'undefined' ? len : ES.ToInteger(end); - var finalItem = relativeEnd < 0 ? _max(len + relativeEnd, 0) : _min(relativeEnd, len); - var count = _min(finalItem - from, len - to); - var direction = 1; - if (from < to && to < (from + count)) { - direction = -1; - from += count - 1; - to += count - 1; - } - while (count > 0) { - if (from in o) { - o[to] = o[from]; - } else { - delete o[to]; - } - from += direction; - to += direction; - count -= 1; - } - return o; - }, - - fill: function fill(value) { - var start; - if (arguments.length > 1) { - start = arguments[1]; - } - var end; - if (arguments.length > 2) { - end = arguments[2]; - } - var O = ES.ToObject(this); - var len = ES.ToLength(O.length); - start = ES.ToInteger(typeof start === 'undefined' ? 0 : start); - end = ES.ToInteger(typeof end === 'undefined' ? len : end); - - var relativeStart = start < 0 ? _max(len + start, 0) : _min(start, len); - var relativeEnd = end < 0 ? len + end : end; - - for (var i = relativeStart; i < len && i < relativeEnd; ++i) { - O[i] = value; - } - return O; - }, - - find: function find(predicate) { - var list = ES.ToObject(this); - var length = ES.ToLength(list.length); - if (!ES.IsCallable(predicate)) { - throw new TypeError('Array#find: predicate must be a function'); - } - var thisArg = arguments.length > 1 ? arguments[1] : null; - for (var i = 0, value; i < length; i++) { - value = list[i]; - if (thisArg) { - if (_call(predicate, thisArg, value, i, list)) { - return value; - } - } else if (predicate(value, i, list)) { - return value; - } - } - }, - - findIndex: function findIndex(predicate) { - var list = ES.ToObject(this); - var length = ES.ToLength(list.length); - if (!ES.IsCallable(predicate)) { - throw new TypeError('Array#findIndex: predicate must be a function'); - } - var thisArg = arguments.length > 1 ? arguments[1] : null; - for (var i = 0; i < length; i++) { - if (thisArg) { - if (_call(predicate, thisArg, list[i], i, list)) { - return i; - } - } else if (predicate(list[i], i, list)) { - return i; - } - } - return -1; - }, - - keys: function keys() { - return new ArrayIterator(this, 'key'); - }, - - values: function values() { - return new ArrayIterator(this, 'value'); - }, - - entries: function entries() { - return new ArrayIterator(this, 'entry'); - } - }; - // Safari 7.1 defines Array#keys and Array#entries natively, - // but the resulting ArrayIterator objects don't have a "next" method. - if (Array.prototype.keys && !ES.IsCallable([1].keys().next)) { - delete Array.prototype.keys; - } - if (Array.prototype.entries && !ES.IsCallable([1].entries().next)) { - delete Array.prototype.entries; - } - - // Chrome 38 defines Array#keys and Array#entries, and Array#@@iterator, but not Array#values - if (Array.prototype.keys && Array.prototype.entries && !Array.prototype.values && Array.prototype[$iterator$]) { - defineProperties(Array.prototype, { - values: Array.prototype[$iterator$] - }); - if (Type.symbol(Symbol.unscopables)) { - Array.prototype[Symbol.unscopables].values = true; - } - } - // Chrome 40 defines Array#values with the incorrect name, although Array#{keys,entries} have the correct name - if (functionsHaveNames && Array.prototype.values && Array.prototype.values.name !== 'values') { - var originalArrayPrototypeValues = Array.prototype.values; - overrideNative(Array.prototype, 'values', function values() { return ES.Call(originalArrayPrototypeValues, this, arguments); }); - defineProperty(Array.prototype, $iterator$, Array.prototype.values, true); - } - defineProperties(Array.prototype, ArrayPrototypeShims); - - if (1 / [true].indexOf(true, -0) < 0) { - // indexOf when given a position arg of -0 should return +0. - // https://github.com/tc39/ecma262/pull/316 - defineProperty(Array.prototype, 'indexOf', function indexOf(searchElement) { - var value = _arrayIndexOfApply(this, arguments); - if (value === 0 && (1 / value) < 0) { - return 0; - } - return value; - }, true); - } - - addIterator(Array.prototype, function () { return this.values(); }); - // Chrome defines keys/values/entries on Array, but doesn't give us - // any way to identify its iterator. So add our own shimmed field. - if (Object.getPrototypeOf) { - addIterator(Object.getPrototypeOf([].values())); - } - - // note: this is positioned here because it relies on Array#entries - var arrayFromSwallowsNegativeLengths = (function () { - // Detects a Firefox bug in v32 - // https://bugzilla.mozilla.org/show_bug.cgi?id=1063993 - return valueOrFalseIfThrows(function () { - return Array.from({ length: -1 }).length === 0; - }); - }()); - var arrayFromHandlesIterables = (function () { - // Detects a bug in Webkit nightly r181886 - var arr = Array.from([0].entries()); - return arr.length === 1 && isArray(arr[0]) && arr[0][0] === 0 && arr[0][1] === 0; - }()); - if (!arrayFromSwallowsNegativeLengths || !arrayFromHandlesIterables) { - overrideNative(Array, 'from', ArrayShims.from); - } - var arrayFromHandlesUndefinedMapFunction = (function () { - // Microsoft Edge v0.11 throws if the mapFn argument is *provided* but undefined, - // but the spec doesn't care if it's provided or not - undefined doesn't throw. - return valueOrFalseIfThrows(function () { - return Array.from([0], void 0); - }); - }()); - if (!arrayFromHandlesUndefinedMapFunction) { - var origArrayFrom = Array.from; - overrideNative(Array, 'from', function from(items) { - if (arguments.length > 1 && typeof arguments[1] !== 'undefined') { - return ES.Call(origArrayFrom, this, arguments); - } else { - return _call(origArrayFrom, this, items); - } - }); - } - - var int32sAsOne = -(Math.pow(2, 32) - 1); - var toLengthsCorrectly = function (method, reversed) { - var obj = { length: int32sAsOne }; - obj[reversed ? (obj.length >>> 0) - 1 : 0] = true; - return valueOrFalseIfThrows(function () { - _call(method, obj, function () { - // note: in nonconforming browsers, this will be called - // -1 >>> 0 times, which is 4294967295, so the throw matters. - throw new RangeError('should not reach here'); - }, []); - return true; - }); - }; - if (!toLengthsCorrectly(Array.prototype.forEach)) { - var originalForEach = Array.prototype.forEach; - overrideNative(Array.prototype, 'forEach', function forEach(callbackFn) { - return ES.Call(originalForEach, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.map)) { - var originalMap = Array.prototype.map; - overrideNative(Array.prototype, 'map', function map(callbackFn) { - return ES.Call(originalMap, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.filter)) { - var originalFilter = Array.prototype.filter; - overrideNative(Array.prototype, 'filter', function filter(callbackFn) { - return ES.Call(originalFilter, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.some)) { - var originalSome = Array.prototype.some; - overrideNative(Array.prototype, 'some', function some(callbackFn) { - return ES.Call(originalSome, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.every)) { - var originalEvery = Array.prototype.every; - overrideNative(Array.prototype, 'every', function every(callbackFn) { - return ES.Call(originalEvery, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.reduce)) { - var originalReduce = Array.prototype.reduce; - overrideNative(Array.prototype, 'reduce', function reduce(callbackFn) { - return ES.Call(originalReduce, this.length >= 0 ? this : [], arguments); - }, true); - } - if (!toLengthsCorrectly(Array.prototype.reduceRight, true)) { - var originalReduceRight = Array.prototype.reduceRight; - overrideNative(Array.prototype, 'reduceRight', function reduceRight(callbackFn) { - return ES.Call(originalReduceRight, this.length >= 0 ? this : [], arguments); - }, true); - } - - var lacksOctalSupport = Number('0o10') !== 8; - var lacksBinarySupport = Number('0b10') !== 2; - var trimsNonWhitespace = _some(nonWS, function (c) { - return Number(c + 0 + c) === 0; - }); - if (lacksOctalSupport || lacksBinarySupport || trimsNonWhitespace) { - var OrigNumber = Number; - var binaryRegex = /^0b[01]+$/i; - var octalRegex = /^0o[0-7]+$/i; - // Note that in IE 8, RegExp.prototype.test doesn't seem to exist: ie, "test" is an own property of regexes. wtf. - var isBinary = binaryRegex.test.bind(binaryRegex); - var isOctal = octalRegex.test.bind(octalRegex); - var toPrimitive = function (O) { // need to replace this with `es-to-primitive/es6` - var result; - if (typeof O.valueOf === 'function') { - result = O.valueOf(); - if (Type.primitive(result)) { - return result; - } - } - if (typeof O.toString === 'function') { - result = O.toString(); - if (Type.primitive(result)) { - return result; - } - } - throw new TypeError('No default value'); - }; - var hasNonWS = nonWSregex.test.bind(nonWSregex); - var isBadHex = isBadHexRegex.test.bind(isBadHexRegex); - var NumberShim = (function () { - // this is wrapped in an IIFE because of IE 6-8's wacky scoping issues with named function expressions. - var NumberShim = function Number(value) { - var primValue; - if (arguments.length > 0) { - primValue = Type.primitive(value) ? value : toPrimitive(value, 'number'); - } else { - primValue = 0; - } - if (typeof primValue === 'string') { - primValue = ES.Call(trimShim, primValue); - if (isBinary(primValue)) { - primValue = parseInt(_strSlice(primValue, 2), 2); - } else if (isOctal(primValue)) { - primValue = parseInt(_strSlice(primValue, 2), 8); - } else if (hasNonWS(primValue) || isBadHex(primValue)) { - primValue = NaN; - } - } - var receiver = this; - var valueOfSucceeds = valueOrFalseIfThrows(function () { - OrigNumber.prototype.valueOf.call(receiver); - return true; - }); - if (receiver instanceof NumberShim && !valueOfSucceeds) { - return new OrigNumber(primValue); - } - /* jshint newcap: false */ - return OrigNumber(primValue); - /* jshint newcap: true */ - }; - return NumberShim; - }()); - wrapConstructor(OrigNumber, NumberShim, {}); - // this is necessary for ES3 browsers, where these properties are non-enumerable. - defineProperties(NumberShim, { - NaN: OrigNumber.NaN, - MAX_VALUE: OrigNumber.MAX_VALUE, - MIN_VALUE: OrigNumber.MIN_VALUE, - NEGATIVE_INFINITY: OrigNumber.NEGATIVE_INFINITY, - POSITIVE_INFINITY: OrigNumber.POSITIVE_INFINITY - }); - /* globals Number: true */ - /* eslint-disable no-undef, no-global-assign */ - /* jshint -W020 */ - Number = NumberShim; - Value.redefine(globals, 'Number', NumberShim); - /* jshint +W020 */ - /* eslint-enable no-undef, no-global-assign */ - /* globals Number: false */ - } - - var maxSafeInteger = Math.pow(2, 53) - 1; - defineProperties(Number, { - MAX_SAFE_INTEGER: maxSafeInteger, - MIN_SAFE_INTEGER: -maxSafeInteger, - EPSILON: 2.220446049250313e-16, - - parseInt: globals.parseInt, - parseFloat: globals.parseFloat, - - isFinite: numberIsFinite, - - isInteger: function isInteger(value) { - return numberIsFinite(value) && ES.ToInteger(value) === value; - }, - - isSafeInteger: function isSafeInteger(value) { - return Number.isInteger(value) && _abs(value) <= Number.MAX_SAFE_INTEGER; - }, - - isNaN: numberIsNaN - }); - // Firefox 37 has a conforming Number.parseInt, but it's not === to the global parseInt (fixed in v40) - defineProperty(Number, 'parseInt', globals.parseInt, Number.parseInt !== globals.parseInt); - - // Work around bugs in Array#find and Array#findIndex -- early - // implementations skipped holes in sparse arrays. (Note that the - // implementations of find/findIndex indirectly use shimmed - // methods of Number, so this test has to happen down here.) - /*jshint elision: true */ - /* eslint-disable no-sparse-arrays */ - if ([, 1].find(function () { return true; }) === 1) { - overrideNative(Array.prototype, 'find', ArrayPrototypeShims.find); - } - if ([, 1].findIndex(function () { return true; }) !== 0) { - overrideNative(Array.prototype, 'findIndex', ArrayPrototypeShims.findIndex); - } - /* eslint-enable no-sparse-arrays */ - /*jshint elision: false */ - - var isEnumerableOn = Function.bind.call(Function.bind, Object.prototype.propertyIsEnumerable); - var ensureEnumerable = function ensureEnumerable(obj, prop) { - if (supportsDescriptors && isEnumerableOn(obj, prop)) { - Object.defineProperty(obj, prop, { enumerable: false }); - } - }; - var sliceArgs = function sliceArgs() { - // per https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments - // and https://gist.github.com/WebReflection/4327762cb87a8c634a29 - var initial = Number(this); - var len = arguments.length; - var desiredArgCount = len - initial; - var args = new Array(desiredArgCount < 0 ? 0 : desiredArgCount); - for (var i = initial; i < len; ++i) { - args[i - initial] = arguments[i]; - } - return args; - }; - var assignTo = function assignTo(source) { - return function assignToSource(target, key) { - target[key] = source[key]; - return target; - }; - }; - var assignReducer = function (target, source) { - var sourceKeys = keys(Object(source)); - var symbols; - if (ES.IsCallable(Object.getOwnPropertySymbols)) { - symbols = _filter(Object.getOwnPropertySymbols(Object(source)), isEnumerableOn(source)); - } - return _reduce(_concat(sourceKeys, symbols || []), assignTo(source), target); - }; - - var ObjectShims = { - // 19.1.3.1 - assign: function (target, source) { - var to = ES.ToObject(target, 'Cannot convert undefined or null to object'); - return _reduce(ES.Call(sliceArgs, 1, arguments), assignReducer, to); - }, - - // Added in WebKit in https://bugs.webkit.org/show_bug.cgi?id=143865 - is: function is(a, b) { - return ES.SameValue(a, b); - } - }; - var assignHasPendingExceptions = Object.assign && Object.preventExtensions && (function () { - // Firefox 37 still has "pending exception" logic in its Object.assign implementation, - // which is 72% slower than our shim, and Firefox 40's native implementation. - var thrower = Object.preventExtensions({ 1: 2 }); - try { - Object.assign(thrower, 'xy'); - } catch (e) { - return thrower[1] === 'y'; - } - }()); - if (assignHasPendingExceptions) { - overrideNative(Object, 'assign', ObjectShims.assign); - } - defineProperties(Object, ObjectShims); - - if (supportsDescriptors) { - var ES5ObjectShims = { - // 19.1.3.9 - // shim from https://gist.github.com/WebReflection/5593554 - setPrototypeOf: (function (Object, magic) { - var set; - - var checkArgs = function (O, proto) { - if (!ES.TypeIsObject(O)) { - throw new TypeError('cannot set prototype on a non-object'); - } - if (!(proto === null || ES.TypeIsObject(proto))) { - throw new TypeError('can only set prototype to an object or null' + proto); - } - }; - - var setPrototypeOf = function (O, proto) { - checkArgs(O, proto); - _call(set, O, proto); - return O; - }; - - try { - // this works already in Firefox and Safari - set = Object.getOwnPropertyDescriptor(Object.prototype, magic).set; - _call(set, {}, null); - } catch (e) { - if (Object.prototype !== {}[magic]) { - // IE < 11 cannot be shimmed - return; - } - // probably Chrome or some old Mobile stock browser - set = function (proto) { - this[magic] = proto; - }; - // please note that this will **not** work - // in those browsers that do not inherit - // __proto__ by mistake from Object.prototype - // in these cases we should probably throw an error - // or at least be informed about the issue - setPrototypeOf.polyfill = setPrototypeOf( - setPrototypeOf({}, null), - Object.prototype - ) instanceof Object; - // setPrototypeOf.polyfill === true means it works as meant - // setPrototypeOf.polyfill === false means it's not 100% reliable - // setPrototypeOf.polyfill === undefined - // or - // setPrototypeOf.polyfill == null means it's not a polyfill - // which means it works as expected - // we can even delete Object.prototype.__proto__; - } - return setPrototypeOf; - }(Object, '__proto__')) - }; - - defineProperties(Object, ES5ObjectShims); - } - - // Workaround bug in Opera 12 where setPrototypeOf(x, null) doesn't work, - // but Object.create(null) does. - if (Object.setPrototypeOf && Object.getPrototypeOf && - Object.getPrototypeOf(Object.setPrototypeOf({}, null)) !== null && - Object.getPrototypeOf(Object.create(null)) === null) { - (function () { - var FAKENULL = Object.create(null); - var gpo = Object.getPrototypeOf; - var spo = Object.setPrototypeOf; - Object.getPrototypeOf = function (o) { - var result = gpo(o); - return result === FAKENULL ? null : result; - }; - Object.setPrototypeOf = function (o, p) { - var proto = p === null ? FAKENULL : p; - return spo(o, proto); - }; - Object.setPrototypeOf.polyfill = false; - }()); - } - - var objectKeysAcceptsPrimitives = !throwsError(function () { Object.keys('foo'); }); - if (!objectKeysAcceptsPrimitives) { - var originalObjectKeys = Object.keys; - overrideNative(Object, 'keys', function keys(value) { - return originalObjectKeys(ES.ToObject(value)); - }); - keys = Object.keys; - } - var objectKeysRejectsRegex = throwsError(function () { Object.keys(/a/g); }); - if (objectKeysRejectsRegex) { - var regexRejectingObjectKeys = Object.keys; - overrideNative(Object, 'keys', function keys(value) { - if (Type.regex(value)) { - var regexKeys = []; - for (var k in value) { - if (_hasOwnProperty(value, k)) { - _push(regexKeys, k); - } - } - return regexKeys; - } - return regexRejectingObjectKeys(value); - }); - keys = Object.keys; - } - - if (Object.getOwnPropertyNames) { - var objectGOPNAcceptsPrimitives = !throwsError(function () { Object.getOwnPropertyNames('foo'); }); - if (!objectGOPNAcceptsPrimitives) { - var cachedWindowNames = typeof window === 'object' ? Object.getOwnPropertyNames(window) : []; - var originalObjectGetOwnPropertyNames = Object.getOwnPropertyNames; - overrideNative(Object, 'getOwnPropertyNames', function getOwnPropertyNames(value) { - var val = ES.ToObject(value); - if (_toString(val) === '[object Window]') { - try { - return originalObjectGetOwnPropertyNames(val); - } catch (e) { - // IE bug where layout engine calls userland gOPN for cross-domain `window` objects - return _concat([], cachedWindowNames); - } - } - return originalObjectGetOwnPropertyNames(val); - }); - } - } - if (Object.getOwnPropertyDescriptor) { - var objectGOPDAcceptsPrimitives = !throwsError(function () { Object.getOwnPropertyDescriptor('foo', 'bar'); }); - if (!objectGOPDAcceptsPrimitives) { - var originalObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - overrideNative(Object, 'getOwnPropertyDescriptor', function getOwnPropertyDescriptor(value, property) { - return originalObjectGetOwnPropertyDescriptor(ES.ToObject(value), property); - }); - } - } - if (Object.seal) { - var objectSealAcceptsPrimitives = !throwsError(function () { Object.seal('foo'); }); - if (!objectSealAcceptsPrimitives) { - var originalObjectSeal = Object.seal; - overrideNative(Object, 'seal', function seal(value) { - if (!ES.TypeIsObject(value)) { return value; } - return originalObjectSeal(value); - }); - } - } - if (Object.isSealed) { - var objectIsSealedAcceptsPrimitives = !throwsError(function () { Object.isSealed('foo'); }); - if (!objectIsSealedAcceptsPrimitives) { - var originalObjectIsSealed = Object.isSealed; - overrideNative(Object, 'isSealed', function isSealed(value) { - if (!ES.TypeIsObject(value)) { return true; } - return originalObjectIsSealed(value); - }); - } - } - if (Object.freeze) { - var objectFreezeAcceptsPrimitives = !throwsError(function () { Object.freeze('foo'); }); - if (!objectFreezeAcceptsPrimitives) { - var originalObjectFreeze = Object.freeze; - overrideNative(Object, 'freeze', function freeze(value) { - if (!ES.TypeIsObject(value)) { return value; } - return originalObjectFreeze(value); - }); - } - } - if (Object.isFrozen) { - var objectIsFrozenAcceptsPrimitives = !throwsError(function () { Object.isFrozen('foo'); }); - if (!objectIsFrozenAcceptsPrimitives) { - var originalObjectIsFrozen = Object.isFrozen; - overrideNative(Object, 'isFrozen', function isFrozen(value) { - if (!ES.TypeIsObject(value)) { return true; } - return originalObjectIsFrozen(value); - }); - } - } - if (Object.preventExtensions) { - var objectPreventExtensionsAcceptsPrimitives = !throwsError(function () { Object.preventExtensions('foo'); }); - if (!objectPreventExtensionsAcceptsPrimitives) { - var originalObjectPreventExtensions = Object.preventExtensions; - overrideNative(Object, 'preventExtensions', function preventExtensions(value) { - if (!ES.TypeIsObject(value)) { return value; } - return originalObjectPreventExtensions(value); - }); - } - } - if (Object.isExtensible) { - var objectIsExtensibleAcceptsPrimitives = !throwsError(function () { Object.isExtensible('foo'); }); - if (!objectIsExtensibleAcceptsPrimitives) { - var originalObjectIsExtensible = Object.isExtensible; - overrideNative(Object, 'isExtensible', function isExtensible(value) { - if (!ES.TypeIsObject(value)) { return false; } - return originalObjectIsExtensible(value); - }); - } - } - if (Object.getPrototypeOf) { - var objectGetProtoAcceptsPrimitives = !throwsError(function () { Object.getPrototypeOf('foo'); }); - if (!objectGetProtoAcceptsPrimitives) { - var originalGetProto = Object.getPrototypeOf; - overrideNative(Object, 'getPrototypeOf', function getPrototypeOf(value) { - return originalGetProto(ES.ToObject(value)); - }); - } - } - - var hasFlags = supportsDescriptors && (function () { - var desc = Object.getOwnPropertyDescriptor(RegExp.prototype, 'flags'); - return desc && ES.IsCallable(desc.get); - }()); - if (supportsDescriptors && !hasFlags) { - var regExpFlagsGetter = function flags() { - if (!ES.TypeIsObject(this)) { - throw new TypeError('Method called on incompatible type: must be an object.'); - } - var result = ''; - if (this.global) { - result += 'g'; - } - if (this.ignoreCase) { - result += 'i'; - } - if (this.multiline) { - result += 'm'; - } - if (this.unicode) { - result += 'u'; - } - if (this.sticky) { - result += 'y'; - } - return result; - }; - - Value.getter(RegExp.prototype, 'flags', regExpFlagsGetter); - } - - var regExpSupportsFlagsWithRegex = supportsDescriptors && valueOrFalseIfThrows(function () { - return String(new RegExp(/a/g, 'i')) === '/a/i'; - }); - var regExpNeedsToSupportSymbolMatch = hasSymbols && supportsDescriptors && (function () { - // Edge 0.12 supports flags fully, but does not support Symbol.match - var regex = /./; - regex[Symbol.match] = false; - return RegExp(regex) === regex; - }()); - - var regexToStringIsGeneric = valueOrFalseIfThrows(function () { - return RegExp.prototype.toString.call({ source: 'abc' }) === '/abc/'; - }); - var regexToStringSupportsGenericFlags = regexToStringIsGeneric && valueOrFalseIfThrows(function () { - return RegExp.prototype.toString.call({ source: 'a', flags: 'b' }) === '/a/b'; - }); - if (!regexToStringIsGeneric || !regexToStringSupportsGenericFlags) { - var origRegExpToString = RegExp.prototype.toString; - defineProperty(RegExp.prototype, 'toString', function toString() { - var R = ES.RequireObjectCoercible(this); - if (Type.regex(R)) { - return _call(origRegExpToString, R); - } - var pattern = $String(R.source); - var flags = $String(R.flags); - return '/' + pattern + '/' + flags; - }, true); - Value.preserveToString(RegExp.prototype.toString, origRegExpToString); - } - - if (supportsDescriptors && (!regExpSupportsFlagsWithRegex || regExpNeedsToSupportSymbolMatch)) { - var flagsGetter = Object.getOwnPropertyDescriptor(RegExp.prototype, 'flags').get; - var sourceDesc = Object.getOwnPropertyDescriptor(RegExp.prototype, 'source') || {}; - var legacySourceGetter = function () { - // prior to it being a getter, it's own + nonconfigurable - return this.source; - }; - var sourceGetter = ES.IsCallable(sourceDesc.get) ? sourceDesc.get : legacySourceGetter; - - var OrigRegExp = RegExp; - var RegExpShim = (function () { - return function RegExp(pattern, flags) { - var patternIsRegExp = ES.IsRegExp(pattern); - var calledWithNew = this instanceof RegExp; - if (!calledWithNew && patternIsRegExp && typeof flags === 'undefined' && pattern.constructor === RegExp) { - return pattern; - } - - var P = pattern; - var F = flags; - if (Type.regex(pattern)) { - P = ES.Call(sourceGetter, pattern); - F = typeof flags === 'undefined' ? ES.Call(flagsGetter, pattern) : flags; - return new RegExp(P, F); - } else if (patternIsRegExp) { - P = pattern.source; - F = typeof flags === 'undefined' ? pattern.flags : flags; - } - return new OrigRegExp(pattern, flags); - }; - }()); - wrapConstructor(OrigRegExp, RegExpShim, { - $input: true // Chrome < v39 & Opera < 26 have a nonstandard "$input" property - }); - /* globals RegExp: true */ - /* eslint-disable no-undef, no-global-assign */ - /* jshint -W020 */ - RegExp = RegExpShim; - Value.redefine(globals, 'RegExp', RegExpShim); - /* jshint +W020 */ - /* eslint-enable no-undef, no-global-assign */ - /* globals RegExp: false */ - } - - if (supportsDescriptors) { - var regexGlobals = { - input: '$_', - lastMatch: '$&', - lastParen: '$+', - leftContext: '$`', - rightContext: '$\'' - }; - _forEach(keys(regexGlobals), function (prop) { - if (prop in RegExp && !(regexGlobals[prop] in RegExp)) { - Value.getter(RegExp, regexGlobals[prop], function get() { - return RegExp[prop]; - }); - } - }); - } - addDefaultSpecies(RegExp); - - var inverseEpsilon = 1 / Number.EPSILON; - var roundTiesToEven = function roundTiesToEven(n) { - // Even though this reduces down to `return n`, it takes advantage of built-in rounding. - return (n + inverseEpsilon) - inverseEpsilon; - }; - var BINARY_32_EPSILON = Math.pow(2, -23); - var BINARY_32_MAX_VALUE = Math.pow(2, 127) * (2 - BINARY_32_EPSILON); - var BINARY_32_MIN_VALUE = Math.pow(2, -126); - var E = Math.E; - var LOG2E = Math.LOG2E; - var LOG10E = Math.LOG10E; - var numberCLZ = Number.prototype.clz; - delete Number.prototype.clz; // Safari 8 has Number#clz - - var MathShims = { - acosh: function acosh(value) { - var x = Number(value); - if (numberIsNaN(x) || value < 1) { return NaN; } - if (x === 1) { return 0; } - if (x === Infinity) { return x; } - return _log((x / E) + (_sqrt(x + 1) * _sqrt(x - 1) / E)) + 1; - }, - - asinh: function asinh(value) { - var x = Number(value); - if (x === 0 || !globalIsFinite(x)) { - return x; - } - return x < 0 ? -asinh(-x) : _log(x + _sqrt((x * x) + 1)); - }, - - atanh: function atanh(value) { - var x = Number(value); - if (numberIsNaN(x) || x < -1 || x > 1) { - return NaN; - } - if (x === -1) { return -Infinity; } - if (x === 1) { return Infinity; } - if (x === 0) { return x; } - return 0.5 * _log((1 + x) / (1 - x)); - }, - - cbrt: function cbrt(value) { - var x = Number(value); - if (x === 0) { return x; } - var negate = x < 0; - var result; - if (negate) { x = -x; } - if (x === Infinity) { - result = Infinity; - } else { - result = _exp(_log(x) / 3); - // from http://en.wikipedia.org/wiki/Cube_root#Numerical_methods - result = ((x / (result * result)) + (2 * result)) / 3; - } - return negate ? -result : result; - }, - - clz32: function clz32(value) { - // See https://bugs.ecmascript.org/show_bug.cgi?id=2465 - var x = Number(value); - var number = ES.ToUint32(x); - if (number === 0) { - return 32; - } - return numberCLZ ? ES.Call(numberCLZ, number) : 31 - _floor(_log(number + 0.5) * LOG2E); - }, - - cosh: function cosh(value) { - var x = Number(value); - if (x === 0) { return 1; } // +0 or -0 - if (numberIsNaN(x)) { return NaN; } - if (!globalIsFinite(x)) { return Infinity; } - if (x < 0) { x = -x; } - if (x > 21) { return _exp(x) / 2; } - return (_exp(x) + _exp(-x)) / 2; - }, - - expm1: function expm1(value) { - var x = Number(value); - if (x === -Infinity) { return -1; } - if (!globalIsFinite(x) || x === 0) { return x; } - if (_abs(x) > 0.5) { - return _exp(x) - 1; - } - // A more precise approximation using Taylor series expansion - // from https://github.com/paulmillr/es6-shim/issues/314#issuecomment-70293986 - var t = x; - var sum = 0; - var n = 1; - while (sum + t !== sum) { - sum += t; - n += 1; - t *= x / n; - } - return sum; - }, - - hypot: function hypot(x, y) { - var result = 0; - var largest = 0; - for (var i = 0; i < arguments.length; ++i) { - var value = _abs(Number(arguments[i])); - if (largest < value) { - result *= (largest / value) * (largest / value); - result += 1; - largest = value; - } else { - result += value > 0 ? (value / largest) * (value / largest) : value; - } - } - return largest === Infinity ? Infinity : largest * _sqrt(result); - }, - - log2: function log2(value) { - return _log(value) * LOG2E; - }, - - log10: function log10(value) { - return _log(value) * LOG10E; - }, - - log1p: function log1p(value) { - var x = Number(value); - if (x < -1 || numberIsNaN(x)) { return NaN; } - if (x === 0 || x === Infinity) { return x; } - if (x === -1) { return -Infinity; } - - return (1 + x) - 1 === 0 ? x : x * (_log(1 + x) / ((1 + x) - 1)); - }, - - sign: _sign, - - sinh: function sinh(value) { - var x = Number(value); - if (!globalIsFinite(x) || x === 0) { return x; } - - if (_abs(x) < 1) { - return (Math.expm1(x) - Math.expm1(-x)) / 2; - } - return (_exp(x - 1) - _exp(-x - 1)) * E / 2; - }, - - tanh: function tanh(value) { - var x = Number(value); - if (numberIsNaN(x) || x === 0) { return x; } - // can exit early at +-20 as JS loses precision for true value at this integer - if (x >= 20) { return 1; } - if (x <= -20) { return -1; } - - return (Math.expm1(x) - Math.expm1(-x)) / (_exp(x) + _exp(-x)); - }, - - trunc: function trunc(value) { - var x = Number(value); - return x < 0 ? -_floor(-x) : _floor(x); - }, - - imul: function imul(x, y) { - // taken from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul - var a = ES.ToUint32(x); - var b = ES.ToUint32(y); - var ah = (a >>> 16) & 0xffff; - var al = a & 0xffff; - var bh = (b >>> 16) & 0xffff; - var bl = b & 0xffff; - // the shift by 0 fixes the sign on the high part - // the final |0 converts the unsigned value into a signed value - return (al * bl) + ((((ah * bl) + (al * bh)) << 16) >>> 0) | 0; - }, - - fround: function fround(x) { - var v = Number(x); - if (v === 0 || v === Infinity || v === -Infinity || numberIsNaN(v)) { - return v; - } - var sign = _sign(v); - var abs = _abs(v); - if (abs < BINARY_32_MIN_VALUE) { - return sign * roundTiesToEven( - abs / BINARY_32_MIN_VALUE / BINARY_32_EPSILON - ) * BINARY_32_MIN_VALUE * BINARY_32_EPSILON; - } - // Veltkamp's splitting (?) - var a = (1 + (BINARY_32_EPSILON / Number.EPSILON)) * abs; - var result = a - (a - abs); - if (result > BINARY_32_MAX_VALUE || numberIsNaN(result)) { - return sign * Infinity; - } - return sign * result; - } - }; - defineProperties(Math, MathShims); - // IE 11 TP has an imprecise log1p: reports Math.log1p(-1e-17) as 0 - defineProperty(Math, 'log1p', MathShims.log1p, Math.log1p(-1e-17) !== -1e-17); - // IE 11 TP has an imprecise asinh: reports Math.asinh(-1e7) as not exactly equal to -Math.asinh(1e7) - defineProperty(Math, 'asinh', MathShims.asinh, Math.asinh(-1e7) !== -Math.asinh(1e7)); - // Chrome 40 has an imprecise Math.tanh with very small numbers - defineProperty(Math, 'tanh', MathShims.tanh, Math.tanh(-2e-17) !== -2e-17); - // Chrome 40 loses Math.acosh precision with high numbers - defineProperty(Math, 'acosh', MathShims.acosh, Math.acosh(Number.MAX_VALUE) === Infinity); - // Firefox 38 on Windows - defineProperty(Math, 'cbrt', MathShims.cbrt, Math.abs(1 - (Math.cbrt(1e-300) / 1e-100)) / Number.EPSILON > 8); - // node 0.11 has an imprecise Math.sinh with very small numbers - defineProperty(Math, 'sinh', MathShims.sinh, Math.sinh(-2e-17) !== -2e-17); - // FF 35 on Linux reports 22025.465794806725 for Math.expm1(10) - var expm1OfTen = Math.expm1(10); - defineProperty(Math, 'expm1', MathShims.expm1, expm1OfTen > 22025.465794806719 || expm1OfTen < 22025.4657948067165168); - - var origMathRound = Math.round; - // breaks in e.g. Safari 8, Internet Explorer 11, Opera 12 - var roundHandlesBoundaryConditions = Math.round(0.5 - (Number.EPSILON / 4)) === 0 && - Math.round(-0.5 + (Number.EPSILON / 3.99)) === 1; - - // When engines use Math.floor(x + 0.5) internally, Math.round can be buggy for large integers. - // This behavior should be governed by "round to nearest, ties to even mode" - // see http://www.ecma-international.org/ecma-262/6.0/#sec-terms-and-definitions-number-type - // These are the boundary cases where it breaks. - var smallestPositiveNumberWhereRoundBreaks = inverseEpsilon + 1; - var largestPositiveNumberWhereRoundBreaks = (2 * inverseEpsilon) - 1; - var roundDoesNotIncreaseIntegers = [ - smallestPositiveNumberWhereRoundBreaks, - largestPositiveNumberWhereRoundBreaks - ].every(function (num) { - return Math.round(num) === num; - }); - defineProperty(Math, 'round', function round(x) { - var floor = _floor(x); - var ceil = floor === -1 ? -0 : floor + 1; - return x - floor < 0.5 ? floor : ceil; - }, !roundHandlesBoundaryConditions || !roundDoesNotIncreaseIntegers); - Value.preserveToString(Math.round, origMathRound); - - var origImul = Math.imul; - if (Math.imul(0xffffffff, 5) !== -5) { - // Safari 6.1, at least, reports "0" for this value - Math.imul = MathShims.imul; - Value.preserveToString(Math.imul, origImul); - } - if (Math.imul.length !== 2) { - // Safari 8.0.4 has a length of 1 - // fixed in https://bugs.webkit.org/show_bug.cgi?id=143658 - overrideNative(Math, 'imul', function imul(x, y) { - return ES.Call(origImul, Math, arguments); - }); - } - - // Promises - // Simplest possible implementation; use a 3rd-party library if you - // want the best possible speed and/or long stack traces. - var PromiseShim = (function () { - var setTimeout = globals.setTimeout; - // some environments don't have setTimeout - no way to shim here. - if (typeof setTimeout !== 'function' && typeof setTimeout !== 'object') { return; } - - ES.IsPromise = function (promise) { - if (!ES.TypeIsObject(promise)) { - return false; - } - if (typeof promise._promise === 'undefined') { - return false; // uninitialized, or missing our hidden field. - } - return true; - }; - - // "PromiseCapability" in the spec is what most promise implementations - // call a "deferred". - var PromiseCapability = function (C) { - if (!ES.IsConstructor(C)) { - throw new TypeError('Bad promise constructor'); - } - var capability = this; - var resolver = function (resolve, reject) { - if (capability.resolve !== void 0 || capability.reject !== void 0) { - throw new TypeError('Bad Promise implementation!'); - } - capability.resolve = resolve; - capability.reject = reject; - }; - // Initialize fields to inform optimizers about the object shape. - capability.resolve = void 0; - capability.reject = void 0; - capability.promise = new C(resolver); - if (!(ES.IsCallable(capability.resolve) && ES.IsCallable(capability.reject))) { - throw new TypeError('Bad promise constructor'); - } - }; - - // find an appropriate setImmediate-alike - var makeZeroTimeout; - /*global window */ - if (typeof window !== 'undefined' && ES.IsCallable(window.postMessage)) { - makeZeroTimeout = function () { - // from http://dbaron.org/log/20100309-faster-timeouts - var timeouts = []; - var messageName = 'zero-timeout-message'; - var setZeroTimeout = function (fn) { - _push(timeouts, fn); - window.postMessage(messageName, '*'); - }; - var handleMessage = function (event) { - if (event.source === window && event.data === messageName) { - event.stopPropagation(); - if (timeouts.length === 0) { return; } - var fn = _shift(timeouts); - fn(); - } - }; - window.addEventListener('message', handleMessage, true); - return setZeroTimeout; - }; - } - var makePromiseAsap = function () { - // An efficient task-scheduler based on a pre-existing Promise - // implementation, which we can use even if we override the - // global Promise below (in order to workaround bugs) - // https://github.com/Raynos/observ-hash/issues/2#issuecomment-35857671 - var P = globals.Promise; - var pr = P && P.resolve && P.resolve(); - return pr && function (task) { - return pr.then(task); - }; - }; - /*global process */ - /* jscs:disable disallowMultiLineTernary */ - var enqueue = ES.IsCallable(globals.setImmediate) ? - globals.setImmediate : - typeof process === 'object' && process.nextTick ? process.nextTick : - makePromiseAsap() || - (ES.IsCallable(makeZeroTimeout) ? makeZeroTimeout() : - function (task) { setTimeout(task, 0); }); // fallback - /* jscs:enable disallowMultiLineTernary */ - - // Constants for Promise implementation - var PROMISE_IDENTITY = function (x) { return x; }; - var PROMISE_THROWER = function (e) { throw e; }; - var PROMISE_PENDING = 0; - var PROMISE_FULFILLED = 1; - var PROMISE_REJECTED = 2; - // We store fulfill/reject handlers and capabilities in a single array. - var PROMISE_FULFILL_OFFSET = 0; - var PROMISE_REJECT_OFFSET = 1; - var PROMISE_CAPABILITY_OFFSET = 2; - // This is used in an optimization for chaining promises via then. - var PROMISE_FAKE_CAPABILITY = {}; - - var enqueuePromiseReactionJob = function (handler, capability, argument) { - enqueue(function () { - promiseReactionJob(handler, capability, argument); - }); - }; - - var promiseReactionJob = function (handler, promiseCapability, argument) { - var handlerResult, f; - if (promiseCapability === PROMISE_FAKE_CAPABILITY) { - // Fast case, when we don't actually need to chain through to a - // (real) promiseCapability. - return handler(argument); - } - try { - handlerResult = handler(argument); - f = promiseCapability.resolve; - } catch (e) { - handlerResult = e; - f = promiseCapability.reject; - } - f(handlerResult); - }; - - var fulfillPromise = function (promise, value) { - var _promise = promise._promise; - var length = _promise.reactionLength; - if (length > 0) { - enqueuePromiseReactionJob( - _promise.fulfillReactionHandler0, - _promise.reactionCapability0, - value - ); - _promise.fulfillReactionHandler0 = void 0; - _promise.rejectReactions0 = void 0; - _promise.reactionCapability0 = void 0; - if (length > 1) { - for (var i = 1, idx = 0; i < length; i++, idx += 3) { - enqueuePromiseReactionJob( - _promise[idx + PROMISE_FULFILL_OFFSET], - _promise[idx + PROMISE_CAPABILITY_OFFSET], - value - ); - promise[idx + PROMISE_FULFILL_OFFSET] = void 0; - promise[idx + PROMISE_REJECT_OFFSET] = void 0; - promise[idx + PROMISE_CAPABILITY_OFFSET] = void 0; - } - } - } - _promise.result = value; - _promise.state = PROMISE_FULFILLED; - _promise.reactionLength = 0; - }; - - var rejectPromise = function (promise, reason) { - var _promise = promise._promise; - var length = _promise.reactionLength; - if (length > 0) { - enqueuePromiseReactionJob( - _promise.rejectReactionHandler0, - _promise.reactionCapability0, - reason - ); - _promise.fulfillReactionHandler0 = void 0; - _promise.rejectReactions0 = void 0; - _promise.reactionCapability0 = void 0; - if (length > 1) { - for (var i = 1, idx = 0; i < length; i++, idx += 3) { - enqueuePromiseReactionJob( - _promise[idx + PROMISE_REJECT_OFFSET], - _promise[idx + PROMISE_CAPABILITY_OFFSET], - reason - ); - promise[idx + PROMISE_FULFILL_OFFSET] = void 0; - promise[idx + PROMISE_REJECT_OFFSET] = void 0; - promise[idx + PROMISE_CAPABILITY_OFFSET] = void 0; - } - } - } - _promise.result = reason; - _promise.state = PROMISE_REJECTED; - _promise.reactionLength = 0; - }; - - var createResolvingFunctions = function (promise) { - var alreadyResolved = false; - var resolve = function (resolution) { - var then; - if (alreadyResolved) { return; } - alreadyResolved = true; - if (resolution === promise) { - return rejectPromise(promise, new TypeError('Self resolution')); - } - if (!ES.TypeIsObject(resolution)) { - return fulfillPromise(promise, resolution); - } - try { - then = resolution.then; - } catch (e) { - return rejectPromise(promise, e); - } - if (!ES.IsCallable(then)) { - return fulfillPromise(promise, resolution); - } - enqueue(function () { - promiseResolveThenableJob(promise, resolution, then); - }); - }; - var reject = function (reason) { - if (alreadyResolved) { return; } - alreadyResolved = true; - return rejectPromise(promise, reason); - }; - return { resolve: resolve, reject: reject }; - }; - - var optimizedThen = function (then, thenable, resolve, reject) { - // Optimization: since we discard the result, we can pass our - // own then implementation a special hint to let it know it - // doesn't have to create it. (The PROMISE_FAKE_CAPABILITY - // object is local to this implementation and unforgeable outside.) - if (then === Promise$prototype$then) { - _call(then, thenable, resolve, reject, PROMISE_FAKE_CAPABILITY); - } else { - _call(then, thenable, resolve, reject); - } - }; - var promiseResolveThenableJob = function (promise, thenable, then) { - var resolvingFunctions = createResolvingFunctions(promise); - var resolve = resolvingFunctions.resolve; - var reject = resolvingFunctions.reject; - try { - optimizedThen(then, thenable, resolve, reject); - } catch (e) { - reject(e); - } - }; - - var Promise$prototype, Promise$prototype$then; - var Promise = (function () { - var PromiseShim = function Promise(resolver) { - if (!(this instanceof PromiseShim)) { - throw new TypeError('Constructor Promise requires "new"'); - } - if (this && this._promise) { - throw new TypeError('Bad construction'); - } - // see https://bugs.ecmascript.org/show_bug.cgi?id=2482 - if (!ES.IsCallable(resolver)) { - throw new TypeError('not a valid resolver'); - } - var promise = emulateES6construct(this, PromiseShim, Promise$prototype, { - _promise: { - result: void 0, - state: PROMISE_PENDING, - // The first member of the "reactions" array is inlined here, - // since most promises only have one reaction. - // We've also exploded the 'reaction' object to inline the - // "handler" and "capability" fields, since both fulfill and - // reject reactions share the same capability. - reactionLength: 0, - fulfillReactionHandler0: void 0, - rejectReactionHandler0: void 0, - reactionCapability0: void 0 - } - }); - var resolvingFunctions = createResolvingFunctions(promise); - var reject = resolvingFunctions.reject; - try { - resolver(resolvingFunctions.resolve, reject); - } catch (e) { - reject(e); - } - return promise; - }; - return PromiseShim; - }()); - Promise$prototype = Promise.prototype; - - var _promiseAllResolver = function (index, values, capability, remaining) { - var alreadyCalled = false; - return function (x) { - if (alreadyCalled) { return; } - alreadyCalled = true; - values[index] = x; - if ((--remaining.count) === 0) { - var resolve = capability.resolve; - resolve(values); // call w/ this===undefined - } - }; - }; - - var performPromiseAll = function (iteratorRecord, C, resultCapability) { - var it = iteratorRecord.iterator; - var values = []; - var remaining = { count: 1 }; - var next, nextValue; - var index = 0; - while (true) { - try { - next = ES.IteratorStep(it); - if (next === false) { - iteratorRecord.done = true; - break; - } - nextValue = next.value; - } catch (e) { - iteratorRecord.done = true; - throw e; - } - values[index] = void 0; - var nextPromise = C.resolve(nextValue); - var resolveElement = _promiseAllResolver( - index, values, resultCapability, remaining - ); - remaining.count += 1; - optimizedThen(nextPromise.then, nextPromise, resolveElement, resultCapability.reject); - index += 1; - } - if ((--remaining.count) === 0) { - var resolve = resultCapability.resolve; - resolve(values); // call w/ this===undefined - } - return resultCapability.promise; - }; - - var performPromiseRace = function (iteratorRecord, C, resultCapability) { - var it = iteratorRecord.iterator; - var next, nextValue, nextPromise; - while (true) { - try { - next = ES.IteratorStep(it); - if (next === false) { - // NOTE: If iterable has no items, resulting promise will never - // resolve; see: - // https://github.com/domenic/promises-unwrapping/issues/75 - // https://bugs.ecmascript.org/show_bug.cgi?id=2515 - iteratorRecord.done = true; - break; - } - nextValue = next.value; - } catch (e) { - iteratorRecord.done = true; - throw e; - } - nextPromise = C.resolve(nextValue); - optimizedThen(nextPromise.then, nextPromise, resultCapability.resolve, resultCapability.reject); - } - return resultCapability.promise; - }; - - defineProperties(Promise, { - all: function all(iterable) { - var C = this; - if (!ES.TypeIsObject(C)) { - throw new TypeError('Promise is not object'); - } - var capability = new PromiseCapability(C); - var iterator, iteratorRecord; - try { - iterator = ES.GetIterator(iterable); - iteratorRecord = { iterator: iterator, done: false }; - return performPromiseAll(iteratorRecord, C, capability); - } catch (e) { - var exception = e; - if (iteratorRecord && !iteratorRecord.done) { - try { - ES.IteratorClose(iterator, true); - } catch (ee) { - exception = ee; - } - } - var reject = capability.reject; - reject(exception); - return capability.promise; - } - }, - - race: function race(iterable) { - var C = this; - if (!ES.TypeIsObject(C)) { - throw new TypeError('Promise is not object'); - } - var capability = new PromiseCapability(C); - var iterator, iteratorRecord; - try { - iterator = ES.GetIterator(iterable); - iteratorRecord = { iterator: iterator, done: false }; - return performPromiseRace(iteratorRecord, C, capability); - } catch (e) { - var exception = e; - if (iteratorRecord && !iteratorRecord.done) { - try { - ES.IteratorClose(iterator, true); - } catch (ee) { - exception = ee; - } - } - var reject = capability.reject; - reject(exception); - return capability.promise; - } - }, - - reject: function reject(reason) { - var C = this; - if (!ES.TypeIsObject(C)) { - throw new TypeError('Bad promise constructor'); - } - var capability = new PromiseCapability(C); - var rejectFunc = capability.reject; - rejectFunc(reason); // call with this===undefined - return capability.promise; - }, - - resolve: function resolve(v) { - // See https://esdiscuss.org/topic/fixing-promise-resolve for spec - var C = this; - if (!ES.TypeIsObject(C)) { - throw new TypeError('Bad promise constructor'); - } - if (ES.IsPromise(v)) { - var constructor = v.constructor; - if (constructor === C) { - return v; - } - } - var capability = new PromiseCapability(C); - var resolveFunc = capability.resolve; - resolveFunc(v); // call with this===undefined - return capability.promise; - } - }); - - defineProperties(Promise$prototype, { - 'catch': function (onRejected) { - return this.then(null, onRejected); - }, - - then: function then(onFulfilled, onRejected) { - var promise = this; - if (!ES.IsPromise(promise)) { throw new TypeError('not a promise'); } - var C = ES.SpeciesConstructor(promise, Promise); - var resultCapability; - var returnValueIsIgnored = arguments.length > 2 && arguments[2] === PROMISE_FAKE_CAPABILITY; - if (returnValueIsIgnored && C === Promise) { - resultCapability = PROMISE_FAKE_CAPABILITY; - } else { - resultCapability = new PromiseCapability(C); - } - // PerformPromiseThen(promise, onFulfilled, onRejected, resultCapability) - // Note that we've split the 'reaction' object into its two - // components, "capabilities" and "handler" - // "capabilities" is always equal to `resultCapability` - var fulfillReactionHandler = ES.IsCallable(onFulfilled) ? onFulfilled : PROMISE_IDENTITY; - var rejectReactionHandler = ES.IsCallable(onRejected) ? onRejected : PROMISE_THROWER; - var _promise = promise._promise; - var value; - if (_promise.state === PROMISE_PENDING) { - if (_promise.reactionLength === 0) { - _promise.fulfillReactionHandler0 = fulfillReactionHandler; - _promise.rejectReactionHandler0 = rejectReactionHandler; - _promise.reactionCapability0 = resultCapability; - } else { - var idx = 3 * (_promise.reactionLength - 1); - _promise[idx + PROMISE_FULFILL_OFFSET] = fulfillReactionHandler; - _promise[idx + PROMISE_REJECT_OFFSET] = rejectReactionHandler; - _promise[idx + PROMISE_CAPABILITY_OFFSET] = resultCapability; - } - _promise.reactionLength += 1; - } else if (_promise.state === PROMISE_FULFILLED) { - value = _promise.result; - enqueuePromiseReactionJob( - fulfillReactionHandler, resultCapability, value - ); - } else if (_promise.state === PROMISE_REJECTED) { - value = _promise.result; - enqueuePromiseReactionJob( - rejectReactionHandler, resultCapability, value - ); - } else { - throw new TypeError('unexpected Promise state'); - } - return resultCapability.promise; - } - }); - // This helps the optimizer by ensuring that methods which take - // capabilities aren't polymorphic. - PROMISE_FAKE_CAPABILITY = new PromiseCapability(Promise); - Promise$prototype$then = Promise$prototype.then; - - return Promise; - }()); - - // Chrome's native Promise has extra methods that it shouldn't have. Let's remove them. - if (globals.Promise) { - delete globals.Promise.accept; - delete globals.Promise.defer; - delete globals.Promise.prototype.chain; - } - - if (typeof PromiseShim === 'function') { - // export the Promise constructor. - defineProperties(globals, { Promise: PromiseShim }); - // In Chrome 33 (and thereabouts) Promise is defined, but the - // implementation is buggy in a number of ways. Let's check subclassing - // support to see if we have a buggy implementation. - var promiseSupportsSubclassing = supportsSubclassing(globals.Promise, function (S) { - return S.resolve(42).then(function () {}) instanceof S; - }); - var promiseIgnoresNonFunctionThenCallbacks = !throwsError(function () { - globals.Promise.reject(42).then(null, 5).then(null, noop); - }); - var promiseRequiresObjectContext = throwsError(function () { globals.Promise.call(3, noop); }); - // Promise.resolve() was errata'ed late in the ES6 process. - // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1170742 - // https://code.google.com/p/v8/issues/detail?id=4161 - // It serves as a proxy for a number of other bugs in early Promise - // implementations. - var promiseResolveBroken = (function (Promise) { - var p = Promise.resolve(5); - p.constructor = {}; - var p2 = Promise.resolve(p); - try { - p2.then(null, noop).then(null, noop); // avoid "uncaught rejection" warnings in console - } catch (e) { - return true; // v8 native Promises break here https://code.google.com/p/chromium/issues/detail?id=575314 - } - return p === p2; // This *should* be false! - }(globals.Promise)); - - // Chrome 46 (probably older too) does not retrieve a thenable's .then synchronously - var getsThenSynchronously = supportsDescriptors && (function () { - var count = 0; - var thenable = Object.defineProperty({}, 'then', { get: function () { count += 1; } }); - Promise.resolve(thenable); - return count === 1; - }()); - - var BadResolverPromise = function BadResolverPromise(executor) { - var p = new Promise(executor); - executor(3, function () {}); - this.then = p.then; - this.constructor = BadResolverPromise; - }; - BadResolverPromise.prototype = Promise.prototype; - BadResolverPromise.all = Promise.all; - // Chrome Canary 49 (probably older too) has some implementation bugs - var hasBadResolverPromise = valueOrFalseIfThrows(function () { - return !!BadResolverPromise.all([1, 2]); - }); - - if (!promiseSupportsSubclassing || !promiseIgnoresNonFunctionThenCallbacks || - !promiseRequiresObjectContext || promiseResolveBroken || - !getsThenSynchronously || hasBadResolverPromise) { - /* globals Promise: true */ - /* eslint-disable no-undef, no-global-assign */ - /* jshint -W020 */ - Promise = PromiseShim; - /* jshint +W020 */ - /* eslint-enable no-undef, no-global-assign */ - /* globals Promise: false */ - overrideNative(globals, 'Promise', PromiseShim); - } - if (Promise.all.length !== 1) { - var origAll = Promise.all; - overrideNative(Promise, 'all', function all(iterable) { - return ES.Call(origAll, this, arguments); - }); - } - if (Promise.race.length !== 1) { - var origRace = Promise.race; - overrideNative(Promise, 'race', function race(iterable) { - return ES.Call(origRace, this, arguments); - }); - } - if (Promise.resolve.length !== 1) { - var origResolve = Promise.resolve; - overrideNative(Promise, 'resolve', function resolve(x) { - return ES.Call(origResolve, this, arguments); - }); - } - if (Promise.reject.length !== 1) { - var origReject = Promise.reject; - overrideNative(Promise, 'reject', function reject(r) { - return ES.Call(origReject, this, arguments); - }); - } - ensureEnumerable(Promise, 'all'); - ensureEnumerable(Promise, 'race'); - ensureEnumerable(Promise, 'resolve'); - ensureEnumerable(Promise, 'reject'); - addDefaultSpecies(Promise); - } - - // Map and Set require a true ES5 environment - // Their fast path also requires that the environment preserve - // property insertion order, which is not guaranteed by the spec. - var testOrder = function (a) { - var b = keys(_reduce(a, function (o, k) { - o[k] = true; - return o; - }, {})); - return a.join(':') === b.join(':'); - }; - var preservesInsertionOrder = testOrder(['z', 'a', 'bb']); - // some engines (eg, Chrome) only preserve insertion order for string keys - var preservesNumericInsertionOrder = testOrder(['z', 1, 'a', '3', 2]); - - if (supportsDescriptors) { - - var fastkey = function fastkey(key, skipInsertionOrderCheck) { - if (!skipInsertionOrderCheck && !preservesInsertionOrder) { - return null; - } - if (isNullOrUndefined(key)) { - return '^' + ES.ToString(key); - } else if (typeof key === 'string') { - return '$' + key; - } else if (typeof key === 'number') { - // note that -0 will get coerced to "0" when used as a property key - if (!preservesNumericInsertionOrder) { - return 'n' + key; - } - return key; - } else if (typeof key === 'boolean') { - return 'b' + key; - } - return null; - }; - - var emptyObject = function emptyObject() { - // accomodate some older not-quite-ES5 browsers - return Object.create ? Object.create(null) : {}; - }; - - var addIterableToMap = function addIterableToMap(MapConstructor, map, iterable) { - if (isArray(iterable) || Type.string(iterable)) { - _forEach(iterable, function (entry) { - if (!ES.TypeIsObject(entry)) { - throw new TypeError('Iterator value ' + entry + ' is not an entry object'); - } - map.set(entry[0], entry[1]); - }); - } else if (iterable instanceof MapConstructor) { - _call(MapConstructor.prototype.forEach, iterable, function (value, key) { - map.set(key, value); - }); - } else { - var iter, adder; - if (!isNullOrUndefined(iterable)) { - adder = map.set; - if (!ES.IsCallable(adder)) { throw new TypeError('bad map'); } - iter = ES.GetIterator(iterable); - } - if (typeof iter !== 'undefined') { - while (true) { - var next = ES.IteratorStep(iter); - if (next === false) { break; } - var nextItem = next.value; - try { - if (!ES.TypeIsObject(nextItem)) { - throw new TypeError('Iterator value ' + nextItem + ' is not an entry object'); - } - _call(adder, map, nextItem[0], nextItem[1]); - } catch (e) { - ES.IteratorClose(iter, true); - throw e; - } - } - } - } - }; - var addIterableToSet = function addIterableToSet(SetConstructor, set, iterable) { - if (isArray(iterable) || Type.string(iterable)) { - _forEach(iterable, function (value) { - set.add(value); - }); - } else if (iterable instanceof SetConstructor) { - _call(SetConstructor.prototype.forEach, iterable, function (value) { - set.add(value); - }); - } else { - var iter, adder; - if (!isNullOrUndefined(iterable)) { - adder = set.add; - if (!ES.IsCallable(adder)) { throw new TypeError('bad set'); } - iter = ES.GetIterator(iterable); - } - if (typeof iter !== 'undefined') { - while (true) { - var next = ES.IteratorStep(iter); - if (next === false) { break; } - var nextValue = next.value; - try { - _call(adder, set, nextValue); - } catch (e) { - ES.IteratorClose(iter, true); - throw e; - } - } - } - } - }; - - var collectionShims = { - Map: (function () { - - var empty = {}; - - var MapEntry = function MapEntry(key, value) { - this.key = key; - this.value = value; - this.next = null; - this.prev = null; - }; - - MapEntry.prototype.isRemoved = function isRemoved() { - return this.key === empty; - }; - - var isMap = function isMap(map) { - return !!map._es6map; - }; - - var requireMapSlot = function requireMapSlot(map, method) { - if (!ES.TypeIsObject(map) || !isMap(map)) { - throw new TypeError('Method Map.prototype.' + method + ' called on incompatible receiver ' + ES.ToString(map)); - } - }; - - var MapIterator = function MapIterator(map, kind) { - requireMapSlot(map, '[[MapIterator]]'); - this.head = map._head; - this.i = this.head; - this.kind = kind; - }; - - MapIterator.prototype = { - next: function next() { - var i = this.i; - var kind = this.kind; - var head = this.head; - if (typeof this.i === 'undefined') { - return iteratorResult(); - } - while (i.isRemoved() && i !== head) { - // back up off of removed entries - i = i.prev; - } - // advance to next unreturned element. - var result; - while (i.next !== head) { - i = i.next; - if (!i.isRemoved()) { - if (kind === 'key') { - result = i.key; - } else if (kind === 'value') { - result = i.value; - } else { - result = [i.key, i.value]; - } - this.i = i; - return iteratorResult(result); - } - } - // once the iterator is done, it is done forever. - this.i = void 0; - return iteratorResult(); - } - }; - addIterator(MapIterator.prototype); - - var Map$prototype; - var MapShim = function Map() { - if (!(this instanceof Map)) { - throw new TypeError('Constructor Map requires "new"'); - } - if (this && this._es6map) { - throw new TypeError('Bad construction'); - } - var map = emulateES6construct(this, Map, Map$prototype, { - _es6map: true, - _head: null, - _map: OrigMap ? new OrigMap() : null, - _size: 0, - _storage: emptyObject() - }); - - var head = new MapEntry(null, null); - // circular doubly-linked list. - /* eslint no-multi-assign: 1 */ - head.next = head.prev = head; - map._head = head; - - // Optionally initialize map from iterable - if (arguments.length > 0) { - addIterableToMap(Map, map, arguments[0]); - } - return map; - }; - Map$prototype = MapShim.prototype; - - Value.getter(Map$prototype, 'size', function () { - if (typeof this._size === 'undefined') { - throw new TypeError('size method called on incompatible Map'); - } - return this._size; - }); - - defineProperties(Map$prototype, { - get: function get(key) { - requireMapSlot(this, 'get'); - var entry; - var fkey = fastkey(key, true); - if (fkey !== null) { - // fast O(1) path - entry = this._storage[fkey]; - if (entry) { - return entry.value; - } else { - return; - } - } - if (this._map) { - // fast object key path - entry = origMapGet.call(this._map, key); - if (entry) { - return entry.value; - } else { - return; - } - } - var head = this._head; - var i = head; - while ((i = i.next) !== head) { - if (ES.SameValueZero(i.key, key)) { - return i.value; - } - } - }, - - has: function has(key) { - requireMapSlot(this, 'has'); - var fkey = fastkey(key, true); - if (fkey !== null) { - // fast O(1) path - return typeof this._storage[fkey] !== 'undefined'; - } - if (this._map) { - // fast object key path - return origMapHas.call(this._map, key); - } - var head = this._head; - var i = head; - while ((i = i.next) !== head) { - if (ES.SameValueZero(i.key, key)) { - return true; - } - } - return false; - }, - - set: function set(key, value) { - requireMapSlot(this, 'set'); - var head = this._head; - var i = head; - var entry; - var fkey = fastkey(key, true); - if (fkey !== null) { - // fast O(1) path - if (typeof this._storage[fkey] !== 'undefined') { - this._storage[fkey].value = value; - return this; - } else { - entry = this._storage[fkey] = new MapEntry(key, value); /* eslint no-multi-assign: 1 */ - i = head.prev; - // fall through - } - } else if (this._map) { - // fast object key path - if (origMapHas.call(this._map, key)) { - origMapGet.call(this._map, key).value = value; - } else { - entry = new MapEntry(key, value); - origMapSet.call(this._map, key, entry); - i = head.prev; - // fall through - } - } - while ((i = i.next) !== head) { - if (ES.SameValueZero(i.key, key)) { - i.value = value; - return this; - } - } - entry = entry || new MapEntry(key, value); - if (ES.SameValue(-0, key)) { - entry.key = +0; // coerce -0 to +0 in entry - } - entry.next = this._head; - entry.prev = this._head.prev; - entry.prev.next = entry; - entry.next.prev = entry; - this._size += 1; - return this; - }, - - 'delete': function (key) { - requireMapSlot(this, 'delete'); - var head = this._head; - var i = head; - var fkey = fastkey(key, true); - if (fkey !== null) { - // fast O(1) path - if (typeof this._storage[fkey] === 'undefined') { - return false; - } - i = this._storage[fkey].prev; - delete this._storage[fkey]; - // fall through - } else if (this._map) { - // fast object key path - if (!origMapHas.call(this._map, key)) { - return false; - } - i = origMapGet.call(this._map, key).prev; - origMapDelete.call(this._map, key); - // fall through - } - while ((i = i.next) !== head) { - if (ES.SameValueZero(i.key, key)) { - i.key = empty; - i.value = empty; - i.prev.next = i.next; - i.next.prev = i.prev; - this._size -= 1; - return true; - } - } - return false; - }, - - clear: function clear() { - /* eslint no-multi-assign: 1 */ - requireMapSlot(this, 'clear'); - this._map = OrigMap ? new OrigMap() : null; - this._size = 0; - this._storage = emptyObject(); - var head = this._head; - var i = head; - var p = i.next; - while ((i = p) !== head) { - i.key = empty; - i.value = empty; - p = i.next; - i.next = i.prev = head; - } - head.next = head.prev = head; - }, - - keys: function keys() { - requireMapSlot(this, 'keys'); - return new MapIterator(this, 'key'); - }, - - values: function values() { - requireMapSlot(this, 'values'); - return new MapIterator(this, 'value'); - }, - - entries: function entries() { - requireMapSlot(this, 'entries'); - return new MapIterator(this, 'key+value'); - }, - - forEach: function forEach(callback) { - requireMapSlot(this, 'forEach'); - var context = arguments.length > 1 ? arguments[1] : null; - var it = this.entries(); - for (var entry = it.next(); !entry.done; entry = it.next()) { - if (context) { - _call(callback, context, entry.value[1], entry.value[0], this); - } else { - callback(entry.value[1], entry.value[0], this); - } - } - } - }); - addIterator(Map$prototype, Map$prototype.entries); - - return MapShim; - }()), - - Set: (function () { - var isSet = function isSet(set) { - return set._es6set && typeof set._storage !== 'undefined'; - }; - var requireSetSlot = function requireSetSlot(set, method) { - if (!ES.TypeIsObject(set) || !isSet(set)) { - // https://github.com/paulmillr/es6-shim/issues/176 - throw new TypeError('Set.prototype.' + method + ' called on incompatible receiver ' + ES.ToString(set)); - } - }; - - // Creating a Map is expensive. To speed up the common case of - // Sets containing only string or numeric keys, we use an object - // as backing storage and lazily create a full Map only when - // required. - var Set$prototype; - var SetShim = function Set() { - if (!(this instanceof Set)) { - throw new TypeError('Constructor Set requires "new"'); - } - if (this && this._es6set) { - throw new TypeError('Bad construction'); - } - var set = emulateES6construct(this, Set, Set$prototype, { - _es6set: true, - '[[SetData]]': null, - _storage: emptyObject() - }); - if (!set._es6set) { - throw new TypeError('bad set'); - } - - // Optionally initialize Set from iterable - if (arguments.length > 0) { - addIterableToSet(Set, set, arguments[0]); - } - return set; - }; - Set$prototype = SetShim.prototype; - - var decodeKey = function (key) { - var k = key; - if (k === '^null') { - return null; - } else if (k === '^undefined') { - return void 0; - } else { - var first = k.charAt(0); - if (first === '$') { - return _strSlice(k, 1); - } else if (first === 'n') { - return +_strSlice(k, 1); - } else if (first === 'b') { - return k === 'btrue'; - } - } - return +k; - }; - // Switch from the object backing storage to a full Map. - var ensureMap = function ensureMap(set) { - if (!set['[[SetData]]']) { - var m = new collectionShims.Map(); - set['[[SetData]]'] = m; - _forEach(keys(set._storage), function (key) { - var k = decodeKey(key); - m.set(k, k); - }); - set['[[SetData]]'] = m; - } - set._storage = null; // free old backing storage - }; - - Value.getter(SetShim.prototype, 'size', function () { - requireSetSlot(this, 'size'); - if (this._storage) { - return keys(this._storage).length; - } - ensureMap(this); - return this['[[SetData]]'].size; - }); - - defineProperties(SetShim.prototype, { - has: function has(key) { - requireSetSlot(this, 'has'); - var fkey; - if (this._storage && (fkey = fastkey(key)) !== null) { - return !!this._storage[fkey]; - } - ensureMap(this); - return this['[[SetData]]'].has(key); - }, - - add: function add(key) { - requireSetSlot(this, 'add'); - var fkey; - if (this._storage && (fkey = fastkey(key)) !== null) { - this._storage[fkey] = true; - return this; - } - ensureMap(this); - this['[[SetData]]'].set(key, key); - return this; - }, - - 'delete': function (key) { - requireSetSlot(this, 'delete'); - var fkey; - if (this._storage && (fkey = fastkey(key)) !== null) { - var hasFKey = _hasOwnProperty(this._storage, fkey); - return (delete this._storage[fkey]) && hasFKey; - } - ensureMap(this); - return this['[[SetData]]']['delete'](key); - }, - - clear: function clear() { - requireSetSlot(this, 'clear'); - if (this._storage) { - this._storage = emptyObject(); - } - if (this['[[SetData]]']) { - this['[[SetData]]'].clear(); - } - }, - - values: function values() { - requireSetSlot(this, 'values'); - ensureMap(this); - return this['[[SetData]]'].values(); - }, - - entries: function entries() { - requireSetSlot(this, 'entries'); - ensureMap(this); - return this['[[SetData]]'].entries(); - }, - - forEach: function forEach(callback) { - requireSetSlot(this, 'forEach'); - var context = arguments.length > 1 ? arguments[1] : null; - var entireSet = this; - ensureMap(entireSet); - this['[[SetData]]'].forEach(function (value, key) { - if (context) { - _call(callback, context, key, key, entireSet); - } else { - callback(key, key, entireSet); - } - }); - } - }); - defineProperty(SetShim.prototype, 'keys', SetShim.prototype.values, true); - addIterator(SetShim.prototype, SetShim.prototype.values); - - return SetShim; - }()) - }; - - if (globals.Map || globals.Set) { - // Safari 8, for example, doesn't accept an iterable. - var mapAcceptsArguments = valueOrFalseIfThrows(function () { return new Map([[1, 2]]).get(1) === 2; }); - if (!mapAcceptsArguments) { - globals.Map = function Map() { - if (!(this instanceof Map)) { - throw new TypeError('Constructor Map requires "new"'); - } - var m = new OrigMap(); - if (arguments.length > 0) { - addIterableToMap(Map, m, arguments[0]); - } - delete m.constructor; - Object.setPrototypeOf(m, globals.Map.prototype); - return m; - }; - globals.Map.prototype = create(OrigMap.prototype); - defineProperty(globals.Map.prototype, 'constructor', globals.Map, true); - Value.preserveToString(globals.Map, OrigMap); - } - var testMap = new Map(); - var mapUsesSameValueZero = (function () { - // Chrome 38-42, node 0.11/0.12, iojs 1/2 also have a bug when the Map has a size > 4 - var m = new Map([[1, 0], [2, 0], [3, 0], [4, 0]]); - m.set(-0, m); - return m.get(0) === m && m.get(-0) === m && m.has(0) && m.has(-0); - }()); - var mapSupportsChaining = testMap.set(1, 2) === testMap; - if (!mapUsesSameValueZero || !mapSupportsChaining) { - overrideNative(Map.prototype, 'set', function set(k, v) { - _call(origMapSet, this, k === 0 ? 0 : k, v); - return this; - }); - } - if (!mapUsesSameValueZero) { - defineProperties(Map.prototype, { - get: function get(k) { - return _call(origMapGet, this, k === 0 ? 0 : k); - }, - has: function has(k) { - return _call(origMapHas, this, k === 0 ? 0 : k); - } - }, true); - Value.preserveToString(Map.prototype.get, origMapGet); - Value.preserveToString(Map.prototype.has, origMapHas); - } - var testSet = new Set(); - var setUsesSameValueZero = (function (s) { - s['delete'](0); - s.add(-0); - return !s.has(0); - }(testSet)); - var setSupportsChaining = testSet.add(1) === testSet; - if (!setUsesSameValueZero || !setSupportsChaining) { - var origSetAdd = Set.prototype.add; - Set.prototype.add = function add(v) { - _call(origSetAdd, this, v === 0 ? 0 : v); - return this; - }; - Value.preserveToString(Set.prototype.add, origSetAdd); - } - if (!setUsesSameValueZero) { - var origSetHas = Set.prototype.has; - Set.prototype.has = function has(v) { - return _call(origSetHas, this, v === 0 ? 0 : v); - }; - Value.preserveToString(Set.prototype.has, origSetHas); - var origSetDel = Set.prototype['delete']; - Set.prototype['delete'] = function SetDelete(v) { - return _call(origSetDel, this, v === 0 ? 0 : v); - }; - Value.preserveToString(Set.prototype['delete'], origSetDel); - } - var mapSupportsSubclassing = supportsSubclassing(globals.Map, function (M) { - var m = new M([]); - // Firefox 32 is ok with the instantiating the subclass but will - // throw when the map is used. - m.set(42, 42); - return m instanceof M; - }); - // without Object.setPrototypeOf, subclassing is not possible - var mapFailsToSupportSubclassing = Object.setPrototypeOf && !mapSupportsSubclassing; - var mapRequiresNew = (function () { - try { - return !(globals.Map() instanceof globals.Map); - } catch (e) { - return e instanceof TypeError; - } - }()); - if (globals.Map.length !== 0 || mapFailsToSupportSubclassing || !mapRequiresNew) { - globals.Map = function Map() { - if (!(this instanceof Map)) { - throw new TypeError('Constructor Map requires "new"'); - } - var m = new OrigMap(); - if (arguments.length > 0) { - addIterableToMap(Map, m, arguments[0]); - } - delete m.constructor; - Object.setPrototypeOf(m, Map.prototype); - return m; - }; - globals.Map.prototype = OrigMap.prototype; - defineProperty(globals.Map.prototype, 'constructor', globals.Map, true); - Value.preserveToString(globals.Map, OrigMap); - } - var setSupportsSubclassing = supportsSubclassing(globals.Set, function (S) { - var s = new S([]); - s.add(42, 42); - return s instanceof S; - }); - // without Object.setPrototypeOf, subclassing is not possible - var setFailsToSupportSubclassing = Object.setPrototypeOf && !setSupportsSubclassing; - var setRequiresNew = (function () { - try { - return !(globals.Set() instanceof globals.Set); - } catch (e) { - return e instanceof TypeError; - } - }()); - if (globals.Set.length !== 0 || setFailsToSupportSubclassing || !setRequiresNew) { - var OrigSet = globals.Set; - globals.Set = function Set() { - if (!(this instanceof Set)) { - throw new TypeError('Constructor Set requires "new"'); - } - var s = new OrigSet(); - if (arguments.length > 0) { - addIterableToSet(Set, s, arguments[0]); - } - delete s.constructor; - Object.setPrototypeOf(s, Set.prototype); - return s; - }; - globals.Set.prototype = OrigSet.prototype; - defineProperty(globals.Set.prototype, 'constructor', globals.Set, true); - Value.preserveToString(globals.Set, OrigSet); - } - var newMap = new globals.Map(); - var mapIterationThrowsStopIterator = !valueOrFalseIfThrows(function () { - return newMap.keys().next().done; - }); - /* - - In Firefox < 23, Map#size is a function. - - In all current Firefox, Set#entries/keys/values & Map#clear do not exist - - https://bugzilla.mozilla.org/show_bug.cgi?id=869996 - - In Firefox 24, Map and Set do not implement forEach - - In Firefox 25 at least, Map and Set are callable without "new" - */ - if ( - typeof globals.Map.prototype.clear !== 'function' || - new globals.Set().size !== 0 || - newMap.size !== 0 || - typeof globals.Map.prototype.keys !== 'function' || - typeof globals.Set.prototype.keys !== 'function' || - typeof globals.Map.prototype.forEach !== 'function' || - typeof globals.Set.prototype.forEach !== 'function' || - isCallableWithoutNew(globals.Map) || - isCallableWithoutNew(globals.Set) || - typeof newMap.keys().next !== 'function' || // Safari 8 - mapIterationThrowsStopIterator || // Firefox 25 - !mapSupportsSubclassing - ) { - defineProperties(globals, { - Map: collectionShims.Map, - Set: collectionShims.Set - }, true); - } - - if (globals.Set.prototype.keys !== globals.Set.prototype.values) { - // Fixed in WebKit with https://bugs.webkit.org/show_bug.cgi?id=144190 - defineProperty(globals.Set.prototype, 'keys', globals.Set.prototype.values, true); - } - - // Shim incomplete iterator implementations. - addIterator(Object.getPrototypeOf((new globals.Map()).keys())); - addIterator(Object.getPrototypeOf((new globals.Set()).keys())); - - if (functionsHaveNames && globals.Set.prototype.has.name !== 'has') { - // Microsoft Edge v0.11.10074.0 is missing a name on Set#has - var anonymousSetHas = globals.Set.prototype.has; - overrideNative(globals.Set.prototype, 'has', function has(key) { - return _call(anonymousSetHas, this, key); - }); - } - } - defineProperties(globals, collectionShims); - addDefaultSpecies(globals.Map); - addDefaultSpecies(globals.Set); - } - - var throwUnlessTargetIsObject = function throwUnlessTargetIsObject(target) { - if (!ES.TypeIsObject(target)) { - throw new TypeError('target must be an object'); - } - }; - - // Some Reflect methods are basically the same as - // those on the Object global, except that a TypeError is thrown if - // target isn't an object. As well as returning a boolean indicating - // the success of the operation. - var ReflectShims = { - // Apply method in a functional form. - apply: function apply() { - return ES.Call(ES.Call, null, arguments); - }, - - // New operator in a functional form. - construct: function construct(constructor, args) { - if (!ES.IsConstructor(constructor)) { - throw new TypeError('First argument must be a constructor.'); - } - var newTarget = arguments.length > 2 ? arguments[2] : constructor; - if (!ES.IsConstructor(newTarget)) { - throw new TypeError('new.target must be a constructor.'); - } - return ES.Construct(constructor, args, newTarget, 'internal'); - }, - - // When deleting a non-existent or configurable property, - // true is returned. - // When attempting to delete a non-configurable property, - // it will return false. - deleteProperty: function deleteProperty(target, key) { - throwUnlessTargetIsObject(target); - if (supportsDescriptors) { - var desc = Object.getOwnPropertyDescriptor(target, key); - - if (desc && !desc.configurable) { - return false; - } - } - - // Will return true. - return delete target[key]; - }, - - has: function has(target, key) { - throwUnlessTargetIsObject(target); - return key in target; - } - }; - - if (Object.getOwnPropertyNames) { - Object.assign(ReflectShims, { - // Basically the result of calling the internal [[OwnPropertyKeys]]. - // Concatenating propertyNames and propertySymbols should do the trick. - // This should continue to work together with a Symbol shim - // which overrides Object.getOwnPropertyNames and implements - // Object.getOwnPropertySymbols. - ownKeys: function ownKeys(target) { - throwUnlessTargetIsObject(target); - var keys = Object.getOwnPropertyNames(target); - - if (ES.IsCallable(Object.getOwnPropertySymbols)) { - _pushApply(keys, Object.getOwnPropertySymbols(target)); - } - - return keys; - } - }); - } - - var callAndCatchException = function ConvertExceptionToBoolean(func) { - return !throwsError(func); - }; - - if (Object.preventExtensions) { - Object.assign(ReflectShims, { - isExtensible: function isExtensible(target) { - throwUnlessTargetIsObject(target); - return Object.isExtensible(target); - }, - preventExtensions: function preventExtensions(target) { - throwUnlessTargetIsObject(target); - return callAndCatchException(function () { - Object.preventExtensions(target); - }); - } - }); - } - - if (supportsDescriptors) { - var internalGet = function get(target, key, receiver) { - var desc = Object.getOwnPropertyDescriptor(target, key); - - if (!desc) { - var parent = Object.getPrototypeOf(target); - - if (parent === null) { - return void 0; - } - - return internalGet(parent, key, receiver); - } - - if ('value' in desc) { - return desc.value; - } - - if (desc.get) { - return ES.Call(desc.get, receiver); - } - - return void 0; - }; - - var internalSet = function set(target, key, value, receiver) { - var desc = Object.getOwnPropertyDescriptor(target, key); - - if (!desc) { - var parent = Object.getPrototypeOf(target); - - if (parent !== null) { - return internalSet(parent, key, value, receiver); - } - - desc = { - value: void 0, - writable: true, - enumerable: true, - configurable: true - }; - } - - if ('value' in desc) { - if (!desc.writable) { - return false; - } - - if (!ES.TypeIsObject(receiver)) { - return false; - } - - var existingDesc = Object.getOwnPropertyDescriptor(receiver, key); - - if (existingDesc) { - return Reflect.defineProperty(receiver, key, { - value: value - }); - } else { - return Reflect.defineProperty(receiver, key, { - value: value, - writable: true, - enumerable: true, - configurable: true - }); - } - } - - if (desc.set) { - _call(desc.set, receiver, value); - return true; - } - - return false; - }; - - Object.assign(ReflectShims, { - defineProperty: function defineProperty(target, propertyKey, attributes) { - throwUnlessTargetIsObject(target); - return callAndCatchException(function () { - Object.defineProperty(target, propertyKey, attributes); - }); - }, - - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { - throwUnlessTargetIsObject(target); - return Object.getOwnPropertyDescriptor(target, propertyKey); - }, - - // Syntax in a functional form. - get: function get(target, key) { - throwUnlessTargetIsObject(target); - var receiver = arguments.length > 2 ? arguments[2] : target; - - return internalGet(target, key, receiver); - }, - - set: function set(target, key, value) { - throwUnlessTargetIsObject(target); - var receiver = arguments.length > 3 ? arguments[3] : target; - - return internalSet(target, key, value, receiver); - } - }); - } - - if (Object.getPrototypeOf) { - var objectDotGetPrototypeOf = Object.getPrototypeOf; - ReflectShims.getPrototypeOf = function getPrototypeOf(target) { - throwUnlessTargetIsObject(target); - return objectDotGetPrototypeOf(target); - }; - } - - if (Object.setPrototypeOf && ReflectShims.getPrototypeOf) { - var willCreateCircularPrototype = function (object, lastProto) { - var proto = lastProto; - while (proto) { - if (object === proto) { - return true; - } - proto = ReflectShims.getPrototypeOf(proto); - } - return false; - }; - - Object.assign(ReflectShims, { - // Sets the prototype of the given object. - // Returns true on success, otherwise false. - setPrototypeOf: function setPrototypeOf(object, proto) { - throwUnlessTargetIsObject(object); - if (proto !== null && !ES.TypeIsObject(proto)) { - throw new TypeError('proto must be an object or null'); - } - - // If they already are the same, we're done. - if (proto === Reflect.getPrototypeOf(object)) { - return true; - } - - // Cannot alter prototype if object not extensible. - if (Reflect.isExtensible && !Reflect.isExtensible(object)) { - return false; - } - - // Ensure that we do not create a circular prototype chain. - if (willCreateCircularPrototype(object, proto)) { - return false; - } - - Object.setPrototypeOf(object, proto); - - return true; - } - }); - } - var defineOrOverrideReflectProperty = function (key, shim) { - if (!ES.IsCallable(globals.Reflect[key])) { - defineProperty(globals.Reflect, key, shim); - } else { - var acceptsPrimitives = valueOrFalseIfThrows(function () { - globals.Reflect[key](1); - globals.Reflect[key](NaN); - globals.Reflect[key](true); - return true; - }); - if (acceptsPrimitives) { - overrideNative(globals.Reflect, key, shim); - } - } - }; - Object.keys(ReflectShims).forEach(function (key) { - defineOrOverrideReflectProperty(key, ReflectShims[key]); - }); - var originalReflectGetProto = globals.Reflect.getPrototypeOf; - if (functionsHaveNames && originalReflectGetProto && originalReflectGetProto.name !== 'getPrototypeOf') { - overrideNative(globals.Reflect, 'getPrototypeOf', function getPrototypeOf(target) { - return _call(originalReflectGetProto, globals.Reflect, target); - }); - } - if (globals.Reflect.setPrototypeOf) { - if (valueOrFalseIfThrows(function () { - globals.Reflect.setPrototypeOf(1, {}); - return true; - })) { - overrideNative(globals.Reflect, 'setPrototypeOf', ReflectShims.setPrototypeOf); - } - } - if (globals.Reflect.defineProperty) { - if (!valueOrFalseIfThrows(function () { - var basic = !globals.Reflect.defineProperty(1, 'test', { value: 1 }); - // "extensible" fails on Edge 0.12 - var extensible = typeof Object.preventExtensions !== 'function' || !globals.Reflect.defineProperty(Object.preventExtensions({}), 'test', {}); - return basic && extensible; - })) { - overrideNative(globals.Reflect, 'defineProperty', ReflectShims.defineProperty); - } - } - if (globals.Reflect.construct) { - if (!valueOrFalseIfThrows(function () { - var F = function F() {}; - return globals.Reflect.construct(function () {}, [], F) instanceof F; - })) { - overrideNative(globals.Reflect, 'construct', ReflectShims.construct); - } - } - - if (String(new Date(NaN)) !== 'Invalid Date') { - var dateToString = Date.prototype.toString; - var shimmedDateToString = function toString() { - var valueOf = +this; - if (valueOf !== valueOf) { - return 'Invalid Date'; - } - return ES.Call(dateToString, this); - }; - overrideNative(Date.prototype, 'toString', shimmedDateToString); - } - - // Annex B HTML methods - // http://www.ecma-international.org/ecma-262/6.0/#sec-additional-properties-of-the-string.prototype-object - var stringHTMLshims = { - anchor: function anchor(name) { return ES.CreateHTML(this, 'a', 'name', name); }, - big: function big() { return ES.CreateHTML(this, 'big', '', ''); }, - blink: function blink() { return ES.CreateHTML(this, 'blink', '', ''); }, - bold: function bold() { return ES.CreateHTML(this, 'b', '', ''); }, - fixed: function fixed() { return ES.CreateHTML(this, 'tt', '', ''); }, - fontcolor: function fontcolor(color) { return ES.CreateHTML(this, 'font', 'color', color); }, - fontsize: function fontsize(size) { return ES.CreateHTML(this, 'font', 'size', size); }, - italics: function italics() { return ES.CreateHTML(this, 'i', '', ''); }, - link: function link(url) { return ES.CreateHTML(this, 'a', 'href', url); }, - small: function small() { return ES.CreateHTML(this, 'small', '', ''); }, - strike: function strike() { return ES.CreateHTML(this, 'strike', '', ''); }, - sub: function sub() { return ES.CreateHTML(this, 'sub', '', ''); }, - sup: function sub() { return ES.CreateHTML(this, 'sup', '', ''); } - }; - _forEach(Object.keys(stringHTMLshims), function (key) { - var method = String.prototype[key]; - var shouldOverwrite = false; - if (ES.IsCallable(method)) { - var output = _call(method, '', ' " '); - var quotesCount = _concat([], output.match(/"/g)).length; - shouldOverwrite = output !== output.toLowerCase() || quotesCount > 2; - } else { - shouldOverwrite = true; - } - if (shouldOverwrite) { - overrideNative(String.prototype, key, stringHTMLshims[key]); - } - }); - - var JSONstringifiesSymbols = (function () { - // Microsoft Edge v0.12 stringifies Symbols incorrectly - if (!hasSymbols) { return false; } // Symbols are not supported - var stringify = typeof JSON === 'object' && typeof JSON.stringify === 'function' ? JSON.stringify : null; - if (!stringify) { return false; } // JSON.stringify is not supported - if (typeof stringify(Symbol()) !== 'undefined') { return true; } // Symbols should become `undefined` - if (stringify([Symbol()]) !== '[null]') { return true; } // Symbols in arrays should become `null` - var obj = { a: Symbol() }; - obj[Symbol()] = true; - if (stringify(obj) !== '{}') { return true; } // Symbol-valued keys *and* Symbol-valued properties should be omitted - return false; - }()); - var JSONstringifyAcceptsObjectSymbol = valueOrFalseIfThrows(function () { - // Chrome 45 throws on stringifying object symbols - if (!hasSymbols) { return true; } // Symbols are not supported - return JSON.stringify(Object(Symbol())) === '{}' && JSON.stringify([Object(Symbol())]) === '[{}]'; - }); - if (JSONstringifiesSymbols || !JSONstringifyAcceptsObjectSymbol) { - var origStringify = JSON.stringify; - overrideNative(JSON, 'stringify', function stringify(value) { - if (typeof value === 'symbol') { return; } - var replacer; - if (arguments.length > 1) { - replacer = arguments[1]; - } - var args = [value]; - if (!isArray(replacer)) { - var replaceFn = ES.IsCallable(replacer) ? replacer : null; - var wrappedReplacer = function (key, val) { - var parsedValue = replaceFn ? _call(replaceFn, this, key, val) : val; - if (typeof parsedValue !== 'symbol') { - if (Type.symbol(parsedValue)) { - return assignTo({})(parsedValue); - } else { - return parsedValue; - } - } - }; - args.push(wrappedReplacer); - } else { - // create wrapped replacer that handles an array replacer? - args.push(replacer); - } - if (arguments.length > 2) { - args.push(arguments[2]); - } - return origStringify.apply(this, args); - }); - } - - return globals; -})); - -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("./node_modules/webpack/buildin/global.js"), __webpack_require__("./node_modules/process/browser.js"))) - -/***/ }), - -/***/ "./node_modules/foreach/index.js": -/***/ (function(module, exports) { - - -var hasOwn = Object.prototype.hasOwnProperty; -var toString = Object.prototype.toString; - -module.exports = function forEach (obj, fn, ctx) { - if (toString.call(fn) !== '[object Function]') { - throw new TypeError('iterator must be a function'); - } - var l = obj.length; - if (l === +l) { - for (var i = 0; i < l; i++) { - fn.call(ctx, obj[i], i, obj); - } - } else { - for (var k in obj) { - if (hasOwn.call(obj, k)) { - fn.call(ctx, obj[k], k, obj); - } - } - } -}; - - - -/***/ }), - -/***/ "./node_modules/function-bind/implementation.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -/* eslint no-invalid-this: 1 */ - -var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; -var slice = Array.prototype.slice; -var toStr = Object.prototype.toString; -var funcType = '[object Function]'; - -module.exports = function bind(that) { - var target = this; - if (typeof target !== 'function' || toStr.call(target) !== funcType) { - throw new TypeError(ERROR_MESSAGE + target); - } - var args = slice.call(arguments, 1); - - var bound; - var binder = function () { - if (this instanceof bound) { - var result = target.apply( - this, - args.concat(slice.call(arguments)) - ); - if (Object(result) === result) { - return result; - } - return this; - } else { - return target.apply( - that, - args.concat(slice.call(arguments)) - ); - } - }; - - var boundLength = Math.max(0, target.length - args.length); - var boundArgs = []; - for (var i = 0; i < boundLength; i++) { - boundArgs.push('$' + i); - } - - bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); - - if (target.prototype) { - var Empty = function Empty() {}; - Empty.prototype = target.prototype; - bound.prototype = new Empty(); - Empty.prototype = null; - } - - return bound; -}; - - -/***/ }), - -/***/ "./node_modules/function-bind/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var implementation = __webpack_require__("./node_modules/function-bind/implementation.js"); - -module.exports = Function.prototype.bind || implementation; - - -/***/ }), - -/***/ "./node_modules/has/src/index.js": -/***/ (function(module, exports, __webpack_require__) { - -var bind = __webpack_require__("./node_modules/function-bind/index.js"); - -module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); - - -/***/ }), - -/***/ "./node_modules/is-callable/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var fnToStr = Function.prototype.toString; - -var constructorRegex = /^\s*class /; -var isES6ClassFn = function isES6ClassFn(value) { - try { - var fnStr = fnToStr.call(value); - var singleStripped = fnStr.replace(/\/\/.*\n/g, ''); - var multiStripped = singleStripped.replace(/\/\*[.\s\S]*\*\//g, ''); - var spaceStripped = multiStripped.replace(/\n/mg, ' ').replace(/ {2}/g, ' '); - return constructorRegex.test(spaceStripped); - } catch (e) { - return false; // not a function - } -}; - -var tryFunctionObject = function tryFunctionObject(value) { - try { - if (isES6ClassFn(value)) { return false; } - fnToStr.call(value); - return true; - } catch (e) { - return false; - } -}; -var toStr = Object.prototype.toString; -var fnClass = '[object Function]'; -var genClass = '[object GeneratorFunction]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; - -module.exports = function isCallable(value) { - if (!value) { return false; } - if (typeof value !== 'function' && typeof value !== 'object') { return false; } - if (hasToStringTag) { return tryFunctionObject(value); } - if (isES6ClassFn(value)) { return false; } - var strClass = toStr.call(value); - return strClass === fnClass || strClass === genClass; -}; - - -/***/ }), - -/***/ "./node_modules/is-date-object/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var getDay = Date.prototype.getDay; -var tryDateObject = function tryDateObject(value) { - try { - getDay.call(value); - return true; - } catch (e) { - return false; - } -}; - -var toStr = Object.prototype.toString; -var dateClass = '[object Date]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; - -module.exports = function isDateObject(value) { - if (typeof value !== 'object' || value === null) { return false; } - return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass; -}; - - -/***/ }), - -/***/ "./node_modules/is-regex/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var has = __webpack_require__("./node_modules/has/src/index.js"); -var regexExec = RegExp.prototype.exec; -var gOPD = Object.getOwnPropertyDescriptor; - -var tryRegexExecCall = function tryRegexExec(value) { - try { - var lastIndex = value.lastIndex; - value.lastIndex = 0; - - regexExec.call(value); - return true; - } catch (e) { - return false; - } finally { - value.lastIndex = lastIndex; - } -}; -var toStr = Object.prototype.toString; -var regexClass = '[object RegExp]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; - -module.exports = function isRegex(value) { - if (!value || typeof value !== 'object') { - return false; - } - if (!hasToStringTag) { - return toStr.call(value) === regexClass; - } - - var descriptor = gOPD(value, 'lastIndex'); - var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); - if (!hasLastIndexDataProperty) { - return false; - } - - return tryRegexExecCall(value); -}; - - -/***/ }), - -/***/ "./node_modules/is-symbol/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var toStr = Object.prototype.toString; -var hasSymbols = typeof Symbol === 'function' && typeof Symbol() === 'symbol'; - -if (hasSymbols) { - var symToStr = Symbol.prototype.toString; - var symStringRegex = /^Symbol\(.*\)$/; - var isSymbolObject = function isSymbolObject(value) { - if (typeof value.valueOf() !== 'symbol') { return false; } - return symStringRegex.test(symToStr.call(value)); - }; - module.exports = function isSymbol(value) { - if (typeof value === 'symbol') { return true; } - if (toStr.call(value) !== '[object Symbol]') { return false; } - try { - return isSymbolObject(value); - } catch (e) { - return false; - } - }; -} else { - module.exports = function isSymbol(value) { - // this environment does not support Symbols. - return false; - }; -} - - -/***/ }), - -/***/ "./node_modules/object-keys/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -// modified from https://github.com/es-shims/es5-shim -var has = Object.prototype.hasOwnProperty; -var toStr = Object.prototype.toString; -var slice = Array.prototype.slice; -var isArgs = __webpack_require__("./node_modules/object-keys/isArguments.js"); -var isEnumerable = Object.prototype.propertyIsEnumerable; -var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); -var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); -var dontEnums = [ - 'toString', - 'toLocaleString', - 'valueOf', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'constructor' -]; -var equalsConstructorPrototype = function (o) { - var ctor = o.constructor; - return ctor && ctor.prototype === o; -}; -var excludedKeys = { - $console: true, - $external: true, - $frame: true, - $frameElement: true, - $frames: true, - $innerHeight: true, - $innerWidth: true, - $outerHeight: true, - $outerWidth: true, - $pageXOffset: true, - $pageYOffset: true, - $parent: true, - $scrollLeft: true, - $scrollTop: true, - $scrollX: true, - $scrollY: true, - $self: true, - $webkitIndexedDB: true, - $webkitStorageInfo: true, - $window: true -}; -var hasAutomationEqualityBug = (function () { - /* global window */ - if (typeof window === 'undefined') { return false; } - for (var k in window) { - try { - if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') { - try { - equalsConstructorPrototype(window[k]); - } catch (e) { - return true; - } - } - } catch (e) { - return true; - } - } - return false; -}()); -var equalsConstructorPrototypeIfNotBuggy = function (o) { - /* global window */ - if (typeof window === 'undefined' || !hasAutomationEqualityBug) { - return equalsConstructorPrototype(o); - } - try { - return equalsConstructorPrototype(o); - } catch (e) { - return false; - } -}; - -var keysShim = function keys(object) { - var isObject = object !== null && typeof object === 'object'; - var isFunction = toStr.call(object) === '[object Function]'; - var isArguments = isArgs(object); - var isString = isObject && toStr.call(object) === '[object String]'; - var theKeys = []; - - if (!isObject && !isFunction && !isArguments) { - throw new TypeError('Object.keys called on a non-object'); - } - - var skipProto = hasProtoEnumBug && isFunction; - if (isString && object.length > 0 && !has.call(object, 0)) { - for (var i = 0; i < object.length; ++i) { - theKeys.push(String(i)); - } - } - - if (isArguments && object.length > 0) { - for (var j = 0; j < object.length; ++j) { - theKeys.push(String(j)); - } - } else { - for (var name in object) { - if (!(skipProto && name === 'prototype') && has.call(object, name)) { - theKeys.push(String(name)); - } - } - } - - if (hasDontEnumBug) { - var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); - - for (var k = 0; k < dontEnums.length; ++k) { - if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) { - theKeys.push(dontEnums[k]); - } - } - } - return theKeys; -}; - -keysShim.shim = function shimObjectKeys() { - if (Object.keys) { - var keysWorksWithArguments = (function () { - // Safari 5.0 bug - return (Object.keys(arguments) || '').length === 2; - }(1, 2)); - if (!keysWorksWithArguments) { - var originalKeys = Object.keys; - Object.keys = function keys(object) { - if (isArgs(object)) { - return originalKeys(slice.call(object)); - } else { - return originalKeys(object); - } - }; - } - } else { - Object.keys = keysShim; - } - return Object.keys || keysShim; -}; - -module.exports = keysShim; - - -/***/ }), - -/***/ "./node_modules/object-keys/isArguments.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var toStr = Object.prototype.toString; - -module.exports = function isArguments(value) { - var str = toStr.call(value); - var isArgs = str === '[object Arguments]'; - if (!isArgs) { - isArgs = str !== '[object Array]' && - value !== null && - typeof value === 'object' && - typeof value.length === 'number' && - value.length >= 0 && - toStr.call(value.callee) === '[object Function]'; - } - return isArgs; -}; - - -/***/ }), - -/***/ "./node_modules/promise.prototype.finally/implementation.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var requirePromise = __webpack_require__("./node_modules/promise.prototype.finally/requirePromise.js"); - -requirePromise(); - -var ES = __webpack_require__("./node_modules/es-abstract/es7.js"); -var bind = __webpack_require__("./node_modules/function-bind/index.js"); - -var getPromise = function getPromise(C, handler) { - return new C(function (resolve) { - resolve(handler()); - }); -}; - -var OriginalPromise = Promise; - -var then = bind.call(Function.call, Promise.prototype.then); - -var promiseFinally = function finally_(onFinally) { - /* eslint no-invalid-this: 0 */ - - var handler = typeof onFinally === 'function' ? onFinally : function () {}; - var C; - var newPromise = then( - this, // throw if IsPromise(this) is false - function (x) { - return then(getPromise(C, handler), function () { - return x; - }); - }, - function (e) { - return then(getPromise(C, handler), function () { - throw e; - }); - } - ); - C = ES.SpeciesConstructor(this, OriginalPromise); // may throw - return newPromise; -}; -if (Object.getOwnPropertyDescriptor) { - var descriptor = Object.getOwnPropertyDescriptor(promiseFinally, 'name'); - if (descriptor && descriptor.configurable) { - Object.defineProperty(promiseFinally, 'name', { configurable: true, value: 'finally' }); - } -} - -module.exports = promiseFinally; - - -/***/ }), - -/***/ "./node_modules/promise.prototype.finally/index.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var bind = __webpack_require__("./node_modules/function-bind/index.js"); -var define = __webpack_require__("./node_modules/define-properties/index.js"); - -var implementation = __webpack_require__("./node_modules/promise.prototype.finally/implementation.js"); -var getPolyfill = __webpack_require__("./node_modules/promise.prototype.finally/polyfill.js"); -var shim = __webpack_require__("./node_modules/promise.prototype.finally/shim.js"); - -var bound = bind.call(Function.call, getPolyfill()); - -define(bound, { - getPolyfill: getPolyfill, - implementation: implementation, - shim: shim -}); - -module.exports = bound; - - -/***/ }), - -/***/ "./node_modules/promise.prototype.finally/polyfill.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var requirePromise = __webpack_require__("./node_modules/promise.prototype.finally/requirePromise.js"); - -var implementation = __webpack_require__("./node_modules/promise.prototype.finally/implementation.js"); - -module.exports = function getPolyfill() { - requirePromise(); - return typeof Promise.prototype['finally'] === 'function' ? Promise.prototype['finally'] : implementation; -}; - - -/***/ }), - -/***/ "./node_modules/promise.prototype.finally/requirePromise.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = function requirePromise() { - if (typeof Promise !== 'function') { - throw new TypeError('`Promise.prototype.finally` requires a global `Promise` be available.'); - } -}; - - -/***/ }), - -/***/ "./node_modules/promise.prototype.finally/shim.js": -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var requirePromise = __webpack_require__("./node_modules/promise.prototype.finally/requirePromise.js"); - -var getPolyfill = __webpack_require__("./node_modules/promise.prototype.finally/polyfill.js"); -var define = __webpack_require__("./node_modules/define-properties/index.js"); - -module.exports = function shimPromiseFinally() { - requirePromise(); - - var polyfill = getPolyfill(); - define(Promise.prototype, { 'finally': polyfill }, { - 'finally': function testFinally() { - return Promise.prototype['finally'] !== polyfill; - } - }); - return polyfill; -}; - - -/***/ }), - -/***/ "./node_modules/regenerator-runtime/runtime.js": -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(global) {/** - * Copyright (c) 2014, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * https://raw.github.com/facebook/regenerator/master/LICENSE file. An - * additional grant of patent rights can be found in the PATENTS file in - * the same directory. - */ - -!(function(global) { - "use strict"; - - var Op = Object.prototype; - var hasOwn = Op.hasOwnProperty; - var undefined; // More compressible than void 0. - var $Symbol = typeof Symbol === "function" ? Symbol : {}; - var iteratorSymbol = $Symbol.iterator || "@@iterator"; - var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; - var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; - - var inModule = typeof module === "object"; - var runtime = global.regeneratorRuntime; - if (runtime) { - if (inModule) { - // If regeneratorRuntime is defined globally and we're in a module, - // make the exports object identical to regeneratorRuntime. - module.exports = runtime; - } - // Don't bother evaluating the rest of this file if the runtime was - // already defined globally. - return; - } - - // Define the runtime globally (as expected by generated code) as either - // module.exports (if we're in a module) or a new, empty object. - runtime = global.regeneratorRuntime = inModule ? module.exports : {}; - - function wrap(innerFn, outerFn, self, tryLocsList) { - // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. - var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; - var generator = Object.create(protoGenerator.prototype); - var context = new Context(tryLocsList || []); - - // The ._invoke method unifies the implementations of the .next, - // .throw, and .return methods. - generator._invoke = makeInvokeMethod(innerFn, self, context); - - return generator; - } - runtime.wrap = wrap; - - // Try/catch helper to minimize deoptimizations. Returns a completion - // record like context.tryEntries[i].completion. This interface could - // have been (and was previously) designed to take a closure to be - // invoked without arguments, but in all the cases we care about we - // already have an existing method we want to call, so there's no need - // to create a new function object. We can even get away with assuming - // the method takes exactly one argument, since that happens to be true - // in every case, so we don't have to touch the arguments object. The - // only additional allocation required is the completion record, which - // has a stable shape and so hopefully should be cheap to allocate. - function tryCatch(fn, obj, arg) { - try { - return { type: "normal", arg: fn.call(obj, arg) }; - } catch (err) { - return { type: "throw", arg: err }; - } - } - - var GenStateSuspendedStart = "suspendedStart"; - var GenStateSuspendedYield = "suspendedYield"; - var GenStateExecuting = "executing"; - var GenStateCompleted = "completed"; - - // Returning this object from the innerFn has the same effect as - // breaking out of the dispatch switch statement. - var ContinueSentinel = {}; - - // Dummy constructor functions that we use as the .constructor and - // .constructor.prototype properties for functions that return Generator - // objects. For full spec compliance, you may wish to configure your - // minifier not to mangle the names of these two functions. - function Generator() {} - function GeneratorFunction() {} - function GeneratorFunctionPrototype() {} - - // This is a polyfill for %IteratorPrototype% for environments that - // don't natively support it. - var IteratorPrototype = {}; - IteratorPrototype[iteratorSymbol] = function () { - return this; - }; - - var getProto = Object.getPrototypeOf; - var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); - if (NativeIteratorPrototype && - NativeIteratorPrototype !== Op && - hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { - // This environment has a native %IteratorPrototype%; use it instead - // of the polyfill. - IteratorPrototype = NativeIteratorPrototype; - } - - var Gp = GeneratorFunctionPrototype.prototype = - Generator.prototype = Object.create(IteratorPrototype); - GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; - GeneratorFunctionPrototype.constructor = GeneratorFunction; - GeneratorFunctionPrototype[toStringTagSymbol] = - GeneratorFunction.displayName = "GeneratorFunction"; - - // Helper for defining the .next, .throw, and .return methods of the - // Iterator interface in terms of a single ._invoke method. - function defineIteratorMethods(prototype) { - ["next", "throw", "return"].forEach(function(method) { - prototype[method] = function(arg) { - return this._invoke(method, arg); - }; - }); - } - - runtime.isGeneratorFunction = function(genFun) { - var ctor = typeof genFun === "function" && genFun.constructor; - return ctor - ? ctor === GeneratorFunction || - // For the native GeneratorFunction constructor, the best we can - // do is to check its .name property. - (ctor.displayName || ctor.name) === "GeneratorFunction" - : false; - }; - - runtime.mark = function(genFun) { - if (Object.setPrototypeOf) { - Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); - } else { - genFun.__proto__ = GeneratorFunctionPrototype; - if (!(toStringTagSymbol in genFun)) { - genFun[toStringTagSymbol] = "GeneratorFunction"; - } - } - genFun.prototype = Object.create(Gp); - return genFun; - }; - - // Within the body of any async function, `await x` is transformed to - // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test - // `hasOwn.call(value, "__await")` to determine if the yielded value is - // meant to be awaited. - runtime.awrap = function(arg) { - return { __await: arg }; - }; - - function AsyncIterator(generator) { - function invoke(method, arg, resolve, reject) { - var record = tryCatch(generator[method], generator, arg); - if (record.type === "throw") { - reject(record.arg); - } else { - var result = record.arg; - var value = result.value; - if (value && - typeof value === "object" && - hasOwn.call(value, "__await")) { - return Promise.resolve(value.__await).then(function(value) { - invoke("next", value, resolve, reject); - }, function(err) { - invoke("throw", err, resolve, reject); - }); - } - - return Promise.resolve(value).then(function(unwrapped) { - // When a yielded Promise is resolved, its final value becomes - // the .value of the Promise<{value,done}> result for the - // current iteration. If the Promise is rejected, however, the - // result for this iteration will be rejected with the same - // reason. Note that rejections of yielded Promises are not - // thrown back into the generator function, as is the case - // when an awaited Promise is rejected. This difference in - // behavior between yield and await is important, because it - // allows the consumer to decide what to do with the yielded - // rejection (swallow it and continue, manually .throw it back - // into the generator, abandon iteration, whatever). With - // await, by contrast, there is no opportunity to examine the - // rejection reason outside the generator function, so the - // only option is to throw it from the await expression, and - // let the generator function handle the exception. - result.value = unwrapped; - resolve(result); - }, reject); - } - } - - if (typeof global.process === "object" && global.process.domain) { - invoke = global.process.domain.bind(invoke); - } - - var previousPromise; - - function enqueue(method, arg) { - function callInvokeWithMethodAndArg() { - return new Promise(function(resolve, reject) { - invoke(method, arg, resolve, reject); - }); - } - - return previousPromise = - // If enqueue has been called before, then we want to wait until - // all previous Promises have been resolved before calling invoke, - // so that results are always delivered in the correct order. If - // enqueue has not been called before, then it is important to - // call invoke immediately, without waiting on a callback to fire, - // so that the async generator function has the opportunity to do - // any necessary setup in a predictable way. This predictability - // is why the Promise constructor synchronously invokes its - // executor callback, and why async functions synchronously - // execute code before the first await. Since we implement simple - // async functions in terms of async generators, it is especially - // important to get this right, even though it requires care. - previousPromise ? previousPromise.then( - callInvokeWithMethodAndArg, - // Avoid propagating failures to Promises returned by later - // invocations of the iterator. - callInvokeWithMethodAndArg - ) : callInvokeWithMethodAndArg(); - } - - // Define the unified helper method that is used to implement .next, - // .throw, and .return (see defineIteratorMethods). - this._invoke = enqueue; - } - - defineIteratorMethods(AsyncIterator.prototype); - AsyncIterator.prototype[asyncIteratorSymbol] = function () { - return this; - }; - runtime.AsyncIterator = AsyncIterator; - - // Note that simple async functions are implemented on top of - // AsyncIterator objects; they just return a Promise for the value of - // the final result produced by the iterator. - runtime.async = function(innerFn, outerFn, self, tryLocsList) { - var iter = new AsyncIterator( - wrap(innerFn, outerFn, self, tryLocsList) - ); - - return runtime.isGeneratorFunction(outerFn) - ? iter // If outerFn is a generator, return the full iterator. - : iter.next().then(function(result) { - return result.done ? result.value : iter.next(); - }); - }; - - function makeInvokeMethod(innerFn, self, context) { - var state = GenStateSuspendedStart; - - return function invoke(method, arg) { - if (state === GenStateExecuting) { - throw new Error("Generator is already running"); - } - - if (state === GenStateCompleted) { - if (method === "throw") { - throw arg; - } - - // Be forgiving, per 25.3.3.3.3 of the spec: - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume - return doneResult(); - } - - context.method = method; - context.arg = arg; - - while (true) { - var delegate = context.delegate; - if (delegate) { - var delegateResult = maybeInvokeDelegate(delegate, context); - if (delegateResult) { - if (delegateResult === ContinueSentinel) continue; - return delegateResult; - } - } - - if (context.method === "next") { - // Setting context._sent for legacy support of Babel's - // function.sent implementation. - context.sent = context._sent = context.arg; - - } else if (context.method === "throw") { - if (state === GenStateSuspendedStart) { - state = GenStateCompleted; - throw context.arg; - } - - context.dispatchException(context.arg); - - } else if (context.method === "return") { - context.abrupt("return", context.arg); - } - - state = GenStateExecuting; - - var record = tryCatch(innerFn, self, context); - if (record.type === "normal") { - // If an exception is thrown from innerFn, we leave state === - // GenStateExecuting and loop back for another invocation. - state = context.done - ? GenStateCompleted - : GenStateSuspendedYield; - - if (record.arg === ContinueSentinel) { - continue; - } - - return { - value: record.arg, - done: context.done - }; - - } else if (record.type === "throw") { - state = GenStateCompleted; - // Dispatch the exception by looping back around to the - // context.dispatchException(context.arg) call above. - context.method = "throw"; - context.arg = record.arg; - } - } - }; - } - - // Call delegate.iterator[context.method](context.arg) and handle the - // result, either by returning a { value, done } result from the - // delegate iterator, or by modifying context.method and context.arg, - // setting context.delegate to null, and returning the ContinueSentinel. - function maybeInvokeDelegate(delegate, context) { - var method = delegate.iterator[context.method]; - if (method === undefined) { - // A .throw or .return when the delegate iterator has no .throw - // method always terminates the yield* loop. - context.delegate = null; - - if (context.method === "throw") { - if (delegate.iterator.return) { - // If the delegate iterator has a return method, give it a - // chance to clean up. - context.method = "return"; - context.arg = undefined; - maybeInvokeDelegate(delegate, context); - - if (context.method === "throw") { - // If maybeInvokeDelegate(context) changed context.method from - // "return" to "throw", let that override the TypeError below. - return ContinueSentinel; - } - } - - context.method = "throw"; - context.arg = new TypeError( - "The iterator does not provide a 'throw' method"); - } - - return ContinueSentinel; - } - - var record = tryCatch(method, delegate.iterator, context.arg); - - if (record.type === "throw") { - context.method = "throw"; - context.arg = record.arg; - context.delegate = null; - return ContinueSentinel; - } - - var info = record.arg; - - if (! info) { - context.method = "throw"; - context.arg = new TypeError("iterator result is not an object"); - context.delegate = null; - return ContinueSentinel; - } - - if (info.done) { - // Assign the result of the finished delegate to the temporary - // variable specified by delegate.resultName (see delegateYield). - context[delegate.resultName] = info.value; - - // Resume execution at the desired location (see delegateYield). - context.next = delegate.nextLoc; - - // If context.method was "throw" but the delegate handled the - // exception, let the outer generator proceed normally. If - // context.method was "next", forget context.arg since it has been - // "consumed" by the delegate iterator. If context.method was - // "return", allow the original .return call to continue in the - // outer generator. - if (context.method !== "return") { - context.method = "next"; - context.arg = undefined; - } - - } else { - // Re-yield the result returned by the delegate method. - return info; - } - - // The delegate iterator is finished, so forget it and continue with - // the outer generator. - context.delegate = null; - return ContinueSentinel; - } - - // Define Generator.prototype.{next,throw,return} in terms of the - // unified ._invoke helper method. - defineIteratorMethods(Gp); - - Gp[toStringTagSymbol] = "Generator"; - - // A Generator should always return itself as the iterator object when the - // @@iterator function is called on it. Some browsers' implementations of the - // iterator prototype chain incorrectly implement this, causing the Generator - // object to not be returned from this call. This ensures that doesn't happen. - // See https://github.com/facebook/regenerator/issues/274 for more details. - Gp[iteratorSymbol] = function() { - return this; - }; - - Gp.toString = function() { - return "[object Generator]"; - }; - - function pushTryEntry(locs) { - var entry = { tryLoc: locs[0] }; - - if (1 in locs) { - entry.catchLoc = locs[1]; - } - - if (2 in locs) { - entry.finallyLoc = locs[2]; - entry.afterLoc = locs[3]; - } - - this.tryEntries.push(entry); - } - - function resetTryEntry(entry) { - var record = entry.completion || {}; - record.type = "normal"; - delete record.arg; - entry.completion = record; - } - - function Context(tryLocsList) { - // The root entry object (effectively a try statement without a catch - // or a finally block) gives us a place to store values thrown from - // locations where there is no enclosing try statement. - this.tryEntries = [{ tryLoc: "root" }]; - tryLocsList.forEach(pushTryEntry, this); - this.reset(true); - } - - runtime.keys = function(object) { - var keys = []; - for (var key in object) { - keys.push(key); - } - keys.reverse(); - - // Rather than returning an object with a next method, we keep - // things simple and return the next function itself. - return function next() { - while (keys.length) { - var key = keys.pop(); - if (key in object) { - next.value = key; - next.done = false; - return next; - } - } - - // To avoid creating an additional object, we just hang the .value - // and .done properties off the next function object itself. This - // also ensures that the minifier will not anonymize the function. - next.done = true; - return next; - }; - }; - - function values(iterable) { - if (iterable) { - var iteratorMethod = iterable[iteratorSymbol]; - if (iteratorMethod) { - return iteratorMethod.call(iterable); - } - - if (typeof iterable.next === "function") { - return iterable; - } - - if (!isNaN(iterable.length)) { - var i = -1, next = function next() { - while (++i < iterable.length) { - if (hasOwn.call(iterable, i)) { - next.value = iterable[i]; - next.done = false; - return next; - } - } - - next.value = undefined; - next.done = true; - - return next; - }; - - return next.next = next; - } - } - - // Return an iterator with no values. - return { next: doneResult }; - } - runtime.values = values; - - function doneResult() { - return { value: undefined, done: true }; - } - - Context.prototype = { - constructor: Context, - - reset: function(skipTempReset) { - this.prev = 0; - this.next = 0; - // Resetting context._sent for legacy support of Babel's - // function.sent implementation. - this.sent = this._sent = undefined; - this.done = false; - this.delegate = null; - - this.method = "next"; - this.arg = undefined; - - this.tryEntries.forEach(resetTryEntry); - - if (!skipTempReset) { - for (var name in this) { - // Not sure about the optimal order of these conditions: - if (name.charAt(0) === "t" && - hasOwn.call(this, name) && - !isNaN(+name.slice(1))) { - this[name] = undefined; - } - } - } - }, - - stop: function() { - this.done = true; - - var rootEntry = this.tryEntries[0]; - var rootRecord = rootEntry.completion; - if (rootRecord.type === "throw") { - throw rootRecord.arg; - } - - return this.rval; - }, - - dispatchException: function(exception) { - if (this.done) { - throw exception; - } - - var context = this; - function handle(loc, caught) { - record.type = "throw"; - record.arg = exception; - context.next = loc; - - if (caught) { - // If the dispatched exception was caught by a catch block, - // then let that catch block handle the exception normally. - context.method = "next"; - context.arg = undefined; - } - - return !! caught; - } - - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - var record = entry.completion; - - if (entry.tryLoc === "root") { - // Exception thrown outside of any try block that could handle - // it, so set the completion value of the entire function to - // throw the exception. - return handle("end"); - } - - if (entry.tryLoc <= this.prev) { - var hasCatch = hasOwn.call(entry, "catchLoc"); - var hasFinally = hasOwn.call(entry, "finallyLoc"); - - if (hasCatch && hasFinally) { - if (this.prev < entry.catchLoc) { - return handle(entry.catchLoc, true); - } else if (this.prev < entry.finallyLoc) { - return handle(entry.finallyLoc); - } - - } else if (hasCatch) { - if (this.prev < entry.catchLoc) { - return handle(entry.catchLoc, true); - } - - } else if (hasFinally) { - if (this.prev < entry.finallyLoc) { - return handle(entry.finallyLoc); - } - - } else { - throw new Error("try statement without catch or finally"); - } - } - } - }, - - abrupt: function(type, arg) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.tryLoc <= this.prev && - hasOwn.call(entry, "finallyLoc") && - this.prev < entry.finallyLoc) { - var finallyEntry = entry; - break; - } - } - - if (finallyEntry && - (type === "break" || - type === "continue") && - finallyEntry.tryLoc <= arg && - arg <= finallyEntry.finallyLoc) { - // Ignore the finally entry if control is not jumping to a - // location outside the try/catch block. - finallyEntry = null; - } - - var record = finallyEntry ? finallyEntry.completion : {}; - record.type = type; - record.arg = arg; - - if (finallyEntry) { - this.method = "next"; - this.next = finallyEntry.finallyLoc; - return ContinueSentinel; - } - - return this.complete(record); - }, - - complete: function(record, afterLoc) { - if (record.type === "throw") { - throw record.arg; - } - - if (record.type === "break" || - record.type === "continue") { - this.next = record.arg; - } else if (record.type === "return") { - this.rval = this.arg = record.arg; - this.method = "return"; - this.next = "end"; - } else if (record.type === "normal" && afterLoc) { - this.next = afterLoc; - } - - return ContinueSentinel; - }, - - finish: function(finallyLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.finallyLoc === finallyLoc) { - this.complete(entry.completion, entry.afterLoc); - resetTryEntry(entry); - return ContinueSentinel; - } - } - }, - - "catch": function(tryLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.tryLoc === tryLoc) { - var record = entry.completion; - if (record.type === "throw") { - var thrown = record.arg; - resetTryEntry(entry); - } - return thrown; - } - } - - // The context.catch method must only be called with a location - // argument that corresponds to a known catch block. - throw new Error("illegal catch attempt"); - }, - - delegateYield: function(iterable, resultName, nextLoc) { - this.delegate = { - iterator: values(iterable), - resultName: resultName, - nextLoc: nextLoc - }; - - if (this.method === "next") { - // Deliberately forget the last sent value so that we don't - // accidentally pass it on to the delegate. - this.arg = undefined; - } - - return ContinueSentinel; - } - }; -})( - // Among the various tricks for obtaining a reference to the global - // object, this seems to be the most reliable technique that does not - // use indirect eval (which violates Content Security Policy). - typeof global === "object" ? global : - typeof window === "object" ? window : - typeof self === "object" ? self : this -); - -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("./node_modules/webpack/buildin/global.js"))) - -/***/ }), - -/***/ "./node_modules/vue-loader/lib/component-normalizer.js": -/***/ (function(module, exports) { - -/* globals __VUE_SSR_CONTEXT__ */ - -// this module is a runtime utility for cleaner component module output and will -// be included in the final webpack user bundle - -module.exports = function normalizeComponent ( - rawScriptExports, - compiledTemplate, - injectStyles, - scopeId, - moduleIdentifier /* server only */ -) { - var esModule - var scriptExports = rawScriptExports = rawScriptExports || {} - - // ES6 modules interop - var type = typeof rawScriptExports.default - if (type === 'object' || type === 'function') { - esModule = rawScriptExports - scriptExports = rawScriptExports.default - } - - // Vue.extend constructor export interop - var options = typeof scriptExports === 'function' - ? scriptExports.options - : scriptExports - - // render functions - if (compiledTemplate) { - options.render = compiledTemplate.render - options.staticRenderFns = compiledTemplate.staticRenderFns - } - - // scopedId - if (scopeId) { - options._scopeId = scopeId - } - - var hook - if (moduleIdentifier) { // server build - hook = function (context) { - // 2.3 injection - context = - context || // cached call - (this.$vnode && this.$vnode.ssrContext) || // stateful - (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional - // 2.2 with runInNewContext: true - if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { - context = __VUE_SSR_CONTEXT__ - } - // inject component styles - if (injectStyles) { - injectStyles.call(this, context) - } - // register component module identifier for async chunk inferrence - if (context && context._registeredComponents) { - context._registeredComponents.add(moduleIdentifier) - } - } - // used by ssr in case component is cached and beforeCreate - // never gets called - options._ssrRegister = hook - } else if (injectStyles) { - hook = injectStyles - } - - if (hook) { - var functional = options.functional - var existing = functional - ? options.render - : options.beforeCreate - if (!functional) { - // inject component registration as beforeCreate hook - options.beforeCreate = existing - ? [].concat(existing, hook) - : [hook] - } else { - // register for functioal component in vue file - options.render = function renderWithStyleInjection (h, context) { - hook.call(context) - return existing(h, context) - } - } - } - - return { - esModule: esModule, - exports: scriptExports, - options: options - } -} - - -/***/ }), - -/***/ "./node_modules/vue-loader/lib/template-compiler/index.js?{\"id\":\"data-v-0632e6bd\",\"hasScoped\":true}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/passport/AuthorizedClients.vue": -/***/ (function(module, exports, __webpack_require__) { - -module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', [(_vm.tokens.length > 0) ? _c('div', [_c('div', { - staticClass: "panel panel-default" - }, [_c('div', { - staticClass: "panel-heading" - }, [_vm._v("Authorized Applications")]), _vm._v(" "), _c('div', { - staticClass: "panel-body" - }, [_c('table', { - staticClass: "table table-borderless m-b-none" - }, [_vm._m(0), _vm._v(" "), _c('tbody', _vm._l((_vm.tokens), function(token) { - return _c('tr', [_c('td', { - staticStyle: { - "vertical-align": "middle" - } - }, [_vm._v("\n " + _vm._s(token.client.name) + "\n ")]), _vm._v(" "), _c('td', { - staticStyle: { - "vertical-align": "middle" - } - }, [(token.scopes.length > 0) ? _c('span', [_vm._v("\n " + _vm._s(token.scopes.join(', ')) + "\n ")]) : _vm._e()]), _vm._v(" "), _c('td', { - staticStyle: { - "vertical-align": "middle" - } - }, [_c('a', { - staticClass: "action-link text-danger", - on: { - "click": function($event) { - _vm.revoke(token) - } - } - }, [_vm._v("\n Revoke\n ")])])]) - }))])])])]) : _vm._e()]) -},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('thead', [_c('tr', [_c('th', [_vm._v("Name")]), _vm._v(" "), _c('th', [_vm._v("Scopes")]), _vm._v(" "), _c('th')])]) -}]} -module.exports.render._withStripped = true -if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-hot-reload-api").rerender("data-v-0632e6bd", module.exports) - } -} - -/***/ }), - -/***/ "./node_modules/vue-loader/lib/template-compiler/index.js?{\"id\":\"data-v-31728d50\",\"hasScoped\":true}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/passport/Clients.vue": -/***/ (function(module, exports, __webpack_require__) { - -module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', [_c('div', { - staticClass: "panel panel-default" - }, [_c('div', { - staticClass: "panel-heading" - }, [_c('div', { - staticStyle: { - "display": "flex", - "justify-content": "space-between", - "align-items": "center" - } - }, [_c('span', [_vm._v("\n OAuth Clients\n ")]), _vm._v(" "), _c('a', { - staticClass: "action-link", - on: { - "click": _vm.showCreateClientForm - } - }, [_vm._v("\n Create New Client\n ")])])]), _vm._v(" "), _c('div', { - staticClass: "panel-body" - }, [(_vm.clients.length === 0) ? _c('p', { - staticClass: "m-b-none" - }, [_vm._v("\n You have not created any OAuth clients.\n ")]) : _vm._e(), _vm._v(" "), (_vm.clients.length > 0) ? _c('table', { - staticClass: "table table-borderless m-b-none" - }, [_vm._m(0), _vm._v(" "), _c('tbody', _vm._l((_vm.clients), function(client) { - return _c('tr', [_c('td', { - staticStyle: { - "vertical-align": "middle" - } - }, [_vm._v("\n " + _vm._s(client.id) + "\n ")]), _vm._v(" "), _c('td', { - staticStyle: { - "vertical-align": "middle" - } - }, [_vm._v("\n " + _vm._s(client.name) + "\n ")]), _vm._v(" "), _c('td', { - staticStyle: { - "vertical-align": "middle" - } - }, [_c('code', [_vm._v(_vm._s(client.secret))])]), _vm._v(" "), _c('td', { - staticStyle: { - "vertical-align": "middle" - } - }, [_c('a', { - staticClass: "action-link", - on: { - "click": function($event) { - _vm.edit(client) - } - } - }, [_vm._v("\n Edit\n ")])]), _vm._v(" "), _c('td', { - staticStyle: { - "vertical-align": "middle" - } - }, [_c('a', { - staticClass: "action-link text-danger", - on: { - "click": function($event) { - _vm.destroy(client) - } - } - }, [_vm._v("\n Delete\n ")])])]) - }))]) : _vm._e()])]), _vm._v(" "), _c('div', { - staticClass: "modal fade", - attrs: { - "id": "modal-create-client", - "tabindex": "-1", - "role": "dialog" - } - }, [_c('div', { - staticClass: "modal-dialog" - }, [_c('div', { - staticClass: "modal-content" - }, [_vm._m(1), _vm._v(" "), _c('div', { - staticClass: "modal-body" - }, [(_vm.createForm.errors.length > 0) ? _c('div', { - staticClass: "alert alert-danger" - }, [_vm._m(2), _vm._v(" "), _c('br'), _vm._v(" "), _c('ul', _vm._l((_vm.createForm.errors), function(error) { - return _c('li', [_vm._v("\n " + _vm._s(error) + "\n ")]) - }))]) : _vm._e(), _vm._v(" "), _c('form', { - staticClass: "form-horizontal", - attrs: { - "role": "form" - } - }, [_c('div', { - staticClass: "form-group" - }, [_c('label', { - staticClass: "col-md-3 control-label" - }, [_vm._v("Name")]), _vm._v(" "), _c('div', { - staticClass: "col-md-7" - }, [_c('input', { - directives: [{ - name: "model", - rawName: "v-model", - value: (_vm.createForm.name), - expression: "createForm.name" - }], - staticClass: "form-control", - attrs: { - "id": "create-client-name", - "type": "text" - }, - domProps: { - "value": (_vm.createForm.name) - }, - on: { - "keyup": function($event) { - if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13)) { return null; } - _vm.store($event) - }, - "input": function($event) { - if ($event.target.composing) { return; } - _vm.createForm.name = $event.target.value - } - } - }), _vm._v(" "), _c('span', { - staticClass: "help-block" - }, [_vm._v("\n Something your users will recognize and trust.\n ")])])]), _vm._v(" "), _c('div', { - staticClass: "form-group" - }, [_c('label', { - staticClass: "col-md-3 control-label" - }, [_vm._v("Redirect URL")]), _vm._v(" "), _c('div', { - staticClass: "col-md-7" - }, [_c('input', { - directives: [{ - name: "model", - rawName: "v-model", - value: (_vm.createForm.redirect), - expression: "createForm.redirect" - }], - staticClass: "form-control", - attrs: { - "type": "text", - "name": "redirect" - }, - domProps: { - "value": (_vm.createForm.redirect) - }, - on: { - "keyup": function($event) { - if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13)) { return null; } - _vm.store($event) - }, - "input": function($event) { - if ($event.target.composing) { return; } - _vm.createForm.redirect = $event.target.value - } - } - }), _vm._v(" "), _c('span', { - staticClass: "help-block" - }, [_vm._v("\n Your application's authorization callback URL.\n ")])])])])]), _vm._v(" "), _c('div', { - staticClass: "modal-footer" - }, [_c('button', { - staticClass: "btn btn-default", - attrs: { - "type": "button", - "data-dismiss": "modal" - } - }, [_vm._v("Close")]), _vm._v(" "), _c('button', { - staticClass: "btn btn-primary", - attrs: { - "type": "button" - }, - on: { - "click": _vm.store - } - }, [_vm._v("\n Create\n ")])])])])]), _vm._v(" "), _c('div', { - staticClass: "modal fade", - attrs: { - "id": "modal-edit-client", - "tabindex": "-1", - "role": "dialog" - } - }, [_c('div', { - staticClass: "modal-dialog" - }, [_c('div', { - staticClass: "modal-content" - }, [_vm._m(3), _vm._v(" "), _c('div', { - staticClass: "modal-body" - }, [(_vm.editForm.errors.length > 0) ? _c('div', { - staticClass: "alert alert-danger" - }, [_vm._m(4), _vm._v(" "), _c('br'), _vm._v(" "), _c('ul', _vm._l((_vm.editForm.errors), function(error) { - return _c('li', [_vm._v("\n " + _vm._s(error) + "\n ")]) - }))]) : _vm._e(), _vm._v(" "), _c('form', { - staticClass: "form-horizontal", - attrs: { - "role": "form" - } - }, [_c('div', { - staticClass: "form-group" - }, [_c('label', { - staticClass: "col-md-3 control-label" - }, [_vm._v("Name")]), _vm._v(" "), _c('div', { - staticClass: "col-md-7" - }, [_c('input', { - directives: [{ - name: "model", - rawName: "v-model", - value: (_vm.editForm.name), - expression: "editForm.name" - }], - staticClass: "form-control", - attrs: { - "id": "edit-client-name", - "type": "text" - }, - domProps: { - "value": (_vm.editForm.name) - }, - on: { - "keyup": function($event) { - if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13)) { return null; } - _vm.update($event) - }, - "input": function($event) { - if ($event.target.composing) { return; } - _vm.editForm.name = $event.target.value - } - } - }), _vm._v(" "), _c('span', { - staticClass: "help-block" - }, [_vm._v("\n Something your users will recognize and trust.\n ")])])]), _vm._v(" "), _c('div', { - staticClass: "form-group" - }, [_c('label', { - staticClass: "col-md-3 control-label" - }, [_vm._v("Redirect URL")]), _vm._v(" "), _c('div', { - staticClass: "col-md-7" - }, [_c('input', { - directives: [{ - name: "model", - rawName: "v-model", - value: (_vm.editForm.redirect), - expression: "editForm.redirect" - }], - staticClass: "form-control", - attrs: { - "type": "text", - "name": "redirect" - }, - domProps: { - "value": (_vm.editForm.redirect) - }, - on: { - "keyup": function($event) { - if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13)) { return null; } - _vm.update($event) - }, - "input": function($event) { - if ($event.target.composing) { return; } - _vm.editForm.redirect = $event.target.value - } - } - }), _vm._v(" "), _c('span', { - staticClass: "help-block" - }, [_vm._v("\n Your application's authorization callback URL.\n ")])])])])]), _vm._v(" "), _c('div', { - staticClass: "modal-footer" - }, [_c('button', { - staticClass: "btn btn-default", - attrs: { - "type": "button", - "data-dismiss": "modal" - } - }, [_vm._v("Close")]), _vm._v(" "), _c('button', { - staticClass: "btn btn-primary", - attrs: { - "type": "button" - }, - on: { - "click": _vm.update - } - }, [_vm._v("\n Save Changes\n ")])])])])])]) -},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('thead', [_c('tr', [_c('th', [_vm._v("Client ID")]), _vm._v(" "), _c('th', [_vm._v("Name")]), _vm._v(" "), _c('th', [_vm._v("Secret")]), _vm._v(" "), _c('th'), _vm._v(" "), _c('th')])]) -},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', { - staticClass: "modal-header" - }, [_c('button', { - staticClass: "close", - attrs: { - "type": "button ", - "data-dismiss": "modal", - "aria-hidden": "true" - } - }, [_vm._v("×")]), _vm._v(" "), _c('h4', { - staticClass: "modal-title" - }, [_vm._v("\n Create Client\n ")])]) -},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('p', [_c('strong', [_vm._v("Whoops!")]), _vm._v(" Something went wrong!")]) -},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', { - staticClass: "modal-header" - }, [_c('button', { - staticClass: "close", - attrs: { - "type": "button ", - "data-dismiss": "modal", - "aria-hidden": "true" - } - }, [_vm._v("×")]), _vm._v(" "), _c('h4', { - staticClass: "modal-title" - }, [_vm._v("\n Edit Client\n ")])]) -},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('p', [_c('strong', [_vm._v("Whoops!")]), _vm._v(" Something went wrong!")]) -}]} -module.exports.render._withStripped = true -if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-hot-reload-api").rerender("data-v-31728d50", module.exports) - } -} - -/***/ }), - -/***/ "./node_modules/vue-loader/lib/template-compiler/index.js?{\"id\":\"data-v-a47b3826\",\"hasScoped\":false}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/Example.vue": -/***/ (function(module, exports, __webpack_require__) { - -module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _vm._m(0) -},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', { - staticClass: "container" - }, [_c('div', { - staticClass: "row" - }, [_c('div', { - staticClass: "col-md-8 col-md-offset-2" - }, [_c('div', { - staticClass: "panel panel-default" - }, [_c('div', { - staticClass: "panel-heading" - }, [_vm._v("Example Component")]), _vm._v(" "), _c('div', { - staticClass: "panel-body" - }, [_vm._v("\n I'm an example component!\n ")])])])])]) -}]} -module.exports.render._withStripped = true -if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-hot-reload-api").rerender("data-v-a47b3826", module.exports) - } -} - -/***/ }), - -/***/ "./node_modules/vue-loader/lib/template-compiler/index.js?{\"id\":\"data-v-af1adf44\",\"hasScoped\":true}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/passport/PersonalAccessTokens.vue": -/***/ (function(module, exports, __webpack_require__) { - -module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', [_c('div', [_c('div', { - staticClass: "panel panel-default" - }, [_c('div', { - staticClass: "panel-heading" - }, [_c('div', { - staticStyle: { - "display": "flex", - "justify-content": "space-between", - "align-items": "center" - } - }, [_c('span', [_vm._v("\n Personal Access Tokens\n ")]), _vm._v(" "), _c('a', { - staticClass: "action-link", - on: { - "click": _vm.showCreateTokenForm - } - }, [_vm._v("\n Create New Token\n ")])])]), _vm._v(" "), _c('div', { - staticClass: "panel-body" - }, [(_vm.tokens.length === 0) ? _c('p', { - staticClass: "m-b-none" - }, [_vm._v("\n You have not created any personal access tokens.\n ")]) : _vm._e(), _vm._v(" "), (_vm.tokens.length > 0) ? _c('table', { - staticClass: "table table-borderless m-b-none" - }, [_vm._m(0), _vm._v(" "), _c('tbody', _vm._l((_vm.tokens), function(token) { - return _c('tr', [_c('td', { - staticStyle: { - "vertical-align": "middle" - } - }, [_vm._v("\n " + _vm._s(token.name) + "\n ")]), _vm._v(" "), _c('td', { - staticStyle: { - "vertical-align": "middle" - } - }, [_c('a', { - staticClass: "action-link text-danger", - on: { - "click": function($event) { - _vm.revoke(token) - } - } - }, [_vm._v("\n Delete\n ")])])]) - }))]) : _vm._e()])])]), _vm._v(" "), _c('div', { - staticClass: "modal fade", - attrs: { - "id": "modal-create-token", - "tabindex": "-1", - "role": "dialog" - } - }, [_c('div', { - staticClass: "modal-dialog" - }, [_c('div', { - staticClass: "modal-content" - }, [_vm._m(1), _vm._v(" "), _c('div', { - staticClass: "modal-body" - }, [(_vm.form.errors.length > 0) ? _c('div', { - staticClass: "alert alert-danger" - }, [_vm._m(2), _vm._v(" "), _c('br'), _vm._v(" "), _c('ul', _vm._l((_vm.form.errors), function(error) { - return _c('li', [_vm._v("\n " + _vm._s(error) + "\n ")]) - }))]) : _vm._e(), _vm._v(" "), _c('form', { - staticClass: "form-horizontal", - attrs: { - "role": "form" - }, - on: { - "submit": function($event) { - $event.preventDefault(); - _vm.store($event) - } - } - }, [_c('div', { - staticClass: "form-group" - }, [_c('label', { - staticClass: "col-md-4 control-label" - }, [_vm._v("Name")]), _vm._v(" "), _c('div', { - staticClass: "col-md-6" - }, [_c('input', { - directives: [{ - name: "model", - rawName: "v-model", - value: (_vm.form.name), - expression: "form.name" - }], - staticClass: "form-control", - attrs: { - "id": "create-token-name", - "type": "text", - "name": "name" - }, - domProps: { - "value": (_vm.form.name) - }, - on: { - "input": function($event) { - if ($event.target.composing) { return; } - _vm.form.name = $event.target.value - } - } - })])]), _vm._v(" "), (_vm.scopes.length > 0) ? _c('div', { - staticClass: "form-group" - }, [_c('label', { - staticClass: "col-md-4 control-label" - }, [_vm._v("Scopes")]), _vm._v(" "), _c('div', { - staticClass: "col-md-6" - }, _vm._l((_vm.scopes), function(scope) { - return _c('div', [_c('div', { - staticClass: "checkbox" - }, [_c('label', [_c('input', { - attrs: { - "type": "checkbox" - }, - domProps: { - "checked": _vm.scopeIsAssigned(scope.id) - }, - on: { - "click": function($event) { - _vm.toggleScope(scope.id) - } - } - }), _vm._v("\n\n " + _vm._s(scope.id) + "\n ")])])]) - }))]) : _vm._e()])]), _vm._v(" "), _c('div', { - staticClass: "modal-footer" - }, [_c('button', { - staticClass: "btn btn-default", - attrs: { - "type": "button", - "data-dismiss": "modal" - } - }, [_vm._v("Close")]), _vm._v(" "), _c('button', { - staticClass: "btn btn-primary", - attrs: { - "type": "button" - }, - on: { - "click": _vm.store - } - }, [_vm._v("\n Create\n ")])])])])]), _vm._v(" "), _c('div', { - staticClass: "modal fade", - attrs: { - "id": "modal-access-token", - "tabindex": "-1", - "role": "dialog" - } - }, [_c('div', { - staticClass: "modal-dialog" - }, [_c('div', { - staticClass: "modal-content" - }, [_vm._m(3), _vm._v(" "), _c('div', { - staticClass: "modal-body" - }, [_c('p', [_vm._v("\n Here is your new personal access token. This is the only time it will be shown so don't lose it!\n You may now use this token to make API requests.\n ")]), _vm._v(" "), _c('pre', [_c('code', [_vm._v(_vm._s(_vm.accessToken))])])]), _vm._v(" "), _vm._m(4)])])])]) -},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('thead', [_c('tr', [_c('th', [_vm._v("Name")]), _vm._v(" "), _c('th')])]) -},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', { - staticClass: "modal-header" - }, [_c('button', { - staticClass: "close", - attrs: { - "type": "button ", - "data-dismiss": "modal", - "aria-hidden": "true" - } - }, [_vm._v("×")]), _vm._v(" "), _c('h4', { - staticClass: "modal-title" - }, [_vm._v("\n Create Token\n ")])]) -},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('p', [_c('strong', [_vm._v("Whoops!")]), _vm._v(" Something went wrong!")]) -},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', { - staticClass: "modal-header" - }, [_c('button', { - staticClass: "close", - attrs: { - "type": "button ", - "data-dismiss": "modal", - "aria-hidden": "true" - } - }, [_vm._v("×")]), _vm._v(" "), _c('h4', { - staticClass: "modal-title" - }, [_vm._v("\n Personal Access Token\n ")])]) -},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', { - staticClass: "modal-footer" - }, [_c('button', { - staticClass: "btn btn-default", - attrs: { - "type": "button", - "data-dismiss": "modal" - } - }, [_vm._v("Close")])]) -}]} -module.exports.render._withStripped = true -if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-hot-reload-api").rerender("data-v-af1adf44", module.exports) - } -} - -/***/ }), - -/***/ "./node_modules/vue-loader/lib/template-compiler/index.js?{\"id\":\"data-v-b19c587c\",\"hasScoped\":false}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/console/OAuth.vue": -/***/ (function(module, exports, __webpack_require__) { - -module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', [_c('passport-clients'), _vm._v(" "), _c('passport-authorized-clients'), _vm._v(" "), _c('passport-personal-access-tokens')], 1) -},staticRenderFns: []} -module.exports.render._withStripped = true -if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-hot-reload-api").rerender("data-v-b19c587c", module.exports) - } -} - -/***/ }), - -/***/ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/index.js?sourceMap!./node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-0632e6bd\",\"scoped\":true,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/passport/AuthorizedClients.vue": -/***/ (function(module, exports, __webpack_require__) { - -// style-loader: Adds some css to the DOM by adding a