diff --git a/.htaccess b/.htaccess index d8b312ce..43fdeeea 100755 --- a/.htaccess +++ b/.htaccess @@ -2,6 +2,7 @@ Options -Indexes RewriteEngine On +RewriteBase / # Handle Authorization Header RewriteCond %{HTTP:Authorization} ^(.*) diff --git a/.travis.yml b/.travis.yml index be7c4c38..de34e053 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ services: before_script: - cp .travis/env.travis.php env.php - - composer install --no-interaction --verbose + - composer install --dev --no-interaction --verbose script: - php artisan database:create --reset diff --git a/.travis/Formatting.xml b/.travis/Formatting.xml new file mode 100644 index 00000000..41cf2013 --- /dev/null +++ b/.travis/Formatting.xml @@ -0,0 +1,27 @@ + + diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index d4c93ba9..0cdb27c8 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -30,18 +30,23 @@ if [ "$TRAVIS" = "true" ]; then make clean + # Clean up the dependencies to only remove the dev packages + #rm -rf vendor + #composer install --no-interaction --no-dev + rm -rf env.php config.php find ./vendor -type d -name ".git" -print0 | xargs rm -rf find . -type d -name "sass-cache" -print0 | xargs rm -rf # clear any app specific stuff that might have been loaded in find storage/app/public -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} + - find storage/app -mindepth 1 -not -name '.gitignore' -not -name public -print0 -exec rm -rf {} + + find storage/app -mindepth 1 -not -name '.gitignore' -not -name public -not -name import -print0 -exec rm -rf {} + # Remove any development files rm -rf .sass-cache rm -rf .idea phpvms.iml .travis .dpl rm -rf .phpstorm.meta.php _ide_helper.php phpunit.xml Procfile + rm -f phpstan.neon # remove large sized files rm -rf .git @@ -63,5 +68,17 @@ if [ "$TRAVIS" = "true" ]; then mv "/tmp/$TAR_NAME" "/tmp/$TAR_NAME.sha256" . artifacts upload --target-paths "/" $TAR_NAME $TRAVIS_BUILD_DIR/VERSION $TAR_NAME.sha256 + # Upload the version for a tagged release. Move to a version file in different + # tags. Within phpVMS, we have an option of which version to track in the admin + if test "$TRAVIS_TAG"; then + echo "uploading release version file" + cp "$TRAVIS_BUILD_DIR/VERSION" release_version + artifacts upload --target-paths "/" release_version + else + echo "uploading ${TRAVIS_BRANCH}_version file" + cp $TRAVIS_BUILD_DIR/VERSION ${TRAVIS_BRANCH}_version + artifacts upload --target-paths "/" ${TRAVIS_BRANCH}_version + fi + curl -X POST --data "{\"content\": \"A new build is available at http://downloads.phpvms.net/$TAR_NAME ($VERSION)\"}" -H "Content-Type: application/json" $DISCORD_WEBHOOK_URL fi diff --git a/CHANGELOG.md b/CHANGELOG.md index ef0c9491..7244e646 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +## Alpha 3 + +!! Please do a complete reinstall, with a new database + +- Finances! The finance portions have been implemented, you can [read about them here](http://docs.phpvms.net/concepts/finances) +- Awards! Added the award plugin system. [see docs](http://docs.phpvms.net/customizing/awards) +- Import/Export in admin panel for aircraft, airports, expenses, fares, flights and subfleets +- Changed theme system to using [laravel-theme](https://github.com/igaster/laravel-theme), there are changes to making theming much simpler with much more flexibility. +- Added cron task for background tasks +- Expanded on flight types to match IATA SIMM format +- Added subfleet `cost_block_hour` +- Fixed several security vulnerabilities (thanks magicflyer!) +- Fuel units changed to lbs/kgs [#193](https://github.com/nabeelio/phpvms/issues/193) +- Airports can be restricted to only hubs on registration/user profile +- Cleaned up a lot unused icons and files [#195](https://github.com/nabeelio/phpvms/issues/195) +- Rank restrictions for PIREPs are respected [#170](https://github.com/nabeelio/phpvms/issues/170) +- API: Added the ability to get/update/delete user bids [#172](https://github.com/nabeelio/phpvms/issues/172) +- API: Added `block_time` parameter for PIREP prefile/update/file calls +- API: Added `block_on_time` and `block_off_time` for PIREP prefile/update/file calls +- Artisan: Added a `phpvms:csv-import [table] [file]` to import from CSV +- Artisan: Added a `phpvms:yaml-export [tables]` to export tables to YAML files which can be re-imported using `phpvms:yaml-import` +- Numerous bug fixes + ## Alpha 2 (2018-02-23, v7.0.0-alpha2) !! Please do a full reinstall, with recreating the database diff --git a/Makefile b/Makefile index 0c67bbd7..e9c06964 100644 --- a/Makefile +++ b/Makefile @@ -36,8 +36,7 @@ build: # This is to build all the stylesheets, etc .PHONY: build-assets build-assets: - npm update - npm run dev + yarn run dev .PHONY: install install: build @@ -53,7 +52,7 @@ update: build @echo "Done!" .PHONY: reset -reset: clean +reset: cleanapp/Models/Traits/JournalTrait.php @php $(COMPOSER) dump-autoload @make reload-db @@ -61,8 +60,8 @@ reset: clean reload-db: @php artisan database:create --reset @php artisan migrate:fresh --seed - @php artisan phpvms:import app/Database/seeds/sample.yml - @php artisan phpvms:import app/Database/seeds/acars.yml + @php artisan phpvms:yaml-import app/Database/seeds/sample.yml + @php artisan phpvms:yaml-import app/Database/seeds/acars.yml #php artisan phpvms:navdata .PHONY: tests @@ -73,6 +72,10 @@ test: #php artisan database:create --reset vendor/bin/phpunit --debug --verbose +.PHONY: +phpstan: + vendor/bin/phpstan analyse -c phpstan.neon -v --level 2 app + .PHONY: replay-acars replay-acars: #@php artisan phpvms:replay AAL10,AAL3113,BAW172,DAL988,FIN6,MSR986 --manual diff --git a/app/Awards/PilotFlightAwards.php b/app/Awards/PilotFlightAwards.php new file mode 100644 index 00000000..43190cc5 --- /dev/null +++ b/app/Awards/PilotFlightAwards.php @@ -0,0 +1,47 @@ +user->flights >= $number_of_flights; + } +} diff --git a/app/Bootstrap/LoadConfiguration.php b/app/Bootstrap/LoadConfiguration.php index 4f135e32..bd1d2cc9 100644 --- a/app/Bootstrap/LoadConfiguration.php +++ b/app/Bootstrap/LoadConfiguration.php @@ -23,8 +23,7 @@ class LoadConfiguration extends \Illuminate\Foundation\Bootstrap\LoadConfigurati * Load the configuration items from all of the files. * * @param \Illuminate\Contracts\Foundation\Application $app - * @param \Illuminate\Contracts\Config\Repository $repository - * @return void + * @param \Illuminate\Contracts\Config\Repository $repository * @throws \Exception */ protected function loadConfigurationFiles(Application $app, RepositoryContract $repository) diff --git a/app/Console/BaseCommand.php b/app/Console/BaseCommand.php deleted file mode 100644 index 9d662bd7..00000000 --- a/app/Console/BaseCommand.php +++ /dev/null @@ -1,65 +0,0 @@ -info('Running "' . $cmd . '"'); - } - - $val = ''; - $process = new Process($cmd); - $process->run(function ($type, $buffer) use ($return, $val) { - if ($return) { - $val .= $buffer; - } else { - echo $buffer; - } - - /*if (Process::ERR === $type) { - echo $buffer; - } else { - echo $buffer; - }*/ - }); - - return $val; - } -} diff --git a/app/Console/Command.php b/app/Console/Command.php new file mode 100644 index 00000000..6be4a2f6 --- /dev/null +++ b/app/Console/Command.php @@ -0,0 +1,102 @@ +getHandlers(); + foreach ($handlers as $handler) { + $handler->close(); + } + } catch (\Exception $e) { + $this->error('Error closing handlers: '.$e->getMessage()); + } + + // Open the handlers for the channel name, + // and then set them to the main logger + try { + $logger->setHandlers( + Log::channel($channel_name)->getHandlers() + ); + } catch (\Exception $e) { + $this->error('Couldn\'t splice the logger: '.$e->getMessage()); + } + } + + /** + * Streaming file reader + * @param $filename + * @return \Generator + */ + public function readFile($filename): ?\Generator + { + $fp = fopen($filename, 'rb'); + while (($line = fgets($fp)) !== false) { + $line = rtrim($line, "\r\n"); + if ($line[0] === ';') { + continue; + } + + yield $line; + } + + fclose($fp); + } + + /** + * @param $cmd + * @param bool $return + * @return string + * @throws \Symfony\Component\Process\Exception\RuntimeException + * @throws \Symfony\Component\Process\Exception\LogicException + */ + public function runCommand($cmd, $return = false, $verbose = true): string + { + if (\is_array($cmd)) { + $cmd = join(' ', $cmd); + } + + if ($verbose) { + $this->info('Running "'.$cmd.'"'); + } + + $val = ''; + $process = new Process($cmd); + $process->run(function ($type, $buffer) use ($return, &$val) { + if ($return) { + $val .= $buffer; + } else { + echo $buffer; + } + }); + + return $val; + } +} diff --git a/app/Console/Commands/AcarsReplay.php b/app/Console/Commands/AcarsReplay.php index 17435de9..69e83d29 100644 --- a/app/Console/Commands/AcarsReplay.php +++ b/app/Console/Commands/AcarsReplay.php @@ -2,12 +2,16 @@ namespace App\Console\Commands; -use App\Console\BaseCommand; +use App\Console\Command; use App\Facades\Utils; use GuzzleHttp\Client; use Illuminate\Database\Eloquent\Collection; -class AcarsReplay extends BaseCommand +/** + * Class AcarsReplay + * @package App\Console\Commands + */ +class AcarsReplay extends Command { protected $signature = 'phpvms:replay {files} {--manual} {--write-all} {--no-submit}'; protected $description = 'Replay an ACARS file'; @@ -35,7 +39,6 @@ class AcarsReplay extends BaseCommand */ protected $httpClient; - /** * Return an instance of an HTTP client all ready to post */ @@ -45,46 +48,43 @@ class AcarsReplay extends BaseCommand $this->httpClient = new Client([ 'base_uri' => config('app.url'), - 'headers' => [ + 'headers' => [ 'Authorization' => $this->apiKey, ] ]); } - /*protected function getArguments() - { - return [ - ['--files', InputOption::VALUE_OPTIONAL] - ]; - }*/ - /** * Make a request to start a PIREP * @param \stdClass $flight * @return string + * @throws \RuntimeException */ protected function startPirep($flight): string { # convert the planned flight time to be completely in minutes - $pft = Utils::hoursToMinutes($flight->planned_hrsenroute, - $flight->planned_minenroute); + $pft = Utils::hoursToMinutes( + $flight->planned_hrsenroute, + $flight->planned_minenroute + ); $flight_number = substr($flight->callsign, 3); $response = $this->httpClient->post('/api/pireps/prefile', [ 'json' => [ - 'airline_id' => 1, - 'flight_number' => $flight_number, - 'aircraft_id' => 1, - 'dpt_airport_id' => $flight->planned_depairport, - 'arr_airport_id' => $flight->planned_destairport, - 'level' => $flight->planned_altitude, - 'planned_flight_time' => $pft, - 'route' => $flight->planned_route, + 'airline_id' => 1, + 'flight_number' => $flight_number, + 'aircraft_id' => 1, + 'dpt_airport_id' => $flight->planned_depairport, + 'arr_airport_id' => $flight->planned_destairport, + 'level' => $flight->planned_altitude, + 'planned_flight_time' => $pft, + 'route' => $flight->planned_route, ] ]); $body = \json_decode($response->getBody()->getContents()); + return $body->id; } @@ -92,14 +92,16 @@ class AcarsReplay extends BaseCommand * Mark the PIREP as filed * @param $pirep_id * @return mixed + * @throws \RuntimeException */ protected function filePirep($pirep_id) { $response = $this->httpClient->post('/api/pireps/'.$pirep_id.'/file', [ - 'json'=> [] + 'json' => [] ]); $body = \json_decode($response->getBody()->getContents()); + return $body; } @@ -107,18 +109,19 @@ class AcarsReplay extends BaseCommand * @param $pirep_id * @param $data * @return array + * @throws \RuntimeException */ protected function postUpdate($pirep_id, $data) { - $uri = '/api/pireps/' . $pirep_id . '/acars/position'; + $uri = '/api/pireps/'.$pirep_id.'/acars/position'; $position = [ - 'log' => '', - 'lat' => $data->latitude, - 'lon' => $data->longitude, - 'heading' => $data->heading, - 'altitude' => $data->altitude, - 'gs' => $data->groundspeed, + 'log' => '', + 'lat' => $data->latitude, + 'lon' => $data->longitude, + 'heading' => $data->heading, + 'altitude' => $data->altitude, + 'gs' => $data->groundspeed, 'transponder' => $data->transponder, ]; @@ -129,13 +132,14 @@ class AcarsReplay extends BaseCommand ]; $this->info("Update: $data->callsign, $position[lat] x $position[lon] \t\t" - . "hdg: $position[heading]\t\talt: $position[altitude]\t\tgs: $position[gs]"); + ."hdg: $position[heading]\t\talt: $position[altitude]\t\tgs: $position[gs]"); $response = $this->httpClient->post($uri, [ 'json' => $upd ]); $body = \json_decode($response->getBody()->getContents()); + return [ $data->callsign, $position['lat'], @@ -149,22 +153,24 @@ class AcarsReplay extends BaseCommand /** * Parse this file and run the updates * @param array $files + * @throws \RuntimeException */ protected function updatesFromFile(array $files) { /** * @var $flights Collection */ - $flights = collect($files)->transform(function ($f) - { - $file = storage_path('/replay/' . $f . '.json'); + $flights = collect($files)->transform(function ($f) { + $file = storage_path('/replay/'.$f.'.json'); if (file_exists($file)) { - $this->info('Loading ' . $file); + $this->info('Loading '.$file); $contents = file_get_contents($file); $contents = \json_decode($contents); + return collect($contents->updates); } else { - $this->error($file . ' not found, skipping'); + $this->error($file.' not found, skipping'); + return false; } }) @@ -178,12 +184,11 @@ class AcarsReplay extends BaseCommand /** * File the initial pirep to get a "preflight" status */ - $flights->each(function ($updates, $idx) - { + $flights->each(function ($updates, $idx) { $update = $updates->first(); $pirep_id = $this->startPirep($update); $this->pirepList[$update->callsign] = $pirep_id; - $this->info('Prefiled ' . $update->callsign . ', ID: ' . $pirep_id); + $this->info('Prefiled '.$update->callsign.', ID: '.$pirep_id); }); /** @@ -202,14 +207,14 @@ class AcarsReplay extends BaseCommand $this->postUpdate($pirep_id, $update); # we're done and don't put the "no-submit" option - if($updates->count() === 0 && !$this->option('no-submit')) { + if ($updates->count() === 0 && !$this->option('no-submit')) { $this->filePirep($pirep_id); } })->filter(function ($updates, $idx) { return $updates->count() > 0; }); - if(!$this->option('write-all')) { + if (!$this->option('write-all')) { if (!$this->option('manual')) { sleep($this->sleepTime); } else { @@ -221,8 +226,8 @@ class AcarsReplay extends BaseCommand /** * Execute the console command. - * * @return mixed + * @throws \RuntimeException */ public function handle() { diff --git a/app/Console/Commands/ComposerCommand.php b/app/Console/Commands/ComposerCommand.php new file mode 100644 index 00000000..f828dbc8 --- /dev/null +++ b/app/Console/Commands/ComposerCommand.php @@ -0,0 +1,44 @@ +argument('cmd'))) + { + case 'post-update': + $this->postUpdate(); + break; + default: + $this->error('Command exists'); + } + } + + /** + * Any composer post update tasks + */ + protected function postUpdate(): void + { + if (config('app.env') === 'dev') { + if (class_exists(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class)) { + Artisan::call('ide-helper:generate'); + Artisan::call('ide-helper:meta'); + } + } + } +} diff --git a/app/Console/Commands/CreateDatabase.php b/app/Console/Commands/CreateDatabase.php index 7d29a875..e4e626e8 100644 --- a/app/Console/Commands/CreateDatabase.php +++ b/app/Console/Commands/CreateDatabase.php @@ -2,15 +2,22 @@ namespace App\Console\Commands; -use App\Console\BaseCommand; +use App\Console\Command; use Log; -class CreateDatabase extends BaseCommand +/** + * Class CreateDatabase + * @package App\Console\Commands + */ +class CreateDatabase extends Command { protected $signature = 'database:create {--reset} {--conn=?}'; protected $description = 'Create a database'; protected $os; + /** + * CreateDatabase constructor. + */ public function __construct() { parent::__construct(); @@ -24,21 +31,22 @@ class CreateDatabase extends BaseCommand */ protected function create_mysql($dbkey) { - $host = config($dbkey . 'host'); - $port = config($dbkey . 'port'); - $name = config($dbkey . 'database'); - $user = config($dbkey . 'username'); - $pass = config($dbkey . 'password'); + $host = config($dbkey.'host'); + $port = config($dbkey.'port'); + $name = config($dbkey.'database'); + $user = config($dbkey.'username'); + $pass = config($dbkey.'password'); $dbSvc = new \App\Console\Services\Database(); $dsn = $dbSvc->createDsn($host, $port); - Log::info('Connection string: ' . $dsn); + Log::info('Connection string: '.$dsn); try { $conn = $dbSvc->createPDO($dsn, $user, $pass); } catch (\PDOException $e) { Log::error($e); + return false; } @@ -59,6 +67,7 @@ class CreateDatabase extends BaseCommand $conn->exec($sql); } catch (\PDOException $e) { Log::error($e); + return false; } } @@ -75,14 +84,14 @@ class CreateDatabase extends BaseCommand } if ($this->option('reset') === true) { - $cmd = ['rm', '-rf', config($dbkey . 'database')]; + $cmd = ['rm', '-rf', config($dbkey.'database')]; $this->runCommand($cmd); } - if (!file_exists(config($dbkey . 'database'))) { + if (!file_exists(config($dbkey.'database'))) { $cmd = [ $exec, - config($dbkey . 'database'), + config($dbkey.'database'), '""', ]; @@ -108,21 +117,17 @@ class CreateDatabase extends BaseCommand } }*/ - $this->info('Using connection "' . config('database.default') . '"'); + $this->info('Using connection "'.config('database.default').'"'); $conn = config('database.default'); - $dbkey = 'database.connections.' . $conn . '.'; + $dbkey = 'database.connections.'.$conn.'.'; - if (config($dbkey . 'driver') === 'mysql') { + if (config($dbkey.'driver') === 'mysql') { $this->create_mysql($dbkey); - } - - elseif (config($dbkey . 'driver') === 'sqlite') { + } elseif (config($dbkey.'driver') === 'sqlite') { $this->create_sqlite($dbkey); - } - - // TODO: Eventually - elseif (config($dbkey . 'driver') === 'postgres') { + } // TODO: Eventually + elseif (config($dbkey.'driver') === 'postgres') { $this->create_postgres($dbkey); } } diff --git a/app/Console/Commands/DevCommands.php b/app/Console/Commands/DevCommands.php index e32f4fef..aec2ccb0 100644 --- a/app/Console/Commands/DevCommands.php +++ b/app/Console/Commands/DevCommands.php @@ -2,16 +2,22 @@ namespace App\Console\Commands; -use App\Console\BaseCommand; +use App\Console\Command; use App\Models\Acars; use App\Models\Airline; use App\Models\Pirep; use App\Models\User; +use App\Services\AwardService; +use Artisan; use DB; use PDO; use Symfony\Component\Yaml\Yaml; -class DevCommands extends BaseCommand +/** + * Class DevCommands + * @package App\Console\Commands + */ +class DevCommands extends Command { protected $signature = 'phpvms {cmd} {param?}'; protected $description = 'Developer commands'; @@ -29,14 +35,15 @@ class DevCommands extends BaseCommand } $commands = [ - 'clear-acars' => 'clearAcars', - 'clear-users' => 'clearUsers', + 'list-awards' => 'listAwardClasses', + 'clear-acars' => 'clearAcars', + 'clear-users' => 'clearUsers', 'compile-assets' => 'compileAssets', - 'db-attrs' => 'dbAttrs', - 'xml-to-yaml' => 'xmlToYaml', + 'db-attrs' => 'dbAttrs', + 'xml-to-yaml' => 'xmlToYaml', ]; - if(!array_key_exists($command, $commands)) { + if (!array_key_exists($command, $commands)) { $this->error('Command not found!'); exit(); } @@ -44,12 +51,29 @@ class DevCommands extends BaseCommand $this->{$commands[$command]}(); } + /** + * List all award classes + */ + protected function listAwardClasses() + { + $awardSvc = app(AwardService::class); + $awards = $awardSvc->findAllAwardClasses(); + + $headers = ['Award Name', 'Class']; + $formatted_awards = []; + foreach ($awards as $award) { + $formatted_awards[] = [$award->name, \get_class($award)]; + } + + $this->table($headers, $formatted_awards); + } + /** * Delete all the data from the ACARS and PIREP tables */ protected function clearAcars() { - if(config('database.default') === 'mysql') { + if (config('database.default') === 'mysql') { DB::statement('SET foreign_key_checks=0'); } @@ -103,7 +127,7 @@ class DevCommands extends BaseCommand $server_version = $pdo->getAttribute(PDO::ATTR_SERVER_VERSION); $emulate_prepares = version_compare($server_version, $emulate_prepares_below_version, '<'); - $this->info('Server Version: '. $server_version); + $this->info('Server Version: '.$server_version); $this->info('Emulate Prepares: '.$emulate_prepares); $pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, $emulate_prepares); @@ -115,7 +139,7 @@ class DevCommands extends BaseCommand protected function xmlToYaml() { $file = $this->argument('param'); - $this->info('Reading '. $file); + $this->info('Reading '.$file); $xml_str = file_get_contents($file); $xml = new \SimpleXMLElement($xml_str); @@ -129,7 +153,7 @@ class DevCommands extends BaseCommand foreach ($xml->database->table_data->row as $row) { $yaml_row = []; - foreach($row->field as $field) { + foreach ($row->field as $field) { $fname = (string) $field['name']; $fvalue = (string) $field; @@ -144,6 +168,6 @@ class DevCommands extends BaseCommand $file_name = $table_name.'.yml'; file_put_contents(storage_path($file_name), Yaml::dump($yaml, 4, 2)); - $this->info('Writing yaml to storage: '. $file_name); + $this->info('Writing yaml to storage: '.$file_name); } } diff --git a/app/Console/Commands/DevInstall.php b/app/Console/Commands/DevInstall.php index 87e81284..6fc7e852 100644 --- a/app/Console/Commands/DevInstall.php +++ b/app/Console/Commands/DevInstall.php @@ -2,14 +2,14 @@ namespace App\Console\Commands; -use App\Console\BaseCommand; +use App\Console\Command; use Modules\Installer\Services\ConfigService; /** * Create a fresh development install * @package App\Console\Commands */ -class DevInstall extends BaseCommand +class DevInstall extends Command { protected $signature = 'phpvms:dev-install {--reset-db}'; protected $description = 'Run a developer install and run the sample migration'; @@ -20,7 +20,7 @@ class DevInstall extends BaseCommand */ public function handle() { - if(!$this->option('reset-db')) { + if (!$this->option('reset-db')) { $this->rewriteConfigs(); } @@ -69,26 +69,26 @@ class DevInstall extends BaseCommand # Remove the old files $config_file = base_path('config.php'); - if(file_exists($config_file)) { + if (file_exists($config_file)) { unlink($config_file); } $env_file = base_path('env.php'); - if(file_exists($env_file)) { + if (file_exists($env_file)) { unlink($env_file); } $this->info('Removing the sqlite db'); $db_file = storage_path('db.sqlite'); - if(file_exists($db_file)) { + if (file_exists($db_file)) { unlink($db_file); } $this->info('Regenerating the config files'); $cfgSvc->createConfigFiles([ - 'APP_ENV' => 'dev', + 'APP_ENV' => 'dev', 'SITE_NAME' => 'phpvms test', - 'DB_CONN' => 'sqlite', + 'DB_CONN' => 'sqlite', ]); $this->info('Config files generated!'); diff --git a/app/Console/Commands/ImportCsv.php b/app/Console/Commands/ImportCsv.php new file mode 100644 index 00000000..dceb3374 --- /dev/null +++ b/app/Console/Commands/ImportCsv.php @@ -0,0 +1,59 @@ +importer = $importer; + } + + /** + * @return mixed|void + * @throws \Illuminate\Validation\ValidationException + */ + public function handle() + { + $type = $this->argument('type'); + $file = $this->argument('file'); + + if (\in_array($type, ['flight', 'flights'])) { + $status = $this->importer->importFlights($file); + } elseif ($type === 'aircraft') { + $status = $this->importer->importAircraft($file); + } elseif (\in_array($type, ['airport', 'airports'])) { + $status = $this->importer->importAirports($file); + } elseif ($type === 'subfleet') { + $status = $this->importer->importSubfleets($file); + } + + foreach($status['success'] as $line) { + $this->info($line); + } + + foreach ($status['errors'] as $line) { + $this->error($line); + } + } +} diff --git a/app/Console/Commands/ImportFromClassic.php b/app/Console/Commands/ImportFromClassic.php index 4f2f2369..a5380f99 100644 --- a/app/Console/Commands/ImportFromClassic.php +++ b/app/Console/Commands/ImportFromClassic.php @@ -2,9 +2,9 @@ namespace App\Console\Commands; -use App\Console\BaseCommand; +use App\Console\Command; -class ImportFromClassic extends BaseCommand +class ImportFromClassic extends Command { protected $signature = 'phpvms:importer {db_host} {db_name} {db_user} {db_pass?} {table_prefix=phpvms_}'; protected $description = 'Import from an older version of phpVMS'; @@ -15,10 +15,10 @@ class ImportFromClassic extends BaseCommand public function handle() { $db_creds = [ - 'host' => $this->argument('db_host'), - 'name' => $this->argument('db_name'), - 'user' => $this->argument('db_user'), - 'pass' => $this->argument('db_pass'), + 'host' => $this->argument('db_host'), + 'name' => $this->argument('db_name'), + 'user' => $this->argument('db_user'), + 'pass' => $this->argument('db_pass'), 'table_prefix' => $this->argument('table_prefix') ]; diff --git a/app/Console/Commands/Install.php b/app/Console/Commands/Install.php deleted file mode 100644 index f31755d9..00000000 --- a/app/Console/Commands/Install.php +++ /dev/null @@ -1,77 +0,0 @@ -info('Installing phpVMS...'); - - $this->setupDatabase(); - - # Only run these if we're doing an initial install - if(!$this->option('update')) { - $this->writeLocalConfig(); - $this->initialData(); - } - } - - /** - * Setup the database and run the migrations - * Only call the database creation if we're not - * explicitly trying to upgrade - */ - protected function setupDatabase() - { - if(!$this->option('update')) { - $this->call('database:create'); - } - - $this->info('Running database migrations...'); - $this->call('migrate'); - - # TODO: Call initial seed data, for the groups and other supporting data - } - - /** - * Write a local config file - */ - protected function writeLocalConfig() - { - - } - - /** - * Set an initial airline and admin user/password - */ - protected function initialData() - { - # TODO: Prompt for initial airline info - $airline_name = $this->option('airline-name'); - if(!$airline_name) { - $airline_name = $this->ask('Enter your airline name'); - } - - $airline_code = $this->option('airline-code'); - if(!$airline_code) { - $airline_code = $this->ask('Enter your airline code'); - } - - # TODO: Prompt for admin user/password - } -} diff --git a/app/Console/Commands/NavdataImport.php b/app/Console/Commands/NavdataImport.php index be3337f6..e5460710 100644 --- a/app/Console/Commands/NavdataImport.php +++ b/app/Console/Commands/NavdataImport.php @@ -2,15 +2,33 @@ namespace App\Console\Commands; -use App\Console\BaseCommand; +use App\Console\Command; use App\Models\Enums\NavaidType; use App\Models\Navdata; -class NavdataImport extends BaseCommand +/** + * Class NavdataImport + * @package App\Console\Commands + */ +class NavdataImport extends Command { protected $signature = 'phpvms:navdata'; protected $description = ''; + /** + * @return mixed|void + * @throws \League\Geotools\Exception\InvalidArgumentException + */ + public function handle() + { + $this->info('Emptying the current navdata...'); + Navdata::query()->truncate(); + + $this->info('Looking for nav files...'); + $this->read_wp_nav_aid(); + $this->read_wp_nav_fix(); + } + /** * Read and parse in the navaid file * @throws \League\Geotools\Exception\InvalidArgumentException @@ -49,6 +67,7 @@ class NavdataImport extends BaseCommand $file_path = storage_path('/navdata/WPNAVAID.txt'); if (!file_exists($file_path)) { $this->error('WPNAVAID.txt not found in storage/navdata'); + return false; } @@ -57,10 +76,9 @@ class NavdataImport extends BaseCommand $imported = 0; - foreach($generator as $line) { - + foreach ($generator as $line) { $navaid = [ - 'id' => trim(substr($line, 24, 4)), // ident column + 'id' => trim(substr($line, 24, 4)), // ident column 'name' => trim(substr($line, 0, 24)), 'type' => trim(substr($line, 29, 4)), 'lat' => trim(substr($line, 33, 9)), @@ -70,8 +88,7 @@ class NavdataImport extends BaseCommand ]; # Map to the Navaid enum - switch($navaid['type']) - { + switch ($navaid['type']) { case 'ILS': $navaid['type'] = NavaidType::LOC; break; @@ -104,12 +121,12 @@ class NavdataImport extends BaseCommand ], $navaid); $imported++; - if($imported % 100 === 0) { - $this->info('Imported ' . $imported . ' entries...'); + if ($imported % 100 === 0) { + $this->info('Imported '.$imported.' entries...'); } } - $this->info('Imported a total of ' . $imported . ' nav aids'); + $this->info('Imported a total of '.$imported.' nav aids'); } /** @@ -137,8 +154,9 @@ class NavdataImport extends BaseCommand */ $file_path = storage_path('/navdata/WPNAVFIX.txt'); - if(!file_exists($file_path)) { + if (!file_exists($file_path)) { $this->error('WPNAVFIX.txt not found in storage/navdata'); + return false; } @@ -148,11 +166,11 @@ class NavdataImport extends BaseCommand $imported = 0; foreach ($generator as $line) { $navfix = [ - 'id' => trim(substr($line, 0, 4)), // ident column + 'id' => trim(substr($line, 0, 4)), // ident column 'name' => trim(substr($line, 24, 6)), 'type' => NavaidType::FIX, - 'lat' => trim(substr($line, 30, 10)), - 'lon' => trim(substr($line, 40, 11)), + 'lat' => trim(substr($line, 30, 10)), + 'lon' => trim(substr($line, 40, 11)), ]; switch ($navfix['type']) { @@ -165,20 +183,10 @@ class NavdataImport extends BaseCommand $imported++; if ($imported % 100 === 0) { - $this->info('Imported ' . $imported . ' entries...'); + $this->info('Imported '.$imported.' entries...'); } } - $this->info('Imported a total of ' . $imported . ' nav fixes'); - } - - public function handle() - { - $this->info('Emptying the current navdata...'); - Navdata::query()->truncate(); - - $this->info('Looking for nav files...'); - $this->read_wp_nav_aid(); - $this->read_wp_nav_fix(); + $this->info('Imported a total of '.$imported.' nav fixes'); } } diff --git a/app/Console/Commands/TestApi.php b/app/Console/Commands/TestApi.php index 019722a9..a4d01723 100644 --- a/app/Console/Commands/TestApi.php +++ b/app/Console/Commands/TestApi.php @@ -2,13 +2,16 @@ namespace App\Console\Commands; -use App\Console\BaseCommand; +use App\Console\Command; use GuzzleHttp\Client; -class TestApi extends BaseCommand +/** + * Class TestApi + * @package App\Console\Commands + */ +class TestApi extends Command { protected $signature = 'phpvms:test-api {apikey} {url}'; - protected $httpClient; /** @@ -17,11 +20,11 @@ class TestApi extends BaseCommand public function handle() { $this->httpClient = new Client([ - 'headers' => [ - 'Authorization' => $this->argument('apikey'), - 'Content-type' => 'application/json', - 'X-API-Key' => $this->argument('apikey'), - ] + 'headers' => [ + 'Authorization' => $this->argument('apikey'), + 'Content-type' => 'application/json', + 'X-API-Key' => $this->argument('apikey'), + ] ]); $result = $this->httpClient->get($this->argument('url')); diff --git a/app/Console/Commands/Version.php b/app/Console/Commands/Version.php index 6675cf26..5e2bd52f 100644 --- a/app/Console/Commands/Version.php +++ b/app/Console/Commands/Version.php @@ -2,10 +2,14 @@ namespace App\Console\Commands; -use App\Console\BaseCommand; +use App\Console\Command; use Symfony\Component\Yaml\Yaml; -class Version extends BaseCommand +/** + * Class Version + * @package App\Console\Commands + */ +class Version extends Command { protected $signature = 'phpvms:version {--write} {--base-only}'; @@ -19,7 +23,6 @@ class Version extends BaseCommand # prefix with the date in YYMMDD format $date = date('ymd'); - $version = $date.'-'.$version; return $version; @@ -34,24 +37,24 @@ class Version extends BaseCommand $version_file = config_path('version.yml'); $cfg = Yaml::parse(file_get_contents($version_file)); - if($this->option('write')) { - $version = $this->createVersionNumber($cfg); - $cfg['build']['number'] = $version; + # Get the current build id + $build_number = $this->createVersionNumber($cfg); + $cfg['build']['number'] = $build_number; + + $c = $cfg['current']; + $version = "v{$c['major']}.{$c['minor']}.{$c['patch']}-{$build_number}"; + + if ($this->option('write')) { file_put_contents($version_file, Yaml::dump($cfg, 4, 2)); } # Only show the major.minor.patch version - if($this->option('base-only')) { - $version = 'v'.$cfg['current']['major'] . '.' - .$cfg['current']['minor'] . '.' - .$cfg['current']['patch']; - - print $version; - } else { - $this->call('version:show', [ - '--format' => 'compact', - '--suppress-app-name' => true - ]); + if ($this->option('base-only')) { + $version = 'v'.$cfg['current']['major'].'.' + .$cfg['current']['minor'].'.' + .$cfg['current']['patch']; } + + print $version."\n"; } } diff --git a/app/Console/Commands/YamlExport.php b/app/Console/Commands/YamlExport.php new file mode 100644 index 00000000..f5c5902a --- /dev/null +++ b/app/Console/Commands/YamlExport.php @@ -0,0 +1,52 @@ +argument('tables'); + if (empty($tables)) { + $this->error('No tables specified'); + exit(); + } + + $export_tables = []; + foreach ($tables as $table) { + $export_tables[$table] = []; + + $rows = DB::table($table)->get(); + foreach ($rows as $row) { + $export_tables[$table][] = (array) $row; + } + } + + $yaml = Yaml::dump($export_tables, 4, 2); + print($yaml); + } +} diff --git a/app/Console/Commands/YamlImport.php b/app/Console/Commands/YamlImport.php index 8792e8ee..d7725dc0 100644 --- a/app/Console/Commands/YamlImport.php +++ b/app/Console/Commands/YamlImport.php @@ -2,16 +2,23 @@ namespace App\Console\Commands; -use App\Console\BaseCommand; +use App\Console\Command; use App\Services\DatabaseService; -class YamlImport extends BaseCommand +/** + * Class YamlImport + * @package App\Console\Commands + */ +class YamlImport extends Command { - protected $signature = 'phpvms:import {files*}'; + protected $signature = 'phpvms:yaml-import {files*}'; protected $description = 'Developer commands'; - protected $dbSvc; + /** + * YamlImport constructor. + * @param DatabaseService $dbSvc + */ public function __construct(DatabaseService $dbSvc) { parent::__construct(); @@ -20,31 +27,28 @@ class YamlImport extends BaseCommand /** * Run dev related commands + * @throws \Exception */ public function handle() { $files = $this->argument('files'); - if(empty($files)) { + if (empty($files)) { $this->error('No files to import specified!'); exit(); } $ignore_errors = true; - /*$ignore_errors = $this->option('ignore_errors'); - if(!$ignore_errors) { - $ignore_errors = false; - }*/ - foreach($files as $file) { - if(!file_exists($file)) { - $this->error('File ' . $file .' doesn\'t exist'); + foreach ($files as $file) { + if (!file_exists($file)) { + $this->error('File '.$file.' doesn\'t exist'); exit; } - $this->info('Importing ' . $file); + $this->info('Importing '.$file); $imported = $this->dbSvc->seed_from_yaml_file($file, $ignore_errors); - foreach($imported as $table => $count) { + foreach ($imported as $table => $count) { $this->info('Imported '.$count.' records from "'.$table.'"'); } } diff --git a/app/Console/Cron/Monthly.php b/app/Console/Cron/Monthly.php new file mode 100644 index 00000000..c3d17557 --- /dev/null +++ b/app/Console/Cron/Monthly.php @@ -0,0 +1,27 @@ +redirectLoggingToStdout('cron'); + event(new CronMonthly()); + } +} diff --git a/app/Console/Cron/Nightly.php b/app/Console/Cron/Nightly.php new file mode 100644 index 00000000..18437df7 --- /dev/null +++ b/app/Console/Cron/Nightly.php @@ -0,0 +1,27 @@ +redirectLoggingToStdout('cron'); + event(new CronNightly()); + } +} diff --git a/app/Console/Cron/Weekly.php b/app/Console/Cron/Weekly.php new file mode 100644 index 00000000..b5f9e652 --- /dev/null +++ b/app/Console/Cron/Weekly.php @@ -0,0 +1,27 @@ +redirectLoggingToStdout('cron'); + event(new CronMonthly()); + } +} diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index af28558c..f1ac46a0 100755 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -2,47 +2,48 @@ namespace App\Console; +use App\Console\Cron\Monthly; +use App\Console\Cron\Nightly; +use App\Console\Cron\Weekly; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; +/** + * Class Kernel + * @package App\Console + */ class Kernel extends ConsoleKernel { - /** - * The Artisan commands provided by your application. - * - * @var array - */ protected $commands = [ - Commands\AcarsReplay::class, + /*Commands\AcarsReplay::class, Commands\CreateDatabase::class, Commands\DevCommands::class, Commands\YamlImport::class, Commands\ImportFromClassic::class, - Commands\Install::class, Commands\NavdataImport::class, - Commands\TestApi::class, + Commands\TestApi::class,*/ ]; /** * Define the application's command schedule. - * - * @param \Illuminate\Console\Scheduling\Schedule $schedule + * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ - protected function schedule(Schedule $schedule) + protected function schedule(Schedule $schedule): void { - // $schedule->command('inspire') - // ->hourly(); + $schedule->command(Nightly::class)->dailyAt('01:00'); + $schedule->command(Weekly::class)->weeklyOn(0); + $schedule->command(Monthly::class)->monthlyOn(1); } /** * Register the Closure based commands for the application. - * * @return void */ - protected function commands() + protected function commands(): void { require app_path('Routes/console.php'); - $this->load(__DIR__ . '/Commands'); + $this->load(__DIR__.'/Commands'); + $this->load(__DIR__.'/Cron'); } } diff --git a/app/Console/Logger.php b/app/Console/Logger.php new file mode 100644 index 00000000..c1945a31 --- /dev/null +++ b/app/Console/Logger.php @@ -0,0 +1,23 @@ +pushHandler(new StreamHandler('php://stdout')); + } catch (\Exception $e) { + } + + return $logger; + } +} diff --git a/app/Console/Services/Database.php b/app/Console/Services/Database.php index 86da3d27..222787d4 100644 --- a/app/Console/Services/Database.php +++ b/app/Console/Services/Database.php @@ -2,7 +2,7 @@ namespace App\Console\Services; -use Doctrine\DBAL\Driver\PDOException; +use PDOException; use PDO; /** @@ -13,16 +13,16 @@ class Database { /** * Create the base connection DSN, optionally include the DB name - * @param $host - * @param $port + * @param $host + * @param $port * @param null $name * @return string */ - public function createDsn($host, $port, $name=null) + public function createDsn($host, $port, $name = null) { $conn = config('database.default'); $dsn = "$conn:host=$host;port=$port"; - if(filled($name)) { + if (filled($name)) { $dsn .= ';dbname='.$name; } diff --git a/app/Console/Services/Importer.php b/app/Console/Services/Importer.php index 41b7eb3c..69b96c4d 100644 --- a/app/Console/Services/Importer.php +++ b/app/Console/Services/Importer.php @@ -15,7 +15,7 @@ use App\Models\Rank; use App\Models\Subfleet; use App\Models\User; use Carbon\Carbon; -use Doctrine\DBAL\Driver\PDOException; +use PDOException; use Illuminate\Database\QueryException; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Str; @@ -56,7 +56,7 @@ class Importer */ const BATCH_READ_ROWS = 300; - const SUBFLEET_NAME = 'Imported Aircraft'; + const SUBFLEET_NAME = 'Imported Aircraft'; /** * Importer constructor. @@ -69,11 +69,11 @@ class Importer # The db credentials $this->creds = array_merge([ - 'host' => '127.0.0.1', - 'port' => 3306, - 'name' => '', - 'user' => '', - 'pass' => '', + 'host' => '127.0.0.1', + 'port' => 3306, + 'name' => '', + 'user' => '', + 'pass' => '', 'table_prefix' => 'phpvms_' ], $db_creds); } @@ -105,13 +105,13 @@ class Importer */ protected function reconnect() { - $dsn = 'mysql:' . implode(';', [ - 'host=' . $this->creds['host'], - 'port=' . $this->creds['port'], - 'dbname=' . $this->creds['name'] + $dsn = 'mysql:'.implode(';', [ + 'host='.$this->creds['host'], + 'port='.$this->creds['port'], + 'dbname='.$this->creds['name'] ]); - $this->info('Connection string: ' . $dsn); + $this->info('Connection string: '.$dsn); try { $this->conn = new PDO($dsn, $this->creds['user'], $this->creds['pass']); @@ -127,14 +127,15 @@ class Importer */ protected function comment($message) { - $this->log->writeln('' . $message . ''); + $this->log->writeln(''.$message.''); } /** * @param $message */ - protected function error($message) { - $this->log->writeln('' . $message . ''); + protected function error($message) + { + $this->log->writeln(''.$message.''); } /** @@ -142,10 +143,9 @@ class Importer */ protected function info($message) { - if(\is_array($message)) { + if (\is_array($message)) { print_r($message); - } - else { + } else { $this->log->writeln(''.$message.''); } } @@ -157,7 +157,7 @@ class Importer */ protected function tableName($table) { - if($this->creds['table_prefix'] !== false) { + if ($this->creds['table_prefix'] !== false) { return $this->creds['table_prefix'].$table; } @@ -173,9 +173,10 @@ class Importer { try { $model->save(); + return true; } catch (QueryException $e) { - if($e->getCode() !== '23000') { + if ($e->getCode() !== '23000') { $this->error($e); } @@ -191,7 +192,7 @@ class Importer */ protected function addMapping($entity, $old_id, $new_id) { - if(!array_key_exists($entity, $this->mappedEntities)) { + if (!array_key_exists($entity, $this->mappedEntities)) { $this->mappedEntities[$entity] = []; } @@ -206,12 +207,12 @@ class Importer */ protected function getMapping($entity, $old_id) { - if(!array_key_exists($entity, $this->mappedEntities)) { + if (!array_key_exists($entity, $this->mappedEntities)) { return 0; } $entity = $this->mappedEntities[$entity]; - if(array_key_exists($old_id, $entity)) { + if (array_key_exists($old_id, $entity)) { return $entity[$old_id]; } @@ -225,6 +226,7 @@ class Importer protected function parseDate($date) { $carbon = Carbon::parse($date); + return $carbon; } @@ -235,9 +237,9 @@ class Importer */ protected function convertDuration($duration) { - if(strpos($duration, '.') !== false) { + if (strpos($duration, '.') !== false) { $delim = '.'; - } elseif(strpos($duration, ':')) { + } elseif (strpos($duration, ':')) { $delim = ':'; } else { # no delimiter, assume it's just a straight hour @@ -259,52 +261,52 @@ class Importer { $table = $this->tableName($table); - $sql = 'SELECT COUNT(*) FROM ' . $table; + $sql = 'SELECT COUNT(*) FROM '.$table; $rows = $this->conn->query($sql)->fetchColumn(); $this->info('Found '.$rows.' rows in '.$table); + return (int) $rows; } /** * Read all the rows in a table, but read them in a batched manner - * @param string $table The name of the table - * @param null $read_rows Number of rows to read + * @param string $table The name of the table + * @param null $read_rows Number of rows to read * @return \Generator */ - protected function readRows($table, $read_rows=null) + protected function readRows($table, $read_rows = null) { // Set the table prefix if it has been entered $this->tableName($table); $offset = 0; - if($read_rows === null) { + if ($read_rows === null) { $read_rows = self::BATCH_READ_ROWS; } $total_rows = $this->getTotalRows($table); - while($offset < $total_rows) - { + while ($offset < $total_rows) { $rows_to_read = $offset + $read_rows; - if($rows_to_read > $total_rows) { + if ($rows_to_read > $total_rows) { $rows_to_read = $total_rows; } $this->info('Reading '.$offset.' to '.$rows_to_read.' of '.$total_rows); - $sql = 'SELECT * FROM ' . $this->tableName($table) - . ' LIMIT ' . self::BATCH_READ_ROWS . ' OFFSET ' . $offset; + $sql = 'SELECT * FROM '.$this->tableName($table) + .' LIMIT '.self::BATCH_READ_ROWS.' OFFSET '.$offset; try { foreach ($this->conn->query($sql) as $row) { yield $row; } - } catch(PDOException $e) { + } catch (PDOException $e) { // Without incrementing the offset, it should re-run the same query $this->error($e); - if(strpos($e->getMessage(), 'server has gone away') !== false) { + if (strpos($e->getMessage(), 'server has gone away') !== false) { $this->reconnect(); continue; } @@ -344,22 +346,21 @@ class Importer $this->comment('--- RANK IMPORT ---'); $count = 0; - foreach ($this->readRows('ranks') as $row) - { + foreach ($this->readRows('ranks') as $row) { $rank = Rank::firstOrCreate( ['name' => $row->rank], - ['image_link' => $row->rankimage, 'hours'=>$row->minhours] + ['image_url' => $row->rankimage, 'hours' => $row->minhours] ); $this->addMapping('ranks', $row->rankid, $rank->id); $this->addMapping('ranks', $row->rank, $rank->id); - if($rank->wasRecentlyCreated) { + if ($rank->wasRecentlyCreated) { ++$count; } } - $this->info('Imported ' . $count . ' ranks'); + $this->info('Imported '.$count.' ranks'); } /** @@ -371,8 +372,7 @@ class Importer $this->comment('--- AIRLINE IMPORT ---'); $count = 0; - foreach ($this->readRows('airlines') as $row) - { + foreach ($this->readRows('airlines') as $row) { $airline = Airline::firstOrCreate( ['icao' => $row->code], ['iata' => $row->code, 'name' => $row->name, 'active' => $row->enabled] @@ -386,7 +386,7 @@ class Importer } } - $this->info('Imported '. $count.' airlines'); + $this->info('Imported '.$count.' airlines'); } /** @@ -401,23 +401,22 @@ class Importer $this->info('Subfleet ID is '.$subfleet->id); $count = 0; - foreach($this->readRows('aircraft') as $row) - { + foreach ($this->readRows('aircraft') as $row) { $aircraft = Aircraft::firstOrCreate( ['name' => $row->fullname, 'registration' => $row->registration], - ['icao' => $row->icao, + ['icao' => $row->icao, 'subfleet_id' => $subfleet->id, - 'active' => $row->enabled + 'active' => $row->enabled ]); $this->addMapping('aircraft', $row->id, $aircraft->id); - if($aircraft->wasRecentlyCreated) { + if ($aircraft->wasRecentlyCreated) { ++$count; } } - $this->info('Imported ' . $count . ' aircraft'); + $this->info('Imported '.$count.' aircraft'); } /** @@ -428,16 +427,15 @@ class Importer $this->comment('--- AIRPORT IMPORT ---'); $count = 0; - foreach ($this->readRows('airports') as $row) - { + foreach ($this->readRows('airports') as $row) { $attrs = [ - 'id' => trim($row->icao), - 'icao' => trim($row->icao), - 'name' => $row->name, + 'id' => trim($row->icao), + 'icao' => trim($row->icao), + 'name' => $row->name, 'country' => $row->country, - 'lat' => $row->lat, - 'lon' => $row->lng, - 'hub' => $row->hub, + 'lat' => $row->lat, + 'lon' => $row->lng, + 'hub' => $row->hub, ]; $airport = Airport::updateOrCreate( @@ -445,12 +443,12 @@ class Importer $attrs ); - if($airport->wasRecentlyCreated) { + if ($airport->wasRecentlyCreated) { ++$count; } } - $this->info('Imported ' . $count . ' airports'); + $this->info('Imported '.$count.' airports'); } /** @@ -461,8 +459,7 @@ class Importer $this->comment('--- FLIGHT SCHEDULE IMPORT ---'); $count = 0; - foreach ($this->readRows('schedules') as $row) - { + foreach ($this->readRows('schedules') as $row) { $airline_id = $this->getMapping('airlines', $row->code); $flight_num = trim($row->flightnum); @@ -470,14 +467,14 @@ class Importer $attrs = [ 'dpt_airport_id' => $row->depicao, 'arr_airport_id' => $row->arricao, - 'route' => $row->route ?: '', - 'distance' => round($row->distance ?: 0, 2), - 'level' => $row->flightlevel ?: 0, - 'dpt_time' => $row->deptime ?: '', - 'arr_time' => $row->arrtime ?: '', - 'flight_time' => $this->convertDuration($row->flighttime) ?: '', - 'notes' => $row->notes ?: '', - 'active' => $row->enabled ?: true, + 'route' => $row->route ?: '', + 'distance' => round($row->distance ?: 0, 2), + 'level' => $row->flightlevel ?: 0, + 'dpt_time' => $row->deptime ?: '', + 'arr_time' => $row->arrtime ?: '', + 'flight_time' => $this->convertDuration($row->flighttime) ?: '', + 'notes' => $row->notes ?: '', + 'active' => $row->enabled ?: true, ]; try { @@ -493,12 +490,12 @@ class Importer // TODO: deserialize route_details into ACARS table - if($flight->wasRecentlyCreated) { + if ($flight->wasRecentlyCreated) { ++$count; } } - $this->info('Imported ' . $count . ' flights'); + $this->info('Imported '.$count.' flights'); } /** @@ -509,8 +506,7 @@ class Importer $this->comment('--- PIREP IMPORT ---'); $count = 0; - foreach ($this->readRows('pireps') as $row) - { + foreach ($this->readRows('pireps') as $row) { $pirep_id = $row->pirepid; $user_id = $this->getMapping('users', $row->pilotid); $airline_id = $this->getMapping('airlines', $row->code); @@ -518,17 +514,17 @@ class Importer $attrs = [ #'id' => $pirep_id, - 'user_id' => $user_id, - 'airline_id' => $airline_id, - 'aircraft_id' => $aircraft_id, - 'flight_number' => $row->flightnum ?: '', + 'user_id' => $user_id, + 'airline_id' => $airline_id, + 'aircraft_id' => $aircraft_id, + 'flight_number' => $row->flightnum ?: '', 'dpt_airport_id' => $row->depicao, 'arr_airport_id' => $row->arricao, - 'block_fuel' => $row->fuelused, - 'route' => $row->route ?: '', - 'source_name' => $row->source, - 'created_at' => $this->parseDate($row->submitdate), - 'updated_at' => $this->parseDate($row->modifieddate), + 'block_fuel' => $row->fuelused, + 'route' => $row->route ?: '', + 'source_name' => $row->source, + 'created_at' => $this->parseDate($row->submitdate), + 'updated_at' => $this->parseDate($row->modifieddate), ]; # Set the distance @@ -542,7 +538,7 @@ class Importer $attrs['planned_flight_time'] = $duration; # Set how it was filed - if(strtoupper($row->source) === 'MANUAL') { + if (strtoupper($row->source) === 'MANUAL') { $attrs['source'] = PirepSource::MANUAL; } else { $attrs['source'] = PirepSource::ACARS; @@ -550,16 +546,16 @@ class Importer # Set the flight type $row->flighttype = strtoupper($row->flighttype); - if($row->flighttype === 'P') { - $attrs['flight_type'] = FlightType::PASSENGER; - } elseif($row->flighttype === 'C') { - $attrs['flight_type'] = FlightType::CARGO; + if ($row->flighttype === 'P') { + $attrs['flight_type'] = FlightType::SCHED_PAX; + } elseif ($row->flighttype === 'C') { + $attrs['flight_type'] = FlightType::SCHED_CARGO; } else { - $attrs['flight_type'] = FlightType::CHARTER; + $attrs['flight_type'] = FlightType::CHARTER_PAX_ONLY; } # Set the flight level of the PIREP is set - if(property_exists($row, 'flightlevel')) { + if (property_exists($row, 'flightlevel')) { $attrs['level'] = $row->flightlevel; } else { $attrs['level'] = 0; @@ -571,11 +567,11 @@ class Importer ); $source = strtoupper($row->source); - if($source === 'SMARTCARS') { + if ($source === 'SMARTCARS') { # TODO: Parse smartcars log into the acars table - } elseif($source === 'KACARS') { + } elseif ($source === 'KACARS') { # TODO: Parse kACARS log into acars table - } elseif($source === 'XACARS') { + } elseif ($source === 'XACARS') { # TODO: Parse XACARS log into acars table } @@ -587,7 +583,7 @@ class Importer } } - $this->info('Imported ' . $count . ' pireps'); + $this->info('Imported '.$count.' pireps'); } protected function importUsers() @@ -596,10 +592,9 @@ class Importer $count = 0; foreach ($this->readRows('pilots', 50) as $row) { - # TODO: What to do about pilot ids - $name = $row->firstname . ' ' . $row->lastname; + $name = $row->firstname.' '.$row->lastname; $airline_id = $this->getMapping('airlines', $row->code); $rank_id = $this->getMapping('ranks', $row->rank); @@ -608,17 +603,17 @@ class Importer $new_password = Str::random(60); $attrs = [ - 'name' => $name, - 'password' => Hash::make($new_password), - 'api_key' => Utils::generateApiKey(), - 'airline_id' => $airline_id, - 'rank_id' => $rank_id, + 'name' => $name, + 'password' => Hash::make($new_password), + 'api_key' => Utils::generateApiKey(), + 'airline_id' => $airline_id, + 'rank_id' => $rank_id, 'home_airport_id' => $row->hub, 'curr_airport_id' => $row->hub, - 'flights' => (int)$row->totalflights, - 'flight_time' => Utils::hoursToMinutes($row->totalhours), - 'state' => $state, - 'created_at' => $this->parseDate($row->joindate), + 'flights' => (int) $row->totalflights, + 'flight_time' => Utils::hoursToMinutes($row->totalhours), + 'state' => $state, + 'created_at' => $this->parseDate($row->joindate), ]; $user = User::updateOrCreate( @@ -633,7 +628,7 @@ class Importer } } - $this->info('Imported ' . $count . ' users'); + $this->info('Imported '.$count.' users'); } /** @@ -641,7 +636,6 @@ class Importer */ protected function findLastPireps() { - } /** @@ -665,9 +659,9 @@ class Importer // Declare array of classic states $phpvms_classic_states = [ - 'ACTIVE' => 0, + 'ACTIVE' => 0, 'INACTIVE' => 1, - 'BANNED' => 2, + 'BANNED' => 2, 'ON_LEAVE' => 3 ]; @@ -682,7 +676,7 @@ class Importer } elseif ($state === $phpvms_classic_states['ON_LEAVE']) { return UserState::ON_LEAVE; } else { - $this->error('Unknown status: '. $state); + $this->error('Unknown status: '.$state); } } } diff --git a/app/Cron/Monthly/ApplyExpenses.php b/app/Cron/Monthly/ApplyExpenses.php new file mode 100644 index 00000000..619ed5ae --- /dev/null +++ b/app/Cron/Monthly/ApplyExpenses.php @@ -0,0 +1,38 @@ +financeSvc = $financeSvc; + } + + /** + * Apply all of the expenses for a month + * @param CronMonthly $event + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function handle(CronMonthly $event): void + { + $this->financeSvc->processExpenses(ExpenseType::MONTHLY); + } +} diff --git a/app/Cron/Nightly/ApplyExpenses.php b/app/Cron/Nightly/ApplyExpenses.php new file mode 100644 index 00000000..22307cb4 --- /dev/null +++ b/app/Cron/Nightly/ApplyExpenses.php @@ -0,0 +1,38 @@ +financeSvc = $financeSvc; + } + + /** + * Apply all of the expenses for a day + * @param CronNightly $event + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function handle(CronNightly $event): void + { + $this->financeSvc->processExpenses(ExpenseType::DAILY); + } +} diff --git a/app/Cron/Nightly/PilotLeave.php b/app/Cron/Nightly/PilotLeave.php new file mode 100644 index 00000000..7417b4b1 --- /dev/null +++ b/app/Cron/Nightly/PilotLeave.php @@ -0,0 +1,48 @@ +userSvc = $userSvc; + } + + /** + * Set any users to being on leave after X days + * @param CronNightly $event + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function handle(CronNightly $event): void + { + if(setting('pilots.auto_leave_days') === 0) { + return; + } + + $date = Carbon::now()->subDay(setting('pilots.auto_leave_days')); + $users = User::where('status', UserState::ACTIVE) + ->whereDate('updated_at', '<', $date); + + foreach($users as $user) { + $this->userSvc->setStatusOnLeave($user); + } + } +} diff --git a/app/Cron/Nightly/RecalculateBalances.php b/app/Cron/Nightly/RecalculateBalances.php new file mode 100644 index 00000000..b713ee55 --- /dev/null +++ b/app/Cron/Nightly/RecalculateBalances.php @@ -0,0 +1,52 @@ +journalRepo = $journalRepo; + } + + /** + * Recalculate all the balances for the different ledgers + * @param CronNightly $event + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function handle(CronNightly $event): void + { + Log::info('Recalculating balances'); + + $journals = Journal::all(); + foreach ($journals as $journal) { + $old_balance = $journal->balance; + + $this->journalRepo->recalculateBalance($journal); + $journal->refresh(); + + Log::info('Adjusting balance on '. + $journal->morphed_type.':'.$journal->morphed_id + .' from '.$old_balance.' to '.$journal->balance); + } + + Log::info('Done calculating balances'); + } +} diff --git a/app/Cron/Nightly/SetActiveFlights.php b/app/Cron/Nightly/SetActiveFlights.php new file mode 100644 index 00000000..e63906d9 --- /dev/null +++ b/app/Cron/Nightly/SetActiveFlights.php @@ -0,0 +1,70 @@ +checkFlights(); + } + + /** + * Look through every single flight, check the start/end dates, + * as well of the days of week if this flight is active on this day + * + * TODO: Option to check the flight active/inactive against departure TZ + * TODO: Move to FlightService + */ + public function checkFlights(): void + { + $today = Carbon::now('UTC'); + $flights = Flight::all(); + + /** + * @var Flight $flight + */ + foreach($flights as $flight) { + + // dates aren't set, so just save if there were any changes above + // and move onto the next one + if ($flight->start_date === null || $flight->end_date === null) { + if ($flight->days > 0) { + $flight->active = Days::isToday($flight->days); + } + + $flight->save(); + continue; + } + + // Check the day of week now first + + // Start/end date is set, so make sure today is valid for it to be alive + // and then make sure if days of the week are specified, check that too + if ($today->gte($flight->start_date) && $today->lte($flight->end_date)) { + if ($flight->days > 0) { + $flight->active = Days::isToday($flight->days); + } else { + $flight->active = true; + } + } else { + $flight->active = false; + } + + $flight->save(); + } + } +} diff --git a/app/Database/factories/AcarsFactory.php b/app/Database/factories/AcarsFactory.php index 651d450a..a10bfcd6 100644 --- a/app/Database/factories/AcarsFactory.php +++ b/app/Database/factories/AcarsFactory.php @@ -4,18 +4,18 @@ use Faker\Generator as Faker; $factory->define(App\Models\Acars::class, function (Faker $faker) { return [ - 'id' => null, - 'pirep_id' => null, - 'log' => $faker->text(100), - 'lat' => $faker->latitude, - 'lon' => $faker->longitude, - 'heading' => $faker->numberBetween(0, 359), - 'altitude' => $faker->numberBetween(20, 400), - 'vs' => $faker->numberBetween(-5000, 5000), - 'gs' => $faker->numberBetween(300, 500), + 'id' => null, + 'pirep_id' => null, + 'log' => $faker->text(100), + 'lat' => $faker->latitude, + 'lon' => $faker->longitude, + 'heading' => $faker->numberBetween(0, 359), + 'altitude' => $faker->numberBetween(20, 400), + 'vs' => $faker->numberBetween(-5000, 5000), + 'gs' => $faker->numberBetween(300, 500), 'transponder' => $faker->numberBetween(200, 9999), - 'autopilot' => $faker->text(10), - 'fuel_flow' => $faker->randomFloat(2, 100, 1000), - 'sim_time' => $faker->dateTime('now', 'UTC'), + 'autopilot' => $faker->text(10), + 'fuel_flow' => $faker->randomFloat(2, 100, 1000), + 'sim_time' => $faker->dateTime('now', 'UTC'), ]; }); diff --git a/app/Database/factories/AircraftFactory.php b/app/Database/factories/AircraftFactory.php index 22cb3d9a..25453ed4 100644 --- a/app/Database/factories/AircraftFactory.php +++ b/app/Database/factories/AircraftFactory.php @@ -4,20 +4,23 @@ use Faker\Generator as Faker; $factory->define(App\Models\Aircraft::class, function (Faker $faker) { return [ - 'id' => null, - 'subfleet_id' => function() { + 'id' => null, + 'subfleet_id' => function () { return factory(App\Models\Subfleet::class)->create()->id; }, - 'airport_id' => function () { + 'airport_id' => function () { return factory(App\Models\Airport::class)->create()->id; }, - 'icao' => $faker->unique()->text(5), - 'name' => $faker->unique()->text(50), + 'iata' => $faker->unique()->text(5), + 'icao' => $faker->unique()->text(5), + 'name' => $faker->text(50), 'registration' => $faker->unique()->text(10), - 'hex_code' => \App\Support\ICAO::createHexCode(), - 'active' => true, - 'created_at' => $faker->dateTimeBetween('-1 week', 'now'), - 'updated_at' => function (array $pirep) { + 'hex_code' => \App\Support\ICAO::createHexCode(), + 'zfw' => $faker->randomFloat(2, 0, 50000), + 'status' => \App\Models\Enums\AircraftStatus::ACTIVE, + 'state' => \App\Models\Enums\AircraftState::PARKED, + 'created_at' => $faker->dateTimeBetween('-1 week', 'now'), + 'updated_at' => function (array $pirep) { return $pirep['created_at']; }, ]; diff --git a/app/Database/factories/AirlineFactory.php b/app/Database/factories/AirlineFactory.php index 20067eb4..143ccf81 100644 --- a/app/Database/factories/AirlineFactory.php +++ b/app/Database/factories/AirlineFactory.php @@ -8,15 +8,18 @@ use Hashids\Hashids; */ $factory->define(App\Models\Airline::class, function (Faker $faker) { return [ - 'id' => null, - 'icao' => function (array $apt) use ($faker) { + 'id' => null, + 'icao' => function (array $apt) use ($faker) { $hashids = new Hashids(microtime(), 5); $mt = str_replace('.', '', microtime(true)); + return $hashids->encode($mt); }, - 'iata' => function (array $apt) { return $apt['icao']; }, - 'name' => $faker->sentence(3), + 'iata' => function (array $apt) { + return $apt['icao']; + }, + 'name' => $faker->sentence(3), 'country' => $faker->country, - 'active' => 1 + 'active' => 1 ]; }); diff --git a/app/Database/factories/AirportFactory.php b/app/Database/factories/AirportFactory.php index def85245..5ec4c1ef 100644 --- a/app/Database/factories/AirportFactory.php +++ b/app/Database/factories/AirportFactory.php @@ -6,9 +6,8 @@ use Faker\Generator as Faker; * Add any number of airports. Don't really care if they're real or not */ $factory->define(App\Models\Airport::class, function (Faker $faker) { - return [ - 'id' => function() { + 'id' => function () { $characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; $string = ''; $max = strlen($characters) - 1; @@ -18,15 +17,20 @@ $factory->define(App\Models\Airport::class, function (Faker $faker) { return $string; }, - 'icao' => function(array $apt) { return $apt['id']; }, - 'iata' => function (array $apt) { return $apt['id']; }, - 'name' => $faker->sentence(3), - 'country' => $faker->country, - 'timezone' => $faker->timezone, - 'lat' => $faker->latitude, - 'lon' => $faker->longitude, - 'fuel_100ll_cost' => $faker->randomFloat(2), - 'fuel_jeta_cost' => $faker->randomFloat(2), - 'fuel_mogas_cost' => $faker->randomFloat(2), + 'icao' => function (array $apt) { + return $apt['id']; + }, + 'iata' => function (array $apt) { + return $apt['id']; + }, + 'name' => $faker->sentence(3), + 'country' => $faker->country, + 'timezone' => $faker->timezone, + 'lat' => $faker->latitude, + 'lon' => $faker->longitude, + 'ground_handling_cost' => $faker->randomFloat(2, 0, 500), + 'fuel_100ll_cost' => $faker->randomFloat(2, 0, 100), + 'fuel_jeta_cost' => $faker->randomFloat(2, 0, 100), + 'fuel_mogas_cost' => $faker->randomFloat(2, 0, 100), ]; }); diff --git a/app/Database/factories/AwardsFactory.php b/app/Database/factories/AwardsFactory.php new file mode 100644 index 00000000..20297523 --- /dev/null +++ b/app/Database/factories/AwardsFactory.php @@ -0,0 +1,13 @@ +define(App\Models\Award::class, function (Faker $faker) { + return [ + 'id' => null, + 'name' => $faker->name, + 'description' => $faker->text(10), + 'ref_model' => null, + 'ref_model_params' => null, + ]; +}); diff --git a/app/Database/factories/ExpenseFactory.php b/app/Database/factories/ExpenseFactory.php new file mode 100644 index 00000000..6f78438d --- /dev/null +++ b/app/Database/factories/ExpenseFactory.php @@ -0,0 +1,18 @@ +define(App\Models\Expense::class, function (Faker $faker) { + return [ + 'id' => null, + 'airline_id' => null, + 'name' => $faker->text(20), + 'amount' => $faker->randomFloat(2, 100, 1000), + 'type' => ExpenseType::FLIGHT, + 'multiplier' => false, + 'ref_model' => \App\Models\Expense::class, + 'ref_model_id' => null, + 'active' => true, + ]; +}); diff --git a/app/Database/factories/FareFactory.php b/app/Database/factories/FareFactory.php index d097e48b..634e573f 100644 --- a/app/Database/factories/FareFactory.php +++ b/app/Database/factories/FareFactory.php @@ -4,10 +4,13 @@ use Faker\Generator as Faker; $factory->define(App\Models\Fare::class, function (Faker $faker) { return [ - 'id' => null, - 'code' => $faker->text(5), - 'name' => $faker->text(20), - 'price' => $faker->randomFloat(2, 100, 1000), + 'id' => null, + 'code' => $faker->unique()->text(50), + 'name' => $faker->text(50), + 'price' => $faker->randomFloat(2, 100, 1000), + 'cost' => function (array $fare) { + return round($fare['price'] / 2); + }, 'capacity' => $faker->randomFloat(0, 20, 500), ]; }); diff --git a/app/Database/factories/FlightFactory.php b/app/Database/factories/FlightFactory.php index ccdc5c03..b19b86cf 100644 --- a/app/Database/factories/FlightFactory.php +++ b/app/Database/factories/FlightFactory.php @@ -1,21 +1,20 @@ define(App\Models\Flight::class, function (Faker $faker) use ($airlinesAvailable) { +$factory->define(App\Models\Flight::class, function (Faker $faker) { return [ - 'id' => null, - 'airline_id' => function () { + 'id' => null, + 'airline_id' => function () { return factory(App\Models\Airline::class)->create()->id; }, - 'flight_number' => $faker->unique()->numberBetween(10, 1000000), - 'route_code' => $faker->randomElement(['', $faker->text(5)]), - 'route_leg' => $faker->randomElement(['', $faker->text(5)]), - 'dpt_airport_id' => function() { + 'flight_number' => $faker->unique()->numberBetween(10, 1000000), + 'route_code' => $faker->randomElement(['', $faker->text(5)]), + 'route_leg' => $faker->randomElement(['', $faker->text(5)]), + 'dpt_airport_id' => function () { return factory(App\Models\Airport::class)->create()->id; }, 'arr_airport_id' => function () { @@ -24,15 +23,19 @@ $factory->define(App\Models\Flight::class, function (Faker $faker) use ($airline 'alt_airport_id' => function () { return factory(App\Models\Airport::class)->create()->id; }, - 'distance' => $faker->numberBetween(0, 3000), - 'route' => null, - 'dpt_time' => $faker->time(), - 'arr_time' => $faker->time(), - 'flight_time' => $faker->numberBetween(60, 360), - 'has_bid' => false, - 'active' => true, - 'created_at' => $faker->dateTimeBetween('-1 week', 'now'), - 'updated_at' => function (array $flight) { + 'distance' => $faker->numberBetween(0, 3000), + 'route' => null, + 'level' => 0, + 'dpt_time' => $faker->time(), + 'arr_time' => $faker->time(), + 'flight_time' => $faker->numberBetween(60, 360), + 'has_bid' => false, + 'active' => true, + 'days' => 0, + 'start_date' => null, + 'end_date' => null, + 'created_at' => $faker->dateTimeBetween('-1 week', 'now'), + 'updated_at' => function (array $flight) { return $flight['created_at']; }, ]; diff --git a/app/Database/factories/JournalFactory.php b/app/Database/factories/JournalFactory.php new file mode 100644 index 00000000..c4d4d6ee --- /dev/null +++ b/app/Database/factories/JournalFactory.php @@ -0,0 +1,9 @@ +define(App\Models\Journal::class, function (Faker $faker) { + return [ + 'currency' => 'USD', + ]; +}); diff --git a/app/Database/factories/JournalTransactionsFactory.php b/app/Database/factories/JournalTransactionsFactory.php new file mode 100644 index 00000000..a46d2693 --- /dev/null +++ b/app/Database/factories/JournalTransactionsFactory.php @@ -0,0 +1,17 @@ +define(App\Models\JournalTransactions::class, function (Faker $faker) { + return [ + 'transaction_group' => \Ramsey\Uuid\Uuid::uuid4()->toString(), + 'journal_id' => function () { + return factory(App\Models\Journal::class)->create()->id; + }, + 'credit' => $faker->numberBetween(100, 10000), + 'debit' => $faker->numberBetween(100, 10000), + 'currency' => 'USD', + 'memo' => $faker->sentence(6), + 'post_date' => \Carbon\Carbon::now(), + ]; +}); diff --git a/app/Database/factories/NavdataFactory.php b/app/Database/factories/NavdataFactory.php index 929f2189..db3130ca 100644 --- a/app/Database/factories/NavdataFactory.php +++ b/app/Database/factories/NavdataFactory.php @@ -1,15 +1,15 @@ define(App\Models\Navdata::class, function (Faker $faker) { return [ - 'id' => str_replace(' ', '', str_replace('.', '', $faker->unique()->text(5))), + 'id' => str_replace(' ', '', str_replace('.', '', $faker->unique()->text(5))), 'name' => str_replace('.', '', $faker->unique()->word), 'type' => $faker->randomElement([NavaidType::VOR, NavaidType::NDB]), - 'lat' => $faker->latitude, - 'lon' => $faker->longitude, + 'lat' => $faker->latitude, + 'lon' => $faker->longitude, 'freq' => $faker->randomFloat(2, 100, 1000), ]; }); diff --git a/app/Database/factories/NewsFactory.php b/app/Database/factories/NewsFactory.php new file mode 100644 index 00000000..eda10901 --- /dev/null +++ b/app/Database/factories/NewsFactory.php @@ -0,0 +1,14 @@ +define(App\Models\News::class, function (Faker $faker) { + return [ + 'id' => null, + 'user_id' => function() { + return factory(App\Models\User::class)->create()->id; + }, + 'subject' => $faker->text(), + 'body' => $faker->sentence, + ]; +}); diff --git a/app/Database/factories/PirepFactory.php b/app/Database/factories/PirepFactory.php index dfa1b34d..a3f28d63 100644 --- a/app/Database/factories/PirepFactory.php +++ b/app/Database/factories/PirepFactory.php @@ -7,47 +7,51 @@ use Faker\Generator as Faker; * Create a new PIREP */ $factory->define(App\Models\Pirep::class, function (Faker $faker) { - return [ - 'id' => null, - 'airline_id' => function () { + 'id' => null, + 'airline_id' => function () { return factory(App\Models\Airline::class)->create()->id; }, - 'user_id' => function () { + 'user_id' => function () { return factory(App\Models\User::class)->create()->id; }, - 'aircraft_id' => function () { + 'aircraft_id' => function () { return factory(App\Models\Aircraft::class)->create()->id; }, - 'flight_number' => function (array $pirep) { + 'flight_number' => function (array $pirep) { return factory(App\Models\Flight::class)->create([ 'airline_id' => $pirep['airline_id'] ])->flight_number; }, - 'route_code' => null, - 'route_leg' => null, - 'dpt_airport_id' => function () { + 'route_code' => null, + 'route_leg' => null, + 'dpt_airport_id' => function () { return factory(App\Models\Airport::class)->create()->id; }, - 'arr_airport_id' => function () { + 'arr_airport_id' => function () { return factory(App\Models\Airport::class)->create()->id; }, - 'level' => $faker->numberBetween(20, 400), - 'distance' => $faker->randomFloat(2, 0, 6000), - 'planned_distance' => $faker->randomFloat(2, 0, 6000), - 'flight_time' => $faker->numberBetween(60, 360), + 'level' => $faker->numberBetween(20, 400), + 'distance' => $faker->randomFloat(2, 0, 6000), + 'planned_distance' => $faker->randomFloat(2, 0, 6000), + 'flight_time' => $faker->numberBetween(60, 360), 'planned_flight_time' => $faker->numberBetween(60, 360), - 'zfw' => $faker->randomFloat(2), - 'block_fuel' => $faker->randomFloat(2, 0, 30000), - 'fuel_used' => $faker->randomFloat(2, 0, 30000), - 'route' => $faker->text(200), - 'notes' => $faker->text(200), - 'source' => $faker->randomElement([PirepSource::MANUAL, PirepSource::ACARS]), - 'source_name' => 'Test Factory', - 'state' => PirepState::PENDING, - 'status' => PirepStatus::SCHEDULED, - 'created_at' => Carbon::now()->toDateTimeString(), - 'updated_at' => function(array $pirep) { + 'zfw' => $faker->randomFloat(2), + 'block_fuel' => $faker->randomFloat(2, 0, 30000), + 'fuel_used' => $faker->randomFloat(2, 0, 30000), + 'block_on_time' => Carbon::now('UTC'), + 'block_off_time' => function (array $pirep) { + return $pirep['block_on_time']->subMinutes($pirep['flight_time']); + }, + 'route' => $faker->text(200), + 'notes' => $faker->text(200), + 'source' => $faker->randomElement([PirepSource::MANUAL, PirepSource::ACARS]), + 'source_name' => 'Test Factory', + 'state' => PirepState::PENDING, + 'status' => PirepStatus::SCHEDULED, + 'submitted_at' => Carbon::now('UTC')->toDateTimeString(), + 'created_at' => Carbon::now('UTC')->toDateTimeString(), + 'updated_at' => function (array $pirep) { return $pirep['created_at']; }, ]; diff --git a/app/Database/factories/RankFactory.php b/app/Database/factories/RankFactory.php index bbc8676c..3ea3d9f4 100644 --- a/app/Database/factories/RankFactory.php +++ b/app/Database/factories/RankFactory.php @@ -11,11 +11,13 @@ use Faker\Generator as Faker; */ $factory->define(App\Models\Rank::class, function (Faker $faker) { return [ - 'id' => null, - 'name' => $faker->unique()->text(50), - 'hours' => $faker->numberBetween(10, 50), - 'auto_approve_acars' => 0, - 'auto_approve_manual' => 0, - 'auto_promote' => 0, + 'id' => null, + 'name' => $faker->unique()->text(50), + 'hours' => $faker->numberBetween(10, 50), + 'acars_base_pay_rate' => $faker->numberBetween(10, 100), + 'manual_base_pay_rate' => $faker->numberBetween(10, 100), + 'auto_approve_acars' => 0, + 'auto_approve_manual' => 0, + 'auto_promote' => 0, ]; }); diff --git a/app/Database/factories/SubfleetFactory.php b/app/Database/factories/SubfleetFactory.php index f11daed8..3fa500e6 100644 --- a/app/Database/factories/SubfleetFactory.php +++ b/app/Database/factories/SubfleetFactory.php @@ -4,11 +4,12 @@ use Faker\Generator as Faker; $factory->define(App\Models\Subfleet::class, function (Faker $faker) { return [ - 'id' => null, - 'airline_id' => function () { + 'id' => null, + 'airline_id' => function () { return factory(App\Models\Airline::class)->create()->id; }, - 'name' => $faker->unique()->text(50), - 'type' => $faker->unique()->text(7), + 'name' => $faker->unique()->text(50), + 'type' => $faker->unique()->text(7), + 'ground_handling_multiplier' => $faker->numberBetween(50, 200), ]; }); diff --git a/app/Database/factories/UserFactory.php b/app/Database/factories/UserFactory.php index 690aa9c1..f8a5d206 100644 --- a/app/Database/factories/UserFactory.php +++ b/app/Database/factories/UserFactory.php @@ -1,26 +1,25 @@ define(App\Models\User::class, function (Faker $faker) -{ +$factory->define(App\Models\User::class, function (Faker $faker) { static $password; return [ - 'id' => null, - 'name' => $faker->name, - 'email' => $faker->safeEmail, - 'password' => $password ?: $password = Hash::make('secret'), - 'api_key' => $faker->sha1, - 'airline_id' => function () { + 'id' => null, + 'name' => $faker->name, + 'email' => $faker->safeEmail, + 'password' => $password ?: $password = Hash::make('secret'), + 'api_key' => $faker->sha1, + 'airline_id' => function () { return factory(App\Models\Airline::class)->create()->id; }, - 'rank_id' => 1, - 'flights' => $faker->numberBetween(0, 1000), - 'flight_time' => $faker->numberBetween(0, 10000), - 'transfer_time' => $faker->numberBetween(0, 10000), - 'state' => UserState::ACTIVE, + 'rank_id' => 1, + 'flights' => $faker->numberBetween(0, 1000), + 'flight_time' => $faker->numberBetween(0, 10000), + 'transfer_time' => $faker->numberBetween(0, 10000), + 'state' => UserState::ACTIVE, 'remember_token' => $faker->unique()->text(5), ]; }); diff --git a/app/Database/migrations/2017_06_07_014930_create_settings_table.php b/app/Database/migrations/2017_06_07_014930_create_settings_table.php index af8afbac..56df35f1 100644 --- a/app/Database/migrations/2017_06_07_014930_create_settings_table.php +++ b/app/Database/migrations/2017_06_07_014930_create_settings_table.php @@ -1,6 +1,6 @@ string('default')->nullable(); $table->string('group')->nullable(); $table->string('type')->nullable(); - $table->string('options')->nullable(); + $table->text('options')->nullable(); $table->string('description')->nullable(); $table->primary('id'); @@ -35,73 +35,91 @@ class CreateSettingsTable extends Migration */ $this->addSetting('general.start_date', [ - 'name' => 'Start Date', - 'group' => 'general', - 'value' => '', - 'type' => 'date', + 'name' => 'Start Date', + 'group' => 'general', + 'value' => '', + 'type' => 'date', 'description' => 'The date your VA started', ]); $this->addSetting('general.admin_email', [ - 'name' => 'Admin Email', - 'group' => 'general', - 'value' => '', - 'type' => 'text', + 'name' => 'Admin Email', + 'group' => 'general', + 'value' => '', + 'type' => 'text', 'description' => 'Email where notices, etc are sent', ]); - $this->addSetting('general.currency', [ + /*$this->addSetting('general.currency', [ 'name' => 'Currency to Use', 'group' => 'general', - 'value' => 'dollar', + 'value' => 'USD', 'type' => 'select', - 'options' => 'dollar,euro,gbp,yen,jpy,rupee,ruble', - 'description' => 'Currency to show in the interface', + 'options' => 'USD,EUR,GBP,JPY,RUB', + 'description' => 'Currency to use. NOTE: If you change this, then current amounts won\'t be converted', + ]);*/ + + $this->addSetting('units.distance', [ + 'name' => 'Distance Units', + 'group' => 'units', + 'value' => 'nmi', + 'type' => 'select', + 'options' => 'km=kilometers,mi=miles,nmi=nautical miles', + 'description' => 'The distance unit for display', ]); - $this->addSetting('general.distance_unit', [ - 'name' => 'Distance Units', - 'group' => 'general', - 'value' => 'NM', - 'type' => 'select', - 'options' => 'km,mi,NM', - 'description' => 'The distance unit to show', + $this->addSetting('units.weight', [ + 'name' => 'Weight Units', + 'group' => 'units', + 'value' => 'lbs', + 'type' => 'select', + 'options' => 'lbs,kg', + 'description' => 'The weight unit for display', ]); - $this->addSetting('general.weight_unit', [ - 'name' => 'Weight Units', - 'group' => 'general', - 'value' => 'lbs', - 'type' => 'select', - 'options' => 'lbs,kg', - 'description' => 'The weight unit', + $this->addSetting('units.speed', [ + 'name' => 'Speed Units', + 'group' => 'units', + 'value' => 'knot', + 'type' => 'select', + 'options' => 'km/h,knot', + 'description' => 'The speed unit for display', ]); - $this->addSetting('general.speed_unit', [ - 'name' => 'Speed Units', - 'group' => 'general', - 'value' => 'knot', - 'type' => 'select', - 'options' => 'km/h,knot', - 'description' => 'The speed unit', + $this->addSetting('units.altitude', [ + 'name' => 'Altitude Units', + 'group' => 'units', + 'value' => 'ft', + 'type' => 'select', + 'options' => 'ft=feet,m=meters', + 'description' => 'The altitude unit for display', ]); - $this->addSetting('general.altitude_unit', [ - 'name' => 'Altitude Units', - 'group' => 'general', - 'value' => 'ft', - 'type' => 'select', - 'options' => 'ft,m', - 'description' => 'The altitude units', + $this->addSetting('units.fuel', [ + 'name' => 'Fuel Units', + 'group' => 'units', + 'value' => 'lbs', + 'type' => 'select', + 'options' => 'lbs,kg', + 'description' => 'The units for fuel for display', ]); - $this->addSetting('general.fuel_unit', [ - 'name' => 'Fuel Units', - 'group' => 'general', - 'value' => 'lbs', - 'type' => 'select', - 'options' => 'lbs,kg', - 'description' => 'The units for fuel', + $this->addSetting('units.volume', [ + 'name' => 'Volume Units', + 'group' => 'units', + 'value' => 'gallons', + 'type' => 'select', + 'options' => 'gallons,l=liters', + 'description' => 'The units for fuel for display', + ]); + + $this->addSetting('units.temperature', [ + 'name' => 'Temperature Units', + 'group' => 'units', + 'value' => 'F', + 'type' => 'select', + 'options' => 'F=Fahrenheit,C=Celsius', + 'description' => 'The units for temperature', ]); /** @@ -109,30 +127,38 @@ class CreateSettingsTable extends Migration */ $this->addSetting('bids.disable_flight_on_bid', [ - 'name' => 'Disable flight on bid', - 'group' => 'bids', - 'value' => true, - 'type' => 'boolean', + 'name' => 'Disable flight on bid', + 'group' => 'bids', + 'value' => true, + 'type' => 'boolean', 'description' => 'When a flight is bid on, no one else can bid on it', ]); $this->addSetting('bids.allow_multiple_bids', [ - 'name' => 'Allow multiple bids', - 'group' => 'bids', - 'value' => true, - 'type' => 'boolean', + 'name' => 'Allow multiple bids', + 'group' => 'bids', + 'value' => true, + 'type' => 'boolean', 'description' => 'Whether or not someone can bid on multiple flights', ]); + $this->addSetting('bids.expire_time', [ + 'name' => 'Expire Time', + 'group' => 'bids', + 'value' => 48, + 'type' => 'int', + 'description' => 'Number of hours to expire bids after', + ]); + /** * PIREPS */ $this->addSetting('pireps.duplicate_check_time', [ - 'name' => 'PIREP duplicate time check', - 'group' => 'pireps', - 'value' => 10, - 'type' => 'int', + 'name' => 'PIREP duplicate time check', + 'group' => 'pireps', + 'value' => 10, + 'type' => 'int', 'description' => 'The time in minutes to check for a duplicate PIREP', ]); @@ -145,64 +171,80 @@ class CreateSettingsTable extends Migration ]);*/ $this->addSetting('pireps.restrict_aircraft_to_rank', [ - 'name' => 'Restrict Aircraft to Ranks', - 'group' => 'pireps', - 'value' => true, - 'type' => 'boolean', + 'name' => 'Restrict Aircraft to Ranks', + 'group' => 'pireps', + 'value' => true, + 'type' => 'boolean', 'description' => 'Aircraft that can be flown are restricted to a user\'s rank', ]); - $this->addSetting('pireps.only_aircraft_at_dep_airport', [ - 'name' => 'Restrict Aircraft At Departure', - 'group' => 'pireps', - 'value' => false, - 'type' => 'boolean', + $this->addSetting('pireps.only_aircraft_at_dpt_airport', [ + 'name' => 'Restrict Aircraft At Departure', + 'group' => 'pireps', + 'value' => false, + 'type' => 'boolean', 'description' => 'Only allow aircraft that are at the departure airport', ]); + $this->addSetting('pireps.remove_bid_on_accept', [ + 'name' => 'Remove bid on accept', + 'group' => 'pireps', + 'value' => false, + 'type' => 'boolean', + 'description' => 'When a PIREP is accepted, remove the bid, if it exists', + ]); + /** * PILOTS */ $this->addSetting('pilots.id_length', [ - 'name' => 'Pilot ID Length', - 'group' => 'pilots', - 'value' => 4, - 'default' => 4, - 'type' => 'int', + 'name' => 'Pilot ID Length', + 'group' => 'pilots', + 'value' => 4, + 'default' => 4, + 'type' => 'int', 'description' => 'The length of a pilot\'s ID', ]); - $this->addSetting('pilot.auto_accept', [ - 'name' => 'Auto Accept New Pilot', - 'group' => 'pilots', - 'value' => true, - 'type' => 'boolean', + $this->addSetting('pilots.auto_accept', [ + 'name' => 'Auto Accept New Pilot', + 'group' => 'pilots', + 'value' => true, + 'type' => 'boolean', 'description' => 'Automatically accept a pilot when they register', ]); + $this->addSetting('pilots.home_hubs_only', [ + 'name' => 'Hubs as home airport', + 'group' => 'pilots', + 'value' => false, + 'type' => 'boolean', + 'description' => 'Pilots can only select hubs as their home airport', + ]); + $this->addSetting('pilots.only_flights_from_current', [ - 'name' => 'Flights from Current', - 'group' => 'pilots', - 'value' => false, - 'type' => 'boolean', + 'name' => 'Flights from Current', + 'group' => 'pilots', + 'value' => false, + 'type' => 'boolean', 'description' => 'Only show/allow flights from their current location', ]); - $this->addSetting('pilot.auto_leave_days', [ - 'name' => 'Pilot to ON LEAVE days', - 'group' => 'pilots', - 'value' => 30, - 'default' => 30, - 'type' => 'int', + $this->addSetting('pilots.auto_leave_days', [ + 'name' => 'Pilot to ON LEAVE days', + 'group' => 'pilots', + 'value' => 30, + 'default' => 30, + 'type' => 'int', 'description' => 'Automatically set a pilot to ON LEAVE status after N days of no activity', ]); $this->addSetting('pilots.hide_inactive', [ - 'name' => 'Hide Inactive Pilots', - 'group' => 'pilots', - 'value' => true, - 'type' => 'boolean', + 'name' => 'Hide Inactive Pilots', + 'group' => 'pilots', + 'value' => true, + 'type' => 'boolean', 'description' => 'Don\'t show inactive pilots in the public view', ]); } diff --git a/app/Database/migrations/2017_06_08_0000_create_users_table.php b/app/Database/migrations/2017_06_08_0000_create_users_table.php index 643e5730..c9da0653 100755 --- a/app/Database/migrations/2017_06_08_0000_create_users_table.php +++ b/app/Database/migrations/2017_06_08_0000_create_users_table.php @@ -1,6 +1,6 @@ unsignedBigInteger('flights')->default(0); $table->unsignedBigInteger('flight_time')->nullable()->default(0); $table->unsignedBigInteger('transfer_time')->nullable()->default(0); - $table->decimal('balance')->nullable(); + $table->string('avatar')->nullable(); $table->string('timezone', 64)->nullable(); $table->unsignedTinyInteger('status')->nullable()->default(0); $table->unsignedTinyInteger('state')->nullable()->default(0); diff --git a/app/Database/migrations/2017_06_08_0001_roles_permissions_tables.php b/app/Database/migrations/2017_06_08_0001_roles_permissions_tables.php index a8dd6179..63292b47 100644 --- a/app/Database/migrations/2017_06_08_0001_roles_permissions_tables.php +++ b/app/Database/migrations/2017_06_08_0001_roles_permissions_tables.php @@ -1,6 +1,6 @@ 1, - 'name' => 'admin', + 'id' => 1, + 'name' => 'admin', 'display_name' => 'Administrators', ], [ - 'id' => 2, - 'name' => 'user', + 'id' => 2, + 'name' => 'user', 'display_name' => 'Pilot' ], ]; - $this->addData('roles', $roles); } diff --git a/app/Database/migrations/2017_06_08_0005_create_password_resets_table.php b/app/Database/migrations/2017_06_08_0005_create_password_resets_table.php index c8b9ab5a..4d58f7e2 100755 --- a/app/Database/migrations/2017_06_08_0005_create_password_resets_table.php +++ b/app/Database/migrations/2017_06_08_0005_create_password_resets_table.php @@ -1,6 +1,6 @@ increments('id'); $table->unsignedInteger('subfleet_id'); $table->string('icao', 4)->nullable(); + $table->string('iata', 4)->nullable(); $table->string('airport_id', 5)->nullable(); $table->timestamp('landing_time')->nullable(); $table->string('name', 50); @@ -19,14 +21,13 @@ class CreateAircraftsTable extends Migration $table->string('hex_code', 10)->nullable(); $table->unsignedDecimal('zfw')->nullable()->default(0); $table->unsignedBigInteger('flight_time')->nullable()->default(0); - $table->boolean('active')->default(true); + $table->char('status', 1)->default(AircraftStatus::ACTIVE); $table->unsignedTinyInteger('state')->default(AircraftState::PARKED); $table->timestamps(); $table->unique('registration'); $table->index('airport_id'); }); - } public function down() diff --git a/app/Database/migrations/2017_06_10_040335_create_fares_table.php b/app/Database/migrations/2017_06_10_040335_create_fares_table.php index 525925ce..4204885b 100644 --- a/app/Database/migrations/2017_06_10_040335_create_fares_table.php +++ b/app/Database/migrations/2017_06_10_040335_create_fares_table.php @@ -1,11 +1,10 @@ increments('id'); - $table->string('code', 50); + $table->string('code', 50)->unique(); $table->string('name', 50); $table->unsignedDecimal('price')->nullable()->default(0.00); $table->unsignedDecimal('cost')->nullable()->default(0.00); diff --git a/app/Database/migrations/2017_06_11_135707_create_airports_table.php b/app/Database/migrations/2017_06_11_135707_create_airports_table.php index 71feb7f1..b928e2cb 100644 --- a/app/Database/migrations/2017_06_11_135707_create_airports_table.php +++ b/app/Database/migrations/2017_06_11_135707_create_airports_table.php @@ -1,6 +1,6 @@ string('country', 64)->nullable(); $table->string('timezone', 64)->nullable(); $table->boolean('hub')->default(false); + $table->unsignedDecimal('ground_handling_cost')->nullable()->default(0); $table->unsignedDecimal('fuel_100ll_cost')->nullable()->default(0); $table->unsignedDecimal('fuel_jeta_cost')->nullable()->default(0); $table->unsignedDecimal('fuel_mogas_cost')->nullable()->default(0); diff --git a/app/Database/migrations/2017_06_17_214650_create_flight_tables.php b/app/Database/migrations/2017_06_17_214650_create_flight_tables.php index 4b458c84..d052ae3a 100644 --- a/app/Database/migrations/2017_06_17_214650_create_flight_tables.php +++ b/app/Database/migrations/2017_06_17_214650_create_flight_tables.php @@ -1,12 +1,11 @@ string('id', \App\Models\Flight::ID_MAX_LENGTH); + $table->string('id', \App\Interfaces\Model::ID_MAX_LENGTH); $table->unsignedInteger('airline_id'); - $table->string('flight_number', 10); + $table->unsignedInteger('flight_number'); $table->string('route_code', 5)->nullable(); $table->string('route_leg', 5)->nullable(); $table->string('dpt_airport_id', 5); @@ -28,9 +27,13 @@ class CreateFlightTables extends Migration $table->unsignedInteger('level')->nullable()->default(0); $table->unsignedDecimal('distance')->nullable()->default(0.0); $table->unsignedInteger('flight_time')->nullable(); - $table->tinyInteger('flight_type')->default(FlightType::PASSENGER); + $table->char('flight_type', 1)->default(FlightType::SCHED_PAX); $table->text('route')->nullable(); $table->text('notes')->nullable(); + $table->boolean('scheduled')->default(false)->nullable(); + $table->unsignedTinyInteger('days')->nullable(); + $table->date('start_date')->nullable(); + $table->date('end_date')->nullable(); $table->boolean('has_bid')->default(false); $table->boolean('active')->default(true); $table->timestamps(); @@ -43,7 +46,7 @@ class CreateFlightTables extends Migration }); Schema::create('flight_fare', function (Blueprint $table) { - $table->string('flight_id', \App\Models\Flight::ID_MAX_LENGTH); + $table->string('flight_id', \App\Interfaces\Model::ID_MAX_LENGTH); $table->unsignedInteger('fare_id'); $table->string('price', 10)->nullable(); $table->string('cost', 10)->nullable(); @@ -53,15 +56,36 @@ class CreateFlightTables extends Migration $table->primary(['flight_id', 'fare_id']); }); + /** + * Hold a master list of fields + */ Schema::create('flight_fields', function (Blueprint $table) { $table->increments('id'); - $table->string('flight_id', \App\Models\Flight::ID_MAX_LENGTH); + $table->string('name', 50); + $table->string('slug', 50)->nullable(); + }); + + /** + * The values for the actual fields + */ + Schema::create('flight_field_values', function (Blueprint $table) { + $table->bigIncrements('id'); + $table->string('flight_id', \App\Interfaces\Model::ID_MAX_LENGTH); $table->string('name', 50); $table->text('value'); $table->timestamps(); $table->index('flight_id'); }); + + Schema::create('flight_subfleet', function (Blueprint $table) { + $table->bigIncrements('id'); + $table->unsignedInteger('subfleet_id'); + $table->string('flight_id', \App\Interfaces\Model::ID_MAX_LENGTH); + + $table->index(['subfleet_id', 'flight_id']); + $table->index(['flight_id', 'subfleet_id']); + }); } /** @@ -73,6 +97,7 @@ class CreateFlightTables extends Migration { Schema::drop('flight_fields'); Schema::drop('flight_fare'); + Schema::drop('flight_subfleet'); Schema::drop('flights'); } } diff --git a/app/Database/migrations/2017_06_21_165410_create_ranks_table.php b/app/Database/migrations/2017_06_21_165410_create_ranks_table.php index 637c98c7..655ff5c1 100644 --- a/app/Database/migrations/2017_06_21_165410_create_ranks_table.php +++ b/app/Database/migrations/2017_06_21_165410_create_ranks_table.php @@ -1,11 +1,10 @@ increments('id'); $table->string('name', 50); - $table->string('image_link')->nullable(); + $table->string('image_url')->nullable(); $table->unsignedInteger('hours')->default(0); + $table->unsignedDecimal('acars_base_pay_rate')->nullable()->default(0); + $table->unsignedDecimal('manual_base_pay_rate')->nullable()->default(0); $table->boolean('auto_approve_acars')->nullable()->default(false); $table->boolean('auto_approve_manual')->nullable()->default(false); $table->boolean('auto_promote')->nullable()->default(true); @@ -31,9 +32,11 @@ class CreateRanksTable extends Migration */ $ranks = [ [ - 'id' => 1, - 'name' => 'New Pilot', - 'hours' => 0, + 'id' => 1, + 'name' => 'New Pilot', + 'hours' => 0, + 'acars_base_pay_rate' => 50, + 'manual_base_pay_rate' => 25, ] ]; diff --git a/app/Database/migrations/2017_06_23_011011_create_subfleet_tables.php b/app/Database/migrations/2017_06_23_011011_create_subfleet_tables.php index 72ade186..0f0c9f60 100644 --- a/app/Database/migrations/2017_06_23_011011_create_subfleet_tables.php +++ b/app/Database/migrations/2017_06_23_011011_create_subfleet_tables.php @@ -1,63 +1,47 @@ increments('id'); $table->unsignedInteger('airline_id')->nullable(); + $table->string('type', 50)->unique(); $table->string('name', 50); - $table->string('type', 50); + $table->unsignedDecimal('cost_block_hour')->default(0)->nullable(); + $table->unsignedDecimal('cost_delay_minute')->default(0)->nullable(); $table->unsignedTinyInteger('fuel_type')->nullable(); + $table->unsignedDecimal('ground_handling_multiplier')->nullable()->default(100); $table->unsignedDecimal('cargo_capacity')->nullable(); $table->unsignedDecimal('fuel_capacity')->nullable(); $table->unsignedDecimal('gross_weight')->nullable(); $table->timestamps(); }); - Schema::create('subfleet_expenses', function(Blueprint $table) { - $table->unsignedBigInteger('subfleet_id'); - $table->string('name', 50); - $table->unsignedDecimal('cost'); - - $table->primary(['subfleet_id', 'name']); - }); - Schema::create('subfleet_fare', function (Blueprint $table) { $table->unsignedInteger('subfleet_id'); $table->unsignedInteger('fare_id'); - $table->unsignedDecimal('price')->nullable(); - $table->unsignedDecimal('cost')->nullable(); - $table->unsignedInteger('capacity')->nullable(); + $table->string('price')->nullable(); + $table->string('cost')->nullable(); + $table->string('capacity')->nullable(); $table->timestamps(); $table->primary(['subfleet_id', 'fare_id']); $table->index(['fare_id', 'subfleet_id']); }); - Schema::create('subfleet_flight', function(Blueprint $table) { - $table->unsignedInteger('subfleet_id'); - $table->string('flight_id', 12); - - $table->primary(['subfleet_id', 'flight_id']); - $table->index(['flight_id', 'subfleet_id']); - }); - - Schema::create('subfleet_rank', function(Blueprint $table) { + Schema::create('subfleet_rank', function (Blueprint $table) { $table->unsignedInteger('rank_id'); $table->unsignedInteger('subfleet_id'); - $table->unsignedDecimal('acars_pay')->nullable(); - $table->unsignedDecimal('manual_pay')->nullable(); + $table->string('acars_pay')->nullable(); + $table->string('manual_pay')->nullable(); $table->primary(['rank_id', 'subfleet_id']); $table->index(['subfleet_id', 'rank_id']); @@ -72,9 +56,7 @@ class CreateSubfleetTables extends Migration public function down() { Schema::dropIfExists('subfleets'); - Schema::dropIfExists('subfleet_expenses'); Schema::dropIfExists('subfleet_fare'); - Schema::dropIfExists('subfleet_flight'); Schema::dropIfExists('subfleet_rank'); } } diff --git a/app/Database/migrations/2017_06_28_195426_create_pirep_tables.php b/app/Database/migrations/2017_06_28_195426_create_pirep_tables.php index f139be5a..d5c2bfb2 100644 --- a/app/Database/migrations/2017_06_28_195426_create_pirep_tables.php +++ b/app/Database/migrations/2017_06_28_195426_create_pirep_tables.php @@ -1,14 +1,13 @@ string('id', \App\Models\Pirep::ID_MAX_LENGTH); + $table->string('id', \App\Interfaces\Model::ID_MAX_LENGTH); $table->unsignedInteger('user_id'); $table->unsignedInteger('airline_id'); $table->unsignedInteger('aircraft_id')->nullable(); - $table->string('flight_id', \App\Models\Flight::ID_MAX_LENGTH)->nullable(); $table->string('flight_number', 10)->nullable(); $table->string('route_code', 5)->nullable(); $table->string('route_leg', 5)->nullable(); + $table->char('flight_type', 1)->default(FlightType::SCHED_PAX); $table->string('dpt_airport_id', 5); $table->string('arr_airport_id', 5); $table->unsignedInteger('level')->nullable(); $table->unsignedDecimal('distance')->nullable(); $table->unsignedDecimal('planned_distance')->nullable(); + $table->unsignedInteger('block_time')->nullable(); $table->unsignedInteger('flight_time')->nullable(); $table->unsignedInteger('planned_flight_time')->nullable(); $table->unsignedDecimal('zfw')->nullable(); @@ -39,53 +39,40 @@ class CreatePirepTables extends Migration $table->text('route')->nullable(); $table->text('notes')->nullable(); $table->unsignedTinyInteger('source')->nullable()->default(0); - $table->string('source_name', 25)->nullable(); - $table->tinyInteger('flight_type')->default(FlightType::PASSENGER); + $table->string('source_name', 50)->nullable(); $table->tinyInteger('state')->default(PirepState::PENDING); - $table->tinyInteger('status')->default(PirepStatus::SCHEDULED); + $table->char('status', 3)->default(PirepStatus::SCHEDULED); + $table->dateTime('submitted_at')->nullable(); + $table->dateTime('block_off_time')->nullable(); + $table->dateTime('block_on_time')->nullable(); $table->timestamps(); $table->primary('id'); $table->index('user_id'); - $table->index('flight_id'); + $table->index('flight_number'); $table->index('dpt_airport_id'); $table->index('arr_airport_id'); }); Schema::create('pirep_comments', function (Blueprint $table) { $table->bigIncrements('id'); - $table->string('pirep_id', \App\Models\Pirep::ID_MAX_LENGTH); + $table->string('pirep_id', \App\Interfaces\Model::ID_MAX_LENGTH); $table->unsignedInteger('user_id'); $table->text('comment'); $table->timestamps(); }); - /* - * Financial tables/fields - */ - Schema::create('pirep_expenses', function (Blueprint $table) { - $table->bigIncrements('id'); - $table->string('pirep_id', \App\Models\Pirep::ID_MAX_LENGTH); - $table->string('name'); - $table->double('value')->nullable(); - - $table->index('pirep_id'); - }); - Schema::create('pirep_fares', function (Blueprint $table) { $table->bigIncrements('id'); - $table->string('pirep_id', \App\Models\Pirep::ID_MAX_LENGTH); - $table->unsignedBigInteger('fare_id'); - $table->unsignedInteger('count')->nullable(); + $table->string('pirep_id', \App\Interfaces\Model::ID_MAX_LENGTH); + $table->unsignedInteger('fare_id'); + $table->unsignedInteger('count')->nullable()->default(0); $table->index('pirep_id'); }); - /* - * Additional PIREP data - */ Schema::create('pirep_fields', function (Blueprint $table) { - $table->bigIncrements('id'); + $table->increments('id'); $table->string('name', 50); $table->string('slug', 50)->nullable(); $table->boolean('required')->nullable()->default(false); @@ -93,8 +80,9 @@ class CreatePirepTables extends Migration Schema::create('pirep_field_values', function (Blueprint $table) { $table->bigIncrements('id'); - $table->string('pirep_id', \App\Models\Pirep::ID_MAX_LENGTH); + $table->string('pirep_id', \App\Interfaces\Model::ID_MAX_LENGTH); $table->string('name', 50); + $table->string('slug', 50)->nullable(); $table->string('value')->nullable(); $table->string('source')->nullable(); $table->timestamps(); @@ -112,7 +100,6 @@ class CreatePirepTables extends Migration { Schema::dropIfExists('pireps'); Schema::dropIfExists('pirep_comments'); - Schema::dropIfExists('pirep_expenses'); Schema::dropIfExists('pirep_fares'); Schema::dropIfExists('pirep_fields'); Schema::dropIfExists('pirep_field_values'); diff --git a/app/Database/migrations/2017_12_12_174519_create_bids_table.php b/app/Database/migrations/2017_12_12_174519_create_bids_table.php index 045cc69a..1763551f 100644 --- a/app/Database/migrations/2017_12_12_174519_create_bids_table.php +++ b/app/Database/migrations/2017_12_12_174519_create_bids_table.php @@ -1,6 +1,6 @@ increments('id'); $table->unsignedInteger('user_id'); - $table->string('flight_id', \App\Models\Flight::ID_MAX_LENGTH); + $table->string('flight_id', \App\Interfaces\Model::ID_MAX_LENGTH); $table->timestamps(); $table->index('user_id'); @@ -31,6 +31,6 @@ class CreateBidsTable extends Migration */ public function down() { - Schema::dropIfExists('user_bids'); + Schema::dropIfExists('bids'); } } diff --git a/app/Database/migrations/2017_12_14_225241_create_jobs_table.php b/app/Database/migrations/2017_12_14_225241_create_jobs_table.php index 1be9e8a8..a1061ce5 100644 --- a/app/Database/migrations/2017_12_14_225241_create_jobs_table.php +++ b/app/Database/migrations/2017_12_14_225241_create_jobs_table.php @@ -1,6 +1,6 @@ string('id', 12); - $table->string('pirep_id', \App\Models\Pirep::ID_MAX_LENGTH); + $table->string('pirep_id', \App\Interfaces\Model::ID_MAX_LENGTH); $table->unsignedTinyInteger('type'); $table->unsignedInteger('nav_type')->nullable(); $table->unsignedInteger('order')->default(0); diff --git a/app/Database/migrations/2018_01_03_014930_create_stats_table.php b/app/Database/migrations/2018_01_03_014930_create_stats_table.php index dd22cb8b..cb3a15f1 100644 --- a/app/Database/migrations/2018_01_03_014930_create_stats_table.php +++ b/app/Database/migrations/2018_01_03_014930_create_stats_table.php @@ -1,6 +1,6 @@ primary('id'); $table->timestamps(); }); - /*$this->addCounterGroups([ 'flights' => 1, ]); diff --git a/app/Database/migrations/2018_01_08_142204_create_news_table.php b/app/Database/migrations/2018_01_08_142204_create_news_table.php index 920d344b..a35d22dc 100644 --- a/app/Database/migrations/2018_01_08_142204_create_news_table.php +++ b/app/Database/migrations/2018_01_08_142204_create_news_table.php @@ -1,6 +1,6 @@ increments('id'); + $table->string('name'); + $table->text('description')->nullable(); + $table->text('image_url')->nullable(); + + # ref fields are expenses tied to some model object + # EG, the airports has an internal expense for gate costs + $table->string('ref_model')->nullable(); + $table->text('ref_model_params')->nullable(); + #$table->string('ref_model_id', 36)->nullable(); + + $table->timestamps(); + + $table->index(['ref_model']); + }); + + Schema::create('user_awards', function (Blueprint $table) { + $table->increments('id'); + $table->unsignedInteger('user_id'); + $table->unsignedInteger('award_id'); + $table->timestamps(); + + $table->index(['user_id', 'award_id']); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('awards'); + Schema::dropIfExists('user_awards'); + } +} diff --git a/app/Database/migrations/2018_02_26_185121_create_expenses_table.php b/app/Database/migrations/2018_02_26_185121_create_expenses_table.php new file mode 100644 index 00000000..0b217791 --- /dev/null +++ b/app/Database/migrations/2018_02_26_185121_create_expenses_table.php @@ -0,0 +1,37 @@ +increments('id'); + $table->unsignedInteger('airline_id')->nullable(); + + $table->string('name'); + $table->unsignedInteger('amount'); + $table->char('type'); + $table->boolean('charge_to_user')->nullable()->default(false); + $table->boolean('multiplier')->nullable()->default(0); + $table->boolean('active')->nullable()->default(true); + + # ref fields are expenses tied to some model object + # EG, the airports has an internal expense for gate costs + $table->string('ref_model')->nullable(); + $table->string('ref_model_id', 36)->nullable(); + + $table->timestamps(); + + $table->index(['ref_model', 'ref_model_id']); + }); + } + + public function down() + { + Schema::dropIfExists('expenses'); + } +} diff --git a/app/Database/migrations/2018_02_28_231807_create_journal_transactions_table.php b/app/Database/migrations/2018_02_28_231807_create_journal_transactions_table.php new file mode 100644 index 00000000..c80f35b8 --- /dev/null +++ b/app/Database/migrations/2018_02_28_231807_create_journal_transactions_table.php @@ -0,0 +1,46 @@ +char('id', 36)->unique(); + $table->string('transaction_group')->nullable(); + $table->integer('journal_id'); + $table->unsignedBigInteger('credit')->nullable(); + $table->unsignedBigInteger('debit')->nullable(); + $table->char('currency', 5); + $table->text('memo')->nullable(); + $table->string('tags')->nullable(); + $table->string('ref_model', 50)->nullable(); + $table->string('ref_model_id', 36)->nullable(); + $table->timestamps(); + $table->date('post_date'); + + $table->primary('id'); + $table->index('journal_id'); + $table->index('transaction_group'); + $table->index(['ref_model', 'ref_model_id']); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('journal_transactions'); + } +} diff --git a/app/Database/migrations/2018_02_28_231813_create_journals_table.php b/app/Database/migrations/2018_02_28_231813_create_journals_table.php new file mode 100644 index 00000000..d3483924 --- /dev/null +++ b/app/Database/migrations/2018_02_28_231813_create_journals_table.php @@ -0,0 +1,36 @@ +increments('id'); + $table->unsignedInteger('ledger_id')->nullable(); + $table->unsignedTinyInteger('type')->default(0); + $table->bigInteger('balance')->default(0); + $table->string('currency', 5); + $table->nullableMorphs('morphed'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('journals'); + } +} diff --git a/app/Database/migrations/2018_02_28_232438_create_ledgers_table.php b/app/Database/migrations/2018_02_28_232438_create_ledgers_table.php new file mode 100644 index 00000000..49840f32 --- /dev/null +++ b/app/Database/migrations/2018_02_28_232438_create_ledgers_table.php @@ -0,0 +1,33 @@ +increments('id'); + $table->string('name'); + $table->enum('type', ['asset', 'liability', 'equity', 'income', 'expense']); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('ledgers'); + } +} diff --git a/app/Database/migrations/2018_04_01_193443_create_files_table.php b/app/Database/migrations/2018_04_01_193443_create_files_table.php new file mode 100644 index 00000000..f275fbef --- /dev/null +++ b/app/Database/migrations/2018_04_01_193443_create_files_table.php @@ -0,0 +1,41 @@ +string('id', \App\Interfaces\Model::ID_MAX_LENGTH); + $table->string('name'); + $table->string('description')->nullable(); + $table->string('disk')->nullable(); + $table->string('path'); + $table->boolean('public')->default(true); + $table->unsignedInteger('download_count')->default(0); + $table->string('ref_model', 50)->nullable(); + $table->string('ref_model_id', 36)->nullable(); + $table->timestamps(); + + $table->primary('id'); + $table->index(['ref_model', 'ref_model_id']); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('files'); + } +} diff --git a/app/Database/seeds/DatabaseSeeder.php b/app/Database/seeds/DatabaseSeeder.php index f9d5c71b..f1661bac 100755 --- a/app/Database/seeds/DatabaseSeeder.php +++ b/app/Database/seeds/DatabaseSeeder.php @@ -9,24 +9,25 @@ class DatabaseSeeder extends Seeder * @var array */ public static $seed_mapper = [ - 'local' => 'dev', - 'qa' => 'dev', - 'staging' => 'dev', + 'local' => 'dev', + 'qa' => 'dev', + 'staging' => 'dev', ]; /** * Run the database seeds. + * @throws Exception */ public function run() { $env = App::environment(); - if(array_key_exists($env, self::$seed_mapper)) { + if (array_key_exists($env, self::$seed_mapper)) { $env = self::$seed_mapper[$env]; } $path = database_path('seeds/'.$env.'.yml'); - if(!file_exists($path)) { + if (!file_exists($path)) { $path = database_path('seeds/prod.yml'); } diff --git a/app/Database/seeds/sample.yml b/app/Database/seeds/sample.yml index e17170aa..9a6db118 100644 --- a/app/Database/seeds/sample.yml +++ b/app/Database/seeds/sample.yml @@ -75,18 +75,34 @@ ranks: - id: 2 name: Junior First Officer hours: 10 + acars_base_pay_rate: 100 + manual_base_pay_rate: 90 - id: 3 name: First Officer hours: 15 + acars_base_pay_rate: 250 + manual_base_pay_rate: 200 auto_approve_acars: 1 auto_approve_manual: 1 - id: 4 name: Senior Captain hours: 20 + acars_base_pay_rate: 500 + manual_base_pay_rate: 400 auto_approve_acars: 1 auto_approve_manual: 1 auto_promote: 0 +awards: + - id: 1 + name: Pilot 50 flights + description: When a pilot has 50 flights, give this award + image_url: + ref_model: App\Awards\PilotFlightAwards + ref_model_params: 50 + created_at: now + updated_at: now + news: - id: 1 user_id: 1 @@ -115,6 +131,7 @@ airports: lat: 30.1945278 lon: -97.6698889 hub: 1 + ground_handling_cost: 100 - id: KJFK iata: JFK icao: KJFK @@ -125,51 +142,7 @@ airports: lat: 40.6399257 lon: -73.7786950 hub: 1 - - id: KBWI - iata: BWI - icao: KBWI - name: Baltimore/Washington International Thurgood Marshall Airport - location: Baltimore, MD - country: United States - timezone: America/New_York - lat: 39.1754 - lon: -76.6683 - - id: KIAH - iata: IAH - icao: KIAH - name: George Bush Intercontinental Houston Airport - location: Houston, TX - country: United States - timezone: America/Chicago - lat: 29.9844 - lon: -95.3414 - - id: KORD - iata: ORD - icao: KORD - name: Chicago O'Hare International Airport - location: Chicago, IL - country: United States - timezone: America/Chicago - lat: 41.9786 - lon: -87.9048 - - id: KDFW - iata: DFW - icao: KDFW - name: Dallas Fort Worth International Airport - location: Dallas, TX - country: United States - timezone: America/Chicago - lat: 32.8968 - lon: -97.038 - - id: EFHK - iata: HEL - icao: EFHK - name: Helsinki Vantaa Airport - location: Helsinki - country: Finland - timezone: Europe/Helsinki - lat: 60.3172 - lon: 24.9633 + ground_handling_cost: 250 - id: EGLL iata: LHR icao: EGLL @@ -178,6 +151,7 @@ airports: timezone: Europe/London lat: 51.4775 lon: -0.4614 + ground_handling_cost: 500 - id: LGRP iata: RHO icao: LGRP @@ -187,20 +161,87 @@ airports: timezone: Europe/Athens lat: 36.4054 lon: 28.0862 + ground_handling_cost: 50 # aircraft: - id: 1 subfleet_id: 1 - name: Boeing 747-400 + airport_id: KJFK + name: Boeing 747-438 registration: 001Z + status: A - id: 2 subfleet_id: 2 + airport_id: LGRP name: Boeing 777-200 registration: C202 + status: A - id: 3 subfleet_id: 1 + airport_id: KAUS name: Boeing 747-412 registration: S2333 + status: A + - id: 4 + subfleet_id: 1 + airport_id: KAUS + name: Boeing 747-436 RETIRED + registration: + status: R + +expenses: + - name: Per-Flight (no muliplier) + amount: 100 + type: F + active: 1 + ref_model: App\Models\Expense + - name: Per-Flight (multiplier) + amount: 100 + type: F + multiplier: 1 + active: 1 + ref_model: App\Models\Expense + - name: Per-Flight (multiplier, on airline) + airline_id: 1 + amount: 200 + type: F + multiplier: 1 + active: 1 + ref_model: App\Models\Expense + - name: A daily fee + amount: 800 + type: D + active: 1 + ref_model: App\Models\Expense + - name: A monthly fee + amount: 5000 + type: M + active: 1 + ref_model: App\Models\Expense + - name: Catering + amount: 1000 + type: F + active: 1 + ref_model: App\Models\Subfleet + ref_model_id: 1 + created_at: now + updated_at: now + - name: Catering Staff + amount: 1000 + type: D + active: 1 + ref_model: App\Models\Subfleet + ref_model_id: 1 + created_at: now + updated_at: now + - name: Maintenance + amount: 1000 + type: D + active: 1 + ref_model: App\Models\Aircraft + ref_model_id: 1 + created_at: now + updated_at: now fares: - id: 1 @@ -222,12 +263,22 @@ fares: subfleets: - id: 1 airline_id: 1 - name: 747-400 Winglets - type: 744W + name: 747-43X RB211-524G + type: 744-3X-RB211 + cost_block_hour: 1000 + ground_handling_multiplier: 200 - id: 2 airline_id: 1 - name: 777-200 LR - type: 772-LR + name: 777-222ER GE90-76B + type: 772-22ER-GE90-76B + cost_block_hour: 500 + ground_handling_multiplier: 150 + - id: 3 + airline_id: 1 + name: 777-367 ER GE90-115B + type: 772-36ER-GE90-115B + cost_block_hour: 100 + ground_handling_multiplier: 150 # add a few mods to aircraft and fares subfleet_fare: @@ -239,11 +290,11 @@ subfleet_fare: capacity: 400 - subfleet_id: 1 fare_id: 2 - capacity: 20 + price: 120% - subfleet_id: 1 fare_id: 3 price: 1000 - capacity: 10 + capacity: 110% # Fare classes on the 777 - subfleet_id: 2 @@ -252,10 +303,6 @@ subfleet_fare: fare_id: 3 capacity: 10 -subfleet_flight: - - subfleet_id: 1 - flight_id: flightid_1 - subfleet_rank: - rank_id: 1 subfleet_id: 1 @@ -271,6 +318,8 @@ flights: level: 360 dpt_time: 6PM CST arr_time: 11PM EST + flight_time: 240 + flight_type: J created_at: NOW updated_at: NOW - id: flightid_2 @@ -281,6 +330,8 @@ flights: arr_airport_id: LGRP dpt_time: 9AM CST arr_time: 1030AM CST + flight_time: 30 + flight_type: J route: PITZZ4 MNURE WLEEE4 created_at: NOW updated_at: NOW @@ -289,8 +340,10 @@ flights: flight_number: 6028 route_code: A route_leg: 1 - dpt_airport_id: KIAH - arr_airport_id: KAUS + dpt_airport_id: EGLL + arr_airport_id: KJFK + flight_time: 480 + flight_type: J dpt_time: 9AM CST arr_time: 1030AM CST route: PITZZ4 MNURE WLEEE4 @@ -298,6 +351,12 @@ flights: updated_at: NOW flight_fields: + - name: Departure Gate + slug: departure_gate + - name: Arrival Gate + slug: arrival_gate + +flight_field_values: - id: 1 flight_id: flightid_1 name: cost index @@ -307,7 +366,11 @@ flight_fields: name: cost index value: 100 -user_bids: +flight_subfleet: + - subfleet_id: 1 + flight_id: flightid_1 + +bids: - id: 100 user_id: 1 flight_id: flightid_1 @@ -319,48 +382,78 @@ pireps: - id: pirepid_1 user_id: 1 airline_id: 1 - flight_id: flightid_1 flight_number: 100 aircraft_id: 1 dpt_airport_id: KAUS arr_airport_id: KJFK + block_off_time: 2018-04-04T12:42:36+00:00 + block_on_time: 2018-04-04T16:42:36+00:00 flight_time: 180 # 6 hours - state: 1 + state: 1 # accepted + status: 0 + source: 1 + flight_type: J route: KAUS SID TNV J87 IAH J2 LCH J22 MEI J239 ATL J52 AJFEB J14 BYJAC Q60 JAXSN J14 COLIN J61 HUBBS J55 SIE STAR KJFK notes: just a pilot report - created_at: NOW - updated_at: NOW + submitted_at: 2018-04-04T16:50:36+00:00 + created_at: 2018-04-04T16:50:36+00:00 + updated_at: 2018-04-04T17:00:36+00:00 - id: pirepid_2 user_id: 1 airline_id: 1 - flight_id: flightid_2 - flight_number: 101 - aircraft_id: 1 + flight_number: 2023 + aircraft_id: 2 dpt_airport_id: LGRP arr_airport_id: LGRP flight_time: 180 # 6 hours state: 1 + flight_type: J route: PLMMR2 SPA Q22 BEARI FAK PHLBO3 notes: just a pilot report - source: 1 + source: 1 # pending source_name: sample + submitted_at: NOW created_at: NOW updated_at: NOW - id: pirepid_3 user_id: 1 airline_id: 1 - flight_id: flightid_2 - flight_number: 101 - aircraft_id: 1 + flight_number: 300 + aircraft_id: 3 dpt_airport_id: KJFK arr_airport_id: KAUS flight_time: 180 # 6 hours - state: 1 + state: 1 # pending + source: 0 # manual + flight_type: J route: PLMMR2 SPA Q22 BEARI FAK PHLBO3 notes: just a pilot report + submitted_at: NOW created_at: NOW updated_at: NOW +pirep_fares: + - id: 1 + pirep_id: pirepid_1 + fare_id: 1 + count: 300 + - id: 2 + pirep_id: pirepid_1 + fare_id: 2 + count: 25 + - id: 3 + pirep_id: pirepid_1 + fare_id: 3 + count: 10 + - id: 4 + pirep_id: pirepid_2 + fare_id: 1 + count: 200 + - id: 5 + pirep_id: pirepid_2 + fare_id: 3 + count: 15 + pirep_fields: - id: 1 name: departure gate @@ -375,7 +468,14 @@ pirep_field_values: - id: 1 pirep_id: pirepid_1 name: arrival gate - value: B14 + slug: arrival_gate + value: 10 + source: manual + - id: 2 + pirep_id: pirepid_1 + name: departure gate + slug: departure_gate + value: B32 source: manual pirep_comments: @@ -391,3 +491,182 @@ pirep_comments: comment: Another comment created_at: now updated_at: now + +journals: + - + id: 1 + ledger_id: null + type: 0 + balance: 7870000 + currency: USD + morphed_type: App\Models\Airline + morphed_id: 1 + created_at: '2018-03-06 12:33:45' + updated_at: '2018-03-06 12:34:15' + - + id: 2 + ledger_id: null + type: 1 + balance: 15000 + currency: USD + morphed_type: App\Models\User + morphed_id: 1 + created_at: '2018-03-06 12:33:45' + updated_at: '2018-03-06 12:34:15' + +journal_transactions: + - + id: 2cbb5990-c70c-40a8-8381-05b6402a96b4 + transaction_group: 'Pilot Pay' + journal_id: 2 + credit: 15000 + debit: null + currency: USD + memo: 'Pilot Payment @ 50' + tags: "pilot_pay" + ref_model: App\Models\Pirep + ref_model_id: pirepid_1 + created_at: '2018-03-06 12:34:15' + updated_at: '2018-03-06 12:34:15' + post_date: '2018-03-06 12:34:15' + - + id: 3471fb16-0afd-4815-8b0c-f92771274063 + transaction_group: 'Expense: Per-Flight (no muliplier)' + journal_id: 1 + credit: null + debit: 10000 + currency: USD + memo: 'Expense: Per-Flight (no muliplier)' + tags: "expense" + ref_model: App\Models\Pirep + ref_model_id: pirepid_1 + created_at: '2018-03-06 12:34:15' + updated_at: '2018-03-06 12:34:15' + post_date: '2018-03-06 12:34:15' + - + id: 37f21468-ebad-4850-8557-db310ca45eb4 + transaction_group: Fares + journal_id: 1 + credit: 6000000 + debit: 0 + currency: USD + memo: 'Fares Y300; price: 200, cost: 0' + tags: "fare" + ref_model: App\Models\Pirep + ref_model_id: pirepid_1 + created_at: '2018-03-06 12:34:15' + updated_at: '2018-03-06 12:34:15' + post_date: '2018-03-06 12:34:15' + - + id: 3e933972-07ef-4bb2-b1e1-90ef7e8871c6 + transaction_group: 'Expense: Per-Flight (multiplier, on airline)' + journal_id: 1 + credit: null + debit: 20000 + currency: USD + memo: 'Expense: Per-Flight (multiplier, on airline)' + tags: "expense" + ref_model: App\Models\Pirep + ref_model_id: pirepid_1 + created_at: '2018-03-06 12:34:15' + updated_at: '2018-03-06 12:34:15' + post_date: '2018-03-06 12:34:15' + - + id: 522d8032-4ca0-4d6d-b7af-613be4bf281c + transaction_group: 'Expense: Per-Flight (multiplier)' + journal_id: 1 + credit: null + debit: 10000 + currency: USD + memo: 'Expense: Per-Flight (multiplier)' + tags: "expense" + ref_model: App\Models\Pirep + ref_model_id: pirepid_1 + created_at: '2018-03-06 12:34:15' + updated_at: '2018-03-06 12:34:15' + post_date: '2018-03-06 12:34:15' + - + id: a9bca611-c251-4fde-9f28-206d4debeb01 + transaction_group: 'Subfleet: Catering (747-43X RB211-524G)' + journal_id: 1 + credit: null + debit: 100000 + currency: USD + memo: 'Subfleet Expense: Catering (747-43X RB211-524G)' + tags: "subfleet" + ref_model: App\Models\Pirep + ref_model_id: pirepid_1 + created_at: '2018-03-06 12:34:15' + updated_at: '2018-03-06 12:34:15' + post_date: '2018-03-06 12:34:15' + - + id: c3ff6a6d-03d0-4744-8678-e27329462dcb + transaction_group: Fares + journal_id: 1 + credit: 1000000 + debit: 0 + currency: USD + memo: 'Fares F10; price: 1000, cost: 0' + tags: "fare" + ref_model: App\Models\Pirep + ref_model_id: pirepid_1 + created_at: '2018-03-06 12:34:15' + updated_at: '2018-03-06 12:34:15' + post_date: '2018-03-06 12:34:15' + - + id: c4e05ec1-530f-4897-92e8-787bdec8a0a1 + transaction_group: 'Pilot Pay' + journal_id: 1 + credit: null + debit: 15000 + currency: USD + memo: 'Pilot Payment @ 50' + tags: "pilot_pay" + ref_model: App\Models\Pirep + ref_model_id: pirepid_1 + created_at: now + updated_at: now + post_date: now + - + id: ed516367-eeb9-4a09-bfb7-531ec4be2f93 + transaction_group: Fares + journal_id: 1 + credit: 1100000 + debit: 0 + currency: USD + memo: 'Fares B10; price: 1100, cost: 0' + tags: "fare" + ref_model: App\Models\Pirep + ref_model_id: pirepid_1 + created_at: now + updated_at: now + post_date: now + - + id: f3f8585e-894c-4491-b19b-d07b6ad20208 + transaction_group: 'Ground Handling' + journal_id: 1 + credit: null + debit: 75000 + currency: USD + memo: 'Ground Handling' + tags: "ground_handling" + ref_model: App\Models\Pirep + ref_model_id: pirepid_1 + created_at: now + updated_at: now + post_date: now + + - + id: 1bd1616c-eaa4-4ab9-b5c1-441004ceef14 + transaction_group: 'Subfleet 744-3X-RB211' + journal_id: 1 + credit: null + debit: 300000 + currency: USD + memo: 'Subfleet 744-3X-RB211: Block Time Cost' + tags: "subfleet" + ref_model: App\Models\Pirep + ref_model_id: pirepid_1 + created_at: now + updated_at: now + post_date: now diff --git a/app/Events/CronMonthly.php b/app/Events/CronMonthly.php new file mode 100644 index 00000000..2ab176c7 --- /dev/null +++ b/app/Events/CronMonthly.php @@ -0,0 +1,24 @@ +pirep = $pirep; + } +} diff --git a/app/Events/PirepAccepted.php b/app/Events/PirepAccepted.php index 9e454848..e6fcd584 100644 --- a/app/Events/PirepAccepted.php +++ b/app/Events/PirepAccepted.php @@ -7,6 +7,10 @@ use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; +/** + * Class PirepAccepted + * @package App\Events + */ class PirepAccepted { use Dispatchable, InteractsWithSockets, SerializesModels; @@ -14,10 +18,11 @@ class PirepAccepted public $pirep; /** - * Create a new event instance. + * PirepAccepted constructor. + * @param Pirep $pirep */ public function __construct(Pirep $pirep) { - // + $this->pirep = $pirep; } } diff --git a/app/Events/PirepFiled.php b/app/Events/PirepFiled.php index 6a7593ce..560b0ca6 100644 --- a/app/Events/PirepFiled.php +++ b/app/Events/PirepFiled.php @@ -10,7 +10,6 @@ use Illuminate\Queue\SerializesModels; class PirepFiled { use Dispatchable, InteractsWithSockets, SerializesModels; - public $pirep; public function __construct(Pirep $pirep) diff --git a/app/Events/PirepRejected.php b/app/Events/PirepRejected.php index 649d1c8d..f189cb1e 100644 --- a/app/Events/PirepRejected.php +++ b/app/Events/PirepRejected.php @@ -7,12 +7,20 @@ use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; +/** + * Class PirepRejected + * @package App\Events + */ class PirepRejected { use Dispatchable, InteractsWithSockets, SerializesModels; public $pirep; + /** + * PirepRejected constructor. + * @param Pirep $pirep + */ public function __construct(Pirep $pirep) { $this->pirep = $pirep; diff --git a/app/Events/TestEvent.php b/app/Events/TestEvent.php index fa9bb4de..8f5fc90d 100644 --- a/app/Events/TestEvent.php +++ b/app/Events/TestEvent.php @@ -7,6 +7,10 @@ use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; +/** + * Class TestEvent + * @package App\Events + */ class TestEvent { use Dispatchable, InteractsWithSockets, SerializesModels; @@ -15,6 +19,7 @@ class TestEvent /** * Create a new event instance. + * @param User $user */ public function __construct(User $user) { diff --git a/app/Events/UserAccepted.php b/app/Events/UserAccepted.php index e3ac3b42..1c58b52c 100644 --- a/app/Events/UserAccepted.php +++ b/app/Events/UserAccepted.php @@ -7,12 +7,20 @@ use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; +/** + * Class UserAccepted + * @package App\Events + */ class UserAccepted { use Dispatchable, InteractsWithSockets, SerializesModels; public $user; + /** + * UserAccepted constructor. + * @param User $user + */ public function __construct(User $user) { $this->user = $user; diff --git a/app/Events/UserRegistered.php b/app/Events/UserRegistered.php index 2d929fd2..57952cdb 100644 --- a/app/Events/UserRegistered.php +++ b/app/Events/UserRegistered.php @@ -7,12 +7,20 @@ use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; +/** + * Class UserRegistered + * @package App\Events + */ class UserRegistered { use Dispatchable, InteractsWithSockets, SerializesModels; public $user; + /** + * UserRegistered constructor. + * @param User $user + */ public function __construct(User $user) { $this->user = $user; diff --git a/app/Events/UserStateChanged.php b/app/Events/UserStateChanged.php index 15e3cf51..97823051 100644 --- a/app/Events/UserStateChanged.php +++ b/app/Events/UserStateChanged.php @@ -17,6 +17,11 @@ class UserStateChanged public $old_state, $user; + /** + * UserStateChanged constructor. + * @param User $user + * @param $old_state + */ public function __construct(User $user, $old_state) { $this->old_state = $old_state; diff --git a/app/Events/UserStatsChanged.php b/app/Events/UserStatsChanged.php index 0ffd6c37..ab89b174 100644 --- a/app/Events/UserStatsChanged.php +++ b/app/Events/UserStatsChanged.php @@ -7,6 +7,10 @@ use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; +/** + * Class UserStatsChanged + * @package App\Events + */ class UserStatsChanged { use Dispatchable, InteractsWithSockets, SerializesModels; diff --git a/app/Exceptions/AircraftNotAtAirport.php b/app/Exceptions/AircraftNotAtAirport.php new file mode 100644 index 00000000..3bce547e --- /dev/null +++ b/app/Exceptions/AircraftNotAtAirport.php @@ -0,0 +1,13 @@ + [ - 'status' => $status_code, + 'status' => $status_code, 'message' => $message, ] ]; @@ -60,19 +60,18 @@ class Handler extends ExceptionHandler /** * Render an exception into an HTTP response. * - * @param \Illuminate\Http\Request $request - * @param \Exception $exception + * @param \Illuminate\Http\Request $request + * @param \Exception $exception * @return mixed */ public function render($request, Exception $exception) { - if ($request->expectsJson() || $request->is('api/*')) { - + if ($request->is('api/*')) { $headers = []; Log::error('API Error', $exception->getTrace()); - if($exception instanceof ModelNotFoundException || + if ($exception instanceof ModelNotFoundException || $exception instanceof NotFoundHttpException) { $error = $this->createError(404, $exception->getMessage()); } @@ -88,10 +87,10 @@ class Handler extends ExceptionHandler } # Create the detailed errors from the validation errors - elseif($exception instanceof ValidationException) { + elseif ($exception instanceof ValidationException) { $error_messages = []; $errors = $exception->errors(); - foreach($errors as $field => $error) { + foreach ($errors as $field => $error) { $error_messages[] = implode(', ', $error); } @@ -107,7 +106,7 @@ class Handler extends ExceptionHandler } # Only add trace if in dev - if(config('app.env') === 'dev') { + if (config('app.env') === 'dev') { $error['error']['trace'] = $exception->getTrace()[0]; } @@ -125,14 +124,15 @@ class Handler extends ExceptionHandler /** * Convert an authentication exception into an unauthenticated response. * - * @param \Illuminate\Http\Request $request - * @param \Illuminate\Auth\AuthenticationException $exception + * @param \Illuminate\Http\Request $request + * @param \Illuminate\Auth\AuthenticationException $exception * @return \Illuminate\Http\Response */ protected function unauthenticated($request, AuthenticationException $exception) { if ($request->expectsJson() || $request->is('api/*')) { $error = $this->createError(401, 'Unauthenticated'); + return response()->json($error, 401); } @@ -148,13 +148,13 @@ class Handler extends ExceptionHandler { $status = $e->getStatusCode(); view()->replaceNamespace('errors', [ - resource_path('views/layouts/' . config('phpvms.skin') . '/errors'), + resource_path('views/layouts/'.config('phpvms.skin').'/errors'), resource_path('views/errors'), - __DIR__ . '/views', + __DIR__.'/views', ]); if (view()->exists("errors::{$status}")) { - #if (view()->exists('layouts' . config('phpvms.skin') .'.errors.' .$status)) { + #if (view()->exists('layouts' . config('phpvms.skin') .'.errors.' .$status)) { return response()->view("errors::{$status}", [ 'exception' => $e, 'SKIN_NAME' => config('phpvms.skin'), diff --git a/app/Exceptions/InternalError.php b/app/Exceptions/InternalError.php new file mode 100644 index 00000000..6013a8f4 --- /dev/null +++ b/app/Exceptions/InternalError.php @@ -0,0 +1,35 @@ +errors()->add( + $field ?? static::FIELD, + $message ?? static::MESSAGE); + + parent::__construct($validator); + } +} diff --git a/app/Exceptions/PirepCancelled.php b/app/Exceptions/PirepCancelled.php index 7c1cd513..8db80e2a 100644 --- a/app/Exceptions/PirepCancelled.php +++ b/app/Exceptions/PirepCancelled.php @@ -1,16 +1,21 @@ request('GET', $uri, $opts); $body = $response->getBody()->getContents(); - if($response->getHeader('content-type') === 'application/json') { + if ($response->getHeader('content-type') === 'application/json') { $body = \GuzzleHttp\json_decode($body); } return $body; } - /** * Returns a 40 character API key that a user can use * @return string */ public static function generateApiKey() { - $key = substr(sha1(time() . mt_rand()), 0, 20); + $key = substr(sha1(time().mt_rand()), 0, 20); return $key; } @@ -60,7 +84,7 @@ class Utils extends Facade public static function minutesToTimeString($minutes): string { $hm = self::minutesToTimeParts($minutes); - return $hm['h']. 'h '. $hm['m'] . 'm'; + return $hm['h'].'h '.$hm['m'].'m'; } /** @@ -85,15 +109,15 @@ class Utils extends Facade /** * Convert seconds to HH MM format - * @param $seconds + * @param $seconds * @param bool $incl_sec * @return string */ - public static function secondsToTimeString($seconds, $incl_sec=false): string + public static function secondsToTimeString($seconds, $incl_sec = false): string { $hms = self::secondsToTimeParts($seconds); $format = $hms['h'].'h '.$hms['m'].'m'; - if($incl_sec) { + if ($incl_sec) { $format .= ' '.$hms['s'].'s'; } @@ -116,7 +140,7 @@ class Utils extends Facade */ public static function secondsToMinutes($seconds) { - return ceil($seconds/60); + return ceil($seconds / 60); } /** @@ -126,18 +150,18 @@ class Utils extends Facade */ public static function minutesToHours($minutes) { - return $minutes/60; + return $minutes / 60; } /** - * @param $hours + * @param $hours * @param null $minutes * @return float|int */ - public static function hoursToMinutes($hours, $minutes=null) + public static function hoursToMinutes($hours, $minutes = null) { $total = (int) $hours * 60; - if($minutes) { + if ($minutes) { $total += (int) $minutes; } @@ -146,12 +170,13 @@ class Utils extends Facade /** * Bitwise operator for setting days of week to integer field - * @param int $datefield initial datefield + * @param int $datefield initial datefield * @param array $day_enums Array of values from config("enum.days") * @return int */ - public static function setDays(int $datefield, array $day_enums) { - foreach($day_enums as $day) { + public static function setDays(int $datefield, array $day_enums) + { + foreach ($day_enums as $day) { $datefield |= $day; } @@ -161,10 +186,11 @@ class Utils extends Facade /** * Bit check if a day exists within a integer bitfield * @param int $datefield datefield from database - * @param int $day_enum Value from config("enum.days") + * @param int $day_enum Value from config("enum.days") * @return bool */ - public static function hasDay(int $datefield, int $day_enum) { + public static function hasDay(int $datefield, int $day_enum) + { return ($datefield & $day_enum) === $datefield; } } diff --git a/app/Http/Controllers/Admin/AircraftController.php b/app/Http/Controllers/Admin/AircraftController.php index faeed858..da461527 100644 --- a/app/Http/Controllers/Admin/AircraftController.php +++ b/app/Http/Controllers/Admin/AircraftController.php @@ -3,49 +3,79 @@ namespace App\Http\Controllers\Admin; use App\Http\Requests\CreateAircraftRequest; +use App\Http\Requests\ImportRequest; use App\Http\Requests\UpdateAircraftRequest; +use App\Interfaces\Controller; +use App\Models\Aircraft; +use App\Models\Enums\AircraftStatus; +use App\Models\Expense; use App\Models\Subfleet; use App\Repositories\AircraftRepository; +use App\Services\ExportService; +use App\Services\ImportService; use Flash; use Illuminate\Http\Request; +use Log; use Prettus\Repository\Criteria\RequestCriteria; +use Storage; - -class AircraftController extends BaseController +/** + * Class AircraftController + * @package App\Http\Controllers\Admin + */ +class AircraftController extends Controller { - private $aircraftRepository; + private $aircraftRepo, + $importSvc; /** * AircraftController constructor. * @param AircraftRepository $aircraftRepo + * @param ImportService $importSvc */ public function __construct( - AircraftRepository $aircraftRepo + AircraftRepository $aircraftRepo, + ImportService $importSvc ) { - $this->aircraftRepository = $aircraftRepo; + $this->aircraftRepo = $aircraftRepo; + $this->importSvc = $importSvc; } /** * Display a listing of the Aircraft. + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View * @throws \Prettus\Repository\Exceptions\RepositoryException */ public function index(Request $request) { - $this->aircraftRepository->pushCriteria(new RequestCriteria($request)); - $aircraft = $this->aircraftRepository->all(); + // If subfleet ID is passed part of the query string, then only + // show the aircraft that are in that subfleet + $w = []; + if($request->filled('subfleet')) { + $w['subfleet_id'] = $request->input('subfleet'); + } + + $aircraft = $this->aircraftRepo->whereOrder($w, 'registration', 'asc'); + $aircraft = $aircraft->all(); return view('admin.aircraft.index', [ - 'aircraft' => $aircraft + 'aircraft' => $aircraft, + 'subfleet_id' => $request->input('subfleet'), ]); } /** * Show the form for creating a new Aircraft. + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ - public function create() + public function create(Request $request) { return view('admin.aircraft.create', [ 'subfleets' => Subfleet::all()->pluck('name', 'id'), + 'statuses' => AircraftStatus::select(true), + 'subfleet_id' => $request->query('subfleet') ]); } @@ -56,10 +86,7 @@ class AircraftController extends BaseController public function store(CreateAircraftRequest $request) { $attrs = $request->all(); - - $attrs['active'] = get_truth_state($attrs['active']); - - $aircraft = $this->aircraftRepository->create($attrs); + $aircraft = $this->aircraftRepo->create($attrs); Flash::success('Aircraft saved successfully.'); return redirect(route('admin.aircraft.edit', ['id' => $aircraft->id])); @@ -70,7 +97,7 @@ class AircraftController extends BaseController */ public function show($id) { - $aircraft = $this->aircraftRepository->findWithoutFail($id); + $aircraft = $this->aircraftRepo->findWithoutFail($id); if (empty($aircraft)) { Flash::error('Aircraft not found'); @@ -78,7 +105,7 @@ class AircraftController extends BaseController } return view('admin.aircraft.show', [ - 'aircraft' => $aircraft, + 'aircraft' => $aircraft, ]); } @@ -87,15 +114,17 @@ class AircraftController extends BaseController */ public function edit($id) { - $aircraft = $this->aircraftRepository->findWithoutFail($id); + $aircraft = $this->aircraftRepo->findWithoutFail($id); if (empty($aircraft)) { Flash::error('Aircraft not found'); + return redirect(route('admin.aircraft.index')); } return view('admin.aircraft.edit', [ 'subfleets' => Subfleet::all()->pluck('name', 'id'), + 'statuses' => AircraftStatus::select(true), 'aircraft' => $aircraft, ]); } @@ -106,7 +135,7 @@ class AircraftController extends BaseController */ public function update($id, UpdateAircraftRequest $request) { - $aircraft = $this->aircraftRepository->findWithoutFail($id); + $aircraft = $this->aircraftRepo->findWithoutFail($id); if (empty($aircraft)) { Flash::error('Aircraft not found'); @@ -114,9 +143,7 @@ class AircraftController extends BaseController } $attrs = $request->all(); - $attrs['active'] = get_truth_state($attrs['active']); - - $this->aircraftRepository->update($attrs, $id); + $this->aircraftRepo->update($attrs, $id); Flash::success('Aircraft updated successfully.'); return redirect(route('admin.aircraft.index')); @@ -127,16 +154,112 @@ class AircraftController extends BaseController */ public function destroy($id) { - $aircraft = $this->aircraftRepository->findWithoutFail($id); + $aircraft = $this->aircraftRepo->findWithoutFail($id); if (empty($aircraft)) { Flash::error('Aircraft not found'); return redirect(route('admin.aircraft.index')); } - $this->aircraftRepository->delete($id); + $this->aircraftRepo->delete($id); Flash::success('Aircraft deleted successfully.'); return redirect(route('admin.aircraft.index')); } + + /** + * Run the aircraft exporter + * @param Request $request + * @return \Symfony\Component\HttpFoundation\BinaryFileResponse + * @throws \League\Csv\Exception + */ + public function export(Request $request) + { + $exporter = app(ExportService::class); + $aircraft = $this->aircraftRepo->all(); + + $path = $exporter->exportAircraft($aircraft); + return response() + ->download($path, 'aircraft.csv', [ + 'content-type' => 'text/csv', + ]) + ->deleteFileAfterSend(true); + } + + /** + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + * @throws \Illuminate\Validation\ValidationException + */ + public function import(Request $request) + { + $logs = [ + 'success' => [], + 'errors' => [], + ]; + + if ($request->isMethod('post')) { + ImportRequest::validate($request); + $path = Storage::putFileAs( + 'import', $request->file('csv_file'), 'import_aircraft.csv' + ); + + $path = storage_path('app/'.$path); + Log::info('Uploaded aircraft import file to '.$path); + $logs = $this->importSvc->importAircraft($path); + } + + return view('admin.aircraft.import', [ + 'logs' => $logs, + ]); + } + + /** + * @param Aircraft|null $aircraft + * @return mixed + */ + protected function return_expenses_view(Aircraft $aircraft) + { + $aircraft->refresh(); + + return view('admin.aircraft.expenses', [ + 'aircraft' => $aircraft, + ]); + } + + /** + * Operations for associating ranks to the subfleet + * @param $id + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + * @throws \Exception + */ + public function expenses($id, Request $request) + { + $aircraft = $this->aircraftRepo->findWithoutFail($id); + if (empty($aircraft)) { + return $this->return_expenses_view($aircraft); + } + + if ($request->isMethod('get')) { + return $this->return_expenses_view($aircraft); + } + + if ($request->isMethod('post')) { + $expense = new Expense($request->post()); + $expense->ref_model = Aircraft::class; + $expense->ref_model_id = $aircraft->id; + $expense->save(); + } elseif ($request->isMethod('put')) { + $expense = Expense::findOrFail($request->input('expense_id')); + $expense->{$request->name} = $request->value; + $expense->save(); + } // dissassociate fare from teh aircraft + elseif ($request->isMethod('delete')) { + $expense = Expense::findOrFail($request->input('expense_id')); + $expense->delete(); + } + + return $this->return_expenses_view($aircraft); + } } diff --git a/app/Http/Controllers/Admin/AirlinesController.php b/app/Http/Controllers/Admin/AirlinesController.php index 271e7280..264faa29 100644 --- a/app/Http/Controllers/Admin/AirlinesController.php +++ b/app/Http/Controllers/Admin/AirlinesController.php @@ -4,6 +4,7 @@ namespace App\Http\Controllers\Admin; use App\Http\Requests\CreateAirlineRequest; use App\Http\Requests\UpdateAirlineRequest; +use App\Interfaces\Controller; use App\Repositories\AirlineRepository; use App\Support\Countries; use Flash; @@ -11,18 +12,19 @@ use Illuminate\Http\Request; use Prettus\Repository\Criteria\RequestCriteria; use Response; -class AirlinesController extends BaseController +/** + * Class AirlinesController + * @package App\Http\Controllers\Admin + */ +class AirlinesController extends Controller { - /** @var AirlineRepository */ private $airlineRepo; /** * AirlinesController constructor. * @param AirlineRepository $airlinesRepo */ - public function __construct( - AirlineRepository $airlinesRepo - ) { + public function __construct(AirlineRepository $airlinesRepo) { $this->airlineRepo = $airlinesRepo; } @@ -35,8 +37,9 @@ class AirlinesController extends BaseController $this->airlineRepo->pushCriteria(new RequestCriteria($request)); $airlines = $this->airlineRepo->all(); - return view('admin.airlines.index') - ->with('airlines', $airlines); + return view('admin.airlines.index', [ + 'airlines' => $airlines, + ]); } /** @@ -51,6 +54,7 @@ class AirlinesController extends BaseController /** * Store a newly created Airlines in storage. + * @throws \Prettus\Validator\Exceptions\ValidatorException */ public function store(CreateAirlineRequest $request) { @@ -95,14 +99,14 @@ class AirlinesController extends BaseController } return view('admin.airlines.edit', [ - 'airline' => $airline, + 'airline' => $airline, 'countries' => Countries::getSelectList(), ]); } /** * Update the specified Airlines in storage. - * @param int $id + * @param int $id * @param UpdateAirlineRequest $request * @return Response * @throws \Prettus\Validator\Exceptions\ValidatorException @@ -119,7 +123,6 @@ class AirlinesController extends BaseController $airlines = $this->airlineRepo->update($request->all(), $id); Flash::success('Airlines updated successfully.'); - return redirect(route('admin.airlines.index')); } diff --git a/app/Http/Controllers/Admin/AirportController.php b/app/Http/Controllers/Admin/AirportController.php index 03b213ce..b2bbd8f8 100644 --- a/app/Http/Controllers/Admin/AirportController.php +++ b/app/Http/Controllers/Admin/AirportController.php @@ -3,28 +3,41 @@ namespace App\Http\Controllers\Admin; use App\Http\Requests\CreateAirportRequest; +use App\Http\Requests\ImportRequest; use App\Http\Requests\UpdateAirportRequest; +use App\Interfaces\Controller; +use App\Models\Airport; +use App\Models\Expense; use App\Repositories\AirportRepository; use App\Repositories\Criteria\WhereCriteria; +use App\Services\ExportService; +use App\Services\ImportService; use Flash; use Illuminate\Http\Request; use Jackiedo\Timezonelist\Facades\Timezonelist; +use Log; use Response; +use Storage; - -class AirportController extends BaseController +/** + * Class AirportController + * @package App\Http\Controllers\Admin + */ +class AirportController extends Controller { - /** @var AirportRepository */ - private $airportRepository; + private $airportRepo, + $importSvc; /** - * AirportController constructor. * @param AirportRepository $airportRepo + * @param ImportService $importSvc */ public function __construct( - AirportRepository $airportRepo + AirportRepository $airportRepo, + ImportService $importSvc ) { - $this->airportRepository = $airportRepo; + $this->airportRepo = $airportRepo; + $this->importSvc = $importSvc; } /** @@ -36,12 +49,14 @@ class AirportController extends BaseController public function index(Request $request) { $where = []; - if($request->has('icao')) { + if ($request->has('icao')) { $where['icao'] = $request->get('icao'); } - $this->airportRepository->pushCriteria(new WhereCriteria($request, $where)); - $airports = $this->airportRepository->orderBy('icao', 'asc')->paginate(40); + $this->airportRepo->pushCriteria(new WhereCriteria($request, $where)); + $airports = $this->airportRepo + ->orderBy('icao', 'asc') + ->paginate(); return view('admin.airports.index', [ 'airports' => $airports, @@ -70,7 +85,7 @@ class AirportController extends BaseController $input = $request->all(); $input['hub'] = get_truth_state($input['hub']); - $this->airportRepository->create($input); + $this->airportRepo->create($input); Flash::success('Airport saved successfully.'); return redirect(route('admin.airports.index')); @@ -83,7 +98,7 @@ class AirportController extends BaseController */ public function show($id) { - $airport = $this->airportRepository->findWithoutFail($id); + $airport = $this->airportRepo->findWithoutFail($id); if (empty($airport)) { Flash::error('Airport not found'); @@ -102,7 +117,7 @@ class AirportController extends BaseController */ public function edit($id) { - $airport = $this->airportRepository->findWithoutFail($id); + $airport = $this->airportRepo->findWithoutFail($id); if (empty($airport)) { Flash::error('Airport not found'); @@ -111,20 +126,20 @@ class AirportController extends BaseController return view('admin.airports.edit', [ 'timezones' => Timezonelist::toArray(), - 'airport' => $airport, + 'airport' => $airport, ]); } /** * Update the specified Airport in storage. - * @param int $id + * @param int $id * @param UpdateAirportRequest $request * @return Response * @throws \Prettus\Validator\Exceptions\ValidatorException */ public function update($id, UpdateAirportRequest $request) { - $airport = $this->airportRepository->findWithoutFail($id); + $airport = $this->airportRepo->findWithoutFail($id); if (empty($airport)) { Flash::error('Airport not found'); @@ -134,7 +149,7 @@ class AirportController extends BaseController $attrs = $request->all(); $attrs['hub'] = get_truth_state($attrs['hub']); - $this->airportRepository->update($attrs, $id); + $this->airportRepo->update($attrs, $id); Flash::success('Airport updated successfully.'); return redirect(route('admin.airports.index')); @@ -147,19 +162,115 @@ class AirportController extends BaseController */ public function destroy($id) { - $airport = $this->airportRepository->findWithoutFail($id); + $airport = $this->airportRepo->findWithoutFail($id); if (empty($airport)) { Flash::error('Airport not found'); return redirect(route('admin.airports.index')); } - $this->airportRepository->delete($id); + $this->airportRepo->delete($id); Flash::success('Airport deleted successfully.'); return redirect(route('admin.airports.index')); } + /** + * Run the airport exporter + * @param Request $request + * @return \Symfony\Component\HttpFoundation\BinaryFileResponse + * @throws \League\Csv\Exception + */ + public function export(Request $request) + { + $exporter = app(ExportService::class); + $airports = $this->airportRepo->all(); + + $path = $exporter->exportAirports($airports); + return response() + ->download($path, 'airports.csv', [ + 'content-type' => 'text/csv', + ]) + ->deleteFileAfterSend(true); + } + + /** + * + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + * @throws \Illuminate\Validation\ValidationException + */ + public function import(Request $request) + { + $logs = [ + 'success' => [], + 'errors' => [], + ]; + + if ($request->isMethod('post')) { + ImportRequest::validate($request); + $path = Storage::putFileAs( + 'import', $request->file('csv_file'), 'import_airports.csv' + ); + + $path = storage_path('app/'.$path); + Log::info('Uploaded airport import file to '.$path); + $logs = $this->importSvc->importAirports($path); + } + + return view('admin.airports.import', [ + 'logs' => $logs, + ]); + } + + /** + * @param Airport $airport + * @return mixed + */ + protected function return_expenses_view(Airport $airport) + { + $airport->refresh(); + return view('admin.airports.expenses', [ + 'airport' => $airport, + ]); + } + + /** + * Operations for associating ranks to the subfleet + * @param $id + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + * @throws \Exception + */ + public function expenses($id, Request $request) + { + $airport = $this->airportRepo->findWithoutFail($id); + if (empty($airport)) { + return $this->return_expenses_view($airport); + } + + if ($request->isMethod('get')) { + return $this->return_expenses_view($airport); + } + + if ($request->isMethod('post')) { + $expense = new Expense($request->post()); + $expense->ref_model = Airport::class; + $expense->ref_model_id = $airport->id; + $expense->save(); + } elseif ($request->isMethod('put')) { + $expense = Expense::findOrFail($request->input('expense_id')); + $expense->{$request->name} = $request->value; + $expense->save(); + } // dissassociate fare from teh aircraft + elseif ($request->isMethod('delete')) { + $expense = Expense::findOrFail($request->input('expense_id')); + $expense->delete(); + } + + return $this->return_expenses_view($airport); + } + /** * Set fuel prices for this airport * @param Request $request @@ -169,9 +280,10 @@ class AirportController extends BaseController { $id = $request->id; - $airport = $this->airportRepository->findWithoutFail($id); + $airport = $this->airportRepo->findWithoutFail($id); if (empty($airport)) { Flash::error('Flight not found'); + return redirect(route('admin.flights.index')); } diff --git a/app/Http/Controllers/Admin/AwardController.php b/app/Http/Controllers/Admin/AwardController.php new file mode 100755 index 00000000..93d39be7 --- /dev/null +++ b/app/Http/Controllers/Admin/AwardController.php @@ -0,0 +1,188 @@ +awardRepository = $awardRepo; + $this->awardSvc = $awardSvc; + } + + /** + * @return array + */ + protected function getAwardClassesAndDescriptions(): array + { + $awards = [ + '' => '', + ]; + + $descriptions = []; + + $award_classes = $this->awardSvc->findAllAwardClasses(); + foreach ($award_classes as $class_ref => $award) { + $awards[$class_ref] = $award->name; + $descriptions[$class_ref] = $award->param_description; + } + + return [ + 'awards' => $awards, + 'descriptions' => $descriptions, + ]; + } + + /** + * Display a listing of the Fare. + * @param Request $request + * @return Response + * @throws \Prettus\Repository\Exceptions\RepositoryException + */ + public function index(Request $request) + { + $this->awardRepository->pushCriteria(new RequestCriteria($request)); + $awards = $this->awardRepository->all(); + + return view('admin.awards.index', [ + 'awards' => $awards, + ]); + } + + /** + * Show the form for creating a new Fare. + * @return Response + */ + public function create() + { + $class_refs = $this->getAwardClassesAndDescriptions(); + + return view('admin.awards.create', [ + 'award_classes' => $class_refs['awards'], + 'award_descriptions' => $class_refs['descriptions'], + ]); + } + + /** + * Store a newly created Fare in storage. + * @param CreateAwardRequest $request + * @return Response + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function store(CreateAwardRequest $request) + { + $input = $request->all(); + $award = $this->awardRepository->create($input); + Flash::success('Award saved successfully.'); + + return redirect(route('admin.awards.index')); + } + + /** + * Display the specified Fare. + * @param int $id + * @return Response + */ + public function show($id) + { + $award = $this->awardRepository->findWithoutFail($id); + if (empty($award)) { + Flash::error('Award not found'); + + return redirect(route('admin.awards.index')); + } + + return view('admin.awards.show', [ + 'award' => $award, + ]); + } + + /** + * Show the form for editing the specified award. + * @param int $id + * @return Response + */ + public function edit($id) + { + $award = $this->awardRepository->findWithoutFail($id); + if (empty($award)) { + Flash::error('Award not found'); + + return redirect(route('admin.awards.index')); + } + + $class_refs = $this->getAwardClassesAndDescriptions(); + + return view('admin.awards.edit', [ + 'award' => $award, + 'award_classes' => $class_refs['awards'], + 'award_descriptions' => $class_refs['descriptions'], + ]); + } + + /** + * Update the specified award in storage. + * @param int $id + * @param UpdateAwardRequest $request + * @return Response + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function update($id, UpdateAwardRequest $request) + { + $award = $this->awardRepository->findWithoutFail($id); + if (empty($award)) { + Flash::error('Award not found'); + + return redirect(route('admin.awards.index')); + } + + $award = $this->awardRepository->update($request->all(), $id); + Flash::success('Award updated successfully.'); + + return redirect(route('admin.awards.index')); + } + + /** + * Remove the specified Fare from storage. + * + * @param int $id + * + * @return Response + */ + public function destroy($id) + { + $award = $this->awardRepository->findWithoutFail($id); + if (empty($award)) { + Flash::error('Fare not found'); + + return redirect(route('admin.awards.index')); + } + + $this->awardRepository->delete($id); + Flash::success('Fare deleted successfully.'); + + return redirect(route('admin.awards.index')); + } +} diff --git a/app/Http/Controllers/Admin/BaseController.php b/app/Http/Controllers/Admin/BaseController.php deleted file mode 100644 index f84f0604..00000000 --- a/app/Http/Controllers/Admin/BaseController.php +++ /dev/null @@ -1,12 +0,0 @@ -getMessage()); @@ -63,9 +70,9 @@ class DashboardController extends BaseController $this->checkNewVersion(); return view('admin.dashboard.index', [ - 'news' => $this->newsRepo->getLatest(), + 'news' => $this->newsRepo->getLatest(), 'pending_pireps' => $this->pirepRepo->getPendingCount(), - 'pending_users' => $this->userRepo->getPendingCount(), + 'pending_users' => $this->userRepo->getPendingCount(), ]); } @@ -76,7 +83,7 @@ class DashboardController extends BaseController */ public function news(Request $request) { - if($request->isMethod('post')) { + if ($request->isMethod('post')) { $attrs = $request->post(); $attrs['user_id'] = Auth::user()->id; diff --git a/app/Http/Controllers/Admin/ExpenseController.php b/app/Http/Controllers/Admin/ExpenseController.php new file mode 100644 index 00000000..92310bc3 --- /dev/null +++ b/app/Http/Controllers/Admin/ExpenseController.php @@ -0,0 +1,225 @@ +airlineRepo = $airlineRepo; + $this->expenseRepo = $expenseRepo; + $this->importSvc = $importSvc; + } + + /** + * Display a listing of the expenses. + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + * @throws \Prettus\Repository\Exceptions\RepositoryException + */ + public function index(Request $request) + { + $this->expenseRepo->pushCriteria(new RequestCriteria($request)); + $expenses = $this->expenseRepo->findWhere([ + 'ref_model' => Expense::class + ]); + + return view('admin.expenses.index', [ + 'expenses' => $expenses + ]); + } + + /** + * Show the form for creating a new expenses. + */ + public function create() + { + return view('admin.expenses.create', [ + 'airlines_list' => $this->airlineRepo->selectBoxList(true), + 'expense_types' => ExpenseType::select(), + ]); + } + + /** + * Store a newly created expenses in storage. + * @param Request $request + * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function store(Request $request) + { + $input = $request->all(); + $input['ref_model'] = Expense::class; + $this->expenseRepo->create($input); + + Flash::success('Expense saved successfully.'); + + return redirect(route('admin.expenses.index')); + } + + /** + * Display the specified expenses. + * @param int $id + * @return mixed + */ + public function show($id) + { + $expenses = $this->expenseRepo->findWithoutFail($id); + + if (empty($expenses)) { + Flash::error('expenses not found'); + + return redirect(route('admin.expenses.index')); + } + + return view('admin.expenses.show', [ + 'expenses' => $expenses, + ]); + } + + /** + * Show the form for editing the specified expenses. + * @param int $id + * @return Response + */ + public function edit($id) + { + $expense = $this->expenseRepo->findWithoutFail($id); + + if (empty($expense)) { + Flash::error('Expense not found'); + + return redirect(route('admin.expenses.index')); + } + + return view('admin.expenses.edit', [ + 'expense' => $expense, + 'airlines_list' => $this->airlineRepo->selectBoxList(true), + 'expense_types' => ExpenseType::select(), + ]); + } + + /** + * Update the specified expenses in storage. + * @param int $id + * @param Request $request + * @return Response + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function update($id, Request $request) + { + $expenses = $this->expenseRepo->findWithoutFail($id); + + if (empty($expenses)) { + Flash::error('Expense not found'); + + return redirect(route('admin.expenses.index')); + } + + $this->expenseRepo->update($request->all(), $id); + + Flash::success('Expense updated successfully.'); + + return redirect(route('admin.expenses.index')); + } + + /** + * Remove the specified expenses from storage. + * @param int $id + * @return Response + */ + public function destroy($id) + { + $expenses = $this->expenseRepo->findWithoutFail($id); + + if (empty($expenses)) { + Flash::error('Expense not found'); + return redirect(route('admin.expenses.index')); + } + + $this->expenseRepo->delete($id); + + Flash::success('Expense deleted successfully.'); + return redirect(route('admin.expenses.index')); + } + + /** + * Run the airport exporter + * @param Request $request + * @return \Symfony\Component\HttpFoundation\BinaryFileResponse + * @throws \League\Csv\Exception + */ + public function export(Request $request) + { + $exporter = app(ExportService::class); + $expenses = $this->expenseRepo->all(); + + $path = $exporter->exportExpenses($expenses); + return response() + ->download($path, 'expenses.csv', [ + 'content-type' => 'text/csv', + ]) + ->deleteFileAfterSend(true); + } + + /** + * + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + * @throws \Illuminate\Validation\ValidationException + */ + public function import(Request $request) + { + $logs = [ + 'success' => [], + 'errors' => [], + ]; + + if ($request->isMethod('post')) { + ImportRequest::validate($request); + $path = Storage::putFileAs( + 'import', $request->file('csv_file'), 'import_expenses.csv' + ); + + $path = storage_path('app/'.$path); + Log::info('Uploaded expenses import file to '.$path); + $logs = $this->importSvc->importExpenses($path); + } + + return view('admin.expenses.import', [ + 'logs' => $logs, + ]); + } +} diff --git a/app/Http/Controllers/Admin/FareController.php b/app/Http/Controllers/Admin/FareController.php index 1afd6320..7aa42fb3 100644 --- a/app/Http/Controllers/Admin/FareController.php +++ b/app/Http/Controllers/Admin/FareController.php @@ -3,26 +3,39 @@ namespace App\Http\Controllers\Admin; use App\Http\Requests\CreateFareRequest; +use App\Http\Requests\ImportRequest; use App\Http\Requests\UpdateFareRequest; +use App\Interfaces\Controller; use App\Repositories\FareRepository; +use App\Services\ExportService; +use App\Services\ImportService; use Flash; use Illuminate\Http\Request; +use Log; use Prettus\Repository\Criteria\RequestCriteria; use Response; +use Storage; -class FareController extends BaseController +/** + * Class FareController + * @package App\Http\Controllers\Admin + */ +class FareController extends Controller { - /** @var FareRepository */ - private $fareRepository; + private $fareRepo, + $importSvc; /** * FareController constructor. * @param FareRepository $fareRepo + * @param ImportService $importSvc */ public function __construct( - FareRepository $fareRepo + FareRepository $fareRepo, + ImportService $importSvc ) { - $this->fareRepository = $fareRepo; + $this->fareRepo = $fareRepo; + $this->importSvc = $importSvc; } /** @@ -33,8 +46,8 @@ class FareController extends BaseController */ public function index(Request $request) { - $this->fareRepository->pushCriteria(new RequestCriteria($request)); - $fares = $this->fareRepository->all(); + $this->fareRepo->pushCriteria(new RequestCriteria($request)); + $fares = $this->fareRepo->all(); return view('admin.fares.index') ->with('fares', $fares); @@ -59,9 +72,9 @@ class FareController extends BaseController public function store(CreateFareRequest $request) { $input = $request->all(); - $fare = $this->fareRepository->create($input); - Flash::success('Fare saved successfully.'); + $fare = $this->fareRepo->create($input); + Flash::success('Fare saved successfully.'); return redirect(route('admin.fares.index')); } @@ -72,7 +85,7 @@ class FareController extends BaseController */ public function show($id) { - $fare = $this->fareRepository->findWithoutFail($id); + $fare = $this->fareRepo->findWithoutFail($id); if (empty($fare)) { Flash::error('Fare not found'); return redirect(route('admin.fares.index')); @@ -88,7 +101,7 @@ class FareController extends BaseController */ public function edit($id) { - $fare = $this->fareRepository->findWithoutFail($id); + $fare = $this->fareRepo->findWithoutFail($id); if (empty($fare)) { Flash::error('Fare not found'); return redirect(route('admin.fares.index')); @@ -99,22 +112,22 @@ class FareController extends BaseController /** * Update the specified Fare in storage. - * @param int $id + * @param int $id * @param UpdateFareRequest $request * @return Response * @throws \Prettus\Validator\Exceptions\ValidatorException */ public function update($id, UpdateFareRequest $request) { - $fare = $this->fareRepository->findWithoutFail($id); + $fare = $this->fareRepo->findWithoutFail($id); if (empty($fare)) { Flash::error('Fare not found'); return redirect(route('admin.fares.index')); } - $fare = $this->fareRepository->update($request->all(), $id); - Flash::success('Fare updated successfully.'); + $fare = $this->fareRepo->update($request->all(), $id); + Flash::success('Fare updated successfully.'); return redirect(route('admin.fares.index')); } @@ -125,15 +138,63 @@ class FareController extends BaseController */ public function destroy($id) { - $fare = $this->fareRepository->findWithoutFail($id); + $fare = $this->fareRepo->findWithoutFail($id); if (empty($fare)) { Flash::error('Fare not found'); return redirect(route('admin.fares.index')); } - $this->fareRepository->delete($id); - Flash::success('Fare deleted successfully.'); + $this->fareRepo->delete($id); + Flash::success('Fare deleted successfully.'); return redirect(route('admin.fares.index')); } + + /** + * Run the aircraft exporter + * @param Request $request + * @return \Symfony\Component\HttpFoundation\BinaryFileResponse + * @throws \League\Csv\Exception + */ + public function export(Request $request) + { + $exporter = app(ExportService::class); + $fares = $this->fareRepo->all(); + + $path = $exporter->exportFares($fares); + return response() + ->download($path, 'fares.csv', [ + 'content-type' => 'text/csv', + ]) + ->deleteFileAfterSend(true); + } + + /** + * + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + * @throws \Illuminate\Validation\ValidationException + */ + public function import(Request $request) + { + $logs = [ + 'success' => [], + 'errors' => [], + ]; + + if ($request->isMethod('post')) { + ImportRequest::validate($request); + $path = Storage::putFileAs( + 'import', $request->file('csv_file'), 'import_fares.csv' + ); + + $path = storage_path('app/'.$path); + Log::info('Uploaded fares import file to '.$path); + $logs = $this->importSvc->importFares($path); + } + + return view('admin.fares.import', [ + 'logs' => $logs, + ]); + } } diff --git a/app/Http/Controllers/Admin/FileController.php b/app/Http/Controllers/Admin/FileController.php new file mode 100644 index 00000000..4d5ad49b --- /dev/null +++ b/app/Http/Controllers/Admin/FileController.php @@ -0,0 +1,86 @@ +fileSvc = $fileSvc; + } + + /** + * Store a newly file + * @param Request $request + * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector + * @throws \Hashids\HashidsException + */ + public function store(Request $request) + { + $attrs = $request->post(); + + // Not using a form validation here because when it redirects, + // it leaves the parent forms all blank, even though it goes + // back to the right place. So just manually validate + $validator = Validator::make($request->all(), [ + 'filename' => 'required', + 'file_description' => 'nullable', + 'file' => 'required|file' + ]); + + if ($validator->fails()) { + return redirect()->back()->withInput(Input::all())->withErrors($validator); + } + + Log::info('Uploading files', $attrs); + + + $file = $request->file('file'); + $this->fileSvc->saveFile($file, 'files', [ + 'name' => $attrs['filename'], + 'description' => $attrs['file_description'], + 'ref_model' => $attrs['ref_model'], + 'ref_model_id' => $attrs['ref_model_id'], + ]); + + Flash::success('Files uploaded successfully.'); + return redirect()->back(); + } + + /** + * Remove the file from storage. + * @param $id + * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector + * @throws \Exception + */ + public function destroy($id) + { + $file = File::find($id); + if (!$file) { + Flash::error('File doesn\'t exist'); + return redirect()->back(); + } + + Storage::disk(config('filesystems.public_files'))->delete($file->path); + $file->delete(); + + Flash::success('File deleted successfully.'); + return redirect()->back(); + } +} diff --git a/app/Http/Controllers/Admin/FinanceController.php b/app/Http/Controllers/Admin/FinanceController.php new file mode 100644 index 00000000..92116e5f --- /dev/null +++ b/app/Http/Controllers/Admin/FinanceController.php @@ -0,0 +1,96 @@ +airlineRepo = $airlineRepo; + } + + /** + * Display the summation tables for a given month by airline + * @param Request $request + * @return mixed + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function index(Request $request) + { + $month = $request->query('month', date('Y-m')); + $between = Dates::getMonthBoundary($month); + + $first_journal = Journal::where(['type' => JournalType::AIRLINE]) + ->orderBy('created_at', 'asc') + ->limit(1) + ->first(); + + $transaction_groups = []; + $airlines = $this->airlineRepo->orderBy('icao')->all(); + + # group by the airline + foreach ($airlines as $airline) { + # Return all the transactions, grouped by the transaction group + $transactions = JournalTransaction::groupBy('transaction_group') + ->selectRaw('transaction_group, currency, + SUM(credit) as sum_credits, + SUM(debit) as sum_debits') + ->where([ + 'journal_id' => $airline->journal->id + ]) + ->whereBetween('created_at', $between, 'AND') + ->orderBy('sum_credits', 'desc') + ->orderBy('sum_debits', 'desc') + ->orderBy('transaction_group', 'asc') + ->get(); + + # Summate it so we can show it on the footer of the table + $sum_all_credits = 0; + $sum_all_debits = 0; + foreach ($transactions as $ta) { + $sum_all_credits += $ta->sum_credits ?? 0; + $sum_all_debits += $ta->sum_debits ?? 0; + } + + $transaction_groups[] = [ + 'airline' => $airline, + 'credits' => new Money($sum_all_credits), + 'debits' => new Money($sum_all_debits), + 'transactions' => $transactions, + ]; + } + + return view('admin.finances.index', [ + 'current_month' => $month, + 'months_list' => Dates::getMonthsList($first_journal->created_at), + 'transaction_groups' => $transaction_groups, + ]); + } + + /** + * Show a month + */ + public function show($id) + { + } +} diff --git a/app/Http/Controllers/Admin/FlightController.php b/app/Http/Controllers/Admin/FlightController.php index eb63c2fd..93623c1f 100644 --- a/app/Http/Controllers/Admin/FlightController.php +++ b/app/Http/Controllers/Admin/FlightController.php @@ -4,59 +4,104 @@ namespace App\Http\Controllers\Admin; use App\Http\Requests\CreateFlightRequest; use App\Http\Requests\UpdateFlightRequest; +use App\Interfaces\Controller; +use App\Models\Enums\Days; use App\Models\Enums\FlightType; use App\Models\Flight; -use App\Models\FlightFields; +use App\Models\FlightField; +use App\Models\FlightFieldValue; use App\Repositories\AirlineRepository; use App\Repositories\AirportRepository; use App\Repositories\FareRepository; +use App\Repositories\FlightFieldRepository; use App\Repositories\FlightRepository; use App\Repositories\SubfleetRepository; +use App\Services\ExportService; use App\Services\FareService; +use App\Services\FleetService; use App\Services\FlightService; +use App\Services\ImportService; use App\Support\Units\Time; use Flash; use Illuminate\Http\Request; +use Log; use Response; +use Storage; -class FlightController extends BaseController +/** + * Class FlightController + * @package App\Http\Controllers\Admin + */ +class FlightController extends Controller { private $airlineRepo, $airportRepo, $fareRepo, $flightRepo, + $flightFieldRepo, $fareSvc, $flightSvc, + $importSvc, $subfleetRepo; /** * FlightController constructor. - * @param AirlineRepository $airlineRepo - * @param AirportRepository $airportRepo - * @param FareRepository $fareRepo - * @param FlightRepository $flightRepo - * @param FareService $fareSvc - * @param FlightService $flightSvc - * @param SubfleetRepository $subfleetRepo + * @param AirlineRepository $airlineRepo + * @param AirportRepository $airportRepo + * @param FareRepository $fareRepo + * @param FlightRepository $flightRepo + * @param FlightFieldRepository $flightFieldRepo + * @param FareService $fareSvc + * @param FlightService $flightSvc + * @param ImportService $importSvc + * @param SubfleetRepository $subfleetRepo */ public function __construct( AirlineRepository $airlineRepo, AirportRepository $airportRepo, FareRepository $fareRepo, FlightRepository $flightRepo, + FlightFieldRepository $flightFieldRepo, FareService $fareSvc, FlightService $flightSvc, + ImportService $importSvc, SubfleetRepository $subfleetRepo ) { $this->airlineRepo = $airlineRepo; $this->airportRepo = $airportRepo; $this->fareRepo = $fareRepo; $this->flightRepo = $flightRepo; + $this->flightFieldRepo = $flightFieldRepo; $this->fareSvc = $fareSvc; $this->flightSvc = $flightSvc; + $this->importSvc = $importSvc; $this->subfleetRepo = $subfleetRepo; } + /** + * Save any custom fields found + * @param Flight $flight + * @param Request $request + */ + protected function saveCustomFields(Flight $flight, Request $request): void + { + $custom_fields = []; + $flight_fields = FlightField::all(); + foreach ($flight_fields as $field) { + if (!$request->filled($field->slug)) { + continue; + } + + $custom_fields[] = [ + 'name' => $field->name, + 'value' => $request->input($field->slug) + ]; + } + + Log::info('PIREP Custom Fields', $custom_fields); + $this->flightSvc->updateCustomFields($flight->id, $custom_fields); + } + /** * @param $flight * @return array @@ -83,9 +128,13 @@ class FlightController extends BaseController */ public function index(Request $request) { - $flights = $this->flightRepo->searchCriteria($request, false)->paginate(); + $flights = $this->flightRepo + ->searchCriteria($request, false) + ->orderBy('flight_number', 'asc') + ->paginate(); + return view('admin.flights.index', [ - 'flights' => $flights, + 'flights' => $flights, 'airlines' => $this->airlineRepo->selectBoxList(true), 'airports' => $this->airportRepo->selectBoxList(true), ]); @@ -98,10 +147,13 @@ class FlightController extends BaseController public function create() { return view('admin.flights.create', [ - 'flight' => null, - 'airlines' => $this->airlineRepo->selectBoxList(), - 'airports' => $this->airportRepo->selectBoxList(true, false), - 'flight_types' => FlightType::select(true), + 'flight' => null, + 'days' => [], + 'flight_fields' => $this->flightFieldRepo->all(), + 'airlines' => $this->airlineRepo->selectBoxList(), + 'airports' => $this->airportRepo->selectBoxList(true, false), + 'alt_airports' => $this->airportRepo->selectBoxList(true), + 'flight_types' => FlightType::select(true), ]); } @@ -119,20 +171,24 @@ class FlightController extends BaseController 'flight_number' => $input['flight_number'], ]; - if(filled($input['route_code'])) { + if (filled($input['route_code'])) { $where['route_code'] = $input['route_code']; } - if(filled($input['route_leg'])) { + if (filled($input['route_leg'])) { $where['route_leg'] = $input['route_leg']; } $flights = $this->flightRepo->findWhere($where); - if($flights->count() > 0) { + if ($flights->count() > 0) { Flash::error('Duplicate flight with same number/code/leg found, please change to proceed'); return redirect()->back()->withInput($request->all()); } + if (array_key_exists('days', $input) && filled($input['days'])) { + $input['days'] = Days::getDaysMask($input['days']); + } + $input['active'] = get_truth_state($input['active']); $time = new Time($input['minutes'], $input['hours']); @@ -158,8 +214,10 @@ class FlightController extends BaseController } $avail_subfleets = $this->getAvailSubfleets($flight); + return view('admin.flights.show', [ - 'flight' => $flight, + 'flight' => $flight, + 'flight_fields' => $this->flightFieldRepo->all(), 'avail_subfleets' => $avail_subfleets, ]); } @@ -173,26 +231,30 @@ class FlightController extends BaseController $flight = $this->flightRepo->findWithoutFail($id); if (empty($flight)) { Flash::error('Flight not found'); + return redirect(route('admin.flights.index')); } $time = new Time($flight->flight_time); + $flight->hours = $time->hours; $flight->minutes = $time->minutes; - $avail_subfleets = $this->getAvailSubfleets($flight); return view('admin.flights.edit', [ - 'flight' => $flight, - 'airlines' => $this->airlineRepo->selectBoxList(), - 'airports' => $this->airportRepo->selectBoxList(), - 'avail_fares' => $this->getAvailFares($flight), - 'avail_subfleets' => $avail_subfleets, - 'flight_types' => FlightType::select(true), + 'flight' => $flight, + 'days' => $flight->days, + 'flight_fields' => $this->flightFieldRepo->all(), + 'airlines' => $this->airlineRepo->selectBoxList(), + 'airports' => $this->airportRepo->selectBoxList(), + 'alt_airports' => $this->airportRepo->selectBoxList(true), + 'avail_fares' => $this->getAvailFares($flight), + 'avail_subfleets' => $this->getAvailSubfleets($flight), + 'flight_types' => FlightType::select(true), ]); } /** - * @param $id + * @param $id * @param UpdateFlightRequest $request * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector * @throws \Prettus\Validator\Exceptions\ValidatorException @@ -228,6 +290,10 @@ class FlightController extends BaseController return redirect()->back()->withInput($request->all()); } + if (array_key_exists('days', $input) && filled($input['days'])) { + $input['days'] = Days::getDaysMask($input['days']); + } + $input['flight_time'] = Time::init( $input['minutes'], $input['hours'])->getMinutes(); @@ -260,6 +326,53 @@ class FlightController extends BaseController return redirect(route('admin.flights.index')); } + /** + * Run the flight exporter + * @param Request $request + * @return \Symfony\Component\HttpFoundation\BinaryFileResponse + * @throws \League\Csv\Exception + */ + public function export(Request $request) + { + $exporter = app(ExportService::class); + $flights = $this->flightRepo->all(); + + $path = $exporter->exportFlights($flights); + return response() + ->download($path, 'flights.csv', [ + 'content-type' => 'text/csv', + ]) + ->deleteFileAfterSend(true); + } + + /** + * + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + * @throws \Illuminate\Validation\ValidationException + */ + public function import(Request $request) + { + $logs = [ + 'success' => [], + 'errors' => [], + ]; + + if ($request->isMethod('post')) { + $path = Storage::putFileAs( + 'import', $request->file('csv_file'), 'import_flights.csv' + ); + + $path = storage_path('app/'.$path); + Log::info('Uploaded flights import file to '.$path); + $logs = $this->importSvc->importFlights($path); + } + + return view('admin.flights.import', [ + 'logs' => $logs, + ]); + } + /** * @param $flight * @return mixed @@ -268,19 +381,19 @@ class FlightController extends BaseController { $flight->refresh(); return view('admin.flights.flight_fields', [ - 'flight' => $flight, + 'flight' => $flight, + 'flight_fields' => $this->flightFieldRepo->all(), ]); } /** + * @param $flight_id * @param Request $request * @return mixed */ - public function fields(Request $request) + public function field_values($flight_id, Request $request) { - $id = $request->id; - - $flight = $this->flightRepo->findWithoutFail($id); + $flight = $this->flightRepo->findWithoutFail($flight_id); if (empty($flight)) { Flash::error('Flight not found'); return redirect(route('admin.flights.index')); @@ -288,23 +401,36 @@ class FlightController extends BaseController // add custom field to flight if ($request->isMethod('post')) { - $field = new FlightFields; - $field->flight_id = $id; - $field->name = $request->name; - $field->value = $request->value; - $field->save(); - } + Log::info('Adding new flight field, flight: '.$flight_id, $request->input()); - elseif ($request->isMethod('put')) { - $field = FlightFields::where('id', $request->field_id)->first(); - $field->value = $request->value; + $field = new FlightFieldValue(); + $field->flight_id = $flight_id; + $field->name = $request->input('name'); + $field->value = $request->input('value'); + $field->save(); + } elseif ($request->isMethod('put')) { + Log::info('Updating flight field, flight: '.$flight_id, $request->input()); + $field = FlightFieldValue::where([ + 'name' => $request->input('name'), + 'flight_id' => $flight_id, + ])->first(); + + if(!$field) { + Log::info('Field not found, creating new'); + $field = new FlightFieldValue(); + $field->name = $request->input('name'); + } + + $field->flight_id = $flight_id; + $field->value = $request->input('value'); $field->save(); // update the field value - } - - // remove custom field from flight + } // remove custom field from flight elseif ($request->isMethod('delete')) { - FlightFields::destroy($request->field_id); + Log::info('Deleting flight field, flight: '.$flight_id, $request->input()); + if($flight_id && $request->input('field_id')) { + FlightFieldValue::destroy($request->input('field_id')); + } } return $this->return_fields_view($flight); @@ -317,14 +443,15 @@ class FlightController extends BaseController protected function return_subfleet_view($flight) { $avail_subfleets = $this->getAvailSubfleets($flight); + return view('admin.flights.subfleets', [ - 'flight' => $flight, + 'flight' => $flight, 'avail_subfleets' => $avail_subfleets, ]); } /** - * @param $id + * @param $id * @param Request $request * @return mixed */ @@ -336,14 +463,19 @@ class FlightController extends BaseController return redirect(route('admin.flights.index')); } + $fleetSvc = app(FleetService::class); + // add aircraft to flight - if ($request->isMethod('post')) { - $flight->subfleets()->syncWithoutDetaching([$request->subfleet_id]); + $subfleet = $this->subfleetRepo->findWithoutFail($request->subfleet_id); + if(!$subfleet) { + return $this->return_subfleet_view($flight); } - // remove aircraft from flight + if ($request->isMethod('post')) { + $fleetSvc->addSubfleetToFlight($subfleet, $flight); + } // remove aircraft from flight elseif ($request->isMethod('delete')) { - $flight->subfleets()->detach($request->subfleet_id); + $fleetSvc->removeSubfleetFromFlight($subfleet, $flight); } return $this->return_subfleet_view($flight); @@ -358,8 +490,7 @@ class FlightController extends BaseController $all_fares = $this->fareRepo->all(); $avail_fares = $all_fares->except($flight->fares->modelKeys()); foreach ($avail_fares as $fare) { - $retval[$fare->id] = $fare->name . - ' (base price: '.$fare->price.')'; + $retval[$fare->id] = $fare->name.' (base price: '.$fare->price.')'; } return $retval; @@ -372,8 +503,9 @@ class FlightController extends BaseController protected function return_fares_view(Flight $flight) { $flight->refresh(); + return view('admin.flights.fares', [ - 'flight' => $flight, + 'flight' => $flight, 'avail_fares' => $this->getAvailFares($flight), ]); } @@ -395,6 +527,17 @@ class FlightController extends BaseController return $this->return_fares_view($flight); } + if ($request->isMethod('delete')) { + $fare = $this->fareRepo->findWithoutFail($request->fare_id); + $this->fareSvc->delFareFromFlight($flight, $fare); + + return $this->return_fares_view($flight); + } + + $this->validate($request, [ + 'value' => 'nullable', // regex:/([\d%]*)/ + ]); + /** * update specific fare data */ @@ -408,10 +551,6 @@ class FlightController extends BaseController $override[$request->name] = $request->value; $this->fareSvc->setForFlight($flight, $fare, $override); } // dissassociate fare from teh aircraft - elseif ($request->isMethod('delete')) { - $fare = $this->fareRepo->findWithoutFail($request->fare_id); - $this->fareSvc->delFareFromFlight($flight, $fare); - } return $this->return_fares_view($flight); } diff --git a/app/Http/Controllers/Admin/FlightFieldController.php b/app/Http/Controllers/Admin/FlightFieldController.php new file mode 100644 index 00000000..341d6466 --- /dev/null +++ b/app/Http/Controllers/Admin/FlightFieldController.php @@ -0,0 +1,153 @@ +flightFieldRepo = $flightFieldRepository; + } + + /** + * Display a listing of the FlightField. + * @param Request $request + * @return Response + * @throws \Prettus\Repository\Exceptions\RepositoryException + */ + public function index(Request $request) + { + $this->flightFieldRepo->pushCriteria(new RequestCriteria($request)); + $fields = $this->flightFieldRepo->all(); + + return view('admin.flightfields.index', [ + 'fields' => $fields, + ]); + } + + /** + * Show the form for creating a new FlightField. + * @return Response + */ + public function create() + { + return view('admin.flightfields.create'); + } + + /** + * Store a newly created FlightField in storage. + * @param Request $request + * @return Response + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function store(Request $request) + { + $attrs = $request->all(); + $attrs['slug'] = str_slug($attrs['name']); + + $this->flightFieldRepo->create($attrs); + + Flash::success('Field added successfully.'); + return redirect(route('admin.flightfields.index')); + } + + /** + * Display the specified FlightField. + * @param int $id + * @return Response + */ + public function show($id) + { + $field = $this->flightFieldRepo->findWithoutFail($id); + + if (empty($field)) { + Flash::error('Flight field not found'); + return redirect(route('admin.flightfields.index')); + } + + return view('admin.flightfields.show', [ + 'field' => $field, + ]); + } + + /** + * Show the form for editing the specified FlightField. + * @param int $id + * @return Response + */ + public function edit($id) + { + $field = $this->flightFieldRepo->findWithoutFail($id); + + if (empty($field)) { + Flash::error('Field not found'); + return redirect(route('admin.flightfields.index')); + } + + return view('admin.flightfields.edit', [ + 'field' => $field, + ]); + } + + /** + * Update the specified FlightField in storage. + * @param $id + * @param Request $request + * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function update($id, Request $request) + { + $field = $this->flightFieldRepo->findWithoutFail($id); + + if (empty($field)) { + Flash::error('FlightField not found'); + return redirect(route('admin.flightfields.index')); + } + + $attrs = $request->all(); + $attrs['slug'] = str_slug($attrs['name']); + $this->flightFieldRepo->update($attrs, $id); + + Flash::success('Field updated successfully.'); + return redirect(route('admin.flightfields.index')); + } + + /** + * Remove the specified FlightField from storage. + * @param int $id + * @return Response + */ + public function destroy($id) + { + $field = $this->flightFieldRepo->findWithoutFail($id); + + if (empty($field)) { + Flash::error('Field not found'); + return redirect(route('admin.flightfields.index')); + } + + $this->flightFieldRepo->delete($id); + + Flash::success('Field deleted successfully.'); + return redirect(route('admin.flightfields.index')); + } +} diff --git a/app/Http/Controllers/Admin/PirepController.php b/app/Http/Controllers/Admin/PirepController.php index 8524a3d1..21a7a79c 100644 --- a/app/Http/Controllers/Admin/PirepController.php +++ b/app/Http/Controllers/Admin/PirepController.php @@ -5,14 +5,20 @@ namespace App\Http\Controllers\Admin; use App\Facades\Utils; use App\Http\Requests\CreatePirepRequest; use App\Http\Requests\UpdatePirepRequest; +use App\Interfaces\Controller; +use App\Models\Enums\PirepSource; use App\Models\Enums\PirepState; +use App\Models\Pirep; use App\Models\PirepComment; use App\Repositories\AircraftRepository; use App\Repositories\AirlineRepository; use App\Repositories\AirportRepository; +use App\Repositories\JournalRepository; +use App\Repositories\PirepFieldRepository; use App\Repositories\PirepRepository; use App\Repositories\SubfleetRepository; -use App\Services\PIREPService; +use App\Services\FareService; +use App\Services\PirepService; use App\Services\UserService; use App\Support\Units\Time; use Flash; @@ -22,40 +28,55 @@ use Log; use Prettus\Repository\Criteria\RequestCriteria; use Response; - -class PirepController extends BaseController +/** + * Class PirepController + * @package App\Http\Controllers\Admin + */ +class PirepController extends Controller { private $airportRepo, $airlineRepo, $aircraftRepo, + $fareSvc, + $journalRepo, $pirepSvc, $pirepRepo, + $pirepFieldRepo, $subfleetRepo, $userSvc; /** * PirepController constructor. - * @param AirportRepository $airportRepo - * @param AirlineRepository $airlineRepo - * @param AircraftRepository $aircraftRepo - * @param PirepRepository $pirepRepo - * @param PIREPService $pirepSvc - * @param SubfleetRepository $subfleetRepo - * @param UserService $userSvc + * @param AirportRepository $airportRepo + * @param AirlineRepository $airlineRepo + * @param AircraftRepository $aircraftRepo + * @param FareService $fareSvc + * @param JournalRepository $journalRepo + * @param PirepRepository $pirepRepo + * @param PirepFieldRepository $pirepFieldRepo + * @param PirepService $pirepSvc + * @param SubfleetRepository $subfleetRepo + * @param UserService $userSvc */ public function __construct( AirportRepository $airportRepo, AirlineRepository $airlineRepo, AircraftRepository $aircraftRepo, + FareService $fareSvc, + JournalRepository $journalRepo, PirepRepository $pirepRepo, - PIREPService $pirepSvc, + PirepFieldRepository $pirepFieldRepo, + PirepService $pirepSvc, SubfleetRepository $subfleetRepo, UserService $userSvc ) { $this->airportRepo = $airportRepo; $this->airlineRepo = $airlineRepo; $this->aircraftRepo = $aircraftRepo; + $this->fareSvc = $fareSvc; + $this->journalRepo = $journalRepo; $this->pirepRepo = $pirepRepo; + $this->pirepFieldRepo = $pirepFieldRepo; $this->pirepSvc = $pirepSvc; $this->subfleetRepo = $subfleetRepo; $this->userSvc = $userSvc; @@ -66,11 +87,11 @@ class PirepController extends BaseController * @param null $user * @return array */ - public function aircraftList($user=null) + public function aircraftList($user = null) { $aircraft = []; - if($user === null) { + if ($user === null) { $subfleets = $this->subfleetRepo->all(); } else { $subfleets = $this->userSvc->getAllowableSubfleets($user); @@ -79,7 +100,7 @@ class PirepController extends BaseController foreach ($subfleets as $subfleet) { $tmp = []; foreach ($subfleet->aircraft as $ac) { - $tmp[$ac->id] = $ac['name'] . ' - ' . $ac['registration']; + $tmp[$ac->id] = $ac['name'].' - '.$ac['registration']; } $aircraft[$subfleet->name] = $tmp; @@ -88,6 +109,76 @@ class PirepController extends BaseController return $aircraft; } + /** + * Save any custom fields found + * @param Pirep $pirep + * @param Request $request + */ + protected function saveCustomFields(Pirep $pirep, Request $request): void + { + $custom_fields = []; + $pirep_fields = $this->pirepFieldRepo->all(); + foreach ($pirep_fields as $field) { + if (!$request->filled($field->slug)) { + continue; + } + + $custom_fields[] = [ + 'name' => $field->name, + 'value' => $request->input($field->slug), + 'source' => PirepSource::MANUAL + ]; + } + + Log::info('PIREP Custom Fields', $custom_fields); + $this->pirepSvc->updateCustomFields($pirep->id, $custom_fields); + } + + /** + * Save the fares that have been specified/saved + * @param Pirep $pirep + * @param Request $request + * @throws \Exception + */ + protected function saveFares(Pirep $pirep, Request $request) + { + $fares = []; + foreach ($pirep->aircraft->subfleet->fares as $fare) { + $field_name = 'fare_'.$fare->id; + if (!$request->filled($field_name)) { + $count = 0; + } else { + $count = $request->input($field_name); + } + + $fares[] = [ + 'fare_id' => $fare->id, + 'count' => $count, + ]; + } + + $this->fareSvc->saveForPirep($pirep, $fares); + } + + /** + * Return the fares form for a given aircraft + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + */ + public function fares(Request $request) + { + $aircraft_id = $request->input('aircraft_id'); + Log::info($aircraft_id); + + $aircraft = $this->aircraftRepo->find($aircraft_id); + Log::info('aircraft', $aircraft->toArray()); + + return view('admin.pireps.fares', [ + 'aircraft' => $aircraft, + 'read_only' => false, + ]); + } + /** * @param Request $request * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View @@ -99,8 +190,8 @@ class PirepController extends BaseController $this->pirepRepo->pushCriteria($criterea); $pireps = $this->pirepRepo - ->orderBy('created_at', 'desc') - ->paginate(); + ->whereNotInOrder('status', [PirepState::CANCELLED, PirepState::DRAFT], 'created_at', 'desc') + ->paginate(); return view('admin.pireps.index', [ 'pireps' => $pireps @@ -144,6 +235,7 @@ class PirepController extends BaseController * @param CreatePirepRequest $request * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector * @throws \Prettus\Validator\Exceptions\ValidatorException + * @throws \Exception */ public function store(CreatePirepRequest $request) { @@ -154,7 +246,11 @@ class PirepController extends BaseController $minutes = (int) $attrs['minutes']; $pirep->flight_time = Utils::hoursToMinutes($hours) + $minutes; + $this->saveCustomFields($pirep, $request); + $this->saveFares($pirep, $request); + Flash::success('Pirep saved successfully.'); + return redirect(route('admin.pireps.index')); } @@ -181,6 +277,7 @@ class PirepController extends BaseController * Show the form for editing the specified Pirep. * @param int $id * @return Response + * @throws \InvalidArgumentException */ public function edit($id) { @@ -194,23 +291,31 @@ class PirepController extends BaseController $pirep->hours = $time->hours; $pirep->minutes = $time->minutes; - # Can we modify? - $read_only = false; - if($pirep->state !== PirepState::PENDING) { - $read_only = false; + # set the custom fields + foreach ($pirep->fields as $field) { + $pirep->{$field->slug} = $field->value; } + # set the fares + foreach ($pirep->fares as $fare) { + $field_name = 'fare_'.$fare->fare_id; + $pirep->{$field_name} = $fare->count; + } + + $journal = $this->journalRepo->getAllForObject($pirep, $pirep->airline->journal); + return view('admin.pireps.edit', [ - 'pirep' => $pirep, - 'read_only' => $read_only, - 'aircraft' => $this->aircraftList(), - 'airports' => $this->airportRepo->selectBoxList(), - 'airlines' => $this->airlineRepo->selectBoxList(), + 'pirep' => $pirep, + 'aircraft' => $pirep->aircraft, + 'aircraft_list' => $this->aircraftList(), + 'airports_list' => $this->airportRepo->selectBoxList(), + 'airlines_list' => $this->airlineRepo->selectBoxList(), + 'journal' => $journal, ]); } /** - * @param $id + * @param $id * @param UpdatePirepRequest $request * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector * @throws \Prettus\Validator\Exceptions\ValidatorException @@ -238,10 +343,13 @@ class PirepController extends BaseController $pirep = $this->pirepRepo->update($attrs, $id); // A route change in the PIREP, so update the saved points in the ACARS table - if($pirep->route !== $orig_route) { + if ($pirep->route !== $orig_route) { $this->pirepSvc->saveRoute($pirep); } + $this->saveCustomFields($pirep, $request); + $this->saveFares($pirep, $request); + Flash::success('Pirep updated successfully.'); return redirect(route('admin.pireps.index')); } @@ -276,18 +384,19 @@ class PirepController extends BaseController Log::info('PIREP state update call', [$request->toArray()]); $pirep = $this->pirepRepo->findWithoutFail($request->id); - if($request->isMethod('post')) { + if ($request->isMethod('post')) { $new_status = (int) $request->post('new_status'); $pirep = $this->pirepSvc->changeState($pirep, $new_status); } $pirep->refresh(); + return view('admin.pireps.actions', ['pirep' => $pirep, 'on_edit_page' => false]); } /** * Add a comment to the Pirep - * @param $id + * @param $id * @param Request $request * @return mixed * @throws \Exception @@ -298,16 +407,16 @@ class PirepController extends BaseController $pirep = $this->pirepRepo->findWithoutFail($request->id); if ($request->isMethod('post')) { $comment = new PirepComment([ - 'user_id' => $user->id, + 'user_id' => $user->id, 'pirep_id' => $pirep->id, - 'comment' => $request->get('comment'), + 'comment' => $request->get('comment'), ]); $comment->save(); $pirep->refresh(); } - if($request->isMethod('delete')) { + if ($request->isMethod('delete')) { $comment = PirepComment::find($request->get('comment_id')); $comment->delete(); $pirep->refresh(); diff --git a/app/Http/Controllers/Admin/PirepFieldController.php b/app/Http/Controllers/Admin/PirepFieldController.php index b8da65d7..be1cc7ee 100644 --- a/app/Http/Controllers/Admin/PirepFieldController.php +++ b/app/Http/Controllers/Admin/PirepFieldController.php @@ -4,15 +4,19 @@ namespace App\Http\Controllers\Admin; use App\Http\Requests\CreatePirepFieldRequest; use App\Http\Requests\UpdatePirepFieldRequest; +use App\Interfaces\Controller; use App\Repositories\PirepFieldRepository; use Flash; use Illuminate\Http\Request; use Prettus\Repository\Criteria\RequestCriteria; use Response; -class PirepFieldController extends BaseController +/** + * Class PirepFieldController + * @package App\Http\Controllers\Admin + */ +class PirepFieldController extends Controller { - /** @var PirepFieldRepository */ private $pirepFieldRepo; /** @@ -21,7 +25,7 @@ class PirepFieldController extends BaseController */ public function __construct( PirepFieldRepository $pirepFieldRepo - ){ + ) { $this->pirepFieldRepo = $pirepFieldRepo; } @@ -65,6 +69,7 @@ class PirepFieldController extends BaseController $this->pirepFieldRepo->create($attrs); Flash::success('Field added successfully.'); + return redirect(route('admin.pirepfields.index')); } @@ -79,6 +84,7 @@ class PirepFieldController extends BaseController if (empty($field)) { Flash::error('PirepField not found'); + return redirect(route('admin.pirepfields.index')); } @@ -98,6 +104,7 @@ class PirepFieldController extends BaseController if (empty($field)) { Flash::error('Field not found'); + return redirect(route('admin.pirepfields.index')); } @@ -116,6 +123,7 @@ class PirepFieldController extends BaseController if (empty($field)) { Flash::error('PirepField not found'); + return redirect(route('admin.pirepfields.index')); } @@ -125,6 +133,7 @@ class PirepFieldController extends BaseController $this->pirepFieldRepo->update($attrs, $id); Flash::success('Field updated successfully.'); + return redirect(route('admin.pirepfields.index')); } @@ -139,12 +148,14 @@ class PirepFieldController extends BaseController if (empty($field)) { Flash::error('Field not found'); + return redirect(route('admin.pirepfields.index')); } $this->pirepFieldRepo->delete($id); Flash::success('Field deleted successfully.'); + return redirect(route('admin.pirepfields.index')); } } diff --git a/app/Http/Controllers/Admin/RankController.php b/app/Http/Controllers/Admin/RankController.php index 5c2b2442..9fa313cd 100644 --- a/app/Http/Controllers/Admin/RankController.php +++ b/app/Http/Controllers/Admin/RankController.php @@ -4,28 +4,38 @@ namespace App\Http\Controllers\Admin; use App\Http\Requests\CreateRankRequest; use App\Http\Requests\UpdateRankRequest; +use App\Interfaces\Controller; use App\Repositories\RankRepository; use App\Repositories\SubfleetRepository; +use App\Services\FleetService; use Cache; use Flash; use Illuminate\Http\Request; use Prettus\Repository\Criteria\RequestCriteria; use Response; -class RankController extends BaseController +/** + * Class RankController + * @package App\Http\Controllers\Admin + */ +class RankController extends Controller { - /** @var RankRepository */ - private $rankRepository, $subfleetRepo; + private $fleetSvc, + $rankRepository, + $subfleetRepo; /** * RankController constructor. - * @param RankRepository $rankingRepo + * @param FleetService $fleetSvc + * @param RankRepository $rankingRepo * @param SubfleetRepository $subfleetRepo */ public function __construct( + FleetService $fleetSvc, RankRepository $rankingRepo, SubfleetRepository $subfleetRepo ) { + $this->fleetSvc = $fleetSvc; $this->rankRepository = $rankingRepo; $this->subfleetRepo = $subfleetRepo; } @@ -103,6 +113,7 @@ class RankController extends BaseController if (empty($rank)) { Flash::error('Ranking not found'); + return redirect(route('admin.ranks.index')); } @@ -122,19 +133,21 @@ class RankController extends BaseController if (empty($rank)) { Flash::error('Ranking not found'); + return redirect(route('admin.ranks.index')); } $avail_subfleets = $this->getAvailSubfleets($rank); + return view('admin.ranks.edit', [ - 'rank' => $rank, + 'rank' => $rank, 'avail_subfleets' => $avail_subfleets, ]); } /** * Update the specified Ranking in storage. - * @param int $id + * @param int $id * @param UpdateRankRequest $request * @return Response * @throws \Prettus\Validator\Exceptions\ValidatorException @@ -145,6 +158,7 @@ class RankController extends BaseController if (empty($rank)) { Flash::error('Ranking not found'); + return redirect(route('admin.ranks.index')); } @@ -152,6 +166,7 @@ class RankController extends BaseController Cache::forget(config('cache.keys.RANKS_PILOT_LIST.key')); Flash::success('Ranking updated successfully.'); + return redirect(route('admin.ranks.index')); } @@ -166,12 +181,14 @@ class RankController extends BaseController if (empty($rank)) { Flash::error('Ranking not found'); + return redirect(route('admin.ranks.index')); } $this->rankRepository->delete($id); Flash::success('Ranking deleted successfully.'); + return redirect(route('admin.ranks.index')); } @@ -182,15 +199,16 @@ class RankController extends BaseController protected function return_subfleet_view($rank) { $avail_subfleets = $this->getAvailSubfleets($rank); + return view('admin.ranks.subfleets', [ - 'rank' => $rank, + 'rank' => $rank, 'avail_subfleets' => $avail_subfleets, ]); } /** * Subfleet operations on a rank - * @param $id + * @param $id * @param Request $request * @return mixed */ @@ -204,12 +222,18 @@ class RankController extends BaseController // add aircraft to flight if ($request->isMethod('post')) { - $rank->subfleets()->syncWithoutDetaching([$request->subfleet_id]); - } + $subfleet = $this->subfleetRepo->find($request->input('subfleet_id')); + $this->fleetSvc->addSubfleetToRank($subfleet, $rank); + } elseif ($request->isMethod('put')) { + $override = []; + $override[$request->name] = $request->value; + $subfleet = $this->subfleetRepo->find($request->input('subfleet_id')); - // remove aircraft from flight + $this->fleetSvc->addSubfleetToRank($subfleet, $rank); + } // remove aircraft from flight elseif ($request->isMethod('delete')) { - $rank->subfleets()->detach($request->subfleet_id); + $subfleet = $this->subfleetRepo->find($request->input('subfleet_id')); + $this->fleetSvc->removeSubfleetFromRank($subfleet, $rank); } return $this->return_subfleet_view($rank); diff --git a/app/Http/Controllers/Admin/SettingsController.php b/app/Http/Controllers/Admin/SettingsController.php index 3f339db6..be20ec32 100644 --- a/app/Http/Controllers/Admin/SettingsController.php +++ b/app/Http/Controllers/Admin/SettingsController.php @@ -2,11 +2,16 @@ namespace App\Http\Controllers\Admin; +use App\Interfaces\Controller; use App\Models\Setting; use Illuminate\Http\Request; use Log; -class SettingsController extends BaseController +/** + * Class SettingsController + * @package App\Http\Controllers\Admin + */ +class SettingsController extends Controller { /** * Display the settings. Group them by the setting group @@ -16,7 +21,7 @@ class SettingsController extends BaseController $settings = Setting::orderBy('order', 'asc')->get(); $settings = $settings->groupBy('group'); - return view('admin.settings.index',[ + return view('admin.settings.index', [ 'grouped_settings' => $settings, ]); } @@ -28,9 +33,9 @@ class SettingsController extends BaseController */ public function update(Request $request) { - foreach($request->post() as $id => $value) { + foreach ($request->post() as $id => $value) { $setting = Setting::find($id); - if(!$setting) { + if (!$setting) { continue; } @@ -40,6 +45,7 @@ class SettingsController extends BaseController } flash('Settings saved!'); + return redirect('/admin/settings'); } } diff --git a/app/Http/Controllers/Admin/SubfleetController.php b/app/Http/Controllers/Admin/SubfleetController.php index bcae7542..de821046 100644 --- a/app/Http/Controllers/Admin/SubfleetController.php +++ b/app/Http/Controllers/Admin/SubfleetController.php @@ -3,44 +3,68 @@ namespace App\Http\Controllers\Admin; use App\Http\Requests\CreateSubfleetRequest; +use App\Http\Requests\ImportRequest; use App\Http\Requests\UpdateSubfleetRequest; +use App\Interfaces\Controller; use App\Models\Airline; use App\Models\Enums\FuelType; +use App\Models\Expense; use App\Models\Subfleet; use App\Repositories\AircraftRepository; use App\Repositories\FareRepository; use App\Repositories\RankRepository; use App\Repositories\SubfleetRepository; +use App\Services\ExportService; use App\Services\FareService; +use App\Services\FleetService; +use App\Services\ImportService; use Flash; use Illuminate\Http\Request; +use Log; use Prettus\Repository\Criteria\RequestCriteria; use Response; +use Storage; -class SubfleetController extends BaseController +/** + * Class SubfleetController + * @package App\Http\Controllers\Admin + */ +class SubfleetController extends Controller { - /** @var SubfleetRepository */ - private $aircraftRepo, $rankRepo, $subfleetRepo, $fareRepo, $fareSvc; + private $aircraftRepo, + $fareRepo, + $fareSvc, + $fleetSvc, + $importSvc, + $rankRepo, + $subfleetRepo; /** * SubfleetController constructor. * @param AircraftRepository $aircraftRepo + * @param FleetService $fleetSvc + * @param FareRepository $fareRepo + * @param FareService $fareSvc + * @param ImportService $importSvc + * @param RankRepository $rankRepo * @param SubfleetRepository $subfleetRepo - * @param FareRepository $fareRepo - * @param FareService $fareSvc */ public function __construct( AircraftRepository $aircraftRepo, - RankRepository $rankRepo, - SubfleetRepository $subfleetRepo, + FleetService $fleetSvc, FareRepository $fareRepo, - FareService $fareSvc + FareService $fareSvc, + ImportService $importSvc, + RankRepository $rankRepo, + SubfleetRepository $subfleetRepo ) { $this->aircraftRepo = $aircraftRepo; - $this->rankRepo = $rankRepo; - $this->subfleetRepo = $subfleetRepo; $this->fareRepo = $fareRepo; $this->fareSvc = $fareSvc; + $this->fleetSvc = $fleetSvc; + $this->importSvc = $importSvc; + $this->rankRepo = $rankRepo; + $this->subfleetRepo = $subfleetRepo; } /** @@ -101,7 +125,7 @@ class SubfleetController extends BaseController public function create() { return view('admin.subfleets.create', [ - 'airlines' => Airline::all()->pluck('name', 'id'), + 'airlines' => Airline::all()->pluck('name', 'id'), 'fuel_types' => FuelType::labels(), ]); } @@ -137,7 +161,7 @@ class SubfleetController extends BaseController $avail_fares = $this->getAvailFares($subfleet); return view('admin.subfleets.show', [ - 'subfleet' => $subfleet, + 'subfleet' => $subfleet, 'avail_fares' => $avail_fares, ]); } @@ -160,17 +184,17 @@ class SubfleetController extends BaseController $avail_ranks = $this->getAvailRanks($subfleet); return view('admin.subfleets.edit', [ - 'airlines' => Airline::all()->pluck('name', 'id'), - 'fuel_types' => FuelType::labels(), - 'avail_fares' => $avail_fares, - 'avail_ranks' => $avail_ranks, - 'subfleet' => $subfleet, + 'airlines' => Airline::all()->pluck('name', 'id'), + 'fuel_types' => FuelType::labels(), + 'avail_fares' => $avail_fares, + 'avail_ranks' => $avail_ranks, + 'subfleet' => $subfleet, ]); } /** * Update the specified Subfleet in storage. - * @param int $id + * @param int $id * @param UpdateSubfleetRequest $request * @return Response * @throws \Prettus\Validator\Exceptions\ValidatorException @@ -207,7 +231,7 @@ class SubfleetController extends BaseController # Make sure no aircraft are assigned to this subfleet # before trying to delete it, or else things might go boom $aircraft = $this->aircraftRepo->findWhere(['subfleet_id' => $id], ['id']); - if($aircraft->count() > 0) { + if ($aircraft->count() > 0) { Flash::error('There are aircraft still assigned to this subfleet, you can\'t delete it!')->important(); return redirect(route('admin.subfleets.index')); } @@ -218,18 +242,65 @@ class SubfleetController extends BaseController return redirect(route('admin.subfleets.index')); } + /** + * Run the subfleet exporter + * @param Request $request + * @return \Symfony\Component\HttpFoundation\BinaryFileResponse + */ + public function export(Request $request) + { + $exporter = app(ExportService::class); + $subfleets = $this->subfleetRepo->all(); + + $path = $exporter->exportSubfleets($subfleets); + return response() + ->download($path, 'subfleets.csv', [ + 'content-type' => 'text/csv', + ]) + ->deleteFileAfterSend(true); + } + + /** + * + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + * @throws \Illuminate\Validation\ValidationException + */ + public function import(Request $request) + { + $logs = [ + 'success' => [], + 'errors' => [], + ]; + + if ($request->isMethod('post')) { + ImportRequest::validate($request); + + $path = Storage::putFileAs( + 'import', $request->file('csv_file'), 'import_subfleets.csv' + ); + + $path = storage_path('app/'.$path); + Log::info('Uploaded subfleets import file to '.$path); + $logs = $this->importSvc->importSubfleets($path); + } + + return view('admin.subfleets.import', [ + 'logs' => $logs, + ]); + } + /** * @param Subfleet $subfleet * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ - protected function return_ranks_view(Subfleet $subfleet) + protected function return_ranks_view(?Subfleet $subfleet) { $subfleet->refresh(); $avail_ranks = $this->getAvailRanks($subfleet); - return view('admin.subfleets.ranks', [ - 'subfleet' => $subfleet, + 'subfleet' => $subfleet, 'avail_ranks' => $avail_ranks, ]); } @@ -238,12 +309,11 @@ class SubfleetController extends BaseController * @param Subfleet $subfleet * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ - protected function return_fares_view(Subfleet $subfleet) + protected function return_fares_view(?Subfleet $subfleet) { $subfleet->refresh(); $avail_fares = $this->getAvailFares($subfleet); - return view('admin.subfleets.fares', [ 'subfleet' => $subfleet, 'avail_fares' => $avail_fares, @@ -252,7 +322,7 @@ class SubfleetController extends BaseController /** * Operations for associating ranks to the subfleet - * @param $id + * @param $id * @param Request $request * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ @@ -271,21 +341,79 @@ class SubfleetController extends BaseController * update specific rank data */ if ($request->isMethod('post')) { - $subfleet->ranks()->syncWithoutDetaching([$request->input('rank_id')]); - } + $rank = $this->rankRepo->find($request->input('rank_id')); + $this->fleetSvc->addSubfleetToRank($subfleet, $rank); + } elseif ($request->isMethod('put')) { + $override = []; + $rank = $this->rankRepo->find($request->input('rank_id')); + $override[$request->name] = $request->value; - // dissassociate fare from teh aircraft + $this->fleetSvc->addSubfleetToRank($subfleet, $rank, $override); + } // dissassociate fare from teh aircraft elseif ($request->isMethod('delete')) { - $subfleet->ranks()->detach($request->input('rank_id')); + $rank = $this->rankRepo->find($request->input('rank_id')); + $this->fleetSvc->removeSubfleetFromRank($subfleet, $rank); } $subfleet->save(); + return $this->return_ranks_view($subfleet); } + /** + * @param Subfleet $subfleet + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + */ + protected function return_expenses_view(?Subfleet $subfleet) + { + $subfleet->refresh(); + return view('admin.subfleets.expenses', [ + 'subfleet' => $subfleet, + ]); + } + + /** + * Operations for associating ranks to the subfleet + * @param $id + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + * @throws \Exception + */ + public function expenses($id, Request $request) + { + $subfleet = $this->subfleetRepo->findWithoutFail($id); + if (empty($subfleet)) { + return $this->return_expenses_view($subfleet); + } + + if ($request->isMethod('get')) { + return $this->return_expenses_view($subfleet); + } + + /** + * update specific rank data + */ + if ($request->isMethod('post')) { + $expense = new Expense($request->post()); + $expense->ref_model = Subfleet::class; + $expense->ref_model_id = $subfleet->id; + $expense->save(); + } elseif ($request->isMethod('put')) { + $expense = Expense::findOrFail($request->input('expense_id')); + $expense->{$request->name} = $request->value; + $expense->save(); + } // dissassociate fare from teh aircraft + elseif ($request->isMethod('delete')) { + $expense = Expense::findOrFail($request->input('expense_id')); + $expense->delete(); + } + + return $this->return_expenses_view($subfleet); + } + /** * Operations on fares to the subfleet - * @param $id + * @param $id * @param Request $request * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ @@ -294,7 +422,6 @@ class SubfleetController extends BaseController $subfleet = $this->subfleetRepo->findWithoutFail($id); if (empty($subfleet)) { return $this->return_fares_view($subfleet); - //return view('admin.aircraft.fares', ['fares' => []]); } if ($request->isMethod('get')) { @@ -305,21 +432,17 @@ class SubfleetController extends BaseController * update specific fare data */ if ($request->isMethod('post')) { - $fare = $this->fareRepo->findWithoutFail($request->fare_id); + $fare = $this->fareRepo->find($request->fare_id); $this->fareSvc->setForSubfleet($subfleet, $fare); - } - - // update the pivot table with overrides for the fares + } // update the pivot table with overrides for the fares elseif ($request->isMethod('put')) { $override = []; - $fare = $this->fareRepo->findWithoutFail($request->fare_id); + $fare = $this->fareRepo->find($request->fare_id); $override[$request->name] = $request->value; $this->fareSvc->setForSubfleet($subfleet, $fare, $override); - } - - // dissassociate fare from teh aircraft + } // dissassociate fare from teh aircraft elseif ($request->isMethod('delete')) { - $fare = $this->fareRepo->findWithoutFail($request->fare_id); + $fare = $this->fareRepo->find($request->fare_id); $this->fareSvc->delFareFromSubfleet($subfleet, $fare); } diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index 3eb79cf2..9ad1607b 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -5,11 +5,12 @@ namespace App\Http\Controllers\Admin; use App\Facades\Utils; use App\Http\Requests\CreateUserRequest; use App\Http\Requests\UpdateUserRequest; -use App\Models\Airline; -use App\Models\Airport; +use App\Interfaces\Controller; use App\Models\Rank; use App\Models\Role; use App\Models\User; +use App\Repositories\AirlineRepository; +use App\Repositories\AirportRepository; use App\Repositories\PirepRepository; use App\Repositories\UserRepository; use App\Services\UserService; @@ -22,21 +23,35 @@ use Log; use Prettus\Repository\Exceptions\RepositoryException; use Response; -class UserController extends BaseController +/** + * Class UserController + * @package App\Http\Controllers\Admin + */ +class UserController extends Controller { - private $pirepRepo, + private $airlineRepo, + $airportRepo, + $pirepRepo, $userRepo, $userSvc; /** * UserController constructor. - * @param UserRepository $userRepo + * @param AirlineRepository $airlineRepo + * @param AirportRepository $airportRepo + * @param PirepRepository $pirepRepo + * @param UserRepository $userRepo + * @param UserService $userSvc */ public function __construct( + AirlineRepository $airlineRepo, + AirportRepository $airportRepo, PirepRepository $pirepRepo, UserRepository $userRepo, UserService $userSvc ) { + $this->airlineRepo = $airlineRepo; + $this->airportRepo = $airportRepo; $this->pirepRepo = $pirepRepo; $this->userSvc = $userSvc; $this->userRepo = $userRepo; @@ -56,7 +71,7 @@ class UserController extends BaseController } return view('admin.users.index', [ - 'users' => $users, + 'users' => $users, 'country' => new \League\ISO3166\ISO3166(), ]); } @@ -67,8 +82,18 @@ class UserController extends BaseController */ public function create() { - return view('admin.user.create', [ - 'airlines' => Airline::all()->pluck('name', 'id'), + $airlines = $this->airlineRepo->selectBoxList(); + $airports = $this->airportRepo->selectBoxList(false, setting('pilots.home_hubs_only')); + + return view('admin.users.create', [ + 'user' => null, + 'pireps' => null, + 'airlines' => $airlines, + 'timezones' => Timezonelist::toArray(), + 'country' => new \League\ISO3166\ISO3166(), + 'airports' => $airports, + 'ranks' => Rank::all()->pluck('name', 'id'), + 'roles' => Role::all()->pluck('name', 'id'), ]); } @@ -98,6 +123,7 @@ class UserController extends BaseController if (empty($user)) { Flash::error('User not found'); + return redirect(route('admin.users.index')); } @@ -105,15 +131,18 @@ class UserController extends BaseController ->whereOrder(['user_id' => $id], 'created_at', 'desc') ->paginate(); + $airlines = $this->airlineRepo->selectBoxList(); + $airports = $this->airportRepo->selectBoxList(false, setting('pilots.home_hubs_only')); + return view('admin.users.show', [ - 'user' => $user, - 'pireps' => $pireps, - 'airlines' => Airline::all(), + 'user' => $user, + 'pireps' => $pireps, + 'airlines' => $airlines, 'timezones' => Timezonelist::toArray(), - 'country' => new \League\ISO3166\ISO3166(), - 'airports' => Airport::all()->pluck('icao', 'id'), - 'ranks' => Rank::all()->pluck('name', 'id'), - 'roles' => Role::all()->pluck('name', 'id'), + 'country' => new \League\ISO3166\ISO3166(), + 'airports' => $airports, + 'ranks' => Rank::all()->pluck('name', 'id'), + 'roles' => Role::all()->pluck('name', 'id'), ]); } @@ -128,6 +157,7 @@ class UserController extends BaseController if (empty($user)) { Flash::error('User not found'); + return redirect(route('admin.users.index')); } @@ -140,21 +170,24 @@ class UserController extends BaseController return [strtolower($item['alpha2']) => $item['name']]; }); + $airlines = $this->airlineRepo->selectBoxList(); + $airports = $this->airportRepo->selectBoxList(false, setting('pilots.home_hubs_only')); + return view('admin.users.edit', [ - 'user' => $user, - 'pireps' => $pireps, + 'user' => $user, + 'pireps' => $pireps, 'countries' => $countries, 'timezones' => Timezonelist::toArray(), - 'airports' => Airport::all()->pluck('icao', 'id'), - 'airlines' => Airline::all()->pluck('name', 'id'), - 'ranks' => Rank::all()->pluck('name', 'id'), - 'roles' => Role::all()->pluck('name', 'id'), + 'airports' => $airports, + 'airlines' => $airlines, + 'ranks' => Rank::all()->pluck('name', 'id'), + 'roles' => Role::all()->pluck('name', 'id'), ]); } /** * Update the specified User in storage. - * @param int $id + * @param int $id * @param UpdateUserRequest $request * @return Response * @throws \Prettus\Validator\Exceptions\ValidatorException @@ -165,31 +198,48 @@ class UserController extends BaseController if (empty($user)) { Flash::error('User not found'); + return redirect(route('admin.users.index')); } $req_data = $request->all(); - if(!$request->filled('password')) { + if (!$request->filled('password')) { unset($req_data['password']); } else { $req_data['password'] = Hash::make($req_data['password']); } + if ($request->filled('avatar_upload')) { + /** + * @var $file \Illuminate\Http\UploadedFile + */ + $file = $request->file('avatar_upload'); + $file_path = $file->storeAs( + 'avatars', + str_slug($file->getClientOriginalName()), + config('filesystems.public_files') + ); + + $user->avatar = $file_path; + } + + $original_user_state = $user->state; $user = $this->userRepo->update($req_data, $id); - if($original_user_state !== $user->state) { + if ($original_user_state !== $user->state) { $this->userSvc->changeUserState($user, $original_user_state); } # Delete all of the roles and then re-attach the valid ones - DB::table('role_user')->where('user_id',$id)->delete(); + DB::table('role_user')->where('user_id', $id)->delete(); foreach ($request->input('roles') as $key => $value) { $user->attachRole($value); } Flash::success('User updated successfully.'); + return redirect(route('admin.users.index')); } @@ -204,30 +254,33 @@ class UserController extends BaseController if (empty($user)) { Flash::error('User not found'); + return redirect(route('admin.users.index')); } $this->userRepo->delete($id); Flash::success('User deleted successfully.'); + return redirect(route('admin.users.index')); } /** * Regenerate the user's API key - * @param $id + * @param $id * @param Request $request * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector */ public function regen_apikey($id, Request $request) { $user = User::find($id); - Log::info('Regenerating API key "' . $user->pilot_id . '"'); + Log::info('Regenerating API key "'.$user->pilot_id.'"'); $user->api_key = Utils::generateApiKey(); $user->save(); flash('New API key generated!')->success(); + return redirect(route('admin.users.edit', ['id' => $id])); } } diff --git a/app/Http/Controllers/Api/AcarsController.php b/app/Http/Controllers/Api/AcarsController.php index 935e9145..47529a6f 100644 --- a/app/Http/Controllers/Api/AcarsController.php +++ b/app/Http/Controllers/Api/AcarsController.php @@ -2,30 +2,31 @@ namespace App\Http\Controllers\Api; +use App\Interfaces\Controller; use App\Repositories\AcarsRepository; -use App\Repositories\PirepRepository; use App\Services\GeoService; use Illuminate\Http\Request; - -class AcarsController extends RestController +/** + * Class AcarsController + * @package App\Http\Controllers\Api + */ +class AcarsController extends Controller { - protected $acarsRepo, $geoSvc, $pirepRepo; + private $acarsRepo, + $geoSvc; /** * AcarsController constructor. - * @param GeoService $geoSvc + * @param GeoService $geoSvc * @param AcarsRepository $acarsRepo - * @param PirepRepository $pirepRepo */ public function __construct( GeoService $geoSvc, - AcarsRepository $acarsRepo, - PirepRepository $pirepRepo + AcarsRepository $acarsRepo ) { $this->geoSvc = $geoSvc; $this->acarsRepo = $acarsRepo; - $this->pirepRepo = $pirepRepo; } /** diff --git a/app/Http/Controllers/Api/AirlineController.php b/app/Http/Controllers/Api/AirlineController.php index d9882a6b..73a7a618 100644 --- a/app/Http/Controllers/Api/AirlineController.php +++ b/app/Http/Controllers/Api/AirlineController.php @@ -3,12 +3,17 @@ namespace App\Http\Controllers\Api; use App\Http\Resources\Airline as AirlineResource; +use App\Interfaces\Controller; use App\Repositories\AirlineRepository; use Illuminate\Http\Request; -class AirlineController extends RestController +/** + * Class AirlineController + * @package App\Http\Controllers\Api + */ +class AirlineController extends Controller { - protected $airlineRepo; + private $airlineRepo; /** * AirlineController constructor. @@ -27,9 +32,10 @@ class AirlineController extends RestController */ public function index(Request $request) { + #$this->airlineRepo->pushCriteria(new RequestCriteria($request)); $airports = $this->airlineRepo ->whereOrder(['active' => true], 'name', 'asc') - ->paginate(50); + ->paginate(); return AirlineResource::collection($airports); } @@ -42,6 +48,7 @@ class AirlineController extends RestController public function get($id) { $id = strtoupper($id); + return new AirlineResource($this->airlineRepo->find($id)); } } diff --git a/app/Http/Controllers/Api/AirportController.php b/app/Http/Controllers/Api/AirportController.php index 972ccdbe..06f39642 100644 --- a/app/Http/Controllers/Api/AirportController.php +++ b/app/Http/Controllers/Api/AirportController.php @@ -3,15 +3,20 @@ namespace App\Http\Controllers\Api; use App\Http\Resources\Airport as AirportResource; +use App\Interfaces\Controller; use App\Repositories\AirportRepository; use Illuminate\Http\Request; use Illuminate\Support\Facades\Cache; use Log; use VaCentral\Airport as AirportLookup; -class AirportController extends RestController +/** + * Class AirportController + * @package App\Http\Controllers\Api + */ +class AirportController extends Controller { - protected $airportRepo; + private $airportRepo; /** * AirportController constructor. @@ -37,7 +42,7 @@ class AirportController extends RestController $airports = $this->airportRepo ->whereOrder($where, 'icao', 'asc') - ->paginate(50); + ->paginate(); return AirportResource::collection($airports); } @@ -53,7 +58,7 @@ class AirportController extends RestController $airports = $this->airportRepo ->whereOrder($where, 'icao', 'asc') - ->paginate(50); + ->paginate(); return AirportResource::collection($airports); } @@ -66,6 +71,7 @@ class AirportController extends RestController public function get($id) { $id = strtoupper($id); + return new AirportResource($this->airportRepo->find($id)); } @@ -77,13 +83,14 @@ class AirportController extends RestController public function lookup($id) { $airport = Cache::remember( - config('cache.keys.AIRPORT_VACENTRAL_LOOKUP.key') . $id, + config('cache.keys.AIRPORT_VACENTRAL_LOOKUP.key').$id, config('cache.keys.RANKS_PILOT_LIST.time'), function () use ($id) { try { return AirportLookup::get($id); } catch (\VaCentral\HttpException $e) { Log::error($e); + return []; } } diff --git a/app/Http/Controllers/Api/FleetController.php b/app/Http/Controllers/Api/FleetController.php index 5b727636..b93d4c2a 100644 --- a/app/Http/Controllers/Api/FleetController.php +++ b/app/Http/Controllers/Api/FleetController.php @@ -4,13 +4,19 @@ namespace App\Http\Controllers\Api; use App\Http\Resources\Aircraft as AircraftResource; use App\Http\Resources\Subfleet as SubfleetResource; +use App\Interfaces\Controller; use App\Repositories\AircraftRepository; use App\Repositories\SubfleetRepository; use Illuminate\Http\Request; -class FleetController extends RestController +/** + * Class FleetController + * @package App\Http\Controllers\Api + */ +class FleetController extends Controller { - protected $aircraftRepo, $subfleetRepo; + private $aircraftRepo, + $subfleetRepo; /** * FleetController constructor. @@ -32,8 +38,8 @@ class FleetController extends RestController public function index() { $subfleets = $this->subfleetRepo - ->with(['aircraft', 'airline', 'fares', 'ranks']) - ->paginate(); + ->with(['aircraft', 'airline', 'fares', 'ranks']) + ->paginate(); return SubfleetResource::collection($subfleets); } @@ -41,23 +47,23 @@ class FleetController extends RestController /** * Get a specific aircraft. Query string required to specify the tail * /api/aircraft/XYZ?type=registration - * @param $id + * @param $id * @param Request $request * @return AircraftResource */ public function get_aircraft($id, Request $request) { $where = []; - if($request->filled('type')) { + if ($request->filled('type')) { $where[$request->get('type')] = $id; } else { $where['id'] = $id; } $aircraft = $this->aircraftRepo - ->with(['subfleet', 'subfleet.fares']) - ->findWhere($where) - ->first(); + ->with(['subfleet', 'subfleet.fares']) + ->findWhere($where) + ->first(); return new AircraftResource($aircraft); } diff --git a/app/Http/Controllers/Api/FlightController.php b/app/Http/Controllers/Api/FlightController.php index 3b70ee3c..947edd90 100644 --- a/app/Http/Controllers/Api/FlightController.php +++ b/app/Http/Controllers/Api/FlightController.php @@ -4,10 +4,10 @@ namespace App\Http\Controllers\Api; use App\Http\Resources\Flight as FlightResource; use App\Http\Resources\Navdata as NavdataResource; +use App\Interfaces\Controller; use App\Repositories\Criteria\WhereCriteria; use App\Repositories\FlightRepository; use App\Services\FlightService; -use App\Services\UserService; use Auth; use Illuminate\Http\Request; use Prettus\Repository\Criteria\RequestCriteria; @@ -17,24 +17,22 @@ use Prettus\Repository\Exceptions\RepositoryException; * Class FlightController * @package App\Http\Controllers\Api */ -class FlightController extends RestController +class FlightController extends Controller { - protected $flightRepo, $flightSvc, $userSvc; + private $flightRepo, + $flightSvc; /** * FlightController constructor. * @param FlightRepository $flightRepo - * @param FlightService $flightSvc - * @param UserService $userSvc + * @param FlightService $flightSvc */ public function __construct( FlightRepository $flightRepo, - FlightService $flightSvc, - UserService $userSvc + FlightService $flightSvc ) { $this->flightRepo = $flightRepo; $this->flightSvc = $flightSvc; - $this->userSvc = $userSvc; } /** @@ -52,10 +50,10 @@ class FlightController extends RestController } $flights = $this->flightRepo - ->whereOrder($where, 'flight_number', 'asc') - ->paginate(); + ->whereOrder($where, 'flight_number', 'asc') + ->paginate(); - foreach($flights as $flight) { + foreach ($flights as $flight) { $this->flightSvc->filterSubfleets($user, $flight); } @@ -105,7 +103,7 @@ class FlightController extends RestController /** * Get a flight's route - * @param $id + * @param $id * @param Request $request * @return \Illuminate\Http\Resources\Json\AnonymousResourceCollection */ diff --git a/app/Http/Controllers/Api/NewsController.php b/app/Http/Controllers/Api/NewsController.php new file mode 100644 index 00000000..0b8e1c4d --- /dev/null +++ b/app/Http/Controllers/Api/NewsController.php @@ -0,0 +1,38 @@ +newsRepo = $newsRepo; + } + + /** + * Return all the airlines, paginated + * @param Request $request + * @return mixed + */ + public function index(Request $request) + { + $news = $this->newsRepo + ->orderBy('created_at', 'desc') + ->paginate(); + + return NewsResource::collection($news); + } +} diff --git a/app/Http/Controllers/Api/PirepController.php b/app/Http/Controllers/Api/PirepController.php index d6bd17c5..d610ff19 100644 --- a/app/Http/Controllers/Api/PirepController.php +++ b/app/Http/Controllers/Api/PirepController.php @@ -2,8 +2,10 @@ namespace App\Http\Controllers\Api; +use App\Exceptions\AircraftNotAtAirport; use App\Exceptions\AircraftPermissionDenied; use App\Exceptions\PirepCancelled; +use App\Exceptions\UserNotAtAirport; use App\Http\Requests\Acars\CommentRequest; use App\Http\Requests\Acars\EventRequest; use App\Http\Requests\Acars\FileRequest; @@ -13,8 +15,10 @@ use App\Http\Requests\Acars\PrefileRequest; use App\Http\Requests\Acars\RouteRequest; use App\Http\Requests\Acars\UpdateRequest; use App\Http\Resources\AcarsRoute as AcarsRouteResource; +use App\Http\Resources\JournalTransaction as JournalTransactionResource; use App\Http\Resources\Pirep as PirepResource; use App\Http\Resources\PirepComment as PirepCommentResource; +use App\Interfaces\Controller; use App\Models\Acars; use App\Models\Enums\AcarsType; use App\Models\Enums\PirepSource; @@ -23,39 +27,59 @@ use App\Models\Enums\PirepStatus; use App\Models\Pirep; use App\Models\PirepComment; use App\Repositories\AcarsRepository; +use App\Repositories\JournalRepository; use App\Repositories\PirepRepository; +use App\Services\FareService; +use App\Services\Finance\PirepFinanceService; use App\Services\GeoService; -use App\Services\PIREPService; +use App\Services\PirepService; use App\Services\UserService; use Auth; +use Carbon\Carbon; use Illuminate\Http\Request; use Log; -class PirepController extends RestController +/** + * Class PirepController + * @package App\Http\Controllers\Api + */ +class PirepController extends Controller { - protected $acarsRepo, - $geoSvc, - $pirepRepo, - $pirepSvc, - $userSvc; + private $acarsRepo, + $fareSvc, + $financeSvc, + $geoSvc, + $journalRepo, + $pirepRepo, + $pirepSvc, + $userSvc; /** * PirepController constructor. - * @param AcarsRepository $acarsRepo - * @param GeoService $geoSvc - * @param PirepRepository $pirepRepo - * @param PIREPService $pirepSvc - * @param UserService $userSvc + * @param AcarsRepository $acarsRepo + * @param FareService $fareSvc + * @param PirepFinanceService $financeSvc + * @param GeoService $geoSvc + * @param JournalRepository $journalRepo + * @param PirepRepository $pirepRepo + * @param PirepService $pirepSvc + * @param UserService $userSvc */ public function __construct( AcarsRepository $acarsRepo, + FareService $fareSvc, + PirepFinanceService $financeSvc, GeoService $geoSvc, + JournalRepository $journalRepo, PirepRepository $pirepRepo, - PIREPService $pirepSvc, + PirepService $pirepSvc, UserService $userSvc ) { $this->acarsRepo = $acarsRepo; + $this->fareSvc = $fareSvc; + $this->financeSvc = $financeSvc; $this->geoSvc = $geoSvc; + $this->journalRepo = $journalRepo; $this->pirepRepo = $pirepRepo; $this->pirepSvc = $pirepSvc; $this->userSvc = $userSvc; @@ -83,7 +107,7 @@ class PirepController extends RestController } /** - * @param $pirep + * @param $pirep * @param Request $request */ protected function updateFields($pirep, Request $request) @@ -95,8 +119,8 @@ class PirepController extends RestController $pirep_fields = []; foreach ($request->input('fields') as $field_name => $field_value) { $pirep_fields[] = [ - 'name' => $field_name, - 'value' => $field_value, + 'name' => $field_name, + 'value' => $field_value, 'source' => $pirep->source, ]; } @@ -104,6 +128,29 @@ class PirepController extends RestController $this->pirepSvc->updateCustomFields($pirep->id, $pirep_fields); } + /** + * Save the fares + * @param $pirep + * @param Request $request + * @throws \Exception + */ + protected function updateFares($pirep, Request $request) + { + if (!$request->filled('fares')) { + return; + } + + $fares = []; + foreach ($request->post('fares') as $fare) { + $fares[] = [ + 'fare_id' => $fare['id'], + 'count' => $fare['count'], + ]; + } + + $this->fareSvc->saveForPirep($pirep, $fares); + } + /** * Create a new PIREP and place it in a "inprogress" and "prefile" state * Once ACARS updates are being processed, then it can go into an 'ENROUTE' @@ -111,8 +158,11 @@ class PirepController extends RestController * * @param PrefileRequest $request * @return PirepResource + * @throws \App\Exceptions\AircraftNotAtAirport + * @throws \App\Exceptions\UserNotAtAirport * @throws \App\Exceptions\PirepCancelled * @throws \App\Exceptions\AircraftPermissionDenied + * @throws \Exception */ public function prefile(PrefileRequest $request) { @@ -124,21 +174,37 @@ class PirepController extends RestController $attrs['user_id'] = $user->id; $attrs['source'] = PirepSource::ACARS; $attrs['state'] = PirepState::IN_PROGRESS; - $attrs['status'] = PirepStatus::PREFILE; + + if (!array_key_exists('status', $attrs)) { + $attrs['status'] = PirepStatus::INITIATED; + } $pirep = new Pirep($attrs); + # See if this user is at the current airport + if (setting('pilots.only_flights_from_current') + && $user->curr_airport_id !== $pirep->dpt_airport_id) + { + throw new UserNotAtAirport(); + } + # See if this user is allowed to fly this aircraft - if(setting('pireps.restrict_aircraft_to_rank', false)) { - $can_use_ac = $this->userSvc->aircraftAllowed($user, $pirep->aircraft_id); - if (!$can_use_ac) { - throw new AircraftPermissionDenied(); - } + if (setting('pireps.restrict_aircraft_to_rank', false) + && !$this->userSvc->aircraftAllowed($user, $pirep->aircraft_id)) + { + throw new AircraftPermissionDenied(); + } + + # See if this aircraft is at the departure airport + if (setting('pireps.only_aircraft_at_dpt_airport') + && $pirep->aircraft_id !== $pirep->dpt_airport_id) + { + throw new AircraftNotAtAirport(); } # Find if there's a duplicate, if so, let's work on that $dupe_pirep = $this->pirepSvc->findDuplicate($pirep); - if($dupe_pirep !== false) { + if ($dupe_pirep !== false) { $pirep = $dupe_pirep; $this->checkCancelled($pirep); } @@ -149,6 +215,7 @@ class PirepController extends RestController Log::info($pirep->id); $this->updateFields($pirep, $request); + $this->updateFares($pirep, $request); return new PirepResource($pirep); } @@ -158,19 +225,20 @@ class PirepController extends RestController * Once ACARS updates are being processed, then it can go into an 'ENROUTE' * status, and whatever other statuses may be defined * - * @param $id + * @param $id * @param UpdateRequest $request * @return PirepResource * @throws \App\Exceptions\PirepCancelled * @throws \App\Exceptions\AircraftPermissionDenied * @throws \Prettus\Validator\Exceptions\ValidatorException + * @throws \Exception */ public function update($id, UpdateRequest $request) { - Log::info('PIREP Update, user ' . Auth::id(), $request->post()); + Log::info('PIREP Update, user '.Auth::id(), $request->post()); $user = Auth::user(); - $pirep = $this->pirepRepo->find($id); + $pirep = Pirep::find($id); $this->checkCancelled($pirep); $attrs = $request->post(); @@ -188,13 +256,14 @@ class PirepController extends RestController $pirep = $this->pirepRepo->update($attrs, $id); $this->updateFields($pirep, $request); + $this->updateFares($pirep, $request); return new PirepResource($pirep); } /** * File the PIREP - * @param $id + * @param $id * @param FileRequest $request * @return PirepResource * @throws \App\Exceptions\PirepCancelled @@ -204,12 +273,12 @@ class PirepController extends RestController */ public function file($id, FileRequest $request) { - Log::info('PIREP file, user ' . Auth::id(), $request->post()); + Log::info('PIREP file, user '.Auth::id(), $request->post()); $user = Auth::user(); # Check if the status is cancelled... - $pirep = $this->pirepRepo->find($id); + $pirep = Pirep::find($id); $this->checkCancelled($pirep); $attrs = $request->post(); @@ -226,11 +295,14 @@ class PirepController extends RestController $attrs['state'] = PirepState::PENDING; $attrs['status'] = PirepStatus::ARRIVED; + $attrs['submitted_at'] = Carbon::now('UTC'); + + $pirep = $this->pirepRepo->update($attrs, $id); try { - $pirep = $this->pirepRepo->update($attrs, $id); $pirep = $this->pirepSvc->create($pirep); $this->updateFields($pirep, $request); + $this->updateFares($pirep, $request); } catch (\Exception $e) { Log::error($e); } @@ -240,7 +312,7 @@ class PirepController extends RestController # route that's been posted from the PIREP $w = ['pirep_id' => $pirep->id, 'type' => AcarsType::ROUTE]; $count = Acars::where($w)->count(['id']); - if($count === 0) { + if ($count === 0) { $this->pirepSvc->saveRoute($pirep); } @@ -249,17 +321,18 @@ class PirepController extends RestController /** * Cancel the PIREP - * @param $id + * @param $id * @param Request $request * @return PirepResource * @throws \Prettus\Validator\Exceptions\ValidatorException */ public function cancel($id, Request $request) { - Log::info('PIREP Cancel, user ' . Auth::id(), $request->post()); + Log::info('PIREP Cancel, user '.Auth::id(), $request->post()); $pirep = $this->pirepRepo->update([ - 'state' => PirepState::CANCELLED, + 'state' => PirepState::CANCELLED, + 'status' => PirepStatus::CANCELLED, ], $id); return new PirepResource($pirep); @@ -267,13 +340,13 @@ class PirepController extends RestController /** * Return the GeoJSON for the ACARS line - * @param $id + * @param $id * @param Request $request * @return \Illuminate\Contracts\Routing\ResponseFactory */ public function acars_geojson($id, Request $request) { - $pirep = $this->pirepRepo->find($id); + $pirep = Pirep::find($id); $geodata = $this->geoSvc->getFeatureFromAcars($pirep); return response(\json_encode($geodata), 200, [ @@ -283,7 +356,7 @@ class PirepController extends RestController /** * Return the routes for the ACARS line - * @param $id + * @param $id * @param Request $request * @return AcarsRouteResource */ @@ -293,13 +366,13 @@ class PirepController extends RestController return new AcarsRouteResource(Acars::where([ 'pirep_id' => $id, - 'type' => AcarsType::FLIGHT_PATH + 'type' => AcarsType::FLIGHT_PATH ])->orderBy('created_at', 'asc')->get()); } /** * Post ACARS updates for a PIREP - * @param $id + * @param $id * @param PositionRequest $request * @return \Illuminate\Http\JsonResponse * @throws \App\Exceptions\PirepCancelled @@ -308,18 +381,17 @@ class PirepController extends RestController public function acars_store($id, PositionRequest $request) { # Check if the status is cancelled... - $pirep = $this->pirepRepo->find($id); + $pirep = Pirep::find($id); $this->checkCancelled($pirep); - Log::info( + Log::debug( 'Posting ACARS update (user: '.Auth::user()->pilot_id.', pirep id :'.$id.'): ', $request->post() ); $count = 0; $positions = $request->post('positions'); - foreach($positions as $position) - { + foreach ($positions as $position) { $position['pirep_id'] = $id; $position['type'] = AcarsType::FLIGHT_PATH; @@ -329,17 +401,20 @@ class PirepController extends RestController ++$count; } - # Change the PIREP status - $pirep->status = PirepStatus::ENROUTE; + # Change the PIREP status if it's as SCHEDULED before + if ($pirep->status === PirepStatus::INITIATED) { + $pirep->status = PirepStatus::AIRBORNE; + } + $pirep->save(); - return $this->message($count . ' positions added', $count); + return $this->message($count.' positions added', $count); } /** * Post ACARS LOG update for a PIREP. These updates won't show up on the map * But rather in a log file. - * @param $id + * @param $id * @param LogRequest $request * @return \Illuminate\Http\JsonResponse * @throws \App\Exceptions\PirepCancelled @@ -348,15 +423,14 @@ class PirepController extends RestController public function acars_logs($id, LogRequest $request) { # Check if the status is cancelled... - $pirep = $this->pirepRepo->find($id); + $pirep = Pirep::find($id); $this->checkCancelled($pirep); - Log::info('Posting ACARS log, PIREP: '.$id, $request->post()); + Log::debug('Posting ACARS log, PIREP: '.$id, $request->post()); $count = 0; $logs = $request->post('logs'); - foreach($logs as $log) { - + foreach ($logs as $log) { $log['pirep_id'] = $id; $log['type'] = AcarsType::LOG; @@ -365,13 +439,13 @@ class PirepController extends RestController ++$count; } - return $this->message($count . ' logs added', $count); + return $this->message($count.' logs added', $count); } /** * Post ACARS LOG update for a PIREP. These updates won't show up on the map * But rather in a log file. - * @param $id + * @param $id * @param EventRequest $request * @return \Illuminate\Http\JsonResponse * @throws \App\Exceptions\PirepCancelled @@ -380,15 +454,14 @@ class PirepController extends RestController public function acars_events($id, EventRequest $request) { # Check if the status is cancelled... - $pirep = $this->pirepRepo->find($id); + $pirep = Pirep::find($id); $this->checkCancelled($pirep); - Log::info('Posting ACARS event, PIREP: ' . $id, $request->post()); + Log::debug('Posting ACARS event, PIREP: '.$id, $request->post()); $count = 0; $logs = $request->post('events'); foreach ($logs as $log) { - $log['pirep_id'] = $id; $log['type'] = AcarsType::LOG; $log['log'] = $log['event']; @@ -398,34 +471,34 @@ class PirepController extends RestController ++$count; } - return $this->message($count . ' logs added', $count); + return $this->message($count.' logs added', $count); } /** * Add a new comment - * @param $id + * @param $id * @param Request $request * @return \Illuminate\Http\Resources\Json\AnonymousResourceCollection */ public function comments_get($id, Request $request) { - $pirep = $this->pirepRepo->find($id); + $pirep = Pirep::find($id); return PirepCommentResource::collection($pirep->comments); } /** * Add a new comment - * @param $id + * @param $id * @param CommentRequest $request * @return PirepCommentResource * @throws \App\Exceptions\PirepCancelled */ public function comments_post($id, CommentRequest $request) { - $pirep = $this->pirepRepo->find($id); + $pirep = Pirep::find($id); $this->checkCancelled($pirep); - Log::info('Posting comment, PIREP: '.$id, $request->post()); + Log::debug('Posting comment, PIREP: '.$id, $request->post()); # Add it $comment = new PirepComment($request->post()); @@ -437,23 +510,56 @@ class PirepController extends RestController } /** - * @param $id + * @param $id + * @param Request $request + * @return \Illuminate\Http\Resources\Json\AnonymousResourceCollection + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function finances_get($id, Request $request) + { + $pirep = Pirep::find($id); + $transactions = $this->journalRepo->getAllForObject($pirep); + return JournalTransactionResource::collection($transactions); + } + + /** + * @param $id + * @param Request $request + * @return \Illuminate\Http\Resources\Json\AnonymousResourceCollection + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Exception + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function finances_recalculate($id, Request $request) + { + $pirep = Pirep::find($id); + $this->financeSvc->processFinancesForPirep($pirep); + + $pirep->refresh(); + + $transactions = $this->journalRepo->getAllForObject($pirep); + return JournalTransactionResource::collection($transactions['transactions']); + } + + /** + * @param $id * @param Request $request * @return \Illuminate\Http\Resources\Json\AnonymousResourceCollection */ public function route_get($id, Request $request) { - $this->pirepRepo->find($id); - + $pirep = Pirep::find($id); return AcarsRouteResource::collection(Acars::where([ 'pirep_id' => $id, - 'type' => AcarsType::ROUTE + 'type' => AcarsType::ROUTE ])->orderBy('order', 'asc')->get()); } /** * Post the ROUTE for a PIREP, can be done from the ACARS log - * @param $id + * @param $id * @param RouteRequest $request * @return \Illuminate\Http\JsonResponse * @throws \App\Exceptions\PirepCancelled @@ -462,14 +568,14 @@ class PirepController extends RestController public function route_post($id, RouteRequest $request) { # Check if the status is cancelled... - $pirep = $this->pirepRepo->find($id); + $pirep = Pirep::find($id); $this->checkCancelled($pirep); Log::info('Posting ROUTE, PIREP: '.$id, $request->post()); $count = 0; $route = $request->post('route', []); - foreach($route as $position) { + foreach ($route as $position) { $position['pirep_id'] = $id; $position['type'] = AcarsType::ROUTE; @@ -479,22 +585,22 @@ class PirepController extends RestController ++$count; } - return $this->message($count . ' points added', $count); + return $this->message($count.' points added', $count); } /** - * @param $id + * @param $id * @param Request $request * @return \Illuminate\Http\JsonResponse * @throws \Exception */ public function route_delete($id, Request $request) { - $this->pirepRepo->find($id); + $pirep = Pirep::find($id); Acars::where([ 'pirep_id' => $id, - 'type' => AcarsType::ROUTE + 'type' => AcarsType::ROUTE ])->delete(); return $this->message('Route deleted'); diff --git a/app/Http/Controllers/Api/SettingsController.php b/app/Http/Controllers/Api/SettingsController.php index 35f82915..3e32caca 100644 --- a/app/Http/Controllers/Api/SettingsController.php +++ b/app/Http/Controllers/Api/SettingsController.php @@ -3,12 +3,17 @@ namespace App\Http\Controllers\Api; use App\Http\Resources\Setting as SettingResource; +use App\Interfaces\Controller; use App\Repositories\SettingRepository; use Illuminate\Http\Request; -class SettingsController extends RestController +/** + * Class SettingsController + * @package App\Http\Controllers\Api + */ +class SettingsController extends Controller { - protected $settingRepo; + private $settingRepo; /** * SettingsController constructor. diff --git a/app/Http/Controllers/Api/StatusController.php b/app/Http/Controllers/Api/StatusController.php index 69d079ad..a79ed9d0 100644 --- a/app/Http/Controllers/Api/StatusController.php +++ b/app/Http/Controllers/Api/StatusController.php @@ -2,9 +2,14 @@ namespace App\Http\Controllers\Api; +use App\Interfaces\Controller; use PragmaRX\Version\Package\Facade as Version; -class StatusController extends RestController +/** + * Class StatusController + * @package App\Http\Controllers\Api + */ +class StatusController extends Controller { /** * @return \Illuminate\Http\JsonResponse @@ -13,7 +18,7 @@ class StatusController extends RestController { return response()->json([ 'version' => Version::compact(), - 'php' => PHP_VERSION, + 'php' => PHP_VERSION, ]); } } diff --git a/app/Http/Controllers/Api/UserController.php b/app/Http/Controllers/Api/UserController.php index 37f3d275..9c39dac7 100644 --- a/app/Http/Controllers/Api/UserController.php +++ b/app/Http/Controllers/Api/UserController.php @@ -2,12 +2,13 @@ namespace App\Http\Controllers\Api; -use App\Http\Resources\Flight as FlightResource; +use App\Http\Resources\Bid as BidResource; use App\Http\Resources\Pirep as PirepResource; use App\Http\Resources\Subfleet as SubfleetResource; use App\Http\Resources\User as UserResource; +use App\Interfaces\Controller; +use App\Models\Bid; use App\Models\Enums\PirepState; -use App\Models\UserBid; use App\Repositories\Criteria\WhereCriteria; use App\Repositories\FlightRepository; use App\Repositories\PirepRepository; @@ -20,24 +21,27 @@ use Illuminate\Http\Request; use Prettus\Repository\Criteria\RequestCriteria; use Prettus\Repository\Exceptions\RepositoryException; - -class UserController extends RestController +/** + * Class UserController + * @package App\Http\Controllers\Api + */ +class UserController extends Controller { - protected $flightRepo, - $flightSvc, - $pirepRepo, - $subfleetRepo, - $userRepo, - $userSvc; + private $flightRepo, + $flightSvc, + $pirepRepo, + $subfleetRepo, + $userRepo, + $userSvc; /** * UserController constructor. - * @param FlightRepository $flightRepo - * @param FlightService $flightSvc - * @param PirepRepository $pirepRepo + * @param FlightRepository $flightRepo + * @param FlightService $flightSvc + * @param PirepRepository $pirepRepo * @param SubfleetRepository $subfleetRepo - * @param UserRepository $userRepo - * @param UserService $userSvc + * @param UserRepository $userRepo + * @param UserService $userSvc */ public function __construct( FlightRepository $flightRepo, @@ -92,6 +96,7 @@ class UserController extends RestController * Return all of the bids for the passed-in user * @param Request $request * @return mixed + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException * @throws \App\Exceptions\BidExists * @throws \App\Services\Exception */ @@ -100,23 +105,30 @@ class UserController extends RestController $user = $this->userRepo->find($this->getUserId($request)); # Add a bid - if ($request->isMethod('PUT')) { + if ($request->isMethod('PUT') || $request->isMethod('POST')) { $flight_id = $request->input('flight_id'); $flight = $this->flightRepo->find($flight_id); - $this->flightSvc->addBid($flight, $user); + $bid = $this->flightSvc->addBid($flight, $user); + + return new BidResource($bid); } - elseif ($request->isMethod('DELETE')) { - $flight_id = $request->input('flight_id'); + if ($request->isMethod('DELETE')) { + if ($request->filled('bid_id')) { + $bid = Bid::findOrFail($request->input('bid_id')); + $flight_id = $bid->flight_id; + } else { + $flight_id = $request->input('flight_id'); + } + $flight = $this->flightRepo->find($flight_id); $this->flightSvc->removeBid($flight, $user); } # Return the flights they currently have bids on - $flights = UserBid::where(['user_id' => $user->id]) - ->get()->pluck('flight'); + $bids = Bid::where(['user_id' => $user->id])->get(); - return FlightResource::collection($flights); + return BidResource::collection($bids); } /** @@ -145,7 +157,7 @@ class UserController extends RestController 'user_id' => $this->getUserId($request), ]; - if(filled($request->query('state'))) { + if (filled($request->query('state'))) { $where['state'] = $request->query('state'); } else { $where[] = ['state', '!=', PirepState::CANCELLED]; diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php index 8df86d0d..01391717 100755 --- a/app/Http/Controllers/Auth/ForgotPasswordController.php +++ b/app/Http/Controllers/Auth/ForgotPasswordController.php @@ -2,9 +2,13 @@ namespace App\Http\Controllers\Auth; -use App\Http\Controllers\Controller; +use App\Interfaces\Controller; use Illuminate\Foundation\Auth\SendsPasswordResetEmails; +/** + * Class ForgotPasswordController + * @package App\Http\Controllers\Auth + */ class ForgotPasswordController extends Controller { use SendsPasswordResetEmails; @@ -22,6 +26,6 @@ class ForgotPasswordController extends Controller */ public function showLinkRequestForm() { - return $this->view('auth.passwords.email'); + return view('auth.passwords.email'); } } diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index dd54f842..668bd419 100755 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -2,13 +2,17 @@ namespace App\Http\Controllers\Auth; -use App\Http\Controllers\Controller; +use App\Interfaces\Controller; use App\Models\Enums\UserState; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Log; +/** + * Class LoginController + * @package App\Http\Controllers\Auth + */ class LoginController extends Controller { use AuthenticatesUsers; @@ -20,6 +24,7 @@ class LoginController extends Controller */ public function __construct() { + $this->redirectTo = config('app.login_redirect'); $this->middleware('guest', ['except' => 'logout']); } @@ -28,7 +33,7 @@ class LoginController extends Controller */ public function showLoginForm() { - return $this->view('auth/login'); + return view('auth/login'); } /** @@ -43,22 +48,21 @@ class LoginController extends Controller $user->save(); // TODO: How to handle ON_LEAVE? - if($user->state !== UserState::ACTIVE) { - - Log::info('Trying to login '. $user->pilot_id .', state ' - . UserState::label($user->state)); + if ($user->state !== UserState::ACTIVE) { + Log::info('Trying to login '.$user->pilot_id.', state ' + .UserState::label($user->state)); // Log them out $this->guard()->logout(); $request->session()->invalidate(); // Redirect to one of the error pages - if($user->state === UserState::PENDING) { - return $this->view('auth.pending'); + if ($user->state === UserState::PENDING) { + return view('auth.pending'); } elseif ($user->state === UserState::REJECTED) { - return $this->view('auth.rejected'); + return view('auth.rejected'); } elseif ($user->state === UserState::SUSPENDED) { - return $this->view('auth.suspended'); + return view('auth.suspended'); } } diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index b6bd853f..28bc0737 100755 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -3,12 +3,13 @@ namespace App\Http\Controllers\Auth; use App\Facades\Utils; -use App\Http\Controllers\Controller; +use App\Interfaces\Controller; use App\Models\Enums\UserState; use App\Models\User; use App\Repositories\AirlineRepository; use App\Repositories\AirportRepository; use App\Services\UserService; +use App\Support\Countries; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; @@ -16,6 +17,10 @@ use Jackiedo\Timezonelist\Facades\Timezonelist; use Log; use Validator; +/** + * Class RegisterController + * @package App\Http\Controllers\Auth + */ class RegisterController extends Controller { use RegistersUsers; @@ -26,15 +31,15 @@ class RegisterController extends Controller */ protected $redirectTo = '/'; - protected $airlineRepo, - $airportRepo, - $userService; + private $airlineRepo, + $airportRepo, + $userService; /** * RegisterController constructor. * @param AirlineRepository $airlineRepo * @param AirportRepository $airportRepo - * @param UserService $userService + * @param UserService $userService */ public function __construct( AirlineRepository $airlineRepo, @@ -45,6 +50,8 @@ class RegisterController extends Controller $this->airportRepo = $airportRepo; $this->userService = $userService; $this->middleware('guest'); + + $this->redirectTo = config('app.registration_redirect'); } /** @@ -55,46 +62,52 @@ class RegisterController extends Controller $airports = $this->airportRepo->selectBoxList(false, true); $airlines = $this->airlineRepo->selectBoxList(); - return $this->view('auth.register', [ - 'airports' => $airports, - 'airlines' => $airlines, + return view('auth.register', [ + 'airports' => $airports, + 'airlines' => $airlines, + 'countries' => Countries::getSelectList(), 'timezones' => Timezonelist::toArray(), ]); } - /** - * Get a validator for an incoming registration request. - * @param array $data - * @return \Illuminate\Contracts\Validation\Validator - */ - protected function validator(array $data) - { - return Validator::make($data, [ - 'name' => 'required|max:255', - 'email' => 'required|email|max:255|unique:users', - 'airline_id' => 'required', - 'home_airport_id' => 'required', - 'password' => 'required|min:5|confirmed', - ]); - } - /** * Get a validator for an incoming registration request. * @param array $data * @return \Illuminate\Contracts\Validation\Validator + */ + protected function validator(array $data) + { + $rules = [ + 'name' => 'required|max:255', + 'email' => 'required|email|max:255|unique:users', + 'airline_id' => 'required', + 'home_airport_id' => 'required', + 'password' => 'required|min:5|confirmed', + ]; + + if (config('captcha.enabled')) { + $rules['g-recaptcha-response'] = 'required|captcha'; + } + + return Validator::make($data, $rules); + } + + /** + * Get a validator for an incoming registration request. + * @param array $data + * @return User * @throws \RuntimeException + * @throws \Exception */ protected function create(array $data) { - $opts = [ - 'name' => $data['name'], - 'email' => $data['email'], + // Default options + $opts = array_merge([ 'api_key' => Utils::generateApiKey(), - 'airline_id' => $data['airline_id'], - 'home_airport_id' => $data['home_airport_id'], - 'curr_airport_id' => $data['home_airport_id'], - 'password' => Hash::make($data['password']) - ]; + ], $data); + + $opts['curr_airport_id'] = $data['home_airport_id']; + $opts['password'] = Hash::make($data['password']); $user = User::create($opts); $user = $this->userService->createPilot($user); @@ -106,25 +119,35 @@ class RegisterController extends Controller /** * Handle a registration request for the application. - * @throws \RuntimeException + * @param Request $request + * @return mixed + * @throws \Exception */ public function register(Request $request) { - $this->validate(request(), [ - 'name' => 'required', - 'email' => 'required|email|unique:users,email', - 'airline_id' => 'required', + $rules = [ + 'name' => 'required', + 'email' => 'required|email|unique:users,email', + 'airline_id' => 'required', 'home_airport_id' => 'required', - 'password' => 'required|confirmed' - ]); + 'password' => 'required|confirmed', + 'timezone' => 'required', + 'country' => 'required', + ]; + + if (config('captcha.enabled')) { + $rules['g-recaptcha-response'] = 'required|captcha'; + } + + $this->validate(request(), $rules); $user = $this->create($request->all()); - - if($user->state === UserState::PENDING) { - return $this->view('auth.pending'); + if ($user->state === UserState::PENDING) { + return view('auth.pending'); } $this->guard()->login($user); + return redirect('/dashboard'); } } diff --git a/app/Http/Controllers/Auth/ResetPasswordController.php b/app/Http/Controllers/Auth/ResetPasswordController.php index 2fc2837f..87bc20bf 100755 --- a/app/Http/Controllers/Auth/ResetPasswordController.php +++ b/app/Http/Controllers/Auth/ResetPasswordController.php @@ -2,24 +2,28 @@ namespace App\Http\Controllers\Auth; -use App\Http\Controllers\Controller; +use App\Interfaces\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; use Illuminate\Http\Request; +/** + * Class ResetPasswordController + * @package App\Http\Controllers\Auth + */ class ResetPasswordController extends Controller { - protected $redirectTo = '/login'; - use ResetsPasswords; + protected $redirectTo = '/login'; + /** * @param Request $request - * @param null $token + * @param null $token * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function showResetForm(Request $request, $token = null) { - return $this->view('auth.passwords.reset', + return view('auth.passwords.reset', ['token' => $token, 'email' => $request->email] ); } diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php deleted file mode 100755 index aea044a4..00000000 --- a/app/Http/Controllers/Controller.php +++ /dev/null @@ -1,25 +0,0 @@ -acarsRepo->getPositions(); $positions = $this->geoSvc->getFeatureForLiveFlights($pireps); - return $this->view('acars.index',[ - 'pireps' => $pireps, + return view('acars.index', [ + 'pireps' => $pireps, 'positions' => $positions, ]); } diff --git a/app/Http/Controllers/Frontend/AirportController.php b/app/Http/Controllers/Frontend/AirportController.php new file mode 100644 index 00000000..04714470 --- /dev/null +++ b/app/Http/Controllers/Frontend/AirportController.php @@ -0,0 +1,57 @@ +airportRepo = $airportRepo; + $this->flightRepo = $flightRepo; + } + + /** + * Show the airport + */ + public function show($id, Request $request) + { + $id = strtoupper($id); + + $airport = $this->airportRepo->find($id); + if (empty($airport)) { + Flash::error('Airport not found!'); + return redirect(route('frontend.dashboard.index')); + } + + $inbound_flights = $this->flightRepo->findWhere([ + 'arr_airport_id' => $id, + ])->all(); + + $outbound_flights = $this->flightRepo->findWhere([ + 'dpt_airport_id' => $id, + ])->all(); + + return view('airports.show', [ + 'airport' => $airport, + 'inbound_flights' => $inbound_flights, + 'outbound_flights' => $outbound_flights, + ]); + } +} diff --git a/app/Http/Controllers/Frontend/DashboardController.php b/app/Http/Controllers/Frontend/DashboardController.php index f2b5636d..69ce6fbf 100644 --- a/app/Http/Controllers/Frontend/DashboardController.php +++ b/app/Http/Controllers/Frontend/DashboardController.php @@ -2,26 +2,25 @@ namespace App\Http\Controllers\Frontend; -use App\Http\Controllers\Controller; +use App\Interfaces\Controller; use App\Repositories\PirepRepository; -use App\Repositories\UserRepository; use Illuminate\Support\Facades\Auth; +/** + * Class DashboardController + * @package App\Http\Controllers\Frontend + */ class DashboardController extends Controller { - private $pirepRepo, $userRepo; + private $pirepRepo; /** * DashboardController constructor. * @param PirepRepository $pirepRepo - * @param UserRepository $userRepo */ - public function __construct( - PirepRepository $pirepRepo, - UserRepository $userRepo - ) { + public function __construct(PirepRepository $pirepRepo) + { $this->pirepRepo = $pirepRepo; - $this->userRepo = $userRepo; } /** @@ -34,11 +33,16 @@ class DashboardController extends Controller try { $last_pirep = $this->pirepRepo->find($user->last_pirep_id); - } catch(\Exception $e) { } + } catch (\Exception $e) { + } - return $this->view('dashboard.index', [ - 'user' => $user, - 'last_pirep' => $last_pirep, + // Get the current airport for the weather + $current_airport = $user->curr_airport_id ?? $user->home_airport_id; + + return view('dashboard.index', [ + 'user' => $user, + 'current_airport' => $current_airport, + 'last_pirep' => $last_pirep, ]); } } diff --git a/app/Http/Controllers/Frontend/DownloadController.php b/app/Http/Controllers/Frontend/DownloadController.php new file mode 100644 index 00000000..aa3056a1 --- /dev/null +++ b/app/Http/Controllers/Frontend/DownloadController.php @@ -0,0 +1,85 @@ +get(); + + /** + * Group all the files but compound the model with the ID, + * since we can have multiple files for every `ref_model` + */ + $grouped_files = $files->groupBy(function($item, $key) { + return $item['ref_model'].'_'.$item['ref_model_id']; + }); + + /** + * The $group here looks like: App\Models\Airport_KAUS + * Split it into the $class and $id, and then change the + * name of the group to the object instance "name" + */ + $regrouped_files = []; + foreach($grouped_files as $group => $files) { + [$class, $id] = explode('_', $group); + $klass = new $class(); + $obj = $klass->find($id); + + $category = explode('\\', $class); + $category = end($category); + + $group_name = $category.' - '.$obj->name; + $regrouped_files[$group_name] = $files; + } + + return view('downloads.index', [ + 'grouped_files' => $regrouped_files, + ]); + } + + /** + * Show the application dashboard. + */ + public function show($id) + { + /** + * @var File $file + */ + $file = File::find($id); + if (!$file) { + Flash::error('File doesn\'t exist'); + return redirect()->back(); + } + + // Allowed to download? If not, direct to login + if (!$file->public && !Auth::check()) { + return redirect(config('app.login_redirect')); + } + + ++$file->download_count; + $file->save(); + + if($file->disk === 'public') { + $storage = Storage::disk('public'); + return $storage->download($file->path, $file->filename); + } + + // TODO: Config for streamed response? + return redirect()->to($file->url); + } +} diff --git a/app/Http/Controllers/Frontend/FlightController.php b/app/Http/Controllers/Frontend/FlightController.php index 2eef8b28..e06589f1 100644 --- a/app/Http/Controllers/Frontend/FlightController.php +++ b/app/Http/Controllers/Frontend/FlightController.php @@ -2,19 +2,23 @@ namespace App\Http\Controllers\Frontend; -use App\Http\Controllers\Controller; -use App\Models\UserBid; +use App\Interfaces\Controller; +use App\Models\Bid; use App\Repositories\AirlineRepository; use App\Repositories\AirportRepository; use App\Repositories\Criteria\WhereCriteria; use App\Repositories\FlightRepository; -use App\Services\FlightService; use App\Services\GeoService; +use Flash; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Log; use Prettus\Repository\Exceptions\RepositoryException; +/** + * Class FlightController + * @package App\Http\Controllers\Frontend + */ class FlightController extends Controller { private $airlineRepo, @@ -26,21 +30,18 @@ class FlightController extends Controller * FlightController constructor. * @param AirlineRepository $airlineRepo * @param AirportRepository $airportRepo - * @param FlightRepository $flightRepo - * @param FlightService $flightSvc - * @param GeoService $geoSvc + * @param FlightRepository $flightRepo + * @param GeoService $geoSvc */ public function __construct( AirlineRepository $airlineRepo, AirportRepository $airportRepo, FlightRepository $flightRepo, - FlightService $flightSvc, GeoService $geoSvc ) { $this->airlineRepo = $airlineRepo; $this->airportRepo = $airportRepo; $this->flightRepo = $flightRepo; - $this->flightSvc = $flightSvc; $this->geoSvc = $geoSvc; } @@ -50,7 +51,9 @@ class FlightController extends Controller */ public function index(Request $request) { - $where = ['active' => true]; + $where = [ + 'active' => true + ]; // default restrictions on the flights shown. Handle search differently if (setting('pilots.only_flights_from_current')) { @@ -63,16 +66,39 @@ class FlightController extends Controller Log::emergency($e); } - $flights = $this->flightRepo->paginate(); + $flights = $this->flightRepo + ->orderBy('flight_number', 'asc') + ->paginate(); - $saved_flights = UserBid::where('user_id', Auth::id()) - ->pluck('flight_id')->toArray(); + $saved_flights = Bid::where('user_id', Auth::id()) + ->pluck('flight_id')->toArray(); - return $this->view('flights.index', [ + return view('flights.index', [ 'airlines' => $this->airlineRepo->selectBoxList(true), 'airports' => $this->airportRepo->selectBoxList(true), - 'flights' => $flights, - 'saved' => $saved_flights, + 'flights' => $flights, + 'saved' => $saved_flights, + ]); + } + + /** + * Find the user's bids and display them + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + */ + public function bids(Request $request) + { + $user = Auth::user(); + + $flights = $user->flights()->paginate(); + $saved_flights = $flights->pluck('id')->toArray(); + + return view('flights.index', [ + 'title' => 'Bids', + 'airlines' => $this->airlineRepo->selectBoxList(true), + 'airports' => $this->airportRepo->selectBoxList(true), + 'flights' => $flights, + 'saved' => $saved_flights, ]); } @@ -86,14 +112,14 @@ class FlightController extends Controller { $flights = $this->flightRepo->searchCriteria($request)->paginate(); - $saved_flights = UserBid::where('user_id', Auth::id()) - ->pluck('flight_id')->toArray(); + $saved_flights = Bid::where('user_id', Auth::id()) + ->pluck('flight_id')->toArray(); - return $this->view('flights.index', [ + return view('flights.index', [ 'airlines' => $this->airlineRepo->selectBoxList(true), 'airports' => $this->airportRepo->selectBoxList(true), - 'flights' => $flights, - 'saved' => $saved_flights, + 'flights' => $flights, + 'saved' => $saved_flights, ]); } @@ -112,8 +138,8 @@ class FlightController extends Controller $map_features = $this->geoSvc->flightGeoJson($flight); - return $this->view('flights.show', [ - 'flight' => $flight, + return view('flights.show', [ + 'flight' => $flight, 'map_features' => $map_features, ]); } diff --git a/app/Http/Controllers/Frontend/HomeController.php b/app/Http/Controllers/Frontend/HomeController.php index 2061bbb4..2c47e360 100644 --- a/app/Http/Controllers/Frontend/HomeController.php +++ b/app/Http/Controllers/Frontend/HomeController.php @@ -2,10 +2,14 @@ namespace App\Http\Controllers\Frontend; -use App\Http\Controllers\Controller; +use App\Interfaces\Controller; use App\Models\User; use Illuminate\Database\QueryException; +/** + * Class HomeController + * @package App\Http\Controllers\Frontend + */ class HomeController extends Controller { /** @@ -19,7 +23,7 @@ class HomeController extends Controller return view('system/errors/not_installed'); } - return $this->view('home', [ + return view('home', [ 'users' => $users, ]); } diff --git a/app/Http/Controllers/Frontend/PirepController.php b/app/Http/Controllers/Frontend/PirepController.php index 79a0c282..f8072514 100644 --- a/app/Http/Controllers/Frontend/PirepController.php +++ b/app/Http/Controllers/Frontend/PirepController.php @@ -2,66 +2,77 @@ namespace App\Http\Controllers\Frontend; +use App\Exceptions\UserNotAtAirport; use App\Facades\Utils; -use App\Http\Controllers\Controller; use App\Http\Requests\CreatePirepRequest; -use App\Models\Enums\AcarsType; +use App\Http\Requests\UpdatePirepRequest; +use App\Interfaces\Controller; use App\Models\Enums\PirepSource; use App\Models\Enums\PirepState; use App\Models\Pirep; -use App\Repositories\AcarsRepository; +use App\Repositories\AircraftRepository; use App\Repositories\AirlineRepository; use App\Repositories\AirportRepository; use App\Repositories\Criteria\WhereCriteria; use App\Repositories\PirepFieldRepository; use App\Repositories\PirepRepository; -use App\Repositories\SubfleetRepository; +use App\Services\FareService; use App\Services\GeoService; -use App\Services\PIREPService; +use App\Services\PirepService; use App\Services\UserService; +use App\Support\Units\Time; +use Carbon\Carbon; +use Flash; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Log; - +/** + * Class PirepController + * @package App\Http\Controllers\Frontend + */ class PirepController extends Controller { - private $airlineRepo, + private $aircraftRepo, + $airlineRepo, + $fareSvc, + $geoSvc, $pirepRepo, $airportRepo, $pirepFieldRepo, - $geoSvc, $pirepSvc, - $subfleetRepo, $userSvc; /** * PirepController constructor. - * @param AirlineRepository $airlineRepo - * @param PirepRepository $pirepRepo - * @param AirportRepository $airportRepo + * @param AircraftRepository $aircraftRepo + * @param AirlineRepository $airlineRepo + * @param AirportRepository $airportRepo + * @param FareService $fareSvc + * @param GeoService $geoSvc + * @param PirepRepository $pirepRepo * @param PirepFieldRepository $pirepFieldRepo - * @param GeoService $geoSvc - * @param SubfleetRepository $subfleetRepo - * @param PIREPService $pirepSvc - * @param UserService $userSvc + * @param PirepService $pirepSvc + * @param UserService $userSvc */ public function __construct( + AircraftRepository $aircraftRepo, AirlineRepository $airlineRepo, - PirepRepository $pirepRepo, AirportRepository $airportRepo, - PirepFieldRepository $pirepFieldRepo, + FareService $fareSvc, GeoService $geoSvc, - SubfleetRepository $subfleetRepo, - PIREPService $pirepSvc, + PirepRepository $pirepRepo, + PirepFieldRepository $pirepFieldRepo, + PirepService $pirepSvc, UserService $userSvc ) { + $this->aircraftRepo = $aircraftRepo; $this->airlineRepo = $airlineRepo; $this->pirepRepo = $pirepRepo; $this->airportRepo = $airportRepo; - $this->subfleetRepo = $subfleetRepo; $this->pirepFieldRepo = $pirepFieldRepo; + $this->fareSvc = $fareSvc; $this->geoSvc = $geoSvc; $this->pirepSvc = $pirepSvc; $this->userSvc = $userSvc; @@ -72,19 +83,19 @@ class PirepController extends Controller * @param null $user * @return array */ - public function aircraftList($user=null, $add_blank=false) + public function aircraftList($user = null, $add_blank = false) { $aircraft = []; $subfleets = $this->userSvc->getAllowableSubfleets($user); - if($add_blank) { + if ($add_blank) { $aircraft[''] = ''; } foreach ($subfleets as $subfleet) { $tmp = []; foreach ($subfleet->aircraft as $ac) { - $tmp[$ac->id] = $ac['name'] . ' - ' . $ac['registration']; + $tmp[$ac->id] = $ac['name'].' - '.$ac['registration']; } $aircraft[$subfleet->name] = $tmp; @@ -93,6 +104,57 @@ class PirepController extends Controller return $aircraft; } + /** + * Save any custom fields found + * @param Pirep $pirep + * @param Request $request + */ + protected function saveCustomFields(Pirep $pirep, Request $request) + { + $custom_fields = []; + $pirep_fields = $this->pirepFieldRepo->all(); + foreach ($pirep_fields as $field) { + if (!$request->filled($field->slug)) { + continue; + } + + $custom_fields[] = [ + 'name' => $field->name, + 'value' => $request->input($field->slug), + 'source' => PirepSource::MANUAL + ]; + } + + Log::info('PIREP Custom Fields', $custom_fields); + $this->pirepSvc->updateCustomFields($pirep->id, $custom_fields); + } + + /** + * Save the fares that have been specified/saved + * @param Pirep $pirep + * @param Request $request + * @throws \Exception + */ + protected function saveFares(Pirep $pirep, Request $request) + { + $fares = []; + foreach ($pirep->aircraft->subfleet->fares as $fare) { + $field_name = 'fare_'.$fare->id; + if (!$request->filled($field_name)) { + $count = 0; + } else { + $count = $request->input($field_name); + } + + $fares[] = [ + 'fare_id' => $fare->id, + 'count' => $count, + ]; + } + + $this->fareSvc->saveForPirep($pirep, $fares); + } + /** * @param Request $request * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View @@ -108,22 +170,65 @@ class PirepController extends Controller $this->pirepRepo->pushCriteria(new WhereCriteria($request, $where)); $pireps = $this->pirepRepo->orderBy('created_at', 'desc')->paginate(); - return $this->view('pireps.index', [ - 'user' => $user, + return view('pireps.index', [ + 'user' => $user, 'pireps' => $pireps, ]); } + /** + * @param $id + * @return mixed + */ + public function show($id) + { + $pirep = $this->pirepRepo->find($id); + if (empty($pirep)) { + Flash::error('Pirep not found'); + + return redirect(route('frontend.pirep.index')); + } + + $map_features = $this->geoSvc->pirepGeoJson($pirep); + + return view('pireps.show', [ + 'pirep' => $pirep, + 'map_features' => $map_features, + ]); + } + + /** + * Return the fares form for a given aircraft + * @param Request $request + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + */ + public function fares(Request $request) + { + $aircraft_id = $request->input('aircraft_id'); + $aircraft = $this->aircraftRepo->find($aircraft_id); + + return view('pireps.fares', [ + 'aircraft' => $aircraft, + 'read_only' => false, + ]); + } + + /** + * Create a new flight report + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + */ public function create() { $user = Auth::user(); - return $this->view('pireps.create', [ - 'airlines' => $this->airlineRepo->selectBoxList(true), - 'aircraft' => $this->aircraftList($user, true), - 'airports' => $this->airportRepo->selectBoxList(true), - 'pirep_fields' => $this->pirepFieldRepo->all(), - 'field_values' => [], + return view('pireps.create', [ + 'aircraft' => null, + 'read_only' => false, + 'airline_list' => $this->airlineRepo->selectBoxList(true), + 'aircraft_list' => $this->aircraftList($user, true), + 'airport_list' => $this->airportRepo->selectBoxList(true), + 'pirep_fields' => $this->pirepFieldRepo->all(), + 'field_values' => [], ]); } @@ -138,11 +243,40 @@ class PirepController extends Controller $pirep = new Pirep($request->post()); $pirep->user_id = Auth::user()->id; + # Are they allowed at this airport? + if (setting('pilots.only_flights_from_current') + && Auth::user()->curr_airport_id !== $pirep->dpt_airport_id) { + return $this->flashError( + 'You are currently not at the departure airport!', + 'frontend.pireps.create' + ); + } + + # Can they fly this aircraft? + if (setting('pireps.restrict_aircraft_to_rank', false) + && !$this->userSvc->aircraftAllowed(Auth::user(), $pirep->aircraft_id)) { + return $this->flashError( + 'You are not allowed to fly this aircraft!', + 'frontend.pireps.create' + ); + } + + # is the aircraft in the right place? + if (setting('pireps.only_aircraft_at_dpt_airport') + && $pirep->aircraft_id !== $pirep->dpt_airport_id) { + return $this->flashError( + 'This aircraft is not positioned at the departure airport!', + 'frontend.pireps.create' + ); + } + # Make sure this isn't a duplicate $dupe_pirep = $this->pirepSvc->findDuplicate($pirep); if ($dupe_pirep !== false) { - flash()->error('This PIREP has already been filed.'); - return redirect(route('frontend.pireps.create'))->withInput(); + return $this->flashError( + 'This PIREP has already been filed.', + 'frontend.pireps.create' + ); } // Any special fields @@ -150,45 +284,94 @@ class PirepController extends Controller $minutes = (int) $request->input('minutes', 0); $pirep->flight_time = Utils::hoursToMinutes($hours) + $minutes; - // The custom fields from the form - $custom_fields = []; - $pirep_fields = $this->pirepFieldRepo->all(); - foreach ($pirep_fields as $field) { - if(!$request->filled($field->slug)) { - continue; - } + // Put the time that this is currently submitted + $attrs['submitted_at'] = Carbon::now('UTC'); - $custom_fields[] = [ - 'name' => $field->name, - 'value' => $request->input($field->slug), - 'source' => PirepSource::MANUAL - ]; - } - - Log::info('PIREP Custom Fields', $custom_fields); - $pirep = $this->pirepSvc->create($pirep, $custom_fields); + $pirep = $this->pirepSvc->create($pirep); + $this->saveCustomFields($pirep, $request); + $this->saveFares($pirep, $request); $this->pirepSvc->saveRoute($pirep); return redirect(route('frontend.pireps.show', ['id' => $pirep->id])); } /** - * @param $id + * Show the form for editing the specified Pirep. + * @param int $id * @return mixed */ - public function show($id) + public function edit($id) { - $pirep = $this->pirepRepo->find($id); + $pirep = $this->pirepRepo->findWithoutFail($id); if (empty($pirep)) { Flash::error('Pirep not found'); - return redirect(route('frontend.pirep.index')); + + return redirect(route('frontend.pireps.index')); } - $map_features = $this->geoSvc->pirepGeoJson($pirep); + $time = new Time($pirep->flight_time); + $pirep->hours = $time->hours; + $pirep->minutes = $time->minutes; - return $this->view('pireps.show', [ - 'pirep' => $pirep, - 'map_features' => $map_features, + # set the custom fields + foreach ($pirep->fields as $field) { + $pirep->{$field->slug} = $field->value; + } + + # set the fares + foreach ($pirep->fares as $fare) { + $field_name = 'fare_'.$fare->fare_id; + $pirep->{$field_name} = $fare->count; + } + + return view('pireps.edit', [ + 'pirep' => $pirep, + 'aircraft' => $pirep->aircraft, + 'aircraft_list' => $this->aircraftList(), + 'airline_list' => $this->airlineRepo->selectBoxList(), + 'airport_list' => $this->airportRepo->selectBoxList(), + 'pirep_fields' => $this->pirepFieldRepo->all(), ]); } + + /** + * @param $id + * @param UpdatePirepRequest $request + * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector + * @throws \Prettus\Validator\Exceptions\ValidatorException + * @throws \Exception + */ + public function update($id, UpdatePirepRequest $request) + { + $pirep = $this->pirepRepo->findWithoutFail($id); + + if (empty($pirep)) { + Flash::error('Pirep not found'); + + return redirect(route('admin.pireps.index')); + } + + $orig_route = $pirep->route; + + $attrs = $request->all(); + + # Fix the time + $attrs['flight_time'] = Time::init( + $attrs['minutes'], + $attrs['hours'])->getMinutes(); + + $pirep = $this->pirepRepo->update($attrs, $id); + + // A route change in the PIREP, so update the saved points in the ACARS table + if ($pirep->route !== $orig_route) { + $this->pirepSvc->saveRoute($pirep); + } + + $this->saveCustomFields($pirep, $request); + $this->saveFares($pirep, $request); + + Flash::success('Pirep updated successfully.'); + + return redirect(route('frontend.pireps.show', ['id' => $pirep->id])); + } } diff --git a/app/Http/Controllers/Frontend/ProfileController.php b/app/Http/Controllers/Frontend/ProfileController.php index e08637a7..9f9ad2ac 100644 --- a/app/Http/Controllers/Frontend/ProfileController.php +++ b/app/Http/Controllers/Frontend/ProfileController.php @@ -3,7 +3,7 @@ namespace App\Http\Controllers\Frontend; use App\Facades\Utils; -use App\Http\Controllers\Controller; +use App\Interfaces\Controller; use App\Models\User; use App\Repositories\AirlineRepository; use App\Repositories\AirportRepository; @@ -17,6 +17,10 @@ use Jackiedo\Timezonelist\Facades\Timezonelist; use Log; use Validator; +/** + * Class ProfileController + * @package App\Http\Controllers\Frontend + */ class ProfileController extends Controller { private $airlineRepo, @@ -27,7 +31,7 @@ class ProfileController extends Controller * ProfileController constructor. * @param AirlineRepository $airlineRepo * @param AirportRepository $airportRepo - * @param UserRepository $userRepo + * @param UserRepository $userRepo */ public function __construct( AirlineRepository $airlineRepo, @@ -44,10 +48,14 @@ class ProfileController extends Controller */ public function index() { - $airports = $this->airportRepo->all(); + if (setting('pilots.home_hubs_only')) { + $airports = $this->airportRepo->findWhere(['hub' => true]); + } else { + $airports = $this->airportRepo->all(); + } - return $this->view('profile.index', [ - 'user' => Auth::user(), + return view('profile.index', [ + 'user' => Auth::user(), 'airports' => $airports, ]); } @@ -61,13 +69,14 @@ class ProfileController extends Controller $user = User::where('id', $id)->first(); if (empty($user)) { Flash::error('User not found!'); + return redirect(route('frontend.dashboard.index')); } $airports = $this->airportRepo->all(); - return $this->view('profile.index', [ - 'user' => $user, + return view('profile.index', [ + 'user' => $user, 'airports' => $airports, ]); } @@ -82,13 +91,14 @@ class ProfileController extends Controller $user = User::where('id', Auth::user()->id)->first(); if (empty($user)) { Flash::error('User not found!'); + return redirect(route('frontend.dashboard.index')); } $airlines = $this->airlineRepo->selectBoxList(); - $airports = $this->airportRepo->selectBoxList(); + $airports = $this->airportRepo->selectBoxList(false, setting('pilots.home_hubs_only')); - return $this->view('profile.edit', [ + return view('profile.edit', [ 'user' => $user, 'airlines' => $airlines, 'airports' => $airports, @@ -108,10 +118,10 @@ class ProfileController extends Controller $user = $this->userRepo->findWithoutFail($id); $validator = Validator::make($request->toArray(), [ - 'name' => 'required', - 'email' => 'required|unique:users,email,'.$id, + 'name' => 'required', + 'email' => 'required|unique:users,email,'.$id, 'airline_id' => 'required', - 'password' => 'confirmed' + 'password' => 'confirmed' ]); if ($validator->fails()) { @@ -133,6 +143,7 @@ class ProfileController extends Controller $this->userRepo->update($req_data, $id); Flash::success('Profile updated successfully!'); + return redirect(route('frontend.profile.index')); } @@ -150,6 +161,7 @@ class ProfileController extends Controller $user->save(); flash('New API key generated!')->success(); + return redirect(route('frontend.profile.index')); } } diff --git a/app/Http/Controllers/Frontend/UserController.php b/app/Http/Controllers/Frontend/UserController.php index 3232963d..b30d24ee 100644 --- a/app/Http/Controllers/Frontend/UserController.php +++ b/app/Http/Controllers/Frontend/UserController.php @@ -2,10 +2,14 @@ namespace App\Http\Controllers\Frontend; -use App\Http\Controllers\Controller; +use App\Interfaces\Controller; use App\Repositories\UserRepository; use Illuminate\Http\Request; +/** + * Class UserController + * @package App\Http\Controllers\Frontend + */ class UserController extends Controller { private $userRepo; @@ -26,9 +30,9 @@ class UserController extends Controller */ public function index(Request $request) { - return $this->view('users.index',[ + return view('users.index', [ 'country' => new \League\ISO3166\ISO3166(), - 'users' => $this->userRepo->orderBy('name', 'desc')->paginate(25), + 'users' => $this->userRepo->orderBy('name', 'desc')->paginate(), ]); } } diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index ea4eb178..3180a07d 100755 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -6,24 +6,11 @@ use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { - /** - * The application's global HTTP middleware stack. - * - * These middleware are run during every request to your application. - * - * @var array - */ protected $middleware = [ \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class, \Illuminate\Foundation\Http\Middleware\TrimStrings::class, \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, ]; - - /** - * The application's route middleware groups. - * - * @var array - */ protected $middlewareGroups = [ 'web' => [ \App\Http\Middleware\InstalledCheck::class, @@ -31,9 +18,9 @@ class Kernel extends HttpKernel \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSession::class, \Illuminate\View\Middleware\ShareErrorsFromSession::class, - #\App\Http\Middleware\VerifyCsrfToken::class, + \App\Http\Middleware\VerifyCsrfToken::class, \Illuminate\Routing\Middleware\SubstituteBindings::class, - \Spatie\Pjax\Middleware\FilterIfPjax::class, + //\Spatie\Pjax\Middleware\FilterIfPjax::class, ], 'api' => [ @@ -42,22 +29,14 @@ class Kernel extends HttpKernel 'json', ], ]; - - /** - * The application's route middleware. - * - * These middleware may be assigned to groups or used individually. - * - * @var array - */ protected $routeMiddleware = [ - 'api.auth' => \App\Http\Middleware\ApiAuth::class, - 'auth' => \Illuminate\Auth\Middleware\Authenticate::class, + 'api.auth' => \App\Http\Middleware\ApiAuth::class, + 'auth' => \Illuminate\Auth\Middleware\Authenticate::class, 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, - 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, - 'can' => \Illuminate\Auth\Middleware\Authorize::class, - 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, - 'json' => \App\Http\Middleware\JsonResponse::class, - 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, + 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, + 'can' => \Illuminate\Auth\Middleware\Authorize::class, + 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, + 'json' => \App\Http\Middleware\JsonResponse::class, + 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, ]; } diff --git a/app/Http/Middleware/ApiAuth.php b/app/Http/Middleware/ApiAuth.php index 89500c1a..08abc31e 100644 --- a/app/Http/Middleware/ApiAuth.php +++ b/app/Http/Middleware/ApiAuth.php @@ -16,14 +16,14 @@ class ApiAuth * Handle an incoming request. * * @param \Illuminate\Http\Request $request - * @param \Closure $next + * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { // Check if Authorization header is in place $api_key = $request->header('x-api-key', null); - if($api_key === null) { + if ($api_key === null) { $api_key = $request->header('Authorization', null); if ($api_key === null) { return $this->unauthorized('X-API-KEY header missing'); @@ -32,11 +32,11 @@ class ApiAuth // Try to find the user via API key. Cache this lookup $user = User::where('api_key', $api_key)->first(); - if($user === null) { + if ($user === null) { return $this->unauthorized('User not found with key "'.$api_key.'"'); } - if($user->state !== UserState::ACTIVE) { + if ($user->state !== UserState::ACTIVE) { return $this->unauthorized('User is not ACTIVE, please contact an administrator'); } @@ -54,13 +54,13 @@ class ApiAuth * Return an unauthorized message * @return \Illuminate\Contracts\Routing\ResponseFactory|\Symfony\Component\HttpFoundation\Response */ - private function unauthorized($details='') + private function unauthorized($details = '') { return response([ 'error' => [ - 'code' => '401', + 'code' => '401', 'http_code' => 'Unauthorized', - 'message' => 'Invalid or missing API key ('. $details .')', + 'message' => 'Invalid or missing API key ('.$details.')', ], ], 401); } diff --git a/app/Http/Middleware/JsonResponse.php b/app/Http/Middleware/JsonResponse.php index 5eb06262..5ec02757 100644 --- a/app/Http/Middleware/JsonResponse.php +++ b/app/Http/Middleware/JsonResponse.php @@ -13,6 +13,7 @@ class JsonResponse { $response = $next($request); $response->headers->set('Content-Type', 'application/json'); + return $response; } } diff --git a/app/Http/Middleware/MeasureExecutionTime.php b/app/Http/Middleware/MeasureExecutionTime.php index 04ccef4d..2a6ca73f 100644 --- a/app/Http/Middleware/MeasureExecutionTime.php +++ b/app/Http/Middleware/MeasureExecutionTime.php @@ -21,7 +21,7 @@ class MeasureExecutionTime { // Get the response $response = $next($request); - if(!defined('LUMEN_START')) { + if (!defined('LUMEN_START')) { return $response; } @@ -31,8 +31,8 @@ class MeasureExecutionTime // I assume you're using valid json in your responses // Then I manipulate them below $content = json_decode($response->getContent(), true) + [ - 'execution_time' => $executionTime, - ]; + 'execution_time' => $executionTime, + ]; // Change the content of your response $response->setData($content); diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index e27860e2..8b10025e 100755 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -10,9 +10,9 @@ class RedirectIfAuthenticated /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * @param string|null $guard + * @param \Illuminate\Http\Request $request + * @param \Closure $next + * @param string|null $guard * @return mixed */ public function handle($request, Closure $next, $guard = null) diff --git a/app/Http/Requests/Acars/CommentRequest.php b/app/Http/Requests/Acars/CommentRequest.php index 94bae9ab..9954c2af 100644 --- a/app/Http/Requests/Acars/CommentRequest.php +++ b/app/Http/Requests/Acars/CommentRequest.php @@ -18,7 +18,7 @@ class CommentRequest extends FormRequest public function rules() { $rules = [ - 'comment' => 'required', + 'comment' => 'required', 'created_at' => 'nullable|date', ]; diff --git a/app/Http/Requests/Acars/EventRequest.php b/app/Http/Requests/Acars/EventRequest.php index 8f155945..c5175c9f 100644 --- a/app/Http/Requests/Acars/EventRequest.php +++ b/app/Http/Requests/Acars/EventRequest.php @@ -12,19 +12,24 @@ use Illuminate\Foundation\Http\FormRequest; */ class EventRequest extends FormRequest { + /** + * @return bool + * @throws \Illuminate\Database\Eloquent\ModelNotFoundException + */ public function authorize() { $pirep = Pirep::findOrFail($this->route('pirep_id'), ['user_id']); + return $pirep->user_id === Auth::id(); } public function rules() { $rules = [ - 'events' => 'required|array', - 'events.*.event' => 'required', - 'events.*.lat' => 'nullable|numeric', - 'events.*.lon' => 'nullable|numeric', + 'events' => 'required|array', + 'events.*.event' => 'required', + 'events.*.lat' => 'nullable|numeric', + 'events.*.lon' => 'nullable|numeric', 'events.*.created_at' => 'nullable|date', ]; diff --git a/app/Http/Requests/Acars/FileRequest.php b/app/Http/Requests/Acars/FileRequest.php index a8a93dbf..d835d264 100644 --- a/app/Http/Requests/Acars/FileRequest.php +++ b/app/Http/Requests/Acars/FileRequest.php @@ -15,35 +15,43 @@ class FileRequest extends FormRequest public function authorize() { $pirep = Pirep::findOrFail($this->route('pirep_id'), ['user_id']); + return $pirep->user_id === Auth::id(); } public function rules() { $rules = [ - 'distance' => 'required|numeric', - 'flight_time' => 'required|integer', - 'fuel_used' => 'required|numeric', + 'distance' => 'required|numeric', + 'flight_time' => 'required|integer', + 'fuel_used' => 'required|numeric', - 'airline_id' => 'nullable|exists:airlines,id', - 'aircraft_id' => 'nullable|exists:aircraft,id', - 'flight_id' => 'nullable|exists:flights,id', - 'flight_number' => 'nullable', - 'dpt_airport_id' => 'nullable', - 'arr_airport_id' => 'nullable', - 'route_code' => 'nullable', - 'route_leg' => 'nullable', - 'planned_distance' => 'nullable|numeric', - 'planned_flight_time' => 'nullable|integer', - 'level' => 'nullable|numeric', - 'zfw' => 'nullable|numeric', - 'block_fuel' => 'nullable|numeric', - 'route' => 'nullable', - 'notes' => 'nullable', - 'source_name' => 'nullable|max:25', - 'landing_rate' => 'nullable|numeric', - 'flight_type' => 'nullable|integer', - 'created_at' => 'nullable|date', + 'block_time' => 'nullable|integer', + 'airline_id' => 'nullable|exists:airlines,id', + 'aircraft_id' => 'nullable|exists:aircraft,id', + 'flight_number' => 'nullable', + 'dpt_airport_id' => 'nullable', + 'arr_airport_id' => 'nullable', + 'route_code' => 'nullable', + 'route_leg' => 'nullable', + 'planned_distance' => 'nullable|numeric', + 'planned_flight_time' => 'nullable|integer', + 'level' => 'nullable|numeric', + 'zfw' => 'nullable|numeric', + 'block_fuel' => 'nullable|numeric', + 'route' => 'nullable', + 'notes' => 'nullable', + 'source_name' => 'nullable', + 'landing_rate' => 'nullable|numeric', + 'flight_type' => 'nullable|integer', + 'block_off_time' => 'nullable|date', + 'block_on_time' => 'nullable|date', + 'created_at' => 'nullable|date', + + # See if the fare objects are included and formatted properly + 'fares' => 'nullable|array', + 'fares.*.id' => 'required', + 'fares.*.count' => 'required|numeric', ]; return $rules; diff --git a/app/Http/Requests/Acars/LogRequest.php b/app/Http/Requests/Acars/LogRequest.php index 21da0861..a2a94431 100644 --- a/app/Http/Requests/Acars/LogRequest.php +++ b/app/Http/Requests/Acars/LogRequest.php @@ -15,16 +15,17 @@ class LogRequest extends FormRequest public function authorize() { $pirep = Pirep::findOrFail($this->route('pirep_id'), ['user_id']); + return $pirep->user_id === Auth::id(); } public function rules() { $rules = [ - 'logs' => 'required|array', - 'logs.*.log' => 'required', - 'logs.*.lat' => 'nullable|numeric', - 'logs.*.lon' => 'nullable|numeric', + 'logs' => 'required|array', + 'logs.*.log' => 'required', + 'logs.*.lat' => 'nullable|numeric', + 'logs.*.lon' => 'nullable|numeric', 'logs.*.created_at' => 'nullable|date', ]; diff --git a/app/Http/Requests/Acars/PositionRequest.php b/app/Http/Requests/Acars/PositionRequest.php index 65958d3c..21ca418d 100644 --- a/app/Http/Requests/Acars/PositionRequest.php +++ b/app/Http/Requests/Acars/PositionRequest.php @@ -15,24 +15,25 @@ class PositionRequest extends FormRequest public function authorize() { $pirep = Pirep::findOrFail($this->route('pirep_id'), ['user_id']); + return $pirep->user_id === Auth::id(); } public function rules() { $rules = [ - 'positions' => 'required|array', - 'positions.*.lat' => 'required|numeric', - 'positions.*.lon' => 'required|numeric', - 'positions.*.altitude' => 'nullable|numeric', - 'positions.*.heading' => 'nullable|integer|between:0,360', - 'positions.*.vs' => 'nullable', - 'positions.*.gs' => 'nullable', + 'positions' => 'required|array', + 'positions.*.lat' => 'required|numeric', + 'positions.*.lon' => 'required|numeric', + 'positions.*.altitude' => 'nullable|numeric', + 'positions.*.heading' => 'nullable|integer|between:0,360', + 'positions.*.vs' => 'nullable', + 'positions.*.gs' => 'nullable', 'positions.*.transponder' => 'nullable', - 'positions.*.autopilot' => 'nullable', - 'positions.*.fuel_flow' => 'nullable', - 'positions.*.log' => 'nullable', - 'positions.*.created_at' => 'nullable|date', + 'positions.*.autopilot' => 'nullable', + 'positions.*.fuel_flow' => 'nullable', + 'positions.*.log' => 'nullable', + 'positions.*.created_at' => 'nullable|date', ]; return $rules; diff --git a/app/Http/Requests/Acars/PrefileRequest.php b/app/Http/Requests/Acars/PrefileRequest.php index 519ba1dc..c968d582 100644 --- a/app/Http/Requests/Acars/PrefileRequest.php +++ b/app/Http/Requests/Acars/PrefileRequest.php @@ -18,26 +18,34 @@ class PrefileRequest extends FormRequest public function rules() { $rules = [ - 'airline_id' => 'required|exists:airlines,id', - 'aircraft_id' => 'required|exists:aircraft,id', - 'flight_number' => 'required', - 'dpt_airport_id' => 'required', - 'arr_airport_id' => 'required', - 'source_name' => 'required|max:25', + 'airline_id' => 'required|exists:airlines,id', + 'aircraft_id' => 'required|exists:aircraft,id', + 'flight_number' => 'required', + 'dpt_airport_id' => 'required', + 'arr_airport_id' => 'required', + 'source_name' => 'required', - 'level' => 'nullable|numeric', - 'route_code' => 'nullable', - 'route_leg' => 'nullable', - 'distance' => 'nullable|numeric', - 'flight_time' => 'nullable|integer', - 'planned_distance' => 'nullable|numeric', - 'planned_flight_time' => 'nullable|integer', - 'zfw' => 'nullable|numeric', - 'block_fuel' => 'nullable|numeric', - 'route' => 'nullable', - 'notes' => 'nullable', - 'flight_type' => 'nullable|integer', - 'created_at' => 'nullable|date', + 'level' => 'nullable|numeric', + 'route_code' => 'nullable', + 'route_leg' => 'nullable', + 'distance' => 'nullable|numeric', + 'block_time' => 'nullable|integer', + 'flight_time' => 'nullable|integer', + 'planned_distance' => 'nullable|numeric', + 'planned_flight_time' => 'nullable|integer', + 'zfw' => 'nullable|numeric', + 'block_fuel' => 'nullable|numeric', + 'route' => 'nullable', + 'notes' => 'nullable', + 'flight_type' => 'nullable|integer', + 'block_off_time' => 'nullable|date', + 'block_on_time' => 'nullable|date', + 'created_at' => 'nullable|date', + + # See if the fare objects are included and formatted properly + 'fares' => 'nullable|array', + 'fares.*.id' => 'required', + 'fares.*.count' => 'required|numeric', ]; return $rules; diff --git a/app/Http/Requests/Acars/RouteRequest.php b/app/Http/Requests/Acars/RouteRequest.php index f38b1adf..9500cf2c 100644 --- a/app/Http/Requests/Acars/RouteRequest.php +++ b/app/Http/Requests/Acars/RouteRequest.php @@ -15,18 +15,19 @@ class RouteRequest extends FormRequest public function authorize() { $pirep = Pirep::findOrFail($this->route('pirep_id'), ['user_id']); + return $pirep->user_id === Auth::id(); } public function rules() { $rules = [ - 'route' => 'required|array', - 'route.*.name' => 'required', - 'route.*.order' => 'required|int', + 'route' => 'required|array', + 'route.*.name' => 'required', + 'route.*.order' => 'required|int', 'route.*.nav_type' => 'nullable|int', - 'route.*.lat' => 'required|numeric', - 'route.*.lon' => 'required|numeric', + 'route.*.lat' => 'required|numeric', + 'route.*.lon' => 'required|numeric', ]; return $rules; diff --git a/app/Http/Requests/Acars/UpdateRequest.php b/app/Http/Requests/Acars/UpdateRequest.php index 29e67286..53bfc61c 100644 --- a/app/Http/Requests/Acars/UpdateRequest.php +++ b/app/Http/Requests/Acars/UpdateRequest.php @@ -15,34 +15,44 @@ class UpdateRequest extends FormRequest public function authorize() { $pirep = Pirep::findOrFail($this->route('pirep_id'), ['user_id']); + return $pirep->user_id === Auth::id(); } public function rules() { $rules = [ - 'airline_id' => 'nullable|exists:airlines,id', - 'aircraft_id' => 'nullable|exists:aircraft,id', - 'flight_id' => 'nullable|exists:flights,id', - 'flight_number' => 'nullable', - 'dpt_airport_id' => 'nullable', - 'arr_airport_id' => 'nullable', - 'route_code' => 'nullable', - 'route_leg' => 'nullable', - 'distance' => 'nullable|numeric', - 'planned_distance' => 'nullable|numeric', - 'planned_flight_time' => 'nullable|integer', - 'flight_time' => 'nullable|integer', - 'level' => 'nullable|numeric', - 'zfw' => 'nullable|numeric', - 'fuel_used' => 'nullable|numeric', - 'block_fuel' => 'nullable|numeric', - 'route' => 'nullable', - 'notes' => 'nullable', - 'source_name' => 'nullable|max:25', - 'landing_rate' => 'nullable|numeric', - 'flight_type' => 'nullable|integer', - 'created_at' => 'nullable|date', + 'airline_id' => 'nullable|exists:airlines,id', + 'aircraft_id' => 'nullable|exists:aircraft,id', + 'flight_number' => 'nullable', + 'dpt_airport_id' => 'nullable', + 'arr_airport_id' => 'nullable', + 'route_code' => 'nullable', + 'route_leg' => 'nullable', + 'distance' => 'nullable|numeric', + 'planned_distance' => 'nullable|numeric', + 'block_time' => 'nullable|integer', + 'flight_time' => 'nullable|integer', + 'planned_flight_time' => 'nullable|integer', + 'level' => 'nullable|numeric', + 'zfw' => 'nullable|numeric', + 'fuel_used' => 'nullable|numeric', + 'block_fuel' => 'nullable|numeric', + 'route' => 'nullable', + 'notes' => 'nullable', + 'source_name' => 'nullable|max:25', + 'landing_rate' => 'nullable|numeric', + 'flight_type' => 'nullable|integer', + 'block_off_time' => 'nullable|date', + 'block_on_time' => 'nullable|date', + 'created_at' => 'nullable|date', + 'status' => 'nullable', + 'source_name' => 'nullable', + + # See if the fare objects are included and formatted properly + 'fares' => 'nullable|array', + 'fares.*.id' => 'required', + 'fares.*.count' => 'required|numeric', ]; return $rules; diff --git a/app/Http/Requests/CreateAircraftRequest.php b/app/Http/Requests/CreateAircraftRequest.php index 4497a708..09d7b4cf 100644 --- a/app/Http/Requests/CreateAircraftRequest.php +++ b/app/Http/Requests/CreateAircraftRequest.php @@ -7,24 +7,23 @@ use Illuminate\Foundation\Http\FormRequest; class CreateAircraftRequest extends FormRequest { - /** * Determine if the user is authorized to make this request. - * * @return bool */ - public function authorize() + public function authorize(): bool { return true; } /** * Get the validation rules that apply to the request. - * * @return array */ - public function rules() + public function rules(): array { - return Aircraft::$rules; + $rules = Aircraft::$rules; + $rules['registration'] .= '|unique:aircraft'; + return $rules; } } diff --git a/app/Http/Requests/CreateAirlineRequest.php b/app/Http/Requests/CreateAirlineRequest.php index 86dcc188..6dd8fae1 100644 --- a/app/Http/Requests/CreateAirlineRequest.php +++ b/app/Http/Requests/CreateAirlineRequest.php @@ -17,6 +17,7 @@ class CreateAirlineRequest extends FormRequest $rules = Airline::$rules; $rules['iata'] .= '|unique:airlines'; $rules['icao'] .= '|unique:airlines'; + return $rules; } } diff --git a/app/Http/Requests/CreateAirportRequest.php b/app/Http/Requests/CreateAirportRequest.php index 52e6fa66..869cc11c 100644 --- a/app/Http/Requests/CreateAirportRequest.php +++ b/app/Http/Requests/CreateAirportRequest.php @@ -5,14 +5,26 @@ namespace App\Http\Requests; use App\Models\Airport; use Illuminate\Foundation\Http\FormRequest; +/** + * Class CreateAirportRequest + * @package App\Http\Requests + */ class CreateAirportRequest extends FormRequest { - public function authorize() + /** + * Determine if the user is authorized to make this request. + * @return bool + */ + public function authorize(): bool { return true; } - public function rules() + /** + * Get the validation rules that apply to the request. + * @return array + */ + public function rules(): array { $rules = Airport::$rules; $rules['icao'] .= '|unique:airports'; diff --git a/app/Http/Requests/CreateAwardRequest.php b/app/Http/Requests/CreateAwardRequest.php new file mode 100755 index 00000000..540086ae --- /dev/null +++ b/app/Http/Requests/CreateAwardRequest.php @@ -0,0 +1,29 @@ + 'required|file', + ]; + + /** + * @param Request $request + * @throws \Illuminate\Validation\ValidationException + */ + public static function validate(Request $request) + { + \Validator::make($request->all(), static::$rules)->validate(); + } + + public function authorize(): bool + { + return true; + } + + public function rules(): array + { + return static::$rules; + } +} diff --git a/app/Http/Requests/UpdateAircraftRequest.php b/app/Http/Requests/UpdateAircraftRequest.php index 624e1dbe..1f8a00de 100644 --- a/app/Http/Requests/UpdateAircraftRequest.php +++ b/app/Http/Requests/UpdateAircraftRequest.php @@ -2,12 +2,11 @@ namespace App\Http\Requests; -use Illuminate\Foundation\Http\FormRequest; use App\Models\Aircraft; +use Illuminate\Foundation\Http\FormRequest; class UpdateAircraftRequest extends FormRequest { - /** * Determine if the user is authorized to make this request. * diff --git a/app/Http/Requests/UpdateAirlineRequest.php b/app/Http/Requests/UpdateAirlineRequest.php index e17f6306..b84bda48 100644 --- a/app/Http/Requests/UpdateAirlineRequest.php +++ b/app/Http/Requests/UpdateAirlineRequest.php @@ -7,7 +7,6 @@ use Illuminate\Foundation\Http\FormRequest; class UpdateAirlineRequest extends FormRequest { - /** * Determine if the user is authorized to make this request. * diff --git a/app/Http/Requests/UpdateAirportRequest.php b/app/Http/Requests/UpdateAirportRequest.php index a6a0d2d9..bf635d41 100644 --- a/app/Http/Requests/UpdateAirportRequest.php +++ b/app/Http/Requests/UpdateAirportRequest.php @@ -7,7 +7,6 @@ use Illuminate\Foundation\Http\FormRequest; class UpdateAirportRequest extends FormRequest { - /** * Determine if the user is authorized to make this request. * diff --git a/app/Http/Requests/UpdateAwardRequest.php b/app/Http/Requests/UpdateAwardRequest.php new file mode 100755 index 00000000..252361ab --- /dev/null +++ b/app/Http/Requests/UpdateAwardRequest.php @@ -0,0 +1,29 @@ + 'required', + 'file' => 'nullable|file', + + #'files.*' => 'required|file', + ]; + } +} diff --git a/app/Http/Requests/UpdateFlightRequest.php b/app/Http/Requests/UpdateFlightRequest.php index f5ab1582..58596fa8 100644 --- a/app/Http/Requests/UpdateFlightRequest.php +++ b/app/Http/Requests/UpdateFlightRequest.php @@ -7,7 +7,6 @@ use Illuminate\Foundation\Http\FormRequest; class UpdateFlightRequest extends FormRequest { - /** * Determine if the user is authorized to make this request. * diff --git a/app/Http/Requests/UpdatePirepFieldRequest.php b/app/Http/Requests/UpdatePirepFieldRequest.php index 78f14eba..c70b5385 100644 --- a/app/Http/Requests/UpdatePirepFieldRequest.php +++ b/app/Http/Requests/UpdatePirepFieldRequest.php @@ -7,7 +7,6 @@ use Illuminate\Foundation\Http\FormRequest; class UpdatePirepFieldRequest extends FormRequest { - /** * Determine if the user is authorized to make this request. * diff --git a/app/Http/Requests/UpdatePirepRequest.php b/app/Http/Requests/UpdatePirepRequest.php index c0569d39..35f8cf17 100644 --- a/app/Http/Requests/UpdatePirepRequest.php +++ b/app/Http/Requests/UpdatePirepRequest.php @@ -7,7 +7,6 @@ use Illuminate\Foundation\Http\FormRequest; class UpdatePirepRequest extends FormRequest { - /** * Determine if the user is authorized to make this request. * diff --git a/app/Http/Requests/UpdateRankRequest.php b/app/Http/Requests/UpdateRankRequest.php index e4c5078c..ab83644e 100644 --- a/app/Http/Requests/UpdateRankRequest.php +++ b/app/Http/Requests/UpdateRankRequest.php @@ -7,7 +7,6 @@ use Illuminate\Foundation\Http\FormRequest; class UpdateRankRequest extends FormRequest { - /** * Determine if the user is authorized to make this request. * diff --git a/app/Http/Requests/UpdateSubfleetRequest.php b/app/Http/Requests/UpdateSubfleetRequest.php index 16cde82c..81b08e8a 100644 --- a/app/Http/Requests/UpdateSubfleetRequest.php +++ b/app/Http/Requests/UpdateSubfleetRequest.php @@ -7,7 +7,6 @@ use Illuminate\Foundation\Http\FormRequest; class UpdateSubfleetRequest extends FormRequest { - /** * Determine if the user is authorized to make this request. * diff --git a/app/Http/Requests/UpdateUserRequest.php b/app/Http/Requests/UpdateUserRequest.php index 0ea4b288..06eba56b 100644 --- a/app/Http/Requests/UpdateUserRequest.php +++ b/app/Http/Requests/UpdateUserRequest.php @@ -7,7 +7,6 @@ use Illuminate\Foundation\Http\FormRequest; class UpdateUserRequest extends FormRequest { - /** * Determine if the user is authorized to make this request. * diff --git a/app/Http/Resources/Acars.php b/app/Http/Resources/Acars.php index 0b8f5684..4be289af 100644 --- a/app/Http/Resources/Acars.php +++ b/app/Http/Resources/Acars.php @@ -9,7 +9,7 @@ class Acars extends Resource /** * Transform the resource into an array. * - * @param \Illuminate\Http\Request $request + * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) diff --git a/app/Http/Resources/Airline.php b/app/Http/Resources/Airline.php index 35a4e789..2f945c4b 100644 --- a/app/Http/Resources/Airline.php +++ b/app/Http/Resources/Airline.php @@ -9,12 +9,12 @@ class Airline extends Resource public function toArray($request) { return [ - 'id' => $this->id, - 'icao' => $this->icao, - 'iata' => $this->iata, - 'name' => $this->name, + 'id' => $this->id, + 'icao' => $this->icao, + 'iata' => $this->iata, + 'name' => $this->name, 'country' => $this->country, - 'logo' => $this->logo, + 'logo' => $this->logo, #'active' => $this->active, #'created_at' => $this->created_at, #'updated_at' => $this->updated_at, diff --git a/app/Http/Resources/Award.php b/app/Http/Resources/Award.php new file mode 100755 index 00000000..2f096945 --- /dev/null +++ b/app/Http/Resources/Award.php @@ -0,0 +1,18 @@ + $this->id, + 'title' => $this->title, + 'description' => $this->description, + 'image' => $this->image, + ]; + } +} diff --git a/app/Http/Resources/Bid.php b/app/Http/Resources/Bid.php new file mode 100644 index 00000000..3cb1f5e4 --- /dev/null +++ b/app/Http/Resources/Bid.php @@ -0,0 +1,16 @@ +flight); + + return $bid; + } +} diff --git a/app/Http/Resources/Flight.php b/app/Http/Resources/Flight.php index f7e41a49..59685adc 100644 --- a/app/Http/Resources/Flight.php +++ b/app/Http/Resources/Flight.php @@ -7,17 +7,32 @@ use Illuminate\Http\Resources\Json\Resource; class Flight extends Resource { + /** + * Set the fields on the flight object + * @return array + */ + private function setFields() + { + $fields = []; + foreach ($this->field_values as $field) { + $fields[$field->name] = $field->value; + } + + return $fields; + } + public function toArray($request) { $flight = parent::toArray($request); // Return multiple measures so the client can pick what they want - if($this->distance instanceof Distance) { - $flight['distance'] = $this->distance->toObject(); + if ($this->distance instanceof Distance) { + $flight['distance'] = $this->distance->units; } $flight['airline'] = new Airline($this->airline); $flight['subfleets'] = Subfleet::collection($this->subfleets); + $flight['fields'] = $this->setFields(); return $flight; } diff --git a/app/Http/Resources/JournalTransaction.php b/app/Http/Resources/JournalTransaction.php new file mode 100644 index 00000000..edadba6e --- /dev/null +++ b/app/Http/Resources/JournalTransaction.php @@ -0,0 +1,14 @@ + $this->user->id, + 'name' => $this->user->name, + ]; + + return $resp; + } +} diff --git a/app/Http/Resources/Pirep.php b/app/Http/Resources/Pirep.php index 5c746f40..665a900e 100644 --- a/app/Http/Resources/Pirep.php +++ b/app/Http/Resources/Pirep.php @@ -11,7 +11,7 @@ class Pirep extends Resource /** * Transform the resource into an array. * - * @param \Illuminate\Http\Request $request + * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) @@ -19,15 +19,15 @@ class Pirep extends Resource $pirep = parent::toArray($request); if ($this->distance instanceof Distance) { - $pirep['distance'] = $this->distance->toObject(); + $pirep['distance'] = $this->distance->units; } if ($this->fuel_used instanceof Fuel) { - $pirep['fuel_used'] = $this->fuel_used->toObject(); + $pirep['fuel_used'] = $this->fuel_used->units; } if ($this->planned_distance instanceof Distance) { - $pirep['planned_distance'] = $this->planned_distance->toObject(); + $pirep['planned_distance'] = $this->planned_distance->units; } /* @@ -40,8 +40,8 @@ class Pirep extends Resource $pirep['position'] = new Acars($this->position); $pirep['comments'] = PirepComment::collection($this->comments); $pirep['user'] = [ - 'id' => $this->user->id, - 'name' => $this->user->name, + 'id' => $this->user->id, + 'name' => $this->user->name, 'home_airport_id' => $this->user->home_airport_id, 'curr_airport_id' => $this->user->curr_airport_id, ]; diff --git a/app/Http/Resources/PirepComment.php b/app/Http/Resources/PirepComment.php index 056f91d8..d2464b89 100644 --- a/app/Http/Resources/PirepComment.php +++ b/app/Http/Resources/PirepComment.php @@ -14,7 +14,7 @@ class PirepComment extends Resource /** * Transform the resource into an array. * - * @param \Illuminate\Http\Request $request + * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) @@ -22,13 +22,13 @@ class PirepComment extends Resource $user = $this->user; return [ - 'id' => $this->id, - 'comment' => $this->comment, - 'created_at' => $this->created_at, - 'user' => [ - 'id' => $user->id, - 'pilot_id' => $user->pilot_id, - 'name' => $user->name, + 'id' => $this->id, + 'comment' => $this->comment, + 'created_at' => $this->created_at, + 'user' => [ + 'id' => $user->id, + 'pilot_id' => $user->pilot_id, + 'name' => $user->name, ], ]; } diff --git a/app/Http/Resources/Rank.php b/app/Http/Resources/Rank.php index 7ec4bc8d..23d91d56 100644 --- a/app/Http/Resources/Rank.php +++ b/app/Http/Resources/Rank.php @@ -15,7 +15,7 @@ class Rank extends Resource public function toArray($request) { return [ - 'name' => $this->name, + 'name' => $this->name, 'subfleets' => Subfleet::collection($this->subfleets), ]; } diff --git a/app/Http/Resources/Response.php b/app/Http/Resources/Response.php index ac0bbc57..b2c89651 100644 --- a/app/Http/Resources/Response.php +++ b/app/Http/Resources/Response.php @@ -14,7 +14,7 @@ class Response extends Resource /** * Transform the resource into an array. * - * @param \Illuminate\Http\Request $request + * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) diff --git a/app/Http/Resources/Setting.php b/app/Http/Resources/Setting.php index ff0214fc..c22b2373 100644 --- a/app/Http/Resources/Setting.php +++ b/app/Http/Resources/Setting.php @@ -9,12 +9,12 @@ class Setting extends Resource public function toArray($request) { return [ - 'id' => $this->id, - 'type' => $this->type, - 'name' => $this->name, - 'value' => $this->value, - 'group' => $this->group, - 'order' => $this->order, + 'id' => $this->id, + 'type' => $this->type, + 'name' => $this->name, + 'value' => $this->value, + 'group' => $this->group, + 'order' => $this->order, 'description' => $this->description, ]; } diff --git a/app/Http/Resources/User.php b/app/Http/Resources/User.php index c5a13622..295d1343 100644 --- a/app/Http/Resources/User.php +++ b/app/Http/Resources/User.php @@ -9,25 +9,25 @@ class User extends Resource public function toArray($request) { return [ - 'id' => $this->id, - 'pilot_id' => $this->pilot_id, - 'name' => $this->name, - 'email' => $this->email, - 'apikey' => $this->apikey, - 'rank_id' => $this->rank_id, - 'home_airport' => $this->home_airport_id, - 'curr_airport' => $this->curr_airport_id, + 'id' => $this->id, + 'pilot_id' => $this->pilot_id, + 'name' => $this->name, + 'email' => $this->email, + 'apikey' => $this->apikey, + 'rank_id' => $this->rank_id, + 'home_airport' => $this->home_airport_id, + 'curr_airport' => $this->curr_airport_id, 'last_pirep_id' => $this->last_pirep_id, - 'flights' => $this->flight, - 'flight_time' => $this->flight_time, - 'balance' => $this->balance, - 'timezone' => $this->timezone, - 'status' => $this->status, - 'state' => $this->state, + 'flights' => $this->flight, + 'flight_time' => $this->flight_time, + 'balance' => $this->balance, + 'timezone' => $this->timezone, + 'status' => $this->status, + 'state' => $this->state, 'airline' => Airline::make($this->airline), - 'bids' => UserBid::collection($this->bids), - 'rank' => Rank::make($this->rank), + 'bids' => UserBid::collection($this->bids), + 'rank' => Rank::make($this->rank), ]; } } diff --git a/app/Http/Resources/UserBid.php b/app/Http/Resources/UserBid.php index 968eb085..b48c717c 100644 --- a/app/Http/Resources/UserBid.php +++ b/app/Http/Resources/UserBid.php @@ -9,10 +9,10 @@ class UserBid extends Resource public function toArray($request) { return [ - 'id' => $this->id, - 'user_id' => $this->user_id, + 'id' => $this->id, + 'user_id' => $this->user_id, 'flight_id' => $this->flight_id, - 'flight' => Flight::collection($this->whenLoaded('flight')) + 'flight' => Flight::collection($this->whenLoaded('flight')) #'created_at' => $this->created_at, #'updated_at' => $this->updated_at, ]; diff --git a/app/Interfaces/Award.php b/app/Interfaces/Award.php new file mode 100644 index 00000000..5e43e739 --- /dev/null +++ b/app/Interfaces/Award.php @@ -0,0 +1,101 @@ +award = $award; + $this->user = $user; + } + + /** + * Run the main handler for this award class to determine if + * it should be awarded or not. Declared as final to prevent a child + * from accidentally overriding and breaking something + */ + final public function handle(): void + { + # Check if the params are a JSON object or array + $param = $this->award->ref_model_params; + if (Utils::isObject($this->award->ref_model_params)) { + $param = json_decode($this->award->ref_model_params); + } + + if ($this->check($param)) { + $this->addAward(); + } + } + + /** + * Add the award to this user, if they don't already have it + * @return bool|UserAward + */ + final protected function addAward() + { + $w = [ + 'user_id' => $this->user->id, + 'award_id' => $this->award->id, + ]; + + $found = UserAward::where($w)->count('id'); + if ($found > 0) { + return true; + } + + // Associate this award to the user now + $award = new UserAward($w); + + try { + $award->save(); + } catch(\Exception $e) { + Log::error( + 'Error saving award: '.$e->getMessage(), + $e->getTrace() + ); + + return null; + } + + return $award; + } +} diff --git a/app/Http/Controllers/Api/RestController.php b/app/Interfaces/Controller.php old mode 100644 new mode 100755 similarity index 57% rename from app/Http/Controllers/Api/RestController.php rename to app/Interfaces/Controller.php index 74617e34..5967c4c7 --- a/app/Http/Controllers/Api/RestController.php +++ b/app/Interfaces/Controller.php @@ -1,51 +1,70 @@ error($message); + return redirect(route($route))->withInput(); + } + /** * Shortcut function to get the attributes from a request while running the validations * @param Request $request - * @param array $attrs_or_validations - * @param array $addtl_fields + * @param array $attrs_or_validations + * @param array $addtl_fields * @return array * @throws \Symfony\Component\HttpKernel\Exception\BadRequestHttpException */ - public function getFromReq($request, $attrs_or_validations, $addtl_fields=null) + public function getFromReq($request, $attrs_or_validations, $addtl_fields = null) { # See if a list of values is passed in, or if a validation list is passed in $is_validation = false; - if(\count(array_filter(array_keys($attrs_or_validations), '\is_string')) > 0) { + if (\count(array_filter(array_keys($attrs_or_validations), '\is_string')) > 0) { $is_validation = true; } - if($is_validation) { + if ($is_validation) { $this->validate($request, $attrs_or_validations); } $fields = []; - foreach($attrs_or_validations as $idx => $field) { - if($is_validation) { + foreach ($attrs_or_validations as $idx => $field) { + if ($is_validation) { $field = $idx; } - if($request instanceof Request) { + if ($request instanceof Request) { if ($request->filled($field)) { $fields[$field] = $request->input($field); } } else { - if(array_key_exists($field, $request)) { + if (array_key_exists($field, $request)) { $fields[$field] = $request[$field]; } } } - if(!empty($addtl_fields) && \is_array($addtl_fields)) { + if (!empty($addtl_fields) && \is_array($addtl_fields)) { $fields = array_merge($fields, $addtl_fields); } @@ -59,9 +78,9 @@ class RestController * @return bool * @throws \Symfony\Component\HttpKernel\Exception\BadRequestHttpException */ - public function validate($request, $rules) + /*public function validate($request, $rules) { - if($request instanceof Request) { + if ($request instanceof Request) { $validator = Validator::make($request->all(), $rules); } else { $validator = Validator::make($request, $rules); @@ -72,20 +91,20 @@ class RestController } return true; - } + }*/ /** * Simple normalized method for forming the JSON responses * @param $message * @return \Illuminate\Http\JsonResponse */ - public function message($message, $count=null) + public function message($message, $count = null) { $attrs = [ 'message' => $message ]; - if($count !== null) { + if ($count !== null) { $attrs['count'] = $count; } diff --git a/app/Interfaces/Enum.php b/app/Interfaces/Enum.php new file mode 100644 index 00000000..fc82547e --- /dev/null +++ b/app/Interfaces/Enum.php @@ -0,0 +1,151 @@ +value = $val; + } + + /** + * Return the value that's been set if this is an instance + * @return mixed + */ + final public function getValue() + { + return $this->value; + } + + /** + * Return the label, try to return the translated version as well + * @param $value + * @return mixed + */ + final public static function label($value) + { + if (isset(static::$labels[$value])) { + return trans(static::$labels[$value]); + } + } + + /** + * Return all of the (translated) labels + */ + final public static function labels(): array + { + $labels = []; + foreach (static::$labels as $key => $label) { + $labels[$key] = trans($label); + } + + return $labels; + } + + /** + * Get the numeric value from a string code + * @param $code + * @return mixed|null + */ + public static function getFromCode($code) + { + return array_search($code, static::$codes, true); + } + + /** + * Convert the integer value into one of the codes + * @param $value + * @return false|int|string + */ + public static function convertToCode($value) + { + $value = (int) $value; + if (!array_key_exists($value, static::$codes)) { + return null; + } + + return static::$codes[$value]; + } + + /** + * Select box entry items + * @param bool $add_blank + * @return array + */ + public static function select($add_blank = false): array + { + $labels = []; + if ($add_blank) { + $labels[] = ''; + } + + foreach (static::$labels as $key => $label) { + $labels[$key] = trans($label); + } + + return $labels; + } + + /** + * Returns all possible values as an array + * @return array Constant name in key, constant value in value + * @throws \ReflectionException + */ + public static function toArray(): array + { + $class = static::class; + if (!array_key_exists($class, static::$cache)) { + $reflection = new \ReflectionClass($class); + static::$cache[$class] = $reflection->getConstants(); + } + + return static::$cache[$class]; + } + + /** + * @param Enum $enum + * @return bool + */ + final public function equals(Enum $enum): bool + { + return $this->getValue() === $enum->getValue() && get_called_class() == get_class($enum); + } + + /** + * Returns a value when called statically like so: MyEnum::SOME_VALUE() given SOME_VALUE is a + * class constant + * @param string $name + * @param array $arguments + * @return static + * @throws \BadMethodCallException + * @throws \ReflectionException + */ + public static function __callStatic($name, $arguments) + { + $array = static::toArray(); + if (isset($array[$name])) { + return new static($array[$name]); + } + throw new \BadMethodCallException( + "No static method or enum constant '$name' in class ".get_called_class() + ); + } +} diff --git a/app/Interfaces/ImportExport.php b/app/Interfaces/ImportExport.php new file mode 100644 index 00000000..e260b65f --- /dev/null +++ b/app/Interfaces/ImportExport.php @@ -0,0 +1,232 @@ + [], + 'errors' => [], + ]; + + /** + * Hold the columns for the particular table + */ + public static $columns = []; + + /** + * @param mixed $row + * @return array + */ + public function export($row): array + { + throw new \RuntimeException('export not implemented'); + } + + /** + * @param array $row + * @param mixed $index + * @return bool + * @throws \RuntimeException + */ + public function import(array $row, $index): bool + { + throw new \RuntimeException('import not implemented'); + } + + /** + * Get the airline from the ICAO. Create it if it doesn't exist + * @param $code + * @return \Illuminate\Database\Eloquent\Model + */ + public function getAirline($code) + { + $airline = Airline::firstOrCreate([ + 'icao' => $code, + ], ['name' => $code]); + + return $airline; + } + + /** + * @return array + */ + public function getColumns() + { + return static::$columns; + } + + /** + * Do a basic check that the number of columns match + * @param $row + * @return bool + */ + public function checkColumns($row): bool + { + return \count($row) === \count($this->getColumns()); + } + + /** + * Bubble up an error to the interface that we need to stop + * @param $error + * @param $e + * @throws ValidationException + */ + protected function throwError($error, \Exception $e = null): void + { + Log::error($error); + if ($e) { + Log::error($e->getMessage()); + } + + $validator = Validator::make([], []); + $validator->errors()->add('csv_file', $error); + throw new ValidationException($validator); + } + + /** + * Add to the log messages for this importer + * @param $msg + */ + public function log($msg): void + { + $this->status['success'][] = $msg; + Log::info($msg); + } + + /** + * Add to the error log for this import + * @param $msg + */ + public function errorLog($msg): void + { + $this->status['errors'][] = $msg; + Log::error($msg); + } + + /** + * Set a key-value pair to an array + * @param $kvp_str + * @param array $arr + */ + protected function kvpToArray($kvp_str, array &$arr) + { + $item = explode('=', $kvp_str); + if (\count($item) === 1) { # just a list? + $arr[] = trim($item[0]); + } else { # actually a key-value pair + $k = trim($item[0]); + $v = trim($item[1]); + $arr[$k] = $v; + } + } + + /** + * Parse a multi column values field. E.g: + * Y?price=200&cost=100; F?price=1200 + * or + * gate=B32;cost index=100 + * + * Converted into a multi-dimensional array + * + * @param $field + * @return array|string + */ + public function parseMultiColumnValues($field) + { + $ret = []; + $split_values = explode(';', $field); + + # No multiple values in here, just a straight value + if (\count($split_values) === 1) { + if(trim($split_values[0]) === '') { + return []; + } + + return [$split_values[0]]; + } + + foreach ($split_values as $value) { + # This isn't in the query string format, so it's + # just a straight key-value pair set + if (strpos($value, '?') === false) { + $this->kvpToArray($value, $ret); + continue; + } + + # This contains the query string, which turns it + # into the multi-level array + + $query_str = explode('?', $value); + $parent = trim($query_str[0]); + + $children = []; + $kvp = explode('&', trim($query_str[1])); + foreach ($kvp as $items) { + if(!$items) { + continue; + } + + $this->kvpToArray($items, $children); + } + + $ret[$parent] = $children; + } + + return $ret; + } + + /** + * @param $obj + * @return mixed + */ + public function objectToMultiString($obj) + { + if(!\is_array($obj)) { + return $obj; + } + + $ret_list = []; + foreach ($obj as $key => $val) { + if(is_numeric($key) && !\is_array($val)) { + $ret_list[] = $val; + continue; + } + + $key = trim($key); + + if(!\is_array($val)) { + $val = trim($val); + $ret_list[] = "{$key}={$val}"; + } else { + $q = []; + foreach($val as $subkey => $subval) { + if(is_numeric($subkey)) { + $q[] = $subval; + } else { + $q[] = "{$subkey}={$subval}"; + } + } + + $q = implode('&', $q); + if(!empty($q)) { + $ret_list[] = "{$key}?{$q}"; + } else { + $ret_list[] = $key; + } + } + } + + return implode(';', $ret_list); + } +} diff --git a/app/Interfaces/Listener.php b/app/Interfaces/Listener.php new file mode 100644 index 00000000..555640aa --- /dev/null +++ b/app/Interfaces/Listener.php @@ -0,0 +1,12 @@ +metar($icao); + } catch (\GuzzleHttp\Exception\GuzzleException $e) { + Log::error('Error getting METAR: '.$e->getMessage(), $e->getTrace()); + return ''; + } catch (\Exception $e) { + Log::error('Error getting METAR: '. $e->getMessage(), $e->getTrace()); + return ''; + } + }); + + return $raw_metar; + } +} diff --git a/app/Models/Migrations/Migration.php b/app/Interfaces/Migration.php similarity index 63% rename from app/Models/Migrations/Migration.php rename to app/Interfaces/Migration.php index e3fbff1b..1e2336f8 100644 --- a/app/Models/Migrations/Migration.php +++ b/app/Interfaces/Migration.php @@ -1,37 +1,51 @@ where('group', $name) - ->first(); + ->where('group', $name) + ->first(); - if($group === null) { + if ($group === null) { $offset = (int) DB::table('settings')->max('offset'); - if($offset === null) { + if ($offset === null) { $offset = 0; $start_offset = 1; } else { @@ -39,10 +53,9 @@ class Migration extends MigrationBase $start_offset = $offset + 1; } } else { - # Now find the number to start from $start_offset = (int) DB::table('settings')->where('group', $name)->max('order'); - if($start_offset === null) { + if ($start_offset === null) { $start_offset = $offset + 1; } else { ++$start_offset; @@ -63,7 +76,7 @@ class Migration extends MigrationBase */ public function getNextOrderNumber($group): int { - if(!\in_array($group, $this->counters, true)) { + if (!\in_array($group, $this->counters, true)) { $this->addCounterGroup($group); } @@ -83,16 +96,16 @@ class Migration extends MigrationBase $order = $this->getNextOrderNumber($group); $attrs = array_merge([ - 'id' => Setting::formatKey($key), - 'key' => $key, - 'offset' => $this->offsets[$group], - 'order' => $order, - 'name' => '', - 'group' => $group, - 'value' => '', - 'default' => '', - 'options' => '', - 'type' => 'hidden', + 'id' => Setting::formatKey($key), + 'key' => $key, + 'offset' => $this->offsets[$group], + 'order' => $order, + 'name' => '', + 'group' => $group, + 'value' => '', + 'default' => '', + 'options' => '', + 'type' => 'hidden', 'description' => '', ], $attrs); @@ -101,11 +114,11 @@ class Migration extends MigrationBase /** * Update a setting - * @param $key - * @param $value + * @param $key + * @param $value * @param array $attrs */ - public function updateSetting($key, $value, array $attrs=[]) + public function updateSetting($key, $value, array $attrs = []) { $attrs['value'] = $value; DB::table('settings') diff --git a/app/Interfaces/Model.php b/app/Interfaces/Model.php new file mode 100644 index 00000000..b01b929d --- /dev/null +++ b/app/Interfaces/Model.php @@ -0,0 +1,20 @@ +find($id, $columns); + } catch (\Exception $e) { + return null; + } + } + + /** + * @param $values + * @return bool + */ + public function validate($values) + { + $validator = Validator::make( + $values, + $this->model()->rules + ); + + if ($validator->fails()) { + return $validator->messages(); + } + + return true; + } + + /** + * Return N most recent items, sorted by created_at + * @param int $count + * @param string $sort_by created_at (default) or updated_at + * @return mixed + */ + public function recent($count = null, $sort_by = 'created_at') + { + return $this->orderBy($sort_by, 'desc')->paginate($count); + } + + /** + * Find records with a WHERE clause but also sort them + * @param $where + * @param $sort_by + * @param $order_by + * @return $this + */ + public function whereOrder($where, $sort_by, $order_by = 'asc') + { + return $this->scopeQuery(function ($query) use ($where, $sort_by, $order_by) { + $q = $query->where($where); + # See if there are multi-column sorts + if (\is_array($sort_by)) { + foreach ($sort_by as $key => $sort) { + $q = $q->orderBy($key, $sort); + } + } else { + $q = $q->orderBy($sort_by, $order_by); + } + + return $q; + }); + } + + /** + * Find records where values don't match a list but sort the rest + * @param string $col + * @param array $values + * @param string $sort_by + * @param string $order_by + * @return $this + */ + public function whereNotInOrder($col, $values, $sort_by, $order_by = 'asc') + { + return $this->scopeQuery(function ($query) use ($col, $values, $sort_by, $order_by) { + $q = $query->whereNotIn($col, $values); + # See if there are multi-column sorts + if (\is_array($sort_by)) { + foreach ($sort_by as $key => $sort) { + $q = $q->orderBy($key, $sort); + } + } else { + $q = $q->orderBy($sort_by, $order_by); + } + + return $q; + }); + } +} diff --git a/app/Interfaces/Service.php b/app/Interfaces/Service.php new file mode 100644 index 00000000..2d3a6e76 --- /dev/null +++ b/app/Interfaces/Service.php @@ -0,0 +1,12 @@ +__toString(); + } + + /** + * Implements ArrayAccess + * @param $offset + * @return bool + */ + public function offsetExists($offset) + { + return array_key_exists($offset, $this->units); + } + + /** + * Implements ArrayAccess + * @param $offset + * @return mixed + */ + public function offsetGet($offset) + { + return $this->units[$offset]; + } + + /** + * Implements ArrayAccess + * @param $offset + * @param $value + */ + public function offsetSet($offset, $value) + { + $this->units[$offset] = $value; + } + + /** + * Implements ArrayAccess + * @param $offset + */ + public function offsetUnset($offset) + { + $this->units[$offset] = null; + } + + /** + * @return mixed + */ + public function __toString() + { + return (string) $this->units[$this->unit]; + } +} diff --git a/app/Interfaces/Widget.php b/app/Interfaces/Widget.php new file mode 100644 index 00000000..4d9fe830 --- /dev/null +++ b/app/Interfaces/Widget.php @@ -0,0 +1,25 @@ +getReference($award, $event->user); + if ($klass) { + $klass->handle(); + } + } + } +} diff --git a/app/Listeners/ExpenseListener.php b/app/Listeners/ExpenseListener.php new file mode 100644 index 00000000..72432a0f --- /dev/null +++ b/app/Listeners/ExpenseListener.php @@ -0,0 +1,35 @@ +pirep, and any associated data + # The transaction group is how it will show as a line item + /*$expenses[] = new Expense([ + 'type' => ExpenseType::FLIGHT, + 'amount' => 15000, # $150 + 'transaction_group' => '', + 'charge_to_user' => true|false + ]);*/ + + return $expenses; + } +} diff --git a/app/Listeners/FinanceEvents.php b/app/Listeners/FinanceEvents.php new file mode 100644 index 00000000..c357205e --- /dev/null +++ b/app/Listeners/FinanceEvents.php @@ -0,0 +1,70 @@ +financeSvc = $financeSvc; + } + + /** + * @param $events + */ + public function subscribe(Dispatcher $events): void + { + $events->listen( + PirepAccepted::class, + 'App\Listeners\FinanceEvents@onPirepAccept' + ); + + $events->listen( + PirepRejected::class, + 'App\Listeners\FinanceEvents@onPirepReject' + ); + } + + /** + * Kick off the finance events when a PIREP is accepted + * @param PirepAccepted $event + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Exception + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function onPirepAccept(PirepAccepted $event): void + { + $this->financeSvc->processFinancesForPirep($event->pirep); + } + + /** + * Delete all finances in the journal for a given PIREP + * @param PirepRejected $event + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Exception + */ + public function onPirepReject(PirepRejected $event): void + { + $this->financeSvc->deleteFinancesForPirep($event->pirep); + } +} diff --git a/app/Listeners/NotificationEventListener.php b/app/Listeners/NotificationEvents.php similarity index 67% rename from app/Listeners/NotificationEventListener.php rename to app/Listeners/NotificationEvents.php index f1b6894b..96f910b7 100644 --- a/app/Listeners/NotificationEventListener.php +++ b/app/Listeners/NotificationEvents.php @@ -4,7 +4,9 @@ namespace App\Listeners; use App\Events\UserRegistered; use App\Events\UserStateChanged; +use App\Interfaces\Listener; use App\Models\Enums\UserState; +use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Support\Facades\Mail; use Log; @@ -12,25 +14,28 @@ use Log; * Handle sending emails on different events * @package App\Listeners */ -class NotificationEventListener +class NotificationEvents extends Listener { - public function subscribe($events) + /** + * @param Dispatcher $events + */ + public function subscribe(Dispatcher $events): void { $events->listen( \App\Events\UserRegistered::class, - 'App\Listeners\NotificationEventListener@onUserRegister' + 'App\Listeners\NotificationEvents@onUserRegister' ); $events->listen( \App\Events\UserStateChanged::class, - 'App\Listeners\NotificationEventListener@onUserStateChange' + 'App\Listeners\NotificationEvents@onUserStateChange' ); } /** * @return bool */ - protected function mailerActive() + protected function mailerActive(): bool { if (empty(config('mail.host'))) { Log::info('No mail host specified!'); @@ -49,7 +54,7 @@ class NotificationEventListener { try { return Mail::to($to)->send($email); - } catch(\Exception $e) { + } catch (\Exception $e) { Log::error('Error sending email!'); Log::error($e); } @@ -59,14 +64,14 @@ class NotificationEventListener * Send an email when the user registered * @param UserRegistered $event */ - public function onUserRegister(UserRegistered $event) + public function onUserRegister(UserRegistered $event): void { Log::info('onUserRegister: ' - . $event->user->pilot_id . ' is ' - . UserState::label($event->user->state) - . ', sending active email'); + .$event->user->pilot_id.' is ' + .UserState::label($event->user->state) + .', sending active email'); - if(!$this->mailerActive()) { + if (!$this->mailerActive()) { return; } @@ -80,9 +85,9 @@ class NotificationEventListener } # Then notify the user - if($event->user->state === UserState::ACTIVE) { + if ($event->user->state === UserState::ACTIVE) { $email = new \App\Mail\UserRegistered($event->user); - } else if($event->user->state === UserState::PENDING) { + } else if ($event->user->state === UserState::PENDING) { $email = new \App\Mail\UserPending($event->user); } @@ -93,7 +98,7 @@ class NotificationEventListener * When a user's state changes, send an email out * @param UserStateChanged $event */ - public function onUserStateChange(UserStateChanged $event) + public function onUserStateChange(UserStateChanged $event): void { if (!$this->mailerActive()) { return; @@ -102,17 +107,14 @@ class NotificationEventListener if ($event->old_state === UserState::PENDING) { if ($event->user->state === UserState::ACTIVE) { $email = new \App\Mail\UserRegistered($event->user, - 'Your registration has been accepted!'); + 'Your registration has been accepted!'); } else if ($event->user->state === UserState::REJECTED) { $email = new \App\Mail\UserRejected($event->user); } $this->sendEmail($event->user->email, $email); - } - - # TODO: Other state transitions - elseif ($event->old_state === UserState::ACTIVE) - { - + } # TODO: Other state transitions + elseif ($event->old_state === UserState::ACTIVE) { + Log::info('User state change from active to ??'); } } } diff --git a/app/Mail/Admin/UserRegistered.php b/app/Mail/Admin/UserRegistered.php index 7d1af3da..1a81d8e3 100644 --- a/app/Mail/Admin/UserRegistered.php +++ b/app/Mail/Admin/UserRegistered.php @@ -2,19 +2,17 @@ namespace App\Mail\Admin; +use App\Models\User; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; -use App\Models\User; - class UserRegistered extends Mailable { use Queueable, SerializesModels; - public $subject, $user; - public function __construct(User $user, $subject=null) + public function __construct(User $user, $subject = null) { $this->subject = $subject ?: 'A new user registered'; $this->user = $user; @@ -22,8 +20,9 @@ class UserRegistered extends Mailable public function build() { - return $this->markdown('emails.admin.registered') - ->subject($this->subject) - ->with(['user' => $this->user]); + return $this + ->markdown('emails.admin.registered') + ->subject($this->subject) + ->with(['user' => $this->user]); } } diff --git a/app/Mail/NewLoginDetails.php b/app/Mail/NewLoginDetails.php index c4a7ba72..f0821467 100644 --- a/app/Mail/NewLoginDetails.php +++ b/app/Mail/NewLoginDetails.php @@ -10,10 +10,9 @@ use Illuminate\Queue\SerializesModels; class NewLoginDetails extends Mailable { use Queueable, SerializesModels; - public $subject, $user, $newpw; - public function __construct(User $user, $newpw=null, $subject=null) + public function __construct(User $user, $newpw = null, $subject = null) { $this->subject = $subject ?: 'New Login Details'; $this->newpw = $newpw ?: 'N/A'; @@ -23,7 +22,7 @@ class NewLoginDetails extends Mailable public function build() { return $this->markdown('emails.user.new_login_details') - ->subject($this->subject) - ->with(['user' => $this->user, 'newpw' => $this->newpw]); + ->subject($this->subject) + ->with(['user' => $this->user, 'newpw' => $this->newpw]); } } diff --git a/app/Mail/UserPending.php b/app/Mail/UserPending.php index 2d36c7d3..541409be 100644 --- a/app/Mail/UserPending.php +++ b/app/Mail/UserPending.php @@ -10,10 +10,9 @@ use Illuminate\Queue\SerializesModels; class UserPending extends Mailable { use Queueable, SerializesModels; - public $subject, $user; - public function __construct(User $user, $subject=null) + public function __construct(User $user, $subject = null) { $this->subject = $subject ?: 'Your registration is pending!'; $this->user = $user; @@ -22,7 +21,7 @@ class UserPending extends Mailable public function build() { return $this->markdown('emails.user.pending') - ->subject($this->subject) - ->with(['user' => $this->user]); + ->subject($this->subject) + ->with(['user' => $this->user]); } } diff --git a/app/Mail/UserRegistered.php b/app/Mail/UserRegistered.php index 81efb7ca..995e00da 100644 --- a/app/Mail/UserRegistered.php +++ b/app/Mail/UserRegistered.php @@ -10,10 +10,9 @@ use Illuminate\Queue\SerializesModels; class UserRegistered extends Mailable { use Queueable, SerializesModels; - public $subject, $user; - public function __construct(User $user, $subject=null) + public function __construct(User $user, $subject = null) { $this->subject = $subject ?: 'Welcome to '.config('app.name').'!'; $this->user = $user; @@ -21,8 +20,9 @@ class UserRegistered extends Mailable public function build() { - return $this->markdown('emails.user.registered') - ->subject($this->subject) - ->with(['user' => $this->user]); + return $this + ->markdown('emails.user.registered') + ->subject($this->subject) + ->with(['user' => $this->user]); } } diff --git a/app/Mail/UserRejected.php b/app/Mail/UserRejected.php index bd2ba5e6..6c8a2021 100644 --- a/app/Mail/UserRejected.php +++ b/app/Mail/UserRejected.php @@ -10,10 +10,9 @@ use Illuminate\Queue\SerializesModels; class UserRejected extends Mailable { use Queueable, SerializesModels; - public $subject, $user; - public function __construct(User $user, $subject=null) + public function __construct(User $user, $subject = null) { $this->subject = $subject ?: 'Your registration has been denied'; $this->user = $user; @@ -21,8 +20,9 @@ class UserRejected extends Mailable public function build() { - return $this->markdown('emails.user.rejected') - ->subject($this->subject) - ->with(['user' => $this->user]); + return $this + ->markdown('emails.user.rejected') + ->subject($this->subject) + ->with(['user' => $this->user]); } } diff --git a/app/Models/Acars.php b/app/Models/Acars.php index 960c5fbe..bd4a2855 100644 --- a/app/Models/Acars.php +++ b/app/Models/Acars.php @@ -2,11 +2,17 @@ namespace App\Models; -use App\Models\Traits\HashId; +use App\Interfaces\Model; +use App\Models\Traits\HashIdTrait; -class Acars extends BaseModel +/** + * Class Acars + * @param string id + * @package App\Models + */ +class Acars extends Model { - use HashId; + use HashIdTrait; public $table = 'acars'; public $incrementing = false; @@ -31,21 +37,21 @@ class Acars extends BaseModel ]; public $casts = [ - 'type' => 'integer', - 'order' => 'integer', - 'nav_type' => 'integer', - 'lat' => 'float', - 'lon' => 'float', - 'heading' => 'integer', - 'altitude' => 'float', - 'vs' => 'float', - 'gs' => 'float', - 'transponder' => 'integer', - 'fuel_flow' => 'float', + 'type' => 'integer', + 'order' => 'integer', + 'nav_type' => 'integer', + 'lat' => 'float', + 'lon' => 'float', + 'heading' => 'integer', + 'altitude' => 'float', + 'vs' => 'float', + 'gs' => 'float', + 'transponder' => 'integer', + 'fuel_flow' => 'float', ]; public static $rules = [ - 'pirep_id' => 'required', + 'pirep_id' => 'required', ]; /** diff --git a/app/Models/Aircraft.php b/app/Models/Aircraft.php index d53e4ba1..d00103b8 100644 --- a/app/Models/Aircraft.php +++ b/app/Models/Aircraft.php @@ -2,59 +2,78 @@ namespace App\Models; -use App\Support\ICAO; +use App\Interfaces\Model; +use App\Models\Enums\AircraftStatus; +use App\Models\Traits\ExpensableTrait; +use App\Models\Traits\FilesTrait; -class Aircraft extends BaseModel +/** + * @property int id + * @property mixed subfleet_id + * @property string name + * @property string icao + * @property string registration + * @property string hex_code + * @property Airport airport + * @property Subfleet subfleet + * @property int status + * @property int state + * @package App\Models + */ +class Aircraft extends Model { + use ExpensableTrait; + use FilesTrait; + public $table = 'aircraft'; - public $fillable = [ + protected $fillable = [ 'subfleet_id', 'airport_id', - 'name', + 'iata', 'icao', + 'name', 'registration', 'hex_code', 'zfw', - 'active', + 'status', + 'state', ]; /** * The attributes that should be casted to native types. - * - * @var array */ protected $casts = [ - 'subfleet_id' => 'integer', - 'zfw' => 'float', - 'active' => 'boolean', + 'subfleet_id' => 'integer', + 'zfw' => 'float', + 'state' => 'integer', ]; /** * Validation rules - * - * @var array */ public static $rules = [ - 'subfleet_id' => 'required', + 'subfleet_id' => 'required', 'name' => 'required', + 'registration' => 'required', ]; /** - * Callbacks + * See if this aircraft is active + * @return bool */ - protected static function boot() + public function getActiveAttribute(): bool { - parent::boot(); - static::creating(function (Aircraft $model) { - if (!empty($model->icao)) { - $model->icao = strtoupper(trim($model->icao)); - } + return $this->status === AircraftStatus::ACTIVE; + } - if(empty($model->hex_code)) { - $model->hex_code = ICAO::createHexCode(); - } - }); + /** + * Capitalize the ICAO when set + * @param $icao + */ + public function setIcaoAttribute($icao): void + { + $this->attributes['icao'] = strtoupper($icao); } /** diff --git a/app/Models/Airline.php b/app/Models/Airline.php index f3fd0825..f6807b61 100644 --- a/app/Models/Airline.php +++ b/app/Models/Airline.php @@ -2,15 +2,36 @@ namespace App\Models; +use App\Interfaces\Model; +use App\Models\Enums\JournalType; +use App\Models\Traits\FilesTrait; +use App\Models\Traits\JournalTrait; + /** * Class Airline + * @property mixed id + * @property string code + * @property string icao + * @property string iata + * @property string name + * @property string logo + * @property string country + * @property Journal journal * @package App\Models */ -class Airline extends BaseModel +class Airline extends Model { + use FilesTrait; + use JournalTrait; + public $table = 'airlines'; - public $fillable = [ + /** + * The journal type for the callback + */ + public $journal_type = JournalType::AIRLINE; + + protected $fillable = [ 'icao', 'iata', 'name', @@ -23,7 +44,6 @@ class Airline extends BaseModel /** * The attributes that should be casted to native types. - * * @var array */ protected $casts = [ @@ -34,39 +54,39 @@ class Airline extends BaseModel /** * Validation rules - * * @var array */ public static $rules = [ - 'country' => 'nullable', - 'iata' => 'nullable|max:5', - 'icao' => 'required|max:5', - 'logo' => 'nullable', - 'name' => 'required', + 'country' => 'nullable', + 'iata' => 'nullable|max:5', + 'icao' => 'required|max:5', + 'logo' => 'nullable', + 'name' => 'required', ]; /** * For backwards compatibility */ - public function getCodeAttribute() { + public function getCodeAttribute() + { return $this->icao; } - protected static function boot() + /** + * Capitalize the IATA code when set + * @param $iata + */ + public function setIataAttribute($iata) { - parent::boot(); + $this->attributes['iata'] = strtoupper($iata); + } - /** - * IATA and ICAO should be in all caps - */ - static::creating(function (Airline $model) { - if (!empty($model->iata)) { - $model->iata = strtoupper($model->iata); - } - - if (!empty($model->icao)) { - $model->icao = strtoupper($model->icao); - } - }); + /** + * Capitalize the ICAO when set + * @param $icao + */ + public function setIcaoAttribute($icao): void + { + $this->attributes['icao'] = strtoupper($icao); } } diff --git a/app/Models/Airport.php b/app/Models/Airport.php index 165cdf7f..f4774bac 100644 --- a/app/Models/Airport.php +++ b/app/Models/Airport.php @@ -2,21 +2,28 @@ namespace App\Models; -use Illuminate\Notifications\Notifiable; +use App\Interfaces\Model; +use App\Models\Traits\ExpensableTrait; +use App\Models\Traits\FilesTrait; /** * Class Airport + * @property string id + * @property string iata + * @property string icao + * @property float ground_handling_cost * @package App\Models */ -class Airport extends BaseModel +class Airport extends Model { - use Notifiable; + use ExpensableTrait; + use FilesTrait; public $table = 'airports'; public $timestamps = false; public $incrementing = false; - public $fillable = [ + protected $fillable = [ 'id', 'iata', 'icao', @@ -27,58 +34,35 @@ class Airport extends BaseModel 'lon', 'hub', 'timezone', + 'ground_handling_cost', 'fuel_100ll_cost', 'fuel_jeta_cost', 'fuel_mogas_cost', ]; protected $casts = [ - 'lat' => 'float', - 'lon' => 'float', - 'hub' => 'boolean', - 'fuel_100ll_cost' => 'float', - 'fuel_jeta_cost' => 'float', - 'fuel_mogas_cost' => 'float', + 'lat' => 'float', + 'lon' => 'float', + 'hub' => 'boolean', + 'ground_handling_cost' => 'float', + 'fuel_100ll_cost' => 'float', + 'fuel_jeta_cost' => 'float', + 'fuel_mogas_cost' => 'float', ]; /** * Validation rules */ public static $rules = [ - 'icao' => 'required', - 'iata' => 'nullable', - 'name' => 'required', - 'location' => 'nullable', - 'lat' => 'required|numeric', - 'lon' => 'required|numeric', + 'icao' => 'required', + 'iata' => 'nullable', + 'name' => 'required', + 'location' => 'nullable', + 'lat' => 'required|numeric', + 'lon' => 'required|numeric', + 'ground_handling_cost' => 'nullable|numeric', ]; - /** - * Callbacks - */ - public static function boot() - { - parent::boot(); - - static::creating(function ($model) { - if(filled($model->iata)) { - $model->iata = strtoupper(trim($model->iata)); - } - - $model->icao = strtoupper(trim($model->icao)); - $model->id = $model->icao; - }); - - static::updating(function($model) { - if (filled($model->iata)) { - $model->iata = strtoupper(trim($model->iata)); - } - - $model->icao = strtoupper(trim($model->icao)); - $model->id = $model->icao; - }); - } - /** * @param $icao */ @@ -92,13 +76,12 @@ class Airport extends BaseModel /** * @param $iata */ - public function setIataAttribute($iata) + public function setIataAttribute($iata): void { $iata = strtoupper($iata); $this->attributes['iata'] = $iata; } - /** * Return full name like: * KJFK - John F Kennedy @@ -106,7 +89,7 @@ class Airport extends BaseModel */ public function getFullNameAttribute(): string { - return $this->icao . ' - ' . $this->name; + return $this->icao.' - '.$this->name; } /** @@ -115,14 +98,14 @@ class Airport extends BaseModel */ public function getTzAttribute(): string { - return $this->timezone; + return $this->attributes['timezone']; } /** * Shorthand for setting the timezone * @param $value */ - public function setTzAttribute($value) + public function setTzAttribute($value): void { $this->attributes['timezone'] = $value; } diff --git a/app/Models/Award.php b/app/Models/Award.php new file mode 100755 index 00000000..49600724 --- /dev/null +++ b/app/Models/Award.php @@ -0,0 +1,52 @@ + 'required', + 'description' => 'nullable', + 'image_url' => 'nullable', + 'ref_model' => 'required', + 'ref_model_params' => 'nullable' + ]; + + /** + * Get the referring object + * @param Award|null $award + * @param User|null $user + * @return null + */ + public function getReference(Award $award = null, User $user = null) + { + if (!$this->ref_model) { + return null; + } + + try { + return new $this->ref_model($award, $user); + } catch (\Exception $e) { + return null; + } + } +} diff --git a/app/Models/BaseModel.php b/app/Models/BaseModel.php deleted file mode 100644 index b28c6bc6..00000000 --- a/app/Models/BaseModel.php +++ /dev/null @@ -1,8 +0,0 @@ - 'system.global.active', + ActiveState::INACTIVE => 'system.global.inactive', + ]; +} diff --git a/app/Models/Enums/AircraftState.php b/app/Models/Enums/AircraftState.php index 5d141aef..82ec2cc2 100644 --- a/app/Models/Enums/AircraftState.php +++ b/app/Models/Enums/AircraftState.php @@ -2,19 +2,21 @@ namespace App\Models\Enums; +use App\Interfaces\Enum; + /** * Class AircraftState * @package App\Models\Enums */ -class AircraftState extends EnumBase +class AircraftState extends Enum { public const PARKED = 0; public const IN_USE = 1; public const IN_AIR = 2; public static $labels = [ - AircraftState::PARKED => 'On Ground', - AircraftState::IN_USE => 'In Use', - AircraftState::IN_AIR => 'In Air', + AircraftState::PARKED => 'On Ground', + AircraftState::IN_USE => 'In Use', + AircraftState::IN_AIR => 'In Air', ]; } diff --git a/app/Models/Enums/AircraftStatus.php b/app/Models/Enums/AircraftStatus.php new file mode 100644 index 00000000..28b5cc48 --- /dev/null +++ b/app/Models/Enums/AircraftStatus.php @@ -0,0 +1,26 @@ + 'system.aircraft.status.active', + AircraftStatus::STORED => 'system.aircraft.status.stored', + AircraftStatus::RETIRED => 'system.aircraft.status.retired', + AircraftStatus::SCRAPPED => 'system.aircraft.status.scrapped', + AircraftStatus::WRITTEN_OFF => 'system.aircraft.status.written', + ]; +} diff --git a/app/Models/Enums/AnalyticsDimensions.php b/app/Models/Enums/AnalyticsDimensions.php index 64feb97b..fa262943 100644 --- a/app/Models/Enums/AnalyticsDimensions.php +++ b/app/Models/Enums/AnalyticsDimensions.php @@ -2,13 +2,15 @@ namespace App\Models\Enums; +use App\Interfaces\Enum; + /** * Class AnalyticsDimensions * @package App\Models\Enums */ -class AnalyticsDimensions +class AnalyticsDimensions extends Enum { - public const PHP_VERSION = 1; + public const PHP_VERSION = 1; public const DATABASE_VERSION = 2; - public const PHPVMS_VERSION = 3; + public const PHPVMS_VERSION = 3; } diff --git a/app/Models/Enums/AnalyticsMetrics.php b/app/Models/Enums/AnalyticsMetrics.php index 1cce3f3d..7a8fc864 100644 --- a/app/Models/Enums/AnalyticsMetrics.php +++ b/app/Models/Enums/AnalyticsMetrics.php @@ -2,11 +2,14 @@ namespace App\Models\Enums; +use App\Interfaces\Enum; + /** * Class AnalyticsMetrics + * Metrics IDs used in Google Analytics * @package App\Models\Enums */ -class AnalyticsMetrics +class AnalyticsMetrics extends Enum { # Track the lookup time for airports from vaCentral public const AIRPORT_LOOKUP_TIME = 1; diff --git a/app/Models/Enums/Days.php b/app/Models/Enums/Days.php index 130a4a7e..5eaa0ee9 100644 --- a/app/Models/Enums/Days.php +++ b/app/Models/Enums/Days.php @@ -1,16 +1,16 @@ 'system.days.mon', - Days::TUESDAY => 'system.days.tues', - Days::WEDNESDAY => 'system.days.wed', - Days::THURSDAY => 'system.days.thurs', - Days::FRIDAY => 'system.days.fri', - Days::SATURDAY => 'system.days.sat', - Days::SUNDAY => 'system.days.sun', + public static $labels = [ + Days::MONDAY => 'system.days.mon', + Days::TUESDAY => 'system.days.tues', + Days::WEDNESDAY => 'system.days.wed', + Days::THURSDAY => 'system.days.thurs', + Days::FRIDAY => 'system.days.fri', + Days::SATURDAY => 'system.days.sat', + Days::SUNDAY => 'system.days.sun', ]; + + public static $codes = [ + 'M' => Days::MONDAY, + 'T' => Days::TUESDAY, + 'W' => Days::WEDNESDAY, + 'Th' => Days::THURSDAY, + 'F' => Days::FRIDAY, + 'S' => Days::SATURDAY, + 'Su' => Days::SUNDAY, + ]; + + /** + * Map the ISO8601 numeric today to day + */ + public static $isoDayMap = [ + 1 => Days::MONDAY, + 2 => Days::TUESDAY, + 3 => Days::WEDNESDAY, + 4 => Days::THURSDAY, + 5 => Days::FRIDAY, + 6 => Days::SATURDAY, + 7 => Days::SUNDAY, + ]; + + /** + * Create the masked value for the days of week + * @param array $days + * @return int|mixed + */ + public static function getDaysMask(array $days) + { + $mask = 0; + foreach($days as $day) { + $mask |= $day; + } + + return $mask; + } + + /** + * See if the given mask has a day + * @param $mask + * @param $day + * @return bool + */ + public static function in($mask, $day): bool + { + return ($mask & $day) === $day; + } + + /** + * Does the mask contain today? + * @param $val + * @return bool + */ + public static function isToday($val): bool + { + return static::in($val, static::$isoDayMap[(int) date('N')]); + } } diff --git a/app/Models/Enums/EnumBase.php b/app/Models/Enums/EnumBase.php deleted file mode 100644 index e50851a9..00000000 --- a/app/Models/Enums/EnumBase.php +++ /dev/null @@ -1,53 +0,0 @@ - $label) { - $labels[$key] = trans($label); - } - - return $labels; - } - - /** - * Select box - */ - public static function select($add_blank=false) - { - $labels = []; - if($add_blank) { - $labels[] = ''; - } - - foreach (static::$labels as $key => $label) { - $labels[$key] = trans($label); - } - - return $labels; - } -} diff --git a/app/Models/Enums/ExpenseType.php b/app/Models/Enums/ExpenseType.php new file mode 100644 index 00000000..1e744e6b --- /dev/null +++ b/app/Models/Enums/ExpenseType.php @@ -0,0 +1,28 @@ + 'system.expenses.type.flight', + ExpenseType::DAILY => 'system.expenses.type.daily', + ExpenseType::MONTHLY => 'system.expenses.type.monthly', + ]; + + protected static $codes = [ + ExpenseType::FLIGHT => 'F', + ExpenseType::DAILY =>'D', + ExpenseType::MONTHLY => 'M', + ]; +} diff --git a/app/Models/Enums/FlightType.php b/app/Models/Enums/FlightType.php index 9ad60373..fba52f01 100644 --- a/app/Models/Enums/FlightType.php +++ b/app/Models/Enums/FlightType.php @@ -2,16 +2,45 @@ namespace App\Models\Enums; +use App\Interfaces\Enum; -class FlightType extends EnumBase { - - public const PASSENGER = 0; - public const CARGO = 1; - public const CHARTER = 2; +/** + * Class FlightType + * @package App\Models\Enums + */ +class FlightType extends Enum +{ + public const SCHED_PAX = 'J'; + public const SCHED_CARGO = 'F'; + public const CHARTER_PAX_ONLY = 'C'; + public const ADDITIONAL_CARGO = 'A'; + public const VIP = 'E'; + public const ADDTL_PAX = 'G'; + public const CHARTER_CARGO_MAIL = 'H'; + public const AMBULANCE = 'I'; + public const TRAINING = 'K'; + public const MAIL_SERVICE = 'M'; + public const CHARTER_SPECIAL = 'O'; + public const POSITIONING = 'P'; + public const TECHNICAL_TEST = 'T'; + public const MILITARY = 'W'; + public const TECHNICAL_STOP = 'X'; protected static $labels = [ - FlightType::PASSENGER => 'Passenger', - FlightType::CARGO => 'Cargo', - FlightType::CHARTER => 'Charter', + FlightType::SCHED_PAX => 'system.flights.type.pass_scheduled', + FlightType::SCHED_CARGO => 'system.flights.type.cargo_scheduled', + FlightType::CHARTER_PAX_ONLY => 'system.flights.type.charter_pass_only', + FlightType::ADDITIONAL_CARGO => 'system.flights.type.addtl_cargo_mail', + FlightType::VIP => 'system.flights.type.special_vip', + FlightType::ADDTL_PAX => 'system.flights.type.pass_addtl', + FlightType::CHARTER_CARGO_MAIL => 'system.flights.type.charter_cargo', + FlightType::AMBULANCE => 'system.flights.type.ambulance', + FlightType::TRAINING => 'system.flights.type.training_flight', + FlightType::MAIL_SERVICE => 'system.flights.type.mail_service', + FlightType::CHARTER_SPECIAL => 'system.flights.type.charter_special', + FlightType::POSITIONING => 'system.flights.type.positioning', + FlightType::TECHNICAL_TEST => 'system.flights.type.technical_test', + FlightType::MILITARY => 'system.flights.type.military', + FlightType::TECHNICAL_STOP => 'system.flights.type.technical_stop', ]; } diff --git a/app/Models/Enums/FuelType.php b/app/Models/Enums/FuelType.php index 726360c7..5a8ac332 100644 --- a/app/Models/Enums/FuelType.php +++ b/app/Models/Enums/FuelType.php @@ -2,15 +2,21 @@ namespace App\Models\Enums; -class FuelType extends EnumBase { +use App\Interfaces\Enum; - public const LOW_LEAD = 0; - public const JET_A = 1; - public const MOGAS = 2; +/** + * Class FuelType + * @package App\Models\Enums + */ +class FuelType extends Enum +{ + public const LOW_LEAD = 0; + public const JET_A = 1; + public const MOGAS = 2; - protected static $labels = [ - FuelType::LOW_LEAD => '100LL', - FuelType::JET_A => 'JET A', - FuelType::MOGAS => 'MOGAS', + public static $labels = [ + FuelType::LOW_LEAD => '100LL', + FuelType::JET_A => 'JET A', + FuelType::MOGAS => 'MOGAS', ]; } diff --git a/app/Models/Enums/GenericState.php b/app/Models/Enums/GenericState.php deleted file mode 100644 index 0d97daa8..00000000 --- a/app/Models/Enums/GenericState.php +++ /dev/null @@ -1,18 +0,0 @@ - 'Inactive', - GenericState::ACTIVE => 'Active', - ]; -} diff --git a/app/Models/Enums/JournalType.php b/app/Models/Enums/JournalType.php new file mode 100644 index 00000000..71f943eb --- /dev/null +++ b/app/Models/Enums/JournalType.php @@ -0,0 +1,15 @@ + 'Manual', - PirepSource::ACARS => 'ACARS', + PirepSource::MANUAL => 'system.pireps.source.manual', + PirepSource::ACARS => 'system.pireps.source.acars', ]; } diff --git a/app/Models/Enums/PirepState.php b/app/Models/Enums/PirepState.php index 2b337411..23939a98 100644 --- a/app/Models/Enums/PirepState.php +++ b/app/Models/Enums/PirepState.php @@ -2,21 +2,29 @@ namespace App\Models\Enums; -class PirepState extends EnumBase { +use App\Interfaces\Enum; - public const REJECTED = -1; - public const IN_PROGRESS = 0; // flight is ongoing - public const PENDING = 1; // waiting admin approval - public const ACCEPTED = 2; - public const CANCELLED = 3; - public const DELETED = 4; +/** + * Class PirepState + * @package App\Models\Enums + */ +class PirepState extends Enum +{ + public const REJECTED = -1; + public const IN_PROGRESS = 0; // flight is ongoing + public const PENDING = 1; // waiting admin approval + public const ACCEPTED = 2; + public const CANCELLED = 3; + public const DELETED = 4; + public const DRAFT = 5; protected static $labels = [ - PirepState::REJECTED => 'system.pireps.state.rejected', - PirepState::IN_PROGRESS => 'system.pireps.state.in_progress', - PirepState::PENDING => 'system.pireps.state.pending', - PirepState::ACCEPTED => 'system.pireps.state.accepted', - PirepState::CANCELLED => 'system.pireps.state.cancelled', - PirepState::DELETED => 'system.pireps.state.deleted', + PirepState::REJECTED => 'system.pireps.state.rejected', + PirepState::IN_PROGRESS => 'system.pireps.state.in_progress', + PirepState::PENDING => 'system.pireps.state.pending', + PirepState::ACCEPTED => 'system.pireps.state.accepted', + PirepState::CANCELLED => 'system.pireps.state.cancelled', + PirepState::DELETED => 'system.pireps.state.deleted', + PirepState::DRAFT => 'system.pireps.state.draft', ]; } diff --git a/app/Models/Enums/PirepStatus.php b/app/Models/Enums/PirepStatus.php index 78c9b537..d8fbffd0 100644 --- a/app/Models/Enums/PirepStatus.php +++ b/app/Models/Enums/PirepStatus.php @@ -1,26 +1,64 @@ 'Prefiled', - PirepStatus::SCHEDULED => 'Scheduled', - PirepStatus::ENROUTE => 'Enroute', - PirepStatus::ARRIVED => 'Arrived', + PirepStatus::INITIATED => 'system.pireps.status.initialized', + PirepStatus::SCHEDULED => 'system.pireps.status.scheduled', + PirepStatus::BOARDING => 'system.pireps.status.boarding', + PirepStatus::RDY_START => 'system.pireps.status.ready_start', + PirepStatus::PUSHBACK_TOW => 'system.pireps.status.push_tow', + PirepStatus::DEPARTED => 'system.pireps.status.departed', + PirepStatus::RDY_DEICE => 'system.pireps.status.ready_deice', + PirepStatus::STRT_DEICE => 'system.pireps.status.deicing', + PirepStatus::GRND_RTRN => 'system.pireps.status.ground_ret', + PirepStatus::TAXI => 'system.pireps.status.taxi', + PirepStatus::TAKEOFF => 'system.pireps.status.takeoff', + PirepStatus::INIT_CLIM => 'system.pireps.status.initial_clb', + PirepStatus::AIRBORNE => 'system.pireps.status.enroute', + PirepStatus::ENROUTE => 'system.pireps.status.enroute', + PirepStatus::DIVERTED => 'system.pireps.status.diverted', + PirepStatus::APPROACH => 'system.pireps.status.approach', + PirepStatus::APPROACH_ICAO => 'system.pireps.status.approach', + PirepStatus::ON_FINAL => 'system.pireps.status.final_appr', + PirepStatus::LANDING => 'system.pireps.status.landing', + PirepStatus::LANDED => 'system.pireps.status.landed', + PirepStatus::ARRIVED => 'system.pireps.status.arrived', + PirepStatus::CANCELLED => 'system.pireps.status.cancelled', + PirepStatus::EMERG_DECENT => 'system.pireps.status.emerg_decent', ]; } diff --git a/app/Models/Enums/UserState.php b/app/Models/Enums/UserState.php index ae6e0b06..f1bd438f 100644 --- a/app/Models/Enums/UserState.php +++ b/app/Models/Enums/UserState.php @@ -1,11 +1,14 @@ 'Pending', - UserState::ACTIVE => 'Active', - UserState::REJECTED => 'Rejected', - UserState::ON_LEAVE => 'On Leave', - UserState::SUSPENDED => 'Suspended', + UserState::PENDING => 'system.users.state.pending', + UserState::ACTIVE => 'system.users.state.active', + UserState::REJECTED => 'system.users.state.rejected', + UserState::ON_LEAVE => 'system.users.state.on_leave', + UserState::SUSPENDED => 'system.users.state.suspended', ]; } diff --git a/app/Models/Expense.php b/app/Models/Expense.php new file mode 100644 index 00000000..e282a42e --- /dev/null +++ b/app/Models/Expense.php @@ -0,0 +1,50 @@ + 'boolean', + 'airline_id' => 'integer', + 'amount' => 'float', + 'multiplier' => 'bool', + 'charge_to_user' => 'bool', + ]; + + /** + * Foreign Keys + */ + + public function airline() + { + return $this->belongsTo(Airline::class, 'airline_id'); + } +} diff --git a/app/Models/Fare.php b/app/Models/Fare.php index 18e7d5d2..ae9baf03 100644 --- a/app/Models/Fare.php +++ b/app/Models/Fare.php @@ -1,16 +1,22 @@ 'float', - 'cost' => 'float', - 'capacity' => 'integer', - 'active' => 'boolean', + 'price' => 'float', + 'cost' => 'float', + 'capacity' => 'integer', + 'active' => 'boolean', ]; public static $rules = [ @@ -36,9 +42,9 @@ class Fare extends BaseModel * any foreign keys */ - public function subfleets() { + public function subfleets() + { return $this->belongsToMany(Subfleet::class, 'subfleet_fare') ->withPivot('price', 'cost', 'capacity'); } - } diff --git a/app/Models/File.php b/app/Models/File.php new file mode 100644 index 00000000..210d2e11 --- /dev/null +++ b/app/Models/File.php @@ -0,0 +1,94 @@ + 'boolean', + ]; + + public static $rules = [ + 'name' => 'required', + ]; + + private $pathinfo; + + /** + * Return the file extension + * @return string + */ + public function getExtensionAttribute(): string + { + if (!$this->pathinfo) { + $this->pathinfo = pathinfo($this->path); + } + + return $this->pathinfo['extension']; + } + + /** + * Get just the filename + * @return string + */ + public function getFilenameAttribute() :string + { + if (!$this->pathinfo) { + $this->pathinfo = pathinfo($this->path); + } + + return $this->pathinfo['filename'].'.'.$this->pathinfo['extension']; + } + + /** + * Get the full URL to this attribute + * @return string + */ + public function getUrlAttribute(): string + { + $disk = $this->disk ?? config('filesystems.public_files'); + + // If the disk isn't stored in public (S3 or something), + // just pass through the URL call + if ($disk !== 'public') { + return Storage::disk(config('filesystems.public_files')) + ->url($this->path); + } + + // Otherwise, figure out the public URL and save there + return public_asset(Storage::disk('public')->url($this->path)); + } +} diff --git a/app/Models/Flight.php b/app/Models/Flight.php index 4ef4cdbe..c1836a2d 100644 --- a/app/Models/Flight.php +++ b/app/Models/Flight.php @@ -2,22 +2,46 @@ namespace App\Models; -use App\Models\Traits\HashId; +use App\Interfaces\Model; +use App\Models\Enums\Days; +use App\Models\Traits\HashIdTrait; use App\Support\Units\Distance; -use App\Support\Units\Time; +use Carbon\Carbon; +use Illuminate\Support\Collection; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; -class Flight extends BaseModel +/** + * @property string id + * @property Airline airline + * @property mixed flight_number + * @property mixed route_code + * @property mixed route_leg + * @property Collection field_values + * @property Collection fares + * @property Collection subfleets + * @property integer days + * @property Airport dep_airport + * @property Airport arr_airport + * @property Airport alt_airport + * @property string dpt_airport_id + * @property string arr_airport_id + * @property string alt_airport_id + * @property int active + * @property Carbon start_date + * @property Carbon end_date + */ +class Flight extends Model { - use HashId; - - public const ID_MAX_LENGTH = 12; + use HashIdTrait; public $table = 'flights'; public $incrementing = false; - public $fillable = [ + /** The form wants this */ + public $hours, $minutes; + + protected $fillable = [ 'id', 'airline_id', 'flight_number', @@ -28,22 +52,27 @@ class Flight extends BaseModel 'alt_airport_id', 'dpt_time', 'arr_time', + 'days', 'level', 'distance', 'flight_time', 'flight_type', 'route', 'notes', + 'start_date', + 'end_date', 'has_bid', 'active', ]; protected $casts = [ 'flight_number' => 'integer', + 'days' => 'integer', 'level' => 'integer', 'distance' => 'float', 'flight_time' => 'integer', - 'flight_type' => 'integer', + 'start_date' => 'date', + 'end_date' => 'date', 'has_bid' => 'boolean', 'active' => 'boolean', ]; @@ -58,20 +87,36 @@ class Flight extends BaseModel 'level' => 'nullable', ]; + /** + * Return all of the flights on any given day(s) of the week + * Search using bitmasks + * @param Days[] $days List of the enumerated values + * @return Flight + */ + public static function findByDays(array $days) + { + $flights = Flight::where('active', true); + foreach($days as $day) { + $flights = $flights->where('days', '&', $day); + } + + return $flights; + } + /** * Get the flight ident, e.,g JBU1900 */ - public function getIdentAttribute() + public function getIdentAttribute(): string { $flight_id = $this->airline->code; $flight_id .= $this->flight_number; if (filled($this->route_code)) { - $flight_id .= '/C' . $this->route_code; + $flight_id .= '/C'.$this->route_code; } if (filled($this->route_leg)) { - $flight_id .= '/L' . $this->route_leg; + $flight_id .= '/L'.$this->route_leg; } return $flight_id; @@ -89,6 +134,7 @@ class Flight extends BaseModel try { $distance = (float) $this->attributes['distance']; + return new Distance($distance, config('phpvms.internal_units.distance')); } catch (NonNumericValue $e) { return 0; @@ -101,9 +147,9 @@ class Flight extends BaseModel * Set the distance unit, convert to our internal default unit * @param $value */ - public function setDistanceAttribute($value) + public function setDistanceAttribute($value): void { - if($value instanceof Distance) { + if ($value instanceof Distance) { $this->attributes['distance'] = $value->toUnit( config('phpvms.internal_units.distance') ); @@ -113,28 +159,42 @@ class Flight extends BaseModel } /** - * @return Time + * @param $day + * @return bool */ - /*public function getFlightTimeAttribute() + public function on_day($day): bool { - if (!array_key_exists('flight_time', $this->attributes)) { - return null; - } - - return new Time($this->attributes['flight_time']); - }*/ + return ($this->days & $day) === $day; + } /** - * @param $value + * Return a custom field value + * @param $field_name + * @return string */ - /*public function setFlightTimeAttribute($value) + public function field($field_name): string { - if ($value instanceof Time) { - $this->attributes['flight_time'] = $value->getMinutes(); - } else { - $this->attributes['flight_time'] = $value; + $field = $this->field_values->where('name', $field_name)->first(); + if($field) { + return $field['value']; } - }*/ + + return ''; + } + + /** + * Set the days parameter. If an array is passed, it's + * AND'd together to create the mask value + * @param array|int $val + */ + public function setDaysAttribute($val): void + { + if (\is_array($val)) { + $val = Days::getDaysMask($val); + } + + $this->attributes['days'] = $val; + } /** * Relationship @@ -163,16 +223,16 @@ class Flight extends BaseModel public function fares() { return $this->belongsToMany(Fare::class, 'flight_fare') - ->withPivot('price', 'cost', 'capacity'); + ->withPivot('price', 'cost', 'capacity'); } - public function fields() + public function field_values() { - return $this->hasMany(FlightFields::class, 'flight_id'); + return $this->hasMany(FlightFieldValue::class, 'flight_id'); } public function subfleets() { - return $this->belongsToMany(Subfleet::class, 'subfleet_flight'); + return $this->belongsToMany(Subfleet::class, 'flight_subfleet'); } } diff --git a/app/Models/FlightField.php b/app/Models/FlightField.php new file mode 100644 index 00000000..daea8cfc --- /dev/null +++ b/app/Models/FlightField.php @@ -0,0 +1,41 @@ + 'boolean', + ]; + + public static $rules = [ + 'name' => 'required', + ]; + + /** + * When setting the name attribute, also set the slug + * @param $name + */ + public function setNameAttribute($name): void + { + $this->attributes['name'] = $name; + $this->attributes['slug'] = str_slug($name); + } +} diff --git a/app/Models/FlightFields.php b/app/Models/FlightFieldValue.php similarity index 54% rename from app/Models/FlightFields.php rename to app/Models/FlightFieldValue.php index a179b056..3daf15bd 100644 --- a/app/Models/FlightFields.php +++ b/app/Models/FlightFieldValue.php @@ -2,23 +2,25 @@ namespace App\Models; +use App\Interfaces\Model; + /** - * Class Flight - * + * Class FlightFieldValue + * @property string flight_id + * @property string name + * @property string value * @package App\Models */ -class FlightFields extends BaseModel +class FlightFieldValue extends Model { - public $table = 'flight_fields'; + public $table = 'flight_field_values'; - public $fillable = [ + protected $fillable = [ 'flight_id', 'name', 'value', ]; - protected $casts = []; - public static $rules = []; /** @@ -29,5 +31,4 @@ class FlightFields extends BaseModel { return $this->belongsTo(Flight::class, 'flight_id'); } - } diff --git a/app/Models/GeoJson.php b/app/Models/GeoJson.php index e24d42e2..3593cce3 100644 --- a/app/Models/GeoJson.php +++ b/app/Models/GeoJson.php @@ -10,7 +10,6 @@ use GeoJson\Geometry\Point; /** * Return different points/features in GeoJSON format * https://tools.ietf.org/html/rfc7946 - * * @package App\Models */ class GeoJson @@ -19,21 +18,19 @@ class GeoJson * @var int */ protected $counter; - /** * @var array [lon, lat] pairs */ protected $line_coords = []; - /** * @var Feature[] */ protected $point_coords = []; /** - * @param $lat - * @param $lon - * @param array $attrs Attributes of the Feature + * @param $lat + * @param $lon + * @param array $attrs Attributes of the Feature */ public function addPoint($lat, $lon, array $attrs) { @@ -48,7 +45,7 @@ class GeoJson */ public function getLine(): FeatureCollection { - if(empty($this->line_coords) || \count($this->line_coords) < 2) { + if (empty($this->line_coords) || \count($this->line_coords) < 2) { return new FeatureCollection([]); } diff --git a/app/Models/Journal.php b/app/Models/Journal.php new file mode 100644 index 00000000..238e8867 --- /dev/null +++ b/app/Models/Journal.php @@ -0,0 +1,191 @@ +morphTo(); + } + + /** + * Relationship + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ + public function ledger() + { + return $this->belongsTo(Ledger::class); + } + + /** + * Relationship + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function transactions() + { + return $this->hasMany(JournalTransaction::class); + } + + /** + * @param string $currency + */ + public function setCurrency($currency) + { + $this->currency = $currency; + } + + /** + * @param Ledger $ledger + * @return Journal + */ + public function assignToLedger(Ledger $ledger) + { + $ledger->journals()->save($this); + + return $this; + } + + /** + * + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function resetCurrentBalances() + { + $this->balance = $this->getBalance(); + $this->save(); + } + + /** + * @param $value + * @return Money + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getBalanceAttribute($value): Money + { + return new Money($value); + } + + /** + * @param $value + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function setBalanceAttribute($value): void + { + $value = ($value instanceof Money) + ? $value + : new Money($value); + + $this->attributes['balance'] = $value ? (int) $value->getAmount() : null; + } + + /** + * @param Journal $object + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function transactionsReferencingObjectQuery($object) + { + return $this + ->transactions() + ->where('ref_model', \get_class($object)) + ->where('ref_model_id', $object->id); + } + + /** + * Get the credit only balance of the journal based on a given date. + * @param Carbon $date + * @return Money + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getCreditBalanceOn(Carbon $date) + { + $balance = $this->transactions() + ->where('post_date', '<=', $date) + ->sum('credit') ?: 0; + + return new Money($balance); + } + + /** + * Get the balance of the journal based on a given date. + * @param Carbon $date + * @return Money + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getBalanceOn(Carbon $date) + { + return $this->getCreditBalanceOn($date) + ->subtract($this->getDebitBalanceOn($date)); + } + + /** + * Get the balance of the journal as of right now, excluding future transactions. + * @return Money + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getCurrentBalance() + { + return $this->getBalanceOn(Carbon::now()); + } + + /** + * Get the balance of the journal. This "could" include future dates. + * @return Money + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getBalance() + { + $balance = $this + ->transactions() + ->sum('credit') - $this->transactions()->sum('debit'); + + return new Money($balance); + } +} diff --git a/app/Models/JournalTransaction.php b/app/Models/JournalTransaction.php new file mode 100644 index 00000000..4d4105ab --- /dev/null +++ b/app/Models/JournalTransaction.php @@ -0,0 +1,74 @@ + 'integer', + 'debit' => 'integer', + 'post_date' => 'datetime', + 'tags' => 'array', + ]; + + //protected $dateFormat = 'Y-m-d'; + protected $dates = [ + 'created_at', + 'updated_at', + 'post_date', + ]; + + /** + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ + public function journal() + { + return $this->belongsTo(Journal::class); + } + + /** + * @param string $currency + */ + public function setCurrency($currency) + { + $this->currency = $currency; + } +} diff --git a/app/Models/Ledger.php b/app/Models/Ledger.php new file mode 100644 index 00000000..843dcd7d --- /dev/null +++ b/app/Models/Ledger.php @@ -0,0 +1,67 @@ +hasMany(Journal::class); + } + + /** + * Get all of the posts for the country. + */ + public function journal_transctions() + { + return $this->hasManyThrough(JournalTransaction::class, Journal::class); + } + + /** + * + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getCurrentBalance(): Money + { + if ($this->type === 'asset' || $this->type === 'expense') { + $balance = $this->journal_transctions->sum('debit') - $this->journal_transctions->sum('credit'); + } else { + $balance = $this->journal_transctions->sum('credit') - $this->journal_transctions->sum('debit'); + } + + return new Money($balance); + } + + /** + * + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getCurrentBalanceInDollars() + { + return $this->getCurrentBalance()->getValue(); + } +} diff --git a/app/Models/Navdata.php b/app/Models/Navdata.php index 0da7f485..a2dff0d0 100644 --- a/app/Models/Navdata.php +++ b/app/Models/Navdata.php @@ -2,13 +2,20 @@ namespace App\Models; -class Navdata extends BaseModel +use App\Interfaces\Model; + +/** + * Class Navdata + * @package App\Models + */ +class Navdata extends Model { public $table = 'navdata'; + public $timestamps = false; public $incrementing = false; - public $fillable = [ + protected $fillable = [ 'id', 'name', 'type', @@ -17,24 +24,19 @@ class Navdata extends BaseModel 'freq', ]; - public $casts = [ - 'type' => 'integer', - 'lat' => 'float', - 'lon' => 'float', - 'freq' => 'float', + protected $casts = [ + 'type' => 'integer', + 'lat' => 'float', + 'lon' => 'float', + 'freq' => 'float', ]; - protected static function boot() + /** + * Make sure the ID is in all caps + * @param $id + */ + public function setIdAttribute($id): void { - parent::boot(); - - /** - * Make sure the ID is all caps - */ - static::creating(function (Navdata $model) { - if (!empty($model->id)) { - $model->id = strtoupper($model->id); - } - }); + $this->attributes['id'] = strtoupper($id); } } diff --git a/app/Models/News.php b/app/Models/News.php index 4d3bf0d1..75a25c6e 100644 --- a/app/Models/News.php +++ b/app/Models/News.php @@ -2,15 +2,17 @@ namespace App\Models; +use App\Interfaces\Model; + /** * Class News * @package App\Models */ -class News extends BaseModel +class News extends Model { public $table = 'news'; - public $fillable = [ + protected $fillable = [ 'user_id', 'subject', 'body', @@ -18,7 +20,7 @@ class News extends BaseModel public static $rules = [ 'subject' => 'required', - 'body' => 'required', + 'body' => 'required', ]; /** diff --git a/app/Models/Observers/AircraftObserver.php b/app/Models/Observers/AircraftObserver.php new file mode 100644 index 00000000..2d6b7ee6 --- /dev/null +++ b/app/Models/Observers/AircraftObserver.php @@ -0,0 +1,23 @@ +hex_code)) { + $aircraft->hex_code = ICAO::createHexCode(); + } + } +} diff --git a/app/Models/Observers/AirportObserver.php b/app/Models/Observers/AirportObserver.php new file mode 100644 index 00000000..14fc789e --- /dev/null +++ b/app/Models/Observers/AirportObserver.php @@ -0,0 +1,38 @@ +iata)) { + $airport->iata = strtoupper(trim($airport->iata)); + } + + $airport->icao = strtoupper(trim($airport->icao)); + $airport->id = $airport->icao; + } + + /** + * @param Airport $airport + */ + public function updating(Airport $airport): void + { + if (filled($airport->iata)) { + $airport->iata = strtoupper(trim($airport->iata)); + } + + $airport->icao = strtoupper(trim($airport->icao)); + $airport->id = $airport->icao; + } +} diff --git a/app/Models/Observers/JournalObserver.php b/app/Models/Observers/JournalObserver.php new file mode 100644 index 00000000..56364820 --- /dev/null +++ b/app/Models/Observers/JournalObserver.php @@ -0,0 +1,22 @@ +balance = 0; + } +} diff --git a/app/Models/Observers/JournalTransactionObserver.php b/app/Models/Observers/JournalTransactionObserver.php new file mode 100644 index 00000000..f7fe785e --- /dev/null +++ b/app/Models/Observers/JournalTransactionObserver.php @@ -0,0 +1,63 @@ +id) { + $transaction->id = \Ramsey\Uuid\Uuid::uuid4()->toString(); + } + } + + /** + * After transaction is saved, adjust the journal balance + * @param JournalTransaction $transaction + */ + public function saved(JournalTransaction $transaction): void + { + $journal = $transaction->journal; + if ($transaction['credit']) { + $balance = $journal->balance->toAmount(); + $journal->balance = (int) $balance + $transaction->credit; + } + + if ($transaction['debit']) { + $balance = $journal->balance->toAmount(); + $journal->balance = (int) $balance - $transaction->debit; + } + + $journal->save(); + } + + /** + * After transaction is deleted, adjust the balance on the journal + * @param JournalTransaction $transaction + */ + public function deleted(JournalTransaction $transaction): void + { + $journal = $transaction->journal; + if ($transaction['credit']) { + $balance = $journal->balance->toAmount(); + $journal->balance = $balance - $transaction['credit']; + } + + if ($transaction['debit']) { + $balance = $journal->balance->toAmount(); + $journal->balance = $balance + $transaction['debit']; + } + + $journal->save(); + } +} diff --git a/app/Models/Observers/PirepFieldObserver.php b/app/Models/Observers/PirepFieldObserver.php new file mode 100644 index 00000000..48f02a34 --- /dev/null +++ b/app/Models/Observers/PirepFieldObserver.php @@ -0,0 +1,28 @@ +slug = str_slug($model->name); + } + + /** + * @param PirepField $model + */ + public function updating(PirepField $model): void + { + $model->slug = str_slug($model->name); + } +} diff --git a/app/Models/Observers/SettingObserver.php b/app/Models/Observers/SettingObserver.php new file mode 100644 index 00000000..e1eb293e --- /dev/null +++ b/app/Models/Observers/SettingObserver.php @@ -0,0 +1,22 @@ +id)) { + $model->id = Setting::formatKey($model->id); + } + } +} diff --git a/app/Models/Observers/SubfleetObserver.php b/app/Models/Observers/SubfleetObserver.php new file mode 100644 index 00000000..1d92bb3b --- /dev/null +++ b/app/Models/Observers/SubfleetObserver.php @@ -0,0 +1,22 @@ +ground_handling_multiplier)) { + $model->ground_handling_multiplier = 100; + } + } +} diff --git a/app/Models/Permission.php b/app/Models/Permission.php index b7f527b9..beaa2e89 100644 --- a/app/Models/Permission.php +++ b/app/Models/Permission.php @@ -1,4 +1,5 @@ 'integer', - 'airline_id' => 'integer', - 'aircraft_id' => 'integer', - 'level' => 'integer', - 'distance' => 'float', - 'planned_distance' => 'float', - 'flight_time' => 'integer', - 'planned_flight_time' => 'integer', - 'zfw' => 'float', - 'block_fuel' => 'float', - 'fuel_used' => 'float', - 'landing_rate' => 'float', - 'source' => 'integer', - 'flight_type' => 'integer', - 'state' => 'integer', - 'status' => 'integer', + 'user_id' => 'integer', + 'airline_id' => 'integer', + 'aircraft_id' => 'integer', + 'level' => 'integer', + 'distance' => 'float', + 'planned_distance' => 'float', + 'block_time' => 'integer', + 'flight_time' => 'integer', + 'planned_flight_time' => 'integer', + 'zfw' => 'float', + 'block_fuel' => 'float', + 'fuel_used' => 'float', + 'landing_rate' => 'float', + 'source' => 'integer', + 'state' => 'integer', + 'block_off_time' => 'datetime', + 'block_on_time' => 'datetime', + 'submitted_at' => 'datetime', ]; public static $rules = [ - 'airline_id' => 'required|exists:airlines,id', - 'aircraft_id' => 'required|exists:aircraft,id', - 'flight_number' => 'required', - 'dpt_airport_id' => 'required', - 'arr_airport_id' => 'required', - 'notes' => 'nullable', - 'route' => 'nullable', + 'airline_id' => 'required|exists:airlines,id', + 'aircraft_id' => 'required|exists:aircraft,id', + 'flight_number' => 'required', + 'dpt_airport_id' => 'required', + 'arr_airport_id' => 'required', + 'notes' => 'nullable', + 'route' => 'nullable', ]; /** * Get the flight ident, e.,g JBU1900 * @return string */ - public function getIdentAttribute() + public function getIdentAttribute(): string { - $flight_id = $this->airline->code; - $flight_id .= $this->flight_number; + #$flight_id = $this->airline->code; + $flight_id = $this->flight_number; - if(filled($this->route_code)) { + if (filled($this->route_code)) { $flight_id .= '/C'.$this->route_code; } - if(filled($this->route_leg)) { + if (filled($this->route_leg)) { $flight_id .= '/L'.$this->route_leg; } @@ -110,12 +143,16 @@ class Pirep extends BaseModel */ public function getDistanceAttribute() { - if(!array_key_exists('distance', $this->attributes)) { + if (!array_key_exists('distance', $this->attributes)) { return null; } try { $distance = (float) $this->attributes['distance']; + if ($this->skip_mutator) { + return $distance; + } + return new Distance($distance, config('phpvms.internal_units.distance')); } catch (NonNumericValue $e) { return 0; @@ -138,6 +175,14 @@ class Pirep extends BaseModel } } + /** + * Return if this PIREP can be edited or not + */ + public function getReadOnlyAttribute(): bool + { + return $this->state !== PirepState::PENDING; + } + /** * Return a new Fuel unit so conversions can be made * @return int|Fuel @@ -150,6 +195,7 @@ class Pirep extends BaseModel try { $fuel_used = (float) $this->attributes['fuel_used']; + return new Fuel($fuel_used, config('phpvms.internal_units.fuel')); } catch (NonNumericValue $e) { return 0; @@ -170,6 +216,10 @@ class Pirep extends BaseModel try { $distance = (float) $this->attributes['planned_distance']; + if ($this->skip_mutator) { + return $distance; + } + return new Distance($distance, config('phpvms.internal_units.distance')); } catch (NonNumericValue $e) { return 0; @@ -178,6 +228,46 @@ class Pirep extends BaseModel } } + /** + * Return the flight progress in a percent. + */ + public function getProgressPercentAttribute() + { + $upper_bound = $this->flight_time; + if($this->planned_flight_time) { + $upper_bound = $this->planned_flight_time; + } + + if(!$upper_bound) { + $upper_bound = 1; + } + + return round(($this->flight_time / $upper_bound) * 100, 0); + } + + /** + * Look up the flight, based on the PIREP flight info + * @return Flight|null + */ + public function getFlightAttribute(): ?Flight + { + $where = [ + 'airline_id' => $this->airline_id, + 'flight_number' => $this->flight_number, + 'active' => true, + ]; + + if (filled($this->route_code)) { + $where['route_code'] = $this->route_code; + } + + if (filled($this->route_leg)) { + $where['route_leg'] = $this->route_leg; + } + + return Flight::where($where)->first(); + } + /** * Set the amount of fuel used * @param $value @@ -212,7 +302,7 @@ class Pirep extends BaseModel * Do some cleanup on the route * @param $route */ - public function setRouteAttribute($route) + public function setRouteAttribute($route): void { $route = strtoupper(trim($route)); $this->attributes['route'] = $route; @@ -222,15 +312,29 @@ class Pirep extends BaseModel * Check if this PIREP is allowed to be updated * @return bool */ - public function allowedUpdates() + public function allowedUpdates(): bool { - if($this->state === PirepState::CANCELLED) { + if ($this->state === PirepState::CANCELLED) { return false; } return true; } + /** + * Return a custom field value + * @param $field_name + * @return string + */ + public function field($field_name): string + { + $field = $this->fields->where('name', $field_name)->first(); + if ($field) { + return $field['value']; + } + + return ''; + } /** * Foreign Keys @@ -239,22 +343,22 @@ class Pirep extends BaseModel public function acars() { return $this->hasMany(Acars::class, 'pirep_id') - ->where('type', AcarsType::FLIGHT_PATH) - ->orderBy('created_at', 'desc'); + ->where('type', AcarsType::FLIGHT_PATH) + ->orderBy('created_at', 'desc'); } public function acars_logs() { return $this->hasMany(Acars::class, 'pirep_id') - ->where('type', AcarsType::LOG) - ->orderBy('created_at', 'asc'); + ->where('type', AcarsType::LOG) + ->orderBy('created_at', 'asc'); } public function acars_route() { return $this->hasMany(Acars::class, 'pirep_id') - ->where('type', AcarsType::ROUTE) - ->orderBy('order', 'asc'); + ->where('type', AcarsType::ROUTE) + ->orderBy('order', 'asc'); } public function aircraft() @@ -280,7 +384,12 @@ class Pirep extends BaseModel public function comments() { return $this->hasMany(PirepComment::class, 'pirep_id') - ->orderBy('created_at', 'desc'); + ->orderBy('created_at', 'desc'); + } + + public function fares() + { + return $this->hasMany(PirepFare::class, 'pirep_id'); } public function fields() @@ -288,11 +397,6 @@ class Pirep extends BaseModel return $this->hasMany(PirepFieldValues::class, 'pirep_id'); } - public function flight() - { - return $this->belongsTo(Flight::class, 'flight_id'); - } - public function pilot() { return $this->user(); @@ -305,8 +409,16 @@ class Pirep extends BaseModel public function position() { return $this->hasOne(Acars::class, 'pirep_id') - ->where('type', AcarsType::FLIGHT_PATH) - ->latest(); + ->where('type', AcarsType::FLIGHT_PATH) + ->latest(); + } + + public function transactions() + { + return $this->hasMany(JournalTransaction::class, 'ref_model_id') + ->where('ref_model', __CLASS__) + ->orderBy('credit', 'desc') + ->orderBy('debit', 'desc'); } public function user() diff --git a/app/Models/PirepComment.php b/app/Models/PirepComment.php index b1bad10a..224bfd54 100644 --- a/app/Models/PirepComment.php +++ b/app/Models/PirepComment.php @@ -2,16 +2,20 @@ namespace App\Models; +use App\Interfaces\Model; + /** * Class PirepEvent * + * @property string pirep_id + * @property int user_id * @package App\Models */ -class PirepComment extends BaseModel +class PirepComment extends Model { public $table = 'pirep_comments'; - public $fillable = [ + protected $fillable = [ 'pirep_id', 'user_id', 'comment', diff --git a/app/Models/PirepFare.php b/app/Models/PirepFare.php new file mode 100644 index 00000000..808e807e --- /dev/null +++ b/app/Models/PirepFare.php @@ -0,0 +1,43 @@ + 'integer', + ]; + + public static $rules = [ + 'count' => 'required', + ]; + + /** + * Relationships + */ + + public function fare() + { + return $this->belongsTo(Fare::class, 'fare_id'); + } + + public function pirep() + { + return $this->belongsTo(Pirep::class, 'pirep_id'); + } +} diff --git a/app/Models/PirepField.php b/app/Models/PirepField.php index 24e4a7c7..e0d5a9c1 100644 --- a/app/Models/PirepField.php +++ b/app/Models/PirepField.php @@ -2,16 +2,20 @@ namespace App\Models; +use App\Interfaces\Model; + /** * Class PirepField + * @property string name + * @property string slug * @package App\Models */ -class PirepField extends BaseModel +class PirepField extends Model { public $table = 'pirep_fields'; public $timestamps = false; - public $fillable = [ + protected $fillable = [ 'name', 'slug', 'required', @@ -25,33 +29,11 @@ class PirepField extends BaseModel 'name' => 'required', ]; - /** - * Create/update the field slug - */ - protected static function boot() - { - parent::boot(); - - /** - * On creation - */ - static::creating(function (PirepField $model) { - $model->slug = str_slug($model->name); - }); - - /** - * When updating - */ - static::updating(function(PirepField $model) { - $model->slug = str_slug($model->name); - }); - } - /** * When setting the name attribute, also set the slug * @param $name */ - public function setNameAttribute($name) + public function setNameAttribute($name): void { $this->attributes['name'] = $name; $this->attributes['slug'] = str_slug($name); diff --git a/app/Models/PirepFieldValues.php b/app/Models/PirepFieldValues.php index 40d58719..39c34266 100644 --- a/app/Models/PirepFieldValues.php +++ b/app/Models/PirepFieldValues.php @@ -2,15 +2,17 @@ namespace App\Models; +use App\Interfaces\Model; + /** * Class PirepFieldValues * @package App\Models */ -class PirepFieldValues extends BaseModel +class PirepFieldValues extends Model { public $table = 'pirep_field_values'; - public $fillable = [ + protected $fillable = [ 'pirep_id', 'name', 'value', diff --git a/app/Models/Rank.php b/app/Models/Rank.php index 012a2ae0..28718c80 100644 --- a/app/Models/Rank.php +++ b/app/Models/Rank.php @@ -2,18 +2,25 @@ namespace App\Models; +use App\Interfaces\Model; + /** * Class Rank + * @property int hours + * @property float manual_base_pay_rate + * @property float acars_base_pay_rate * @package App\Models */ -class Rank extends BaseModel +class Rank extends Model { public $table = 'ranks'; - public $fillable = [ + protected $fillable = [ 'name', 'hours', - 'image_link', + 'image_url', + 'acars_base_pay_rate', + 'manual_base_pay_rate', 'auto_approve_acars', 'auto_approve_manual', 'auto_promote', @@ -21,18 +28,26 @@ class Rank extends BaseModel protected $casts = [ 'hours' => 'integer', + 'base_pay_rate' => 'float', 'auto_approve_acars' => 'bool', 'auto_approve_manual' => 'bool', 'auto_promote' => 'bool', ]; public static $rules = [ - 'name' => 'required', - 'hours' => 'required|integer', + 'name' => 'required', + 'hours' => 'required|integer', + 'acars_base_pay_rate' => 'nullable|numeric', + 'manual_base_pay_rate' => 'nullable|numeric', ]; - public function subfleets() { + /* + * Relationships + */ + + public function subfleets() + { return $this->belongsToMany(Subfleet::class, 'subfleet_rank') - ->withPivot('acars_pay', 'manual_pay'); + ->withPivot('acars_pay', 'manual_pay'); } } diff --git a/app/Models/Role.php b/app/Models/Role.php index 0a5a08cb..d3d08724 100644 --- a/app/Models/Role.php +++ b/app/Models/Role.php @@ -1,9 +1,9 @@ id)) { - $model->id = Setting::formatKey($model->id); - } - }); + $id = strtolower($id); + $this->attributes['id'] = self::formatKey($id); } /** - * Override the casting mechanism - * @param string $key - * @return mixed|string + * Set the key to lowercase + * @param $key */ - /*protected function getCastType($key) + public function setKeyAttribute($key): void { - if ($key === 'value' && !empty($this->type)) { - return $this->type; - } else { - return parent::getCastType($key); - } - }*/ + $this->attributes['key'] = strtolower($key); + } } diff --git a/app/Models/Subfleet.php b/app/Models/Subfleet.php index d5348b77..a371a41a 100644 --- a/app/Models/Subfleet.php +++ b/app/Models/Subfleet.php @@ -2,71 +2,78 @@ namespace App\Models; +use App\Interfaces\Model; +use App\Models\Enums\AircraftStatus; +use App\Models\Traits\ExpensableTrait; + /** * Class Subfleet + * @property int id + * @property string type + * @property string name + * @property string ground_handling_multiplier + * @property Fare[] fares + * @property float cost_block_hour + * @property float cost_delay_minute + * @property Airline airline * @package App\Models */ -class Subfleet extends BaseModel +class Subfleet extends Model { + use ExpensableTrait; + public $table = 'subfleets'; - protected $dates = ['deleted_at']; public $fillable = [ 'airline_id', - 'name', 'type', + 'name', + 'turn_time', 'fuel_type', + 'ground_handling_multiplier', 'cargo_capacity', 'fuel_capacity', 'gross_weight', ]; - /** - * The attributes that should be casted to native types. - * - * @var array - */ - protected $casts = [ - 'airline_id' => 'integer', - 'fuel_type' => 'integer', - 'cargo_capacity' => 'double', - 'fuel_capacity' => 'double', - 'gross_weight' => 'double', + public $casts = [ + 'airline_id' => 'integer', + 'turn_time' => 'integer', + 'cost_block_hour' => 'float', + 'cost_delay_minute' => 'float', + 'fuel_type' => 'integer', + 'ground_handling_multiplier' => 'float', + 'cargo_capacity' => 'float', + 'fuel_capacity' => 'float', + 'gross_weight' => 'float', ]; public static $rules = [ - 'name' => 'required', - 'type' => 'required', + 'type' => 'required', + 'name' => 'required', + 'ground_handling_multiplier' => 'nullable|numeric', ]; /** - * Modify some fields on the fly. Make sure the subfleet - * names don't have spaces in them. + * @param $type */ - public static function boot() + public function setTypeAttribute($type) { - parent::boot(); - - static::creating(function ($model) { - if (filled($model->type)) { - $model->type = str_replace(' ', '_', $model->type); - } - }); - - static::updating(function ($model) { - if (filled($model->type)) { - $model->type = str_replace(' ', '_', $model->type); - } - }); + $type = str_replace([' ', ','], array('-', ''), $type); + $this->attributes['type'] = $type; } /** * Relationships */ + /** + * @return $this + */ public function aircraft() { - return $this->hasMany(Aircraft::class, 'subfleet_id'); + return $this->hasMany(Aircraft::class, 'subfleet_id') + ->where('status', AircraftStatus::ACTIVE); } public function airline() @@ -77,17 +84,17 @@ class Subfleet extends BaseModel public function fares() { return $this->belongsToMany(Fare::class, 'subfleet_fare') - ->withPivot('price', 'cost', 'capacity'); + ->withPivot('price', 'cost', 'capacity'); } public function flights() { - return $this->belongsToMany(Flight::class, 'subfleet_flight'); + return $this->belongsToMany(Flight::class, 'flight_subfleet'); } public function ranks() { return $this->belongsToMany(Rank::class, 'subfleet_rank') - ->withPivot('acars_pay', 'manual_pay'); + ->withPivot('acars_pay', 'manual_pay'); } } diff --git a/app/Models/Traits/ExpensableTrait.php b/app/Models/Traits/ExpensableTrait.php new file mode 100644 index 00000000..2abee8e7 --- /dev/null +++ b/app/Models/Traits/ExpensableTrait.php @@ -0,0 +1,26 @@ +morphMany( + Expense::class, + 'expenses', # overridden by the next two anyway + 'ref_model', + 'ref_model_id' + ); + } +} diff --git a/app/Models/Traits/FilesTrait.php b/app/Models/Traits/FilesTrait.php new file mode 100644 index 00000000..8154d831 --- /dev/null +++ b/app/Models/Traits/FilesTrait.php @@ -0,0 +1,22 @@ +morphMany( + File::class, + 'files', # overridden by the next two anyway + 'ref_model', + 'ref_model_id' + ); + } +} diff --git a/app/Models/Traits/HashId.php b/app/Models/Traits/HashIdTrait.php similarity index 63% rename from app/Models/Traits/HashId.php rename to app/Models/Traits/HashIdTrait.php index f3a48868..5e898289 100644 --- a/app/Models/Traits/HashId.php +++ b/app/Models/Traits/HashIdTrait.php @@ -2,27 +2,28 @@ namespace App\Models\Traits; +use App\Interfaces\Model; use Hashids\Hashids; -trait HashId +trait HashIdTrait { /** * @return string * @throws \Hashids\HashidsException */ - protected static function createNewHashId() + final protected static function createNewHashId(): string { - $hashids = new Hashids('', 12); + $hashids = new Hashids('', Model::ID_MAX_LENGTH); $mt = str_replace('.', '', microtime(true)); return $hashids->encode($mt); } /** * Register callbacks + * @throws \Hashids\HashidsException */ - protected static function boot() + final protected static function bootHashIdTrait(): void { - parent::boot(); static::creating(function ($model) { if (empty($model->id)) { $model->id = static::createNewHashId(); diff --git a/app/Models/Traits/JournalTrait.php b/app/Models/Traits/JournalTrait.php new file mode 100644 index 00000000..5fbf7b7d --- /dev/null +++ b/app/Models/Traits/JournalTrait.php @@ -0,0 +1,50 @@ +initJournal(config('phpvms.currency')); + }); + } + + /** + * Morph to Journal. + * + * @return mixed + */ + public function journal() + { + return $this->morphOne(Journal::class, 'morphed'); + } + + /** + * Initialize a journal for a given model object + * + * @param string $currency_code + * @return Journal + * @throws \Exception + */ + public function initJournal($currency_code = 'USD') + { + if (!$this->journal) { + $journal = new Journal(); + $journal->type = $this->journal_type; + $journal->currency = $currency_code; + $journal->balance = 0; + $this->journal()->save($journal); + + $journal->refresh(); + + return $journal; + } + } +} diff --git a/app/Models/Traits/ReferenceTrait.php b/app/Models/Traits/ReferenceTrait.php new file mode 100644 index 00000000..f36349d7 --- /dev/null +++ b/app/Models/Traits/ReferenceTrait.php @@ -0,0 +1,48 @@ +ref_model = \get_class($object); + $this->ref_model_id = $object->id; + $this->save(); + + return $this; + } + + /** + * Return an instance of the object or null + * @return \App\Interfaces\Model|null + */ + public function getReferencedObject() + { + if (!$this->ref_model || !$this->ref_model_id) { + return null; + } + + if ($this->ref_model === __CLASS__) { + return $this; + } + + try { + $klass = new $this->ref_model; + $obj = $klass->find($this->ref_model_id); + return $obj; + } catch (\Exception $e) { + return null; + } + } +} diff --git a/app/Models/User.php b/app/Models/User.php index 548dff48..8d6fbcf8 100755 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -2,33 +2,46 @@ namespace App\Models; +use App\Models\Enums\JournalType; use App\Models\Enums\PirepState; +use App\Models\Traits\JournalTrait; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laratrust\Traits\LaratrustUserTrait; /** - * @property integer $id - * @property string $name - * @property string $email - * @property string $password - * @property string $api_key - * @property string $flights - * @property string $flight_time - * @property string $remember_token + * @property integer $id + * @property string $name + * @property string $email + * @property string $password + * @property string $api_key + * @property string curr_airport_id + * @property string home_airport_id + * @property Flight[] $flights + * @property string $flight_time + * @property string $remember_token * @property \Carbon\Carbon $created_at * @property \Carbon\Carbon $updated_at + * @property Rank rank + * @property Journal journal + * @property string pilot_id + * @property int state * @mixin \Illuminate\Notifications\Notifiable * @mixin \Laratrust\Traits\LaratrustUserTrait */ class User extends Authenticatable { - use Notifiable; + use JournalTrait; use LaratrustUserTrait; - //use SoftDeletes; + use Notifiable; public $table = 'users'; + /** + * The journal type for when it's being created + */ + public $journal_type = JournalType::USER; + protected $fillable = [ 'name', 'email', @@ -43,7 +56,7 @@ class User extends Authenticatable 'flights', 'flight_time', 'transferred_time', - 'balance', + 'avatar', 'timezone', 'state', 'status', @@ -61,16 +74,16 @@ class User extends Authenticatable ]; protected $casts = [ - 'flights' => 'integer', - 'flight_time' => 'integer', - 'transferred_time' => 'integer', - 'balance' => 'double', - 'state' => 'integer', - 'status' => 'integer', + 'flights' => 'integer', + 'flight_time' => 'integer', + 'transferred_time' => 'integer', + 'balance' => 'double', + 'state' => 'integer', + 'status' => 'integer', ]; public static $rules = [ - 'name' => 'required', + 'name' => 'required', 'email' => 'required|email', ]; @@ -80,7 +93,8 @@ class User extends Authenticatable public function getPilotIdAttribute() { $length = setting('pilots.id_length'); - return $this->airline->icao . str_pad($this->id, $length, '0', STR_PAD_LEFT); + + return $this->airline->icao.str_pad($this->id, $length, '0', STR_PAD_LEFT); } /** @@ -109,18 +123,32 @@ class User extends Authenticatable $this->attributes['timezone'] = $value; } + /** + * Return a File model + */ + public function getAvatarAttribute() + { + if (!$this->attributes['avatar']) { + return null; + } + + return new File([ + 'path' => $this->attributes['avatar'] + ]); + } + /** * @param mixed $size Size of the gravatar, in pixels * @return string */ - public function gravatar($size=null) + public function gravatar($size = null) { $default = config('gravatar.default'); $uri = config('gravatar.url') - . md5(strtolower(trim($this->email))).'?d='.urlencode($default); + .md5(strtolower(trim($this->email))).'?d='.urlencode($default); - if($size !== null) { + if ($size !== null) { $uri .= '&s='.$size; } @@ -136,6 +164,11 @@ class User extends Authenticatable return $this->belongsTo(Airline::class, 'airline_id'); } + public function awards() + { + return $this->hasMany(UserAward::class, 'user_id'); + } + public function home_airport() { return $this->belongsTo(Airport::class, 'home_airport_id'); @@ -151,15 +184,27 @@ class User extends Authenticatable return $this->belongsTo(Pirep::class, 'last_pirep_id'); } + /** + * These are the flights they've bid on + */ + public function flights() + { + return $this->belongsToMany(Flight::class, 'bids'); + } + + /** + * The bid rows + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ public function bids() { - return $this->hasMany(UserBid::class, 'user_id'); + return $this->hasMany(Bid::class, 'user_id'); } public function pireps() { return $this->hasMany(Pirep::class, 'user_id') - ->where('state', '!=', PirepState::CANCELLED); + ->where('state', '!=', PirepState::CANCELLED); } public function rank() diff --git a/app/Models/UserAward.php b/app/Models/UserAward.php new file mode 100644 index 00000000..61c367ac --- /dev/null +++ b/app/Models/UserAward.php @@ -0,0 +1,35 @@ +belongsTo(Award::class, 'award_id'); + } + + /** + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ + public function user() + { + return $this->belongsTo(User::class, 'user_id'); + } +} diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 2efb2686..fbe0ef29 100755 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -2,26 +2,58 @@ namespace App\Providers; +use App\Models\Aircraft; +use App\Models\Airport; +use App\Models\Journal; +use App\Models\JournalTransaction; +use App\Models\Observers\AircraftObserver; +use App\Models\Observers\AirportObserver; +use App\Models\Observers\JournalObserver; +use App\Models\Observers\JournalTransactionObserver; +use App\Models\Observers\PirepFieldObserver; +use App\Models\Observers\SettingObserver; +use App\Models\Observers\SubfleetObserver; +use App\Models\PirepField; +use App\Models\Setting; +use App\Models\Subfleet; use App\Repositories\SettingRepository; +use App\Services\ModuleService; use Illuminate\Support\Facades\Schema; use Illuminate\Support\ServiceProvider; +use View; class AppServiceProvider extends ServiceProvider { - /** - * Bootstrap any application services. - */ - public function boot() + public function boot(): void { Schema::defaultStringLength(191); $this->app->bind('setting', SettingRepository::class); + + View::share('moduleSvc', app(ModuleService::class)); + + // Model observers + Aircraft::observe(AircraftObserver::class); + Airport::observe(AirportObserver::class); + Journal::observe(JournalObserver::class); + JournalTransaction::observe(JournalTransactionObserver::class); + PirepField::observe(PirepFieldObserver::class); + Setting::observe(SettingObserver::class); + Subfleet::observe(SubfleetObserver::class); } /** * Register any application services. */ - public function register() + public function register(): void { + # Only dev environment stuff + if ($this->app->environment() === 'dev') { + # Only load the IDE helper if it's included. This lets use distribute the + # package without any dev dependencies + if (class_exists(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class)) { + $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class); + } + } } } diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 9e68caa6..66d92779 100755 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -23,7 +23,6 @@ class AuthServiceProvider extends ServiceProvider public function boot() { $this->registerPolicies(); - // } } diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index 33b25c2a..5be19e72 100755 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -2,34 +2,51 @@ namespace App\Providers; -use App\Listeners\NotificationEventListener; +use App\Cron\Nightly\SetActiveFlights; +use App\Events\CronMonthly; +use App\Events\CronNightly; +use App\Events\CronWeekly; +use App\Events\Expenses; +use App\Events\UserStatsChanged; +use App\Listeners\AwardListener; +use App\Cron\Nightly\ApplyExpenses; +use App\Cron\Nightly\PilotLeave; +use App\Cron\Nightly\RecalculateBalances; +use App\Listeners\ExpenseListener; +use App\Listeners\FinanceEvents; +use App\Listeners\NotificationEvents; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; - class EventServiceProvider extends ServiceProvider { - /** - * The event listener mappings for the application. - * - * @var array - */ protected $listen = [ - /*'App\Events\TestEvent' => [ - 'App\Listeners\EventListener', - ],*/ + + Expenses::class => [ + ExpenseListener::class + ], + + # Cron hooks + CronNightly::class => [ + ApplyExpenses::class, + RecalculateBalances::class, + PilotLeave::class, + SetActiveFlights::class, + ], + + CronWeekly::class => [ + ], + + CronMonthly::class => [ + \App\Cron\Monthly\ApplyExpenses::class + ], + + UserStatsChanged::class => [ + AwardListener::class, + ], ]; protected $subscribe = [ - NotificationEventListener::class, + FinanceEvents::class, + NotificationEvents::class, ]; - - /** - * Register any events for your application. - * - * @return void - */ - public function boot() - { - parent::boot(); - } } diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 59fca23e..07079a18 100755 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -50,7 +50,7 @@ class RouteServiceProvider extends ServiceProvider { Route::group([ 'middleware' => 'web', - 'namespace' => $this->namespace, + 'namespace' => $this->namespace, ], function ($router) { require app_path('Routes/web.php'); }); @@ -67,9 +67,9 @@ class RouteServiceProvider extends ServiceProvider { Route::group([ 'middleware' => ['api'], - 'namespace' => $this->namespace."\\Api", - 'prefix' => 'api', - 'as' => 'api.', + 'namespace' => $this->namespace."\\Api", + 'prefix' => 'api', + 'as' => 'api.', ], function ($router) { require app_path('Routes/api.php'); }); diff --git a/app/Providers/vaCentralServiceProvider.php b/app/Providers/vaCentralServiceProvider.php new file mode 100755 index 00000000..361baeaf --- /dev/null +++ b/app/Providers/vaCentralServiceProvider.php @@ -0,0 +1,20 @@ + $pirep_id, - 'type' => $type, + 'type' => $type, ]; - switch($type) { + switch ($type) { default: case AcarsType::FLIGHT_PATH: case AcarsType::LOG: @@ -50,8 +56,8 @@ class AcarsRepository extends BaseRepository //implements CacheableInterface public function getPositions() { return Pirep::with(['airline', 'position']) - ->where(['state' => PirepState::IN_PROGRESS]) - ->get(); + ->where(['state' => PirepState::IN_PROGRESS]) + ->get(); } /** diff --git a/app/Repositories/AircraftRepository.php b/app/Repositories/AircraftRepository.php index 51156961..2c2bfcb8 100644 --- a/app/Repositories/AircraftRepository.php +++ b/app/Repositories/AircraftRepository.php @@ -2,16 +2,21 @@ namespace App\Repositories; +use App\Interfaces\Repository; use App\Models\Aircraft; use Prettus\Repository\Contracts\CacheableInterface; use Prettus\Repository\Traits\CacheableRepository; -class AircraftRepository extends BaseRepository implements CacheableInterface +/** + * Class AircraftRepository + * @package App\Repositories + */ +class AircraftRepository extends Repository implements CacheableInterface { use CacheableRepository; protected $fieldSearchable = [ - 'name' => 'like', + 'name' => 'like', 'registration' => 'like', 'active', ]; @@ -31,7 +36,7 @@ class AircraftRepository extends BaseRepository implements CacheableInterface $items = $this->all(); foreach ($items as $i) { - $retval[$i->id] = $i->subfleet->name . ' - ' . $i->name . ' (' . $i->registration . ')'; + $retval[$i->id] = $i->subfleet->name.' - '.$i->name.' ('.$i->registration.')'; } return $retval; diff --git a/app/Repositories/AirlineRepository.php b/app/Repositories/AirlineRepository.php index a68a1d15..abb7d8f9 100644 --- a/app/Repositories/AirlineRepository.php +++ b/app/Repositories/AirlineRepository.php @@ -2,12 +2,16 @@ namespace App\Repositories; +use App\Interfaces\Repository; use App\Models\Airline; use Prettus\Repository\Contracts\CacheableInterface; use Prettus\Repository\Traits\CacheableRepository; - -class AirlineRepository extends BaseRepository implements CacheableInterface +/** + * Class AirlineRepository + * @package App\Repositories + */ +class AirlineRepository extends Repository implements CacheableInterface { use CacheableRepository; @@ -25,12 +29,12 @@ class AirlineRepository extends BaseRepository implements CacheableInterface * Return the list of airline formatted for a select box * @return array */ - public function selectBoxList($add_blank=false): array + public function selectBoxList($add_blank = false): array { $retval = []; $items = $this->all(); - if($add_blank) { + if ($add_blank) { $retval[''] = ''; } diff --git a/app/Repositories/AirportRepository.php b/app/Repositories/AirportRepository.php index fd9c86de..fabb96bf 100644 --- a/app/Repositories/AirportRepository.php +++ b/app/Repositories/AirportRepository.php @@ -2,12 +2,16 @@ namespace App\Repositories; +use App\Interfaces\Repository; use App\Models\Airport; use Prettus\Repository\Contracts\CacheableInterface; use Prettus\Repository\Traits\CacheableRepository; - -class AirportRepository extends BaseRepository implements CacheableInterface +/** + * Class AirportRepository + * @package App\Repositories + */ +class AirportRepository extends Repository implements CacheableInterface { use CacheableRepository; @@ -25,12 +29,12 @@ class AirportRepository extends BaseRepository implements CacheableInterface * Return the list of airports formatted for a select box * @return array */ - public function selectBoxList($add_blank=false, $only_hubs=false): array + public function selectBoxList($add_blank = false, $only_hubs = false): array { $retval = []; $where = []; - if($only_hubs) { + if ($only_hubs) { $where['hub'] = 1; } @@ -41,7 +45,7 @@ class AirportRepository extends BaseRepository implements CacheableInterface } foreach ($items as $i) { - $retval[$i->icao] = $i->icao . ' - ' . $i->name; + $retval[$i->icao] = $i->icao.' - '.$i->name; } return $retval; diff --git a/app/Repositories/AwardRepository.php b/app/Repositories/AwardRepository.php new file mode 100755 index 00000000..6b731bfc --- /dev/null +++ b/app/Repositories/AwardRepository.php @@ -0,0 +1,31 @@ + 'like', + ]; + + public function model(): string + { + return Award::class; + } + + public function findByTitle($title) + { + return $this->findByField('title', $title)->first(); + } +} diff --git a/app/Repositories/BaseRepository.php b/app/Repositories/BaseRepository.php deleted file mode 100644 index 135ec9c3..00000000 --- a/app/Repositories/BaseRepository.php +++ /dev/null @@ -1,65 +0,0 @@ -find($id, $columns); - } catch (\Exception $e) { - return; - } - } - - /** - * @param $values - * @return bool - */ - public function validate($values) - { - $validator = Validator::make( - $values, - $this->model()->rules - ); - - if($validator->fails()) { - return $validator->messages(); - } - - return true; - } - - /** - * Return N most recent items, sorted by created_at - * @param int $count - * @param string $sort_by created_at (default) or updated_at - * @return mixed - */ - public function recent($count = 5, $sort_by = 'created_at') - { - return $this->orderBy($sort_by, 'desc')->paginate($count); - } - - /** - * Find records with a WHERE clause but also sort them - * @param $where - * @param $sort_by - * @param $order_by - * @return $this - */ - public function whereOrder($where, $sort_by, $order_by) - { - return $this->scopeQuery(function($query) use ($where, $sort_by, $order_by) { - return $query->where($where)->orderBy($sort_by, $order_by); - }); - } -} diff --git a/app/Repositories/Criteria/WhereCriteria.php b/app/Repositories/Criteria/WhereCriteria.php index 7b39d6ae..2a32a4cb 100644 --- a/app/Repositories/Criteria/WhereCriteria.php +++ b/app/Repositories/Criteria/WhereCriteria.php @@ -24,19 +24,18 @@ class WhereCriteria implements CriteriaInterface $this->where = $where; } - /** * Apply criteria in query repository * * @param Builder|Model $model - * @param RepositoryInterface $repository + * @param RepositoryInterface $repository * * @return mixed * @throws \Exception */ public function apply($model, RepositoryInterface $repository) { - if($this->where) { + if ($this->where) { $model = $model->where($this->where); } diff --git a/app/Repositories/ExpenseRepository.php b/app/Repositories/ExpenseRepository.php new file mode 100644 index 00000000..dfb842b9 --- /dev/null +++ b/app/Repositories/ExpenseRepository.php @@ -0,0 +1,69 @@ + $type, + ['airline_id', '=', null] + ]; + + if ($ref_model) { + if (\is_object($ref_model)) { + $ref_model_type = \get_class($ref_model); + } else { + $ref_model_type = $ref_model; + } + + if ($ref_model) { + $where['ref_model'] = $ref_model_type; + } + } + + $expenses = $this->findWhere($where); + + if ($airline_id) { + $where = [ + 'type' => $type, + 'airline_id' => $airline_id + ]; + + if ($ref_model) { + $where['ref_model'] = $ref_model_type; + } + + $airline_expenses = $this->findWhere($where); + $expenses = $expenses->concat($airline_expenses); + } + + return $expenses; + } +} diff --git a/app/Repositories/FareRepository.php b/app/Repositories/FareRepository.php index 71c0b56a..c5833ca2 100644 --- a/app/Repositories/FareRepository.php +++ b/app/Repositories/FareRepository.php @@ -2,17 +2,22 @@ namespace App\Repositories; +use App\Interfaces\Repository; use App\Models\Fare; use Prettus\Repository\Contracts\CacheableInterface; use Prettus\Repository\Traits\CacheableRepository; -class FareRepository extends BaseRepository implements CacheableInterface +/** + * Class FareRepository + * @package App\Repositories + */ +class FareRepository extends Repository implements CacheableInterface { use CacheableRepository; protected $fieldSearchable = [ - 'code' => 'like', - 'name' => 'like', + 'code' => 'like', + 'name' => 'like', 'notes' => 'like', ]; @@ -21,7 +26,8 @@ class FareRepository extends BaseRepository implements CacheableInterface return Fare::class; } - public function findByCode($code) { + public function findByCode($code) + { return $this->findByField('code', $code)->first(); } } diff --git a/app/Repositories/FlightFieldRepository.php b/app/Repositories/FlightFieldRepository.php new file mode 100644 index 00000000..df2cbe9b --- /dev/null +++ b/app/Repositories/FlightFieldRepository.php @@ -0,0 +1,25 @@ + 'like', + ]; + + /** + * @return string + */ + public function model(): string + { + return FlightField::class; + } +} diff --git a/app/Repositories/FlightRepository.php b/app/Repositories/FlightRepository.php index 93860404..350772c5 100644 --- a/app/Repositories/FlightRepository.php +++ b/app/Repositories/FlightRepository.php @@ -2,13 +2,18 @@ namespace App\Repositories; +use App\Interfaces\Repository; use App\Models\Flight; use App\Repositories\Criteria\WhereCriteria; use Illuminate\Http\Request; use Prettus\Repository\Contracts\CacheableInterface; use Prettus\Repository\Traits\CacheableRepository; -class FlightRepository extends BaseRepository implements CacheableInterface +/** + * Class FlightRepository + * @package App\Repositories + */ +class FlightRepository extends Repository implements CacheableInterface { use CacheableRepository; @@ -16,8 +21,10 @@ class FlightRepository extends BaseRepository implements CacheableInterface 'arr_airport_id', 'dpt_airport_id', 'flight_number' => 'like', - 'route' => 'like', - 'notes' => 'like', + 'flight_code' => 'like', + 'flight_leg' => 'like', + 'route' => 'like', + 'notes' => 'like', ]; public function model() @@ -25,18 +32,45 @@ class FlightRepository extends BaseRepository implements CacheableInterface return Flight::class; } + /** + * Find a flight based on the given criterea + * @param $airline_id + * @param $flight_num + * @param null $route_code + * @param null $route_leg + * @return mixed + */ + public function findFlight($airline_id, $flight_num, $route_code = null, $route_leg = null) + { + $where = [ + 'airline_id' => $airline_id, + 'flight_number' => $flight_num, + 'active' => true, + ]; + + if (filled($route_code)) { + $where['route_code'] = $route_code; + } + + if (filled($route_leg)) { + $where['route_leg'] = $route_leg; + } + + return $this->findWhere($where); + } + /** * Create the search criteria and return this with the stuff pushed * @param Request $request - * @param bool $only_active + * @param bool $only_active * @return $this * @throws \Prettus\Repository\Exceptions\RepositoryException */ - public function searchCriteria(Request $request, bool $only_active=true) + public function searchCriteria(Request $request, bool $only_active = true) { $where = []; - if($only_active === true) { + if ($only_active === true) { $where['active'] = $only_active; } @@ -48,7 +82,7 @@ class FlightRepository extends BaseRepository implements CacheableInterface $where['airline_id'] = $request->airline_id; } - if($request->filled('flight_number')) { + if ($request->filled('flight_number')) { $where['flight_number'] = $request->flight_number; } @@ -65,6 +99,7 @@ class FlightRepository extends BaseRepository implements CacheableInterface } $this->pushCriteria(new WhereCriteria($request, $where)); + return $this; } } diff --git a/app/Repositories/JournalRepository.php b/app/Repositories/JournalRepository.php new file mode 100644 index 00000000..02513697 --- /dev/null +++ b/app/Repositories/JournalRepository.php @@ -0,0 +1,285 @@ +setTimezone('UTC')->toDateString(); + } + + /** + * Recalculate the balance of the given journal + * @param Journal $journal + * @return Journal + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function recalculateBalance(Journal $journal) + { + $where = [ + 'journal_id' => $journal->id + ]; + + $credits = Money::create($this->findWhere($where)->sum('credit') ?: 0); + $debits = Money::create($this->findWhere($where)->sum('debit') ?: 0); + $balance = $credits->subtract($debits); + + $journal->balance = $balance->getAmount(); + $journal->save(); + + return $journal; + } + + /** + * Post a new transaction to a journal, and also adjust the balance + * on the transaction itself. A cron will run to reconcile the journal + * balance nightly, since they're not atomic operations + * + * @param Journal $journal + * @param Money|null $credit Amount to credit + * @param Money|null $debit Amount to debit + * @param Model|null $reference The object this is a reference to + * @param string|null $memo Memo for this transaction + * @param string|null $post_date Date of the posting + * @param string|null $transaction_group + * @param array|string|null $tags + * @return mixed + * @throws ValidatorException + */ + public function post( + Journal &$journal, + Money $credit = null, + Money $debit = null, + $reference = null, + $memo = null, + $post_date = null, + $transaction_group = null, + $tags = null + ) + { + # tags can be passed in a list + if ($tags && \is_array($tags)) { + $tags = implode(',', $tags); + } + + if (!$post_date) { + $post_date = Carbon::now('UTC'); + } + + $attrs = [ + 'journal_id' => $journal->id, + 'credit' => $credit ? $credit->getAmount() : null, + 'debit' => $debit ? $debit->getAmount() : null, + 'currency' => config('phpvms.currency'), + 'memo' => $memo, + 'post_date' => $post_date, + 'transaction_group' => $transaction_group, + 'tags' => $tags + ]; + + if ($reference !== null) { + $attrs['ref_model'] = \get_class($reference); + $attrs['ref_model_id'] = $reference->id; + } + + try { + $transaction = $this->create($attrs); + } catch (ValidatorException $e) { + throw $e; + } + + $journal->refresh(); + + return $transaction; + } + + /** + * @param Journal $journal + * @param Carbon|null $date + * @return Money + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getBalance(Journal $journal = null, Carbon $date = null) + { + $journal->refresh(); + + if (!$date) { + $date = Carbon::now(); + } + + $credit = $this->getCreditBalanceBetween($date, $journal); + $debit = $this->getDebitBalanceBetween($date, $journal); + + return $credit->subtract($debit); + } + + /** + * Get the credit only balance of the journal based on a given date. + * @param Carbon $date + * @param Journal $journal + * @param Carbon|null $start_date + * @param null $transaction_group + * @return Money + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getCreditBalanceBetween( + Carbon $date, + Journal $journal = null, + Carbon $start_date = null, + $transaction_group = null + ): Money + { + $where = []; + + if ($journal) { + $where['journal_id'] = $journal->id; + } + + if ($transaction_group) { + $where['transaction_group'] = $transaction_group; + } + + $query = JournalTransaction::where($where); + $query = $query->whereDate('post_date', '<=', $date->toDateString()); + + if ($start_date) { + $query = $query->whereDate('post_date', '>=', $start_date->toDateString()); + } + + $balance = $query->sum('credit') ?: 0; + + return new Money($balance); + } + + /** + * @param Carbon $date + * @param Journal $journal + * @param Carbon|null $start_date + * @param null $transaction_group + * @return Money + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getDebitBalanceBetween( + Carbon $date, + Journal $journal = null, + Carbon $start_date = null, + $transaction_group = null + ): Money + { + $where = []; + + if ($journal) { + $where['journal_id'] = $journal->id; + } + + if ($transaction_group) { + $where['transaction_group'] = $transaction_group; + } + + $query = JournalTransaction::where($where); + $query = $query->whereDate('post_date', '<=', $date->toDateString()); + + if ($start_date) { + $query = $query->whereDate('post_date', '>=', $start_date->toDateString()); + } + + $balance = $query->sum('debit') ?: 0; + + return new Money($balance); + } + + /** + * Return all transactions for a given object + * @param $object + * @param null $journal + * @param Carbon|null $date + * @return array + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getAllForObject($object, $journal = null, Carbon $date = null) + { + $where = [ + 'ref_model' => \get_class($object), + 'ref_model_id' => $object->id, + ]; + + if ($journal) { + $where['journal_id'] = $journal->id; + } + + if ($date) { + $date = $this->formatPostDate($date); + $where[] = ['post_date', '=', $date]; + } + + $transactions = $this->whereOrder($where, [ + 'credit' => 'desc', + 'debit' => 'desc' + ])->get(); + + return [ + 'credits' => new Money($transactions->sum('credit')), + 'debits' => new Money($transactions->sum('debit')), + 'transactions' => $transactions, + ]; + } + + /** + * Delete all transactions for a given object + * @param $object + * @param null $journal + * @return void + */ + public function deleteAllForObject($object, $journal = null) + { + $where = [ + 'ref_model' => \get_class($object), + 'ref_model_id' => $object->id, + ]; + + if ($journal) { + $where['journal_id'] = $journal->id; + } + + $this->deleteWhere($where); + } +} diff --git a/app/Repositories/NavdataRepository.php b/app/Repositories/NavdataRepository.php index 68b90eca..9ed69a80 100644 --- a/app/Repositories/NavdataRepository.php +++ b/app/Repositories/NavdataRepository.php @@ -2,11 +2,16 @@ namespace App\Repositories; +use App\Interfaces\Repository; use App\Models\Navdata; use Prettus\Repository\Contracts\CacheableInterface; use Prettus\Repository\Traits\CacheableRepository; -class NavdataRepository extends BaseRepository implements CacheableInterface +/** + * Class NavdataRepository + * @package App\Repositories + */ +class NavdataRepository extends Repository implements CacheableInterface { use CacheableRepository; diff --git a/app/Repositories/NewsRepository.php b/app/Repositories/NewsRepository.php index c4b2ca43..819e42b4 100644 --- a/app/Repositories/NewsRepository.php +++ b/app/Repositories/NewsRepository.php @@ -2,11 +2,16 @@ namespace App\Repositories; +use App\Interfaces\Repository; use App\Models\News; use Prettus\Repository\Contracts\CacheableInterface; use Prettus\Repository\Traits\CacheableRepository; -class NewsRepository extends BaseRepository implements CacheableInterface +/** + * Class NewsRepository + * @package App\Repositories + */ +class NewsRepository extends Repository implements CacheableInterface { use CacheableRepository; @@ -20,10 +25,10 @@ class NewsRepository extends BaseRepository implements CacheableInterface * @param int $count * @return mixed */ - public function getLatest($count=5) + public function getLatest($count = 5) { return $this->orderBy('created_at', 'desc') - ->with(['user']) - ->paginate($count); + ->with(['user']) + ->paginate($count); } } diff --git a/app/Repositories/PirepFieldRepository.php b/app/Repositories/PirepFieldRepository.php index 546f0bb5..b17b1c99 100644 --- a/app/Repositories/PirepFieldRepository.php +++ b/app/Repositories/PirepFieldRepository.php @@ -2,9 +2,14 @@ namespace App\Repositories; +use App\Interfaces\Repository; use App\Models\PirepField; -class PirepFieldRepository extends BaseRepository +/** + * Class PirepFieldRepository + * @package App\Repositories + */ +class PirepFieldRepository extends Repository { protected $fieldSearchable = [ 'name' => 'like', diff --git a/app/Repositories/PirepRepository.php b/app/Repositories/PirepRepository.php index 752dff0a..f7f74960 100644 --- a/app/Repositories/PirepRepository.php +++ b/app/Repositories/PirepRepository.php @@ -2,19 +2,26 @@ namespace App\Repositories; +use App\Interfaces\Repository; use App\Models\Enums\PirepState; use App\Models\Pirep; use App\Models\User; -class PirepRepository extends BaseRepository +/** + * Class PirepRepository + * @package App\Repositories + */ +class PirepRepository extends Repository { protected $fieldSearchable = [ 'user_id', - 'flight_id', 'status', 'state', ]; + /** + * @return string + */ public function model() { return Pirep::class; @@ -26,14 +33,15 @@ class PirepRepository extends BaseRepository * @param User|null $user * @return Pirep */ - public function getPending(User $user=null) + public function getPending(User $user = null) { $where = []; - if($user !== null) { + if ($user !== null) { $where['user_id'] = $user->id; } $pireps = $this->orderBy('created_at', 'desc')->findWhere($where)->all(); + return $pireps; } @@ -53,8 +61,9 @@ class PirepRepository extends BaseRepository } $pireps = $this->orderBy('created_at', 'desc') - ->findWhere($where, ['id']) - ->count(); + ->findWhere($where, ['id']) + ->count(); + return $pireps; } } diff --git a/app/Repositories/RankRepository.php b/app/Repositories/RankRepository.php index bfbac8a0..9b466983 100644 --- a/app/Repositories/RankRepository.php +++ b/app/Repositories/RankRepository.php @@ -2,18 +2,25 @@ namespace App\Repositories; +use App\Interfaces\Repository; use App\Models\Rank; use Prettus\Repository\Contracts\CacheableInterface; use Prettus\Repository\Traits\CacheableRepository; -class RankRepository extends BaseRepository implements CacheableInterface +/** + * Class RankRepository + * @package App\Repositories + */ +class RankRepository extends Repository implements CacheableInterface { use CacheableRepository; - protected $fieldSearchable = [ 'name' => 'like', ]; + /** + * @return string + */ public function model() { return Rank::class; diff --git a/app/Repositories/SettingRepository.php b/app/Repositories/SettingRepository.php index cc9d7f07..d5541e8f 100644 --- a/app/Repositories/SettingRepository.php +++ b/app/Repositories/SettingRepository.php @@ -3,6 +3,7 @@ namespace App\Repositories; use App\Exceptions\SettingNotFound; +use App\Interfaces\Repository; use App\Models\Setting; use Illuminate\Support\Carbon; use Log; @@ -10,12 +11,19 @@ use Prettus\Repository\Contracts\CacheableInterface; use Prettus\Repository\Traits\CacheableRepository; use Prettus\Validator\Exceptions\ValidatorException; -class SettingRepository extends BaseRepository implements CacheableInterface +/** + * Class SettingRepository + * @package App\Repositories + */ +class SettingRepository extends Repository implements CacheableInterface { use CacheableRepository; public $cacheMinutes = 1; + /** + * @return string + */ public function model() { return Setting::class; @@ -32,18 +40,18 @@ class SettingRepository extends BaseRepository implements CacheableInterface $key = Setting::formatKey($key); $setting = $this->findWhere(['id' => $key], ['type', 'value'])->first(); - if(!$setting) { - throw new SettingNotFound($key . ' not found'); + if (!$setting) { + throw new SettingNotFound($key.' not found'); } # cast some types - switch($setting->type) { + switch ($setting->type) { case 'bool': case 'boolean': $value = $setting->value; - if($value === 'true' || $value === '1') { + if ($value === 'true' || $value === '1') { $value = true; - } elseif($value === 'false' || $value === '0') { + } elseif ($value === 'false' || $value === '0') { $value = false; } @@ -93,7 +101,7 @@ class SettingRepository extends BaseRepository implements CacheableInterface } try { - if(\is_bool($value)) { + if (\is_bool($value)) { $value = $value === true ? 1 : 0; } diff --git a/app/Repositories/SubfleetRepository.php b/app/Repositories/SubfleetRepository.php index 178268a4..9e0c9467 100644 --- a/app/Repositories/SubfleetRepository.php +++ b/app/Repositories/SubfleetRepository.php @@ -2,11 +2,16 @@ namespace App\Repositories; +use App\Interfaces\Repository; use App\Models\Subfleet; use Prettus\Repository\Contracts\CacheableInterface; use Prettus\Repository\Traits\CacheableRepository; -class SubfleetRepository extends BaseRepository implements CacheableInterface +/** + * Class SubfleetRepository + * @package App\Repositories + */ +class SubfleetRepository extends Repository implements CacheableInterface { use CacheableRepository; @@ -15,6 +20,9 @@ class SubfleetRepository extends BaseRepository implements CacheableInterface 'type' => 'like', ]; + /** + * @return string + */ public function model() { return Subfleet::class; diff --git a/app/Repositories/UserRepository.php b/app/Repositories/UserRepository.php index c2aab2e9..a9e4c6a9 100644 --- a/app/Repositories/UserRepository.php +++ b/app/Repositories/UserRepository.php @@ -1,21 +1,30 @@ 'like', + 'name' => 'like', 'email' => 'like', 'home_airport_id', 'curr_airport_id', 'state' ]; + /** + * @return string + */ public function model() { return User::class; @@ -32,8 +41,8 @@ class UserRepository extends BaseRepository ]; $users = $this->orderBy('created_at', 'desc') - ->findWhere($where, ['id']) - ->count(); + ->findWhere($where, ['id']) + ->count(); return $users; } @@ -41,7 +50,7 @@ class UserRepository extends BaseRepository /** * Create the search criteria and return this with the stuff pushed * @param Request $request - * @param bool $only_active + * @param bool $only_active * @return $this * @throws \Prettus\Repository\Exceptions\RepositoryException */ @@ -49,7 +58,7 @@ class UserRepository extends BaseRepository { $where = []; - if($only_active) { + if ($only_active) { $where['state'] = UserState::ACTIVE; } @@ -66,6 +75,7 @@ class UserRepository extends BaseRepository } $this->pushCriteria(new WhereCriteria($request, $where)); + return $this; } } diff --git a/app/Routes/admin.php b/app/Routes/admin.php index e03f5e34..0375a71a 100644 --- a/app/Routes/admin.php +++ b/app/Routes/admin.php @@ -4,49 +4,81 @@ */ Route::group([ - 'namespace' => 'Admin', 'prefix' => 'admin', 'as' => 'admin.', - 'middleware' => ['role:admin'], - ], function () { + 'namespace' => 'Admin', 'prefix' => 'admin', 'as' => 'admin.', + 'middleware' => ['role:admin'], +], function () { Route::resource('airlines', 'AirlinesController'); - Route::match(['get', 'put'], 'airports/fuel', 'AirportController@fuel'); + Route::get('airports/export', 'AirportController@export')->name('airports.export'); + Route::match(['get', 'post', 'put'], 'airports/fuel', 'AirportController@fuel'); + Route::match(['get', 'post'], 'airports/import', 'AirportController@import')->name('airports.import'); + Route::match(['get', 'post', 'put', 'delete'], 'airports/{id}/expenses', 'AirportController@expenses'); Route::resource('airports', 'AirportController'); - Route::resource('fares', 'FareController'); - - # subfleet - Route::resource('subfleets', 'SubfleetController'); - Route::match(['get', 'post', 'put', 'delete'], 'subfleets/{id}/fares', 'SubfleetController@fares'); - Route::match(['get', 'post', 'delete'], 'subfleets/{id}/ranks', 'SubfleetController@ranks'); + # Awards + Route::resource('awards', 'AwardController'); # aircraft and fare associations + Route::get('aircraft/export', 'AircraftController@export')->name('aircraft.export'); + Route::match(['get', 'post'], 'aircraft/import', 'AircraftController@import')->name('aircraft.import'); + Route::match(['get', 'post', 'put', 'delete'], 'aircraft/{id}/expenses', 'AircraftController@expenses'); Route::resource('aircraft', 'AircraftController'); + # expenses + Route::get('expenses/export', 'ExpenseController@export')->name('expenses.export'); + Route::match(['get', 'post'], 'expenses/import', 'ExpenseController@import')->name('expenses.import'); + Route::resource('expenses', 'ExpenseController'); + + # fares + Route::get('fares/export', 'FareController@export')->name('fares.export'); + Route::match(['get', 'post'], 'fares/import', 'FareController@import')->name('fares.import'); + Route::resource('fares', 'FareController'); + + # files + Route::post('files', 'FileController@store')->name('files.store'); + Route::delete('files/{id}', 'FileController@destroy')->name('files.delete'); + + # finances + Route::resource('finances', 'FinanceController'); + # flights and aircraft associations - Route::resource('flights', 'FlightController'); + Route::get('flights/export', 'FlightController@export')->name('flights.export'); + Route::match(['get', 'post'], 'flights/import', 'FlightController@import')->name('flights.import'); Route::match(['get', 'post', 'put', 'delete'], 'flights/{id}/fares', 'FlightController@fares'); - Route::match(['get', 'post', 'put', 'delete'], 'flights/{id}/fields', 'FlightController@fields'); + Route::match(['get', 'post', 'put', 'delete'], 'flights/{id}/fields', 'FlightController@field_values'); Route::match(['get', 'post', 'put', 'delete'], 'flights/{id}/subfleets', 'FlightController@subfleets'); + Route::resource('flights', 'FlightController'); - # rankings - Route::resource('ranks', 'RankController'); - Route::match(['get', 'post', 'put', 'delete'], 'ranks/{id}/subfleets', 'RankController@subfleets'); - - # view/update settings - Route::match(['get'], 'settings', 'SettingsController@index'); - Route::match(['post', 'put'], 'settings', 'SettingsController@update')->name('settings.update'); + Route::resource('flightfields', 'FlightFieldController'); # pirep related routes + Route::get('pireps/fares', 'PirepController@fares'); + Route::get('pireps/pending', 'PirepController@pending'); Route::resource('pireps', 'PirepController'); - Route::match(['get'], 'pireps/pending', 'PirepController@pending'); Route::match(['get', 'post', 'delete'], 'pireps/{id}/comments', 'PirepController@comments'); Route::match(['post', 'put'], 'pireps/{id}/status', 'PirepController@status')->name('pirep.status'); Route::resource('pirepfields', 'PirepFieldController'); + # rankings + Route::resource('ranks', 'RankController'); + Route::match(['get', 'post', 'put', 'delete'], 'ranks/{id}/subfleets', 'RankController@subfleets'); + + # settings + Route::match(['get'], 'settings', 'SettingsController@index'); + Route::match(['post', 'put'], 'settings', 'SettingsController@update')->name('settings.update'); + + # subfleet + Route::get('subfleets/export', 'SubfleetController@export')->name('subfleets.export'); + Route::match(['get', 'post'], 'subfleets/import', 'SubfleetController@import')->name('subfleets.import'); + Route::match(['get', 'post', 'put', 'delete'], 'subfleets/{id}/expenses', 'SubfleetController@expenses'); + Route::match(['get', 'post', 'put', 'delete'], 'subfleets/{id}/fares', 'SubfleetController@fares'); + Route::match(['get', 'post', 'put', 'delete'], 'subfleets/{id}/ranks', 'SubfleetController@ranks'); + Route::resource('subfleets', 'SubfleetController'); + Route::resource('users', 'UserController'); Route::get('users/{id}/regen_apikey', - 'UserController@regen_apikey')->name('users.regen_apikey'); + 'UserController@regen_apikey')->name('users.regen_apikey'); # defaults Route::get('', ['uses' => 'DashboardController@index']); @@ -54,6 +86,6 @@ Route::group([ Route::get('dashboard', ['uses' => 'DashboardController@index', 'name' => 'dashboard']); Route::match(['get', 'post', 'delete'], - 'dashboard/news', ['uses' => 'DashboardController@news']) + 'dashboard/news', ['uses' => 'DashboardController@news']) ->name('dashboard.news'); }); diff --git a/app/Routes/api.php b/app/Routes/api.php index ca705e89..6c67b283 100755 --- a/app/Routes/api.php +++ b/app/Routes/api.php @@ -3,11 +3,11 @@ /** * Public routes */ -Route::group([], function() -{ +Route::group([], function () { Route::get('acars', 'AcarsController@index'); Route::get('pireps/{pirep_id}/acars/geojson', 'PirepController@acars_geojson'); + Route::get('news', 'NewsController@index'); Route::get('status', 'StatusController@status'); Route::get('version', 'StatusController@status'); }); @@ -15,8 +15,7 @@ Route::group([], function() /** * these need to be authenticated with a user's API key */ -Route::group(['middleware' => ['api.auth']], function () -{ +Route::group(['middleware' => ['api.auth']], function () { Route::get('airlines', 'AirlineController@index'); Route::get('airlines/{id}', 'AirlineController@get'); @@ -45,6 +44,9 @@ Route::group(['middleware' => ['api.auth']], function () Route::post('pireps/{pirep_id}/comments', 'PirepController@comments_post'); Route::delete('pireps/{pirep_id}/cancel', 'PirepController@cancel'); + Route::get('pireps/{pirep_id}/finances', 'PirepController@finances_get'); + Route::post('pireps/{pirep_id}/finances/recalculate', 'PirepController@finances_recalculate'); + Route::get('pireps/{pirep_id}/route', 'PirepController@route_get'); Route::post('pireps/{pirep_id}/route', 'PirepController@route_post'); Route::delete('pireps/{pirep_id}/route', 'PirepController@route_delete'); @@ -67,6 +69,7 @@ Route::group(['middleware' => ['api.auth']], function () Route::get('user/bids', 'UserController@bids'); Route::put('user/bids', 'UserController@bids'); + Route::post('user/bids', 'UserController@bids'); Route::delete('user/bids', 'UserController@bids'); Route::get('users/{id}', 'UserController@get'); @@ -75,5 +78,4 @@ Route::group(['middleware' => ['api.auth']], function () Route::get('users/{id}/bids', 'UserController@bids'); Route::put('users/{id}/bids', 'UserController@bids'); - }); diff --git a/app/Routes/web.php b/app/Routes/web.php index 738c77ac..a371a25e 100755 --- a/app/Routes/web.php +++ b/app/Routes/web.php @@ -1,34 +1,41 @@ 'Frontend', 'prefix' => '', 'as' => 'frontend.' -], function() { +], function () { Route::get('/', 'HomeController@index')->name('home'); Route::get('r/{id}', 'PirepController@show')->name('pirep.show.public'); Route::get('p/{id}', 'ProfileController@show')->name('profile.show.public'); - Route::get('users', 'UserController@index')->name('users.show'); - Route::get('pilots', 'UserController@index')->name('users.show'); + Route::get('users', 'UserController@index')->name('users.index'); + Route::get('pilots', 'UserController@index')->name('pilots.index'); - Route::get('livemap', 'AcarsController@index')->name('livemap.public'); + Route::get('livemap', 'AcarsController@index')->name('livemap.index'); }); /** * These are only visible to a logged in user */ Route::group([ - 'namespace' => 'Frontend', 'prefix' => '', 'as' => 'frontend.', + 'namespace' => 'Frontend', 'prefix' => '', 'as' => 'frontend.', 'middleware' => ['role:admin|user'], ], function () { Route::resource('dashboard', 'DashboardController'); + Route::get('airports/{id}', 'AirportController@show')->name('airports.show'); + + // Download a file + Route::get('downloads', 'DownloadController@index')->name('downloads.index'); + Route::get('downloads/{id}', 'DownloadController@show')->name('downloads.download'); + + Route::get('flights/bids', 'FlightController@bids')->name('flights.bids'); Route::get('flights/search', 'FlightController@search')->name('flights.search'); Route::resource('flights', 'FlightController'); + Route::get('pireps/fares', 'PirepController@fares'); Route::resource('pireps', 'PirepController'); Route::get('profile/regen_apikey', 'ProfileController@regen_apikey') diff --git a/app/Services/AircraftService.php b/app/Services/AircraftService.php deleted file mode 100644 index 4b6f94a8..00000000 --- a/app/Services/AircraftService.php +++ /dev/null @@ -1,8 +0,0 @@ -getMessage()); } } - } diff --git a/app/Services/AwardService.php b/app/Services/AwardService.php new file mode 100644 index 00000000..01462116 --- /dev/null +++ b/app/Services/AwardService.php @@ -0,0 +1,41 @@ +getExtraPath('Awards'); + $classes = ClassLoader::getClassesInPath($path); + $awards = array_merge($awards, $classes); + } + + foreach ($awards as $award) { + $formatted_awards[\get_class($award)] = $award; + } + + return $formatted_awards; + } +} diff --git a/app/Services/BaseService.php b/app/Services/BaseService.php deleted file mode 100644 index da589486..00000000 --- a/app/Services/BaseService.php +++ /dev/null @@ -1,8 +0,0 @@ -format('Y-m-d H:i:s'); } /** - * @param $yaml_file + * @param $yaml_file * @param bool $ignore_errors * @return array * @throws \Exception */ - public function seed_from_yaml_file($yaml_file, $ignore_errors=false): array + public function seed_from_yaml_file($yaml_file, $ignore_errors = false): array { $yml = file_get_contents($yaml_file); + return $this->seed_from_yaml($yml, $ignore_errors); } /** - * @param $yml + * @param $yml * @param bool $ignore_errors * @return array * @throws \Exception */ - public function seed_from_yaml($yml, $ignore_errors=false): array + public function seed_from_yaml($yml, $ignore_errors = false): array { $imported = []; $yml = Yaml::parse($yml); foreach ($yml as $table => $rows) { - $imported[$table] = 0; foreach ($rows as $row) { - # see if this table uses a UUID as the PK # if no ID is specified - if(in_array($table, $this->uuid_tables)) { - if(!array_key_exists('id', $row)) { + if (in_array($table, $this->uuid_tables)) { + if (!array_key_exists('id', $row)) { $row['id'] = Uuid::generate()->string; } } # encrypt any password fields - if(array_key_exists('password', $row)) { + if (array_key_exists('password', $row)) { $row['password'] = bcrypt($row['password']); } # if any time fields are == to "now", then insert the right time - foreach($this->time_fields as $tf) { - if(array_key_exists($tf, $row) && strtolower($row[$tf]) === 'now') { + foreach ($this->time_fields as $tf) { + if (array_key_exists($tf, $row) && strtolower($row[$tf]) === 'now') { $row[$tf] = $this->time(); } } @@ -79,8 +84,8 @@ class DatabaseService extends BaseService try { DB::table($table)->insert($row); ++$imported[$table]; - } catch(QueryException $e) { - if($ignore_errors) { + } catch (QueryException $e) { + if ($ignore_errors) { continue; } diff --git a/app/Services/ExportService.php b/app/Services/ExportService.php new file mode 100644 index 00000000..bfe5d9bc --- /dev/null +++ b/app/Services/ExportService.php @@ -0,0 +1,137 @@ +assetType . '.csv'; + + // Create the directory - makes it inside of storage/app + Storage::makeDirectory('import'); + $path = storage_path('/app/import/export_'.$filename.'.csv'); + + Log::info('Exporting "'.$exporter->assetType.'" to ' . $path); + + $writer = $this->openCsv($path); + + // Write out the header first + $writer->insertOne($exporter->getColumns()); + + // Write the rest of the rows + foreach ($collection as $row) { + $writer->insertOne($exporter->export($row)); + } + + return $path; + } + + /** + * Export all of the aircraft + * @param Collection $aircraft + * @return mixed + * @throws \League\Csv\CannotInsertRecord + */ + public function exportAircraft($aircraft) + { + $exporter = new AircraftExporter(); + return $this->runExport($aircraft, $exporter); + } + + /** + * Export all of the airports + * @param Collection $airports + * @return mixed + * @throws \League\Csv\CannotInsertRecord + */ + public function exportAirports($airports) + { + $exporter = new AirportExporter(); + return $this->runExport($airports, $exporter); + } + + /** + * Export all of the airports + * @param Collection $expenses + * @return mixed + * @throws \League\Csv\CannotInsertRecord + */ + public function exportExpenses($expenses) + { + $exporter = new ExpenseExporter(); + return $this->runExport($expenses, $exporter); + } + + /** + * Export all of the fares + * @param Collection $fares + * @return mixed + * @throws \League\Csv\CannotInsertRecord + */ + public function exportFares($fares) + { + $exporter = new FareExporter(); + return $this->runExport($fares, $exporter); + } + + /** + * Export all of the flights + * @param Collection $flights + * @return mixed + * @throws \League\Csv\CannotInsertRecord + */ + public function exportFlights($flights) + { + $exporter = new FlightExporter(); + return $this->runExport($flights, $exporter); + } + + /** + * Export all of the flights + * @param Collection $subfleets + * @return mixed + * @throws \League\Csv\CannotInsertRecord + */ + public function exportSubfleets($subfleets) + { + $exporter = new SubfleetExporter(); + return $this->runExport($subfleets, $exporter); + } +} diff --git a/app/Services/FareService.php b/app/Services/FareService.php index b13c4949..3bb51020 100644 --- a/app/Services/FareService.php +++ b/app/Services/FareService.php @@ -2,17 +2,95 @@ namespace App\Services; +use App\Interfaces\Service; use App\Models\Fare; use App\Models\Flight; +use App\Models\Pirep; +use App\Models\PirepFare; use App\Models\Subfleet; +use App\Support\Math; +use Illuminate\Support\Collection; -class FareService extends BaseService +/** + * Class FareService + * @package App\Services + */ +class FareService extends Service { + /** + * Get the fares for a particular flight, with an optional subfleet + * This will go through if there are any fares assigned to the flight, + * and then check the fares assigned on the subfleet, and give the + * final "authoritative" list of the fares for a flight. + * + * If a subfleet is passed in, + * @param Flight|null $flight + * @param Subfleet|null $subfleet + * @return Collection + */ + public function getAllFares($flight, $subfleet) + { + if (!$flight) { + $flight_fares = collect(); + } else { + $flight_fares = $this->getForFlight($flight); + } + + $subfleet_fares = $this->getForSubfleet($subfleet); + + # Go through all of the fares assigned by the subfleet + # See if any of the same fares are assigned to the flight + $fares = $subfleet_fares->map(function ($fare, $idx) use ($flight_fares) { + $flight_fare = $flight_fares->whereStrict('id', $fare->id)->first(); + if (!$flight_fare) { + return $fare; + } + + return $flight_fare; + }); + + return $fares; + } + + /** + * Get fares + * @param $fare + * @return mixed + */ + protected function getFares($fare) + { + if (filled($fare->pivot->price)) { + if (substr_count($fare->pivot->price, '%', -1)) { + $fare->price = Math::addPercent($fare->price, $fare->pivot->price); + } else { + $fare->price = $fare->pivot->price; + } + } + + if (filled($fare->pivot->cost)) { + if (substr_count($fare->pivot->cost, '%', -1)) { + $fare->cost = Math::addPercent($fare->cost, $fare->pivot->cost); + } else { + $fare->cost = $fare->pivot->cost; + } + } + + if (filled($fare->pivot->capacity)) { + if (substr_count($fare->pivot->capacity, '%', -1)) { + $fare->capacity = Math::addPercent($fare->capacity, $fare->pivot->capacity); + } else { + $fare->capacity = $fare->pivot->capacity; + } + } + + return $fare; + } + /** * Attach a fare to an flight * * @param Flight $flight - * @param Fare $fare + * @param Fare $fare * @param array set the price/cost/capacity * @return Flight */ @@ -20,6 +98,12 @@ class FareService extends BaseService { $flight->fares()->syncWithoutDetaching([$fare->id]); + foreach($override as $key => $item) { + if(!$item) { + unset($override[$key]); + } + } + # modify any pivot values? if (\count($override) > 0) { $flight->fares()->updateExistingPivot($fare->id, $override); @@ -27,6 +111,7 @@ class FareService extends BaseService $flight->save(); $flight->refresh(); + return $flight; } @@ -35,24 +120,12 @@ class FareService extends BaseService * table to see if the price/cost/capacity has been overridden * and return the correct amounts. * @param Flight $flight - * @return Fare[] + * @return Collection */ public function getForFlight(Flight $flight) { $fares = $flight->fares->map(function ($fare) { - if (null !== $fare->pivot->price) { - $fare->price = $fare->pivot->price; - } - - if (null !== $fare->pivot->cost) { - $fare->cost = $fare->pivot->cost; - } - - if (null !== $fare->pivot->capacity) { - $fare->capacity = $fare->pivot->capacity; - } - - return $fare; + return $this->getFares($fare); }); return $fares; @@ -60,13 +133,14 @@ class FareService extends BaseService /** * @param Flight $flight - * @param Fare $fare + * @param Fare $fare * @return Flight */ public function delFareFromFlight(Flight $flight, Fare $fare) { $flight->fares()->detach($fare->id); $flight->refresh(); + return $flight; } @@ -78,17 +152,18 @@ class FareService extends BaseService * @param array set the price/cost/capacity * @return Subfleet */ - public function setForSubfleet(Subfleet $subfleet, Fare $fare, array $override=[]): Subfleet + public function setForSubfleet(Subfleet $subfleet, Fare $fare, array $override = []): Subfleet { $subfleet->fares()->syncWithoutDetaching([$fare->id]); # modify any pivot values? - if(count($override) > 0) { + if (count($override) > 0) { $subfleet->fares()->updateExistingPivot($fare->id, $override); } $subfleet->save(); $subfleet->refresh(); + return $subfleet; } @@ -97,24 +172,12 @@ class FareService extends BaseService * table to see if the price/cost/capacity has been overridden * and return the correct amounts. * @param Subfleet $subfleet - * @return Fare[] + * @return Collection */ public function getForSubfleet(Subfleet $subfleet) { - $fares = $subfleet->fares->map(function($fare) { - if(!is_null($fare->pivot->price)) { - $fare->price = $fare->pivot->price; - } - - if(!is_null($fare->pivot->cost)) { - $fare->cost = $fare->pivot->cost; - } - - if(!is_null($fare->pivot->capacity)) { - $fare->capacity = $fare->pivot->capacity; - } - - return $fare; + $fares = $subfleet->fares->map(function ($fare) { + return $this->getFares($fare); }); return $fares; @@ -123,13 +186,53 @@ class FareService extends BaseService /** * Delete the fare from a subfleet * @param Subfleet $subfleet - * @param Fare $fare + * @param Fare $fare * @return Subfleet|null|static */ public function delFareFromSubfleet(Subfleet &$subfleet, Fare &$fare) { $subfleet->fares()->detach($fare->id); $subfleet->refresh(); + return $subfleet; } + + /** + * Get the fares for a PIREP, this just returns the PirepFare + * model which includes the counts for that particular fare + * @param Pirep $pirep + * @return Collection + */ + public function getForPirep(Pirep $pirep) + { + $fares = []; + $found_fares = PirepFare::where('pirep_id', $pirep->id)->get(); + + return $found_fares; + } + + /** + * Save the list of fares + * @param Pirep $pirep + * @param array $fares ['fare_id', 'count'] + * @throws \Exception + */ + public function saveForPirep(Pirep $pirep, array $fares) + { + if (!$fares) { + return; + } + + # Remove all the previous fares + PirepFare::where('pirep_id', $pirep->id)->delete(); + + # Add them in + foreach ($fares as $fare) { + $fare['pirep_id'] = $pirep->id; + # other fields: ['fare_id', 'count'] + + $field = new PirepFare($fare); + $field->save(); + } + } } diff --git a/app/Services/FileService.php b/app/Services/FileService.php new file mode 100644 index 00000000..02f7322d --- /dev/null +++ b/app/Services/FileService.php @@ -0,0 +1,52 @@ + '', + 'description' => '', + 'public' => false, + 'ref_model' => '', + 'ref_model_id' => '', + 'disk' => config('filesystems.public_files'), + ], $attrs); + + $id = File::createNewHashId(); + $path_info = pathinfo($file->getClientOriginalName()); + + # Create the file, add the ID to the front of the file to account + # for any duplicate filenames, but still can be found in an `ls` + + $filename = $id . '_' + . str_slug(trim($path_info['filename'])) + . '.' . $path_info['extension']; + + $file_path = $file->storeAs($folder, $filename, $attrs['disk']); + + $asset = new File($attrs); + $asset->id = $id; + $asset->path = $file_path; + $asset->save(); + + return $asset; + } +} diff --git a/app/Services/Finance/PirepFinanceService.php b/app/Services/Finance/PirepFinanceService.php new file mode 100644 index 00000000..66b20531 --- /dev/null +++ b/app/Services/Finance/PirepFinanceService.php @@ -0,0 +1,495 @@ +expenseRepo = $expenseRepo; + $this->fareSvc = $fareSvc; + $this->journalRepo = $journalRepo; + $this->pirepSvc = $pirepSvc; + } + + /** + * Process all of the finances for a pilot report. This is called + * from a listener (FinanceEvents) + * @param Pirep $pirep + * @return mixed + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Prettus\Validator\Exceptions\ValidatorException + * @throws \Exception + */ + public function processFinancesForPirep(Pirep $pirep) + { + if (!$pirep->airline->journal) { + $pirep->airline->journal = $pirep->airline->initJournal(config('phpvms.currency')); + } + + if (!$pirep->user->journal) { + $pirep->user->journal = $pirep->user->initJournal(config('phpvms.currency')); + } + + # Clean out the expenses first + $this->deleteFinancesForPirep($pirep); + + Log::info('Finance: Starting PIREP pay for '.$pirep->id); + + # Now start and pay from scratch + $this->payFaresForPirep($pirep); + $this->payExpensesForSubfleet($pirep); + $this->payExpensesForPirep($pirep); + $this->payExpensesEventsForPirep($pirep); + $this->payGroundHandlingForPirep($pirep); + $this->payPilotForPirep($pirep); + + $pirep->airline->journal->refresh(); + $pirep->user->journal->refresh(); + + // Recalculate balances... + $this->journalRepo->recalculateBalance($pirep->airline->journal); + $this->journalRepo->recalculateBalance($pirep->user->journal); + + return $pirep; + } + + /** + * @param Pirep $pirep + */ + public function deleteFinancesForPirep(Pirep $pirep): void + { + $this->journalRepo->deleteAllForObject($pirep); + } + + /** + * Collect all of the fares and then post each fare class's profit and + * the costs for each seat and post it to the journal + * @param $pirep + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function payFaresForPirep($pirep): void + { + $fares = $this->getReconciledFaresForPirep($pirep); + + /** @var \App\Models\Fare $fare */ + foreach ($fares as $fare) { + Log::info('Finance: PIREP: '.$pirep->id.', Fare:', $fare->toArray()); + + $credit = Money::createFromAmount($fare->count * $fare->price); + $debit = Money::createFromAmount($fare->count * $fare->cost); + + Log::info('Finance: Calculate: C='.$credit->toAmount().', D='.$debit->toAmount()); + + $this->journalRepo->post( + $pirep->airline->journal, + $credit, + $debit, + $pirep, + 'Fares '.$fare->code.$fare->count + .'; price: '.$fare->price.', cost: '.$fare->cost, + null, + 'Fares', + 'fare' + ); + } + } + + /** + * Calculate what the cost is for the operating an aircraft + * in this subfleet, as-per the block time + * @param Pirep $pirep + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function payExpensesForSubfleet(Pirep $pirep): void + { + $sf = $pirep->aircraft->subfleet; + + # Haven't entered a cost + if (!filled($sf->cost_block_hour)) { + return; + } + + # Convert to cost per-minute + $cost_per_min = round($sf->cost_block_hour / 60, 2); + + # Time to use - use the block time if it's there, actual + # flight time if that hasn't been used + $block_time = $pirep->block_time; + if(!filled($block_time)) { + Log::info('Finance: No block time, using PIREP flight time'); + $block_time = $pirep->flight_time; + } + + $debit = Money::createFromAmount($cost_per_min * $block_time); + Log::info('Finance: Subfleet Block Hourly, D='.$debit->getAmount()); + + $this->journalRepo->post( + $pirep->airline->journal, + null, + $debit, + $pirep, + 'Subfleet '.$sf->type.': Block Time Cost', + null, + 'Subfleet '.$sf->type, + 'subfleet' + ); + } + + /** + * Collect all of the expenses and apply those to the journal + * @param Pirep $pirep + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function payExpensesForPirep(Pirep $pirep): void + { + $expenses = $this->expenseRepo->getAllForType( + ExpenseType::FLIGHT, + $pirep->airline_id + ); + + /** + * Go through the expenses and apply a mulitplier if present + */ + $expenses->map(function ($expense, $i) use ($pirep) { + /*if ($expense->multiplier) { + # TODO: Modify the amount + }*/ + + Log::info('Finance: PIREP: '.$pirep->id.', expense:', $expense->toArray()); + + # Get the transaction group name from the ref_model name + # This way it can be more dynamic and don't have to add special + # tables or specific expense calls to accomodate all of these + $klass = 'Expense'; + if ($expense->ref_model) { + $ref = explode('\\', $expense->ref_model); + $klass = end($ref); + } + + # Form the memo, with some specific ones depending on the group + if ($klass === 'Airport') { + $memo = "Airport Expense: {$expense->name} ({$expense->ref_model_id})"; + $transaction_group = "Airport: {$expense->ref_model_id}"; + } elseif ($klass === 'Subfleet') { + $memo = "Subfleet Expense: {$expense->name} ({$pirep->aircraft->subfleet->name})"; + $transaction_group = "Subfleet: {$expense->name} ({$pirep->aircraft->subfleet->name})"; + } elseif ($klass === 'Aircraft') { + $memo = "Aircraft Expense: {$expense->name} ({$pirep->aircraft->name})"; + $transaction_group = "Aircraft: {$expense->name} " + ."({$pirep->aircraft->name}-{$pirep->aircraft->registration})"; + } else { + $memo = "Expense: {$expense->name}"; + $transaction_group = "Expense: {$expense->name}"; + } + + $debit = Money::createFromAmount($expense->amount); + + # If the expense is marked to charge it to a user (only applicable to Flight) + # then change the journal to the user's to debit there + $journal = $pirep->airline->journal; + if ($expense->charge_to_user) { + $journal = $pirep->user->journal; + } + + $this->journalRepo->post( + $journal, + null, + $debit, + $pirep, + $memo, + null, + $transaction_group, + strtolower($klass) + ); + }); + } + + /** + * Collect all of the expenses from the listeners and apply those to the journal + * @param Pirep $pirep + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function payExpensesEventsForPirep(Pirep $pirep): void + { + /** + * Throw an event and collect any expenses returned from it + */ + $gathered_expenses = event(new ExpensesEvent($pirep)); + if (!\is_array($gathered_expenses)) { + return; + } + + foreach ($gathered_expenses as $event_expense) { + if (!\is_array($event_expense)) { + continue; + } + + foreach ($event_expense as $expense) { + # Make sure it's of type expense Model + if (!($expense instanceof Expense)) { + continue; + } + + Log::info('Finance: Expense from listener, N="' + .$expense->name.'", A='.$expense->amount); + + # If an airline_id is filled, then see if it matches + if(filled($expense->airline_id) && $expense->airline_id !== $pirep->airline_id) { + Log::info('Finance: Expense has an airline ID and it doesn\'t match, skipping'); + continue; + } + + $debit = Money::createFromAmount($expense->amount); + + $this->journalRepo->post( + $pirep->airline->journal, + null, + $debit, + $pirep, + 'Expense: '.$expense->name, + null, + $expense->transaction_group ?? 'Expenses', + 'expense' + ); + } + } + } + + /** + * Collect and apply the ground handling cost + * @param Pirep $pirep + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function payGroundHandlingForPirep(Pirep $pirep): void + { + $ground_handling_cost = $this->getGroundHandlingCost($pirep); + Log::info('Finance: PIREP: '.$pirep->id.'; ground handling: '.$ground_handling_cost); + $this->journalRepo->post( + $pirep->airline->journal, + null, + Money::createFromAmount($ground_handling_cost), + $pirep, + 'Ground Handling', + null, + 'Ground Handling', + 'ground_handling' + ); + } + + /** + * Figure out what the pilot pay is. Debit it from the airline journal + * But also reference the PIREP + * @param Pirep $pirep + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function payPilotForPirep(Pirep $pirep): void + { + $pilot_pay = $this->getPilotPay($pirep); + $pilot_pay_rate = $this->getPilotPayRateForPirep($pirep); + $memo = 'Pilot Payment @ '.$pilot_pay_rate; + + Log::info('Finance: PIREP: '.$pirep->id + .'; pilot pay: '.$pilot_pay_rate.', total: '.$pilot_pay); + + $this->journalRepo->post( + $pirep->airline->journal, + null, + $pilot_pay, + $pirep, + $memo, + null, + 'Pilot Pay', + 'pilot_pay' + ); + + $this->journalRepo->post( + $pirep->user->journal, + $pilot_pay, + null, + $pirep, + $memo, + null, + 'Pilot Pay', + 'pilot_pay' + ); + } + + /** + * Return all of the fares for the PIREP. Reconcile the list; + * Get the fares that have been filled out for the PIREP, and + * then get the fares for the flight and subfleet. Then merge + * them together, and return the final list of: + * count = number of pax + * price = how much each pax unit paid + * capacity = max number of pax units + * + * If count > capacity, count will be adjusted to capacity + * @param $pirep + * @return \Illuminate\Support\Collection + */ + public function getReconciledFaresForPirep($pirep) + { + # Collect all of the fares and prices + $flight_fares = $this->fareSvc->getForPirep($pirep); + Log::info('Finance: PIREP: '.$pirep->id.', flight fares: ', $flight_fares->toArray()); + + $all_fares = $this->fareSvc->getAllFares($pirep->flight, $pirep->aircraft->subfleet); + + $fares = $all_fares->map(function ($fare, $i) use ($flight_fares, $pirep) { + $fare_count = $flight_fares + ->where('fare_id', $fare->id) + ->first(); + + if ($fare_count) { + Log::info('Finance: PIREP: '.$pirep->id.', fare count: '.$fare_count); + + # If the count is greater than capacity, then just set it + # to the maximum amount + if ($fare_count->count > $fare->capacity) { + $fare->count = $fare->capacity; + } else { + $fare->count = $fare_count->count; + } + } else { + Log::info('Finance: PIREP: '.$pirep->id.', no fare count found', $fare->toArray()); + } + + return $fare; + }); + + return $fares; + } + + /** + * Return the costs for the ground handling, with the multiplier + * being applied from the subfleet + * @param Pirep $pirep + * @return float|null + */ + public function getGroundHandlingCost(Pirep $pirep) + { + if (filled($pirep->aircraft->subfleet->ground_handling_multiplier)) { + // force into percent mode + $multiplier = $pirep->aircraft->subfleet->ground_handling_multiplier.'%'; + + return Math::applyAmountOrPercent( + $pirep->arr_airport->ground_handling_cost, + $multiplier + ); + } + + return $pirep->arr_airport->ground_handling_cost; + } + + /** + * Return the pilot's hourly pay for the given PIREP + * @param Pirep $pirep + * @return float + * @throws \InvalidArgumentException + */ + public function getPilotPayRateForPirep(Pirep $pirep) + { + # Get the base rate for the rank + $rank = $pirep->user->rank; + $subfleet_id = $pirep->aircraft->subfleet_id; + + # find the right subfleet + $override_rate = $rank->subfleets() + ->where('subfleet_id', $subfleet_id) + ->first(); + + if ($override_rate) { + $override_rate = $override_rate->pivot; + } + + if ($pirep->source === PirepSource::ACARS) { + Log::debug('Source is ACARS'); + $base_rate = $rank->acars_base_pay_rate; + + if ($override_rate) { + $override_rate = $override_rate->acars_pay; + } + } else { + Log::debug('Source is Manual'); + $base_rate = $rank->manual_base_pay_rate; + + if ($override_rate) { + $override_rate = $override_rate->manual_pay; + } + } + + Log::debug('pilot pay: base rate='.$base_rate.', override='.$override_rate); + + return Math::applyAmountOrPercent( + $base_rate, + $override_rate + ); + } + + /** + * Get the user's payment amount for a PIREP + * @param Pirep $pirep + * @return Money + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function getPilotPay(Pirep $pirep) + { + $pilot_rate = $this->getPilotPayRateForPirep($pirep) / 60; + $payment = round($pirep->flight_time * $pilot_rate, 2); + + Log::info('Pilot Payment: rate='.$pilot_rate); + $payment = Money::convertToSubunit($payment); + + return new Money($payment); + } +} diff --git a/app/Services/Finance/RecurringFinanceService.php b/app/Services/Finance/RecurringFinanceService.php new file mode 100644 index 00000000..9da71f37 --- /dev/null +++ b/app/Services/Finance/RecurringFinanceService.php @@ -0,0 +1,144 @@ +journalRepo = $journalRepo; + } + + /** + * Determine the journal to charge to, otherwise, it's charged + * to every airline journal + * @param Expense $expense + * @return \Generator + */ + protected function findJournals(Expense $expense) + { + if ($expense->airline_id) { + $airline = Airline::find($expense->airline_id)->first(['id', 'icao']); + Log::info('Charging to '.$airline->icao); + yield $airline->journal; + } else { + $airlines = Airline::all(['id', 'icao']); + foreach ($airlines as $airline) { + Log::info('Charging to '.$airline->icao); + yield $airline->journal; + } + } + } + + /** + * Get the name of the transaction group from the expense + * @param Expense $expense + * @return array + */ + protected function getMemoAndGroup(Expense $expense): array + { + $klass = 'Expense'; + if ($expense->ref_model) { + $ref = explode('\\', $expense->ref_model); + $klass = end($ref); + $obj = $expense->getReferencedObject(); + } + + if ($klass === 'Airport') { + $memo = "Airport Expense: {$expense->name} ({$expense->ref_model_id})"; + $transaction_group = "Airport: {$expense->ref_model_id}"; + } elseif ($klass === 'Subfleet') { + $memo = "Subfleet Expense: {$expense->name}"; + $transaction_group = "Subfleet: {$expense->name}"; + } elseif ($klass === 'Aircraft') { + $memo = "Aircraft Expense: {$expense->name} ({$obj->name})"; + $transaction_group = "Aircraft: {$expense->name} ({$obj->name}-{$obj->registration})"; + } else { + $memo = "Expense: {$expense->name}"; + $transaction_group = "Expense: {$expense->name}"; + } + + return [$memo, $transaction_group]; + } + + /** + * Run all of the daily expense/financials + * @param int $type + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + * @throws \Prettus\Validator\Exceptions\ValidatorException + */ + public function processExpenses($type = ExpenseType::DAILY): void + { + $expenses = Expense::where(['type' => $type])->get(); + + $tag = 'expense_recurring'; + if ($type === ExpenseType::DAILY) { + $tag = 'expenses_daily'; + } elseif ($type === ExpenseType::MONTHLY) { + $tag === 'expenses_monthly'; + } + + /** + * @var $expenses Expense[] + */ + foreach ($expenses as $expense) { + # Apply the expenses to the appropriate journals + $journals = $this->findJournals($expense); + foreach ($journals as $journal) { + $amount = $expense->amount; + + # Has this expense already been charged? Check + # against this specific journal, on today + $w = [ + 'journal_id' => $journal->id, + 'ref_model' => Expense::class, + 'ref_model_id' => $expense->id, + ]; + + $found = JournalTransaction::where($w) + ->whereDate('post_date', '=', \Carbon::now('UTC')->toDateString()) + ->count(['id']); + + if ($found > 0) { + Log::info('Expense "'.$expense->name.'" already charged for today, skipping'); + continue; + } + + [$memo, $ta_group] = $this->getMemoAndGroup($expense); + + $this->journalRepo->post( + $journal, + null, + Money::createFromAmount($amount), + $expense, + $memo, + null, + $ta_group, + $tag + ); + + Log::info('Expense memo: "'.$memo.'"; group: "'.$ta_group.'" charged!'); + } + } + } +} diff --git a/app/Services/FleetService.php b/app/Services/FleetService.php new file mode 100644 index 00000000..f56e6021 --- /dev/null +++ b/app/Services/FleetService.php @@ -0,0 +1,67 @@ +ranks()->syncWithoutDetaching([$rank->id]); + + if ($overrides) { + $subfleet->ranks()->updateExistingPivot($rank->id, $overrides); + } + + $subfleet->save(); + $subfleet->refresh(); + + return $subfleet; + } + + public function removeSubfleetFromRank(Subfleet $subfleet, Rank $rank) + { + $subfleet->ranks()->detach($rank->id); + + $subfleet->save(); + $subfleet->refresh(); + + return $subfleet; + } + + /** + * Add the subfleet to a flight + * @param Subfleet $subfleet + * @param Flight $flight + */ + public function addSubfleetToFlight(Subfleet $subfleet, Flight $flight) + { + $flight->subfleets()->syncWithoutDetaching([$subfleet->id]); + $subfleet->save(); + $subfleet->refresh(); + } + + /** + * Remove the subfleet from a flight + * @param Subfleet $subfleet + * @param Flight $flight + */ + public function removeSubfleetFromFlight(Subfleet $subfleet, Flight $flight) + { + $flight->subfleets()->detach($subfleet->id); + } +} diff --git a/app/Services/FlightService.php b/app/Services/FlightService.php index a7f9223e..af26a857 100644 --- a/app/Services/FlightService.php +++ b/app/Services/FlightService.php @@ -3,9 +3,11 @@ namespace App\Services; use App\Exceptions\BidExists; +use App\Interfaces\Service; +use App\Models\Bid; use App\Models\Flight; +use App\Models\FlightFieldValue; use App\Models\User; -use App\Models\UserBid; use App\Repositories\FlightRepository; use App\Repositories\NavdataRepository; use Log; @@ -14,15 +16,27 @@ use Log; * Class FlightService * @package App\Services */ -class FlightService extends BaseService +class FlightService extends Service { - protected $flightRepo, $navDataRepo, $userSvc; + private $fareSvc, + $flightRepo, + $navDataRepo, + $userSvc; + /** + * FlightService constructor. + * @param FareService $fareSvc + * @param FlightRepository $flightRepo + * @param NavdataRepository $navdataRepo + * @param UserService $userSvc + */ public function __construct( + FareService $fareSvc, FlightRepository $flightRepo, NavdataRepository $navdataRepo, UserService $userSvc ) { + $this->fareSvc = $fareSvc; $this->flightRepo = $flightRepo; $this->navDataRepo = $navdataRepo; $this->userSvc = $userSvc; @@ -41,7 +55,7 @@ class FlightService extends BaseService } return $this->flightRepo - ->whereOrder($where, 'flight_number', 'asc'); + ->whereOrder($where, 'flight_number', 'asc'); } /** @@ -52,7 +66,6 @@ class FlightService extends BaseService */ public function filterSubfleets($user, $flight) { - $subfleets = $flight->subfleets; /** @@ -70,8 +83,8 @@ class FlightService extends BaseService /** * Only allow aircraft that are at the current departure airport */ - if(setting('pireps.only_aircraft_at_dep_airport', false)) { - foreach($subfleets as $subfleet) { + if (setting('pireps.only_aircraft_at_dpt_airport', false)) { + foreach ($subfleets as $subfleet) { $subfleet->aircraft = $subfleet->aircraft->filter( function ($aircraft, $i) use ($flight) { if ($aircraft->airport_id === $flight->dpt_airport_id) { @@ -92,13 +105,33 @@ class FlightService extends BaseService * @param Flight $flight * @throws \Exception */ - public function deleteFlight(Flight $flight) + public function deleteFlight(Flight $flight): void { $where = ['flight_id' => $flight->id]; - UserBid::where($where)->delete(); + Bid::where($where)->delete(); $flight->delete(); } + /** + * Update any custom PIREP fields + * @param Flight $flight + * @param array $field_values + */ + public function updateCustomFields(Flight $flight, array $field_values): void + { + foreach ($field_values as $fv) { + FlightFieldValue::updateOrCreate( + [ + 'flight_id' => $flight->id, + 'name' => $fv['name'], + ], + [ + 'value' => $fv['value'] + ] + ); + } + } + /** * Return all of the navaid points as a collection * @param Flight $flight @@ -106,11 +139,11 @@ class FlightService extends BaseService */ public function getRoute(Flight $flight) { - if(!$flight->route) { + if (!$flight->route) { return collect(); } - $route_points = array_map(function($point) { + $route_points = array_map(function ($point) { return strtoupper($point); }, explode(' ', $flight->route)); @@ -118,7 +151,7 @@ class FlightService extends BaseService // Put it back into the original order the route is in $return_points = []; - foreach($route_points as $rp) { + foreach ($route_points as $rp) { $return_points[] = $route->where('id', $rp)->first(); } @@ -128,39 +161,39 @@ class FlightService extends BaseService /** * Allow a user to bid on a flight. Check settings and all that good stuff * @param Flight $flight - * @param User $user - * @return UserBid|null + * @param User $user + * @return Bid|null * @throws \App\Exceptions\BidExists */ public function addBid(Flight $flight, User $user) { # If it's already been bid on, then it can't be bid on again - if($flight->has_bid && setting('bids.disable_flight_on_bid')) { - Log::info($flight->id . ' already has a bid, skipping'); + if ($flight->has_bid && setting('bids.disable_flight_on_bid')) { + Log::info($flight->id.' already has a bid, skipping'); throw new BidExists(); } # See if we're allowed to have multiple bids or not - if(!setting('bids.allow_multiple_bids')) { - $user_bids = UserBid::where(['user_id' => $user->id])->first(); - if($user_bids) { - Log::info('User "' . $user->id . '" already has bids, skipping'); + if (!setting('bids.allow_multiple_bids')) { + $user_bids = Bid::where(['user_id' => $user->id])->first(); + if ($user_bids) { + Log::info('User "'.$user->id.'" already has bids, skipping'); throw new BidExists(); } } # See if this user has this flight bid on already $bid_data = [ - 'user_id' => $user->id, + 'user_id' => $user->id, 'flight_id' => $flight->id ]; - $user_bid = UserBid::where($bid_data)->first(); - if($user_bid) { + $user_bid = Bid::where($bid_data)->first(); + if ($user_bid) { return $user_bid; } - $user_bid = UserBid::create($bid_data); + $user_bid = Bid::create($bid_data); $flight->has_bid = true; $flight->save(); @@ -171,20 +204,20 @@ class FlightService extends BaseService /** * Remove a bid from a given flight * @param Flight $flight - * @param User $user + * @param User $user */ public function removeBid(Flight $flight, User $user) { - $user_bid = UserBid::where([ + $user_bid = Bid::where([ 'flight_id' => $flight->id, 'user_id' => $user->id ])->first(); - if($user_bid) { + if ($user_bid) { $user_bid->forceDelete(); } # Only flip the flag if there are no bids left for this flight - if(!UserBid::where('flight_id', $flight->id)->exists()) { + if (!Bid::where('flight_id', $flight->id)->exists()) { $flight->has_bid = false; $flight->save(); } diff --git a/app/Services/GeoService.php b/app/Services/GeoService.php index e01184a6..51516fe2 100644 --- a/app/Services/GeoService.php +++ b/app/Services/GeoService.php @@ -2,6 +2,7 @@ namespace App\Services; +use App\Interfaces\Service; use App\Models\Acars; use App\Models\Enums\AcarsType; use App\Models\Flight; @@ -19,10 +20,15 @@ use Log; * Class GeoService * @package App\Services */ -class GeoService extends BaseService +class GeoService extends Service { private $acarsRepo, $navRepo; + /** + * GeoService constructor. + * @param AcarsRepository $acarsRepo + * @param NavdataRepository $navRepo + */ public function __construct( AcarsRepository $acarsRepo, NavdataRepository $navRepo @@ -44,7 +50,7 @@ class GeoService extends BaseService $geotools = new Geotools(); $start = new Coordinate($coordStart); - foreach($all_coords as $coords) { + foreach ($all_coords as $coords) { $coord = new Coordinate($coords); $dist = $geotools->distance()->setFrom($start)->setTo($coord); $distance[] = $dist->greatCircle(); @@ -52,7 +58,8 @@ class GeoService extends BaseService $distance = collect($distance); $min = $distance->min(); - return $all_coords[ $distance->search($min, true) ]; + + return $all_coords[$distance->search($min, true)]; } /** @@ -70,10 +77,13 @@ class GeoService extends BaseService $coords = []; $filter_points = [$dep_icao, $arr_icao, 'SID', 'STAR']; - $split_route = collect(explode(' ', $route))->transform(function($point) { - if(empty($point)) { return false; } + $split_route = collect(explode(' ', $route))->transform(function ($point) { + if (empty($point)) { + return false; + } + return strtoupper(trim($point)); - })->filter(function($point) use ($filter_points) { + })->filter(function ($point) use ($filter_points) { return !(empty($point) || \in_array($point, $filter_points, true)); }); @@ -81,13 +91,12 @@ class GeoService extends BaseService * @var $split_route Collection * @var $route_point Acars */ - foreach ($split_route as $route_point) - { - Log::debug('Looking for ' . $route_point); + foreach ($split_route as $route_point) { + Log::debug('Looking for '.$route_point); try { $points = $this->navRepo->findWhere(['id' => $route_point]); - } catch(ModelNotFoundException $e){ + } catch (ModelNotFoundException $e) { continue; } catch (\Exception $e) { Log::error($e); @@ -100,13 +109,13 @@ class GeoService extends BaseService continue; } elseif ($size === 1) { $point = $points[0]; - Log::debug('name: ' . $point->id . ' - ' . $point->lat . 'x' . $point->lon); + Log::debug('name: '.$point->id.' - '.$point->lat.'x'.$point->lon); $coords[] = $point; continue; } # Find the point with the shortest distance - Log::info('found ' . $size . ' for '. $route_point); + Log::info('found '.$size.' for '.$route_point); # Get the start point and then reverse the lat/lon reference # If the first point happens to have multiple possibilities, use @@ -121,14 +130,14 @@ class GeoService extends BaseService # Put all of the lat/lon sets into an array to pick of what's clsest # to the starting point $potential_coords = []; - foreach($points as $point) { + foreach ($points as $point) { $potential_coords[] = [$point->lat, $point->lon]; } # returns an array with the closest lat/lon to start point $closest_coords = $this->getClosestCoords($start_point, $potential_coords); - foreach($points as $point) { - if($point->lat === $closest_coords[0] && $point->lon === $closest_coords[1]) { + foreach ($points as $point) { + if ($point->lat === $closest_coords[0] && $point->lon === $closest_coords[1]) { break; } } @@ -181,14 +190,13 @@ class GeoService extends BaseService foreach ($pirep->acars as $point) { $route->addPoint($point->lat, $point->lon, [ 'pirep_id' => $pirep->id, - 'name' => $point->altitude, - 'popup' => $counter . '
GS: ' . $point->gs . '
Alt: ' . $point->altitude, + 'name' => $point->altitude, + 'popup' => $counter.'
GS: '.$point->gs.'
Alt: '.$point->altitude, ]); - } return [ - 'line' => $route->getLine(), + 'line' => $route->getLine(), 'points' => $route->getPoints() ]; } @@ -203,22 +211,21 @@ class GeoService extends BaseService /** * @var Pirep $pirep */ - foreach($pireps as $pirep) { - + foreach ($pireps as $pirep) { /** * @var $point \App\Models\Acars */ $point = $pirep->position; - if(!$point) { + if (!$point) { continue; } $flight->addPoint($point->lat, $point->lon, [ - 'pirep_id' => $pirep->id, - 'gs' => $point->gs, - 'alt' => $point->altitude, - 'heading' => $point->heading ?: 0, - 'popup' => $pirep->ident . '
GS: ' . $point->gs . '
Alt: ' . $point->altitude, + 'pirep_id' => $pirep->id, + 'gs' => $point->gs, + 'alt' => $point->altitude, + 'heading' => $point->heading ?: 0, + 'popup' => $pirep->ident.'
GS: '.$point->gs.'
Alt: '.$point->altitude, ]); } @@ -236,12 +243,12 @@ class GeoService extends BaseService ## Departure Airport $route->addPoint($flight->dpt_airport->lat, $flight->dpt_airport->lon, [ - 'name' => $flight->dpt_airport->icao, + 'name' => $flight->dpt_airport->icao, 'popup' => $flight->dpt_airport->full_name, - 'icon' => 'airport', + 'icon' => 'airport', ]); - if($flight->route) { + if ($flight->route) { $all_route_points = $this->getCoordsFromRoute( $flight->dpt_airport->icao, $flight->arr_airport->icao, @@ -249,10 +256,10 @@ class GeoService extends BaseService $flight->route); // lat, lon needs to be reversed for GeoJSON - foreach($all_route_points as $point) { + foreach ($all_route_points as $point) { $route->addPoint($point->lat, $point->lon, [ 'name' => $point->name, - 'popup' => $point->name . ' (' . $point->name . ')', + 'popup' => $point->name.' ('.$point->name.')', 'icon' => '' ]); } @@ -265,8 +272,8 @@ class GeoService extends BaseService ]); return [ - 'route_points' => $route->getPoints(), - 'planned_route_line' => $route->getLine(), + 'route_points' => $route->getPoints(), + 'planned_route_line' => $route->getLine(), ]; } @@ -284,22 +291,22 @@ class GeoService extends BaseService * PLANNED ROUTE */ $planned->addPoint($pirep->dpt_airport->lat, $pirep->dpt_airport->lon, [ - 'name' => $pirep->dpt_airport->icao, + 'name' => $pirep->dpt_airport->icao, 'popup' => $pirep->dpt_airport->full_name, ]); $planned_route = $this->acarsRepo->forPirep($pirep->id, AcarsType::ROUTE); - foreach($planned_route as $point) { + foreach ($planned_route as $point) { $planned->addPoint($point->lat, $point->lon, [ - 'name' => $point->name, - 'popup' => $point->name . ' (' . $point->name . ')', + 'name' => $point->name, + 'popup' => $point->name.' ('.$point->name.')', ]); } $planned->addPoint($pirep->arr_airport->lat, $pirep->arr_airport->lon, [ - 'name' => $pirep->arr_airport->icao, + 'name' => $pirep->arr_airport->icao, 'popup' => $pirep->arr_airport->full_name, - 'icon' => 'airport', + 'icon' => 'airport', ]); /** @@ -309,14 +316,14 @@ class GeoService extends BaseService foreach ($actual_route as $point) { $actual->addPoint($point->lat, $point->lon, [ 'pirep_id' => $pirep->id, - 'name' => $point->altitude, - 'popup' => 'GS: ' . $point->gs . '
Alt: ' . $point->altitude, + 'name' => $point->altitude, + 'popup' => 'GS: '.$point->gs.'
Alt: '.$point->altitude, ]); } return [ - 'planned_rte_points' => $planned->getPoints(), - 'planned_rte_line' => $planned->getLine(), + 'planned_rte_points' => $planned->getPoints(), + 'planned_rte_line' => $planned->getLine(), 'actual_route_points' => $actual->getPoints(), 'actual_route_line' => $actual->getLine(), diff --git a/app/Services/ImportExport/AircraftExporter.php b/app/Services/ImportExport/AircraftExporter.php new file mode 100644 index 00000000..deb55062 --- /dev/null +++ b/app/Services/ImportExport/AircraftExporter.php @@ -0,0 +1,44 @@ +{$column}; + } + + # Modify special fields + $ret['subfleet'] = $aircraft->subfleet->type; + + return $ret; + } +} diff --git a/app/Services/ImportExport/AircraftImporter.php b/app/Services/ImportExport/AircraftImporter.php new file mode 100644 index 00000000..2e06dee4 --- /dev/null +++ b/app/Services/ImportExport/AircraftImporter.php @@ -0,0 +1,89 @@ + 'required', + 'iata' => 'nullable', + 'icao' => 'nullable', + 'name' => 'required', + 'registration' => 'required', + 'hex_code' => 'nullable', + 'zfw' => 'nullable|numeric', + 'status' => 'nullable', + ]; + + /** + * Find the subfleet specified, or just create it on the fly + * @param $type + * @return Subfleet|\Illuminate\Database\Eloquent\Model|null|object|static + */ + protected function getSubfleet($type) + { + $subfleet = Subfleet::firstOrCreate([ + 'type' => $type, + ], ['name' => $type]); + + return $subfleet; + } + + /** + * Import a flight, parse out the different rows + * @param array $row + * @param int $index + * @return bool + */ + public function import(array $row, $index): bool + { + $subfleet = $this->getSubfleet($row['subfleet']); + $row['subfleet_id'] = $subfleet->id; + + # Generate a hex code + if(!$row['hex_code']) { + $row['hex_code'] = ICAO::createHexCode(); + } + + # Set a default status + $row['status'] = trim($row['status']); + if($row['status'] === null || $row['status'] === '') { + $row['status'] = AircraftStatus::ACTIVE; + } + + # Just set its state right now as parked + $row['state'] = AircraftState::PARKED; + + # Try to add or update + $aircraft = Aircraft::firstOrNew([ + 'registration' => $row['registration'], + ], $row); + + try { + $aircraft->save(); + } catch(\Exception $e) { + $this->errorLog('Error in row '.$index.': '.$e->getMessage()); + return false; + } + + $this->log('Imported '.$row['registration'].' '.$row['name']); + return true; + } +} diff --git a/app/Services/ImportExport/AirportExporter.php b/app/Services/ImportExport/AirportExporter.php new file mode 100644 index 00000000..0c1e9952 --- /dev/null +++ b/app/Services/ImportExport/AirportExporter.php @@ -0,0 +1,39 @@ +{$column}; + } + + return $ret; + } +} diff --git a/app/Services/ImportExport/AirportImporter.php b/app/Services/ImportExport/AirportImporter.php new file mode 100644 index 00000000..d0ad25a4 --- /dev/null +++ b/app/Services/ImportExport/AirportImporter.php @@ -0,0 +1,57 @@ + 'required', + 'iata' => 'required', + 'name' => 'required', + 'location' => 'nullable', + 'country' => 'nullable', + 'timezone' => 'nullable', + 'hub' => 'nullable|boolean', + 'lat' => 'required|numeric', + 'lon' => 'required|numeric', + ]; + + /** + * Import a flight, parse out the different rows + * @param array $row + * @param int $index + * @return bool + */ + public function import(array $row, $index): bool + { + $row['id'] = $row['icao']; + $row['hub'] = get_truth_state($row['hub']); + + $airport = Airport::firstOrNew([ + 'id' => $row['icao'] + ], $row); + + try { + $airport->save(); + } catch(\Exception $e) { + $this->errorLog('Error in row '.$index.': '.$e->getMessage()); + return false; + } + + $this->log('Imported '.$row['icao']); + return true; + } +} diff --git a/app/Services/ImportExport/ExpenseExporter.php b/app/Services/ImportExport/ExpenseExporter.php new file mode 100644 index 00000000..f9c95f2b --- /dev/null +++ b/app/Services/ImportExport/ExpenseExporter.php @@ -0,0 +1,72 @@ +{$col}; + } + + // Special fields + + if($ret['airline']) { + $ret['airline'] = $expense->airline->icao; + } + + // For the different expense types, instead of exporting + // the ID, export a specific column + if ($expense->ref_model === Expense::class) { + $ret['ref_model'] = ''; + $ret['ref_model_id'] = ''; + } else { + $obj = $expense->getReferencedObject(); + if(!$obj) { // bail out + return $ret; + } + + if ($expense->ref_model === Aircraft::class) { + $ret['ref_model_id'] = $obj->registration; + } elseif ($expense->ref_model === Airport::class) { + $ret['ref_model_id'] = $obj->icao; + } elseif ($expense->ref_model === Subfleet::class) { + $ret['ref_model_id'] = $obj->type; + } + } + + // And convert the ref_model into the shorter name + $ret['ref_model'] = str_replace('App\Models\\', '', $ret['ref_model']); + + return $ret; + } +} diff --git a/app/Services/ImportExport/ExpenseImporter.php b/app/Services/ImportExport/ExpenseImporter.php new file mode 100644 index 00000000..2f84ed34 --- /dev/null +++ b/app/Services/ImportExport/ExpenseImporter.php @@ -0,0 +1,115 @@ + 'nullable', + 'name' => 'required', + 'amount' => 'required|numeric', + 'type' => 'required', + 'charge_to_user' => 'nullable|boolean', + 'multiplier' => 'nullable|numeric', + 'active' => 'nullable|boolean', + 'ref_model' => 'nullable', + 'ref_model_id' => 'nullable', + ]; + + /** + * Import a flight, parse out the different rows + * @param array $row + * @param int $index + * @return bool + */ + public function import(array $row, $index): bool + { + if($row['airline']) { + $row['airline_id'] = $this->getAirline($row['airline'])->id; + } + + # Figure out what this is referring to + $row = $this->getRefClassInfo($row); + + if(!$row['active']) { + $row['active'] = true; + } + + $expense = Expense::firstOrNew([ + 'name' => $row['name'], + ], $row); + + try { + $expense->save(); + } catch (\Exception $e) { + $this->errorLog('Error in row '.$index.': '.$e->getMessage()); + return false; + } + + $this->log('Imported '.$row['name']); + return true; + } + + /** + * See if this expense refers to a ref_model + * @param array $row + * @return array + */ + protected function getRefClassInfo(array $row) + { + $row['ref_model'] = trim($row['ref_model']); + + // class from import is being saved as the name of the model only + // prepend the full class path so we can search it out + if (\strlen($row['ref_model']) > 0) { + if (substr_count($row['ref_model'], 'App\Models\\') === 0) { + $row['ref_model'] = 'App\Models\\'.$row['ref_model']; + } + } else { + $row['ref_model'] = Expense::class; + return $row; + } + + $class = $row['ref_model']; + $id = $row['ref_model_id']; + $obj = null; + + if ($class === Aircraft::class) { + Log::info('Trying to import expense on aircraft, registration: ' . $id); + $obj = Aircraft::where('registration', $id)->first(); + } elseif ($class === Airport::class) { + Log::info('Trying to import expense on airport, icao: ' . $id); + $obj = Airport::where('icao', $id)->first(); + } elseif ($class === Subfleet::class) { + Log::info('Trying to import expense on subfleet, type: ' . $id); + $obj = Subfleet::where('type', $id)->first(); + } else { + $this->errorLog('Unknown/unsupported Expense class: '.$class); + } + + if(!$obj) { + return $row; + } + + $row['ref_model_id'] = $obj->id; + return $row; + } +} diff --git a/app/Services/ImportExport/FareExporter.php b/app/Services/ImportExport/FareExporter.php new file mode 100644 index 00000000..25d278d4 --- /dev/null +++ b/app/Services/ImportExport/FareExporter.php @@ -0,0 +1,39 @@ +{$column}; + } + + return $ret; + } +} diff --git a/app/Services/ImportExport/FareImporter.php b/app/Services/ImportExport/FareImporter.php new file mode 100644 index 00000000..843a58b5 --- /dev/null +++ b/app/Services/ImportExport/FareImporter.php @@ -0,0 +1,53 @@ + 'required', + 'name' => 'required', + 'price' => 'nullable|numeric', + 'cost' => 'nullable|numeric', + 'capacity' => 'required|integer', + 'notes' => 'nullable', + 'active' => 'nullable|boolean', + ]; + + /** + * Import a flight, parse out the different rows + * @param array $row + * @param int $index + * @return bool + */ + public function import(array $row, $index): bool + { + # Try to add or update + $fare = Fare::firstOrNew([ + 'code' => $row['code'], + ], $row); + + try { + $fare->save(); + } catch(\Exception $e) { + $this->errorLog('Error in row '.$index.': '.$e->getMessage()); + return false; + } + + $this->log('Imported '.$row['code'].' '.$row['name']); + return true; + } +} diff --git a/app/Services/ImportExport/FlightExporter.php b/app/Services/ImportExport/FlightExporter.php new file mode 100644 index 00000000..de53decc --- /dev/null +++ b/app/Services/ImportExport/FlightExporter.php @@ -0,0 +1,154 @@ +{$column}; + } + + # Modify special fields + $ret['airline'] = $ret['airline']->icao; + $ret['distance'] = $ret['distance'][config('phpvms.internal_units.distance')]; + + $ret['dpt_airport'] = $flight->dpt_airport_id; + $ret['arr_airport'] = $flight->arr_airport_id; + if($flight->alt_airport) { + $ret['alt_airport'] = $flight->alt_airport_id; + } + + $ret['days'] = $this->getDays($flight); + + $ret['fares'] = $this->getFares($flight); + $ret['fields'] = $this->getFields($flight); + $ret['subfleets'] = $this->getSubfleets($flight); + + return $ret; + } + + /** + * Return the days string + * @param Flight $flight + * @return string + */ + protected function getDays(Flight &$flight) + { + $days_str = ''; + + if($flight->on_day(Days::MONDAY)) { + $days_str .= '1'; + } + + if ($flight->on_day(Days::TUESDAY)) { + $days_str .= '2'; + } + + if ($flight->on_day(Days::WEDNESDAY)) { + $days_str .= '3'; + } + + if ($flight->on_day(Days::THURSDAY)) { + $days_str .= '4'; + } + + if ($flight->on_day(Days::FRIDAY)) { + $days_str .= '5'; + } + + if ($flight->on_day(Days::SATURDAY)) { + $days_str .= '6'; + } + + if ($flight->on_day(Days::SUNDAY)) { + $days_str .= '7'; + } + + return $days_str; + } + + /** + * Return any custom fares that have been made to this flight + * @param Flight $flight + * @return string + */ + protected function getFares(Flight &$flight): string + { + $fares = []; + foreach($flight->fares as $fare) { + $fare_export = []; + if($fare->pivot->price) { + $fare_export['price'] = $fare->pivot->price; + } + + if ($fare->pivot->cost) { + $fare_export['cost'] = $fare->pivot->cost; + } + + if ($fare->pivot->capacity) { + $fare_export['capacity'] = $fare->pivot->capacity; + } + + $fares[$fare->code] = $fare_export; + } + + return $this->objectToMultiString($fares); + } + + /** + * Parse all of the subfields + * @param Flight $flight + * @return string + */ + protected function getFields(Flight &$flight): string + { + $ret = []; + foreach ($flight->field_values as $field) { + $ret[$field->name] = $field->value; + } + + return $this->objectToMultiString($ret); + } + + /** + * Create the list of subfleets that are associated here + * @param Flight $flight + * @return string + */ + protected function getSubfleets(Flight &$flight): string + { + $subfleets = []; + foreach($flight->subfleets as $subfleet) { + $subfleets[] = $subfleet->type; + } + + return $this->objectToMultiString($subfleets); + } +} diff --git a/app/Services/ImportExport/FlightImporter.php b/app/Services/ImportExport/FlightImporter.php new file mode 100644 index 00000000..d3f2e882 --- /dev/null +++ b/app/Services/ImportExport/FlightImporter.php @@ -0,0 +1,245 @@ + 'required', + 'flight_number' => 'required', + 'route_code' => 'nullable', + 'route_leg' => 'nullable', + 'dpt_airport' => 'required', + 'arr_airport' => 'required', + 'alt_airport' => 'nullable', + 'days' => 'nullable', + 'dpt_time' => 'nullable', + 'arr_time' => 'nullable', + 'level' => 'nullable|integer', + 'distance' => 'required|numeric', + 'flight_time' => 'required|integer', + 'flight_type' => 'required|alpha', + 'route' => 'nullable', + 'notes' => 'nullable', + 'active' => 'nullable|boolean', + 'subfleets' => 'nullable', + 'fares' => 'nullable', + 'fields' => 'nullable', + ]; + + /** + * + */ + private $fareSvc, + $flightSvc; + + /** + * FlightImportExporter constructor. + */ + public function __construct() + { + $this->fareSvc = app(FareService::class); + $this->flightSvc = app(FlightService::class); + } + + /** + * Import a flight, parse out the different rows + * @param array $row + * @param int $index + * @return bool + */ + public function import(array $row, $index): bool + { + // Get the airline ID from the ICAO code + $airline = $this->getAirline($row['airline']); + + // Try to find this flight + $flight = Flight::firstOrNew([ + 'airline_id' => $airline->id, + 'flight_number' => $row['flight_number'], + 'route_code' => $row['route_code'], + 'route_leg' => $row['route_leg'], + ], $row); + + // Airport atttributes + $flight->setAttribute('days', $this->setDays($row['days'])); + $flight->setAttribute('dpt_airport_id', $row['dpt_airport']); + $flight->setAttribute('arr_airport_id', $row['arr_airport']); + if ($row['alt_airport']) { + $flight->setAttribute('alt_airport_id', $row['alt_airport']); + } + + // Any specific transformations + + // Check for a valid value + $flight_type = $row['flight_type']; + if(!array_key_exists($flight_type, FlightType::labels())) { + $flight_type = 'J'; + } + + $flight->setAttribute('flight_type', $flight_type); + $flight->setAttribute('active', get_truth_state($row['active'])); + + try { + $flight->save(); + } catch (\Exception $e) { + $this->errorLog('Error in row '.$index.': '.$e->getMessage()); + return false; + } + + // Create/check that they exist + $this->processAirport($row['dpt_airport']); + $this->processAirport($row['arr_airport']); + if ($row['alt_airport']) { + $this->processAirport($row['alt_airport']); + } + + $this->processSubfleets($flight, $row['subfleets']); + $this->processFares($flight, $row['fares']); + $this->processFields($flight, $row['fields']); + + $this->log('Imported row '.$index); + return true; + } + + /** + * Return the mask of the days + * @param $day_str + * @return int|mixed + */ + protected function setDays($day_str) + { + if(!$day_str) { + return 0; + } + + $days = []; + if(strpos($day_str, '1') !== false) { + $days[] = Days::MONDAY; + } + + if (strpos($day_str, '2') !== false) { + $days[] = Days::TUESDAY; + } + + if (strpos($day_str, '3') !== false) { + $days[] = Days::WEDNESDAY; + } + + if (strpos($day_str, '4') !== false) { + $days[] = Days::THURSDAY; + } + + if (strpos($day_str, '5') !== false) { + $days[] = Days::FRIDAY; + } + + if (strpos($day_str, '6') !== false) { + $days[] = Days::SATURDAY; + } + + if (strpos($day_str, '7') !== false) { + $days[] = Days::SUNDAY; + } + + return Days::getDaysMask($days); + } + + /** + * Process the airport + * @param $airport + * @return \Illuminate\Database\Eloquent\Model + */ + protected function processAirport($airport) + { + return Airport::firstOrCreate([ + 'id' => $airport, + ], ['icao' => $airport, 'name' => $airport]); + } + + /** + * Parse out all of the subfleets and associate them to the flight + * The subfleet is created if it doesn't exist + * @param Flight $flight + * @param $col + */ + protected function processSubfleets(Flight &$flight, $col): void + { + $count = 0; + $subfleets = $this->parseMultiColumnValues($col); + foreach($subfleets as $subfleet_type) { + $subfleet = Subfleet::firstOrCreate( + ['type' => $subfleet_type], + ['name' => $subfleet_type] + ); + + $subfleet->save(); + + # sync + $flight->subfleets()->syncWithoutDetaching([$subfleet->id]); + $count ++; + } + + Log::info('Subfleets added/processed: '.$count); + } + + /** + * Parse all of the fares in the multi-format + * @param Flight $flight + * @param $col + */ + protected function processFares(Flight &$flight, $col): void + { + $fares = $this->parseMultiColumnValues($col); + foreach ($fares as $fare_code => $fare_attributes) { + if (\is_int($fare_code)) { + $fare_code = $fare_attributes; + $fare_attributes = []; + } + + $fare = Fare::firstOrCreate(['code' => $fare_code], ['name' => $fare_code]); + $this->fareSvc->setForFlight($flight, $fare, $fare_attributes); + } + } + + /** + * Parse all of the subfields + * @param Flight $flight + * @param $col + */ + protected function processFields(Flight &$flight, $col): void + { + $pass_fields = []; + $fields = $this->parseMultiColumnValues($col); + foreach($fields as $field_name => $field_value) { + $pass_fields[] = [ + 'name' => $field_name, + 'value' => $field_value, + ]; + } + + $this->flightSvc->updateCustomFields($flight, $pass_fields); + } +} diff --git a/app/Services/ImportExport/SubfleetExporter.php b/app/Services/ImportExport/SubfleetExporter.php new file mode 100644 index 00000000..d38d80e2 --- /dev/null +++ b/app/Services/ImportExport/SubfleetExporter.php @@ -0,0 +1,103 @@ +{$column}; + } + + # Modify special fields + $ret['airline'] = $subfleet->airline->icao; + $ret['fares'] = $this->getFares($subfleet); + + return $ret; + } + + /** + * Return any custom fares that have been made to this flight + * @param Subfleet $subfleet + * @return string + */ + protected function getFares(Subfleet &$subfleet): string + { + $fares = []; + foreach($subfleet->fares as $fare) { + $fare_export = []; + if($fare->pivot->price) { + $fare_export['price'] = $fare->pivot->price; + } + + if ($fare->pivot->cost) { + $fare_export['cost'] = $fare->pivot->cost; + } + + if ($fare->pivot->capacity) { + $fare_export['capacity'] = $fare->pivot->capacity; + } + + $fares[$fare->code] = $fare_export; + } + + return $this->objectToMultiString($fares); + } + + /** + * Parse all of the subfields + * @param Flight $flight + * @return string + */ + protected function getFields(Flight &$flight): string + { + $ret = []; + foreach ($flight->field_values as $field) { + $ret[$field->name] = $field->value; + } + + return $this->objectToMultiString($ret); + } + + /** + * Create the list of subfleets that are associated here + * @param Flight $flight + * @return string + */ + protected function getSubfleets(Flight &$flight): string + { + $subfleets = []; + foreach($flight->subfleets as $subfleet) { + $subfleets[] = $subfleet->type; + } + + return $this->objectToMultiString($subfleets); + } +} diff --git a/app/Services/ImportExport/SubfleetImporter.php b/app/Services/ImportExport/SubfleetImporter.php new file mode 100644 index 00000000..0d817f71 --- /dev/null +++ b/app/Services/ImportExport/SubfleetImporter.php @@ -0,0 +1,85 @@ + 'required', + 'type' => 'required', + 'name' => 'required', + 'fares' => 'nullable', + ]; + + private $fareSvc; + + /** + * FlightImportExporter constructor. + */ + public function __construct() + { + $this->fareSvc = app(FareService::class); + } + + /** + * Import a flight, parse out the different rows + * @param array $row + * @param int $index + * @return bool + */ + public function import(array $row, $index): bool + { + $airline = $this->getAirline($row['airline']); + $row['airline_id'] = $airline->id; + + $subfleet = Subfleet::firstOrNew([ + 'type' => $row['type'] + ], $row); + + try { + $subfleet->save(); + } catch(\Exception $e) { + $this->errorLog('Error in row '.$index.': '.$e->getMessage()); + return false; + } + + $this->processFares($subfleet, $row['fares']); + + $this->log('Imported '.$row['type']); + return true; + } + + /** + * Parse all of the fares in the multi-format + * @param Subfleet $subfleet + * @param $col + */ + protected function processFares(Subfleet &$subfleet, $col): void + { + $fares = $this->parseMultiColumnValues($col); + foreach ($fares as $fare_code => $fare_attributes) { + if (\is_int($fare_code)) { + $fare_code = $fare_attributes; + $fare_attributes = []; + } + + $fare = Fare::firstOrCreate(['code' => $fare_code], ['name' => $fare_code]); + $this->fareSvc->setForSubfleet($subfleet, $fare, $fare_attributes); + } + } +} diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php new file mode 100644 index 00000000..50b7c876 --- /dev/null +++ b/app/Services/ImportService.php @@ -0,0 +1,234 @@ +flightRepo = $flightRepo; + } + + /** + * Throw a validation error back up because it will automatically show + * itself under the CSV file upload, and nothing special needs to be done + * @param $error + * @param $e + * @throws ValidationException + */ + protected function throwError($error, \Exception $e= null): void + { + Log::error($error); + if($e) { + Log::error($e->getMessage()); + } + + $validator = Validator::make([], []); + $validator->errors()->add('csv_file', $error); + throw new ValidationException($validator); + } + + /** + * @param $csv_file + * @return Reader + * @throws ValidationException + */ + public function openCsv($csv_file) + { + try { + $reader = Reader::createFromPath($csv_file); + $reader->setDelimiter(','); + $reader->setEnclosure('"'); + return $reader; + } catch (Exception $e) { + $this->throwError('Error opening CSV: '.$e->getMessage(), $e); + } + } + + /** + * Run the actual importer, pass in one of the Import classes which implements + * the ImportExport interface + * @param $file_path + * @param ImportExport $importer + * @return array + * @throws ValidationException + */ + protected function runImport($file_path, ImportExport $importer): array + { + $reader = $this->openCsv($file_path); + + $cols = array_keys($importer->getColumns()); + $first_header = $cols[0]; + + $first = true; + $records = $reader->getRecords($cols); + foreach ($records as $offset => $row) { + // check if the first row being read is the header + if ($first) { + $first = false; + + if($row[$first_header] !== $first_header) { + $this->throwError('CSV file doesn\'t seem to match import type'); + } + + continue; + } + + // Do a sanity check on the number of columns first + if (!$importer->checkColumns($row)) { + $importer->errorLog('Number of columns in row doesn\'t match'); + continue; + } + + // turn it into a collection and run some filtering + $row = collect($row)->map(function ($val, $index) { + $val = trim($val); + if($val === '') { + return null; + } + + return $val; + })->toArray(); + + # Try to validate + $validator = Validator::make($row, $importer->getColumns()); + if($validator->fails()) { + $errors = 'Error in row '.$offset.','.implode(';', $validator->errors()->all()); + $importer->errorLog($errors); + continue; + } + + $importer->import($row, $offset); + } + + return $importer->status; + } + + /** + * Import aircraft + * @param string $csv_file + * @param bool $delete_previous + * @return mixed + * @throws ValidationException + */ + public function importAircraft($csv_file, bool $delete_previous = true) + { + if ($delete_previous) { + # TODO: delete airports + } + + $importer = new AircraftImporter(); + return $this->runImport($csv_file, $importer); + } + + /** + * Import airports + * @param string $csv_file + * @param bool $delete_previous + * @return mixed + * @throws ValidationException + */ + public function importAirports($csv_file, bool $delete_previous = true) + { + if ($delete_previous) { + Airport::truncate(); + } + + $importer = new AirportImporter(); + return $this->runImport($csv_file, $importer); + } + + /** + * Import expenses + * @param string $csv_file + * @param bool $delete_previous + * @return mixed + * @throws ValidationException + */ + public function importExpenses($csv_file, bool $delete_previous = true) + { + if ($delete_previous) { + Expense::truncate(); + } + + $importer = new ExpenseImporter(); + return $this->runImport($csv_file, $importer); + } + + /** + * Import fares + * @param string $csv_file + * @param bool $delete_previous + * @return mixed + * @throws ValidationException + */ + public function importFares($csv_file, bool $delete_previous = true) + { + if ($delete_previous) { + # TODO: Delete all from: fares + } + + $importer = new FareImporter(); + return $this->runImport($csv_file, $importer); + } + + /** + * Import flights + * @param string $csv_file + * @param bool $delete_previous + * @return mixed + * @throws ValidationException + */ + public function importFlights($csv_file, bool $delete_previous = true) + { + if ($delete_previous) { + # TODO: Delete all from: flights, flight_field_values + } + + $importer = new FlightImporter(); + return $this->runImport($csv_file, $importer); + } + + /** + * Import subfleets + * @param string $csv_file + * @param bool $delete_previous + * @return mixed + * @throws ValidationException + */ + public function importSubfleets($csv_file, bool $delete_previous = true) + { + if ($delete_previous) { + # TODO: Cleanup subfleet data + } + + $importer = new SubfleetImporter(); + return $this->runImport($csv_file, $importer); + } +} diff --git a/app/Services/ImporterService.php b/app/Services/ImporterService.php deleted file mode 100644 index 0f7598c4..00000000 --- a/app/Services/ImporterService.php +++ /dev/null @@ -1,95 +0,0 @@ -flightRepo = $flightRepo; - } - - /** - * Set a key-value pair to an array - * @param $kvp_str - * @param array $arr - */ - protected function setKvp($kvp_str, array &$arr) - { - $item = explode('=', $kvp_str); - if(\count($item) === 1) { # just a list? - $arr[] = trim($item[0]); - } else { # actually a key-value pair - $k = trim($item[0]); - $v = trim($item[1]); - $arr[$k] = $v; - } - } - - /** - * Parse a multi column values field. E.g: - * Y?price=200&cost=100; F?price=1200 - * or - * gate=B32;cost index=100 - * - * Converted into a multi-dimensional array - * - * @param $field - * @return array|string - */ - public function parseMultiColumnValues($field) - { - $ret = []; - $split_values = explode(';', $field); - - # No multiple values in here, just a straight value - if(\count($split_values) === 1) { - return $split_values[0]; - } - - foreach($split_values as $value) { - - # This isn't in the query string format, so it's - # just a straight key-value pair set - if(strpos($value, '?') === false) { - $this->setKvp($value, $ret); - continue; - } - - # This contains the query string, which turns it - # into the multi-level array - - $query_str = explode('?', $value); - $parent = trim($query_str[0]); - - $children = []; - $kvp = explode('&', trim($query_str[1])); - foreach($kvp as $items) { - $this->setKvp($items, $children); - } - - $ret[$parent] = $children; - } - - return $ret; - } - - /** - * Import flights - * @param $csv_str - * @param bool $delete_previous - */ - public function importFlights($csv_str, bool $delete_previous=true) - { - - } -} diff --git a/app/Services/Metar/AviationWeather.php b/app/Services/Metar/AviationWeather.php new file mode 100644 index 00000000..f3442cca --- /dev/null +++ b/app/Services/Metar/AviationWeather.php @@ -0,0 +1,32 @@ +data->METAR->raw_text->__toString(); + } +} diff --git a/app/Services/ModuleService.php b/app/Services/ModuleService.php index 02cef0a2..9b990d7e 100644 --- a/app/Services/ModuleService.php +++ b/app/Services/ModuleService.php @@ -2,15 +2,23 @@ namespace App\Services; -class ModuleService extends BaseService +use App\Interfaces\Service; + +/** + * Class ModuleService + * @package App\Services + */ +class ModuleService extends Service { protected static $adminLinks = []; /** * @var array 0 == logged out, 1 == logged in */ - protected static $frontendLinks = [0 => [], 1 => []]; - + protected static $frontendLinks = [ + 0 => [], + 1 => [] + ]; /** * Add a module link in the frontend @@ -18,12 +26,12 @@ class ModuleService extends BaseService * @param string $url * @param string $icon */ - public function addFrontendLink(string $title, string $url, string $icon = '', $logged_in=true) + public function addFrontendLink(string $title, string $url, string $icon = '', $logged_in = true) { self::$frontendLinks[$logged_in][] = [ 'title' => $title, - 'url' => $url, - 'icon' => 'pe-7s-users', + 'url' => $url, + 'icon' => 'pe-7s-users', ]; } @@ -42,12 +50,12 @@ class ModuleService extends BaseService * @param string $url * @param string $icon */ - public function addAdminLink(string $title, string $url, string $icon='') + public function addAdminLink(string $title, string $url, string $icon = '') { self::$adminLinks[] = [ 'title' => $title, - 'url' => $url, - 'icon' => 'pe-7s-users' + 'url' => $url, + 'icon' => 'pe-7s-users' ]; } diff --git a/app/Services/PIREPService.php b/app/Services/PirepService.php similarity index 70% rename from app/Services/PIREPService.php rename to app/Services/PirepService.php index af692c9e..1f0e2c17 100644 --- a/app/Services/PIREPService.php +++ b/app/Services/PirepService.php @@ -5,47 +5,59 @@ namespace App\Services; use App\Events\PirepAccepted; use App\Events\PirepFiled; use App\Events\PirepRejected; +use App\Events\UserStateChanged; use App\Events\UserStatsChanged; +use App\Interfaces\Service; use App\Models\Acars; +use App\Models\Bid; use App\Models\Enums\AcarsType; use App\Models\Enums\PirepSource; use App\Models\Enums\PirepState; +use App\Models\Enums\UserState; use App\Models\Navdata; use App\Models\Pirep; use App\Models\PirepFieldValues; use App\Models\User; use App\Repositories\AcarsRepository; +use App\Repositories\FlightRepository; use App\Repositories\NavdataRepository; use App\Repositories\PirepRepository; use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; use Log; -class PIREPService extends BaseService +/** + * Class PirepService + * @package App\Services + */ +class PirepService extends Service { - protected $acarsRepo, - $geoSvc, - $navRepo, - $pilotSvc, - $pirepRepo; + private $acarsRepo, + $flightRepo, + $geoSvc, + $navRepo, + $pilotSvc, + $pirepRepo; /** - * PIREPService constructor. - * @param AcarsRepository $acarsRepo - * @param GeoService $geoSvc + * PirepService constructor. + * @param AcarsRepository $acarsRepo + * @param FlightRepository $flightRepo + * @param GeoService $geoSvc * @param NavdataRepository $navRepo - * @param PirepRepository $pirepRepo - * @param UserService $pilotSvc + * @param PirepRepository $pirepRepo + * @param UserService $pilotSvc */ public function __construct( AcarsRepository $acarsRepo, + FlightRepository $flightRepo, GeoService $geoSvc, NavdataRepository $navRepo, PirepRepository $pirepRepo, UserService $pilotSvc - ) - { + ) { $this->acarsRepo = $acarsRepo; + $this->flightRepo = $flightRepo; $this->geoSvc = $geoSvc; $this->pilotSvc = $pilotSvc; $this->navRepo = $navRepo; @@ -69,21 +81,21 @@ class PIREPService extends BaseService 'flight_number' => $pirep->flight_number, ]; - if(filled($pirep->route_code)) { + if (filled($pirep->route_code)) { $where['route_code'] = $pirep->route_code; } - if(filled($pirep->route_leg)) { + if (filled($pirep->route_leg)) { $where['route_leg'] = $pirep->route_leg; } try { $found_pireps = Pirep::where($where) - ->where('state', '!=', PirepState::CANCELLED) - ->where('created_at', '>=', $time_limit) - ->get(); + ->where('state', '!=', PirepState::CANCELLED) + ->where('created_at', '>=', $time_limit) + ->get(); - if($found_pireps->count() === 0) { + if ($found_pireps->count() === 0) { return false; } @@ -104,7 +116,7 @@ class PIREPService extends BaseService # Delete all the existing nav points Acars::where([ 'pirep_id' => $pirep->id, - 'type' => AcarsType::ROUTE, + 'type' => AcarsType::ROUTE, ])->delete(); # See if a route exists @@ -113,7 +125,8 @@ class PIREPService extends BaseService } if (!filled($pirep->dpt_airport)) { - Log::error('saveRoute: dpt_airport not found: ' . $pirep->dpt_airport_id); + Log::error('saveRoute: dpt_airport not found: '.$pirep->dpt_airport_id); + return $pirep; } @@ -172,10 +185,32 @@ class PIREPService extends BaseService } } + # Check the block times. If a block on (arrival) time isn't + # specified, then use the time that it was submitted. It won't + # be the most accurate, but that might be OK + if(!$pirep->block_on_time) { + if($pirep->submitted_at) { + $pirep->block_on_time = $pirep->submitted_at; + } else { + $pirep->block_on_time = Carbon::now('UTC'); + } + } + + # If the depart time isn't set, then try to calculate it by + # subtracting the flight time from the block_on (arrival) time + if(!$pirep->block_off_time && $pirep->flight_time > 0) { + $pirep->block_off_time = $pirep->block_on_time->subMinutes($pirep->flight_time); + } + + # Check that there's a submit time + if (!$pirep->submitted_at) { + $pirep->submitted_at = Carbon::now('UTC'); + } + $pirep->save(); $pirep->refresh(); - if(\count($field_values) > 0) { + if (\count($field_values) > 0) { $this->updateCustomFields($pirep->id, $field_values); } @@ -188,23 +223,32 @@ class PIREPService extends BaseService $this->setPilotState($pirep->pilot, $pirep); } + # Check the user state, set them to ACTIVE if on leave + if($pirep->user->state !== UserState::ACTIVE) { + $old_state = $pirep->user->state; + $pirep->user->state = UserState::ACTIVE; + $pirep->user->save(); + + event(new UserStateChanged($pirep->user, $old_state)); + } + return $pirep; } /** * Update any custom PIREP fields - * @param $pirep_id + * @param $pirep_id * @param array $field_values */ public function updateCustomFields($pirep_id, array $field_values) { foreach ($field_values as $fv) { PirepFieldValues::updateOrCreate( - [ 'pirep_id' => $pirep_id, - 'name' => $fv['name'] + ['pirep_id' => $pirep_id, + 'name' => $fv['name'] ], - [ 'value' => $fv['value'], - 'source' => $fv['source'] + ['value' => $fv['value'], + 'source' => $fv['source'] ] ); } @@ -212,12 +256,12 @@ class PIREPService extends BaseService /** * @param Pirep $pirep - * @param int $new_state + * @param int $new_state * @return Pirep */ public function changeState(Pirep $pirep, int $new_state) { - Log::info('PIREP ' . $pirep->id . ' state change from ' . $pirep->state . ' to ' . $new_state); + Log::info('PIREP '.$pirep->id.' state change from '.$pirep->state.' to '.$new_state); if ($pirep->state === $new_state) { return $pirep; @@ -239,12 +283,14 @@ class PIREPService extends BaseService */ elseif ($pirep->state === PirepState::ACCEPTED) { $pirep = $this->reject($pirep); + return $pirep; } /** * Move from REJECTED to ACCEPTED */ elseif ($pirep->state === PirepState::REJECTED) { $pirep = $this->accept($pirep); + return $pirep; } @@ -275,9 +321,7 @@ class PIREPService extends BaseService $pirep->save(); $pirep->refresh(); - $this->setPilotState($pilot, $pirep); - - Log::info('PIREP ' . $pirep->id . ' state change to ACCEPTED'); + Log::info('PIREP '.$pirep->id.' state change to ACCEPTED'); # Update the aircraft $pirep->aircraft->flight_time += $pirep->flight_time; @@ -285,6 +329,12 @@ class PIREPService extends BaseService $pirep->aircraft->landing_time = $pirep->updated_at; $pirep->aircraft->save(); + $pirep->refresh(); + + # Any ancillary tasks before an event is dispatched + $this->removeBid($pirep); + + $this->setPilotState($pilot, $pirep); event(new PirepAccepted($pirep)); return $pirep; @@ -316,7 +366,7 @@ class PIREPService extends BaseService $pirep->aircraft->flight_time -= $pirep->flight_time; $pirep->aircraft->save(); - Log::info('PIREP ' . $pirep->id . ' state change to REJECTED'); + Log::info('PIREP '.$pirep->id.' state change to REJECTED'); event(new PirepRejected($pirep)); @@ -339,4 +389,31 @@ class PIREPService extends BaseService event(new UserStatsChanged($pilot, 'airport', $previous_airport)); } + + /** + * If the setting is enabled, remove the bid + * @param Pirep $pirep + * @throws \Exception + */ + public function removeBid(Pirep $pirep) + { + if (!setting('pireps.remove_bid_on_accept')) { + return; + } + + $flight = $pirep->flight; + if (!$flight) { + return; + } + + $bid = Bid::where([ + 'user_id' => $pirep->user->id, + 'flight_id' => $flight->id, + ]); + + if ($bid) { + Log::info('Bid for user: '.$pirep->user->pilot_id.' on flight '.$flight->ident); + $bid->delete(); + } + } } diff --git a/app/Services/UserService.php b/app/Services/UserService.php index 074bc4c0..502ab35f 100644 --- a/app/Services/UserService.php +++ b/app/Services/UserService.php @@ -5,19 +5,25 @@ namespace App\Services; use App\Events\UserRegistered; use App\Events\UserStateChanged; use App\Events\UserStatsChanged; -use App\Facades\Utils; +use App\Interfaces\Service; use App\Models\Enums\UserState; use App\Models\Rank; use App\Models\Role; use App\Models\User; use App\Repositories\AircraftRepository; use App\Repositories\SubfleetRepository; +use App\Support\Units\Time; use Illuminate\Support\Collection; use Log; -class UserService extends BaseService +/** + * Class UserService + * @package App\Services + */ +class UserService extends Service { - protected $aircraftRepo, $subfleetRepo; + private $aircraftRepo, + $subfleetRepo; /** * UserService constructor. @@ -35,14 +41,15 @@ class UserService extends BaseService /** * Register a pilot. Also attaches the initial roles * required, and then triggers the UserRegistered event - * @param User $user User model - * @param array $groups Additional groups to assign + * @param User $user User model + * @param array $groups Additional groups to assign * @return mixed + * @throws \Exception */ - public function createPilot(User $user, array $groups=null) + public function createPilot(User $user, array $groups = null) { # Determine if we want to auto accept - if(setting('pilot.auto_accept') === true) { + if (setting('pilots.auto_accept') === true) { $user->state = UserState::ACTIVE; } else { $user->state = UserState::PENDING; @@ -54,7 +61,7 @@ class UserService extends BaseService $role = Role::where('name', 'user')->first(); $user->attachRole($role); - if(!empty($groups) && \is_array($groups)) { + if (!empty($groups) && \is_array($groups)) { foreach ($groups as $group) { $role = Role::where('name', $group)->first(); $user->attachRole($role); @@ -63,7 +70,6 @@ class UserService extends BaseService # Let's check their rank and where they should start $this->calculatePilotRank($user); - $user->refresh(); event(new UserRegistered($user)); @@ -79,7 +85,7 @@ class UserService extends BaseService */ public function getAllowableSubfleets($user) { - if($user === null || setting('pireps.restrict_aircraft_to_rank') === false) { + if ($user === null || setting('pireps.restrict_aircraft_to_rank') === false) { return $this->subfleetRepo->with('aircraft')->all(); } @@ -106,18 +112,18 @@ class UserService extends BaseService * Change the user's state. PENDING to ACCEPTED, etc * Send out an email * @param User $user - * @param $old_state + * @param $old_state * @return User */ public function changeUserState(User $user, $old_state): User { - if($user->state === $old_state) { + if ($user->state === $old_state) { return $user; } - Log::info('User ' . $user->pilot_id . ' state changing from ' - . UserState::label($old_state) . ' to ' - . UserState::label($user->state)); + Log::info('User '.$user->pilot_id.' state changing from ' + .UserState::label($old_state).' to ' + .UserState::label($user->state)); event(new UserStateChanged($user, $old_state)); @@ -128,7 +134,7 @@ class UserService extends BaseService * Adjust the number of flights a user has. Triggers * UserStatsChanged event * @param User $user - * @param int $count + * @param int $count * @return User */ public function adjustFlightCount(User $user, int $count): User @@ -146,7 +152,7 @@ class UserService extends BaseService /** * Update a user's flight times * @param User $user - * @param int $minutes + * @param int $minutes * @return User */ public function adjustFlightTime(User $user, int $minutes): User @@ -158,7 +164,6 @@ class UserService extends BaseService return $user; } - /** * See if a pilot's rank has change. Triggers the UserStatsChanged event * @param User $user @@ -170,19 +175,27 @@ class UserService extends BaseService # If their current rank is one they were assigned, then # don't change away from it automatically. - if($user->rank && $user->rank->auto_promote === false) { + if ($user->rank && $user->rank->auto_promote === false) { + return $user; + } + + $pilot_hours = new Time($user->flight_time); + + # The current rank's hours are over the pilot's current hours, + # so assume that they were "placed" here by an admin so don't + # bother with updating it + if ($user->rank && $user->rank->hours > $pilot_hours->hours) { return $user; } $old_rank = $user->rank; $original_rank_id = $user->rank_id; - $pilot_hours = Utils::minutesToHours($user->flight_time); $ranks = Rank::where('auto_promote', true) - ->orderBy('hours', 'asc')->get(); + ->orderBy('hours', 'asc')->get(); foreach ($ranks as $rank) { - if($rank->hours > $pilot_hours) { + if ($rank->hours > $pilot_hours->hours) { break; } else { $user->rank_id = $rank->id; @@ -190,7 +203,7 @@ class UserService extends BaseService } // Only trigger the event/update if there's been a change - if($user->rank_id !== $original_rank_id) { + if ($user->rank_id !== $original_rank_id) { $user->save(); $user->refresh(); event(new UserStatsChanged($user, 'rank', $old_rank)); @@ -199,6 +212,23 @@ class UserService extends BaseService return $user; } + /** + * Set the user's status to being on leave + * @param User $user + * @return User + */ + public function setStatusOnLeave(User $user): User + { + $user->refresh(); + $user->state = UserState::ON_LEAVE; + $user->save(); + + event(new UserStateChanged($user, UserState::ACTIVE)); + + $user->refresh(); + return $user; + } + /** * Recount/update all of the stats for a user * @param User $user diff --git a/app/Support/ClassLoader.php b/app/Support/ClassLoader.php new file mode 100644 index 00000000..8df7851f --- /dev/null +++ b/app/Support/ClassLoader.php @@ -0,0 +1,40 @@ +getMessage()); + continue; + } + + $classes[] = $klass; + } + + return $classes; + } +} diff --git a/app/Support/Dates.php b/app/Support/Dates.php new file mode 100644 index 00000000..4a69cba8 --- /dev/null +++ b/app/Support/Dates.php @@ -0,0 +1,44 @@ +format('Y-m'); + $months[$last_value] = $last_month->format('Y F'); + $last_month = $last_month->addMonth(); + } while ($last_value !== $now); + + return $months; + } + + /** + * Return the start/end dates for a given month/year + * @param $month YYYY-MM + * @return array + */ + public static function getMonthBoundary($month) + { + [$year, $month] = explode('-', $month); + $days = cal_days_in_month(CAL_GREGORIAN, $month, $year); + + return [ + "$year-$month-01", + "$year-$month-$days" + ]; + } +} diff --git a/app/Support/Http.php b/app/Support/Http.php new file mode 100644 index 00000000..79d6fe05 --- /dev/null +++ b/app/Support/Http.php @@ -0,0 +1,33 @@ +request('GET', $uri, $opts); + + $body = $response->getBody()->getContents(); + if ($response->getHeader('content-type') === 'application/json') { + $body = \GuzzleHttp\json_decode($body); + } + + return $body; + } +} diff --git a/app/Support/ICAO.php b/app/Support/ICAO.php index 6cc92b68..71080394 100644 --- a/app/Support/ICAO.php +++ b/app/Support/ICAO.php @@ -8,14 +8,13 @@ namespace App\Support; */ class ICAO { - /** * Create a random hex code. Eventually this may follow the format in: * ICAO Aeronautical Telecommunications, Annex 10, Vol. III, chapter 9 * @param null $country * @return string */ - public static function createHexCode($country=null) + public static function createHexCode($country = null) { $bytes = random_bytes(4); return bin2hex($bytes); diff --git a/app/Support/Math.php b/app/Support/Math.php new file mode 100644 index 00000000..8e963752 --- /dev/null +++ b/app/Support/Math.php @@ -0,0 +1,50 @@ + null, + 'raw' => null, + 'taf' => null, + 'taf_flag' => null, + 'station' => null, + 'observed_date' => null, + 'observed_day' => null, + 'observed_time' => null, + 'observed_age' => null, + 'wind_speed' => null, + 'wind_gust_speed' => null, + 'wind_direction' => null, + 'wind_direction_label' => null, + 'wind_direction_varies' => null, + 'varies_wind_min' => null, + 'varies_wind_min_label' => null, + 'varies_wind_max' => null, + 'varies_wind_max_label' => null, + 'visibility' => null, + 'visibility_report' => null, + 'visibility_min' => null, + 'visibility_min_direction' => null, + 'runways_visual_range' => null, + 'present_weather' => null, + 'present_weather_report' => null, + 'clouds' => null, + 'clouds_report' => null, + 'clouds_report_ft' => null, + 'cloud_height' => null, + 'cavok' => null, + 'temperature' => null, + 'dew_point' => null, + 'humidity' => null, + 'heat_index' => null, + 'wind_chill' => null, + 'barometer' => null, + 'barometer_in' => null, + 'barometer_mb' => null, + 'recent_weather' => null, + 'recent_weather_report' => null, + 'runways_report' => null, + 'runways_snoclo' => null, + 'wind_shear_all_runways' => null, + 'wind_shear_runways' => null, + 'forecast_temperature_min' => null, + 'forecast_temperature_max' => null, + 'trends' => null, + 'remarks' => null, + ]; + + /* + * Methods used for parsing in the order of data + */ + private static $method_names = [ + 'taf', + 'station', + 'time', + 'station_type', + 'wind', + 'varies_wind', + 'visibility', + 'visibility_min', + 'runway_vr', + 'present_weather', + 'clouds', + 'temperature', + 'pressure', + 'recent_weather', + 'runways_report', + 'wind_shear', + 'forecast_temperature', + 'trends', + 'remarks', + ]; + + /* + * Interpretation of weather conditions intensity codes. + */ + private static $weather_intensity_codes = [ + '' => 'moderate', + '-' => 'light', + '+' => 'strong', + 'VC' => 'in the vicinity', + ]; + + /* + * Interpretation of weather conditions characteristics codes. + */ + private static $weather_char_codes = [ + 'MI' => 'shallow', + 'PR' => 'partial', + 'BC' => 'patches of', + 'DR' => 'low drifting', + 'BL' => 'blowing', + 'SH' => 'showers of', + 'TS' => 'thunderstorms', + 'FZ' => 'freezing', + ]; + + /* + * Interpretation of weather conditions type codes. + */ + private static $weather_type_codes = [ + 'DZ' => 'drizzle', + 'RA' => 'rain', + 'SN' => 'snow', + 'SG' => 'snow grains', + 'IC' => 'ice crystals', + 'PE' => 'ice pellets', + 'GR' => 'hail', + 'GS' => 'small hail', // and/or snow pellets + 'UP' => 'unknown', + 'BR' => 'mist', + 'FG' => 'fog', + 'FU' => 'smoke', + 'VA' => 'volcanic ash', + 'DU' => 'widespread dust', + 'SA' => 'sand', + 'HZ' => 'haze', + 'PY' => 'spray', + 'PO' => 'well-developed dust/sand whirls', + 'SQ' => 'squalls', + 'FC' => 'funnel cloud, tornado, or waterspout', + 'SS' => 'sandstorm/duststorm', + ]; + + /* + * Interpretation of cloud cover codes. + */ + private static $cloud_codes = [ + 'NSW' => 'no significant weather are observed', + 'NSC' => 'no significant clouds are observed', + 'NCD' => 'nil cloud detected', + 'SKC' => 'no significant changes expected', + 'CLR' => 'clear skies', + 'NOBS' => 'no observation', + // + 'FEW' => 'a few', + 'SCT' => 'scattered', + 'BKN' => 'broken sky', + 'OVC' => 'overcast sky', + // + 'VV' => 'vertical visibility', + ]; + + /* + * Interpretation of cloud cover type codes. + */ + private static $cloud_type_codes = [ + 'CB' => 'cumulonimbus', + 'TCU' => 'towering cumulus', + ]; + + /* + * Interpretation of runway visual range tendency codes. + */ + private static $rvr_tendency_codes = [ + 'D' => 'decreasing', + 'U' => 'increasing', + 'N' => 'no tendency', + ]; + + /* + * Interpretation of runway visual range prefix codes. + */ + private static $rvr_prefix_codes = [ + 'P' => 'more', + 'M' => 'less', + ]; + + /* + * Interpretation of runway runway deposits codes. + */ + private static $runway_deposits_codes = [ + '0' => 'clear and dry', + '1' => 'damp', + '2' => 'wet or water patches', + '3' => 'rime or frost covered', + '4' => 'dry snow', + '5' => 'wet snow', + '6' => 'slush', + '7' => 'ice', + '8' => 'compacted or rolled snow', + '9' => 'frozen ruts or ridges', + '/' => 'not reported', + ]; + + /* + * Interpretation of runway runway deposits extent codes. + */ + private static $runway_deposits_extent_codes = [ + '1' => 'from 10% or less', + '2' => 'from 11% to 25%', + '5' => 'from 26% to 50%', + '9' => 'from 51% to 100%', + '/' => null, + ]; + + /* + * Interpretation of runway runway deposits depth codes. + */ + private static $runway_deposits_depth_codes = [ + '00' => 'less than 1 mm', + '92' => '10 cm', + '93' => '15 cm', + '94' => '20 cm', + '95' => '25 cm', + '96' => '30 cm', + '97' => '35 cm', + '98' => '40 cm or more', + '99' => 'closed', + '//' => null, + ]; + + /* + * Interpretation of runway runway friction codes. + */ + private static $runway_friction_codes = [ + '91' => 'poor', + '92' => 'medium/poor', + '93' => 'medium', + '94' => 'medium/good', + '95' => 'good', + '99' => 'figures unreliable', + '//' => null, + ]; + + /* + * Trends time codes. + */ + private static $trends_flag_codes = [ + 'BECMG' => 'expected to arise soon', + 'TEMPO' => 'expected to arise temporarily', + 'INTER' => 'expected to arise intermittent', + 'PROV' => 'provisional forecast', + 'CNL' => 'cancelled forecast', + 'NIL' => 'nil forecast', + ]; + + /* + * Trends time codes. + */ + private static $trends_time_codes = [ + 'AT' => 'at', + 'FM' => 'from', + 'TL' => 'until', + ]; + + /* + * Interpretation of compass degrees codes. + */ + private static $direction_codes = [ + 'N', 'NNE', 'NE', 'ENE', + 'E', 'ESE', 'SE', 'SSE', + 'S', 'SSW', 'SW', 'WSW', + 'W', 'WNW', 'NW', 'NNW', + ]; + + /* + * Debug and parse errors information. + */ + + private $debug = []; + + private $debug_enabled; + + public $errors = []; + + /* + * Other variables. + */ + private $raw; + + private $raw_parts = []; + + private $method = 0; + + private $part = 0; + + /** + * This method provides METAR and TAF information, you want to parse. + * + * Examples of raw METAR for test: + * UMMS 231530Z 21002MPS 2100 BR OVC002 07/07 Q1008 R13/290062 NOSIG RMK QBB070 + * UWSS 231500Z 14007MPS 9999 -SHRA BR BKN033CB OVC066 03/M02 Q1019 R12/220395 NOSIG RMK QFE752 + * UWSS 241200Z 12003MPS 0300 R12/1000 DZ FG VV003CB 05/05 Q1015 R12/220395 NOSIG RMK QFE749 + * UATT 231530Z 18004MPS 130V200 CAVOK M03/M08 Q1033 R13/0///60 NOSIG RMK QFE755/1006 + * KEYW 231553Z 04008G16KT 10SM FEW060 28/22 A3002 RMK AO2 SLP166 T02780222 + * EFVR 231620Z AUTO 19002KT 5000 BR FEW003 BKN005 OVC007 09/08 Q0998 + * KTTN 051853Z 04011KT M1/2SM VCTS SN FZFG BKN003 OVC010 M02/M02 A3006 RMK AO2 TSB40 SLP176 P0002 T10171017= + * UEEE 072000Z 00000MPS 0150 R23L/0500 R10/1000VP1800D FG VV003 M50/M53 Q1028 RETSRA R12/290395 R31/CLRD// R/SNOCLO WS RWY10L WS RWY11L TEMPO 4000 RADZ BKN010 RMK QBB080 OFE745 + * UKDR 251830Z 00000MPS CAVOK 08/07 Q1019 3619//60 NOSIG + * UBBB 251900Z 34015KT 9999 FEW013 BKN030 16/14 Q1016 88CLRD70 NOSIG + * UMMS 251936Z 19002MPS 9999 SCT006 OVC026 06/05 Q1015 R31/D NOSIG RMK QBB080 OFE745 + * @param $raw + * @param bool $taf + * @param bool $debug + * @param bool $icao + */ + public function __construct($raw, $taf = false, $debug = false, $icao = true) + { + $this->debug_enabled = $debug; + + $raw_lines = explode("\n", $raw, 2); + if (isset($raw_lines[1])) { + $raw = trim($raw_lines[1]); + // Get observed time from a file data + $observed_time = strtotime(trim($raw_lines[0])); + if ($observed_time !== 0) { + $this->set_observed_date($observed_time); + } + } else { + $raw = trim($raw_lines[0]); + } + + $this->raw = rtrim(trim(preg_replace('/[\s\t]+/s', ' ', $raw)), '='); + /*if ($taf) { + $this->set_debug('Information presented as TAF or trend.'); + } else { + $this->set_debug('Information presented as METAR.'); + }*/ + + $this->set_result_value('taf', $taf); + $this->set_result_value('raw', $this->raw); + + $this->parse_all(); + } + + /** + * Shortcut to call + * @param $metar + * @param string $taf + * @return mixed + */ + public static function parse($metar, $taf = '') + { + $mtr = new static($metar, $taf); + return $mtr->parse_all(); + } + + /** + * Gets the value from result array as class property. + * @param $parameter + * @return mixed|null + */ + public function __get($parameter) + { + if (isset($this->result[$parameter])) { + return $this->result[$parameter]; + } + + return null; + } + + /** + * Parses the METAR or TAF information and returns result array. + */ + public function parse_all(): array + { + $this->raw_parts = explode(' ', $this->raw); + $current_method = 0; + + $raw_part_count = \count($this->raw_parts); + $method_name_count = \count(static::$method_names); + + while ($this->part < $raw_part_count) { + $this->method = $current_method; + while ($this->method < $method_name_count) { + $method = 'get_'.static::$method_names[$this->method]; + $token = $this->raw_parts[$this->part]; + if ($this->$method($token) === true) { + $this->set_debug('Token "'.$token.'" is parsed by method: '.$method.', '. + ($this->method - $current_method).' previous methods skipped.'); + $current_method = $this->method; + $this->method++; + break; + } + $this->method++; + } + + if ($current_method !== $this->method - 1) { + /*$this->set_error('Unknown token: '.$this->raw_parts[$this->part]); + $this->set_debug('Token "'.$this->raw_parts[$this->part].'" is NOT PARSED, '. + ($this->method - $current_method).' methods attempted.');*/ + } + + $this->part++; + } + + // Delete null values from the TAF report + if ($this->result['taf'] === true) { + foreach ($this->result as $parameter => $value) { + if (!$value) { + unset($this->result[$parameter]); + } + } + } + // Finally determine if it's VFR or IFR conditions + // https://www.aviationweather.gov/cva/help + if(array_key_exists('cavok', $this->result) && $this->result['cavok']) { + $this->result['category'] = 'VFR'; + } else { + if(array_key_exists('cloud_height', $this->result) && array_key_exists('visibility', $this->result)) { + if ($this->result['cloud_height']['ft'] > 3000 && $this->result['visibility']['nmi'] > 5) { + $this->result['category'] = 'VFR'; + } else { + $this->result['category'] = 'IFR'; + } + } + } + + return $this->result; + } + + /** + * Returns array with debug information. + */ + public function debug() + { + return $this->debug; + } + + /** + * Returns array with parse errors. + */ + public function errors() + { + return $this->errors; + } + + /** + * This method formats observation date and time in the local time zone of server, + * the current local time on server, and time difference since observation. $time_utc is a + * UNIX timestamp for Universal Coordinated Time (Greenwich Mean Time or Zulu Time). + */ + private function set_observed_date($time_utc) + { + $now = time(); + $local = $time_utc + date('Z'); + + $this->set_result_value('observed_date', date('r', $local)); // or "D M j, H:i T" + $time_diff = floor(($now - $local) / 60); + + if ($time_diff < 91) { + $this->set_result_value('observed_age', $time_diff.' min. ago'); + } else { + $this->set_result_value('observed_age', floor($time_diff / 60).':'.sprintf("%02d", $time_diff % 60).' hr. ago'); + } + } + + /** + * Sets the new value to parameter in result array. + * @param $parameter + * @param $value + * @param bool $only_if_null + */ + private function set_result_value($parameter, $value, $only_if_null = false) + { + if ($only_if_null) { + if ($this->result[$parameter] === null) { + $this->result[$parameter] = $value; + } + } else { + $this->result[$parameter] = $value; + } + } + + /** + * Sets the data group to parameter in result array. + */ + private function set_result_group($parameter, $group) + { + if ($this->result[$parameter] === null) { + $this->result[$parameter] = []; + } + + $this->result[$parameter][] = $group; + } + + /** + * Sets the report text to parameter in result array. + * @param $parameter + * @param $report + * @param string $separator + */ + private function set_result_report($parameter, $report, $separator = ';') + { + $this->result[$parameter] .= $separator.' '.$report; + if ($this->result[$parameter] !== null) { + $this->result[$parameter] = ucfirst(ltrim($this->result[$parameter], ' '.$separator)); + } + } + + /** + * Adds the debug text to debug information array. + */ + private function set_debug($text) + { + if ($this->debug_enabled) { + $this->debug[] = $text; + } + } + + /** + * Adds the error text to parse errors array. + */ + private function set_error($text) + { + $this->errors[] = $text; + } + + // -------------------------------------------------------------------- + // Methods for parsing raw parts + // -------------------------------------------------------------------- + /** + * Decodes TAF code if present. + */ + private function get_taf($part) + { + if ($part !== 'TAF') { + return false; + } + + if ($this->raw_parts[$this->part + 1] === 'COR' + || $this->raw_parts[$this->part + 1] === 'AMD') { + $this->set_result_value('taf_flag', $this->raw_parts[$this->part + 1], true); + $this->part++; + } + + $this->set_debug('TAF information detected.'); + $this->set_result_value('taf', true); + return true; + } + + /** + * Decodes station code. + */ + private function get_station($part) + { + $r = '@^([A-Z]{1}'.'[A-Z0-9]{3})$@'; // 1 + if (!preg_match($r, $part, $found)) { + return false; + } + + $this->set_result_value('station', $found[1]); + $this->method++; + return true; + } + + /** + * Decodes observation time. + * Format is ddhhmmZ where dd = day, hh = hours, mm = minutes in UTC time. + */ + private function get_time($part) + { + $r = '@^([\d]{2})' // 1 + .'([\d]{2})' // 2 + .'([\d]{2})Z$@'; // 3 + + if (!preg_match($r, $part, $found)) { + return false; + } + + $day = (int) $found[1]; + $hour = (int) $found[2]; + $minute = (int) $found[3]; + + if ($this->result['observed_date'] === null) { + // Get observed time from a METAR/TAF part + $observed_time = mktime($hour, $minute, 0, date('n'), $day, date('Y')); + // Take one month, if the observed day is greater than the current day + if ($day > date('j')) { + $observed_time = strtotime('-1 month'); + } + + $this->set_observed_date($observed_time); + $this->set_debug('Observation date is set from the METAR/TAF information (presented in format: ddhhmmZ)'); + } + + $this->set_result_value('observed_day', $day); + $this->set_result_value('observed_time', $found[2].':'.$found[3].' UTC'); + $this->method++; + return true; + } + + /** + * Ignore station type if present. + */ + private function get_station_type($part) + { + if ($part !== 'AUTO' && $part !== 'COR') { + return false; + } + + $this->method++; + return true; + } + + /** + * Decodes wind direction and speed information. + * Format is dddssKT where ddd = degrees from North, ss = speed, KT for knots, + * or dddssGggKT where G stands for gust and gg = gust speed. (ss or gg can be a 3-digit number.) + * KT can be replaced with MPH for meters per second or KMH for kilometers per hour. + * @param $part + * @return bool + */ + private function get_wind($part) + { + $r = '@^([\d]{3}|VRB|///)P?' // 1 + .'([/0-9]{2,3}|//)' // 2 + .'(GP?' // 3 + .'([\d]{2,3}))?' // 4 + .'(KT|MPS|KPH)@'; // 5 + + if (!preg_match($r, $part, $found)) { + return false; + } + + $this->set_result_value('wind_direction_varies', false, true); + + if ($found[1] === '///' && $found[2] === '//') { + } // handle the case where nothing is observed + else { + $unit = $found[5]; + + // Speed + $this->set_result_value('wind_speed', $this->convert_speed($found[2], $unit)); + + // Direction + if ($found[1] === 'VRB') { + $this->set_result_value('wind_direction_varies', true); + } else { + $direction = (int) $found[1]; + if ($direction >= 0 && $direction <= 360) { + $this->set_result_value('wind_direction', $direction); + $this->set_result_value('wind_direction_label', $this->convert_direction_label($direction)); + } + } + + // Speed variations (gust speed) + if (isset($found[4]) && !empty($found[4])) { + $this->set_result_value('wind_gust_speed', $this->convert_speed($found[4], $unit)); + } + } + + $this->method++; + return true; + } + + /* + * Decodes varies wind direction information if present. + * Format is fffVttt where V stands for varies from fff degrees to ttt degrees. + */ + private function get_varies_wind($part) + { + $r = '@^([\d]{3})' // 1 + .'V([\d]{3})$@'; // 2 + + if (!preg_match($r, $part, $found)) { + return false; + } + + $min_direction = (int) $found[1]; + $max_direction = (int) $found[2]; + + if ($min_direction >= 0 && $min_direction <= 360) { + $this->set_result_value('varies_wind_min', $min_direction); + $this->set_result_value('varies_wind_min_label', $this->convert_direction_label($min_direction)); + } + + if ($max_direction >= 0 && $max_direction <= 360) { + $this->set_result_value('varies_wind_max', $max_direction); + $this->set_result_value('varies_wind_max_label', $this->convert_direction_label($max_direction)); + } + + $this->method++; + return true; + } + + /** + * Decodes visibility information. This function will be called a second time + * if visibility is limited to an integer mile plus a fraction part. + * Format is mmSM for mm = statute miles, or m n/dSM for m = mile and n/d = fraction of a mile, + * or just a 4-digit number nnnn (with leading zeros) for nnnn = meters. + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + */ + private function get_visibility($part) + { + $r = '@^(CAVOK|([\d]{4})' // 1 + .'|(M)?' // 2 + .'([\d]{0,2})?' // 3 + .'(([1357])' // 4 + .'/(2|4|8|16))?' // 5 + .'SM|////)$@'; // 6 + + if (!preg_match($r, $part, $found)) { + return false; + } + + $this->set_result_value('cavok', false, true); + + // Cloud and visibilty OK or ICAO visibilty greater than 10 km + if ($found[1] === 'CAVOK' || $found[1] === '9999') { + $this->set_result_value('visibility', new Distance(10000, 'm')); + $this->set_result_value('visibility_report', 'Greater than 10 km'); + if ($found[1] === 'CAVOK') { + $this->set_result_value('cavok', true); + $this->method += 4; // can skip the next 4 methods: visibility_min, runway_vr, present_weather, clouds + } + } /*elseif ($found[1] === '////') { + }*/ // information not available + + else { + $prefix = ''; + + // ICAO visibility (in meters) + if (isset($found[2]) && !empty($found[2])) { + $visibility = new Distance((int) $found[2], 'm'); + } // US visibility (in miles) + else { + if (isset($found[3]) && !empty($found[3])) { + $prefix = 'Less than '; + } + + if (isset($found[7]) && !empty($found[7])) { + $visibility = (int) $found[4] + (int) $found[6] / (int) $found[7]; + } else { + $visibility = (int) $found[4]; + } + + $visibility = new Distance($visibility, 'mi'); + } + + $unit = ' meters'; + if ($visibility['m'] <= 1) { + $unit = ' meter'; + } + + $this->set_result_value('visibility', $visibility); + $this->set_result_value('visibility_report', $prefix.$visibility.$unit); + } + + return true; + } + + /** + * Decodes visibility minimum value and direction if present. + * Format is vvvvDD for vvvv = the minimum horizontal visibility in meters + * (if the visibility is better than 10 km, 9999 is used. 9999 means a minimum + * visibility of 50 m or less), and for DD = the approximate direction of minimum and + * maximum visibility is given as one of eight compass points (N, SW, ...). + * @param $part + * @return bool + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName + */ + private function get_visibility_min($part) + { + if (!preg_match('@^([\d]{4})(NE|NW|SE|SW|N|E|S|W|)?$@', $part, $found)) { + return false; + } + + $meters = new Distance((int) $found[1], 'm'); + $this->set_result_value('visibility_min', $meters); + + if (isset($found[2]) && !empty($found[2])) { + $this->set_result_value('visibility_min_direction', $found[2]); + } + + $this->method++; + return true; + } + + /** + * Decodes runway visual range information if present. + * Format is Rrrr/vvvvFT where rrr = runway number, vvvv = visibility, + * and FT = the visibility in feet. + * @param $part + * @return bool + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + */ + private function get_runway_vr($part) + { + $r = '@^R([\d]{2}[LCR]?)/' // 1 + .'(([PM])?' // 2 + .'([\d]{4})V)?' // 3 + .'([PM])?([\d]{4})' // 4 + .'(FT)?/?' // 6 + .'([UDN]?)$@'; // 7 + + if (!preg_match($r, $part, $found)) { + return false; + } + + if ((int) $found[1] > 36 || (int) $found[1] < 1) { + return false; + } + + $unit = 'meter'; + if (isset($found[6]) && $found[6] === 'FT') { + $unit = 'feet'; + } + + $observed = [ + 'runway' => $found[1], + 'variable' => null, + 'variable_prefix' => null, + 'interval_min' => null, + 'interval_max' => null, + 'tendency' => null, + 'report' => null, + ]; + + // Runway past tendency + if (isset($found[8]) && isset(static::$rvr_tendency_codes[$found[8]])) { + $observed['tendency'] = $found[8]; + } + + // Runway visual range + if (isset($found[6])) { + if (!empty($found[4])) { + $observed['interval_min'] = new Distance($found[4], $unit); + $observed['interval_max'] = new Distance($found[6], $unit); + if (!empty($found[5])) { + $observed['variable_prefix'] = $found[5]; + } + } else { + $observed['variable'] = new Distance($found[6], $unit); + } + } + + // Runway visual range report + if (!empty($observed['runway'])) { + $report = []; + if ($observed['variable'] !== null) { + $unit = ' meters'; + if ($observed['variable'] <= 1) { + $unit = ' meter'; + } + + $report[] = $observed['variable'].$unit; + } elseif (null !== $observed['interval_min'] && null !== $observed['interval_max']) { + if (isset(static::$rvr_prefix_codes[$observed['variable_prefix']])) { + $report[] = 'varying from a min. of '.$observed['interval_min'].' meters until a max. of '. + static::$rvr_prefix_codes[$observed['variable_prefix']].' that '. + $observed['interval_max'].' meters'; + } else { + $report[] = 'varying from a min. of '.$observed['interval_min'].' meters until a max. of '. + $observed['interval_max'].' meters'; + } + } + + if (null !== $observed['tendency'] && isset(static::$rvr_tendency_codes[$observed['tendency']])) { + $report[] = 'and '.static::$rvr_tendency_codes[$observed['tendency']]; + } + + $observed['report'] = ucfirst(implode(' ', $report)); + } + + $this->set_result_group('runways_visual_range', $observed); + return true; + } + + /** + * Decodes present weather conditions if present. This function maybe called several times + * to decode all conditions. To learn more about weather condition codes, visit section + * 12.6.8 - Present Weather Group of the Federal Meteorological Handbook No. 1 at + * www.nws.noaa.gov/oso/oso1/oso12/fmh1/fmh1ch12.htm + * @param $part + * @return bool + */ + private function get_present_weather($part) + { + return $this->decode_weather($part, 'present'); + } + + /** + * Decodes cloud cover information if present. This function maybe called several times + * to decode all cloud layer observations. Only the last layer is saved. + * Format is SKC or CLR for clear skies, or cccnnn where ccc = 3-letter code and + * nnn = height of cloud layer in hundreds of feet. 'VV' seems to be used for + * very low cloud layers. + * @param $part + * @return bool + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + */ + private function get_clouds($part) + { + $r = '@^((NSW|NSC|NCD|CLR|SKC|NOBS)|' // 1 + .'((VV|FEW|SCT|BKN|OVC|///)' // 2 + .'([\d]{3}|///)' // 3 + .'(CB|TCU|///)?))$@'; // 4 + + if (!preg_match($r, $part, $found)) { + return false; + } + + $observed = [ + 'amount' => null, + 'height' => null, + 'type' => null, + 'report' => null, + ]; + + // Clear skies or no observation + if (isset($found[2]) && !empty($found[2])) { + if (isset(static::$cloud_codes[$found[2]])) { + $observed['amount'] = $found[2]; + } + } // Cloud cover observed + elseif (isset($found[5]) && !empty($found[5])) { + $observed['height'] = new Altitude($found[5] * 100, 'feet'); + + // Cloud height + if (null === $this->result['cloud_height']['m'] || $observed['height']['m'] < $this->result['cloud_height']['m']) { + $this->set_result_value('cloud_height', $observed['height']); + } + + if (isset(static::$cloud_codes[$found[4]])) { + $observed['amount'] = $found[4]; + } + } + // Type + if (isset($found[6]) && !empty($found[6]) && isset(static::$cloud_type_codes[$found[6]]) && $found[4] != 'VV') { + $observed['type'] = $found[6]; + } + + // Build clouds report + if (null !== $observed['amount']) { + $report = []; + $report_ft = []; + + $report[] = static::$cloud_codes[$observed['amount']]; + $report_ft[] = static::$cloud_codes[$observed['amount']]; + + if ($observed['height']) { + if (null !== $observed['type']) { + $report[] = 'at '.round($observed['height']['m'], 0).' meters, '.static::$cloud_type_codes[$observed['type']]; + $report_ft[] = 'at '.round($observed['height']['ft'], 0).' feet, '.static::$cloud_type_codes[$observed['type']]; + } else { + $report[] = 'at ' . round($observed['height']['m'], 0) . ' meters'; + $report_ft[] = 'at ' . round($observed['height']['ft'], 0) . ' feet'; + } + } + + $report = implode(' ', $report); + $report_ft = implode(' ', $report_ft); + + $observed['report'] = ucfirst($report); + $observed['report_ft'] = ucfirst($report_ft); + + $this->set_result_report('clouds_report', $report); + $this->set_result_report('clouds_report_ft', $report_ft); + } + + $this->set_result_group('clouds', $observed); + return true; + } + + /** + * Decodes temperature and dew point information. Relative humidity is calculated. Also, + * depending on the temperature, Heat Index or Wind Chill Temperature is calculated. + * Format is tt/dd where tt = temperature and dd = dew point temperature. All units are + * in Celsius. A 'M' preceeding the tt or dd indicates a negative temperature. Some + * stations do not report dew point, so the format is tt/ or tt/XX. + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + */ + private function get_temperature($part) + { + $r = '@^(M?[\d]{2})' // 1 + .'/(M?[\d]{2}' // 2 + .'|[X]{2})?@'; // 3 + if (!preg_match($r, $part, $found)) { + return false; + } + + // Set clouds and weather reports if its not observed (e.g. clear and dry) + $this->set_result_value('clouds_report', 'Clear skies', true); + $this->set_result_value('present_weather_report', 'Dry', true); + + // Temperature + $temperature_c = (int) str_replace('M', '-', $found[1]); + $temperature = new Temperature($temperature_c, 'C'); + + $this->set_result_value('temperature', $temperature); + $this->calculate_wind_chill($temperature['f']); + + // Dew point + if (isset($found[2]) && '' !== $found[2] && $found[2] !== 'XX') { + $dew_point_c = (int) str_replace('M', '-', $found[2]); + $dew_point = new Temperature($dew_point_c, 'C'); + $rh = round(100 * (((112 - (0.1 * $temperature_c) + $dew_point_c) / (112 + (0.9 * $temperature_c))) ** 8)); + + $this->set_result_value('dew_point', $dew_point); + $this->set_result_value('humidity', $rh); + $this->calculate_heat_index($temperature['f'], $rh); + } + + $this->method++; + return true; + } + + /** + * Decodes altimeter or barometer information. + * Format is Annnn where nnnn represents a real number as nn.nn in inches of Hg, + * or Qpppp where pppp = hectoPascals. + * Some other common conversion factors: + * 1 millibar = 1 hPa + * 1 in Hg = 0.02953 hPa + * 1 mm Hg = 25.4 in Hg = 0.750062 hPa + * 1 lb/sq in = 0.491154 in Hg = 0.014504 hPa + * 1 atm = 0.33421 in Hg = 0.0009869 hPa + */ + private function get_pressure($part) + { + if (!preg_match('@^(Q|A)(////|[\d]{4})@', $part, $found)) { + return false; + } + $pressure = (int) $found[2]; + if ($found[1] === 'A') { + $pressure /= 100; + } + + $this->set_result_value('barometer', $pressure); // units are hPa + $this->set_result_value('barometer_mb', $pressure); // units are hPa + $this->set_result_value('barometer_in', round(0.02953 * $pressure, 2)); // convert to in Hg + + $this->method++; + return true; + } + + /** + * Decodes recent weather conditions if present. + * Format is REww where ww = Weather phenomenon code (see get_present_weather above). + */ + private function get_recent_weather($part) + { + return $this->decode_weather($part, 'recent', 'RE'); + } + + /** + * Decodes runways report information if present. + * Format rrrECeeBB or Rrrr/ECeeBB where rr = runway number, E = deposits, + * C = extent of deposit, ee = depth of deposit, BB = friction coefficient. + */ + private function get_runways_report($part) + { + $r = '@^R?' + .'(/?(SNOCLO)' // 1 + .'|([\d]{2}[LCR]?)/?' // 2 + .'(CLRD|([\d]{1}|/)' // 3 + .'([\d]{1}|/)' // 4 + .'([\d]{2}|//))' // 5 + .'([\d]{2}|//))$@'; // 6 + + if (!preg_match($r, $part, $found)) { + return false; + } + + $this->set_result_value('runways_snoclo', false, true); + + // Airport closed due to snow + if (isset($found[2]) && $found[2] === 'SNOCLO') { + $this->set_result_value('runways_snoclo', true); + } else { + $observed = [ + 'runway' => $found[3], // just runway number + 'deposits' => null, + 'deposits_extent' => null, + 'deposits_depth' => null, + 'friction' => null, + 'report' => null, + ]; + // Contamination has disappeared (runway has been cleared) + if (isset($found[4]) && $found[4] === 'CLRD') { + $observed['deposits'] = 0; // cleared + } // Deposits observed + else { + // Type + $deposits = $found[5]; + if (isset(static::$runway_deposits_codes[$deposits])) { + $observed['deposits'] = $deposits; + } + + // Extent + $deposits_extent = $found[6]; + if (isset(static::$runway_deposits_extent_codes[$deposits_extent])) { + $observed['deposits_extent'] = $deposits_extent; + } + + // Depth + $deposits_depth = $found[7]; + + // Uses in mm + if ((int) $deposits_depth >= 1 && (int) $deposits_depth <= 90) { + $observed['deposits_depth'] = (int) $deposits_depth; + } // Uses codes + elseif (isset(static::$runway_deposits_depth_codes[$deposits_depth])) { + $observed['deposits_depth'] = $deposits_depth; + } + } + + // Friction observed + $friction = $found[8]; + + // Uses coefficient + if ((int) $friction > 0 && (int) $friction <= 90) { + $observed['friction'] = round($friction / 100, 2); + } // Uses codes + elseif (isset(static::$runway_friction_codes[$friction])) { + $observed['friction'] = $friction; + } + + // Build runways report + $report = []; + if (null !== $observed['deposits']) { + $report[] = static::$runway_deposits_codes[$observed['deposits']]; + if (null !== $observed['deposits_extent']) { + $report[] = 'contamination '.static::$runway_deposits_extent_codes[$observed['deposits_extent']]; + } + + if (null !== $observed['deposits_depth']) { + if ($observed['deposits_depth'] === '99') { + $report[] = 'runway closed'; + } elseif (isset(static::$runway_deposits_depth_codes[$observed['deposits_depth']])) { + $report[] = 'deposit is '.static::$runway_deposits_depth_codes[$observed['deposits_depth']].' deep'; + } else { + $report[] = 'deposit is '.$observed['deposits_depth'].' mm deep'; + } + } + } + + if (null !== $observed['friction']) { + if (isset(static::$runway_friction_codes[$observed['friction']])) { + $report[] = 'a braking action is '.static::$runway_friction_codes[$observed['friction']]; + } else { + $report[] = 'a friction coefficient is '.$observed['friction']; + } + } + + $observed['report'] = ucfirst(implode(', ', $report)); + $this->set_result_group('runways_report', $observed); + } + + return true; + } + + /** + * Decodes wind shear information if present. + * Format is 'WS ALL RWY' or 'WS RWYdd' where dd = Runway designator (see get_runway_vr above). + */ + private function get_wind_shear($part) + { + if ($part !== 'WS') { + return false; + } + + $this->set_result_value('wind_shear_all_runways', false, true); + $this->part++; // skip this part with WS + + // See two next parts for 'ALL RWY' records + if (implode(' ', \array_slice($this->raw_parts, $this->part, 2)) === 'ALL RWY') { + $this->set_result_value('wind_shear_all_runways', true); + $this->part += 2; // can skip neext parts with ALL and RWY records + } // See one next part for RWYdd record + elseif (isset($this->raw_parts[$this->part])) { + + $r = '@^R(WY)?' // 1 + .'([\d]{2}[LCR]?)$@'; // 2 + + $part = $this->raw_parts[$this->part]; + if (!preg_match($r, $part, $found)) { + return false; + } + + if ((int) $found[2] > 36 || (int) $found[2] < 1) { + return false; + } + + $this->set_result_group('wind_shear_runways', $found[2]); + } else { + return false; + } + + return true; + } + + /** + * Decodes max and min temperature forecast information if present. + * @param string $part + * Format TXTtTt/ddHHZ or TNTtTt/ddHHZ, where: + * TX - Indicator for Maximum temperature + * TN - Indicator for Minimum temperature + * TtTt - Temperature value in Celsius + * dd - Forecast day of month + * HH - Forecast hour, i.e. the time(hour) when the temperature is expected + * Z - Time Zone indicator, Z=GMT. + * @return bool + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + */ + private function get_forecast_temperature($part): bool + { + $r = '@^(TX|TN)' // 1 + .'(M?[\d]{2})' // 2 + .'/([\d]{2})?' // 3 + .'([\d]{2})Z$@'; // 4 + + if (!preg_match($r, $this->raw_parts[$this->part], $found)) { + return false; + } + + // Temperature + $temperature_c = (int) str_replace('M', '-', $found[2]); + $temperture = new Temperature($temperature_c, 'C'); + + $forecast = [ + 'value' => $temperture, + 'day' => null, + 'time' => null, + ]; + + if (!empty($found[3])) { + $forecast['day'] = (int) $found[3]; + } + + $forecast['time'] = $found[4].':00 UTC'; + + $parameter = 'forecast_temperature_max'; + if ($found[1] === 'TN') { + $parameter = 'forecast_temperature_min'; + } + + $this->set_result_group($parameter, $forecast); + return true; + } + + /** + * Decodes trends information if present. + * All METAR trend and TAF records is beginning at: NOSIG, BECMG, TEMP, ATDDhhmm, FMDDhhmm, + * LTDDhhmm or DDhh/DDhh, where hh = hours, mm = minutes, DD = day of month. + */ + private function get_trends($part) + { + $r = '@^((NOSIG|BECMG|TEMPO|INTER|CNL|NIL|PROV|(PROB)' // 1 + .'([\d]{2})|' // 2 + .'(AT|FM|TL)' // 3 + .'([\d]{2})?' // 4 + .'([\d]{2})' // 5 + .'([\d]{2}))|' // 6 + .'(([\d]{2})' // 7 + .'([\d]{2}))/' // 8 + .'(([\d]{2})' // 9 + .'([\d]{2})))$@'; // 10 + + if (!preg_match($r, $part, $found)) { + return false; + } + + // Detects TAF on report + if ($this->part <= 4) { + $this->set_result_value('taf', true); + } + + // Nil significant changes, skip trend + if ($found[2] === 'NOSIG') { + return true; + } + + $trend = [ + 'flag' => null, + 'probability' => null, + 'period_report' => null, + 'period' => [ + 'flag' => null, + 'day' => null, + 'time' => null, + 'from_day' => null, + 'from_time' => null, + 'to_day' => null, + 'to_time' => null, + ], + ]; + + $raw_parts = []; + + // Get all parts after trend part + while ($this->part < \count($this->raw_parts)) { + if (preg_match($r, $this->raw_parts[$this->part], $found)) { + // Get trend flag + if (isset($found[2]) && isset(static::$trends_flag_codes[$found[2]])) { + $trend['flag'] = $found[2]; + } // Get PROBpp formatted period + + elseif (isset($found[3]) && $found[3] === 'PROB') { + $trend['probability'] = $found[4]; + } // Get AT, FM, TL formatted period + + elseif (isset($found[8]) && isset(static::$trends_time_codes[$found[5]])) { + $trend['period']['flag'] = $found[5]; + if (!empty($found[6])) { + $trend['period']['day'] = (int) $found[6]; + } + $trend['period']['time'] = $found[7].':'.$found[8].' UTC'; + } // Get DDhh/DDhh formatted period + + elseif (isset($found[14])) { + $trend['period']['from_day'] = $found[10]; + $trend['period']['from_time'] = $found[11].':00 UTC'; + $trend['period']['to_day'] = $found[13]; + $trend['period']['to_time'] = $found[14].':00 UTC'; + } + } // If RMK observed -- the trend is ended + + elseif ($this->raw_parts[$this->part] === 'RMK') { + if (!empty($raw_parts)) { + $this->part--; // return pointer to RMK part + } + + break; + } // Other data addrs to METAR raw + + else { + $raw_parts[] = $this->raw_parts[$this->part]; + } + + $this->part++; // go to next part + + // Detect ends of this trend, if the METAR raw data observed + if (!empty($raw_parts) && (!isset($this->raw_parts[$this->part]) || preg_match($r, $this->raw_parts[$this->part]))) { + $this->part--; // return pointer to finded part + break; + } + } + + // Empty trend is a bad trend, except for flags CNL and NIL + if (empty($raw_parts)) { + if ($trend['flag'] !== 'CNL' && $trend['flag'] !== 'NIL') { + $this->part--; // return pointer to previous part + return false; + } + } // Parse raw data from trend + + else { + $parser = new static(implode(' ', $raw_parts), true, $this->debug_enabled, false); + if ($parsed = $parser->parse_all()) { + unset($parsed['taf']); + // Add parsed data to trend + if (!empty($parsed)) { + $trend = array_merge($trend, $parsed); + } + } + + // Process debug messages + if ($debug = $parser->debug()) { + foreach ($debug as $message) { + $this->set_debug('Recursion: '.$message); + } + } + + // Process parse errors + if ($errors = $parser->errors()) { + foreach ($errors as $message) { + $this->set_error('Recursion: '.$message); + } + } + } + // Build the report + $report = []; + if (null !== $trend['flag']) { + $report[] = static::$trends_flag_codes[$trend['flag']]; + } + + if (null !== $trend['period']['flag']) { + if (null !== $trend['period']['day']) { + $report[] = static::$trends_time_codes[$trend['period']['flag']]. + ' a '.$trend['period']['day'].' day of the month on '.$trend['period']['time']; + } else { + $report[] = static::$trends_time_codes[$trend['period']['flag']].' '.$trend['period']['time']; + } + } + + if (null !== $trend['period']['from_day'] && null !== $trend['period']['to_day']) { + $report[] = 'from a '.$trend['period']['from_day'].' day of the month on '.$trend['period']['from_time']; + $report[] = 'to a '.$trend['period']['to_day'].' day of the month on '.$trend['period']['to_time']; + } + + if (null !== $trend['probability']) { + $report[] = 'probability '.$trend['probability'].'% of the conditions existing'; + } + + if (!empty($report)) { + $trend['period_report'] = ucfirst(implode(', ', $report)); + } + + $this->set_result_group('trends', $trend); + return true; + } + + /** + * Get remarks information if present. + * The information is everything that comes after RMK. + * @param string $part + * @return bool + */ + private function get_remarks($part): bool + { + if ($part !== 'RMK') { + return false; + } + + $this->part++; // skip this part with RMK + + $remarks = []; + // Get all parts after + while ($this->part < sizeof($this->raw_parts)) { + if (isset($this->raw_parts[$this->part])) { + $remarks[] = $this->raw_parts[$this->part]; + } + $this->part++; // go to next part + } + + if (!empty($remarks)) { + $this->set_result_value('remarks', implode(' ', $remarks)); + } + + $this->method++; + return true; + } + + /** + * Decodes present or recent weather conditions. + * @param $part + * @param $method + * @param string $regexp_prefix + * @return bool + */ + private function decode_weather($part, $method, $regexp_prefix = '') + { + $wx_codes = implode('|', array_keys(array_merge(static::$weather_char_codes, static::$weather_type_codes))); + if (!preg_match('@^'.$regexp_prefix.'([-+]|VC)?('.$wx_codes.')?('.$wx_codes.')?('.$wx_codes.')?('.$wx_codes.')@', $part, $found)) { + return false; + } + + $observed = [ + 'intensity' => null, + 'types' => null, + 'characteristics' => null, + 'report' => null, + ]; + + // Intensity + if ($found[1] !== null) { + $observed['intensity'] = $found[1]; + } + + foreach (\array_slice($found, 1) as $code) { + // Types + if (isset(static::$weather_type_codes[$code])) { + if (null === $observed['types']) { + $observed['types'] = []; + } + + $observed['types'][] = $code; + } + + // Characteristics (uses last) + if (isset(static::$weather_char_codes[$code])) { + $observed['characteristics'] = $code; + } + } + + // Build recent weather report + if (null !== $observed['characteristics'] || null !== $observed['types']) { + $report = []; + if (null !== $observed['intensity']) { + if ($observed['intensity'] === 'VC') { + $report[] = static::$weather_intensity_codes[$observed['intensity']].','; + } else { + $report[] = static::$weather_intensity_codes[$observed['intensity']]; + } + } + + if (null !== $observed['characteristics']) { + $report[] = static::$weather_char_codes[$observed['characteristics']]; + } + + if (null !== $observed['types']) { + foreach ($observed['types'] as $code) { + $report[] = static::$weather_type_codes[$code]; + } + } + + $report = implode(' ', $report); + $observed['report'] = ucfirst($report); + + $this->set_result_report($method.'_weather_report', $report); + } + + $this->set_result_group($method.'_weather', $observed); + return true; + } + + /** + * Calculate Heat Index based on temperature in F and relative humidity (65 = 65%) + * @param $temperature_f + * @param $rh + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName + */ + private function calculate_heat_index($temperature_f, $rh): void + { + if ($temperature_f > 79 && $rh > 39) { + $hi_f = -42.379 + 2.04901523 * $temperature_f + 10.14333127 * $rh - 0.22475541 * $temperature_f * $rh; + $hi_f += -0.00683783 * ($temperature_f ** 2) - 0.05481717 * ($rh ** 2); + $hi_f += 0.00122874 * ($temperature_f ** 2) * $rh + 0.00085282 * $temperature_f * ($rh ** 2); + $hi_f += -0.00000199 * ($temperature_f ** 2) * ($rh ** 2); + $hi_f = round($hi_f); + $hi_c = round(($hi_f - 32) / 1.8); + + $this->set_result_value('heat_index', new Temperature($hi_c, 'C')); + } + } + + /** + * Calculate Wind Chill Temperature based on temperature in F + * and wind speed in miles per hour. + * @param $temperature_f + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName + */ + private function calculate_wind_chill($temperature_f): void + { + if ($temperature_f < 51 && $this->result['wind_speed'] !== 0) { + $windspeed = round(2.23694 * $this->result['wind_speed']); // convert m/s to mi/h + if ($windspeed > 3) { + $chill_f = 35.74 + 0.6215 * $temperature_f - 35.75 * ($windspeed ** 0.16); + $chill_f += 0.4275 * $temperature_f * ($windspeed ** 0.16); + $chill_f = round($chill_f); + $chill_c = round(($chill_f - 32) / 1.8); + + $this->set_result_value('wind_chill', new Temperature($chill_c, 'C')); + } + } + } + + /** + * Convert wind speed into meters per second. + * Some other common conversion factors: + * 1 mi/hr = 0.868976 knots = 0.000447 km/hr = 0.44704 m/s = 1.466667 ft/s + * 1 ft/s = 0.592483 knots = 1.097279 km/hr = 0.304799 m/s = 0.681818 mi/hr + * 1 knot = 1.852 km/hr = 0.514444 m/s = 1.687809 ft/s = 1.150779 mi/hr + * 1 km/hr = 0.539957 knots = 0.277778 m/s = 0.911344 ft/s = 0.621371 mi/hr + * 1 m/s = 1.943844 knots = 3.6 km/h = 3.28084 ft/s = 2.236936 mi/hr + * @param $speed + * @param $unit + * @return float|null + */ + private function convert_speed($speed, $unit) + { + // TODO: return dict w/ multiple units - NS + + switch ($unit) { + case 'KT': + return round(0.514444 * $speed, 2); // from knots + case 'KPH': + return round(0.277778 * $speed, 2); // from km/h + case 'MPS': + return round($speed, 2); // m/s + } + + return null; + } + + /** + * Convert distance into meters. + * Some other common conversion factors: + * 1 m = 3.28084 ft = 0.00062 mi + * 1 ft = 0.3048 m = 0.00019 mi + * 1 mi = 5279.99 ft = 1609.34 m + * @param $distance + * @param $unit + * @return float|null + */ + private function convert_distance($distance, $unit) + { + // TODO: return dict w/ multiple units - NS + switch ($unit) { + case 'FT': + return round(0.3048 * $distance); // from ft. + case 'SM': + return round(1609.34 * $distance); // from miles + case 'M': + return round($distance); // meters + } + + return null; + } + + /** + * Convert direction degrees to compass label. + */ + private function convert_direction_label($direction) + { + if ($direction >= 0 && $direction <= 360) { + return static::$direction_codes[round($direction / 22.5) % 16]; + } + + return null; + } + + /** + * These methods below the implementation of the stubs for ArrayAccess + */ + + /** + * Whether a offset exists + * @link http://php.net/manual/en/arrayaccess.offsetexists.php + * @param mixed $offset

+ * An offset to check for. + *

+ * @return boolean true on success or false on failure. + *

+ *

+ * The return value will be casted to boolean if non-boolean was returned. + * @since 5.0.0 + */ + public function offsetExists($offset) + { + return array_key_exists($offset, $this->result); + } + + /** + * Offset to retrieve + * @link http://php.net/manual/en/arrayaccess.offsetget.php + * @param mixed $offset

+ * The offset to retrieve. + *

+ * @return mixed Can return all value types. + * @since 5.0.0 + */ + public function offsetGet($offset) + { + return $this->result[$offset]; + } + + /** + * Offset to set + * @link http://php.net/manual/en/arrayaccess.offsetset.php + * @param mixed $offset

+ * The offset to assign the value to. + *

+ * @param mixed $value

+ * The value to set. + *

+ * @return void + * @since 5.0.0 + */ + public function offsetSet($offset, $value) + { + $this->result[$offset] = $value; + } + + /** + * Offset to unset + * @link http://php.net/manual/en/arrayaccess.offsetunset.php + * @param mixed $offset

+ * The offset to unset. + *

+ * @return void + * @since 5.0.0 + */ + public function offsetUnset($offset) + { + $this->result[$offset] = null; + } +} diff --git a/app/Support/Money.php b/app/Support/Money.php new file mode 100644 index 00000000..7ac690cf --- /dev/null +++ b/app/Support/Money.php @@ -0,0 +1,250 @@ +money = static::create($amount); + } + + /** + * Return the amount of currency in smallest denomination + * @return string + */ + public function getAmount() + { + return $this->money->getAmount(); + } + + /** + * Alias of getAmount() + */ + public function toAmount() + { + return $this->getAmount(); + } + + /** + * Returns the value in whole amounts, e.g: 100.00 + * instead of returning in the smallest denomination + * @return float + */ + public function getValue() + { + return $this->money->getValue(); + } + + /** + * Alias of getValue() + */ + public function toValue() + { + return $this->getValue(); + } + + /** + * @return MoneyBase + */ + public function getInstance() + { + return $this->money; + } + + /** + * @return int + */ + public function getPrecision() + { + return $this->money->getCurrency()->getPrecision(); + } + + /** + * + * @return string + */ + public function __toString() + { + return $this->money->format(); + } + + /** + * Add an amount + * @param mixed $amount + * @return Money + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function add($amount) + { + if (!($amount instanceof self)) { + $amount = static::createFromAmount($amount); + } + + $this->money = $this->money->add($amount->money); + + return $this; + } + + /** + * @param mixed $percent + * @return $this + * @throws \OutOfBoundsException + * @throws \InvalidArgumentException + */ + public function addPercent($percent) + { + if (!is_numeric($percent)) { + $percent = (float) $percent; + } + + $amount = $this->money->multiply($percent / 100); + $this->money = $this->money->add($amount); + + return $this; + } + + /** + * Subtract an amount + * @param $amount + * @return Money + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function subtract($amount) + { + if (!($amount instanceof self)) { + $amount = static::createFromAmount($amount); + } + + $this->money = $this->money->subtract($amount->money); + + return $this; + } + + /** + * Multiply by an amount + * @param $amount + * @return Money + * @throws \UnexpectedValueException + * @throws \OutOfBoundsException + * @throws \InvalidArgumentException + */ + public function multiply($amount) + { + if (!($amount instanceof self)) { + $amount = static::createFromAmount($amount); + } + + $this->money = $this->money->multiply($amount->money); + + return $this; + } + + /** + * Divide by an amount + * @param $amount + * @return Money + * @throws \OutOfBoundsException + * @throws \InvalidArgumentException + */ + public function divide($amount) + { + $this->money = $this->money->divide($amount, PHP_ROUND_HALF_EVEN); + return $this; + } + + /** + * @param $money + * @return bool + * @throws \UnexpectedValueException + * @throws \InvalidArgumentException + */ + public function equals($money) + { + if ($money instanceof self) { + return $this->money->equals($money->money); + } + + if ($money instanceof MoneyBase) { + return $this->money->equals($money); + } + + $money = static::convertToSubunit($money); + + return $this->money->equals(static::create($money)); + } +} diff --git a/app/Support/Units/Altitude.php b/app/Support/Units/Altitude.php index 1e4474bf..8324fa26 100644 --- a/app/Support/Units/Altitude.php +++ b/app/Support/Units/Altitude.php @@ -2,51 +2,29 @@ namespace App\Support\Units; -use Illuminate\Contracts\Support\Arrayable; +use App\Interfaces\Unit; +use PhpUnitsOfMeasure\PhysicalQuantity\Length; /** - * Wrap the converter class * @package App\Support\Units */ -class Altitude extends \PhpUnitsOfMeasure\PhysicalQuantity\Length implements Arrayable +class Altitude extends Unit { /** - * @return string + * @param float $value + * @param string $unit + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName */ - public function __toString() + public function __construct(float $value, string $unit) { - $unit = setting('general.altitude_unit'); - $value = $this->toUnit($unit); - return (string) round($value, 2); - } + $this->unit = setting('units.altitude'); + $this->instance = new Length($value, $unit); - /** - * Return value in native unit as integer - * @return array - */ - public function toNumber() - { - return $this->toArray(); - } - - /** - * For the HTTP Resource call - */ - public function toObject() - { - return [ - 'ft' => round($this->toUnit('feet'), 2), - 'm' => round($this->toUnit('meters') / 1000, 2), + $this->units = [ + 'm' => round($this->instance->toUnit('meters'), 2), + 'km' => round($this->instance->toUnit('meters') / 1000, 2), + 'ft' => round($this->instance->toUnit('feet'), 2), ]; } - - /** - * Get the instance as an array. - */ - public function toArray() - { - return round($this->toUnit( - config('phpvms.internal_units.altitude') - ), 2); - } } diff --git a/app/Support/Units/Distance.php b/app/Support/Units/Distance.php index 9460b246..bb8531db 100644 --- a/app/Support/Units/Distance.php +++ b/app/Support/Units/Distance.php @@ -2,52 +2,31 @@ namespace App\Support\Units; -use Illuminate\Contracts\Support\Arrayable; +use App\Interfaces\Unit; +use PhpUnitsOfMeasure\PhysicalQuantity\Length; /** - * Wrap the converter class * @package App\Support\Units */ -class Distance extends \PhpUnitsOfMeasure\PhysicalQuantity\Length implements Arrayable +class Distance extends Unit { /** - * @return string + * Distance constructor. + * @param float $value + * @param string $unit + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName */ - public function __toString() + public function __construct(float $value, string $unit) { - $unit = setting('general.distance_unit'); - $value = $this->toUnit($unit); - return (string) round($value, 2); - } + $this->unit = setting('units.distance'); + $this->instance = new Length($value, $unit); - /** - * Return value in native unit as integer - * @return array - */ - public function toNumber() - { - return $this->toArray(); - } - - /** - * For the HTTP Resource call - */ - public function toObject(): array - { - return [ - 'mi' => round($this->toUnit('miles'), 2), - 'nmi' => round($this->toUnit('nmi'), 2), - 'km' => round($this->toUnit('meters') / 1000, 2), + $this->units = [ + 'mi' => round($this->instance->toUnit('miles'), 2), + 'nmi' => round($this->instance->toUnit('nmi'), 2), + 'm' => round($this->instance->toUnit('meters'), 2), + 'km' => round($this->instance->toUnit('meters') / 1000, 2), ]; } - - /** - * Get the instance as an array. - */ - public function toArray() - { - return round($this->toUnit( - config('phpvms.internal_units.distance') - ), 2); - } } diff --git a/app/Support/Units/Fuel.php b/app/Support/Units/Fuel.php index 1ca894c1..f5d6d1b7 100644 --- a/app/Support/Units/Fuel.php +++ b/app/Support/Units/Fuel.php @@ -2,52 +2,28 @@ namespace App\Support\Units; -use Illuminate\Contracts\Support\Arrayable; +use App\Interfaces\Unit; +use PhpUnitsOfMeasure\PhysicalQuantity\Mass; /** - * Class Mass * @package App\Support\Units */ -class Fuel extends \PhpUnitsOfMeasure\PhysicalQuantity\Mass implements Arrayable +class Fuel extends Unit { /** - * @return string + * @param float $value + * @param string $unit + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName */ - public function __toString() + public function __construct(float $value, string $unit) { - $unit = setting('general.fuel_unit'); - $value = $this->toUnit($unit); - return (string) round($value, 2); - } + $this->unit = setting('units.fuel'); + $this->instance = new Mass($value, $unit); - /** - * Return value in native unit as integer - * @return array - */ - public function toNumber() - { - return $this->toArray(); - } - - /** - * For the HTTP Resource call - */ - public function toObject() - { - return [ - 'kg' => round($this->toUnit('kg'), 2), - 'lbs' => round($this->toUnit('lbs'), 2), + $this->units = [ + 'kg' => round($this->instance->toUnit('kg'), 2), + 'lbs' => round($this->instance->toUnit('lbs'), 2), ]; } - - /** - * Get the instance as an array. - * @return array - */ - public function toArray() - { - return round($this->toUnit( - config('phpvms.internal_units.fuel') - ), 2); - } } diff --git a/app/Support/Units/Mass.php b/app/Support/Units/Mass.php index e4597517..f1fbcc43 100644 --- a/app/Support/Units/Mass.php +++ b/app/Support/Units/Mass.php @@ -2,52 +2,28 @@ namespace App\Support\Units; -use Illuminate\Contracts\Support\Arrayable; +use App\Interfaces\Unit; +use PhpUnitsOfMeasure\PhysicalQuantity\Mass as MassUnit; /** - * Class Mass * @package App\Support\Units */ -class Mass extends \PhpUnitsOfMeasure\PhysicalQuantity\Mass implements Arrayable +class Mass extends Unit { /** - * @return string + * @param float $value + * @param string $unit + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName */ - public function __toString() + public function __construct(float $value, string $unit) { - $unit = setting('general.weight_unit'); - $value = $this->toUnit($unit); - return (string) round($value, 2); - } + $this->unit = setting('units.weight'); + $this->instance = new MassUnit($value, $unit); - /** - * Return value in native unit as integer - * @return array - */ - public function toNumber() - { - return $this->toArray(); - } - - /** - * For the HTTP Resource call - */ - public function toObject() - { - return [ - 'kg' => round($this->toUnit('kg'), 2), - 'lbs' => round($this->toUnit('lbs'), 2), + $this->units = [ + 'kg' => round($this->instance->toUnit('kg'), 2), + 'lbs' => round($this->instance->toUnit('lbs'), 2), ]; } - - /** - * Get the instance as an array. - * @return array - */ - public function toArray() - { - return round($this->toUnit( - config('phpvms.internal_units.mass') - ), 2); - } } diff --git a/app/Support/Units/Temperature.php b/app/Support/Units/Temperature.php new file mode 100644 index 00000000..79f59698 --- /dev/null +++ b/app/Support/Units/Temperature.php @@ -0,0 +1,32 @@ +unit = setting('units.temperature'); + $this->instance = new TemperatureUnit($value, $unit); + + $this->units = [ + 'F' => round($this->instance->toUnit('F'), 2), + 'f' => round($this->instance->toUnit('F'), 2), + 'C' => round($this->instance->toUnit('C'), 2), + 'c' => round($this->instance->toUnit('C'), 2), + ]; + } +} diff --git a/app/Support/Units/Time.php b/app/Support/Units/Time.php index 2814db3c..4f4612cf 100644 --- a/app/Support/Units/Time.php +++ b/app/Support/Units/Time.php @@ -29,11 +29,11 @@ class Time implements Arrayable * @param $minutes * @param $hours */ - public function __construct($minutes, $hours=null) + public function __construct($minutes, $hours = null) { $minutes = (int) $minutes; - if(!empty($hours)) { + if (!empty($hours)) { $this->hours = (int) $hours; } else { $this->hours = floor($minutes / 60); @@ -67,7 +67,7 @@ class Time implements Arrayable */ public function __toString() { - return $this->hours . 'h ' . $this->minutes . 'm'; + return $this->hours.'h '.$this->minutes.'m'; } /** diff --git a/app/Support/Units/Velocity.php b/app/Support/Units/Velocity.php index 88a108b4..d19b50c9 100644 --- a/app/Support/Units/Velocity.php +++ b/app/Support/Units/Velocity.php @@ -2,51 +2,29 @@ namespace App\Support\Units; -use Illuminate\Contracts\Support\Arrayable; +use App\Interfaces\Unit; +use PhpUnitsOfMeasure\PhysicalQuantity\Velocity as VelocityUnit; /** * Class Velocity * @package App\Support\Units */ -class Velocity extends \PhpUnitsOfMeasure\PhysicalQuantity\Velocity implements Arrayable +class Velocity extends Unit { /** - * @return string + * @param float $value + * @param string $unit + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName */ - public function __toString() + public function __construct(float $value, string $unit) { - $unit = setting('general.speed_unit'); - $value = $this->toUnit($unit); - return (string) round($value, 2); - } + $this->unit = setting('units.speed'); + $this->instance = new VelocityUnit($value, $unit); - /** - * Return value in native unit as integer - * @return array - */ - public function toNumber() - { - return $this->toArray(); - } - - /** - * For the HTTP Resource call - */ - public function toObject() - { - return [ - 'knots' => round($this->toUnit('knots'), 2), - 'km/h' => round($this->toUnit('km/h'), 2), + $this->units = [ + 'knots' => round($this->instance->toUnit('knots'), 2), + 'km/h' => round($this->instance->toUnit('km/h'), 2), ]; } - - /** - * Get the instance as an array. - */ - public function toArray() - { - return round($this->toUnit( - config('phpvms.internal_units.velocity') - ), 2); - } } diff --git a/app/Support/Units/Volume.php b/app/Support/Units/Volume.php index e7d75fcb..fbd84cd9 100644 --- a/app/Support/Units/Volume.php +++ b/app/Support/Units/Volume.php @@ -2,51 +2,29 @@ namespace App\Support\Units; -use Illuminate\Contracts\Support\Arrayable; +use App\Interfaces\Unit; +use PhpUnitsOfMeasure\PhysicalQuantity\Volume as VolumeUnit; /** * Wrap the converter class * @package App\Support\Units */ -class Volume extends \PhpUnitsOfMeasure\PhysicalQuantity\Volume implements Arrayable +class Volume extends Unit { /** - * @return string + * @param float $value + * @param string $unit + * @throws \PhpUnitsOfMeasure\Exception\NonNumericValue + * @throws \PhpUnitsOfMeasure\Exception\NonStringUnitName */ - public function __toString() + public function __construct(float $value, string $unit) { - $unit = setting('general.liquid_unit'); - $value = $this->toUnit($unit); - return (string) round($value, 2); - } + $this->unit = setting('units.volume'); + $this->instance = new VolumeUnit($value, $unit); - /** - * Return value in native unit as integer - * @return array - */ - public function toNumber() - { - return $this->toArray(); - } - - /** - * For the HTTP Resource call - */ - public function toObject() - { - return [ - 'gal' => round($this->toUnit('gal'), 2), - 'liters' => round($this->toUnit('liters'), 2), + $this->units = [ + 'gal' => round($this->instance->toUnit('gal'), 2), + 'liters' => round($this->instance->toUnit('liters'), 2), ]; } - - /** - * Get the instance as an array. - */ - public function toArray() - { - return round($this->toUnit( - config('phpvms.internal_units.volume') - ), 2); - } } diff --git a/app/Widgets/AirspaceMap.php b/app/Widgets/AirspaceMap.php new file mode 100644 index 00000000..26b0e0b6 --- /dev/null +++ b/app/Widgets/AirspaceMap.php @@ -0,0 +1,29 @@ + '800px', + 'width' => '100%', + 'lat' => 0, + 'lon' => 0, + ]; + + /** + * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View + */ + public function run() + { + return view('widgets.airspace_map', [ + 'config' => $this->config, + ]); + } +} diff --git a/app/Widgets/BaseWidget.php b/app/Widgets/BaseWidget.php deleted file mode 100644 index 844ac8b4..00000000 --- a/app/Widgets/BaseWidget.php +++ /dev/null @@ -1,16 +0,0 @@ - 5, @@ -21,9 +22,9 @@ class LatestNews extends BaseWidget { $newsRepo = app(NewsRepository::class); - return $this->view('widgets.latest_news', [ + return view('widgets.latest_news', [ 'config' => $this->config, - 'news' => $newsRepo->recent($this->config['count']), + 'news' => $newsRepo->recent($this->config['count']), ]); } } diff --git a/app/Widgets/LatestPilots.php b/app/Widgets/LatestPilots.php index f471a9c6..0d026c13 100644 --- a/app/Widgets/LatestPilots.php +++ b/app/Widgets/LatestPilots.php @@ -2,13 +2,14 @@ namespace App\Widgets; +use App\Interfaces\Widget; use App\Repositories\UserRepository; /** * Show the latest pilots in a view * @package App\Widgets */ -class LatestPilots extends BaseWidget +class LatestPilots extends Widget { protected $config = [ 'count' => 5, @@ -21,9 +22,9 @@ class LatestPilots extends BaseWidget { $userRepo = app(UserRepository::class); - return $this->view('widgets.latest_pilots', [ + return view('widgets.latest_pilots', [ 'config' => $this->config, - 'users' => $userRepo->recent($this->config['count']), + 'users' => $userRepo->recent($this->config['count']), ]); } } diff --git a/app/Widgets/LatestPireps.php b/app/Widgets/LatestPireps.php index 180f3587..4a40ce23 100644 --- a/app/Widgets/LatestPireps.php +++ b/app/Widgets/LatestPireps.php @@ -2,13 +2,14 @@ namespace App\Widgets; +use App\Interfaces\Widget; use App\Repositories\PirepRepository; /** * Show the latest PIREPs in a view * @package App\Widgets */ -class LatestPireps extends BaseWidget +class LatestPireps extends Widget { protected $config = [ 'count' => 5, @@ -21,7 +22,7 @@ class LatestPireps extends BaseWidget { $pirepRepo = app(PirepRepository::class); - return $this->view('widgets.latest_pireps', [ + return view('widgets.latest_pireps', [ 'config' => $this->config, 'pireps' => $pirepRepo->recent($this->config['count']), ]); diff --git a/app/Widgets/LiveMap.php b/app/Widgets/LiveMap.php index fe3dce0d..c4bc7ec8 100644 --- a/app/Widgets/LiveMap.php +++ b/app/Widgets/LiveMap.php @@ -2,6 +2,7 @@ namespace App\Widgets; +use App\Interfaces\Widget; use App\Repositories\AcarsRepository; use App\Services\GeoService; @@ -9,11 +10,11 @@ use App\Services\GeoService; * Show the live map in a view * @package App\Widgets */ -class LiveMap extends BaseWidget +class LiveMap extends Widget { protected $config = [ 'height' => '800px', - 'width' => '100%', + 'width' => '100%', ]; /** @@ -27,9 +28,9 @@ class LiveMap extends BaseWidget $pireps = $acarsRepo->getPositions(); $positions = $geoSvc->getFeatureForLiveFlights($pireps); - return $this->view('widgets.live_map', [ - 'config' => $this->config, - 'pireps' => $pireps, + return view('widgets.live_map', [ + 'config' => $this->config, + 'pireps' => $pireps, 'positions' => $positions, ]); } diff --git a/app/Widgets/Weather.php b/app/Widgets/Weather.php new file mode 100644 index 00000000..19f741cd --- /dev/null +++ b/app/Widgets/Weather.php @@ -0,0 +1,47 @@ + null, + ]; + + public const URL = 'https://avwx.rest/api/metar/'; + + /** + * Attempt to get the data from the CheckWX API + */ + public function run() + { + /** + * @var \App\Interfaces\Metar + */ + $klass = config('phpvms.metar'); + $metar_class = new $klass; + + $metar = null; + $wind = null; + $raw_metar = $metar_class->get_metar($this->config['icao']); + + if ($raw_metar && $raw_metar !== '') { + $metar = new Metar($raw_metar); + } + + return view('widgets.weather', [ + 'config' => $this->config, + 'metar' => $metar, + 'unit_alt' => setting('units.altitude'), + 'unit_dist' => setting('units.distance'), + 'unit_temp' => setting('units.temperature'), + ]); + } +} diff --git a/app/helpers.php b/app/helpers.php index 8eb45b72..872c3884 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -1,6 +1,19 @@ text, valueN => textN, ...] + * Return: + * [{value: 1, text: "text1"}, {value: 2, text: "text2"}, ...] + * @param array $list + * @return array + */ + function list_to_editable(array $list) + { + $editable = []; + foreach ($list as $value => $key) { + $editable[] = [ + 'text' => $key, + 'value' => $value, + ]; + } + + return $editable; + } +} + if (!function_exists('skin_view')) { /** * Render a skin - * @param $template + * @param $template * @param array $vars * @param array $merge_data * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View @@ -62,10 +106,12 @@ if (!function_exists('skin_view')) { { # Add the current skin name so we don't need to hardcode it in the templates # Makes it a bit easier to create a new skin by modifying an existing one - $merge_data['SKIN_NAME'] = config('phpvms.skin'); - $tpl = 'layouts/' . config('phpvms.skin') . '/' . $template; + if (View::exists($template)) { + return view($template, $vars, $merge_data); + } # TODO: Look for an overridden template in a special folder + $tpl = 'layouts/'.config('phpvms.skin').'/'.$template; return view($tpl, $vars, $merge_data); } @@ -96,7 +142,7 @@ if (!function_exists('public_asset')) { function public_asset($path, $parameters = [], $secure = null) { $publicBaseUrl = app()->publicUrlPath(); - $path = $publicBaseUrl . $path; + $path = $publicBaseUrl.$path; $path = str_replace('//', '/', $path); @@ -107,16 +153,16 @@ if (!function_exists('public_asset')) { /** * Show a date/time in the proper timezone for a user */ -if(!function_exists('show_datetime')) { +if (!function_exists('show_datetime')) { /** * Format the a Carbon date into the datetime string * but convert it into the user's timezone * @param \Carbon\Carbon $date * @return string */ - function show_datetime(\Carbon\Carbon $date=null) + function show_datetime(\Carbon\Carbon $date = null) { - if(empty($date)) { + if (empty($date)) { return '-'; } @@ -149,3 +195,29 @@ if (!function_exists('show_date')) { return $date->timezone($timezone)->toFormattedDateString(); } } + +if (!function_exists('_fmt')) { + /** + * Replace strings + * @param $line "Hi, my name is :name" + * @param array $replace ['name' => 'Nabeel'] + * @return mixed + */ + function _fmt($line, array $replace) + { + if (empty($replace)) { + return $line; + } + + foreach ($replace as $key => $value) { + $key = strtolower($key); + $line = str_replace( + [':'.$key], + [$value], + $line + ); + } + + return $line; + } +} diff --git a/bootstrap/application.php b/bootstrap/application.php index 1165f2a9..c37ba6a8 100644 --- a/bootstrap/application.php +++ b/bootstrap/application.php @@ -13,15 +13,15 @@ if (!defined('DS')) { class Application extends Illuminate\Foundation\Application { private $publicDirPath, - $publicUrlPath = '/'; + $publicUrlPath = '/'; public function __construct(string $basePath = null) { - parent::__construct(dirname(__DIR__) . '/'); + parent::__construct(dirname(__DIR__).'/'); $this->loadEnvironmentFrom('env.php'); - $this->useDatabasePath($this->basePath . '/app/Database'); - $this->useStoragePath($this->basePath . '/storage'); + $this->useDatabasePath($this->basePath.'/app/Database'); + $this->useStoragePath($this->basePath.'/storage'); } /** @@ -32,11 +32,18 @@ class Application extends Illuminate\Foundation\Application */ public function bootstrapWith(array $bootstrappers) { - #$find = '\Illuminate\Foundation\Bootstrap\LoadConfiguration'; + $find = \Illuminate\Foundation\Bootstrap\LoadConfiguration::class; $replace = LoadConfiguration::class; - $bootstrappers[1] = $replace; - parent::bootstrapWith($bootstrappers); // TODO: Change the autogenerated stub + $bootstrappers = array_replace( + $bootstrappers, + array_fill_keys( + array_keys($bootstrappers, $find), + $replace + ) + ); + + parent::bootstrapWith($bootstrappers); } /** @@ -94,7 +101,7 @@ class Application extends Illuminate\Foundation\Application public function configPath($path = '') { - return $this->basePath . DS . 'config' . ($path ? DS . $path : $path); + return $this->basePath.DS.'config'.($path ? DS.$path : $path); } public function environmentPath() @@ -104,16 +111,16 @@ class Application extends Illuminate\Foundation\Application public function langPath() { - return $this->resourcePath() . DS . 'lang'; + return $this->resourcePath().DS.'lang'; } public function publicPath() { - return $this->publicDirPath ?: $this->basePath . DS . 'public'; + return $this->publicDirPath ?: $this->basePath.DS.'public'; } public function resourcePath($path = '') { - return $this->basePath . DS . 'resources' . ($path ? DS . $path : $path); + return $this->basePath.DS.'resources'.($path ? DS.$path : $path); } } diff --git a/composer.json b/composer.json index c2ef6535..c333691d 100755 --- a/composer.json +++ b/composer.json @@ -8,12 +8,11 @@ "homepage": "http://www.phpvms.net", "require": { "php": ">=7.1", - "laravel/framework": "5.6.*", - "php-http/httplug": "1.1.0", + "laravel/framework": "^5.6", "laravelcollective/html": "5.6.x", "prettus/l5-repository": "2.6.x", "spatie/laravel-pjax": "1.3.x", - "league/geotools": "0.7.x-dev", + "league/geotools": "0.8.x", "toin0u/geotools-laravel": "1.0.x", "webpatser/laravel-uuid": "3.0.x", "composer/semver": "1.4.x", @@ -30,12 +29,17 @@ "arrilot/laravel-widgets": "3.9.x", "nabeel/vacentral": "1.0.x", "league/iso3166": "2.1.x", - "google/apiclient": "2.2.x", "theiconic/php-ga-measurement-protocol": "2.7.x", "joshbrw/laravel-module-installer": "0.1.x", "irazasyed/laravel-gamp": "1.3.x", "vierbergenlars/php-semver": "3.0.x", - "php-units-of-measure/php-units-of-measure": "2.1.x" + "php-units-of-measure/php-units-of-measure": "2.1.x", + "markrogoyski/math-php": "^0.38.0", + "akaunting/money": "^1.0", + "igaster/laravel-theme": "^2.0", + "anhskohbo/no-captcha": "^3.0", + "league/csv": "^9.1", + "codedungeon/phpunit-result-printer": "^0.13.0" }, "require-dev": { "phpunit/phpunit": "~7.0", @@ -44,8 +48,9 @@ "mockery/mockery": "0.9.*", "filp/whoops": "~2.0", "bpocallaghan/generators": "5.0.1", - "zircote/swagger-php": "2.0.13", - "nunomaduro/collision": "^2.0" + "nunomaduro/collision": "^2.0", + "phpstan/phpstan": "^0.9.2", + "weebly/phpstan-laravel": "^1.1" }, "autoload": { "classmap": [ @@ -85,12 +90,11 @@ ], "post-update-cmd": [ "Illuminate\\Foundation\\ComposerScripts::postUpdate", - "php artisan ide-helper:generate", - "php artisan ide-helper:meta" + "php artisan phpvms:composer post-update" ], "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", - "@php artisan package:discover" + "php artisan package:discover" ] }, "config": { diff --git a/composer.lock b/composer.lock index b255407b..18c12938 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,128 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "e7d8d8ba45af9c9112ed11327aca1c5f", + "content-hash": "8723feb238185f9e5c1b09cbb0f838fb", "packages": [ + { + "name": "akaunting/money", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/akaunting/money.git", + "reference": "a39d0e18e1e56da8d82760528376fb797c161552" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/akaunting/money/zipball/a39d0e18e1e56da8d82760528376fb797c161552", + "reference": "a39d0e18e1e56da8d82760528376fb797c161552", + "shasum": "" + }, + "require": { + "illuminate/support": ">=5.1", + "illuminate/view": ">=5.1", + "php": ">=5.5.9" + }, + "require-dev": { + "mockery/mockery": "~0.9", + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Akaunting\\Money\\Provider" + ] + } + }, + "autoload": { + "psr-4": { + "Akaunting\\Money\\": "./src" + }, + "files": [ + "src/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Denis Duliçi", + "email": "info@akaunting.com", + "homepage": "https://akaunting.com", + "role": "Developer" + } + ], + "description": "Currency formatting and conversion package for Laravel.", + "keywords": [ + "convert", + "currency", + "format", + "laravel", + "money" + ], + "time": "2017-12-09T07:25:06+00:00" + }, + { + "name": "anhskohbo/no-captcha", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/anhskohbo/no-captcha.git", + "reference": "f6c3a006b8c74f692d232d861c3e104621f50dcc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/anhskohbo/no-captcha/zipball/f6c3a006b8c74f692d232d861c3e104621f50dcc", + "reference": "f6c3a006b8c74f692d232d861c3e104621f50dcc", + "shasum": "" + }, + "require": { + "guzzlehttp/guzzle": "^6.2", + "illuminate/support": "5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*", + "php": ">=5.5.5" + }, + "require-dev": { + "phpunit/phpunit": "~4.8" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Anhskohbo\\NoCaptcha\\NoCaptchaServiceProvider" + ], + "aliases": { + "NoCaptcha": "Anhskohbo\\NoCaptcha\\Facades\\NoCaptcha" + } + } + }, + "autoload": { + "psr-4": { + "Anhskohbo\\NoCaptcha\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "anhskohbo", + "email": "anhskohbo@gmail.com" + } + ], + "description": "No CAPTCHA reCAPTCHA For Laravel.", + "keywords": [ + "captcha", + "laravel", + "laravel4", + "laravel5", + "no-captcha", + "recaptcha" + ], + "time": "2018-02-09T02:04:49+00:00" + }, { "name": "arrilot/laravel-widgets", "version": "3.9.0", @@ -314,6 +434,101 @@ ], "time": "2017-03-13T09:14:27+00:00" }, + { + "name": "codedungeon/php-cli-colors", + "version": "1.10.3", + "source": { + "type": "git", + "url": "https://github.com/mikeerickson/php-cli-colors.git", + "reference": "1beb5c21b21b2c125aff26a75caf02fcec12571f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mikeerickson/php-cli-colors/zipball/1beb5c21b21b2c125aff26a75caf02fcec12571f", + "reference": "1beb5c21b21b2c125aff26a75caf02fcec12571f", + "shasum": "" + }, + "require-dev": { + "phpunit/phpunit": ">=5.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Codedungeon\\PHPCliColors\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike Erickson", + "email": "codedungeon@gmail.com" + } + ], + "description": "PHP Package for using color output in CLI commands", + "homepage": "https://github.com/mikeerickson/php-cli-colors", + "keywords": [ + "color", + "colors", + "composer", + "package", + "php" + ], + "time": "2017-09-12T17:12:52+00:00" + }, + { + "name": "codedungeon/phpunit-result-printer", + "version": "0.13.0", + "source": { + "type": "git", + "url": "https://github.com/mikeerickson/phpunit-pretty-result-printer.git", + "reference": "482fe11008dd26cd44343fcfb69e7a1de650379b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mikeerickson/phpunit-pretty-result-printer/zipball/482fe11008dd26cd44343fcfb69e7a1de650379b", + "reference": "482fe11008dd26cd44343fcfb69e7a1de650379b", + "shasum": "" + }, + "require": { + "codedungeon/php-cli-colors": "^1.10", + "hassankhan/config": "^0.10.0", + "php": "^7.1", + "symfony/yaml": "^2.7|^3.0|^4.0" + }, + "require-dev": { + "phpunit/phpunit": "7.0.3", + "spatie/phpunit-watcher": "^1.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Codedungeon\\PHPUnitPrettyResultPrinter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike Erickson", + "email": "codedungeon@gmail.com" + } + ], + "description": "PHPUnit Pretty Result Printer", + "keywords": [ + "composer", + "package", + "phpunit", + "printer", + "result-printer", + "testing" + ], + "time": "2018-04-07T18:30:09+00:00" + }, { "name": "composer/semver", "version": "1.4.2", @@ -499,23 +714,23 @@ }, { "name": "dragonmantank/cron-expression", - "version": "v2.0.0", + "version": "v2.1.0", "source": { "type": "git", "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "8a84aee649c3a3ba03a721c1fb080e08dfbcd68b" + "reference": "3f00985deec8df53d4cc1e5c33619bda1ee309a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/8a84aee649c3a3ba03a721c1fb080e08dfbcd68b", - "reference": "8a84aee649c3a3ba03a721c1fb080e08dfbcd68b", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/3f00985deec8df53d4cc1e5c33619bda1ee309a5", + "reference": "3f00985deec8df53d4cc1e5c33619bda1ee309a5", "shasum": "" }, "require": { "php": ">=7.0.0" }, "require-dev": { - "phpunit/phpunit": "~5.7" + "phpunit/phpunit": "~6.4" }, "type": "library", "autoload": { @@ -544,7 +759,7 @@ "cron", "schedule" ], - "time": "2017-10-12T15:59:13+00:00" + "time": "2018-04-06T15:51:55+00:00" }, { "name": "egulias/email-validator", @@ -605,19 +820,20 @@ }, { "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": { @@ -646,209 +862,20 @@ "markdown", "parser" ], - "time": "2017-11-14T20:44:03+00:00" - }, - { - "name": "firebase/php-jwt", - "version": "v5.0.0", - "source": { - "type": "git", - "url": "https://github.com/firebase/php-jwt.git", - "reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/9984a4d3a32ae7673d6971ea00bae9d0a1abba0e", - "reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "require-dev": { - "phpunit/phpunit": " 4.8.35" - }, - "type": "library", - "autoload": { - "psr-4": { - "Firebase\\JWT\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Neuman Vong", - "email": "neuman+pear@twilio.com", - "role": "Developer" - }, - { - "name": "Anant Narayanan", - "email": "anant@php.net", - "role": "Developer" - } - ], - "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", - "homepage": "https://github.com/firebase/php-jwt", - "time": "2017-06-27T22:17:23+00:00" - }, - { - "name": "google/apiclient", - "version": "v2.2.1", - "source": { - "type": "git", - "url": "https://github.com/google/google-api-php-client.git", - "reference": "b69b8ac4bf6501793c389d4e013a79d09c85c5f2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/google/google-api-php-client/zipball/b69b8ac4bf6501793c389d4e013a79d09c85c5f2", - "reference": "b69b8ac4bf6501793c389d4e013a79d09c85c5f2", - "shasum": "" - }, - "require": { - "firebase/php-jwt": "~2.0|~3.0|~4.0|~5.0", - "google/apiclient-services": "~0.13", - "google/auth": "^1.0", - "guzzlehttp/guzzle": "~5.3.1|~6.0", - "guzzlehttp/psr7": "^1.2", - "monolog/monolog": "^1.17", - "php": ">=5.4", - "phpseclib/phpseclib": "~0.3.10|~2.0" - }, - "require-dev": { - "cache/filesystem-adapter": "^0.3.2", - "phpunit/phpunit": "~4", - "squizlabs/php_codesniffer": "~2.3", - "symfony/css-selector": "~2.1", - "symfony/dom-crawler": "~2.1" - }, - "suggest": { - "cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "psr-0": { - "Google_": "src/" - }, - "classmap": [ - "src/Google/Service/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "Client library for Google APIs", - "homepage": "http://developers.google.com/api-client-library/php", - "keywords": [ - "google" - ], - "time": "2017-11-03T01:19:53+00:00" - }, - { - "name": "google/apiclient-services", - "version": "v0.47", - "source": { - "type": "git", - "url": "https://github.com/google/google-api-php-client-services.git", - "reference": "f4ab0ea8aff4659cf67e3f733b3ab441c30baf5d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/f4ab0ea8aff4659cf67e3f733b3ab441c30baf5d", - "reference": "f4ab0ea8aff4659cf67e3f733b3ab441c30baf5d", - "shasum": "" - }, - "require": { - "php": ">=5.4" - }, - "require-dev": { - "phpunit/phpunit": "~4.8" - }, - "type": "library", - "autoload": { - "psr-0": { - "Google_Service_": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "Client library for Google APIs", - "homepage": "http://developers.google.com/api-client-library/php", - "keywords": [ - "google" - ], - "time": "2018-02-17T00:23:05+00:00" - }, - { - "name": "google/auth", - "version": "v1.2.1", - "source": { - "type": "git", - "url": "https://github.com/google/google-auth-library-php.git", - "reference": "da0062d279c9459350808a4fb63dbc08b90d6b90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/google/google-auth-library-php/zipball/da0062d279c9459350808a4fb63dbc08b90d6b90", - "reference": "da0062d279c9459350808a4fb63dbc08b90d6b90", - "shasum": "" - }, - "require": { - "firebase/php-jwt": "~2.0|~3.0|~4.0|~5.0", - "guzzlehttp/guzzle": "~5.3.1|~6.0", - "guzzlehttp/psr7": "~1.2", - "php": ">=5.4", - "psr/cache": "^1.0", - "psr/http-message": "^1.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^1.11", - "guzzlehttp/promises": "0.1.1|^1.3", - "phpunit/phpunit": "^4.8.36|^5.7", - "sebastian/comparator": ">=1.2.3" - }, - "type": "library", - "autoload": { - "psr-4": { - "Google\\Auth\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "Google Auth Library for PHP", - "homepage": "http://github.com/google/google-auth-library-php", - "keywords": [ - "Authentication", - "google", - "oauth2" - ], - "time": "2018-01-24T18:28:42+00:00" + "time": "2018-03-08T01:11:30+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": { @@ -858,7 +885,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": { @@ -867,7 +894,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.2-dev" + "dev-master": "6.3-dev" } }, "autoload": { @@ -900,7 +927,7 @@ "rest", "web service" ], - "time": "2017-06-22T18:50:49+00:00" + "time": "2018-03-26T16:33:04+00:00" }, { "name": "guzzlehttp/promises", @@ -1084,6 +1111,126 @@ ], "time": "2017-10-28T11:24:20+00:00" }, + { + "name": "hassankhan/config", + "version": "0.10.0", + "source": { + "type": "git", + "url": "https://github.com/hassankhan/config.git", + "reference": "06ac500348af033f1a2e44dc357ca86282626d4a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hassankhan/config/zipball/06ac500348af033f1a2e44dc357ca86282626d4a", + "reference": "06ac500348af033f1a2e44dc357ca86282626d4a", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0", + "scrutinizer/ocular": "~1.1", + "squizlabs/php_codesniffer": "~2.2" + }, + "suggest": { + "symfony/yaml": "~2.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Noodlehaus\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Hassan Khan", + "homepage": "http://hassankhan.me/", + "role": "Developer" + } + ], + "description": "Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files", + "homepage": "http://hassankhan.me/config/", + "keywords": [ + "config", + "configuration", + "ini", + "json", + "microphp", + "unframework", + "xml", + "yaml", + "yml" + ], + "time": "2016-02-11T16:21:17+00:00" + }, + { + "name": "igaster/laravel-theme", + "version": "v2.0.6", + "source": { + "type": "git", + "url": "https://github.com/igaster/laravel-theme.git", + "reference": "d3835fd99418848ba130e3f7a73d3f78ab636471" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/igaster/laravel-theme/zipball/d3835fd99418848ba130e3f7a73d3f78ab636471", + "reference": "d3835fd99418848ba130e3f7a73d3f78ab636471", + "shasum": "" + }, + "require": { + "illuminate/contracts": "5.4.*|5.5.*|5.6.*" + }, + "require-dev": { + "orchestra/testbench": "~3.4", + "phpunit/phpunit": "^6.0" + }, + "suggest": { + "orchestra/asset": "Use '@css' and '@js' in Blade files" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Igaster\\LaravelTheme\\themeServiceProvider" + ], + "aliases": { + "Theme": "Igaster\\LaravelTheme\\Facades\\Theme" + } + } + }, + "autoload": { + "psr-4": { + "Igaster\\LaravelTheme\\": "src/", + "Igaster\\LaravelTheme\\Tests\\": "tests/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Giannis Gasteratos", + "email": "igasteratos@gmail.com" + } + ], + "description": "Laravel 5 Themes: Asset & Views folder per theme. Theme inheritance. Blade integration and more...", + "homepage": "https://github.com/Igaster/laravel-theme.git", + "keywords": [ + "assets", + "blade", + "laravel-5", + "package", + "themes", + "views" + ], + "time": "2018-02-12T11:19:00+00:00" + }, { "name": "irazasyed/laravel-gamp", "version": "v1.3.0", @@ -1383,27 +1530,27 @@ }, { "name": "laravel/framework", - "version": "v5.6.3", + "version": "v5.6.15", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "db3e5422070d9b5166493313142b30419efab207" + "reference": "baa42cf6bdd942523fafece21ec16a1843c6db0f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/db3e5422070d9b5166493313142b30419efab207", - "reference": "db3e5422070d9b5166493313142b30419efab207", + "url": "https://api.github.com/repos/laravel/framework/zipball/baa42cf6bdd942523fafece21ec16a1843c6db0f", + "reference": "baa42cf6bdd942523fafece21ec16a1843c6db0f", "shasum": "" }, "require": { "doctrine/inflector": "~1.1", "dragonmantank/cron-expression": "~2.0", - "erusev/parsedown": "~1.6", + "erusev/parsedown": "~1.7", "ext-mbstring": "*", "ext-openssl": "*", - "league/flysystem": "~1.0", + "league/flysystem": "^1.0.8", "monolog/monolog": "~1.12", - "nesbot/carbon": "~1.20", + "nesbot/carbon": "^1.24.1", "php": "^7.1.3", "psr/container": "~1.0", "psr/simple-cache": "^1.0", @@ -1420,6 +1567,9 @@ "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", @@ -1448,8 +1598,7 @@ "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", @@ -1475,6 +1624,7 @@ "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-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).", @@ -1514,20 +1664,20 @@ "framework", "laravel" ], - "time": "2018-02-09T13:33:22+00:00" + "time": "2018-03-30T13:29:58+00:00" }, { "name": "laravelcollective/html", - "version": "v5.6.3", + "version": "v5.6.5", "source": { "type": "git", "url": "https://github.com/LaravelCollective/html.git", - "reference": "41cd9291a69bd24f2184e504be041348a87308a8" + "reference": "623a150c91e2d3f92eeee9f9eda58a841e3cb548" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/LaravelCollective/html/zipball/41cd9291a69bd24f2184e504be041348a87308a8", - "reference": "41cd9291a69bd24f2184e504be041348a87308a8", + "url": "https://api.github.com/repos/LaravelCollective/html/zipball/623a150c91e2d3f92eeee9f9eda58a841e3cb548", + "reference": "623a150c91e2d3f92eeee9f9eda58a841e3cb548", "shasum": "" }, "require": { @@ -1582,20 +1732,87 @@ ], "description": "HTML and Form Builders for the Laravel Framework", "homepage": "https://laravelcollective.com", - "time": "2018-02-12T14:19:42+00:00" + "time": "2018-03-16T16:57:31+00:00" }, { - "name": "league/flysystem", - "version": "1.0.42", + "name": "league/csv", + "version": "9.1.3", "source": { "type": "git", - "url": "https://github.com/thephpleague/flysystem.git", - "reference": "09eabc54e199950041aef258a85847676496fe8e" + "url": "https://github.com/thephpleague/csv.git", + "reference": "0d0b12f1a0093a6c39014a5d118f6ba4274539ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/09eabc54e199950041aef258a85847676496fe8e", - "reference": "09eabc54e199950041aef258a85847676496fe8e", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/0d0b12f1a0093a6c39014a5d118f6ba4274539ee", + "reference": "0d0b12f1a0093a6c39014a5d118f6ba4274539ee", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": ">=7.0.10" + }, + "require-dev": { + "ext-curl": "*", + "friendsofphp/php-cs-fixer": "^2.0", + "phpstan/phpstan": "^0.9.2", + "phpstan/phpstan-phpunit": "^0.9.4", + "phpstan/phpstan-strict-rules": "^0.9.0", + "phpunit/phpunit": "^6.0" + }, + "suggest": { + "ext-iconv": "Needed to ease transcoding CSV using iconv stream filters" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.x-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Csv\\": "src" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ignace Nyamagana Butera", + "email": "nyamsprod@gmail.com", + "homepage": "https://github.com/nyamsprod/", + "role": "Developer" + } + ], + "description": "Csv data manipulation made easy in PHP", + "homepage": "http://csv.thephpleague.com", + "keywords": [ + "csv", + "export", + "filter", + "import", + "read", + "write" + ], + "time": "2018-03-12T07:20:01+00:00" + }, + { + "name": "league/flysystem", + "version": "1.0.44", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "168dbe519737221dc87d17385cde33073881fd02" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/168dbe519737221dc87d17385cde33073881fd02", + "reference": "168dbe519737221dc87d17385cde33073881fd02", "shasum": "" }, "require": { @@ -1666,20 +1883,20 @@ "sftp", "storage" ], - "time": "2018-01-27T16:03:56+00:00" + "time": "2018-04-06T09:58:14+00:00" }, { "name": "league/geotools", - "version": "dev-master", + "version": "0.8.0", "source": { "type": "git", "url": "https://github.com/thephpleague/geotools.git", - "reference": "e65d523702b91d1095184da62ac144c128e950ed" + "reference": "ed02a15c76bbf793a87932d8c55b83a3783429ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/geotools/zipball/e65d523702b91d1095184da62ac144c128e950ed", - "reference": "e65d523702b91d1095184da62ac144c128e950ed", + "url": "https://api.github.com/repos/thephpleague/geotools/zipball/ed02a15c76bbf793a87932d8c55b83a3783429ea", + "reference": "ed02a15c76bbf793a87932d8c55b83a3783429ea", "shasum": "" }, "require": { @@ -1740,7 +1957,7 @@ "geometry", "geotools" ], - "time": "2018-02-10T13:29:13+00:00" + "time": "2018-02-22T05:37:51+00:00" }, { "name": "league/iso3166", @@ -1796,6 +2013,71 @@ ], "time": "2018-01-02T06:45:36+00:00" }, + { + "name": "markrogoyski/math-php", + "version": "v0.38.0", + "source": { + "type": "git", + "url": "https://github.com/markrogoyski/math-php.git", + "reference": "0a5b2d4084c35cebbdd0ce8c51716bb65b2c4790" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/markrogoyski/math-php/zipball/0a5b2d4084c35cebbdd0ce8c51716bb65b2c4790", + "reference": "0a5b2d4084c35cebbdd0ce8c51716bb65b2c4790", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "5.*", + "satooshi/php-coveralls": "dev-master", + "squizlabs/php_codesniffer": "2.*" + }, + "type": "library", + "autoload": { + "psr-4": { + "MathPHP\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mark Rogoyski", + "email": "mark@rogoyski.com", + "homepage": "https://github.com/markrogoyski", + "role": "Developer" + }, + { + "name": "Kevin Nowaczyk", + "role": "Contributor" + }, + { + "name": "Jakob Sandberg", + "role": "Contributor" + } + ], + "description": "Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra", + "homepage": "https://github.com/markrogoyski/math-php/", + "keywords": [ + "algebra", + "combinatorics", + "distributions", + "linear algebra", + "math", + "mathematics", + "matrix", + "numerical analysis", + "probability", + "regressions", + "statistics" + ], + "time": "2017-12-11T05:05:12+00:00" + }, { "name": "monolog/monolog", "version": "1.23.0", @@ -1910,25 +2192,25 @@ }, { "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": { @@ -1959,20 +2241,20 @@ "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": "v3.1.5", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "e57b3a09784f846411aa7ed664eedb73e3399078" + "reference": "bb87e28e7d7b8d9a7fda231d37457c9210faf6ce" }, "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/bb87e28e7d7b8d9a7fda231d37457c9210faf6ce", + "reference": "bb87e28e7d7b8d9a7fda231d37457c9210faf6ce", "shasum": "" }, "require": { @@ -2010,20 +2292,20 @@ "parser", "php" ], - "time": "2018-01-25T21:31:33+00:00" + "time": "2018-02-28T20:30:58+00:00" }, { "name": "nwidart/laravel-modules", - "version": "3.0.1", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/nWidart/laravel-modules.git", - "reference": "f5574c87611823f1246f382d204b3758ccefe37e" + "reference": "a4a6db111b4c7fe03dd68d04275f7e859953e823" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nWidart/laravel-modules/zipball/f5574c87611823f1246f382d204b3758ccefe37e", - "reference": "f5574c87611823f1246f382d204b3758ccefe37e", + "url": "https://api.github.com/repos/nWidart/laravel-modules/zipball/a4a6db111b4c7fe03dd68d04275f7e859953e823", + "reference": "a4a6db111b4c7fe03dd68d04275f7e859953e823", "shasum": "" }, "require": { @@ -2034,6 +2316,7 @@ "laravel/framework": "5.6.*", "mockery/mockery": "~1.0", "orchestra/testbench": "^3.6", + "phpstan/phpstan": "^0.9.2", "phpunit/phpunit": "~7.0", "spatie/phpunit-snapshot-assertions": "^1.0" }, @@ -2079,20 +2362,20 @@ "nwidart", "rad" ], - "time": "2018-02-16T14:46:50+00:00" + "time": "2018-04-01T15:48:57+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": { @@ -2110,7 +2393,7 @@ "lib/random.php" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2127,7 +2410,7 @@ "pseudorandom", "random" ], - "time": "2017-09-27T21:40:39+00:00" + "time": "2018-04-04T21:24:14+00:00" }, { "name": "php-http/discovery", @@ -2191,112 +2474,6 @@ ], "time": "2018-02-06T10:55:24+00:00" }, - { - "name": "php-http/httplug", - "version": "v1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-http/httplug.git", - "reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/httplug/zipball/1c6381726c18579c4ca2ef1ec1498fdae8bdf018", - "reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018", - "shasum": "" - }, - "require": { - "php": ">=5.4", - "php-http/promise": "^1.0", - "psr/http-message": "^1.0" - }, - "require-dev": { - "henrikbjorn/phpspec-code-coverage": "^1.0", - "phpspec/phpspec": "^2.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "Http\\Client\\": "src/" - } - }, - "notification-url": "http://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Eric GELOEN", - "email": "geloen.eric@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "HTTPlug, the HTTP client abstraction for PHP", - "homepage": "http://httplug.io", - "keywords": [ - "client", - "http" - ], - "time": "2016-08-31T08:30:17+00:00" - }, - { - "name": "php-http/promise", - "version": "v1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-http/promise.git", - "reference": "dc494cdc9d7160b9a09bd5573272195242ce7980" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/promise/zipball/dc494cdc9d7160b9a09bd5573272195242ce7980", - "reference": "dc494cdc9d7160b9a09bd5573272195242ce7980", - "shasum": "" - }, - "require-dev": { - "henrikbjorn/phpspec-code-coverage": "^1.0", - "phpspec/phpspec": "^2.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "Http\\Promise\\": "src/" - } - }, - "notification-url": "http://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - }, - { - "name": "Joel Wurtz", - "email": "joel.wurtz@gmail.com" - } - ], - "description": "Promise used for asynchronous HTTP requests", - "homepage": "http://httplug.io", - "keywords": [ - "promise" - ], - "time": "2016-01-26T13:27:02+00:00" - }, { "name": "php-units-of-measure/php-units-of-measure", "version": "v2.1.0", @@ -2348,110 +2525,18 @@ ], "time": "2016-07-24T22:36:00+00:00" }, - { - "name": "phpseclib/phpseclib", - "version": "2.0.10", - "source": { - "type": "git", - "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "d305b780829ea4252ed9400b3f5937c2c99b51d4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/d305b780829ea4252ed9400b3f5937c2c99b51d4", - "reference": "d305b780829ea4252ed9400b3f5937c2c99b51d4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phing/phing": "~2.7", - "phpunit/phpunit": "^4.8.35|^5.7|^6.0", - "sami/sami": "~2.0", - "squizlabs/php_codesniffer": "~2.0" - }, - "suggest": { - "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", - "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", - "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", - "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations." - }, - "type": "library", - "autoload": { - "files": [ - "phpseclib/bootstrap.php" - ], - "psr-4": { - "phpseclib\\": "phpseclib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jim Wigginton", - "email": "terrafrost@php.net", - "role": "Lead Developer" - }, - { - "name": "Patrick Monnerat", - "email": "pm@datasphere.ch", - "role": "Developer" - }, - { - "name": "Andreas Fischer", - "email": "bantu@phpbb.com", - "role": "Developer" - }, - { - "name": "Hans-Jürgen Petrich", - "email": "petrich@tronic-media.com", - "role": "Developer" - }, - { - "name": "Graham Campbell", - "email": "graham@alt-three.com", - "role": "Developer" - } - ], - "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", - "homepage": "http://phpseclib.sourceforge.net", - "keywords": [ - "BigInteger", - "aes", - "asn.1", - "asn1", - "blowfish", - "crypto", - "cryptography", - "encryption", - "rsa", - "security", - "sftp", - "signature", - "signing", - "ssh", - "twofish", - "x.509", - "x509" - ], - "time": "2018-02-19T04:29:13+00:00" - }, { "name": "pragmarx/version", - "version": "v0.2.5", + "version": "v0.2.7", "source": { "type": "git", "url": "https://github.com/antonioribeiro/version.git", - "reference": "ed34e37904067bdb15857d3f2bcc11683f37eb84" + "reference": "e48e1d193f55b0e0b8cd2980825485f572ff728f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/antonioribeiro/version/zipball/ed34e37904067bdb15857d3f2bcc11683f37eb84", - "reference": "ed34e37904067bdb15857d3f2bcc11683f37eb84", + "url": "https://api.github.com/repos/antonioribeiro/version/zipball/e48e1d193f55b0e0b8cd2980825485f572ff728f", + "reference": "e48e1d193f55b0e0b8cd2980825485f572ff728f", "shasum": "" }, "require": { @@ -2499,7 +2584,7 @@ "version", "versioning" ], - "time": "2018-02-10T17:40:28+00:00" + "time": "2018-03-17T00:01:54+00:00" }, { "name": "pragmarx/yaml", @@ -2649,7 +2734,7 @@ "Prettus\\Validator\\": "src/Prettus/Validator/" } }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "authors": [ { "name": "Anderson Andrade", @@ -2738,7 +2823,7 @@ "Psr\\Container\\": "src/" } }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2858,16 +2943,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": { @@ -2884,7 +2969,7 @@ "Psr\\SimpleCache\\": "src/" } }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2902,7 +2987,7 @@ "psr-16", "simple-cache" ], - "time": "2017-01-02T13:31:39+00:00" + "time": "2017-10-23T01:57:42+00:00" }, { "name": "ramsey/uuid", @@ -3074,16 +3159,16 @@ }, { "name": "santigarcor/laratrust", - "version": "5.0.8", + "version": "5.0.9", "source": { "type": "git", "url": "https://github.com/santigarcor/laratrust.git", - "reference": "ae86b729850bcb0dba0189cdbdf3f379046f18b8" + "reference": "526cc3e8970c35b97c71a7a6d8b63c2073568bb1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/santigarcor/laratrust/zipball/ae86b729850bcb0dba0189cdbdf3f379046f18b8", - "reference": "ae86b729850bcb0dba0189cdbdf3f379046f18b8", + "url": "https://api.github.com/repos/santigarcor/laratrust/zipball/526cc3e8970c35b97c71a7a6d8b63c2073568bb1", + "reference": "526cc3e8970c35b97c71a7a6d8b63c2073568bb1", "shasum": "" }, "require": { @@ -3139,7 +3224,7 @@ "rbac", "roles" ], - "time": "2018-01-26T15:01:00+00:00" + "time": "2018-03-05T13:21:52+00:00" }, { "name": "sebastiaanluca/laravel-helpers", @@ -3293,7 +3378,7 @@ "lib/swift_required.php" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -3317,16 +3402,16 @@ }, { "name": "symfony/console", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "36d5b41e7d4e1ccf0370f6babe966c08ef0a1488" + "reference": "aad9a6fe47319f22748fd764f52d3a7ca6fa6b64" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/36d5b41e7d4e1ccf0370f6babe966c08ef0a1488", - "reference": "36d5b41e7d4e1ccf0370f6babe966c08ef0a1488", + "url": "https://api.github.com/repos/symfony/console/zipball/aad9a6fe47319f22748fd764f52d3a7ca6fa6b64", + "reference": "aad9a6fe47319f22748fd764f52d3a7ca6fa6b64", "shasum": "" }, "require": { @@ -3381,20 +3466,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2018-01-29T09:06:29+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": { @@ -3434,20 +3519,20 @@ ], "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": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "c77bb31d0f6310a2ac11e657475d396a92e5dc54" + "reference": "5961d02d48828671f5d8a7805e06579d692f6ede" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/c77bb31d0f6310a2ac11e657475d396a92e5dc54", - "reference": "c77bb31d0f6310a2ac11e657475d396a92e5dc54", + "url": "https://api.github.com/repos/symfony/debug/zipball/5961d02d48828671f5d8a7805e06579d692f6ede", + "reference": "5961d02d48828671f5d8a7805e06579d692f6ede", "shasum": "" }, "require": { @@ -3490,20 +3575,20 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2018-01-18T22:19:33+00:00" + "time": "2018-04-03T05:24:00+00:00" }, { "name": "symfony/dom-crawler", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "39b785e1cf28e9f21bb601a5d62c4992a8e8a290" + "reference": "d6c04c7532535b5e0b63db45b543cd60818e0fbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/39b785e1cf28e9f21bb601a5d62c4992a8e8a290", - "reference": "39b785e1cf28e9f21bb601a5d62c4992a8e8a290", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/d6c04c7532535b5e0b63db45b543cd60818e0fbc", + "reference": "d6c04c7532535b5e0b63db45b543cd60818e0fbc", "shasum": "" }, "require": { @@ -3546,20 +3631,20 @@ ], "description": "Symfony DomCrawler Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:38:00+00:00" + "time": "2018-03-19T22:35:49+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": { @@ -3609,20 +3694,20 @@ ], "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": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "8b08180f2b7ccb41062366b9ad91fbc4f1af8601" + "reference": "ca27c02b7a3fef4828c998c2ff9ba7aae1641c49" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/8b08180f2b7ccb41062366b9ad91fbc4f1af8601", - "reference": "8b08180f2b7ccb41062366b9ad91fbc4f1af8601", + "url": "https://api.github.com/repos/symfony/finder/zipball/ca27c02b7a3fef4828c998c2ff9ba7aae1641c49", + "reference": "ca27c02b7a3fef4828c998c2ff9ba7aae1641c49", "shasum": "" }, "require": { @@ -3658,20 +3743,20 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2018-01-03T07:38:00+00:00" + "time": "2018-04-04T05:10:37+00:00" }, { "name": "symfony/http-foundation", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "82a3ee2c6662d08ca1adf99e1ef2e31ab48196d4" + "reference": "d0864a82e5891ab61d31eecbaa48bed5a09b8e6c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/82a3ee2c6662d08ca1adf99e1ef2e31ab48196d4", - "reference": "82a3ee2c6662d08ca1adf99e1ef2e31ab48196d4", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d0864a82e5891ab61d31eecbaa48bed5a09b8e6c", + "reference": "d0864a82e5891ab61d31eecbaa48bed5a09b8e6c", "shasum": "" }, "require": { @@ -3711,20 +3796,20 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2018-01-29T09:06:29+00:00" + "time": "2018-04-03T05:24:00+00:00" }, { "name": "symfony/http-kernel", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "194bd224ec27952eac6d4fea6264b22990834eca" + "reference": "6dd620d96d64456075536ffe3c6c4658dd689021" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/194bd224ec27952eac6d4fea6264b22990834eca", - "reference": "194bd224ec27952eac6d4fea6264b22990834eca", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/6dd620d96d64456075536ffe3c6c4658dd689021", + "reference": "6dd620d96d64456075536ffe3c6c4658dd689021", "shasum": "" }, "require": { @@ -3736,7 +3821,7 @@ }, "conflict": { "symfony/config": "<3.4", - "symfony/dependency-injection": "<3.4", + "symfony/dependency-injection": "<3.4.5|<4.0.5,>=4", "symfony/var-dumper": "<3.4", "twig/twig": "<1.34|<2.4,>=2" }, @@ -3749,7 +3834,7 @@ "symfony/config": "~3.4|~4.0", "symfony/console": "~3.4|~4.0", "symfony/css-selector": "~3.4|~4.0", - "symfony/dependency-injection": "~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", @@ -3797,11 +3882,11 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2018-01-29T13:27:08+00:00" + "time": "2018-04-06T16:25:03+00:00" }, { "name": "symfony/inflector", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/inflector.git", @@ -3972,16 +4057,16 @@ }, { "name": "symfony/process", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "e1712002d81de6f39f854bc5bbd9e9f4bb6345b4" + "reference": "d7dc1ee5dfe9f732cb1bba7310f5b99f2b7a6d25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/e1712002d81de6f39f854bc5bbd9e9f4bb6345b4", - "reference": "e1712002d81de6f39f854bc5bbd9e9f4bb6345b4", + "url": "https://api.github.com/repos/symfony/process/zipball/d7dc1ee5dfe9f732cb1bba7310f5b99f2b7a6d25", + "reference": "d7dc1ee5dfe9f732cb1bba7310f5b99f2b7a6d25", "shasum": "" }, "require": { @@ -4017,11 +4102,11 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2018-01-29T09:06:29+00:00" + "time": "2018-04-03T05:24:00+00:00" }, { "name": "symfony/property-access", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/property-access.git", @@ -4088,16 +4173,16 @@ }, { "name": "symfony/routing", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "a69bd948700b672e036147762f46749bcae33796" + "reference": "0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/a69bd948700b672e036147762f46749bcae33796", - "reference": "a69bd948700b672e036147762f46749bcae33796", + "url": "https://api.github.com/repos/symfony/routing/zipball/0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71", + "reference": "0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71", "shasum": "" }, "require": { @@ -4162,20 +4247,20 @@ "uri", "url" ], - "time": "2018-01-16T18:04:12+00:00" + "time": "2018-04-04T13:50:32+00:00" }, { "name": "symfony/serializer", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "18abe8e278181fce0ad55b9cbdd04f40f4bcf553" + "reference": "d0e9269101ccd978af971fd4d7a892848672bfa1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/18abe8e278181fce0ad55b9cbdd04f40f4bcf553", - "reference": "18abe8e278181fce0ad55b9cbdd04f40f4bcf553", + "url": "https://api.github.com/repos/symfony/serializer/zipball/d0e9269101ccd978af971fd4d7a892848672bfa1", + "reference": "d0e9269101ccd978af971fd4d7a892848672bfa1", "shasum": "" }, "require": { @@ -4240,37 +4325,37 @@ ], "description": "Symfony Serializer Component", "homepage": "https://symfony.com", - "time": "2018-01-19T11:28:59+00:00" + "time": "2018-03-19T17:30:36+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": { @@ -4281,7 +4366,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4308,20 +4393,20 @@ ], "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": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "6d63cc74f3e2d4961411ccb77389a00332653104" + "reference": "e1b4d008100f4d203cc38b0d793ad6252d8d8af0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/6d63cc74f3e2d4961411ccb77389a00332653104", - "reference": "6d63cc74f3e2d4961411ccb77389a00332653104", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/e1b4d008100f4d203cc38b0d793ad6252d8d8af0", + "reference": "e1b4d008100f4d203cc38b0d793ad6252d8d8af0", "shasum": "" }, "require": { @@ -4377,20 +4462,20 @@ "debug", "dump" ], - "time": "2018-01-29T09:06:29+00:00" + "time": "2018-04-04T05:10:37+00:00" }, { "name": "symfony/yaml", - "version": "v4.0.4", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "ffc60bda1d4a00ec0b32eeabf39dc017bf480028" + "reference": "8b34ebb5989df61cbd77eff29a02c4db9ac1069c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/ffc60bda1d4a00ec0b32eeabf39dc017bf480028", - "reference": "ffc60bda1d4a00ec0b32eeabf39dc017bf480028", + "url": "https://api.github.com/repos/symfony/yaml/zipball/8b34ebb5989df61cbd77eff29a02c4db9ac1069c", + "reference": "8b34ebb5989df61cbd77eff29a02c4db9ac1069c", "shasum": "" }, "require": { @@ -4435,7 +4520,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2018-01-21T19:06:11+00:00" + "time": "2018-04-03T05:24:00+00:00" }, { "name": "theiconic/php-ga-measurement-protocol", @@ -5025,74 +5110,6 @@ ], "time": "2017-11-16T12:28:04+00:00" }, - { - "name": "doctrine/annotations", - "version": "v1.6.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/annotations.git", - "reference": "c7f2050c68a9ab0bdb0f98567ec08d80ea7d24d5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/c7f2050c68a9ab0bdb0f98567ec08d80ea7d24d5", - "reference": "c7f2050c68a9ab0bdb0f98567ec08d80ea7d24d5", - "shasum": "" - }, - "require": { - "doctrine/lexer": "1.*", - "php": "^7.1" - }, - "require-dev": { - "doctrine/cache": "1.*", - "phpunit/phpunit": "^6.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.6.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Docblock Annotations Parser", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "annotations", - "docblock", - "parser" - ], - "time": "2017-12-06T07:11:42+00:00" - }, { "name": "doctrine/instantiator", "version": "1.1.0", @@ -5241,7 +5258,7 @@ "Faker\\": "src/Faker/" } }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5390,6 +5407,57 @@ ], "time": "2015-04-20T18:58:01+00:00" }, + { + "name": "jean85/pretty-package-versions", + "version": "1.1", + "source": { + "type": "git", + "url": "https://github.com/Jean85/pretty-package-versions.git", + "reference": "d457344b6a035ef99236bdda4729ad7eeb233f54" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/d457344b6a035ef99236bdda4729ad7eeb233f54", + "reference": "d457344b6a035ef99236bdda4729ad7eeb233f54", + "shasum": "" + }, + "require": { + "ocramius/package-versions": "^1.2.0", + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Jean85\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Alessandro Lai", + "email": "alessandro.lai85@gmail.com" + } + ], + "description": "A wrapper for ocramius/pretty-package-versions to get pretty versions strings", + "keywords": [ + "composer", + "package", + "release", + "versions" + ], + "time": "2018-01-21T13:54:22+00:00" + }, { "name": "mockery/mockery", "version": "0.9.9", @@ -5501,17 +5569,481 @@ "time": "2017-10-19T19:58:43+00:00" }, { - "name": "nunomaduro/collision", - "version": "v2.0.0", + "name": "nette/bootstrap", + "version": "v2.4.5", "source": { "type": "git", - "url": "https://github.com/nunomaduro/collision.git", - "reference": "4e310ef9384f53ee8dda8736afb3cbaf320753a0" + "url": "https://github.com/nette/bootstrap.git", + "reference": "804925787764d708a7782ea0d9382a310bb21968" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/4e310ef9384f53ee8dda8736afb3cbaf320753a0", - "reference": "4e310ef9384f53ee8dda8736afb3cbaf320753a0", + "url": "https://api.github.com/repos/nette/bootstrap/zipball/804925787764d708a7782ea0d9382a310bb21968", + "reference": "804925787764d708a7782ea0d9382a310bb21968", + "shasum": "" + }, + "require": { + "nette/di": "~2.4.7", + "nette/utils": "~2.4", + "php": ">=5.6.0" + }, + "conflict": { + "nette/nette": "<2.2" + }, + "require-dev": { + "latte/latte": "~2.2", + "nette/application": "~2.3", + "nette/caching": "~2.3", + "nette/database": "~2.3", + "nette/forms": "~2.3", + "nette/http": "~2.4.0", + "nette/mail": "~2.3", + "nette/robot-loader": "^2.4.2 || ^3.0", + "nette/safe-stream": "~2.2", + "nette/security": "~2.3", + "nette/tester": "~2.0", + "tracy/tracy": "^2.4.1" + }, + "suggest": { + "nette/robot-loader": "to use Configurator::createRobotLoader()", + "tracy/tracy": "to use Configurator::enableTracy()" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0", + "GPL-3.0" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.", + "homepage": "https://nette.org", + "keywords": [ + "bootstrapping", + "configurator", + "nette" + ], + "time": "2017-08-20T17:36:59+00:00" + }, + { + "name": "nette/di", + "version": "v2.4.11", + "source": { + "type": "git", + "url": "https://github.com/nette/di.git", + "reference": "a300c8b8e8549595ab90c04d8ee21b8b2a5a88f9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/di/zipball/a300c8b8e8549595ab90c04d8ee21b8b2a5a88f9", + "reference": "a300c8b8e8549595ab90c04d8ee21b8b2a5a88f9", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "nette/neon": "^2.3.3 || ~3.0.0", + "nette/php-generator": "^2.6.1 || ~3.0.0", + "nette/utils": "^2.4.3 || ~3.0.0", + "php": ">=5.6.0" + }, + "conflict": { + "nette/bootstrap": "<2.4", + "nette/nette": "<2.2" + }, + "require-dev": { + "nette/tester": "^2.0", + "tracy/tracy": "^2.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0", + "GPL-3.0" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP 7.1 features.", + "homepage": "https://nette.org", + "keywords": [ + "compiled", + "di", + "dic", + "factory", + "ioc", + "nette", + "static" + ], + "time": "2018-03-28T23:53:36+00:00" + }, + { + "name": "nette/finder", + "version": "v2.4.1", + "source": { + "type": "git", + "url": "https://github.com/nette/finder.git", + "reference": "4d43a66d072c57d585bf08a3ef68d3587f7e9547" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/finder/zipball/4d43a66d072c57d585bf08a3ef68d3587f7e9547", + "reference": "4d43a66d072c57d585bf08a3ef68d3587f7e9547", + "shasum": "" + }, + "require": { + "nette/utils": "^2.4 || ~3.0.0", + "php": ">=5.6.0" + }, + "conflict": { + "nette/nette": "<2.2" + }, + "require-dev": { + "nette/tester": "^2.0", + "tracy/tracy": "^2.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0", + "GPL-3.0" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "Nette Finder: Files Searching", + "homepage": "https://nette.org", + "time": "2017-07-10T23:47:08+00:00" + }, + { + "name": "nette/neon", + "version": "v2.4.2", + "source": { + "type": "git", + "url": "https://github.com/nette/neon.git", + "reference": "9eacd50553b26b53a3977bfb2fea2166d4331622" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/neon/zipball/9eacd50553b26b53a3977bfb2fea2166d4331622", + "reference": "9eacd50553b26b53a3977bfb2fea2166d4331622", + "shasum": "" + }, + "require": { + "ext-iconv": "*", + "ext-json": "*", + "php": ">=5.6.0" + }, + "require-dev": { + "nette/tester": "~2.0", + "tracy/tracy": "^2.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0", + "GPL-3.0" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "Nette NEON: parser & generator for Nette Object Notation", + "homepage": "http://ne-on.org", + "time": "2017-07-11T18:29:08+00:00" + }, + { + "name": "nette/php-generator", + "version": "v3.0.3", + "source": { + "type": "git", + "url": "https://github.com/nette/php-generator.git", + "reference": "18a26e9c302ce98b7a573fae8c6032a6909339e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/php-generator/zipball/18a26e9c302ce98b7a573fae8c6032a6909339e5", + "reference": "18a26e9c302ce98b7a573fae8c6032a6909339e5", + "shasum": "" + }, + "require": { + "nette/utils": "^2.4.2 || ~3.0.0", + "php": ">=7.0" + }, + "conflict": { + "nette/nette": "<2.2" + }, + "require-dev": { + "nette/tester": "^2.0", + "tracy/tracy": "^2.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0", + "GPL-3.0" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 7.2 features.", + "homepage": "https://nette.org", + "keywords": [ + "code", + "nette", + "php", + "scaffolding" + ], + "time": "2018-03-30T14:01:03+00:00" + }, + { + "name": "nette/robot-loader", + "version": "v3.0.3", + "source": { + "type": "git", + "url": "https://github.com/nette/robot-loader.git", + "reference": "92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/robot-loader/zipball/92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a", + "reference": "92d4b40b49d5e2d9e37fc736bbcebe6da55fa44a", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "nette/finder": "^2.3 || ^3.0", + "nette/utils": "^2.4 || ^3.0", + "php": ">=5.6.0" + }, + "conflict": { + "nette/nette": "<2.2" + }, + "require-dev": { + "nette/tester": "^2.0", + "tracy/tracy": "^2.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0", + "GPL-3.0" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.", + "homepage": "https://nette.org", + "keywords": [ + "autoload", + "class", + "interface", + "nette", + "trait" + ], + "time": "2017-09-26T13:42:21+00:00" + }, + { + "name": "nette/utils", + "version": "v2.5.1", + "source": { + "type": "git", + "url": "https://github.com/nette/utils.git", + "reference": "8a85ce76298c8a8941f912b8fa3ee93ca17d2ebc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/utils/zipball/8a85ce76298c8a8941f912b8fa3ee93ca17d2ebc", + "reference": "8a85ce76298c8a8941f912b8fa3ee93ca17d2ebc", + "shasum": "" + }, + "require": { + "php": ">=5.6.0" + }, + "conflict": { + "nette/nette": "<2.2" + }, + "require-dev": { + "nette/tester": "~2.0", + "tracy/tracy": "^2.3" + }, + "suggest": { + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize() and toAscii()", + "ext-intl": "for script transliteration in Strings::webalize() and toAscii()", + "ext-json": "to use Nette\\Utils\\Json", + "ext-mbstring": "to use Strings::lower() etc...", + "ext-xml": "to use Strings::length() etc. when mbstring is not available" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.5-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ], + "files": [ + "src/loader.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0", + "GPL-3.0" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", + "validation" + ], + "time": "2018-02-19T14:42:42+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": { @@ -5560,7 +6092,56 @@ "php", "symfony" ], - "time": "2018-02-18T12:29:27+00:00" + "time": "2018-03-21T20:11:24+00:00" + }, + { + "name": "ocramius/package-versions", + "version": "1.3.0", + "source": { + "type": "git", + "url": "https://github.com/Ocramius/PackageVersions.git", + "reference": "4489d5002c49d55576fa0ba786f42dbb009be46f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/4489d5002c49d55576fa0ba786f42dbb009be46f", + "reference": "4489d5002c49d55576fa0ba786f42dbb009be46f", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0.0", + "php": "^7.1.0" + }, + "require-dev": { + "composer/composer": "^1.6.3", + "ext-zip": "*", + "infection/infection": "^0.7.1", + "phpunit/phpunit": "^7.0.0" + }, + "type": "composer-plugin", + "extra": { + "class": "PackageVersions\\Installer", + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "PackageVersions\\": "src/PackageVersions" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + } + ], + "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", + "time": "2018-02-05T13:05:30+00:00" }, { "name": "phar-io/manifest", @@ -5593,7 +6174,7 @@ "src/" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -5640,7 +6221,7 @@ "src/" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -5697,7 +6278,7 @@ ] } }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5880,17 +6461,125 @@ "time": "2018-02-19T10:16:54+00:00" }, { - "name": "phpunit/php-code-coverage", - "version": "6.0.1", + "name": "phpstan/phpdoc-parser", + "version": "0.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "f8ca4b604baf23dab89d87773c28cc07405189ba" + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "02f909f134fe06f0cd4790d8627ee24efbe84d6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f8ca4b604baf23dab89d87773c28cc07405189ba", - "reference": "f8ca4b604baf23dab89d87773c28cc07405189ba", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/02f909f134fe06f0cd4790d8627ee24efbe84d6a", + "reference": "02f909f134fe06f0cd4790d8627ee24efbe84d6a", + "shasum": "" + }, + "require": { + "php": "~7.0" + }, + "require-dev": { + "consistence/coding-standard": "^2.0.0", + "jakub-onderka/php-parallel-lint": "^0.9.2", + "phing/phing": "^2.16.0", + "phpstan/phpstan": "^0.9", + "phpunit/phpunit": "^6.3", + "slevomat/coding-standard": "^3.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.1-dev" + } + }, + "autoload": { + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPDoc parser with support for nullable, intersection and generic types", + "time": "2018-01-13T18:19:41+00:00" + }, + { + "name": "phpstan/phpstan", + "version": "0.9.2", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "e59541bcc7cac9b35ca54db6365bf377baf4a488" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e59541bcc7cac9b35ca54db6365bf377baf4a488", + "reference": "e59541bcc7cac9b35ca54db6365bf377baf4a488", + "shasum": "" + }, + "require": { + "jean85/pretty-package-versions": "^1.0.3", + "nette/bootstrap": "^2.4 || ^3.0", + "nette/di": "^2.4.7 || ^3.0", + "nette/robot-loader": "^3.0.1", + "nette/utils": "^2.4.5 || ^3.0", + "nikic/php-parser": "^3.1", + "php": "~7.0", + "phpstan/phpdoc-parser": "^0.2", + "symfony/console": "~3.2 || ~4.0", + "symfony/finder": "~3.2 || ~4.0" + }, + "require-dev": { + "consistence/coding-standard": "2.2.1", + "ext-gd": "*", + "ext-intl": "*", + "ext-mysqli": "*", + "jakub-onderka/php-parallel-lint": "^0.9.2", + "phing/phing": "^2.16.0", + "phpstan/phpstan-php-parser": "^0.9", + "phpstan/phpstan-phpunit": "^0.9.3", + "phpstan/phpstan-strict-rules": "^0.9", + "phpunit/phpunit": "^6.5.4", + "slevomat/coding-standard": "4.0.0" + }, + "bin": [ + "bin/phpstan" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.9-dev" + } + }, + "autoload": { + "psr-4": { + "PHPStan\\": [ + "src/", + "build/PHPStan" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "time": "2018-01-28T13:22:19+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "6.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "774a82c0c5da4c1c7701790c262035d235ab7856" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/774a82c0c5da4c1c7701790c262035d235ab7856", + "reference": "774a82c0c5da4c1c7701790c262035d235ab7856", "shasum": "" }, "require": { @@ -5901,7 +6590,7 @@ "phpunit/php-text-template": "^1.2.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" }, @@ -5940,7 +6629,7 @@ "testing", "xunit" ], - "time": "2018-02-02T07:01:41+00:00" + "time": "2018-04-06T15:39:20+00:00" }, { "name": "phpunit/php-file-iterator", @@ -6130,16 +6819,16 @@ }, { "name": "phpunit/phpunit", - "version": "7.0.1", + "version": "7.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "316555dbd0ed4097bbdd17c65ab416bf27a472e9" + "reference": "f7fe5127889519e421600fe0feeb113a5e210f20" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/316555dbd0ed4097bbdd17c65ab416bf27a472e9", - "reference": "316555dbd0ed4097bbdd17c65ab416bf27a472e9", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f7fe5127889519e421600fe0feeb113a5e210f20", + "reference": "f7fe5127889519e421600fe0feeb113a5e210f20", "shasum": "" }, "require": { @@ -6153,11 +6842,11 @@ "phar-io/version": "^1.0", "php": "^7.1", "phpspec/prophecy": "^1.7", - "phpunit/php-code-coverage": "^6.0", + "phpunit/php-code-coverage": "^6.0.1", "phpunit/php-file-iterator": "^1.4.3", "phpunit/php-text-template": "^1.2.1", "phpunit/php-timer": "^2.0", - "phpunit/phpunit-mock-objects": "^6.0", + "phpunit/phpunit-mock-objects": "^6.1", "sebastian/comparator": "^2.1", "sebastian/diff": "^3.0", "sebastian/environment": "^3.1", @@ -6180,7 +6869,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "7.1-dev" } }, "autoload": { @@ -6206,20 +6895,20 @@ "testing", "xunit" ], - "time": "2018-02-13T06:08:08+00:00" + "time": "2018-04-06T12:39:30+00:00" }, { "name": "phpunit/phpunit-mock-objects", - "version": "6.0.1", + "version": "6.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "e3249dedc2d99259ccae6affbc2684eac37c2e53" + "reference": "3f5ca97eee66a07951d018f6726017629c85c86d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/e3249dedc2d99259ccae6affbc2684eac37c2e53", - "reference": "e3249dedc2d99259ccae6affbc2684eac37c2e53", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3f5ca97eee66a07951d018f6726017629c85c86d", + "reference": "3f5ca97eee66a07951d018f6726017629c85c86d", "shasum": "" }, "require": { @@ -6237,7 +6926,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.0.x-dev" + "dev-master": "6.1-dev" } }, "autoload": { @@ -6262,7 +6951,7 @@ "mock", "xunit" ], - "time": "2018-02-15T05:27:38+00:00" + "time": "2018-04-06T08:14:40+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -6460,7 +7149,7 @@ "src/" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -6512,7 +7201,7 @@ "src/" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -6580,7 +7269,7 @@ "src/" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -6630,7 +7319,7 @@ "src/" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -6675,7 +7364,7 @@ "src/" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -6720,7 +7409,7 @@ "src/" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -6829,7 +7518,7 @@ }, { "name": "symfony/class-loader", - "version": "v3.4.4", + "version": "v3.4.8", "source": { "type": "git", "url": "https://github.com/symfony/class-loader.git", @@ -6909,7 +7598,7 @@ "src/" ] }, - "notification-url": "http://packagist.org/downloads/", + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -6974,73 +7663,54 @@ "time": "2018-01-29T19:49:41+00:00" }, { - "name": "zircote/swagger-php", - "version": "2.0.13", + "name": "weebly/phpstan-laravel", + "version": "v1.1.1", "source": { "type": "git", - "url": "https://github.com/zircote/swagger-php.git", - "reference": "8b42fdc3d8c5a5e0d1f8d344aa359822c9f085e0" + "url": "https://github.com/Weebly/phpstan-laravel.git", + "reference": "ce2811ffe09103a7b37fc3de8d012e30d435ce1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zircote/swagger-php/zipball/8b42fdc3d8c5a5e0d1f8d344aa359822c9f085e0", - "reference": "8b42fdc3d8c5a5e0d1f8d344aa359822c9f085e0", + "url": "https://api.github.com/repos/Weebly/phpstan-laravel/zipball/ce2811ffe09103a7b37fc3de8d012e30d435ce1f", + "reference": "ce2811ffe09103a7b37fc3de8d012e30d435ce1f", "shasum": "" }, "require": { - "doctrine/annotations": "*", - "php": ">=5.6", - "symfony/finder": ">=2.2" + "laravel/framework": "5.5.* || 5.6.*", + "phpstan/phpstan": "^0.9" }, "require-dev": { - "phpunit/phpunit": ">=4.8.35 <=5.6", - "squizlabs/php_codesniffer": ">=2.7", - "zendframework/zend-form": "<2.8" + "phpunit/phpunit": "^6.5.2" }, - "bin": [ - "bin/swagger" - ], "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, "autoload": { "psr-4": { - "Swagger\\": "src" - }, - "files": [ - "src/functions.php" - ] + "Weebly\\PHPStan\\Laravel\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "Apache2" + "BSD-2-Clause" ], "authors": [ { - "name": "Robert Allen", - "email": "zircote@gmail.com", - "homepage": "http://www.zircote.com" - }, - { - "name": "Bob Fanger", - "email": "bfanger@gmail.com", - "homepage": "http://bfanger.nl" + "name": "Chris Leppanen", + "email": "chris.leppanen@weebly.com" } ], - "description": "Swagger-PHP - Generate interactive documentation for your RESTful API using phpdoc annotations", - "homepage": "https://github.com/zircote/swagger-php/", - "keywords": [ - "api", - "json", - "rest", - "service discovery" - ], - "time": "2017-12-01T09:22:05+00:00" + "description": "Laravel plugins for PHPStan", + "time": "2018-04-13T23:27:17+00:00" } ], "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "league/geotools": 20 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { diff --git a/config/app.php b/config/app.php index 829a271f..4718aeb3 100755 --- a/config/app.php +++ b/config/app.php @@ -8,7 +8,7 @@ */ return [ - 'name' => env('PHPVMS_VA_NAME', 'phpvms'), + 'name' => env('APP_NAME', 'phpvms'), 'env' => env('APP_ENV', 'dev'), 'debug' => env('APP_DEBUG', true), 'url' => env('APP_URL', 'http://localhost'), @@ -17,6 +17,10 @@ return [ 'locale' => env('APP_LOCALE', 'en'), 'fallback_locale' => 'en', + # Where to redirect after logging in/registration + 'login_redirect' => '/dashboard', + 'registration_redirect' => '/profile', + # This sends install and vaCentral specific information to help with # optimizations and figuring out where slowdowns might be happening 'analytics' => true, @@ -64,7 +68,6 @@ return [ /* * Package Service Providers... */ - Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class, Collective\Html\HtmlServiceProvider::class, Laracasts\Flash\FlashServiceProvider::class, Prettus\Repository\Providers\RepositoryServiceProvider::class, @@ -73,6 +76,9 @@ return [ Toin0u\Geotools\GeotoolsServiceProvider::class, Jackiedo\Timezonelist\TimezonelistServiceProvider::class, Irazasyed\LaravelGAMP\LaravelGAMPServiceProvider::class, + Igaster\LaravelTheme\themeServiceProvider::class, + Nwidart\Modules\LaravelModulesServiceProvider::class, + Anhskohbo\NoCaptcha\NoCaptchaServiceProvider::class, /* * Application Service Providers... @@ -82,7 +88,7 @@ return [ App\Providers\AuthServiceProvider::class, App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, - Nwidart\Modules\LaravelModulesServiceProvider::class, + App\Providers\vaCentralServiceProvider::class, ], 'aliases' => [ @@ -108,6 +114,7 @@ return [ 'Lang' => Illuminate\Support\Facades\Lang::class, 'Log' => Illuminate\Support\Facades\Log::class, 'Mail' => Illuminate\Support\Facades\Mail::class, + 'NoCaptcha' => Anhskohbo\NoCaptcha\Facades\NoCaptcha::class, 'Notification' => Illuminate\Support\Facades\Notification::class, 'Password' => Illuminate\Support\Facades\Password::class, 'Queue' => Illuminate\Support\Facades\Queue::class, @@ -119,6 +126,7 @@ return [ 'Schema' => Illuminate\Support\Facades\Schema::class, 'Session' => Illuminate\Support\Facades\Session::class, 'Storage' => Illuminate\Support\Facades\Storage::class, + 'Theme' => Igaster\LaravelTheme\Facades\Theme::class, 'URL' => Illuminate\Support\Facades\URL::class, 'Utils' => App\Facades\Utils::class, 'Validator' => Illuminate\Support\Facades\Validator::class, @@ -127,7 +135,7 @@ return [ 'Yaml' => Symfony\Component\Yaml\Yaml::class, # ENUMS - 'GenericState' => App\Models\Enums\GenericState::class, + 'ActiveState' => App\Models\Enums\ActiveState::class, 'UserState' => App\Models\Enums\UserState::class, 'PirepSource' => App\Models\Enums\PirepSource::class, 'PirepState' => App\Models\Enums\PirepState::class, diff --git a/config/auth.php b/config/auth.php index 56043f68..6811517a 100755 --- a/config/auth.php +++ b/config/auth.php @@ -14,7 +14,7 @@ return [ */ 'defaults' => [ - 'guard' => 'web', + 'guard' => 'web', 'passwords' => 'users', ], @@ -37,12 +37,12 @@ return [ 'guards' => [ 'web' => [ - 'driver' => 'session', + 'driver' => 'session', 'provider' => 'users', ], 'api' => [ - 'driver' => 'token', + 'driver' => 'token', 'provider' => 'users', ], ], @@ -50,8 +50,8 @@ return [ 'providers' => [ 'users' => [ 'driver' => 'eloquent', - 'model' => App\Models\User::class, - 'table' => 'users', + 'model' => App\Models\User::class, + 'table' => 'users', ], ], @@ -77,8 +77,8 @@ return [ 'passwords' => [ 'users' => [ 'provider' => 'users', - 'table' => 'password_resets', - 'expire' => 60, + 'table' => 'password_resets', + 'expire' => 60, ], ], diff --git a/config/cache.php b/config/cache.php index 63f6f1a4..6a7e234e 100755 --- a/config/cache.php +++ b/config/cache.php @@ -7,15 +7,19 @@ return [ 'keys' => [ 'AIRPORT_VACENTRAL_LOOKUP' => [ - 'key' => 'airports:lookup:', + 'key' => 'airports.lookup:', 'time' => 60 * 30, ], + 'WEATHER_LOOKUP' => [ + 'key' => 'airports.weather.', // append icao + 'time' => 60 * 30, // Cache for 30 minutes + ], 'RANKS_PILOT_LIST' => [ - 'key' => 'ranks:pilot_list', + 'key' => 'ranks.pilot_list', 'time' => 60 * 10, ], 'USER_API_KEY' => [ - 'key' => 'user:apikey', + 'key' => 'user.apikey', 'time' => 60 * 5, // 5 min ], ], diff --git a/config/captcha.php b/config/captcha.php new file mode 100644 index 00000000..689fcebb --- /dev/null +++ b/config/captcha.php @@ -0,0 +1,23 @@ + false, + 'sitekey' => '', + 'secret' => '', + + # Attributes can be found here: + # https://developers.google.com/recaptcha/docs/display#render_param + 'attributes' => [ + 'data-theme' => 'light', + ], + + 'options' => [ + 'timeout' => 2.0, + ], +]; diff --git a/config/cron.php b/config/cron.php new file mode 100644 index 00000000..02f408e7 --- /dev/null +++ b/config/cron.php @@ -0,0 +1,8 @@ + 'UTC', +]; diff --git a/config/database.php b/config/database.php index 804160fe..50a259bf 100755 --- a/config/database.php +++ b/config/database.php @@ -1,45 +1,45 @@ PDO::FETCH_ASSOC, - 'default' => env('DB_CONNECTION', 'mysql'), + 'fetch' => PDO::FETCH_ASSOC, + 'default' => env('DB_CONNECTION', 'mysql'), 'connections' => [ - 'mysql' => [ - 'driver' => 'mysql', - 'host' => env('DB_HOST', '127.0.0.1'), - 'port' => env('DB_PORT', 3306), - 'database' => env('DB_DATABASE', ''), - 'username' => env('DB_USERNAME', ''), - 'password' => env('DB_PASSWORD', ''), + 'mysql' => [ + 'driver' => 'mysql', + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', 3306), + 'database' => env('DB_DATABASE', ''), + 'username' => env('DB_USERNAME', ''), + 'password' => env('DB_PASSWORD', ''), //'unix_socket' => env('DB_SOCKET', ''), - 'prefix' => env('DB_PREFIX', ''), - 'timezone' => '+00:00', - 'charset' => 'utf8', + 'prefix' => env('DB_PREFIX', ''), + 'timezone' => '+00:00', + 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', - 'strict' => false, - 'engine' => null, - 'options' => [ + 'strict' => false, + 'engine' => null, + 'options' => [ PDO::ATTR_EMULATE_PREPARES => env('DB_EMULATE_PREPARES', false), #PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, ], ], - 'sqlite' => [ - 'driver' => 'sqlite', + 'sqlite' => [ + 'driver' => 'sqlite', 'database' => storage_path('db.sqlite'), 'timezone' => '+00:00', - 'prefix' => '', + 'prefix' => '', ], 'unittest' => [ - 'driver' => 'sqlite', + 'driver' => 'sqlite', 'database' => storage_path('unittest.sqlite'), 'timezone' => '+00:00', - 'prefix' => '', + 'prefix' => '', ], - 'memory' => [ - 'driver' => 'sqlite', + 'memory' => [ + 'driver' => 'sqlite', 'database' => ':memory:', 'timezone' => '+00:00', - 'prefix' => '', + 'prefix' => '', ], ], @@ -48,9 +48,9 @@ return [ 'redis' => [ 'cluster' => false, 'default' => [ - 'host' => env('REDIS_HOST', 'localhost'), + 'host' => env('REDIS_HOST', 'localhost'), 'password' => env('REDIS_PASSWORD', null), - 'port' => env('REDIS_PORT', 6379), + 'port' => env('REDIS_PORT', 6379), 'database' => env('REDIS_DATABASE', 1), ], ] diff --git a/config/datatables.php b/config/datatables.php deleted file mode 100644 index 89000cac..00000000 --- a/config/datatables.php +++ /dev/null @@ -1,86 +0,0 @@ - [ - /** - * Smart search will enclose search keyword with wildcard string "%keyword%". - * SQL: column LIKE "%keyword%" - */ - 'smart' => true, - - /** - * Case insensitive will search the keyword in lower case format. - * SQL: LOWER(column) LIKE LOWER(keyword) - */ - 'case_insensitive' => true, - - /** - * Wild card will add "%" in between every characters of the keyword. - * SQL: column LIKE "%k%e%y%w%o%r%d%" - */ - 'use_wildcards' => false, - ], - - /** - * DataTables fractal configurations. - */ - 'fractal' => [ - /** - * Request key name to parse includes on fractal. - */ - 'includes' => 'include', - - /** - * Default fractal serializer. - */ - 'serializer' => 'League\Fractal\Serializer\DataArraySerializer', - ], - - /** - * DataTables script view template. - */ - 'script_template' => 'datatables::script', - - /** - * DataTables internal index id response column name. - */ - 'index_column' => 'DT_Row_Index', - - /** - * Namespaces used by the generator. - */ - 'namespace' => [ - /** - * Base namespace/directory to create the new file. - * This is appended on default Laravel namespace. - * - * Usage: php artisan datatables:make User - * Output: App\DataTables\UserDataTable - * With Model: App\User (default model) - * Export filename: users_timestamp - */ - 'base' => 'DataTables', - - /** - * Base namespace/directory where your model's are located. - * This is appended on default Laravel namespace. - * - * Usage: php artisan datatables:make Post --model - * Output: App\DataTables\PostDataTable - * With Model: App\Post - * Export filename: posts_timestamp - */ - 'model' => '', - ], - - /** - * PDF generator to be used when converting the table to pdf. - * Available generators: excel, snappy - * Snappy package: barryvdh/laravel-snappy - * Excel package: maatwebsite/excel - */ - 'pdf_generator' => 'excel', -]; diff --git a/config/filesystems.php b/config/filesystems.php index 75b50022..342903c3 100755 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -1,46 +1,11 @@ 'local', - /* - |-------------------------------------------------------------------------- - | Default Cloud Filesystem Disk - |-------------------------------------------------------------------------- - | - | Many applications store files both locally and in the cloud. For this - | reason, you may specify a default "cloud" driver here. This driver - | will be bound as the Cloud disk implementation in the container. - | - */ - + // This is the filesystem the uploaded files should go to + 'public_files' => 'public', 'cloud' => 's3', - - /* - |-------------------------------------------------------------------------- - | Filesystem Disks - |-------------------------------------------------------------------------- - | - | Here you may configure as many filesystem "disks" as you wish, and you - | may even configure multiple disks of the same driver. Defaults have - | been setup for each driver as an example of the required options. - | - */ - 'disks' => [ 'local' => [ @@ -50,7 +15,8 @@ return [ 'public' => [ 'driver' => 'local', - 'root' => storage_path('app/public'), + 'root' => public_path('uploads'), + 'url' => '/uploads', 'visibility' => 'public', ], @@ -61,7 +27,5 @@ return [ 'region' => 'your-region', 'bucket' => 'your-bucket', ], - ], - ]; diff --git a/config/gamp.php b/config/gamp.php index 668f3809..4979b8f8 100644 --- a/config/gamp.php +++ b/config/gamp.php @@ -1,10 +1,10 @@ 'UA-100567975-1', + 'tracking_id' => 'UA-100567975-1', 'protocol_version' => 1, - 'is_ssl' => false, - 'is_disabled' => false, - 'anonymize_ip' => false, - 'async_requests' => false, + 'is_ssl' => false, + 'is_disabled' => false, + 'anonymize_ip' => false, + 'async_requests' => false, ]; diff --git a/config/gravatar.php b/config/gravatar.php index 2b3c1090..bd504671 100644 --- a/config/gravatar.php +++ b/config/gravatar.php @@ -4,6 +4,6 @@ */ return [ - 'url' => 'https://www.gravatar.com/avatar/', + 'url' => 'https://www.gravatar.com/avatar/', 'default' => 'https://en.gravatar.com/userimage/12856995/aa6c0527a723abfd5fb9e246f0ff8af4.png', ]; diff --git a/config/ide-helper.php b/config/ide-helper.php index e5759234..307a0fdd 100644 --- a/config/ide-helper.php +++ b/config/ide-helper.php @@ -1,4 +1,4 @@ - array( - 'app', + //'app/Models', ), @@ -71,7 +71,7 @@ return array( 'emergency' => 'Monolog\Logger::addEmergency', ) ), - + /* |-------------------------------------------------------------------------- | Interface implementations @@ -81,7 +81,7 @@ return array( | are detected by the helpers, others can be listed below. | */ - + 'interfaces' => array( ), diff --git a/config/installer.php b/config/installer.php new file mode 100644 index 00000000..743eab58 --- /dev/null +++ b/config/installer.php @@ -0,0 +1,10 @@ + [ + # You can change this to a lower version, the lowest + # can be 7.0. However, there's no guarantee that things + # will work properly. Change at your peril! + 'version' => '7.1.3' + ] +]; diff --git a/config/laravel-widgets.php b/config/laravel-widgets.php index 38d0f2ea..108a50aa 100644 --- a/config/laravel-widgets.php +++ b/config/laravel-widgets.php @@ -1,22 +1,15 @@ 'App\Widgets', + 'default_namespace' => 'App\Widgets', - 'use_jquery_for_ajax_calls' => false, + 'use_jquery_for_ajax_calls' => true, /* * Set Ajax widget middleware */ 'route_middleware' => [], - /* - * Relative path from the base directory to a regular widget stub. - */ - 'widget_stub' => 'vendor/arrilot/laravel-widgets/src/Console/stubs/widget.stub', - - /* - * Relative path from the base directory to a plain widget stub. - */ - 'widget_plain_stub' => 'vendor/arrilot/laravel-widgets/src/Console/stubs/widget_plain.stub', + 'widget_stub' => 'resources/stubs/widgets/widget.stub', + 'widget_plain_stub' => 'resources/stubs/widgets/widget_plain.stub', ]; diff --git a/config/logging.php b/config/logging.php index b42babb7..288b2a00 100644 --- a/config/logging.php +++ b/config/logging.php @@ -28,7 +28,17 @@ return [ 'channels' => [ 'stack' => [ 'driver' => 'stack', - 'channels' => ['daily'], + 'channels' => [ + 'daily', + # PHP_SAPI === 'cli' ? 'console' : 'daily', + ], + ], + 'cron' => [ + 'driver' => 'stack', + 'channels' => [ + 'cron_rotating', + 'stdout', + ], ], 'single' => [ 'driver' => 'single', @@ -41,6 +51,12 @@ return [ 'level' => 'debug', 'days' => 3, ], + 'cron_rotating' => [ + 'driver' => 'daily', + 'path' => storage_path('logs/cron.log'), + 'level' => 'debug', + 'days' => 3, + ], 'slack' => [ 'driver' => 'slack', 'url' => env('LOG_SLACK_WEBHOOK_URL'), @@ -48,6 +64,10 @@ return [ 'emoji' => ':boom:', 'level' => 'critical', ], + 'stdout' => [ + 'driver' => 'custom', + 'via' => \App\Console\Logger::class, + ], 'syslog' => [ 'driver' => 'syslog', 'level' => 'debug', diff --git a/config/map.php b/config/map.php new file mode 100644 index 00000000..3c4e8961 --- /dev/null +++ b/config/map.php @@ -0,0 +1,16 @@ + [ + 'url' => 'https://ogcie.iblsoft.com/observations?', + 'params' => [ + 'layers' => 'metar' + ], + ], +]; diff --git a/config/modules.php b/config/modules.php index 6e66ce66..1929a665 100644 --- a/config/modules.php +++ b/config/modules.php @@ -2,39 +2,39 @@ return [ 'namespace' => 'Modules', - 'stubs' => [ - 'enabled' => true, - 'path' => resource_path() . '/stubs/modules', - 'files' => [ - 'routes' => 'Http/Routes/web.php', - 'routes-api' => 'Http/Routes/api.php', - 'routes-admin' => 'Http/Routes/admin.php', + 'stubs' => [ + 'enabled' => true, + 'path' => resource_path().'/stubs/modules', + 'files' => [ + 'routes' => 'Http/Routes/web.php', + 'routes-api' => 'Http/Routes/api.php', + 'routes-admin' => 'Http/Routes/admin.php', 'event-service-provider' => 'Providers/EventServiceProvider.php', - 'views/index' => 'Resources/views/index.blade.php', - 'views/index-admin' => 'Resources/views/admin/index.blade.php', - 'views/frontend' => 'Resources/views/layouts/frontend.blade.php', - 'views/admin' => 'Resources/views/layouts/admin.blade.php', - 'listener-test' => 'Listeners/TestEventListener.php', - 'controller-api' => 'Http/Controllers/Api/SampleController.php', - 'controller-admin' => 'Http/Controllers/Admin/AdminController.php', - 'scaffold/config' => 'Config/config.php', - 'composer' => 'composer.json', + 'views/index' => 'Resources/views/index.blade.php', + 'views/index-admin' => 'Resources/views/admin/index.blade.php', + 'views/frontend' => 'Resources/views/layouts/frontend.blade.php', + 'views/admin' => 'Resources/views/layouts/admin.blade.php', + 'listener-test' => 'Listeners/TestEventListener.php', + 'controller-api' => 'Http/Controllers/Api/SampleController.php', + 'controller-admin' => 'Http/Controllers/Admin/AdminController.php', + 'scaffold/config' => 'Config/config.php', + 'composer' => 'composer.json', ], 'replacements' => [ - 'start' => ['LOWER_NAME', 'ROUTES_LOCATION'], - 'routes' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'], - 'routes-api' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'], - 'json' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'], + 'start' => ['LOWER_NAME', 'ROUTES_LOCATION'], + 'routes' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'], + 'routes-api' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'], + 'json' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'], 'event-service-provider' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'], - 'listener-test' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'], - 'views/index' => ['LOWER_NAME'], - 'views/index-admin' => ['LOWER_NAME', 'STUDLY_NAME'], - 'views/frontend' => ['STUDLY_NAME'], - 'views/admin' => ['STUDLY_NAME'], - 'controller-admin' => ['MODULE_NAMESPACE', 'STUDLY_NAME', 'CLASS_NAMESPACE', 'LOWER_NAME'], - 'controller-api' => ['MODULE_NAMESPACE', 'STUDLY_NAME', 'CLASS_NAMESPACE', 'LOWER_NAME'], - 'scaffold/config' => ['STUDLY_NAME'], - 'composer' => [ + 'listener-test' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE'], + 'views/index' => ['LOWER_NAME'], + 'views/index-admin' => ['LOWER_NAME', 'STUDLY_NAME'], + 'views/frontend' => ['STUDLY_NAME'], + 'views/admin' => ['STUDLY_NAME'], + 'controller-admin' => ['MODULE_NAMESPACE', 'STUDLY_NAME', 'CLASS_NAMESPACE', 'LOWER_NAME'], + 'controller-api' => ['MODULE_NAMESPACE', 'STUDLY_NAME', 'CLASS_NAMESPACE', 'LOWER_NAME'], + 'scaffold/config' => ['STUDLY_NAME'], + 'composer' => [ 'LOWER_NAME', 'STUDLY_NAME', 'VENDOR', @@ -43,39 +43,39 @@ return [ 'MODULE_NAMESPACE', ], ], - 'gitkeep' => false, + 'gitkeep' => false, ], - 'paths' => [ - 'modules' => base_path('modules'), - 'assets' => public_path('modules'), + 'paths' => [ + 'modules' => base_path('modules'), + 'assets' => public_path('modules'), 'migration' => base_path('database/migrations'), 'generator' => [ - 'config' => ['path' => 'Config', 'generate' => true], - 'command' => ['path' => 'Console', 'generate' => true], - 'migration' => ['path' => 'Database/migrations', 'generate' => true], - 'seeder' => ['path' => 'Database/seeders', 'generate' => true], - 'factory' => ['path' => 'Database/factories', 'generate' => true], - 'model' => ['path' => 'Models', 'generate' => true], - 'controller' => ['path' => 'Http/Controllers', 'generate' => true], + 'config' => ['path' => 'Config', 'generate' => true], + 'command' => ['path' => 'Console', 'generate' => true], + 'migration' => ['path' => 'Database/migrations', 'generate' => true], + 'seeder' => ['path' => 'Database/seeders', 'generate' => true], + 'factory' => ['path' => 'Database/factories', 'generate' => true], + 'model' => ['path' => 'Models', 'generate' => true], + 'controller' => ['path' => 'Http/Controllers', 'generate' => true], 'controller-admin' => ['path' => 'Http/Controllers/Admin', 'generate' => true], - 'controller-api' => ['path' => 'Http/Controllers/Api', 'generate' => true], - 'filter' => ['path' => 'Http/Middleware', 'generate' => true], - 'request' => ['path' => 'Http/Requests', 'generate' => true], - 'routes' => ['path' => 'Http/Routes', 'generate' => true], - 'provider' => ['path' => 'Providers', 'generate' => true], - 'assets' => ['path' => 'Resources/assets', 'generate' => true], - 'lang' => ['path' => 'Resources/lang', 'generate' => true], - 'views' => ['path' => 'Resources/views', 'generate' => true], - 'test' => ['path' => 'tests', 'generate' => true], - 'repository' => ['path' => 'Repositories', 'generate' => false], - 'event' => ['path' => 'Events', 'generate' => false], - 'listener' => ['path' => 'Listeners', 'generate' => true], - 'policies' => ['path' => 'Policies', 'generate' => false], - 'rules' => ['path' => 'Rules', 'generate' => false], - 'jobs' => ['path' => 'Jobs', 'generate' => false], - 'emails' => ['path' => 'Resources/Emails', 'generate' => false], - 'notifications' => ['path' => 'Notifications', 'generate' => false], - 'resource' => ['path' => 'Models/Transformers', 'generate' => false], + 'controller-api' => ['path' => 'Http/Controllers/Api', 'generate' => true], + 'filter' => ['path' => 'Http/Middleware', 'generate' => true], + 'request' => ['path' => 'Http/Requests', 'generate' => true], + 'routes' => ['path' => 'Http/Routes', 'generate' => true], + 'provider' => ['path' => 'Providers', 'generate' => true], + 'assets' => ['path' => 'Resources/assets', 'generate' => true], + 'lang' => ['path' => 'Resources/lang', 'generate' => true], + 'views' => ['path' => 'Resources/views', 'generate' => true], + 'test' => ['path' => 'tests', 'generate' => true], + 'repository' => ['path' => 'Repositories', 'generate' => false], + 'event' => ['path' => 'Events', 'generate' => false], + 'listener' => ['path' => 'Listeners', 'generate' => true], + 'policies' => ['path' => 'Policies', 'generate' => false], + 'rules' => ['path' => 'Rules', 'generate' => false], + 'jobs' => ['path' => 'Jobs', 'generate' => false], + 'emails' => ['path' => 'Resources/Emails', 'generate' => false], + 'notifications' => ['path' => 'Notifications', 'generate' => false], + 'resource' => ['path' => 'Models/Transformers', 'generate' => false], ], ], /* @@ -90,7 +90,7 @@ return [ 'scan' => [ 'enabled' => false, - 'paths' => [ + 'paths' => [ base_path('vendor/*/*'), ], ], @@ -106,7 +106,7 @@ return [ 'composer' => [ 'vendor' => '', 'author' => [ - 'name' => '', + 'name' => '', 'email' => '', ], ], @@ -118,9 +118,9 @@ return [ | Here is the config for setting up caching feature. | */ - 'cache' => [ - 'enabled' => true, - 'key' => 'phpvms-modules', + 'cache' => [ + 'enabled' => true, + 'key' => 'phpvms-modules', 'lifetime' => 60, ], /* diff --git a/config/money.php b/config/money.php new file mode 100644 index 00000000..f00de574 --- /dev/null +++ b/config/money.php @@ -0,0 +1,1808 @@ + [ + 'name' => 'UAE Dirham', + 'code' => 784, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'د.إ', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'AFN' => [ + 'name' => 'Afghani', + 'code' => 971, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '؋', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'ALL' => [ + 'name' => 'Lek', + 'code' => 8, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'L', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'AMD' => [ + 'name' => 'Armenian Dram', + 'code' => 51, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'դր.', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'ANG' => [ + 'name' => 'Netherlands Antillean Guilder', + 'code' => 532, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'ƒ', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'AOA' => [ + 'name' => 'Kwanza', + 'code' => 973, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Kz', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'ARS' => [ + 'name' => 'Argentine Peso', + 'code' => 32, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'AUD' => [ + 'name' => 'Australian Dollar', + 'code' => 36, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ' ', + ], + + 'AWG' => [ + 'name' => 'Aruban Florin', + 'code' => 533, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'ƒ', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'AZN' => [ + 'name' => 'Azerbaijanian Manat', + 'code' => 944, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₼', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BAM' => [ + 'name' => 'Convertible Mark', + 'code' => 977, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'КМ', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BBD' => [ + 'name' => 'Barbados Dollar', + 'code' => 52, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BDT' => [ + 'name' => 'Taka', + 'code' => 50, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '৳', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BGN' => [ + 'name' => 'Bulgarian Lev', + 'code' => 975, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'лв', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BHD' => [ + 'name' => 'Bahraini Dinar', + 'code' => 48, + 'precision' => 3, + 'subunit' => 1000, + 'symbol' => 'ب.د', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BIF' => [ + 'name' => 'Burundi Franc', + 'code' => 108, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'Fr', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BMD' => [ + 'name' => 'Bermudian Dollar', + 'code' => 60, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BND' => [ + 'name' => 'Brunei Dollar', + 'code' => 96, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BOB' => [ + 'name' => 'Boliviano', + 'code' => 68, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Bs.', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BOV' => [ + 'name' => 'Mvdol', + 'code' => 984, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Bs.', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BRL' => [ + 'name' => 'Brazilian Real', + 'code' => 986, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'R$', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'BSD' => [ + 'name' => 'Bahamian Dollar', + 'code' => 44, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BTN' => [ + 'name' => 'Ngultrum', + 'code' => 64, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Nu.', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BWP' => [ + 'name' => 'Pula', + 'code' => 72, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'P', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'BYR' => [ + 'name' => 'Belarussian Ruble', + 'code' => 974, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'Br', + 'symbol_first' => false, + 'decimal_mark' => ',', + 'thousands_separator' => ' ', + ], + + 'BZD' => [ + 'name' => 'Belize Dollar', + 'code' => 84, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'CAD' => [ + 'name' => 'Canadian Dollar', + 'code' => 124, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'CDF' => [ + 'name' => 'Congolese Franc', + 'code' => 976, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Fr', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'CHF' => [ + 'name' => 'Swiss Franc', + 'code' => 756, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'CHF', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'CLF' => [ + 'name' => 'Unidades de fomento', + 'code' => 990, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'UF', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'CLP' => [ + 'name' => 'Chilean Peso', + 'code' => 152, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'CNY' => [ + 'name' => 'Yuan Renminbi', + 'code' => 156, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '¥', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'COP' => [ + 'name' => 'Colombian Peso', + 'code' => 170, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'CRC' => [ + 'name' => 'Costa Rican Colon', + 'code' => 188, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₡', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'CUC' => [ + 'name' => 'Peso Convertible', + 'code' => 931, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'CUP' => [ + 'name' => 'Cuban Peso', + 'code' => 192, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'CVE' => [ + 'name' => 'Cape Verde Escudo', + 'code' => 132, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'CZK' => [ + 'name' => 'Czech Koruna', + 'code' => 203, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Kč', + 'symbol_first' => false, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'DJF' => [ + 'name' => 'Djibouti Franc', + 'code' => 262, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'Fdj', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'DKK' => [ + 'name' => 'Danish Krone', + 'code' => 208, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'kr', + 'symbol_first' => false, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'DOP' => [ + 'name' => 'Dominican Peso', + 'code' => 214, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'DZD' => [ + 'name' => 'Algerian Dinar', + 'code' => 12, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'د.ج', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'EGP' => [ + 'name' => 'Egyptian Pound', + 'code' => 818, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'ج.م', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'ERN' => [ + 'name' => 'Nakfa', + 'code' => 232, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Nfk', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'ETB' => [ + 'name' => 'Ethiopian Birr', + 'code' => 230, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Br', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'EUR' => [ + 'name' => 'Euro', + 'code' => 978, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '€', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'FJD' => [ + 'name' => 'Fiji Dollar', + 'code' => 242, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'FKP' => [ + 'name' => 'Falkland Islands Pound', + 'code' => 238, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '£', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'GBP' => [ + 'name' => 'Pound Sterling', + 'code' => 826, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '£', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'GEL' => [ + 'name' => 'Lari', + 'code' => 981, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'ლ', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'GHS' => [ + 'name' => 'Ghana Cedi', + 'code' => 936, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₵', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'GIP' => [ + 'name' => 'Gibraltar Pound', + 'code' => 292, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '£', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'GMD' => [ + 'name' => 'Dalasi', + 'code' => 270, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'D', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'GNF' => [ + 'name' => 'Guinea Franc', + 'code' => 324, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'Fr', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'GTQ' => [ + 'name' => 'Quetzal', + 'code' => 320, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Q', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'GYD' => [ + 'name' => 'Guyana Dollar', + 'code' => 328, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'HKD' => [ + 'name' => 'Hong Kong Dollar', + 'code' => 344, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'HNL' => [ + 'name' => 'Lempira', + 'code' => 340, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'L', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'HRK' => [ + 'name' => 'Croatian Kuna', + 'code' => 191, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'kn', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'HTG' => [ + 'name' => 'Gourde', + 'code' => 332, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'G', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'HUF' => [ + 'name' => 'Forint', + 'code' => 348, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Ft', + 'symbol_first' => false, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'IDR' => [ + 'name' => 'Rupiah', + 'code' => 360, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Rp', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'ILS' => [ + 'name' => 'New Israeli Sheqel', + 'code' => 376, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₪', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'INR' => [ + 'name' => 'Indian Rupee', + 'code' => 356, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₹', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'IQD' => [ + 'name' => 'Iraqi Dinar', + 'code' => 368, + 'precision' => 3, + 'subunit' => 1000, + 'symbol' => 'ع.د', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'IRR' => [ + 'name' => 'Iranian Rial', + 'code' => 364, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '﷼', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'ISK' => [ + 'name' => 'Iceland Krona', + 'code' => 352, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'kr', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'JMD' => [ + 'name' => 'Jamaican Dollar', + 'code' => 388, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'JOD' => [ + 'name' => 'Jordanian Dinar', + 'code' => 400, + 'precision' => 3, + 'subunit' => 100, + 'symbol' => 'د.ا', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'JPY' => [ + 'name' => 'Yen', + 'code' => 392, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => '¥', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'KES' => [ + 'name' => 'Kenyan Shilling', + 'code' => 404, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'KSh', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'KGS' => [ + 'name' => 'Som', + 'code' => 417, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'som', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'KHR' => [ + 'name' => 'Riel', + 'code' => 116, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '៛', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'KMF' => [ + 'name' => 'Comoro Franc', + 'code' => 174, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'Fr', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'KPW' => [ + 'name' => 'North Korean Won', + 'code' => 408, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₩', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'KRW' => [ + 'name' => 'Won', + 'code' => 410, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => '₩', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'KWD' => [ + 'name' => 'Kuwaiti Dinar', + 'code' => 414, + 'precision' => 3, + 'subunit' => 1000, + 'symbol' => 'د.ك', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'KYD' => [ + 'name' => 'Cayman Islands Dollar', + 'code' => 136, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'KZT' => [ + 'name' => 'Tenge', + 'code' => 398, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '〒', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'LAK' => [ + 'name' => 'Kip', + 'code' => 418, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₭', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'LBP' => [ + 'name' => 'Lebanese Pound', + 'code' => 422, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'ل.ل', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'LKR' => [ + 'name' => 'Sri Lanka Rupee', + 'code' => 144, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₨', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'LRD' => [ + 'name' => 'Liberian Dollar', + 'code' => 430, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'LSL' => [ + 'name' => 'Loti', + 'code' => 426, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'L', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'LTL' => [ + 'name' => 'Lithuanian Litas', + 'code' => 440, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Lt', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'LVL' => [ + 'name' => 'Latvian Lats', + 'code' => 428, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Ls', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'LYD' => [ + 'name' => 'Libyan Dinar', + 'code' => 434, + 'precision' => 3, + 'subunit' => 1000, + 'symbol' => 'ل.د', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MAD' => [ + 'name' => 'Moroccan Dirham', + 'code' => 504, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'د.م.', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MDL' => [ + 'name' => 'Moldovan Leu', + 'code' => 498, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'L', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MGA' => [ + 'name' => 'Malagasy Ariary', + 'code' => 969, + 'precision' => 2, + 'subunit' => 5, + 'symbol' => 'Ar', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MKD' => [ + 'name' => 'Denar', + 'code' => 807, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'ден', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MMK' => [ + 'name' => 'Kyat', + 'code' => 104, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'K', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MNT' => [ + 'name' => 'Tugrik', + 'code' => 496, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₮', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MOP' => [ + 'name' => 'Pataca', + 'code' => 446, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'P', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MRO' => [ + 'name' => 'Ouguiya', + 'code' => 478, + 'precision' => 2, + 'subunit' => 5, + 'symbol' => 'UM', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MUR' => [ + 'name' => 'Mauritius Rupee', + 'code' => 480, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₨', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MVR' => [ + 'name' => 'Rufiyaa', + 'code' => 462, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'MVR', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MWK' => [ + 'name' => 'Kwacha', + 'code' => 454, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'MK', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MXN' => [ + 'name' => 'Mexican Peso', + 'code' => 484, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MYR' => [ + 'name' => 'Malaysian Ringgit', + 'code' => 458, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'RM', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'MZN' => [ + 'name' => 'Mozambique Metical', + 'code' => 943, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'MTn', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'NAD' => [ + 'name' => 'Namibia Dollar', + 'code' => 516, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'NGN' => [ + 'name' => 'Naira', + 'code' => 566, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₦', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'NIO' => [ + 'name' => 'Cordoba Oro', + 'code' => 558, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'C$', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'NOK' => [ + 'name' => 'Norwegian Krone', + 'code' => 578, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'kr', + 'symbol_first' => false, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'NPR' => [ + 'name' => 'Nepalese Rupee', + 'code' => 524, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₨', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'NZD' => [ + 'name' => 'New Zealand Dollar', + 'code' => 554, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'OMR' => [ + 'name' => 'Rial Omani', + 'code' => 512, + 'precision' => 3, + 'subunit' => 1000, + 'symbol' => 'ر.ع.', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'PAB' => [ + 'name' => 'Balboa', + 'code' => 590, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'B/.', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'PEN' => [ + 'name' => 'Nuevo Sol', + 'code' => 604, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'S/.', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'PGK' => [ + 'name' => 'Kina', + 'code' => 598, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'K', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'PHP' => [ + 'name' => 'Philippine Peso', + 'code' => 608, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₱', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'PKR' => [ + 'name' => 'Pakistan Rupee', + 'code' => 586, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₨', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'PLN' => [ + 'name' => 'Zloty', + 'code' => 985, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'zł', + 'symbol_first' => false, + 'decimal_mark' => ',', + 'thousands_separator' => ' ', + ], + + 'PYG' => [ + 'name' => 'Guarani', + 'code' => 600, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => '₲', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'QAR' => [ + 'name' => 'Qatari Rial', + 'code' => 634, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'ر.ق', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'RON' => [ + 'name' => 'New Romanian Leu', + 'code' => 946, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Lei', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'RSD' => [ + 'name' => 'Serbian Dinar', + 'code' => 941, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'РСД', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'RUB' => [ + 'name' => 'Russian Ruble', + 'code' => 643, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₽', + 'symbol_first' => false, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'RWF' => [ + 'name' => 'Rwanda Franc', + 'code' => 646, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'FRw', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SAR' => [ + 'name' => 'Saudi Riyal', + 'code' => 682, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'ر.س', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SBD' => [ + 'name' => 'Solomon Islands Dollar', + 'code' => 90, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SCR' => [ + 'name' => 'Seychelles Rupee', + 'code' => 690, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₨', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SDG' => [ + 'name' => 'Sudanese Pound', + 'code' => 938, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '£', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SEK' => [ + 'name' => 'Swedish Krona', + 'code' => 752, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'kr', + 'symbol_first' => false, + 'decimal_mark' => ',', + 'thousands_separator' => ' ', + ], + + 'SGD' => [ + 'name' => 'Singapore Dollar', + 'code' => 702, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SHP' => [ + 'name' => 'Saint Helena Pound', + 'code' => 654, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '£', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SLL' => [ + 'name' => 'Leone', + 'code' => 694, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Le', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SOS' => [ + 'name' => 'Somali Shilling', + 'code' => 706, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Sh', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SRD' => [ + 'name' => 'Surinam Dollar', + 'code' => 968, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SSP' => [ + 'name' => 'South Sudanese Pound', + 'code' => 728, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '£', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'STD' => [ + 'name' => 'Dobra', + 'code' => 678, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Db', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SVC' => [ + 'name' => 'El Salvador Colon', + 'code' => 222, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₡', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SYP' => [ + 'name' => 'Syrian Pound', + 'code' => 760, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '£S', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'SZL' => [ + 'name' => 'Lilangeni', + 'code' => 748, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'E', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'THB' => [ + 'name' => 'Baht', + 'code' => 764, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '฿', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'TJS' => [ + 'name' => 'Somoni', + 'code' => 972, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'ЅМ', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'TMT' => [ + 'name' => 'Turkmenistan New Manat', + 'code' => 934, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'T', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'TND' => [ + 'name' => 'Tunisian Dinar', + 'code' => 788, + 'precision' => 3, + 'subunit' => 1000, + 'symbol' => 'د.ت', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'TOP' => [ + 'name' => 'Pa’anga', + 'code' => 776, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'T$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'TRY' => [ + 'name' => 'Turkish Lira', + 'code' => 949, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₺', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'TTD' => [ + 'name' => 'Trinidad and Tobago Dollar', + 'code' => 780, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'TWD' => [ + 'name' => 'New Taiwan Dollar', + 'code' => 901, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'TZS' => [ + 'name' => 'Tanzanian Shilling', + 'code' => 834, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Sh', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'UAH' => [ + 'name' => 'Hryvnia', + 'code' => 980, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '₴', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'UGX' => [ + 'name' => 'Uganda Shilling', + 'code' => 800, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'USh', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'USD' => [ + 'name' => 'US Dollar', + 'code' => 840, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'UYU' => [ + 'name' => 'Peso Uruguayo', + 'code' => 858, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'UZS' => [ + 'name' => 'Uzbekistan Sum', + 'code' => 860, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => null, + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'VEF' => [ + 'name' => 'Bolivar', + 'code' => 937, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'Bs F', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'VND' => [ + 'name' => 'Dong', + 'code' => 704, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => '₫', + 'symbol_first' => true, + 'decimal_mark' => ',', + 'thousands_separator' => '.', + ], + + 'VUV' => [ + 'name' => 'Vatu', + 'code' => 548, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'Vt', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'WST' => [ + 'name' => 'Tala', + 'code' => 882, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'T', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'XAF' => [ + 'name' => 'CFA Franc BEAC', + 'code' => 950, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'Fr', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'XAG' => [ + 'name' => 'Silver', + 'code' => 961, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'oz t', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'XAU' => [ + 'name' => 'Gold', + 'code' => 959, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'oz t', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'XCD' => [ + 'name' => 'East Caribbean Dollar', + 'code' => 951, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'XDR' => [ + 'name' => 'SDR (Special Drawing Right)', + 'code' => 960, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'SDR', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'XOF' => [ + 'name' => 'CFA Franc BCEAO', + 'code' => 952, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'Fr', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'XPF' => [ + 'name' => 'CFP Franc', + 'code' => 953, + 'precision' => 0, + 'subunit' => 1, + 'symbol' => 'Fr', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'YER' => [ + 'name' => 'Yemeni Rial', + 'code' => 886, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '﷼', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'ZAR' => [ + 'name' => 'Rand', + 'code' => 710, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'R', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'ZMW' => [ + 'name' => 'Zambian Kwacha', + 'code' => 967, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => 'ZK', + 'symbol_first' => false, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], + + 'ZWL' => [ + 'name' => 'Zimbabwe Dollar', + 'code' => 932, + 'precision' => 2, + 'subunit' => 100, + 'symbol' => '$', + 'symbol_first' => true, + 'decimal_mark' => '.', + 'thousands_separator' => ',', + ], +]; diff --git a/config/phpvms.php b/config/phpvms.php index 85125210..681ea0f5 100644 --- a/config/phpvms.php +++ b/config/phpvms.php @@ -17,9 +17,18 @@ return [ 'installed' => env('PHPVMS_INSTALLED', false), /** - * The skin to use for the front-end + * The ISO "Currency Code" to use, the list is in config/money.php + * + * Note, do not change this after you've set it, unless you don't + * care that the currencies aren't "exchanged" into the new format */ - 'skin' => env('APP_SKIN', 'default'), + 'currency' => 'USD', + + /** + * Point to the class to use to retrieve the METAR string. If this + * goes inactive at some date, it can be replaced + */ + 'metar' => App\Services\Metar\AviationWeather::class, /** * Your vaCentral API key @@ -31,12 +40,6 @@ return [ */ 'vacentral_api_url' => 'https://api.vacentral.net', - /** - * For METAR features, register for an API key at - * https://www.checkwx.com - */ - 'checkwx_api_key' => env('CHECKWX_API_KEY', false), - /** * Misc Settings */ diff --git a/config/themes.php b/config/themes.php new file mode 100644 index 00000000..a14372ba --- /dev/null +++ b/config/themes.php @@ -0,0 +1,68 @@ + resource_path('views/layouts'), // eg: base_path('resources/themes') + 'asset_not_found' => 'LOG_ERROR', + 'default' => 'default', + 'cache' => true, + + /* + |-------------------------------------------------------------------------- + | Define available themes. Format: + | + | 'theme-name' => [ + | 'extends' => 'theme-to-extend', // optional + | 'views-path' => 'path-to-views', // defaults to: resources/views/theme-name + | 'asset-path' => 'path-to-assets', // defaults to: public/theme-name + | + | // You can add your own custom keys + | // Use Theme::getSetting('key') & Theme::setSetting('key', 'value') to access them + | 'key' => 'value', + | ], + | + |-------------------------------------------------------------------------- + */ + + 'themes' => [ + + 'default' => [ + 'extends' => 'false' + ], + + // Add your themes here. These settings will override theme.json settings defined for each theme + + /* + |---------------------------[ Example Structure ]-------------------------- + | + | // Full theme Syntax: + | + | 'example1' => [ + | 'extends' => null, // doesn't extend any theme + | 'views-path' => example, // = resources/views/example_theme + | 'asset-path' => example, // = public/example_theme + | ], + | + | // Use all Defaults: + | + | 'example2', // Assets =\public\example2, Views =\resources\views\example2 + | // Note that if you use all default values, you can omit declaration completely. + | // i.e. defaults will be used when you call Theme::set('undefined-theme') + | + | + | // This theme shares the views with example2 but defines its own assets in \public\example3 + | + | 'example3' => [ + | 'views-path' => 'example', + | ], + | + | // This theme extends example1 and may override SOME views\assets in its own paths + | + | 'example4' => [ + | 'extends' => 'example1', + | ], + | + |-------------------------------------------------------------------------- + */ + ], + +]; diff --git a/config/vacentral.php b/config/vacentral.php new file mode 100644 index 00000000..d07e525d --- /dev/null +++ b/config/vacentral.php @@ -0,0 +1,16 @@ + env('VACENTRAL_API_KEY', ''), + + /** + * vaCentral API URL. You likely don't need to change this + */ + 'api_url' => 'https://api.vacentral.net', +]; diff --git a/modules/Installer/Config/config.php b/modules/Installer/Config/config.php index b71ad2f5..84c8c16d 100644 --- a/modules/Installer/Config/config.php +++ b/modules/Installer/Config/config.php @@ -10,13 +10,14 @@ return [ 'pdo', 'mbstring', 'tokenizer', - 'JSON', - 'cURL', + 'json', + 'curl', ], # Make sure these are writable 'permissions' => [ 'bootstrap/cache', + 'public/uploads', 'storage', 'storage/app/public', 'storage/framework', diff --git a/modules/Installer/Http/Controllers/InstallerController.php b/modules/Installer/Http/Controllers/InstallerController.php index 5da69056..6d1f35d9 100644 --- a/modules/Installer/Http/Controllers/InstallerController.php +++ b/modules/Installer/Http/Controllers/InstallerController.php @@ -2,39 +2,48 @@ namespace Modules\Installer\Http\Controllers; -use App\Support\Countries; -use Log; -use Illuminate\Http\Request; -use Illuminate\Support\Facades\Hash; -use Illuminate\Database\QueryException; -use Illuminate\Support\Facades\Validator; - -use App\Models\User; - -use App\Repositories\AirlineRepository; use App\Facades\Utils; +use App\Interfaces\Controller; +use App\Models\User; +use App\Repositories\AirlineRepository; use App\Services\AnalyticsService; use App\Services\UserService; - -use App\Http\Controllers\Controller; - -use Modules\Installer\Services\DatabaseService; +use App\Support\Countries; +use Illuminate\Database\QueryException; +use Illuminate\Http\Request; +use Illuminate\Support\Facades\Hash; +use Illuminate\Support\Facades\Validator; +use Log; use Modules\Installer\Services\ConfigService; +use Modules\Installer\Services\DatabaseService; use Modules\Installer\Services\MigrationService; use Modules\Installer\Services\RequirementsService; - use Symfony\Component\HttpFoundation\File\Exception\FileException; +/** + * Class InstallerController + * @package Modules\Installer\Http\Controllers + */ class InstallerController extends Controller { - protected $airlineRepo, - $analyticsSvc, - $dbService, - $envService, - $migrationSvc, - $reqService, - $userService; + private $airlineRepo, + $analyticsSvc, + $dbService, + $envService, + $migrationSvc, + $reqService, + $userService; + /** + * InstallerController constructor. + * @param AirlineRepository $airlineRepo + * @param AnalyticsService $analyticsSvc + * @param DatabaseService $dbService + * @param ConfigService $envService + * @param MigrationService $migrationSvc + * @param RequirementsService $reqService + * @param UserService $userService + */ public function __construct( AirlineRepository $airlineRepo, AnalyticsService $analyticsSvc, @@ -158,12 +167,18 @@ class InstallerController extends Controller */ public function envsetup(Request $request) { - Log::info('ENV setup', $request->post()); + $log_str = $request->post(); + $log_str['db_pass'] = ''; + + Log::info('ENV setup', $log_str); // Before writing out the env file, test the DB credentials try { $this->testDb($request); } catch (\Exception $e) { + Log::error('Testing db before writing configs failed'); + Log::error($e->getMessage()); + flash()->error($e->getMessage()); return redirect(route('installer.step2'))->withInput(); } @@ -189,6 +204,9 @@ class InstallerController extends Controller try { $this->envService->createConfigFiles($attrs); } catch(FileException $e) { + Log::error('Config files failed to write'); + Log::error($e->getMessage()); + flash()->error($e->getMessage()); return redirect(route('installer.step2'))->withInput(); } @@ -211,6 +229,9 @@ class InstallerController extends Controller $console_out .= $this->dbService->setupDB(); $console_out .= $this->migrationSvc->runAllMigrations(); } catch(QueryException $e) { + Log::error('Error on db setup: ' . $e->getMessage()); + + $this->envService->removeConfigFiles(); flash()->error($e->getMessage()); return redirect(route('installer.step2'))->withInput(); } diff --git a/modules/Installer/Http/Controllers/UpdaterController.php b/modules/Installer/Http/Controllers/UpdaterController.php index b9a949ae..a56271f8 100644 --- a/modules/Installer/Http/Controllers/UpdaterController.php +++ b/modules/Installer/Http/Controllers/UpdaterController.php @@ -2,17 +2,23 @@ namespace Modules\Installer\Http\Controllers; -use Log; +use App\Interfaces\Controller; use Illuminate\Http\Request; - -use App\Http\Controllers\Controller; - +use Log; use Modules\Installer\Services\MigrationService; +/** + * Class UpdaterController + * @package Modules\Installer\Http\Controllers + */ class UpdaterController extends Controller { - protected $migrationSvc; + private $migrationSvc; + /** + * UpdaterController constructor. + * @param MigrationService $migrationSvc + */ public function __construct( MigrationService $migrationSvc ) { diff --git a/modules/Installer/Providers/InstallerServiceProvider.php b/modules/Installer/Providers/InstallerServiceProvider.php index cf7f9e21..ad6f1805 100644 --- a/modules/Installer/Providers/InstallerServiceProvider.php +++ b/modules/Installer/Providers/InstallerServiceProvider.php @@ -2,9 +2,8 @@ namespace Modules\Installer\Providers; -use Illuminate\Support\ServiceProvider; use Illuminate\Database\Eloquent\Factory; -use Nwidart\Modules\Support\Stub; +use Illuminate\Support\ServiceProvider; use Route; @@ -60,7 +59,7 @@ class InstallerServiceProvider extends ServiceProvider { $this->publishes([ __DIR__.'/../Config/config.php' => config_path('installer.php'), - ], 'config'); + ], 'installer'); $this->mergeConfigFrom( __DIR__.'/../Config/config.php', 'installer' diff --git a/modules/Installer/Resources/views/app.blade.php b/modules/Installer/Resources/views/app.blade.php index e148da6c..166fe387 100644 --- a/modules/Installer/Resources/views/app.blade.php +++ b/modules/Installer/Resources/views/app.blade.php @@ -3,22 +3,21 @@ - - + + @yield('title') - installer + + + - + - - - - - - - {{----}} + + + + @@ -42,8 +41,8 @@ @@ -69,9 +68,7 @@ {{----}} - -{{----}} -{{----}} + + @yield('scripts') diff --git a/modules/Installer/Resources/views/errors/already-installed.blade.php b/modules/Installer/Resources/views/errors/already-installed.blade.php index 5977847d..0952813f 100644 --- a/modules/Installer/Resources/views/errors/already-installed.blade.php +++ b/modules/Installer/Resources/views/errors/already-installed.blade.php @@ -3,9 +3,9 @@ @section('content')

phpVMS already installed!

phpVMS has already been installed! Please remove the modules/Installer folder.

- {!! Form::open(['url' => '/', 'method' => 'get']) !!} + {{ Form::open(['url' => '/', 'method' => 'get']) }}

- {!! Form::submit('Go to your site >>', ['class' => 'btn btn-success']) !!} + {{ Form::submit('Go to your site >>', ['class' => 'btn btn-success']) }}

- {!! Form::close() !!} + {{ Form::close() }} @endsection diff --git a/modules/Installer/Resources/views/flash/check_error.blade.php b/modules/Installer/Resources/views/flash/check_error.blade.php index ac154f9c..cc67ffc0 100644 --- a/modules/Installer/Resources/views/flash/check_error.blade.php +++ b/modules/Installer/Resources/views/flash/check_error.blade.php @@ -1,6 +1,6 @@ @if($errors->has($field)) -

{!! $errors->first($field); !!}

+

{{ $errors->first($field) }}

{{----}} @endif diff --git a/modules/Installer/Resources/views/flash/dbtest.blade.php b/modules/Installer/Resources/views/flash/dbtest.blade.php index 710dbec1..70a9694b 100644 --- a/modules/Installer/Resources/views/flash/dbtest.blade.php +++ b/modules/Installer/Resources/views/flash/dbtest.blade.php @@ -1,8 +1,8 @@ - @endforeach diff --git a/modules/Installer/Resources/views/install/index-start.blade.php b/modules/Installer/Resources/views/install/index-start.blade.php index e657f9f6..d1be531c 100644 --- a/modules/Installer/Resources/views/install/index-start.blade.php +++ b/modules/Installer/Resources/views/install/index-start.blade.php @@ -4,9 +4,9 @@ @section('content')

phpvms installer

Press continue to start

- {!! Form::open(['route' => 'installer.step1', 'method' => 'post']) !!} + {{ Form::open(['route' => 'installer.step1', 'method' => 'post']) }}

- {!! Form::submit('Start >>', ['class' => 'btn btn-success']) !!} + {{ Form::submit('Start >>', ['class' => 'btn btn-success']) }}

- {!! Form::close() !!} + {{ Form::close() }} @endsection diff --git a/modules/Installer/Resources/views/install/steps/step1-requirements.blade.php b/modules/Installer/Resources/views/install/steps/step1-requirements.blade.php index d84f6a97..55de0ad7 100644 --- a/modules/Installer/Resources/views/install/steps/step1-requirements.blade.php +++ b/modules/Installer/Resources/views/install/steps/step1-requirements.blade.php @@ -3,11 +3,11 @@ @section('content')
- {!! Form::open(['route' => 'installer.step2', 'method' => 'GET']) !!} + {{ Form::open(['route' => 'installer.step2', 'method' => 'GET']) }} - + @foreach($extensions as $ext) - + @foreach($directories as $dir) - +

php version

PHP Version: {!! $php['version'] !!}PHP Version: {{ $php['version'] }} @if($php['passed'] === true) OK! @@ -20,7 +20,7 @@

php extensions

{!! $ext['ext'] !!}{{ $ext['ext'] }} @if($ext['passed'] === true) OK! @@ -34,7 +34,7 @@

directory permissions

{!! $dir['dir'] !!}{{ $dir['dir'] }} @if($dir['passed'] === true) OK! @@ -47,12 +47,12 @@
@if($passed === true)

- {!! Form::submit('Database Setup >>', ['class' => 'btn btn-success']) !!} + {{ Form::submit('Database Setup >>', ['class' => 'btn btn-success']) }}

@endif - {{--{!! $php_version !!} - {!! $extensions !!} - {!! $passed !!}--}} - {!! Form::close() !!} + {{--{{ $php_version }} + {{ $extensions }} + {{ $passed }}--}} + {{ Form::close() }}
@endsection diff --git a/modules/Installer/Resources/views/install/steps/step2-db.blade.php b/modules/Installer/Resources/views/install/steps/step2-db.blade.php index 2287d108..5de79fed 100644 --- a/modules/Installer/Resources/views/install/steps/step2-db.blade.php +++ b/modules/Installer/Resources/views/install/steps/step2-db.blade.php @@ -2,7 +2,7 @@ @section('title', 'Database Setup') @section('content')
- {!! Form::open(['route' => 'installer.envsetup', 'method' => 'POST']) !!} + {{ Form::open(['route' => 'installer.envsetup', 'method' => 'POST']) }} @@ -13,7 +13,7 @@ @@ -22,7 +22,7 @@ @@ -35,7 +35,7 @@ @@ -45,7 +45,7 @@ @@ -54,7 +54,7 @@ @@ -63,7 +63,7 @@ @@ -72,7 +72,7 @@ @@ -81,14 +81,14 @@ @@ -101,7 +101,7 @@ @@ -110,9 +110,9 @@
Site Name
- {!! Form::input('text', 'site_name', 'phpvms', ['class' => 'form-control']) !!} + {{ Form::input('text', 'site_name', 'phpvms', ['class' => 'form-control']) }}
Site URL
- {!! Form::input('text', 'site_url', Request::root(), ['class' => 'form-control']) !!} + {{ Form::input('text', 'site_url', Request::root(), ['class' => 'form-control']) }}

Select Database Type

- {!! Form::select('db_conn', $db_types, null, ['class' => 'form-control', 'id' => 'db_conn']) !!} + {{ Form::select('db_conn', $db_types, null, ['class' => 'form-control', 'id' => 'db_conn']) }}
Database Host
- {!! Form::input('text', 'db_host', 'localhost', ['class' => 'form-control']) !!} + {{ Form::input('text', 'db_host', '127.0.0.1', ['class' => 'form-control']) }}
Database Port
- {!! Form::input('text', 'db_port', '3306', ['class' => 'form-control']) !!} + {{ Form::input('text', 'db_port', '3306', ['class' => 'form-control']) }}
Database Name
- {!! Form::input('text', 'db_name', 'phpvms', ['class' => 'form-control']) !!} + {{ Form::input('text', 'db_name', 'phpvms', ['class' => 'form-control']) }}
Database User
- {!! Form::input('text', 'db_user', null, ['class' => 'form-control']) !!} + {{ Form::input('text', 'db_user', null, ['class' => 'form-control']) }}
Database Password
- {!! Form::input('text', 'db_pass', null, ['class' => 'form-control']) !!} + {{ Form::input('text', 'db_pass', null, ['class' => 'form-control']) }}
- {!! Form::submit('Test Database Credentials', ['class' => 'btn btn-info', 'id' => 'dbtest_button']) !!} + {{ Form::submit('Test Database Credentials', ['class' => 'btn btn-info', 'id' => 'dbtest_button']) }}
Database Prefix
- {!! Form::input('text', 'db_prefix', '', ['class' => 'form-control']) !!} + {{ Form::input('text', 'db_prefix', '', ['class' => 'form-control']) }}

Set this if you're sharing the database with another application.

- {!! Form::submit('Setup Database >>', ['class' => 'btn btn-success']) !!} + {{ Form::submit('Setup Database >>', ['class' => 'btn btn-success']) }}

- {!! Form::close() !!} + {{ Form::close() }}
@endsection @@ -123,18 +123,20 @@ function changeForm(selected) { $("tbody#" + selected + "_settings").show(); } -$(document).ready(function() { - var selValue = $("#db_conn option:selected").text(); +$(document).ready(() => { + + const selValue = $("#db_conn option:selected").text(); changeForm(selValue); - $("#db_conn").change(function(e) { - var selValue = $("#db_conn option:selected").text(); + $("#db_conn").change((e) => { + const selValue = $("#db_conn option:selected").text(); changeForm(selValue); }); - $("#dbtest_button").click(function(e) { + $("#dbtest_button").click((e) => { e.preventDefault(); - var opts = { + const opts = { + _token: "{{ csrf_token() }}", db_conn: $("#db_conn option:selected").text(), db_host: $("input[name=db_host]").val(), db_port: $("input[name=db_port]").val(), @@ -143,7 +145,7 @@ $(document).ready(function() { db_pass: $("input[name=db_pass]").val(), }; - $.post("{!! route('installer.dbtest') !!}", opts, function(data) { + $.post("{{ route('installer.dbtest') }}", opts, (data) => { $("#dbtest").html(data); }) }) diff --git a/modules/Installer/Resources/views/install/steps/step2a-db_output.blade.php b/modules/Installer/Resources/views/install/steps/step2a-db_output.blade.php index 0daf3405..7a0d8eac 100644 --- a/modules/Installer/Resources/views/install/steps/step2a-db_output.blade.php +++ b/modules/Installer/Resources/views/install/steps/step2a-db_output.blade.php @@ -2,18 +2,18 @@ @section('title', 'Database Setup Completed') @section('content')
- {!! Form::open(['route' => 'installer.step3', 'method' => 'GET']) !!} + {{ Form::open(['route' => 'installer.step3', 'method' => 'GET']) }}
         
         {{----}}
-        {!! $console_output !!}
+        {{ $console_output }}
         
     

- {!! Form::submit('Continue >>', ['class' => 'btn btn-success']) !!} + {{ Form::submit('Continue >>', ['class' => 'btn btn-success']) }}

- {!! Form::close() !!} + {{ Form::close() }}
@endsection diff --git a/modules/Installer/Resources/views/install/steps/step3-user.blade.php b/modules/Installer/Resources/views/install/steps/step3-user.blade.php index 035e1340..643c3189 100644 --- a/modules/Installer/Resources/views/install/steps/step3-user.blade.php +++ b/modules/Installer/Resources/views/install/steps/step3-user.blade.php @@ -4,7 +4,7 @@ @section('content')
- {!! Form::open(['route' => 'installer.usersetup', 'method' => 'POST']) !!} + {{ Form::open(['route' => 'installer.usersetup', 'method' => 'POST']) }} @@ -15,7 +15,7 @@ @@ -25,7 +25,7 @@ @@ -35,7 +35,7 @@ @@ -49,7 +49,7 @@ @@ -59,7 +59,7 @@ @@ -68,7 +68,7 @@ @@ -76,7 +76,7 @@ @@ -90,8 +90,8 @@

Airline ICAO

- {!! Form::input('text', 'airline_icao', null, ['class' => 'form-control']) !!} + {{ Form::input('text', 'airline_icao', null, ['class' => 'form-control']) }} @include('installer::flash/check_error', ['field' => 'airline_icao'])

Airline Name

- {!! Form::input('text', 'airline_name', null, ['class' => 'form-control']) !!} + {{ Form::input('text', 'airline_name', null, ['class' => 'form-control']) }} @include('installer::flash/check_error', ['field' => 'airline_name'])

Airline Country

- {!! Form::select('airline_country', $countries, null, ['class' => 'form-control select2' ]); !!} + {{ Form::select('airline_country', $countries, null, ['class' => 'form-control select2' ]) }} @include('installer::flash/check_error', ['field' => 'airline_country'])

Name

- {!! Form::input('text', 'name', null, ['class' => 'form-control']) !!} + {{ Form::input('text', 'name', null, ['class' => 'form-control']) }} @include('installer::flash/check_error', ['field' => 'name'])

Email

- {!! Form::input('text', 'email', null, ['class' => 'form-control']) !!} + {{ Form::input('text', 'email', null, ['class' => 'form-control']) }} @include('installer::flash/check_error', ['field' => 'email'])

Password

- {!! Form::password('password', ['class' => 'form-control']) !!} + {{ Form::password('password', ['class' => 'form-control']) }} @include('installer::flash/check_error', ['field' => 'password'])

Password Confirm

- {!! Form::password('password_confirmation', ['class' => 'form-control']) !!} + {{ Form::password('password_confirmation', ['class' => 'form-control']) }} @include('installer::flash/check_error', ['field' => 'password_confirmation'])

Analytics

- {!! Form::hidden('analytics', 0) !!} - {!! Form::checkbox('analytics', 1, true, ['class' => 'form-control']) !!} + {{ Form::hidden('analytics', 0) }} + {{ Form::checkbox('analytics', 1, true, ['class' => 'form-control']) }}

Allows collection of analytics. They won't identify you, and helps us to track @@ -105,9 +105,9 @@

- {!! Form::submit('Complete Setup >>', ['class' => 'btn btn-success']) !!} + {{ Form::submit('Complete Setup >>', ['class' => 'btn btn-success']) }}

- {!! Form::close() !!} + {{ Form::close() }}
diff --git a/modules/Installer/Resources/views/install/steps/step3a-completed.blade.php b/modules/Installer/Resources/views/install/steps/step3a-completed.blade.php index 8a20f19f..5a425cbd 100644 --- a/modules/Installer/Resources/views/install/steps/step3a-completed.blade.php +++ b/modules/Installer/Resources/views/install/steps/step3a-completed.blade.php @@ -3,7 +3,7 @@ @section('content')
- {!! Form::open(['route' => 'installer.complete', 'method' => 'GET']) !!} + {{ Form::open(['route' => 'installer.complete', 'method' => 'GET']) }}

Installer Completed!

@@ -11,10 +11,10 @@

Click the button to proceed to the login screen!

- {!! Form::submit('Install Complete! Continue to Log-In >>', + {{ Form::submit('Install Complete! Continue to Log-In >>', ['class' => 'btn btn-success']) - !!} + }}

- {!! Form::close() !!} + {{ Form::close() }}
@endsection diff --git a/modules/Installer/Resources/views/update/index-start.blade.php b/modules/Installer/Resources/views/update/index-start.blade.php index f99964d4..fefb0b7d 100644 --- a/modules/Installer/Resources/views/update/index-start.blade.php +++ b/modules/Installer/Resources/views/update/index-start.blade.php @@ -4,9 +4,9 @@ @section('content')

phpvms updater

Press continue to check if there are any updates available.

- {!! Form::open(['route' => 'update.step1', 'method' => 'post']) !!} + {{ Form::open(['route' => 'update.step1', 'method' => 'post']) }}

- {!! Form::submit('Start >>', ['class' => 'btn btn-success']) !!} + {{ Form::submit('Start >>', ['class' => 'btn btn-success']) }}

- {!! Form::close() !!} + {{ Form::close() }} @endsection diff --git a/modules/Installer/Resources/views/update/steps/step1-no-update.blade.php b/modules/Installer/Resources/views/update/steps/step1-no-update.blade.php index 64384d60..fd636611 100644 --- a/modules/Installer/Resources/views/update/steps/step1-no-update.blade.php +++ b/modules/Installer/Resources/views/update/steps/step1-no-update.blade.php @@ -4,10 +4,10 @@ @section('content')

phpvms updater

It seems like you're up to date!

- {!! Form::open(['route' => 'update.complete', 'method' => 'GET']) !!} + {{ Form::open(['route' => 'update.complete', 'method' => 'GET']) }}

- {!! Form::submit('Complete >>', ['class' => 'btn btn-success']) !!} + {{ Form::submit('Complete >>', ['class' => 'btn btn-success']) }}

- {!! Form::close() !!} + {{ Form::close() }} @endsection diff --git a/modules/Installer/Resources/views/update/steps/step1-update-available.blade.php b/modules/Installer/Resources/views/update/steps/step1-update-available.blade.php index 171e500b..0dc84d2f 100644 --- a/modules/Installer/Resources/views/update/steps/step1-update-available.blade.php +++ b/modules/Installer/Resources/views/update/steps/step1-update-available.blade.php @@ -4,9 +4,9 @@ @section('content')

phpvms updater

Updates have been found, click run to complete the update!.

- {!! Form::open(['route' => 'update.run_migrations', 'method' => 'post']) !!} + {{ Form::open(['route' => 'update.run_migrations', 'method' => 'post']) }}

- {!! Form::submit('Run >>', ['class' => 'btn btn-success']) !!} + {{ Form::submit('Run >>', ['class' => 'btn btn-success']) }}

- {!! Form::close() !!} + {{ Form::close() }} @endsection diff --git a/modules/Installer/Resources/views/update/steps/step2-migrations-done.blade.php b/modules/Installer/Resources/views/update/steps/step2-migrations-done.blade.php index f003c882..540705d4 100644 --- a/modules/Installer/Resources/views/update/steps/step2-migrations-done.blade.php +++ b/modules/Installer/Resources/views/update/steps/step2-migrations-done.blade.php @@ -2,17 +2,17 @@ @section('title', 'Update Completed') @section('content')
- {!! Form::open(['route' => 'update.complete', 'method' => 'GET']) !!} + {{ Form::open(['route' => 'update.complete', 'method' => 'GET']) }}
         
-            {!! $console_output !!}
+            {{ $console_output }}
         
     

- {!! Form::submit('Complete >>', ['class' => 'btn btn-success']) !!} + {{ Form::submit('Complete >>', ['class' => 'btn btn-success']) }}

- {!! Form::close() !!} + {{ Form::close() }}
@endsection diff --git a/modules/Installer/Services/ConfigService.php b/modules/Installer/Services/ConfigService.php index 440953fc..9e0dc9c8 100644 --- a/modules/Installer/Services/ConfigService.php +++ b/modules/Installer/Services/ConfigService.php @@ -2,17 +2,18 @@ namespace Modules\Installer\Services; -use Log; -use PDO; -use Nwidart\Modules\Support\Stub; +use App\Interfaces\Service; use Illuminate\Encryption\Encrypter; +use Log; +use Nwidart\Modules\Support\Stub; +use PDO; use Symfony\Component\HttpFoundation\File\Exception\FileException; /** * Class ConfigService * @package Modules\Installer\Services */ -class ConfigService +class ConfigService extends Service { /** * Create the .env file @@ -158,6 +159,31 @@ class ConfigService return $opts; } + /** + * Remove the config files + */ + public function removeConfigFiles() + { + $env_file = \App::environmentFilePath(); + $config_file = \App::environmentPath().'/config.php'; + + if (file_exists($env_file)) { + try { + unlink($env_file); + } catch (\Exception $e) { + Log::error($e->getMessage()); + } + } + + if(file_exists($config_file)) { + try { + unlink($config_file); + } catch (\Exception $e) { + Log::error($e->getMessage()); + } + } + } + /** * Get the template file name and write it out * @param $opts diff --git a/modules/Installer/Services/DatabaseService.php b/modules/Installer/Services/DatabaseService.php index 178eecd0..7d21c255 100644 --- a/modules/Installer/Services/DatabaseService.php +++ b/modules/Installer/Services/DatabaseService.php @@ -2,19 +2,25 @@ namespace Modules\Installer\Services; +use App\Interfaces\Service; use Log; use PDO; -class DatabaseService { - +class DatabaseService extends Service +{ /** * Check the PHP version that it meets the minimum requirement - * @throws \PDOException + * @param $driver + * @param $host + * @param $port + * @param $name + * @param $user + * @param $pass * @return boolean */ public function checkDbConnection($driver, $host, $port, $name, $user, $pass) { - Log::info('Testing Connection: '.$driver.'::'.$user.':'.$pass.'@'.$host.':'.$port.';'.$name); + Log::info('Testing Connection: '.$driver.'::'.$user.':@'.$host.':'.$port.';'.$name); if($driver === 'mysql') { $dsn = "mysql:host=$host;port=$port;dbname=$name"; @@ -41,6 +47,8 @@ class DatabaseService { /** * Setup the database by running the migration commands + * Only run the setup for sqlite, otherwise, we're assuming + * that the MySQL database has already been created */ public function setupDB() { diff --git a/modules/Installer/Services/MigrationService.php b/modules/Installer/Services/MigrationService.php index e4d07d52..6e6f7b57 100644 --- a/modules/Installer/Services/MigrationService.php +++ b/modules/Installer/Services/MigrationService.php @@ -2,6 +2,7 @@ namespace Modules\Installer\Services; +use App\Interfaces\Service; use Log; use Nwidart\Modules\Facades\Module; @@ -9,7 +10,7 @@ use Nwidart\Modules\Facades\Module; * Class MigrationsService * @package Modules\Installer\Services */ -class MigrationService +class MigrationService extends Service { /** * @return \Illuminate\Database\Migrations\Migrator diff --git a/modules/Installer/Services/RequirementsService.php b/modules/Installer/Services/RequirementsService.php index 4bc310a6..f3bba76b 100644 --- a/modules/Installer/Services/RequirementsService.php +++ b/modules/Installer/Services/RequirementsService.php @@ -3,7 +3,10 @@ namespace Modules\Installer\Services; -class RequirementsService { +use App\Interfaces\Service; + +class RequirementsService extends Service +{ /** * Check the PHP version that it meets the minimum requirement diff --git a/modules/Sample/Awards/SampleAward.php b/modules/Sample/Awards/SampleAward.php new file mode 100644 index 00000000..f31664cf --- /dev/null +++ b/modules/Sample/Awards/SampleAward.php @@ -0,0 +1,26 @@ +user, which holds the current + * user the award is being checked against + * @param null $params Parameters passed in from the UI + * @return bool + */ + public function check($params = null): bool + { + return false; + } +} diff --git a/modules/Sample/Http/Controllers/Admin/AdminController.php b/modules/Sample/Http/Controllers/Admin/AdminController.php index ae17c5c8..7b23b11f 100644 --- a/modules/Sample/Http/Controllers/Admin/AdminController.php +++ b/modules/Sample/Http/Controllers/Admin/AdminController.php @@ -1,11 +1,14 @@ moduleSvc->addFrontendLink('Sample', '/sample', '', $logged_in=true); // Admin links: - $this->moduleSvc->addAdminLink('Sample', '/sample/admin'); + $this->moduleSvc->addAdminLink('Sample', '/admin/sample'); } /** @@ -73,7 +73,7 @@ class SampleServiceProvider extends ServiceProvider */ Route::group([ 'as' => 'sample.', - 'prefix' => 'api/sample/admin', + 'prefix' => 'admin/sample', // If you want a RESTful module, change this to 'api' 'middleware' => ['web', 'role:admin'], 'namespace' => 'Modules\Sample\Http\Controllers\Admin' diff --git a/modules/Sample/Resources/views/admin/create.blade.php b/modules/Sample/Resources/views/admin/create.blade.php new file mode 100644 index 00000000..97403ae4 --- /dev/null +++ b/modules/Sample/Resources/views/admin/create.blade.php @@ -0,0 +1,14 @@ +@extends('sample::layouts.admin') + +@section('title', 'Sample Create') +@section('actions') +@endsection + +@section('content') +
+
+

Create something!

+

Add a form!

+
+
+@endsection diff --git a/modules/Sample/Resources/views/admin/index.blade.php b/modules/Sample/Resources/views/admin/index.blade.php index 62e588c0..50b536cd 100644 --- a/modules/Sample/Resources/views/admin/index.blade.php +++ b/modules/Sample/Resources/views/admin/index.blade.php @@ -3,16 +3,16 @@ @section('title', 'Sample') @section('actions')
  • - + Add New
  • @endsection @section('content')
    -

    Admin Scaffold!

    -

    This view is loaded from module: {!! config('sample.name') !!}

    +

    Admin Scaffold!

    +

    This view is loaded from module: {{ config('sample.name') }}

    @endsection diff --git a/modules/Sample/Resources/views/index.blade.php b/modules/Sample/Resources/views/index.blade.php index 6198e2fb..a6ef647a 100644 --- a/modules/Sample/Resources/views/index.blade.php +++ b/modules/Sample/Resources/views/index.blade.php @@ -4,6 +4,6 @@

    Hello World

    - This view is loaded from module: {!! config('sample.name') !!} + This view is loaded from module: {{ config('sample.name') }}

    @endsection diff --git a/modules/Sample/Resources/views/layouts/frontend.blade.php b/modules/Sample/Resources/views/layouts/frontend.blade.php index 9340e4f9..86f3a27a 100644 --- a/modules/Sample/Resources/views/layouts/frontend.blade.php +++ b/modules/Sample/Resources/views/layouts/frontend.blade.php @@ -2,4 +2,4 @@ You probably don't want to edit anything here. Just make sure to extend this in your views. It will pass the content section through --}} -@extends('layouts.' . config('phpvms.skin') . '.app') +@extends('app') diff --git a/modules/Sample/composer.json b/modules/Sample/composer.json index 13f9b1ad..e05835a4 100644 --- a/modules/Sample/composer.json +++ b/modules/Sample/composer.json @@ -1,13 +1,7 @@ { - "name": "/sample-module", + "name": "phpvms/sample-module", "type": "laravel-module", "description": "", - "authors": [ - { - "name": "", - "email": "" - } - ], "require": { "joshbrw/laravel-module-installer": "0.1.x" }, diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 0f726a3b..00000000 --- a/package-lock.json +++ /dev/null @@ -1,11233 +0,0 @@ -{ - "requires": true, - "lockfileVersion": 1, - "dependencies": { - "Leaflet.Geodesic": { - "version": "git+https://git@github.com/henrythasler/Leaflet.Geodesic.git#94e27c6a47d6a8e6a3cc73c182c09b9ecbd1180f" - }, - "abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" - }, - "accepts": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.4.tgz", - "integrity": "sha1-hiRnWMfdbSGmR0/whKR0DsBesh8=", - "requires": { - "mime-types": "2.1.17", - "negotiator": "0.6.1" - } - }, - "acorn": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.2.1.tgz", - "integrity": "sha512-jG0u7c4Ly+3QkkW18V+NRDN+4bWHdln30NL1ZL2AvFZZmQe/BfopYCtghCKKVBUSetZ4QKcyA0pY6/4Gw8Pv8w==" - }, - "acorn-dynamic-import": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz", - "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", - "requires": { - "acorn": "4.0.13" - }, - "dependencies": { - "acorn": { - "version": "4.0.13", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", - "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=" - } - } - }, - "adjust-sourcemap-loader": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-1.1.0.tgz", - "integrity": "sha1-QS2SQE62HkETY1ASy6U6M9AI4OI=", - "requires": { - "assert": "1.4.1", - "camelcase": "1.2.1", - "loader-utils": "1.1.0", - "lodash.assign": "4.2.0", - "lodash.defaults": "3.1.2", - "object-path": "0.9.2", - "regex-parser": "2.2.8" - }, - "dependencies": { - "camelcase": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", - "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=" - }, - "lodash.defaults": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-3.1.2.tgz", - "integrity": "sha1-xzCLGNv4vJNy1wGnNJPGEZK9Liw=", - "requires": { - "lodash.assign": "3.2.0", - "lodash.restparam": "3.6.1" - }, - "dependencies": { - "lodash.assign": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-3.2.0.tgz", - "integrity": "sha1-POnwI0tLIiPilrj6CsH+6OvKZPo=", - "requires": { - "lodash._baseassign": "3.2.0", - "lodash._createassigner": "3.1.1", - "lodash.keys": "3.1.2" - } - } - } - } - } - }, - "ajv": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.1.tgz", - "integrity": "sha1-s4u4h22ehr7plJVqBOch6IskjrI=", - "requires": { - "co": "4.6.0", - "fast-deep-equal": "1.0.0", - "fast-json-stable-stringify": "2.0.0", - "json-schema-traverse": "0.3.1" - } - }, - "ajv-keywords": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.1.tgz", - "integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=" - }, - "align-text": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", - "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", - "requires": { - "kind-of": "3.2.2", - "longest": "1.0.1", - "repeat-string": "1.6.1" - } - }, - "almond": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/almond/-/almond-0.3.3.tgz", - "integrity": "sha1-oOfJWsdiTWQXtElLHmi/9pMWiiA=" - }, - "alphanum-sort": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz", - "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=" - }, - "amdefine": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=" - }, - "ansi-html": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", - "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=" - }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" - }, - "ansi-styles": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", - "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", - "requires": { - "color-convert": "1.9.1" - } - }, - "ansicolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.2.1.tgz", - "integrity": "sha1-vgiVmQl7dKXJxKhKDNvNtivYeu8=" - }, - "anymatch": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", - "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", - "requires": { - "micromatch": "2.3.11", - "normalize-path": "2.1.1" - } - }, - "aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" - }, - "archive-type": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/archive-type/-/archive-type-3.2.0.tgz", - "integrity": "sha1-nNnABpV+vpX62tW9YJiUKoE3N/Y=", - "requires": { - "file-type": "3.9.0" - }, - "dependencies": { - "file-type": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", - "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=" - } - } - }, - "are-we-there-yet": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz", - "integrity": "sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0=", - "requires": { - "delegates": "1.0.0", - "readable-stream": "2.3.3" - } - }, - "argparse": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.9.tgz", - "integrity": "sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY=", - "requires": { - "sprintf-js": "1.0.3" - } - }, - "arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "requires": { - "arr-flatten": "1.1.0" - } - }, - "arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha1-NgSLv/TntH4TZkQxbJlmnqWukfE=" - }, - "array-differ": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz", - "integrity": "sha1-7/UuN1gknTO+QCuLuOVkuytdQDE=" - }, - "array-find-index": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=" - }, - "array-flatten": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.1.tgz", - "integrity": "sha1-Qmu52oQJDBg42BLIFQryCoMx4pY=" - }, - "array-includes": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", - "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", - "requires": { - "define-properties": "1.1.2", - "es-abstract": "1.10.0" - } - }, - "array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", - "requires": { - "array-uniq": "1.0.3" - } - }, - "array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=" - }, - "array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=" - }, - "arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", - "dev": true - }, - "asn1": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" - }, - "asn1.js": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.9.2.tgz", - "integrity": "sha512-b/OsSjvWEo8Pi8H0zsDd2P6Uqo2TK2pH8gNLSJtNLM2Db0v2QaAZ0pBQJXVjAn4gBuugeVDr7s63ZogpUIwWDg==", - "requires": { - "bn.js": "4.11.8", - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0" - } - }, - "assert": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", - "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", - "requires": { - "util": "0.10.3" - } - }, - "assert-plus": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", - "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=" - }, - "ast-types": { - "version": "0.9.6", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.9.6.tgz", - "integrity": "sha1-ECyenpAF0+fjgpvwxPok7oYu6bk=" - }, - "async": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", - "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==", - "requires": { - "lodash": "4.17.4" - } - }, - "async-each": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", - "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=" - }, - "async-each-series": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/async-each-series/-/async-each-series-1.1.0.tgz", - "integrity": "sha1-9C/YFV048hpbjqB8KOBj7RcAsTg=" - }, - "async-foreach": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", - "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=" - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "atob": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/atob/-/atob-1.1.3.tgz", - "integrity": "sha1-lfE2KbEsOlGl0hWr3OKqnzL4B3M=" - }, - "autoprefixer": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-7.2.1.tgz", - "integrity": "sha512-lTbsa2X03maxG45xCNh30sJaRKDn8JPnanOeQOW3wvD9yPGmIsf041LHqlrZ1lXPF/1M3yTZKXqqYfmxU69xuQ==", - "requires": { - "browserslist": "2.10.0", - "caniuse-lite": "1.0.30000780", - "normalize-range": "0.1.2", - "num2fraction": "1.2.2", - "postcss": "6.0.14", - "postcss-value-parser": "3.3.0" - } - }, - "aws-sign2": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", - "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=" - }, - "aws4": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz", - "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=" - }, - "axios": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.17.1.tgz", - "integrity": "sha1-LY4+XQvb1zJ/kbyBT1xXZg+Bgk0=", - "requires": { - "follow-redirects": "1.2.6", - "is-buffer": "1.1.6" - } - }, - "babel-code-frame": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", - "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", - "requires": { - "chalk": "1.1.3", - "esutils": "2.0.2", - "js-tokens": "3.0.2" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "babel-core": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.0.tgz", - "integrity": "sha1-rzL3izGm/O8RnIew/Y2XU/A6C7g=", - "requires": { - "babel-code-frame": "6.26.0", - "babel-generator": "6.26.0", - "babel-helpers": "6.24.1", - "babel-messages": "6.23.0", - "babel-register": "6.26.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0", - "convert-source-map": "1.5.1", - "debug": "2.6.9", - "json5": "0.5.1", - "lodash": "4.17.4", - "minimatch": "3.0.4", - "path-is-absolute": "1.0.1", - "private": "0.1.8", - "slash": "1.0.0", - "source-map": "0.5.7" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } - } - }, - "babel-generator": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.0.tgz", - "integrity": "sha1-rBriAHC3n248odMmlhMFN3TyDcU=", - "requires": { - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "detect-indent": "4.0.0", - "jsesc": "1.3.0", - "lodash": "4.17.4", - "source-map": "0.5.7", - "trim-right": "1.0.1" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } - } - }, - "babel-helper-builder-binary-assignment-operator-visitor": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", - "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", - "requires": { - "babel-helper-explode-assignable-expression": "6.24.1", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-helper-call-delegate": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", - "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", - "requires": { - "babel-helper-hoist-variables": "6.24.1", - "babel-runtime": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-helper-define-map": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", - "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", - "requires": { - "babel-helper-function-name": "6.24.1", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "lodash": "4.17.4" - } - }, - "babel-helper-explode-assignable-expression": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", - "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", - "requires": { - "babel-runtime": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-helper-function-name": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", - "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", - "requires": { - "babel-helper-get-function-arity": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-helper-get-function-arity": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", - "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-helper-hoist-variables": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", - "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-helper-optimise-call-expression": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", - "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-helper-regex": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", - "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "lodash": "4.17.4" - } - }, - "babel-helper-remap-async-to-generator": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", - "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", - "requires": { - "babel-helper-function-name": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-helper-replace-supers": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", - "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", - "requires": { - "babel-helper-optimise-call-expression": "6.24.1", - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-helpers": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", - "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", - "requires": { - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } - }, - "babel-loader": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-7.1.2.tgz", - "integrity": "sha512-jRwlFbINAeyDStqK6Dd5YuY0k5YuzQUvlz2ZamuXrXmxav3pNqe9vfJ402+2G+OmlJSXxCOpB6Uz0INM7RQe2A==", - "requires": { - "find-cache-dir": "1.0.0", - "loader-utils": "1.1.0", - "mkdirp": "0.5.1" - } - }, - "babel-messages": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", - "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", - "requires": { - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-check-es2015-constants": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", - "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", - "requires": { - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-syntax-async-functions": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", - "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=" - }, - "babel-plugin-syntax-exponentiation-operator": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", - "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=" - }, - "babel-plugin-syntax-object-rest-spread": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", - "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=" - }, - "babel-plugin-syntax-trailing-function-commas": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", - "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=" - }, - "babel-plugin-transform-async-to-generator": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", - "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", - "requires": { - "babel-helper-remap-async-to-generator": "6.24.1", - "babel-plugin-syntax-async-functions": "6.13.0", - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-es2015-arrow-functions": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", - "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", - "requires": { - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-es2015-block-scoped-functions": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", - "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", - "requires": { - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-es2015-block-scoping": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", - "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", - "requires": { - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "lodash": "4.17.4" - } - }, - "babel-plugin-transform-es2015-classes": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", - "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", - "requires": { - "babel-helper-define-map": "6.26.0", - "babel-helper-function-name": "6.24.1", - "babel-helper-optimise-call-expression": "6.24.1", - "babel-helper-replace-supers": "6.24.1", - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-plugin-transform-es2015-computed-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", - "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", - "requires": { - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } - }, - "babel-plugin-transform-es2015-destructuring": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", - "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", - "requires": { - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-es2015-duplicate-keys": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", - "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-plugin-transform-es2015-for-of": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", - "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", - "requires": { - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-es2015-function-name": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", - "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", - "requires": { - "babel-helper-function-name": "6.24.1", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-plugin-transform-es2015-literals": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", - "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", - "requires": { - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-es2015-modules-amd": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", - "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", - "requires": { - "babel-plugin-transform-es2015-modules-commonjs": "6.26.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } - }, - "babel-plugin-transform-es2015-modules-commonjs": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz", - "integrity": "sha1-DYOUApt9xqvhqX7xgeAHWN0uXYo=", - "requires": { - "babel-plugin-transform-strict-mode": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-plugin-transform-es2015-modules-systemjs": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", - "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", - "requires": { - "babel-helper-hoist-variables": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } - }, - "babel-plugin-transform-es2015-modules-umd": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", - "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", - "requires": { - "babel-plugin-transform-es2015-modules-amd": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } - }, - "babel-plugin-transform-es2015-object-super": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", - "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", - "requires": { - "babel-helper-replace-supers": "6.24.1", - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-es2015-parameters": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", - "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", - "requires": { - "babel-helper-call-delegate": "6.24.1", - "babel-helper-get-function-arity": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-plugin-transform-es2015-shorthand-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", - "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-plugin-transform-es2015-spread": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", - "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", - "requires": { - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-es2015-sticky-regex": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", - "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", - "requires": { - "babel-helper-regex": "6.26.0", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-plugin-transform-es2015-template-literals": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", - "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", - "requires": { - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-es2015-typeof-symbol": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", - "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", - "requires": { - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-es2015-unicode-regex": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", - "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", - "requires": { - "babel-helper-regex": "6.26.0", - "babel-runtime": "6.26.0", - "regexpu-core": "2.0.0" - } - }, - "babel-plugin-transform-exponentiation-operator": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", - "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", - "requires": { - "babel-helper-builder-binary-assignment-operator-visitor": "6.24.1", - "babel-plugin-syntax-exponentiation-operator": "6.13.0", - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-object-rest-spread": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz", - "integrity": "sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY=", - "requires": { - "babel-plugin-syntax-object-rest-spread": "6.13.0", - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-regenerator": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", - "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", - "requires": { - "regenerator-transform": "0.10.1" - } - }, - "babel-plugin-transform-runtime": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz", - "integrity": "sha1-iEkNRGUC6puOfvsP4J7E2ZR5se4=", - "requires": { - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-strict-mode": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", - "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-preset-env": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.6.1.tgz", - "integrity": "sha512-W6VIyA6Ch9ePMI7VptNn2wBM6dbG0eSz25HEiL40nQXCsXGTGZSTZu1Iap+cj3Q0S5a7T9+529l/5Bkvd+afNA==", - "requires": { - "babel-plugin-check-es2015-constants": "6.22.0", - "babel-plugin-syntax-trailing-function-commas": "6.22.0", - "babel-plugin-transform-async-to-generator": "6.24.1", - "babel-plugin-transform-es2015-arrow-functions": "6.22.0", - "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", - "babel-plugin-transform-es2015-block-scoping": "6.26.0", - "babel-plugin-transform-es2015-classes": "6.24.1", - "babel-plugin-transform-es2015-computed-properties": "6.24.1", - "babel-plugin-transform-es2015-destructuring": "6.23.0", - "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", - "babel-plugin-transform-es2015-for-of": "6.23.0", - "babel-plugin-transform-es2015-function-name": "6.24.1", - "babel-plugin-transform-es2015-literals": "6.22.0", - "babel-plugin-transform-es2015-modules-amd": "6.24.1", - "babel-plugin-transform-es2015-modules-commonjs": "6.26.0", - "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", - "babel-plugin-transform-es2015-modules-umd": "6.24.1", - "babel-plugin-transform-es2015-object-super": "6.24.1", - "babel-plugin-transform-es2015-parameters": "6.24.1", - "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", - "babel-plugin-transform-es2015-spread": "6.22.0", - "babel-plugin-transform-es2015-sticky-regex": "6.24.1", - "babel-plugin-transform-es2015-template-literals": "6.22.0", - "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", - "babel-plugin-transform-es2015-unicode-regex": "6.24.1", - "babel-plugin-transform-exponentiation-operator": "6.24.1", - "babel-plugin-transform-regenerator": "6.26.0", - "browserslist": "2.10.0", - "invariant": "2.2.2", - "semver": "5.4.1" - } - }, - "babel-register": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", - "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", - "requires": { - "babel-core": "6.26.0", - "babel-runtime": "6.26.0", - "core-js": "2.5.1", - "home-or-tmp": "2.0.0", - "lodash": "4.17.4", - "mkdirp": "0.5.1", - "source-map-support": "0.4.18" - } - }, - "babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "requires": { - "core-js": "2.5.1", - "regenerator-runtime": "0.11.1" - } - }, - "babel-template": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", - "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", - "requires": { - "babel-runtime": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0", - "lodash": "4.17.4" - } - }, - "babel-traverse": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", - "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", - "requires": { - "babel-code-frame": "6.26.0", - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0", - "debug": "2.6.9", - "globals": "9.18.0", - "invariant": "2.2.2", - "lodash": "4.17.4" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - } - } - }, - "babel-types": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", - "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", - "requires": { - "babel-runtime": "6.26.0", - "esutils": "2.0.2", - "lodash": "4.17.4", - "to-fast-properties": "1.0.3" - } - }, - "babylon": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==" - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" - }, - "base64-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.1.tgz", - "integrity": "sha512-dwVUVIXsBZXwTuwnXI9RK8sBmgq09NDHzyR9SAph9eqk76gKK2JSQmZARC2zRC81JC2QTtxD0ARU5qTS25gIGw==" - }, - "batch": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", - "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=" - }, - "bcrypt-pbkdf": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", - "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", - "optional": true, - "requires": { - "tweetnacl": "0.14.5" - } - }, - "beeper": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/beeper/-/beeper-1.1.1.tgz", - "integrity": "sha1-5tXqjF2tABMEpwsiY4RH9pyy+Ak=" - }, - "big.js": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", - "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==" - }, - "bin-build": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/bin-build/-/bin-build-2.2.0.tgz", - "integrity": "sha1-EfjdYfcP/Por3KpbRvXo/t1CIcw=", - "requires": { - "archive-type": "3.2.0", - "decompress": "3.0.0", - "download": "4.4.3", - "exec-series": "1.0.3", - "rimraf": "2.6.2", - "tempfile": "1.1.1", - "url-regex": "3.2.0" - }, - "dependencies": { - "tempfile": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-1.1.1.tgz", - "integrity": "sha1-W8xOrsxKsscH2LwR2ZzMmiyyh/I=", - "requires": { - "os-tmpdir": "1.0.2", - "uuid": "2.0.3" - } - }, - "uuid": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", - "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=" - } - } - }, - "bin-check": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/bin-check/-/bin-check-2.0.0.tgz", - "integrity": "sha1-hvjm9CU4k99g3DFpV/WvAqywWTA=", - "requires": { - "executable": "1.1.0" - } - }, - "bin-version": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/bin-version/-/bin-version-1.0.4.tgz", - "integrity": "sha1-nrSY7m/Xb3q5p8FgQ2+JV5Q1144=", - "requires": { - "find-versions": "1.2.1" - } - }, - "bin-version-check": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/bin-version-check/-/bin-version-check-2.1.0.tgz", - "integrity": "sha1-5OXfKQuQaffRETJAMe/BP90RpbA=", - "requires": { - "bin-version": "1.0.4", - "minimist": "1.2.0", - "semver": "4.3.6", - "semver-truncate": "1.1.2" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" - }, - "semver": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz", - "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=" - } - } - }, - "bin-wrapper": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/bin-wrapper/-/bin-wrapper-3.0.2.tgz", - "integrity": "sha1-Z9MwYmLksaXy+I7iNGT2plVneus=", - "requires": { - "bin-check": "2.0.0", - "bin-version-check": "2.1.0", - "download": "4.4.3", - "each-async": "1.1.1", - "lazy-req": "1.1.0", - "os-filter-obj": "1.0.3" - } - }, - "binary-extensions": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.11.0.tgz", - "integrity": "sha1-RqoXUftqL5PuXmibsQh9SxTGwgU=" - }, - "bl": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.1.tgz", - "integrity": "sha1-ysMo977kVzDUBLaSID/LWQ4XLV4=", - "requires": { - "readable-stream": "2.3.3" - } - }, - "block-stream": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", - "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", - "requires": { - "inherits": "2.0.3" - } - }, - "bluebird": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", - "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" - }, - "bn.js": { - "version": "4.11.8", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", - "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" - }, - "body-parser": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.2.tgz", - "integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=", - "requires": { - "bytes": "3.0.0", - "content-type": "1.0.4", - "debug": "2.6.9", - "depd": "1.1.1", - "http-errors": "1.6.2", - "iconv-lite": "0.4.19", - "on-finished": "2.3.0", - "qs": "6.5.1", - "raw-body": "2.3.2", - "type-is": "1.6.15" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "qs": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", - "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==" - } - } - }, - "bonjour": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz", - "integrity": "sha1-jokKGD2O6aI5OzhExpGkK897yfU=", - "requires": { - "array-flatten": "2.1.1", - "deep-equal": "1.0.1", - "dns-equal": "1.0.0", - "dns-txt": "2.0.2", - "multicast-dns": "6.2.1", - "multicast-dns-service-types": "1.1.0" - } - }, - "boom": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", - "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", - "requires": { - "hoek": "2.16.3" - } - }, - "bootstrap": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-3.3.7.tgz", - "integrity": "sha1-WjiTlFSfIzMIdaOxUGVldPip63E=" - }, - "bootstrap-sass": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/bootstrap-sass/-/bootstrap-sass-3.3.7.tgz", - "integrity": "sha1-ZZbHq0D2Y3OTMjqwvIDQZPxjBJg=" - }, - "bootstrap3": { - "version": "3.3.5", - "resolved": "https://registry.npmjs.org/bootstrap3/-/bootstrap3-3.3.5.tgz", - "integrity": "sha1-SWpO9sCHIU+paDgZbWDeZF6CWRo=" - }, - "brace-expansion": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", - "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", - "requires": { - "balanced-match": "1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "requires": { - "expand-range": "1.8.2", - "preserve": "0.2.0", - "repeat-element": "1.1.2" - } - }, - "brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" - }, - "browserify-aes": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.1.1.tgz", - "integrity": "sha512-UGnTYAnB2a3YuYKIRy1/4FB2HdM866E0qC46JXvVTYKlBlZlnvfpSfY6OKfXZAkv70eJ2a1SqzpAo5CRhZGDFg==", - "requires": { - "buffer-xor": "1.0.3", - "cipher-base": "1.0.4", - "create-hash": "1.1.3", - "evp_bytestokey": "1.0.3", - "inherits": "2.0.3", - "safe-buffer": "5.1.1" - } - }, - "browserify-cipher": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.0.tgz", - "integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=", - "requires": { - "browserify-aes": "1.1.1", - "browserify-des": "1.0.0", - "evp_bytestokey": "1.0.3" - } - }, - "browserify-des": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.0.tgz", - "integrity": "sha1-2qJ3cXRwki7S/hhZQRihdUOXId0=", - "requires": { - "cipher-base": "1.0.4", - "des.js": "1.0.0", - "inherits": "2.0.3" - } - }, - "browserify-rsa": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", - "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", - "requires": { - "bn.js": "4.11.8", - "randombytes": "2.0.5" - } - }, - "browserify-sign": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", - "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", - "requires": { - "bn.js": "4.11.8", - "browserify-rsa": "4.0.1", - "create-hash": "1.1.3", - "create-hmac": "1.1.6", - "elliptic": "6.4.0", - "inherits": "2.0.3", - "parse-asn1": "5.1.0" - } - }, - "browserify-zlib": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", - "requires": { - "pako": "1.0.6" - } - }, - "browserslist": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.10.0.tgz", - "integrity": "sha512-WyvzSLsuAVPOjbljXnyeWl14Ae+ukAT8MUuagKVzIDvwBxl4UAwD1xqtyQs2eWYPGUKMeC3Ol62goqYuKqTTcw==", - "requires": { - "caniuse-lite": "1.0.30000780", - "electron-to-chromium": "1.3.28" - } - }, - "buffer": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", - "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", - "requires": { - "base64-js": "1.2.1", - "ieee754": "1.1.8", - "isarray": "1.0.0" - } - }, - "buffer-crc32": { - "version": "0.2.13", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=" - }, - "buffer-indexof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.1.tgz", - "integrity": "sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g==" - }, - "buffer-to-vinyl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/buffer-to-vinyl/-/buffer-to-vinyl-1.1.0.tgz", - "integrity": "sha1-APFfruOreh3aLN5tkSG//dB7ImI=", - "requires": { - "file-type": "3.9.0", - "readable-stream": "2.3.3", - "uuid": "2.0.3", - "vinyl": "1.2.0" - }, - "dependencies": { - "file-type": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", - "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=" - }, - "uuid": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", - "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=" - } - } - }, - "buffer-xor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" - }, - "builtin-modules": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", - "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=" - }, - "builtin-status-codes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", - "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=" - }, - "bytes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", - "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=" - }, - "cacache": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.1.tgz", - "integrity": "sha512-dRHYcs9LvG9cHgdPzjiI+/eS7e1xRhULrcyOx04RZQsszNJXU2SL9CyG60yLnge282Qq5nwTv+ieK2fH+WPZmA==", - "requires": { - "bluebird": "3.5.1", - "chownr": "1.0.1", - "glob": "7.1.2", - "graceful-fs": "4.1.11", - "lru-cache": "4.1.1", - "mississippi": "1.3.0", - "mkdirp": "0.5.1", - "move-concurrently": "1.0.1", - "promise-inflight": "1.0.1", - "rimraf": "2.6.2", - "ssri": "5.0.0", - "unique-filename": "1.1.0", - "y18n": "3.2.1" - } - }, - "camel-case": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz", - "integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=", - "requires": { - "no-case": "2.3.2", - "upper-case": "1.1.3" - } - }, - "camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=" - }, - "camelcase-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", - "requires": { - "camelcase": "2.1.1", - "map-obj": "1.0.1" - } - }, - "caniuse-api": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-1.6.1.tgz", - "integrity": "sha1-tTTnxzTE+B7F++isoq0kNUuWLGw=", - "requires": { - "browserslist": "1.7.7", - "caniuse-db": "1.0.30000780", - "lodash.memoize": "4.1.2", - "lodash.uniq": "4.5.0" - }, - "dependencies": { - "browserslist": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", - "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", - "requires": { - "caniuse-db": "1.0.30000780", - "electron-to-chromium": "1.3.28" - } - } - } - }, - "caniuse-db": { - "version": "1.0.30000780", - "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000780.tgz", - "integrity": "sha1-jRl3Vh0A/w8O0ra2YUAyirRQTAo=" - }, - "caniuse-lite": { - "version": "1.0.30000780", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000780.tgz", - "integrity": "sha1-H5CV8u/UlA4LpsWZKreptkzDW6Q=" - }, - "capture-stack-trace": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz", - "integrity": "sha1-Sm+gc5nCa7pH8LJJa00PtAjFVQ0=" - }, - "cardinal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/cardinal/-/cardinal-1.0.0.tgz", - "integrity": "sha1-UOIcGwqjdyn5N33vGWtanOyTLuk=", - "requires": { - "ansicolors": "0.2.1", - "redeyed": "1.0.1" - } - }, - "caseless": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", - "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=" - }, - "caw": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/caw/-/caw-1.2.0.tgz", - "integrity": "sha1-/7Im/n78VHKI3GLuPpcHPCEtEDQ=", - "requires": { - "get-proxy": "1.1.0", - "is-obj": "1.0.1", - "object-assign": "3.0.0", - "tunnel-agent": "0.4.3" - }, - "dependencies": { - "object-assign": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-3.0.0.tgz", - "integrity": "sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I=" - } - } - }, - "center-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", - "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", - "requires": { - "align-text": "0.1.4", - "lazy-cache": "1.0.4" - }, - "dependencies": { - "lazy-cache": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=" - } - } - }, - "chalk": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz", - "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==", - "requires": { - "ansi-styles": "3.2.0", - "escape-string-regexp": "1.0.5", - "supports-color": "4.5.0" - } - }, - "charenc": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", - "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=" - }, - "chokidar": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", - "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", - "requires": { - "anymatch": "1.3.2", - "async-each": "1.0.1", - "fsevents": "1.1.3", - "glob-parent": "2.0.0", - "inherits": "2.0.3", - "is-binary-path": "1.0.1", - "is-glob": "2.0.1", - "path-is-absolute": "1.0.1", - "readdirp": "2.1.0" - } - }, - "chownr": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz", - "integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=" - }, - "cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "requires": { - "inherits": "2.0.3", - "safe-buffer": "5.1.1" - } - }, - "clap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/clap/-/clap-1.2.3.tgz", - "integrity": "sha512-4CoL/A3hf90V3VIEjeuhSvlGFEHKzOz+Wfc2IVZc+FaUgU0ZQafJTP49fvnULipOPcAfqhyI2duwQyns6xqjYA==", - "requires": { - "chalk": "1.1.3" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "clean-css": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.1.9.tgz", - "integrity": "sha1-Nc7ornaHpJuYA09w3gDE7dOCYwE=", - "requires": { - "source-map": "0.5.7" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } - } - }, - "cli-table": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz", - "integrity": "sha1-9TsFJmqLGguTSz0IIebi3FkUriM=", - "requires": { - "colors": "1.0.3" - }, - "dependencies": { - "colors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", - "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=" - } - } - }, - "cli-usage": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/cli-usage/-/cli-usage-0.1.4.tgz", - "integrity": "sha1-fAHg3HBsI0s5yTODjI4gshdXduI=", - "requires": { - "marked": "0.3.9", - "marked-terminal": "1.7.0" - } - }, - "cliui": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", - "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", - "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wrap-ansi": "2.1.0" - } - }, - "clone": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.3.tgz", - "integrity": "sha1-KY1+IjFmD0DAA8LtMUDezz9TCF8=" - }, - "clone-deep": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-0.3.0.tgz", - "integrity": "sha1-NIxhrpzb4O3+BT2R/0zFIdeQ7eg=", - "requires": { - "for-own": "1.0.0", - "is-plain-object": "2.0.4", - "kind-of": "3.2.2", - "shallow-clone": "0.1.2" - }, - "dependencies": { - "for-own": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", - "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", - "requires": { - "for-in": "1.0.2" - } - } - } - }, - "clone-stats": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz", - "integrity": "sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE=" - }, - "co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" - }, - "coa": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/coa/-/coa-1.0.4.tgz", - "integrity": "sha1-qe8VNmDWqGqL3sAomlxoTSF0Mv0=", - "requires": { - "q": "1.5.1" - } - }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" - }, - "color": { - "version": "0.11.4", - "resolved": "https://registry.npmjs.org/color/-/color-0.11.4.tgz", - "integrity": "sha1-bXtcdPtl6EHNSHkq0e1eB7kE12Q=", - "requires": { - "clone": "1.0.3", - "color-convert": "1.9.1", - "color-string": "0.3.0" - } - }, - "color-convert": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz", - "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "color-string": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-0.3.0.tgz", - "integrity": "sha1-J9RvtnAlxcL6JZk7+/V55HhBuZE=", - "requires": { - "color-name": "1.1.3" - } - }, - "colormin": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colormin/-/colormin-1.1.2.tgz", - "integrity": "sha1-6i90IKcrlogaOKrlnsEkpvcpgTM=", - "requires": { - "color": "0.11.4", - "css-color-names": "0.0.4", - "has": "1.0.1" - } - }, - "colors": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", - "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=" - }, - "combined-stream": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", - "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=", - "requires": { - "delayed-stream": "1.0.0" - } - }, - "commander": { - "version": "2.12.2", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.12.2.tgz", - "integrity": "sha512-BFnaq5ZOGcDN7FlrtBT4xxkgIToalIIxwjxLWVJ8bGTpe1LroqMiqQXdA7ygc7CRvaYS+9zfPGFnJqFSayx+AA==" - }, - "commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=" - }, - "compressible": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.12.tgz", - "integrity": "sha1-xZpcmdt2dn6YdlAOJx72OzSTvWY=", - "requires": { - "mime-db": "1.30.0" - } - }, - "compression": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.1.tgz", - "integrity": "sha1-7/JgPvwuIs+G810uuTWJ+YdTc9s=", - "requires": { - "accepts": "1.3.4", - "bytes": "3.0.0", - "compressible": "2.0.12", - "debug": "2.6.9", - "on-headers": "1.0.1", - "safe-buffer": "5.1.1", - "vary": "1.1.2" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - } - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "concat-stream": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz", - "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=", - "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.3", - "typedarray": "0.0.6" - } - }, - "concatenate": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/concatenate/-/concatenate-0.0.2.tgz", - "integrity": "sha1-C0nW6MQQR9dyjNyNYqCGYjOXtJ8=", - "requires": { - "globs": "0.1.3" - } - }, - "connect-history-api-fallback": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz", - "integrity": "sha1-sGhzk0vF40T+9hGhlqb6rgruAVo=" - }, - "console-browserify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", - "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", - "requires": { - "date-now": "0.1.4" - } - }, - "console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" - }, - "console-stream": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/console-stream/-/console-stream-0.1.1.tgz", - "integrity": "sha1-oJX+B7IEZZVfL6/Si11yvM2UnUQ=" - }, - "consolidate": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/consolidate/-/consolidate-0.14.5.tgz", - "integrity": "sha1-WiUEe8dvcwcmZ8jLUsmJiI9JTGM=", - "requires": { - "bluebird": "3.5.1" - } - }, - "constants-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", - "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=" - }, - "content-disposition": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", - "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=" - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" - }, - "convert-source-map": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", - "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=" - }, - "cookie": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", - "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=" - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "copy-concurrently": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", - "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", - "requires": { - "aproba": "1.2.0", - "fs-write-stream-atomic": "1.0.10", - "iferr": "0.1.5", - "mkdirp": "0.5.1", - "rimraf": "2.6.2", - "run-queue": "1.0.3" - } - }, - "copy-webpack-plugin": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.4.1.tgz", - "integrity": "sha512-ojaz8MpS3zoLJT/JbYMusYM+dCEArhW24hGAUPYPydTCS+87NFh2TWr85sywG3So4Q4E68QoerqQ+Ns1g0fhDg==", - "dev": true, - "requires": { - "cacache": "10.0.1", - "find-cache-dir": "1.0.0", - "globby": "7.1.1", - "is-glob": "4.0.0", - "loader-utils": "0.2.17", - "minimatch": "3.0.4", - "p-limit": "1.1.0", - "serialize-javascript": "1.4.0" - }, - "dependencies": { - "globby": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/globby/-/globby-7.1.1.tgz", - "integrity": "sha1-+yzP+UAfhgCUXfral0QMypcrhoA=", - "dev": true, - "requires": { - "array-union": "1.0.2", - "dir-glob": "2.0.0", - "glob": "7.1.2", - "ignore": "3.3.7", - "pify": "3.0.0", - "slash": "1.0.0" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true - }, - "is-glob": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", - "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", - "dev": true, - "requires": { - "is-extglob": "2.1.1" - } - }, - "loader-utils": { - "version": "0.2.17", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", - "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", - "dev": true, - "requires": { - "big.js": "3.2.0", - "emojis-list": "2.1.0", - "json5": "0.5.1", - "object-assign": "4.1.1" - } - } - } - }, - "core-js": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.1.tgz", - "integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs=" - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "cosmiconfig": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-2.2.2.tgz", - "integrity": "sha512-GiNXLwAFPYHy25XmTPpafYvn3CLAkJ8FLsscq78MQd1Kh0OU6Yzhn4eV2MVF4G9WEQZoWEGltatdR+ntGPMl5A==", - "requires": { - "is-directory": "0.3.1", - "js-yaml": "3.7.0", - "minimist": "1.2.0", - "object-assign": "4.1.1", - "os-homedir": "1.0.2", - "parse-json": "2.2.0", - "require-from-string": "1.2.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" - } - } - }, - "create-ecdh": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz", - "integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=", - "requires": { - "bn.js": "4.11.8", - "elliptic": "6.4.0" - } - }, - "create-error-class": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", - "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", - "requires": { - "capture-stack-trace": "1.0.0" - } - }, - "create-hash": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.1.3.tgz", - "integrity": "sha1-YGBCrIuSYnUPSDyt2rD1gZFy2P0=", - "requires": { - "cipher-base": "1.0.4", - "inherits": "2.0.3", - "ripemd160": "2.0.1", - "sha.js": "2.4.9" - } - }, - "create-hmac": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.6.tgz", - "integrity": "sha1-rLniIaThe9sHbpBlfEK5PjcmzwY=", - "requires": { - "cipher-base": "1.0.4", - "create-hash": "1.1.3", - "inherits": "2.0.3", - "ripemd160": "2.0.1", - "safe-buffer": "5.1.1", - "sha.js": "2.4.9" - } - }, - "cross-env": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.1.3.tgz", - "integrity": "sha512-UOokgwvDzCT0mqRSLEkJzUhYXB1vK3E5UgDrD41QiXsm9UetcW2rCGHYz/O3p873lMJ1VZbFCF9Izkwh7nYR5A==", - "requires": { - "cross-spawn": "5.1.0", - "is-windows": "1.0.1" - } - }, - "cross-spawn": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", - "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", - "requires": { - "lru-cache": "4.1.1", - "shebang-command": "1.2.0", - "which": "1.3.0" - } - }, - "crypt": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", - "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=" - }, - "cryptiles": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", - "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", - "requires": { - "boom": "2.10.1" - } - }, - "crypto-browserify": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", - "requires": { - "browserify-cipher": "1.0.0", - "browserify-sign": "4.0.4", - "create-ecdh": "4.0.0", - "create-hash": "1.1.3", - "create-hmac": "1.1.6", - "diffie-hellman": "5.0.2", - "inherits": "2.0.3", - "pbkdf2": "3.0.14", - "public-encrypt": "4.0.0", - "randombytes": "2.0.5", - "randomfill": "1.0.3" - } - }, - "css": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/css/-/css-2.2.1.tgz", - "integrity": "sha1-c6TIHehdtmTU7mdPfUcIXjstVdw=", - "requires": { - "inherits": "2.0.3", - "source-map": "0.1.43", - "source-map-resolve": "0.3.1", - "urix": "0.1.0" - }, - "dependencies": { - "source-map": { - "version": "0.1.43", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", - "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", - "requires": { - "amdefine": "1.0.1" - } - } - } - }, - "css-color-names": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", - "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=" - }, - "css-loader": { - "version": "0.28.7", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.7.tgz", - "integrity": "sha512-GxMpax8a/VgcfRrVy0gXD6yLd5ePYbXX/5zGgTVYp4wXtJklS8Z2VaUArJgc//f6/Dzil7BaJObdSv8eKKCPgg==", - "requires": { - "babel-code-frame": "6.26.0", - "css-selector-tokenizer": "0.7.0", - "cssnano": "3.10.0", - "icss-utils": "2.1.0", - "loader-utils": "1.1.0", - "lodash.camelcase": "4.3.0", - "object-assign": "4.1.1", - "postcss": "5.2.18", - "postcss-modules-extract-imports": "1.1.0", - "postcss-modules-local-by-default": "1.2.0", - "postcss-modules-scope": "1.1.0", - "postcss-modules-values": "1.3.0", - "postcss-value-parser": "3.3.0", - "source-list-map": "2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "css-selector-tokenizer": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz", - "integrity": "sha1-5piEdK6MlTR3v15+/s/OzNnPTIY=", - "requires": { - "cssesc": "0.1.0", - "fastparse": "1.1.1", - "regexpu-core": "1.0.0" - }, - "dependencies": { - "regexpu-core": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz", - "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=", - "requires": { - "regenerate": "1.3.3", - "regjsgen": "0.2.0", - "regjsparser": "0.1.5" - } - } - } - }, - "cssesc": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz", - "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=" - }, - "cssnano": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-3.10.0.tgz", - "integrity": "sha1-Tzj2zqK5sX+gFJDyPx3GjqZcHDg=", - "requires": { - "autoprefixer": "6.7.7", - "decamelize": "1.2.0", - "defined": "1.0.0", - "has": "1.0.1", - "object-assign": "4.1.1", - "postcss": "5.2.18", - "postcss-calc": "5.3.1", - "postcss-colormin": "2.2.2", - "postcss-convert-values": "2.6.1", - "postcss-discard-comments": "2.0.4", - "postcss-discard-duplicates": "2.1.0", - "postcss-discard-empty": "2.1.0", - "postcss-discard-overridden": "0.1.1", - "postcss-discard-unused": "2.2.3", - "postcss-filter-plugins": "2.0.2", - "postcss-merge-idents": "2.1.7", - "postcss-merge-longhand": "2.0.2", - "postcss-merge-rules": "2.1.2", - "postcss-minify-font-values": "1.0.5", - "postcss-minify-gradients": "1.0.5", - "postcss-minify-params": "1.2.2", - "postcss-minify-selectors": "2.1.1", - "postcss-normalize-charset": "1.1.1", - "postcss-normalize-url": "3.0.8", - "postcss-ordered-values": "2.2.3", - "postcss-reduce-idents": "2.4.0", - "postcss-reduce-initial": "1.0.1", - "postcss-reduce-transforms": "1.0.4", - "postcss-svgo": "2.1.6", - "postcss-unique-selectors": "2.0.2", - "postcss-value-parser": "3.3.0", - "postcss-zindex": "2.2.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "autoprefixer": { - "version": "6.7.7", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz", - "integrity": "sha1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=", - "requires": { - "browserslist": "1.7.7", - "caniuse-db": "1.0.30000780", - "normalize-range": "0.1.2", - "num2fraction": "1.2.2", - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0" - } - }, - "browserslist": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", - "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", - "requires": { - "caniuse-db": "1.0.30000780", - "electron-to-chromium": "1.3.28" - } - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "csso": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/csso/-/csso-2.3.2.tgz", - "integrity": "sha1-3dUsWHAz9J6Utx/FVWnyUuj/X4U=", - "requires": { - "clap": "1.2.3", - "source-map": "0.5.7" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } - } - }, - "currently-unhandled": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", - "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", - "requires": { - "array-find-index": "1.0.2" - } - }, - "cyclist": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-0.2.2.tgz", - "integrity": "sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA=" - }, - "d": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", - "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", - "requires": { - "es5-ext": "0.10.37" - } - }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "requires": { - "assert-plus": "1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } - } - }, - "date-now": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", - "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=" - }, - "dateformat": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-2.2.0.tgz", - "integrity": "sha1-QGXiATz5+5Ft39gu+1Bq1MZ2kGI=" - }, - "de-indent": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", - "integrity": "sha1-sgOOhG3DO6pXlhKNCAS0VbjB4h0=" - }, - "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "requires": { - "ms": "2.0.0" - } - }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" - }, - "decompress": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/decompress/-/decompress-3.0.0.tgz", - "integrity": "sha1-rx3VDQbjv8QyRh033hGzjA2ZG+0=", - "requires": { - "buffer-to-vinyl": "1.1.0", - "concat-stream": "1.6.0", - "decompress-tar": "3.1.0", - "decompress-tarbz2": "3.1.0", - "decompress-targz": "3.1.0", - "decompress-unzip": "3.4.0", - "stream-combiner2": "1.1.1", - "vinyl-assign": "1.2.1", - "vinyl-fs": "2.4.4" - } - }, - "decompress-tar": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/decompress-tar/-/decompress-tar-3.1.0.tgz", - "integrity": "sha1-IXx4n5uURQ76rcXF5TeXj8MzxGY=", - "requires": { - "is-tar": "1.0.0", - "object-assign": "2.1.1", - "strip-dirs": "1.1.1", - "tar-stream": "1.5.5", - "through2": "0.6.5", - "vinyl": "0.4.6" - }, - "dependencies": { - "clone": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/clone/-/clone-0.2.0.tgz", - "integrity": "sha1-xhJqkK1Pctv1rNskPMN3JP6T/B8=" - }, - "object-assign": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz", - "integrity": "sha1-Q8NuXVaf+OSBbE76i+AtJpZ8GKo=" - }, - "vinyl": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.4.6.tgz", - "integrity": "sha1-LzVsh6VQolVGHza76ypbqL94SEc=", - "requires": { - "clone": "0.2.0", - "clone-stats": "0.0.1" - } - } - } - }, - "decompress-tarbz2": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-3.1.0.tgz", - "integrity": "sha1-iyOTVoE1X58YnYclag+L3ZbZZm0=", - "requires": { - "is-bzip2": "1.0.0", - "object-assign": "2.1.1", - "seek-bzip": "1.0.5", - "strip-dirs": "1.1.1", - "tar-stream": "1.5.5", - "through2": "0.6.5", - "vinyl": "0.4.6" - }, - "dependencies": { - "clone": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/clone/-/clone-0.2.0.tgz", - "integrity": "sha1-xhJqkK1Pctv1rNskPMN3JP6T/B8=" - }, - "object-assign": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz", - "integrity": "sha1-Q8NuXVaf+OSBbE76i+AtJpZ8GKo=" - }, - "vinyl": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.4.6.tgz", - "integrity": "sha1-LzVsh6VQolVGHza76ypbqL94SEc=", - "requires": { - "clone": "0.2.0", - "clone-stats": "0.0.1" - } - } - } - }, - "decompress-targz": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/decompress-targz/-/decompress-targz-3.1.0.tgz", - "integrity": "sha1-ssE9+YFmJomRtxXWRH9kLpaW9aA=", - "requires": { - "is-gzip": "1.0.0", - "object-assign": "2.1.1", - "strip-dirs": "1.1.1", - "tar-stream": "1.5.5", - "through2": "0.6.5", - "vinyl": "0.4.6" - }, - "dependencies": { - "clone": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/clone/-/clone-0.2.0.tgz", - "integrity": "sha1-xhJqkK1Pctv1rNskPMN3JP6T/B8=" - }, - "object-assign": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz", - "integrity": "sha1-Q8NuXVaf+OSBbE76i+AtJpZ8GKo=" - }, - "vinyl": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.4.6.tgz", - "integrity": "sha1-LzVsh6VQolVGHza76ypbqL94SEc=", - "requires": { - "clone": "0.2.0", - "clone-stats": "0.0.1" - } - } - } - }, - "decompress-unzip": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/decompress-unzip/-/decompress-unzip-3.4.0.tgz", - "integrity": "sha1-YUdbQVIGa74/7hL51inRX+ZHjus=", - "requires": { - "is-zip": "1.0.0", - "read-all-stream": "3.1.0", - "stat-mode": "0.2.2", - "strip-dirs": "1.1.1", - "through2": "2.0.3", - "vinyl": "1.2.0", - "yauzl": "2.9.1" - }, - "dependencies": { - "through2": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", - "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", - "requires": { - "readable-stream": "2.3.3", - "xtend": "4.0.1" - } - } - } - }, - "deep-equal": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", - "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=" - }, - "deep-extend": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.2.tgz", - "integrity": "sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=" - }, - "define-properties": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", - "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", - "requires": { - "foreach": "2.0.5", - "object-keys": "1.0.11" - } - }, - "defined": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=" - }, - "del": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz", - "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=", - "requires": { - "globby": "6.1.0", - "is-path-cwd": "1.0.0", - "is-path-in-cwd": "1.0.0", - "p-map": "1.2.0", - "pify": "3.0.0", - "rimraf": "2.6.2" - } - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" - }, - "delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" - }, - "depd": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz", - "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=" - }, - "des.js": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", - "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", - "requires": { - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0" - } - }, - "destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "detect-indent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", - "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", - "requires": { - "repeating": "2.0.1" - } - }, - "detect-node": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.3.tgz", - "integrity": "sha1-ogM8CcyOFY03dI+951B4Mr1s4Sc=" - }, - "diffie-hellman": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.2.tgz", - "integrity": "sha1-tYNXOScM/ias9jIJn97SoH8gnl4=", - "requires": { - "bn.js": "4.11.8", - "miller-rabin": "4.0.1", - "randombytes": "2.0.5" - } - }, - "dir-glob": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.0.0.tgz", - "integrity": "sha512-37qirFDz8cA5fimp9feo43fSuRo2gHwaIn6dXL8Ber1dGwUosDrGZeCCXq57WnIqE4aQ+u3eQZzsk1yOzhdwag==", - "dev": true, - "requires": { - "arrify": "1.0.1", - "path-type": "3.0.0" - }, - "dependencies": { - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "requires": { - "pify": "3.0.0" - } - } - } - }, - "dns-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", - "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=" - }, - "dns-packet": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.2.2.tgz", - "integrity": "sha512-kN+DjfGF7dJGUL7nWRktL9Z18t1rWP3aQlyZdY8XlpvU3Nc6GeFTQApftcjtWKxAZfiggZSGrCEoszNgvnpwDg==", - "requires": { - "ip": "1.1.5", - "safe-buffer": "5.1.1" - } - }, - "dns-txt": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/dns-txt/-/dns-txt-2.0.2.tgz", - "integrity": "sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY=", - "requires": { - "buffer-indexof": "1.1.1" - } - }, - "domain-browser": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.1.7.tgz", - "integrity": "sha1-hnqksJP6oF8d4IwG9NeyH9+GmLw=" - }, - "dotenv": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-4.0.0.tgz", - "integrity": "sha1-hk7xN5rO1Vzm+V3r7NzhefegzR0=" - }, - "dotenv-expand": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-4.0.1.tgz", - "integrity": "sha1-aP3cFWGBTgoQlkERBX/xOM7X16g=" - }, - "download": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/download/-/download-4.4.3.tgz", - "integrity": "sha1-qlX9rTktldS2jowr4D4MKqIbqaw=", - "requires": { - "caw": "1.2.0", - "concat-stream": "1.6.0", - "each-async": "1.1.1", - "filenamify": "1.2.1", - "got": "5.7.1", - "gulp-decompress": "1.2.0", - "gulp-rename": "1.2.2", - "is-url": "1.2.2", - "object-assign": "4.1.1", - "read-all-stream": "3.1.0", - "readable-stream": "2.3.3", - "stream-combiner2": "1.1.1", - "vinyl": "1.2.0", - "vinyl-fs": "2.4.4", - "ware": "1.3.0" - } - }, - "duplexer2": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", - "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", - "requires": { - "readable-stream": "2.3.3" - } - }, - "duplexify": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.5.1.tgz", - "integrity": "sha1-ThUWvmiDi8kKSZlPCzmm5ZYL780=", - "requires": { - "end-of-stream": "1.4.0", - "inherits": "2.0.3", - "readable-stream": "2.3.3", - "stream-shift": "1.0.0" - } - }, - "each-async": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/each-async/-/each-async-1.1.1.tgz", - "integrity": "sha1-3uUim98KtrogEqOV4bhpq/iBNHM=", - "requires": { - "onetime": "1.1.0", - "set-immediate-shim": "1.0.1" - } - }, - "ecc-jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", - "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", - "optional": true, - "requires": { - "jsbn": "0.1.1" - } - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "electron-to-chromium": { - "version": "1.3.28", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.28.tgz", - "integrity": "sha1-jdTmRYCGZE6fnwoc8y4qH53/2e4=" - }, - "elliptic": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz", - "integrity": "sha1-ysmvh2LIWDYYcAPI3+GT5eLq5d8=", - "requires": { - "bn.js": "4.11.8", - "brorand": "1.1.0", - "hash.js": "1.1.3", - "hmac-drbg": "1.0.1", - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0", - "minimalistic-crypto-utils": "1.0.1" - } - }, - "emojis-list": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", - "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=" - }, - "encodeurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.1.tgz", - "integrity": "sha1-eePVhlU0aQn+bw9Fpd5oEDspTSA=" - }, - "end-of-stream": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.0.tgz", - "integrity": "sha1-epDYM+/abPpurA9JSduw+tOmMgY=", - "requires": { - "once": "1.4.0" - } - }, - "enhanced-resolve": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz", - "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=", - "requires": { - "graceful-fs": "4.1.11", - "memory-fs": "0.4.1", - "object-assign": "4.1.1", - "tapable": "0.2.8" - } - }, - "eonasdan-bootstrap-datetimepicker": { - "version": "4.17.47", - "resolved": "https://registry.npmjs.org/eonasdan-bootstrap-datetimepicker/-/eonasdan-bootstrap-datetimepicker-4.17.47.tgz", - "integrity": "sha1-ekmXAEQGUnbnll79Fvgic1IZ5zU=", - "requires": { - "bootstrap": "3.3.7", - "jquery": "3.3.1", - "moment": "2.20.1", - "moment-timezone": "0.4.1" - } - }, - "errno": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.4.tgz", - "integrity": "sha1-uJbiOp5ei6M4cfyZar02NfyaHH0=", - "requires": { - "prr": "0.0.0" - } - }, - "error-ex": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", - "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", - "requires": { - "is-arrayish": "0.2.1" - } - }, - "error-stack-parser": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.0.1.tgz", - "integrity": "sha1-oyArj7AxFKqbQKDjZp5IsrZaAQo=", - "requires": { - "stackframe": "1.0.4" - } - }, - "es-abstract": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.10.0.tgz", - "integrity": "sha512-/uh/DhdqIOSkAWifU+8nG78vlQxdLckUdI/sPgy0VhuXi2qJ7T8czBmqIYtLQVpCIFYafChnsRsB5pyb1JdmCQ==", - "requires": { - "es-to-primitive": "1.1.1", - "function-bind": "1.1.1", - "has": "1.0.1", - "is-callable": "1.1.3", - "is-regex": "1.0.4" - } - }, - "es-to-primitive": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz", - "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=", - "requires": { - "is-callable": "1.1.3", - "is-date-object": "1.0.1", - "is-symbol": "1.0.1" - } - }, - "es5-ext": { - "version": "0.10.37", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.37.tgz", - "integrity": "sha1-DudB0Ui4AGm6J9AgOTdWryV978M=", - "requires": { - "es6-iterator": "2.0.3", - "es6-symbol": "3.1.1" - } - }, - "es6-iterator": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37", - "es6-symbol": "3.1.1" - } - }, - "es6-map": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", - "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37", - "es6-iterator": "2.0.3", - "es6-set": "0.1.5", - "es6-symbol": "3.1.1", - "event-emitter": "0.3.5" - } - }, - "es6-set": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", - "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37", - "es6-iterator": "2.0.3", - "es6-symbol": "3.1.1", - "event-emitter": "0.3.5" - } - }, - "es6-symbol": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", - "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37" - } - }, - "es6-templates": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/es6-templates/-/es6-templates-0.2.3.tgz", - "integrity": "sha1-XLmsn7He1usSOTQrgdeSu7QHjuQ=", - "requires": { - "recast": "0.11.23", - "through": "2.3.8" - } - }, - "es6-weak-map": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", - "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37", - "es6-iterator": "2.0.3", - "es6-symbol": "3.1.1" - } - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" - }, - "escope": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", - "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", - "requires": { - "es6-map": "0.1.5", - "es6-weak-map": "2.0.2", - "esrecurse": "4.2.0", - "estraverse": "4.2.0" - } - }, - "esprima": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" - }, - "esrecurse": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.0.tgz", - "integrity": "sha1-+pVo2Y04I/mkHZHpAtyrnqblsWM=", - "requires": { - "estraverse": "4.2.0", - "object-assign": "4.1.1" - } - }, - "estraverse": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", - "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=" - }, - "esutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=" - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" - }, - "event-emitter": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", - "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37" - } - }, - "eventemitter3": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz", - "integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=" - }, - "events": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=" - }, - "eventsource": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-0.1.6.tgz", - "integrity": "sha1-Cs7ehJ7X3RzMMsgRuxG5RNTykjI=", - "requires": { - "original": "1.0.0" - } - }, - "evp_bytestokey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "requires": { - "md5.js": "1.3.4", - "safe-buffer": "5.1.1" - } - }, - "exec-buffer": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/exec-buffer/-/exec-buffer-3.2.0.tgz", - "integrity": "sha512-wsiD+2Tp6BWHoVv3B+5Dcx6E7u5zky+hUwOHjuH2hKSLR3dvRmX8fk8UD8uqQixHs4Wk6eDmiegVrMPjKj7wpA==", - "requires": { - "execa": "0.7.0", - "p-finally": "1.0.0", - "pify": "3.0.0", - "rimraf": "2.6.2", - "tempfile": "2.0.0" - } - }, - "exec-series": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/exec-series/-/exec-series-1.0.3.tgz", - "integrity": "sha1-bSV6m+rEgqhyx3g7yGFYOfx3FDo=", - "requires": { - "async-each-series": "1.1.0", - "object-assign": "4.1.1" - } - }, - "execa": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", - "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", - "requires": { - "cross-spawn": "5.1.0", - "get-stream": "3.0.0", - "is-stream": "1.1.0", - "npm-run-path": "2.0.2", - "p-finally": "1.0.0", - "signal-exit": "3.0.2", - "strip-eof": "1.0.0" - } - }, - "executable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/executable/-/executable-1.1.0.tgz", - "integrity": "sha1-h3mA6REvM5EGbaNyZd562ENKtNk=", - "requires": { - "meow": "3.7.0" - } - }, - "expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "requires": { - "is-posix-bracket": "0.1.1" - } - }, - "expand-range": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", - "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", - "requires": { - "fill-range": "2.2.3" - } - }, - "express": { - "version": "4.16.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.16.2.tgz", - "integrity": "sha1-41xt/i1kt9ygpc1PIXgb4ymeB2w=", - "requires": { - "accepts": "1.3.4", - "array-flatten": "1.1.1", - "body-parser": "1.18.2", - "content-disposition": "0.5.2", - "content-type": "1.0.4", - "cookie": "0.3.1", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "1.1.1", - "encodeurl": "1.0.1", - "escape-html": "1.0.3", - "etag": "1.8.1", - "finalhandler": "1.1.0", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "1.1.2", - "on-finished": "2.3.0", - "parseurl": "1.3.2", - "path-to-regexp": "0.1.7", - "proxy-addr": "2.0.2", - "qs": "6.5.1", - "range-parser": "1.2.0", - "safe-buffer": "5.1.1", - "send": "0.16.1", - "serve-static": "1.13.1", - "setprototypeof": "1.1.0", - "statuses": "1.3.1", - "type-is": "1.6.15", - "utils-merge": "1.0.1", - "vary": "1.1.2" - }, - "dependencies": { - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "qs": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", - "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==" - } - } - }, - "extend": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "0.1.1" - } - }, - "extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "requires": { - "is-extglob": "1.0.0" - } - }, - "extract-text-webpack-plugin": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-3.0.2.tgz", - "integrity": "sha512-bt/LZ4m5Rqt/Crl2HiKuAl/oqg0psx1tsTLkvWbJen1CtD+fftkZhMaQ9HOtY2gWsl2Wq+sABmMVi9z3DhKWQQ==", - "requires": { - "async": "2.6.0", - "loader-utils": "1.1.0", - "schema-utils": "0.3.0", - "webpack-sources": "1.1.0" - } - }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" - }, - "fancy-log": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.0.tgz", - "integrity": "sha1-Rb4X0Cu5kX1gzP/UmVyZnmyMmUg=", - "requires": { - "chalk": "1.1.3", - "time-stamp": "1.1.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "fast-deep-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz", - "integrity": "sha1-liVqO8l1WV6zbYLpkp0GDYk0Of8=" - }, - "fast-json-stable-stringify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", - "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" - }, - "fastparse": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.1.tgz", - "integrity": "sha1-0eJkOzipTXWDtHkGDmxK/8lAcfg=" - }, - "faye-websocket": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", - "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", - "requires": { - "websocket-driver": "0.7.0" - } - }, - "fd-slicer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz", - "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=", - "requires": { - "pend": "1.2.0" - } - }, - "figures": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", - "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", - "requires": { - "escape-string-regexp": "1.0.5", - "object-assign": "4.1.1" - } - }, - "file-loader": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-0.11.2.tgz", - "integrity": "sha512-N+uhF3mswIFeziHQjGScJ/yHXYt3DiLBeC+9vWW+WjUBiClMSOlV1YrXQi+7KM2aA3Rn4Bybgv+uXFQbfkzpvg==", - "requires": { - "loader-utils": "1.1.0" - } - }, - "file-type": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-4.4.0.tgz", - "integrity": "sha1-G2AOX8ofvcboDApwxxyNul95BsU=" - }, - "filename-regex": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", - "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=" - }, - "filename-reserved-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-1.0.0.tgz", - "integrity": "sha1-5hz4BfDeHJhFZ9A4bcXfUO5a9+Q=" - }, - "filenamify": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-1.2.1.tgz", - "integrity": "sha1-qfL/0RxQO+0wABUCknI3jx8TZaU=", - "requires": { - "filename-reserved-regex": "1.0.0", - "strip-outer": "1.0.0", - "trim-repeated": "1.0.0" - } - }, - "fill-range": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz", - "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=", - "requires": { - "is-number": "2.1.0", - "isobject": "2.1.0", - "randomatic": "1.1.7", - "repeat-element": "1.1.2", - "repeat-string": "1.6.1" - } - }, - "finalhandler": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz", - "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=", - "requires": { - "debug": "2.6.9", - "encodeurl": "1.0.1", - "escape-html": "1.0.3", - "on-finished": "2.3.0", - "parseurl": "1.3.2", - "statuses": "1.3.1", - "unpipe": "1.0.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - } - } - }, - "find-cache-dir": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz", - "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", - "requires": { - "commondir": "1.0.1", - "make-dir": "1.1.0", - "pkg-dir": "2.0.0" - } - }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "requires": { - "locate-path": "2.0.0" - } - }, - "find-versions": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-1.2.1.tgz", - "integrity": "sha1-y96fEuOFdaCvG+G5osXV/Y8Ya2I=", - "requires": { - "array-uniq": "1.0.3", - "get-stdin": "4.0.1", - "meow": "3.7.0", - "semver-regex": "1.0.0" - } - }, - "first-chunk-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz", - "integrity": "sha1-Wb+1DNkF9g18OUzT2ayqtOatk04=" - }, - "flag-icon-css": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/flag-icon-css/-/flag-icon-css-2.9.0.tgz", - "integrity": "sha512-SeHvGEB43XFPZiJz6lFFRGHfp+Db+s1qGiClW70cZauQVbPM42wImlNUEuXSXs94kPchz7xvoxP0QK1y6FxLfg==" - }, - "flatten": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz", - "integrity": "sha1-2uRqnXj74lKSJYzB54CkHZXAN4I=" - }, - "flush-write-stream": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.2.tgz", - "integrity": "sha1-yBuQ2HRnZvGmCaRoCZRsRd2K5Bc=", - "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.3" - } - }, - "follow-redirects": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.2.6.tgz", - "integrity": "sha512-FrMqZ/FONtHnbqO651UPpfRUVukIEwJhXMfdr/JWAmrDbeYBu773b1J6gdWDyRIj4hvvzQEHoEOTrdR8o6KLYA==", - "requires": { - "debug": "3.1.0" - } - }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=" - }, - "for-own": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", - "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", - "requires": { - "for-in": "1.0.2" - } - }, - "foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" - }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" - }, - "form-data": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz", - "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=", - "requires": { - "asynckit": "0.4.0", - "combined-stream": "1.0.5", - "mime-types": "2.1.17" - } - }, - "forwarded": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", - "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" - }, - "friendly-errors-webpack-plugin": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.6.1.tgz", - "integrity": "sha1-4yeBxHIvVGoGqbXXp8+ihSA3XXA=", - "requires": { - "chalk": "1.1.3", - "error-stack-parser": "2.0.1", - "string-length": "1.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "from2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", - "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", - "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.3" - } - }, - "fs-extra": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-3.0.1.tgz", - "integrity": "sha1-N5TzeMWLNC6n27sjCVEJxLO2IpE=", - "requires": { - "graceful-fs": "4.1.11", - "jsonfile": "3.0.1", - "universalify": "0.1.1" - } - }, - "fs-write-stream-atomic": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", - "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", - "requires": { - "graceful-fs": "4.1.11", - "iferr": "0.1.5", - "imurmurhash": "0.1.4", - "readable-stream": "2.3.3" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "fsevents": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.3.tgz", - "integrity": "sha512-WIr7iDkdmdbxu/Gh6eKEZJL6KPE74/5MEsf2whTOFNxbIoIixogroLdKYqB6FDav4Wavh/lZdzzd3b2KxIXC5Q==", - "optional": true, - "requires": { - "nan": "2.8.0", - "node-pre-gyp": "0.6.39" - }, - "dependencies": { - "abbrev": { - "version": "1.1.0", - "bundled": true, - "optional": true - }, - "ajv": { - "version": "4.11.8", - "bundled": true, - "optional": true, - "requires": { - "co": "4.6.0", - "json-stable-stringify": "1.0.1" - } - }, - "ansi-regex": { - "version": "2.1.1", - "bundled": true - }, - "aproba": { - "version": "1.1.1", - "bundled": true, - "optional": true - }, - "are-we-there-yet": { - "version": "1.1.4", - "bundled": true, - "optional": true, - "requires": { - "delegates": "1.0.0", - "readable-stream": "2.2.9" - } - }, - "asn1": { - "version": "0.2.3", - "bundled": true, - "optional": true - }, - "assert-plus": { - "version": "0.2.0", - "bundled": true, - "optional": true - }, - "asynckit": { - "version": "0.4.0", - "bundled": true, - "optional": true - }, - "aws-sign2": { - "version": "0.6.0", - "bundled": true, - "optional": true - }, - "aws4": { - "version": "1.6.0", - "bundled": true, - "optional": true - }, - "balanced-match": { - "version": "0.4.2", - "bundled": true - }, - "bcrypt-pbkdf": { - "version": "1.0.1", - "bundled": true, - "optional": true, - "requires": { - "tweetnacl": "0.14.5" - } - }, - "block-stream": { - "version": "0.0.9", - "bundled": true, - "requires": { - "inherits": "2.0.3" - } - }, - "boom": { - "version": "2.10.1", - "bundled": true, - "requires": { - "hoek": "2.16.3" - } - }, - "brace-expansion": { - "version": "1.1.7", - "bundled": true, - "requires": { - "balanced-match": "0.4.2", - "concat-map": "0.0.1" - } - }, - "buffer-shims": { - "version": "1.0.0", - "bundled": true - }, - "caseless": { - "version": "0.12.0", - "bundled": true, - "optional": true - }, - "co": { - "version": "4.6.0", - "bundled": true, - "optional": true - }, - "code-point-at": { - "version": "1.1.0", - "bundled": true - }, - "combined-stream": { - "version": "1.0.5", - "bundled": true, - "requires": { - "delayed-stream": "1.0.0" - } - }, - "concat-map": { - "version": "0.0.1", - "bundled": true - }, - "console-control-strings": { - "version": "1.1.0", - "bundled": true - }, - "core-util-is": { - "version": "1.0.2", - "bundled": true - }, - "cryptiles": { - "version": "2.0.5", - "bundled": true, - "requires": { - "boom": "2.10.1" - } - }, - "dashdash": { - "version": "1.14.1", - "bundled": true, - "optional": true, - "requires": { - "assert-plus": "1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "bundled": true, - "optional": true - } - } - }, - "debug": { - "version": "2.6.8", - "bundled": true, - "optional": true, - "requires": { - "ms": "2.0.0" - } - }, - "deep-extend": { - "version": "0.4.2", - "bundled": true, - "optional": true - }, - "delayed-stream": { - "version": "1.0.0", - "bundled": true - }, - "delegates": { - "version": "1.0.0", - "bundled": true, - "optional": true - }, - "detect-libc": { - "version": "1.0.2", - "bundled": true, - "optional": true - }, - "ecc-jsbn": { - "version": "0.1.1", - "bundled": true, - "optional": true, - "requires": { - "jsbn": "0.1.1" - } - }, - "extend": { - "version": "3.0.1", - "bundled": true, - "optional": true - }, - "extsprintf": { - "version": "1.0.2", - "bundled": true - }, - "forever-agent": { - "version": "0.6.1", - "bundled": true, - "optional": true - }, - "form-data": { - "version": "2.1.4", - "bundled": true, - "optional": true, - "requires": { - "asynckit": "0.4.0", - "combined-stream": "1.0.5", - "mime-types": "2.1.15" - } - }, - "fs.realpath": { - "version": "1.0.0", - "bundled": true - }, - "fstream": { - "version": "1.0.11", - "bundled": true, - "requires": { - "graceful-fs": "4.1.11", - "inherits": "2.0.3", - "mkdirp": "0.5.1", - "rimraf": "2.6.1" - } - }, - "fstream-ignore": { - "version": "1.0.5", - "bundled": true, - "optional": true, - "requires": { - "fstream": "1.0.11", - "inherits": "2.0.3", - "minimatch": "3.0.4" - } - }, - "gauge": { - "version": "2.7.4", - "bundled": true, - "optional": true, - "requires": { - "aproba": "1.1.1", - "console-control-strings": "1.1.0", - "has-unicode": "2.0.1", - "object-assign": "4.1.1", - "signal-exit": "3.0.2", - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wide-align": "1.1.2" - } - }, - "getpass": { - "version": "0.1.7", - "bundled": true, - "optional": true, - "requires": { - "assert-plus": "1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "bundled": true, - "optional": true - } - } - }, - "glob": { - "version": "7.1.2", - "bundled": true, - "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } - }, - "graceful-fs": { - "version": "4.1.11", - "bundled": true - }, - "har-schema": { - "version": "1.0.5", - "bundled": true, - "optional": true - }, - "har-validator": { - "version": "4.2.1", - "bundled": true, - "optional": true, - "requires": { - "ajv": "4.11.8", - "har-schema": "1.0.5" - } - }, - "has-unicode": { - "version": "2.0.1", - "bundled": true, - "optional": true - }, - "hawk": { - "version": "3.1.3", - "bundled": true, - "requires": { - "boom": "2.10.1", - "cryptiles": "2.0.5", - "hoek": "2.16.3", - "sntp": "1.0.9" - } - }, - "hoek": { - "version": "2.16.3", - "bundled": true - }, - "http-signature": { - "version": "1.1.1", - "bundled": true, - "optional": true, - "requires": { - "assert-plus": "0.2.0", - "jsprim": "1.4.0", - "sshpk": "1.13.0" - } - }, - "inflight": { - "version": "1.0.6", - "bundled": true, - "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" - } - }, - "inherits": { - "version": "2.0.3", - "bundled": true - }, - "ini": { - "version": "1.3.4", - "bundled": true, - "optional": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "bundled": true, - "requires": { - "number-is-nan": "1.0.1" - } - }, - "is-typedarray": { - "version": "1.0.0", - "bundled": true, - "optional": true - }, - "isarray": { - "version": "1.0.0", - "bundled": true - }, - "isstream": { - "version": "0.1.2", - "bundled": true, - "optional": true - }, - "jodid25519": { - "version": "1.0.2", - "bundled": true, - "optional": true, - "requires": { - "jsbn": "0.1.1" - } - }, - "jsbn": { - "version": "0.1.1", - "bundled": true, - "optional": true - }, - "json-schema": { - "version": "0.2.3", - "bundled": true, - "optional": true - }, - "json-stable-stringify": { - "version": "1.0.1", - "bundled": true, - "optional": true, - "requires": { - "jsonify": "0.0.0" - } - }, - "json-stringify-safe": { - "version": "5.0.1", - "bundled": true, - "optional": true - }, - "jsonify": { - "version": "0.0.0", - "bundled": true, - "optional": true - }, - "jsprim": { - "version": "1.4.0", - "bundled": true, - "optional": true, - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.0.2", - "json-schema": "0.2.3", - "verror": "1.3.6" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "bundled": true, - "optional": true - } - } - }, - "mime-db": { - "version": "1.27.0", - "bundled": true - }, - "mime-types": { - "version": "2.1.15", - "bundled": true, - "requires": { - "mime-db": "1.27.0" - } - }, - "minimatch": { - "version": "3.0.4", - "bundled": true, - "requires": { - "brace-expansion": "1.1.7" - } - }, - "minimist": { - "version": "0.0.8", - "bundled": true - }, - "mkdirp": { - "version": "0.5.1", - "bundled": true, - "requires": { - "minimist": "0.0.8" - } - }, - "ms": { - "version": "2.0.0", - "bundled": true, - "optional": true - }, - "node-pre-gyp": { - "version": "0.6.39", - "bundled": true, - "optional": true, - "requires": { - "detect-libc": "1.0.2", - "hawk": "3.1.3", - "mkdirp": "0.5.1", - "nopt": "4.0.1", - "npmlog": "4.1.0", - "rc": "1.2.1", - "request": "2.81.0", - "rimraf": "2.6.1", - "semver": "5.3.0", - "tar": "2.2.1", - "tar-pack": "3.4.0" - } - }, - "nopt": { - "version": "4.0.1", - "bundled": true, - "optional": true, - "requires": { - "abbrev": "1.1.0", - "osenv": "0.1.4" - } - }, - "npmlog": { - "version": "4.1.0", - "bundled": true, - "optional": true, - "requires": { - "are-we-there-yet": "1.1.4", - "console-control-strings": "1.1.0", - "gauge": "2.7.4", - "set-blocking": "2.0.0" - } - }, - "number-is-nan": { - "version": "1.0.1", - "bundled": true - }, - "oauth-sign": { - "version": "0.8.2", - "bundled": true, - "optional": true - }, - "object-assign": { - "version": "4.1.1", - "bundled": true, - "optional": true - }, - "once": { - "version": "1.4.0", - "bundled": true, - "requires": { - "wrappy": "1.0.2" - } - }, - "os-homedir": { - "version": "1.0.2", - "bundled": true, - "optional": true - }, - "os-tmpdir": { - "version": "1.0.2", - "bundled": true, - "optional": true - }, - "osenv": { - "version": "0.1.4", - "bundled": true, - "optional": true, - "requires": { - "os-homedir": "1.0.2", - "os-tmpdir": "1.0.2" - } - }, - "path-is-absolute": { - "version": "1.0.1", - "bundled": true - }, - "performance-now": { - "version": "0.2.0", - "bundled": true, - "optional": true - }, - "process-nextick-args": { - "version": "1.0.7", - "bundled": true - }, - "punycode": { - "version": "1.4.1", - "bundled": true, - "optional": true - }, - "qs": { - "version": "6.4.0", - "bundled": true, - "optional": true - }, - "rc": { - "version": "1.2.1", - "bundled": true, - "optional": true, - "requires": { - "deep-extend": "0.4.2", - "ini": "1.3.4", - "minimist": "1.2.0", - "strip-json-comments": "2.0.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "bundled": true, - "optional": true - } - } - }, - "readable-stream": { - "version": "2.2.9", - "bundled": true, - "requires": { - "buffer-shims": "1.0.0", - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "1.0.0", - "process-nextick-args": "1.0.7", - "string_decoder": "1.0.1", - "util-deprecate": "1.0.2" - } - }, - "request": { - "version": "2.81.0", - "bundled": true, - "optional": true, - "requires": { - "aws-sign2": "0.6.0", - "aws4": "1.6.0", - "caseless": "0.12.0", - "combined-stream": "1.0.5", - "extend": "3.0.1", - "forever-agent": "0.6.1", - "form-data": "2.1.4", - "har-validator": "4.2.1", - "hawk": "3.1.3", - "http-signature": "1.1.1", - "is-typedarray": "1.0.0", - "isstream": "0.1.2", - "json-stringify-safe": "5.0.1", - "mime-types": "2.1.15", - "oauth-sign": "0.8.2", - "performance-now": "0.2.0", - "qs": "6.4.0", - "safe-buffer": "5.0.1", - "stringstream": "0.0.5", - "tough-cookie": "2.3.2", - "tunnel-agent": "0.6.0", - "uuid": "3.0.1" - } - }, - "rimraf": { - "version": "2.6.1", - "bundled": true, - "requires": { - "glob": "7.1.2" - } - }, - "safe-buffer": { - "version": "5.0.1", - "bundled": true - }, - "semver": { - "version": "5.3.0", - "bundled": true, - "optional": true - }, - "set-blocking": { - "version": "2.0.0", - "bundled": true, - "optional": true - }, - "signal-exit": { - "version": "3.0.2", - "bundled": true, - "optional": true - }, - "sntp": { - "version": "1.0.9", - "bundled": true, - "requires": { - "hoek": "2.16.3" - } - }, - "sshpk": { - "version": "1.13.0", - "bundled": true, - "optional": true, - "requires": { - "asn1": "0.2.3", - "assert-plus": "1.0.0", - "bcrypt-pbkdf": "1.0.1", - "dashdash": "1.14.1", - "ecc-jsbn": "0.1.1", - "getpass": "0.1.7", - "jodid25519": "1.0.2", - "jsbn": "0.1.1", - "tweetnacl": "0.14.5" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "bundled": true, - "optional": true - } - } - }, - "string-width": { - "version": "1.0.2", - "bundled": true, - "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" - } - }, - "string_decoder": { - "version": "1.0.1", - "bundled": true, - "requires": { - "safe-buffer": "5.0.1" - } - }, - "stringstream": { - "version": "0.0.5", - "bundled": true, - "optional": true - }, - "strip-ansi": { - "version": "3.0.1", - "bundled": true, - "requires": { - "ansi-regex": "2.1.1" - } - }, - "strip-json-comments": { - "version": "2.0.1", - "bundled": true, - "optional": true - }, - "tar": { - "version": "2.2.1", - "bundled": true, - "requires": { - "block-stream": "0.0.9", - "fstream": "1.0.11", - "inherits": "2.0.3" - } - }, - "tar-pack": { - "version": "3.4.0", - "bundled": true, - "optional": true, - "requires": { - "debug": "2.6.8", - "fstream": "1.0.11", - "fstream-ignore": "1.0.5", - "once": "1.4.0", - "readable-stream": "2.2.9", - "rimraf": "2.6.1", - "tar": "2.2.1", - "uid-number": "0.0.6" - } - }, - "tough-cookie": { - "version": "2.3.2", - "bundled": true, - "optional": true, - "requires": { - "punycode": "1.4.1" - } - }, - "tunnel-agent": { - "version": "0.6.0", - "bundled": true, - "optional": true, - "requires": { - "safe-buffer": "5.0.1" - } - }, - "tweetnacl": { - "version": "0.14.5", - "bundled": true, - "optional": true - }, - "uid-number": { - "version": "0.0.6", - "bundled": true, - "optional": true - }, - "util-deprecate": { - "version": "1.0.2", - "bundled": true - }, - "uuid": { - "version": "3.0.1", - "bundled": true, - "optional": true - }, - "verror": { - "version": "1.3.6", - "bundled": true, - "optional": true, - "requires": { - "extsprintf": "1.0.2" - } - }, - "wide-align": { - "version": "1.1.2", - "bundled": true, - "optional": true, - "requires": { - "string-width": "1.0.2" - } - }, - "wrappy": { - "version": "1.0.2", - "bundled": true - } - } - }, - "fstream": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", - "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", - "requires": { - "graceful-fs": "4.1.11", - "inherits": "2.0.3", - "mkdirp": "0.5.1", - "rimraf": "2.6.2" - } - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", - "requires": { - "aproba": "1.2.0", - "console-control-strings": "1.1.0", - "has-unicode": "2.0.1", - "object-assign": "4.1.1", - "signal-exit": "3.0.2", - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wide-align": "1.1.2" - } - }, - "gaze": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.2.tgz", - "integrity": "sha1-hHIkZ3rbiHDWeSV+0ziP22HkAQU=", - "requires": { - "globule": "1.2.0" - } - }, - "generate-function": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", - "integrity": "sha1-aFj+fAlpt9TpCTM3ZHrHn2DfvnQ=" - }, - "generate-object-property": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", - "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", - "requires": { - "is-property": "1.0.2" - } - }, - "get-caller-file": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", - "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=" - }, - "get-proxy": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/get-proxy/-/get-proxy-1.1.0.tgz", - "integrity": "sha1-iUhUSRvFkbDxR9euVw9cZ4tyVus=", - "requires": { - "rc": "1.2.2" - } - }, - "get-stdin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=" - }, - "get-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=" - }, - "getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "requires": { - "assert-plus": "1.0.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } - } - }, - "gifsicle": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/gifsicle/-/gifsicle-3.0.4.tgz", - "integrity": "sha1-9Fy17RAWW2ZdySng6TKLbIId+js=", - "requires": { - "bin-build": "2.2.0", - "bin-wrapper": "3.0.2", - "logalot": "2.1.0" - } - }, - "glob": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", - "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } - }, - "glob-base": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", - "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", - "requires": { - "glob-parent": "2.0.0", - "is-glob": "2.0.1" - } - }, - "glob-parent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", - "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", - "requires": { - "is-glob": "2.0.1" - } - }, - "glob-stream": { - "version": "5.3.5", - "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-5.3.5.tgz", - "integrity": "sha1-pVZlqajM3EGRWofHAeMtTgFvrSI=", - "requires": { - "extend": "3.0.1", - "glob": "5.0.15", - "glob-parent": "3.1.0", - "micromatch": "2.3.11", - "ordered-read-streams": "0.3.0", - "through2": "0.6.5", - "to-absolute-glob": "0.1.1", - "unique-stream": "2.2.1" - }, - "dependencies": { - "glob": { - "version": "5.0.15", - "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", - "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", - "requires": { - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } - }, - "glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "requires": { - "is-glob": "3.1.0", - "path-dirname": "1.0.2" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" - }, - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "requires": { - "is-extglob": "2.1.1" - } - } - } - }, - "globals": { - "version": "9.18.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", - "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==" - }, - "globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", - "requires": { - "array-union": "1.0.2", - "glob": "7.1.2", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" - }, - "dependencies": { - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" - } - } - }, - "globs": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/globs/-/globs-0.1.3.tgz", - "integrity": "sha1-ZwA3ElKHy2VJqtlqRM+mhP18VQI=", - "requires": { - "glob": "7.1.2" - } - }, - "globule": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/globule/-/globule-1.2.0.tgz", - "integrity": "sha1-HcScaCLdnoovoAuiopUAboZkvQk=", - "requires": { - "glob": "7.1.2", - "lodash": "4.17.4", - "minimatch": "3.0.4" - } - }, - "glogg": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.0.tgz", - "integrity": "sha1-f+DxmfV6yQbPUS/urY+Q7kooT8U=", - "requires": { - "sparkles": "1.0.0" - } - }, - "got": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/got/-/got-5.7.1.tgz", - "integrity": "sha1-X4FjWmHkplifGAVp6k44FoClHzU=", - "requires": { - "create-error-class": "3.0.2", - "duplexer2": "0.1.4", - "is-redirect": "1.0.0", - "is-retry-allowed": "1.1.0", - "is-stream": "1.1.0", - "lowercase-keys": "1.0.0", - "node-status-codes": "1.0.0", - "object-assign": "4.1.1", - "parse-json": "2.2.0", - "pinkie-promise": "2.0.1", - "read-all-stream": "3.1.0", - "readable-stream": "2.3.3", - "timed-out": "3.1.3", - "unzip-response": "1.0.2", - "url-parse-lax": "1.0.0" - } - }, - "graceful-fs": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" - }, - "graceful-readlink": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", - "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=" - }, - "growly": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", - "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=" - }, - "gulp-decompress": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/gulp-decompress/-/gulp-decompress-1.2.0.tgz", - "integrity": "sha1-jutlpeAV+O2FMsr+KEVJYGJvDcc=", - "requires": { - "archive-type": "3.2.0", - "decompress": "3.0.0", - "gulp-util": "3.0.8", - "readable-stream": "2.3.3" - } - }, - "gulp-rename": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/gulp-rename/-/gulp-rename-1.2.2.tgz", - "integrity": "sha1-OtRCh2PwXidk3sHGfYaNsnVoeBc=" - }, - "gulp-sourcemaps": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/gulp-sourcemaps/-/gulp-sourcemaps-1.6.0.tgz", - "integrity": "sha1-uG/zSdgBzrVuHZ59x7vLS33uYAw=", - "requires": { - "convert-source-map": "1.5.1", - "graceful-fs": "4.1.11", - "strip-bom": "2.0.0", - "through2": "2.0.3", - "vinyl": "1.2.0" - }, - "dependencies": { - "through2": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", - "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", - "requires": { - "readable-stream": "2.3.3", - "xtend": "4.0.1" - } - } - } - }, - "gulp-util": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/gulp-util/-/gulp-util-3.0.8.tgz", - "integrity": "sha1-AFTh50RQLifATBh8PsxQXdVLu08=", - "requires": { - "array-differ": "1.0.0", - "array-uniq": "1.0.3", - "beeper": "1.1.1", - "chalk": "1.1.3", - "dateformat": "2.2.0", - "fancy-log": "1.3.0", - "gulplog": "1.0.0", - "has-gulplog": "0.1.0", - "lodash._reescape": "3.0.0", - "lodash._reevaluate": "3.0.0", - "lodash._reinterpolate": "3.0.0", - "lodash.template": "3.6.2", - "minimist": "1.2.0", - "multipipe": "0.1.2", - "object-assign": "3.0.0", - "replace-ext": "0.0.1", - "through2": "2.0.3", - "vinyl": "0.5.3" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" - }, - "object-assign": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-3.0.0.tgz", - "integrity": "sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I=" - }, - "replace-ext": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz", - "integrity": "sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=" - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - }, - "through2": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", - "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", - "requires": { - "readable-stream": "2.3.3", - "xtend": "4.0.1" - } - }, - "vinyl": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.5.3.tgz", - "integrity": "sha1-sEVbOPxeDPMNQyUTLkYZcMIJHN4=", - "requires": { - "clone": "1.0.3", - "clone-stats": "0.0.1", - "replace-ext": "0.0.1" - } - } - } - }, - "gulplog": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gulplog/-/gulplog-1.0.0.tgz", - "integrity": "sha1-4oxNRdBey77YGDY86PnFkmIp/+U=", - "requires": { - "glogg": "1.0.0" - } - }, - "handle-thing": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-1.2.5.tgz", - "integrity": "sha1-/Xqtcmvxpf0W38KbL3pmAdJxOcQ=" - }, - "har-validator": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", - "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=", - "requires": { - "chalk": "1.1.3", - "commander": "2.12.2", - "is-my-json-valid": "2.16.1", - "pinkie-promise": "2.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.1.tgz", - "integrity": "sha1-hGFzP1OLCDfJNh45qauelwTcLyg=", - "requires": { - "function-bind": "1.1.1" - } - }, - "has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "requires": { - "ansi-regex": "2.1.1" - } - }, - "has-flag": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", - "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=" - }, - "has-gulplog": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/has-gulplog/-/has-gulplog-0.1.0.tgz", - "integrity": "sha1-ZBTIKRNpfaUVkDl9r7EvIpZ4Ec4=", - "requires": { - "sparkles": "1.0.0" - } - }, - "has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" - }, - "hash-base": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-2.0.2.tgz", - "integrity": "sha1-ZuodhW206KVHDK32/OI65SRO8uE=", - "requires": { - "inherits": "2.0.3" - } - }, - "hash-sum": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-1.0.2.tgz", - "integrity": "sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ=" - }, - "hash.js": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", - "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", - "requires": { - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0" - } - }, - "hawk": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", - "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", - "requires": { - "boom": "2.10.1", - "cryptiles": "2.0.5", - "hoek": "2.16.3", - "sntp": "1.0.9" - } - }, - "he": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", - "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=" - }, - "hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "requires": { - "hash.js": "1.1.3", - "minimalistic-assert": "1.0.0", - "minimalistic-crypto-utils": "1.0.1" - } - }, - "hoek": { - "version": "2.16.3", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", - "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=" - }, - "home-or-tmp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", - "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", - "requires": { - "os-homedir": "1.0.2", - "os-tmpdir": "1.0.2" - } - }, - "hosted-git-info": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.5.0.tgz", - "integrity": "sha1-bWDjSzq7yDEwYsO3mO+NkBoHrzw=" - }, - "hpack.js": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", - "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", - "requires": { - "inherits": "2.0.3", - "obuf": "1.1.1", - "readable-stream": "2.3.3", - "wbuf": "1.7.2" - } - }, - "html-comment-regex": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.1.tgz", - "integrity": "sha1-ZouTd26q5V696POtRkswekljYl4=" - }, - "html-entities": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz", - "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=" - }, - "html-loader": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/html-loader/-/html-loader-0.4.5.tgz", - "integrity": "sha1-X7zYfNY6XEmn/OL+VvQl4Fcpxow=", - "requires": { - "es6-templates": "0.2.3", - "fastparse": "1.1.1", - "html-minifier": "3.5.7", - "loader-utils": "1.1.0", - "object-assign": "4.1.1" - } - }, - "html-minifier": { - "version": "3.5.7", - "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.7.tgz", - "integrity": "sha512-GISXn6oKDo7+gVpKOgZJTbHMCUI2TSGfpg/8jgencWhWJsvEmsvp3M8emX7QocsXsYznWloLib3OeSfeyb/ewg==", - "requires": { - "camel-case": "3.0.0", - "clean-css": "4.1.9", - "commander": "2.12.2", - "he": "1.1.1", - "ncname": "1.0.0", - "param-case": "2.1.1", - "relateurl": "0.2.7", - "uglify-js": "3.2.1" - }, - "dependencies": { - "uglify-js": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.2.1.tgz", - "integrity": "sha512-BhZTJPmOKPSUcjnx2nlfaOQKHLyjjT4HFyzFWF1BUErx9knJNpdW94ql5o8qVxeNL+8IAWjEjnPvASH2yZnkMg==", - "requires": { - "commander": "2.12.2", - "source-map": "0.6.1" - } - } - } - }, - "http-deceiver": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", - "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=" - }, - "http-errors": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz", - "integrity": "sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=", - "requires": { - "depd": "1.1.1", - "inherits": "2.0.3", - "setprototypeof": "1.0.3", - "statuses": "1.3.1" - }, - "dependencies": { - "setprototypeof": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz", - "integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=" - } - } - }, - "http-parser-js": { - "version": "0.4.9", - "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.9.tgz", - "integrity": "sha1-6hoE+2St/wJC6ZdPKX3Uw8rSceE=" - }, - "http-proxy": { - "version": "1.16.2", - "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.16.2.tgz", - "integrity": "sha1-Bt/ykpUr9k2+hHH6nfcwZtTzd0I=", - "requires": { - "eventemitter3": "1.2.0", - "requires-port": "1.0.0" - } - }, - "http-proxy-middleware": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.17.4.tgz", - "integrity": "sha1-ZC6ISIUdZvCdTxJJEoRtuutBuDM=", - "requires": { - "http-proxy": "1.16.2", - "is-glob": "3.1.0", - "lodash": "4.17.4", - "micromatch": "2.3.11" - }, - "dependencies": { - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" - }, - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "requires": { - "is-extglob": "2.1.1" - } - } - } - }, - "http-signature": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", - "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", - "requires": { - "assert-plus": "0.2.0", - "jsprim": "1.4.1", - "sshpk": "1.13.1" - } - }, - "https-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", - "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=" - }, - "icheck": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/icheck/-/icheck-1.0.2.tgz", - "integrity": "sha1-BtCNo9R65EjBU7Jjm4bprX/fcSg=" - }, - "iconv-lite": { - "version": "0.4.19", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", - "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==" - }, - "icss-replace-symbols": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz", - "integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=" - }, - "icss-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-2.1.0.tgz", - "integrity": "sha1-g/Cg7DeL8yRheLbCrZE28TWxyWI=", - "requires": { - "postcss": "6.0.14" - } - }, - "ieee754": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz", - "integrity": "sha1-vjPUCsEO8ZJnAfbwii2G+/0a0+Q=" - }, - "iferr": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz", - "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=" - }, - "ignore": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.7.tgz", - "integrity": "sha512-YGG3ejvBNHRqu0559EOxxNFihD0AjpvHlC/pdGKd3X3ofe+CoJkYazwNJYTNebqpPKN+VVQbh4ZFn1DivMNuHA==", - "dev": true - }, - "imagemin": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/imagemin/-/imagemin-5.3.1.tgz", - "integrity": "sha1-8Zwu7h5xumxlWMUV+fyWaAGJptQ=", - "requires": { - "file-type": "4.4.0", - "globby": "6.1.0", - "make-dir": "1.1.0", - "p-pipe": "1.2.0", - "pify": "2.3.0", - "replace-ext": "1.0.0" - }, - "dependencies": { - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" - } - } - }, - "imagemin-gifsicle": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/imagemin-gifsicle/-/imagemin-gifsicle-5.2.0.tgz", - "integrity": "sha512-K01m5QuPK+0en8oVhiOOAicF7KjrHlCZxS++mfLI2mV/Ksfq/Y9nCXCWDz6jRv13wwlqe5T7hXT+ji2DnLc2yQ==", - "requires": { - "exec-buffer": "3.2.0", - "gifsicle": "3.0.4", - "is-gif": "1.0.0" - } - }, - "imagemin-mozjpeg": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/imagemin-mozjpeg/-/imagemin-mozjpeg-6.0.0.tgz", - "integrity": "sha1-caMqRXqhsmEXpo7u8tmxkMLlCR4=", - "requires": { - "exec-buffer": "3.2.0", - "is-jpg": "1.0.0", - "mozjpeg": "4.1.1" - } - }, - "imagemin-optipng": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/imagemin-optipng/-/imagemin-optipng-5.2.1.tgz", - "integrity": "sha1-0i2kEsCfX/AKQzmWC5ioix2+hpU=", - "requires": { - "exec-buffer": "3.2.0", - "is-png": "1.1.0", - "optipng-bin": "3.1.4" - } - }, - "imagemin-pngquant": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/imagemin-pngquant/-/imagemin-pngquant-5.0.1.tgz", - "integrity": "sha1-2KMp2lU6+iJrEc5i3r4Lfje0OeY=", - "requires": { - "exec-buffer": "3.2.0", - "is-png": "1.1.0", - "pngquant-bin": "3.1.1" - } - }, - "imagemin-svgo": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/imagemin-svgo/-/imagemin-svgo-5.2.4.tgz", - "integrity": "sha512-1bNZdlWVKdfxzu0xDD1pWjwK/G8FLcztUh/GWaI7xLgCFrn0j35o+uBbY7VcdY2AmKgiLYTXhrzrbkQk6xj8aA==", - "requires": { - "is-svg": "2.1.0", - "svgo": "0.7.2" - } - }, - "img-loader": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/img-loader/-/img-loader-2.0.0.tgz", - "integrity": "sha1-WDdAs+KjiuulQ1x91TC+nOdFT9k=", - "requires": { - "imagemin": "5.3.1", - "imagemin-gifsicle": "5.2.0", - "imagemin-mozjpeg": "6.0.0", - "imagemin-optipng": "5.2.1", - "imagemin-pngquant": "5.0.1", - "imagemin-svgo": "5.2.4", - "loader-utils": "1.1.0" - } - }, - "immediate": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", - "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=" - }, - "import-local": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-0.1.1.tgz", - "integrity": "sha1-sReVcqrNwRxqkQCftDDbyrX2aKg=", - "requires": { - "pkg-dir": "2.0.0", - "resolve-cwd": "2.0.0" - } - }, - "imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" - }, - "in-publish": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", - "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=" - }, - "indent-string": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", - "requires": { - "repeating": "2.0.1" - } - }, - "indexes-of": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", - "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=" - }, - "indexof": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", - "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=" - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" - } - }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "ini": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" - }, - "internal-ip": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/internal-ip/-/internal-ip-1.2.0.tgz", - "integrity": "sha1-rp+/k7mEh4eF1QqN4bNWlWBYz1w=", - "requires": { - "meow": "3.7.0" - } - }, - "interpret": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", - "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=" - }, - "invariant": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz", - "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=", - "requires": { - "loose-envify": "1.3.1" - } - }, - "invert-kv": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", - "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" - }, - "ip": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", - "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=" - }, - "ip-regex": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-1.0.3.tgz", - "integrity": "sha1-3FiQdvZZ9BnCIgOaMzFvHHOH7/0=" - }, - "ipaddr.js": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.5.2.tgz", - "integrity": "sha1-1LUFvemUaYfM8PxY2QEP+WB+P6A=" - }, - "is-absolute": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-0.1.7.tgz", - "integrity": "sha1-hHSREZ/MtftDYhfMc39/qtUPYD8=", - "requires": { - "is-relative": "0.1.3" - } - }, - "is-absolute-url": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz", - "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=" - }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "is-binary-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", - "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", - "requires": { - "binary-extensions": "1.11.0" - } - }, - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" - }, - "is-builtin-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", - "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", - "requires": { - "builtin-modules": "1.1.1" - } - }, - "is-bzip2": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-bzip2/-/is-bzip2-1.0.0.tgz", - "integrity": "sha1-XuWOqlounIDiFAe+3yOuWsCRs/w=" - }, - "is-callable": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz", - "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=" - }, - "is-date-object": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", - "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=" - }, - "is-directory": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", - "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=" - }, - "is-dotfile": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", - "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=" - }, - "is-equal-shallow": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", - "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", - "requires": { - "is-primitive": "2.0.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" - }, - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" - }, - "is-finite": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", - "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", - "requires": { - "number-is-nan": "1.0.1" - } - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "requires": { - "number-is-nan": "1.0.1" - } - }, - "is-gif": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-gif/-/is-gif-1.0.0.tgz", - "integrity": "sha1-ptKumIkwB7/6l6HYwB1jIFgyCX4=" - }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "requires": { - "is-extglob": "1.0.0" - } - }, - "is-gzip": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-gzip/-/is-gzip-1.0.0.tgz", - "integrity": "sha1-bKiwe5nHeZgCWQDlVc7Y7YCHmoM=" - }, - "is-jpg": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-jpg/-/is-jpg-1.0.0.tgz", - "integrity": "sha1-KVnBfnNDDbOCZNp1uQ3VTy2G2hw=" - }, - "is-my-json-valid": { - "version": "2.16.1", - "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.16.1.tgz", - "integrity": "sha512-ochPsqWS1WXj8ZnMIV0vnNXooaMhp7cyL4FMSIPKTtnV0Ha/T19G2b9kkhcNsabV9bxYkze7/aLZJb/bYuFduQ==", - "requires": { - "generate-function": "2.0.0", - "generate-object-property": "1.2.0", - "jsonpointer": "4.0.1", - "xtend": "4.0.1" - } - }, - "is-natural-number": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-natural-number/-/is-natural-number-2.1.1.tgz", - "integrity": "sha1-fUxXKDd+84bD4ZSpkRv1fG3DNec=" - }, - "is-number": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", - "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", - "requires": { - "kind-of": "3.2.2" - } - }, - "is-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=" - }, - "is-path-cwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", - "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=" - }, - "is-path-in-cwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz", - "integrity": "sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw=", - "requires": { - "is-path-inside": "1.0.1" - } - }, - "is-path-inside": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", - "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", - "requires": { - "path-is-inside": "1.0.2" - } - }, - "is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" - }, - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha1-LBY7P6+xtgbZ0Xko8FwqHDjgdnc=", - "requires": { - "isobject": "3.0.1" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - } - } - }, - "is-png": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-png/-/is-png-1.1.0.tgz", - "integrity": "sha1-1XSxK/J1wDUEVVcLDltXqwYgd84=" - }, - "is-posix-bracket": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", - "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=" - }, - "is-primitive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", - "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=" - }, - "is-property": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", - "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=" - }, - "is-redirect": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", - "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=" - }, - "is-regex": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", - "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", - "requires": { - "has": "1.0.1" - } - }, - "is-relative": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-0.1.3.tgz", - "integrity": "sha1-kF/uiuhvRbPsYUvDwVyGnfCHboI=" - }, - "is-retry-allowed": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", - "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=" - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" - }, - "is-svg": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-2.1.0.tgz", - "integrity": "sha1-z2EJDaDZ77yrhyLeum8DIgjbsOk=", - "requires": { - "html-comment-regex": "1.1.1" - } - }, - "is-symbol": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz", - "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=" - }, - "is-tar": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-tar/-/is-tar-1.0.0.tgz", - "integrity": "sha1-L2suF5LB9bs2UZrKqdZcDSb+hT0=" - }, - "is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" - }, - "is-url": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.2.tgz", - "integrity": "sha1-SYkFpZO/R8wtnn9zg3K792lsfyY=" - }, - "is-utf8": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=" - }, - "is-valid-glob": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-0.3.0.tgz", - "integrity": "sha1-1LVcafUYhvm2XHDWwmItN+KfSP4=" - }, - "is-windows": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.1.tgz", - "integrity": "sha1-MQ23D3QtJZoWo2kgK1GvhCMzENk=" - }, - "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=" - }, - "is-zip": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-zip/-/is-zip-1.0.0.tgz", - "integrity": "sha1-R7Co/004p2QxzP2ZqOFaTIa6IyU=" - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" - }, - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "requires": { - "isarray": "1.0.0" - } - }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" - }, - "jquery": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.3.1.tgz", - "integrity": "sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg==" - }, - "jquery-mousewheel": { - "version": "3.1.13", - "resolved": "https://registry.npmjs.org/jquery-mousewheel/-/jquery-mousewheel-3.1.13.tgz", - "integrity": "sha1-BvAzXxbjU6aV5yBr9QUDy1I6buU=" - }, - "jquery-pjax": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/jquery-pjax/-/jquery-pjax-2.0.1.tgz", - "integrity": "sha1-azoboW5kTmJL3P5y62s9lqhG9fI=" - }, - "js-base64": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.4.0.tgz", - "integrity": "sha512-Wehd+7Pf9tFvGb+ydPm9TjYjV8X1YHOVyG8QyELZxEMqOhemVwGRmoG8iQ/soqI3n8v4xn59zaLxiCJiaaRzKA==" - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" - }, - "js-yaml": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.7.0.tgz", - "integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=", - "requires": { - "argparse": "1.0.9", - "esprima": "2.7.3" - } - }, - "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", - "optional": true - }, - "jsesc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", - "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=" - }, - "json-loader": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/json-loader/-/json-loader-0.5.7.tgz", - "integrity": "sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==" - }, - "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" - }, - "json-schema-traverse": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", - "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" - }, - "json-stable-stringify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", - "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", - "requires": { - "jsonify": "0.0.0" - } - }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, - "json3": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", - "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=" - }, - "json5": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", - "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=" - }, - "jsonfile": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-3.0.1.tgz", - "integrity": "sha1-pezG9l9T9mLEQVx2daAzHQmS7GY=", - "requires": { - "graceful-fs": "4.1.11" - } - }, - "jsonify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", - "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=" - }, - "jsonpointer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", - "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=" - }, - "jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } - } - }, - "killable": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/killable/-/killable-1.0.0.tgz", - "integrity": "sha1-2ouEvUfeU5WHj5XWTQLyRJ/gXms=" - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "1.1.6" - } - }, - "laravel-mix": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/laravel-mix/-/laravel-mix-1.7.2.tgz", - "integrity": "sha512-La1eAsCkEdySc9J9MJ/g8Dj1EfGo7aXW92GZKoSbrSg4uQWNNoV824e6+o4f4Eo/YWYrYwZTkdnWJJ1uVqP+dw==", - "requires": { - "autoprefixer": "7.2.1", - "babel-core": "6.26.0", - "babel-loader": "7.1.2", - "babel-plugin-transform-object-rest-spread": "6.26.0", - "babel-plugin-transform-runtime": "6.23.0", - "babel-preset-env": "1.6.1", - "chokidar": "1.7.0", - "clean-css": "4.1.9", - "concatenate": "0.0.2", - "css-loader": "0.28.7", - "dotenv": "4.0.0", - "dotenv-expand": "4.0.1", - "extract-text-webpack-plugin": "3.0.2", - "file-loader": "0.11.2", - "friendly-errors-webpack-plugin": "1.6.1", - "fs-extra": "3.0.1", - "glob": "7.1.2", - "html-loader": "0.4.5", - "img-loader": "2.0.0", - "lodash": "4.17.4", - "md5": "2.2.1", - "node-sass": "4.7.2", - "postcss-loader": "2.0.9", - "resolve-url-loader": "2.2.0", - "sass-loader": "6.0.6", - "style-loader": "0.18.2", - "uglify-js": "2.8.29", - "uglifyjs-webpack-plugin": "1.1.2", - "vue-loader": "13.5.0", - "vue-template-compiler": "2.5.9", - "webpack": "3.10.0", - "webpack-chunk-hash": "0.4.0", - "webpack-dev-server": "2.9.7", - "webpack-merge": "4.1.1", - "webpack-notifier": "1.5.0", - "yargs": "8.0.2" - } - }, - "lazy-cache": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-0.2.7.tgz", - "integrity": "sha1-f+3fLctu23fRHvHRF6tf/fCrG2U=" - }, - "lazy-req": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/lazy-req/-/lazy-req-1.1.0.tgz", - "integrity": "sha1-va6+rTD42CQDnODOFJ1Nqge6H6w=" - }, - "lazystream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz", - "integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=", - "requires": { - "readable-stream": "2.3.3" - } - }, - "lcid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", - "requires": { - "invert-kv": "1.0.0" - } - }, - "leaflet": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.3.1.tgz", - "integrity": "sha512-adQOIzh+bfdridLM1xIgJ9VnJbAUY3wqs/ueF+ITla+PLQ1z47USdBKUf+iD9FuUA8RtlT6j6hZBfZoA6mW+XQ==" - }, - "leaflet-ajax": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/leaflet-ajax/-/leaflet-ajax-2.1.0.tgz", - "integrity": "sha1-JpND1ZvTjcnfpPOnM+eH/zL+I28=", - "requires": { - "lie": "3.1.1" - } - }, - "leaflet-rotatedmarker": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/leaflet-rotatedmarker/-/leaflet-rotatedmarker-0.2.0.tgz", - "integrity": "sha1-RGf0n5jRv9VpWb2cZwUgPdJgEnc=" - }, - "lie": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", - "integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=", - "requires": { - "immediate": "3.0.6" - } - }, - "load-json-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", - "requires": { - "graceful-fs": "4.1.11", - "parse-json": "2.2.0", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "strip-bom": "2.0.0" - }, - "dependencies": { - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" - } - } - }, - "loader-runner": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.0.tgz", - "integrity": "sha1-9IKuqC1UPgeSFwDVpG7yb9rGuKI=" - }, - "loader-utils": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", - "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", - "requires": { - "big.js": "3.2.0", - "emojis-list": "2.1.0", - "json5": "0.5.1" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "requires": { - "p-locate": "2.0.0", - "path-exists": "3.0.0" - } - }, - "lodash": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=" - }, - "lodash._arraycopy": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._arraycopy/-/lodash._arraycopy-3.0.0.tgz", - "integrity": "sha1-due3wfH7klRzdIeKVi7Qaj5Q9uE=" - }, - "lodash._arrayeach": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._arrayeach/-/lodash._arrayeach-3.0.0.tgz", - "integrity": "sha1-urFWsqkNPxu9XGU0AzSeXlkz754=" - }, - "lodash._baseassign": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz", - "integrity": "sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4=", - "requires": { - "lodash._basecopy": "3.0.1", - "lodash.keys": "3.1.2" - } - }, - "lodash._baseclone": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/lodash._baseclone/-/lodash._baseclone-3.3.0.tgz", - "integrity": "sha1-MDUZv2OT/n5C802LYw73eU41Qrc=", - "requires": { - "lodash._arraycopy": "3.0.0", - "lodash._arrayeach": "3.0.0", - "lodash._baseassign": "3.2.0", - "lodash._basefor": "3.0.3", - "lodash.isarray": "3.0.4", - "lodash.keys": "3.1.2" - } - }, - "lodash._basecopy": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz", - "integrity": "sha1-jaDmqHbPNEwK2KVIghEd08XHyjY=" - }, - "lodash._basefor": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash._basefor/-/lodash._basefor-3.0.3.tgz", - "integrity": "sha1-dVC06SGO8J+tJDQ7YSAhx5tMIMI=" - }, - "lodash._basetostring": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/lodash._basetostring/-/lodash._basetostring-3.0.1.tgz", - "integrity": "sha1-0YYdh3+CSlL2aYMtyvPuFVZqB9U=" - }, - "lodash._basevalues": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz", - "integrity": "sha1-W3dXYoAr3j0yl1A+JjAIIP32Ybc=" - }, - "lodash._bindcallback": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz", - "integrity": "sha1-5THCdkTPi1epnhftlbNcdIeJOS4=" - }, - "lodash._createassigner": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lodash._createassigner/-/lodash._createassigner-3.1.1.tgz", - "integrity": "sha1-g4pbri/aymOsIt7o4Z+k5taXCxE=", - "requires": { - "lodash._bindcallback": "3.0.1", - "lodash._isiterateecall": "3.0.9", - "lodash.restparam": "3.6.1" - } - }, - "lodash._getnative": { - "version": "3.9.1", - "resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz", - "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=" - }, - "lodash._isiterateecall": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz", - "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw=" - }, - "lodash._reescape": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._reescape/-/lodash._reescape-3.0.0.tgz", - "integrity": "sha1-Kx1vXf4HyKNVdT5fJ/rH8c3hYWo=" - }, - "lodash._reevaluate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz", - "integrity": "sha1-WLx0xAZklTrgsSTYBpltrKQx4u0=" - }, - "lodash._reinterpolate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", - "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=" - }, - "lodash._root": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/lodash._root/-/lodash._root-3.0.1.tgz", - "integrity": "sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI=" - }, - "lodash.assign": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", - "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=" - }, - "lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" - }, - "lodash.clonedeep": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=" - }, - "lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=" - }, - "lodash.escape": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.2.0.tgz", - "integrity": "sha1-mV7g3BjBtIzJLv+ucaEKq1tIdpg=", - "requires": { - "lodash._root": "3.0.1" - } - }, - "lodash.isarguments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=" - }, - "lodash.isarray": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz", - "integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U=" - }, - "lodash.isequal": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", - "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=" - }, - "lodash.keys": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", - "integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=", - "requires": { - "lodash._getnative": "3.9.1", - "lodash.isarguments": "3.1.0", - "lodash.isarray": "3.0.4" - } - }, - "lodash.memoize": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=" - }, - "lodash.mergewith": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.0.tgz", - "integrity": "sha1-FQzwoWeR9ZA7iJHqsVRgknS96lU=" - }, - "lodash.restparam": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz", - "integrity": "sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=" - }, - "lodash.tail": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.tail/-/lodash.tail-4.1.1.tgz", - "integrity": "sha1-0jM6NtnncXyK0vfKyv7HwytERmQ=" - }, - "lodash.template": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-3.6.2.tgz", - "integrity": "sha1-+M3sxhaaJVvpCYrosMU9N4kx0U8=", - "requires": { - "lodash._basecopy": "3.0.1", - "lodash._basetostring": "3.0.1", - "lodash._basevalues": "3.0.0", - "lodash._isiterateecall": "3.0.9", - "lodash._reinterpolate": "3.0.0", - "lodash.escape": "3.2.0", - "lodash.keys": "3.1.2", - "lodash.restparam": "3.6.1", - "lodash.templatesettings": "3.1.1" - } - }, - "lodash.templatesettings": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz", - "integrity": "sha1-+zB4RHU7Zrnxr6VOJix0UwfbqOU=", - "requires": { - "lodash._reinterpolate": "3.0.0", - "lodash.escape": "3.2.0" - } - }, - "lodash.toarray": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz", - "integrity": "sha1-JMS/zWsvuji/0FlNsRedjptlZWE=" - }, - "lodash.uniq": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=" - }, - "logalot": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/logalot/-/logalot-2.1.0.tgz", - "integrity": "sha1-X46MkNME7fElMJUaVVSruMXj9VI=", - "requires": { - "figures": "1.7.0", - "squeak": "1.3.0" - } - }, - "loglevel": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.0.tgz", - "integrity": "sha1-rgyqVhERSYxboTcj1vtjHSQAOTQ=" - }, - "longest": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", - "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=" - }, - "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "requires": { - "js-tokens": "3.0.2" - } - }, - "loud-rejection": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", - "requires": { - "currently-unhandled": "0.4.1", - "signal-exit": "3.0.2" - } - }, - "lower-case": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", - "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw=" - }, - "lowercase-keys": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz", - "integrity": "sha1-TjNms55/VFfjXxMkvfb4jQv8cwY=" - }, - "lpad-align": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/lpad-align/-/lpad-align-1.1.2.tgz", - "integrity": "sha1-IfYArBwwlcPG5JfuZyce4ISB/p4=", - "requires": { - "get-stdin": "4.0.1", - "indent-string": "2.1.0", - "longest": "1.0.1", - "meow": "3.7.0" - } - }, - "lru-cache": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.1.tgz", - "integrity": "sha512-q4spe4KTfsAS1SUHLO0wz8Qiyf1+vMIAgpRYioFYDMNqKfHQbg+AVDH3i4fvpl71/P1L0dBl+fQi+P37UYf0ew==", - "requires": { - "pseudomap": "1.0.2", - "yallist": "2.1.2" - } - }, - "macaddress": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/macaddress/-/macaddress-0.2.8.tgz", - "integrity": "sha1-WQTcU3w57G2+/q6QIycTX6hRHxI=" - }, - "make-dir": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz", - "integrity": "sha512-0Pkui4wLJ7rxvmfUvs87skoEaxmu0hCUApF8nonzpl7q//FWp9zu8W61Scz4sd/kUiqDxvUhtoam2efDyiBzcA==", - "requires": { - "pify": "3.0.0" - } - }, - "map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=" - }, - "marked": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.9.tgz", - "integrity": "sha512-nW5u0dxpXxHfkHzzrveY45gCbi+R4PaO4WRZYqZNl+vB0hVGeqlFn0aOg1c8AKL63TrNFn9Bm2UP4AdiZ9TPLw==" - }, - "marked-terminal": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-1.7.0.tgz", - "integrity": "sha1-yMRgiBx3LHYEtkNnAH7l938SWQQ=", - "requires": { - "cardinal": "1.0.0", - "chalk": "1.1.3", - "cli-table": "0.3.1", - "lodash.assign": "4.2.0", - "node-emoji": "1.8.1" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "math-expression-evaluator": { - "version": "1.2.17", - "resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.2.17.tgz", - "integrity": "sha1-3oGf282E3M2PrlnGrreWFbnSZqw=" - }, - "md5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz", - "integrity": "sha1-U6s41f48iJG6RlMp6iP6wFQBJvk=", - "requires": { - "charenc": "0.0.2", - "crypt": "0.0.2", - "is-buffer": "1.1.6" - } - }, - "md5.js": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.4.tgz", - "integrity": "sha1-6b296UogpawYsENA/Fdk1bCdkB0=", - "requires": { - "hash-base": "3.0.4", - "inherits": "2.0.3" - }, - "dependencies": { - "hash-base": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz", - "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", - "requires": { - "inherits": "2.0.3", - "safe-buffer": "5.1.1" - } - } - } - }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" - }, - "mem": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", - "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", - "requires": { - "mimic-fn": "1.1.0" - } - }, - "memory-fs": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", - "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", - "requires": { - "errno": "0.1.4", - "readable-stream": "2.3.3" - } - }, - "meow": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", - "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", - "requires": { - "camelcase-keys": "2.1.0", - "decamelize": "1.2.0", - "loud-rejection": "1.6.0", - "map-obj": "1.0.1", - "minimist": "1.2.0", - "normalize-package-data": "2.4.0", - "object-assign": "4.1.1", - "read-pkg-up": "1.0.1", - "redent": "1.0.0", - "trim-newlines": "1.0.0" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" - } - } - }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "merge-stream": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz", - "integrity": "sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE=", - "requires": { - "readable-stream": "2.3.3" - } - }, - "methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" - }, - "micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "requires": { - "arr-diff": "2.0.0", - "array-unique": "0.2.1", - "braces": "1.8.5", - "expand-brackets": "0.1.5", - "extglob": "0.3.2", - "filename-regex": "2.0.1", - "is-extglob": "1.0.0", - "is-glob": "2.0.1", - "kind-of": "3.2.2", - "normalize-path": "2.1.1", - "object.omit": "2.0.1", - "parse-glob": "3.0.4", - "regex-cache": "0.4.4" - } - }, - "miller-rabin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", - "requires": { - "bn.js": "4.11.8", - "brorand": "1.1.0" - } - }, - "mime": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", - "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==" - }, - "mime-db": { - "version": "1.30.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz", - "integrity": "sha1-dMZD2i3Z1qRTmZY0ZbJtXKfXHwE=" - }, - "mime-types": { - "version": "2.1.17", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.17.tgz", - "integrity": "sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=", - "requires": { - "mime-db": "1.30.0" - } - }, - "mimic-fn": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz", - "integrity": "sha1-5md4PZLonb00KBi1IwudYqZyrRg=" - }, - "minimalistic-assert": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz", - "integrity": "sha1-cCvi3aazf0g2vLP121ZkG2Sh09M=" - }, - "minimalistic-crypto-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "requires": { - "brace-expansion": "1.1.8" - } - }, - "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" - }, - "mississippi": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-1.3.0.tgz", - "integrity": "sha1-0gFYPrEjJ+PFwWQqQEqcrPlONPU=", - "requires": { - "concat-stream": "1.6.0", - "duplexify": "3.5.1", - "end-of-stream": "1.4.0", - "flush-write-stream": "1.0.2", - "from2": "2.3.0", - "parallel-transform": "1.1.0", - "pump": "1.0.3", - "pumpify": "1.3.5", - "stream-each": "1.2.2", - "through2": "2.0.3" - }, - "dependencies": { - "through2": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", - "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", - "requires": { - "readable-stream": "2.3.3", - "xtend": "4.0.1" - } - } - } - }, - "mixin-object": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/mixin-object/-/mixin-object-2.0.1.tgz", - "integrity": "sha1-T7lJRB2rGCVA8f4DW6YOGUel5X4=", - "requires": { - "for-in": "0.1.8", - "is-extendable": "0.1.1" - }, - "dependencies": { - "for-in": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-0.1.8.tgz", - "integrity": "sha1-2Hc5COMSVhCZUrH9ubP6hn0ndeE=" - } - } - }, - "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", - "requires": { - "minimist": "0.0.8" - } - }, - "moment": { - "version": "2.20.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.20.1.tgz", - "integrity": "sha512-Yh9y73JRljxW5QxN08Fner68eFLxM5ynNOAw2LbIB1YAGeQzZT8QFSUvkAz609Zf+IHhhaUxqZK8dG3W/+HEvg==" - }, - "moment-timezone": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.4.1.tgz", - "integrity": "sha1-gfWYw61eIs2teWtn7NjYjQ9bqgY=", - "requires": { - "moment": "2.20.1" - } - }, - "move-concurrently": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", - "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", - "requires": { - "aproba": "1.2.0", - "copy-concurrently": "1.0.5", - "fs-write-stream-atomic": "1.0.10", - "mkdirp": "0.5.1", - "rimraf": "2.6.2", - "run-queue": "1.0.3" - } - }, - "mozjpeg": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/mozjpeg/-/mozjpeg-4.1.1.tgz", - "integrity": "sha1-hZAwsk9omlPbm0DwFg2JGVuI/VA=", - "requires": { - "bin-build": "2.2.0", - "bin-wrapper": "3.0.2", - "logalot": "2.1.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "multicast-dns": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.1.tgz", - "integrity": "sha512-uV3/ckdsffHx9IrGQrx613mturMdMqQ06WTq+C09NsStJ9iNG6RcUWgPKs1Rfjy+idZT6tfQoXEusGNnEZhT3w==", - "requires": { - "dns-packet": "1.2.2", - "thunky": "0.1.0" - } - }, - "multicast-dns-service-types": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz", - "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=" - }, - "multipipe": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/multipipe/-/multipipe-0.1.2.tgz", - "integrity": "sha1-Ko8t33Du1WTf8tV/HhoTfZ8FB4s=", - "requires": { - "duplexer2": "0.0.2" - }, - "dependencies": { - "duplexer2": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", - "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", - "requires": { - "readable-stream": "1.1.14" - } - }, - "isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" - }, - "readable-stream": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", - "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "0.0.1", - "string_decoder": "0.10.31" - } - }, - "string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" - } - } - }, - "nan": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.8.0.tgz", - "integrity": "sha1-7XFfP+neArV6XmJS2QqWZ14fCFo=" - }, - "ncname": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/ncname/-/ncname-1.0.0.tgz", - "integrity": "sha1-W1etGLHKCShk72Kwse2BlPODtxw=", - "requires": { - "xml-char-classes": "1.0.0" - } - }, - "negotiator": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", - "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=" - }, - "no-case": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz", - "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==", - "requires": { - "lower-case": "1.1.4" - } - }, - "node-emoji": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.8.1.tgz", - "integrity": "sha1-buxr+wdCHiFIx1xrunJCH4UwqCY=", - "requires": { - "lodash.toarray": "4.4.0" - } - }, - "node-forge": { - "version": "0.6.33", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.6.33.tgz", - "integrity": "sha1-RjgRh59XPUUVWtap9D3ClujoXrw=" - }, - "node-gyp": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.6.2.tgz", - "integrity": "sha1-m/vlRWIoYoSDjnUOrAUpWFP6HGA=", - "requires": { - "fstream": "1.0.11", - "glob": "7.1.2", - "graceful-fs": "4.1.11", - "minimatch": "3.0.4", - "mkdirp": "0.5.1", - "nopt": "3.0.6", - "npmlog": "4.1.2", - "osenv": "0.1.4", - "request": "2.79.0", - "rimraf": "2.6.2", - "semver": "5.3.0", - "tar": "2.2.1", - "which": "1.3.0" - }, - "dependencies": { - "semver": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", - "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=" - } - } - }, - "node-libs-browser": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.1.0.tgz", - "integrity": "sha512-5AzFzdoIMb89hBGMZglEegffzgRg+ZFoUmisQ8HI4j1KDdpx13J0taNp2y9xPbur6W61gepGDDotGBVQ7mfUCg==", - "requires": { - "assert": "1.4.1", - "browserify-zlib": "0.2.0", - "buffer": "4.9.1", - "console-browserify": "1.1.0", - "constants-browserify": "1.0.0", - "crypto-browserify": "3.12.0", - "domain-browser": "1.1.7", - "events": "1.1.1", - "https-browserify": "1.0.0", - "os-browserify": "0.3.0", - "path-browserify": "0.0.0", - "process": "0.11.10", - "punycode": "1.4.1", - "querystring-es3": "0.2.1", - "readable-stream": "2.3.3", - "stream-browserify": "2.0.1", - "stream-http": "2.7.2", - "string_decoder": "1.0.3", - "timers-browserify": "2.0.4", - "tty-browserify": "0.0.0", - "url": "0.11.0", - "util": "0.10.3", - "vm-browserify": "0.0.4" - } - }, - "node-notifier": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-4.6.1.tgz", - "integrity": "sha1-BW0UJE89zBzq3+aK+c/wxUc6M/M=", - "requires": { - "cli-usage": "0.1.4", - "growly": "1.3.0", - "lodash.clonedeep": "3.0.2", - "minimist": "1.2.0", - "semver": "5.4.1", - "shellwords": "0.1.1", - "which": "1.3.0" - }, - "dependencies": { - "lodash.clonedeep": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-3.0.2.tgz", - "integrity": "sha1-oKHkDYKl6on/WxR7hETtY9koJ9s=", - "requires": { - "lodash._baseclone": "3.3.0", - "lodash._bindcallback": "3.0.1" - } - }, - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" - } - } - }, - "node-sass": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.7.2.tgz", - "integrity": "sha512-CaV+wLqZ7//Jdom5aUFCpGNoECd7BbNhjuwdsX/LkXBrHl8eb1Wjw4HvWqcFvhr5KuNgAk8i/myf/MQ1YYeroA==", - "requires": { - "async-foreach": "0.1.3", - "chalk": "1.1.3", - "cross-spawn": "3.0.1", - "gaze": "1.1.2", - "get-stdin": "4.0.1", - "glob": "7.1.2", - "in-publish": "2.0.0", - "lodash.assign": "4.2.0", - "lodash.clonedeep": "4.5.0", - "lodash.mergewith": "4.6.0", - "meow": "3.7.0", - "mkdirp": "0.5.1", - "nan": "2.8.0", - "node-gyp": "3.6.2", - "npmlog": "4.1.2", - "request": "2.79.0", - "sass-graph": "2.2.4", - "stdout-stream": "1.4.0", - "true-case-path": "1.0.2" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "cross-spawn": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz", - "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", - "requires": { - "lru-cache": "4.1.1", - "which": "1.3.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "node-status-codes": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-status-codes/-/node-status-codes-1.0.0.tgz", - "integrity": "sha1-WuVUHQJGRdMqWPzdyc7s6nrjrC8=" - }, - "nopt": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", - "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", - "requires": { - "abbrev": "1.1.1" - } - }, - "normalize-package-data": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha1-EvlaMH1YNSB1oEkHuErIvpisAS8=", - "requires": { - "hosted-git-info": "2.5.0", - "is-builtin-module": "1.0.0", - "semver": "5.4.1", - "validate-npm-package-license": "3.0.1" - } - }, - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "requires": { - "remove-trailing-separator": "1.1.0" - } - }, - "normalize-range": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=" - }, - "normalize-url": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz", - "integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=", - "requires": { - "object-assign": "4.1.1", - "prepend-http": "1.0.4", - "query-string": "4.3.4", - "sort-keys": "1.1.2" - } - }, - "npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "requires": { - "path-key": "2.0.1" - } - }, - "npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha1-CKfyqL9zRgR3mp76StXMcXq7lUs=", - "requires": { - "are-we-there-yet": "1.1.4", - "console-control-strings": "1.1.0", - "gauge": "2.7.4", - "set-blocking": "2.0.0" - } - }, - "num2fraction": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", - "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=" - }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" - }, - "oauth-sign": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", - "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=" - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "object-keys": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz", - "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=" - }, - "object-path": { - "version": "0.9.2", - "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.9.2.tgz", - "integrity": "sha1-D9mnT8X60a45aLWGvaXGMr1sBaU=" - }, - "object.omit": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", - "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", - "requires": { - "for-own": "0.1.5", - "is-extendable": "0.1.1" - } - }, - "obuf": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.1.tgz", - "integrity": "sha1-EEEktsYCxnlogaBCVB0220OlJk4=" - }, - "on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "requires": { - "ee-first": "1.1.1" - } - }, - "on-headers": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz", - "integrity": "sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c=" - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "requires": { - "wrappy": "1.0.2" - } - }, - "onetime": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", - "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=" - }, - "opn": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/opn/-/opn-5.1.0.tgz", - "integrity": "sha512-iPNl7SyM8L30Rm1sjGdLLheyHVw5YXVfi3SKWJzBI7efxRwHojfRFjwE/OLM6qp9xJYMgab8WicTU1cPoY+Hpg==", - "requires": { - "is-wsl": "1.1.0" - } - }, - "optipng-bin": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/optipng-bin/-/optipng-bin-3.1.4.tgz", - "integrity": "sha1-ldNPLEiHBPb9cGBr/qDGWfHZXYQ=", - "requires": { - "bin-build": "2.2.0", - "bin-wrapper": "3.0.2", - "logalot": "2.1.0" - } - }, - "ordered-read-streams": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-0.3.0.tgz", - "integrity": "sha1-cTfmmzKYuzQiR6G77jiByA4v14s=", - "requires": { - "is-stream": "1.1.0", - "readable-stream": "2.3.3" - } - }, - "original": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/original/-/original-1.0.0.tgz", - "integrity": "sha1-kUf5P6FpbQS+YeAb1QuurKZWvTs=", - "requires": { - "url-parse": "1.0.5" - }, - "dependencies": { - "url-parse": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.0.5.tgz", - "integrity": "sha1-CFSGBCKv3P7+tsllxmLUgAFpkns=", - "requires": { - "querystringify": "0.0.4", - "requires-port": "1.0.0" - } - } - } - }, - "os-browserify": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", - "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=" - }, - "os-filter-obj": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/os-filter-obj/-/os-filter-obj-1.0.3.tgz", - "integrity": "sha1-WRUzDZDs7VV9LZOKMcbdIU2cY60=" - }, - "os-homedir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" - }, - "os-locale": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", - "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", - "requires": { - "lcid": "1.0.0" - } - }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" - }, - "osenv": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz", - "integrity": "sha1-Qv5tWVPfBsgGS+bxdsPQWqqjRkQ=", - "requires": { - "os-homedir": "1.0.2", - "os-tmpdir": "1.0.2" - } - }, - "p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" - }, - "p-limit": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.1.0.tgz", - "integrity": "sha1-sH/y2aXYi+yAYDWJWiurZqJ5iLw=" - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "requires": { - "p-limit": "1.1.0" - } - }, - "p-map": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", - "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==" - }, - "p-pipe": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-1.2.0.tgz", - "integrity": "sha1-SxoROZoRUgpneQ7loMHViB1r7+k=" - }, - "pako": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz", - "integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg==" - }, - "parallel-transform": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz", - "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=", - "requires": { - "cyclist": "0.2.2", - "inherits": "2.0.3", - "readable-stream": "2.3.3" - } - }, - "param-case": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz", - "integrity": "sha1-35T9jPZTHs915r75oIWPvHK+Ikc=", - "requires": { - "no-case": "2.3.2" - } - }, - "parse-asn1": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.0.tgz", - "integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=", - "requires": { - "asn1.js": "4.9.2", - "browserify-aes": "1.1.1", - "create-hash": "1.1.3", - "evp_bytestokey": "1.0.3", - "pbkdf2": "3.0.14" - } - }, - "parse-glob": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", - "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", - "requires": { - "glob-base": "0.3.0", - "is-dotfile": "1.0.3", - "is-extglob": "1.0.0", - "is-glob": "2.0.1" - } - }, - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "requires": { - "error-ex": "1.3.1" - } - }, - "parseurl": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", - "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=" - }, - "path-browserify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz", - "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=" - }, - "path-dirname": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", - "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=" - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" - }, - "path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=" - }, - "path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" - }, - "path-parse": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=" - }, - "path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "path-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", - "requires": { - "graceful-fs": "4.1.11", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" - }, - "dependencies": { - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" - } - } - }, - "pbkdf2": { - "version": "3.0.14", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.14.tgz", - "integrity": "sha512-gjsZW9O34fm0R7PaLHRJmLLVfSoesxztjPjE9o6R+qtVJij90ltg1joIovN9GKrRW3t1PzhDDG3UMEMFfZ+1wA==", - "requires": { - "create-hash": "1.1.3", - "create-hmac": "1.1.6", - "ripemd160": "2.0.1", - "safe-buffer": "5.1.1", - "sha.js": "2.4.9" - } - }, - "pend": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" - }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=" - }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "requires": { - "pinkie": "2.0.4" - } - }, - "pjax": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/pjax/-/pjax-0.2.5.tgz", - "integrity": "sha512-2T3mLSXPOrCtj7Flm2Q7VlqsN2Vz6IBV7BZjYUR4MDEReBr++VFxoJ8FYbeARCykE7bqbubQ4yVdnYjnuS9v3A==" - }, - "pkg-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", - "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", - "requires": { - "find-up": "2.1.0" - } - }, - "pngquant-bin": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/pngquant-bin/-/pngquant-bin-3.1.1.tgz", - "integrity": "sha1-0STZinWpSH9AwWQLTb/Lsr1aH9E=", - "requires": { - "bin-build": "2.2.0", - "bin-wrapper": "3.0.2", - "logalot": "2.1.0" - } - }, - "popper.js": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.13.0.tgz", - "integrity": "sha1-4ef/ZcxD98+c8W8VEKdegfhPRWU=" - }, - "portfinder": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.13.tgz", - "integrity": "sha1-uzLs2HwnEErm7kS1o8y/Drsa7ek=", - "requires": { - "async": "1.5.2", - "debug": "2.6.9", - "mkdirp": "0.5.1" - }, - "dependencies": { - "async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=" - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - } - } - }, - "postcss": { - "version": "6.0.14", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.14.tgz", - "integrity": "sha512-NJ1z0f+1offCgadPhz+DvGm5Mkci+mmV5BqD13S992o0Xk9eElxUfPPF+t2ksH5R/17gz4xVK8KWocUQ5o3Rog==", - "requires": { - "chalk": "2.3.0", - "source-map": "0.6.1", - "supports-color": "4.5.0" - } - }, - "postcss-calc": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-5.3.1.tgz", - "integrity": "sha1-d7rnypKK2FcW4v2kLyYb98HWW14=", - "requires": { - "postcss": "5.2.18", - "postcss-message-helpers": "2.0.0", - "reduce-css-calc": "1.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-colormin": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-2.2.2.tgz", - "integrity": "sha1-ZjFBfV8OkJo9fsJrJMio0eT5bks=", - "requires": { - "colormin": "1.1.2", - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-convert-values": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-2.6.1.tgz", - "integrity": "sha1-u9hZPFwf0uPRwyK7kl3K6Nrk1i0=", - "requires": { - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-discard-comments": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz", - "integrity": "sha1-vv6J+v1bPazlzM5Rt2uBUUvgDj0=", - "requires": { - "postcss": "5.2.18" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-discard-duplicates": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-2.1.0.tgz", - "integrity": "sha1-uavye4isGIFYpesSq8riAmO5GTI=", - "requires": { - "postcss": "5.2.18" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-discard-empty": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz", - "integrity": "sha1-0rS9nVztXr2Nyt52QMfXzX9PkrU=", - "requires": { - "postcss": "5.2.18" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-discard-overridden": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz", - "integrity": "sha1-ix6vVU9ob7KIzYdMVWZ7CqNmjVg=", - "requires": { - "postcss": "5.2.18" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-discard-unused": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz", - "integrity": "sha1-vOMLLMWR/8Y0Mitfs0ZLbZNPRDM=", - "requires": { - "postcss": "5.2.18", - "uniqs": "2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-filter-plugins": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/postcss-filter-plugins/-/postcss-filter-plugins-2.0.2.tgz", - "integrity": "sha1-bYWGJTTXNaxCDkqFgG4fXUKG2Ew=", - "requires": { - "postcss": "5.2.18", - "uniqid": "4.1.1" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-load-config": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-1.2.0.tgz", - "integrity": "sha1-U56a/J3chiASHr+djDZz4M5Q0oo=", - "requires": { - "cosmiconfig": "2.2.2", - "object-assign": "4.1.1", - "postcss-load-options": "1.2.0", - "postcss-load-plugins": "2.3.0" - } - }, - "postcss-load-options": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/postcss-load-options/-/postcss-load-options-1.2.0.tgz", - "integrity": "sha1-sJixVZ3awt8EvAuzdfmaXP4rbYw=", - "requires": { - "cosmiconfig": "2.2.2", - "object-assign": "4.1.1" - } - }, - "postcss-load-plugins": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/postcss-load-plugins/-/postcss-load-plugins-2.3.0.tgz", - "integrity": "sha1-dFdoEWWZrKLwCfrUJrABdQSdjZI=", - "requires": { - "cosmiconfig": "2.2.2", - "object-assign": "4.1.1" - } - }, - "postcss-loader": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-2.0.9.tgz", - "integrity": "sha512-sgoXPtmgVT3aBAhU47Kig8oPF+mbXl8Unjvtz1Qj1q2D2EvSVJW2mKJNzxv5y/LvA9xWwuvdysvhc7Zn80UWWw==", - "requires": { - "loader-utils": "1.1.0", - "postcss": "6.0.14", - "postcss-load-config": "1.2.0", - "schema-utils": "0.3.0" - } - }, - "postcss-merge-idents": { - "version": "2.1.7", - "resolved": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz", - "integrity": "sha1-TFUwMTwI4dWzu/PSu8dH4njuonA=", - "requires": { - "has": "1.0.1", - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-merge-longhand": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-2.0.2.tgz", - "integrity": "sha1-I9kM0Sewp3mUkVMyc5A0oaTz1lg=", - "requires": { - "postcss": "5.2.18" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-merge-rules": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz", - "integrity": "sha1-0d9d+qexrMO+VT8OnhDofGG19yE=", - "requires": { - "browserslist": "1.7.7", - "caniuse-api": "1.6.1", - "postcss": "5.2.18", - "postcss-selector-parser": "2.2.3", - "vendors": "1.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "browserslist": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", - "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", - "requires": { - "caniuse-db": "1.0.30000780", - "electron-to-chromium": "1.3.28" - } - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-message-helpers": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/postcss-message-helpers/-/postcss-message-helpers-2.0.0.tgz", - "integrity": "sha1-pPL0+rbk/gAvCu0ABHjN9S+bpg4=" - }, - "postcss-minify-font-values": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-1.0.5.tgz", - "integrity": "sha1-S1jttWZB66fIR0qzUmyv17vey2k=", - "requires": { - "object-assign": "4.1.1", - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-minify-gradients": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-1.0.5.tgz", - "integrity": "sha1-Xb2hE3NwP4PPtKPqOIHY11/15uE=", - "requires": { - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-minify-params": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz", - "integrity": "sha1-rSzgcTc7lDs9kwo/pZo1jCjW8fM=", - "requires": { - "alphanum-sort": "1.0.2", - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0", - "uniqs": "2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-minify-selectors": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz", - "integrity": "sha1-ssapjAByz5G5MtGkllCBFDEXNb8=", - "requires": { - "alphanum-sort": "1.0.2", - "has": "1.0.1", - "postcss": "5.2.18", - "postcss-selector-parser": "2.2.3" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-modules-extract-imports": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.1.0.tgz", - "integrity": "sha1-thTJcgvmgW6u41+zpfqh26agXds=", - "requires": { - "postcss": "6.0.14" - } - }, - "postcss-modules-local-by-default": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz", - "integrity": "sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk=", - "requires": { - "css-selector-tokenizer": "0.7.0", - "postcss": "6.0.14" - } - }, - "postcss-modules-scope": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz", - "integrity": "sha1-1upkmUx5+XtipytCb75gVqGUu5A=", - "requires": { - "css-selector-tokenizer": "0.7.0", - "postcss": "6.0.14" - } - }, - "postcss-modules-values": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz", - "integrity": "sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA=", - "requires": { - "icss-replace-symbols": "1.1.0", - "postcss": "6.0.14" - } - }, - "postcss-normalize-charset": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-1.1.1.tgz", - "integrity": "sha1-757nEhLX/nWceO0WL2HtYrXLk/E=", - "requires": { - "postcss": "5.2.18" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-normalize-url": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz", - "integrity": "sha1-EI90s/L82viRov+j6kWSJ5/HgiI=", - "requires": { - "is-absolute-url": "2.1.0", - "normalize-url": "1.9.1", - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-ordered-values": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-2.2.3.tgz", - "integrity": "sha1-7sbCpntsQSqNsgQud/6NpD+VwR0=", - "requires": { - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-reduce-idents": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/postcss-reduce-idents/-/postcss-reduce-idents-2.4.0.tgz", - "integrity": "sha1-wsbSDMlYKE9qv75j92Cb9AkFmtM=", - "requires": { - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-reduce-initial": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-1.0.1.tgz", - "integrity": "sha1-aPgGlfBF0IJjqHmtJA343WT2ROo=", - "requires": { - "postcss": "5.2.18" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-reduce-transforms": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz", - "integrity": "sha1-/3b02CEkN7McKYpC0uFEQCV3GuE=", - "requires": { - "has": "1.0.1", - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-selector-parser": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz", - "integrity": "sha1-+UN3iGBsPJrO4W/+jYsWKX8nu5A=", - "requires": { - "flatten": "1.0.2", - "indexes-of": "1.0.1", - "uniq": "1.0.1" - } - }, - "postcss-svgo": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-2.1.6.tgz", - "integrity": "sha1-tt8YqmE7Zm4TPwittSGcJoSsEI0=", - "requires": { - "is-svg": "2.1.0", - "postcss": "5.2.18", - "postcss-value-parser": "3.3.0", - "svgo": "0.7.2" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-unique-selectors": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz", - "integrity": "sha1-mB1X0p3csz57Hf4f1DuGSfkzyh0=", - "requires": { - "alphanum-sort": "1.0.2", - "postcss": "5.2.18", - "uniqs": "2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "postcss-value-parser": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz", - "integrity": "sha1-h/OPnxj3dKSrTIojL1xc6IcqnRU=" - }, - "postcss-zindex": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/postcss-zindex/-/postcss-zindex-2.2.0.tgz", - "integrity": "sha1-0hCd3AVbka9n/EyzsCWUZjnSryI=", - "requires": { - "has": "1.0.1", - "postcss": "5.2.18", - "uniqs": "2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - }, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" - }, - "postcss": { - "version": "5.2.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", - "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", - "requires": { - "chalk": "1.1.3", - "js-base64": "2.4.0", - "source-map": "0.5.7", - "supports-color": "3.2.3" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "requires": { - "has-flag": "1.0.0" - } - } - } - }, - "prepend-http": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", - "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=" - }, - "preserve": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", - "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=" - }, - "prettier": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.9.1.tgz", - "integrity": "sha512-oYpQsZk7/0o8+YJUB0LfjkTYQa79gUIF2ESeqvG23IzcgqqvmeOE4+lMG7E/UKX3q3RIj8JHSfhrXWhon1L+zA==" - }, - "private": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", - "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==" - }, - "process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" - }, - "process-nextick-args": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", - "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=" - }, - "promise-inflight": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=" - }, - "proxy-addr": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.2.tgz", - "integrity": "sha1-ZXFQT0e7mI7IGAJT+F3X4UlSvew=", - "requires": { - "forwarded": "0.1.2", - "ipaddr.js": "1.5.2" - } - }, - "prr": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/prr/-/prr-0.0.0.tgz", - "integrity": "sha1-GoS4WQgyVQFBGFPQCB7j+obikmo=" - }, - "pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" - }, - "public-encrypt": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.0.tgz", - "integrity": "sha1-OfaZ86RlYN1eusvKaTyvfGXBjMY=", - "requires": { - "bn.js": "4.11.8", - "browserify-rsa": "4.0.1", - "create-hash": "1.1.3", - "parse-asn1": "5.1.0", - "randombytes": "2.0.5" - } - }, - "pump": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/pump/-/pump-1.0.3.tgz", - "integrity": "sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw==", - "requires": { - "end-of-stream": "1.4.0", - "once": "1.4.0" - } - }, - "pumpify": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.3.5.tgz", - "integrity": "sha1-G2ccYZlAq8rqwK0OOjwWS+dgmTs=", - "requires": { - "duplexify": "3.5.1", - "inherits": "2.0.3", - "pump": "1.0.3" - } - }, - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" - }, - "q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=" - }, - "qs": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", - "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=" - }, - "query-string": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz", - "integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=", - "requires": { - "object-assign": "4.1.1", - "strict-uri-encode": "1.1.0" - } - }, - "querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" - }, - "querystring-es3": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", - "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=" - }, - "querystringify": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-0.0.4.tgz", - "integrity": "sha1-DPf4T5Rj/wrlHExLFC2VvjdyTZw=" - }, - "randomatic": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.7.tgz", - "integrity": "sha1-x6vpzIuHwLqodrGf3oP9RkeX44w=", - "requires": { - "is-number": "3.0.0", - "kind-of": "4.0.0" - }, - "dependencies": { - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "requires": { - "is-buffer": "1.1.6" - } - } - } - }, - "kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "requires": { - "is-buffer": "1.1.6" - } - } - } - }, - "randombytes": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.5.tgz", - "integrity": "sha512-8T7Zn1AhMsQ/HI1SjcCfT/t4ii3eAqco3yOcSzS4mozsOz69lHLsoMXmF9nZgnFanYscnSlUSgs8uZyKzpE6kg==", - "requires": { - "safe-buffer": "5.1.1" - } - }, - "randomfill": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.3.tgz", - "integrity": "sha512-YL6GrhrWoic0Eq8rXVbMptH7dAxCs0J+mh5Y0euNekPPYaxEmdVGim6GdoxoRzKW2yJoU8tueifS7mYxvcFDEQ==", - "requires": { - "randombytes": "2.0.5", - "safe-buffer": "5.1.1" - } - }, - "range-parser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", - "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=" - }, - "raw-body": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz", - "integrity": "sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=", - "requires": { - "bytes": "3.0.0", - "http-errors": "1.6.2", - "iconv-lite": "0.4.19", - "unpipe": "1.0.0" - } - }, - "rc": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.2.tgz", - "integrity": "sha1-2M6ctX6NZNnHut2YdsfDTL48cHc=", - "requires": { - "deep-extend": "0.4.2", - "ini": "1.3.5", - "minimist": "1.2.0", - "strip-json-comments": "2.0.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" - } - } - }, - "read-all-stream": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/read-all-stream/-/read-all-stream-3.1.0.tgz", - "integrity": "sha1-NcPhd/IHjveJ7kv6+kNzB06u9Po=", - "requires": { - "pinkie-promise": "2.0.1", - "readable-stream": "2.3.3" - } - }, - "read-pkg": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", - "requires": { - "load-json-file": "1.1.0", - "normalize-package-data": "2.4.0", - "path-type": "1.1.0" - } - }, - "read-pkg-up": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", - "requires": { - "find-up": "1.1.2", - "read-pkg": "1.1.0" - }, - "dependencies": { - "find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", - "requires": { - "path-exists": "2.1.0", - "pinkie-promise": "2.0.1" - } - }, - "path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "requires": { - "pinkie-promise": "2.0.1" - } - } - } - }, - "readable-stream": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", - "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", - "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "1.0.0", - "process-nextick-args": "1.0.7", - "safe-buffer": "5.1.1", - "string_decoder": "1.0.3", - "util-deprecate": "1.0.2" - } - }, - "readdirp": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz", - "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=", - "requires": { - "graceful-fs": "4.1.11", - "minimatch": "3.0.4", - "readable-stream": "2.3.3", - "set-immediate-shim": "1.0.1" - } - }, - "recast": { - "version": "0.11.23", - "resolved": "https://registry.npmjs.org/recast/-/recast-0.11.23.tgz", - "integrity": "sha1-RR/TAEqx5N+bTktmN2sqIZEkYtM=", - "requires": { - "ast-types": "0.9.6", - "esprima": "3.1.3", - "private": "0.1.8", - "source-map": "0.5.7" - }, - "dependencies": { - "esprima": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", - "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=" - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } - } - }, - "redent": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", - "requires": { - "indent-string": "2.1.0", - "strip-indent": "1.0.1" - } - }, - "redeyed": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-1.0.1.tgz", - "integrity": "sha1-6WwZO0DAgWsArshCaY5hGF5VSYo=", - "requires": { - "esprima": "3.0.0" - }, - "dependencies": { - "esprima": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.0.0.tgz", - "integrity": "sha1-U88kes2ncxPlUcOqLnM0LT+099k=" - } - } - }, - "reduce-css-calc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz", - "integrity": "sha1-dHyRTgSWFKTJz7umKYca0dKSdxY=", - "requires": { - "balanced-match": "0.4.2", - "math-expression-evaluator": "1.2.17", - "reduce-function-call": "1.0.2" - }, - "dependencies": { - "balanced-match": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", - "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=" - } - } - }, - "reduce-function-call": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/reduce-function-call/-/reduce-function-call-1.0.2.tgz", - "integrity": "sha1-WiAL+S4ON3UXUv5FsKszD9S2vpk=", - "requires": { - "balanced-match": "0.4.2" - }, - "dependencies": { - "balanced-match": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", - "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=" - } - } - }, - "regenerate": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.3.tgz", - "integrity": "sha512-jVpo1GadrDAK59t/0jRx5VxYWQEDkkEKi6+HjE3joFVLfDOh9Xrdh0dF1eSq+BI/SwvTQ44gSscJ8N5zYL61sg==" - }, - "regenerator-runtime": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", - "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" - }, - "regenerator-transform": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", - "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "private": "0.1.8" - } - }, - "regex-cache": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", - "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", - "requires": { - "is-equal-shallow": "0.1.3" - } - }, - "regex-parser": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.2.8.tgz", - "integrity": "sha1-2kwM2lqChVkJQWiTD0VfUytv+6w=" - }, - "regexpu-core": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", - "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", - "requires": { - "regenerate": "1.3.3", - "regjsgen": "0.2.0", - "regjsparser": "0.1.5" - } - }, - "regjsgen": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", - "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=" - }, - "regjsparser": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", - "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", - "requires": { - "jsesc": "0.5.0" - }, - "dependencies": { - "jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=" - } - } - }, - "relateurl": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", - "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=" - }, - "remove-trailing-separator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", - "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=" - }, - "repeat-element": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz", - "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=" - }, - "repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" - }, - "repeating": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", - "requires": { - "is-finite": "1.0.2" - } - }, - "replace-ext": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz", - "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=" - }, - "request": { - "version": "2.79.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.79.0.tgz", - "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=", - "requires": { - "aws-sign2": "0.6.0", - "aws4": "1.6.0", - "caseless": "0.11.0", - "combined-stream": "1.0.5", - "extend": "3.0.1", - "forever-agent": "0.6.1", - "form-data": "2.1.4", - "har-validator": "2.0.6", - "hawk": "3.1.3", - "http-signature": "1.1.1", - "is-typedarray": "1.0.0", - "isstream": "0.1.2", - "json-stringify-safe": "5.0.1", - "mime-types": "2.1.17", - "oauth-sign": "0.8.2", - "qs": "6.3.2", - "stringstream": "0.0.5", - "tough-cookie": "2.3.3", - "tunnel-agent": "0.4.3", - "uuid": "3.1.0" - } - }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" - }, - "require-from-string": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-1.2.1.tgz", - "integrity": "sha1-UpyczvJzgK3+yaL5ZbZJu+5jZBg=" - }, - "require-main-filename": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", - "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" - }, - "requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" - }, - "resolve": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.5.0.tgz", - "integrity": "sha512-hgoSGrc3pjzAPHNBg+KnFcK2HwlHTs/YrAGUr6qgTVUZmXv1UEXXl0bZNBKMA9fud6lRYFdPGz0xXxycPzmmiw==", - "requires": { - "path-parse": "1.0.5" - } - }, - "resolve-cwd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", - "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", - "requires": { - "resolve-from": "3.0.0" - } - }, - "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=" - }, - "resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=" - }, - "resolve-url-loader": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-2.2.0.tgz", - "integrity": "sha512-ivEo27PgDKAm3Iwzh/ObwcDrKT2O25xWBIQX6HJVVfaxYWNNW6euPMmMFzpQUZo03+iv2TloBgffEk1ULnEPdg==", - "requires": { - "adjust-sourcemap-loader": "1.1.0", - "camelcase": "4.1.0", - "convert-source-map": "1.5.1", - "loader-utils": "1.1.0", - "lodash.defaults": "4.2.0", - "rework": "1.0.1", - "rework-visit": "1.0.0", - "source-map": "0.5.7", - "urix": "0.1.0" - }, - "dependencies": { - "camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } - } - }, - "rework": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/rework/-/rework-1.0.1.tgz", - "integrity": "sha1-MIBqhBNCtUUQqkEQhQzUhTQUSqc=", - "requires": { - "convert-source-map": "0.3.5", - "css": "2.2.1" - }, - "dependencies": { - "convert-source-map": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-0.3.5.tgz", - "integrity": "sha1-8dgClQr33SYxof6+BZZVDIarMZA=" - } - } - }, - "rework-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/rework-visit/-/rework-visit-1.0.0.tgz", - "integrity": "sha1-mUWygD8hni96ygCtuLyfZA+ELJo=" - }, - "right-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", - "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", - "requires": { - "align-text": "0.1.4" - } - }, - "rimraf": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", - "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", - "requires": { - "glob": "7.1.2" - } - }, - "ripemd160": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.1.tgz", - "integrity": "sha1-D0WEKVxTo2KK9+bXmsohzlfRxuc=", - "requires": { - "hash-base": "2.0.2", - "inherits": "2.0.3" - } - }, - "rivets": { - "version": "0.9.6", - "resolved": "https://registry.npmjs.org/rivets/-/rivets-0.9.6.tgz", - "integrity": "sha1-UIHl7TlE3vf2/NOjJu5CFoeZ/TM=", - "requires": { - "sightglass": "0.2.6" - } - }, - "run-queue": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", - "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", - "requires": { - "aproba": "1.2.0" - } - }, - "safe-buffer": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha1-iTMSr2myEj3vcfV4iQAWce6yyFM=" - }, - "sass-graph": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz", - "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=", - "requires": { - "glob": "7.1.2", - "lodash": "4.17.4", - "scss-tokenizer": "0.2.3", - "yargs": "7.1.0" - }, - "dependencies": { - "camelcase": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", - "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" - }, - "yargs": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz", - "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=", - "requires": { - "camelcase": "3.0.0", - "cliui": "3.2.0", - "decamelize": "1.2.0", - "get-caller-file": "1.0.2", - "os-locale": "1.4.0", - "read-pkg-up": "1.0.1", - "require-directory": "2.1.1", - "require-main-filename": "1.0.1", - "set-blocking": "2.0.0", - "string-width": "1.0.2", - "which-module": "1.0.0", - "y18n": "3.2.1", - "yargs-parser": "5.0.0" - } - } - } - }, - "sass-loader": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-6.0.6.tgz", - "integrity": "sha512-c3/Zc+iW+qqDip6kXPYLEgsAu2lf4xz0EZDplB7EmSUMda12U1sGJPetH55B/j9eu0bTtKzKlNPWWyYC7wFNyQ==", - "requires": { - "async": "2.6.0", - "clone-deep": "0.3.0", - "loader-utils": "1.1.0", - "lodash.tail": "4.1.1", - "pify": "3.0.0" - } - }, - "sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" - }, - "schema-utils": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", - "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", - "requires": { - "ajv": "5.5.1" - } - }, - "scss-tokenizer": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", - "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", - "requires": { - "js-base64": "2.4.0", - "source-map": "0.4.4" - }, - "dependencies": { - "source-map": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", - "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", - "requires": { - "amdefine": "1.0.1" - } - } - } - }, - "seek-bzip": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz", - "integrity": "sha1-z+kXyz0nS8/6x5J1ivUxc+sfq9w=", - "requires": { - "commander": "2.8.1" - }, - "dependencies": { - "commander": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz", - "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=", - "requires": { - "graceful-readlink": "1.0.1" - } - } - } - }, - "select-hose": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", - "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=" - }, - "select2": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/select2/-/select2-4.0.5.tgz", - "integrity": "sha1-eqxQaSVhmFs007guxV4ib4lg1Ao=", - "requires": { - "almond": "0.3.3", - "jquery-mousewheel": "3.1.13" - } - }, - "selfsigned": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.1.tgz", - "integrity": "sha1-v4y3uDJWxFUeMTR8YxF3jbme7FI=", - "requires": { - "node-forge": "0.6.33" - } - }, - "semver": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz", - "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==" - }, - "semver-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-1.0.0.tgz", - "integrity": "sha1-kqSWkGX5xwxpR1PVUkj8aPj2Usk=" - }, - "semver-truncate": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/semver-truncate/-/semver-truncate-1.1.2.tgz", - "integrity": "sha1-V/Qd5pcHpicJp+AQS6IRcQnqR+g=", - "requires": { - "semver": "5.4.1" - } - }, - "send": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.16.1.tgz", - "integrity": "sha512-ElCLJdJIKPk6ux/Hocwhk7NFHpI3pVm/IZOYWqUmoxcgeyM+MpxHHKhb8QmlJDX1pU6WrgaHBkVNm73Sv7uc2A==", - "requires": { - "debug": "2.6.9", - "depd": "1.1.1", - "destroy": "1.0.4", - "encodeurl": "1.0.1", - "escape-html": "1.0.3", - "etag": "1.8.1", - "fresh": "0.5.2", - "http-errors": "1.6.2", - "mime": "1.4.1", - "ms": "2.0.0", - "on-finished": "2.3.0", - "range-parser": "1.2.0", - "statuses": "1.3.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - } - } - }, - "serialize-javascript": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.4.0.tgz", - "integrity": "sha1-fJWFFNtqwkQ6irwGLcn3iGp/YAU=", - "dev": true - }, - "serve-index": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", - "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", - "requires": { - "accepts": "1.3.4", - "batch": "0.6.1", - "debug": "2.6.9", - "escape-html": "1.0.3", - "http-errors": "1.6.2", - "mime-types": "2.1.17", - "parseurl": "1.3.2" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - } - } - }, - "serve-static": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.1.tgz", - "integrity": "sha512-hSMUZrsPa/I09VYFJwa627JJkNs0NrfL1Uzuup+GqHfToR2KcsXFymXSV90hoyw3M+msjFuQly+YzIH/q0MGlQ==", - "requires": { - "encodeurl": "1.0.1", - "escape-html": "1.0.3", - "parseurl": "1.3.2", - "send": "0.16.1" - } - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" - }, - "set-immediate-shim": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", - "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=" - }, - "setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" - }, - "setprototypeof": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", - "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==" - }, - "sha.js": { - "version": "2.4.9", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.9.tgz", - "integrity": "sha512-G8zektVqbiPHrylgew9Zg1VRB1L/DtXNUVAM6q4QLy8NE3qtHlFXTf8VLL4k1Yl6c7NMjtZUTdXV+X44nFaT6A==", - "requires": { - "inherits": "2.0.3", - "safe-buffer": "5.1.1" - } - }, - "shallow-clone": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-0.1.2.tgz", - "integrity": "sha1-WQnodLp3EG1zrEFM/sH/yofZcGA=", - "requires": { - "is-extendable": "0.1.1", - "kind-of": "2.0.1", - "lazy-cache": "0.2.7", - "mixin-object": "2.0.1" - }, - "dependencies": { - "kind-of": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-2.0.1.tgz", - "integrity": "sha1-AY7HpM5+OobLkUG+UZ0kyPqpgbU=", - "requires": { - "is-buffer": "1.1.6" - } - } - } - }, - "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "requires": { - "shebang-regex": "1.0.0" - } - }, - "shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" - }, - "shellwords": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", - "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==" - }, - "sightglass": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/sightglass/-/sightglass-0.2.6.tgz", - "integrity": "sha1-kSC7hS0lnPghJ0hWN1u9+QCYOEE=" - }, - "signal-exit": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" - }, - "slash": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", - "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=" - }, - "sntp": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", - "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", - "requires": { - "hoek": "2.16.3" - } - }, - "sockjs": { - "version": "0.3.18", - "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.18.tgz", - "integrity": "sha1-2bKJMWyn33dZXvKZ4HXw+TfrQgc=", - "requires": { - "faye-websocket": "0.10.0", - "uuid": "2.0.3" - }, - "dependencies": { - "uuid": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", - "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=" - } - } - }, - "sockjs-client": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.1.4.tgz", - "integrity": "sha1-W6vjhrd15M8U51IJEUUmVAFsixI=", - "requires": { - "debug": "2.6.9", - "eventsource": "0.1.6", - "faye-websocket": "0.11.1", - "inherits": "2.0.3", - "json3": "3.3.2", - "url-parse": "1.2.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "faye-websocket": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.1.tgz", - "integrity": "sha1-8O/hjE9W5PQK/H4Gxxn9XuYYjzg=", - "requires": { - "websocket-driver": "0.7.0" - } - } - } - }, - "sort-keys": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz", - "integrity": "sha1-RBttTTRnmPG05J6JIK37oOVD+a0=", - "requires": { - "is-plain-obj": "1.1.0" - } - }, - "source-list-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", - "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==" - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - }, - "source-map-resolve": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.3.1.tgz", - "integrity": "sha1-YQ9hIqRFuN1RU1oqcbeD38Ekh2E=", - "requires": { - "atob": "1.1.3", - "resolve-url": "0.2.1", - "source-map-url": "0.3.0", - "urix": "0.1.0" - } - }, - "source-map-support": { - "version": "0.4.18", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", - "requires": { - "source-map": "0.5.7" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } - } - }, - "source-map-url": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.3.0.tgz", - "integrity": "sha1-fsrxO1e80J2opAxdJp2zN5nUqvk=" - }, - "sparkles": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/sparkles/-/sparkles-1.0.0.tgz", - "integrity": "sha1-Gsu/tZJDbRC76PeFt8xvgoFQEsM=" - }, - "spdx-correct": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", - "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", - "requires": { - "spdx-license-ids": "1.2.2" - } - }, - "spdx-expression-parse": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz", - "integrity": "sha1-m98vIOH0DtRH++JzJmGR/O1RYmw=" - }, - "spdx-license-ids": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz", - "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=" - }, - "spdy": { - "version": "3.4.7", - "resolved": "https://registry.npmjs.org/spdy/-/spdy-3.4.7.tgz", - "integrity": "sha1-Qv9B7OXMD5mjpsKKq7c/XDsDrLw=", - "requires": { - "debug": "2.6.9", - "handle-thing": "1.2.5", - "http-deceiver": "1.2.7", - "safe-buffer": "5.1.1", - "select-hose": "2.0.0", - "spdy-transport": "2.0.20" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - } - } - }, - "spdy-transport": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-2.0.20.tgz", - "integrity": "sha1-c15yBUxIayNU/onnAiVgBKOazk0=", - "requires": { - "debug": "2.6.9", - "detect-node": "2.0.3", - "hpack.js": "2.1.6", - "obuf": "1.1.1", - "readable-stream": "2.3.3", - "safe-buffer": "5.1.1", - "wbuf": "1.7.2" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - } - } - }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" - }, - "squeak": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/squeak/-/squeak-1.3.0.tgz", - "integrity": "sha1-MwRQN7ZDiLVnZ0uEMiplIQc5FsM=", - "requires": { - "chalk": "1.1.3", - "console-stream": "0.1.1", - "lpad-align": "1.1.2" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "sshpk": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.1.tgz", - "integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=", - "requires": { - "asn1": "0.2.3", - "assert-plus": "1.0.0", - "bcrypt-pbkdf": "1.0.1", - "dashdash": "1.14.1", - "ecc-jsbn": "0.1.1", - "getpass": "0.1.7", - "jsbn": "0.1.1", - "tweetnacl": "0.14.5" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } - } - }, - "ssri": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-5.0.0.tgz", - "integrity": "sha512-728D4yoQcQm1ooZvSbywLkV1RjfITZXh0oWrhM/lnsx3nAHx7LsRGJWB/YyvoceAYRq98xqbstiN4JBv1/wNHg==", - "requires": { - "safe-buffer": "5.1.1" - } - }, - "stackframe": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.0.4.tgz", - "integrity": "sha512-to7oADIniaYwS3MhtCa/sQhrxidCCQiF/qp4/m5iN3ipf0Y7Xlri0f6eG29r08aL7JYl8n32AF3Q5GYBZ7K8vw==" - }, - "stat-mode": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/stat-mode/-/stat-mode-0.2.2.tgz", - "integrity": "sha1-5sgLYjEj19gM8TLOU480YokHJQI=" - }, - "statuses": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", - "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=" - }, - "stdout-stream": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.0.tgz", - "integrity": "sha1-osfIWH5U2UJ+qe2zrD8s1SLfN4s=", - "requires": { - "readable-stream": "2.3.3" - } - }, - "stream-browserify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", - "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", - "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.3" - } - }, - "stream-combiner2": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", - "integrity": "sha1-+02KFCDqNidk4hrUeAOXvry0HL4=", - "requires": { - "duplexer2": "0.1.4", - "readable-stream": "2.3.3" - } - }, - "stream-each": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.2.tgz", - "integrity": "sha512-mc1dbFhGBxvTM3bIWmAAINbqiuAk9TATcfIQC8P+/+HJefgaiTlMn2dHvkX8qlI12KeYKSQ1Ua9RrIqrn1VPoA==", - "requires": { - "end-of-stream": "1.4.0", - "stream-shift": "1.0.0" - } - }, - "stream-http": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.7.2.tgz", - "integrity": "sha512-c0yTD2rbQzXtSsFSVhtpvY/vS6u066PcXOX9kBB3mSO76RiUQzL340uJkGBWnlBg4/HZzqiUXtaVA7wcRcJgEw==", - "requires": { - "builtin-status-codes": "3.0.0", - "inherits": "2.0.3", - "readable-stream": "2.3.3", - "to-arraybuffer": "1.0.1", - "xtend": "4.0.1" - } - }, - "stream-shift": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz", - "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=" - }, - "strict-uri-encode": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", - "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=" - }, - "string-length": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-1.0.1.tgz", - "integrity": "sha1-VpcPscOFWOnnC3KL894mmsRa36w=", - "requires": { - "strip-ansi": "3.0.1" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" - } - }, - "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", - "requires": { - "safe-buffer": "5.1.1" - } - }, - "stringstream": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", - "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "2.1.1" - } - }, - "strip-bom": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", - "requires": { - "is-utf8": "0.2.1" - } - }, - "strip-bom-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz", - "integrity": "sha1-5xRDmFd9Uaa+0PoZlPoF9D/ZiO4=", - "requires": { - "first-chunk-stream": "1.0.0", - "strip-bom": "2.0.0" - } - }, - "strip-dirs": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-1.1.1.tgz", - "integrity": "sha1-lgu9EoeETzl1pFWKoQOoJV4kVqA=", - "requires": { - "chalk": "1.1.3", - "get-stdin": "4.0.1", - "is-absolute": "0.1.7", - "is-natural-number": "2.1.1", - "minimist": "1.2.0", - "sum-up": "1.0.3" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" - }, - "strip-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", - "requires": { - "get-stdin": "4.0.1" - } - }, - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" - }, - "strip-outer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-outer/-/strip-outer-1.0.0.tgz", - "integrity": "sha1-qsC6YNLpDF1PJ1/Yhp/ZotMQ/7g=", - "requires": { - "escape-string-regexp": "1.0.5" - } - }, - "style-loader": { - "version": "0.18.2", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.18.2.tgz", - "integrity": "sha512-WPpJPZGUxWYHWIUMNNOYqql7zh85zGmr84FdTVWq52WTIkqlW9xSxD3QYWi/T31cqn9UNSsietVEgGn2aaSCzw==", - "requires": { - "loader-utils": "1.1.0", - "schema-utils": "0.3.0" - } - }, - "sum-up": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sum-up/-/sum-up-1.0.3.tgz", - "integrity": "sha1-HGYfZnBX9jvLeHWqFDi8FiUlFW4=", - "requires": { - "chalk": "1.1.3" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "supports-color": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", - "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", - "requires": { - "has-flag": "2.0.0" - } - }, - "svgo": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/svgo/-/svgo-0.7.2.tgz", - "integrity": "sha1-n1dyQTlSE1xv779Ar+ak+qiLS7U=", - "requires": { - "coa": "1.0.4", - "colors": "1.1.2", - "csso": "2.3.2", - "js-yaml": "3.7.0", - "mkdirp": "0.5.1", - "sax": "1.2.4", - "whet.extend": "0.9.9" - } - }, - "tapable": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.8.tgz", - "integrity": "sha1-mTcqXJmb8t8WCvwNdL7U9HlIzSI=" - }, - "tar": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", - "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", - "requires": { - "block-stream": "0.0.9", - "fstream": "1.0.11", - "inherits": "2.0.3" - } - }, - "tar-stream": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.5.5.tgz", - "integrity": "sha512-mQdgLPc/Vjfr3VWqWbfxW8yQNiJCbAZ+Gf6GDu1Cy0bdb33ofyiNGBtAY96jHFhDuivCwgW1H9DgTON+INiXgg==", - "requires": { - "bl": "1.2.1", - "end-of-stream": "1.4.0", - "readable-stream": "2.3.3", - "xtend": "4.0.1" - } - }, - "temp-dir": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", - "integrity": "sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=" - }, - "tempfile": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-2.0.0.tgz", - "integrity": "sha1-awRGhWqbERTRhW/8vlCczLCXcmU=", - "requires": { - "temp-dir": "1.0.0", - "uuid": "3.1.0" - } - }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, - "through2": { - "version": "0.6.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", - "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", - "requires": { - "readable-stream": "1.0.34", - "xtend": "4.0.1" - }, - "dependencies": { - "isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" - }, - "readable-stream": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", - "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", - "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "0.0.1", - "string_decoder": "0.10.31" - } - }, - "string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" - } - } - }, - "through2-filter": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-2.0.0.tgz", - "integrity": "sha1-YLxVoNrLdghdsfna6Zq0P4PWIuw=", - "requires": { - "through2": "2.0.3", - "xtend": "4.0.1" - }, - "dependencies": { - "through2": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", - "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", - "requires": { - "readable-stream": "2.3.3", - "xtend": "4.0.1" - } - } - } - }, - "thunky": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/thunky/-/thunky-0.1.0.tgz", - "integrity": "sha1-vzAUaCTituZ7Dy16Ssi+smkIaE4=" - }, - "time-stamp": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-1.1.0.tgz", - "integrity": "sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=" - }, - "timed-out": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-3.1.3.tgz", - "integrity": "sha1-lYYL/MXHbCd/j4Mm/Q9bLiDrohc=" - }, - "timers-browserify": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.4.tgz", - "integrity": "sha512-uZYhyU3EX8O7HQP+J9fTVYwsq90Vr68xPEFo7yrVImIxYvHgukBEgOB/SgGoorWVTzGM/3Z+wUNnboA4M8jWrg==", - "requires": { - "setimmediate": "1.0.5" - } - }, - "to-absolute-glob": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz", - "integrity": "sha1-HN+kcqnvUMI57maZm2YsoOs5k38=", - "requires": { - "extend-shallow": "2.0.1" - } - }, - "to-arraybuffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", - "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=" - }, - "to-fast-properties": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=" - }, - "tough-cookie": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz", - "integrity": "sha1-C2GKVWW23qkL80JdBNVe3EdadWE=", - "requires": { - "punycode": "1.4.1" - } - }, - "trim-newlines": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", - "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=" - }, - "trim-repeated": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz", - "integrity": "sha1-42RqLqTokTEr9+rObPsFOAvAHCE=", - "requires": { - "escape-string-regexp": "1.0.5" - } - }, - "trim-right": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", - "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=" - }, - "true-case-path": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.2.tgz", - "integrity": "sha1-fskRMJJHZsf1c74wIMNPj9/QDWI=", - "requires": { - "glob": "6.0.4" - }, - "dependencies": { - "glob": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", - "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=", - "requires": { - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } - } - } - }, - "tty-browserify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", - "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=" - }, - "tunnel-agent": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", - "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=" - }, - "tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", - "optional": true - }, - "type-is": { - "version": "1.6.15", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.15.tgz", - "integrity": "sha1-yrEPtJCeRByChC6v4a1kbIGARBA=", - "requires": { - "media-typer": "0.3.0", - "mime-types": "2.1.17" - } - }, - "typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" - }, - "uglify-js": { - "version": "2.8.29", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", - "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", - "requires": { - "source-map": "0.5.7", - "uglify-to-browserify": "1.0.2", - "yargs": "3.10.0" - }, - "dependencies": { - "camelcase": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", - "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=" - }, - "cliui": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", - "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", - "requires": { - "center-align": "0.1.3", - "right-align": "0.1.3", - "wordwrap": "0.0.2" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "yargs": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", - "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", - "requires": { - "camelcase": "1.2.1", - "cliui": "2.1.0", - "decamelize": "1.2.0", - "window-size": "0.1.0" - } - } - } - }, - "uglify-to-browserify": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", - "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", - "optional": true - }, - "uglifyjs-webpack-plugin": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.1.2.tgz", - "integrity": "sha512-k07cmJTj+8vZMSc3BaQ9uW7qVl2MqDts4ti4KaNACXEcXSw2vQM2S8olSk/CODxvcSFGvUHzNSqA8JQlhgUJPw==", - "requires": { - "cacache": "10.0.1", - "find-cache-dir": "1.0.0", - "schema-utils": "0.3.0", - "source-map": "0.6.1", - "uglify-es": "3.2.1", - "webpack-sources": "1.1.0", - "worker-farm": "1.5.2" - }, - "dependencies": { - "uglify-es": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.2.1.tgz", - "integrity": "sha512-c+Fy4VuGvPmT7mj7vEPjRR/iNFuXuOAkufhCtCvTGX0Hr4gCM9YwCnLgHkxr1ngqSODQaDObU3g8SF8uE/tY1w==", - "requires": { - "commander": "2.12.2", - "source-map": "0.6.1" - } - } - } - }, - "uniq": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", - "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=" - }, - "uniqid": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/uniqid/-/uniqid-4.1.1.tgz", - "integrity": "sha1-iSIN32t1GuUrX3JISGNShZa7hME=", - "requires": { - "macaddress": "0.2.8" - } - }, - "uniqs": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz", - "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=" - }, - "unique-filename": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.0.tgz", - "integrity": "sha1-0F8v5AMlYIcfMOk8vnNe6iAVFPM=", - "requires": { - "unique-slug": "2.0.0" - } - }, - "unique-slug": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.0.tgz", - "integrity": "sha1-22Z258fMBimHj/GWCXx4hVrp9Ks=", - "requires": { - "imurmurhash": "0.1.4" - } - }, - "unique-stream": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.2.1.tgz", - "integrity": "sha1-WqADz76Uxf+GbE59ZouxxNuts2k=", - "requires": { - "json-stable-stringify": "1.0.1", - "through2-filter": "2.0.0" - } - }, - "universalify": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz", - "integrity": "sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc=" - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" - }, - "unzip-response": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-1.0.2.tgz", - "integrity": "sha1-uYTwh3/AqJwsdzzB73tbIytbBv4=" - }, - "upper-case": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", - "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=" - }, - "urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=" - }, - "url": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", - "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", - "requires": { - "punycode": "1.3.2", - "querystring": "0.2.0" - }, - "dependencies": { - "punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" - } - } - }, - "url-parse": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.2.0.tgz", - "integrity": "sha512-DT1XbYAfmQP65M/mE6OALxmXzZ/z1+e5zk2TcSKe/KiYbNGZxgtttzC0mR/sjopbpOXcbniq7eIKmocJnUWlEw==", - "requires": { - "querystringify": "1.0.0", - "requires-port": "1.0.0" - }, - "dependencies": { - "querystringify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-1.0.0.tgz", - "integrity": "sha1-YoYkIRLFtxL6ZU5SZlK/ahP/Bcs=" - } - } - }, - "url-parse-lax": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", - "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", - "requires": { - "prepend-http": "1.0.4" - } - }, - "url-regex": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/url-regex/-/url-regex-3.2.0.tgz", - "integrity": "sha1-260eDJ4p4QXdCx8J9oYvf9tIJyQ=", - "requires": { - "ip-regex": "1.0.3" - } - }, - "util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "requires": { - "inherits": "2.0.1" - }, - "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=" - } - } - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" - }, - "uuid": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz", - "integrity": "sha1-PdPT55Crwk17DToDT/q6vijrvAQ=" - }, - "vali-date": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/vali-date/-/vali-date-1.0.0.tgz", - "integrity": "sha1-G5BKWWCfsyjvB4E4Qgk09rhnCaY=" - }, - "validate-npm-package-license": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", - "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", - "requires": { - "spdx-correct": "1.0.2", - "spdx-expression-parse": "1.0.4" - } - }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" - }, - "vendors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.1.tgz", - "integrity": "sha1-N61zyO5Bf7PVgOeFMSMH0nSEfyI=" - }, - "verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "requires": { - "assert-plus": "1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "1.3.0" - }, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - } - } - }, - "vinyl": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-1.2.0.tgz", - "integrity": "sha1-XIgDbPVl5d8FVYv8kR+GVt8hiIQ=", - "requires": { - "clone": "1.0.3", - "clone-stats": "0.0.1", - "replace-ext": "0.0.1" - }, - "dependencies": { - "replace-ext": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz", - "integrity": "sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=" - } - } - }, - "vinyl-assign": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/vinyl-assign/-/vinyl-assign-1.2.1.tgz", - "integrity": "sha1-TRmIkbVRWRHXcajNnFSApGoHSkU=", - "requires": { - "object-assign": "4.1.1", - "readable-stream": "2.3.3" - } - }, - "vinyl-fs": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-2.4.4.tgz", - "integrity": "sha1-vm/zJwy1Xf19MGNkDegfJddTIjk=", - "requires": { - "duplexify": "3.5.1", - "glob-stream": "5.3.5", - "graceful-fs": "4.1.11", - "gulp-sourcemaps": "1.6.0", - "is-valid-glob": "0.3.0", - "lazystream": "1.0.0", - "lodash.isequal": "4.5.0", - "merge-stream": "1.0.1", - "mkdirp": "0.5.1", - "object-assign": "4.1.1", - "readable-stream": "2.3.3", - "strip-bom": "2.0.0", - "strip-bom-stream": "1.0.0", - "through2": "2.0.3", - "through2-filter": "2.0.0", - "vali-date": "1.0.0", - "vinyl": "1.2.0" - }, - "dependencies": { - "through2": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", - "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", - "requires": { - "readable-stream": "2.3.3", - "xtend": "4.0.1" - } - } - } - }, - "vm-browserify": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", - "integrity": "sha1-XX6kW7755Kb/ZflUOOCofDV9WnM=", - "requires": { - "indexof": "0.0.1" - } - }, - "vue-hot-reload-api": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.2.4.tgz", - "integrity": "sha512-e+ThJMYmZg4D9UnrLcr6LQxGu6YlcxkrmZGPCyIN4malcNhdeGGKxmFuM5y6ICMJJxQywLfT8MM1rYZr4LpeLw==" - }, - "vue-loader": { - "version": "13.5.0", - "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-13.5.0.tgz", - "integrity": "sha512-O0+ZU1oyLlDXSAQB7pV/pwVt3wJLfyhXtnGpCVFBGMKGC0Yp9Un7ULFHKejrFEYaMBKY0s6h4iJzjMdSngNA2g==", - "requires": { - "consolidate": "0.14.5", - "hash-sum": "1.0.2", - "loader-utils": "1.1.0", - "lru-cache": "4.1.1", - "postcss": "6.0.14", - "postcss-load-config": "1.2.0", - "postcss-selector-parser": "2.2.3", - "prettier": "1.9.1", - "resolve": "1.5.0", - "source-map": "0.6.1", - "vue-hot-reload-api": "2.2.4", - "vue-style-loader": "3.0.3", - "vue-template-es2015-compiler": "1.6.0" - } - }, - "vue-style-loader": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-3.0.3.tgz", - "integrity": "sha512-P/ihpaZKU23T1kq3E0y4c+F8sbm1HQO69EFYoLoGMSGVAHroHsGir/WQ9qUavP8dyFYHmXenzHaJ/nqd8vfaxw==", - "requires": { - "hash-sum": "1.0.2", - "loader-utils": "1.1.0" - } - }, - "vue-template-compiler": { - "version": "2.5.9", - "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.5.9.tgz", - "integrity": "sha512-Icev7QPuQ3flpOvxMe09irgXPklBi/VpiveUDs5nRVH5GA8R9asLBlahsA7AuRZQbaty0cGKm6kh/icDLcr93w==", - "requires": { - "de-indent": "1.0.2", - "he": "1.1.1" - } - }, - "vue-template-es2015-compiler": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz", - "integrity": "sha512-x3LV3wdmmERhVCYy3quqA57NJW7F3i6faas++pJQWtknWT+n7k30F4TVdHvCLn48peTJFRvCpxs3UuFPqgeELg==" - }, - "ware": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ware/-/ware-1.3.0.tgz", - "integrity": "sha1-0bFPOdLiy0q4xAmPdW/ksWTkc9Q=", - "requires": { - "wrap-fn": "0.1.5" - } - }, - "watchpack": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.4.0.tgz", - "integrity": "sha1-ShRyvLuVK9Cpu0A2gB+VTfs5+qw=", - "requires": { - "async": "2.6.0", - "chokidar": "1.7.0", - "graceful-fs": "4.1.11" - } - }, - "wbuf": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.2.tgz", - "integrity": "sha1-1pe5nx9ZUS3ydRvkJ2nBWAtYAf4=", - "requires": { - "minimalistic-assert": "1.0.0" - } - }, - "webpack": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.10.0.tgz", - "integrity": "sha512-fxxKXoicjdXNUMY7LIdY89tkJJJ0m1Oo8PQutZ5rLgWbV5QVKI15Cn7+/IHnRTd3vfKfiwBx6SBqlorAuNA8LA==", - "requires": { - "acorn": "5.2.1", - "acorn-dynamic-import": "2.0.2", - "ajv": "5.5.1", - "ajv-keywords": "2.1.1", - "async": "2.6.0", - "enhanced-resolve": "3.4.1", - "escope": "3.6.0", - "interpret": "1.1.0", - "json-loader": "0.5.7", - "json5": "0.5.1", - "loader-runner": "2.3.0", - "loader-utils": "1.1.0", - "memory-fs": "0.4.1", - "mkdirp": "0.5.1", - "node-libs-browser": "2.1.0", - "source-map": "0.5.7", - "supports-color": "4.5.0", - "tapable": "0.2.8", - "uglifyjs-webpack-plugin": "0.4.6", - "watchpack": "1.4.0", - "webpack-sources": "1.1.0", - "yargs": "8.0.2" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "uglifyjs-webpack-plugin": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz", - "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=", - "requires": { - "source-map": "0.5.7", - "uglify-js": "2.8.29", - "webpack-sources": "1.1.0" - } - } - } - }, - "webpack-chunk-hash": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/webpack-chunk-hash/-/webpack-chunk-hash-0.4.0.tgz", - "integrity": "sha1-a0DDBw+8n/DP4P54HHF0r2x8FqQ=" - }, - "webpack-dev-middleware": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-1.12.2.tgz", - "integrity": "sha512-FCrqPy1yy/sN6U/SaEZcHKRXGlqU0DUaEBL45jkUYoB8foVb6wCnbIJ1HKIx+qUFTW+3JpVcCJCxZ8VATL4e+A==", - "requires": { - "memory-fs": "0.4.1", - "mime": "1.6.0", - "path-is-absolute": "1.0.1", - "range-parser": "1.2.0", - "time-stamp": "2.0.0" - }, - "dependencies": { - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" - }, - "time-stamp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-2.0.0.tgz", - "integrity": "sha1-lcakRTDhW6jW9KPsuMOj+sRto1c=" - } - } - }, - "webpack-dev-server": { - "version": "2.9.7", - "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-2.9.7.tgz", - "integrity": "sha512-Pu7uoQFgQj5RE5wmlfkpYSzihMKxulwEuO2xCsaMnAnyRSApwoVi3B8WCm9XbigyWTHaIMzYGkB90Vr6leAeTQ==", - "requires": { - "ansi-html": "0.0.7", - "array-includes": "3.0.3", - "bonjour": "3.5.0", - "chokidar": "1.7.0", - "compression": "1.7.1", - "connect-history-api-fallback": "1.5.0", - "debug": "3.1.0", - "del": "3.0.0", - "express": "4.16.2", - "html-entities": "1.2.1", - "http-proxy-middleware": "0.17.4", - "import-local": "0.1.1", - "internal-ip": "1.2.0", - "ip": "1.1.5", - "killable": "1.0.0", - "loglevel": "1.6.0", - "opn": "5.1.0", - "portfinder": "1.0.13", - "selfsigned": "1.10.1", - "serve-index": "1.9.1", - "sockjs": "0.3.18", - "sockjs-client": "1.1.4", - "spdy": "3.4.7", - "strip-ansi": "3.0.1", - "supports-color": "4.5.0", - "webpack-dev-middleware": "1.12.2", - "yargs": "6.6.0" - }, - "dependencies": { - "camelcase": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", - "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" - }, - "yargs": { - "version": "6.6.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz", - "integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=", - "requires": { - "camelcase": "3.0.0", - "cliui": "3.2.0", - "decamelize": "1.2.0", - "get-caller-file": "1.0.2", - "os-locale": "1.4.0", - "read-pkg-up": "1.0.1", - "require-directory": "2.1.1", - "require-main-filename": "1.0.1", - "set-blocking": "2.0.0", - "string-width": "1.0.2", - "which-module": "1.0.0", - "y18n": "3.2.1", - "yargs-parser": "4.2.1" - } - }, - "yargs-parser": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz", - "integrity": "sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=", - "requires": { - "camelcase": "3.0.0" - } - } - } - }, - "webpack-merge": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-4.1.1.tgz", - "integrity": "sha512-geQsZ86YkXOVOjvPC5yv3JSNnL6/X3Kzh935AQ/gJNEYXEfJDQFu/sdFuktS9OW2JcH/SJec8TGfRdrpHshH7A==", - "requires": { - "lodash": "4.17.4" - } - }, - "webpack-notifier": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/webpack-notifier/-/webpack-notifier-1.5.0.tgz", - "integrity": "sha1-wBAAfUSM68NN78mezyiPpejGuvY=", - "requires": { - "node-notifier": "4.6.1", - "object-assign": "4.1.1", - "strip-ansi": "3.0.1" - } - }, - "webpack-sources": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.1.0.tgz", - "integrity": "sha512-aqYp18kPphgoO5c/+NaUvEeACtZjMESmDChuD3NBciVpah3XpMEU9VAAtIaB1BsfJWWTSdv8Vv1m3T0aRk2dUw==", - "requires": { - "source-list-map": "2.0.0", - "source-map": "0.6.1" - } - }, - "websocket-driver": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.0.tgz", - "integrity": "sha1-DK+dLXVdk67gSdS90NP+LMoqJOs=", - "requires": { - "http-parser-js": "0.4.9", - "websocket-extensions": "0.1.3" - } - }, - "websocket-extensions": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz", - "integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==" - }, - "whet.extend": { - "version": "0.9.9", - "resolved": "https://registry.npmjs.org/whet.extend/-/whet.extend-0.9.9.tgz", - "integrity": "sha1-+HfVv2SMl+WqVC+twW1qJZucEaE=" - }, - "which": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", - "integrity": "sha1-/wS9/AEO5UfXgL7DjhrBwnd9JTo=", - "requires": { - "isexe": "2.0.0" - } - }, - "which-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", - "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=" - }, - "wide-align": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", - "integrity": "sha1-Vx4PGwYEY268DfwhsDObvjE0FxA=", - "requires": { - "string-width": "1.0.2" - } - }, - "window-size": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", - "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=" - }, - "wordwrap": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", - "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=" - }, - "worker-farm": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.5.2.tgz", - "integrity": "sha512-XxiQ9kZN5n6mmnW+mFJ+wXjNNI/Nx4DIdaAKLX1Bn6LYBWlN/zaBhu34DQYPZ1AJobQuu67S2OfDdNSVULvXkQ==", - "requires": { - "errno": "0.1.4", - "xtend": "4.0.1" - } - }, - "wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1" - } - }, - "wrap-fn": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/wrap-fn/-/wrap-fn-0.1.5.tgz", - "integrity": "sha1-8htuQQFv9KfjFyDbxjoJAWvfmEU=", - "requires": { - "co": "3.1.0" - }, - "dependencies": { - "co": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/co/-/co-3.1.0.tgz", - "integrity": "sha1-TqVOpaCJOBUxheFSEMaNkJK8G3g=" - } - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "x-editable": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/x-editable/-/x-editable-1.5.1.tgz", - "integrity": "sha1-Ltu4kR7yxdYfY/BrDPAgvg/MWEk=" - }, - "xml-char-classes": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/xml-char-classes/-/xml-char-classes-1.0.0.tgz", - "integrity": "sha1-ZGV4SKIP/F31g6Qq2KJ3tFErvE0=" - }, - "xtend": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" - }, - "y18n": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", - "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=" - }, - "yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=" - }, - "yargs": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", - "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", - "requires": { - "camelcase": "4.1.0", - "cliui": "3.2.0", - "decamelize": "1.2.0", - "get-caller-file": "1.0.2", - "os-locale": "2.1.0", - "read-pkg-up": "2.0.0", - "require-directory": "2.1.1", - "require-main-filename": "1.0.1", - "set-blocking": "2.0.0", - "string-width": "2.1.1", - "which-module": "2.0.0", - "y18n": "3.2.1", - "yargs-parser": "7.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" - }, - "camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" - }, - "load-json-file": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", - "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", - "requires": { - "graceful-fs": "4.1.11", - "parse-json": "2.2.0", - "pify": "2.3.0", - "strip-bom": "3.0.0" - } - }, - "os-locale": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", - "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", - "requires": { - "execa": "0.7.0", - "lcid": "1.0.0", - "mem": "1.1.0" - } - }, - "path-type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", - "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", - "requires": { - "pify": "2.3.0" - } - }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" - }, - "read-pkg": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", - "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", - "requires": { - "load-json-file": "2.0.0", - "normalize-package-data": "2.4.0", - "path-type": "2.0.0" - } - }, - "read-pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", - "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", - "requires": { - "find-up": "2.1.0", - "read-pkg": "2.0.0" - } - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "requires": { - "is-fullwidth-code-point": "2.0.0", - "strip-ansi": "4.0.0" - } - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "requires": { - "ansi-regex": "3.0.0" - } - }, - "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" - }, - "which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" - }, - "yargs-parser": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", - "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", - "requires": { - "camelcase": "4.1.0" - } - } - } - }, - "yargs-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz", - "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=", - "requires": { - "camelcase": "3.0.0" - }, - "dependencies": { - "camelcase": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", - "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" - } - } - }, - "yauzl": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.9.1.tgz", - "integrity": "sha1-qBmB6nCleUYTOIPwKcWCGok1mn8=", - "requires": { - "buffer-crc32": "0.2.13", - "fd-slicer": "1.0.1" - } - } - } -} diff --git a/package.json b/package.json index 65559a43..fddad366 100755 --- a/package.json +++ b/package.json @@ -1,39 +1,47 @@ { "private": true, "scripts": { - "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": "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", - "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" + "dev": "yarn run development", + "development": "NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", + "watch": "NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", + "watch-poll": "yarn run watch -- --watch-poll", + "hot": "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": "yarns run production", + "production": "NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" }, "dependencies": { "Leaflet.Geodesic": "git+https://git@github.com/henrythasler/Leaflet.Geodesic.git", - "axios": "^0.17", + "animate.css": "^3.6.1", + "axios": "^0.17.1", "bootstrap-sass": "^3.3.7", "bootstrap3": "^3.3.5", - "cross-env": "^5.1.3", + "cross-env": "^5.1.4", "eonasdan-bootstrap-datetimepicker": "^4.17.47", "flag-icon-css": "^2.9.0", "icheck": "^1.0.2", "jquery": "^3.3.1", "jquery-pjax": "^2.0.1", - "laravel-mix": "^1.0", + "laravel-mix": "^2.1", "leaflet": "^1.3.1", "leaflet-ajax": "2.1.0", "leaflet-rotatedmarker": "^0.2.0", "lodash": "4.17.4", "marked": "0.3.9", - "moment": "^2.20.1", + "moment": "^2.21.0", + "paper-dashboard": "^1.1.0", + "pe7-icon": "^1.0.4", + "pikaday": "^1.7.0", "pjax": "^0.2.5", - "popper.js": "^1.13.0", - "rivets": "0.9.6", + "popper.js": "^1.14.1", + "rivets": "^0.9.6", "select2": "^4.0.5", + "ssri": "^5.3.0", + "webpack": "^3.0", "x-editable": "1.5.1" }, "devDependencies": { - "copy-webpack-plugin": "^4.4.1" + "copy-webpack-plugin": "^4.5.1", + "tailwindcss": "^0.5.2", + "webpack-bundle-analyzer": "^2.11.1" } } diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 00000000..b8b6788f --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,8 @@ +parameters: + autoload_files: + #- %currentWorkingDirectory%/_ide_helper.php + ignoreErrors: + - '#PHPDoc tag(.*)#' + - '#Access to an undefined property App\\Models(.*)#' +includes: + - vendor/weebly/phpstan-laravel/extension.neon diff --git a/phpunit.xml b/phpunit.xml index 32acf6c7..cb508ebd 100755 --- a/phpunit.xml +++ b/phpunit.xml @@ -8,6 +8,7 @@ convertWarningsToExceptions="false" beStrictAboutOutputDuringTests="false" beStrictAboutTestsThatDoNotTestAnything="false"> + ./tests diff --git a/public/assets/admin/css/admin.css b/public/assets/admin/css/admin.css index d1b8df98..e7ce00bd 100644 --- a/public/assets/admin/css/admin.css +++ b/public/assets/admin/css/admin.css @@ -3,6 +3,14 @@ * */ +.select2-container { + margin-top: 2px; +} + +textarea.input-text { + padding: 10px +} + .border-blue-bottom { border-bottom: 3px solid #067ec1; } diff --git a/public/assets/admin/css/vendor.css b/public/assets/admin/css/vendor.css new file mode 100644 index 00000000..535bbe1f --- /dev/null +++ b/public/assets/admin/css/vendor.css @@ -0,0 +1,17478 @@ +/*! + * Bootstrap v3.3.5 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} +body { + margin: 0; +} +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} +audio, +canvas, +progress, +video { + display: inline-block; + vertical-align: baseline; +} +audio:not([controls]) { + display: none; + height: 0; +} +[hidden], +template { + display: none; +} +a { + background-color: transparent; +} +a:active, +a:hover { + outline: 0; +} +abbr[title] { + border-bottom: 1px dotted; +} +b, +strong { + font-weight: bold; +} +dfn { + font-style: italic; +} +h1 { + margin: .67em 0; + font-size: 2em; +} +mark { + color: #000; + background: #ff0; +} +small { + font-size: 80%; +} +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} +sup { + top: -.5em; +} +sub { + bottom: -.25em; +} +img { + border: 0; +} +svg:not(:root) { + overflow: hidden; +} +figure { + margin: 1em 40px; +} +hr { + height: 0; + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; +} +pre { + overflow: auto; +} +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} +button, +input, +optgroup, +select, +textarea { + margin: 0; + font: inherit; + color: inherit; +} +button { + overflow: visible; +} +button, +select { + text-transform: none; +} +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; +} +button[disabled], +html input[disabled] { + cursor: default; +} +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} +input { + line-height: normal; +} +input[type="checkbox"], +input[type="radio"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + padding: 0; +} +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +fieldset { + padding: .35em .625em .75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} +legend { + padding: 0; + border: 0; +} +textarea { + overflow: auto; +} +optgroup { + font-weight: bold; +} +table { + border-spacing: 0; + border-collapse: collapse; +} +td, +th { + padding: 0; +} +/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ +@media print { + *, + *:before, + *:after { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="#"]:after, + a[href^="javascript:"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + .navbar { + display: none; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table td, + .table th { + background-color: #fff !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} +@font-face { + font-family: 'Glyphicons Halflings'; + + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); +} +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + font-style: normal; + font-weight: normal; + line-height: 1; + + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.glyphicon-asterisk:before { + content: "\2a"; +} +.glyphicon-plus:before { + content: "\2b"; +} +.glyphicon-euro:before, +.glyphicon-eur:before { + content: "\20ac"; +} +.glyphicon-minus:before { + content: "\2212"; +} +.glyphicon-cloud:before { + content: "\2601"; +} +.glyphicon-envelope:before { + content: "\2709"; +} +.glyphicon-pencil:before { + content: "\270f"; +} +.glyphicon-glass:before { + content: "\e001"; +} +.glyphicon-music:before { + content: "\e002"; +} +.glyphicon-search:before { + content: "\e003"; +} +.glyphicon-heart:before { + content: "\e005"; +} +.glyphicon-star:before { + content: "\e006"; +} +.glyphicon-star-empty:before { + content: "\e007"; +} +.glyphicon-user:before { + content: "\e008"; +} +.glyphicon-film:before { + content: "\e009"; +} +.glyphicon-th-large:before { + content: "\e010"; +} +.glyphicon-th:before { + content: "\e011"; +} +.glyphicon-th-list:before { + content: "\e012"; +} +.glyphicon-ok:before { + content: "\e013"; +} +.glyphicon-remove:before { + content: "\e014"; +} +.glyphicon-zoom-in:before { + content: "\e015"; +} +.glyphicon-zoom-out:before { + content: "\e016"; +} +.glyphicon-off:before { + content: "\e017"; +} +.glyphicon-signal:before { + content: "\e018"; +} +.glyphicon-cog:before { + content: "\e019"; +} +.glyphicon-trash:before { + content: "\e020"; +} +.glyphicon-home:before { + content: "\e021"; +} +.glyphicon-file:before { + content: "\e022"; +} +.glyphicon-time:before { + content: "\e023"; +} +.glyphicon-road:before { + content: "\e024"; +} +.glyphicon-download-alt:before { + content: "\e025"; +} +.glyphicon-download:before { + content: "\e026"; +} +.glyphicon-upload:before { + content: "\e027"; +} +.glyphicon-inbox:before { + content: "\e028"; +} +.glyphicon-play-circle:before { + content: "\e029"; +} +.glyphicon-repeat:before { + content: "\e030"; +} +.glyphicon-refresh:before { + content: "\e031"; +} +.glyphicon-list-alt:before { + content: "\e032"; +} +.glyphicon-lock:before { + content: "\e033"; +} +.glyphicon-flag:before { + content: "\e034"; +} +.glyphicon-headphones:before { + content: "\e035"; +} +.glyphicon-volume-off:before { + content: "\e036"; +} +.glyphicon-volume-down:before { + content: "\e037"; +} +.glyphicon-volume-up:before { + content: "\e038"; +} +.glyphicon-qrcode:before { + content: "\e039"; +} +.glyphicon-barcode:before { + content: "\e040"; +} +.glyphicon-tag:before { + content: "\e041"; +} +.glyphicon-tags:before { + content: "\e042"; +} +.glyphicon-book:before { + content: "\e043"; +} +.glyphicon-bookmark:before { + content: "\e044"; +} +.glyphicon-print:before { + content: "\e045"; +} +.glyphicon-camera:before { + content: "\e046"; +} +.glyphicon-font:before { + content: "\e047"; +} +.glyphicon-bold:before { + content: "\e048"; +} +.glyphicon-italic:before { + content: "\e049"; +} +.glyphicon-text-height:before { + content: "\e050"; +} +.glyphicon-text-width:before { + content: "\e051"; +} +.glyphicon-align-left:before { + content: "\e052"; +} +.glyphicon-align-center:before { + content: "\e053"; +} +.glyphicon-align-right:before { + content: "\e054"; +} +.glyphicon-align-justify:before { + content: "\e055"; +} +.glyphicon-list:before { + content: "\e056"; +} +.glyphicon-indent-left:before { + content: "\e057"; +} +.glyphicon-indent-right:before { + content: "\e058"; +} +.glyphicon-facetime-video:before { + content: "\e059"; +} +.glyphicon-picture:before { + content: "\e060"; +} +.glyphicon-map-marker:before { + content: "\e062"; +} +.glyphicon-adjust:before { + content: "\e063"; +} +.glyphicon-tint:before { + content: "\e064"; +} +.glyphicon-edit:before { + content: "\e065"; +} +.glyphicon-share:before { + content: "\e066"; +} +.glyphicon-check:before { + content: "\e067"; +} +.glyphicon-move:before { + content: "\e068"; +} +.glyphicon-step-backward:before { + content: "\e069"; +} +.glyphicon-fast-backward:before { + content: "\e070"; +} +.glyphicon-backward:before { + content: "\e071"; +} +.glyphicon-play:before { + content: "\e072"; +} +.glyphicon-pause:before { + content: "\e073"; +} +.glyphicon-stop:before { + content: "\e074"; +} +.glyphicon-forward:before { + content: "\e075"; +} +.glyphicon-fast-forward:before { + content: "\e076"; +} +.glyphicon-step-forward:before { + content: "\e077"; +} +.glyphicon-eject:before { + content: "\e078"; +} +.glyphicon-chevron-left:before { + content: "\e079"; +} +.glyphicon-chevron-right:before { + content: "\e080"; +} +.glyphicon-plus-sign:before { + content: "\e081"; +} +.glyphicon-minus-sign:before { + content: "\e082"; +} +.glyphicon-remove-sign:before { + content: "\e083"; +} +.glyphicon-ok-sign:before { + content: "\e084"; +} +.glyphicon-question-sign:before { + content: "\e085"; +} +.glyphicon-info-sign:before { + content: "\e086"; +} +.glyphicon-screenshot:before { + content: "\e087"; +} +.glyphicon-remove-circle:before { + content: "\e088"; +} +.glyphicon-ok-circle:before { + content: "\e089"; +} +.glyphicon-ban-circle:before { + content: "\e090"; +} +.glyphicon-arrow-left:before { + content: "\e091"; +} +.glyphicon-arrow-right:before { + content: "\e092"; +} +.glyphicon-arrow-up:before { + content: "\e093"; +} +.glyphicon-arrow-down:before { + content: "\e094"; +} +.glyphicon-share-alt:before { + content: "\e095"; +} +.glyphicon-resize-full:before { + content: "\e096"; +} +.glyphicon-resize-small:before { + content: "\e097"; +} +.glyphicon-exclamation-sign:before { + content: "\e101"; +} +.glyphicon-gift:before { + content: "\e102"; +} +.glyphicon-leaf:before { + content: "\e103"; +} +.glyphicon-fire:before { + content: "\e104"; +} +.glyphicon-eye-open:before { + content: "\e105"; +} +.glyphicon-eye-close:before { + content: "\e106"; +} +.glyphicon-warning-sign:before { + content: "\e107"; +} +.glyphicon-plane:before { + content: "\e108"; +} +.glyphicon-calendar:before { + content: "\e109"; +} +.glyphicon-random:before { + content: "\e110"; +} +.glyphicon-comment:before { + content: "\e111"; +} +.glyphicon-magnet:before { + content: "\e112"; +} +.glyphicon-chevron-up:before { + content: "\e113"; +} +.glyphicon-chevron-down:before { + content: "\e114"; +} +.glyphicon-retweet:before { + content: "\e115"; +} +.glyphicon-shopping-cart:before { + content: "\e116"; +} +.glyphicon-folder-close:before { + content: "\e117"; +} +.glyphicon-folder-open:before { + content: "\e118"; +} +.glyphicon-resize-vertical:before { + content: "\e119"; +} +.glyphicon-resize-horizontal:before { + content: "\e120"; +} +.glyphicon-hdd:before { + content: "\e121"; +} +.glyphicon-bullhorn:before { + content: "\e122"; +} +.glyphicon-bell:before { + content: "\e123"; +} +.glyphicon-certificate:before { + content: "\e124"; +} +.glyphicon-thumbs-up:before { + content: "\e125"; +} +.glyphicon-thumbs-down:before { + content: "\e126"; +} +.glyphicon-hand-right:before { + content: "\e127"; +} +.glyphicon-hand-left:before { + content: "\e128"; +} +.glyphicon-hand-up:before { + content: "\e129"; +} +.glyphicon-hand-down:before { + content: "\e130"; +} +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} +.glyphicon-globe:before { + content: "\e135"; +} +.glyphicon-wrench:before { + content: "\e136"; +} +.glyphicon-tasks:before { + content: "\e137"; +} +.glyphicon-filter:before { + content: "\e138"; +} +.glyphicon-briefcase:before { + content: "\e139"; +} +.glyphicon-fullscreen:before { + content: "\e140"; +} +.glyphicon-dashboard:before { + content: "\e141"; +} +.glyphicon-paperclip:before { + content: "\e142"; +} +.glyphicon-heart-empty:before { + content: "\e143"; +} +.glyphicon-link:before { + content: "\e144"; +} +.glyphicon-phone:before { + content: "\e145"; +} +.glyphicon-pushpin:before { + content: "\e146"; +} +.glyphicon-usd:before { + content: "\e148"; +} +.glyphicon-gbp:before { + content: "\e149"; +} +.glyphicon-sort:before { + content: "\e150"; +} +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} +.glyphicon-sort-by-order:before { + content: "\e153"; +} +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} +.glyphicon-unchecked:before { + content: "\e157"; +} +.glyphicon-expand:before { + content: "\e158"; +} +.glyphicon-collapse-down:before { + content: "\e159"; +} +.glyphicon-collapse-up:before { + content: "\e160"; +} +.glyphicon-log-in:before { + content: "\e161"; +} +.glyphicon-flash:before { + content: "\e162"; +} +.glyphicon-log-out:before { + content: "\e163"; +} +.glyphicon-new-window:before { + content: "\e164"; +} +.glyphicon-record:before { + content: "\e165"; +} +.glyphicon-save:before { + content: "\e166"; +} +.glyphicon-open:before { + content: "\e167"; +} +.glyphicon-saved:before { + content: "\e168"; +} +.glyphicon-import:before { + content: "\e169"; +} +.glyphicon-export:before { + content: "\e170"; +} +.glyphicon-send:before { + content: "\e171"; +} +.glyphicon-floppy-disk:before { + content: "\e172"; +} +.glyphicon-floppy-saved:before { + content: "\e173"; +} +.glyphicon-floppy-remove:before { + content: "\e174"; +} +.glyphicon-floppy-save:before { + content: "\e175"; +} +.glyphicon-floppy-open:before { + content: "\e176"; +} +.glyphicon-credit-card:before { + content: "\e177"; +} +.glyphicon-transfer:before { + content: "\e178"; +} +.glyphicon-cutlery:before { + content: "\e179"; +} +.glyphicon-header:before { + content: "\e180"; +} +.glyphicon-compressed:before { + content: "\e181"; +} +.glyphicon-earphone:before { + content: "\e182"; +} +.glyphicon-phone-alt:before { + content: "\e183"; +} +.glyphicon-tower:before { + content: "\e184"; +} +.glyphicon-stats:before { + content: "\e185"; +} +.glyphicon-sd-video:before { + content: "\e186"; +} +.glyphicon-hd-video:before { + content: "\e187"; +} +.glyphicon-subtitles:before { + content: "\e188"; +} +.glyphicon-sound-stereo:before { + content: "\e189"; +} +.glyphicon-sound-dolby:before { + content: "\e190"; +} +.glyphicon-sound-5-1:before { + content: "\e191"; +} +.glyphicon-sound-6-1:before { + content: "\e192"; +} +.glyphicon-sound-7-1:before { + content: "\e193"; +} +.glyphicon-copyright-mark:before { + content: "\e194"; +} +.glyphicon-registration-mark:before { + content: "\e195"; +} +.glyphicon-cloud-download:before { + content: "\e197"; +} +.glyphicon-cloud-upload:before { + content: "\e198"; +} +.glyphicon-tree-conifer:before { + content: "\e199"; +} +.glyphicon-tree-deciduous:before { + content: "\e200"; +} +.glyphicon-cd:before { + content: "\e201"; +} +.glyphicon-save-file:before { + content: "\e202"; +} +.glyphicon-open-file:before { + content: "\e203"; +} +.glyphicon-level-up:before { + content: "\e204"; +} +.glyphicon-copy:before { + content: "\e205"; +} +.glyphicon-paste:before { + content: "\e206"; +} +.glyphicon-alert:before { + content: "\e209"; +} +.glyphicon-equalizer:before { + content: "\e210"; +} +.glyphicon-king:before { + content: "\e211"; +} +.glyphicon-queen:before { + content: "\e212"; +} +.glyphicon-pawn:before { + content: "\e213"; +} +.glyphicon-bishop:before { + content: "\e214"; +} +.glyphicon-knight:before { + content: "\e215"; +} +.glyphicon-baby-formula:before { + content: "\e216"; +} +.glyphicon-tent:before { + content: "\26fa"; +} +.glyphicon-blackboard:before { + content: "\e218"; +} +.glyphicon-bed:before { + content: "\e219"; +} +.glyphicon-apple:before { + content: "\f8ff"; +} +.glyphicon-erase:before { + content: "\e221"; +} +.glyphicon-hourglass:before { + content: "\231b"; +} +.glyphicon-lamp:before { + content: "\e223"; +} +.glyphicon-duplicate:before { + content: "\e224"; +} +.glyphicon-piggy-bank:before { + content: "\e225"; +} +.glyphicon-scissors:before { + content: "\e226"; +} +.glyphicon-bitcoin:before { + content: "\e227"; +} +.glyphicon-btc:before { + content: "\e227"; +} +.glyphicon-xbt:before { + content: "\e227"; +} +.glyphicon-yen:before { + content: "\00a5"; +} +.glyphicon-jpy:before { + content: "\00a5"; +} +.glyphicon-ruble:before { + content: "\20bd"; +} +.glyphicon-rub:before { + content: "\20bd"; +} +.glyphicon-scale:before { + content: "\e230"; +} +.glyphicon-ice-lolly:before { + content: "\e231"; +} +.glyphicon-ice-lolly-tasted:before { + content: "\e232"; +} +.glyphicon-education:before { + content: "\e233"; +} +.glyphicon-option-horizontal:before { + content: "\e234"; +} +.glyphicon-option-vertical:before { + content: "\e235"; +} +.glyphicon-menu-hamburger:before { + content: "\e236"; +} +.glyphicon-modal-window:before { + content: "\e237"; +} +.glyphicon-oil:before { + content: "\e238"; +} +.glyphicon-grain:before { + content: "\e239"; +} +.glyphicon-sunglasses:before { + content: "\e240"; +} +.glyphicon-text-size:before { + content: "\e241"; +} +.glyphicon-text-color:before { + content: "\e242"; +} +.glyphicon-text-background:before { + content: "\e243"; +} +.glyphicon-object-align-top:before { + content: "\e244"; +} +.glyphicon-object-align-bottom:before { + content: "\e245"; +} +.glyphicon-object-align-horizontal:before { + content: "\e246"; +} +.glyphicon-object-align-left:before { + content: "\e247"; +} +.glyphicon-object-align-vertical:before { + content: "\e248"; +} +.glyphicon-object-align-right:before { + content: "\e249"; +} +.glyphicon-triangle-right:before { + content: "\e250"; +} +.glyphicon-triangle-left:before { + content: "\e251"; +} +.glyphicon-triangle-bottom:before { + content: "\e252"; +} +.glyphicon-triangle-top:before { + content: "\e253"; +} +.glyphicon-console:before { + content: "\e254"; +} +.glyphicon-superscript:before { + content: "\e255"; +} +.glyphicon-subscript:before { + content: "\e256"; +} +.glyphicon-menu-left:before { + content: "\e257"; +} +.glyphicon-menu-right:before { + content: "\e258"; +} +.glyphicon-menu-down:before { + content: "\e259"; +} +.glyphicon-menu-up:before { + content: "\e260"; +} +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +html { + font-size: 10px; + + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.42857143; + color: #333; + background-color: #fff; +} +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} +a { + color: #337ab7; + text-decoration: none; +} +a:hover, +a:focus { + color: #23527c; + text-decoration: underline; +} +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +figure { + margin: 0; +} +img { + vertical-align: middle; +} +.img-responsive, +.thumbnail > img, +.thumbnail a > img, +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + max-width: 100%; + height: auto; +} +.img-rounded { + border-radius: 6px; +} +.img-thumbnail { + display: inline-block; + max-width: 100%; + height: auto; + padding: 4px; + line-height: 1.42857143; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 4px; + -webkit-transition: all .2s ease-in-out; + -o-transition: all .2s ease-in-out; + transition: all .2s ease-in-out; +} +.img-circle { + border-radius: 50%; +} +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eee; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + margin: 0; + overflow: visible; + clip: auto; +} +[role="button"] { + cursor: pointer; +} +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: inherit; + font-weight: 500; + line-height: 1.1; + color: inherit; +} +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #777; +} +h1, +.h1, +h2, +.h2, +h3, +.h3 { + margin-top: 20px; + margin-bottom: 10px; +} +h1 small, +.h1 small, +h2 small, +.h2 small, +h3 small, +.h3 small, +h1 .small, +.h1 .small, +h2 .small, +.h2 .small, +h3 .small, +.h3 .small { + font-size: 65%; +} +h4, +.h4, +h5, +.h5, +h6, +.h6 { + margin-top: 10px; + margin-bottom: 10px; +} +h4 small, +.h4 small, +h5 small, +.h5 small, +h6 small, +.h6 small, +h4 .small, +.h4 .small, +h5 .small, +.h5 .small, +h6 .small, +.h6 .small { + font-size: 75%; +} +h1, +.h1 { + font-size: 36px; +} +h2, +.h2 { + font-size: 30px; +} +h3, +.h3 { + font-size: 24px; +} +h4, +.h4 { + font-size: 18px; +} +h5, +.h5 { + font-size: 14px; +} +h6, +.h6 { + font-size: 12px; +} +p { + margin: 0 0 10px; +} +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 300; + line-height: 1.4; +} +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} +small, +.small { + font-size: 85%; +} +mark, +.mark { + padding: .2em; + background-color: #fcf8e3; +} +.text-left { + text-align: left; +} +.text-right { + text-align: right; +} +.text-center { + text-align: center; +} +.text-justify { + text-align: justify; +} +.text-nowrap { + white-space: nowrap; +} +.text-lowercase { + text-transform: lowercase; +} +.text-uppercase { + text-transform: uppercase; +} +.text-capitalize { + text-transform: capitalize; +} +.text-muted { + color: #777; +} +.text-primary { + color: #337ab7; +} +a.text-primary:hover, +a.text-primary:focus { + color: #286090; +} +.text-success { + color: #3c763d; +} +a.text-success:hover, +a.text-success:focus { + color: #2b542c; +} +.text-info { + color: #31708f; +} +a.text-info:hover, +a.text-info:focus { + color: #245269; +} +.text-warning { + color: #8a6d3b; +} +a.text-warning:hover, +a.text-warning:focus { + color: #66512c; +} +.text-danger { + color: #a94442; +} +a.text-danger:hover, +a.text-danger:focus { + color: #843534; +} +.bg-primary { + color: #fff; + background-color: #337ab7; +} +a.bg-primary:hover, +a.bg-primary:focus { + background-color: #286090; +} +.bg-success { + background-color: #dff0d8; +} +a.bg-success:hover, +a.bg-success:focus { + background-color: #c1e2b3; +} +.bg-info { + background-color: #d9edf7; +} +a.bg-info:hover, +a.bg-info:focus { + background-color: #afd9ee; +} +.bg-warning { + background-color: #fcf8e3; +} +a.bg-warning:hover, +a.bg-warning:focus { + background-color: #f7ecb5; +} +.bg-danger { + background-color: #f2dede; +} +a.bg-danger:hover, +a.bg-danger:focus { + background-color: #e4b9b9; +} +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eee; +} +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} +.list-unstyled { + padding-left: 0; + list-style: none; +} +.list-inline { + padding-left: 0; + margin-left: -5px; + list-style: none; +} +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} +dl { + margin-top: 0; + margin-bottom: 20px; +} +dt, +dd { + line-height: 1.42857143; +} +dt { + font-weight: bold; +} +dd { + margin-left: 0; +} +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } +} +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #777; +} +.initialism { + font-size: 90%; + text-transform: uppercase; +} +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + font-size: 17.5px; + border-left: 5px solid #eee; +} +blockquote p:last-child, +blockquote ul:last-child, +blockquote ol:last-child { + margin-bottom: 0; +} +blockquote footer, +blockquote small, +blockquote .small { + display: block; + font-size: 80%; + line-height: 1.42857143; + color: #777; +} +blockquote footer:before, +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} +.blockquote-reverse, +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + text-align: right; + border-right: 5px solid #eee; + border-left: 0; +} +.blockquote-reverse footer:before, +blockquote.pull-right footer:before, +.blockquote-reverse small:before, +blockquote.pull-right small:before, +.blockquote-reverse .small:before, +blockquote.pull-right .small:before { + content: ''; +} +.blockquote-reverse footer:after, +blockquote.pull-right footer:after, +.blockquote-reverse small:after, +blockquote.pull-right small:after, +.blockquote-reverse .small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.42857143; +} +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + background-color: #f9f2f4; + border-radius: 4px; +} +kbd { + padding: 2px 4px; + font-size: 90%; + color: #fff; + background-color: #333; + border-radius: 3px; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); +} +kbd kbd { + padding: 0; + font-size: 100%; + font-weight: bold; + -webkit-box-shadow: none; + box-shadow: none; +} +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.42857143; + color: #333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #ccc; + border-radius: 4px; +} +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} +@media (min-width: 768px) { + .container { + width: 750px; + } +} +@media (min-width: 992px) { + .container { + width: 970px; + } +} +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} +.container-fluid { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} +.row { + margin-right: -15px; + margin-left: -15px; +} +.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} +.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { + float: left; +} +.col-xs-12 { + width: 100%; +} +.col-xs-11 { + width: 91.66666667%; +} +.col-xs-10 { + width: 83.33333333%; +} +.col-xs-9 { + width: 75%; +} +.col-xs-8 { + width: 66.66666667%; +} +.col-xs-7 { + width: 58.33333333%; +} +.col-xs-6 { + width: 50%; +} +.col-xs-5 { + width: 41.66666667%; +} +.col-xs-4 { + width: 33.33333333%; +} +.col-xs-3 { + width: 25%; +} +.col-xs-2 { + width: 16.66666667%; +} +.col-xs-1 { + width: 8.33333333%; +} +.col-xs-pull-12 { + right: 100%; +} +.col-xs-pull-11 { + right: 91.66666667%; +} +.col-xs-pull-10 { + right: 83.33333333%; +} +.col-xs-pull-9 { + right: 75%; +} +.col-xs-pull-8 { + right: 66.66666667%; +} +.col-xs-pull-7 { + right: 58.33333333%; +} +.col-xs-pull-6 { + right: 50%; +} +.col-xs-pull-5 { + right: 41.66666667%; +} +.col-xs-pull-4 { + right: 33.33333333%; +} +.col-xs-pull-3 { + right: 25%; +} +.col-xs-pull-2 { + right: 16.66666667%; +} +.col-xs-pull-1 { + right: 8.33333333%; +} +.col-xs-pull-0 { + right: auto; +} +.col-xs-push-12 { + left: 100%; +} +.col-xs-push-11 { + left: 91.66666667%; +} +.col-xs-push-10 { + left: 83.33333333%; +} +.col-xs-push-9 { + left: 75%; +} +.col-xs-push-8 { + left: 66.66666667%; +} +.col-xs-push-7 { + left: 58.33333333%; +} +.col-xs-push-6 { + left: 50%; +} +.col-xs-push-5 { + left: 41.66666667%; +} +.col-xs-push-4 { + left: 33.33333333%; +} +.col-xs-push-3 { + left: 25%; +} +.col-xs-push-2 { + left: 16.66666667%; +} +.col-xs-push-1 { + left: 8.33333333%; +} +.col-xs-push-0 { + left: auto; +} +.col-xs-offset-12 { + margin-left: 100%; +} +.col-xs-offset-11 { + margin-left: 91.66666667%; +} +.col-xs-offset-10 { + margin-left: 83.33333333%; +} +.col-xs-offset-9 { + margin-left: 75%; +} +.col-xs-offset-8 { + margin-left: 66.66666667%; +} +.col-xs-offset-7 { + margin-left: 58.33333333%; +} +.col-xs-offset-6 { + margin-left: 50%; +} +.col-xs-offset-5 { + margin-left: 41.66666667%; +} +.col-xs-offset-4 { + margin-left: 33.33333333%; +} +.col-xs-offset-3 { + margin-left: 25%; +} +.col-xs-offset-2 { + margin-left: 16.66666667%; +} +.col-xs-offset-1 { + margin-left: 8.33333333%; +} +.col-xs-offset-0 { + margin-left: 0; +} +@media (min-width: 768px) { + .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666667%; + } + .col-sm-10 { + width: 83.33333333%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666667%; + } + .col-sm-7 { + width: 58.33333333%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666667%; + } + .col-sm-4 { + width: 33.33333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.66666667%; + } + .col-sm-1 { + width: 8.33333333%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666667%; + } + .col-sm-pull-10 { + right: 83.33333333%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666667%; + } + .col-sm-pull-7 { + right: 58.33333333%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666667%; + } + .col-sm-pull-4 { + right: 33.33333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.66666667%; + } + .col-sm-pull-1 { + right: 8.33333333%; + } + .col-sm-pull-0 { + right: auto; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666667%; + } + .col-sm-push-10 { + left: 83.33333333%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666667%; + } + .col-sm-push-7 { + left: 58.33333333%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666667%; + } + .col-sm-push-4 { + left: 33.33333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.66666667%; + } + .col-sm-push-1 { + left: 8.33333333%; + } + .col-sm-push-0 { + left: auto; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666667%; + } + .col-sm-offset-10 { + margin-left: 83.33333333%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666667%; + } + .col-sm-offset-7 { + margin-left: 58.33333333%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.66666667%; + } + .col-sm-offset-1 { + margin-left: 8.33333333%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} +@media (min-width: 992px) { + .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666667%; + } + .col-md-10 { + width: 83.33333333%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666667%; + } + .col-md-7 { + width: 58.33333333%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666667%; + } + .col-md-4 { + width: 33.33333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.66666667%; + } + .col-md-1 { + width: 8.33333333%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666667%; + } + .col-md-pull-10 { + right: 83.33333333%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666667%; + } + .col-md-pull-7 { + right: 58.33333333%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666667%; + } + .col-md-pull-4 { + right: 33.33333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.66666667%; + } + .col-md-pull-1 { + right: 8.33333333%; + } + .col-md-pull-0 { + right: auto; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666667%; + } + .col-md-push-10 { + left: 83.33333333%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666667%; + } + .col-md-push-7 { + left: 58.33333333%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666667%; + } + .col-md-push-4 { + left: 33.33333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.66666667%; + } + .col-md-push-1 { + left: 8.33333333%; + } + .col-md-push-0 { + left: auto; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666667%; + } + .col-md-offset-10 { + margin-left: 83.33333333%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666667%; + } + .col-md-offset-7 { + margin-left: 58.33333333%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.66666667%; + } + .col-md-offset-1 { + margin-left: 8.33333333%; + } + .col-md-offset-0 { + margin-left: 0; + } +} +@media (min-width: 1200px) { + .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666667%; + } + .col-lg-10 { + width: 83.33333333%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666667%; + } + .col-lg-7 { + width: 58.33333333%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666667%; + } + .col-lg-4 { + width: 33.33333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.66666667%; + } + .col-lg-1 { + width: 8.33333333%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666667%; + } + .col-lg-pull-10 { + right: 83.33333333%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666667%; + } + .col-lg-pull-7 { + right: 58.33333333%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666667%; + } + .col-lg-pull-4 { + right: 33.33333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.66666667%; + } + .col-lg-pull-1 { + right: 8.33333333%; + } + .col-lg-pull-0 { + right: auto; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666667%; + } + .col-lg-push-10 { + left: 83.33333333%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666667%; + } + .col-lg-push-7 { + left: 58.33333333%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666667%; + } + .col-lg-push-4 { + left: 33.33333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.66666667%; + } + .col-lg-push-1 { + left: 8.33333333%; + } + .col-lg-push-0 { + left: auto; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666667%; + } + .col-lg-offset-10 { + margin-left: 83.33333333%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666667%; + } + .col-lg-offset-7 { + margin-left: 58.33333333%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.66666667%; + } + .col-lg-offset-1 { + margin-left: 8.33333333%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} +table { + background-color: transparent; +} +caption { + padding-top: 8px; + padding-bottom: 8px; + color: #777; + text-align: left; +} +th { + text-align: left; +} +.table { + width: 100%; + max-width: 100%; + margin-bottom: 20px; +} +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.42857143; + vertical-align: top; + border-top: 1px solid #ddd; +} +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #ddd; +} +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} +.table > tbody + tbody { + border-top: 2px solid #ddd; +} +.table .table { + background-color: #fff; +} +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} +.table-bordered { + border: 1px solid #ddd; +} +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #ddd; +} +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} +.table-striped > tbody > tr:nth-of-type(odd) { + background-color: #f9f9f9; +} +.table-hover > tbody > tr:hover { + background-color: #f5f5f5; +} +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} +table td[class*="col-"], +table th[class*="col-"] { + position: static; + display: table-cell; + float: none; +} +.table > thead > tr > td.active, +.table > tbody > tr > td.active, +.table > tfoot > tr > td.active, +.table > thead > tr > th.active, +.table > tbody > tr > th.active, +.table > tfoot > tr > th.active, +.table > thead > tr.active > td, +.table > tbody > tr.active > td, +.table > tfoot > tr.active > td, +.table > thead > tr.active > th, +.table > tbody > tr.active > th, +.table > tfoot > tr.active > th { + background-color: #f5f5f5; +} +.table-hover > tbody > tr > td.active:hover, +.table-hover > tbody > tr > th.active:hover, +.table-hover > tbody > tr.active:hover > td, +.table-hover > tbody > tr:hover > .active, +.table-hover > tbody > tr.active:hover > th { + background-color: #e8e8e8; +} +.table > thead > tr > td.success, +.table > tbody > tr > td.success, +.table > tfoot > tr > td.success, +.table > thead > tr > th.success, +.table > tbody > tr > th.success, +.table > tfoot > tr > th.success, +.table > thead > tr.success > td, +.table > tbody > tr.success > td, +.table > tfoot > tr.success > td, +.table > thead > tr.success > th, +.table > tbody > tr.success > th, +.table > tfoot > tr.success > th { + background-color: #dff0d8; +} +.table-hover > tbody > tr > td.success:hover, +.table-hover > tbody > tr > th.success:hover, +.table-hover > tbody > tr.success:hover > td, +.table-hover > tbody > tr:hover > .success, +.table-hover > tbody > tr.success:hover > th { + background-color: #d0e9c6; +} +.table > thead > tr > td.info, +.table > tbody > tr > td.info, +.table > tfoot > tr > td.info, +.table > thead > tr > th.info, +.table > tbody > tr > th.info, +.table > tfoot > tr > th.info, +.table > thead > tr.info > td, +.table > tbody > tr.info > td, +.table > tfoot > tr.info > td, +.table > thead > tr.info > th, +.table > tbody > tr.info > th, +.table > tfoot > tr.info > th { + background-color: #d9edf7; +} +.table-hover > tbody > tr > td.info:hover, +.table-hover > tbody > tr > th.info:hover, +.table-hover > tbody > tr.info:hover > td, +.table-hover > tbody > tr:hover > .info, +.table-hover > tbody > tr.info:hover > th { + background-color: #c4e3f3; +} +.table > thead > tr > td.warning, +.table > tbody > tr > td.warning, +.table > tfoot > tr > td.warning, +.table > thead > tr > th.warning, +.table > tbody > tr > th.warning, +.table > tfoot > tr > th.warning, +.table > thead > tr.warning > td, +.table > tbody > tr.warning > td, +.table > tfoot > tr.warning > td, +.table > thead > tr.warning > th, +.table > tbody > tr.warning > th, +.table > tfoot > tr.warning > th { + background-color: #fcf8e3; +} +.table-hover > tbody > tr > td.warning:hover, +.table-hover > tbody > tr > th.warning:hover, +.table-hover > tbody > tr.warning:hover > td, +.table-hover > tbody > tr:hover > .warning, +.table-hover > tbody > tr.warning:hover > th { + background-color: #faf2cc; +} +.table > thead > tr > td.danger, +.table > tbody > tr > td.danger, +.table > tfoot > tr > td.danger, +.table > thead > tr > th.danger, +.table > tbody > tr > th.danger, +.table > tfoot > tr > th.danger, +.table > thead > tr.danger > td, +.table > tbody > tr.danger > td, +.table > tfoot > tr.danger > td, +.table > thead > tr.danger > th, +.table > tbody > tr.danger > th, +.table > tfoot > tr.danger > th { + background-color: #f2dede; +} +.table-hover > tbody > tr > td.danger:hover, +.table-hover > tbody > tr > th.danger:hover, +.table-hover > tbody > tr.danger:hover > td, +.table-hover > tbody > tr:hover > .danger, +.table-hover > tbody > tr.danger:hover > th { + background-color: #ebcccc; +} +.table-responsive { + min-height: .01%; + overflow-x: auto; +} +@media screen and (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-y: hidden; + -ms-overflow-style: -ms-autohiding-scrollbar; + border: 1px solid #ddd; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} +label { + display: inline-block; + max-width: 100%; + margin-bottom: 5px; + font-weight: bold; +} +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + line-height: normal; +} +input[type="file"] { + display: block; +} +input[type="range"] { + display: block; + width: 100%; +} +select[multiple], +select[size] { + height: auto; +} +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.42857143; + color: #555; +} +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.42857143; + color: #555; + background-color: #fff; + background-image: none; + border: 1px solid #ccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; + -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; + transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; +} +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); + box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); +} +.form-control::-moz-placeholder { + color: #999; + opacity: 1; +} +.form-control:-ms-input-placeholder { + color: #999; +} +.form-control::-webkit-input-placeholder { + color: #999; +} +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + background-color: #eee; + opacity: 1; +} +.form-control[disabled], +fieldset[disabled] .form-control { + cursor: not-allowed; +} +textarea.form-control { + height: auto; +} +input[type="search"] { + -webkit-appearance: none; +} +@media screen and (-webkit-min-device-pixel-ratio: 0) { + input[type="date"].form-control, + input[type="time"].form-control, + input[type="datetime-local"].form-control, + input[type="month"].form-control { + line-height: 34px; + } + input[type="date"].input-sm, + input[type="time"].input-sm, + input[type="datetime-local"].input-sm, + input[type="month"].input-sm, + .input-group-sm input[type="date"], + .input-group-sm input[type="time"], + .input-group-sm input[type="datetime-local"], + .input-group-sm input[type="month"] { + line-height: 30px; + } + input[type="date"].input-lg, + input[type="time"].input-lg, + input[type="datetime-local"].input-lg, + input[type="month"].input-lg, + .input-group-lg input[type="date"], + .input-group-lg input[type="time"], + .input-group-lg input[type="datetime-local"], + .input-group-lg input[type="month"] { + line-height: 46px; + } +} +.form-group { + margin-bottom: 15px; +} +.radio, +.checkbox { + position: relative; + display: block; + margin-top: 10px; + margin-bottom: 10px; +} +.radio label, +.checkbox label { + min-height: 20px; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + position: absolute; + margin-top: 4px \9; + margin-left: -20px; +} +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} +.radio-inline, +.checkbox-inline { + position: relative; + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} +input[type="radio"][disabled], +input[type="checkbox"][disabled], +input[type="radio"].disabled, +input[type="checkbox"].disabled, +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"] { + cursor: not-allowed; +} +.radio-inline.disabled, +.checkbox-inline.disabled, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} +.radio.disabled label, +.checkbox.disabled label, +fieldset[disabled] .radio label, +fieldset[disabled] .checkbox label { + cursor: not-allowed; +} +.form-control-static { + min-height: 34px; + padding-top: 7px; + padding-bottom: 7px; + margin-bottom: 0; +} +.form-control-static.input-lg, +.form-control-static.input-sm { + padding-right: 0; + padding-left: 0; +} +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.input-sm { + height: 30px; + line-height: 30px; +} +textarea.input-sm, +select[multiple].input-sm { + height: auto; +} +.form-group-sm .form-control { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.form-group-sm select.form-control { + height: 30px; + line-height: 30px; +} +.form-group-sm textarea.form-control, +.form-group-sm select[multiple].form-control { + height: auto; +} +.form-group-sm .form-control-static { + height: 30px; + min-height: 32px; + padding: 6px 10px; + font-size: 12px; + line-height: 1.5; +} +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +select.input-lg { + height: 46px; + line-height: 46px; +} +textarea.input-lg, +select[multiple].input-lg { + height: auto; +} +.form-group-lg .form-control { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +.form-group-lg select.form-control { + height: 46px; + line-height: 46px; +} +.form-group-lg textarea.form-control, +.form-group-lg select[multiple].form-control { + height: auto; +} +.form-group-lg .form-control-static { + height: 46px; + min-height: 38px; + padding: 11px 16px; + font-size: 18px; + line-height: 1.3333333; +} +.has-feedback { + position: relative; +} +.has-feedback .form-control { + padding-right: 42.5px; +} +.form-control-feedback { + position: absolute; + top: 0; + right: 0; + z-index: 2; + display: block; + width: 34px; + height: 34px; + line-height: 34px; + text-align: center; + pointer-events: none; +} +.input-lg + .form-control-feedback, +.input-group-lg + .form-control-feedback, +.form-group-lg .form-control + .form-control-feedback { + width: 46px; + height: 46px; + line-height: 46px; +} +.input-sm + .form-control-feedback, +.input-group-sm + .form-control-feedback, +.form-group-sm .form-control + .form-control-feedback { + width: 30px; + height: 30px; + line-height: 30px; +} +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline, +.has-success.radio label, +.has-success.checkbox label, +.has-success.radio-inline label, +.has-success.checkbox-inline label { + color: #3c763d; +} +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; +} +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} +.has-success .form-control-feedback { + color: #3c763d; +} +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline, +.has-warning.radio label, +.has-warning.checkbox label, +.has-warning.radio-inline label, +.has-warning.checkbox-inline label { + color: #8a6d3b; +} +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; +} +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} +.has-warning .form-control-feedback { + color: #8a6d3b; +} +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline, +.has-error.radio label, +.has-error.checkbox label, +.has-error.radio-inline label, +.has-error.checkbox-inline label { + color: #a94442; +} +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; +} +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} +.has-error .form-control-feedback { + color: #a94442; +} +.has-feedback label ~ .form-control-feedback { + top: 25px; +} +.has-feedback label.sr-only ~ .form-control-feedback { + top: 0; +} +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-static { + display: inline-block; + } + .form-inline .input-group { + display: inline-table; + vertical-align: middle; + } + .form-inline .input-group .input-group-addon, + .form-inline .input-group .input-group-btn, + .form-inline .input-group .form-control { + width: auto; + } + .form-inline .input-group > .form-control { + width: 100%; + } + .form-inline .control-label { + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio label, + .form-inline .checkbox label { + padding-left: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + position: relative; + margin-left: 0; + } + .form-inline .has-feedback .form-control-feedback { + top: 0; + } +} +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} +@media (min-width: 768px) { + .form-horizontal .control-label { + padding-top: 7px; + margin-bottom: 0; + text-align: right; + } +} +.form-horizontal .has-feedback .form-control-feedback { + right: 15px; +} +@media (min-width: 768px) { + .form-horizontal .form-group-lg .control-label { + padding-top: 14.333333px; + font-size: 18px; + } +} +@media (min-width: 768px) { + .form-horizontal .form-group-sm .control-label { + padding-top: 6px; + font-size: 12px; + } +} +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.42857143; + text-align: center; + white-space: nowrap; + vertical-align: middle; + -ms-touch-action: manipulation; + touch-action: manipulation; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} +.btn:focus, +.btn:active:focus, +.btn.active:focus, +.btn.focus, +.btn:active.focus, +.btn.active.focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.btn:hover, +.btn:focus, +.btn.focus { + color: #333; + text-decoration: none; +} +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); +} +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + cursor: not-allowed; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; + opacity: .65; +} +a.btn.disabled, +fieldset[disabled] a.btn { + pointer-events: none; +} +.btn-default { + color: #333; + background-color: #fff; + border-color: #ccc; +} +.btn-default:focus, +.btn-default.focus { + color: #333; + background-color: #e6e6e6; + border-color: #8c8c8c; +} +.btn-default:hover { + color: #333; + background-color: #e6e6e6; + border-color: #adadad; +} +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + color: #333; + background-color: #e6e6e6; + border-color: #adadad; +} +.btn-default:active:hover, +.btn-default.active:hover, +.open > .dropdown-toggle.btn-default:hover, +.btn-default:active:focus, +.btn-default.active:focus, +.open > .dropdown-toggle.btn-default:focus, +.btn-default:active.focus, +.btn-default.active.focus, +.open > .dropdown-toggle.btn-default.focus { + color: #333; + background-color: #d4d4d4; + border-color: #8c8c8c; +} +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + background-image: none; +} +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled.focus, +.btn-default[disabled].focus, +fieldset[disabled] .btn-default.focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #fff; + border-color: #ccc; +} +.btn-default .badge { + color: #fff; + background-color: #333; +} +.btn-primary { + color: #fff; + background-color: #337ab7; + border-color: #2e6da4; +} +.btn-primary:focus, +.btn-primary.focus { + color: #fff; + background-color: #286090; + border-color: #122b40; +} +.btn-primary:hover { + color: #fff; + background-color: #286090; + border-color: #204d74; +} +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + color: #fff; + background-color: #286090; + border-color: #204d74; +} +.btn-primary:active:hover, +.btn-primary.active:hover, +.open > .dropdown-toggle.btn-primary:hover, +.btn-primary:active:focus, +.btn-primary.active:focus, +.open > .dropdown-toggle.btn-primary:focus, +.btn-primary:active.focus, +.btn-primary.active.focus, +.open > .dropdown-toggle.btn-primary.focus { + color: #fff; + background-color: #204d74; + border-color: #122b40; +} +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + background-image: none; +} +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled.focus, +.btn-primary[disabled].focus, +fieldset[disabled] .btn-primary.focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #337ab7; + border-color: #2e6da4; +} +.btn-primary .badge { + color: #337ab7; + background-color: #fff; +} +.btn-success { + color: #fff; + background-color: #5cb85c; + border-color: #4cae4c; +} +.btn-success:focus, +.btn-success.focus { + color: #fff; + background-color: #449d44; + border-color: #255625; +} +.btn-success:hover { + color: #fff; + background-color: #449d44; + border-color: #398439; +} +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + color: #fff; + background-color: #449d44; + border-color: #398439; +} +.btn-success:active:hover, +.btn-success.active:hover, +.open > .dropdown-toggle.btn-success:hover, +.btn-success:active:focus, +.btn-success.active:focus, +.open > .dropdown-toggle.btn-success:focus, +.btn-success:active.focus, +.btn-success.active.focus, +.open > .dropdown-toggle.btn-success.focus { + color: #fff; + background-color: #398439; + border-color: #255625; +} +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + background-image: none; +} +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled.focus, +.btn-success[disabled].focus, +fieldset[disabled] .btn-success.focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} +.btn-info { + color: #fff; + background-color: #5bc0de; + border-color: #46b8da; +} +.btn-info:focus, +.btn-info.focus { + color: #fff; + background-color: #31b0d5; + border-color: #1b6d85; +} +.btn-info:hover { + color: #fff; + background-color: #31b0d5; + border-color: #269abc; +} +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + color: #fff; + background-color: #31b0d5; + border-color: #269abc; +} +.btn-info:active:hover, +.btn-info.active:hover, +.open > .dropdown-toggle.btn-info:hover, +.btn-info:active:focus, +.btn-info.active:focus, +.open > .dropdown-toggle.btn-info:focus, +.btn-info:active.focus, +.btn-info.active.focus, +.open > .dropdown-toggle.btn-info.focus { + color: #fff; + background-color: #269abc; + border-color: #1b6d85; +} +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + background-image: none; +} +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled.focus, +.btn-info[disabled].focus, +fieldset[disabled] .btn-info.focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} +.btn-warning { + color: #fff; + background-color: #f0ad4e; + border-color: #eea236; +} +.btn-warning:focus, +.btn-warning.focus { + color: #fff; + background-color: #ec971f; + border-color: #985f0d; +} +.btn-warning:hover { + color: #fff; + background-color: #ec971f; + border-color: #d58512; +} +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + color: #fff; + background-color: #ec971f; + border-color: #d58512; +} +.btn-warning:active:hover, +.btn-warning.active:hover, +.open > .dropdown-toggle.btn-warning:hover, +.btn-warning:active:focus, +.btn-warning.active:focus, +.open > .dropdown-toggle.btn-warning:focus, +.btn-warning:active.focus, +.btn-warning.active.focus, +.open > .dropdown-toggle.btn-warning.focus { + color: #fff; + background-color: #d58512; + border-color: #985f0d; +} +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + background-image: none; +} +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled.focus, +.btn-warning[disabled].focus, +fieldset[disabled] .btn-warning.focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} +.btn-danger { + color: #fff; + background-color: #d9534f; + border-color: #d43f3a; +} +.btn-danger:focus, +.btn-danger.focus { + color: #fff; + background-color: #c9302c; + border-color: #761c19; +} +.btn-danger:hover { + color: #fff; + background-color: #c9302c; + border-color: #ac2925; +} +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + color: #fff; + background-color: #c9302c; + border-color: #ac2925; +} +.btn-danger:active:hover, +.btn-danger.active:hover, +.open > .dropdown-toggle.btn-danger:hover, +.btn-danger:active:focus, +.btn-danger.active:focus, +.open > .dropdown-toggle.btn-danger:focus, +.btn-danger:active.focus, +.btn-danger.active.focus, +.open > .dropdown-toggle.btn-danger.focus { + color: #fff; + background-color: #ac2925; + border-color: #761c19; +} +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + background-image: none; +} +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled.focus, +.btn-danger[disabled].focus, +fieldset[disabled] .btn-danger.focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} +.btn-link { + font-weight: normal; + color: #337ab7; + border-radius: 0; +} +.btn-link, +.btn-link:active, +.btn-link.active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} +.btn-link:hover, +.btn-link:focus { + color: #23527c; + text-decoration: underline; + background-color: transparent; +} +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #777; + text-decoration: none; +} +.btn-lg, +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +.btn-sm, +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-xs, +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-block { + display: block; + width: 100%; +} +.btn-block + .btn-block { + margin-top: 5px; +} +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} +.fade { + opacity: 0; + -webkit-transition: opacity .15s linear; + -o-transition: opacity .15s linear; + transition: opacity .15s linear; +} +.fade.in { + opacity: 1; +} +.collapse { + display: none; +} +.collapse.in { + display: block; +} +tr.collapse.in { + display: table-row; +} +tbody.collapse.in { + display: table-row-group; +} +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition-timing-function: ease; + -o-transition-timing-function: ease; + transition-timing-function: ease; + -webkit-transition-duration: .35s; + -o-transition-duration: .35s; + transition-duration: .35s; + -webkit-transition-property: height, visibility; + -o-transition-property: height, visibility; + transition-property: height, visibility; +} +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px dashed; + border-top: 4px solid \9; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} +.dropup, +.dropdown { + position: relative; +} +.dropdown-toggle:focus { + outline: 0; +} +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + text-align: left; + list-style: none; + background-color: #fff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, .15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); + box-shadow: 0 6px 12px rgba(0, 0, 0, .175); +} +.dropdown-menu.pull-right { + right: 0; + left: auto; +} +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.42857143; + color: #333; + white-space: nowrap; +} +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #fff; + text-decoration: none; + background-color: #337ab7; + outline: 0; +} +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #777; +} +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.open > .dropdown-menu { + display: block; +} +.open > a { + outline: 0; +} +.dropdown-menu-right { + right: 0; + left: auto; +} +.dropdown-menu-left { + right: auto; + left: 0; +} +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.42857143; + color: #777; + white-space: nowrap; +} +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + content: ""; + border-top: 0; + border-bottom: 4px dashed; + border-bottom: 4px solid \9; +} +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 2px; +} +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } + .navbar-right .dropdown-menu-left { + right: auto; + left: 0; + } +} +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} +.btn-toolbar { + margin-left: -5px; +} +.btn-toolbar .btn, +.btn-toolbar .btn-group, +.btn-toolbar .input-group { + float: left; +} +.btn-toolbar > .btn, +.btn-toolbar > .btn-group, +.btn-toolbar > .input-group { + margin-left: 5px; +} +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} +.btn-group > .btn:first-child { + margin-left: 0; +} +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group > .btn-group { + float: left; +} +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, +.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); +} +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} +.btn .caret { + margin-left: 0; +} +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} +.btn-group-vertical > .btn-group > .btn { + float: none; +} +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-left-radius: 4px; +} +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.btn-group-justified { + display: table; + width: 100%; + table-layout: fixed; + border-collapse: separate; +} +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} +.btn-group-justified > .btn-group .btn { + width: 100%; +} +.btn-group-justified > .btn-group .dropdown-menu { + left: auto; +} +[data-toggle="buttons"] > .btn input[type="radio"], +[data-toggle="buttons"] > .btn-group > .btn input[type="radio"], +[data-toggle="buttons"] > .btn input[type="checkbox"], +[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} +.input-group { + position: relative; + display: table; + border-collapse: separate; +} +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} +.input-group .form-control { + position: relative; + z-index: 2; + float: left; + width: 100%; + margin-bottom: 0; +} +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn, +select[multiple].input-group-lg > .form-control, +select[multiple].input-group-lg > .input-group-addon, +select[multiple].input-group-lg > .input-group-btn > .btn { + height: auto; +} +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn, +select[multiple].input-group-sm > .form-control, +select[multiple].input-group-sm > .input-group-addon, +select[multiple].input-group-sm > .input-group-btn > .btn { + height: auto; +} +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555; + text-align: center; + background-color: #eee; + border: 1px solid #ccc; + border-radius: 4px; +} +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.input-group-addon:first-child { + border-right: 0; +} +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child), +.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.input-group-addon:last-child { + border-left: 0; +} +.input-group-btn { + position: relative; + font-size: 0; + white-space: nowrap; +} +.input-group-btn > .btn { + position: relative; +} +.input-group-btn > .btn + .btn { + margin-left: -1px; +} +.input-group-btn > .btn:hover, +.input-group-btn > .btn:focus, +.input-group-btn > .btn:active { + z-index: 2; +} +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group { + margin-right: -1px; +} +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group { + z-index: 2; + margin-left: -1px; +} +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} +.nav > li { + position: relative; + display: block; +} +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eee; +} +.nav > li.disabled > a { + color: #777; +} +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #777; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eee; + border-color: #337ab7; +} +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.nav > li > a > img { + max-width: none; +} +.nav-tabs { + border-bottom: 1px solid #ddd; +} +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.42857143; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} +.nav-tabs > li > a:hover { + border-color: #eee #eee #ddd; +} +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555; + cursor: default; + background-color: #fff; + border: 1px solid #ddd; + border-bottom-color: transparent; +} +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} +.nav-tabs.nav-justified > li { + float: none; +} +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #ddd; +} +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #ddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #fff; + } +} +.nav-pills > li { + float: left; +} +.nav-pills > li > a { + border-radius: 4px; +} +.nav-pills > li + li { + margin-left: 2px; +} +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #fff; + background-color: #337ab7; +} +.nav-stacked > li { + float: none; +} +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} +.nav-justified { + width: 100%; +} +.nav-justified > li { + float: none; +} +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} +.nav-tabs-justified { + border-bottom: 0; +} +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #ddd; +} +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #ddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #fff; + } +} +.tab-content > .tab-pane { + display: none; +} +.tab-content > .active { + display: block; +} +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} +.navbar-collapse { + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + -webkit-overflow-scrolling: touch; + border-top: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); +} +.navbar-collapse.in { + overflow-y: auto; +} +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} +.navbar-fixed-top .navbar-collapse, +.navbar-fixed-bottom .navbar-collapse { + max-height: 340px; +} +@media (max-device-width: 480px) and (orientation: landscape) { + .navbar-fixed-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + max-height: 200px; + } +} +.container > .navbar-header, +.container-fluid > .navbar-header, +.container > .navbar-collapse, +.container-fluid > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} +@media (min-width: 768px) { + .container > .navbar-header, + .container-fluid > .navbar-header, + .container > .navbar-collapse, + .container-fluid > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} +.navbar-brand { + float: left; + height: 50px; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} +.navbar-brand > img { + display: block; +} +@media (min-width: 768px) { + .navbar > .container .navbar-brand, + .navbar > .container-fluid .navbar-brand { + margin-left: -15px; + } +} +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} +.navbar-toggle:focus { + outline: 0; +} +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} +.navbar-nav { + margin: 7.5px -15px; +} +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } +} +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); +} +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .navbar-form .form-control-static { + display: inline-block; + } + .navbar-form .input-group { + display: inline-table; + vertical-align: middle; + } + .navbar-form .input-group .input-group-addon, + .navbar-form .input-group .input-group-btn, + .navbar-form .input-group .form-control { + width: auto; + } + .navbar-form .input-group > .form-control { + width: 100%; + } + .navbar-form .control-label { + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .radio label, + .navbar-form .checkbox label { + padding-left: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + position: relative; + margin-left: 0; + } + .navbar-form .has-feedback .form-control-feedback { + top: 0; + } +} +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } + .navbar-form .form-group:last-child { + margin-bottom: 0; + } +} +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } +} +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + margin-bottom: 0; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } +} +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + margin-right: -15px; + } + .navbar-right ~ .navbar-right { + margin-right: 0; + } +} +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} +.navbar-default .navbar-brand { + color: #777; +} +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} +.navbar-default .navbar-text { + color: #777; +} +.navbar-default .navbar-nav > li > a { + color: #777; +} +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333; + background-color: transparent; +} +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555; + background-color: #e7e7e7; +} +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #ccc; + background-color: transparent; +} +.navbar-default .navbar-toggle { + border-color: #ddd; +} +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #ddd; +} +.navbar-default .navbar-toggle .icon-bar { + background-color: #888; +} +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555; + background-color: #e7e7e7; +} +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #ccc; + background-color: transparent; + } +} +.navbar-default .navbar-link { + color: #777; +} +.navbar-default .navbar-link:hover { + color: #333; +} +.navbar-default .btn-link { + color: #777; +} +.navbar-default .btn-link:hover, +.navbar-default .btn-link:focus { + color: #333; +} +.navbar-default .btn-link[disabled]:hover, +fieldset[disabled] .navbar-default .btn-link:hover, +.navbar-default .btn-link[disabled]:focus, +fieldset[disabled] .navbar-default .btn-link:focus { + color: #ccc; +} +.navbar-inverse { + background-color: #222; + border-color: #080808; +} +.navbar-inverse .navbar-brand { + color: #9d9d9d; +} +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #fff; + background-color: transparent; +} +.navbar-inverse .navbar-text { + color: #9d9d9d; +} +.navbar-inverse .navbar-nav > li > a { + color: #9d9d9d; +} +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #fff; + background-color: transparent; +} +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #fff; + background-color: #080808; +} +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444; + background-color: transparent; +} +.navbar-inverse .navbar-toggle { + border-color: #333; +} +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333; +} +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #fff; +} +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #fff; + background-color: #080808; +} +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #9d9d9d; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #fff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #fff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444; + background-color: transparent; + } +} +.navbar-inverse .navbar-link { + color: #9d9d9d; +} +.navbar-inverse .navbar-link:hover { + color: #fff; +} +.navbar-inverse .btn-link { + color: #9d9d9d; +} +.navbar-inverse .btn-link:hover, +.navbar-inverse .btn-link:focus { + color: #fff; +} +.navbar-inverse .btn-link[disabled]:hover, +fieldset[disabled] .navbar-inverse .btn-link:hover, +.navbar-inverse .btn-link[disabled]:focus, +fieldset[disabled] .navbar-inverse .btn-link:focus { + color: #444; +} +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} +.breadcrumb > li { + display: inline-block; +} +.breadcrumb > li + li:before { + padding: 0 5px; + color: #ccc; + content: "/\00a0"; +} +.breadcrumb > .active { + color: #777; +} +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} +.pagination > li { + display: inline; +} +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.42857143; + color: #337ab7; + text-decoration: none; + background-color: #fff; + border: 1px solid #ddd; +} +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; +} +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + z-index: 3; + color: #23527c; + background-color: #eee; + border-color: #ddd; +} +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #fff; + cursor: default; + background-color: #337ab7; + border-color: #337ab7; +} +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #777; + cursor: not-allowed; + background-color: #fff; + border-color: #ddd; +} +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; +} +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-top-left-radius: 6px; + border-bottom-left-radius: 6px; +} +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; +} +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; +} +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} +.pager li { + display: inline; +} +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 15px; +} +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eee; +} +.pager .next > a, +.pager .next > span { + float: right; +} +.pager .previous > a, +.pager .previous > span { + float: left; +} +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #777; + cursor: not-allowed; + background-color: #fff; +} +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #fff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} +a.label:hover, +a.label:focus { + color: #fff; + text-decoration: none; + cursor: pointer; +} +.label:empty { + display: none; +} +.btn .label { + position: relative; + top: -1px; +} +.label-default { + background-color: #777; +} +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #5e5e5e; +} +.label-primary { + background-color: #337ab7; +} +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #286090; +} +.label-success { + background-color: #5cb85c; +} +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} +.label-info { + background-color: #5bc0de; +} +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} +.label-warning { + background-color: #f0ad4e; +} +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} +.label-danger { + background-color: #d9534f; +} +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #fff; + text-align: center; + white-space: nowrap; + vertical-align: middle; + background-color: #777; + border-radius: 10px; +} +.badge:empty { + display: none; +} +.btn .badge { + position: relative; + top: -1px; +} +.btn-xs .badge, +.btn-group-xs > .btn .badge { + top: 0; + padding: 1px 5px; +} +a.badge:hover, +a.badge:focus { + color: #fff; + text-decoration: none; + cursor: pointer; +} +.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #337ab7; + background-color: #fff; +} +.list-group-item > .badge { + float: right; +} +.list-group-item > .badge + .badge { + margin-right: 5px; +} +.nav-pills > li > a > .badge { + margin-left: 3px; +} +.jumbotron { + padding-top: 30px; + padding-bottom: 30px; + margin-bottom: 30px; + color: inherit; + background-color: #eee; +} +.jumbotron h1, +.jumbotron .h1 { + color: inherit; +} +.jumbotron p { + margin-bottom: 15px; + font-size: 21px; + font-weight: 200; +} +.jumbotron > hr { + border-top-color: #d5d5d5; +} +.container .jumbotron, +.container-fluid .jumbotron { + border-radius: 6px; +} +.jumbotron .container { + max-width: 100%; +} +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron, + .container-fluid .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +} +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.42857143; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 4px; + -webkit-transition: border .2s ease-in-out; + -o-transition: border .2s ease-in-out; + transition: border .2s ease-in-out; +} +.thumbnail > img, +.thumbnail a > img { + margin-right: auto; + margin-left: auto; +} +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #337ab7; +} +.thumbnail .caption { + padding: 9px; + color: #333; +} +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} +.alert h4 { + margin-top: 0; + color: inherit; +} +.alert .alert-link { + font-weight: bold; +} +.alert > p, +.alert > ul { + margin-bottom: 0; +} +.alert > p + p { + margin-top: 5px; +} +.alert-dismissable, +.alert-dismissible { + padding-right: 35px; +} +.alert-dismissable .close, +.alert-dismissible .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} +.alert-success hr { + border-top-color: #c9e2b3; +} +.alert-success .alert-link { + color: #2b542c; +} +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} +.alert-info hr { + border-top-color: #a6e1ec; +} +.alert-info .alert-link { + color: #245269; +} +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} +.alert-warning hr { + border-top-color: #f7e1b5; +} +.alert-warning .alert-link { + color: #66512c; +} +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} +.alert-danger hr { + border-top-color: #e4b9c0; +} +.alert-danger .alert-link { + color: #843534; +} +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@-o-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); +} +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #fff; + text-align: center; + background-color: #337ab7; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); + -webkit-transition: width .6s ease; + -o-transition: width .6s ease; + transition: width .6s ease; +} +.progress-striped .progress-bar, +.progress-bar-striped { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + -webkit-background-size: 40px 40px; + background-size: 40px 40px; +} +.progress.active .progress-bar, +.progress-bar.active { + -webkit-animation: progress-bar-stripes 2s linear infinite; + -o-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} +.progress-bar-success { + background-color: #5cb85c; +} +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.progress-bar-info { + background-color: #5bc0de; +} +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.progress-bar-warning { + background-color: #f0ad4e; +} +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.progress-bar-danger { + background-color: #d9534f; +} +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); +} +.media { + margin-top: 15px; +} +.media:first-child { + margin-top: 0; +} +.media, +.media-body { + overflow: hidden; + zoom: 1; +} +.media-body { + width: 10000px; +} +.media-object { + display: block; +} +.media-object.img-thumbnail { + max-width: none; +} +.media-right, +.media > .pull-right { + padding-left: 10px; +} +.media-left, +.media > .pull-left { + padding-right: 10px; +} +.media-left, +.media-right, +.media-body { + display: table-cell; + vertical-align: top; +} +.media-middle { + vertical-align: middle; +} +.media-bottom { + vertical-align: bottom; +} +.media-heading { + margin-top: 0; + margin-bottom: 5px; +} +.media-list { + padding-left: 0; + list-style: none; +} +.list-group { + padding-left: 0; + margin-bottom: 20px; +} +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #fff; + border: 1px solid #ddd; +} +.list-group-item:first-child { + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} +a.list-group-item, +button.list-group-item { + color: #555; +} +a.list-group-item .list-group-item-heading, +button.list-group-item .list-group-item-heading { + color: #333; +} +a.list-group-item:hover, +button.list-group-item:hover, +a.list-group-item:focus, +button.list-group-item:focus { + color: #555; + text-decoration: none; + background-color: #f5f5f5; +} +button.list-group-item { + width: 100%; + text-align: left; +} +.list-group-item.disabled, +.list-group-item.disabled:hover, +.list-group-item.disabled:focus { + color: #777; + cursor: not-allowed; + background-color: #eee; +} +.list-group-item.disabled .list-group-item-heading, +.list-group-item.disabled:hover .list-group-item-heading, +.list-group-item.disabled:focus .list-group-item-heading { + color: inherit; +} +.list-group-item.disabled .list-group-item-text, +.list-group-item.disabled:hover .list-group-item-text, +.list-group-item.disabled:focus .list-group-item-text { + color: #777; +} +.list-group-item.active, +.list-group-item.active:hover, +.list-group-item.active:focus { + z-index: 2; + color: #fff; + background-color: #337ab7; + border-color: #337ab7; +} +.list-group-item.active .list-group-item-heading, +.list-group-item.active:hover .list-group-item-heading, +.list-group-item.active:focus .list-group-item-heading, +.list-group-item.active .list-group-item-heading > small, +.list-group-item.active:hover .list-group-item-heading > small, +.list-group-item.active:focus .list-group-item-heading > small, +.list-group-item.active .list-group-item-heading > .small, +.list-group-item.active:hover .list-group-item-heading > .small, +.list-group-item.active:focus .list-group-item-heading > .small { + color: inherit; +} +.list-group-item.active .list-group-item-text, +.list-group-item.active:hover .list-group-item-text, +.list-group-item.active:focus .list-group-item-text { + color: #c7ddef; +} +.list-group-item-success { + color: #3c763d; + background-color: #dff0d8; +} +a.list-group-item-success, +button.list-group-item-success { + color: #3c763d; +} +a.list-group-item-success .list-group-item-heading, +button.list-group-item-success .list-group-item-heading { + color: inherit; +} +a.list-group-item-success:hover, +button.list-group-item-success:hover, +a.list-group-item-success:focus, +button.list-group-item-success:focus { + color: #3c763d; + background-color: #d0e9c6; +} +a.list-group-item-success.active, +button.list-group-item-success.active, +a.list-group-item-success.active:hover, +button.list-group-item-success.active:hover, +a.list-group-item-success.active:focus, +button.list-group-item-success.active:focus { + color: #fff; + background-color: #3c763d; + border-color: #3c763d; +} +.list-group-item-info { + color: #31708f; + background-color: #d9edf7; +} +a.list-group-item-info, +button.list-group-item-info { + color: #31708f; +} +a.list-group-item-info .list-group-item-heading, +button.list-group-item-info .list-group-item-heading { + color: inherit; +} +a.list-group-item-info:hover, +button.list-group-item-info:hover, +a.list-group-item-info:focus, +button.list-group-item-info:focus { + color: #31708f; + background-color: #c4e3f3; +} +a.list-group-item-info.active, +button.list-group-item-info.active, +a.list-group-item-info.active:hover, +button.list-group-item-info.active:hover, +a.list-group-item-info.active:focus, +button.list-group-item-info.active:focus { + color: #fff; + background-color: #31708f; + border-color: #31708f; +} +.list-group-item-warning { + color: #8a6d3b; + background-color: #fcf8e3; +} +a.list-group-item-warning, +button.list-group-item-warning { + color: #8a6d3b; +} +a.list-group-item-warning .list-group-item-heading, +button.list-group-item-warning .list-group-item-heading { + color: inherit; +} +a.list-group-item-warning:hover, +button.list-group-item-warning:hover, +a.list-group-item-warning:focus, +button.list-group-item-warning:focus { + color: #8a6d3b; + background-color: #faf2cc; +} +a.list-group-item-warning.active, +button.list-group-item-warning.active, +a.list-group-item-warning.active:hover, +button.list-group-item-warning.active:hover, +a.list-group-item-warning.active:focus, +button.list-group-item-warning.active:focus { + color: #fff; + background-color: #8a6d3b; + border-color: #8a6d3b; +} +.list-group-item-danger { + color: #a94442; + background-color: #f2dede; +} +a.list-group-item-danger, +button.list-group-item-danger { + color: #a94442; +} +a.list-group-item-danger .list-group-item-heading, +button.list-group-item-danger .list-group-item-heading { + color: inherit; +} +a.list-group-item-danger:hover, +button.list-group-item-danger:hover, +a.list-group-item-danger:focus, +button.list-group-item-danger:focus { + color: #a94442; + background-color: #ebcccc; +} +a.list-group-item-danger.active, +button.list-group-item-danger.active, +a.list-group-item-danger.active:hover, +button.list-group-item-danger.active:hover, +a.list-group-item-danger.active:focus, +button.list-group-item-danger.active:focus { + color: #fff; + background-color: #a94442; + border-color: #a94442; +} +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} +.panel { + margin-bottom: 20px; + background-color: #fff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); + box-shadow: 0 1px 1px rgba(0, 0, 0, .05); +} +.panel-body { + padding: 15px; +} +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} +.panel-title > a, +.panel-title > small, +.panel-title > .small, +.panel-title > small > a, +.panel-title > .small > a { + color: inherit; +} +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #ddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .list-group, +.panel > .panel-collapse > .list-group { + margin-bottom: 0; +} +.panel > .list-group .list-group-item, +.panel > .panel-collapse > .list-group .list-group-item { + border-width: 1px 0; + border-radius: 0; +} +.panel > .list-group:first-child .list-group-item:first-child, +.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { + border-top: 0; + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .list-group:last-child .list-group-item:last-child, +.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { + border-bottom: 0; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child { + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} +.list-group + .panel-footer { + border-top-width: 0; +} +.panel > .table, +.panel > .table-responsive > .table, +.panel > .panel-collapse > .table { + margin-bottom: 0; +} +.panel > .table caption, +.panel > .table-responsive > .table caption, +.panel > .panel-collapse > .table caption { + padding-right: 15px; + padding-left: 15px; +} +.panel > .table:first-child, +.panel > .table-responsive:first-child > .table:first-child { + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { + border-top-left-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { + border-top-right-radius: 3px; +} +.panel > .table:last-child, +.panel > .table-responsive:last-child > .table:last-child { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { + border-bottom-right-radius: 3px; +} +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive, +.panel > .table + .panel-body, +.panel > .table-responsive + .panel-body { + border-top: 1px solid #ddd; +} +.panel > .table > tbody:first-child > tr:first-child th, +.panel > .table > tbody:first-child > tr:first-child td { + border-top: 0; +} +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} +.panel > .table-bordered > thead > tr:first-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > td, +.panel > .table-bordered > tbody > tr:first-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, +.panel > .table-bordered > thead > tr:first-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > th, +.panel > .table-bordered > tbody > tr:first-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { + border-bottom: 0; +} +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { + border-bottom: 0; +} +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} +.panel-group { + margin-bottom: 20px; +} +.panel-group .panel { + margin-bottom: 0; + border-radius: 4px; +} +.panel-group .panel + .panel { + margin-top: 5px; +} +.panel-group .panel-heading { + border-bottom: 0; +} +.panel-group .panel-heading + .panel-collapse > .panel-body, +.panel-group .panel-heading + .panel-collapse > .list-group { + border-top: 1px solid #ddd; +} +.panel-group .panel-footer { + border-top: 0; +} +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #ddd; +} +.panel-default { + border-color: #ddd; +} +.panel-default > .panel-heading { + color: #333; + background-color: #f5f5f5; + border-color: #ddd; +} +.panel-default > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #ddd; +} +.panel-default > .panel-heading .badge { + color: #f5f5f5; + background-color: #333; +} +.panel-default > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #ddd; +} +.panel-primary { + border-color: #337ab7; +} +.panel-primary > .panel-heading { + color: #fff; + background-color: #337ab7; + border-color: #337ab7; +} +.panel-primary > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #337ab7; +} +.panel-primary > .panel-heading .badge { + color: #337ab7; + background-color: #fff; +} +.panel-primary > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #337ab7; +} +.panel-success { + border-color: #d6e9c6; +} +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} +.panel-success > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #d6e9c6; +} +.panel-success > .panel-heading .badge { + color: #dff0d8; + background-color: #3c763d; +} +.panel-success > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #d6e9c6; +} +.panel-info { + border-color: #bce8f1; +} +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} +.panel-info > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #bce8f1; +} +.panel-info > .panel-heading .badge { + color: #d9edf7; + background-color: #31708f; +} +.panel-info > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #bce8f1; +} +.panel-warning { + border-color: #faebcc; +} +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} +.panel-warning > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #faebcc; +} +.panel-warning > .panel-heading .badge { + color: #fcf8e3; + background-color: #8a6d3b; +} +.panel-warning > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #faebcc; +} +.panel-danger { + border-color: #ebccd1; +} +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} +.panel-danger > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #ebccd1; +} +.panel-danger > .panel-heading .badge { + color: #f2dede; + background-color: #a94442; +} +.panel-danger > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #ebccd1; +} +.embed-responsive { + position: relative; + display: block; + height: 0; + padding: 0; + overflow: hidden; +} +.embed-responsive .embed-responsive-item, +.embed-responsive iframe, +.embed-responsive embed, +.embed-responsive object, +.embed-responsive video { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + border: 0; +} +.embed-responsive-16by9 { + padding-bottom: 56.25%; +} +.embed-responsive-4by3 { + padding-bottom: 75%; +} +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); +} +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, .15); +} +.well-lg { + padding: 24px; + border-radius: 6px; +} +.well-sm { + padding: 9px; + border-radius: 3px; +} +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + filter: alpha(opacity=20); + opacity: .2; +} +.close:hover, +.close:focus { + color: #000; + text-decoration: none; + cursor: pointer; + filter: alpha(opacity=50); + opacity: .5; +} +button.close { + -webkit-appearance: none; + padding: 0; + cursor: pointer; + background: transparent; + border: 0; +} +.modal-open { + overflow: hidden; +} +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1050; + display: none; + overflow: hidden; + -webkit-overflow-scrolling: touch; + outline: 0; +} +.modal.fade .modal-dialog { + -webkit-transition: -webkit-transform .3s ease-out; + -o-transition: -o-transform .3s ease-out; + transition: transform .3s ease-out; + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + -o-transform: translate(0, -25%); + transform: translate(0, -25%); +} +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + -o-transform: translate(0, 0); + transform: translate(0, 0); +} +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} +.modal-dialog { + position: relative; + width: auto; + margin: 10px; +} +.modal-content { + position: relative; + background-color: #fff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #999; + border: 1px solid rgba(0, 0, 0, .2); + border-radius: 6px; + outline: 0; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5); + box-shadow: 0 3px 9px rgba(0, 0, 0, .5); +} +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000; +} +.modal-backdrop.fade { + filter: alpha(opacity=0); + opacity: 0; +} +.modal-backdrop.in { + filter: alpha(opacity=50); + opacity: .5; +} +.modal-header { + min-height: 16.42857143px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} +.modal-header .close { + margin-top: -2px; +} +.modal-title { + margin: 0; + line-height: 1.42857143; +} +.modal-body { + position: relative; + padding: 15px; +} +.modal-footer { + padding: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} +.modal-scrollbar-measure { + position: absolute; + top: -9999px; + width: 50px; + height: 50px; + overflow: scroll; +} +@media (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); + box-shadow: 0 5px 15px rgba(0, 0, 0, .5); + } + .modal-sm { + width: 300px; + } +} +@media (min-width: 992px) { + .modal-lg { + width: 900px; + } +} +.tooltip { + position: absolute; + z-index: 1070; + display: block; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 12px; + font-style: normal; + font-weight: normal; + line-height: 1.42857143; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + word-wrap: normal; + white-space: normal; + filter: alpha(opacity=0); + opacity: 0; + + line-break: auto; +} +.tooltip.in { + filter: alpha(opacity=90); + opacity: .9; +} +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #fff; + text-align: center; + background-color: #000; + border-radius: 4px; +} +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.top-left .tooltip-arrow { + right: 5px; + bottom: 0; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.top-right .tooltip-arrow { + bottom: 0; + left: 5px; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-width: 5px 5px 5px 0; + border-right-color: #000; +} +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-width: 5px 0 5px 5px; + border-left-color: #000; +} +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.tooltip.bottom-left .tooltip-arrow { + top: 0; + right: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.tooltip.bottom-right .tooltip-arrow { + top: 0; + left: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: none; + max-width: 276px; + padding: 1px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.42857143; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + word-wrap: normal; + white-space: normal; + background-color: #fff; + -webkit-background-clip: padding-box; + background-clip: padding-box; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, .2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2); + box-shadow: 0 5px 10px rgba(0, 0, 0, .2); + + line-break: auto; +} +.popover.top { + margin-top: -10px; +} +.popover.right { + margin-left: 10px; +} +.popover.bottom { + margin-top: 10px; +} +.popover.left { + margin-left: -10px; +} +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} +.popover-content { + padding: 9px 14px; +} +.popover > .arrow, +.popover > .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.popover > .arrow { + border-width: 11px; +} +.popover > .arrow:after { + content: ""; + border-width: 10px; +} +.popover.top > .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999; + border-top-color: rgba(0, 0, 0, .25); + border-bottom-width: 0; +} +.popover.top > .arrow:after { + bottom: 1px; + margin-left: -10px; + content: " "; + border-top-color: #fff; + border-bottom-width: 0; +} +.popover.right > .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999; + border-right-color: rgba(0, 0, 0, .25); + border-left-width: 0; +} +.popover.right > .arrow:after { + bottom: -10px; + left: 1px; + content: " "; + border-right-color: #fff; + border-left-width: 0; +} +.popover.bottom > .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-top-width: 0; + border-bottom-color: #999; + border-bottom-color: rgba(0, 0, 0, .25); +} +.popover.bottom > .arrow:after { + top: 1px; + margin-left: -10px; + content: " "; + border-top-width: 0; + border-bottom-color: #fff; +} +.popover.left > .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-right-width: 0; + border-left-color: #999; + border-left-color: rgba(0, 0, 0, .25); +} +.popover.left > .arrow:after { + right: 1px; + bottom: -10px; + content: " "; + border-right-width: 0; + border-left-color: #fff; +} +.carousel { + position: relative; +} +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: .6s ease-in-out left; + -o-transition: .6s ease-in-out left; + transition: .6s ease-in-out left; +} +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + line-height: 1; +} +@media all and (transform-3d), (-webkit-transform-3d) { + .carousel-inner > .item { + -webkit-transition: -webkit-transform .6s ease-in-out; + -o-transition: -o-transform .6s ease-in-out; + transition: transform .6s ease-in-out; + + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-perspective: 1000px; + perspective: 1000px; + } + .carousel-inner > .item.next, + .carousel-inner > .item.active.right { + left: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + .carousel-inner > .item.prev, + .carousel-inner > .item.active.left { + left: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + .carousel-inner > .item.next.left, + .carousel-inner > .item.prev.right, + .carousel-inner > .item.active { + left: 0; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} +.carousel-inner > .active { + left: 0; +} +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} +.carousel-inner > .next { + left: 100%; +} +.carousel-inner > .prev { + left: -100%; +} +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} +.carousel-inner > .active.left { + left: -100%; +} +.carousel-inner > .active.right { + left: 100%; +} +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #fff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, .6); + filter: alpha(opacity=50); + opacity: .5; +} +.carousel-control.left { + background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); + background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); + background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001))); + background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); + background-repeat: repeat-x; +} +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); + background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); + background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5))); + background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); + background-repeat: repeat-x; +} +.carousel-control:hover, +.carousel-control:focus { + color: #fff; + text-decoration: none; + filter: alpha(opacity=90); + outline: 0; + opacity: .9; +} +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; + margin-top: -10px; +} +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; + margin-left: -10px; +} +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; + margin-right: -10px; +} +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + font-family: serif; + line-height: 1; +} +.carousel-control .icon-prev:before { + content: '\2039'; +} +.carousel-control .icon-next:before { + content: '\203a'; +} +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #fff; + border-radius: 10px; +} +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #fff; +} +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #fff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, .6); +} +.carousel-caption .btn { + text-shadow: none; +} +@media screen and (min-width: 768px) { + .carousel-control .glyphicon-chevron-left, + .carousel-control .glyphicon-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + font-size: 30px; + } + .carousel-control .glyphicon-chevron-left, + .carousel-control .icon-prev { + margin-left: -15px; + } + .carousel-control .glyphicon-chevron-right, + .carousel-control .icon-next { + margin-right: -15px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} +.clearfix:before, +.clearfix:after, +.dl-horizontal dd:before, +.dl-horizontal dd:after, +.container:before, +.container:after, +.container-fluid:before, +.container-fluid:after, +.row:before, +.row:after, +.form-horizontal .form-group:before, +.form-horizontal .form-group:after, +.btn-toolbar:before, +.btn-toolbar:after, +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after, +.nav:before, +.nav:after, +.navbar:before, +.navbar:after, +.navbar-header:before, +.navbar-header:after, +.navbar-collapse:before, +.navbar-collapse:after, +.pager:before, +.pager:after, +.panel-body:before, +.panel-body:after, +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} +.clearfix:after, +.dl-horizontal dd:after, +.container:after, +.container-fluid:after, +.row:after, +.form-horizontal .form-group:after, +.btn-toolbar:after, +.btn-group-vertical > .btn-group:after, +.nav:after, +.navbar:after, +.navbar-header:after, +.navbar-collapse:after, +.pager:after, +.panel-body:after, +.modal-footer:after { + clear: both; +} +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} +.pull-right { + float: right !important; +} +.pull-left { + float: left !important; +} +.hide { + display: none !important; +} +.show { + display: block !important; +} +.invisible { + visibility: hidden; +} +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} +.hidden { + display: none !important; +} +.affix { + position: fixed; +} +@-ms-viewport { + width: device-width; +} +.visible-xs, +.visible-sm, +.visible-md, +.visible-lg { + display: none !important; +} +.visible-xs-block, +.visible-xs-inline, +.visible-xs-inline-block, +.visible-sm-block, +.visible-sm-inline, +.visible-sm-inline-block, +.visible-md-block, +.visible-md-inline, +.visible-md-inline-block, +.visible-lg-block, +.visible-lg-inline, +.visible-lg-inline-block { + display: none !important; +} +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table !important; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} +@media (max-width: 767px) { + .visible-xs-block { + display: block !important; + } +} +@media (max-width: 767px) { + .visible-xs-inline { + display: inline !important; + } +} +@media (max-width: 767px) { + .visible-xs-inline-block { + display: inline-block !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table !important; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-block { + display: block !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-inline { + display: inline !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-inline-block { + display: inline-block !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table !important; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-block { + display: block !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-inline { + display: inline !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-inline-block { + display: inline-block !important; + } +} +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table !important; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} +@media (min-width: 1200px) { + .visible-lg-block { + display: block !important; + } +} +@media (min-width: 1200px) { + .visible-lg-inline { + display: inline !important; + } +} +@media (min-width: 1200px) { + .visible-lg-inline-block { + display: inline-block !important; + } +} +@media (max-width: 767px) { + .hidden-xs { + display: none !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm { + display: none !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md { + display: none !important; + } +} +@media (min-width: 1200px) { + .hidden-lg { + display: none !important; + } +} +.visible-print { + display: none !important; +} +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table !important; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } +} +.visible-print-block { + display: none !important; +} +@media print { + .visible-print-block { + display: block !important; + } +} +.visible-print-inline { + display: none !important; +} +@media print { + .visible-print-inline { + display: inline !important; + } +} +.visible-print-inline-block { + display: none !important; +} +@media print { + .visible-print-inline-block { + display: inline-block !important; + } +} +@media print { + .hidden-print { + display: none !important; + } +} +/*# sourceMappingURL=bootstrap.css.map */ + +@charset "UTF-8"; + +/*! + * animate.css -http://daneden.me/animate + * Version - 3.6.0 + * Licensed under the MIT license - http://opensource.org/licenses/MIT + * + * Copyright (c) 2018 Daniel Eden + */ + +.animated { + -webkit-animation-duration: 1s; + animation-duration: 1s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; +} + +.animated.infinite { + -webkit-animation-iteration-count: infinite; + animation-iteration-count: infinite; +} + +@-webkit-keyframes bounce { + from, + 20%, + 53%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 40%, + 43% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -30px, 0); + transform: translate3d(0, -30px, 0); + } + + 70% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -15px, 0); + transform: translate3d(0, -15px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -4px, 0); + transform: translate3d(0, -4px, 0); + } +} + +@keyframes bounce { + from, + 20%, + 53%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 40%, + 43% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -30px, 0); + transform: translate3d(0, -30px, 0); + } + + 70% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -15px, 0); + transform: translate3d(0, -15px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -4px, 0); + transform: translate3d(0, -4px, 0); + } +} + +.bounce { + -webkit-animation-name: bounce; + animation-name: bounce; + -webkit-transform-origin: center bottom; + transform-origin: center bottom; +} + +@-webkit-keyframes flash { + from, + 50%, + to { + opacity: 1; + } + + 25%, + 75% { + opacity: 0; + } +} + +@keyframes flash { + from, + 50%, + to { + opacity: 1; + } + + 25%, + 75% { + opacity: 0; + } +} + +.flash { + -webkit-animation-name: flash; + animation-name: flash; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes pulse { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 50% { + -webkit-transform: scale3d(1.05, 1.05, 1.05); + transform: scale3d(1.05, 1.05, 1.05); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes pulse { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 50% { + -webkit-transform: scale3d(1.05, 1.05, 1.05); + transform: scale3d(1.05, 1.05, 1.05); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.pulse { + -webkit-animation-name: pulse; + animation-name: pulse; +} + +@-webkit-keyframes rubberBand { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 30% { + -webkit-transform: scale3d(1.25, 0.75, 1); + transform: scale3d(1.25, 0.75, 1); + } + + 40% { + -webkit-transform: scale3d(0.75, 1.25, 1); + transform: scale3d(0.75, 1.25, 1); + } + + 50% { + -webkit-transform: scale3d(1.15, 0.85, 1); + transform: scale3d(1.15, 0.85, 1); + } + + 65% { + -webkit-transform: scale3d(0.95, 1.05, 1); + transform: scale3d(0.95, 1.05, 1); + } + + 75% { + -webkit-transform: scale3d(1.05, 0.95, 1); + transform: scale3d(1.05, 0.95, 1); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes rubberBand { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 30% { + -webkit-transform: scale3d(1.25, 0.75, 1); + transform: scale3d(1.25, 0.75, 1); + } + + 40% { + -webkit-transform: scale3d(0.75, 1.25, 1); + transform: scale3d(0.75, 1.25, 1); + } + + 50% { + -webkit-transform: scale3d(1.15, 0.85, 1); + transform: scale3d(1.15, 0.85, 1); + } + + 65% { + -webkit-transform: scale3d(0.95, 1.05, 1); + transform: scale3d(0.95, 1.05, 1); + } + + 75% { + -webkit-transform: scale3d(1.05, 0.95, 1); + transform: scale3d(1.05, 0.95, 1); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.rubberBand { + -webkit-animation-name: rubberBand; + animation-name: rubberBand; +} + +@-webkit-keyframes shake { + from, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 10%, + 30%, + 50%, + 70%, + 90% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 20%, + 40%, + 60%, + 80% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } +} + +@keyframes shake { + from, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 10%, + 30%, + 50%, + 70%, + 90% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 20%, + 40%, + 60%, + 80% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } +} + +.shake { + -webkit-animation-name: shake; + animation-name: shake; +} + +@-webkit-keyframes headShake { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 6.5% { + -webkit-transform: translateX(-6px) rotateY(-9deg); + transform: translateX(-6px) rotateY(-9deg); + } + + 18.5% { + -webkit-transform: translateX(5px) rotateY(7deg); + transform: translateX(5px) rotateY(7deg); + } + + 31.5% { + -webkit-transform: translateX(-3px) rotateY(-5deg); + transform: translateX(-3px) rotateY(-5deg); + } + + 43.5% { + -webkit-transform: translateX(2px) rotateY(3deg); + transform: translateX(2px) rotateY(3deg); + } + + 50% { + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +@keyframes headShake { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 6.5% { + -webkit-transform: translateX(-6px) rotateY(-9deg); + transform: translateX(-6px) rotateY(-9deg); + } + + 18.5% { + -webkit-transform: translateX(5px) rotateY(7deg); + transform: translateX(5px) rotateY(7deg); + } + + 31.5% { + -webkit-transform: translateX(-3px) rotateY(-5deg); + transform: translateX(-3px) rotateY(-5deg); + } + + 43.5% { + -webkit-transform: translateX(2px) rotateY(3deg); + transform: translateX(2px) rotateY(3deg); + } + + 50% { + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +.headShake { + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + -webkit-animation-name: headShake; + animation-name: headShake; +} + +@-webkit-keyframes swing { + 20% { + -webkit-transform: rotate3d(0, 0, 1, 15deg); + transform: rotate3d(0, 0, 1, 15deg); + } + + 40% { + -webkit-transform: rotate3d(0, 0, 1, -10deg); + transform: rotate3d(0, 0, 1, -10deg); + } + + 60% { + -webkit-transform: rotate3d(0, 0, 1, 5deg); + transform: rotate3d(0, 0, 1, 5deg); + } + + 80% { + -webkit-transform: rotate3d(0, 0, 1, -5deg); + transform: rotate3d(0, 0, 1, -5deg); + } + + to { + -webkit-transform: rotate3d(0, 0, 1, 0deg); + transform: rotate3d(0, 0, 1, 0deg); + } +} + +@keyframes swing { + 20% { + -webkit-transform: rotate3d(0, 0, 1, 15deg); + transform: rotate3d(0, 0, 1, 15deg); + } + + 40% { + -webkit-transform: rotate3d(0, 0, 1, -10deg); + transform: rotate3d(0, 0, 1, -10deg); + } + + 60% { + -webkit-transform: rotate3d(0, 0, 1, 5deg); + transform: rotate3d(0, 0, 1, 5deg); + } + + 80% { + -webkit-transform: rotate3d(0, 0, 1, -5deg); + transform: rotate3d(0, 0, 1, -5deg); + } + + to { + -webkit-transform: rotate3d(0, 0, 1, 0deg); + transform: rotate3d(0, 0, 1, 0deg); + } +} + +.swing { + -webkit-transform-origin: top center; + transform-origin: top center; + -webkit-animation-name: swing; + animation-name: swing; +} + +@-webkit-keyframes tada { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 10%, + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + } + + 30%, + 50%, + 70%, + 90% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + } + + 40%, + 60%, + 80% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes tada { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 10%, + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + } + + 30%, + 50%, + 70%, + 90% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + } + + 40%, + 60%, + 80% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.tada { + -webkit-animation-name: tada; + animation-name: tada; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes wobble { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 15% { + -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + } + + 30% { + -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + } + + 45% { + -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + } + + 60% { + -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + } + + 75% { + -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes wobble { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 15% { + -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + } + + 30% { + -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + } + + 45% { + -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + } + + 60% { + -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + } + + 75% { + -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.wobble { + -webkit-animation-name: wobble; + animation-name: wobble; +} + +@-webkit-keyframes jello { + from, + 11.1%, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 22.2% { + -webkit-transform: skewX(-12.5deg) skewY(-12.5deg); + transform: skewX(-12.5deg) skewY(-12.5deg); + } + + 33.3% { + -webkit-transform: skewX(6.25deg) skewY(6.25deg); + transform: skewX(6.25deg) skewY(6.25deg); + } + + 44.4% { + -webkit-transform: skewX(-3.125deg) skewY(-3.125deg); + transform: skewX(-3.125deg) skewY(-3.125deg); + } + + 55.5% { + -webkit-transform: skewX(1.5625deg) skewY(1.5625deg); + transform: skewX(1.5625deg) skewY(1.5625deg); + } + + 66.6% { + -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg); + transform: skewX(-0.78125deg) skewY(-0.78125deg); + } + + 77.7% { + -webkit-transform: skewX(0.390625deg) skewY(0.390625deg); + transform: skewX(0.390625deg) skewY(0.390625deg); + } + + 88.8% { + -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + } +} + +@keyframes jello { + from, + 11.1%, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 22.2% { + -webkit-transform: skewX(-12.5deg) skewY(-12.5deg); + transform: skewX(-12.5deg) skewY(-12.5deg); + } + + 33.3% { + -webkit-transform: skewX(6.25deg) skewY(6.25deg); + transform: skewX(6.25deg) skewY(6.25deg); + } + + 44.4% { + -webkit-transform: skewX(-3.125deg) skewY(-3.125deg); + transform: skewX(-3.125deg) skewY(-3.125deg); + } + + 55.5% { + -webkit-transform: skewX(1.5625deg) skewY(1.5625deg); + transform: skewX(1.5625deg) skewY(1.5625deg); + } + + 66.6% { + -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg); + transform: skewX(-0.78125deg) skewY(-0.78125deg); + } + + 77.7% { + -webkit-transform: skewX(0.390625deg) skewY(0.390625deg); + transform: skewX(0.390625deg) skewY(0.390625deg); + } + + 88.8% { + -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + } +} + +.jello { + -webkit-animation-name: jello; + animation-name: jello; + -webkit-transform-origin: center; + transform-origin: center; +} + +@-webkit-keyframes bounceIn { + from, + 20%, + 40%, + 60%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 20% { + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + 40% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(1.03, 1.03, 1.03); + transform: scale3d(1.03, 1.03, 1.03); + } + + 80% { + -webkit-transform: scale3d(0.97, 0.97, 0.97); + transform: scale3d(0.97, 0.97, 0.97); + } + + to { + opacity: 1; + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes bounceIn { + from, + 20%, + 40%, + 60%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 20% { + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + 40% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(1.03, 1.03, 1.03); + transform: scale3d(1.03, 1.03, 1.03); + } + + 80% { + -webkit-transform: scale3d(0.97, 0.97, 0.97); + transform: scale3d(0.97, 0.97, 0.97); + } + + to { + opacity: 1; + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.bounceIn { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-animation-name: bounceIn; + animation-name: bounceIn; +} + +@-webkit-keyframes bounceInDown { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(0, -3000px, 0); + transform: translate3d(0, -3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, 25px, 0); + transform: translate3d(0, 25px, 0); + } + + 75% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, 5px, 0); + transform: translate3d(0, 5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInDown { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(0, -3000px, 0); + transform: translate3d(0, -3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, 25px, 0); + transform: translate3d(0, 25px, 0); + } + + 75% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, 5px, 0); + transform: translate3d(0, 5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInDown { + -webkit-animation-name: bounceInDown; + animation-name: bounceInDown; +} + +@-webkit-keyframes bounceInLeft { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(-3000px, 0, 0); + transform: translate3d(-3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(25px, 0, 0); + transform: translate3d(25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(5px, 0, 0); + transform: translate3d(5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInLeft { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(-3000px, 0, 0); + transform: translate3d(-3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(25px, 0, 0); + transform: translate3d(25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(5px, 0, 0); + transform: translate3d(5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInLeft { + -webkit-animation-name: bounceInLeft; + animation-name: bounceInLeft; +} + +@-webkit-keyframes bounceInRight { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(3000px, 0, 0); + transform: translate3d(3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(-25px, 0, 0); + transform: translate3d(-25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(-5px, 0, 0); + transform: translate3d(-5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInRight { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(3000px, 0, 0); + transform: translate3d(3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(-25px, 0, 0); + transform: translate3d(-25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(-5px, 0, 0); + transform: translate3d(-5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInRight { + -webkit-animation-name: bounceInRight; + animation-name: bounceInRight; +} + +@-webkit-keyframes bounceInUp { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(0, 3000px, 0); + transform: translate3d(0, 3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + 75% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -5px, 0); + transform: translate3d(0, -5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInUp { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(0, 3000px, 0); + transform: translate3d(0, 3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + 75% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -5px, 0); + transform: translate3d(0, -5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInUp { + -webkit-animation-name: bounceInUp; + animation-name: bounceInUp; +} + +@-webkit-keyframes bounceOut { + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 50%, + 55% { + opacity: 1; + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } +} + +@keyframes bounceOut { + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 50%, + 55% { + opacity: 1; + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } +} + +.bounceOut { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-animation-name: bounceOut; + animation-name: bounceOut; +} + +@-webkit-keyframes bounceOutDown { + 20% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +@keyframes bounceOutDown { + 20% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +.bounceOutDown { + -webkit-animation-name: bounceOutDown; + animation-name: bounceOutDown; +} + +@-webkit-keyframes bounceOutLeft { + 20% { + opacity: 1; + -webkit-transform: translate3d(20px, 0, 0); + transform: translate3d(20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +@keyframes bounceOutLeft { + 20% { + opacity: 1; + -webkit-transform: translate3d(20px, 0, 0); + transform: translate3d(20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +.bounceOutLeft { + -webkit-animation-name: bounceOutLeft; + animation-name: bounceOutLeft; +} + +@-webkit-keyframes bounceOutRight { + 20% { + opacity: 1; + -webkit-transform: translate3d(-20px, 0, 0); + transform: translate3d(-20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +@keyframes bounceOutRight { + 20% { + opacity: 1; + -webkit-transform: translate3d(-20px, 0, 0); + transform: translate3d(-20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +.bounceOutRight { + -webkit-animation-name: bounceOutRight; + animation-name: bounceOutRight; +} + +@-webkit-keyframes bounceOutUp { + 20% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, 20px, 0); + transform: translate3d(0, 20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +@keyframes bounceOutUp { + 20% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, 20px, 0); + transform: translate3d(0, 20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +.bounceOutUp { + -webkit-animation-name: bounceOutUp; + animation-name: bounceOutUp; +} + +@-webkit-keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +@keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +.fadeIn { + -webkit-animation-name: fadeIn; + animation-name: fadeIn; +} + +@-webkit-keyframes fadeInDown { + from { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInDown { + from { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInDown { + -webkit-animation-name: fadeInDown; + animation-name: fadeInDown; +} + +@-webkit-keyframes fadeInDownBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInDownBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInDownBig { + -webkit-animation-name: fadeInDownBig; + animation-name: fadeInDownBig; +} + +@-webkit-keyframes fadeInLeft { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInLeft { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInLeft { + -webkit-animation-name: fadeInLeft; + animation-name: fadeInLeft; +} + +@-webkit-keyframes fadeInLeftBig { + from { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInLeftBig { + from { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInLeftBig { + -webkit-animation-name: fadeInLeftBig; + animation-name: fadeInLeftBig; +} + +@-webkit-keyframes fadeInRight { + from { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInRight { + from { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInRight { + -webkit-animation-name: fadeInRight; + animation-name: fadeInRight; +} + +@-webkit-keyframes fadeInRightBig { + from { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInRightBig { + from { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInRightBig { + -webkit-animation-name: fadeInRightBig; + animation-name: fadeInRightBig; +} + +@-webkit-keyframes fadeInUp { + from { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInUp { + from { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInUp { + -webkit-animation-name: fadeInUp; + animation-name: fadeInUp; +} + +@-webkit-keyframes fadeInUpBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInUpBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInUpBig { + -webkit-animation-name: fadeInUpBig; + animation-name: fadeInUpBig; +} + +@-webkit-keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +@keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +.fadeOut { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; +} + +@-webkit-keyframes fadeOutDown { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +@keyframes fadeOutDown { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +.fadeOutDown { + -webkit-animation-name: fadeOutDown; + animation-name: fadeOutDown; +} + +@-webkit-keyframes fadeOutDownBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +@keyframes fadeOutDownBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +.fadeOutDownBig { + -webkit-animation-name: fadeOutDownBig; + animation-name: fadeOutDownBig; +} + +@-webkit-keyframes fadeOutLeft { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +@keyframes fadeOutLeft { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +.fadeOutLeft { + -webkit-animation-name: fadeOutLeft; + animation-name: fadeOutLeft; +} + +@-webkit-keyframes fadeOutLeftBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +@keyframes fadeOutLeftBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +.fadeOutLeftBig { + -webkit-animation-name: fadeOutLeftBig; + animation-name: fadeOutLeftBig; +} + +@-webkit-keyframes fadeOutRight { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +@keyframes fadeOutRight { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +.fadeOutRight { + -webkit-animation-name: fadeOutRight; + animation-name: fadeOutRight; +} + +@-webkit-keyframes fadeOutRightBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +@keyframes fadeOutRightBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +.fadeOutRightBig { + -webkit-animation-name: fadeOutRightBig; + animation-name: fadeOutRightBig; +} + +@-webkit-keyframes fadeOutUp { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +@keyframes fadeOutUp { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +.fadeOutUp { + -webkit-animation-name: fadeOutUp; + animation-name: fadeOutUp; +} + +@-webkit-keyframes fadeOutUpBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +@keyframes fadeOutUpBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +.fadeOutUpBig { + -webkit-animation-name: fadeOutUpBig; + animation-name: fadeOutUpBig; +} + +@-webkit-keyframes flip { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg); + transform: perspective(400px) rotate3d(0, 1, 0, -360deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 40% { + -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); + transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 50% { + -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); + transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 80% { + -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95); + transform: perspective(400px) scale3d(0.95, 0.95, 0.95); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } +} + +@keyframes flip { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg); + transform: perspective(400px) rotate3d(0, 1, 0, -360deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 40% { + -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); + transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 50% { + -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); + transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 80% { + -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95); + transform: perspective(400px) scale3d(0.95, 0.95, 0.95); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } +} + +.animated.flip { + -webkit-backface-visibility: visible; + backface-visibility: visible; + -webkit-animation-name: flip; + animation-name: flip; +} + +@-webkit-keyframes flipInX { + from { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +@keyframes flipInX { + from { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +.flipInX { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipInX; + animation-name: flipInX; +} + +@-webkit-keyframes flipInY { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +@keyframes flipInY { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +.flipInY { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipInY; + animation-name: flipInY; +} + +@-webkit-keyframes flipOutX { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + opacity: 0; + } +} + +@keyframes flipOutX { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + opacity: 0; + } +} + +.flipOutX { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-animation-name: flipOutX; + animation-name: flipOutX; + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; +} + +@-webkit-keyframes flipOutY { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + opacity: 0; + } +} + +@keyframes flipOutY { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + opacity: 0; + } +} + +.flipOutY { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipOutY; + animation-name: flipOutY; +} + +@-webkit-keyframes lightSpeedIn { + from { + -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg); + transform: translate3d(100%, 0, 0) skewX(-30deg); + opacity: 0; + } + + 60% { + -webkit-transform: skewX(20deg); + transform: skewX(20deg); + opacity: 1; + } + + 80% { + -webkit-transform: skewX(-5deg); + transform: skewX(-5deg); + opacity: 1; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes lightSpeedIn { + from { + -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg); + transform: translate3d(100%, 0, 0) skewX(-30deg); + opacity: 0; + } + + 60% { + -webkit-transform: skewX(20deg); + transform: skewX(20deg); + opacity: 1; + } + + 80% { + -webkit-transform: skewX(-5deg); + transform: skewX(-5deg); + opacity: 1; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.lightSpeedIn { + -webkit-animation-name: lightSpeedIn; + animation-name: lightSpeedIn; + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; +} + +@-webkit-keyframes lightSpeedOut { + from { + opacity: 1; + } + + to { + -webkit-transform: translate3d(100%, 0, 0) skewX(30deg); + transform: translate3d(100%, 0, 0) skewX(30deg); + opacity: 0; + } +} + +@keyframes lightSpeedOut { + from { + opacity: 1; + } + + to { + -webkit-transform: translate3d(100%, 0, 0) skewX(30deg); + transform: translate3d(100%, 0, 0) skewX(30deg); + opacity: 0; + } +} + +.lightSpeedOut { + -webkit-animation-name: lightSpeedOut; + animation-name: lightSpeedOut; + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; +} + +@-webkit-keyframes rotateIn { + from { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, -200deg); + transform: rotate3d(0, 0, 1, -200deg); + opacity: 0; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateIn { + from { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, -200deg); + transform: rotate3d(0, 0, 1, -200deg); + opacity: 0; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateIn { + -webkit-animation-name: rotateIn; + animation-name: rotateIn; +} + +@-webkit-keyframes rotateInDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInDownLeft { + -webkit-animation-name: rotateInDownLeft; + animation-name: rotateInDownLeft; +} + +@-webkit-keyframes rotateInDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInDownRight { + -webkit-animation-name: rotateInDownRight; + animation-name: rotateInDownRight; +} + +@-webkit-keyframes rotateInUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInUpLeft { + -webkit-animation-name: rotateInUpLeft; + animation-name: rotateInUpLeft; +} + +@-webkit-keyframes rotateInUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -90deg); + transform: rotate3d(0, 0, 1, -90deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -90deg); + transform: rotate3d(0, 0, 1, -90deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInUpRight { + -webkit-animation-name: rotateInUpRight; + animation-name: rotateInUpRight; +} + +@-webkit-keyframes rotateOut { + from { + -webkit-transform-origin: center; + transform-origin: center; + opacity: 1; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, 200deg); + transform: rotate3d(0, 0, 1, 200deg); + opacity: 0; + } +} + +@keyframes rotateOut { + from { + -webkit-transform-origin: center; + transform-origin: center; + opacity: 1; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, 200deg); + transform: rotate3d(0, 0, 1, 200deg); + opacity: 0; + } +} + +.rotateOut { + -webkit-animation-name: rotateOut; + animation-name: rotateOut; +} + +@-webkit-keyframes rotateOutDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } +} + +@keyframes rotateOutDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } +} + +.rotateOutDownLeft { + -webkit-animation-name: rotateOutDownLeft; + animation-name: rotateOutDownLeft; +} + +@-webkit-keyframes rotateOutDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +@keyframes rotateOutDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +.rotateOutDownRight { + -webkit-animation-name: rotateOutDownRight; + animation-name: rotateOutDownRight; +} + +@-webkit-keyframes rotateOutUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +@keyframes rotateOutUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +.rotateOutUpLeft { + -webkit-animation-name: rotateOutUpLeft; + animation-name: rotateOutUpLeft; +} + +@-webkit-keyframes rotateOutUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 90deg); + transform: rotate3d(0, 0, 1, 90deg); + opacity: 0; + } +} + +@keyframes rotateOutUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 90deg); + transform: rotate3d(0, 0, 1, 90deg); + opacity: 0; + } +} + +.rotateOutUpRight { + -webkit-animation-name: rotateOutUpRight; + animation-name: rotateOutUpRight; +} + +@-webkit-keyframes hinge { + 0% { + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 20%, + 60% { + -webkit-transform: rotate3d(0, 0, 1, 80deg); + transform: rotate3d(0, 0, 1, 80deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 40%, + 80% { + -webkit-transform: rotate3d(0, 0, 1, 60deg); + transform: rotate3d(0, 0, 1, 60deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + opacity: 1; + } + + to { + -webkit-transform: translate3d(0, 700px, 0); + transform: translate3d(0, 700px, 0); + opacity: 0; + } +} + +@keyframes hinge { + 0% { + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 20%, + 60% { + -webkit-transform: rotate3d(0, 0, 1, 80deg); + transform: rotate3d(0, 0, 1, 80deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 40%, + 80% { + -webkit-transform: rotate3d(0, 0, 1, 60deg); + transform: rotate3d(0, 0, 1, 60deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + opacity: 1; + } + + to { + -webkit-transform: translate3d(0, 700px, 0); + transform: translate3d(0, 700px, 0); + opacity: 0; + } +} + +.hinge { + -webkit-animation-duration: 2s; + animation-duration: 2s; + -webkit-animation-name: hinge; + animation-name: hinge; +} + +@-webkit-keyframes jackInTheBox { + from { + opacity: 0; + -webkit-transform: scale(0.1) rotate(30deg); + transform: scale(0.1) rotate(30deg); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + } + + 50% { + -webkit-transform: rotate(-10deg); + transform: rotate(-10deg); + } + + 70% { + -webkit-transform: rotate(3deg); + transform: rotate(3deg); + } + + to { + opacity: 1; + -webkit-transform: scale(1); + transform: scale(1); + } +} + +@keyframes jackInTheBox { + from { + opacity: 0; + -webkit-transform: scale(0.1) rotate(30deg); + transform: scale(0.1) rotate(30deg); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + } + + 50% { + -webkit-transform: rotate(-10deg); + transform: rotate(-10deg); + } + + 70% { + -webkit-transform: rotate(3deg); + transform: rotate(3deg); + } + + to { + opacity: 1; + -webkit-transform: scale(1); + transform: scale(1); + } +} + +.jackInTheBox { + -webkit-animation-name: jackInTheBox; + animation-name: jackInTheBox; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollIn { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes rollIn { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.rollIn { + -webkit-animation-name: rollIn; + animation-name: rollIn; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollOut { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + } +} + +@keyframes rollOut { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + } +} + +.rollOut { + -webkit-animation-name: rollOut; + animation-name: rollOut; +} + +@-webkit-keyframes zoomIn { + from { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 50% { + opacity: 1; + } +} + +@keyframes zoomIn { + from { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 50% { + opacity: 1; + } +} + +.zoomIn { + -webkit-animation-name: zoomIn; + animation-name: zoomIn; +} + +@-webkit-keyframes zoomInDown { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInDown { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInDown { + -webkit-animation-name: zoomInDown; + animation-name: zoomInDown; +} + +@-webkit-keyframes zoomInLeft { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInLeft { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInLeft { + -webkit-animation-name: zoomInLeft; + animation-name: zoomInLeft; +} + +@-webkit-keyframes zoomInRight { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInRight { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInRight { + -webkit-animation-name: zoomInRight; + animation-name: zoomInRight; +} + +@-webkit-keyframes zoomInUp { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInUp { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInUp { + -webkit-animation-name: zoomInUp; + animation-name: zoomInUp; +} + +@-webkit-keyframes zoomOut { + from { + opacity: 1; + } + + 50% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + to { + opacity: 0; + } +} + +@keyframes zoomOut { + from { + opacity: 1; + } + + 50% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + to { + opacity: 0; + } +} + +.zoomOut { + -webkit-animation-name: zoomOut; + animation-name: zoomOut; +} + +@-webkit-keyframes zoomOutDown { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomOutDown { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomOutDown { + -webkit-animation-name: zoomOutDown; + animation-name: zoomOutDown; +} + +@-webkit-keyframes zoomOutLeft { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0); + transform: scale(0.1) translate3d(-2000px, 0, 0); + -webkit-transform-origin: left center; + transform-origin: left center; + } +} + +@keyframes zoomOutLeft { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0); + transform: scale(0.1) translate3d(-2000px, 0, 0); + -webkit-transform-origin: left center; + transform-origin: left center; + } +} + +.zoomOutLeft { + -webkit-animation-name: zoomOutLeft; + animation-name: zoomOutLeft; +} + +@-webkit-keyframes zoomOutRight { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(2000px, 0, 0); + transform: scale(0.1) translate3d(2000px, 0, 0); + -webkit-transform-origin: right center; + transform-origin: right center; + } +} + +@keyframes zoomOutRight { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(2000px, 0, 0); + transform: scale(0.1) translate3d(2000px, 0, 0); + -webkit-transform-origin: right center; + transform-origin: right center; + } +} + +.zoomOutRight { + -webkit-animation-name: zoomOutRight; + animation-name: zoomOutRight; +} + +@-webkit-keyframes zoomOutUp { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomOutUp { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomOutUp { + -webkit-animation-name: zoomOutUp; + animation-name: zoomOutUp; +} + +@-webkit-keyframes slideInDown { + from { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInDown { + from { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInDown { + -webkit-animation-name: slideInDown; + animation-name: slideInDown; +} + +@-webkit-keyframes slideInLeft { + from { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInLeft { + from { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInLeft { + -webkit-animation-name: slideInLeft; + animation-name: slideInLeft; +} + +@-webkit-keyframes slideInRight { + from { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInRight { + from { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInRight { + -webkit-animation-name: slideInRight; + animation-name: slideInRight; +} + +@-webkit-keyframes slideInUp { + from { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInUp { + from { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInUp { + -webkit-animation-name: slideInUp; + animation-name: slideInUp; +} + +@-webkit-keyframes slideOutDown { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +@keyframes slideOutDown { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +.slideOutDown { + -webkit-animation-name: slideOutDown; + animation-name: slideOutDown; +} + +@-webkit-keyframes slideOutLeft { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +@keyframes slideOutLeft { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +.slideOutLeft { + -webkit-animation-name: slideOutLeft; + animation-name: slideOutLeft; +} + +@-webkit-keyframes slideOutRight { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +@keyframes slideOutRight { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +.slideOutRight { + -webkit-animation-name: slideOutRight; + animation-name: slideOutRight; +} + +@-webkit-keyframes slideOutUp { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +@keyframes slideOutUp { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +.slideOutUp { + -webkit-animation-name: slideOutUp; + animation-name: slideOutUp; +} + +/* iCheck plugin Square skin, blue +----------------------------------- */ +.icheckbox_square-blue, +.iradio_square-blue { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(blue.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-blue { + background-position: 0 0; +} + .icheckbox_square-blue.hover { + background-position: -24px 0; + } + .icheckbox_square-blue.checked { + background-position: -48px 0; + } + .icheckbox_square-blue.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-blue.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-blue { + background-position: -120px 0; +} + .iradio_square-blue.hover { + background-position: -144px 0; + } + .iradio_square-blue.checked { + background-position: -168px 0; + } + .iradio_square-blue.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-blue.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_square-blue, + .iradio_square-blue { + background-image: url(blue@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} +.select2-container { + box-sizing: border-box; + display: inline-block; + margin: 0; + position: relative; + vertical-align: middle; } + .select2-container .select2-selection--single { + box-sizing: border-box; + cursor: pointer; + display: block; + height: 28px; + user-select: none; + -webkit-user-select: none; } + .select2-container .select2-selection--single .select2-selection__rendered { + display: block; + padding-left: 8px; + padding-right: 20px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } + .select2-container .select2-selection--single .select2-selection__clear { + position: relative; } + .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { + padding-right: 8px; + padding-left: 20px; } + .select2-container .select2-selection--multiple { + box-sizing: border-box; + cursor: pointer; + display: block; + min-height: 32px; + user-select: none; + -webkit-user-select: none; } + .select2-container .select2-selection--multiple .select2-selection__rendered { + display: inline-block; + overflow: hidden; + padding-left: 8px; + text-overflow: ellipsis; + white-space: nowrap; } + .select2-container .select2-search--inline { + float: left; } + .select2-container .select2-search--inline .select2-search__field { + box-sizing: border-box; + border: none; + font-size: 100%; + margin-top: 5px; + padding: 0; } + .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button { + -webkit-appearance: none; } + +.select2-dropdown { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + box-sizing: border-box; + display: block; + position: absolute; + left: -100000px; + width: 100%; + z-index: 1051; } + +.select2-results { + display: block; } + +.select2-results__options { + list-style: none; + margin: 0; + padding: 0; } + +.select2-results__option { + padding: 6px; + user-select: none; + -webkit-user-select: none; } + .select2-results__option[aria-selected] { + cursor: pointer; } + +.select2-container--open .select2-dropdown { + left: 0; } + +.select2-container--open .select2-dropdown--above { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } + +.select2-container--open .select2-dropdown--below { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; } + +.select2-search--dropdown { + display: block; + padding: 4px; } + .select2-search--dropdown .select2-search__field { + padding: 4px; + width: 100%; + box-sizing: border-box; } + .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button { + -webkit-appearance: none; } + .select2-search--dropdown.select2-search--hide { + display: none; } + +.select2-close-mask { + border: 0; + margin: 0; + padding: 0; + display: block; + position: fixed; + left: 0; + top: 0; + min-height: 100%; + min-width: 100%; + height: auto; + width: auto; + opacity: 0; + z-index: 99; + background-color: #fff; + filter: alpha(opacity=0); } + +.select2-hidden-accessible { + border: 0 !important; + clip: rect(0 0 0 0) !important; + height: 1px !important; + margin: -1px !important; + overflow: hidden !important; + padding: 0 !important; + position: absolute !important; + width: 1px !important; } + +.select2-container--default .select2-selection--single { + background-color: #fff; + border: 1px solid #aaa; + border-radius: 4px; } + .select2-container--default .select2-selection--single .select2-selection__rendered { + color: #444; + line-height: 28px; } + .select2-container--default .select2-selection--single .select2-selection__clear { + cursor: pointer; + float: right; + font-weight: bold; } + .select2-container--default .select2-selection--single .select2-selection__placeholder { + color: #999; } + .select2-container--default .select2-selection--single .select2-selection__arrow { + height: 26px; + position: absolute; + top: 1px; + right: 1px; + width: 20px; } + .select2-container--default .select2-selection--single .select2-selection__arrow b { + border-color: #888 transparent transparent transparent; + border-style: solid; + border-width: 5px 4px 0 4px; + height: 0; + left: 50%; + margin-left: -4px; + margin-top: -2px; + position: absolute; + top: 50%; + width: 0; } + +.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear { + float: left; } + +.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow { + left: 1px; + right: auto; } + +.select2-container--default.select2-container--disabled .select2-selection--single { + background-color: #eee; + cursor: default; } + .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear { + display: none; } + +.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { + border-color: transparent transparent #888 transparent; + border-width: 0 4px 5px 4px; } + +.select2-container--default .select2-selection--multiple { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + cursor: text; } + .select2-container--default .select2-selection--multiple .select2-selection__rendered { + box-sizing: border-box; + list-style: none; + margin: 0; + padding: 0 5px; + width: 100%; } + .select2-container--default .select2-selection--multiple .select2-selection__rendered li { + list-style: none; } + .select2-container--default .select2-selection--multiple .select2-selection__placeholder { + color: #999; + margin-top: 5px; + float: left; } + .select2-container--default .select2-selection--multiple .select2-selection__clear { + cursor: pointer; + float: right; + font-weight: bold; + margin-top: 5px; + margin-right: 10px; } + .select2-container--default .select2-selection--multiple .select2-selection__choice { + background-color: #e4e4e4; + border: 1px solid #aaa; + border-radius: 4px; + cursor: default; + float: left; + margin-right: 5px; + margin-top: 5px; + padding: 0 5px; } + .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { + color: #999; + cursor: pointer; + display: inline-block; + font-weight: bold; + margin-right: 2px; } + .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { + color: #333; } + +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline { + float: right; } + +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice { + margin-left: 5px; + margin-right: auto; } + +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { + margin-left: 2px; + margin-right: auto; } + +.select2-container--default.select2-container--focus .select2-selection--multiple { + border: solid black 1px; + outline: 0; } + +.select2-container--default.select2-container--disabled .select2-selection--multiple { + background-color: #eee; + cursor: default; } + +.select2-container--default.select2-container--disabled .select2-selection__choice__remove { + display: none; } + +.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple { + border-top-left-radius: 0; + border-top-right-radius: 0; } + +.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } + +.select2-container--default .select2-search--dropdown .select2-search__field { + border: 1px solid #aaa; } + +.select2-container--default .select2-search--inline .select2-search__field { + background: transparent; + border: none; + outline: 0; + box-shadow: none; + -webkit-appearance: textfield; } + +.select2-container--default .select2-results > .select2-results__options { + max-height: 200px; + overflow-y: auto; } + +.select2-container--default .select2-results__option[role=group] { + padding: 0; } + +.select2-container--default .select2-results__option[aria-disabled=true] { + color: #999; } + +.select2-container--default .select2-results__option[aria-selected=true] { + background-color: #ddd; } + +.select2-container--default .select2-results__option .select2-results__option { + padding-left: 1em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__group { + padding-left: 0; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option { + margin-left: -1em; + padding-left: 2em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -2em; + padding-left: 3em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -3em; + padding-left: 4em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -4em; + padding-left: 5em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -5em; + padding-left: 6em; } + +.select2-container--default .select2-results__option--highlighted[aria-selected] { + background-color: #5897fb; + color: white; } + +.select2-container--default .select2-results__group { + cursor: default; + display: block; + padding: 6px; } + +.select2-container--classic .select2-selection--single { + background-color: #f7f7f7; + border: 1px solid #aaa; + border-radius: 4px; + outline: 0; + background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%); + background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%); + background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } + .select2-container--classic .select2-selection--single:focus { + border: 1px solid #5897fb; } + .select2-container--classic .select2-selection--single .select2-selection__rendered { + color: #444; + line-height: 28px; } + .select2-container--classic .select2-selection--single .select2-selection__clear { + cursor: pointer; + float: right; + font-weight: bold; + margin-right: 10px; } + .select2-container--classic .select2-selection--single .select2-selection__placeholder { + color: #999; } + .select2-container--classic .select2-selection--single .select2-selection__arrow { + background-color: #ddd; + border: none; + border-left: 1px solid #aaa; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + height: 26px; + position: absolute; + top: 1px; + right: 1px; + width: 20px; + background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%); + background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%); + background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); } + .select2-container--classic .select2-selection--single .select2-selection__arrow b { + border-color: #888 transparent transparent transparent; + border-style: solid; + border-width: 5px 4px 0 4px; + height: 0; + left: 50%; + margin-left: -4px; + margin-top: -2px; + position: absolute; + top: 50%; + width: 0; } + +.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear { + float: left; } + +.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow { + border: none; + border-right: 1px solid #aaa; + border-radius: 0; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + left: 1px; + right: auto; } + +.select2-container--classic.select2-container--open .select2-selection--single { + border: 1px solid #5897fb; } + .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow { + background: transparent; + border: none; } + .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b { + border-color: transparent transparent #888 transparent; + border-width: 0 4px 5px 4px; } + +.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; + background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%); + background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%); + background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } + +.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%); + background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%); + background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); } + +.select2-container--classic .select2-selection--multiple { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + cursor: text; + outline: 0; } + .select2-container--classic .select2-selection--multiple:focus { + border: 1px solid #5897fb; } + .select2-container--classic .select2-selection--multiple .select2-selection__rendered { + list-style: none; + margin: 0; + padding: 0 5px; } + .select2-container--classic .select2-selection--multiple .select2-selection__clear { + display: none; } + .select2-container--classic .select2-selection--multiple .select2-selection__choice { + background-color: #e4e4e4; + border: 1px solid #aaa; + border-radius: 4px; + cursor: default; + float: left; + margin-right: 5px; + margin-top: 5px; + padding: 0 5px; } + .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove { + color: #888; + cursor: pointer; + display: inline-block; + font-weight: bold; + margin-right: 2px; } + .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover { + color: #555; } + +.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { + float: right; } + +.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { + margin-left: 5px; + margin-right: auto; } + +.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { + margin-left: 2px; + margin-right: auto; } + +.select2-container--classic.select2-container--open .select2-selection--multiple { + border: 1px solid #5897fb; } + +.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; } + +.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } + +.select2-container--classic .select2-search--dropdown .select2-search__field { + border: 1px solid #aaa; + outline: 0; } + +.select2-container--classic .select2-search--inline .select2-search__field { + outline: 0; + box-shadow: none; } + +.select2-container--classic .select2-dropdown { + background-color: white; + border: 1px solid transparent; } + +.select2-container--classic .select2-dropdown--above { + border-bottom: none; } + +.select2-container--classic .select2-dropdown--below { + border-top: none; } + +.select2-container--classic .select2-results > .select2-results__options { + max-height: 200px; + overflow-y: auto; } + +.select2-container--classic .select2-results__option[role=group] { + padding: 0; } + +.select2-container--classic .select2-results__option[aria-disabled=true] { + color: grey; } + +.select2-container--classic .select2-results__option--highlighted[aria-selected] { + background-color: #3875d7; + color: white; } + +.select2-container--classic .select2-results__group { + cursor: default; + display: block; + padding: 6px; } + +.select2-container--classic.select2-container--open .select2-dropdown { + border-color: #5897fb; } + +@charset "UTF-8"; + +/*! + * Pikaday + * Copyright © 2014 David Bushell | BSD & MIT license | http://dbushell.com/ + */ + +.pika-single { + z-index: 9999; + display: block; + position: relative; + color: #333; + background: #fff; + border: 1px solid #ccc; + border-bottom-color: #bbb; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; +} + +/* +clear child float (pika-lendar), using the famous micro clearfix hack +http://nicolasgallagher.com/micro-clearfix-hack/ +*/ +.pika-single:before, +.pika-single:after { + content: " "; + display: table; +} +.pika-single:after { clear: both } +.pika-single { *zoom: 1 } + +.pika-single.is-hidden { + display: none; +} + +.pika-single.is-bound { + position: absolute; + box-shadow: 0 5px 15px -5px rgba(0,0,0,.5); +} + +.pika-lendar { + float: left; + width: 240px; + margin: 8px; +} + +.pika-title { + position: relative; + text-align: center; +} + +.pika-label { + display: inline-block; + *display: inline; + position: relative; + z-index: 9999; + overflow: hidden; + margin: 0; + padding: 5px 3px; + font-size: 14px; + line-height: 20px; + font-weight: bold; + background-color: #fff; +} +.pika-title select { + cursor: pointer; + position: absolute; + z-index: 9998; + margin: 0; + left: 0; + top: 5px; + filter: alpha(opacity=0); + opacity: 0; +} + +.pika-prev, +.pika-next { + display: block; + cursor: pointer; + position: relative; + outline: none; + border: 0; + padding: 0; + width: 20px; + height: 30px; + /* hide text using text-indent trick, using width value (it's enough) */ + text-indent: 20px; + white-space: nowrap; + overflow: hidden; + background-color: transparent; + background-position: center center; + background-repeat: no-repeat; + background-size: 75% 75%; + opacity: .5; + *position: absolute; + *top: 0; +} + +.pika-prev:hover, +.pika-next:hover { + opacity: 1; +} + +.pika-prev, +.is-rtl .pika-next { + float: left; + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg=='); + *left: 0; +} + +.pika-next, +.is-rtl .pika-prev { + float: right; + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII='); + *right: 0; +} + +.pika-prev.is-disabled, +.pika-next.is-disabled { + cursor: default; + opacity: .2; +} + +.pika-select { + display: inline-block; + *display: inline; +} + +.pika-table { + width: 100%; + border-collapse: collapse; + border-spacing: 0; + border: 0; +} + +.pika-table th, +.pika-table td { + width: 14.285714285714286%; + padding: 0; +} + +.pika-table th { + color: #999; + font-size: 12px; + line-height: 25px; + font-weight: bold; + text-align: center; +} + +.pika-button { + cursor: pointer; + display: block; + box-sizing: border-box; + -moz-box-sizing: border-box; + outline: none; + border: 0; + margin: 0; + width: 100%; + padding: 5px; + color: #666; + font-size: 12px; + line-height: 15px; + text-align: right; + background: #f5f5f5; +} + +.pika-week { + font-size: 11px; + color: #999; +} + +.is-today .pika-button { + color: #33aaff; + font-weight: bold; +} + +.is-selected .pika-button, +.has-event .pika-button { + color: #fff; + font-weight: bold; + background: #33aaff; + box-shadow: inset 0 1px 3px #178fe5; + border-radius: 3px; +} + +.has-event .pika-button { + background: #005da9; + box-shadow: inset 0 1px 3px #0076c9; +} + +.is-disabled .pika-button, +.is-inrange .pika-button { + background: #D5E9F7; +} + +.is-startrange .pika-button { + color: #fff; + background: #6CB31D; + box-shadow: none; + border-radius: 3px; +} + +.is-endrange .pika-button { + color: #fff; + background: #33aaff; + box-shadow: none; + border-radius: 3px; +} + +.is-disabled .pika-button { + pointer-events: none; + cursor: default; + color: #999; + opacity: .3; +} + +.is-outside-current-month .pika-button { + color: #999; + opacity: .3; +} + +.is-selection-disabled { + pointer-events: none; + cursor: default; +} + +.pika-button:hover, +.pika-row.pick-whole-week:hover .pika-button { + color: #fff; + background: #ff8000; + box-shadow: none; + border-radius: 3px; +} + +/* styling for abbr */ +.pika-table abbr { + border-bottom: none; + cursor: help; +} + + +/*! X-editable - v1.5.1 +* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery +* http://github.com/vitalets/x-editable +* Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ +.editableform { + margin-bottom: 0; /* overwrites bootstrap margin */ +} + +.editableform .control-group { + margin-bottom: 0; /* overwrites bootstrap margin */ + white-space: nowrap; /* prevent wrapping buttons on new line */ + line-height: 20px; /* overwriting bootstrap line-height. See #133 */ +} + +/* + BS3 width:1005 for inputs breaks editable form in popup + See: https://github.com/vitalets/x-editable/issues/393 +*/ +.editableform .form-control { + width: auto; +} + +.editable-buttons { + display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */ + vertical-align: top; + margin-left: 7px; + /* inline-block emulation for IE7*/ + zoom: 1; + *display: inline; +} + +.editable-buttons.editable-buttons-bottom { + display: block; + margin-top: 7px; + margin-left: 0; +} + +.editable-input { + vertical-align: top; + display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */ + width: auto; /* bootstrap-responsive has width: 100% that breakes layout */ + white-space: normal; /* reset white-space decalred in parent*/ + /* display-inline emulation for IE7*/ + zoom: 1; + *display: inline; +} + +.editable-buttons .editable-cancel { + margin-left: 7px; +} + +/*for jquery-ui buttons need set height to look more pretty*/ +.editable-buttons button.ui-button-icon-only { + height: 24px; + width: 30px; +} + +.editableform-loading { + background: url('../img/loading.gif') center center no-repeat; + height: 25px; + width: auto; + min-width: 25px; +} + +.editable-inline .editableform-loading { + background-position: left 5px; +} + + .editable-error-block { + max-width: 300px; + margin: 5px 0 0 0; + width: auto; + white-space: normal; +} + +/*add padding for jquery ui*/ +.editable-error-block.ui-state-error { + padding: 3px; +} + +.editable-error { + color: red; +} + +/* ---- For specific types ---- */ + +.editableform .editable-date { + padding: 0; + margin: 0; + float: left; +} + +/* move datepicker icon to center of add-on button. See https://github.com/vitalets/x-editable/issues/183 */ +.editable-inline .add-on .icon-th { + margin-top: 3px; + margin-left: 1px; +} + + +/* checklist vertical alignment */ +.editable-checklist label input[type="checkbox"], +.editable-checklist label span { + vertical-align: middle; + margin: 0; +} + +.editable-checklist label { + white-space: nowrap; +} + +/* set exact width of textarea to fit buttons toolbar */ +.editable-wysihtml5 { + width: 566px; + height: 250px; +} + +/* clear button shown as link in date inputs */ +.editable-clear { + clear: both; + font-size: 0.9em; + text-decoration: none; + text-align: right; +} + +/* IOS-style clear button for text inputs */ +.editable-clear-x { + background: url('../img/clear.png') center center no-repeat; + display: block; + width: 13px; + height: 13px; + position: absolute; + opacity: 0.6; + z-index: 100; + + top: 50%; + right: 6px; + margin-top: -6px; + +} + +.editable-clear-x:hover { + opacity: 1; +} + +.editable-pre-wrapped { + white-space: pre-wrap; +} +.editable-container.editable-popup { + max-width: none !important; /* without this rule poshytip/tooltip does not stretch */ +} + +.editable-container.popover { + width: auto; /* without this rule popover does not stretch */ +} + +.editable-container.editable-inline { + display: inline-block; + vertical-align: middle; + width: auto; + /* inline-block emulation for IE7*/ + zoom: 1; + *display: inline; +} + +.editable-container.ui-widget { + font-size: inherit; /* jqueryui widget font 1.1em too big, overwrite it */ + z-index: 9990; /* should be less than select2 dropdown z-index to close dropdown first when click */ +} +.editable-click, +a.editable-click, +a.editable-click:hover { + text-decoration: none; + border-bottom: dashed 1px #0088cc; +} + +.editable-click.editable-disabled, +a.editable-click.editable-disabled, +a.editable-click.editable-disabled:hover { + color: #585858; + cursor: default; + border-bottom: none; +} + +.editable-empty, .editable-empty:hover, .editable-empty:focus{ + font-style: italic; + color: #DD1144; + /* border-bottom: none; */ + text-decoration: none; +} + +.editable-unsaved { + font-weight: bold; +} + +.editable-unsaved:after { +/* content: '*'*/ +} + +.editable-bg-transition { + -webkit-transition: background-color 1400ms ease-out; + -moz-transition: background-color 1400ms ease-out; + -o-transition: background-color 1400ms ease-out; + -ms-transition: background-color 1400ms ease-out; + transition: background-color 1400ms ease-out; +} + +/*see https://github.com/vitalets/x-editable/issues/139 */ +.form-horizontal .editable +{ + padding-top: 5px; + display:inline-block; +} + + +/*! + * Datepicker for Bootstrap + * + * Copyright 2012 Stefan Petre + * Improvements by Andrew Rowls + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + */ +.datepicker { + padding: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + direction: ltr; + /*.dow { + border-top: 1px solid #ddd !important; + }*/ + +} +.datepicker-inline { + width: 220px; +} +.datepicker.datepicker-rtl { + direction: rtl; +} +.datepicker.datepicker-rtl table tr td span { + float: right; +} +.datepicker-dropdown { + top: 0; + left: 0; +} +.datepicker-dropdown:before { + content: ''; + display: inline-block; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + border-bottom: 7px solid #ccc; + border-bottom-color: rgba(0, 0, 0, 0.2); + position: absolute; + top: -7px; + left: 6px; +} +.datepicker-dropdown:after { + content: ''; + display: inline-block; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + border-bottom: 6px solid #ffffff; + position: absolute; + top: -6px; + left: 7px; +} +.datepicker > div { + display: none; +} +.datepicker.days div.datepicker-days { + display: block; +} +.datepicker.months div.datepicker-months { + display: block; +} +.datepicker.years div.datepicker-years { + display: block; +} +.datepicker table { + margin: 0; +} +.datepicker td, +.datepicker th { + text-align: center; + width: 20px; + height: 20px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + border: none; +} +.table-striped .datepicker table tr td, +.table-striped .datepicker table tr th { + background-color: transparent; +} +.datepicker table tr td.day:hover { + background: #eeeeee; + cursor: pointer; +} +.datepicker table tr td.old, +.datepicker table tr td.new { + color: #999999; +} +.datepicker table tr td.disabled, +.datepicker table tr td.disabled:hover { + background: none; + color: #999999; + cursor: default; +} +.datepicker table tr td.today, +.datepicker table tr td.today:hover, +.datepicker table tr td.today.disabled, +.datepicker table tr td.today.disabled:hover { + background-color: #fde19a; + background-image: -moz-linear-gradient(top, #fdd49a, #fdf59a); + background-image: -ms-linear-gradient(top, #fdd49a, #fdf59a); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a)); + background-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a); + background-image: -o-linear-gradient(top, #fdd49a, #fdf59a); + background-image: linear-gradient(top, #fdd49a, #fdf59a); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0); + border-color: #fdf59a #fdf59a #fbed50; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #000; +} +.datepicker table tr td.today:hover, +.datepicker table tr td.today:hover:hover, +.datepicker table tr td.today.disabled:hover, +.datepicker table tr td.today.disabled:hover:hover, +.datepicker table tr td.today:active, +.datepicker table tr td.today:hover:active, +.datepicker table tr td.today.disabled:active, +.datepicker table tr td.today.disabled:hover:active, +.datepicker table tr td.today.active, +.datepicker table tr td.today:hover.active, +.datepicker table tr td.today.disabled.active, +.datepicker table tr td.today.disabled:hover.active, +.datepicker table tr td.today.disabled, +.datepicker table tr td.today:hover.disabled, +.datepicker table tr td.today.disabled.disabled, +.datepicker table tr td.today.disabled:hover.disabled, +.datepicker table tr td.today[disabled], +.datepicker table tr td.today:hover[disabled], +.datepicker table tr td.today.disabled[disabled], +.datepicker table tr td.today.disabled:hover[disabled] { + background-color: #fdf59a; +} +.datepicker table tr td.today:active, +.datepicker table tr td.today:hover:active, +.datepicker table tr td.today.disabled:active, +.datepicker table tr td.today.disabled:hover:active, +.datepicker table tr td.today.active, +.datepicker table tr td.today:hover.active, +.datepicker table tr td.today.disabled.active, +.datepicker table tr td.today.disabled:hover.active { + background-color: #fbf069 \9; +} +.datepicker table tr td.today:hover:hover { + color: #000; +} +.datepicker table tr td.today.active:hover { + color: #fff; +} +.datepicker table tr td.range, +.datepicker table tr td.range:hover, +.datepicker table tr td.range.disabled, +.datepicker table tr td.range.disabled:hover { + background: #eeeeee; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.datepicker table tr td.range.today, +.datepicker table tr td.range.today:hover, +.datepicker table tr td.range.today.disabled, +.datepicker table tr td.range.today.disabled:hover { + background-color: #f3d17a; + background-image: -moz-linear-gradient(top, #f3c17a, #f3e97a); + background-image: -ms-linear-gradient(top, #f3c17a, #f3e97a); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a)); + background-image: -webkit-linear-gradient(top, #f3c17a, #f3e97a); + background-image: -o-linear-gradient(top, #f3c17a, #f3e97a); + background-image: linear-gradient(top, #f3c17a, #f3e97a); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0); + border-color: #f3e97a #f3e97a #edde34; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.datepicker table tr td.range.today:hover, +.datepicker table tr td.range.today:hover:hover, +.datepicker table tr td.range.today.disabled:hover, +.datepicker table tr td.range.today.disabled:hover:hover, +.datepicker table tr td.range.today:active, +.datepicker table tr td.range.today:hover:active, +.datepicker table tr td.range.today.disabled:active, +.datepicker table tr td.range.today.disabled:hover:active, +.datepicker table tr td.range.today.active, +.datepicker table tr td.range.today:hover.active, +.datepicker table tr td.range.today.disabled.active, +.datepicker table tr td.range.today.disabled:hover.active, +.datepicker table tr td.range.today.disabled, +.datepicker table tr td.range.today:hover.disabled, +.datepicker table tr td.range.today.disabled.disabled, +.datepicker table tr td.range.today.disabled:hover.disabled, +.datepicker table tr td.range.today[disabled], +.datepicker table tr td.range.today:hover[disabled], +.datepicker table tr td.range.today.disabled[disabled], +.datepicker table tr td.range.today.disabled:hover[disabled] { + background-color: #f3e97a; +} +.datepicker table tr td.range.today:active, +.datepicker table tr td.range.today:hover:active, +.datepicker table tr td.range.today.disabled:active, +.datepicker table tr td.range.today.disabled:hover:active, +.datepicker table tr td.range.today.active, +.datepicker table tr td.range.today:hover.active, +.datepicker table tr td.range.today.disabled.active, +.datepicker table tr td.range.today.disabled:hover.active { + background-color: #efe24b \9; +} +.datepicker table tr td.selected, +.datepicker table tr td.selected:hover, +.datepicker table tr td.selected.disabled, +.datepicker table tr td.selected.disabled:hover { + background-color: #9e9e9e; + background-image: -moz-linear-gradient(top, #b3b3b3, #808080); + background-image: -ms-linear-gradient(top, #b3b3b3, #808080); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080)); + background-image: -webkit-linear-gradient(top, #b3b3b3, #808080); + background-image: -o-linear-gradient(top, #b3b3b3, #808080); + background-image: linear-gradient(top, #b3b3b3, #808080); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0); + border-color: #808080 #808080 #595959; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.datepicker table tr td.selected:hover, +.datepicker table tr td.selected:hover:hover, +.datepicker table tr td.selected.disabled:hover, +.datepicker table tr td.selected.disabled:hover:hover, +.datepicker table tr td.selected:active, +.datepicker table tr td.selected:hover:active, +.datepicker table tr td.selected.disabled:active, +.datepicker table tr td.selected.disabled:hover:active, +.datepicker table tr td.selected.active, +.datepicker table tr td.selected:hover.active, +.datepicker table tr td.selected.disabled.active, +.datepicker table tr td.selected.disabled:hover.active, +.datepicker table tr td.selected.disabled, +.datepicker table tr td.selected:hover.disabled, +.datepicker table tr td.selected.disabled.disabled, +.datepicker table tr td.selected.disabled:hover.disabled, +.datepicker table tr td.selected[disabled], +.datepicker table tr td.selected:hover[disabled], +.datepicker table tr td.selected.disabled[disabled], +.datepicker table tr td.selected.disabled:hover[disabled] { + background-color: #808080; +} +.datepicker table tr td.selected:active, +.datepicker table tr td.selected:hover:active, +.datepicker table tr td.selected.disabled:active, +.datepicker table tr td.selected.disabled:hover:active, +.datepicker table tr td.selected.active, +.datepicker table tr td.selected:hover.active, +.datepicker table tr td.selected.disabled.active, +.datepicker table tr td.selected.disabled:hover.active { + background-color: #666666 \9; +} +.datepicker table tr td.active, +.datepicker table tr td.active:hover, +.datepicker table tr td.active.disabled, +.datepicker table tr td.active.disabled:hover { + background-color: #006dcc; + background-image: -moz-linear-gradient(top, #0088cc, #0044cc); + background-image: -ms-linear-gradient(top, #0088cc, #0044cc); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); + background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); + background-image: -o-linear-gradient(top, #0088cc, #0044cc); + background-image: linear-gradient(top, #0088cc, #0044cc); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0); + border-color: #0044cc #0044cc #002a80; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.datepicker table tr td.active:hover, +.datepicker table tr td.active:hover:hover, +.datepicker table tr td.active.disabled:hover, +.datepicker table tr td.active.disabled:hover:hover, +.datepicker table tr td.active:active, +.datepicker table tr td.active:hover:active, +.datepicker table tr td.active.disabled:active, +.datepicker table tr td.active.disabled:hover:active, +.datepicker table tr td.active.active, +.datepicker table tr td.active:hover.active, +.datepicker table tr td.active.disabled.active, +.datepicker table tr td.active.disabled:hover.active, +.datepicker table tr td.active.disabled, +.datepicker table tr td.active:hover.disabled, +.datepicker table tr td.active.disabled.disabled, +.datepicker table tr td.active.disabled:hover.disabled, +.datepicker table tr td.active[disabled], +.datepicker table tr td.active:hover[disabled], +.datepicker table tr td.active.disabled[disabled], +.datepicker table tr td.active.disabled:hover[disabled] { + background-color: #0044cc; +} +.datepicker table tr td.active:active, +.datepicker table tr td.active:hover:active, +.datepicker table tr td.active.disabled:active, +.datepicker table tr td.active.disabled:hover:active, +.datepicker table tr td.active.active, +.datepicker table tr td.active:hover.active, +.datepicker table tr td.active.disabled.active, +.datepicker table tr td.active.disabled:hover.active { + background-color: #003399 \9; +} +.datepicker table tr td span { + display: block; + width: 23%; + height: 54px; + line-height: 54px; + float: left; + margin: 1%; + cursor: pointer; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.datepicker table tr td span:hover { + background: #eeeeee; +} +.datepicker table tr td span.disabled, +.datepicker table tr td span.disabled:hover { + background: none; + color: #999999; + cursor: default; +} +.datepicker table tr td span.active, +.datepicker table tr td span.active:hover, +.datepicker table tr td span.active.disabled, +.datepicker table tr td span.active.disabled:hover { + background-color: #006dcc; + background-image: -moz-linear-gradient(top, #0088cc, #0044cc); + background-image: -ms-linear-gradient(top, #0088cc, #0044cc); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); + background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); + background-image: -o-linear-gradient(top, #0088cc, #0044cc); + background-image: linear-gradient(top, #0088cc, #0044cc); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0); + border-color: #0044cc #0044cc #002a80; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.datepicker table tr td span.active:hover, +.datepicker table tr td span.active:hover:hover, +.datepicker table tr td span.active.disabled:hover, +.datepicker table tr td span.active.disabled:hover:hover, +.datepicker table tr td span.active:active, +.datepicker table tr td span.active:hover:active, +.datepicker table tr td span.active.disabled:active, +.datepicker table tr td span.active.disabled:hover:active, +.datepicker table tr td span.active.active, +.datepicker table tr td span.active:hover.active, +.datepicker table tr td span.active.disabled.active, +.datepicker table tr td span.active.disabled:hover.active, +.datepicker table tr td span.active.disabled, +.datepicker table tr td span.active:hover.disabled, +.datepicker table tr td span.active.disabled.disabled, +.datepicker table tr td span.active.disabled:hover.disabled, +.datepicker table tr td span.active[disabled], +.datepicker table tr td span.active:hover[disabled], +.datepicker table tr td span.active.disabled[disabled], +.datepicker table tr td span.active.disabled:hover[disabled] { + background-color: #0044cc; +} +.datepicker table tr td span.active:active, +.datepicker table tr td span.active:hover:active, +.datepicker table tr td span.active.disabled:active, +.datepicker table tr td span.active.disabled:hover:active, +.datepicker table tr td span.active.active, +.datepicker table tr td span.active:hover.active, +.datepicker table tr td span.active.disabled.active, +.datepicker table tr td span.active.disabled:hover.active { + background-color: #003399 \9; +} +.datepicker table tr td span.old, +.datepicker table tr td span.new { + color: #999999; +} +.datepicker th.datepicker-switch { + width: 145px; +} +.datepicker thead tr:first-child th, +.datepicker tfoot tr th { + cursor: pointer; +} +.datepicker thead tr:first-child th:hover, +.datepicker tfoot tr th:hover { + background: #eeeeee; +} +.datepicker .cw { + font-size: 10px; + width: 12px; + padding: 0 2px 0 5px; + vertical-align: middle; +} +.datepicker thead tr:first-child th.cw { + cursor: default; + background-color: transparent; +} +.input-append.date .add-on i, +.input-prepend.date .add-on i { + display: block; + cursor: pointer; + width: 16px; + height: 16px; +} +.input-daterange input { + text-align: center; +} +.input-daterange input:first-child { + -webkit-border-radius: 3px 0 0 3px; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} +.input-daterange input:last-child { + -webkit-border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; +} +.input-daterange .add-on { + display: inline-block; + width: auto; + min-width: 16px; + height: 18px; + padding: 4px 5px; + font-weight: normal; + line-height: 18px; + text-align: center; + text-shadow: 0 1px 0 #ffffff; + vertical-align: middle; + background-color: #eeeeee; + border: 1px solid #ccc; + margin-left: -5px; + margin-right: -5px; +} + +/*! + * Datetimepicker for Bootstrap 3 + * version : 4.17.47 + * https://github.com/Eonasdan/bootstrap-datetimepicker/ + */ +.bootstrap-datetimepicker-widget { + list-style: none; +} +.bootstrap-datetimepicker-widget.dropdown-menu { + display: block; + margin: 2px 0; + padding: 4px; + width: 19em; +} +@media (min-width: 768px) { + .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs { + width: 38em; + } +} +@media (min-width: 992px) { + .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs { + width: 38em; + } +} +@media (min-width: 1200px) { + .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs { + width: 38em; + } +} +.bootstrap-datetimepicker-widget.dropdown-menu:before, +.bootstrap-datetimepicker-widget.dropdown-menu:after { + content: ''; + display: inline-block; + position: absolute; +} +.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before { + border-left: 7px solid transparent; + border-right: 7px solid transparent; + border-bottom: 7px solid #ccc; + border-bottom-color: rgba(0, 0, 0, 0.2); + top: -7px; + left: 7px; +} +.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after { + border-left: 6px solid transparent; + border-right: 6px solid transparent; + border-bottom: 6px solid white; + top: -6px; + left: 8px; +} +.bootstrap-datetimepicker-widget.dropdown-menu.top:before { + border-left: 7px solid transparent; + border-right: 7px solid transparent; + border-top: 7px solid #ccc; + border-top-color: rgba(0, 0, 0, 0.2); + bottom: -7px; + left: 6px; +} +.bootstrap-datetimepicker-widget.dropdown-menu.top:after { + border-left: 6px solid transparent; + border-right: 6px solid transparent; + border-top: 6px solid white; + bottom: -6px; + left: 7px; +} +.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before { + left: auto; + right: 6px; +} +.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after { + left: auto; + right: 7px; +} +.bootstrap-datetimepicker-widget .list-unstyled { + margin: 0; +} +.bootstrap-datetimepicker-widget a[data-action] { + padding: 6px 0; +} +.bootstrap-datetimepicker-widget a[data-action]:active { + box-shadow: none; +} +.bootstrap-datetimepicker-widget .timepicker-hour, +.bootstrap-datetimepicker-widget .timepicker-minute, +.bootstrap-datetimepicker-widget .timepicker-second { + width: 54px; + font-weight: bold; + font-size: 1.2em; + margin: 0; +} +.bootstrap-datetimepicker-widget button[data-action] { + padding: 6px; +} +.bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Increment Hours"; +} +.bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Increment Minutes"; +} +.bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Decrement Hours"; +} +.bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Decrement Minutes"; +} +.bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Show Hours"; +} +.bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Show Minutes"; +} +.bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Toggle AM/PM"; +} +.bootstrap-datetimepicker-widget .btn[data-action="clear"]::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Clear the picker"; +} +.bootstrap-datetimepicker-widget .btn[data-action="today"]::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Set the date to today"; +} +.bootstrap-datetimepicker-widget .picker-switch { + text-align: center; +} +.bootstrap-datetimepicker-widget .picker-switch::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Toggle Date and Time Screens"; +} +.bootstrap-datetimepicker-widget .picker-switch td { + padding: 0; + margin: 0; + height: auto; + width: auto; + line-height: inherit; +} +.bootstrap-datetimepicker-widget .picker-switch td span { + line-height: 2.5; + height: 2.5em; + width: 100%; +} +.bootstrap-datetimepicker-widget table { + width: 100%; + margin: 0; +} +.bootstrap-datetimepicker-widget table td, +.bootstrap-datetimepicker-widget table th { + text-align: center; + border-radius: 4px; +} +.bootstrap-datetimepicker-widget table th { + height: 20px; + line-height: 20px; + width: 20px; +} +.bootstrap-datetimepicker-widget table th.picker-switch { + width: 145px; +} +.bootstrap-datetimepicker-widget table th.disabled, +.bootstrap-datetimepicker-widget table th.disabled:hover { + background: none; + color: #777777; + cursor: not-allowed; +} +.bootstrap-datetimepicker-widget table th.prev::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Previous Month"; +} +.bootstrap-datetimepicker-widget table th.next::after { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + content: "Next Month"; +} +.bootstrap-datetimepicker-widget table thead tr:first-child th { + cursor: pointer; +} +.bootstrap-datetimepicker-widget table thead tr:first-child th:hover { + background: #eeeeee; +} +.bootstrap-datetimepicker-widget table td { + height: 54px; + line-height: 54px; + width: 54px; +} +.bootstrap-datetimepicker-widget table td.cw { + font-size: .8em; + height: 20px; + line-height: 20px; + color: #777777; +} +.bootstrap-datetimepicker-widget table td.day { + height: 20px; + line-height: 20px; + width: 20px; +} +.bootstrap-datetimepicker-widget table td.day:hover, +.bootstrap-datetimepicker-widget table td.hour:hover, +.bootstrap-datetimepicker-widget table td.minute:hover, +.bootstrap-datetimepicker-widget table td.second:hover { + background: #eeeeee; + cursor: pointer; +} +.bootstrap-datetimepicker-widget table td.old, +.bootstrap-datetimepicker-widget table td.new { + color: #777777; +} +.bootstrap-datetimepicker-widget table td.today { + position: relative; +} +.bootstrap-datetimepicker-widget table td.today:before { + content: ''; + display: inline-block; + border: solid transparent; + border-width: 0 0 7px 7px; + border-bottom-color: #337ab7; + border-top-color: rgba(0, 0, 0, 0.2); + position: absolute; + bottom: 4px; + right: 4px; +} +.bootstrap-datetimepicker-widget table td.active, +.bootstrap-datetimepicker-widget table td.active:hover { + background-color: #337ab7; + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.bootstrap-datetimepicker-widget table td.active.today:before { + border-bottom-color: #fff; +} +.bootstrap-datetimepicker-widget table td.disabled, +.bootstrap-datetimepicker-widget table td.disabled:hover { + background: none; + color: #777777; + cursor: not-allowed; +} +.bootstrap-datetimepicker-widget table td span { + display: inline-block; + width: 54px; + height: 54px; + line-height: 54px; + margin: 2px 1.5px; + cursor: pointer; + border-radius: 4px; +} +.bootstrap-datetimepicker-widget table td span:hover { + background: #eeeeee; +} +.bootstrap-datetimepicker-widget table td span.active { + background-color: #337ab7; + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.bootstrap-datetimepicker-widget table td span.old { + color: #777777; +} +.bootstrap-datetimepicker-widget table td span.disabled, +.bootstrap-datetimepicker-widget table td span.disabled:hover { + background: none; + color: #777777; + cursor: not-allowed; +} +.bootstrap-datetimepicker-widget.usetwentyfour td.hour { + height: 27px; + line-height: 27px; +} +.bootstrap-datetimepicker-widget.wider { + width: 21em; +} +.bootstrap-datetimepicker-widget .datepicker-decades .decade { + line-height: 1.8em !important; +} +.input-group.date .input-group-addon { + cursor: pointer; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +@charset "UTF-8"; +/*! + + ========================================================= + * Paper Dashboard - v1.1.2 + ========================================================= + + * Product Page: http://www.creative-tim.com/product/paper-dashboard + * Copyright 2017 Creative Tim (http://www.creative-tim.com) + * Licensed under MIT (https://github.com/creativetimofficial/paper-dashboard/blob/master/LICENSE.md) + + ========================================================= + + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + + */ +/* brand Colors */ +/* +$default-color: #B8B8B8 !default; +$default-states-color: darken($default-color, 5%) !default; +$default-color-opacity: rgba(182, 182, 182, .6) !default; + +$primary-color: #f96332 !default; +$primary-states-color: darken($primary-color, 5%) !default; +$primary-color-opacity: rgba(249, 99, 50, .3) !default; +$primary-color-alert: rgba(249, 99, 50, .8) !default; + +$success-color: #18ce0f !default; +$success-states-color: darken($success-color, 5%) !default; +$success-color-opacity: rgba(24, 206, 15, .3) !default; +$success-color-alert: rgba(24, 206, 15, .8) !default; + +$info-color: #2CA8FF !default; +$info-states-color: #109CFF !default; +$info-color-opacity: rgba(44, 168, 255, .3) !default; +$info-color-alert: rgba(44, 168, 255, .8) !default; + +$warning-color: #FFB236 !default; +$warning-states-color: darken($warning-color, 5%) !default; +$warning-color-opacity: rgba(255, 178, 54, .3) !default; +$warning-color-alert: rgba(255, 178, 54, .8) !default; + +$danger-color: #FF3636 !default; +$danger-states-color: darken($danger-color, 5%) !default; +$danger-color-opacity: rgba(255, 54, 54, .3) !default; +$danger-color-alert: rgba(255, 54, 54, .8) !default; +*/ +/* light colors - used for select dropdown */ +/*$font-size-base: 14px !default; +$font-size-xs: 12px !default; +$font-size-small: 12px !default; +$font-size-medium: 16px !default; +$font-size-large: 18px !default; +$font-size-large-navbar: 20px !default;*/ +.ct-blue { + stroke: #f96332 !important; +} + +.ct-azure { + stroke: #067ec1 !important; +} + +.ct-green { + stroke: #18ce0f !important; +} + +.ct-orange { + stroke: #FFB236 !important; +} + +.ct-red { + stroke: #FF3636 !important; +} + +h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, .navbar, .brand, a, .td-name, td { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font-family: "Roboto","Helvetica Neue",Arial,sans-serif; +} + +h1, .h1, h2, .h2, h3, .h3, h4, .h4 { + font-weight: 400; + margin: 30px 0 15px; +} + +h1, .h1 { + font-size: 3.2em; +} + +h2, .h2 { + font-size: 2.6em; +} + +h3, .h3 { + font-size: 1.825em; + line-height: 1.4; + font-weight: 300; + margin: 20px 0 10px; +} + +h4, .h4 { + font-size: 1.5em; + font-weight: 300; + line-height: 1.2em; +} + +h5, .h5 { + font-size: 1.25em; + font-weight: 300; + line-height: 1.4em; + margin-bottom: 15px; +} + +h6, .h6 { + font-size: 0.9em; + font-weight: 300; + text-transform: uppercase; +} + +p { + font-size: 1em; + line-height: 1.4em; +} + +h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small { + color: #9A9A9A; + font-weight: 300; + line-height: 1.4em; +} + +h1 small, h2 small, h3 small, h1 .small, h2 .small, h3 .small { + font-size: 60%; +} + +.title-uppercase { + text-transform: uppercase; +} + +blockquote { + font-style: italic; +} + +blockquote small { + font-style: normal; +} + +.text-muted { + color: #DDDDDD; +} + +.text-primary, .text-primary:hover { + color: #427C89; +} + +.text-info, .text-info:hover { + color: #0688d0; +} + +.text-success, .text-success:hover { + color: #15b60d; +} + +.text-warning, .text-warning:hover { + color: #ffa81d; +} + +.text-danger, .text-danger:hover { + color: #ff1d1d; +} + +.glyphicon { + line-height: 1; +} + +strong { + color: #403D39; +} + +.icon-primary { + color: #f96332; +} + +.icon-info { + color: #067ec1; +} + +.icon-success { + color: #18ce0f; +} + +.icon-warning { + color: #FFB236; +} + +.icon-danger { + color: #FF3636; +} + +.chart-legend .text-primary, .chart-legend .text-primary:hover { + color: #f96332; +} + +.chart-legend .text-info, .chart-legend .text-info:hover { + color: #067ec1; +} + +.chart-legend .text-success, .chart-legend .text-success:hover { + color: #18ce0f; +} + +.chart-legend .text-warning, .chart-legend .text-warning:hover { + color: #FFB236; +} + +.chart-legend .text-danger, .chart-legend .text-danger:hover { + color: #FF3636; +} + +.description, +.card-description, +.footer-big p { + color: #9A9A9A; + font-weight: 300; +} + +/* General overwrite */ +body { + color: #4b4743; + font-size: 14px; + font-family: 'Muli', Arial, sans-serif; +} + +body .wrapper { + min-height: 100vh; + position: relative; +} + +a { + color: #067ec1; +} + +a:hover, a:focus { + color: #0688d0; + text-decoration: none; +} + +a:focus, a:active, +button::-moz-focus-inner, +input::-moz-focus-inner, +select::-moz-focus-inner, +input[type="file"] > input[type="button"]::-moz-focus-inner { + outline: 0 !important; +} + +.ui-slider-handle:focus, +.navbar-toggle, +input:focus, +button:focus { + outline: 0 !important; + -webkit-box-shadow: inset 0 -2px 0 #2196f3; + box-shadow: inset 0 -2px 0 #2196f3; +} + +/* Animations */ +.form-control, +.input-group-addon, +.tagsinput, +.navbar, +.navbar .alert { + -webkit-transition: all 300ms linear; + transition: all 300ms linear; +} + +.sidebar .nav a, +.table > tbody > tr .td-actions .btn { + -webkit-transition: all 150ms ease-in; + transition: all 150ms ease-in; +} + +.btn { + -webkit-transition: all 100ms ease-in; + transition: all 100ms ease-in; +} + +.fa { + width: 21px; + text-align: center; +} + +.fa-base { + font-size: 1.25em !important; +} + +.margin-top { + margin-top: 50px; +} + +hr { + border-color: #F1EAE0; +} + +.wrapper { + position: relative; + top: 0; + height: 100vh; +} + +.sidebar { + position: absolute; + top: 0; + bottom: 0; + left: 0; + z-index: 1; + background-size: cover; + background-position: center center; + color: #2c2c2c; +} + +.sidebar .sidebar-wrapper { + position: relative; + max-height: none; + min-height: 100%; + overflow: hidden; + width: 260px; + z-index: 4; + -webkit-box-shadow: inset -1px 0px 0px 0px #DDDDDD; + box-shadow: inset -1px 0px 0px 0px #DDDDDD; +} + +.sidebar .sidebar-background { + position: absolute; + z-index: 1; + height: 100%; + width: 100%; + display: block; + top: 0; + left: 0; + background-size: cover; + background-position: center center; +} + +.sidebar, +.off-canvas-sidebar { + width: 260px; + display: block; + font-weight: 200; +} + +.sidebar .logo, +.off-canvas-sidebar .logo { + padding: 18px 0px; + margin: 0 20px; +} + +.sidebar .logo p, +.off-canvas-sidebar .logo p { + float: left; + font-size: 20px; + margin: 10px 10px; + line-height: 20px; +} + +.sidebar .logo .simple-text, +.off-canvas-sidebar .logo .simple-text { + text-transform: uppercase; + padding: 4px 0px; + display: block; + font-size: 1em; + text-align: center; + font-weight: 400; + line-height: 30px; +} + +.sidebar .nav, +.off-canvas-sidebar .nav { + margin-top: 20px; +} + +.sidebar .nav li > a, +.off-canvas-sidebar .nav li > a { + padding-left: 25px; + padding-right: 25px; + opacity: .7; +} + +.sidebar .nav li:hover > a, +.off-canvas-sidebar .nav li:hover > a { + opacity: 1; +} + +.sidebar .nav li.active > a, +.off-canvas-sidebar .nav li.active > a { + color: #f96332; + opacity: 1; +} + +.sidebar .nav li.active > a:before, +.off-canvas-sidebar .nav li.active > a:before { + border-right: 17px solid #DDDDDD; + border-top: 17px solid transparent; + border-bottom: 17px solid transparent; + content: ""; + display: inline-block; + position: absolute; + right: 0; + top: 8px; +} + +.sidebar .nav li.active > a:after, +.off-canvas-sidebar .nav li.active > a:after { + border-right: 17px solid #ebeff2; + border-top: 17px solid transparent; + border-bottom: 17px solid transparent; + content: ""; + display: inline-block; + position: absolute; + right: -1px; + top: 8px; +} + +.sidebar .nav li h5, +.off-canvas-sidebar .nav li h5 { + -webkit-font-smoothing: antialiased; + font-family: Roboto, 'Helvetica Neue', Arial, sans-serif; + padding-left: 30px; +} + +.sidebar .nav li > a.menu, +.off-canvas-sidebar .nav li > a.menu { + padding: 0px; + padding-top: 10px; +} + +.sidebar .nav li ul, +.off-canvas-sidebar .nav li ul { + margin-top: 0px; +} + +.sidebar .nav p, +.off-canvas-sidebar .nav p { + margin: 0; + line-height: 30px; + font-size: 12px; + font-weight: 600; + text-transform: uppercase; +} + +.sidebar .nav i, +.off-canvas-sidebar .nav i { + font-size: 24px; + float: left; + margin-right: 15px; + line-height: 30px; + width: 30px; + text-align: center; +} + +.sidebar:after, .sidebar:before, +.off-canvas-sidebar:after, +.off-canvas-sidebar:before { + display: block; + content: ""; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + z-index: 2; + background: #FFFFFF; +} + +.sidebar:after, .sidebar:before, .sidebar[data-background-color="white"]:after, .sidebar[data-background-color="white"]:before, +.off-canvas-sidebar:after, +.off-canvas-sidebar:before, +.off-canvas-sidebar[data-background-color="white"]:after, +.off-canvas-sidebar[data-background-color="white"]:before { + background-color: #FFFFFF; +} + +.sidebar .logo, .sidebar[data-background-color="white"] .logo, +.off-canvas-sidebar .logo, +.off-canvas-sidebar[data-background-color="white"] .logo { + border-bottom: 1px solid rgba(44, 44, 44, 0.3); +} + +.sidebar .logo p, .sidebar[data-background-color="white"] .logo p, +.off-canvas-sidebar .logo p, +.off-canvas-sidebar[data-background-color="white"] .logo p { + color: #2c2c2c; +} + +.sidebar .logo .simple-text, .sidebar[data-background-color="white"] .logo .simple-text, +.off-canvas-sidebar .logo .simple-text, +.off-canvas-sidebar[data-background-color="white"] .logo .simple-text { + color: #2c2c2c; +} + +.sidebar .nav li:not(.active) > a, .sidebar[data-background-color="white"] .nav li:not(.active) > a, +.off-canvas-sidebar .nav li:not(.active) > a, +.off-canvas-sidebar[data-background-color="white"] .nav li:not(.active) > a { + color: #2c2c2c; +} + +.sidebar .nav .divider, .sidebar[data-background-color="white"] .nav .divider, +.off-canvas-sidebar .nav .divider, +.off-canvas-sidebar[data-background-color="white"] .nav .divider { + background-color: rgba(44, 44, 44, 0.2); +} + +.sidebar[data-background-color="black"]:after, .sidebar[data-background-color="black"]:before, +.off-canvas-sidebar[data-background-color="black"]:after, +.off-canvas-sidebar[data-background-color="black"]:before { + background-color: #0c1419; +} + +.sidebar[data-background-color="black"] .logo, +.off-canvas-sidebar[data-background-color="black"] .logo { + border-bottom: 1px solid rgba(255, 255, 255, 0.3); +} + +.sidebar[data-background-color="black"] .logo p, +.off-canvas-sidebar[data-background-color="black"] .logo p { + color: #FFFFFF; +} + +.sidebar[data-background-color="black"] .logo .simple-text, +.off-canvas-sidebar[data-background-color="black"] .logo .simple-text { + color: #FFFFFF; +} + +.sidebar[data-background-color="black"] .nav li:not(.active) > a, +.off-canvas-sidebar[data-background-color="black"] .nav li:not(.active) > a { + color: #FFFFFF; +} + +.sidebar[data-background-color="black"] .nav .divider, +.off-canvas-sidebar[data-background-color="black"] .nav .divider { + background-color: rgba(255, 255, 255, 0.2); +} + +.sidebar[data-active-color="primary"] .nav li.active > a, +.off-canvas-sidebar[data-active-color="primary"] .nav li.active > a { + color: #2c2c2c; + opacity: 1; +} + +.sidebar[data-active-color="info"] .nav li.active > a, +.off-canvas-sidebar[data-active-color="info"] .nav li.active > a { + color: #067ec1; + opacity: 1; +} + +.sidebar[data-active-color="success"] .nav li.active > a, +.off-canvas-sidebar[data-active-color="success"] .nav li.active > a { + color: #18ce0f; + opacity: 1; +} + +.sidebar[data-active-color="warning"] .nav li.active > a, +.off-canvas-sidebar[data-active-color="warning"] .nav li.active > a { + color: #FFB236; + opacity: 1; +} + +.sidebar[data-active-color="danger"] .nav li.active > a, +.off-canvas-sidebar[data-active-color="danger"] .nav li.active > a { + color: #FF3636; + opacity: 1; +} + +.main-panel { + background-color: #ebeff2; + position: relative; + z-index: 2; + float: right; + width: calc(100% - 260px); + min-height: 100%; +} + +.main-panel > .content { + padding: 0 2px; + min-height: calc(100% - 123px); +} + +.main-panel > .footer { + border-top: 1px solid rgba(0, 0, 0, 0.1); +} + +.main-panel .navbar { + margin-bottom: 0; +} + +.sidebar, +.main-panel { + overflow: auto; + max-height: 100%; + height: 100%; + -webkit-transition-property: top,bottom; + transition-property: top,bottom; + -webkit-transition-duration: .2s,.2s; + transition-duration: .2s,.2s; + -webkit-transition-timing-function: linear,linear; + transition-timing-function: linear,linear; + -webkit-overflow-scrolling: touch; +} + +/* badges */ +.badge { + border-radius: 8px; + padding: 4px 8px; + text-transform: uppercase; + font-size: 0.7142em; + line-height: 12px; + background-color: transparent; + border: 1px solid; + margin-bottom: 5px; + border-radius: 6px; +} + +.badge-icon { + padding: 0.4em 0.55em; +} + +.badge-icon i { + font-size: 0.8em; +} + +.badge-default { + border-color: #2c2c2c; + color: #2c2c2c; +} + +.badge-primary { + border-color: #f96332; + color: #f96332; +} + +.badge-info { + border-color: #067ec1; + color: #067ec1; +} + +.badge-success { + border-color: #18ce0f; + color: #18ce0f; +} + +.badge-warning { + border-color: #FFB236; + color: #FFB236; +} + +.badge-danger { + border-color: #FF3636; + color: #FF3636; +} + +.badge-neutral { + border-color: #FFFFFF; + color: #FFFFFF; +} + +.btn, +.navbar .navbar-nav > li > a.btn { + -webkit-box-sizing: border-box; + box-sizing: border-box; + background-color: transparent; + font-size: 14px; + font-weight: 500; + margin-top: 5px; + padding: 4px 18px; + background-color: #2c2c2c; + color: #FFFFFF; + -webkit-transition: all 150ms linear; + transition: all 150ms linear; +} + +.btn:hover, .btn:focus, .btn:active, .btn.active, .btn:active:focus, .btn:active:hover, .btn.active:focus, .btn.active:hover, +.open > .btn.dropdown-toggle, +.open > .btn.dropdown-toggle:focus, +.open > .btn.dropdown-toggle:hover, +.navbar .navbar-nav > li > a.btn:hover, +.navbar .navbar-nav > li > a.btn:focus, +.navbar .navbar-nav > li > a.btn:active, +.navbar .navbar-nav > li > a.btn.active, +.navbar .navbar-nav > li > a.btn:active:focus, +.navbar .navbar-nav > li > a.btn:active:hover, +.navbar .navbar-nav > li > a.btn.active:focus, +.navbar .navbar-nav > li > a.btn.active:hover, +.open > +.navbar .navbar-nav > li > a.btn.dropdown-toggle, +.open > +.navbar .navbar-nav > li > a.btn.dropdown-toggle:focus, +.open > +.navbar .navbar-nav > li > a.btn.dropdown-toggle:hover { + background-color: #403D39; + color: #FFFFFF; +} + +.btn.disabled, .btn.disabled:hover, .btn.disabled:focus, .btn.disabled.focus, .btn.disabled:active, .btn.disabled.active, .btn:disabled, .btn:disabled:hover, .btn:disabled:focus, .btn:disabled.focus, .btn:disabled:active, .btn:disabled.active, .btn[disabled], .btn[disabled]:hover, .btn[disabled]:focus, .btn[disabled].focus, .btn[disabled]:active, .btn[disabled].active, +fieldset[disabled] .btn, +fieldset[disabled] .btn:hover, +fieldset[disabled] .btn:focus, +fieldset[disabled] .btn.focus, +fieldset[disabled] .btn:active, +fieldset[disabled] .btn.active, +.navbar .navbar-nav > li > a.btn.disabled, +.navbar .navbar-nav > li > a.btn.disabled:hover, +.navbar .navbar-nav > li > a.btn.disabled:focus, +.navbar .navbar-nav > li > a.btn.disabled.focus, +.navbar .navbar-nav > li > a.btn.disabled:active, +.navbar .navbar-nav > li > a.btn.disabled.active, +.navbar .navbar-nav > li > a.btn:disabled, +.navbar .navbar-nav > li > a.btn:disabled:hover, +.navbar .navbar-nav > li > a.btn:disabled:focus, +.navbar .navbar-nav > li > a.btn:disabled.focus, +.navbar .navbar-nav > li > a.btn:disabled:active, +.navbar .navbar-nav > li > a.btn:disabled.active, +.navbar .navbar-nav > li > a.btn[disabled], +.navbar .navbar-nav > li > a.btn[disabled]:hover, +.navbar .navbar-nav > li > a.btn[disabled]:focus, +.navbar .navbar-nav > li > a.btn[disabled].focus, +.navbar .navbar-nav > li > a.btn[disabled]:active, +.navbar .navbar-nav > li > a.btn[disabled].active, +fieldset[disabled] +.navbar .navbar-nav > li > a.btn, +fieldset[disabled] +.navbar .navbar-nav > li > a.btn:hover, +fieldset[disabled] +.navbar .navbar-nav > li > a.btn:focus, +fieldset[disabled] +.navbar .navbar-nav > li > a.btn.focus, +fieldset[disabled] +.navbar .navbar-nav > li > a.btn:active, +fieldset[disabled] +.navbar .navbar-nav > li > a.btn.active { + background-color: #2c2c2c; + border-color: #2c2c2c; +} + +.btn.focus, .btn:focus, +.navbar .navbar-nav > li > a.btn.focus, +.navbar .navbar-nav > li > a.btn:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn.btn-simple, +.navbar .navbar-nav > li > a.btn.btn-simple { + color: #2c2c2c; + border-color: #2c2c2c; +} + +.btn.btn-simple:hover, .btn.btn-simple:focus, .btn.btn-simple:active, +.navbar .navbar-nav > li > a.btn.btn-simple:hover, +.navbar .navbar-nav > li > a.btn.btn-simple:focus, +.navbar .navbar-nav > li > a.btn.btn-simple:active { + background-color: transparent; + color: #403D39; + border-color: #403D39; +} + +.btn.btn-link, +.navbar .navbar-nav > li > a.btn.btn-link { + color: #2c2c2c; +} + +.btn.btn-link:hover, .btn.btn-link:focus, .btn.btn-link:active, +.navbar .navbar-nav > li > a.btn.btn-link:hover, +.navbar .navbar-nav > li > a.btn.btn-link:focus, +.navbar .navbar-nav > li > a.btn.btn-link:active { + background-color: transparent; + color: #403D39; + text-decoration: none; +} + +.btn:hover, .btn:focus, +.navbar .navbar-nav > li > a.btn:hover, +.navbar .navbar-nav > li > a.btn:focus { + outline: 0 !important; +} + +.btn:active, .btn.active, +.open > .btn.dropdown-toggle, +.navbar .navbar-nav > li > a.btn:active, +.navbar .navbar-nav > li > a.btn.active, +.open > +.navbar .navbar-nav > li > a.btn.dropdown-toggle { + -webkit-box-shadow: none; + box-shadow: none; + outline: 0 !important; +} + +.btn.btn-icon, +.navbar .navbar-nav > li > a.btn.btn-icon { + padding: 7px; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -2px; +} + +.navbar .navbar-nav > li > a.btn-primary, .btn-primary { + background-color: #f96332; + color: #FFFFFF; +} + +.navbar .navbar-nav > li > a.btn-primary:hover, .navbar .navbar-nav > li > a.btn-primary:focus, .navbar .navbar-nav > li > a.btn-primary:active, .navbar .navbar-nav > li > a.btn-primary.active, .navbar .navbar-nav > li > a.btn-primary:active:focus, .navbar .navbar-nav > li > a.btn-primary:active:hover, .navbar .navbar-nav > li > a.btn-primary.active:focus, .navbar .navbar-nav > li > a.btn-primary.active:hover, +.open > .navbar .navbar-nav > li > a.btn-primary.dropdown-toggle, +.open > .navbar .navbar-nav > li > a.btn-primary.dropdown-toggle:focus, +.open > .navbar .navbar-nav > li > a.btn-primary.dropdown-toggle:hover, .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary:active:focus, .btn-primary:active:hover, .btn-primary.active:focus, .btn-primary.active:hover, +.open > .btn-primary.dropdown-toggle, +.open > .btn-primary.dropdown-toggle:focus, +.open > .btn-primary.dropdown-toggle:hover { + background-color: #427C89; + color: #FFFFFF; +} + +.navbar .navbar-nav > li > a.btn-primary.disabled, .navbar .navbar-nav > li > a.btn-primary.disabled:hover, .navbar .navbar-nav > li > a.btn-primary.disabled:focus, .navbar .navbar-nav > li > a.btn-primary.disabled.focus, .navbar .navbar-nav > li > a.btn-primary.disabled:active, .navbar .navbar-nav > li > a.btn-primary.disabled.active, .navbar .navbar-nav > li > a.btn-primary:disabled, .navbar .navbar-nav > li > a.btn-primary:disabled:hover, .navbar .navbar-nav > li > a.btn-primary:disabled:focus, .navbar .navbar-nav > li > a.btn-primary:disabled.focus, .navbar .navbar-nav > li > a.btn-primary:disabled:active, .navbar .navbar-nav > li > a.btn-primary:disabled.active, .navbar .navbar-nav > li > a.btn-primary[disabled], .navbar .navbar-nav > li > a.btn-primary[disabled]:hover, .navbar .navbar-nav > li > a.btn-primary[disabled]:focus, .navbar .navbar-nav > li > a.btn-primary[disabled].focus, .navbar .navbar-nav > li > a.btn-primary[disabled]:active, .navbar .navbar-nav > li > a.btn-primary[disabled].active, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-primary, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-primary:hover, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-primary:focus, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-primary.focus, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-primary:active, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-primary.active, .btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary:disabled, .btn-primary:disabled:hover, .btn-primary:disabled:focus, .btn-primary:disabled.focus, .btn-primary:disabled:active, .btn-primary:disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled].focus, .btn-primary[disabled]:active, .btn-primary[disabled].active, +fieldset[disabled] .btn-primary, +fieldset[disabled] .btn-primary:hover, +fieldset[disabled] .btn-primary:focus, +fieldset[disabled] .btn-primary.focus, +fieldset[disabled] .btn-primary:active, +fieldset[disabled] .btn-primary.active { + background-color: #f96332; + border-color: #f96332; +} + +.navbar .navbar-nav > li > a.btn-primary.focus, .navbar .navbar-nav > li > a.btn-primary:focus, .btn-primary.focus, .btn-primary:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.navbar .navbar-nav > li > a.btn-primary.btn-simple, .btn-primary.btn-simple { + color: #f96332; + border-color: #f96332; +} + +.navbar .navbar-nav > li > a.btn-primary.btn-simple:hover, .navbar .navbar-nav > li > a.btn-primary.btn-simple:focus, .navbar .navbar-nav > li > a.btn-primary.btn-simple:active, .btn-primary.btn-simple:hover, .btn-primary.btn-simple:focus, .btn-primary.btn-simple:active { + background-color: transparent; + color: #427C89; + border-color: #427C89; +} + +.navbar .navbar-nav > li > a.btn-primary.btn-link, .btn-primary.btn-link { + color: #f96332; +} + +.navbar .navbar-nav > li > a.btn-primary.btn-link:hover, .navbar .navbar-nav > li > a.btn-primary.btn-link:focus, .navbar .navbar-nav > li > a.btn-primary.btn-link:active, .btn-primary.btn-link:hover, .btn-primary.btn-link:focus, .btn-primary.btn-link:active { + background-color: transparent; + color: #427C89; + text-decoration: none; +} + +.navbar .navbar-nav > li > a.btn-success, .btn-success { + background-color: #18ce0f; + color: #FFFFFF; +} + +.navbar .navbar-nav > li > a.btn-success:hover, .navbar .navbar-nav > li > a.btn-success:focus, .navbar .navbar-nav > li > a.btn-success:active, .navbar .navbar-nav > li > a.btn-success.active, .navbar .navbar-nav > li > a.btn-success:active:focus, .navbar .navbar-nav > li > a.btn-success:active:hover, .navbar .navbar-nav > li > a.btn-success.active:focus, .navbar .navbar-nav > li > a.btn-success.active:hover, +.open > .navbar .navbar-nav > li > a.btn-success.dropdown-toggle, +.open > .navbar .navbar-nav > li > a.btn-success.dropdown-toggle:focus, +.open > .navbar .navbar-nav > li > a.btn-success.dropdown-toggle:hover, .btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .btn-success:active:focus, .btn-success:active:hover, .btn-success.active:focus, .btn-success.active:hover, +.open > .btn-success.dropdown-toggle, +.open > .btn-success.dropdown-toggle:focus, +.open > .btn-success.dropdown-toggle:hover { + background-color: #15b60d; + color: #FFFFFF; +} + +.navbar .navbar-nav > li > a.btn-success.disabled, .navbar .navbar-nav > li > a.btn-success.disabled:hover, .navbar .navbar-nav > li > a.btn-success.disabled:focus, .navbar .navbar-nav > li > a.btn-success.disabled.focus, .navbar .navbar-nav > li > a.btn-success.disabled:active, .navbar .navbar-nav > li > a.btn-success.disabled.active, .navbar .navbar-nav > li > a.btn-success:disabled, .navbar .navbar-nav > li > a.btn-success:disabled:hover, .navbar .navbar-nav > li > a.btn-success:disabled:focus, .navbar .navbar-nav > li > a.btn-success:disabled.focus, .navbar .navbar-nav > li > a.btn-success:disabled:active, .navbar .navbar-nav > li > a.btn-success:disabled.active, .navbar .navbar-nav > li > a.btn-success[disabled], .navbar .navbar-nav > li > a.btn-success[disabled]:hover, .navbar .navbar-nav > li > a.btn-success[disabled]:focus, .navbar .navbar-nav > li > a.btn-success[disabled].focus, .navbar .navbar-nav > li > a.btn-success[disabled]:active, .navbar .navbar-nav > li > a.btn-success[disabled].active, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-success, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-success:hover, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-success:focus, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-success.focus, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-success:active, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-success.active, .btn-success.disabled, .btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled.focus, .btn-success.disabled:active, .btn-success.disabled.active, .btn-success:disabled, .btn-success:disabled:hover, .btn-success:disabled:focus, .btn-success:disabled.focus, .btn-success:disabled:active, .btn-success:disabled.active, .btn-success[disabled], .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled].focus, .btn-success[disabled]:active, .btn-success[disabled].active, +fieldset[disabled] .btn-success, +fieldset[disabled] .btn-success:hover, +fieldset[disabled] .btn-success:focus, +fieldset[disabled] .btn-success.focus, +fieldset[disabled] .btn-success:active, +fieldset[disabled] .btn-success.active { + background-color: #18ce0f; + border-color: #18ce0f; +} + +.navbar .navbar-nav > li > a.btn-success.focus, .navbar .navbar-nav > li > a.btn-success:focus, .btn-success.focus, .btn-success:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.navbar .navbar-nav > li > a.btn-success.btn-simple, .btn-success.btn-simple { + color: #18ce0f; + border-color: #18ce0f; +} + +.navbar .navbar-nav > li > a.btn-success.btn-simple:hover, .navbar .navbar-nav > li > a.btn-success.btn-simple:focus, .navbar .navbar-nav > li > a.btn-success.btn-simple:active, .btn-success.btn-simple:hover, .btn-success.btn-simple:focus, .btn-success.btn-simple:active { + background-color: transparent; + color: #15b60d; + border-color: #15b60d; +} + +.navbar .navbar-nav > li > a.btn-success.btn-link, .btn-success.btn-link { + color: #18ce0f; +} + +.navbar .navbar-nav > li > a.btn-success.btn-link:hover, .navbar .navbar-nav > li > a.btn-success.btn-link:focus, .navbar .navbar-nav > li > a.btn-success.btn-link:active, .btn-success.btn-link:hover, .btn-success.btn-link:focus, .btn-success.btn-link:active { + background-color: transparent; + color: #15b60d; + text-decoration: none; +} + +.navbar .navbar-nav > li > a.btn-info, .btn-info { + background-color: #067ec1; + color: #FFFFFF; +} + +.navbar .navbar-nav > li > a.btn-info:hover, .navbar .navbar-nav > li > a.btn-info:focus, .navbar .navbar-nav > li > a.btn-info:active, .navbar .navbar-nav > li > a.btn-info.active, .navbar .navbar-nav > li > a.btn-info:active:focus, .navbar .navbar-nav > li > a.btn-info:active:hover, .navbar .navbar-nav > li > a.btn-info.active:focus, .navbar .navbar-nav > li > a.btn-info.active:hover, +.open > .navbar .navbar-nav > li > a.btn-info.dropdown-toggle, +.open > .navbar .navbar-nav > li > a.btn-info.dropdown-toggle:focus, +.open > .navbar .navbar-nav > li > a.btn-info.dropdown-toggle:hover, .btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .btn-info:active:focus, .btn-info:active:hover, .btn-info.active:focus, .btn-info.active:hover, +.open > .btn-info.dropdown-toggle, +.open > .btn-info.dropdown-toggle:focus, +.open > .btn-info.dropdown-toggle:hover { + background-color: #0688d0; + color: #FFFFFF; +} + +.navbar .navbar-nav > li > a.btn-info.disabled, .navbar .navbar-nav > li > a.btn-info.disabled:hover, .navbar .navbar-nav > li > a.btn-info.disabled:focus, .navbar .navbar-nav > li > a.btn-info.disabled.focus, .navbar .navbar-nav > li > a.btn-info.disabled:active, .navbar .navbar-nav > li > a.btn-info.disabled.active, .navbar .navbar-nav > li > a.btn-info:disabled, .navbar .navbar-nav > li > a.btn-info:disabled:hover, .navbar .navbar-nav > li > a.btn-info:disabled:focus, .navbar .navbar-nav > li > a.btn-info:disabled.focus, .navbar .navbar-nav > li > a.btn-info:disabled:active, .navbar .navbar-nav > li > a.btn-info:disabled.active, .navbar .navbar-nav > li > a.btn-info[disabled], .navbar .navbar-nav > li > a.btn-info[disabled]:hover, .navbar .navbar-nav > li > a.btn-info[disabled]:focus, .navbar .navbar-nav > li > a.btn-info[disabled].focus, .navbar .navbar-nav > li > a.btn-info[disabled]:active, .navbar .navbar-nav > li > a.btn-info[disabled].active, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-info, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-info:hover, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-info:focus, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-info.focus, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-info:active, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-info.active, .btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled.focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info:disabled, .btn-info:disabled:hover, .btn-info:disabled:focus, .btn-info:disabled.focus, .btn-info:disabled:active, .btn-info:disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled].focus, .btn-info[disabled]:active, .btn-info[disabled].active, +fieldset[disabled] .btn-info, +fieldset[disabled] .btn-info:hover, +fieldset[disabled] .btn-info:focus, +fieldset[disabled] .btn-info.focus, +fieldset[disabled] .btn-info:active, +fieldset[disabled] .btn-info.active { + background-color: #067ec1; + border-color: #067ec1; +} + +.navbar .navbar-nav > li > a.btn-info.focus, .navbar .navbar-nav > li > a.btn-info:focus, .btn-info.focus, .btn-info:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.navbar .navbar-nav > li > a.btn-info.btn-simple, .btn-info.btn-simple { + color: #067ec1; + border-color: #067ec1; +} + +.navbar .navbar-nav > li > a.btn-info.btn-simple:hover, .navbar .navbar-nav > li > a.btn-info.btn-simple:focus, .navbar .navbar-nav > li > a.btn-info.btn-simple:active, .btn-info.btn-simple:hover, .btn-info.btn-simple:focus, .btn-info.btn-simple:active { + background-color: transparent; + color: #0688d0; + border-color: #0688d0; +} + +.navbar .navbar-nav > li > a.btn-info.btn-link, .btn-info.btn-link { + color: #067ec1; +} + +.navbar .navbar-nav > li > a.btn-info.btn-link:hover, .navbar .navbar-nav > li > a.btn-info.btn-link:focus, .navbar .navbar-nav > li > a.btn-info.btn-link:active, .btn-info.btn-link:hover, .btn-info.btn-link:focus, .btn-info.btn-link:active { + background-color: transparent; + color: #0688d0; + text-decoration: none; +} + +.navbar .navbar-nav > li > a.btn-warning, .btn-warning { + background-color: #FFB236; + color: #FFFFFF; +} + +.navbar .navbar-nav > li > a.btn-warning:hover, .navbar .navbar-nav > li > a.btn-warning:focus, .navbar .navbar-nav > li > a.btn-warning:active, .navbar .navbar-nav > li > a.btn-warning.active, .navbar .navbar-nav > li > a.btn-warning:active:focus, .navbar .navbar-nav > li > a.btn-warning:active:hover, .navbar .navbar-nav > li > a.btn-warning.active:focus, .navbar .navbar-nav > li > a.btn-warning.active:hover, +.open > .navbar .navbar-nav > li > a.btn-warning.dropdown-toggle, +.open > .navbar .navbar-nav > li > a.btn-warning.dropdown-toggle:focus, +.open > .navbar .navbar-nav > li > a.btn-warning.dropdown-toggle:hover, .btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .btn-warning:active:focus, .btn-warning:active:hover, .btn-warning.active:focus, .btn-warning.active:hover, +.open > .btn-warning.dropdown-toggle, +.open > .btn-warning.dropdown-toggle:focus, +.open > .btn-warning.dropdown-toggle:hover { + background-color: #ffa81d; + color: #FFFFFF; +} + +.navbar .navbar-nav > li > a.btn-warning.disabled, .navbar .navbar-nav > li > a.btn-warning.disabled:hover, .navbar .navbar-nav > li > a.btn-warning.disabled:focus, .navbar .navbar-nav > li > a.btn-warning.disabled.focus, .navbar .navbar-nav > li > a.btn-warning.disabled:active, .navbar .navbar-nav > li > a.btn-warning.disabled.active, .navbar .navbar-nav > li > a.btn-warning:disabled, .navbar .navbar-nav > li > a.btn-warning:disabled:hover, .navbar .navbar-nav > li > a.btn-warning:disabled:focus, .navbar .navbar-nav > li > a.btn-warning:disabled.focus, .navbar .navbar-nav > li > a.btn-warning:disabled:active, .navbar .navbar-nav > li > a.btn-warning:disabled.active, .navbar .navbar-nav > li > a.btn-warning[disabled], .navbar .navbar-nav > li > a.btn-warning[disabled]:hover, .navbar .navbar-nav > li > a.btn-warning[disabled]:focus, .navbar .navbar-nav > li > a.btn-warning[disabled].focus, .navbar .navbar-nav > li > a.btn-warning[disabled]:active, .navbar .navbar-nav > li > a.btn-warning[disabled].active, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-warning, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-warning:hover, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-warning:focus, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-warning.focus, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-warning:active, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-warning.active, .btn-warning.disabled, .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled.focus, .btn-warning.disabled:active, .btn-warning.disabled.active, .btn-warning:disabled, .btn-warning:disabled:hover, .btn-warning:disabled:focus, .btn-warning:disabled.focus, .btn-warning:disabled:active, .btn-warning:disabled.active, .btn-warning[disabled], .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled].focus, .btn-warning[disabled]:active, .btn-warning[disabled].active, +fieldset[disabled] .btn-warning, +fieldset[disabled] .btn-warning:hover, +fieldset[disabled] .btn-warning:focus, +fieldset[disabled] .btn-warning.focus, +fieldset[disabled] .btn-warning:active, +fieldset[disabled] .btn-warning.active { + background-color: #FFB236; + border-color: #FFB236; +} + +.navbar .navbar-nav > li > a.btn-warning.focus, .navbar .navbar-nav > li > a.btn-warning:focus, .btn-warning.focus, .btn-warning:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.navbar .navbar-nav > li > a.btn-warning.btn-simple, .btn-warning.btn-simple { + color: #FFB236; + border-color: #FFB236; +} + +.navbar .navbar-nav > li > a.btn-warning.btn-simple:hover, .navbar .navbar-nav > li > a.btn-warning.btn-simple:focus, .navbar .navbar-nav > li > a.btn-warning.btn-simple:active, .btn-warning.btn-simple:hover, .btn-warning.btn-simple:focus, .btn-warning.btn-simple:active { + background-color: transparent; + color: #ffa81d; + border-color: #ffa81d; +} + +.navbar .navbar-nav > li > a.btn-warning.btn-link, .btn-warning.btn-link { + color: #FFB236; +} + +.navbar .navbar-nav > li > a.btn-warning.btn-link:hover, .navbar .navbar-nav > li > a.btn-warning.btn-link:focus, .navbar .navbar-nav > li > a.btn-warning.btn-link:active, .btn-warning.btn-link:hover, .btn-warning.btn-link:focus, .btn-warning.btn-link:active { + background-color: transparent; + color: #ffa81d; + text-decoration: none; +} + +.navbar .navbar-nav > li > a.btn-danger, .btn-danger { + background-color: #FF3636; + color: #FFFFFF; +} + +.navbar .navbar-nav > li > a.btn-danger:hover, .navbar .navbar-nav > li > a.btn-danger:focus, .navbar .navbar-nav > li > a.btn-danger:active, .navbar .navbar-nav > li > a.btn-danger.active, .navbar .navbar-nav > li > a.btn-danger:active:focus, .navbar .navbar-nav > li > a.btn-danger:active:hover, .navbar .navbar-nav > li > a.btn-danger.active:focus, .navbar .navbar-nav > li > a.btn-danger.active:hover, +.open > .navbar .navbar-nav > li > a.btn-danger.dropdown-toggle, +.open > .navbar .navbar-nav > li > a.btn-danger.dropdown-toggle:focus, +.open > .navbar .navbar-nav > li > a.btn-danger.dropdown-toggle:hover, .btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .btn-danger:active:focus, .btn-danger:active:hover, .btn-danger.active:focus, .btn-danger.active:hover, +.open > .btn-danger.dropdown-toggle, +.open > .btn-danger.dropdown-toggle:focus, +.open > .btn-danger.dropdown-toggle:hover { + background-color: #ff1d1d; + color: #FFFFFF; +} + +.navbar .navbar-nav > li > a.btn-danger.disabled, .navbar .navbar-nav > li > a.btn-danger.disabled:hover, .navbar .navbar-nav > li > a.btn-danger.disabled:focus, .navbar .navbar-nav > li > a.btn-danger.disabled.focus, .navbar .navbar-nav > li > a.btn-danger.disabled:active, .navbar .navbar-nav > li > a.btn-danger.disabled.active, .navbar .navbar-nav > li > a.btn-danger:disabled, .navbar .navbar-nav > li > a.btn-danger:disabled:hover, .navbar .navbar-nav > li > a.btn-danger:disabled:focus, .navbar .navbar-nav > li > a.btn-danger:disabled.focus, .navbar .navbar-nav > li > a.btn-danger:disabled:active, .navbar .navbar-nav > li > a.btn-danger:disabled.active, .navbar .navbar-nav > li > a.btn-danger[disabled], .navbar .navbar-nav > li > a.btn-danger[disabled]:hover, .navbar .navbar-nav > li > a.btn-danger[disabled]:focus, .navbar .navbar-nav > li > a.btn-danger[disabled].focus, .navbar .navbar-nav > li > a.btn-danger[disabled]:active, .navbar .navbar-nav > li > a.btn-danger[disabled].active, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-danger, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-danger:hover, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-danger:focus, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-danger.focus, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-danger:active, +fieldset[disabled] .navbar .navbar-nav > li > a.btn-danger.active, .btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled.focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger:disabled, .btn-danger:disabled:hover, .btn-danger:disabled:focus, .btn-danger:disabled.focus, .btn-danger:disabled:active, .btn-danger:disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled].focus, .btn-danger[disabled]:active, .btn-danger[disabled].active, +fieldset[disabled] .btn-danger, +fieldset[disabled] .btn-danger:hover, +fieldset[disabled] .btn-danger:focus, +fieldset[disabled] .btn-danger.focus, +fieldset[disabled] .btn-danger:active, +fieldset[disabled] .btn-danger.active { + background-color: #FF3636; + border-color: #FF3636; +} + +.navbar .navbar-nav > li > a.btn-danger.focus, .navbar .navbar-nav > li > a.btn-danger:focus, .btn-danger.focus, .btn-danger:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.navbar .navbar-nav > li > a.btn-danger.btn-simple, .btn-danger.btn-simple { + color: #FF3636; + border-color: #FF3636; +} + +.navbar .navbar-nav > li > a.btn-danger.btn-simple:hover, .navbar .navbar-nav > li > a.btn-danger.btn-simple:focus, .navbar .navbar-nav > li > a.btn-danger.btn-simple:active, .btn-danger.btn-simple:hover, .btn-danger.btn-simple:focus, .btn-danger.btn-simple:active { + background-color: transparent; + color: #ff1d1d; + border-color: #ff1d1d; +} + +.navbar .navbar-nav > li > a.btn-danger.btn-link, .btn-danger.btn-link { + color: #FF3636; +} + +.navbar .navbar-nav > li > a.btn-danger.btn-link:hover, .navbar .navbar-nav > li > a.btn-danger.btn-link:focus, .navbar .navbar-nav > li > a.btn-danger.btn-link:active, .btn-danger.btn-link:hover, .btn-danger.btn-link:focus, .btn-danger.btn-link:active { + background-color: transparent; + color: #ff1d1d; + text-decoration: none; +} + +.btn-neutral { + background-color: #FFFFFF; + color: #FFFFFF; +} + +.btn-neutral:hover, .btn-neutral:focus, .btn-neutral:active, .btn-neutral.active, .btn-neutral:active:focus, .btn-neutral:active:hover, .btn-neutral.active:focus, .btn-neutral.active:hover, +.open > .btn-neutral.dropdown-toggle, +.open > .btn-neutral.dropdown-toggle:focus, +.open > .btn-neutral.dropdown-toggle:hover { + background-color: #FFFFFF; + color: #FFFFFF; +} + +.btn-neutral.disabled, .btn-neutral.disabled:hover, .btn-neutral.disabled:focus, .btn-neutral.disabled.focus, .btn-neutral.disabled:active, .btn-neutral.disabled.active, .btn-neutral:disabled, .btn-neutral:disabled:hover, .btn-neutral:disabled:focus, .btn-neutral:disabled.focus, .btn-neutral:disabled:active, .btn-neutral:disabled.active, .btn-neutral[disabled], .btn-neutral[disabled]:hover, .btn-neutral[disabled]:focus, .btn-neutral[disabled].focus, .btn-neutral[disabled]:active, .btn-neutral[disabled].active, +fieldset[disabled] .btn-neutral, +fieldset[disabled] .btn-neutral:hover, +fieldset[disabled] .btn-neutral:focus, +fieldset[disabled] .btn-neutral.focus, +fieldset[disabled] .btn-neutral:active, +fieldset[disabled] .btn-neutral.active { + background-color: #FFFFFF; + border-color: #FFFFFF; +} + +.btn-neutral.focus, .btn-neutral:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-neutral.btn-danger { + color: #FF3636; +} + +.btn-neutral.btn-danger:hover, .btn-neutral.btn-danger:focus, .btn-neutral.btn-danger:active { + color: #ff1d1d; +} + +.btn-neutral.btn-info { + color: #FFFFFF; +} + +.btn-neutral.btn-info:hover, .btn-neutral.btn-info:focus, .btn-neutral.btn-info:active { + color: #0688d0; +} + +.btn-neutral.btn-warning { + color: #FFFFFF; +} + +.btn-neutral.btn-warning:hover, .btn-neutral.btn-warning:focus, .btn-neutral.btn-warning:active { + color: #ffa81d; +} + +.btn-neutral.btn-success { + color: #FFFFFF; +} + +.btn-neutral.btn-success:hover, .btn-neutral.btn-success:focus, .btn-neutral.btn-success:active { + color: #15b60d; +} + +.btn-neutral.btn-default { + color: #FFFFFF; +} + +.btn-neutral.btn-default:hover, .btn-neutral.btn-default:focus, .btn-neutral.btn-default:active { + color: #403D39; +} + +.btn-neutral.active, .btn-neutral:active:focus, .btn-neutral:active:hover, .btn-neutral.active:focus, .btn-neutral.active:hover, +.open > .btn-neutral.dropdown-toggle, +.open > .btn-neutral.dropdown-toggle:focus, +.open > .btn-neutral.dropdown-toggle:hover { + background-color: #FFFFFF; + color: #f96332; +} + +.btn-neutral:hover, .btn-neutral:focus, .btn-neutral:active { + color: #427C89; +} + +.btn-neutral.btn-simple { + color: #FFFFFF; + border-color: #FFFFFF; +} + +.btn-neutral.btn-simple:hover, .btn-neutral.btn-simple:focus, .btn-neutral.btn-simple:active { + background-color: transparent; + color: #FFFFFF; + border-color: #FFFFFF; +} + +.btn-neutral.btn-link { + color: #FFFFFF; +} + +.btn-neutral.btn-link:hover, .btn-neutral.btn-link:focus, .btn-neutral.btn-link:active { + background-color: transparent; + color: #FFFFFF; + text-decoration: none; +} + +.btn-neutral:hover, .btn-neutral:focus { + color: #2c2c2c; +} + +.btn-neutral:active, .btn-neutral.active, +.open > .btn-neutral.dropdown-toggle { + background-color: #FFFFFF; + color: #2c2c2c; +} + +.btn-neutral.btn-fill { + color: #2c2c2c; +} + +.btn-neutral.btn-fill:hover, .btn-neutral.btn-fill:focus { + color: #403D39; +} + +.btn-neutral.btn-simple:active, .btn-neutral.btn-simple.active { + background-color: transparent; +} + +.btn:disabled, .btn[disabled], .btn.disabled { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.btn-simple { + border: 0; + padding: 7px 18px; +} + +.btn-simple.btn-icon { + padding: 7px; +} + +.btn-lg { + font-size: 1em; + padding: 11px 30px; + font-weight: 400; +} + +.btn-lg.btn-simple { + padding: 13px 30px; +} + +.btn-sm { + font-size: 0.8571em; + padding: 4px 10px; +} + +.btn-sm.btn-simple { + padding: 6px 10px; +} + +.btn-xs { + font-size: 0.7142em; + padding: 2px 5px; +} + +.btn-xs.btn-simple { + padding: 4px 5px; +} + +.btn-wd { + min-width: 140px; +} + +.btn-group.select { + width: 100%; +} + +.btn-group.select .btn { + text-align: left; +} + +.btn-group.select .caret { + position: absolute; + top: 50%; + margin-top: -1px; + right: 8px; +} + +.form-control::-moz-placeholder { + color: #DDDDDD; + opacity: 1; + filter: alpha(opacity=100); +} + +.form-control:-moz-placeholder { + color: #DDDDDD; + opacity: 1; + filter: alpha(opacity=100); +} + +.form-control::-webkit-input-placeholder { + color: #DDDDDD; + opacity: 1; + filter: alpha(opacity=100); +} + +.form-control:-ms-input-placeholder { + color: #DDDDDD; + opacity: 1; + filter: alpha(opacity=100); +} + +.form-control { + font-family: "Avenir-light", "AvenirLTStd-Light", sans-serif !important; + border-radius: 0; + background-color: transparent; + border: 1px solid #E3E3E3; + color: #333333; + line-height: 1em; + font-size: 14px; + font-weight: 400; + -webkit-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out; + transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out; + -webkit-box-shadow: none; + box-shadow: none; +} + +.has-success .form-control { + border-color: #E3E3E3; +} + +.form-control:focus { + border: 1px solid #067ec1; + -webkit-box-shadow: none; + box-shadow: none; + outline: 0 !important; + color: #333333; +} + +.form-control:focus + .input-group-addon, +.form-control:focus ~ .input-group-addon { + border: 1px solid #067ec1; + background-color: transparent; +} + +.has-success .form-control, +.has-error .form-control, +.has-success .form-control:focus, +.has-error .form-control:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.has-danger .form-control.form-control-success, .has-danger .form-control.form-control-danger, +.has-success .form-control.form-control-success, +.has-success .form-control.form-control-danger { + background-image: none; +} + +.has-danger .form-control { + background-color: #ffcfcf; + border-color: #ffcfcf; + color: #FF3636; +} + +.has-danger .form-control:focus { + background-color: rgba(222, 222, 222, 0.3); +} + +.form-control + .form-control-feedback { + border-radius: 0.125rem; + font-size: 14px; + margin-top: -7px; + position: absolute; + right: 10px; + top: 50%; + vertical-align: middle; +} + +.open .form-control { + border-radius: 0.125rem 0.125rem 0 0; + border-bottom-color: transparent; +} + +.form-control + .input-group-addon { + background-color: #FFFFFF; +} + +.has-success:after, +.has-danger:after { + font-family: 'Nucleo Outline'; + content: "\EA22"; + display: inline-block; + position: absolute; + right: 35px; + top: 12px; + color: #18ce0f; + font-size: 11px; +} + +.has-success.input-lg:after, +.has-danger.input-lg:after { + font-size: 13px; + top: 13px; +} + +.has-danger:after { + content: "\EA53"; + color: #FF3636; +} + +.form-group.form-group-no-border.input-sm .input-group-addon, +.input-group.form-group-no-border.input-sm .input-group-addon { + padding: 4px 0 4px 10px; +} + +.form-group.form-group-no-border.input-sm .form-control, +.input-group.form-group-no-border.input-sm .form-control { + padding: 4px 10px; +} + +.form-group.form-group-no-border.input-sm .form-control + .input-group-addon, +.input-group.form-group-no-border.input-sm .form-control + .input-group-addon { + padding: 4px 10px 4px 0; +} + +.form-group.input-sm .form-control, +.input-group.input-sm .form-control { + padding: 3px 9px; +} + +.form-group.input-sm .form-control + .input-group-addon, +.input-group.input-sm .form-control + .input-group-addon { + padding: 3px 9px 3px 0; +} + +.form-group.input-sm .input-group-addon, +.input-group.input-sm .input-group-addon { + padding: 3px 0 4px 9px; +} + +.form-group.input-sm .input-group-addon + .form-control, +.input-group.input-sm .input-group-addon + .form-control { + padding: 4px 9px 4px 7px; +} + +.form-group.form-group-no-border.input-lg .input-group-addon, +.input-group.form-group-no-border.input-lg .input-group-addon { + padding: 11px 0 11px 19px; +} + +.form-group.form-group-no-border.input-lg .form-control, +.input-group.form-group-no-border.input-lg .form-control { + padding: 11px 19px; +} + +.form-group.form-group-no-border.input-lg .form-control + .input-group-addon, +.input-group.form-group-no-border.input-lg .form-control + .input-group-addon { + padding: 11px 19px 11px 0; +} + +.form-group.input-lg .form-control, +.input-group.input-lg .form-control { + padding: 10px 18px; +} + +.form-group.input-lg .form-control + .input-group-addon, +.input-group.input-lg .form-control + .input-group-addon { + padding: 10px 18px 10px 0; +} + +.form-group.input-lg .input-group-addon, +.input-group.input-lg .input-group-addon { + padding: 10px 0 11px 18px; +} + +.form-group.input-lg .input-group-addon + .form-control, +.input-group.input-lg .input-group-addon + .form-control { + padding: 11px 18px 11px 16px; +} + +.form-group.form-group-no-border .form-control, +.input-group.form-group-no-border .form-control { + /*margin-top: 2px;*/ + padding: 4px 10px; +} + +.form-group.form-group-no-border .form-control + .input-group-addon, +.input-group.form-group-no-border .form-control + .input-group-addon { + padding: 4px 10px 4px 0; +} + +.form-group.form-group-no-border .input-group-addon, +.input-group.form-group-no-border .input-group-addon { + padding: 4px 0 4px 10px; +} + +.form-group .form-control, +.input-group .form-control { + margin-top: 2px; + padding: 3px 9px 3px 9px; +} + +.form-group .form-control + .input-group-addon, +.input-group .form-control + .input-group-addon { + padding: 3px 9px 3px 0; +} + +.form-group .input-group-addon, +.input-group .input-group-addon { + padding: 3px 0 3px 9px; +} + +.form-group .input-group-addon + .form-control, +.form-group .input-group-addon ~ .form-control, +.input-group .input-group-addon + .form-control, +.input-group .input-group-addon ~ .form-control { + padding: 3px 10px 4px 7px; +} + +.form-group.form-group-no-border .form-control, +.form-group.form-group-no-border .form-control + .input-group-addon, +.input-group.form-group-no-border .form-control, +.input-group.form-group-no-border .form-control + .input-group-addon { + background-color: rgba(222, 222, 222, 0.3); + border: medium none; +} + +.form-group.form-group-no-border .form-control:focus, .form-group.form-group-no-border .form-control:active, .form-group.form-group-no-border .form-control:active, +.form-group.form-group-no-border .form-control + .input-group-addon:focus, +.form-group.form-group-no-border .form-control + .input-group-addon:active, +.form-group.form-group-no-border .form-control + .input-group-addon:active, +.input-group.form-group-no-border .form-control:focus, +.input-group.form-group-no-border .form-control:active, +.input-group.form-group-no-border .form-control:active, +.input-group.form-group-no-border .form-control + .input-group-addon:focus, +.input-group.form-group-no-border .form-control + .input-group-addon:active, +.input-group.form-group-no-border .form-control + .input-group-addon:active { + border: medium none; + background-color: rgba(222, 222, 222, 0.5); +} + +.form-group.form-group-no-border .form-control:focus + .input-group-addon, +.input-group.form-group-no-border .form-control:focus + .input-group-addon { + background-color: rgba(222, 222, 222, 0.5); +} + +.form-group.form-group-no-border .input-group-addon, +.input-group.form-group-no-border .input-group-addon { + background-color: rgba(222, 222, 222, 0.3); + border: none; +} + +.has-error .form-control-feedback, .has-error .control-label { + color: #FF3636; +} + +.has-success .form-control-feedback, .has-success .control-label { + color: #18ce0f; +} + +.input-group-addon { + background-color: #FFFFFF; + border: 1px solid #E3E3E3; + border-radius: 0.125rem; + color: #555555; + padding: 6px 0 6px 17px; + -webkit-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out; + transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out; +} + +.has-success .input-group-addon, +.has-danger .input-group-addon { + background-color: #FFFFFF; +} + +.has-danger .form-control:focus + .input-group-addon { + color: #FF3636; +} + +.has-success .form-control:focus + .input-group-addon { + color: #18ce0f; +} + +.input-group-addon + .form-control, +.input-group-addon ~ .form-control { + padding: 6px 18px; + padding-left: 18px; +} + +.input-group-focus .input-group-addon { + background-color: #FFFFFF; + border-color: #f96332; +} + +.input-group-focus.form-group-no-border .input-group-addon { + background-color: rgba(222, 222, 222, 0.5); +} + +.input-group, +.form-group { + margin-bottom: 10px; +} + +.input-group[disabled] .input-group-addon { + background-color: #E3E3E3; +} + +/*.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-right: 0 none; +} +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-left: 0 none; +}*/ +.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { + background-color: #E3E3E3; + color: #2c2c2c; + cursor: not-allowed; +} + +.input-group-btn .btn { + border-width: 1px; + padding: 11px 18px; +} + +.input-group-btn .btn-default:not(.btn-fill) { + border-color: #DDDDDD; +} + +.input-group-btn:last-child > .btn { + margin-left: 0; +} + +textarea.form-control { + max-width: 100%; + padding: 10px 10px; + resize: none; + background-color: transparent; + border: 1px solid #E3E3E3; + color: #333333; + line-height: 1em; + font-size: 14px; + font-weight: 400; + border-radius: 0; +} + +textarea.form-control:focus, textarea.form-control:active { + -webkit-box-shadow: none; + box-shadow: none; + border: 1px solid #067ec1; + background-color: transparent; +} + +.has-success.form-group .form-control, +.has-success.form-group.form-group-no-border .form-control, +.has-danger.form-group .form-control, +.has-danger.form-group.form-group-no-border .form-control { + padding-right: 40px; +} + +.alert { + border: 0; + border-radius: 0; + color: #FFFFFF; + padding: 10px 15px; + font-size: 14px; +} + +.container .alert { + border-radius: 4px; +} + +.navbar .alert { + border-radius: 0; + left: 0; + position: absolute; + right: 0; + top: 85px; + width: 100%; + z-index: 3; +} + +.navbar:not(.navbar-transparent) .alert { + top: 70px; +} + +.alert span[data-notify="icon"] { + font-size: 30px; + display: block; + left: 15px; + position: absolute; + top: 50%; + margin-top: -20px; +} + +.alert .close ~ span { + display: block; + max-width: 89%; +} + +.alert[data-notify="container"] { + padding: 10px 10px 10px 20px; + border-radius: 2px; +} + +.alert.alert-with-icon { + padding-left: 65px; +} + +.alert-info { + background-color: #7CE4FE; + color: #0688d0; +} + +.alert-success { + background-color: #8EF3C5; + color: #15b60d; +} + +.alert-warning { + background-color: #FFE28C; + color: #ffa81d; +} + +.alert-danger { + background-color: #FF3636; + color: #FFF; +} + +.table thead tr > th, +.table thead tr > td, +.table tbody tr > th, +.table tbody tr > td, +.table tfoot tr > th, +.table tfoot tr > td { + border-top: 1px solid #CCC5B9; +} + +.table > thead > tr > th { + border-bottom-width: 0; + font-size: 1.25em; + font-weight: 300; +} + +.table .radio, +.table .checkbox { + margin-top: 0; + margin-bottom: 22px; + padding: 0; + width: 15px; +} + +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 12px; + vertical-align: middle; +} + +.table .th-description { + max-width: 150px; +} + +.table .td-price { + font-size: 26px; + font-weight: 300; + margin-top: 5px; + text-align: right; +} + +.table .td-total { + font-weight: 600; + font-size: 1.25em; + padding-top: 20px; + text-align: right; +} + +.table .td-actions .btn.btn-sm, .table .td-actions .btn.btn-xs { + padding-left: 3px; + padding-right: 3px; +} + +.table > tbody > tr { + position: relative; +} + +.table-striped tbody > tr:nth-of-type(2n+1) { + background-color: #fff; +} + +.table-striped tbody > tr:nth-of-type(2n) { + background-color: #FFFCF5; +} + +.table-striped > thead > tr > th, +.table-striped > tbody > tr > th, +.table-striped > tfoot > tr > th, +.table-striped > thead > tr > td, +.table-striped > tbody > tr > td, +.table-striped > tfoot > tr > td { + padding: 15px 8px; +} + +/* Checkbox and radio */ +.checkbox, +.radio { + margin-bottom: 12px; + padding-left: 30px; + position: relative; + -webkit-transition: color,opacity 0.25s linear; + transition: color,opacity 0.25s linear; + font-size: 14px; + font-weight: normal; + line-height: 1.5; + color: #4b4743; + cursor: pointer; +} + +.checkbox .icons, +.radio .icons { + color: #4b4743; + display: block; + height: 20px; + left: 0; + position: absolute; + top: 0; + width: 20px; + text-align: center; + line-height: 21px; + font-size: 20px; + cursor: pointer; + -webkit-transition: color,opacity 0.15s linear; + transition: color,opacity 0.15s linear; + opacity: .50; +} + +.checkbox.checked .icons, +.radio.checked .icons { + opacity: 1; +} + +.checkbox input, +.radio input { + outline: none !important; + display: none; +} + +.checkbox label, +.radio label { + padding-left: 10px; +} + +.checkbox .icons .first-icon, +.radio .icons .first-icon, +.checkbox .icons .second-icon, +.radio .icons .second-icon { + display: inline-table; + position: absolute; + left: 0; + top: 0; + background-color: transparent; + margin: 0; + opacity: 1; + filter: alpha(opacity=100); +} + +.checkbox .icons .second-icon, +.radio .icons .second-icon { + opacity: 0; + filter: alpha(opacity=0); +} + +.checkbox:hover, +.radio:hover { + -webkit-transition: color 0.2s linear; + transition: color 0.2s linear; +} + +.checkbox:hover .first-icon, +.radio:hover .first-icon { + opacity: 0; + filter: alpha(opacity=0); +} + +.checkbox:hover .second-icon, +.radio:hover .second-icon { + opacity: 1; + filter: alpha(opacity=100); +} + +.checkbox.checked .first-icon, +.radio.checked .first-icon { + opacity: 0; + filter: alpha(opacity=0); +} + +.checkbox.checked .second-icon, +.radio.checked .second-icon { + opacity: 1; + filter: alpha(opacity=100); + -webkit-transition: color 0.2s linear; + transition: color 0.2s linear; +} + +.checkbox.disabled, +.radio.disabled { + cursor: default; + color: #DDDDDD; +} + +.checkbox.disabled .icons, +.radio.disabled .icons { + color: #DDDDDD; +} + +.checkbox.disabled .first-icon, +.radio.disabled .first-icon { + opacity: 1; + filter: alpha(opacity=100); +} + +.checkbox.disabled .second-icon, +.radio.disabled .second-icon { + opacity: 0; + filter: alpha(opacity=0); +} + +.checkbox.disabled.checked .icons, +.radio.disabled.checked .icons { + color: #DDDDDD; +} + +.checkbox.disabled.checked .first-icon, +.radio.disabled.checked .first-icon { + opacity: 0; + filter: alpha(opacity=0); +} + +.checkbox.disabled.checked .second-icon, +.radio.disabled.checked .second-icon { + opacity: 1; + color: #DDDDDD; + filter: alpha(opacity=100); +} + +.nav > li > a:hover, +.nav > li > a:focus { + background-color: transparent; +} + +.navbar { + border: 0; + border-radius: 0; + font-size: 1em; + z-index: 3; +} + +.navbar .navbar-brand { + color: #FFFFFF; + font-weight: 300; + margin: 5px 0px; + padding: 20px 15px; + font-size: 20px; +} + +.navbar .navbar-nav > li > a { + line-height: 1.42857; + margin: 15px 0px; + padding: 10px 15px; +} + +.navbar .navbar-nav > li > a i, +.navbar .navbar-nav > li > a p { + display: inline-block; + margin: 0; +} + +.navbar .navbar-nav > li > a i { + position: relative; + margin-right: 5px; + top: 1px; +} + +.navbar .navbar-nav > li > a.btn { + margin: 15px 3px; + padding: 7px 18px; +} + +.navbar .btn { + margin: 15px 3px; + font-size: 14px; +} + +.navbar .btn-simple { + font-size: 14px; +} + +.navbar-nav > li > .dropdown-menu { + border-radius: 6px; + margin-top: -5px; +} + +.navbar-default { + color: #FFFFFF; + background-color: #067ec1; + border-bottom: 1px solid #DDDDDD; +} + +.navbar-default .brand { + color: #FFFFFF !important; +} + +.navbar-default .navbar-nav > li > a:not(.btn) { + color: #FFFFFF; +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:not(.btn):hover, +.navbar-default .navbar-nav > .active > a:not(.btn):focus, +.navbar-default .navbar-nav > li > a:not(.btn):hover, +.navbar-default .navbar-nav > li > a:not(.btn):focus { + background-color: transparent; + border-radius: 3px; + opacity: 1; + filter: alpha(opacity=100); +} + +.navbar-default .navbar-nav > .dropdown > a:hover .caret, +.navbar-default .navbar-nav > .dropdown > a:focus .caret { + border-bottom-color: #067ec1; + border-top-color: #067ec1; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + background-color: transparent; + color: #067ec1; +} + +.navbar-default .navbar-nav .navbar-toggle:hover, .navbar-default .navbar-nav .navbar-toggle:focus { + background-color: transparent; +} + +.navbar-default:not(.navbar-transparent) .btn-default:hover { + color: #067ec1; + border-color: #067ec1; +} + +.navbar-default:not(.navbar-transparent) .btn-neutral, +.navbar-default:not(.navbar-transparent) .btn-neutral:hover, +.navbar-default:not(.navbar-transparent) .btn-neutral:active { + color: #9A9A9A; +} + +.navbar-form { + -webkit-box-shadow: none; + box-shadow: none; +} + +.navbar-form .form-control { + border-radius: 0; + border: 0; + padding: 0; + background-color: transparent; + height: 22px; + font-size: 1em; + line-height: 1.4em; + color: #E3E3E3; +} + +.navbar-transparent .navbar-form .form-control, +[class*="navbar-ct"] .navbar-form .form-control { + color: #FFFFFF; + border: 0; + border-bottom: 1px solid rgba(255, 255, 255, 0.6); +} + +.navbar-ct-primary { + background-color: #8ECFD5; +} + +.navbar-ct-info { + background-color: #7CE4FE; +} + +.navbar-ct-success { + background-color: #8EF3C5; +} + +.navbar-ct-warning { + background-color: #FFE28C; +} + +.navbar-ct-danger { + background-color: #FF4C40; +} + +.navbar-transparent { + padding-top: 15px; + background-color: transparent; + border-bottom: 1px solid transparent; +} + +.navbar-toggle { + margin-top: 19px; + margin-bottom: 19px; + border: 0; +} + +.navbar-toggle .icon-bar { + background-color: #FFFFFF; +} + +.navbar-toggle .navbar-collapse, +.navbar-toggle .navbar-form { + border-color: transparent; +} + +.navbar-toggle.navbar-default .navbar-toggle:hover, +.navbar-toggle.navbar-default .navbar-toggle:focus { + background-color: transparent; +} + +.navbar-transparent .navbar-brand, [class*="navbar-ct"] .navbar-brand { + opacity: 0.9; + filter: alpha(opacity=90); +} + +.navbar-transparent .navbar-brand:focus, .navbar-transparent .navbar-brand:hover, [class*="navbar-ct"] .navbar-brand:focus, [class*="navbar-ct"] .navbar-brand:hover { + background-color: transparent; + opacity: 1; + filter: alpha(opacity=100); +} + +.navbar-transparent .navbar-brand:not([class*="text"]), [class*="navbar-ct"] .navbar-brand:not([class*="text"]) { + color: #FFFFFF; +} + +.navbar-transparent .navbar-nav > li > a:not(.btn), [class*="navbar-ct"] .navbar-nav > li > a:not(.btn) { + color: #FFFFFF; + border-color: #FFFFFF; + opacity: 0.8; + filter: alpha(opacity=80); +} + +.navbar-transparent .navbar-nav > .active > a:not(.btn), +.navbar-transparent .navbar-nav > .active > a:hover:not(.btn), +.navbar-transparent .navbar-nav > .active > a:focus:not(.btn), +.navbar-transparent .navbar-nav > li > a:hover:not(.btn), +.navbar-transparent .navbar-nav > li > a:focus:not(.btn), [class*="navbar-ct"] .navbar-nav > .active > a:not(.btn), +[class*="navbar-ct"] .navbar-nav > .active > a:hover:not(.btn), +[class*="navbar-ct"] .navbar-nav > .active > a:focus:not(.btn), +[class*="navbar-ct"] .navbar-nav > li > a:hover:not(.btn), +[class*="navbar-ct"] .navbar-nav > li > a:focus:not(.btn) { + background-color: transparent; + border-radius: 3px; + color: #FFFFFF; + opacity: 1; + filter: alpha(opacity=100); +} + +.navbar-transparent .navbar-nav .nav > li > a.btn:hover, [class*="navbar-ct"] .navbar-nav .nav > li > a.btn:hover { + background-color: transparent; +} + +.navbar-transparent .navbar-nav > .dropdown > a .caret, +.navbar-transparent .navbar-nav > .dropdown > a:hover .caret, +.navbar-transparent .navbar-nav > .dropdown > a:focus .caret, [class*="navbar-ct"] .navbar-nav > .dropdown > a .caret, +[class*="navbar-ct"] .navbar-nav > .dropdown > a:hover .caret, +[class*="navbar-ct"] .navbar-nav > .dropdown > a:focus .caret { + border-bottom-color: #FFFFFF; + border-top-color: #FFFFFF; +} + +.navbar-transparent .navbar-nav > .open > a, +.navbar-transparent .navbar-nav > .open > a:hover, +.navbar-transparent .navbar-nav > .open > a:focus, [class*="navbar-ct"] .navbar-nav > .open > a, +[class*="navbar-ct"] .navbar-nav > .open > a:hover, +[class*="navbar-ct"] .navbar-nav > .open > a:focus { + background-color: transparent; + color: #FFFFFF; + opacity: 1; + filter: alpha(opacity=100); +} + +.navbar-transparent .btn-default, [class*="navbar-ct"] .btn-default { + color: #FFFFFF; + border-color: #FFFFFF; +} + +.navbar-transparent .btn-default.btn-fill, [class*="navbar-ct"] .btn-default.btn-fill { + color: #9A9A9A; + background-color: #FFFFFF; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.navbar-transparent .btn-default.btn-fill:hover, +.navbar-transparent .btn-default.btn-fill:focus, +.navbar-transparent .btn-default.btn-fill:active, +.navbar-transparent .btn-default.btn-fill.active, +.navbar-transparent .open .dropdown-toggle.btn-fill.btn-default, [class*="navbar-ct"] .btn-default.btn-fill:hover, +[class*="navbar-ct"] .btn-default.btn-fill:focus, +[class*="navbar-ct"] .btn-default.btn-fill:active, +[class*="navbar-ct"] .btn-default.btn-fill.active, +[class*="navbar-ct"] .open .dropdown-toggle.btn-fill.btn-default { + border-color: #FFFFFF; + opacity: 1; + filter: alpha(opacity=100); +} + +.footer { + background-attachment: fixed; + position: relative; + line-height: 20px; +} + +.footer nav ul { + list-style: none; + margin: 0; + padding: 0; + font-weight: normal; +} + +.footer nav ul li { + display: inline-block; + padding: 10px 15px; + margin: 15px 3px; + line-height: 20px; + text-align: center; +} + +.footer nav ul a:not(.btn) { + color: #4b4743; + display: block; + margin-bottom: 3px; +} + +.footer nav ul a:not(.btn):focus, .footer nav ul a:not(.btn):hover { + color: #403D39; +} + +.footer .copyright { + color: #4b4743; + padding: 10px 15px; + font-size: 14px; + white-space: nowrap; + margin: 15px 3px; + line-height: 20px; + text-align: center; +} + +.footer .heart { + color: #FF3636; +} + +.dropdown-menu { + background-color: #FFFCF5; + border: 0 none; + border-radius: 6px; + display: block; + margin-top: 10px; + padding: 0px; + position: absolute; + visibility: hidden; + z-index: 9000; + opacity: 0; + filter: alpha(opacity=0); + -webkit-box-shadow: 0 2px rgba(17, 16, 15, 0.1), 0 2px 10px rgba(17, 16, 15, 0.1); + box-shadow: 0 2px rgba(17, 16, 15, 0.1), 0 2px 10px rgba(17, 16, 15, 0.1); +} + +.open .dropdown-menu { + opacity: 1; + filter: alpha(opacity=100); + visibility: visible; +} + +.dropdown-menu .divider { + background-color: #F1EAE0; + margin: 0px; +} + +.dropdown-menu .dropdown-header { + color: #9A9A9A; + font-size: 0.8571em; + padding: 10px 15px; +} + +.select .dropdown-menu { + border-radius: 0 0 10px 10px; + -webkit-box-shadow: none; + box-shadow: none; + -webkit-transform-origin: 50% -40px; + transform-origin: 50% -40px; + -webkit-transform: scale(1); + transform: scale(1); + -webkit-transition: all 150ms linear; + transition: all 150ms linear; + margin-top: -20px; +} + +.select.open .dropdown-menu { + margin-top: -1px; +} + +.dropdown-menu > li > a { + color: #4b4743; + font-size: 14px; + padding: 10px 15px; + -webkit-transition: none; + transition: none; +} + +.dropdown-menu > li > a img { + margin-top: -3px; +} + +.dropdown-menu > li > a:focus { + outline: 0 !important; +} + +.btn-group.select .dropdown-menu { + min-width: 100%; +} + +.dropdown-menu > li:first-child > a { + border-top-left-radius: 6px; + border-top-right-radius: 6px; +} + +.dropdown-menu > li:last-child > a { + border-bottom-left-radius: 6px; + border-bottom-right-radius: 6px; +} + +.select .dropdown-menu > li:first-child > a { + border-radius: 0; + border-bottom: 0 none; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + background-color: #2c2c2c; + color: rgba(182, 182, 182, 0.7); + opacity: 1; + text-decoration: none; +} + +.dropdown-menu.dropdown-primary > li > a:hover, +.dropdown-menu.dropdown-primary > li > a:focus { + background-color: #f96332; +} + +.dropdown-menu.dropdown-info > li > a:hover, +.dropdown-menu.dropdown-info > li > a:focus { + background-color: #067ec1; +} + +.dropdown-menu.dropdown-success > li > a:hover, +.dropdown-menu.dropdown-success > li > a:focus { + background-color: #18ce0f; +} + +.dropdown-menu.dropdown-warning > li > a:hover, +.dropdown-menu.dropdown-warning > li > a:focus { + background-color: #FFB236; +} + +.dropdown-menu.dropdown-danger > li > a:hover, +.dropdown-menu.dropdown-danger > li > a:focus { + background-color: #FF3636; +} + +.btn-group.select { + overflow: hidden; +} + +.btn-group.select.open { + overflow: visible; +} + +.card { + border: 0; + border-radius: 0.125rem; + -webkit-box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5); + box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5); + background-color: #FFFFFF; + color: #2c2c2c; + margin-bottom: 20px; + position: relative; + z-index: 1; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + background-color: #fff; +} + +.card .card-block { + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1.25rem; +} + +.card a { + color: #f96332; +} + +.card .image { + width: 100%; + overflow: hidden; + height: 260px; + border-radius: 6px 6px 0 0; + position: relative; + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; +} + +.card .image img { + width: 100%; +} + +.card .content { + padding: 15px 15px 10px 15px; +} + +.card .header { + padding: 0px 0px 10px 0; +} + +.card .description { + font-size: 1em; + color: #4b4743; +} + +.card h5 { + font-size: 1.57em; + line-height: 1.4em; + margin-bottom: 15px; +} + +.card h6 { + font-size: 0.8571em; + margin: 0; +} + +.card .category, +.card label { + font-size: 14px; + font-weight: 400; + text-transform: capitalize; + margin-bottom: 0px; +} + +.card .category i, +.card label i { + font-size: 1em; +} + +.card label { + font-size: 15px; + margin-bottom: 5px; + text-transform: capitalize; + display: inline-block; + vertical-align: middle; +} + +.card .title { + margin: 0; + color: #2c2c2c; + font-weight: 300; +} + +.card .avatar { + width: 50px; + height: 50px; + overflow: hidden; + border-radius: 50%; + margin-right: 5px; +} + +.card .footer { + padding: 0; + line-height: 30px; +} + +.card .footer .legend { + padding: 5px 0; +} + +.card .footer hr { + margin-top: 5px; + margin-bottom: 5px; +} + +.card .stats { + color: #a9a9a9; + font-weight: 300; +} + +.card .stats i { + margin-right: 2px; + min-width: 15px; + display: inline-block; +} + +.card .footer div { + display: inline-block; +} + +.card .author { + font-size: 0.8571em; + font-weight: 600; + text-transform: uppercase; +} + +.card .author i { + font-size: 14px; +} + +.card.card-separator:after { + height: 100%; + right: -15px; + top: 0; + width: 1px; + background-color: #DDDDDD; + content: ""; + position: absolute; +} + +.card .ct-chart { + margin: 30px 0 30px; + height: 245px; +} + +.card .table tbody td:first-child, +.card .table thead th:first-child { + padding-left: 15px; +} + +.card .table tbody td:last-child, +.card .table thead th:last-child { + padding-right: 15px; +} + +.card .alert { + border-radius: 2px; + position: relative; +} + +.card .alert.alert-with-icon { + padding-left: 65px; +} + +.card .icon-big { + font-size: 3em; + min-height: 64px; +} + +.card .numbers { + font-size: 2em; + text-align: right; +} + +.card .numbers p { + margin: 0; +} + +.card ul.team-members li { + padding: 10px 0px; +} + +.card ul.team-members li:not(:last-child) { + border-bottom: 1px solid #F1EAE0; +} + +.card .btn-primary { + background-color: #f96332; + color: #FFFFFF; +} + +.card .btn-primary:hover, .card .btn-primary:focus, .card .btn-primary:active, .card .btn-primary.active, .card .btn-primary:active:focus, .card .btn-primary:active:hover, .card .btn-primary.active:focus, .card .btn-primary.active:hover, +.open > .card .btn-primary.dropdown-toggle, +.open > .card .btn-primary.dropdown-toggle:focus, +.open > .card .btn-primary.dropdown-toggle:hover { + background-color: #427C89; + color: #FFFFFF; +} + +.card .btn-primary.disabled, .card .btn-primary.disabled:hover, .card .btn-primary.disabled:focus, .card .btn-primary.disabled.focus, .card .btn-primary.disabled:active, .card .btn-primary.disabled.active, .card .btn-primary:disabled, .card .btn-primary:disabled:hover, .card .btn-primary:disabled:focus, .card .btn-primary:disabled.focus, .card .btn-primary:disabled:active, .card .btn-primary:disabled.active, .card .btn-primary[disabled], .card .btn-primary[disabled]:hover, .card .btn-primary[disabled]:focus, .card .btn-primary[disabled].focus, .card .btn-primary[disabled]:active, .card .btn-primary[disabled].active, +fieldset[disabled] .card .btn-primary, +fieldset[disabled] .card .btn-primary:hover, +fieldset[disabled] .card .btn-primary:focus, +fieldset[disabled] .card .btn-primary.focus, +fieldset[disabled] .card .btn-primary:active, +fieldset[disabled] .card .btn-primary.active { + background-color: #f96332; + border-color: #f96332; +} + +.card .btn-primary.focus, .card .btn-primary:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.card .btn-primary.btn-simple { + color: #f96332; + border-color: #f96332; +} + +.card .btn-primary.btn-simple:hover, .card .btn-primary.btn-simple:focus, .card .btn-primary.btn-simple:active { + background-color: transparent; + color: #427C89; + border-color: #427C89; +} + +.card .btn-primary.btn-link { + color: #f96332; +} + +.card .btn-primary.btn-link:hover, .card .btn-primary.btn-link:focus, .card .btn-primary.btn-link:active { + background-color: transparent; + color: #427C89; + text-decoration: none; +} + +.card .btn-success { + background-color: #18ce0f; + color: #FFFFFF; +} + +.card .btn-success:hover, .card .btn-success:focus, .card .btn-success:active, .card .btn-success.active, .card .btn-success:active:focus, .card .btn-success:active:hover, .card .btn-success.active:focus, .card .btn-success.active:hover, +.open > .card .btn-success.dropdown-toggle, +.open > .card .btn-success.dropdown-toggle:focus, +.open > .card .btn-success.dropdown-toggle:hover { + background-color: #15b60d; + color: #FFFFFF; +} + +.card .btn-success.disabled, .card .btn-success.disabled:hover, .card .btn-success.disabled:focus, .card .btn-success.disabled.focus, .card .btn-success.disabled:active, .card .btn-success.disabled.active, .card .btn-success:disabled, .card .btn-success:disabled:hover, .card .btn-success:disabled:focus, .card .btn-success:disabled.focus, .card .btn-success:disabled:active, .card .btn-success:disabled.active, .card .btn-success[disabled], .card .btn-success[disabled]:hover, .card .btn-success[disabled]:focus, .card .btn-success[disabled].focus, .card .btn-success[disabled]:active, .card .btn-success[disabled].active, +fieldset[disabled] .card .btn-success, +fieldset[disabled] .card .btn-success:hover, +fieldset[disabled] .card .btn-success:focus, +fieldset[disabled] .card .btn-success.focus, +fieldset[disabled] .card .btn-success:active, +fieldset[disabled] .card .btn-success.active { + background-color: #18ce0f; + border-color: #18ce0f; +} + +.card .btn-success.focus, .card .btn-success:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.card .btn-success.btn-simple { + color: #18ce0f; + border-color: #18ce0f; +} + +.card .btn-success.btn-simple:hover, .card .btn-success.btn-simple:focus, .card .btn-success.btn-simple:active { + background-color: transparent; + color: #15b60d; + border-color: #15b60d; +} + +.card .btn-success.btn-link { + color: #18ce0f; +} + +.card .btn-success.btn-link:hover, .card .btn-success.btn-link:focus, .card .btn-success.btn-link:active { + background-color: transparent; + color: #15b60d; + text-decoration: none; +} + +.card .btn-info { + background-color: #067ec1; + color: #FFFFFF; +} + +.card .btn-info:hover, .card .btn-info:focus, .card .btn-info:active, .card .btn-info.active, .card .btn-info:active:focus, .card .btn-info:active:hover, .card .btn-info.active:focus, .card .btn-info.active:hover, +.open > .card .btn-info.dropdown-toggle, +.open > .card .btn-info.dropdown-toggle:focus, +.open > .card .btn-info.dropdown-toggle:hover { + background-color: #0688d0; + color: #FFFFFF; +} + +.card .btn-info.disabled, .card .btn-info.disabled:hover, .card .btn-info.disabled:focus, .card .btn-info.disabled.focus, .card .btn-info.disabled:active, .card .btn-info.disabled.active, .card .btn-info:disabled, .card .btn-info:disabled:hover, .card .btn-info:disabled:focus, .card .btn-info:disabled.focus, .card .btn-info:disabled:active, .card .btn-info:disabled.active, .card .btn-info[disabled], .card .btn-info[disabled]:hover, .card .btn-info[disabled]:focus, .card .btn-info[disabled].focus, .card .btn-info[disabled]:active, .card .btn-info[disabled].active, +fieldset[disabled] .card .btn-info, +fieldset[disabled] .card .btn-info:hover, +fieldset[disabled] .card .btn-info:focus, +fieldset[disabled] .card .btn-info.focus, +fieldset[disabled] .card .btn-info:active, +fieldset[disabled] .card .btn-info.active { + background-color: #067ec1; + border-color: #067ec1; +} + +.card .btn-info.focus, .card .btn-info:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.card .btn-info.btn-simple { + color: #067ec1; + border-color: #067ec1; +} + +.card .btn-info.btn-simple:hover, .card .btn-info.btn-simple:focus, .card .btn-info.btn-simple:active { + background-color: transparent; + color: #0688d0; + border-color: #0688d0; +} + +.card .btn-info.btn-link { + color: #067ec1; +} + +.card .btn-info.btn-link:hover, .card .btn-info.btn-link:focus, .card .btn-info.btn-link:active { + background-color: transparent; + color: #0688d0; + text-decoration: none; +} + +.card .btn-warning { + background-color: #FFB236; + color: #FFFFFF; +} + +.card .btn-warning:hover, .card .btn-warning:focus, .card .btn-warning:active, .card .btn-warning.active, .card .btn-warning:active:focus, .card .btn-warning:active:hover, .card .btn-warning.active:focus, .card .btn-warning.active:hover, +.open > .card .btn-warning.dropdown-toggle, +.open > .card .btn-warning.dropdown-toggle:focus, +.open > .card .btn-warning.dropdown-toggle:hover { + background-color: #ffa81d; + color: #FFFFFF; +} + +.card .btn-warning.disabled, .card .btn-warning.disabled:hover, .card .btn-warning.disabled:focus, .card .btn-warning.disabled.focus, .card .btn-warning.disabled:active, .card .btn-warning.disabled.active, .card .btn-warning:disabled, .card .btn-warning:disabled:hover, .card .btn-warning:disabled:focus, .card .btn-warning:disabled.focus, .card .btn-warning:disabled:active, .card .btn-warning:disabled.active, .card .btn-warning[disabled], .card .btn-warning[disabled]:hover, .card .btn-warning[disabled]:focus, .card .btn-warning[disabled].focus, .card .btn-warning[disabled]:active, .card .btn-warning[disabled].active, +fieldset[disabled] .card .btn-warning, +fieldset[disabled] .card .btn-warning:hover, +fieldset[disabled] .card .btn-warning:focus, +fieldset[disabled] .card .btn-warning.focus, +fieldset[disabled] .card .btn-warning:active, +fieldset[disabled] .card .btn-warning.active { + background-color: #FFB236; + border-color: #FFB236; +} + +.card .btn-warning.focus, .card .btn-warning:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.card .btn-warning.btn-simple { + color: #FFB236; + border-color: #FFB236; +} + +.card .btn-warning.btn-simple:hover, .card .btn-warning.btn-simple:focus, .card .btn-warning.btn-simple:active { + background-color: transparent; + color: #ffa81d; + border-color: #ffa81d; +} + +.card .btn-warning.btn-link { + color: #FFB236; +} + +.card .btn-warning.btn-link:hover, .card .btn-warning.btn-link:focus, .card .btn-warning.btn-link:active { + background-color: transparent; + color: #ffa81d; + text-decoration: none; +} + +.card .btn-danger { + background-color: #FF3636; + color: #FFFFFF; +} + +.card .btn-danger:hover, .card .btn-danger:focus, .card .btn-danger:active, .card .btn-danger.active, .card .btn-danger:active:focus, .card .btn-danger:active:hover, .card .btn-danger.active:focus, .card .btn-danger.active:hover, +.open > .card .btn-danger.dropdown-toggle, +.open > .card .btn-danger.dropdown-toggle:focus, +.open > .card .btn-danger.dropdown-toggle:hover { + background-color: #ff1d1d; + color: #FFFFFF; +} + +.card .btn-danger.disabled, .card .btn-danger.disabled:hover, .card .btn-danger.disabled:focus, .card .btn-danger.disabled.focus, .card .btn-danger.disabled:active, .card .btn-danger.disabled.active, .card .btn-danger:disabled, .card .btn-danger:disabled:hover, .card .btn-danger:disabled:focus, .card .btn-danger:disabled.focus, .card .btn-danger:disabled:active, .card .btn-danger:disabled.active, .card .btn-danger[disabled], .card .btn-danger[disabled]:hover, .card .btn-danger[disabled]:focus, .card .btn-danger[disabled].focus, .card .btn-danger[disabled]:active, .card .btn-danger[disabled].active, +fieldset[disabled] .card .btn-danger, +fieldset[disabled] .card .btn-danger:hover, +fieldset[disabled] .card .btn-danger:focus, +fieldset[disabled] .card .btn-danger.focus, +fieldset[disabled] .card .btn-danger:active, +fieldset[disabled] .card .btn-danger.active { + background-color: #FF3636; + border-color: #FF3636; +} + +.card .btn-danger.focus, .card .btn-danger:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.card .btn-danger.btn-simple { + color: #FF3636; + border-color: #FF3636; +} + +.card .btn-danger.btn-simple:hover, .card .btn-danger.btn-simple:focus, .card .btn-danger.btn-simple:active { + background-color: transparent; + color: #ff1d1d; + border-color: #ff1d1d; +} + +.card .btn-danger.btn-link { + color: #FF3636; +} + +.card .btn-danger.btn-link:hover, .card .btn-danger.btn-link:focus, .card .btn-danger.btn-link:active { + background-color: transparent; + color: #ff1d1d; + text-decoration: none; +} + +.card .btn-neutral { + background-color: #FFFFFF; + color: #FFFFFF; +} + +.card .btn-neutral:hover, .card .btn-neutral:focus, .card .btn-neutral:active, .card .btn-neutral.active, .card .btn-neutral:active:focus, .card .btn-neutral:active:hover, .card .btn-neutral.active:focus, .card .btn-neutral.active:hover, +.open > .card .btn-neutral.dropdown-toggle, +.open > .card .btn-neutral.dropdown-toggle:focus, +.open > .card .btn-neutral.dropdown-toggle:hover { + background-color: #FFFFFF; + color: #FFFFFF; +} + +.card .btn-neutral.disabled, .card .btn-neutral.disabled:hover, .card .btn-neutral.disabled:focus, .card .btn-neutral.disabled.focus, .card .btn-neutral.disabled:active, .card .btn-neutral.disabled.active, .card .btn-neutral:disabled, .card .btn-neutral:disabled:hover, .card .btn-neutral:disabled:focus, .card .btn-neutral:disabled.focus, .card .btn-neutral:disabled:active, .card .btn-neutral:disabled.active, .card .btn-neutral[disabled], .card .btn-neutral[disabled]:hover, .card .btn-neutral[disabled]:focus, .card .btn-neutral[disabled].focus, .card .btn-neutral[disabled]:active, .card .btn-neutral[disabled].active, +fieldset[disabled] .card .btn-neutral, +fieldset[disabled] .card .btn-neutral:hover, +fieldset[disabled] .card .btn-neutral:focus, +fieldset[disabled] .card .btn-neutral.focus, +fieldset[disabled] .card .btn-neutral:active, +fieldset[disabled] .card .btn-neutral.active { + background-color: #FFFFFF; + border-color: #FFFFFF; +} + +.card .btn-neutral.focus, .card .btn-neutral:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.card .btn-neutral.btn-danger { + color: #FF3636; +} + +.card .btn-neutral.btn-danger:hover, .card .btn-neutral.btn-danger:focus, .card .btn-neutral.btn-danger:active { + color: #ff1d1d; +} + +.card .btn-neutral.btn-info { + color: #FFFFFF; +} + +.card .btn-neutral.btn-info:hover, .card .btn-neutral.btn-info:focus, .card .btn-neutral.btn-info:active { + color: #0688d0; +} + +.card .btn-neutral.btn-warning { + color: #FFFFFF; +} + +.card .btn-neutral.btn-warning:hover, .card .btn-neutral.btn-warning:focus, .card .btn-neutral.btn-warning:active { + color: #ffa81d; +} + +.card .btn-neutral.btn-success { + color: #FFFFFF; +} + +.card .btn-neutral.btn-success:hover, .card .btn-neutral.btn-success:focus, .card .btn-neutral.btn-success:active { + color: #15b60d; +} + +.card .btn-neutral.btn-default { + color: #FFFFFF; +} + +.card .btn-neutral.btn-default:hover, .card .btn-neutral.btn-default:focus, .card .btn-neutral.btn-default:active { + color: #403D39; +} + +.card .btn-neutral.active, .card .btn-neutral:active:focus, .card .btn-neutral:active:hover, .card .btn-neutral.active:focus, .card .btn-neutral.active:hover, +.open > .card .btn-neutral.dropdown-toggle, +.open > .card .btn-neutral.dropdown-toggle:focus, +.open > .card .btn-neutral.dropdown-toggle:hover { + background-color: #FFFFFF; + color: #f96332; +} + +.card .btn-neutral:hover, .card .btn-neutral:focus, .card .btn-neutral:active { + color: #427C89; +} + +.card .btn-neutral.btn-simple { + color: #FFFFFF; + border-color: #FFFFFF; +} + +.card .btn-neutral.btn-simple:hover, .card .btn-neutral.btn-simple:focus, .card .btn-neutral.btn-simple:active { + background-color: transparent; + color: #FFFFFF; + border-color: #FFFFFF; +} + +.card .btn-neutral.btn-link { + color: #FFFFFF; +} + +.card .btn-neutral.btn-link:hover, .card .btn-neutral.btn-link:focus, .card .btn-neutral.btn-link:active { + background-color: transparent; + color: #FFFFFF; + text-decoration: none; +} + +.card-user .image { + border-radius: 8px 8px 0 0; + height: 150px; + position: relative; + overflow: hidden; +} + +.card-user .image img { + width: 100%; +} + +.card-user .image-plain { + height: 0; + margin-top: 110px; +} + +.card-user .author { + text-align: center; + text-transform: none; + margin-top: -65px; +} + +.card-user .author .title { + color: #403D39; +} + +.card-user .author .title small { + color: #ccc5b9; +} + +.card-user .avatar { + width: 100px; + height: 100px; + border-radius: 50%; + position: relative; + margin-bottom: 15px; +} + +.card-user .avatar.border-white { + border: 5px solid #FFFFFF; +} + +.card-user .avatar.border-gray { + border: 5px solid #ccc5b9; +} + +.card-user .title { + font-weight: 600; + line-height: 24px; +} + +.card-user .description { + margin-top: 10px; +} + +.card-user .content { + min-height: 200px; +} + +.card-user.card-plain .avatar { + height: 190px; + width: 190px; +} + +.card-map .map { + height: 500px; + padding-top: 20px; +} + +.card-map .map > div { + height: 100%; +} + +.card-user .footer, +.card-price .footer { + padding: 5px 15px 10px; +} + +.card-user hr, +.card-price hr { + margin: 5px 15px; +} + +.card-plain { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; + border-radius: 0; +} + +.card-plain .image { + border-radius: 4px; +} + +.ct-label { + fill: rgba(0, 0, 0, 0.4); + color: rgba(0, 0, 0, 0.4); + font-size: 0.9em; + line-height: 1; +} + +.ct-chart-line .ct-label, +.ct-chart-bar .ct-label { + display: block; + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} + +.ct-label.ct-horizontal.ct-start { + -webkit-box-align: flex-end; + -ms-flex-align: flex-end; + align-items: flex-end; + -webkit-box-pack: flex-start; + -ms-flex-pack: flex-start; + justify-content: flex-start; + text-align: left; + text-anchor: start; +} + +.ct-label.ct-horizontal.ct-end { + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + -webkit-box-pack: flex-start; + -ms-flex-pack: flex-start; + justify-content: flex-start; + text-align: left; + text-anchor: start; +} + +.ct-label.ct-vertical.ct-start { + -webkit-box-align: flex-end; + -ms-flex-align: flex-end; + align-items: flex-end; + -webkit-box-pack: flex-end; + -ms-flex-pack: flex-end; + justify-content: flex-end; + text-align: right; + text-anchor: end; +} + +.ct-label.ct-vertical.ct-end { + -webkit-box-align: flex-end; + -ms-flex-align: flex-end; + align-items: flex-end; + -webkit-box-pack: flex-start; + -ms-flex-pack: flex-start; + justify-content: flex-start; + text-align: left; + text-anchor: start; +} + +.ct-chart-bar .ct-label.ct-horizontal.ct-start { + -webkit-box-align: flex-end; + -ms-flex-align: flex-end; + align-items: flex-end; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + text-align: center; + text-anchor: start; +} + +.ct-chart-bar .ct-label.ct-horizontal.ct-end { + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + text-align: center; + text-anchor: start; +} + +.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start { + -webkit-box-align: flex-end; + -ms-flex-align: flex-end; + align-items: flex-end; + -webkit-box-pack: flex-start; + -ms-flex-pack: flex-start; + justify-content: flex-start; + text-align: left; + text-anchor: start; +} + +.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end { + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + -webkit-box-pack: flex-start; + -ms-flex-pack: flex-start; + justify-content: flex-start; + text-align: left; + text-anchor: start; +} + +.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: flex-end; + -ms-flex-pack: flex-end; + justify-content: flex-end; + text-align: right; + text-anchor: end; +} + +.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: flex-start; + -ms-flex-pack: flex-start; + justify-content: flex-start; + text-align: left; + text-anchor: end; +} + +.ct-grid { + stroke: rgba(0, 0, 0, 0.2); + stroke-width: 1px; + stroke-dasharray: 2px; +} + +.ct-point { + stroke-width: 10px; + stroke-linecap: round; +} + +.ct-line { + fill: none; + stroke-width: 4px; +} + +.ct-area { + stroke: none; + fill-opacity: 0.7; +} + +.ct-bar { + fill: none; + stroke-width: 10px; +} + +.ct-slice-donut { + fill: none; + stroke-width: 60px; +} + +.ct-series-a .ct-point, .ct-series-a .ct-line, .ct-series-a .ct-bar, .ct-series-a .ct-slice-donut { + stroke: #067ec1; +} + +.ct-series-a .ct-slice-pie, .ct-series-a .ct-area { + fill: #067ec1; +} + +.ct-series-b .ct-point, .ct-series-b .ct-line, .ct-series-b .ct-bar, .ct-series-b .ct-slice-donut { + stroke: #FFB236; +} + +.ct-series-b .ct-slice-pie, .ct-series-b .ct-area { + fill: #FFB236; +} + +.ct-series-c .ct-point, .ct-series-c .ct-line, .ct-series-c .ct-bar, .ct-series-c .ct-slice-donut { + stroke: #FF3636; +} + +.ct-series-c .ct-slice-pie, .ct-series-c .ct-area { + fill: #FF3636; +} + +.ct-series-d .ct-point, .ct-series-d .ct-line, .ct-series-d .ct-bar, .ct-series-d .ct-slice-donut { + stroke: #18ce0f; +} + +.ct-series-d .ct-slice-pie, .ct-series-d .ct-area { + fill: #18ce0f; +} + +.ct-series-e .ct-point, .ct-series-e .ct-line, .ct-series-e .ct-bar, .ct-series-e .ct-slice-donut { + stroke: #f96332; +} + +.ct-series-e .ct-slice-pie, .ct-series-e .ct-area { + fill: #f96332; +} + +.ct-series-f .ct-point, .ct-series-f .ct-line, .ct-series-f .ct-bar, .ct-series-f .ct-slice-donut { + stroke: rgba(6, 126, 193, 0.8); +} + +.ct-series-f .ct-slice-pie, .ct-series-f .ct-area { + fill: rgba(6, 126, 193, 0.8); +} + +.ct-series-g .ct-point, .ct-series-g .ct-line, .ct-series-g .ct-bar, .ct-series-g .ct-slice-donut { + stroke: rgba(24, 206, 15, 0.8); +} + +.ct-series-g .ct-slice-pie, .ct-series-g .ct-area { + fill: rgba(24, 206, 15, 0.8); +} + +.ct-series-h .ct-point, .ct-series-h .ct-line, .ct-series-h .ct-bar, .ct-series-h .ct-slice-donut { + stroke: rgba(255, 178, 54, 0.8); +} + +.ct-series-h .ct-slice-pie, .ct-series-h .ct-area { + fill: rgba(255, 178, 54, 0.8); +} + +.ct-series-i .ct-point, .ct-series-i .ct-line, .ct-series-i .ct-bar, .ct-series-i .ct-slice-donut { + stroke: rgba(255, 54, 54, 0.8); +} + +.ct-series-i .ct-slice-pie, .ct-series-i .ct-area { + fill: rgba(255, 54, 54, 0.8); +} + +.ct-series-j .ct-point, .ct-series-j .ct-line, .ct-series-j .ct-bar, .ct-series-j .ct-slice-donut { + stroke: rgba(249, 99, 50, 0.8); +} + +.ct-series-j .ct-slice-pie, .ct-series-j .ct-area { + fill: rgba(249, 99, 50, 0.8); +} + +.ct-series-k .ct-point, .ct-series-k .ct-line, .ct-series-k .ct-bar, .ct-series-k .ct-slice-donut { + stroke: rgba(6, 126, 193, 0.6); +} + +.ct-series-k .ct-slice-pie, .ct-series-k .ct-area { + fill: rgba(6, 126, 193, 0.6); +} + +.ct-series-l .ct-point, .ct-series-l .ct-line, .ct-series-l .ct-bar, .ct-series-l .ct-slice-donut { + stroke: rgba(24, 206, 15, 0.6); +} + +.ct-series-l .ct-slice-pie, .ct-series-l .ct-area { + fill: rgba(24, 206, 15, 0.6); +} + +.ct-series-m .ct-point, .ct-series-m .ct-line, .ct-series-m .ct-bar, .ct-series-m .ct-slice-donut { + stroke: rgba(255, 178, 54, 0.6); +} + +.ct-series-m .ct-slice-pie, .ct-series-m .ct-area { + fill: rgba(255, 178, 54, 0.6); +} + +.ct-series-n .ct-point, .ct-series-n .ct-line, .ct-series-n .ct-bar, .ct-series-n .ct-slice-donut { + stroke: rgba(255, 54, 54, 0.6); +} + +.ct-series-n .ct-slice-pie, .ct-series-n .ct-area { + fill: rgba(255, 54, 54, 0.6); +} + +.ct-series-o .ct-point, .ct-series-o .ct-line, .ct-series-o .ct-bar, .ct-series-o .ct-slice-donut { + stroke: rgba(249, 99, 50, 0.6); +} + +.ct-series-o .ct-slice-pie, .ct-series-o .ct-area { + fill: rgba(249, 99, 50, 0.6); +} + +.ct-square { + display: block; + position: relative; + width: 100%; +} + +.ct-square:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 100%; +} + +.ct-square:after { + content: ""; + display: table; + clear: both; +} + +.ct-square > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-minor-second { + display: block; + position: relative; + width: 100%; +} + +.ct-minor-second:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 93.75%; +} + +.ct-minor-second:after { + content: ""; + display: table; + clear: both; +} + +.ct-minor-second > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-major-second { + display: block; + position: relative; + width: 100%; +} + +.ct-major-second:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 88.88888889%; +} + +.ct-major-second:after { + content: ""; + display: table; + clear: both; +} + +.ct-major-second > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-minor-third { + display: block; + position: relative; + width: 100%; +} + +.ct-minor-third:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 83.33333333%; +} + +.ct-minor-third:after { + content: ""; + display: table; + clear: both; +} + +.ct-minor-third > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-major-third { + display: block; + position: relative; + width: 100%; +} + +.ct-major-third:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 80%; +} + +.ct-major-third:after { + content: ""; + display: table; + clear: both; +} + +.ct-major-third > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-perfect-fourth { + display: block; + position: relative; + width: 100%; +} + +.ct-perfect-fourth:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 75%; +} + +.ct-perfect-fourth:after { + content: ""; + display: table; + clear: both; +} + +.ct-perfect-fourth > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-perfect-fifth { + display: block; + position: relative; + width: 100%; +} + +.ct-perfect-fifth:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 66.66666667%; +} + +.ct-perfect-fifth:after { + content: ""; + display: table; + clear: both; +} + +.ct-perfect-fifth > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-minor-sixth { + display: block; + position: relative; + width: 100%; +} + +.ct-minor-sixth:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 62.5%; +} + +.ct-minor-sixth:after { + content: ""; + display: table; + clear: both; +} + +.ct-minor-sixth > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-golden-section { + display: block; + position: relative; + width: 100%; +} + +.ct-golden-section:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 61.80469716%; +} + +.ct-golden-section:after { + content: ""; + display: table; + clear: both; +} + +.ct-golden-section > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-major-sixth { + display: block; + position: relative; + width: 100%; +} + +.ct-major-sixth:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 60%; +} + +.ct-major-sixth:after { + content: ""; + display: table; + clear: both; +} + +.ct-major-sixth > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-minor-seventh { + display: block; + position: relative; + width: 100%; +} + +.ct-minor-seventh:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 56.25%; +} + +.ct-minor-seventh:after { + content: ""; + display: table; + clear: both; +} + +.ct-minor-seventh > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-major-seventh { + display: block; + position: relative; + width: 100%; +} + +.ct-major-seventh:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 53.33333333%; +} + +.ct-major-seventh:after { + content: ""; + display: table; + clear: both; +} + +.ct-major-seventh > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-octave { + display: block; + position: relative; + width: 100%; +} + +.ct-octave:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 50%; +} + +.ct-octave:after { + content: ""; + display: table; + clear: both; +} + +.ct-octave > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-major-tenth { + display: block; + position: relative; + width: 100%; +} + +.ct-major-tenth:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 40%; +} + +.ct-major-tenth:after { + content: ""; + display: table; + clear: both; +} + +.ct-major-tenth > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-major-eleventh { + display: block; + position: relative; + width: 100%; +} + +.ct-major-eleventh:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 37.5%; +} + +.ct-major-eleventh:after { + content: ""; + display: table; + clear: both; +} + +.ct-major-eleventh > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-major-twelfth { + display: block; + position: relative; + width: 100%; +} + +.ct-major-twelfth:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 33.33333333%; +} + +.ct-major-twelfth:after { + content: ""; + display: table; + clear: both; +} + +.ct-major-twelfth > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +.ct-double-octave { + display: block; + position: relative; + width: 100%; +} + +.ct-double-octave:before { + display: block; + float: left; + content: ""; + width: 0; + height: 0; + padding-bottom: 25%; +} + +.ct-double-octave:after { + content: ""; + display: table; + clear: both; +} + +.ct-double-octave > svg { + display: block; + position: absolute; + top: 0; + left: 0; +} + +@media (min-width: 992px) { + .navbar { + min-height: 75px; + } + .navbar-form { + margin-top: 21px; + margin-bottom: 21px; + padding-left: 5px; + padding-right: 5px; + } + .navbar-search-form { + display: none; + } + .navbar-nav > li > .dropdown-menu, + .dropdown .dropdown-menu { + -webkit-transform: translate3d(0px, -40px, 0px); + transform: translate3d(0px, -40px, 0px); + -webkit-transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s; + transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s; + } + .navbar-nav > li.open > .dropdown-menu, .dropdown.open .dropdown-menu { + -webkit-transform: translate3d(0px, 0px, 0px); + transform: translate3d(0px, 0px, 0px); + } + .navbar-nav > li > .dropdown-menu:before { + border-bottom: 11px solid #F1EAE0; + border-left: 11px solid transparent; + border-right: 11px solid transparent; + content: ""; + display: inline-block; + position: absolute; + right: 12px; + top: -11px; + } + .navbar-nav > li > .dropdown-menu:after { + border-bottom: 11px solid #FFFCF5; + border-left: 11px solid transparent; + border-right: 11px solid transparent; + content: ""; + display: inline-block; + position: absolute; + right: 12px; + top: -10px; + } + .navbar-nav.navbar-left > li > .dropdown-menu:before { + right: auto; + left: 12px; + } + .navbar-nav.navbar-left > li > .dropdown-menu:after { + right: auto; + left: 12px; + } + .navbar .navbar-header { + margin-left: 10px; + } + .footer:not(.footer-big) nav > ul li:first-child { + margin-left: 0; + } + body > .navbar-collapse.collapse { + display: none !important; + } + .card form [class*="col-"] { + padding: 6px; + } + .card form [class*="col-"]:first-child { + padding-left: 15px; + } + .card form [class*="col-"]:last-child { + padding-right: 15px; + } +} + +/* Changes for small display */ +@media (max-width: 991px) { + .sidebar { + display: none; + } + .main-panel { + width: 100%; + } + .navbar-transparent { + padding-top: 15px; + background-color: rgba(0, 0, 0, 0.45); + } + body { + position: relative; + } + h6 { + font-size: 1em; + } + .wrapper { + -webkit-transform: translate3d(0px, 0, 0); + transform: translate3d(0px, 0, 0); + -webkit-transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1); + transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1); + left: 0; + background-color: white; + } + .navbar .container { + left: 0; + width: 100%; + -webkit-transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1); + transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1); + position: relative; + } + .navbar .navbar-collapse.collapse, + .navbar .navbar-collapse.collapse.in, + .navbar .navbar-collapse.collapsing { + display: none !important; + } + .navbar-nav > li { + float: none; + position: relative; + display: block; + } + .off-canvas-sidebar { + position: fixed; + display: block; + top: 0; + height: 100%; + width: 230px; + right: 0; + z-index: 1032; + visibility: visible; + background-color: #999; + overflow-y: visible; + border-top: none; + text-align: left; + padding-right: 0px; + padding-left: 0; + -webkit-transform: translate3d(230px, 0, 0); + transform: translate3d(230px, 0, 0); + -webkit-transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1); + transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1); + } + .off-canvas-sidebar .sidebar-wrapper { + position: relative; + z-index: 3; + overflow-y: scroll; + height: 100%; + -webkit-box-shadow: inset 1px 0px 0px 0px #DDDDDD; + box-shadow: inset 1px 0px 0px 0px #DDDDDD; + } + .off-canvas-sidebar .nav { + margin-top: 0; + padding: 10px 15px 0; + } + .off-canvas-sidebar .nav > li > a { + margin: 0px 0px; + color: #2c2c2c; + text-transform: uppercase; + font-weight: 600; + font-size: 0.8571em; + line-height: 1.4em; + padding: 10px 0; + } + .off-canvas-sidebar .nav > li > a:hover, .off-canvas-sidebar .nav > li > a.active { + color: #403D39; + } + .off-canvas-sidebar .nav > li > a p, + .off-canvas-sidebar .nav > li > a .notification, + .off-canvas-sidebar .nav > li > a .caret { + display: inline-block; + } + .off-canvas-sidebar .nav > li > a .caret { + float: right; + position: relative; + top: 12px; + } + .off-canvas-sidebar .nav > li > a i { + font-size: 18px; + margin-right: 10px; + line-height: 26px; + } + .off-canvas-sidebar .nav > li.active > a:before { + border-right: none; + border-left: 12px solid #DDDDDD; + border-top: 12px solid transparent; + border-bottom: 12px solid transparent; + right: auto; + margin-left: -15px; + left: 0px; + top: 10px; + } + .off-canvas-sidebar .nav > li.active > a:after { + border-right: none; + border-left: 12px solid #ebeff2; + border-top: 12px solid transparent; + border-bottom: 12px solid transparent; + right: auto; + margin-left: -15px; + left: -1px; + top: 10px; + } + .off-canvas-sidebar::after { + top: 0; + left: 0; + height: 100%; + width: 100%; + position: absolute; + background-color: #ebeff2; + background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(60%, rgba(112, 112, 112, 0)), to(rgba(186, 186, 186, 0.15))); + background-image: linear-gradient(to bottom, transparent 0%, rgba(112, 112, 112, 0) 60%, rgba(186, 186, 186, 0.15) 100%); + display: block; + content: ""; + z-index: 1; + } + .off-canvas-sidebar.has-image::after { + top: 0; + left: 0; + height: 100%; + width: 100%; + position: absolute; + background-color: rgba(17, 17, 17, 0.8); + display: block; + content: ""; + z-index: 1; + } + .off-canvas-sidebar .logo { + position: relative; + z-index: 4; + padding-top: 11px; + padding-bottom: 11px; + } + .off-canvas-sidebar .divider { + height: 1px; + margin: 10px 0; + } + .nav-open .navbar-collapse { + -webkit-transform: translate3d(0px, 0, 0); + transform: translate3d(0px, 0, 0); + } + .nav-open .navbar .container { + left: -230px; + } + .nav-open .wrapper { + left: 0; + -webkit-transform: translate3d(-230px, 0, 0); + transform: translate3d(-230px, 0, 0); + } + .navbar-toggle .icon-bar { + display: block; + position: relative; + background: #fff; + width: 24px; + height: 2px; + border-radius: 1px; + margin: 0 auto; + } + .navbar-header .navbar-toggle { + margin: 10px 15px 10px 0; + width: 40px; + height: 40px; + } + .bar1, + .bar2, + .bar3 { + outline: 1px solid transparent; + } + .bar1 { + top: 0px; + -webkit-animation: topbar-back 500ms linear 0s; + animation: topbar-back 500ms 0s; + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; + } + .bar2 { + opacity: 1; + } + .bar3 { + bottom: 0px; + -webkit-animation: bottombar-back 500ms linear 0s; + animation: bottombar-back 500ms 0s; + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; + } + .toggled .bar1 { + top: 6px; + -webkit-animation: topbar-x 500ms linear 0s; + animation: topbar-x 500ms 0s; + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; + } + .toggled .bar2 { + opacity: 0; + } + .toggled .bar3 { + bottom: 6px; + -webkit-animation: bottombar-x 500ms linear 0s; + animation: bottombar-x 500ms 0s; + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; + } + @keyframes topbar-x { + 0% { + top: 0px; + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 45% { + top: 6px; + -webkit-transform: rotate(145deg); + transform: rotate(145deg); + } + 75% { + -webkit-transform: rotate(130deg); + transform: rotate(130deg); + } + 100% { + -webkit-transform: rotate(135deg); + transform: rotate(135deg); + } + } + @-webkit-keyframes topbar-x { + 0% { + top: 0px; + -webkit-transform: rotate(0deg); + } + 45% { + top: 6px; + -webkit-transform: rotate(145deg); + } + 75% { + -webkit-transform: rotate(130deg); + } + 100% { + -webkit-transform: rotate(135deg); + } + } + @keyframes topbar-back { + 0% { + top: 6px; + -webkit-transform: rotate(135deg); + transform: rotate(135deg); + } + 45% { + -webkit-transform: rotate(-10deg); + transform: rotate(-10deg); + } + 75% { + -webkit-transform: rotate(5deg); + transform: rotate(5deg); + } + 100% { + top: 0px; + -webkit-transform: rotate(0); + transform: rotate(0); + } + } + @-webkit-keyframes topbar-back { + 0% { + top: 6px; + -webkit-transform: rotate(135deg); + } + 45% { + -webkit-transform: rotate(-10deg); + } + 75% { + -webkit-transform: rotate(5deg); + } + 100% { + top: 0px; + -webkit-transform: rotate(0); + } + } + @keyframes bottombar-x { + 0% { + bottom: 0px; + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 45% { + bottom: 6px; + -webkit-transform: rotate(-145deg); + transform: rotate(-145deg); + } + 75% { + -webkit-transform: rotate(-130deg); + transform: rotate(-130deg); + } + 100% { + -webkit-transform: rotate(-135deg); + transform: rotate(-135deg); + } + } + @-webkit-keyframes bottombar-x { + 0% { + bottom: 0px; + -webkit-transform: rotate(0deg); + } + 45% { + bottom: 6px; + -webkit-transform: rotate(-145deg); + } + 75% { + -webkit-transform: rotate(-130deg); + } + 100% { + -webkit-transform: rotate(-135deg); + } + } + @keyframes bottombar-back { + 0% { + bottom: 6px; + -webkit-transform: rotate(-135deg); + transform: rotate(-135deg); + } + 45% { + -webkit-transform: rotate(10deg); + transform: rotate(10deg); + } + 75% { + -webkit-transform: rotate(-5deg); + transform: rotate(-5deg); + } + 100% { + bottom: 0px; + -webkit-transform: rotate(0); + transform: rotate(0); + } + } + @-webkit-keyframes bottombar-back { + 0% { + bottom: 6px; + -webkit-transform: rotate(-135deg); + } + 45% { + -webkit-transform: rotate(10deg); + } + 75% { + -webkit-transform: rotate(-5deg); + } + 100% { + bottom: 0px; + -webkit-transform: rotate(0); + } + } + @-webkit-keyframes fadeIn { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } + } + @keyframes fadeIn { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } + } + .dropdown-menu .divider { + background-color: rgba(229, 229, 229, 0.15); + } + .navbar-nav { + margin: 1px 0; + } + .dropdown-menu { + display: none; + } + .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { + background-color: transparent; + } + .navbar-fixed-top { + -webkit-backface-visibility: hidden; + } + #bodyClick { + height: 100%; + width: 100%; + position: fixed; + opacity: 0; + top: 0; + left: auto; + right: 230px; + content: ""; + z-index: 9999; + overflow-x: hidden; + } + .form-control + .form-control-feedback { + margin-top: -8px; + } + .navbar-toggle:hover, .navbar-toggle:focus { + background-color: transparent !important; + } + .btn.dropdown-toggle { + margin-bottom: 0; + } + .media-post .author { + width: 20%; + float: none !important; + display: block; + margin: 0 auto 10px; + } + .media-post .media-body { + width: 100%; + } + .navbar-collapse.collapse { + height: 100% !important; + } + .navbar-collapse.collapse.in { + display: block; + } + .navbar-header .collapse, .navbar-toggle { + display: block !important; + } + .navbar-header { + float: none; + } + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .main-panel > .content { + padding-left: 0; + padding-right: 0; + } + .nav .open > a, .nav .open > a:focus, .nav .open > a:hover { + background-color: transparent; + } + .footer .copyright { + padding: 0px 15px; + width: 100%; + } +} + +@media (min-width: 992px) { + .table-full-width { + margin-left: -15px; + margin-right: -15px; + } + .table-responsive { + overflow: visible; + } +} + +@media (max-width: 991px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + border: 1px solid #dddddd; + overflow-x: scroll; + overflow-y: hidden; + -ms-overflow-style: -ms-autohiding-scrollbar; + -webkit-overflow-scrolling: touch; + } +} + +.form-container { + border: 0; + border-radius: 2px; + display: inline-block; + position: relative; + overflow: hidden; + width: 100%; + /*margin-bottom: 20px;*/ + font-weight: bold; +} + +.form-container h6 { + font-size: 15px; + padding: 7px; + background-color: rgba(222, 222, 222, 0.3); +} + +.form-container .form-container-body { + padding: 8px; +} + +/* +* Licensing: http://www.pixeden.com/icon-fonts/stroke-7-icon-font-set +*/ +@font-face { + font-family: 'Pe-icon-7-stroke'; + src: url("../../fonts/Pe-icon-7-stroke.eot?d7yf1v"); + src: url("../../fonts/Pe-icon-7-stroke.eot?#iefixd7yf1v") format("embedded-opentype"), url("../../fonts/Pe-icon-7-stroke.woff?d7yf1v") format("woff"), url("../../fonts/Pe-icon-7-stroke.ttf?d7yf1v") format("truetype"), url("../../fonts/Pe-icon-7-stroke.svg?d7yf1v#Pe-icon-7-stroke") format("svg"); + font-weight: normal; + font-style: normal; +} + +[class^="pe-7s-"], [class*=" pe-7s-"] { + display: inline-block; + font-family: 'Pe-icon-7-stroke'; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* HELPER CLASS + * -------------------------- */ +/* FA based classes */ +/*! Modified from font-awesome helper CSS classes - PIXEDEN + * Font Awesome 4.0.3 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (CSS: MIT License) + */ +/* makes the font 33% larger relative to the icon container */ +.pe-lg { + font-size: 18.62px; + line-height: 0.75em; + vertical-align: -15%; +} + +.pe-2x { + font-size: 28px; +} + +.pe-3x { + font-size: 42px; +} + +.pe-4x { + font-size: 56px; +} + +.pe-5x { + font-size: 70px; +} + +.pe-fw { + width: 1.2857142857142858em; + text-align: center; +} + +.pe-ul { + padding-left: 0; + margin-left: 2.142857142857143em; + list-style-type: none; +} + +.pe-ul > li { + position: relative; +} + +.pe-li { + position: absolute; + left: -2.142857142857143em; + width: 2.142857142857143em; + top: 0.14285714285714285em; + text-align: center; +} + +.pe-li.pe-lg { + left: -1.8571428571428572em; +} + +.pe-border { + padding: .2em .25em .15em; + border: solid 0.08em #eeeeee; + border-radius: .1em; +} + +.pull-right { + float: right; +} + +.pe.pull-left { + float: left; + margin-right: .3em; + margin-left: .3em; +} + +.pe-spin { + -webkit-animation: spin 2s infinite linear; + animation: spin 2s infinite linear; +} + +@-webkit-keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} + +@keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} + +.pe-rotate-90 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} + +.pe-rotate-180 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.pe-rotate-270 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +.pe-flip-horizontal { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); + -webkit-transform: scale(-1, 1); + transform: scale(-1, 1); +} + +.pe-flip-vertical { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); + -webkit-transform: scale(1, -1); + transform: scale(1, -1); +} + +.pe-stack { + position: relative; + display: inline-block; + width: 2em; + height: 2em; + line-height: 2em; + vertical-align: middle; +} + +.pe-stack-1x, +.pe-stack-2x { + position: absolute; + left: 0; + width: 100%; + text-align: center; +} + +.pe-stack-1x { + line-height: inherit; +} + +.pe-stack-2x { + font-size: 2em; +} + +.pe-inverse { + color: #ffffff; +} + +/* Custom classes / mods - PIXEDEN */ +.pe-va { + vertical-align: middle; +} + +.pe-border { + border: solid 0.08em #eaeaea; +} + +.pe-7s-album:before { + content: "\E6AA"; +} + +.pe-7s-arc:before { + content: "\E6AB"; +} + +.pe-7s-back-2:before { + content: "\E6AC"; +} + +.pe-7s-bandaid:before { + content: "\E6AD"; +} + +.pe-7s-car:before { + content: "\E6AE"; +} + +.pe-7s-diamond:before { + content: "\E6AF"; +} + +.pe-7s-door-lock:before { + content: "\E6B0"; +} + +.pe-7s-eyedropper:before { + content: "\E6B1"; +} + +.pe-7s-female:before { + content: "\E6B2"; +} + +.pe-7s-gym:before { + content: "\E6B3"; +} + +.pe-7s-hammer:before { + content: "\E6B4"; +} + +.pe-7s-headphones:before { + content: "\E6B5"; +} + +.pe-7s-helm:before { + content: "\E6B6"; +} + +.pe-7s-hourglass:before { + content: "\E6B7"; +} + +.pe-7s-leaf:before { + content: "\E6B8"; +} + +.pe-7s-magic-wand:before { + content: "\E6B9"; +} + +.pe-7s-male:before { + content: "\E6BA"; +} + +.pe-7s-map-2:before { + content: "\E6BB"; +} + +.pe-7s-next-2:before { + content: "\E6BC"; +} + +.pe-7s-paint-bucket:before { + content: "\E6BD"; +} + +.pe-7s-pendrive:before { + content: "\E6BE"; +} + +.pe-7s-photo:before { + content: "\E6BF"; +} + +.pe-7s-piggy:before { + content: "\E6C0"; +} + +.pe-7s-plugin:before { + content: "\E6C1"; +} + +.pe-7s-refresh-2:before { + content: "\E6C2"; +} + +.pe-7s-rocket:before { + content: "\E6C3"; +} + +.pe-7s-settings:before { + content: "\E6C4"; +} + +.pe-7s-shield:before { + content: "\E6C5"; +} + +.pe-7s-smile:before { + content: "\E6C6"; +} + +.pe-7s-usb:before { + content: "\E6C7"; +} + +.pe-7s-vector:before { + content: "\E6C8"; +} + +.pe-7s-wine:before { + content: "\E6C9"; +} + +.pe-7s-cloud-upload:before { + content: "\E68A"; +} + +.pe-7s-cash:before { + content: "\E68C"; +} + +.pe-7s-close:before { + content: "\E680"; +} + +.pe-7s-bluetooth:before { + content: "\E68D"; +} + +.pe-7s-cloud-download:before { + content: "\E68B"; +} + +.pe-7s-way:before { + content: "\E68E"; +} + +.pe-7s-close-circle:before { + content: "\E681"; +} + +.pe-7s-id:before { + content: "\E68F"; +} + +.pe-7s-angle-up:before { + content: "\E682"; +} + +.pe-7s-wristwatch:before { + content: "\E690"; +} + +.pe-7s-angle-up-circle:before { + content: "\E683"; +} + +.pe-7s-world:before { + content: "\E691"; +} + +.pe-7s-angle-right:before { + content: "\E684"; +} + +.pe-7s-volume:before { + content: "\E692"; +} + +.pe-7s-angle-right-circle:before { + content: "\E685"; +} + +.pe-7s-users:before { + content: "\E693"; +} + +.pe-7s-angle-left:before { + content: "\E686"; +} + +.pe-7s-user-female:before { + content: "\E694"; +} + +.pe-7s-angle-left-circle:before { + content: "\E687"; +} + +.pe-7s-up-arrow:before { + content: "\E695"; +} + +.pe-7s-angle-down:before { + content: "\E688"; +} + +.pe-7s-switch:before { + content: "\E696"; +} + +.pe-7s-angle-down-circle:before { + content: "\E689"; +} + +.pe-7s-scissors:before { + content: "\E697"; +} + +.pe-7s-wallet:before { + content: "\E600"; +} + +.pe-7s-safe:before { + content: "\E698"; +} + +.pe-7s-volume2:before { + content: "\E601"; +} + +.pe-7s-volume1:before { + content: "\E602"; +} + +.pe-7s-voicemail:before { + content: "\E603"; +} + +.pe-7s-video:before { + content: "\E604"; +} + +.pe-7s-user:before { + content: "\E605"; +} + +.pe-7s-upload:before { + content: "\E606"; +} + +.pe-7s-unlock:before { + content: "\E607"; +} + +.pe-7s-umbrella:before { + content: "\E608"; +} + +.pe-7s-trash:before { + content: "\E609"; +} + +.pe-7s-tools:before { + content: "\E60A"; +} + +.pe-7s-timer:before { + content: "\E60B"; +} + +.pe-7s-ticket:before { + content: "\E60C"; +} + +.pe-7s-target:before { + content: "\E60D"; +} + +.pe-7s-sun:before { + content: "\E60E"; +} + +.pe-7s-study:before { + content: "\E60F"; +} + +.pe-7s-stopwatch:before { + content: "\E610"; +} + +.pe-7s-star:before { + content: "\E611"; +} + +.pe-7s-speaker:before { + content: "\E612"; +} + +.pe-7s-signal:before { + content: "\E613"; +} + +.pe-7s-shuffle:before { + content: "\E614"; +} + +.pe-7s-shopbag:before { + content: "\E615"; +} + +.pe-7s-share:before { + content: "\E616"; +} + +.pe-7s-server:before { + content: "\E617"; +} + +.pe-7s-search:before { + content: "\E618"; +} + +.pe-7s-film:before { + content: "\E6A5"; +} + +.pe-7s-science:before { + content: "\E619"; +} + +.pe-7s-disk:before { + content: "\E6A6"; +} + +.pe-7s-ribbon:before { + content: "\E61A"; +} + +.pe-7s-repeat:before { + content: "\E61B"; +} + +.pe-7s-refresh:before { + content: "\E61C"; +} + +.pe-7s-add-user:before { + content: "\E6A9"; +} + +.pe-7s-refresh-cloud:before { + content: "\E61D"; +} + +.pe-7s-paperclip:before { + content: "\E69C"; +} + +.pe-7s-radio:before { + content: "\E61E"; +} + +.pe-7s-note2:before { + content: "\E69D"; +} + +.pe-7s-print:before { + content: "\E61F"; +} + +.pe-7s-network:before { + content: "\E69E"; +} + +.pe-7s-prev:before { + content: "\E620"; +} + +.pe-7s-mute:before { + content: "\E69F"; +} + +.pe-7s-power:before { + content: "\E621"; +} + +.pe-7s-medal:before { + content: "\E6A0"; +} + +.pe-7s-portfolio:before { + content: "\E622"; +} + +.pe-7s-like2:before { + content: "\E6A1"; +} + +.pe-7s-plus:before { + content: "\E623"; +} + +.pe-7s-left-arrow:before { + content: "\E6A2"; +} + +.pe-7s-play:before { + content: "\E624"; +} + +.pe-7s-key:before { + content: "\E6A3"; +} + +.pe-7s-plane:before { + content: "\E625"; +} + +.pe-7s-joy:before { + content: "\E6A4"; +} + +.pe-7s-photo-gallery:before { + content: "\E626"; +} + +.pe-7s-pin:before { + content: "\E69B"; +} + +.pe-7s-phone:before { + content: "\E627"; +} + +.pe-7s-plug:before { + content: "\E69A"; +} + +.pe-7s-pen:before { + content: "\E628"; +} + +.pe-7s-right-arrow:before { + content: "\E699"; +} + +.pe-7s-paper-plane:before { + content: "\E629"; +} + +.pe-7s-delete-user:before { + content: "\E6A7"; +} + +.pe-7s-paint:before { + content: "\E62A"; +} + +.pe-7s-bottom-arrow:before { + content: "\E6A8"; +} + +.pe-7s-notebook:before { + content: "\E62B"; +} + +.pe-7s-note:before { + content: "\E62C"; +} + +.pe-7s-next:before { + content: "\E62D"; +} + +.pe-7s-news-paper:before { + content: "\E62E"; +} + +.pe-7s-musiclist:before { + content: "\E62F"; +} + +.pe-7s-music:before { + content: "\E630"; +} + +.pe-7s-mouse:before { + content: "\E631"; +} + +.pe-7s-more:before { + content: "\E632"; +} + +.pe-7s-moon:before { + content: "\E633"; +} + +.pe-7s-monitor:before { + content: "\E634"; +} + +.pe-7s-micro:before { + content: "\E635"; +} + +.pe-7s-menu:before { + content: "\E636"; +} + +.pe-7s-map:before { + content: "\E637"; +} + +.pe-7s-map-marker:before { + content: "\E638"; +} + +.pe-7s-mail:before { + content: "\E639"; +} + +.pe-7s-mail-open:before { + content: "\E63A"; +} + +.pe-7s-mail-open-file:before { + content: "\E63B"; +} + +.pe-7s-magnet:before { + content: "\E63C"; +} + +.pe-7s-loop:before { + content: "\E63D"; +} + +.pe-7s-look:before { + content: "\E63E"; +} + +.pe-7s-lock:before { + content: "\E63F"; +} + +.pe-7s-lintern:before { + content: "\E640"; +} + +.pe-7s-link:before { + content: "\E641"; +} + +.pe-7s-like:before { + content: "\E642"; +} + +.pe-7s-light:before { + content: "\E643"; +} + +.pe-7s-less:before { + content: "\E644"; +} + +.pe-7s-keypad:before { + content: "\E645"; +} + +.pe-7s-junk:before { + content: "\E646"; +} + +.pe-7s-info:before { + content: "\E647"; +} + +.pe-7s-home:before { + content: "\E648"; +} + +.pe-7s-help2:before { + content: "\E649"; +} + +.pe-7s-help1:before { + content: "\E64A"; +} + +.pe-7s-graph3:before { + content: "\E64B"; +} + +.pe-7s-graph2:before { + content: "\E64C"; +} + +.pe-7s-graph1:before { + content: "\E64D"; +} + +.pe-7s-graph:before { + content: "\E64E"; +} + +.pe-7s-global:before { + content: "\E64F"; +} + +.pe-7s-gleam:before { + content: "\E650"; +} + +.pe-7s-glasses:before { + content: "\E651"; +} + +.pe-7s-gift:before { + content: "\E652"; +} + +.pe-7s-folder:before { + content: "\E653"; +} + +.pe-7s-flag:before { + content: "\E654"; +} + +.pe-7s-filter:before { + content: "\E655"; +} + +.pe-7s-file:before { + content: "\E656"; +} + +.pe-7s-expand1:before { + content: "\E657"; +} + +.pe-7s-exapnd2:before { + content: "\E658"; +} + +.pe-7s-edit:before { + content: "\E659"; +} + +.pe-7s-drop:before { + content: "\E65A"; +} + +.pe-7s-drawer:before { + content: "\E65B"; +} + +.pe-7s-download:before { + content: "\E65C"; +} + +.pe-7s-display2:before { + content: "\E65D"; +} + +.pe-7s-display1:before { + content: "\E65E"; +} + +.pe-7s-diskette:before { + content: "\E65F"; +} + +.pe-7s-date:before { + content: "\E660"; +} + +.pe-7s-cup:before { + content: "\E661"; +} + +.pe-7s-culture:before { + content: "\E662"; +} + +.pe-7s-crop:before { + content: "\E663"; +} + +.pe-7s-credit:before { + content: "\E664"; +} + +.pe-7s-copy-file:before { + content: "\E665"; +} + +.pe-7s-config:before { + content: "\E666"; +} + +.pe-7s-compass:before { + content: "\E667"; +} + +.pe-7s-comment:before { + content: "\E668"; +} + +.pe-7s-coffee:before { + content: "\E669"; +} + +.pe-7s-cloud:before { + content: "\E66A"; +} + +.pe-7s-clock:before { + content: "\E66B"; +} + +.pe-7s-check:before { + content: "\E66C"; +} + +.pe-7s-chat:before { + content: "\E66D"; +} + +.pe-7s-cart:before { + content: "\E66E"; +} + +.pe-7s-camera:before { + content: "\E66F"; +} + +.pe-7s-call:before { + content: "\E670"; +} + +.pe-7s-calculator:before { + content: "\E671"; +} + +.pe-7s-browser:before { + content: "\E672"; +} + +.pe-7s-box2:before { + content: "\E673"; +} + +.pe-7s-box1:before { + content: "\E674"; +} + +.pe-7s-bookmarks:before { + content: "\E675"; +} + +.pe-7s-bicycle:before { + content: "\E676"; +} + +.pe-7s-bell:before { + content: "\E677"; +} + +.pe-7s-battery:before { + content: "\E678"; +} + +.pe-7s-ball:before { + content: "\E679"; +} + +.pe-7s-back:before { + content: "\E67A"; +} + +.pe-7s-attention:before { + content: "\E67B"; +} + +.pe-7s-anchor:before { + content: "\E67C"; +} + +.pe-7s-albums:before { + content: "\E67D"; +} + +.pe-7s-alarm:before { + content: "\E67E"; +} + +.pe-7s-airplay:before { + content: "\E67F"; +} diff --git a/public/assets/admin/css/vendor.min.css b/public/assets/admin/css/vendor.min.css index 65bdd51d..b876a1cd 100644 --- a/public/assets/admin/css/vendor.min.css +++ b/public/assets/admin/css/vendor.min.css @@ -1,10229 +1,4 @@ -/*! - * Bootstrap v3.3.5 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ -/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ -html { - font-family: sans-serif; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -body { - margin: 0; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -menu, -nav, -section, -summary { - display: block; -} -audio, -canvas, -progress, -video { - display: inline-block; - vertical-align: baseline; -} -audio:not([controls]) { - display: none; - height: 0; -} -[hidden], -template { - display: none; -} -a { - background-color: transparent; -} -a:active, -a:hover { - outline: 0; -} -abbr[title] { - border-bottom: 1px dotted; -} -b, -strong { - font-weight: bold; -} -dfn { - font-style: italic; -} -h1 { - margin: .67em 0; - font-size: 2em; -} -mark { - color: #000; - background: #ff0; -} -small { - font-size: 80%; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -.5em; -} -sub { - bottom: -.25em; -} -img { - border: 0; -} -svg:not(:root) { - overflow: hidden; -} -figure { - margin: 1em 40px; -} -hr { - height: 0; - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; -} -pre { - overflow: auto; -} -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; -} -button, -input, -optgroup, -select, -textarea { - margin: 0; - font: inherit; - color: inherit; -} -button { - overflow: visible; -} -button, -select { - text-transform: none; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -button[disabled], -html input[disabled] { - cursor: default; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -input { - line-height: normal; -} -input[type="checkbox"], -input[type="radio"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0; -} -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -fieldset { - padding: .35em .625em .75em; - margin: 0 2px; - border: 1px solid #c0c0c0; -} -legend { - padding: 0; - border: 0; -} -textarea { - overflow: auto; -} -optgroup { - font-weight: bold; -} -table { - border-spacing: 0; - border-collapse: collapse; -} -td, -th { - padding: 0; -} -/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ -@media print { - *, - *:before, - *:after { - color: #000 !important; - text-shadow: none !important; - background: transparent !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - a[href^="#"]:after, - a[href^="javascript:"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } - .navbar { - display: none; - } - .btn > .caret, - .dropup > .btn > .caret { - border-top-color: #000 !important; - } - .label { - border: 1px solid #000; - } - .table { - border-collapse: collapse !important; - } - .table td, - .table th { - background-color: #fff !important; - } - .table-bordered th, - .table-bordered td { - border: 1px solid #ddd !important; - } -} -@font-face { - font-family: 'Glyphicons Halflings'; - - src: url('../fonts/glyphicons-halflings-regular.eot'); - src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); -} -.glyphicon { - position: relative; - top: 1px; - display: inline-block; - font-family: 'Glyphicons Halflings'; - font-style: normal; - font-weight: normal; - line-height: 1; - - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -.glyphicon-asterisk:before { - content: "\2a"; -} -.glyphicon-plus:before { - content: "\2b"; -} -.glyphicon-euro:before, -.glyphicon-eur:before { - content: "\20ac"; -} -.glyphicon-minus:before { - content: "\2212"; -} -.glyphicon-cloud:before { - content: "\2601"; -} -.glyphicon-envelope:before { - content: "\2709"; -} -.glyphicon-pencil:before { - content: "\270f"; -} -.glyphicon-glass:before { - content: "\e001"; -} -.glyphicon-music:before { - content: "\e002"; -} -.glyphicon-search:before { - content: "\e003"; -} -.glyphicon-heart:before { - content: "\e005"; -} -.glyphicon-star:before { - content: "\e006"; -} -.glyphicon-star-empty:before { - content: "\e007"; -} -.glyphicon-user:before { - content: "\e008"; -} -.glyphicon-film:before { - content: "\e009"; -} -.glyphicon-th-large:before { - content: "\e010"; -} -.glyphicon-th:before { - content: "\e011"; -} -.glyphicon-th-list:before { - content: "\e012"; -} -.glyphicon-ok:before { - content: "\e013"; -} -.glyphicon-remove:before { - content: "\e014"; -} -.glyphicon-zoom-in:before { - content: "\e015"; -} -.glyphicon-zoom-out:before { - content: "\e016"; -} -.glyphicon-off:before { - content: "\e017"; -} -.glyphicon-signal:before { - content: "\e018"; -} -.glyphicon-cog:before { - content: "\e019"; -} -.glyphicon-trash:before { - content: "\e020"; -} -.glyphicon-home:before { - content: "\e021"; -} -.glyphicon-file:before { - content: "\e022"; -} -.glyphicon-time:before { - content: "\e023"; -} -.glyphicon-road:before { - content: "\e024"; -} -.glyphicon-download-alt:before { - content: "\e025"; -} -.glyphicon-download:before { - content: "\e026"; -} -.glyphicon-upload:before { - content: "\e027"; -} -.glyphicon-inbox:before { - content: "\e028"; -} -.glyphicon-play-circle:before { - content: "\e029"; -} -.glyphicon-repeat:before { - content: "\e030"; -} -.glyphicon-refresh:before { - content: "\e031"; -} -.glyphicon-list-alt:before { - content: "\e032"; -} -.glyphicon-lock:before { - content: "\e033"; -} -.glyphicon-flag:before { - content: "\e034"; -} -.glyphicon-headphones:before { - content: "\e035"; -} -.glyphicon-volume-off:before { - content: "\e036"; -} -.glyphicon-volume-down:before { - content: "\e037"; -} -.glyphicon-volume-up:before { - content: "\e038"; -} -.glyphicon-qrcode:before { - content: "\e039"; -} -.glyphicon-barcode:before { - content: "\e040"; -} -.glyphicon-tag:before { - content: "\e041"; -} -.glyphicon-tags:before { - content: "\e042"; -} -.glyphicon-book:before { - content: "\e043"; -} -.glyphicon-bookmark:before { - content: "\e044"; -} -.glyphicon-print:before { - content: "\e045"; -} -.glyphicon-camera:before { - content: "\e046"; -} -.glyphicon-font:before { - content: "\e047"; -} -.glyphicon-bold:before { - content: "\e048"; -} -.glyphicon-italic:before { - content: "\e049"; -} -.glyphicon-text-height:before { - content: "\e050"; -} -.glyphicon-text-width:before { - content: "\e051"; -} -.glyphicon-align-left:before { - content: "\e052"; -} -.glyphicon-align-center:before { - content: "\e053"; -} -.glyphicon-align-right:before { - content: "\e054"; -} -.glyphicon-align-justify:before { - content: "\e055"; -} -.glyphicon-list:before { - content: "\e056"; -} -.glyphicon-indent-left:before { - content: "\e057"; -} -.glyphicon-indent-right:before { - content: "\e058"; -} -.glyphicon-facetime-video:before { - content: "\e059"; -} -.glyphicon-picture:before { - content: "\e060"; -} -.glyphicon-map-marker:before { - content: "\e062"; -} -.glyphicon-adjust:before { - content: "\e063"; -} -.glyphicon-tint:before { - content: "\e064"; -} -.glyphicon-edit:before { - content: "\e065"; -} -.glyphicon-share:before { - content: "\e066"; -} -.glyphicon-check:before { - content: "\e067"; -} -.glyphicon-move:before { - content: "\e068"; -} -.glyphicon-step-backward:before { - content: "\e069"; -} -.glyphicon-fast-backward:before { - content: "\e070"; -} -.glyphicon-backward:before { - content: "\e071"; -} -.glyphicon-play:before { - content: "\e072"; -} -.glyphicon-pause:before { - content: "\e073"; -} -.glyphicon-stop:before { - content: "\e074"; -} -.glyphicon-forward:before { - content: "\e075"; -} -.glyphicon-fast-forward:before { - content: "\e076"; -} -.glyphicon-step-forward:before { - content: "\e077"; -} -.glyphicon-eject:before { - content: "\e078"; -} -.glyphicon-chevron-left:before { - content: "\e079"; -} -.glyphicon-chevron-right:before { - content: "\e080"; -} -.glyphicon-plus-sign:before { - content: "\e081"; -} -.glyphicon-minus-sign:before { - content: "\e082"; -} -.glyphicon-remove-sign:before { - content: "\e083"; -} -.glyphicon-ok-sign:before { - content: "\e084"; -} -.glyphicon-question-sign:before { - content: "\e085"; -} -.glyphicon-info-sign:before { - content: "\e086"; -} -.glyphicon-screenshot:before { - content: "\e087"; -} -.glyphicon-remove-circle:before { - content: "\e088"; -} -.glyphicon-ok-circle:before { - content: "\e089"; -} -.glyphicon-ban-circle:before { - content: "\e090"; -} -.glyphicon-arrow-left:before { - content: "\e091"; -} -.glyphicon-arrow-right:before { - content: "\e092"; -} -.glyphicon-arrow-up:before { - content: "\e093"; -} -.glyphicon-arrow-down:before { - content: "\e094"; -} -.glyphicon-share-alt:before { - content: "\e095"; -} -.glyphicon-resize-full:before { - content: "\e096"; -} -.glyphicon-resize-small:before { - content: "\e097"; -} -.glyphicon-exclamation-sign:before { - content: "\e101"; -} -.glyphicon-gift:before { - content: "\e102"; -} -.glyphicon-leaf:before { - content: "\e103"; -} -.glyphicon-fire:before { - content: "\e104"; -} -.glyphicon-eye-open:before { - content: "\e105"; -} -.glyphicon-eye-close:before { - content: "\e106"; -} -.glyphicon-warning-sign:before { - content: "\e107"; -} -.glyphicon-plane:before { - content: "\e108"; -} -.glyphicon-calendar:before { - content: "\e109"; -} -.glyphicon-random:before { - content: "\e110"; -} -.glyphicon-comment:before { - content: "\e111"; -} -.glyphicon-magnet:before { - content: "\e112"; -} -.glyphicon-chevron-up:before { - content: "\e113"; -} -.glyphicon-chevron-down:before { - content: "\e114"; -} -.glyphicon-retweet:before { - content: "\e115"; -} -.glyphicon-shopping-cart:before { - content: "\e116"; -} -.glyphicon-folder-close:before { - content: "\e117"; -} -.glyphicon-folder-open:before { - content: "\e118"; -} -.glyphicon-resize-vertical:before { - content: "\e119"; -} -.glyphicon-resize-horizontal:before { - content: "\e120"; -} -.glyphicon-hdd:before { - content: "\e121"; -} -.glyphicon-bullhorn:before { - content: "\e122"; -} -.glyphicon-bell:before { - content: "\e123"; -} -.glyphicon-certificate:before { - content: "\e124"; -} -.glyphicon-thumbs-up:before { - content: "\e125"; -} -.glyphicon-thumbs-down:before { - content: "\e126"; -} -.glyphicon-hand-right:before { - content: "\e127"; -} -.glyphicon-hand-left:before { - content: "\e128"; -} -.glyphicon-hand-up:before { - content: "\e129"; -} -.glyphicon-hand-down:before { - content: "\e130"; -} -.glyphicon-circle-arrow-right:before { - content: "\e131"; -} -.glyphicon-circle-arrow-left:before { - content: "\e132"; -} -.glyphicon-circle-arrow-up:before { - content: "\e133"; -} -.glyphicon-circle-arrow-down:before { - content: "\e134"; -} -.glyphicon-globe:before { - content: "\e135"; -} -.glyphicon-wrench:before { - content: "\e136"; -} -.glyphicon-tasks:before { - content: "\e137"; -} -.glyphicon-filter:before { - content: "\e138"; -} -.glyphicon-briefcase:before { - content: "\e139"; -} -.glyphicon-fullscreen:before { - content: "\e140"; -} -.glyphicon-dashboard:before { - content: "\e141"; -} -.glyphicon-paperclip:before { - content: "\e142"; -} -.glyphicon-heart-empty:before { - content: "\e143"; -} -.glyphicon-link:before { - content: "\e144"; -} -.glyphicon-phone:before { - content: "\e145"; -} -.glyphicon-pushpin:before { - content: "\e146"; -} -.glyphicon-usd:before { - content: "\e148"; -} -.glyphicon-gbp:before { - content: "\e149"; -} -.glyphicon-sort:before { - content: "\e150"; -} -.glyphicon-sort-by-alphabet:before { - content: "\e151"; -} -.glyphicon-sort-by-alphabet-alt:before { - content: "\e152"; -} -.glyphicon-sort-by-order:before { - content: "\e153"; -} -.glyphicon-sort-by-order-alt:before { - content: "\e154"; -} -.glyphicon-sort-by-attributes:before { - content: "\e155"; -} -.glyphicon-sort-by-attributes-alt:before { - content: "\e156"; -} -.glyphicon-unchecked:before { - content: "\e157"; -} -.glyphicon-expand:before { - content: "\e158"; -} -.glyphicon-collapse-down:before { - content: "\e159"; -} -.glyphicon-collapse-up:before { - content: "\e160"; -} -.glyphicon-log-in:before { - content: "\e161"; -} -.glyphicon-flash:before { - content: "\e162"; -} -.glyphicon-log-out:before { - content: "\e163"; -} -.glyphicon-new-window:before { - content: "\e164"; -} -.glyphicon-record:before { - content: "\e165"; -} -.glyphicon-save:before { - content: "\e166"; -} -.glyphicon-open:before { - content: "\e167"; -} -.glyphicon-saved:before { - content: "\e168"; -} -.glyphicon-import:before { - content: "\e169"; -} -.glyphicon-export:before { - content: "\e170"; -} -.glyphicon-send:before { - content: "\e171"; -} -.glyphicon-floppy-disk:before { - content: "\e172"; -} -.glyphicon-floppy-saved:before { - content: "\e173"; -} -.glyphicon-floppy-remove:before { - content: "\e174"; -} -.glyphicon-floppy-save:before { - content: "\e175"; -} -.glyphicon-floppy-open:before { - content: "\e176"; -} -.glyphicon-credit-card:before { - content: "\e177"; -} -.glyphicon-transfer:before { - content: "\e178"; -} -.glyphicon-cutlery:before { - content: "\e179"; -} -.glyphicon-header:before { - content: "\e180"; -} -.glyphicon-compressed:before { - content: "\e181"; -} -.glyphicon-earphone:before { - content: "\e182"; -} -.glyphicon-phone-alt:before { - content: "\e183"; -} -.glyphicon-tower:before { - content: "\e184"; -} -.glyphicon-stats:before { - content: "\e185"; -} -.glyphicon-sd-video:before { - content: "\e186"; -} -.glyphicon-hd-video:before { - content: "\e187"; -} -.glyphicon-subtitles:before { - content: "\e188"; -} -.glyphicon-sound-stereo:before { - content: "\e189"; -} -.glyphicon-sound-dolby:before { - content: "\e190"; -} -.glyphicon-sound-5-1:before { - content: "\e191"; -} -.glyphicon-sound-6-1:before { - content: "\e192"; -} -.glyphicon-sound-7-1:before { - content: "\e193"; -} -.glyphicon-copyright-mark:before { - content: "\e194"; -} -.glyphicon-registration-mark:before { - content: "\e195"; -} -.glyphicon-cloud-download:before { - content: "\e197"; -} -.glyphicon-cloud-upload:before { - content: "\e198"; -} -.glyphicon-tree-conifer:before { - content: "\e199"; -} -.glyphicon-tree-deciduous:before { - content: "\e200"; -} -.glyphicon-cd:before { - content: "\e201"; -} -.glyphicon-save-file:before { - content: "\e202"; -} -.glyphicon-open-file:before { - content: "\e203"; -} -.glyphicon-level-up:before { - content: "\e204"; -} -.glyphicon-copy:before { - content: "\e205"; -} -.glyphicon-paste:before { - content: "\e206"; -} -.glyphicon-alert:before { - content: "\e209"; -} -.glyphicon-equalizer:before { - content: "\e210"; -} -.glyphicon-king:before { - content: "\e211"; -} -.glyphicon-queen:before { - content: "\e212"; -} -.glyphicon-pawn:before { - content: "\e213"; -} -.glyphicon-bishop:before { - content: "\e214"; -} -.glyphicon-knight:before { - content: "\e215"; -} -.glyphicon-baby-formula:before { - content: "\e216"; -} -.glyphicon-tent:before { - content: "\26fa"; -} -.glyphicon-blackboard:before { - content: "\e218"; -} -.glyphicon-bed:before { - content: "\e219"; -} -.glyphicon-apple:before { - content: "\f8ff"; -} -.glyphicon-erase:before { - content: "\e221"; -} -.glyphicon-hourglass:before { - content: "\231b"; -} -.glyphicon-lamp:before { - content: "\e223"; -} -.glyphicon-duplicate:before { - content: "\e224"; -} -.glyphicon-piggy-bank:before { - content: "\e225"; -} -.glyphicon-scissors:before { - content: "\e226"; -} -.glyphicon-bitcoin:before { - content: "\e227"; -} -.glyphicon-btc:before { - content: "\e227"; -} -.glyphicon-xbt:before { - content: "\e227"; -} -.glyphicon-yen:before { - content: "\00a5"; -} -.glyphicon-jpy:before { - content: "\00a5"; -} -.glyphicon-ruble:before { - content: "\20bd"; -} -.glyphicon-rub:before { - content: "\20bd"; -} -.glyphicon-scale:before { - content: "\e230"; -} -.glyphicon-ice-lolly:before { - content: "\e231"; -} -.glyphicon-ice-lolly-tasted:before { - content: "\e232"; -} -.glyphicon-education:before { - content: "\e233"; -} -.glyphicon-option-horizontal:before { - content: "\e234"; -} -.glyphicon-option-vertical:before { - content: "\e235"; -} -.glyphicon-menu-hamburger:before { - content: "\e236"; -} -.glyphicon-modal-window:before { - content: "\e237"; -} -.glyphicon-oil:before { - content: "\e238"; -} -.glyphicon-grain:before { - content: "\e239"; -} -.glyphicon-sunglasses:before { - content: "\e240"; -} -.glyphicon-text-size:before { - content: "\e241"; -} -.glyphicon-text-color:before { - content: "\e242"; -} -.glyphicon-text-background:before { - content: "\e243"; -} -.glyphicon-object-align-top:before { - content: "\e244"; -} -.glyphicon-object-align-bottom:before { - content: "\e245"; -} -.glyphicon-object-align-horizontal:before { - content: "\e246"; -} -.glyphicon-object-align-left:before { - content: "\e247"; -} -.glyphicon-object-align-vertical:before { - content: "\e248"; -} -.glyphicon-object-align-right:before { - content: "\e249"; -} -.glyphicon-triangle-right:before { - content: "\e250"; -} -.glyphicon-triangle-left:before { - content: "\e251"; -} -.glyphicon-triangle-bottom:before { - content: "\e252"; -} -.glyphicon-triangle-top:before { - content: "\e253"; -} -.glyphicon-console:before { - content: "\e254"; -} -.glyphicon-superscript:before { - content: "\e255"; -} -.glyphicon-subscript:before { - content: "\e256"; -} -.glyphicon-menu-left:before { - content: "\e257"; -} -.glyphicon-menu-right:before { - content: "\e258"; -} -.glyphicon-menu-down:before { - content: "\e259"; -} -.glyphicon-menu-up:before { - content: "\e260"; -} -* { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -*:before, -*:after { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -html { - font-size: 10px; - - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -} -body { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - line-height: 1.42857143; - color: #333; - background-color: #fff; -} -input, -button, -select, -textarea { - font-family: inherit; - font-size: inherit; - line-height: inherit; -} -a { - color: #337ab7; - text-decoration: none; -} -a:hover, -a:focus { - color: #23527c; - text-decoration: underline; -} -a:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -figure { - margin: 0; -} -img { - vertical-align: middle; -} -.img-responsive, -.thumbnail > img, -.thumbnail a > img, -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - max-width: 100%; - height: auto; -} -.img-rounded { - border-radius: 6px; -} -.img-thumbnail { - display: inline-block; - max-width: 100%; - height: auto; - padding: 4px; - line-height: 1.42857143; - background-color: #fff; - border: 1px solid #ddd; - border-radius: 4px; - -webkit-transition: all .2s ease-in-out; - -o-transition: all .2s ease-in-out; - transition: all .2s ease-in-out; -} -.img-circle { - border-radius: 50%; -} -hr { - margin-top: 20px; - margin-bottom: 20px; - border: 0; - border-top: 1px solid #eee; -} -.sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; -} -.sr-only-focusable:active, -.sr-only-focusable:focus { - position: static; - width: auto; - height: auto; - margin: 0; - overflow: visible; - clip: auto; -} -[role="button"] { - cursor: pointer; -} -h1, -h2, -h3, -h4, -h5, -h6, -.h1, -.h2, -.h3, -.h4, -.h5, -.h6 { - font-family: inherit; - font-weight: 500; - line-height: 1.1; - color: inherit; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small, -.h1 small, -.h2 small, -.h3 small, -.h4 small, -.h5 small, -.h6 small, -h1 .small, -h2 .small, -h3 .small, -h4 .small, -h5 .small, -h6 .small, -.h1 .small, -.h2 .small, -.h3 .small, -.h4 .small, -.h5 .small, -.h6 .small { - font-weight: normal; - line-height: 1; - color: #777; -} -h1, -.h1, -h2, -.h2, -h3, -.h3 { - margin-top: 20px; - margin-bottom: 10px; -} -h1 small, -.h1 small, -h2 small, -.h2 small, -h3 small, -.h3 small, -h1 .small, -.h1 .small, -h2 .small, -.h2 .small, -h3 .small, -.h3 .small { - font-size: 65%; -} -h4, -.h4, -h5, -.h5, -h6, -.h6 { - margin-top: 10px; - margin-bottom: 10px; -} -h4 small, -.h4 small, -h5 small, -.h5 small, -h6 small, -.h6 small, -h4 .small, -.h4 .small, -h5 .small, -.h5 .small, -h6 .small, -.h6 .small { - font-size: 75%; -} -h1, -.h1 { - font-size: 36px; -} -h2, -.h2 { - font-size: 30px; -} -h3, -.h3 { - font-size: 24px; -} -h4, -.h4 { - font-size: 18px; -} -h5, -.h5 { - font-size: 14px; -} -h6, -.h6 { - font-size: 12px; -} -p { - margin: 0 0 10px; -} -.lead { - margin-bottom: 20px; - font-size: 16px; - font-weight: 300; - line-height: 1.4; -} -@media (min-width: 768px) { - .lead { - font-size: 21px; - } -} -small, -.small { - font-size: 85%; -} -mark, -.mark { - padding: .2em; - background-color: #fcf8e3; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -.text-justify { - text-align: justify; -} -.text-nowrap { - white-space: nowrap; -} -.text-lowercase { - text-transform: lowercase; -} -.text-uppercase { - text-transform: uppercase; -} -.text-capitalize { - text-transform: capitalize; -} -.text-muted { - color: #777; -} -.text-primary { - color: #337ab7; -} -a.text-primary:hover, -a.text-primary:focus { - color: #286090; -} -.text-success { - color: #3c763d; -} -a.text-success:hover, -a.text-success:focus { - color: #2b542c; -} -.text-info { - color: #31708f; -} -a.text-info:hover, -a.text-info:focus { - color: #245269; -} -.text-warning { - color: #8a6d3b; -} -a.text-warning:hover, -a.text-warning:focus { - color: #66512c; -} -.text-danger { - color: #a94442; -} -a.text-danger:hover, -a.text-danger:focus { - color: #843534; -} -.bg-primary { - color: #fff; - background-color: #337ab7; -} -a.bg-primary:hover, -a.bg-primary:focus { - background-color: #286090; -} -.bg-success { - background-color: #dff0d8; -} -a.bg-success:hover, -a.bg-success:focus { - background-color: #c1e2b3; -} -.bg-info { - background-color: #d9edf7; -} -a.bg-info:hover, -a.bg-info:focus { - background-color: #afd9ee; -} -.bg-warning { - background-color: #fcf8e3; -} -a.bg-warning:hover, -a.bg-warning:focus { - background-color: #f7ecb5; -} -.bg-danger { - background-color: #f2dede; -} -a.bg-danger:hover, -a.bg-danger:focus { - background-color: #e4b9b9; -} -.page-header { - padding-bottom: 9px; - margin: 40px 0 20px; - border-bottom: 1px solid #eee; -} -ul, -ol { - margin-top: 0; - margin-bottom: 10px; -} -ul ul, -ol ul, -ul ol, -ol ol { - margin-bottom: 0; -} -.list-unstyled { - padding-left: 0; - list-style: none; -} -.list-inline { - padding-left: 0; - margin-left: -5px; - list-style: none; -} -.list-inline > li { - display: inline-block; - padding-right: 5px; - padding-left: 5px; -} -dl { - margin-top: 0; - margin-bottom: 20px; -} -dt, -dd { - line-height: 1.42857143; -} -dt { - font-weight: bold; -} -dd { - margin-left: 0; -} -@media (min-width: 768px) { - .dl-horizontal dt { - float: left; - width: 160px; - overflow: hidden; - clear: left; - text-align: right; - text-overflow: ellipsis; - white-space: nowrap; - } - .dl-horizontal dd { - margin-left: 180px; - } -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #777; -} -.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 10px 20px; - margin: 0 0 20px; - font-size: 17.5px; - border-left: 5px solid #eee; -} -blockquote p:last-child, -blockquote ul:last-child, -blockquote ol:last-child { - margin-bottom: 0; -} -blockquote footer, -blockquote small, -blockquote .small { - display: block; - font-size: 80%; - line-height: 1.42857143; - color: #777; -} -blockquote footer:before, -blockquote small:before, -blockquote .small:before { - content: '\2014 \00A0'; -} -.blockquote-reverse, -blockquote.pull-right { - padding-right: 15px; - padding-left: 0; - text-align: right; - border-right: 5px solid #eee; - border-left: 0; -} -.blockquote-reverse footer:before, -blockquote.pull-right footer:before, -.blockquote-reverse small:before, -blockquote.pull-right small:before, -.blockquote-reverse .small:before, -blockquote.pull-right .small:before { - content: ''; -} -.blockquote-reverse footer:after, -blockquote.pull-right footer:after, -.blockquote-reverse small:after, -blockquote.pull-right small:after, -.blockquote-reverse .small:after, -blockquote.pull-right .small:after { - content: '\00A0 \2014'; -} -address { - margin-bottom: 20px; - font-style: normal; - line-height: 1.42857143; -} -code, -kbd, -pre, -samp { - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; -} -code { - padding: 2px 4px; - font-size: 90%; - color: #c7254e; - background-color: #f9f2f4; - border-radius: 4px; -} -kbd { - padding: 2px 4px; - font-size: 90%; - color: #fff; - background-color: #333; - border-radius: 3px; - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); -} -kbd kbd { - padding: 0; - font-size: 100%; - font-weight: bold; - -webkit-box-shadow: none; - box-shadow: none; -} -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 13px; - line-height: 1.42857143; - color: #333; - word-break: break-all; - word-wrap: break-word; - background-color: #f5f5f5; - border: 1px solid #ccc; - border-radius: 4px; -} -pre code { - padding: 0; - font-size: inherit; - color: inherit; - white-space: pre-wrap; - background-color: transparent; - border-radius: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -.container { - padding-right: 15px; - padding-left: 15px; - margin-right: auto; - margin-left: auto; -} -@media (min-width: 768px) { - .container { - width: 750px; - } -} -@media (min-width: 992px) { - .container { - width: 970px; - } -} -@media (min-width: 1200px) { - .container { - width: 1170px; - } -} -.container-fluid { - padding-right: 15px; - padding-left: 15px; - margin-right: auto; - margin-left: auto; -} -.row { - margin-right: -15px; - margin-left: -15px; -} -.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { - position: relative; - min-height: 1px; - padding-right: 15px; - padding-left: 15px; -} -.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { - float: left; -} -.col-xs-12 { - width: 100%; -} -.col-xs-11 { - width: 91.66666667%; -} -.col-xs-10 { - width: 83.33333333%; -} -.col-xs-9 { - width: 75%; -} -.col-xs-8 { - width: 66.66666667%; -} -.col-xs-7 { - width: 58.33333333%; -} -.col-xs-6 { - width: 50%; -} -.col-xs-5 { - width: 41.66666667%; -} -.col-xs-4 { - width: 33.33333333%; -} -.col-xs-3 { - width: 25%; -} -.col-xs-2 { - width: 16.66666667%; -} -.col-xs-1 { - width: 8.33333333%; -} -.col-xs-pull-12 { - right: 100%; -} -.col-xs-pull-11 { - right: 91.66666667%; -} -.col-xs-pull-10 { - right: 83.33333333%; -} -.col-xs-pull-9 { - right: 75%; -} -.col-xs-pull-8 { - right: 66.66666667%; -} -.col-xs-pull-7 { - right: 58.33333333%; -} -.col-xs-pull-6 { - right: 50%; -} -.col-xs-pull-5 { - right: 41.66666667%; -} -.col-xs-pull-4 { - right: 33.33333333%; -} -.col-xs-pull-3 { - right: 25%; -} -.col-xs-pull-2 { - right: 16.66666667%; -} -.col-xs-pull-1 { - right: 8.33333333%; -} -.col-xs-pull-0 { - right: auto; -} -.col-xs-push-12 { - left: 100%; -} -.col-xs-push-11 { - left: 91.66666667%; -} -.col-xs-push-10 { - left: 83.33333333%; -} -.col-xs-push-9 { - left: 75%; -} -.col-xs-push-8 { - left: 66.66666667%; -} -.col-xs-push-7 { - left: 58.33333333%; -} -.col-xs-push-6 { - left: 50%; -} -.col-xs-push-5 { - left: 41.66666667%; -} -.col-xs-push-4 { - left: 33.33333333%; -} -.col-xs-push-3 { - left: 25%; -} -.col-xs-push-2 { - left: 16.66666667%; -} -.col-xs-push-1 { - left: 8.33333333%; -} -.col-xs-push-0 { - left: auto; -} -.col-xs-offset-12 { - margin-left: 100%; -} -.col-xs-offset-11 { - margin-left: 91.66666667%; -} -.col-xs-offset-10 { - margin-left: 83.33333333%; -} -.col-xs-offset-9 { - margin-left: 75%; -} -.col-xs-offset-8 { - margin-left: 66.66666667%; -} -.col-xs-offset-7 { - margin-left: 58.33333333%; -} -.col-xs-offset-6 { - margin-left: 50%; -} -.col-xs-offset-5 { - margin-left: 41.66666667%; -} -.col-xs-offset-4 { - margin-left: 33.33333333%; -} -.col-xs-offset-3 { - margin-left: 25%; -} -.col-xs-offset-2 { - margin-left: 16.66666667%; -} -.col-xs-offset-1 { - margin-left: 8.33333333%; -} -.col-xs-offset-0 { - margin-left: 0; -} -@media (min-width: 768px) { - .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { - float: left; - } - .col-sm-12 { - width: 100%; - } - .col-sm-11 { - width: 91.66666667%; - } - .col-sm-10 { - width: 83.33333333%; - } - .col-sm-9 { - width: 75%; - } - .col-sm-8 { - width: 66.66666667%; - } - .col-sm-7 { - width: 58.33333333%; - } - .col-sm-6 { - width: 50%; - } - .col-sm-5 { - width: 41.66666667%; - } - .col-sm-4 { - width: 33.33333333%; - } - .col-sm-3 { - width: 25%; - } - .col-sm-2 { - width: 16.66666667%; - } - .col-sm-1 { - width: 8.33333333%; - } - .col-sm-pull-12 { - right: 100%; - } - .col-sm-pull-11 { - right: 91.66666667%; - } - .col-sm-pull-10 { - right: 83.33333333%; - } - .col-sm-pull-9 { - right: 75%; - } - .col-sm-pull-8 { - right: 66.66666667%; - } - .col-sm-pull-7 { - right: 58.33333333%; - } - .col-sm-pull-6 { - right: 50%; - } - .col-sm-pull-5 { - right: 41.66666667%; - } - .col-sm-pull-4 { - right: 33.33333333%; - } - .col-sm-pull-3 { - right: 25%; - } - .col-sm-pull-2 { - right: 16.66666667%; - } - .col-sm-pull-1 { - right: 8.33333333%; - } - .col-sm-pull-0 { - right: auto; - } - .col-sm-push-12 { - left: 100%; - } - .col-sm-push-11 { - left: 91.66666667%; - } - .col-sm-push-10 { - left: 83.33333333%; - } - .col-sm-push-9 { - left: 75%; - } - .col-sm-push-8 { - left: 66.66666667%; - } - .col-sm-push-7 { - left: 58.33333333%; - } - .col-sm-push-6 { - left: 50%; - } - .col-sm-push-5 { - left: 41.66666667%; - } - .col-sm-push-4 { - left: 33.33333333%; - } - .col-sm-push-3 { - left: 25%; - } - .col-sm-push-2 { - left: 16.66666667%; - } - .col-sm-push-1 { - left: 8.33333333%; - } - .col-sm-push-0 { - left: auto; - } - .col-sm-offset-12 { - margin-left: 100%; - } - .col-sm-offset-11 { - margin-left: 91.66666667%; - } - .col-sm-offset-10 { - margin-left: 83.33333333%; - } - .col-sm-offset-9 { - margin-left: 75%; - } - .col-sm-offset-8 { - margin-left: 66.66666667%; - } - .col-sm-offset-7 { - margin-left: 58.33333333%; - } - .col-sm-offset-6 { - margin-left: 50%; - } - .col-sm-offset-5 { - margin-left: 41.66666667%; - } - .col-sm-offset-4 { - margin-left: 33.33333333%; - } - .col-sm-offset-3 { - margin-left: 25%; - } - .col-sm-offset-2 { - margin-left: 16.66666667%; - } - .col-sm-offset-1 { - margin-left: 8.33333333%; - } - .col-sm-offset-0 { - margin-left: 0; - } -} -@media (min-width: 992px) { - .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { - float: left; - } - .col-md-12 { - width: 100%; - } - .col-md-11 { - width: 91.66666667%; - } - .col-md-10 { - width: 83.33333333%; - } - .col-md-9 { - width: 75%; - } - .col-md-8 { - width: 66.66666667%; - } - .col-md-7 { - width: 58.33333333%; - } - .col-md-6 { - width: 50%; - } - .col-md-5 { - width: 41.66666667%; - } - .col-md-4 { - width: 33.33333333%; - } - .col-md-3 { - width: 25%; - } - .col-md-2 { - width: 16.66666667%; - } - .col-md-1 { - width: 8.33333333%; - } - .col-md-pull-12 { - right: 100%; - } - .col-md-pull-11 { - right: 91.66666667%; - } - .col-md-pull-10 { - right: 83.33333333%; - } - .col-md-pull-9 { - right: 75%; - } - .col-md-pull-8 { - right: 66.66666667%; - } - .col-md-pull-7 { - right: 58.33333333%; - } - .col-md-pull-6 { - right: 50%; - } - .col-md-pull-5 { - right: 41.66666667%; - } - .col-md-pull-4 { - right: 33.33333333%; - } - .col-md-pull-3 { - right: 25%; - } - .col-md-pull-2 { - right: 16.66666667%; - } - .col-md-pull-1 { - right: 8.33333333%; - } - .col-md-pull-0 { - right: auto; - } - .col-md-push-12 { - left: 100%; - } - .col-md-push-11 { - left: 91.66666667%; - } - .col-md-push-10 { - left: 83.33333333%; - } - .col-md-push-9 { - left: 75%; - } - .col-md-push-8 { - left: 66.66666667%; - } - .col-md-push-7 { - left: 58.33333333%; - } - .col-md-push-6 { - left: 50%; - } - .col-md-push-5 { - left: 41.66666667%; - } - .col-md-push-4 { - left: 33.33333333%; - } - .col-md-push-3 { - left: 25%; - } - .col-md-push-2 { - left: 16.66666667%; - } - .col-md-push-1 { - left: 8.33333333%; - } - .col-md-push-0 { - left: auto; - } - .col-md-offset-12 { - margin-left: 100%; - } - .col-md-offset-11 { - margin-left: 91.66666667%; - } - .col-md-offset-10 { - margin-left: 83.33333333%; - } - .col-md-offset-9 { - margin-left: 75%; - } - .col-md-offset-8 { - margin-left: 66.66666667%; - } - .col-md-offset-7 { - margin-left: 58.33333333%; - } - .col-md-offset-6 { - margin-left: 50%; - } - .col-md-offset-5 { - margin-left: 41.66666667%; - } - .col-md-offset-4 { - margin-left: 33.33333333%; - } - .col-md-offset-3 { - margin-left: 25%; - } - .col-md-offset-2 { - margin-left: 16.66666667%; - } - .col-md-offset-1 { - margin-left: 8.33333333%; - } - .col-md-offset-0 { - margin-left: 0; - } -} -@media (min-width: 1200px) { - .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { - float: left; - } - .col-lg-12 { - width: 100%; - } - .col-lg-11 { - width: 91.66666667%; - } - .col-lg-10 { - width: 83.33333333%; - } - .col-lg-9 { - width: 75%; - } - .col-lg-8 { - width: 66.66666667%; - } - .col-lg-7 { - width: 58.33333333%; - } - .col-lg-6 { - width: 50%; - } - .col-lg-5 { - width: 41.66666667%; - } - .col-lg-4 { - width: 33.33333333%; - } - .col-lg-3 { - width: 25%; - } - .col-lg-2 { - width: 16.66666667%; - } - .col-lg-1 { - width: 8.33333333%; - } - .col-lg-pull-12 { - right: 100%; - } - .col-lg-pull-11 { - right: 91.66666667%; - } - .col-lg-pull-10 { - right: 83.33333333%; - } - .col-lg-pull-9 { - right: 75%; - } - .col-lg-pull-8 { - right: 66.66666667%; - } - .col-lg-pull-7 { - right: 58.33333333%; - } - .col-lg-pull-6 { - right: 50%; - } - .col-lg-pull-5 { - right: 41.66666667%; - } - .col-lg-pull-4 { - right: 33.33333333%; - } - .col-lg-pull-3 { - right: 25%; - } - .col-lg-pull-2 { - right: 16.66666667%; - } - .col-lg-pull-1 { - right: 8.33333333%; - } - .col-lg-pull-0 { - right: auto; - } - .col-lg-push-12 { - left: 100%; - } - .col-lg-push-11 { - left: 91.66666667%; - } - .col-lg-push-10 { - left: 83.33333333%; - } - .col-lg-push-9 { - left: 75%; - } - .col-lg-push-8 { - left: 66.66666667%; - } - .col-lg-push-7 { - left: 58.33333333%; - } - .col-lg-push-6 { - left: 50%; - } - .col-lg-push-5 { - left: 41.66666667%; - } - .col-lg-push-4 { - left: 33.33333333%; - } - .col-lg-push-3 { - left: 25%; - } - .col-lg-push-2 { - left: 16.66666667%; - } - .col-lg-push-1 { - left: 8.33333333%; - } - .col-lg-push-0 { - left: auto; - } - .col-lg-offset-12 { - margin-left: 100%; - } - .col-lg-offset-11 { - margin-left: 91.66666667%; - } - .col-lg-offset-10 { - margin-left: 83.33333333%; - } - .col-lg-offset-9 { - margin-left: 75%; - } - .col-lg-offset-8 { - margin-left: 66.66666667%; - } - .col-lg-offset-7 { - margin-left: 58.33333333%; - } - .col-lg-offset-6 { - margin-left: 50%; - } - .col-lg-offset-5 { - margin-left: 41.66666667%; - } - .col-lg-offset-4 { - margin-left: 33.33333333%; - } - .col-lg-offset-3 { - margin-left: 25%; - } - .col-lg-offset-2 { - margin-left: 16.66666667%; - } - .col-lg-offset-1 { - margin-left: 8.33333333%; - } - .col-lg-offset-0 { - margin-left: 0; - } -} -table { - background-color: transparent; -} -caption { - padding-top: 8px; - padding-bottom: 8px; - color: #777; - text-align: left; -} -th { - text-align: left; -} -.table { - width: 100%; - max-width: 100%; - margin-bottom: 20px; -} -.table > thead > tr > th, -.table > tbody > tr > th, -.table > tfoot > tr > th, -.table > thead > tr > td, -.table > tbody > tr > td, -.table > tfoot > tr > td { - padding: 8px; - line-height: 1.42857143; - vertical-align: top; - border-top: 1px solid #ddd; -} -.table > thead > tr > th { - vertical-align: bottom; - border-bottom: 2px solid #ddd; -} -.table > caption + thead > tr:first-child > th, -.table > colgroup + thead > tr:first-child > th, -.table > thead:first-child > tr:first-child > th, -.table > caption + thead > tr:first-child > td, -.table > colgroup + thead > tr:first-child > td, -.table > thead:first-child > tr:first-child > td { - border-top: 0; -} -.table > tbody + tbody { - border-top: 2px solid #ddd; -} -.table .table { - background-color: #fff; -} -.table-condensed > thead > tr > th, -.table-condensed > tbody > tr > th, -.table-condensed > tfoot > tr > th, -.table-condensed > thead > tr > td, -.table-condensed > tbody > tr > td, -.table-condensed > tfoot > tr > td { - padding: 5px; -} -.table-bordered { - border: 1px solid #ddd; -} -.table-bordered > thead > tr > th, -.table-bordered > tbody > tr > th, -.table-bordered > tfoot > tr > th, -.table-bordered > thead > tr > td, -.table-bordered > tbody > tr > td, -.table-bordered > tfoot > tr > td { - border: 1px solid #ddd; -} -.table-bordered > thead > tr > th, -.table-bordered > thead > tr > td { - border-bottom-width: 2px; -} -.table-striped > tbody > tr:nth-of-type(odd) { - background-color: #f9f9f9; -} -.table-hover > tbody > tr:hover { - background-color: #f5f5f5; -} -table col[class*="col-"] { - position: static; - display: table-column; - float: none; -} -table td[class*="col-"], -table th[class*="col-"] { - position: static; - display: table-cell; - float: none; -} -.table > thead > tr > td.active, -.table > tbody > tr > td.active, -.table > tfoot > tr > td.active, -.table > thead > tr > th.active, -.table > tbody > tr > th.active, -.table > tfoot > tr > th.active, -.table > thead > tr.active > td, -.table > tbody > tr.active > td, -.table > tfoot > tr.active > td, -.table > thead > tr.active > th, -.table > tbody > tr.active > th, -.table > tfoot > tr.active > th { - background-color: #f5f5f5; -} -.table-hover > tbody > tr > td.active:hover, -.table-hover > tbody > tr > th.active:hover, -.table-hover > tbody > tr.active:hover > td, -.table-hover > tbody > tr:hover > .active, -.table-hover > tbody > tr.active:hover > th { - background-color: #e8e8e8; -} -.table > thead > tr > td.success, -.table > tbody > tr > td.success, -.table > tfoot > tr > td.success, -.table > thead > tr > th.success, -.table > tbody > tr > th.success, -.table > tfoot > tr > th.success, -.table > thead > tr.success > td, -.table > tbody > tr.success > td, -.table > tfoot > tr.success > td, -.table > thead > tr.success > th, -.table > tbody > tr.success > th, -.table > tfoot > tr.success > th { - background-color: #dff0d8; -} -.table-hover > tbody > tr > td.success:hover, -.table-hover > tbody > tr > th.success:hover, -.table-hover > tbody > tr.success:hover > td, -.table-hover > tbody > tr:hover > .success, -.table-hover > tbody > tr.success:hover > th { - background-color: #d0e9c6; -} -.table > thead > tr > td.info, -.table > tbody > tr > td.info, -.table > tfoot > tr > td.info, -.table > thead > tr > th.info, -.table > tbody > tr > th.info, -.table > tfoot > tr > th.info, -.table > thead > tr.info > td, -.table > tbody > tr.info > td, -.table > tfoot > tr.info > td, -.table > thead > tr.info > th, -.table > tbody > tr.info > th, -.table > tfoot > tr.info > th { - background-color: #d9edf7; -} -.table-hover > tbody > tr > td.info:hover, -.table-hover > tbody > tr > th.info:hover, -.table-hover > tbody > tr.info:hover > td, -.table-hover > tbody > tr:hover > .info, -.table-hover > tbody > tr.info:hover > th { - background-color: #c4e3f3; -} -.table > thead > tr > td.warning, -.table > tbody > tr > td.warning, -.table > tfoot > tr > td.warning, -.table > thead > tr > th.warning, -.table > tbody > tr > th.warning, -.table > tfoot > tr > th.warning, -.table > thead > tr.warning > td, -.table > tbody > tr.warning > td, -.table > tfoot > tr.warning > td, -.table > thead > tr.warning > th, -.table > tbody > tr.warning > th, -.table > tfoot > tr.warning > th { - background-color: #fcf8e3; -} -.table-hover > tbody > tr > td.warning:hover, -.table-hover > tbody > tr > th.warning:hover, -.table-hover > tbody > tr.warning:hover > td, -.table-hover > tbody > tr:hover > .warning, -.table-hover > tbody > tr.warning:hover > th { - background-color: #faf2cc; -} -.table > thead > tr > td.danger, -.table > tbody > tr > td.danger, -.table > tfoot > tr > td.danger, -.table > thead > tr > th.danger, -.table > tbody > tr > th.danger, -.table > tfoot > tr > th.danger, -.table > thead > tr.danger > td, -.table > tbody > tr.danger > td, -.table > tfoot > tr.danger > td, -.table > thead > tr.danger > th, -.table > tbody > tr.danger > th, -.table > tfoot > tr.danger > th { - background-color: #f2dede; -} -.table-hover > tbody > tr > td.danger:hover, -.table-hover > tbody > tr > th.danger:hover, -.table-hover > tbody > tr.danger:hover > td, -.table-hover > tbody > tr:hover > .danger, -.table-hover > tbody > tr.danger:hover > th { - background-color: #ebcccc; -} -.table-responsive { - min-height: .01%; - overflow-x: auto; -} -@media screen and (max-width: 767px) { - .table-responsive { - width: 100%; - margin-bottom: 15px; - overflow-y: hidden; - -ms-overflow-style: -ms-autohiding-scrollbar; - border: 1px solid #ddd; - } - .table-responsive > .table { - margin-bottom: 0; - } - .table-responsive > .table > thead > tr > th, - .table-responsive > .table > tbody > tr > th, - .table-responsive > .table > tfoot > tr > th, - .table-responsive > .table > thead > tr > td, - .table-responsive > .table > tbody > tr > td, - .table-responsive > .table > tfoot > tr > td { - white-space: nowrap; - } - .table-responsive > .table-bordered { - border: 0; - } - .table-responsive > .table-bordered > thead > tr > th:first-child, - .table-responsive > .table-bordered > tbody > tr > th:first-child, - .table-responsive > .table-bordered > tfoot > tr > th:first-child, - .table-responsive > .table-bordered > thead > tr > td:first-child, - .table-responsive > .table-bordered > tbody > tr > td:first-child, - .table-responsive > .table-bordered > tfoot > tr > td:first-child { - border-left: 0; - } - .table-responsive > .table-bordered > thead > tr > th:last-child, - .table-responsive > .table-bordered > tbody > tr > th:last-child, - .table-responsive > .table-bordered > tfoot > tr > th:last-child, - .table-responsive > .table-bordered > thead > tr > td:last-child, - .table-responsive > .table-bordered > tbody > tr > td:last-child, - .table-responsive > .table-bordered > tfoot > tr > td:last-child { - border-right: 0; - } - .table-responsive > .table-bordered > tbody > tr:last-child > th, - .table-responsive > .table-bordered > tfoot > tr:last-child > th, - .table-responsive > .table-bordered > tbody > tr:last-child > td, - .table-responsive > .table-bordered > tfoot > tr:last-child > td { - border-bottom: 0; - } -} -fieldset { - min-width: 0; - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: inherit; - color: #333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -label { - display: inline-block; - max-width: 100%; - margin-bottom: 5px; - font-weight: bold; -} -input[type="search"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - margin-top: 1px \9; - line-height: normal; -} -input[type="file"] { - display: block; -} -input[type="range"] { - display: block; - width: 100%; -} -select[multiple], -select[size] { - height: auto; -} -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -output { - display: block; - padding-top: 7px; - font-size: 14px; - line-height: 1.42857143; - color: #555; -} -.form-control { - display: block; - width: 100%; - height: 34px; - padding: 6px 12px; - font-size: 14px; - line-height: 1.42857143; - color: #555; - background-color: #fff; - background-image: none; - border: 1px solid #ccc; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; - -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} -.form-control:focus { - border-color: #66afe9; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); -} -.form-control::-moz-placeholder { - color: #999; - opacity: 1; -} -.form-control:-ms-input-placeholder { - color: #999; -} -.form-control::-webkit-input-placeholder { - color: #999; -} -.form-control[disabled], -.form-control[readonly], -fieldset[disabled] .form-control { - background-color: #eee; - opacity: 1; -} -.form-control[disabled], -fieldset[disabled] .form-control { - cursor: not-allowed; -} -textarea.form-control { - height: auto; -} -input[type="search"] { - -webkit-appearance: none; -} -@media screen and (-webkit-min-device-pixel-ratio: 0) { - input[type="date"].form-control, - input[type="time"].form-control, - input[type="datetime-local"].form-control, - input[type="month"].form-control { - line-height: 34px; - } - input[type="date"].input-sm, - input[type="time"].input-sm, - input[type="datetime-local"].input-sm, - input[type="month"].input-sm, - .input-group-sm input[type="date"], - .input-group-sm input[type="time"], - .input-group-sm input[type="datetime-local"], - .input-group-sm input[type="month"] { - line-height: 30px; - } - input[type="date"].input-lg, - input[type="time"].input-lg, - input[type="datetime-local"].input-lg, - input[type="month"].input-lg, - .input-group-lg input[type="date"], - .input-group-lg input[type="time"], - .input-group-lg input[type="datetime-local"], - .input-group-lg input[type="month"] { - line-height: 46px; - } -} -.form-group { - margin-bottom: 15px; -} -.radio, -.checkbox { - position: relative; - display: block; - margin-top: 10px; - margin-bottom: 10px; -} -.radio label, -.checkbox label { - min-height: 20px; - padding-left: 20px; - margin-bottom: 0; - font-weight: normal; - cursor: pointer; -} -.radio input[type="radio"], -.radio-inline input[type="radio"], -.checkbox input[type="checkbox"], -.checkbox-inline input[type="checkbox"] { - position: absolute; - margin-top: 4px \9; - margin-left: -20px; -} -.radio + .radio, -.checkbox + .checkbox { - margin-top: -5px; -} -.radio-inline, -.checkbox-inline { - position: relative; - display: inline-block; - padding-left: 20px; - margin-bottom: 0; - font-weight: normal; - vertical-align: middle; - cursor: pointer; -} -.radio-inline + .radio-inline, -.checkbox-inline + .checkbox-inline { - margin-top: 0; - margin-left: 10px; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"].disabled, -input[type="checkbox"].disabled, -fieldset[disabled] input[type="radio"], -fieldset[disabled] input[type="checkbox"] { - cursor: not-allowed; -} -.radio-inline.disabled, -.checkbox-inline.disabled, -fieldset[disabled] .radio-inline, -fieldset[disabled] .checkbox-inline { - cursor: not-allowed; -} -.radio.disabled label, -.checkbox.disabled label, -fieldset[disabled] .radio label, -fieldset[disabled] .checkbox label { - cursor: not-allowed; -} -.form-control-static { - min-height: 34px; - padding-top: 7px; - padding-bottom: 7px; - margin-bottom: 0; -} -.form-control-static.input-lg, -.form-control-static.input-sm { - padding-right: 0; - padding-left: 0; -} -.input-sm { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.input-sm { - height: 30px; - line-height: 30px; -} -textarea.input-sm, -select[multiple].input-sm { - height: auto; -} -.form-group-sm .form-control { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.form-group-sm select.form-control { - height: 30px; - line-height: 30px; -} -.form-group-sm textarea.form-control, -.form-group-sm select[multiple].form-control { - height: auto; -} -.form-group-sm .form-control-static { - height: 30px; - min-height: 32px; - padding: 6px 10px; - font-size: 12px; - line-height: 1.5; -} -.input-lg { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -select.input-lg { - height: 46px; - line-height: 46px; -} -textarea.input-lg, -select[multiple].input-lg { - height: auto; -} -.form-group-lg .form-control { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -.form-group-lg select.form-control { - height: 46px; - line-height: 46px; -} -.form-group-lg textarea.form-control, -.form-group-lg select[multiple].form-control { - height: auto; -} -.form-group-lg .form-control-static { - height: 46px; - min-height: 38px; - padding: 11px 16px; - font-size: 18px; - line-height: 1.3333333; -} -.has-feedback { - position: relative; -} -.has-feedback .form-control { - padding-right: 42.5px; -} -.form-control-feedback { - position: absolute; - top: 0; - right: 0; - z-index: 2; - display: block; - width: 34px; - height: 34px; - line-height: 34px; - text-align: center; - pointer-events: none; -} -.input-lg + .form-control-feedback, -.input-group-lg + .form-control-feedback, -.form-group-lg .form-control + .form-control-feedback { - width: 46px; - height: 46px; - line-height: 46px; -} -.input-sm + .form-control-feedback, -.input-group-sm + .form-control-feedback, -.form-group-sm .form-control + .form-control-feedback { - width: 30px; - height: 30px; - line-height: 30px; -} -.has-success .help-block, -.has-success .control-label, -.has-success .radio, -.has-success .checkbox, -.has-success .radio-inline, -.has-success .checkbox-inline, -.has-success.radio label, -.has-success.checkbox label, -.has-success.radio-inline label, -.has-success.checkbox-inline label { - color: #3c763d; -} -.has-success .form-control { - border-color: #3c763d; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-success .form-control:focus { - border-color: #2b542c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; -} -.has-success .input-group-addon { - color: #3c763d; - background-color: #dff0d8; - border-color: #3c763d; -} -.has-success .form-control-feedback { - color: #3c763d; -} -.has-warning .help-block, -.has-warning .control-label, -.has-warning .radio, -.has-warning .checkbox, -.has-warning .radio-inline, -.has-warning .checkbox-inline, -.has-warning.radio label, -.has-warning.checkbox label, -.has-warning.radio-inline label, -.has-warning.checkbox-inline label { - color: #8a6d3b; -} -.has-warning .form-control { - border-color: #8a6d3b; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-warning .form-control:focus { - border-color: #66512c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; -} -.has-warning .input-group-addon { - color: #8a6d3b; - background-color: #fcf8e3; - border-color: #8a6d3b; -} -.has-warning .form-control-feedback { - color: #8a6d3b; -} -.has-error .help-block, -.has-error .control-label, -.has-error .radio, -.has-error .checkbox, -.has-error .radio-inline, -.has-error .checkbox-inline, -.has-error.radio label, -.has-error.checkbox label, -.has-error.radio-inline label, -.has-error.checkbox-inline label { - color: #a94442; -} -.has-error .form-control { - border-color: #a94442; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-error .form-control:focus { - border-color: #843534; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; -} -.has-error .input-group-addon { - color: #a94442; - background-color: #f2dede; - border-color: #a94442; -} -.has-error .form-control-feedback { - color: #a94442; -} -.has-feedback label ~ .form-control-feedback { - top: 25px; -} -.has-feedback label.sr-only ~ .form-control-feedback { - top: 0; -} -.help-block { - display: block; - margin-top: 5px; - margin-bottom: 10px; - color: #737373; -} -@media (min-width: 768px) { - .form-inline .form-group { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .form-control { - display: inline-block; - width: auto; - vertical-align: middle; - } - .form-inline .form-control-static { - display: inline-block; - } - .form-inline .input-group { - display: inline-table; - vertical-align: middle; - } - .form-inline .input-group .input-group-addon, - .form-inline .input-group .input-group-btn, - .form-inline .input-group .form-control { - width: auto; - } - .form-inline .input-group > .form-control { - width: 100%; - } - .form-inline .control-label { - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .radio, - .form-inline .checkbox { - display: inline-block; - margin-top: 0; - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .radio label, - .form-inline .checkbox label { - padding-left: 0; - } - .form-inline .radio input[type="radio"], - .form-inline .checkbox input[type="checkbox"] { - position: relative; - margin-left: 0; - } - .form-inline .has-feedback .form-control-feedback { - top: 0; - } -} -.form-horizontal .radio, -.form-horizontal .checkbox, -.form-horizontal .radio-inline, -.form-horizontal .checkbox-inline { - padding-top: 7px; - margin-top: 0; - margin-bottom: 0; -} -.form-horizontal .radio, -.form-horizontal .checkbox { - min-height: 27px; -} -.form-horizontal .form-group { - margin-right: -15px; - margin-left: -15px; -} -@media (min-width: 768px) { - .form-horizontal .control-label { - padding-top: 7px; - margin-bottom: 0; - text-align: right; - } -} -.form-horizontal .has-feedback .form-control-feedback { - right: 15px; -} -@media (min-width: 768px) { - .form-horizontal .form-group-lg .control-label { - padding-top: 14.333333px; - font-size: 18px; - } -} -@media (min-width: 768px) { - .form-horizontal .form-group-sm .control-label { - padding-top: 6px; - font-size: 12px; - } -} -.btn { - display: inline-block; - padding: 6px 12px; - margin-bottom: 0; - font-size: 14px; - font-weight: normal; - line-height: 1.42857143; - text-align: center; - white-space: nowrap; - vertical-align: middle; - -ms-touch-action: manipulation; - touch-action: manipulation; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - background-image: none; - border: 1px solid transparent; - border-radius: 4px; -} -.btn:focus, -.btn:active:focus, -.btn.active:focus, -.btn.focus, -.btn:active.focus, -.btn.active.focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn:hover, -.btn:focus, -.btn.focus { - color: #333; - text-decoration: none; -} -.btn:active, -.btn.active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); -} -.btn.disabled, -.btn[disabled], -fieldset[disabled] .btn { - cursor: not-allowed; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - box-shadow: none; - opacity: .65; -} -a.btn.disabled, -fieldset[disabled] a.btn { - pointer-events: none; -} -.btn-default { - color: #333; - background-color: #fff; - border-color: #ccc; -} -.btn-default:focus, -.btn-default.focus { - color: #333; - background-color: #e6e6e6; - border-color: #8c8c8c; -} -.btn-default:hover { - color: #333; - background-color: #e6e6e6; - border-color: #adadad; -} -.btn-default:active, -.btn-default.active, -.open > .dropdown-toggle.btn-default { - color: #333; - background-color: #e6e6e6; - border-color: #adadad; -} -.btn-default:active:hover, -.btn-default.active:hover, -.open > .dropdown-toggle.btn-default:hover, -.btn-default:active:focus, -.btn-default.active:focus, -.open > .dropdown-toggle.btn-default:focus, -.btn-default:active.focus, -.btn-default.active.focus, -.open > .dropdown-toggle.btn-default.focus { - color: #333; - background-color: #d4d4d4; - border-color: #8c8c8c; -} -.btn-default:active, -.btn-default.active, -.open > .dropdown-toggle.btn-default { - background-image: none; -} -.btn-default.disabled, -.btn-default[disabled], -fieldset[disabled] .btn-default, -.btn-default.disabled:hover, -.btn-default[disabled]:hover, -fieldset[disabled] .btn-default:hover, -.btn-default.disabled:focus, -.btn-default[disabled]:focus, -fieldset[disabled] .btn-default:focus, -.btn-default.disabled.focus, -.btn-default[disabled].focus, -fieldset[disabled] .btn-default.focus, -.btn-default.disabled:active, -.btn-default[disabled]:active, -fieldset[disabled] .btn-default:active, -.btn-default.disabled.active, -.btn-default[disabled].active, -fieldset[disabled] .btn-default.active { - background-color: #fff; - border-color: #ccc; -} -.btn-default .badge { - color: #fff; - background-color: #333; -} -.btn-primary { - color: #fff; - background-color: #337ab7; - border-color: #2e6da4; -} -.btn-primary:focus, -.btn-primary.focus { - color: #fff; - background-color: #286090; - border-color: #122b40; -} -.btn-primary:hover { - color: #fff; - background-color: #286090; - border-color: #204d74; -} -.btn-primary:active, -.btn-primary.active, -.open > .dropdown-toggle.btn-primary { - color: #fff; - background-color: #286090; - border-color: #204d74; -} -.btn-primary:active:hover, -.btn-primary.active:hover, -.open > .dropdown-toggle.btn-primary:hover, -.btn-primary:active:focus, -.btn-primary.active:focus, -.open > .dropdown-toggle.btn-primary:focus, -.btn-primary:active.focus, -.btn-primary.active.focus, -.open > .dropdown-toggle.btn-primary.focus { - color: #fff; - background-color: #204d74; - border-color: #122b40; -} -.btn-primary:active, -.btn-primary.active, -.open > .dropdown-toggle.btn-primary { - background-image: none; -} -.btn-primary.disabled, -.btn-primary[disabled], -fieldset[disabled] .btn-primary, -.btn-primary.disabled:hover, -.btn-primary[disabled]:hover, -fieldset[disabled] .btn-primary:hover, -.btn-primary.disabled:focus, -.btn-primary[disabled]:focus, -fieldset[disabled] .btn-primary:focus, -.btn-primary.disabled.focus, -.btn-primary[disabled].focus, -fieldset[disabled] .btn-primary.focus, -.btn-primary.disabled:active, -.btn-primary[disabled]:active, -fieldset[disabled] .btn-primary:active, -.btn-primary.disabled.active, -.btn-primary[disabled].active, -fieldset[disabled] .btn-primary.active { - background-color: #337ab7; - border-color: #2e6da4; -} -.btn-primary .badge { - color: #337ab7; - background-color: #fff; -} -.btn-success { - color: #fff; - background-color: #5cb85c; - border-color: #4cae4c; -} -.btn-success:focus, -.btn-success.focus { - color: #fff; - background-color: #449d44; - border-color: #255625; -} -.btn-success:hover { - color: #fff; - background-color: #449d44; - border-color: #398439; -} -.btn-success:active, -.btn-success.active, -.open > .dropdown-toggle.btn-success { - color: #fff; - background-color: #449d44; - border-color: #398439; -} -.btn-success:active:hover, -.btn-success.active:hover, -.open > .dropdown-toggle.btn-success:hover, -.btn-success:active:focus, -.btn-success.active:focus, -.open > .dropdown-toggle.btn-success:focus, -.btn-success:active.focus, -.btn-success.active.focus, -.open > .dropdown-toggle.btn-success.focus { - color: #fff; - background-color: #398439; - border-color: #255625; -} -.btn-success:active, -.btn-success.active, -.open > .dropdown-toggle.btn-success { - background-image: none; -} -.btn-success.disabled, -.btn-success[disabled], -fieldset[disabled] .btn-success, -.btn-success.disabled:hover, -.btn-success[disabled]:hover, -fieldset[disabled] .btn-success:hover, -.btn-success.disabled:focus, -.btn-success[disabled]:focus, -fieldset[disabled] .btn-success:focus, -.btn-success.disabled.focus, -.btn-success[disabled].focus, -fieldset[disabled] .btn-success.focus, -.btn-success.disabled:active, -.btn-success[disabled]:active, -fieldset[disabled] .btn-success:active, -.btn-success.disabled.active, -.btn-success[disabled].active, -fieldset[disabled] .btn-success.active { - background-color: #5cb85c; - border-color: #4cae4c; -} -.btn-success .badge { - color: #5cb85c; - background-color: #fff; -} -.btn-info { - color: #fff; - background-color: #5bc0de; - border-color: #46b8da; -} -.btn-info:focus, -.btn-info.focus { - color: #fff; - background-color: #31b0d5; - border-color: #1b6d85; -} -.btn-info:hover { - color: #fff; - background-color: #31b0d5; - border-color: #269abc; -} -.btn-info:active, -.btn-info.active, -.open > .dropdown-toggle.btn-info { - color: #fff; - background-color: #31b0d5; - border-color: #269abc; -} -.btn-info:active:hover, -.btn-info.active:hover, -.open > .dropdown-toggle.btn-info:hover, -.btn-info:active:focus, -.btn-info.active:focus, -.open > .dropdown-toggle.btn-info:focus, -.btn-info:active.focus, -.btn-info.active.focus, -.open > .dropdown-toggle.btn-info.focus { - color: #fff; - background-color: #269abc; - border-color: #1b6d85; -} -.btn-info:active, -.btn-info.active, -.open > .dropdown-toggle.btn-info { - background-image: none; -} -.btn-info.disabled, -.btn-info[disabled], -fieldset[disabled] .btn-info, -.btn-info.disabled:hover, -.btn-info[disabled]:hover, -fieldset[disabled] .btn-info:hover, -.btn-info.disabled:focus, -.btn-info[disabled]:focus, -fieldset[disabled] .btn-info:focus, -.btn-info.disabled.focus, -.btn-info[disabled].focus, -fieldset[disabled] .btn-info.focus, -.btn-info.disabled:active, -.btn-info[disabled]:active, -fieldset[disabled] .btn-info:active, -.btn-info.disabled.active, -.btn-info[disabled].active, -fieldset[disabled] .btn-info.active { - background-color: #5bc0de; - border-color: #46b8da; -} -.btn-info .badge { - color: #5bc0de; - background-color: #fff; -} -.btn-warning { - color: #fff; - background-color: #f0ad4e; - border-color: #eea236; -} -.btn-warning:focus, -.btn-warning.focus { - color: #fff; - background-color: #ec971f; - border-color: #985f0d; -} -.btn-warning:hover { - color: #fff; - background-color: #ec971f; - border-color: #d58512; -} -.btn-warning:active, -.btn-warning.active, -.open > .dropdown-toggle.btn-warning { - color: #fff; - background-color: #ec971f; - border-color: #d58512; -} -.btn-warning:active:hover, -.btn-warning.active:hover, -.open > .dropdown-toggle.btn-warning:hover, -.btn-warning:active:focus, -.btn-warning.active:focus, -.open > .dropdown-toggle.btn-warning:focus, -.btn-warning:active.focus, -.btn-warning.active.focus, -.open > .dropdown-toggle.btn-warning.focus { - color: #fff; - background-color: #d58512; - border-color: #985f0d; -} -.btn-warning:active, -.btn-warning.active, -.open > .dropdown-toggle.btn-warning { - background-image: none; -} -.btn-warning.disabled, -.btn-warning[disabled], -fieldset[disabled] .btn-warning, -.btn-warning.disabled:hover, -.btn-warning[disabled]:hover, -fieldset[disabled] .btn-warning:hover, -.btn-warning.disabled:focus, -.btn-warning[disabled]:focus, -fieldset[disabled] .btn-warning:focus, -.btn-warning.disabled.focus, -.btn-warning[disabled].focus, -fieldset[disabled] .btn-warning.focus, -.btn-warning.disabled:active, -.btn-warning[disabled]:active, -fieldset[disabled] .btn-warning:active, -.btn-warning.disabled.active, -.btn-warning[disabled].active, -fieldset[disabled] .btn-warning.active { - background-color: #f0ad4e; - border-color: #eea236; -} -.btn-warning .badge { - color: #f0ad4e; - background-color: #fff; -} -.btn-danger { - color: #fff; - background-color: #d9534f; - border-color: #d43f3a; -} -.btn-danger:focus, -.btn-danger.focus { - color: #fff; - background-color: #c9302c; - border-color: #761c19; -} -.btn-danger:hover { - color: #fff; - background-color: #c9302c; - border-color: #ac2925; -} -.btn-danger:active, -.btn-danger.active, -.open > .dropdown-toggle.btn-danger { - color: #fff; - background-color: #c9302c; - border-color: #ac2925; -} -.btn-danger:active:hover, -.btn-danger.active:hover, -.open > .dropdown-toggle.btn-danger:hover, -.btn-danger:active:focus, -.btn-danger.active:focus, -.open > .dropdown-toggle.btn-danger:focus, -.btn-danger:active.focus, -.btn-danger.active.focus, -.open > .dropdown-toggle.btn-danger.focus { - color: #fff; - background-color: #ac2925; - border-color: #761c19; -} -.btn-danger:active, -.btn-danger.active, -.open > .dropdown-toggle.btn-danger { - background-image: none; -} -.btn-danger.disabled, -.btn-danger[disabled], -fieldset[disabled] .btn-danger, -.btn-danger.disabled:hover, -.btn-danger[disabled]:hover, -fieldset[disabled] .btn-danger:hover, -.btn-danger.disabled:focus, -.btn-danger[disabled]:focus, -fieldset[disabled] .btn-danger:focus, -.btn-danger.disabled.focus, -.btn-danger[disabled].focus, -fieldset[disabled] .btn-danger.focus, -.btn-danger.disabled:active, -.btn-danger[disabled]:active, -fieldset[disabled] .btn-danger:active, -.btn-danger.disabled.active, -.btn-danger[disabled].active, -fieldset[disabled] .btn-danger.active { - background-color: #d9534f; - border-color: #d43f3a; -} -.btn-danger .badge { - color: #d9534f; - background-color: #fff; -} -.btn-link { - font-weight: normal; - color: #337ab7; - border-radius: 0; -} -.btn-link, -.btn-link:active, -.btn-link.active, -.btn-link[disabled], -fieldset[disabled] .btn-link { - background-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} -.btn-link, -.btn-link:hover, -.btn-link:focus, -.btn-link:active { - border-color: transparent; -} -.btn-link:hover, -.btn-link:focus { - color: #23527c; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -fieldset[disabled] .btn-link:hover, -.btn-link[disabled]:focus, -fieldset[disabled] .btn-link:focus { - color: #777; - text-decoration: none; -} -.btn-lg, -.btn-group-lg > .btn { - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -.btn-sm, -.btn-group-sm > .btn { - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-xs, -.btn-group-xs > .btn { - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.fade { - opacity: 0; - -webkit-transition: opacity .15s linear; - -o-transition: opacity .15s linear; - transition: opacity .15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - display: none; -} -.collapse.in { - display: block; -} -tr.collapse.in { - display: table-row; -} -tbody.collapse.in { - display: table-row-group; -} -.collapsing { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition-timing-function: ease; - -o-transition-timing-function: ease; - transition-timing-function: ease; - -webkit-transition-duration: .35s; - -o-transition-duration: .35s; - transition-duration: .35s; - -webkit-transition-property: height, visibility; - -o-transition-property: height, visibility; - transition-property: height, visibility; -} -.caret { - display: inline-block; - width: 0; - height: 0; - margin-left: 2px; - vertical-align: middle; - border-top: 4px dashed; - border-top: 4px solid \9; - border-right: 4px solid transparent; - border-left: 4px solid transparent; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle:focus { - outline: 0; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - font-size: 14px; - text-align: left; - list-style: none; - background-color: #fff; - -webkit-background-clip: padding-box; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, .15); - border-radius: 4px; - -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); - box-shadow: 0 6px 12px rgba(0, 0, 0, .175); -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - height: 1px; - margin: 9px 0; - overflow: hidden; - background-color: #e5e5e5; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 1.42857143; - color: #333; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus { - color: #262626; - text-decoration: none; - background-color: #f5f5f5; -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #fff; - text-decoration: none; - background-color: #337ab7; - outline: 0; -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #777; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - cursor: not-allowed; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.open > .dropdown-menu { - display: block; -} -.open > a { - outline: 0; -} -.dropdown-menu-right { - right: 0; - left: auto; -} -.dropdown-menu-left { - right: auto; - left: 0; -} -.dropdown-header { - display: block; - padding: 3px 20px; - font-size: 12px; - line-height: 1.42857143; - color: #777; - white-space: nowrap; -} -.dropdown-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 990; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - content: ""; - border-top: 0; - border-bottom: 4px dashed; - border-bottom: 4px solid \9; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 2px; -} -@media (min-width: 768px) { - .navbar-right .dropdown-menu { - right: 0; - left: auto; - } - .navbar-right .dropdown-menu-left { - right: auto; - left: 0; - } -} -.btn-group, -.btn-group-vertical { - position: relative; - display: inline-block; - vertical-align: middle; -} -.btn-group > .btn, -.btn-group-vertical > .btn { - position: relative; - float: left; -} -.btn-group > .btn:hover, -.btn-group-vertical > .btn:hover, -.btn-group > .btn:focus, -.btn-group-vertical > .btn:focus, -.btn-group > .btn:active, -.btn-group-vertical > .btn:active, -.btn-group > .btn.active, -.btn-group-vertical > .btn.active { - z-index: 2; -} -.btn-group .btn + .btn, -.btn-group .btn + .btn-group, -.btn-group .btn-group + .btn, -.btn-group .btn-group + .btn-group { - margin-left: -1px; -} -.btn-toolbar { - margin-left: -5px; -} -.btn-toolbar .btn, -.btn-toolbar .btn-group, -.btn-toolbar .input-group { - float: left; -} -.btn-toolbar > .btn, -.btn-toolbar > .btn-group, -.btn-toolbar > .input-group { - margin-left: 5px; -} -.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { - border-radius: 0; -} -.btn-group > .btn:first-child { - margin-left: 0; -} -.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn:last-child:not(:first-child), -.btn-group > .dropdown-toggle:not(:first-child) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group > .btn-group { - float: left; -} -.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, -.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-right: 8px; - padding-left: 8px; -} -.btn-group > .btn-lg + .dropdown-toggle { - padding-right: 12px; - padding-left: 12px; -} -.btn-group.open .dropdown-toggle { - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); -} -.btn-group.open .dropdown-toggle.btn-link { - -webkit-box-shadow: none; - box-shadow: none; -} -.btn .caret { - margin-left: 0; -} -.btn-lg .caret { - border-width: 5px 5px 0; - border-bottom-width: 0; -} -.dropup .btn-lg .caret { - border-width: 0 5px 5px; -} -.btn-group-vertical > .btn, -.btn-group-vertical > .btn-group, -.btn-group-vertical > .btn-group > .btn { - display: block; - float: none; - width: 100%; - max-width: 100%; -} -.btn-group-vertical > .btn-group > .btn { - float: none; -} -.btn-group-vertical > .btn + .btn, -.btn-group-vertical > .btn + .btn-group, -.btn-group-vertical > .btn-group + .btn, -.btn-group-vertical > .btn-group + .btn-group { - margin-top: -1px; - margin-left: 0; -} -.btn-group-vertical > .btn:not(:first-child):not(:last-child) { - border-radius: 0; -} -.btn-group-vertical > .btn:first-child:not(:last-child) { - border-top-right-radius: 4px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group-vertical > .btn:last-child:not(:first-child) { - border-top-left-radius: 0; - border-top-right-radius: 0; - border-bottom-left-radius: 4px; -} -.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, -.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.btn-group-justified { - display: table; - width: 100%; - table-layout: fixed; - border-collapse: separate; -} -.btn-group-justified > .btn, -.btn-group-justified > .btn-group { - display: table-cell; - float: none; - width: 1%; -} -.btn-group-justified > .btn-group .btn { - width: 100%; -} -.btn-group-justified > .btn-group .dropdown-menu { - left: auto; -} -[data-toggle="buttons"] > .btn input[type="radio"], -[data-toggle="buttons"] > .btn-group > .btn input[type="radio"], -[data-toggle="buttons"] > .btn input[type="checkbox"], -[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { - position: absolute; - clip: rect(0, 0, 0, 0); - pointer-events: none; -} -.input-group { - position: relative; - display: table; - border-collapse: separate; -} -.input-group[class*="col-"] { - float: none; - padding-right: 0; - padding-left: 0; -} -.input-group .form-control { - position: relative; - z-index: 2; - float: left; - width: 100%; - margin-bottom: 0; -} -.input-group-lg > .form-control, -.input-group-lg > .input-group-addon, -.input-group-lg > .input-group-btn > .btn { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -select.input-group-lg > .form-control, -select.input-group-lg > .input-group-addon, -select.input-group-lg > .input-group-btn > .btn { - height: 46px; - line-height: 46px; -} -textarea.input-group-lg > .form-control, -textarea.input-group-lg > .input-group-addon, -textarea.input-group-lg > .input-group-btn > .btn, -select[multiple].input-group-lg > .form-control, -select[multiple].input-group-lg > .input-group-addon, -select[multiple].input-group-lg > .input-group-btn > .btn { - height: auto; -} -.input-group-sm > .form-control, -.input-group-sm > .input-group-addon, -.input-group-sm > .input-group-btn > .btn { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.input-group-sm > .form-control, -select.input-group-sm > .input-group-addon, -select.input-group-sm > .input-group-btn > .btn { - height: 30px; - line-height: 30px; -} -textarea.input-group-sm > .form-control, -textarea.input-group-sm > .input-group-addon, -textarea.input-group-sm > .input-group-btn > .btn, -select[multiple].input-group-sm > .form-control, -select[multiple].input-group-sm > .input-group-addon, -select[multiple].input-group-sm > .input-group-btn > .btn { - height: auto; -} -.input-group-addon, -.input-group-btn, -.input-group .form-control { - display: table-cell; -} -.input-group-addon:not(:first-child):not(:last-child), -.input-group-btn:not(:first-child):not(:last-child), -.input-group .form-control:not(:first-child):not(:last-child) { - border-radius: 0; -} -.input-group-addon, -.input-group-btn { - width: 1%; - white-space: nowrap; - vertical-align: middle; -} -.input-group-addon { - padding: 6px 12px; - font-size: 14px; - font-weight: normal; - line-height: 1; - color: #555; - text-align: center; - background-color: #eee; - border: 1px solid #ccc; - border-radius: 4px; -} -.input-group-addon.input-sm { - padding: 5px 10px; - font-size: 12px; - border-radius: 3px; -} -.input-group-addon.input-lg { - padding: 10px 16px; - font-size: 18px; - border-radius: 6px; -} -.input-group-addon input[type="radio"], -.input-group-addon input[type="checkbox"] { - margin-top: 0; -} -.input-group .form-control:first-child, -.input-group-addon:first-child, -.input-group-btn:first-child > .btn, -.input-group-btn:first-child > .btn-group > .btn, -.input-group-btn:first-child > .dropdown-toggle, -.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), -.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.input-group-addon:first-child { - border-right: 0; -} -.input-group .form-control:last-child, -.input-group-addon:last-child, -.input-group-btn:last-child > .btn, -.input-group-btn:last-child > .btn-group > .btn, -.input-group-btn:last-child > .dropdown-toggle, -.input-group-btn:first-child > .btn:not(:first-child), -.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.input-group-addon:last-child { - border-left: 0; -} -.input-group-btn { - position: relative; - font-size: 0; - white-space: nowrap; -} -.input-group-btn > .btn { - position: relative; -} -.input-group-btn > .btn + .btn { - margin-left: -1px; -} -.input-group-btn > .btn:hover, -.input-group-btn > .btn:focus, -.input-group-btn > .btn:active { - z-index: 2; -} -.input-group-btn:first-child > .btn, -.input-group-btn:first-child > .btn-group { - margin-right: -1px; -} -.input-group-btn:last-child > .btn, -.input-group-btn:last-child > .btn-group { - z-index: 2; - margin-left: -1px; -} -.nav { - padding-left: 0; - margin-bottom: 0; - list-style: none; -} -.nav > li { - position: relative; - display: block; -} -.nav > li > a { - position: relative; - display: block; - padding: 10px 15px; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #eee; -} -.nav > li.disabled > a { - color: #777; -} -.nav > li.disabled > a:hover, -.nav > li.disabled > a:focus { - color: #777; - text-decoration: none; - cursor: not-allowed; - background-color: transparent; -} -.nav .open > a, -.nav .open > a:hover, -.nav .open > a:focus { - background-color: #eee; - border-color: #337ab7; -} -.nav .nav-divider { - height: 1px; - margin: 9px 0; - overflow: hidden; - background-color: #e5e5e5; -} -.nav > li > a > img { - max-width: none; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - float: left; - margin-bottom: -1px; -} -.nav-tabs > li > a { - margin-right: 2px; - line-height: 1.42857143; - border: 1px solid transparent; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover { - border-color: #eee #eee #ddd; -} -.nav-tabs > li.active > a, -.nav-tabs > li.active > a:hover, -.nav-tabs > li.active > a:focus { - color: #555; - cursor: default; - background-color: #fff; - border: 1px solid #ddd; - border-bottom-color: transparent; -} -.nav-tabs.nav-justified { - width: 100%; - border-bottom: 0; -} -.nav-tabs.nav-justified > li { - float: none; -} -.nav-tabs.nav-justified > li > a { - margin-bottom: 5px; - text-align: center; -} -.nav-tabs.nav-justified > .dropdown .dropdown-menu { - top: auto; - left: auto; -} -@media (min-width: 768px) { - .nav-tabs.nav-justified > li { - display: table-cell; - width: 1%; - } - .nav-tabs.nav-justified > li > a { - margin-bottom: 0; - } -} -.nav-tabs.nav-justified > li > a { - margin-right: 0; - border-radius: 4px; -} -.nav-tabs.nav-justified > .active > a, -.nav-tabs.nav-justified > .active > a:hover, -.nav-tabs.nav-justified > .active > a:focus { - border: 1px solid #ddd; -} -@media (min-width: 768px) { - .nav-tabs.nav-justified > li > a { - border-bottom: 1px solid #ddd; - border-radius: 4px 4px 0 0; - } - .nav-tabs.nav-justified > .active > a, - .nav-tabs.nav-justified > .active > a:hover, - .nav-tabs.nav-justified > .active > a:focus { - border-bottom-color: #fff; - } -} -.nav-pills > li { - float: left; -} -.nav-pills > li > a { - border-radius: 4px; -} -.nav-pills > li + li { - margin-left: 2px; -} -.nav-pills > li.active > a, -.nav-pills > li.active > a:hover, -.nav-pills > li.active > a:focus { - color: #fff; - background-color: #337ab7; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li + li { - margin-top: 2px; - margin-left: 0; -} -.nav-justified { - width: 100%; -} -.nav-justified > li { - float: none; -} -.nav-justified > li > a { - margin-bottom: 5px; - text-align: center; -} -.nav-justified > .dropdown .dropdown-menu { - top: auto; - left: auto; -} -@media (min-width: 768px) { - .nav-justified > li { - display: table-cell; - width: 1%; - } - .nav-justified > li > a { - margin-bottom: 0; - } -} -.nav-tabs-justified { - border-bottom: 0; -} -.nav-tabs-justified > li > a { - margin-right: 0; - border-radius: 4px; -} -.nav-tabs-justified > .active > a, -.nav-tabs-justified > .active > a:hover, -.nav-tabs-justified > .active > a:focus { - border: 1px solid #ddd; -} -@media (min-width: 768px) { - .nav-tabs-justified > li > a { - border-bottom: 1px solid #ddd; - border-radius: 4px 4px 0 0; - } - .nav-tabs-justified > .active > a, - .nav-tabs-justified > .active > a:hover, - .nav-tabs-justified > .active > a:focus { - border-bottom-color: #fff; - } -} -.tab-content > .tab-pane { - display: none; -} -.tab-content > .active { - display: block; -} -.nav-tabs .dropdown-menu { - margin-top: -1px; - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.navbar { - position: relative; - min-height: 50px; - margin-bottom: 20px; - border: 1px solid transparent; -} -@media (min-width: 768px) { - .navbar { - border-radius: 4px; - } -} -@media (min-width: 768px) { - .navbar-header { - float: left; - } -} -.navbar-collapse { - padding-right: 15px; - padding-left: 15px; - overflow-x: visible; - -webkit-overflow-scrolling: touch; - border-top: 1px solid transparent; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); -} -.navbar-collapse.in { - overflow-y: auto; -} -@media (min-width: 768px) { - .navbar-collapse { - width: auto; - border-top: 0; - -webkit-box-shadow: none; - box-shadow: none; - } - .navbar-collapse.collapse { - display: block !important; - height: auto !important; - padding-bottom: 0; - overflow: visible !important; - } - .navbar-collapse.in { - overflow-y: visible; - } - .navbar-fixed-top .navbar-collapse, - .navbar-static-top .navbar-collapse, - .navbar-fixed-bottom .navbar-collapse { - padding-right: 0; - padding-left: 0; - } -} -.navbar-fixed-top .navbar-collapse, -.navbar-fixed-bottom .navbar-collapse { - max-height: 340px; -} -@media (max-device-width: 480px) and (orientation: landscape) { - .navbar-fixed-top .navbar-collapse, - .navbar-fixed-bottom .navbar-collapse { - max-height: 200px; - } -} -.container > .navbar-header, -.container-fluid > .navbar-header, -.container > .navbar-collapse, -.container-fluid > .navbar-collapse { - margin-right: -15px; - margin-left: -15px; -} -@media (min-width: 768px) { - .container > .navbar-header, - .container-fluid > .navbar-header, - .container > .navbar-collapse, - .container-fluid > .navbar-collapse { - margin-right: 0; - margin-left: 0; - } -} -.navbar-static-top { - z-index: 1000; - border-width: 0 0 1px; -} -@media (min-width: 768px) { - .navbar-static-top { - border-radius: 0; - } -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; -} -@media (min-width: 768px) { - .navbar-fixed-top, - .navbar-fixed-bottom { - border-radius: 0; - } -} -.navbar-fixed-top { - top: 0; - border-width: 0 0 1px; -} -.navbar-fixed-bottom { - bottom: 0; - margin-bottom: 0; - border-width: 1px 0 0; -} -.navbar-brand { - float: left; - height: 50px; - padding: 15px 15px; - font-size: 18px; - line-height: 20px; -} -.navbar-brand:hover, -.navbar-brand:focus { - text-decoration: none; -} -.navbar-brand > img { - display: block; -} -@media (min-width: 768px) { - .navbar > .container .navbar-brand, - .navbar > .container-fluid .navbar-brand { - margin-left: -15px; - } -} -.navbar-toggle { - position: relative; - float: right; - padding: 9px 10px; - margin-top: 8px; - margin-right: 15px; - margin-bottom: 8px; - background-color: transparent; - background-image: none; - border: 1px solid transparent; - border-radius: 4px; -} -.navbar-toggle:focus { - outline: 0; -} -.navbar-toggle .icon-bar { - display: block; - width: 22px; - height: 2px; - border-radius: 1px; -} -.navbar-toggle .icon-bar + .icon-bar { - margin-top: 4px; -} -@media (min-width: 768px) { - .navbar-toggle { - display: none; - } -} -.navbar-nav { - margin: 7.5px -15px; -} -.navbar-nav > li > a { - padding-top: 10px; - padding-bottom: 10px; - line-height: 20px; -} -@media (max-width: 767px) { - .navbar-nav .open .dropdown-menu { - position: static; - float: none; - width: auto; - margin-top: 0; - background-color: transparent; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - } - .navbar-nav .open .dropdown-menu > li > a, - .navbar-nav .open .dropdown-menu .dropdown-header { - padding: 5px 15px 5px 25px; - } - .navbar-nav .open .dropdown-menu > li > a { - line-height: 20px; - } - .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-nav .open .dropdown-menu > li > a:focus { - background-image: none; - } -} -@media (min-width: 768px) { - .navbar-nav { - float: left; - margin: 0; - } - .navbar-nav > li { - float: left; - } - .navbar-nav > li > a { - padding-top: 15px; - padding-bottom: 15px; - } -} -.navbar-form { - padding: 10px 15px; - margin-top: 8px; - margin-right: -15px; - margin-bottom: 8px; - margin-left: -15px; - border-top: 1px solid transparent; - border-bottom: 1px solid transparent; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); -} -@media (min-width: 768px) { - .navbar-form .form-group { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .form-control { - display: inline-block; - width: auto; - vertical-align: middle; - } - .navbar-form .form-control-static { - display: inline-block; - } - .navbar-form .input-group { - display: inline-table; - vertical-align: middle; - } - .navbar-form .input-group .input-group-addon, - .navbar-form .input-group .input-group-btn, - .navbar-form .input-group .form-control { - width: auto; - } - .navbar-form .input-group > .form-control { - width: 100%; - } - .navbar-form .control-label { - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .radio, - .navbar-form .checkbox { - display: inline-block; - margin-top: 0; - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .radio label, - .navbar-form .checkbox label { - padding-left: 0; - } - .navbar-form .radio input[type="radio"], - .navbar-form .checkbox input[type="checkbox"] { - position: relative; - margin-left: 0; - } - .navbar-form .has-feedback .form-control-feedback { - top: 0; - } -} -@media (max-width: 767px) { - .navbar-form .form-group { - margin-bottom: 5px; - } - .navbar-form .form-group:last-child { - margin-bottom: 0; - } -} -@media (min-width: 768px) { - .navbar-form { - width: auto; - padding-top: 0; - padding-bottom: 0; - margin-right: 0; - margin-left: 0; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - } -} -.navbar-nav > li > .dropdown-menu { - margin-top: 0; - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { - margin-bottom: 0; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.navbar-btn { - margin-top: 8px; - margin-bottom: 8px; -} -.navbar-btn.btn-sm { - margin-top: 10px; - margin-bottom: 10px; -} -.navbar-btn.btn-xs { - margin-top: 14px; - margin-bottom: 14px; -} -.navbar-text { - margin-top: 15px; - margin-bottom: 15px; -} -@media (min-width: 768px) { - .navbar-text { - float: left; - margin-right: 15px; - margin-left: 15px; - } -} -@media (min-width: 768px) { - .navbar-left { - float: left !important; - } - .navbar-right { - float: right !important; - margin-right: -15px; - } - .navbar-right ~ .navbar-right { - margin-right: 0; - } -} -.navbar-default { - background-color: #f8f8f8; - border-color: #e7e7e7; -} -.navbar-default .navbar-brand { - color: #777; -} -.navbar-default .navbar-brand:hover, -.navbar-default .navbar-brand:focus { - color: #5e5e5e; - background-color: transparent; -} -.navbar-default .navbar-text { - color: #777; -} -.navbar-default .navbar-nav > li > a { - color: #777; -} -.navbar-default .navbar-nav > li > a:hover, -.navbar-default .navbar-nav > li > a:focus { - color: #333; - background-color: transparent; -} -.navbar-default .navbar-nav > .active > a, -.navbar-default .navbar-nav > .active > a:hover, -.navbar-default .navbar-nav > .active > a:focus { - color: #555; - background-color: #e7e7e7; -} -.navbar-default .navbar-nav > .disabled > a, -.navbar-default .navbar-nav > .disabled > a:hover, -.navbar-default .navbar-nav > .disabled > a:focus { - color: #ccc; - background-color: transparent; -} -.navbar-default .navbar-toggle { - border-color: #ddd; -} -.navbar-default .navbar-toggle:hover, -.navbar-default .navbar-toggle:focus { - background-color: #ddd; -} -.navbar-default .navbar-toggle .icon-bar { - background-color: #888; -} -.navbar-default .navbar-collapse, -.navbar-default .navbar-form { - border-color: #e7e7e7; -} -.navbar-default .navbar-nav > .open > a, -.navbar-default .navbar-nav > .open > a:hover, -.navbar-default .navbar-nav > .open > a:focus { - color: #555; - background-color: #e7e7e7; -} -@media (max-width: 767px) { - .navbar-default .navbar-nav .open .dropdown-menu > li > a { - color: #777; - } - .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { - color: #333; - background-color: transparent; - } - .navbar-default .navbar-nav .open .dropdown-menu > .active > a, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #555; - background-color: #e7e7e7; - } - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { - color: #ccc; - background-color: transparent; - } -} -.navbar-default .navbar-link { - color: #777; -} -.navbar-default .navbar-link:hover { - color: #333; -} -.navbar-default .btn-link { - color: #777; -} -.navbar-default .btn-link:hover, -.navbar-default .btn-link:focus { - color: #333; -} -.navbar-default .btn-link[disabled]:hover, -fieldset[disabled] .navbar-default .btn-link:hover, -.navbar-default .btn-link[disabled]:focus, -fieldset[disabled] .navbar-default .btn-link:focus { - color: #ccc; -} -.navbar-inverse { - background-color: #222; - border-color: #080808; -} -.navbar-inverse .navbar-brand { - color: #9d9d9d; -} -.navbar-inverse .navbar-brand:hover, -.navbar-inverse .navbar-brand:focus { - color: #fff; - background-color: transparent; -} -.navbar-inverse .navbar-text { - color: #9d9d9d; -} -.navbar-inverse .navbar-nav > li > a { - color: #9d9d9d; -} -.navbar-inverse .navbar-nav > li > a:hover, -.navbar-inverse .navbar-nav > li > a:focus { - color: #fff; - background-color: transparent; -} -.navbar-inverse .navbar-nav > .active > a, -.navbar-inverse .navbar-nav > .active > a:hover, -.navbar-inverse .navbar-nav > .active > a:focus { - color: #fff; - background-color: #080808; -} -.navbar-inverse .navbar-nav > .disabled > a, -.navbar-inverse .navbar-nav > .disabled > a:hover, -.navbar-inverse .navbar-nav > .disabled > a:focus { - color: #444; - background-color: transparent; -} -.navbar-inverse .navbar-toggle { - border-color: #333; -} -.navbar-inverse .navbar-toggle:hover, -.navbar-inverse .navbar-toggle:focus { - background-color: #333; -} -.navbar-inverse .navbar-toggle .icon-bar { - background-color: #fff; -} -.navbar-inverse .navbar-collapse, -.navbar-inverse .navbar-form { - border-color: #101010; -} -.navbar-inverse .navbar-nav > .open > a, -.navbar-inverse .navbar-nav > .open > a:hover, -.navbar-inverse .navbar-nav > .open > a:focus { - color: #fff; - background-color: #080808; -} -@media (max-width: 767px) { - .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { - border-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu .divider { - background-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { - color: #9d9d9d; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { - color: #fff; - background-color: transparent; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #fff; - background-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { - color: #444; - background-color: transparent; - } -} -.navbar-inverse .navbar-link { - color: #9d9d9d; -} -.navbar-inverse .navbar-link:hover { - color: #fff; -} -.navbar-inverse .btn-link { - color: #9d9d9d; -} -.navbar-inverse .btn-link:hover, -.navbar-inverse .btn-link:focus { - color: #fff; -} -.navbar-inverse .btn-link[disabled]:hover, -fieldset[disabled] .navbar-inverse .btn-link:hover, -.navbar-inverse .btn-link[disabled]:focus, -fieldset[disabled] .navbar-inverse .btn-link:focus { - color: #444; -} -.breadcrumb { - padding: 8px 15px; - margin-bottom: 20px; - list-style: none; - background-color: #f5f5f5; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; -} -.breadcrumb > li + li:before { - padding: 0 5px; - color: #ccc; - content: "/\00a0"; -} -.breadcrumb > .active { - color: #777; -} -.pagination { - display: inline-block; - padding-left: 0; - margin: 20px 0; - border-radius: 4px; -} -.pagination > li { - display: inline; -} -.pagination > li > a, -.pagination > li > span { - position: relative; - float: left; - padding: 6px 12px; - margin-left: -1px; - line-height: 1.42857143; - color: #337ab7; - text-decoration: none; - background-color: #fff; - border: 1px solid #ddd; -} -.pagination > li:first-child > a, -.pagination > li:first-child > span { - margin-left: 0; - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; -} -.pagination > li:last-child > a, -.pagination > li:last-child > span { - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} -.pagination > li > a:hover, -.pagination > li > span:hover, -.pagination > li > a:focus, -.pagination > li > span:focus { - z-index: 3; - color: #23527c; - background-color: #eee; - border-color: #ddd; -} -.pagination > .active > a, -.pagination > .active > span, -.pagination > .active > a:hover, -.pagination > .active > span:hover, -.pagination > .active > a:focus, -.pagination > .active > span:focus { - z-index: 2; - color: #fff; - cursor: default; - background-color: #337ab7; - border-color: #337ab7; -} -.pagination > .disabled > span, -.pagination > .disabled > span:hover, -.pagination > .disabled > span:focus, -.pagination > .disabled > a, -.pagination > .disabled > a:hover, -.pagination > .disabled > a:focus { - color: #777; - cursor: not-allowed; - background-color: #fff; - border-color: #ddd; -} -.pagination-lg > li > a, -.pagination-lg > li > span { - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; -} -.pagination-lg > li:first-child > a, -.pagination-lg > li:first-child > span { - border-top-left-radius: 6px; - border-bottom-left-radius: 6px; -} -.pagination-lg > li:last-child > a, -.pagination-lg > li:last-child > span { - border-top-right-radius: 6px; - border-bottom-right-radius: 6px; -} -.pagination-sm > li > a, -.pagination-sm > li > span { - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; -} -.pagination-sm > li:first-child > a, -.pagination-sm > li:first-child > span { - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; -} -.pagination-sm > li:last-child > a, -.pagination-sm > li:last-child > span { - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; -} -.pager { - padding-left: 0; - margin: 20px 0; - text-align: center; - list-style: none; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #eee; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #777; - cursor: not-allowed; - background-color: #fff; -} -.label { - display: inline; - padding: .2em .6em .3em; - font-size: 75%; - font-weight: bold; - line-height: 1; - color: #fff; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - border-radius: .25em; -} -a.label:hover, -a.label:focus { - color: #fff; - text-decoration: none; - cursor: pointer; -} -.label:empty { - display: none; -} -.btn .label { - position: relative; - top: -1px; -} -.label-default { - background-color: #777; -} -.label-default[href]:hover, -.label-default[href]:focus { - background-color: #5e5e5e; -} -.label-primary { - background-color: #337ab7; -} -.label-primary[href]:hover, -.label-primary[href]:focus { - background-color: #286090; -} -.label-success { - background-color: #5cb85c; -} -.label-success[href]:hover, -.label-success[href]:focus { - background-color: #449d44; -} -.label-info { - background-color: #5bc0de; -} -.label-info[href]:hover, -.label-info[href]:focus { - background-color: #31b0d5; -} -.label-warning { - background-color: #f0ad4e; -} -.label-warning[href]:hover, -.label-warning[href]:focus { - background-color: #ec971f; -} -.label-danger { - background-color: #d9534f; -} -.label-danger[href]:hover, -.label-danger[href]:focus { - background-color: #c9302c; -} -.badge { - display: inline-block; - min-width: 10px; - padding: 3px 7px; - font-size: 12px; - font-weight: bold; - line-height: 1; - color: #fff; - text-align: center; - white-space: nowrap; - vertical-align: middle; - background-color: #777; - border-radius: 10px; -} -.badge:empty { - display: none; -} -.btn .badge { - position: relative; - top: -1px; -} -.btn-xs .badge, -.btn-group-xs > .btn .badge { - top: 0; - padding: 1px 5px; -} -a.badge:hover, -a.badge:focus { - color: #fff; - text-decoration: none; - cursor: pointer; -} -.list-group-item.active > .badge, -.nav-pills > .active > a > .badge { - color: #337ab7; - background-color: #fff; -} -.list-group-item > .badge { - float: right; -} -.list-group-item > .badge + .badge { - margin-right: 5px; -} -.nav-pills > li > a > .badge { - margin-left: 3px; -} -.jumbotron { - padding-top: 30px; - padding-bottom: 30px; - margin-bottom: 30px; - color: inherit; - background-color: #eee; -} -.jumbotron h1, -.jumbotron .h1 { - color: inherit; -} -.jumbotron p { - margin-bottom: 15px; - font-size: 21px; - font-weight: 200; -} -.jumbotron > hr { - border-top-color: #d5d5d5; -} -.container .jumbotron, -.container-fluid .jumbotron { - border-radius: 6px; -} -.jumbotron .container { - max-width: 100%; -} -@media screen and (min-width: 768px) { - .jumbotron { - padding-top: 48px; - padding-bottom: 48px; - } - .container .jumbotron, - .container-fluid .jumbotron { - padding-right: 60px; - padding-left: 60px; - } - .jumbotron h1, - .jumbotron .h1 { - font-size: 63px; - } -} -.thumbnail { - display: block; - padding: 4px; - margin-bottom: 20px; - line-height: 1.42857143; - background-color: #fff; - border: 1px solid #ddd; - border-radius: 4px; - -webkit-transition: border .2s ease-in-out; - -o-transition: border .2s ease-in-out; - transition: border .2s ease-in-out; -} -.thumbnail > img, -.thumbnail a > img { - margin-right: auto; - margin-left: auto; -} -a.thumbnail:hover, -a.thumbnail:focus, -a.thumbnail.active { - border-color: #337ab7; -} -.thumbnail .caption { - padding: 9px; - color: #333; -} -.alert { - padding: 15px; - margin-bottom: 20px; - border: 1px solid transparent; - border-radius: 4px; -} -.alert h4 { - margin-top: 0; - color: inherit; -} -.alert .alert-link { - font-weight: bold; -} -.alert > p, -.alert > ul { - margin-bottom: 0; -} -.alert > p + p { - margin-top: 5px; -} -.alert-dismissable, -.alert-dismissible { - padding-right: 35px; -} -.alert-dismissable .close, -.alert-dismissible .close { - position: relative; - top: -2px; - right: -21px; - color: inherit; -} -.alert-success { - color: #3c763d; - background-color: #dff0d8; - border-color: #d6e9c6; -} -.alert-success hr { - border-top-color: #c9e2b3; -} -.alert-success .alert-link { - color: #2b542c; -} -.alert-info { - color: #31708f; - background-color: #d9edf7; - border-color: #bce8f1; -} -.alert-info hr { - border-top-color: #a6e1ec; -} -.alert-info .alert-link { - color: #245269; -} -.alert-warning { - color: #8a6d3b; - background-color: #fcf8e3; - border-color: #faebcc; -} -.alert-warning hr { - border-top-color: #f7e1b5; -} -.alert-warning .alert-link { - color: #66512c; -} -.alert-danger { - color: #a94442; - background-color: #f2dede; - border-color: #ebccd1; -} -.alert-danger hr { - border-top-color: #e4b9c0; -} -.alert-danger .alert-link { - color: #843534; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - height: 20px; - margin-bottom: 20px; - overflow: hidden; - background-color: #f5f5f5; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); -} -.progress-bar { - float: left; - width: 0; - height: 100%; - font-size: 12px; - line-height: 20px; - color: #fff; - text-align: center; - background-color: #337ab7; - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); - -webkit-transition: width .6s ease; - -o-transition: width .6s ease; - transition: width .6s ease; -} -.progress-striped .progress-bar, -.progress-bar-striped { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .progress-bar, -.progress-bar.active { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-bar-success { - background-color: #5cb85c; -} -.progress-striped .progress-bar-success { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.progress-bar-info { - background-color: #5bc0de; -} -.progress-striped .progress-bar-info { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.progress-bar-warning { - background-color: #f0ad4e; -} -.progress-striped .progress-bar-warning { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.progress-bar-danger { - background-color: #d9534f; -} -.progress-striped .progress-bar-danger { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media, -.media-body { - overflow: hidden; - zoom: 1; -} -.media-body { - width: 10000px; -} -.media-object { - display: block; -} -.media-object.img-thumbnail { - max-width: none; -} -.media-right, -.media > .pull-right { - padding-left: 10px; -} -.media-left, -.media > .pull-left { - padding-right: 10px; -} -.media-left, -.media-right, -.media-body { - display: table-cell; - vertical-align: top; -} -.media-middle { - vertical-align: middle; -} -.media-bottom { - vertical-align: bottom; -} -.media-heading { - margin-top: 0; - margin-bottom: 5px; -} -.media-list { - padding-left: 0; - list-style: none; -} -.list-group { - padding-left: 0; - margin-bottom: 20px; -} -.list-group-item { - position: relative; - display: block; - padding: 10px 15px; - margin-bottom: -1px; - background-color: #fff; - border: 1px solid #ddd; -} -.list-group-item:first-child { - border-top-left-radius: 4px; - border-top-right-radius: 4px; -} -.list-group-item:last-child { - margin-bottom: 0; - border-bottom-right-radius: 4px; - border-bottom-left-radius: 4px; -} -a.list-group-item, -button.list-group-item { - color: #555; -} -a.list-group-item .list-group-item-heading, -button.list-group-item .list-group-item-heading { - color: #333; -} -a.list-group-item:hover, -button.list-group-item:hover, -a.list-group-item:focus, -button.list-group-item:focus { - color: #555; - text-decoration: none; - background-color: #f5f5f5; -} -button.list-group-item { - width: 100%; - text-align: left; -} -.list-group-item.disabled, -.list-group-item.disabled:hover, -.list-group-item.disabled:focus { - color: #777; - cursor: not-allowed; - background-color: #eee; -} -.list-group-item.disabled .list-group-item-heading, -.list-group-item.disabled:hover .list-group-item-heading, -.list-group-item.disabled:focus .list-group-item-heading { - color: inherit; -} -.list-group-item.disabled .list-group-item-text, -.list-group-item.disabled:hover .list-group-item-text, -.list-group-item.disabled:focus .list-group-item-text { - color: #777; -} -.list-group-item.active, -.list-group-item.active:hover, -.list-group-item.active:focus { - z-index: 2; - color: #fff; - background-color: #337ab7; - border-color: #337ab7; -} -.list-group-item.active .list-group-item-heading, -.list-group-item.active:hover .list-group-item-heading, -.list-group-item.active:focus .list-group-item-heading, -.list-group-item.active .list-group-item-heading > small, -.list-group-item.active:hover .list-group-item-heading > small, -.list-group-item.active:focus .list-group-item-heading > small, -.list-group-item.active .list-group-item-heading > .small, -.list-group-item.active:hover .list-group-item-heading > .small, -.list-group-item.active:focus .list-group-item-heading > .small { - color: inherit; -} -.list-group-item.active .list-group-item-text, -.list-group-item.active:hover .list-group-item-text, -.list-group-item.active:focus .list-group-item-text { - color: #c7ddef; -} -.list-group-item-success { - color: #3c763d; - background-color: #dff0d8; -} -a.list-group-item-success, -button.list-group-item-success { - color: #3c763d; -} -a.list-group-item-success .list-group-item-heading, -button.list-group-item-success .list-group-item-heading { - color: inherit; -} -a.list-group-item-success:hover, -button.list-group-item-success:hover, -a.list-group-item-success:focus, -button.list-group-item-success:focus { - color: #3c763d; - background-color: #d0e9c6; -} -a.list-group-item-success.active, -button.list-group-item-success.active, -a.list-group-item-success.active:hover, -button.list-group-item-success.active:hover, -a.list-group-item-success.active:focus, -button.list-group-item-success.active:focus { - color: #fff; - background-color: #3c763d; - border-color: #3c763d; -} -.list-group-item-info { - color: #31708f; - background-color: #d9edf7; -} -a.list-group-item-info, -button.list-group-item-info { - color: #31708f; -} -a.list-group-item-info .list-group-item-heading, -button.list-group-item-info .list-group-item-heading { - color: inherit; -} -a.list-group-item-info:hover, -button.list-group-item-info:hover, -a.list-group-item-info:focus, -button.list-group-item-info:focus { - color: #31708f; - background-color: #c4e3f3; -} -a.list-group-item-info.active, -button.list-group-item-info.active, -a.list-group-item-info.active:hover, -button.list-group-item-info.active:hover, -a.list-group-item-info.active:focus, -button.list-group-item-info.active:focus { - color: #fff; - background-color: #31708f; - border-color: #31708f; -} -.list-group-item-warning { - color: #8a6d3b; - background-color: #fcf8e3; -} -a.list-group-item-warning, -button.list-group-item-warning { - color: #8a6d3b; -} -a.list-group-item-warning .list-group-item-heading, -button.list-group-item-warning .list-group-item-heading { - color: inherit; -} -a.list-group-item-warning:hover, -button.list-group-item-warning:hover, -a.list-group-item-warning:focus, -button.list-group-item-warning:focus { - color: #8a6d3b; - background-color: #faf2cc; -} -a.list-group-item-warning.active, -button.list-group-item-warning.active, -a.list-group-item-warning.active:hover, -button.list-group-item-warning.active:hover, -a.list-group-item-warning.active:focus, -button.list-group-item-warning.active:focus { - color: #fff; - background-color: #8a6d3b; - border-color: #8a6d3b; -} -.list-group-item-danger { - color: #a94442; - background-color: #f2dede; -} -a.list-group-item-danger, -button.list-group-item-danger { - color: #a94442; -} -a.list-group-item-danger .list-group-item-heading, -button.list-group-item-danger .list-group-item-heading { - color: inherit; -} -a.list-group-item-danger:hover, -button.list-group-item-danger:hover, -a.list-group-item-danger:focus, -button.list-group-item-danger:focus { - color: #a94442; - background-color: #ebcccc; -} -a.list-group-item-danger.active, -button.list-group-item-danger.active, -a.list-group-item-danger.active:hover, -button.list-group-item-danger.active:hover, -a.list-group-item-danger.active:focus, -button.list-group-item-danger.active:focus { - color: #fff; - background-color: #a94442; - border-color: #a94442; -} -.list-group-item-heading { - margin-top: 0; - margin-bottom: 5px; -} -.list-group-item-text { - margin-bottom: 0; - line-height: 1.3; -} -.panel { - margin-bottom: 20px; - background-color: #fff; - border: 1px solid transparent; - border-radius: 4px; - -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); - box-shadow: 0 1px 1px rgba(0, 0, 0, .05); -} -.panel-body { - padding: 15px; -} -.panel-heading { - padding: 10px 15px; - border-bottom: 1px solid transparent; - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.panel-heading > .dropdown .dropdown-toggle { - color: inherit; -} -.panel-title { - margin-top: 0; - margin-bottom: 0; - font-size: 16px; - color: inherit; -} -.panel-title > a, -.panel-title > small, -.panel-title > .small, -.panel-title > small > a, -.panel-title > .small > a { - color: inherit; -} -.panel-footer { - padding: 10px 15px; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.panel > .list-group, -.panel > .panel-collapse > .list-group { - margin-bottom: 0; -} -.panel > .list-group .list-group-item, -.panel > .panel-collapse > .list-group .list-group-item { - border-width: 1px 0; - border-radius: 0; -} -.panel > .list-group:first-child .list-group-item:first-child, -.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { - border-top: 0; - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.panel > .list-group:last-child .list-group-item:last-child, -.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { - border-bottom: 0; - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child { - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.panel-heading + .list-group .list-group-item:first-child { - border-top-width: 0; -} -.list-group + .panel-footer { - border-top-width: 0; -} -.panel > .table, -.panel > .table-responsive > .table, -.panel > .panel-collapse > .table { - margin-bottom: 0; -} -.panel > .table caption, -.panel > .table-responsive > .table caption, -.panel > .panel-collapse > .table caption { - padding-right: 15px; - padding-left: 15px; -} -.panel > .table:first-child, -.panel > .table-responsive:first-child > .table:first-child { - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.panel > .table:first-child > thead:first-child > tr:first-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, -.panel > .table:first-child > tbody:first-child > tr:first-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, -.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, -.panel > .table:first-child > thead:first-child > tr:first-child th:first-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, -.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { - border-top-left-radius: 3px; -} -.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, -.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, -.panel > .table:first-child > thead:first-child > tr:first-child th:last-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, -.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { - border-top-right-radius: 3px; -} -.panel > .table:last-child, -.panel > .table-responsive:last-child > .table:last-child { - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.panel > .table:last-child > tbody:last-child > tr:last-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, -.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { - border-bottom-left-radius: 3px; -} -.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, -.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { - border-bottom-right-radius: 3px; -} -.panel > .panel-body + .table, -.panel > .panel-body + .table-responsive, -.panel > .table + .panel-body, -.panel > .table-responsive + .panel-body { - border-top: 1px solid #ddd; -} -.panel > .table > tbody:first-child > tr:first-child th, -.panel > .table > tbody:first-child > tr:first-child td { - border-top: 0; -} -.panel > .table-bordered, -.panel > .table-responsive > .table-bordered { - border: 0; -} -.panel > .table-bordered > thead > tr > th:first-child, -.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, -.panel > .table-bordered > tbody > tr > th:first-child, -.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, -.panel > .table-bordered > tfoot > tr > th:first-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, -.panel > .table-bordered > thead > tr > td:first-child, -.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, -.panel > .table-bordered > tbody > tr > td:first-child, -.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, -.panel > .table-bordered > tfoot > tr > td:first-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { - border-left: 0; -} -.panel > .table-bordered > thead > tr > th:last-child, -.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, -.panel > .table-bordered > tbody > tr > th:last-child, -.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, -.panel > .table-bordered > tfoot > tr > th:last-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, -.panel > .table-bordered > thead > tr > td:last-child, -.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, -.panel > .table-bordered > tbody > tr > td:last-child, -.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, -.panel > .table-bordered > tfoot > tr > td:last-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { - border-right: 0; -} -.panel > .table-bordered > thead > tr:first-child > td, -.panel > .table-responsive > .table-bordered > thead > tr:first-child > td, -.panel > .table-bordered > tbody > tr:first-child > td, -.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, -.panel > .table-bordered > thead > tr:first-child > th, -.panel > .table-responsive > .table-bordered > thead > tr:first-child > th, -.panel > .table-bordered > tbody > tr:first-child > th, -.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { - border-bottom: 0; -} -.panel > .table-bordered > tbody > tr:last-child > td, -.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, -.panel > .table-bordered > tfoot > tr:last-child > td, -.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, -.panel > .table-bordered > tbody > tr:last-child > th, -.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, -.panel > .table-bordered > tfoot > tr:last-child > th, -.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { - border-bottom: 0; -} -.panel > .table-responsive { - margin-bottom: 0; - border: 0; -} -.panel-group { - margin-bottom: 20px; -} -.panel-group .panel { - margin-bottom: 0; - border-radius: 4px; -} -.panel-group .panel + .panel { - margin-top: 5px; -} -.panel-group .panel-heading { - border-bottom: 0; -} -.panel-group .panel-heading + .panel-collapse > .panel-body, -.panel-group .panel-heading + .panel-collapse > .list-group { - border-top: 1px solid #ddd; -} -.panel-group .panel-footer { - border-top: 0; -} -.panel-group .panel-footer + .panel-collapse .panel-body { - border-bottom: 1px solid #ddd; -} -.panel-default { - border-color: #ddd; -} -.panel-default > .panel-heading { - color: #333; - background-color: #f5f5f5; - border-color: #ddd; -} -.panel-default > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #ddd; -} -.panel-default > .panel-heading .badge { - color: #f5f5f5; - background-color: #333; -} -.panel-default > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #ddd; -} -.panel-primary { - border-color: #337ab7; -} -.panel-primary > .panel-heading { - color: #fff; - background-color: #337ab7; - border-color: #337ab7; -} -.panel-primary > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #337ab7; -} -.panel-primary > .panel-heading .badge { - color: #337ab7; - background-color: #fff; -} -.panel-primary > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #337ab7; -} -.panel-success { - border-color: #d6e9c6; -} -.panel-success > .panel-heading { - color: #3c763d; - background-color: #dff0d8; - border-color: #d6e9c6; -} -.panel-success > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #d6e9c6; -} -.panel-success > .panel-heading .badge { - color: #dff0d8; - background-color: #3c763d; -} -.panel-success > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #d6e9c6; -} -.panel-info { - border-color: #bce8f1; -} -.panel-info > .panel-heading { - color: #31708f; - background-color: #d9edf7; - border-color: #bce8f1; -} -.panel-info > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #bce8f1; -} -.panel-info > .panel-heading .badge { - color: #d9edf7; - background-color: #31708f; -} -.panel-info > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #bce8f1; -} -.panel-warning { - border-color: #faebcc; -} -.panel-warning > .panel-heading { - color: #8a6d3b; - background-color: #fcf8e3; - border-color: #faebcc; -} -.panel-warning > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #faebcc; -} -.panel-warning > .panel-heading .badge { - color: #fcf8e3; - background-color: #8a6d3b; -} -.panel-warning > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #faebcc; -} -.panel-danger { - border-color: #ebccd1; -} -.panel-danger > .panel-heading { - color: #a94442; - background-color: #f2dede; - border-color: #ebccd1; -} -.panel-danger > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #ebccd1; -} -.panel-danger > .panel-heading .badge { - color: #f2dede; - background-color: #a94442; -} -.panel-danger > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #ebccd1; -} -.embed-responsive { - position: relative; - display: block; - height: 0; - padding: 0; - overflow: hidden; -} -.embed-responsive .embed-responsive-item, -.embed-responsive iframe, -.embed-responsive embed, -.embed-responsive object, -.embed-responsive video { - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - border: 0; -} -.embed-responsive-16by9 { - padding-bottom: 56.25%; -} -.embed-responsive-4by3 { - padding-bottom: 75%; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #f5f5f5; - border: 1px solid #e3e3e3; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, .15); -} -.well-lg { - padding: 24px; - border-radius: 6px; -} -.well-sm { - padding: 9px; - border-radius: 3px; -} -.close { - float: right; - font-size: 21px; - font-weight: bold; - line-height: 1; - color: #000; - text-shadow: 0 1px 0 #fff; - filter: alpha(opacity=20); - opacity: .2; -} -.close:hover, -.close:focus { - color: #000; - text-decoration: none; - cursor: pointer; - filter: alpha(opacity=50); - opacity: .5; -} -button.close { - -webkit-appearance: none; - padding: 0; - cursor: pointer; - background: transparent; - border: 0; -} -.modal-open { - overflow: hidden; -} -.modal { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1050; - display: none; - overflow: hidden; - -webkit-overflow-scrolling: touch; - outline: 0; -} -.modal.fade .modal-dialog { - -webkit-transition: -webkit-transform .3s ease-out; - -o-transition: -o-transform .3s ease-out; - transition: transform .3s ease-out; - -webkit-transform: translate(0, -25%); - -ms-transform: translate(0, -25%); - -o-transform: translate(0, -25%); - transform: translate(0, -25%); -} -.modal.in .modal-dialog { - -webkit-transform: translate(0, 0); - -ms-transform: translate(0, 0); - -o-transform: translate(0, 0); - transform: translate(0, 0); -} -.modal-open .modal { - overflow-x: hidden; - overflow-y: auto; -} -.modal-dialog { - position: relative; - width: auto; - margin: 10px; -} -.modal-content { - position: relative; - background-color: #fff; - -webkit-background-clip: padding-box; - background-clip: padding-box; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, .2); - border-radius: 6px; - outline: 0; - -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5); - box-shadow: 0 3px 9px rgba(0, 0, 0, .5); -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000; -} -.modal-backdrop.fade { - filter: alpha(opacity=0); - opacity: 0; -} -.modal-backdrop.in { - filter: alpha(opacity=50); - opacity: .5; -} -.modal-header { - min-height: 16.42857143px; - padding: 15px; - border-bottom: 1px solid #e5e5e5; -} -.modal-header .close { - margin-top: -2px; -} -.modal-title { - margin: 0; - line-height: 1.42857143; -} -.modal-body { - position: relative; - padding: 15px; -} -.modal-footer { - padding: 15px; - text-align: right; - border-top: 1px solid #e5e5e5; -} -.modal-footer .btn + .btn { - margin-bottom: 0; - margin-left: 5px; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.modal-scrollbar-measure { - position: absolute; - top: -9999px; - width: 50px; - height: 50px; - overflow: scroll; -} -@media (min-width: 768px) { - .modal-dialog { - width: 600px; - margin: 30px auto; - } - .modal-content { - -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); - box-shadow: 0 5px 15px rgba(0, 0, 0, .5); - } - .modal-sm { - width: 300px; - } -} -@media (min-width: 992px) { - .modal-lg { - width: 900px; - } -} -.tooltip { - position: absolute; - z-index: 1070; - display: block; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 12px; - font-style: normal; - font-weight: normal; - line-height: 1.42857143; - text-align: left; - text-align: start; - text-decoration: none; - text-shadow: none; - text-transform: none; - letter-spacing: normal; - word-break: normal; - word-spacing: normal; - word-wrap: normal; - white-space: normal; - filter: alpha(opacity=0); - opacity: 0; - - line-break: auto; -} -.tooltip.in { - filter: alpha(opacity=90); - opacity: .9; -} -.tooltip.top { - padding: 5px 0; - margin-top: -3px; -} -.tooltip.right { - padding: 0 5px; - margin-left: 3px; -} -.tooltip.bottom { - padding: 5px 0; - margin-top: 3px; -} -.tooltip.left { - padding: 0 5px; - margin-left: -3px; -} -.tooltip-inner { - max-width: 200px; - padding: 3px 8px; - color: #fff; - text-align: center; - background-color: #000; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.top-left .tooltip-arrow { - right: 5px; - bottom: 0; - margin-bottom: -5px; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.top-right .tooltip-arrow { - bottom: 0; - left: 5px; - margin-bottom: -5px; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} -.tooltip.bottom-left .tooltip-arrow { - top: 0; - right: 5px; - margin-top: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} -.tooltip.bottom-right .tooltip-arrow { - top: 0; - left: 5px; - margin-top: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1060; - display: none; - max-width: 276px; - padding: 1px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - font-style: normal; - font-weight: normal; - line-height: 1.42857143; - text-align: left; - text-align: start; - text-decoration: none; - text-shadow: none; - text-transform: none; - letter-spacing: normal; - word-break: normal; - word-spacing: normal; - word-wrap: normal; - white-space: normal; - background-color: #fff; - -webkit-background-clip: padding-box; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, .2); - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2); - box-shadow: 0 5px 10px rgba(0, 0, 0, .2); - - line-break: auto; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - padding: 8px 14px; - margin: 0; - font-size: 14px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - border-radius: 5px 5px 0 0; -} -.popover-content { - padding: 9px 14px; -} -.popover > .arrow, -.popover > .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover > .arrow { - border-width: 11px; -} -.popover > .arrow:after { - content: ""; - border-width: 10px; -} -.popover.top > .arrow { - bottom: -11px; - left: 50%; - margin-left: -11px; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, .25); - border-bottom-width: 0; -} -.popover.top > .arrow:after { - bottom: 1px; - margin-left: -10px; - content: " "; - border-top-color: #fff; - border-bottom-width: 0; -} -.popover.right > .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, .25); - border-left-width: 0; -} -.popover.right > .arrow:after { - bottom: -10px; - left: 1px; - content: " "; - border-right-color: #fff; - border-left-width: 0; -} -.popover.bottom > .arrow { - top: -11px; - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, .25); -} -.popover.bottom > .arrow:after { - top: 1px; - margin-left: -10px; - content: " "; - border-top-width: 0; - border-bottom-color: #fff; -} -.popover.left > .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, .25); -} -.popover.left > .arrow:after { - right: 1px; - bottom: -10px; - content: " "; - border-right-width: 0; - border-left-color: #fff; -} -.carousel { - position: relative; -} -.carousel-inner { - position: relative; - width: 100%; - overflow: hidden; -} -.carousel-inner > .item { - position: relative; - display: none; - -webkit-transition: .6s ease-in-out left; - -o-transition: .6s ease-in-out left; - transition: .6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - line-height: 1; -} -@media all and (transform-3d), (-webkit-transform-3d) { - .carousel-inner > .item { - -webkit-transition: -webkit-transform .6s ease-in-out; - -o-transition: -o-transform .6s ease-in-out; - transition: transform .6s ease-in-out; - - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - -webkit-perspective: 1000px; - perspective: 1000px; - } - .carousel-inner > .item.next, - .carousel-inner > .item.active.right { - left: 0; - -webkit-transform: translate3d(100%, 0, 0); - transform: translate3d(100%, 0, 0); - } - .carousel-inner > .item.prev, - .carousel-inner > .item.active.left { - left: 0; - -webkit-transform: translate3d(-100%, 0, 0); - transform: translate3d(-100%, 0, 0); - } - .carousel-inner > .item.next.left, - .carousel-inner > .item.prev.right, - .carousel-inner > .item.active { - left: 0; - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - } -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 15%; - font-size: 20px; - color: #fff; - text-align: center; - text-shadow: 0 1px 2px rgba(0, 0, 0, .6); - filter: alpha(opacity=50); - opacity: .5; -} -.carousel-control.left { - background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); - background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); - background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001))); - background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); - background-repeat: repeat-x; -} -.carousel-control.right { - right: 0; - left: auto; - background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); - background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); - background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5))); - background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); - background-repeat: repeat-x; -} -.carousel-control:hover, -.carousel-control:focus { - color: #fff; - text-decoration: none; - filter: alpha(opacity=90); - outline: 0; - opacity: .9; -} -.carousel-control .icon-prev, -.carousel-control .icon-next, -.carousel-control .glyphicon-chevron-left, -.carousel-control .glyphicon-chevron-right { - position: absolute; - top: 50%; - z-index: 5; - display: inline-block; - margin-top: -10px; -} -.carousel-control .icon-prev, -.carousel-control .glyphicon-chevron-left { - left: 50%; - margin-left: -10px; -} -.carousel-control .icon-next, -.carousel-control .glyphicon-chevron-right { - right: 50%; - margin-right: -10px; -} -.carousel-control .icon-prev, -.carousel-control .icon-next { - width: 20px; - height: 20px; - font-family: serif; - line-height: 1; -} -.carousel-control .icon-prev:before { - content: '\2039'; -} -.carousel-control .icon-next:before { - content: '\203a'; -} -.carousel-indicators { - position: absolute; - bottom: 10px; - left: 50%; - z-index: 15; - width: 60%; - padding-left: 0; - margin-left: -30%; - text-align: center; - list-style: none; -} -.carousel-indicators li { - display: inline-block; - width: 10px; - height: 10px; - margin: 1px; - text-indent: -999px; - cursor: pointer; - background-color: #000 \9; - background-color: rgba(0, 0, 0, 0); - border: 1px solid #fff; - border-radius: 10px; -} -.carousel-indicators .active { - width: 12px; - height: 12px; - margin: 0; - background-color: #fff; -} -.carousel-caption { - position: absolute; - right: 15%; - bottom: 20px; - left: 15%; - z-index: 10; - padding-top: 20px; - padding-bottom: 20px; - color: #fff; - text-align: center; - text-shadow: 0 1px 2px rgba(0, 0, 0, .6); -} -.carousel-caption .btn { - text-shadow: none; -} -@media screen and (min-width: 768px) { - .carousel-control .glyphicon-chevron-left, - .carousel-control .glyphicon-chevron-right, - .carousel-control .icon-prev, - .carousel-control .icon-next { - width: 30px; - height: 30px; - margin-top: -15px; - font-size: 30px; - } - .carousel-control .glyphicon-chevron-left, - .carousel-control .icon-prev { - margin-left: -15px; - } - .carousel-control .glyphicon-chevron-right, - .carousel-control .icon-next { - margin-right: -15px; - } - .carousel-caption { - right: 20%; - left: 20%; - padding-bottom: 30px; - } - .carousel-indicators { - bottom: 20px; - } -} -.clearfix:before, -.clearfix:after, -.dl-horizontal dd:before, -.dl-horizontal dd:after, -.container:before, -.container:after, -.container-fluid:before, -.container-fluid:after, -.row:before, -.row:after, -.form-horizontal .form-group:before, -.form-horizontal .form-group:after, -.btn-toolbar:before, -.btn-toolbar:after, -.btn-group-vertical > .btn-group:before, -.btn-group-vertical > .btn-group:after, -.nav:before, -.nav:after, -.navbar:before, -.navbar:after, -.navbar-header:before, -.navbar-header:after, -.navbar-collapse:before, -.navbar-collapse:after, -.pager:before, -.pager:after, -.panel-body:before, -.panel-body:after, -.modal-footer:before, -.modal-footer:after { - display: table; - content: " "; -} -.clearfix:after, -.dl-horizontal dd:after, -.container:after, -.container-fluid:after, -.row:after, -.form-horizontal .form-group:after, -.btn-toolbar:after, -.btn-group-vertical > .btn-group:after, -.nav:after, -.navbar:after, -.navbar-header:after, -.navbar-collapse:after, -.pager:after, -.panel-body:after, -.modal-footer:after { - clear: both; -} -.center-block { - display: block; - margin-right: auto; - margin-left: auto; -} -.pull-right { - float: right !important; -} -.pull-left { - float: left !important; -} -.hide { - display: none !important; -} -.show { - display: block !important; -} -.invisible { - visibility: hidden; -} -.text-hide { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.hidden { - display: none !important; -} -.affix { - position: fixed; -} -@-ms-viewport { - width: device-width; -} -.visible-xs, -.visible-sm, -.visible-md, -.visible-lg { - display: none !important; -} -.visible-xs-block, -.visible-xs-inline, -.visible-xs-inline-block, -.visible-sm-block, -.visible-sm-inline, -.visible-sm-inline-block, -.visible-md-block, -.visible-md-inline, -.visible-md-inline-block, -.visible-lg-block, -.visible-lg-inline, -.visible-lg-inline-block { - display: none !important; -} -@media (max-width: 767px) { - .visible-xs { - display: block !important; - } - table.visible-xs { - display: table !important; - } - tr.visible-xs { - display: table-row !important; - } - th.visible-xs, - td.visible-xs { - display: table-cell !important; - } -} -@media (max-width: 767px) { - .visible-xs-block { - display: block !important; - } -} -@media (max-width: 767px) { - .visible-xs-inline { - display: inline !important; - } -} -@media (max-width: 767px) { - .visible-xs-inline-block { - display: inline-block !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm { - display: block !important; - } - table.visible-sm { - display: table !important; - } - tr.visible-sm { - display: table-row !important; - } - th.visible-sm, - td.visible-sm { - display: table-cell !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm-block { - display: block !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm-inline { - display: inline !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm-inline-block { - display: inline-block !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md { - display: block !important; - } - table.visible-md { - display: table !important; - } - tr.visible-md { - display: table-row !important; - } - th.visible-md, - td.visible-md { - display: table-cell !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md-block { - display: block !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md-inline { - display: inline !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md-inline-block { - display: inline-block !important; - } -} -@media (min-width: 1200px) { - .visible-lg { - display: block !important; - } - table.visible-lg { - display: table !important; - } - tr.visible-lg { - display: table-row !important; - } - th.visible-lg, - td.visible-lg { - display: table-cell !important; - } -} -@media (min-width: 1200px) { - .visible-lg-block { - display: block !important; - } -} -@media (min-width: 1200px) { - .visible-lg-inline { - display: inline !important; - } -} -@media (min-width: 1200px) { - .visible-lg-inline-block { - display: inline-block !important; - } -} -@media (max-width: 767px) { - .hidden-xs { - display: none !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .hidden-sm { - display: none !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .hidden-md { - display: none !important; - } -} -@media (min-width: 1200px) { - .hidden-lg { - display: none !important; - } -} -.visible-print { - display: none !important; -} -@media print { - .visible-print { - display: block !important; - } - table.visible-print { - display: table !important; - } - tr.visible-print { - display: table-row !important; - } - th.visible-print, - td.visible-print { - display: table-cell !important; - } -} -.visible-print-block { - display: none !important; -} -@media print { - .visible-print-block { - display: block !important; - } -} -.visible-print-inline { - display: none !important; -} -@media print { - .visible-print-inline { - display: inline !important; - } -} -.visible-print-inline-block { - display: none !important; -} -@media print { - .visible-print-inline-block { - display: inline-block !important; - } -} -@media print { - .hidden-print { - display: none !important; - } -} -/*# sourceMappingURL=bootstrap.css.map */ - @charset "UTF-8"; - -/*! - * animate.css -http://daneden.me/animate - * Version - 3.5.2 - * Licensed under the MIT license - http://opensource.org/licenses/MIT - * - * Copyright (c) 2017 Daniel Eden - */ - -.animated { - animation-duration: 1s; - animation-fill-mode: both; -} - -.animated.infinite { - animation-iteration-count: infinite; -} - -.animated.hinge { - animation-duration: 2s; -} - -.animated.flipOutX, -.animated.flipOutY, -.animated.bounceIn, -.animated.bounceOut { - animation-duration: .75s; -} - -@keyframes bounce { - from, 20%, 53%, 80%, to { - animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); - transform: translate3d(0, 0, 0); - } - - 40%, 43% { - animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); - transform: translate3d(0, -30px, 0); - } - - 70% { - animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); - transform: translate3d(0, -15px, 0); - } - - 90% { - transform: translate3d(0, -4px, 0); - } -} - -.bounce { - animation-name: bounce; - transform-origin: center bottom; -} - -@keyframes flash { - from, 50%, to { - opacity: 1; - } - - 25%, 75% { - opacity: 0; - } -} - -.flash { - animation-name: flash; -} - -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@keyframes pulse { - from { - transform: scale3d(1, 1, 1); - } - - 50% { - transform: scale3d(1.05, 1.05, 1.05); - } - - to { - transform: scale3d(1, 1, 1); - } -} - -.pulse { - animation-name: pulse; -} - -@keyframes rubberBand { - from { - transform: scale3d(1, 1, 1); - } - - 30% { - transform: scale3d(1.25, 0.75, 1); - } - - 40% { - transform: scale3d(0.75, 1.25, 1); - } - - 50% { - transform: scale3d(1.15, 0.85, 1); - } - - 65% { - transform: scale3d(.95, 1.05, 1); - } - - 75% { - transform: scale3d(1.05, .95, 1); - } - - to { - transform: scale3d(1, 1, 1); - } -} - -.rubberBand { - animation-name: rubberBand; -} - -@keyframes shake { - from, to { - transform: translate3d(0, 0, 0); - } - - 10%, 30%, 50%, 70%, 90% { - transform: translate3d(-10px, 0, 0); - } - - 20%, 40%, 60%, 80% { - transform: translate3d(10px, 0, 0); - } -} - -.shake { - animation-name: shake; -} - -@keyframes headShake { - 0% { - transform: translateX(0); - } - - 6.5% { - transform: translateX(-6px) rotateY(-9deg); - } - - 18.5% { - transform: translateX(5px) rotateY(7deg); - } - - 31.5% { - transform: translateX(-3px) rotateY(-5deg); - } - - 43.5% { - transform: translateX(2px) rotateY(3deg); - } - - 50% { - transform: translateX(0); - } -} - -.headShake { - animation-timing-function: ease-in-out; - animation-name: headShake; -} - -@keyframes swing { - 20% { - transform: rotate3d(0, 0, 1, 15deg); - } - - 40% { - transform: rotate3d(0, 0, 1, -10deg); - } - - 60% { - transform: rotate3d(0, 0, 1, 5deg); - } - - 80% { - transform: rotate3d(0, 0, 1, -5deg); - } - - to { - transform: rotate3d(0, 0, 1, 0deg); - } -} - -.swing { - transform-origin: top center; - animation-name: swing; -} - -@keyframes tada { - from { - transform: scale3d(1, 1, 1); - } - - 10%, 20% { - transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg); - } - - 30%, 50%, 70%, 90% { - transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); - } - - 40%, 60%, 80% { - transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); - } - - to { - transform: scale3d(1, 1, 1); - } -} - -.tada { - animation-name: tada; -} - -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@keyframes wobble { - from { - transform: none; - } - - 15% { - transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); - } - - 30% { - transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); - } - - 45% { - transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); - } - - 60% { - transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); - } - - 75% { - transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); - } - - to { - transform: none; - } -} - -.wobble { - animation-name: wobble; -} - -@keyframes jello { - from, 11.1%, to { - transform: none; - } - - 22.2% { - transform: skewX(-12.5deg) skewY(-12.5deg); - } - - 33.3% { - transform: skewX(6.25deg) skewY(6.25deg); - } - - 44.4% { - transform: skewX(-3.125deg) skewY(-3.125deg); - } - - 55.5% { - transform: skewX(1.5625deg) skewY(1.5625deg); - } - - 66.6% { - transform: skewX(-0.78125deg) skewY(-0.78125deg); - } - - 77.7% { - transform: skewX(0.390625deg) skewY(0.390625deg); - } - - 88.8% { - transform: skewX(-0.1953125deg) skewY(-0.1953125deg); - } -} - -.jello { - animation-name: jello; - transform-origin: center; -} - -@keyframes bounceIn { - from, 20%, 40%, 60%, 80%, to { - animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); - } - - 0% { - opacity: 0; - transform: scale3d(.3, .3, .3); - } - - 20% { - transform: scale3d(1.1, 1.1, 1.1); - } - - 40% { - transform: scale3d(.9, .9, .9); - } - - 60% { - opacity: 1; - transform: scale3d(1.03, 1.03, 1.03); - } - - 80% { - transform: scale3d(.97, .97, .97); - } - - to { - opacity: 1; - transform: scale3d(1, 1, 1); - } -} - -.bounceIn { - animation-name: bounceIn; -} - -@keyframes bounceInDown { - from, 60%, 75%, 90%, to { - animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); - } - - 0% { - opacity: 0; - transform: translate3d(0, -3000px, 0); - } - - 60% { - opacity: 1; - transform: translate3d(0, 25px, 0); - } - - 75% { - transform: translate3d(0, -10px, 0); - } - - 90% { - transform: translate3d(0, 5px, 0); - } - - to { - transform: none; - } -} - -.bounceInDown { - animation-name: bounceInDown; -} - -@keyframes bounceInLeft { - from, 60%, 75%, 90%, to { - animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); - } - - 0% { - opacity: 0; - transform: translate3d(-3000px, 0, 0); - } - - 60% { - opacity: 1; - transform: translate3d(25px, 0, 0); - } - - 75% { - transform: translate3d(-10px, 0, 0); - } - - 90% { - transform: translate3d(5px, 0, 0); - } - - to { - transform: none; - } -} - -.bounceInLeft { - animation-name: bounceInLeft; -} - -@keyframes bounceInRight { - from, 60%, 75%, 90%, to { - animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); - } - - from { - opacity: 0; - transform: translate3d(3000px, 0, 0); - } - - 60% { - opacity: 1; - transform: translate3d(-25px, 0, 0); - } - - 75% { - transform: translate3d(10px, 0, 0); - } - - 90% { - transform: translate3d(-5px, 0, 0); - } - - to { - transform: none; - } -} - -.bounceInRight { - animation-name: bounceInRight; -} - -@keyframes bounceInUp { - from, 60%, 75%, 90%, to { - animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); - } - - from { - opacity: 0; - transform: translate3d(0, 3000px, 0); - } - - 60% { - opacity: 1; - transform: translate3d(0, -20px, 0); - } - - 75% { - transform: translate3d(0, 10px, 0); - } - - 90% { - transform: translate3d(0, -5px, 0); - } - - to { - transform: translate3d(0, 0, 0); - } -} - -.bounceInUp { - animation-name: bounceInUp; -} - -@keyframes bounceOut { - 20% { - transform: scale3d(.9, .9, .9); - } - - 50%, 55% { - opacity: 1; - transform: scale3d(1.1, 1.1, 1.1); - } - - to { - opacity: 0; - transform: scale3d(.3, .3, .3); - } -} - -.bounceOut { - animation-name: bounceOut; -} - -@keyframes bounceOutDown { - 20% { - transform: translate3d(0, 10px, 0); - } - - 40%, 45% { - opacity: 1; - transform: translate3d(0, -20px, 0); - } - - to { - opacity: 0; - transform: translate3d(0, 2000px, 0); - } -} - -.bounceOutDown { - animation-name: bounceOutDown; -} - -@keyframes bounceOutLeft { - 20% { - opacity: 1; - transform: translate3d(20px, 0, 0); - } - - to { - opacity: 0; - transform: translate3d(-2000px, 0, 0); - } -} - -.bounceOutLeft { - animation-name: bounceOutLeft; -} - -@keyframes bounceOutRight { - 20% { - opacity: 1; - transform: translate3d(-20px, 0, 0); - } - - to { - opacity: 0; - transform: translate3d(2000px, 0, 0); - } -} - -.bounceOutRight { - animation-name: bounceOutRight; -} - -@keyframes bounceOutUp { - 20% { - transform: translate3d(0, -10px, 0); - } - - 40%, 45% { - opacity: 1; - transform: translate3d(0, 20px, 0); - } - - to { - opacity: 0; - transform: translate3d(0, -2000px, 0); - } -} - -.bounceOutUp { - animation-name: bounceOutUp; -} - -@keyframes fadeIn { - from { - opacity: 0; - } - - to { - opacity: 1; - } -} - -.fadeIn { - animation-name: fadeIn; -} - -@keyframes fadeInDown { - from { - opacity: 0; - transform: translate3d(0, -100%, 0); - } - - to { - opacity: 1; - transform: none; - } -} - -.fadeInDown { - animation-name: fadeInDown; -} - -@keyframes fadeInDownBig { - from { - opacity: 0; - transform: translate3d(0, -2000px, 0); - } - - to { - opacity: 1; - transform: none; - } -} - -.fadeInDownBig { - animation-name: fadeInDownBig; -} - -@keyframes fadeInLeft { - from { - opacity: 0; - transform: translate3d(-100%, 0, 0); - } - - to { - opacity: 1; - transform: none; - } -} - -.fadeInLeft { - animation-name: fadeInLeft; -} - -@keyframes fadeInLeftBig { - from { - opacity: 0; - transform: translate3d(-2000px, 0, 0); - } - - to { - opacity: 1; - transform: none; - } -} - -.fadeInLeftBig { - animation-name: fadeInLeftBig; -} - -@keyframes fadeInRight { - from { - opacity: 0; - transform: translate3d(100%, 0, 0); - } - - to { - opacity: 1; - transform: none; - } -} - -.fadeInRight { - animation-name: fadeInRight; -} - -@keyframes fadeInRightBig { - from { - opacity: 0; - transform: translate3d(2000px, 0, 0); - } - - to { - opacity: 1; - transform: none; - } -} - -.fadeInRightBig { - animation-name: fadeInRightBig; -} - -@keyframes fadeInUp { - from { - opacity: 0; - transform: translate3d(0, 100%, 0); - } - - to { - opacity: 1; - transform: none; - } -} - -.fadeInUp { - animation-name: fadeInUp; -} - -@keyframes fadeInUpBig { - from { - opacity: 0; - transform: translate3d(0, 2000px, 0); - } - - to { - opacity: 1; - transform: none; - } -} - -.fadeInUpBig { - animation-name: fadeInUpBig; -} - -@keyframes fadeOut { - from { - opacity: 1; - } - - to { - opacity: 0; - } -} - -.fadeOut { - animation-name: fadeOut; -} - -@keyframes fadeOutDown { - from { - opacity: 1; - } - - to { - opacity: 0; - transform: translate3d(0, 100%, 0); - } -} - -.fadeOutDown { - animation-name: fadeOutDown; -} - -@keyframes fadeOutDownBig { - from { - opacity: 1; - } - - to { - opacity: 0; - transform: translate3d(0, 2000px, 0); - } -} - -.fadeOutDownBig { - animation-name: fadeOutDownBig; -} - -@keyframes fadeOutLeft { - from { - opacity: 1; - } - - to { - opacity: 0; - transform: translate3d(-100%, 0, 0); - } -} - -.fadeOutLeft { - animation-name: fadeOutLeft; -} - -@keyframes fadeOutLeftBig { - from { - opacity: 1; - } - - to { - opacity: 0; - transform: translate3d(-2000px, 0, 0); - } -} - -.fadeOutLeftBig { - animation-name: fadeOutLeftBig; -} - -@keyframes fadeOutRight { - from { - opacity: 1; - } - - to { - opacity: 0; - transform: translate3d(100%, 0, 0); - } -} - -.fadeOutRight { - animation-name: fadeOutRight; -} - -@keyframes fadeOutRightBig { - from { - opacity: 1; - } - - to { - opacity: 0; - transform: translate3d(2000px, 0, 0); - } -} - -.fadeOutRightBig { - animation-name: fadeOutRightBig; -} - -@keyframes fadeOutUp { - from { - opacity: 1; - } - - to { - opacity: 0; - transform: translate3d(0, -100%, 0); - } -} - -.fadeOutUp { - animation-name: fadeOutUp; -} - -@keyframes fadeOutUpBig { - from { - opacity: 1; - } - - to { - opacity: 0; - transform: translate3d(0, -2000px, 0); - } -} - -.fadeOutUpBig { - animation-name: fadeOutUpBig; -} - -@keyframes flip { - from { - transform: perspective(400px) rotate3d(0, 1, 0, -360deg); - animation-timing-function: ease-out; - } - - 40% { - transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); - animation-timing-function: ease-out; - } - - 50% { - transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); - animation-timing-function: ease-in; - } - - 80% { - transform: perspective(400px) scale3d(.95, .95, .95); - animation-timing-function: ease-in; - } - - to { - transform: perspective(400px); - animation-timing-function: ease-in; - } -} - -.animated.flip { - -webkit-backface-visibility: visible; - backface-visibility: visible; - animation-name: flip; -} - -@keyframes flipInX { - from { - transform: perspective(400px) rotate3d(1, 0, 0, 90deg); - animation-timing-function: ease-in; - opacity: 0; - } - - 40% { - transform: perspective(400px) rotate3d(1, 0, 0, -20deg); - animation-timing-function: ease-in; - } - - 60% { - transform: perspective(400px) rotate3d(1, 0, 0, 10deg); - opacity: 1; - } - - 80% { - transform: perspective(400px) rotate3d(1, 0, 0, -5deg); - } - - to { - transform: perspective(400px); - } -} - -.flipInX { - -webkit-backface-visibility: visible !important; - backface-visibility: visible !important; - animation-name: flipInX; -} - -@keyframes flipInY { - from { - transform: perspective(400px) rotate3d(0, 1, 0, 90deg); - animation-timing-function: ease-in; - opacity: 0; - } - - 40% { - transform: perspective(400px) rotate3d(0, 1, 0, -20deg); - animation-timing-function: ease-in; - } - - 60% { - transform: perspective(400px) rotate3d(0, 1, 0, 10deg); - opacity: 1; - } - - 80% { - transform: perspective(400px) rotate3d(0, 1, 0, -5deg); - } - - to { - transform: perspective(400px); - } -} - -.flipInY { - -webkit-backface-visibility: visible !important; - backface-visibility: visible !important; - animation-name: flipInY; -} - -@keyframes flipOutX { - from { - transform: perspective(400px); - } - - 30% { - transform: perspective(400px) rotate3d(1, 0, 0, -20deg); - opacity: 1; - } - - to { - transform: perspective(400px) rotate3d(1, 0, 0, 90deg); - opacity: 0; - } -} - -.flipOutX { - animation-name: flipOutX; - -webkit-backface-visibility: visible !important; - backface-visibility: visible !important; -} - -@keyframes flipOutY { - from { - transform: perspective(400px); - } - - 30% { - transform: perspective(400px) rotate3d(0, 1, 0, -15deg); - opacity: 1; - } - - to { - transform: perspective(400px) rotate3d(0, 1, 0, 90deg); - opacity: 0; - } -} - -.flipOutY { - -webkit-backface-visibility: visible !important; - backface-visibility: visible !important; - animation-name: flipOutY; -} - -@keyframes lightSpeedIn { - from { - transform: translate3d(100%, 0, 0) skewX(-30deg); - opacity: 0; - } - - 60% { - transform: skewX(20deg); - opacity: 1; - } - - 80% { - transform: skewX(-5deg); - opacity: 1; - } - - to { - transform: none; - opacity: 1; - } -} - -.lightSpeedIn { - animation-name: lightSpeedIn; - animation-timing-function: ease-out; -} - -@keyframes lightSpeedOut { - from { - opacity: 1; - } - - to { - transform: translate3d(100%, 0, 0) skewX(30deg); - opacity: 0; - } -} - -.lightSpeedOut { - animation-name: lightSpeedOut; - animation-timing-function: ease-in; -} - -@keyframes rotateIn { - from { - transform-origin: center; - transform: rotate3d(0, 0, 1, -200deg); - opacity: 0; - } - - to { - transform-origin: center; - transform: none; - opacity: 1; - } -} - -.rotateIn { - animation-name: rotateIn; -} - -@keyframes rotateInDownLeft { - from { - transform-origin: left bottom; - transform: rotate3d(0, 0, 1, -45deg); - opacity: 0; - } - - to { - transform-origin: left bottom; - transform: none; - opacity: 1; - } -} - -.rotateInDownLeft { - animation-name: rotateInDownLeft; -} - -@keyframes rotateInDownRight { - from { - transform-origin: right bottom; - transform: rotate3d(0, 0, 1, 45deg); - opacity: 0; - } - - to { - transform-origin: right bottom; - transform: none; - opacity: 1; - } -} - -.rotateInDownRight { - animation-name: rotateInDownRight; -} - -@keyframes rotateInUpLeft { - from { - transform-origin: left bottom; - transform: rotate3d(0, 0, 1, 45deg); - opacity: 0; - } - - to { - transform-origin: left bottom; - transform: none; - opacity: 1; - } -} - -.rotateInUpLeft { - animation-name: rotateInUpLeft; -} - -@keyframes rotateInUpRight { - from { - transform-origin: right bottom; - transform: rotate3d(0, 0, 1, -90deg); - opacity: 0; - } - - to { - transform-origin: right bottom; - transform: none; - opacity: 1; - } -} - -.rotateInUpRight { - animation-name: rotateInUpRight; -} - -@keyframes rotateOut { - from { - transform-origin: center; - opacity: 1; - } - - to { - transform-origin: center; - transform: rotate3d(0, 0, 1, 200deg); - opacity: 0; - } -} - -.rotateOut { - animation-name: rotateOut; -} - -@keyframes rotateOutDownLeft { - from { - transform-origin: left bottom; - opacity: 1; - } - - to { - transform-origin: left bottom; - transform: rotate3d(0, 0, 1, 45deg); - opacity: 0; - } -} - -.rotateOutDownLeft { - animation-name: rotateOutDownLeft; -} - -@keyframes rotateOutDownRight { - from { - transform-origin: right bottom; - opacity: 1; - } - - to { - transform-origin: right bottom; - transform: rotate3d(0, 0, 1, -45deg); - opacity: 0; - } -} - -.rotateOutDownRight { - animation-name: rotateOutDownRight; -} - -@keyframes rotateOutUpLeft { - from { - transform-origin: left bottom; - opacity: 1; - } - - to { - transform-origin: left bottom; - transform: rotate3d(0, 0, 1, -45deg); - opacity: 0; - } -} - -.rotateOutUpLeft { - animation-name: rotateOutUpLeft; -} - -@keyframes rotateOutUpRight { - from { - transform-origin: right bottom; - opacity: 1; - } - - to { - transform-origin: right bottom; - transform: rotate3d(0, 0, 1, 90deg); - opacity: 0; - } -} - -.rotateOutUpRight { - animation-name: rotateOutUpRight; -} - -@keyframes hinge { - 0% { - transform-origin: top left; - animation-timing-function: ease-in-out; - } - - 20%, 60% { - transform: rotate3d(0, 0, 1, 80deg); - transform-origin: top left; - animation-timing-function: ease-in-out; - } - - 40%, 80% { - transform: rotate3d(0, 0, 1, 60deg); - transform-origin: top left; - animation-timing-function: ease-in-out; - opacity: 1; - } - - to { - transform: translate3d(0, 700px, 0); - opacity: 0; - } -} - -.hinge { - animation-name: hinge; -} - -@keyframes jackInTheBox { - from { - opacity: 0; - transform: scale(0.1) rotate(30deg); - transform-origin: center bottom; - } - - 50% { - transform: rotate(-10deg); - } - - 70% { - transform: rotate(3deg); - } - - to { - opacity: 1; - transform: scale(1); - } -} - -.jackInTheBox { - animation-name: jackInTheBox; -} - -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@keyframes rollIn { - from { - opacity: 0; - transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); - } - - to { - opacity: 1; - transform: none; - } -} - -.rollIn { - animation-name: rollIn; -} - -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@keyframes rollOut { - from { - opacity: 1; - } - - to { - opacity: 0; - transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); - } -} - -.rollOut { - animation-name: rollOut; -} - -@keyframes zoomIn { - from { - opacity: 0; - transform: scale3d(.3, .3, .3); - } - - 50% { - opacity: 1; - } -} - -.zoomIn { - animation-name: zoomIn; -} - -@keyframes zoomInDown { - from { - opacity: 0; - transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0); - animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); - } - - 60% { - opacity: 1; - transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0); - animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); - } -} - -.zoomInDown { - animation-name: zoomInDown; -} - -@keyframes zoomInLeft { - from { - opacity: 0; - transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0); - animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); - } - - 60% { - opacity: 1; - transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0); - animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); - } -} - -.zoomInLeft { - animation-name: zoomInLeft; -} - -@keyframes zoomInRight { - from { - opacity: 0; - transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0); - animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); - } - - 60% { - opacity: 1; - transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0); - animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); - } -} - -.zoomInRight { - animation-name: zoomInRight; -} - -@keyframes zoomInUp { - from { - opacity: 0; - transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0); - animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); - } - - 60% { - opacity: 1; - transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0); - animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); - } -} - -.zoomInUp { - animation-name: zoomInUp; -} - -@keyframes zoomOut { - from { - opacity: 1; - } - - 50% { - opacity: 0; - transform: scale3d(.3, .3, .3); - } - - to { - opacity: 0; - } -} - -.zoomOut { - animation-name: zoomOut; -} - -@keyframes zoomOutDown { - 40% { - opacity: 1; - transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0); - animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); - } - - to { - opacity: 0; - transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0); - transform-origin: center bottom; - animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); - } -} - -.zoomOutDown { - animation-name: zoomOutDown; -} - -@keyframes zoomOutLeft { - 40% { - opacity: 1; - transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0); - } - - to { - opacity: 0; - transform: scale(.1) translate3d(-2000px, 0, 0); - transform-origin: left center; - } -} - -.zoomOutLeft { - animation-name: zoomOutLeft; -} - -@keyframes zoomOutRight { - 40% { - opacity: 1; - transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0); - } - - to { - opacity: 0; - transform: scale(.1) translate3d(2000px, 0, 0); - transform-origin: right center; - } -} - -.zoomOutRight { - animation-name: zoomOutRight; -} - -@keyframes zoomOutUp { - 40% { - opacity: 1; - transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0); - animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190); - } - - to { - opacity: 0; - transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0); - transform-origin: center bottom; - animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); - } -} - -.zoomOutUp { - animation-name: zoomOutUp; -} - -@keyframes slideInDown { - from { - transform: translate3d(0, -100%, 0); - visibility: visible; - } - - to { - transform: translate3d(0, 0, 0); - } -} - -.slideInDown { - animation-name: slideInDown; -} - -@keyframes slideInLeft { - from { - transform: translate3d(-100%, 0, 0); - visibility: visible; - } - - to { - transform: translate3d(0, 0, 0); - } -} - -.slideInLeft { - animation-name: slideInLeft; -} - -@keyframes slideInRight { - from { - transform: translate3d(100%, 0, 0); - visibility: visible; - } - - to { - transform: translate3d(0, 0, 0); - } -} - -.slideInRight { - animation-name: slideInRight; -} - -@keyframes slideInUp { - from { - transform: translate3d(0, 100%, 0); - visibility: visible; - } - - to { - transform: translate3d(0, 0, 0); - } -} - -.slideInUp { - animation-name: slideInUp; -} - -@keyframes slideOutDown { - from { - transform: translate3d(0, 0, 0); - } - - to { - visibility: hidden; - transform: translate3d(0, 100%, 0); - } -} - -.slideOutDown { - animation-name: slideOutDown; -} - -@keyframes slideOutLeft { - from { - transform: translate3d(0, 0, 0); - } - - to { - visibility: hidden; - transform: translate3d(-100%, 0, 0); - } -} - -.slideOutLeft { - animation-name: slideOutLeft; -} - -@keyframes slideOutRight { - from { - transform: translate3d(0, 0, 0); - } - - to { - visibility: hidden; - transform: translate3d(100%, 0, 0); - } -} - -.slideOutRight { - animation-name: slideOutRight; -} - -@keyframes slideOutUp { - from { - transform: translate3d(0, 0, 0); - } - - to { - visibility: hidden; - transform: translate3d(0, -100%, 0); - } -} - -.slideOutUp { - animation-name: slideOutUp; -} - -.select2-container { - box-sizing: border-box; - display: inline-block; - margin: 0; - position: relative; - vertical-align: middle; } - .select2-container .select2-selection--single { - box-sizing: border-box; - cursor: pointer; - display: block; - height: 28px; - user-select: none; - -webkit-user-select: none; } - .select2-container .select2-selection--single .select2-selection__rendered { - display: block; - padding-left: 8px; - padding-right: 20px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; } - .select2-container .select2-selection--single .select2-selection__clear { - position: relative; } - .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { - padding-right: 8px; - padding-left: 20px; } - .select2-container .select2-selection--multiple { - box-sizing: border-box; - cursor: pointer; - display: block; - min-height: 32px; - user-select: none; - -webkit-user-select: none; } - .select2-container .select2-selection--multiple .select2-selection__rendered { - display: inline-block; - overflow: hidden; - padding-left: 8px; - text-overflow: ellipsis; - white-space: nowrap; } - .select2-container .select2-search--inline { - float: left; } - .select2-container .select2-search--inline .select2-search__field { - box-sizing: border-box; - border: none; - font-size: 100%; - margin-top: 5px; - padding: 0; } - .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button { - -webkit-appearance: none; } - -.select2-dropdown { - background-color: white; - border: 1px solid #aaa; - border-radius: 4px; - box-sizing: border-box; - display: block; - position: absolute; - left: -100000px; - width: 100%; - z-index: 1051; } - -.select2-results { - display: block; } - -.select2-results__options { - list-style: none; - margin: 0; - padding: 0; } - -.select2-results__option { - padding: 6px; - user-select: none; - -webkit-user-select: none; } - .select2-results__option[aria-selected] { - cursor: pointer; } - -.select2-container--open .select2-dropdown { - left: 0; } - -.select2-container--open .select2-dropdown--above { - border-bottom: none; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; } - -.select2-container--open .select2-dropdown--below { - border-top: none; - border-top-left-radius: 0; - border-top-right-radius: 0; } - -.select2-search--dropdown { - display: block; - padding: 4px; } - .select2-search--dropdown .select2-search__field { - padding: 4px; - width: 100%; - box-sizing: border-box; } - .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button { - -webkit-appearance: none; } - .select2-search--dropdown.select2-search--hide { - display: none; } - -.select2-close-mask { - border: 0; - margin: 0; - padding: 0; - display: block; - position: fixed; - left: 0; - top: 0; - min-height: 100%; - min-width: 100%; - height: auto; - width: auto; - opacity: 0; - z-index: 99; - background-color: #fff; - filter: alpha(opacity=0); } - -.select2-hidden-accessible { - border: 0 !important; - clip: rect(0 0 0 0) !important; - height: 1px !important; - margin: -1px !important; - overflow: hidden !important; - padding: 0 !important; - position: absolute !important; - width: 1px !important; } - -.select2-container--default .select2-selection--single { - background-color: #fff; - border: 1px solid #aaa; - border-radius: 4px; } - .select2-container--default .select2-selection--single .select2-selection__rendered { - color: #444; - line-height: 28px; } - .select2-container--default .select2-selection--single .select2-selection__clear { - cursor: pointer; - float: right; - font-weight: bold; } - .select2-container--default .select2-selection--single .select2-selection__placeholder { - color: #999; } - .select2-container--default .select2-selection--single .select2-selection__arrow { - height: 26px; - position: absolute; - top: 1px; - right: 1px; - width: 20px; } - .select2-container--default .select2-selection--single .select2-selection__arrow b { - border-color: #888 transparent transparent transparent; - border-style: solid; - border-width: 5px 4px 0 4px; - height: 0; - left: 50%; - margin-left: -4px; - margin-top: -2px; - position: absolute; - top: 50%; - width: 0; } - -.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear { - float: left; } - -.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow { - left: 1px; - right: auto; } - -.select2-container--default.select2-container--disabled .select2-selection--single { - background-color: #eee; - cursor: default; } - .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear { - display: none; } - -.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { - border-color: transparent transparent #888 transparent; - border-width: 0 4px 5px 4px; } - -.select2-container--default .select2-selection--multiple { - background-color: white; - border: 1px solid #aaa; - border-radius: 4px; - cursor: text; } - .select2-container--default .select2-selection--multiple .select2-selection__rendered { - box-sizing: border-box; - list-style: none; - margin: 0; - padding: 0 5px; - width: 100%; } - .select2-container--default .select2-selection--multiple .select2-selection__rendered li { - list-style: none; } - .select2-container--default .select2-selection--multiple .select2-selection__placeholder { - color: #999; - margin-top: 5px; - float: left; } - .select2-container--default .select2-selection--multiple .select2-selection__clear { - cursor: pointer; - float: right; - font-weight: bold; - margin-top: 5px; - margin-right: 10px; } - .select2-container--default .select2-selection--multiple .select2-selection__choice { - background-color: #e4e4e4; - border: 1px solid #aaa; - border-radius: 4px; - cursor: default; - float: left; - margin-right: 5px; - margin-top: 5px; - padding: 0 5px; } - .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { - color: #999; - cursor: pointer; - display: inline-block; - font-weight: bold; - margin-right: 2px; } - .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { - color: #333; } - -.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline { - float: right; } - -.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice { - margin-left: 5px; - margin-right: auto; } - -.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { - margin-left: 2px; - margin-right: auto; } - -.select2-container--default.select2-container--focus .select2-selection--multiple { - border: solid black 1px; - outline: 0; } - -.select2-container--default.select2-container--disabled .select2-selection--multiple { - background-color: #eee; - cursor: default; } - -.select2-container--default.select2-container--disabled .select2-selection__choice__remove { - display: none; } - -.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple { - border-top-left-radius: 0; - border-top-right-radius: 0; } - -.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple { - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; } - -.select2-container--default .select2-search--dropdown .select2-search__field { - border: 1px solid #aaa; } - -.select2-container--default .select2-search--inline .select2-search__field { - background: transparent; - border: none; - outline: 0; - box-shadow: none; - -webkit-appearance: textfield; } - -.select2-container--default .select2-results > .select2-results__options { - max-height: 200px; - overflow-y: auto; } - -.select2-container--default .select2-results__option[role=group] { - padding: 0; } - -.select2-container--default .select2-results__option[aria-disabled=true] { - color: #999; } - -.select2-container--default .select2-results__option[aria-selected=true] { - background-color: #ddd; } - -.select2-container--default .select2-results__option .select2-results__option { - padding-left: 1em; } - .select2-container--default .select2-results__option .select2-results__option .select2-results__group { - padding-left: 0; } - .select2-container--default .select2-results__option .select2-results__option .select2-results__option { - margin-left: -1em; - padding-left: 2em; } - .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option { - margin-left: -2em; - padding-left: 3em; } - .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { - margin-left: -3em; - padding-left: 4em; } - .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { - margin-left: -4em; - padding-left: 5em; } - .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { - margin-left: -5em; - padding-left: 6em; } - -.select2-container--default .select2-results__option--highlighted[aria-selected] { - background-color: #5897fb; - color: white; } - -.select2-container--default .select2-results__group { - cursor: default; - display: block; - padding: 6px; } - -.select2-container--classic .select2-selection--single { - background-color: #f7f7f7; - border: 1px solid #aaa; - border-radius: 4px; - outline: 0; - background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%); - background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%); - background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } - .select2-container--classic .select2-selection--single:focus { - border: 1px solid #5897fb; } - .select2-container--classic .select2-selection--single .select2-selection__rendered { - color: #444; - line-height: 28px; } - .select2-container--classic .select2-selection--single .select2-selection__clear { - cursor: pointer; - float: right; - font-weight: bold; - margin-right: 10px; } - .select2-container--classic .select2-selection--single .select2-selection__placeholder { - color: #999; } - .select2-container--classic .select2-selection--single .select2-selection__arrow { - background-color: #ddd; - border: none; - border-left: 1px solid #aaa; - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; - height: 26px; - position: absolute; - top: 1px; - right: 1px; - width: 20px; - background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%); - background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%); - background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); } - .select2-container--classic .select2-selection--single .select2-selection__arrow b { - border-color: #888 transparent transparent transparent; - border-style: solid; - border-width: 5px 4px 0 4px; - height: 0; - left: 50%; - margin-left: -4px; - margin-top: -2px; - position: absolute; - top: 50%; - width: 0; } - -.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear { - float: left; } - -.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow { - border: none; - border-right: 1px solid #aaa; - border-radius: 0; - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; - left: 1px; - right: auto; } - -.select2-container--classic.select2-container--open .select2-selection--single { - border: 1px solid #5897fb; } - .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow { - background: transparent; - border: none; } - .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b { - border-color: transparent transparent #888 transparent; - border-width: 0 4px 5px 4px; } - -.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single { - border-top: none; - border-top-left-radius: 0; - border-top-right-radius: 0; - background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%); - background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%); - background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } - -.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single { - border-bottom: none; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%); - background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%); - background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); } - -.select2-container--classic .select2-selection--multiple { - background-color: white; - border: 1px solid #aaa; - border-radius: 4px; - cursor: text; - outline: 0; } - .select2-container--classic .select2-selection--multiple:focus { - border: 1px solid #5897fb; } - .select2-container--classic .select2-selection--multiple .select2-selection__rendered { - list-style: none; - margin: 0; - padding: 0 5px; } - .select2-container--classic .select2-selection--multiple .select2-selection__clear { - display: none; } - .select2-container--classic .select2-selection--multiple .select2-selection__choice { - background-color: #e4e4e4; - border: 1px solid #aaa; - border-radius: 4px; - cursor: default; - float: left; - margin-right: 5px; - margin-top: 5px; - padding: 0 5px; } - .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove { - color: #888; - cursor: pointer; - display: inline-block; - font-weight: bold; - margin-right: 2px; } - .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover { - color: #555; } - -.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { - float: right; } - -.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { - margin-left: 5px; - margin-right: auto; } - -.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { - margin-left: 2px; - margin-right: auto; } - -.select2-container--classic.select2-container--open .select2-selection--multiple { - border: 1px solid #5897fb; } - -.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple { - border-top: none; - border-top-left-radius: 0; - border-top-right-radius: 0; } - -.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple { - border-bottom: none; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; } - -.select2-container--classic .select2-search--dropdown .select2-search__field { - border: 1px solid #aaa; - outline: 0; } - -.select2-container--classic .select2-search--inline .select2-search__field { - outline: 0; - box-shadow: none; } - -.select2-container--classic .select2-dropdown { - background-color: white; - border: 1px solid transparent; } - -.select2-container--classic .select2-dropdown--above { - border-bottom: none; } - -.select2-container--classic .select2-dropdown--below { - border-top: none; } - -.select2-container--classic .select2-results > .select2-results__options { - max-height: 200px; - overflow-y: auto; } - -.select2-container--classic .select2-results__option[role=group] { - padding: 0; } - -.select2-container--classic .select2-results__option[aria-disabled=true] { - color: grey; } - -.select2-container--classic .select2-results__option--highlighted[aria-selected] { - background-color: #3875d7; - color: white; } - -.select2-container--classic .select2-results__group { - cursor: default; - display: block; - padding: 6px; } - -.select2-container--classic.select2-container--open .select2-dropdown { - border-color: #5897fb; } - -/* required styles */ - -.leaflet-pane, -.leaflet-tile, -.leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-tile-container, -.leaflet-pane > svg, -.leaflet-pane > canvas, -.leaflet-zoom-box, -.leaflet-image-layer, -.leaflet-layer { - position: absolute; - left: 0; - top: 0; - } -.leaflet-container { - overflow: hidden; - } -.leaflet-tile, -.leaflet-marker-icon, -.leaflet-marker-shadow { - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - -webkit-user-drag: none; - } -/* Safari renders non-retina tile on retina better with this, but Chrome is worse */ -.leaflet-safari .leaflet-tile { - image-rendering: -webkit-optimize-contrast; - } -/* hack that prevents hw layers "stretching" when loading new tiles */ -.leaflet-safari .leaflet-tile-container { - width: 1600px; - height: 1600px; - -webkit-transform-origin: 0 0; - } -.leaflet-marker-icon, -.leaflet-marker-shadow { - display: block; - } -/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ -/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ -.leaflet-container .leaflet-overlay-pane svg, -.leaflet-container .leaflet-marker-pane img, -.leaflet-container .leaflet-shadow-pane img, -.leaflet-container .leaflet-tile-pane img, -.leaflet-container img.leaflet-image-layer { - max-width: none !important; - max-height: none !important; - } - -.leaflet-container.leaflet-touch-zoom { - -ms-touch-action: pan-x pan-y; - touch-action: pan-x pan-y; - } -.leaflet-container.leaflet-touch-drag { - -ms-touch-action: pinch-zoom; - /* Fallback for FF which doesn't support pinch-zoom */ - touch-action: none; - touch-action: pinch-zoom; -} -.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { - -ms-touch-action: none; - touch-action: none; -} -.leaflet-container { - -webkit-tap-highlight-color: transparent; -} -.leaflet-container a { - -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4); -} -.leaflet-tile { - filter: inherit; - visibility: hidden; - } -.leaflet-tile-loaded { - visibility: inherit; - } -.leaflet-zoom-box { - width: 0; - height: 0; - -moz-box-sizing: border-box; - box-sizing: border-box; - z-index: 800; - } -/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ -.leaflet-overlay-pane svg { - -moz-user-select: none; - } - -.leaflet-pane { z-index: 400; } - -.leaflet-tile-pane { z-index: 200; } -.leaflet-overlay-pane { z-index: 400; } -.leaflet-shadow-pane { z-index: 500; } -.leaflet-marker-pane { z-index: 600; } -.leaflet-tooltip-pane { z-index: 650; } -.leaflet-popup-pane { z-index: 700; } - -.leaflet-map-pane canvas { z-index: 100; } -.leaflet-map-pane svg { z-index: 200; } - -.leaflet-vml-shape { - width: 1px; - height: 1px; - } -.lvml { - behavior: url(#default#VML); - display: inline-block; - position: absolute; - } - - -/* control positioning */ - -.leaflet-control { - position: relative; - z-index: 800; - pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ - pointer-events: auto; - } -.leaflet-top, -.leaflet-bottom { - position: absolute; - z-index: 1000; - pointer-events: none; - } -.leaflet-top { - top: 0; - } -.leaflet-right { - right: 0; - } -.leaflet-bottom { - bottom: 0; - } -.leaflet-left { - left: 0; - } -.leaflet-control { - float: left; - clear: both; - } -.leaflet-right .leaflet-control { - float: right; - } -.leaflet-top .leaflet-control { - margin-top: 10px; - } -.leaflet-bottom .leaflet-control { - margin-bottom: 10px; - } -.leaflet-left .leaflet-control { - margin-left: 10px; - } -.leaflet-right .leaflet-control { - margin-right: 10px; - } - - -/* zoom and fade animations */ - -.leaflet-fade-anim .leaflet-tile { - will-change: opacity; - } -.leaflet-fade-anim .leaflet-popup { - opacity: 0; - -webkit-transition: opacity 0.2s linear; - -moz-transition: opacity 0.2s linear; - -o-transition: opacity 0.2s linear; - transition: opacity 0.2s linear; - } -.leaflet-fade-anim .leaflet-map-pane .leaflet-popup { - opacity: 1; - } -.leaflet-zoom-animated { - -webkit-transform-origin: 0 0; - -ms-transform-origin: 0 0; - transform-origin: 0 0; - } -.leaflet-zoom-anim .leaflet-zoom-animated { - will-change: transform; - } -.leaflet-zoom-anim .leaflet-zoom-animated { - -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1); - -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1); - -o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1); - transition: transform 0.25s cubic-bezier(0,0,0.25,1); - } -.leaflet-zoom-anim .leaflet-tile, -.leaflet-pan-anim .leaflet-tile { - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; - } - -.leaflet-zoom-anim .leaflet-zoom-hide { - visibility: hidden; - } - - -/* cursors */ - -.leaflet-interactive { - cursor: pointer; - } -.leaflet-grab { - cursor: -webkit-grab; - cursor: -moz-grab; - } -.leaflet-crosshair, -.leaflet-crosshair .leaflet-interactive { - cursor: crosshair; - } -.leaflet-popup-pane, -.leaflet-control { - cursor: auto; - } -.leaflet-dragging .leaflet-grab, -.leaflet-dragging .leaflet-grab .leaflet-interactive, -.leaflet-dragging .leaflet-marker-draggable { - cursor: move; - cursor: -webkit-grabbing; - cursor: -moz-grabbing; - } - -/* marker & overlays interactivity */ -.leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-image-layer, -.leaflet-pane > svg path, -.leaflet-tile-container { - pointer-events: none; - } - -.leaflet-marker-icon.leaflet-interactive, -.leaflet-image-layer.leaflet-interactive, -.leaflet-pane > svg path.leaflet-interactive { - pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ - pointer-events: auto; - } - -/* visual tweaks */ - -.leaflet-container { - background: #ddd; - outline: 0; - } -.leaflet-container a { - color: #0078A8; - } -.leaflet-container a.leaflet-active { - outline: 2px solid orange; - } -.leaflet-zoom-box { - border: 2px dotted #38f; - background: rgba(255,255,255,0.5); - } - - -/* general typography */ -.leaflet-container { - font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif; - } - - -/* general toolbar styles */ - -.leaflet-bar { - box-shadow: 0 1px 5px rgba(0,0,0,0.65); - border-radius: 4px; - } -.leaflet-bar a, -.leaflet-bar a:hover { - background-color: #fff; - border-bottom: 1px solid #ccc; - width: 26px; - height: 26px; - line-height: 26px; - display: block; - text-align: center; - text-decoration: none; - color: black; - } -.leaflet-bar a, -.leaflet-control-layers-toggle { - background-position: 50% 50%; - background-repeat: no-repeat; - display: block; - } -.leaflet-bar a:hover { - background-color: #f4f4f4; - } -.leaflet-bar a:first-child { - border-top-left-radius: 4px; - border-top-right-radius: 4px; - } -.leaflet-bar a:last-child { - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - border-bottom: none; - } -.leaflet-bar a.leaflet-disabled { - cursor: default; - background-color: #f4f4f4; - color: #bbb; - } - -.leaflet-touch .leaflet-bar a { - width: 30px; - height: 30px; - line-height: 30px; - } -.leaflet-touch .leaflet-bar a:first-child { - border-top-left-radius: 2px; - border-top-right-radius: 2px; - } -.leaflet-touch .leaflet-bar a:last-child { - border-bottom-left-radius: 2px; - border-bottom-right-radius: 2px; - } - -/* zoom control */ - -.leaflet-control-zoom-in, -.leaflet-control-zoom-out { - font: bold 18px 'Lucida Console', Monaco, monospace; - text-indent: 1px; - } - -.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { - font-size: 22px; - } - - -/* layers control */ - -.leaflet-control-layers { - box-shadow: 0 1px 5px rgba(0,0,0,0.4); - background: #fff; - border-radius: 5px; - } -.leaflet-control-layers-toggle { - background-image: url(images/layers.png); - width: 36px; - height: 36px; - } -.leaflet-retina .leaflet-control-layers-toggle { - background-image: url(images/layers-2x.png); - background-size: 26px 26px; - } -.leaflet-touch .leaflet-control-layers-toggle { - width: 44px; - height: 44px; - } -.leaflet-control-layers .leaflet-control-layers-list, -.leaflet-control-layers-expanded .leaflet-control-layers-toggle { - display: none; - } -.leaflet-control-layers-expanded .leaflet-control-layers-list { - display: block; - position: relative; - } -.leaflet-control-layers-expanded { - padding: 6px 10px 6px 6px; - color: #333; - background: #fff; - } -.leaflet-control-layers-scrollbar { - overflow-y: scroll; - overflow-x: hidden; - padding-right: 5px; - } -.leaflet-control-layers-selector { - margin-top: 2px; - position: relative; - top: 1px; - } -.leaflet-control-layers label { - display: block; - } -.leaflet-control-layers-separator { - height: 0; - border-top: 1px solid #ddd; - margin: 5px -10px 5px -6px; - } - -/* Default icon URLs */ -.leaflet-default-icon-path { - background-image: url(images/marker-icon.png); - } - - -/* attribution and scale controls */ - -.leaflet-container .leaflet-control-attribution { - background: #fff; - background: rgba(255, 255, 255, 0.7); - margin: 0; - } -.leaflet-control-attribution, -.leaflet-control-scale-line { - padding: 0 5px; - color: #333; - } -.leaflet-control-attribution a { - text-decoration: none; - } -.leaflet-control-attribution a:hover { - text-decoration: underline; - } -.leaflet-container .leaflet-control-attribution, -.leaflet-container .leaflet-control-scale { - font-size: 11px; - } -.leaflet-left .leaflet-control-scale { - margin-left: 5px; - } -.leaflet-bottom .leaflet-control-scale { - margin-bottom: 5px; - } -.leaflet-control-scale-line { - border: 2px solid #777; - border-top: none; - line-height: 1.1; - padding: 2px 5px 1px; - font-size: 11px; - white-space: nowrap; - overflow: hidden; - -moz-box-sizing: border-box; - box-sizing: border-box; - - background: #fff; - background: rgba(255, 255, 255, 0.5); - } -.leaflet-control-scale-line:not(:first-child) { - border-top: 2px solid #777; - border-bottom: none; - margin-top: -2px; - } -.leaflet-control-scale-line:not(:first-child):not(:last-child) { - border-bottom: 2px solid #777; - } - -.leaflet-touch .leaflet-control-attribution, -.leaflet-touch .leaflet-control-layers, -.leaflet-touch .leaflet-bar { - box-shadow: none; - } -.leaflet-touch .leaflet-control-layers, -.leaflet-touch .leaflet-bar { - border: 2px solid rgba(0,0,0,0.2); - background-clip: padding-box; - } - - -/* popup */ - -.leaflet-popup { - position: absolute; - text-align: center; - margin-bottom: 20px; - } -.leaflet-popup-content-wrapper { - padding: 1px; - text-align: left; - border-radius: 12px; - } -.leaflet-popup-content { - margin: 13px 19px; - line-height: 1.4; - } -.leaflet-popup-content p { - margin: 18px 0; - } -.leaflet-popup-tip-container { - width: 40px; - height: 20px; - position: absolute; - left: 50%; - margin-left: -20px; - overflow: hidden; - pointer-events: none; - } -.leaflet-popup-tip { - width: 17px; - height: 17px; - padding: 1px; - - margin: -10px auto 0; - - -webkit-transform: rotate(45deg); - -moz-transform: rotate(45deg); - -ms-transform: rotate(45deg); - -o-transform: rotate(45deg); - transform: rotate(45deg); - } -.leaflet-popup-content-wrapper, -.leaflet-popup-tip { - background: white; - color: #333; - box-shadow: 0 3px 14px rgba(0,0,0,0.4); - } -.leaflet-container a.leaflet-popup-close-button { - position: absolute; - top: 0; - right: 0; - padding: 4px 4px 0 0; - border: none; - text-align: center; - width: 18px; - height: 14px; - font: 16px/14px Tahoma, Verdana, sans-serif; - color: #c3c3c3; - text-decoration: none; - font-weight: bold; - background: transparent; - } -.leaflet-container a.leaflet-popup-close-button:hover { - color: #999; - } -.leaflet-popup-scrolled { - overflow: auto; - border-bottom: 1px solid #ddd; - border-top: 1px solid #ddd; - } - -.leaflet-oldie .leaflet-popup-content-wrapper { - zoom: 1; - } -.leaflet-oldie .leaflet-popup-tip { - width: 24px; - margin: 0 auto; - - -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; - filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); - } -.leaflet-oldie .leaflet-popup-tip-container { - margin-top: -1px; - } - -.leaflet-oldie .leaflet-control-zoom, -.leaflet-oldie .leaflet-control-layers, -.leaflet-oldie .leaflet-popup-content-wrapper, -.leaflet-oldie .leaflet-popup-tip { - border: 1px solid #999; - } - - -/* div icon */ - -.leaflet-div-icon { - background: #fff; - border: 1px solid #666; - } - - -/* Tooltip */ -/* Base styles for the element that has a tooltip */ -.leaflet-tooltip { - position: absolute; - padding: 6px; - background-color: #fff; - border: 1px solid #fff; - border-radius: 3px; - color: #222; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - pointer-events: none; - box-shadow: 0 1px 3px rgba(0,0,0,0.4); - } -.leaflet-tooltip.leaflet-clickable { - cursor: pointer; - pointer-events: auto; - } -.leaflet-tooltip-top:before, -.leaflet-tooltip-bottom:before, -.leaflet-tooltip-left:before, -.leaflet-tooltip-right:before { - position: absolute; - pointer-events: none; - border: 6px solid transparent; - background: transparent; - content: ""; - } - -/* Directions */ - -.leaflet-tooltip-bottom { - margin-top: 6px; -} -.leaflet-tooltip-top { - margin-top: -6px; -} -.leaflet-tooltip-bottom:before, -.leaflet-tooltip-top:before { - left: 50%; - margin-left: -6px; - } -.leaflet-tooltip-top:before { - bottom: 0; - margin-bottom: -12px; - border-top-color: #fff; - } -.leaflet-tooltip-bottom:before { - top: 0; - margin-top: -12px; - margin-left: -6px; - border-bottom-color: #fff; - } -.leaflet-tooltip-left { - margin-left: -6px; -} -.leaflet-tooltip-right { - margin-left: 6px; -} -.leaflet-tooltip-left:before, -.leaflet-tooltip-right:before { - top: 50%; - margin-top: -6px; - } -.leaflet-tooltip-left:before { - right: 0; - margin-right: -12px; - border-left-color: #fff; - } -.leaflet-tooltip-right:before { - left: 0; - margin-left: -12px; - border-right-color: #fff; - } - -/* iCheck plugin Square skin, blue ------------------------------------ */ -.icheckbox_square-blue, -.iradio_square-blue { - display: inline-block; - *display: inline; - vertical-align: middle; - margin: 0; - padding: 0; - width: 22px; - height: 22px; - background: url(blue.png) no-repeat; - border: none; - cursor: pointer; -} - -.icheckbox_square-blue { - background-position: 0 0; -} - .icheckbox_square-blue.hover { - background-position: -24px 0; - } - .icheckbox_square-blue.checked { - background-position: -48px 0; - } - .icheckbox_square-blue.disabled { - background-position: -72px 0; - cursor: default; - } - .icheckbox_square-blue.checked.disabled { - background-position: -96px 0; - } - -.iradio_square-blue { - background-position: -120px 0; -} - .iradio_square-blue.hover { - background-position: -144px 0; - } - .iradio_square-blue.checked { - background-position: -168px 0; - } - .iradio_square-blue.disabled { - background-position: -192px 0; - cursor: default; - } - .iradio_square-blue.checked.disabled { - background-position: -216px 0; - } - -/* HiDPI support */ -@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { - .icheckbox_square-blue, - .iradio_square-blue { - background-image: url(blue@2x.png); - -webkit-background-size: 240px 24px; - background-size: 240px 24px; - } -} -/*! X-editable - v1.5.1 -* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery -* http://github.com/vitalets/x-editable -* Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ -.editableform { - margin-bottom: 0; /* overwrites bootstrap margin */ -} - -.editableform .control-group { - margin-bottom: 0; /* overwrites bootstrap margin */ - white-space: nowrap; /* prevent wrapping buttons on new line */ - line-height: 20px; /* overwriting bootstrap line-height. See #133 */ -} - -/* - BS3 width:1005 for inputs breaks editable form in popup - See: https://github.com/vitalets/x-editable/issues/393 -*/ -.editableform .form-control { - width: auto; -} - -.editable-buttons { - display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */ - vertical-align: top; - margin-left: 7px; - /* inline-block emulation for IE7*/ - zoom: 1; - *display: inline; -} - -.editable-buttons.editable-buttons-bottom { - display: block; - margin-top: 7px; - margin-left: 0; -} - -.editable-input { - vertical-align: top; - display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */ - width: auto; /* bootstrap-responsive has width: 100% that breakes layout */ - white-space: normal; /* reset white-space decalred in parent*/ - /* display-inline emulation for IE7*/ - zoom: 1; - *display: inline; -} - -.editable-buttons .editable-cancel { - margin-left: 7px; -} - -/*for jquery-ui buttons need set height to look more pretty*/ -.editable-buttons button.ui-button-icon-only { - height: 24px; - width: 30px; -} - -.editableform-loading { - background: url('../img/loading.gif') center center no-repeat; - height: 25px; - width: auto; - min-width: 25px; -} - -.editable-inline .editableform-loading { - background-position: left 5px; -} - - .editable-error-block { - max-width: 300px; - margin: 5px 0 0 0; - width: auto; - white-space: normal; -} - -/*add padding for jquery ui*/ -.editable-error-block.ui-state-error { - padding: 3px; -} - -.editable-error { - color: red; -} - -/* ---- For specific types ---- */ - -.editableform .editable-date { - padding: 0; - margin: 0; - float: left; -} - -/* move datepicker icon to center of add-on button. See https://github.com/vitalets/x-editable/issues/183 */ -.editable-inline .add-on .icon-th { - margin-top: 3px; - margin-left: 1px; -} - - -/* checklist vertical alignment */ -.editable-checklist label input[type="checkbox"], -.editable-checklist label span { - vertical-align: middle; - margin: 0; -} - -.editable-checklist label { - white-space: nowrap; -} - -/* set exact width of textarea to fit buttons toolbar */ -.editable-wysihtml5 { - width: 566px; - height: 250px; -} - -/* clear button shown as link in date inputs */ -.editable-clear { - clear: both; - font-size: 0.9em; - text-decoration: none; - text-align: right; -} - -/* IOS-style clear button for text inputs */ -.editable-clear-x { - background: url('../img/clear.png') center center no-repeat; - display: block; - width: 13px; - height: 13px; - position: absolute; - opacity: 0.6; - z-index: 100; - - top: 50%; - right: 6px; - margin-top: -6px; - -} - -.editable-clear-x:hover { - opacity: 1; -} - -.editable-pre-wrapped { - white-space: pre-wrap; -} -.editable-container.editable-popup { - max-width: none !important; /* without this rule poshytip/tooltip does not stretch */ -} - -.editable-container.popover { - width: auto; /* without this rule popover does not stretch */ -} - -.editable-container.editable-inline { - display: inline-block; - vertical-align: middle; - width: auto; - /* inline-block emulation for IE7*/ - zoom: 1; - *display: inline; -} - -.editable-container.ui-widget { - font-size: inherit; /* jqueryui widget font 1.1em too big, overwrite it */ - z-index: 9990; /* should be less than select2 dropdown z-index to close dropdown first when click */ -} -.editable-click, -a.editable-click, -a.editable-click:hover { - text-decoration: none; - border-bottom: dashed 1px #0088cc; -} - -.editable-click.editable-disabled, -a.editable-click.editable-disabled, -a.editable-click.editable-disabled:hover { - color: #585858; - cursor: default; - border-bottom: none; -} - -.editable-empty, .editable-empty:hover, .editable-empty:focus{ - font-style: italic; - color: #DD1144; - /* border-bottom: none; */ - text-decoration: none; -} - -.editable-unsaved { - font-weight: bold; -} - -.editable-unsaved:after { -/* content: '*'*/ -} - -.editable-bg-transition { - -webkit-transition: background-color 1400ms ease-out; - -moz-transition: background-color 1400ms ease-out; - -o-transition: background-color 1400ms ease-out; - -ms-transition: background-color 1400ms ease-out; - transition: background-color 1400ms ease-out; -} - -/*see https://github.com/vitalets/x-editable/issues/139 */ -.form-horizontal .editable -{ - padding-top: 5px; - display:inline-block; -} - - -/*! - * Datepicker for Bootstrap - * - * Copyright 2012 Stefan Petre - * Improvements by Andrew Rowls - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - */ -.datepicker { - padding: 4px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - direction: ltr; - /*.dow { - border-top: 1px solid #ddd !important; - }*/ - -} -.datepicker-inline { - width: 220px; -} -.datepicker.datepicker-rtl { - direction: rtl; -} -.datepicker.datepicker-rtl table tr td span { - float: right; -} -.datepicker-dropdown { - top: 0; - left: 0; -} -.datepicker-dropdown:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 6px; -} -.datepicker-dropdown:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #ffffff; - position: absolute; - top: -6px; - left: 7px; -} -.datepicker > div { - display: none; -} -.datepicker.days div.datepicker-days { - display: block; -} -.datepicker.months div.datepicker-months { - display: block; -} -.datepicker.years div.datepicker-years { - display: block; -} -.datepicker table { - margin: 0; -} -.datepicker td, -.datepicker th { - text-align: center; - width: 20px; - height: 20px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - border: none; -} -.table-striped .datepicker table tr td, -.table-striped .datepicker table tr th { - background-color: transparent; -} -.datepicker table tr td.day:hover { - background: #eeeeee; - cursor: pointer; -} -.datepicker table tr td.old, -.datepicker table tr td.new { - color: #999999; -} -.datepicker table tr td.disabled, -.datepicker table tr td.disabled:hover { - background: none; - color: #999999; - cursor: default; -} -.datepicker table tr td.today, -.datepicker table tr td.today:hover, -.datepicker table tr td.today.disabled, -.datepicker table tr td.today.disabled:hover { - background-color: #fde19a; - background-image: -moz-linear-gradient(top, #fdd49a, #fdf59a); - background-image: -ms-linear-gradient(top, #fdd49a, #fdf59a); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a)); - background-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a); - background-image: -o-linear-gradient(top, #fdd49a, #fdf59a); - background-image: linear-gradient(top, #fdd49a, #fdf59a); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0); - border-color: #fdf59a #fdf59a #fbed50; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - color: #000; -} -.datepicker table tr td.today:hover, -.datepicker table tr td.today:hover:hover, -.datepicker table tr td.today.disabled:hover, -.datepicker table tr td.today.disabled:hover:hover, -.datepicker table tr td.today:active, -.datepicker table tr td.today:hover:active, -.datepicker table tr td.today.disabled:active, -.datepicker table tr td.today.disabled:hover:active, -.datepicker table tr td.today.active, -.datepicker table tr td.today:hover.active, -.datepicker table tr td.today.disabled.active, -.datepicker table tr td.today.disabled:hover.active, -.datepicker table tr td.today.disabled, -.datepicker table tr td.today:hover.disabled, -.datepicker table tr td.today.disabled.disabled, -.datepicker table tr td.today.disabled:hover.disabled, -.datepicker table tr td.today[disabled], -.datepicker table tr td.today:hover[disabled], -.datepicker table tr td.today.disabled[disabled], -.datepicker table tr td.today.disabled:hover[disabled] { - background-color: #fdf59a; -} -.datepicker table tr td.today:active, -.datepicker table tr td.today:hover:active, -.datepicker table tr td.today.disabled:active, -.datepicker table tr td.today.disabled:hover:active, -.datepicker table tr td.today.active, -.datepicker table tr td.today:hover.active, -.datepicker table tr td.today.disabled.active, -.datepicker table tr td.today.disabled:hover.active { - background-color: #fbf069 \9; -} -.datepicker table tr td.today:hover:hover { - color: #000; -} -.datepicker table tr td.today.active:hover { - color: #fff; -} -.datepicker table tr td.range, -.datepicker table tr td.range:hover, -.datepicker table tr td.range.disabled, -.datepicker table tr td.range.disabled:hover { - background: #eeeeee; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.datepicker table tr td.range.today, -.datepicker table tr td.range.today:hover, -.datepicker table tr td.range.today.disabled, -.datepicker table tr td.range.today.disabled:hover { - background-color: #f3d17a; - background-image: -moz-linear-gradient(top, #f3c17a, #f3e97a); - background-image: -ms-linear-gradient(top, #f3c17a, #f3e97a); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a)); - background-image: -webkit-linear-gradient(top, #f3c17a, #f3e97a); - background-image: -o-linear-gradient(top, #f3c17a, #f3e97a); - background-image: linear-gradient(top, #f3c17a, #f3e97a); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0); - border-color: #f3e97a #f3e97a #edde34; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.datepicker table tr td.range.today:hover, -.datepicker table tr td.range.today:hover:hover, -.datepicker table tr td.range.today.disabled:hover, -.datepicker table tr td.range.today.disabled:hover:hover, -.datepicker table tr td.range.today:active, -.datepicker table tr td.range.today:hover:active, -.datepicker table tr td.range.today.disabled:active, -.datepicker table tr td.range.today.disabled:hover:active, -.datepicker table tr td.range.today.active, -.datepicker table tr td.range.today:hover.active, -.datepicker table tr td.range.today.disabled.active, -.datepicker table tr td.range.today.disabled:hover.active, -.datepicker table tr td.range.today.disabled, -.datepicker table tr td.range.today:hover.disabled, -.datepicker table tr td.range.today.disabled.disabled, -.datepicker table tr td.range.today.disabled:hover.disabled, -.datepicker table tr td.range.today[disabled], -.datepicker table tr td.range.today:hover[disabled], -.datepicker table tr td.range.today.disabled[disabled], -.datepicker table tr td.range.today.disabled:hover[disabled] { - background-color: #f3e97a; -} -.datepicker table tr td.range.today:active, -.datepicker table tr td.range.today:hover:active, -.datepicker table tr td.range.today.disabled:active, -.datepicker table tr td.range.today.disabled:hover:active, -.datepicker table tr td.range.today.active, -.datepicker table tr td.range.today:hover.active, -.datepicker table tr td.range.today.disabled.active, -.datepicker table tr td.range.today.disabled:hover.active { - background-color: #efe24b \9; -} -.datepicker table tr td.selected, -.datepicker table tr td.selected:hover, -.datepicker table tr td.selected.disabled, -.datepicker table tr td.selected.disabled:hover { - background-color: #9e9e9e; - background-image: -moz-linear-gradient(top, #b3b3b3, #808080); - background-image: -ms-linear-gradient(top, #b3b3b3, #808080); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080)); - background-image: -webkit-linear-gradient(top, #b3b3b3, #808080); - background-image: -o-linear-gradient(top, #b3b3b3, #808080); - background-image: linear-gradient(top, #b3b3b3, #808080); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0); - border-color: #808080 #808080 #595959; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - color: #fff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.datepicker table tr td.selected:hover, -.datepicker table tr td.selected:hover:hover, -.datepicker table tr td.selected.disabled:hover, -.datepicker table tr td.selected.disabled:hover:hover, -.datepicker table tr td.selected:active, -.datepicker table tr td.selected:hover:active, -.datepicker table tr td.selected.disabled:active, -.datepicker table tr td.selected.disabled:hover:active, -.datepicker table tr td.selected.active, -.datepicker table tr td.selected:hover.active, -.datepicker table tr td.selected.disabled.active, -.datepicker table tr td.selected.disabled:hover.active, -.datepicker table tr td.selected.disabled, -.datepicker table tr td.selected:hover.disabled, -.datepicker table tr td.selected.disabled.disabled, -.datepicker table tr td.selected.disabled:hover.disabled, -.datepicker table tr td.selected[disabled], -.datepicker table tr td.selected:hover[disabled], -.datepicker table tr td.selected.disabled[disabled], -.datepicker table tr td.selected.disabled:hover[disabled] { - background-color: #808080; -} -.datepicker table tr td.selected:active, -.datepicker table tr td.selected:hover:active, -.datepicker table tr td.selected.disabled:active, -.datepicker table tr td.selected.disabled:hover:active, -.datepicker table tr td.selected.active, -.datepicker table tr td.selected:hover.active, -.datepicker table tr td.selected.disabled.active, -.datepicker table tr td.selected.disabled:hover.active { - background-color: #666666 \9; -} -.datepicker table tr td.active, -.datepicker table tr td.active:hover, -.datepicker table tr td.active.disabled, -.datepicker table tr td.active.disabled:hover { - background-color: #006dcc; - background-image: -moz-linear-gradient(top, #0088cc, #0044cc); - background-image: -ms-linear-gradient(top, #0088cc, #0044cc); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); - background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); - background-image: -o-linear-gradient(top, #0088cc, #0044cc); - background-image: linear-gradient(top, #0088cc, #0044cc); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0); - border-color: #0044cc #0044cc #002a80; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - color: #fff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.datepicker table tr td.active:hover, -.datepicker table tr td.active:hover:hover, -.datepicker table tr td.active.disabled:hover, -.datepicker table tr td.active.disabled:hover:hover, -.datepicker table tr td.active:active, -.datepicker table tr td.active:hover:active, -.datepicker table tr td.active.disabled:active, -.datepicker table tr td.active.disabled:hover:active, -.datepicker table tr td.active.active, -.datepicker table tr td.active:hover.active, -.datepicker table tr td.active.disabled.active, -.datepicker table tr td.active.disabled:hover.active, -.datepicker table tr td.active.disabled, -.datepicker table tr td.active:hover.disabled, -.datepicker table tr td.active.disabled.disabled, -.datepicker table tr td.active.disabled:hover.disabled, -.datepicker table tr td.active[disabled], -.datepicker table tr td.active:hover[disabled], -.datepicker table tr td.active.disabled[disabled], -.datepicker table tr td.active.disabled:hover[disabled] { - background-color: #0044cc; -} -.datepicker table tr td.active:active, -.datepicker table tr td.active:hover:active, -.datepicker table tr td.active.disabled:active, -.datepicker table tr td.active.disabled:hover:active, -.datepicker table tr td.active.active, -.datepicker table tr td.active:hover.active, -.datepicker table tr td.active.disabled.active, -.datepicker table tr td.active.disabled:hover.active { - background-color: #003399 \9; -} -.datepicker table tr td span { - display: block; - width: 23%; - height: 54px; - line-height: 54px; - float: left; - margin: 1%; - cursor: pointer; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.datepicker table tr td span:hover { - background: #eeeeee; -} -.datepicker table tr td span.disabled, -.datepicker table tr td span.disabled:hover { - background: none; - color: #999999; - cursor: default; -} -.datepicker table tr td span.active, -.datepicker table tr td span.active:hover, -.datepicker table tr td span.active.disabled, -.datepicker table tr td span.active.disabled:hover { - background-color: #006dcc; - background-image: -moz-linear-gradient(top, #0088cc, #0044cc); - background-image: -ms-linear-gradient(top, #0088cc, #0044cc); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); - background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); - background-image: -o-linear-gradient(top, #0088cc, #0044cc); - background-image: linear-gradient(top, #0088cc, #0044cc); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0); - border-color: #0044cc #0044cc #002a80; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); - color: #fff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.datepicker table tr td span.active:hover, -.datepicker table tr td span.active:hover:hover, -.datepicker table tr td span.active.disabled:hover, -.datepicker table tr td span.active.disabled:hover:hover, -.datepicker table tr td span.active:active, -.datepicker table tr td span.active:hover:active, -.datepicker table tr td span.active.disabled:active, -.datepicker table tr td span.active.disabled:hover:active, -.datepicker table tr td span.active.active, -.datepicker table tr td span.active:hover.active, -.datepicker table tr td span.active.disabled.active, -.datepicker table tr td span.active.disabled:hover.active, -.datepicker table tr td span.active.disabled, -.datepicker table tr td span.active:hover.disabled, -.datepicker table tr td span.active.disabled.disabled, -.datepicker table tr td span.active.disabled:hover.disabled, -.datepicker table tr td span.active[disabled], -.datepicker table tr td span.active:hover[disabled], -.datepicker table tr td span.active.disabled[disabled], -.datepicker table tr td span.active.disabled:hover[disabled] { - background-color: #0044cc; -} -.datepicker table tr td span.active:active, -.datepicker table tr td span.active:hover:active, -.datepicker table tr td span.active.disabled:active, -.datepicker table tr td span.active.disabled:hover:active, -.datepicker table tr td span.active.active, -.datepicker table tr td span.active:hover.active, -.datepicker table tr td span.active.disabled.active, -.datepicker table tr td span.active.disabled:hover.active { - background-color: #003399 \9; -} -.datepicker table tr td span.old, -.datepicker table tr td span.new { - color: #999999; -} -.datepicker th.datepicker-switch { - width: 145px; -} -.datepicker thead tr:first-child th, -.datepicker tfoot tr th { - cursor: pointer; -} -.datepicker thead tr:first-child th:hover, -.datepicker tfoot tr th:hover { - background: #eeeeee; -} -.datepicker .cw { - font-size: 10px; - width: 12px; - padding: 0 2px 0 5px; - vertical-align: middle; -} -.datepicker thead tr:first-child th.cw { - cursor: default; - background-color: transparent; -} -.input-append.date .add-on i, -.input-prepend.date .add-on i { - display: block; - cursor: pointer; - width: 16px; - height: 16px; -} -.input-daterange input { - text-align: center; -} -.input-daterange input:first-child { - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} -.input-daterange input:last-child { - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} -.input-daterange .add-on { - display: inline-block; - width: auto; - min-width: 16px; - height: 18px; - padding: 4px 5px; - font-weight: normal; - line-height: 18px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - vertical-align: middle; - background-color: #eeeeee; - border: 1px solid #ccc; - margin-left: -5px; - margin-right: -5px; -} - /*! ========================================================= @@ -10239,6 +14,7 @@ a.editable-click.editable-disabled:hover { * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +/* brand Colors */ /* $default-color: #B8B8B8 !default; $default-states-color: darken($default-color, 5%) !default; @@ -10270,12 +46,18 @@ $danger-color-opacity: rgba(255, 54, 54, .3) !default; $danger-color-alert: rgba(255, 54, 54, .8) !default; */ /* light colors - used for select dropdown */ +/*$font-size-base: 14px !default; +$font-size-xs: 12px !default; +$font-size-small: 12px !default; +$font-size-medium: 16px !default; +$font-size-large: 18px !default; +$font-size-large-navbar: 20px !default;*/ .ct-blue { stroke: #f96332 !important; } .ct-azure { - stroke: #2CA8FF !important; + stroke: #067ec1 !important; } .ct-green { @@ -10283,7 +65,7 @@ $danger-color-alert: rgba(255, 54, 54, .8) !default; } .ct-orange { - stroke: #F3BB45 !important; + stroke: #FFB236 !important; } .ct-red { @@ -10336,7 +118,7 @@ h6, .h6 { } p { - font-size: 16px; + font-size: 1em; line-height: 1.4em; } @@ -10371,7 +153,7 @@ blockquote small { } .text-info, .text-info:hover { - color: #3091B2; + color: #0688d0; } .text-success, .text-success:hover { @@ -10379,7 +161,7 @@ blockquote small { } .text-warning, .text-warning:hover { - color: #BB992F; + color: #ffa81d; } .text-danger, .text-danger:hover { @@ -10399,7 +181,7 @@ strong { } .icon-info { - color: #2CA8FF; + color: #067ec1; } .icon-success { @@ -10407,7 +189,7 @@ strong { } .icon-warning { - color: #F3BB45; + color: #FFB236; } .icon-danger { @@ -10419,7 +201,7 @@ strong { } .chart-legend .text-info, .chart-legend .text-info:hover { - color: #2CA8FF; + color: #067ec1; } .chart-legend .text-success, .chart-legend .text-success:hover { @@ -10427,7 +209,7 @@ strong { } .chart-legend .text-warning, .chart-legend .text-warning:hover { - color: #F3BB45; + color: #FFB236; } .chart-legend .text-danger, .chart-legend .text-danger:hover { @@ -10454,11 +236,11 @@ body .wrapper { } a { - color: #2CA8FF; + color: #067ec1; } a:hover, a:focus { - color: #3091B2; + color: #0688d0; text-decoration: none; } @@ -10531,6 +313,7 @@ hr { z-index: 1; background-size: cover; background-position: center center; + color: #2c2c2c; } .sidebar .sidebar-wrapper { @@ -10582,7 +365,7 @@ hr { text-transform: uppercase; padding: 4px 0px; display: block; - font-size: 18px; + font-size: 1em; text-align: center; font-weight: 400; line-height: 30px; @@ -10595,7 +378,6 @@ hr { .sidebar .nav li > a, .off-canvas-sidebar .nav li > a { - margin: 10px 0px; padding-left: 25px; padding-right: 25px; opacity: .7; @@ -10698,31 +480,31 @@ hr { .sidebar .logo, .sidebar[data-background-color="white"] .logo, .off-canvas-sidebar .logo, .off-canvas-sidebar[data-background-color="white"] .logo { - border-bottom: 1px solid rgba(47, 45, 42, 0.3); + border-bottom: 1px solid rgba(44, 44, 44, 0.3); } .sidebar .logo p, .sidebar[data-background-color="white"] .logo p, .off-canvas-sidebar .logo p, .off-canvas-sidebar[data-background-color="white"] .logo p { - color: #2f2d2a; + color: #2c2c2c; } .sidebar .logo .simple-text, .sidebar[data-background-color="white"] .logo .simple-text, .off-canvas-sidebar .logo .simple-text, .off-canvas-sidebar[data-background-color="white"] .logo .simple-text { - color: #2f2d2a; + color: #2c2c2c; } .sidebar .nav li:not(.active) > a, .sidebar[data-background-color="white"] .nav li:not(.active) > a, .off-canvas-sidebar .nav li:not(.active) > a, .off-canvas-sidebar[data-background-color="white"] .nav li:not(.active) > a { - color: #2f2d2a; + color: #2c2c2c; } .sidebar .nav .divider, .sidebar[data-background-color="white"] .nav .divider, .off-canvas-sidebar .nav .divider, .off-canvas-sidebar[data-background-color="white"] .nav .divider { - background-color: rgba(47, 45, 42, 0.2); + background-color: rgba(44, 44, 44, 0.2); } .sidebar[data-background-color="black"]:after, .sidebar[data-background-color="black"]:before, @@ -10758,13 +540,13 @@ hr { .sidebar[data-active-color="primary"] .nav li.active > a, .off-canvas-sidebar[data-active-color="primary"] .nav li.active > a { - color: #f96332; + color: #2c2c2c; opacity: 1; } .sidebar[data-active-color="info"] .nav li.active > a, .off-canvas-sidebar[data-active-color="info"] .nav li.active > a { - color: #2CA8FF; + color: #067ec1; opacity: 1; } @@ -10776,7 +558,7 @@ hr { .sidebar[data-active-color="warning"] .nav li.active > a, .off-canvas-sidebar[data-active-color="warning"] .nav li.active > a { - color: #F3BB45; + color: #FFB236; opacity: 1; } @@ -10796,7 +578,7 @@ hr { } .main-panel > .content { - padding: 30px 15px; + padding: 0 2px; min-height: calc(100% - 123px); } @@ -10844,8 +626,8 @@ hr { } .badge-default { - border-color: #2f2d2a; - color: #2f2d2a; + border-color: #2c2c2c; + color: #2c2c2c; } .badge-primary { @@ -10854,8 +636,8 @@ hr { } .badge-info { - border-color: #2CA8FF; - color: #2CA8FF; + border-color: #067ec1; + color: #067ec1; } .badge-success { @@ -10864,8 +646,8 @@ hr { } .badge-warning { - border-color: #F3BB45; - color: #F3BB45; + border-color: #FFB236; + color: #FFB236; } .badge-danger { @@ -10885,8 +667,9 @@ hr { background-color: transparent; font-size: 14px; font-weight: 500; - padding: 7px 18px; - background-color: #2f2d2a; + margin-top: 5px; + padding: 4px 18px; + background-color: #2c2c2c; color: #FFFFFF; -webkit-transition: all 150ms linear; transition: all 150ms linear; @@ -10951,8 +734,8 @@ fieldset[disabled] .navbar .navbar-nav > li > a.btn:active, fieldset[disabled] .navbar .navbar-nav > li > a.btn.active { - background-color: #2f2d2a; - border-color: #2f2d2a; + background-color: #2c2c2c; + border-color: #2c2c2c; } .btn.focus, .btn:focus, @@ -10964,8 +747,8 @@ fieldset[disabled] .btn.btn-simple, .navbar .navbar-nav > li > a.btn.btn-simple { - color: #2f2d2a; - border-color: #2f2d2a; + color: #2c2c2c; + border-color: #2c2c2c; } .btn.btn-simple:hover, .btn.btn-simple:focus, .btn.btn-simple:active, @@ -10979,7 +762,7 @@ fieldset[disabled] .btn.btn-link, .navbar .navbar-nav > li > a.btn.btn-link { - color: #2f2d2a; + color: #2c2c2c; } .btn.btn-link:hover, .btn.btn-link:focus, .btn.btn-link:active, @@ -11139,7 +922,7 @@ fieldset[disabled] .btn-success.active { } .navbar .navbar-nav > li > a.btn-info, .btn-info { - background-color: #2CA8FF; + background-color: #067ec1; color: #FFFFFF; } @@ -11150,7 +933,7 @@ fieldset[disabled] .btn-success.active { .open > .btn-info.dropdown-toggle, .open > .btn-info.dropdown-toggle:focus, .open > .btn-info.dropdown-toggle:hover { - background-color: #3091B2; + background-color: #0688d0; color: #FFFFFF; } @@ -11167,8 +950,8 @@ fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info.focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info.active { - background-color: #2CA8FF; - border-color: #2CA8FF; + background-color: #067ec1; + border-color: #067ec1; } .navbar .navbar-nav > li > a.btn-info.focus, .navbar .navbar-nav > li > a.btn-info:focus, .btn-info.focus, .btn-info:focus { @@ -11177,28 +960,28 @@ fieldset[disabled] .btn-info.active { } .navbar .navbar-nav > li > a.btn-info.btn-simple, .btn-info.btn-simple { - color: #2CA8FF; - border-color: #2CA8FF; + color: #067ec1; + border-color: #067ec1; } .navbar .navbar-nav > li > a.btn-info.btn-simple:hover, .navbar .navbar-nav > li > a.btn-info.btn-simple:focus, .navbar .navbar-nav > li > a.btn-info.btn-simple:active, .btn-info.btn-simple:hover, .btn-info.btn-simple:focus, .btn-info.btn-simple:active { background-color: transparent; - color: #3091B2; - border-color: #3091B2; + color: #0688d0; + border-color: #0688d0; } .navbar .navbar-nav > li > a.btn-info.btn-link, .btn-info.btn-link { - color: #2CA8FF; + color: #067ec1; } .navbar .navbar-nav > li > a.btn-info.btn-link:hover, .navbar .navbar-nav > li > a.btn-info.btn-link:focus, .navbar .navbar-nav > li > a.btn-info.btn-link:active, .btn-info.btn-link:hover, .btn-info.btn-link:focus, .btn-info.btn-link:active { background-color: transparent; - color: #3091B2; + color: #0688d0; text-decoration: none; } .navbar .navbar-nav > li > a.btn-warning, .btn-warning { - background-color: #F3BB45; + background-color: #FFB236; color: #FFFFFF; } @@ -11209,7 +992,7 @@ fieldset[disabled] .btn-info.active { .open > .btn-warning.dropdown-toggle, .open > .btn-warning.dropdown-toggle:focus, .open > .btn-warning.dropdown-toggle:hover { - background-color: #BB992F; + background-color: #ffa81d; color: #FFFFFF; } @@ -11226,8 +1009,8 @@ fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning.focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning.active { - background-color: #F3BB45; - border-color: #F3BB45; + background-color: #FFB236; + border-color: #FFB236; } .navbar .navbar-nav > li > a.btn-warning.focus, .navbar .navbar-nav > li > a.btn-warning:focus, .btn-warning.focus, .btn-warning:focus { @@ -11236,23 +1019,23 @@ fieldset[disabled] .btn-warning.active { } .navbar .navbar-nav > li > a.btn-warning.btn-simple, .btn-warning.btn-simple { - color: #F3BB45; - border-color: #F3BB45; + color: #FFB236; + border-color: #FFB236; } .navbar .navbar-nav > li > a.btn-warning.btn-simple:hover, .navbar .navbar-nav > li > a.btn-warning.btn-simple:focus, .navbar .navbar-nav > li > a.btn-warning.btn-simple:active, .btn-warning.btn-simple:hover, .btn-warning.btn-simple:focus, .btn-warning.btn-simple:active { background-color: transparent; - color: #BB992F; - border-color: #BB992F; + color: #ffa81d; + border-color: #ffa81d; } .navbar .navbar-nav > li > a.btn-warning.btn-link, .btn-warning.btn-link { - color: #F3BB45; + color: #FFB236; } .navbar .navbar-nav > li > a.btn-warning.btn-link:hover, .navbar .navbar-nav > li > a.btn-warning.btn-link:focus, .navbar .navbar-nav > li > a.btn-warning.btn-link:active, .btn-warning.btn-link:hover, .btn-warning.btn-link:focus, .btn-warning.btn-link:active { background-color: transparent; - color: #BB992F; + color: #ffa81d; text-decoration: none; } @@ -11357,7 +1140,7 @@ fieldset[disabled] .btn-neutral.active { } .btn-neutral.btn-info:hover, .btn-neutral.btn-info:focus, .btn-neutral.btn-info:active { - color: #3091B2; + color: #0688d0; } .btn-neutral.btn-warning { @@ -11365,7 +1148,7 @@ fieldset[disabled] .btn-neutral.active { } .btn-neutral.btn-warning:hover, .btn-neutral.btn-warning:focus, .btn-neutral.btn-warning:active { - color: #BB992F; + color: #ffa81d; } .btn-neutral.btn-success { @@ -11418,17 +1201,17 @@ fieldset[disabled] .btn-neutral.active { } .btn-neutral:hover, .btn-neutral:focus { - color: #2f2d2a; + color: #2c2c2c; } .btn-neutral:active, .btn-neutral.active, .open > .btn-neutral.dropdown-toggle { background-color: #FFFFFF; - color: #2f2d2a; + color: #2c2c2c; } .btn-neutral.btn-fill { - color: #2f2d2a; + color: #2c2c2c; } .btn-neutral.btn-fill:hover, .btn-neutral.btn-fill:focus { @@ -11454,7 +1237,7 @@ fieldset[disabled] .btn-neutral.active { } .btn-lg { - font-size: 18px; + font-size: 1em; padding: 11px 30px; font-weight: 400; } @@ -11464,7 +1247,7 @@ fieldset[disabled] .btn-neutral.active { } .btn-sm { - font-size: 12px; + font-size: 0.8571em; padding: 4px 10px; } @@ -11473,7 +1256,7 @@ fieldset[disabled] .btn-neutral.active { } .btn-xs { - font-size: 12px; + font-size: 0.7142em; padding: 2px 5px; } @@ -11500,14 +1283,6 @@ fieldset[disabled] .btn-neutral.active { right: 8px; } -input { - margin-top: 5px; - border: none; - font-size: 1rem; - cursor: text; - font-family: "Avenir-light", "AvenirLTStd-Light", sans-serif !important; -} - .form-control::-moz-placeholder { color: #DDDDDD; opacity: 1; @@ -11534,38 +1309,35 @@ input { .form-control { font-family: "Avenir-light", "AvenirLTStd-Light", sans-serif !important; - display: block; - width: 100%; - /*font-size: $font-size-base;*/ - line-height: 1.846; - color: #666666; - border: medium none; - border-radius: 4px; - border-bottom: 2px solid #0f5b8c; - /*-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);*/ - -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; - padding: 7px 18px; - height: 40px; - /*background-color: $gray-input-bg; - border: medium none; - border-radius: $border-radius-base; - color: $font-color; - font-size: $font-size-base; - transition: background-color 0.3s ease 0s; - @include input-size($padding-base-vertical, $padding-base-horizontal, $height-base); - @include box-shadow(none);*/ + border-radius: 0; + background-color: transparent; + border: 1px solid #E3E3E3; + color: #333333; + line-height: 1em; + font-size: 14px; + font-weight: 400; + -webkit-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out; + transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out; + -webkit-box-shadow: none; + box-shadow: none; +} + +.has-success .form-control { + border-color: #E3E3E3; } .form-control:focus { - background-color: #FFFFFF; + border: 1px solid #067ec1; + -webkit-box-shadow: none; + box-shadow: none; outline: 0 !important; - border-bottom: 2px solid #2196f3; - /*-webkit-box-shadow: inset 0 -2px 0 #2196f3; - box-shadow: inset 0 -2px 0 #2196f3;*/ + color: #333333; +} + +.form-control:focus + .input-group-addon, +.form-control:focus ~ .input-group-addon { + border: 1px solid #067ec1; + background-color: transparent; } .has-success .form-control, @@ -11576,34 +1348,24 @@ input { box-shadow: none; } -.has-success .form-control { - background-color: #fffcf5; - color: #18ce0f; +.has-danger .form-control.form-control-success, .has-danger .form-control.form-control-danger, +.has-success .form-control.form-control-success, +.has-success .form-control.form-control-danger { + background-image: none; } -.has-success .form-control.border-input { - border: 1px solid #18ce0f; -} - -.has-success .form-control:focus { - background-color: #FFFFFF; -} - -.has-error .form-control { - background-color: #fffcf5; +.has-danger .form-control { + background-color: #ffcfcf; + border-color: #ffcfcf; color: #FF3636; } -.has-error .form-control.border-input { - border: 1px solid #FF3636; -} - -.has-error .form-control:focus { - background-color: #FFFFFF; +.has-danger .form-control:focus { + background-color: rgba(222, 222, 222, 0.3); } .form-control + .form-control-feedback { - border-radius: 6px; + border-radius: 0.125rem; font-size: 14px; margin-top: -7px; position: absolute; @@ -11612,20 +1374,178 @@ input { vertical-align: middle; } -.form-control.border-input { - border: 1px solid #CCC5B9; -} - .open .form-control { + border-radius: 0.125rem 0.125rem 0 0; border-bottom-color: transparent; } -.input-lg { - height: 55px; - padding: 11px 30px; - font-size: 17px; - line-height: 1.3333333; - border-radius: 3px; +.form-control + .input-group-addon { + background-color: #FFFFFF; +} + +.has-success:after, +.has-danger:after { + font-family: 'Nucleo Outline'; + content: "\EA22"; + display: inline-block; + position: absolute; + right: 35px; + top: 12px; + color: #18ce0f; + font-size: 11px; +} + +.has-success.input-lg:after, +.has-danger.input-lg:after { + font-size: 13px; + top: 13px; +} + +.has-danger:after { + content: "\EA53"; + color: #FF3636; +} + +.form-group.form-group-no-border.input-sm .input-group-addon, +.input-group.form-group-no-border.input-sm .input-group-addon { + padding: 4px 0 4px 10px; +} + +.form-group.form-group-no-border.input-sm .form-control, +.input-group.form-group-no-border.input-sm .form-control { + padding: 4px 10px; +} + +.form-group.form-group-no-border.input-sm .form-control + .input-group-addon, +.input-group.form-group-no-border.input-sm .form-control + .input-group-addon { + padding: 4px 10px 4px 0; +} + +.form-group.input-sm .form-control, +.input-group.input-sm .form-control { + padding: 3px 9px; +} + +.form-group.input-sm .form-control + .input-group-addon, +.input-group.input-sm .form-control + .input-group-addon { + padding: 3px 9px 3px 0; +} + +.form-group.input-sm .input-group-addon, +.input-group.input-sm .input-group-addon { + padding: 3px 0 4px 9px; +} + +.form-group.input-sm .input-group-addon + .form-control, +.input-group.input-sm .input-group-addon + .form-control { + padding: 4px 9px 4px 7px; +} + +.form-group.form-group-no-border.input-lg .input-group-addon, +.input-group.form-group-no-border.input-lg .input-group-addon { + padding: 11px 0 11px 19px; +} + +.form-group.form-group-no-border.input-lg .form-control, +.input-group.form-group-no-border.input-lg .form-control { + padding: 11px 19px; +} + +.form-group.form-group-no-border.input-lg .form-control + .input-group-addon, +.input-group.form-group-no-border.input-lg .form-control + .input-group-addon { + padding: 11px 19px 11px 0; +} + +.form-group.input-lg .form-control, +.input-group.input-lg .form-control { + padding: 10px 18px; +} + +.form-group.input-lg .form-control + .input-group-addon, +.input-group.input-lg .form-control + .input-group-addon { + padding: 10px 18px 10px 0; +} + +.form-group.input-lg .input-group-addon, +.input-group.input-lg .input-group-addon { + padding: 10px 0 11px 18px; +} + +.form-group.input-lg .input-group-addon + .form-control, +.input-group.input-lg .input-group-addon + .form-control { + padding: 11px 18px 11px 16px; +} + +.form-group.form-group-no-border .form-control, +.input-group.form-group-no-border .form-control { + /*margin-top: 2px;*/ + padding: 4px 10px; +} + +.form-group.form-group-no-border .form-control + .input-group-addon, +.input-group.form-group-no-border .form-control + .input-group-addon { + padding: 4px 10px 4px 0; +} + +.form-group.form-group-no-border .input-group-addon, +.input-group.form-group-no-border .input-group-addon { + padding: 4px 0 4px 10px; +} + +.form-group .form-control, +.input-group .form-control { + margin-top: 2px; + padding: 3px 9px 3px 9px; +} + +.form-group .form-control + .input-group-addon, +.input-group .form-control + .input-group-addon { + padding: 3px 9px 3px 0; +} + +.form-group .input-group-addon, +.input-group .input-group-addon { + padding: 3px 0 3px 9px; +} + +.form-group .input-group-addon + .form-control, +.form-group .input-group-addon ~ .form-control, +.input-group .input-group-addon + .form-control, +.input-group .input-group-addon ~ .form-control { + padding: 3px 10px 4px 7px; +} + +.form-group.form-group-no-border .form-control, +.form-group.form-group-no-border .form-control + .input-group-addon, +.input-group.form-group-no-border .form-control, +.input-group.form-group-no-border .form-control + .input-group-addon { + background-color: rgba(222, 222, 222, 0.3); + border: medium none; +} + +.form-group.form-group-no-border .form-control:focus, .form-group.form-group-no-border .form-control:active, .form-group.form-group-no-border .form-control:active, +.form-group.form-group-no-border .form-control + .input-group-addon:focus, +.form-group.form-group-no-border .form-control + .input-group-addon:active, +.form-group.form-group-no-border .form-control + .input-group-addon:active, +.input-group.form-group-no-border .form-control:focus, +.input-group.form-group-no-border .form-control:active, +.input-group.form-group-no-border .form-control:active, +.input-group.form-group-no-border .form-control + .input-group-addon:focus, +.input-group.form-group-no-border .form-control + .input-group-addon:active, +.input-group.form-group-no-border .form-control + .input-group-addon:active { + border: medium none; + background-color: rgba(222, 222, 222, 0.5); +} + +.form-group.form-group-no-border .form-control:focus + .input-group-addon, +.input-group.form-group-no-border .form-control:focus + .input-group-addon { + background-color: rgba(222, 222, 222, 0.5); +} + +.form-group.form-group-no-border .input-group-addon, +.input-group.form-group-no-border .input-group-addon { + background-color: rgba(222, 222, 222, 0.3); + border: none; } .has-error .form-control-feedback, .has-error .control-label { @@ -11637,17 +1557,21 @@ input { } .input-group-addon { - background-color: #fffcf5; - border: medium none; - border-radius: 4px; + background-color: #FFFFFF; + border: 1px solid #E3E3E3; + border-radius: 0.125rem; + color: #555555; + padding: 6px 0 6px 17px; + -webkit-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out; + transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out; } .has-success .input-group-addon, -.has-error .input-group-addon { +.has-danger .input-group-addon { background-color: #FFFFFF; } -.has-error .form-control:focus + .input-group-addon { +.has-danger .form-control:focus + .input-group-addon { color: #FF3636; } @@ -11655,72 +1579,51 @@ input { color: #18ce0f; } -.form-control:focus + .input-group-addon, -.form-control:focus ~ .input-group-addon { +.input-group-addon + .form-control, +.input-group-addon ~ .form-control { + padding: 6px 18px; + padding-left: 18px; +} + +.input-group-focus .input-group-addon { background-color: #FFFFFF; + border-color: #f96332; } -.border-input .input-group-addon { - border: solid 1px #CCC5B9; +.input-group-focus.form-group-no-border .input-group-addon { + background-color: rgba(222, 222, 222, 0.5); } -.input-group { - margin-bottom: 15px; +.input-group, +.form-group { + margin-bottom: 10px; } .input-group[disabled] .input-group-addon { background-color: #E3E3E3; } -.input-group .form-control:first-child, +/*.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { - border-right: 0 none; + border-right: 0 none; } - .input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child) { - border-left: 0 none; -} - + border-left: 0 none; +}*/ .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { background-color: #E3E3E3; + color: #2c2c2c; cursor: not-allowed; - color: #9A9A9A; - opacity: 1; - filter: alpha(opacity=100); -} - -.form-control[disabled]::-moz-placeholder { - color: #9A9A9A; - opacity: 1; - filter: alpha(opacity=100); -} - -.form-control[disabled]:-moz-placeholder { - color: #DDDDDD; - opacity: 1; - filter: alpha(opacity=100); -} - -.form-control[disabled]::-webkit-input-placeholder { - color: #DDDDDD; - opacity: 1; - filter: alpha(opacity=100); -} - -.form-control[disabled]:-ms-input-placeholder { - color: #DDDDDD; - opacity: 1; - filter: alpha(opacity=100); } .input-group-btn .btn { border-width: 1px; - padding: 9px 18px; + padding: 11px 18px; } .input-group-btn .btn-default:not(.btn-fill) { @@ -11733,8 +1636,29 @@ input { textarea.form-control { max-width: 100%; - padding: 10px 18px; + padding: 10px 10px; resize: none; + background-color: transparent; + border: 1px solid #E3E3E3; + color: #333333; + line-height: 1em; + font-size: 14px; + font-weight: 400; + border-radius: 0; +} + +textarea.form-control:focus, textarea.form-control:active { + -webkit-box-shadow: none; + box-shadow: none; + border: 1px solid #067ec1; + background-color: transparent; +} + +.has-success.form-group .form-control, +.has-success.form-group.form-group-no-border .form-control, +.has-danger.form-group .form-control, +.has-danger.form-group.form-group-no-border .form-control { + padding-right: 40px; } .alert { @@ -11779,7 +1703,7 @@ textarea.form-control { .alert[data-notify="container"] { padding: 10px 10px 10px 20px; - border-radius: 4px; + border-radius: 2px; } .alert.alert-with-icon { @@ -11788,7 +1712,7 @@ textarea.form-control { .alert-info { background-color: #7CE4FE; - color: #3091B2; + color: #0688d0; } .alert-success { @@ -11798,7 +1722,7 @@ textarea.form-control { .alert-warning { background-color: #FFE28C; - color: #BB992F; + color: #ffa81d; } .alert-danger { @@ -12033,7 +1957,7 @@ textarea.form-control { .navbar { border: 0; border-radius: 0; - font-size: 16px; + font-size: 1em; z-index: 3; } @@ -12074,7 +1998,7 @@ textarea.form-control { } .navbar .btn-simple { - font-size: 16px; + font-size: 14px; } .navbar-nav > li > .dropdown-menu { @@ -12103,22 +2027,21 @@ textarea.form-control { .navbar-default .navbar-nav > li > a:not(.btn):focus { background-color: transparent; border-radius: 3px; - color: #2CA8FF; opacity: 1; filter: alpha(opacity=100); } .navbar-default .navbar-nav > .dropdown > a:hover .caret, .navbar-default .navbar-nav > .dropdown > a:focus .caret { - border-bottom-color: #2CA8FF; - border-top-color: #2CA8FF; + border-bottom-color: #067ec1; + border-top-color: #067ec1; } .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus { background-color: transparent; - color: #2CA8FF; + color: #067ec1; } .navbar-default .navbar-nav .navbar-toggle:hover, .navbar-default .navbar-nav .navbar-toggle:focus { @@ -12126,8 +2049,8 @@ textarea.form-control { } .navbar-default:not(.navbar-transparent) .btn-default:hover { - color: #2CA8FF; - border-color: #2CA8FF; + color: #067ec1; + border-color: #067ec1; } .navbar-default:not(.navbar-transparent) .btn-neutral, @@ -12147,7 +2070,7 @@ textarea.form-control { padding: 0; background-color: transparent; height: 22px; - font-size: 16px; + font-size: 1em; line-height: 1.4em; color: #E3E3E3; } @@ -12367,7 +2290,7 @@ textarea.form-control { .dropdown-menu .dropdown-header { color: #9A9A9A; - font-size: 12px; + font-size: 0.8571em; padding: 10px 15px; } @@ -12425,7 +2348,7 @@ textarea.form-control { .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { - background-color: #2f2d2a; + background-color: #2c2c2c; color: rgba(182, 182, 182, 0.7); opacity: 1; text-decoration: none; @@ -12438,7 +2361,7 @@ textarea.form-control { .dropdown-menu.dropdown-info > li > a:hover, .dropdown-menu.dropdown-info > li > a:focus { - background-color: #2CA8FF; + background-color: #067ec1; } .dropdown-menu.dropdown-success > li > a:hover, @@ -12448,7 +2371,7 @@ textarea.form-control { .dropdown-menu.dropdown-warning > li > a:hover, .dropdown-menu.dropdown-warning > li > a:focus { - background-color: #F3BB45; + background-color: #FFB236; } .dropdown-menu.dropdown-danger > li > a:hover, @@ -12466,11 +2389,11 @@ textarea.form-control { .card { border: 0; - border-radius: 6px; + border-radius: 0.125rem; -webkit-box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5); box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5); background-color: #FFFFFF; - color: #252422; + color: #2c2c2c; margin-bottom: 20px; position: relative; z-index: 1; @@ -12515,7 +2438,7 @@ textarea.form-control { } .card .description { - font-size: 16px; + font-size: 1em; color: #4b4743; } @@ -12526,7 +2449,7 @@ textarea.form-control { } .card h6 { - font-size: 12px; + font-size: 0.8571em; margin: 0; } @@ -12534,23 +2457,26 @@ textarea.form-control { .card label { font-size: 14px; font-weight: 400; - color: #9A9A9A; + text-transform: capitalize; margin-bottom: 0px; } .card .category i, .card label i { - font-size: 16px; + font-size: 1em; } .card label { font-size: 15px; margin-bottom: 5px; + text-transform: capitalize; + display: inline-block; + vertical-align: middle; } .card .title { margin: 0; - color: #252422; + color: #2c2c2c; font-weight: 300; } @@ -12592,7 +2518,7 @@ textarea.form-control { } .card .author { - font-size: 12px; + font-size: 0.8571em; font-weight: 600; text-transform: uppercase; } @@ -12627,7 +2553,7 @@ textarea.form-control { } .card .alert { - border-radius: 4px; + border-radius: 2px; position: relative; } @@ -12758,7 +2684,7 @@ fieldset[disabled] .card .btn-success.active { } .card .btn-info { - background-color: #2CA8FF; + background-color: #067ec1; color: #FFFFFF; } @@ -12766,7 +2692,7 @@ fieldset[disabled] .card .btn-success.active { .open > .card .btn-info.dropdown-toggle, .open > .card .btn-info.dropdown-toggle:focus, .open > .card .btn-info.dropdown-toggle:hover { - background-color: #3091B2; + background-color: #0688d0; color: #FFFFFF; } @@ -12777,8 +2703,8 @@ fieldset[disabled] .card .btn-info:focus, fieldset[disabled] .card .btn-info.focus, fieldset[disabled] .card .btn-info:active, fieldset[disabled] .card .btn-info.active { - background-color: #2CA8FF; - border-color: #2CA8FF; + background-color: #067ec1; + border-color: #067ec1; } .card .btn-info.focus, .card .btn-info:focus { @@ -12787,28 +2713,28 @@ fieldset[disabled] .card .btn-info.active { } .card .btn-info.btn-simple { - color: #2CA8FF; - border-color: #2CA8FF; + color: #067ec1; + border-color: #067ec1; } .card .btn-info.btn-simple:hover, .card .btn-info.btn-simple:focus, .card .btn-info.btn-simple:active { background-color: transparent; - color: #3091B2; - border-color: #3091B2; + color: #0688d0; + border-color: #0688d0; } .card .btn-info.btn-link { - color: #2CA8FF; + color: #067ec1; } .card .btn-info.btn-link:hover, .card .btn-info.btn-link:focus, .card .btn-info.btn-link:active { background-color: transparent; - color: #3091B2; + color: #0688d0; text-decoration: none; } .card .btn-warning { - background-color: #F3BB45; + background-color: #FFB236; color: #FFFFFF; } @@ -12816,7 +2742,7 @@ fieldset[disabled] .card .btn-info.active { .open > .card .btn-warning.dropdown-toggle, .open > .card .btn-warning.dropdown-toggle:focus, .open > .card .btn-warning.dropdown-toggle:hover { - background-color: #BB992F; + background-color: #ffa81d; color: #FFFFFF; } @@ -12827,8 +2753,8 @@ fieldset[disabled] .card .btn-warning:focus, fieldset[disabled] .card .btn-warning.focus, fieldset[disabled] .card .btn-warning:active, fieldset[disabled] .card .btn-warning.active { - background-color: #F3BB45; - border-color: #F3BB45; + background-color: #FFB236; + border-color: #FFB236; } .card .btn-warning.focus, .card .btn-warning:focus { @@ -12837,23 +2763,23 @@ fieldset[disabled] .card .btn-warning.active { } .card .btn-warning.btn-simple { - color: #F3BB45; - border-color: #F3BB45; + color: #FFB236; + border-color: #FFB236; } .card .btn-warning.btn-simple:hover, .card .btn-warning.btn-simple:focus, .card .btn-warning.btn-simple:active { background-color: transparent; - color: #BB992F; - border-color: #BB992F; + color: #ffa81d; + border-color: #ffa81d; } .card .btn-warning.btn-link { - color: #F3BB45; + color: #FFB236; } .card .btn-warning.btn-link:hover, .card .btn-warning.btn-link:focus, .card .btn-warning.btn-link:active { background-color: transparent; - color: #BB992F; + color: #ffa81d; text-decoration: none; } @@ -12949,7 +2875,7 @@ fieldset[disabled] .card .btn-neutral.active { } .card .btn-neutral.btn-info:hover, .card .btn-neutral.btn-info:focus, .card .btn-neutral.btn-info:active { - color: #3091B2; + color: #0688d0; } .card .btn-neutral.btn-warning { @@ -12957,7 +2883,7 @@ fieldset[disabled] .card .btn-neutral.active { } .card .btn-neutral.btn-warning:hover, .card .btn-neutral.btn-warning:focus, .card .btn-neutral.btn-warning:active { - color: #BB992F; + color: #ffa81d; } .card .btn-neutral.btn-success { @@ -13260,19 +3186,19 @@ fieldset[disabled] .card .btn-neutral.active { } .ct-series-a .ct-point, .ct-series-a .ct-line, .ct-series-a .ct-bar, .ct-series-a .ct-slice-donut { - stroke: #2CA8FF; + stroke: #067ec1; } .ct-series-a .ct-slice-pie, .ct-series-a .ct-area { - fill: #2CA8FF; + fill: #067ec1; } .ct-series-b .ct-point, .ct-series-b .ct-line, .ct-series-b .ct-bar, .ct-series-b .ct-slice-donut { - stroke: #F3BB45; + stroke: #FFB236; } .ct-series-b .ct-slice-pie, .ct-series-b .ct-area { - fill: #F3BB45; + fill: #FFB236; } .ct-series-c .ct-point, .ct-series-c .ct-line, .ct-series-c .ct-bar, .ct-series-c .ct-slice-donut { @@ -13300,11 +3226,11 @@ fieldset[disabled] .card .btn-neutral.active { } .ct-series-f .ct-point, .ct-series-f .ct-line, .ct-series-f .ct-bar, .ct-series-f .ct-slice-donut { - stroke: rgba(44, 168, 255, 0.8); + stroke: rgba(6, 126, 193, 0.8); } .ct-series-f .ct-slice-pie, .ct-series-f .ct-area { - fill: rgba(44, 168, 255, 0.8); + fill: rgba(6, 126, 193, 0.8); } .ct-series-g .ct-point, .ct-series-g .ct-line, .ct-series-g .ct-bar, .ct-series-g .ct-slice-donut { @@ -13316,11 +3242,11 @@ fieldset[disabled] .card .btn-neutral.active { } .ct-series-h .ct-point, .ct-series-h .ct-line, .ct-series-h .ct-bar, .ct-series-h .ct-slice-donut { - stroke: rgba(243, 187, 69, 0.8); + stroke: rgba(255, 178, 54, 0.8); } .ct-series-h .ct-slice-pie, .ct-series-h .ct-area { - fill: rgba(243, 187, 69, 0.8); + fill: rgba(255, 178, 54, 0.8); } .ct-series-i .ct-point, .ct-series-i .ct-line, .ct-series-i .ct-bar, .ct-series-i .ct-slice-donut { @@ -13340,11 +3266,11 @@ fieldset[disabled] .card .btn-neutral.active { } .ct-series-k .ct-point, .ct-series-k .ct-line, .ct-series-k .ct-bar, .ct-series-k .ct-slice-donut { - stroke: rgba(44, 168, 255, 0.6); + stroke: rgba(6, 126, 193, 0.6); } .ct-series-k .ct-slice-pie, .ct-series-k .ct-area { - fill: rgba(44, 168, 255, 0.6); + fill: rgba(6, 126, 193, 0.6); } .ct-series-l .ct-point, .ct-series-l .ct-line, .ct-series-l .ct-bar, .ct-series-l .ct-slice-donut { @@ -13356,11 +3282,11 @@ fieldset[disabled] .card .btn-neutral.active { } .ct-series-m .ct-point, .ct-series-m .ct-line, .ct-series-m .ct-bar, .ct-series-m .ct-slice-donut { - stroke: rgba(243, 187, 69, 0.6); + stroke: rgba(255, 178, 54, 0.6); } .ct-series-m .ct-slice-pie, .ct-series-m .ct-area { - fill: rgba(243, 187, 69, 0.6); + fill: rgba(255, 178, 54, 0.6); } .ct-series-n .ct-point, .ct-series-n .ct-line, .ct-series-n .ct-bar, .ct-series-n .ct-slice-donut { @@ -14004,10 +3930,10 @@ fieldset[disabled] .card .btn-neutral.active { } .off-canvas-sidebar .nav > li > a { margin: 0px 0px; - color: #2f2d2a; + color: #2c2c2c; text-transform: uppercase; font-weight: 600; - font-size: 12px; + font-size: 0.8571em; line-height: 1.4em; padding: 10px 0; } @@ -14410,378 +4336,1024 @@ fieldset[disabled] .card .btn-neutral.active { } } -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9wdWJsaWMvYXNzZXRzL2FkbWluL3ZlbmRvci9zYXNzL3BhcGVyLWRhc2hib2FyZC5zY3NzIiwid2VicGFjazovLy8uL3B1YmxpYy9hc3NldHMvYWRtaW4vdmVuZG9yL3Nhc3MvcGFwZXIvX3ZhcmlhYmxlcy5zY3NzIiwid2VicGFjazovLy8uL3B1YmxpYy9hc3NldHMvYWRtaW4vdmVuZG9yL3Nhc3MvcGFwZXIvbWl4aW5zL19jaGFydGlzdC5zY3NzIiwid2VicGFjazovLy8uL3B1YmxpYy9hc3NldHMvYWRtaW4vdmVuZG9yL3Nhc3MvcGFwZXIvX3R5cG9ncmFwaHkuc2NzcyIsIndlYnBhY2s6Ly8vLi9wdWJsaWMvYXNzZXRzL2FkbWluL3ZlbmRvci9zYXNzL3BhcGVyL19taXNjLnNjc3MiLCJ3ZWJwYWNrOi8vLy4vcHVibGljL2Fzc2V0cy9hZG1pbi92ZW5kb3Ivc2Fzcy9wYXBlci9taXhpbnMvX3ZlbmRvci1wcmVmaXhlcy5zY3NzIiwid2VicGFjazovLy8uL3B1YmxpYy9hc3NldHMvYWRtaW4vdmVuZG9yL3Nhc3MvcGFwZXIvX3NpZGViYXItYW5kLW1haW4tcGFuZWwuc2NzcyIsIndlYnBhY2s6Ly8vLi9wdWJsaWMvYXNzZXRzL2FkbWluL3ZlbmRvci9zYXNzL3BhcGVyL21peGlucy9fc2lkZWJhci5zY3NzIiwid2VicGFjazovLy8uL3B1YmxpYy9hc3NldHMvYWRtaW4vdmVuZG9yL3Nhc3MvcGFwZXIvX2JhZGdlcy5zY3NzIiwid2VicGFjazovLy8uL3B1YmxpYy9h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jQ3NDMgIWRlZmF1bHQ7XG4kZmlsbC1mb250LWNvbG9yOiByZ2JhKDE4MiwgMTgyLCAxODIsIDAuNyk7XG5cbiRub25lOiAgICAgICAgICAgICAgICAgICAgICAgMCAgICFkZWZhdWx0O1xuJGJvcmRlci10aGluOiAgICAgICAgICAgICAgICAxcHggIWRlZmF1bHQ7XG4kYm9yZGVyLXRoaWNrOiAgICAgICAgICAgICAgIDJweCAhZGVmYXVsdDtcblxuJHdoaXRlLWNvbG9yOiAgICAgICAgICAgICAgICAjRkZGRkZGICFkZWZhdWx0O1xuJHdoaXRlLWJnOiAgICAgICAgICAgICAgICAgICAjRkZGRkZGICFkZWZhdWx0O1xuXG4kc21va2UtYmc6ICAgICAgICAgICAgICAgICAgICNGNUY1RjUgIWRlZmF1bHQ7XG4kcGFsZS1iZzogICAgICAgICAgICAgICAgICAgICNGRkZDRjUgIWRlZmF1bHQ7XG4kbWVkaXVtLXBhbGUtYmc6ICAgICAgICAgICAgICNGMUVBRTAgIWRlZmF1bHQ7XG5cbiR0YWJsZS1saW5lLWNvbG9yOiAgICAgICAgICAgI0NDQzVCOSAhZGVmYXVsdDtcbiRtdXRlZC1jb2xvcjogICAgICAgICAgICAgICAgI2E0OWU5MyAhZGVmYXVsdDtcblxuJGJsYWNrLWJnOiAgICAgICAgICAgICAgICAgICByZ2JhKDMwLDMwLDMwLC45NykgIWRlZmF1bHQ7XG5cbiRibGFjay1jb2xvcjogICAgICAgICAgICAgICAgIzMzMzMzMyAhZGVmYXVsdDtcbiRibGFjay1ocjogICAgICAgICAgICAgICAgICAgIzQ0NDQ0NCAhZGVmYXVsdDtcblxuJHdoaXRlLWJhY2tncm91bmQtY29sb3I6ICAgICAgICAjRkZGRkZGICFkZWZhdWx0O1xuLy8kYmxhY2stYmFja2dyb3VuZC1jb2xvcjogICAgICAgICMyMTIxMjAgIWRlZmF1bHQ7XG4vLyRibGFjay1iYWNrZ3JvdW5kLWNvbG9yOiAgICAgICAgIzFhMjkzMiAh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LW1pbmk6IDM2cHggIWRlZmF1bHQ7XG4kYnRuLWljb24tZm9udC1zaXplLW1pbmk6IDE0cHggIWRlZmF1bHQ7XG5cbiRmb250LXNpemUtYmFzZTogICAgICAgICAgICAgICAxNHB4ICFkZWZhdWx0O1xuJGZvbnQtc2l6ZS14czogICAgICAgICAgICAgICAgIDEycHggIWRlZmF1bHQ7XG4kZm9udC1zaXplLXNtYWxsOiAgICAgICAgICAgICAgMTJweCAhZGVmYXVsdDtcbiRmb250LXNpemUtbWVkaXVtOiAgICAgICAgICAgICAxNnB4ICFkZWZhdWx0O1xuJGZvbnQtc2l6ZS1sYXJnZTogICAgICAgICAgICAgIDE4cHggIWRlZmF1bHQ7XG4kZm9udC1zaXplLWxhcmdlLW5hdmJhcjogICAgICAgMjBweCAhZGVmYXVsdDtcblxuJGZvbnQtc2l6ZS1oMTogICAgICAgICAgICAgICAgIDMuMmVtICAgIWRlZmF1bHQ7XG4kZm9udC1zaXplLWgyOiAgICAgICAgICAgICAgICAgMi42ZW0gICAgICFkZWZhdWx0O1xuJGZvbnQtc2l6ZS1oMzogICAgICAgICAgICAgICAgIDEuODI1ZW0gIWRlZmF1bHQ7XG4kZm9udC1zaXplLWg0OiAgICAgICAgICAgICAgICAgMS41ZW0gICAhZGVmYXVsdDtcbiRmb250LXNpemUtaDU6ICAgICAgICAgICAgICAgICAxLjI1ZW0gICFkZWZhdWx0O1xuJGZvbnQtc2l6ZS1oNjogICAgICAgICAgICAgICAgIDAuOWVtICAgIWRlZmF1bHQ7XG4kZm9udC1wYXJhZ3JhcGg6ICAgICAgICAgICAgICAgMTZweCAgICAhZGVmYXVsdDtcbiRmb250LXNpemUtbmF2YmFyOiAgICAgICAgICAgICAxNnB4ICAgICFkZWZhdWx0O1xuJGZvbnQtc2l6ZS1zbWFsbDogICAgICAgICAgICAgIDEycHggICAgIWRlZmF1bHQ7XG4kZm9udC1zaXplLW1pbmk6IDAuNzE0MmVtICFkZWZhdWx0O1xuXG4kZm9udC13Z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HBhZGRpbmc6IDE4cHggMHB4O1xuICAgICAgICBtYXJnaW46IDAgMjBweDtcblxuICAgICAgICBwe1xuICAgICAgICAgICAgZmxvYXQ6IGxlZnQ7XG4gICAgICAgICAgICBmb250LXNpemU6IDIwcHg7XG4gICAgICAgICAgICBtYXJnaW46IDEwcHggMTBweDtcbiAgICAgICAgICAgIGxpbmUtaGVpZ2h0OiAyMHB4O1xuICAgICAgICB9XG5cbiAgICAgICAgLnNpbXBsZS10ZXh0e1xuICAgICAgICAgICAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgICAgICAgICAgIHBhZGRpbmc6ICRwYWRkaW5nLXNtYWxsLXZlcnRpY2FsICRwYWRkaW5nLXplcm87XG4gICAgICAgICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogJGZvbnQtc2l6ZS1sYXJnZTtcbiAgICAgICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiAkZm9udC13ZWlnaHQtbm9ybWFsO1xuICAgICAgICAgICAgbGluZS1oZWlnaHQ6IDMwcHg7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAubmF2e1xuICAgICAgICBtYXJnaW4tdG9wOiAyMHB4O1xuXG4gICAgICAgIGxpe1xuICAgICAgICAgICAgPiBhe1xuICAgICAgICAgICAgICAgIG1hcmdpbjogMTBweCAwcHg7XG4gICAgICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAyNXB4O1xuICAgICAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IDI1cHg7XG5cbiAgICAgICAgICAgICAgICBvcGFjaXR5OiAuNztcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpob3ZlciA+IGF7XG4gICAgICAgICAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJi5hY3RpdmUgPiBhe1xuICAgICAgICAgICAgICAgIGNvbG9yOiAkcHJpbWFyeS1jb2xvcjtcbiAgICAgICAgICAgICAgICBvcGFjaXR5OiAxO1xuXG4gICAgICAgICAgICAgICAgJjpiZWZvcmV7XG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci1yaWdodDogMTdweCBzb2xpZCAkbWVkaXVtLWdyYXk7XG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci10b3A6IDE3cHggc29saWQgdHJhbnNwYXJlbnQ7XG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDE3cHggc29saWQgdHJhbnNwYXJlbnQ7XG4gICAgICAgICAgICAgICAgICAgIGNvbnRlbnQ6IFwiXCI7XG4gICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgICAgICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICAgICAgICAgICAgICByaWdodDogMDtcbiAgICAgICAgICAgICAgICAgICAgdG9wOiA4cHg7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgJjphZnRlcntcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXJpZ2h0OiAxN3B4IHNvbGlkICRiZy1udWRlO1xuICAgICAgICAgICAgICAgICAgICBib3JkZXItdG9wOiAxN3B4IHNvbGlkIHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiAxN3B4IHNvbGlkIHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgICAgICAgICBjb250ZW50OiBcIlwiO1xuICAgICAgICAgICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICAgICAgcmlnaHQ6IC0xcHg7XG4gICAgICAgICAgICAgICAgICAgIHRvcDogOHB4O1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaDUge1xuICAgICAgICAgICAgICAgIC13ZWJraXQtZm9udC1zbW9vdGhpbmc6IGFudGlhbGlhc2VkO1xuICAgICAgICAgICAgICAgIGZvbnQtZmFtaWx5OiBSb2JvdG8sICdIZWx2ZXRpY2EgTmV1ZScsIEFyaWFsLCBzYW5zLXNlcmlmO1xuICAgICAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMzBweDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgPiBhLm1lbnUge1xuICAgICAgICAgICAgICAgIHBhZGRpbmc6IDBweDtcbiAgICAgICAgICAgICAgICBwYWRkaW5nLXRvcDogMTBweDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgdWwge1xuICAgICAgICAgICAgICAgIG1hcmdpbi10b3A6IDBweDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIHB7XG4gICAgICAgICAgICBtYXJnaW46IDA7XG4gICAgICAgICAgICBsaW5lLWhlaWdodDogMzBweDtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMTJweDtcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiA2MDA7XG4gICAgICAgICAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICAgICAgICB9XG5cbiAgICAgICAgaXtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMjRweDtcbiAgICAgICAgICAgIGZsb2F0OiBsZWZ0O1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAxNXB4O1xuICAgICAgICAgICAgbGluZS1oZWlnaHQ6IDMwcHg7XG4gICAgICAgICAgICB3aWR0aDogMzBweDtcbiAgICAgICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgICAgICAgfVxuICAgIH1cblxuICAgICY6YWZ0ZXIsXG4gICAgJjpiZWZvcmV7XG4gICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICBjb250ZW50OiBcIlwiO1xuICAgICAgICBwb3NpdGlvbj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4gICAgdHJhbnNpdGlvbi10aW1pbmctZnVuY3Rpb246IGxpbmVhcixsaW5lYXI7XG4gICAgLXdlYmtpdC1vdmVyZmxvdy1zY3JvbGxpbmc6IHRvdWNoO1xufVxuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vcHVibGljL2Fzc2V0cy9hZG1pbi92ZW5kb3Ivc2Fzcy9wYXBlci9fc2lkZWJhci1hbmQtbWFpbi1wYW5lbC5zY3NzIiwiQG1peGluIHNpZGViYXItYmFja2dyb3VuZC1jb2xvcigkYmFja2dyb3VuZC1jb2xvciwgJGZvbnQtY29sb3Ipe1xuICAgICY6YWZ0ZXIsXG4gICAgJjpiZWZvcmV7XG5cdCAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkYmFja2dyb3VuZC1jb2xvcjtcblx0fVxuXG4gICAgLmxvZ297XG4gICAgICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCByZ2JhKCRmb250LWNvbG9yLC4zKTtcblxuICAgICAgICBwe1xuICAgICAgICAgICAgY29sb3I6ICRmb250LWNvbG9yO1xuICAgICAgICB9XG5cbiAgICAgICAgLnNpbXBsZS10ZXh0e1xuICAgICAgICAgICAgY29sb3I6ICRmb250LWNvbG9yO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgLm5hdntcbiAgICAgICAgbGk6bm90KC5hY3RpdmUpe1xuICAgICAgICAgICAgPiBhe1xuICAgICAgICAgICAgICAgIGNvbG9yOiAkZm9udC1jb2xvcjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICAuZGl2aWRlcntcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEoJGZvbnQtY29sb3IsLjIpO1xuICAgICAgICB9XG5cbiAgICB9XG5cbn1cblxuQG1peGluIHNpZGViYXItYWN0aXZlLWNvbG9yKCRmb250LWNvbG9yKXtcbiAgICAubmF2e1xuICAgICAgICBsaXtcbiAgICAgICAgICAgICYuYWN0aXZlID4gY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GVyL21peGlucy9faW5wdXRzLnNjc3MiLCIuYWxlcnR7XG4gICAgYm9yZGVyOiAwO1xuICAgIGJvcmRlci1yYWRpdXM6IDA7XG4gICAgY29sb3I6ICNGRkZGRkY7XG4gICAgcGFkZGluZzogMTBweCAxNXB4O1xuICAgIGZvbnQtc2l6ZTogMTRweDtcblxuICAgIC5jb250YWluZXIgJntcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNHB4O1xuXG4gICAgfVxuICAgIC5uYXZiYXIgJntcbiAgICAgICAgYm9yZGVyLXJhZGl1czogMDtcbiAgICAgICAgbGVmdDogMDtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICByaWdodDogMDtcbiAgICAgICAgdG9wOiA4NXB4O1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgei1pbmRleDogMztcbiAgICB9XG4gICAgLm5hdmJhcjpub3QoLm5hdmJhci10cmFuc3BhcmVudCkgJntcbiAgICAgICAgdG9wOiA3MHB4O1xuICAgIH1cblxuICAgIHNwYW5bZGF0YS1ub3RpZnk9XCJpY29uXCJde1xuICAgICAgICBmb250LXNpemU6IDMwcHg7XG4gICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICBsZWZ0OiAxNXB4O1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIHRvcDogNTAlO1xuICAgICAgICBtYXJnaW4tdG9wOiAtMjBweDtcbiAgICB9XG5cbiAgICAuY2xvc2UgfiBzcGFue1xuICAgICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgICAgbWF4LXdpZHRoOiA4OSU7XG4gICAgfVxuXG4gICAgJltkYXRhLW5vdGlmeT1cImNvbnRhaW5lclwiXXtcbiAgICAgICAgcGFkZGluZzogMTBweCAxMHB4IDEwcHggMjBweDtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogJGJvcmRlci1yYWRpdXMtYmFzZTtcbiAgICB9XG5cbiAgICAmLmFsZXJ0LXd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L3Nhc3MvcGFwZXIvX2NoZWNrYm94LXJhZGlvLnNjc3MiLCIubmF2IHtcbiAgICA+IGxpe1xuICAgICAgICA+IGE6aG92ZXIsXG4gICAgICAgID4gYTpmb2N1c3tcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xuICAgICAgICB9XG4gICAgfVxufVxuLm5hdmJhcntcbiAgICBib3JkZXI6ICRub25lO1xuICAgIGJvcmRlci1yYWRpdXM6IDA7XG4gICAgZm9udC1zaXplOiAkZm9udC1zaXplLW5hdmJhcjtcbiAgICB6LWluZGV4OiAzO1xuXG4gICAgLm5hdmJhci1icmFuZHtcbiAgICAgICAgY29sb3I6ICR3aGl0ZS1jb2xvcjtcbiAgICAgICAgZm9udC13ZWlnaHQ6ICRmb250LXdlaWdodC1saWdodDs7XG4gICAgICAgIG1hcmdpbjogJG5hdmJhci1tYXJnaW4tYnJhbmQ7XG4gICAgICAgIHBhZGRpbmc6ICRuYXZiYXItcGFkZGluZy1icmFuZDtcbiAgICAgICAgZm9udC1zaXplOiAkZm9udC1zaXplLWxhcmdlLW5hdmJhcjtcbiAgICB9XG4gICAgLm5hdmJhci1uYXZ7XG4gICAgICAgICA+IGxpID4gYSB7XG4gICAgICAgICAgICAgbGluZS1oZWlnaHQ6IDEuNDI4NTc7XG4gICAgICAgICAgICAgbWFyZ2luOiAkbmF2YmFyLW1hcmdpbi1hO1xuICAgICAgICAgICAgIHBhZGRpbmc6ICRuYXZiYXItcGFkZGluZy1hO1xuXG4gICAgICAgICAgICBpLFxuICAgICAgICAgICAgcHtcbiAgICAgICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgICAgICAgICAgICAgbWFyZ2luOiAwO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaXtcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiA1cHg7XG4g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0aXZlID4gYTpub3QoLmJ0bik6Zm9jdXMsXG4gICAgICAgID4gbGkgPiBhOm5vdCguYnRuKTpob3ZlcixcbiAgICAgICAgPiBsaSA+IGE6bm90KC5idG4pOmZvY3VzIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogM3B4O1xuICAgICAgICAgICAgY29sb3I6ICRpbmZvLWNvbG9yO1xuICAgICAgICAgICAgQGluY2x1ZGUgb3BhY2l0eSgxKTtcbiAgICAgICAgfVxuXG4gICAgICAgID4gLmRyb3Bkb3duID4gYTpob3ZlciAuY2FyZXQsXG4gICAgICAgID4gLmRyb3Bkb3duID4gYTpmb2N1cyAuY2FyZXQge1xuICAgICAgICAgICAgYm9yZGVyLWJvdHRvbS1jb2xvcjogJGluZm8tY29sb3I7XG4gICAgICAgICAgICBib3JkZXItdG9wLWNvbG9yOiAkaW5mby1jb2xvcjtcblxuICAgICAgICB9XG5cbiAgICAgICAgPiAub3BlbiA+IGEsXG4gICAgICAgID4gLm9wZW4gPiBhOmhvdmVyLFxuICAgICAgICA+IC5vcGVuID4gYTpmb2N1c3tcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgY29sb3I6ICRpbmZvLWNvbG9yO1xuICAgICAgICB9XG5cbiAgICAgICAgLm5hdmJhci10b2dnbGU6aG92ZXIsLm5hdmJhci10b2dnbGU6Zm9jdXMge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgICAgIH1cblxuICAgIH1cblxuICAgICY6bm90KC5uYXZiYXItdHJhbnNwYXJlbnQpIC5idG4tZGVmYXVsdDpob3ZlcntcbiAgICAgICAgY29sb3I6ICRpbmZvLWNvbG9yO1xuICAgICAgICBib3JkZXItY29sb3I6ICRpbmZvLWNvbG9yO1xuICAgIH1cbiAgICAmOm5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HRyYW5zcGFyZW50O1xuXG4gICAgICAgICAgICBAaW5jbHVkZSBvcGFjaXR5KDEpO1xuXG4gICAgICAgIH1cblxuICAgIH1cblxuICAgIC5uYXZiYXItYnJhbmQ6bm90KFtjbGFzcyo9XCJ0ZXh0XCJdKXtcblxuICAgICAgICBjb2xvcjogJHdoaXRlLWNvbG9yO1xuXG4gICAgfVxuXG4gICAgLm5hdmJhci1uYXZ7XG5cbiAgICAgICAgPiBsaSA+IGE6bm90KC5idG4pe1xuXG4gICAgICAgICAgICBjb2xvcjogJHdoaXRlLWNvbG9yO1xuXG4gICAgICAgICAgICBib3JkZXItY29sb3I6ICR3aGl0ZS1jb2xvcjtcblxuICAgICAgICAgICAgQGluY2x1ZGUgb3BhY2l0eSgwLjgpO1xuXG4gICAgICAgIH1cblxuICAgICAgICA+IC5hY3RpdmUgPiBhOm5vdCguYnRuKSxcblxuICAgICAgICA+IC5hY3RpdmUgPiBhOmhvdmVyOm5vdCguYnRuKSxcblxuICAgICAgICA+IC5hY3RpdmUgPiBhOmZvY3VzOm5vdCguYnRuKSxcblxuICAgICAgICA+IGxpID4gYTpob3Zlcjpub3QoLmJ0biksXG5cbiAgICAgICAgPiBsaSA+IGE6Zm9jdXM6bm90KC5idG4pe1xuXG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcblxuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogM3B4O1xuXG4gICAgICAgICAgICBjb2xvcjogJHdoaXRlLWNvbG9yO1xuXG4gICAgICAgICAgICBAaW5jbHVkZSBvcGFjaXR5KDEpO1xuXG4gICAgICAgIH1cblxuICAgICAgICAubmF2ID4gbGkgPiBhLmJ0bjpob3ZlcntcblxuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG5cbiAgICAgICAgfVxuXG4gICAgICAgID4gLmRyb3Bkb3duID4gYSAuY2FyZXQsXG5cbiAgICAgICAgPiAuZHJvcG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gICAgICAgICAgICAgICAgIGxpbmUtaGVpZ2h0OiAyMHB4O1xuICAgICAgICAgICAgICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBhOm5vdCguYnRuKXtcbiAgICAgICAgICAgICAgICBjb2xvcjogJGZvbnQtY29sb3I7XG4gICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogM3B4O1xuXG4gICAgICAgICAgICAgICAgJjpmb2N1cyxcbiAgICAgICAgICAgICAgICAmOmhvdmVye1xuICAgICAgICAgICAgICAgICAgICBjb2xvcjogJGRlZmF1bHQtc3RhdGVzLWNvbG9yO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbiAgICAuY29weXJpZ2h0e1xuICAgICAgICBjb2xvcjogJGZvbnQtY29sb3I7XG4gICAgICAgIHBhZGRpbmc6IDEwcHggMTVweDtcbiAgICAgICAgZm9udC1zaXplOiAxNHB4O1xuICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgICAgICBtYXJnaW46IDE1cHggM3B4O1xuICAgICAgICBsaW5lLWhlaWdodDogMjBweDtcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgIH1cbiAgICAuaGVhcnR7XG4gICAgICAgIGNvbG9yOiAkZGFuZ2VyLWNvbG9yO1xuICAgIH1cbn1cblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3B1YmxpYy9hc3NldHMvYWRtaW4vdmVuZG9yL3Nhc3MvcGFwZXIvX2Zvb3RlcnMuc2NzcyIsIi5kcm9wZG93bi1tZW51e1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRwYWxlLWJnO1xuICAgIGJvcmRlcjogMCBub25lO1xuICAgIGJvcmRlci1yYWRpdXM6ICRib3JkZXItcmFkaXVzLWV4dHJlbWU7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cbiAgICBoNSB7XG4gICAgICAgIGZvbnQtc2l6ZTogMS41N2VtO1xuICAgICAgICBsaW5lLWhlaWdodDogMS40ZW07XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDE1cHg7XG4gICAgfVxuXG4gICAgaDZ7XG4gICAgICAgIGZvbnQtc2l6ZTogJGZvbnQtc2l6ZS1zbWFsbDtcbiAgICAgICAgbWFyZ2luOiAwO1xuICAgIH1cbiAgICAuY2F0ZWdvcnksXG4gICAgbGFiZWx7XG4gICAgICAgIGZvbnQtc2l6ZTogJGZvbnQtc2l6ZS1iYXNlO1xuICAgICAgICBmb250LXdlaWdodDogJGZvbnQtd2VpZ2h0LW5vcm1hbDtcbiAgICAgICAgY29sb3I6ICRkYXJrLWdyYXk7XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDBweDtcbiAgICAgICAgaXtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogJGZvbnQtcGFyYWdyYXBoO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgbGFiZWx7XG4gICAgICAgIGZvbnQtc2l6ZTogMTVweDtcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICAgIH1cblxuICAgIC50aXRsZXtcbiAgICAgICAgbWFyZ2luOiAkbm9uZTtcbiAgICAgICAgY29sb3I6ICRjYXJkLWJsYWNrLWNvbG9yO1xuICAgICAgICBmb250LXdlaWdodDogJGZvbnQtd2VpZ2h0LWxpZ2h0O1xuICAgIH1cbiAgICAuYXZhdGFye1xuICAgICAgICB3aWR0aDogNTBweDtcbiAgICAgICAgaGVpZ2h0OiA1MHB4O1xuICAgICAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgICAgICBib3JkZXItcmFkaXVzOiA1MCU7XG4gICAgICAgIG1hcmdpbi1yaWdodDogNXB4O1xuICAgIH1cbiAgICAuZm9vdGVye1xuICAgICAgICBwYWRkaW5nOiAwO1xuICAgICAgICBsaW5lLWhlaWdodDogMzBweDtcblxuICAgICAgICAubGVnZW5ke1xuICAgICAgICAgICAgcGFkZGluZzogNXB4IDA7XG4gICAgICAgIH1cblxuICAgICAgICBocntcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDVweDtcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDVweDtcbiAgICAgICAgfVxuICAgIH1cbiAgICAuc3RhdHN7XG4gICAgICAgIGNvbG9yOiAjYTlhOWE5O1xuICAgICAgICBmb250LXdlaWdodDogMzAwO1xuICAgICAgICBpe1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAycHg7XG4gICAgICAgICAgICBtaW4td2lkdGg6IDE1cHg7XG4gICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgICAgIH1cbiAgICB9XG4gICAgLmZvb3RlciBkaXZ7XG4gICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgICB9XG5cbiAgICAuYXV0aG9ye1xuICAgICAgICBmb250LXNpemU6ICRmb250LXNpemUtc21hbGw7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiAkZm9udC13ZWlnaHQtYm9sZDtcbiAgICAgICAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgICB9XG4gICAgLmF1dGhvciBpe1xuICAgICAgICBmb250LXNpemU6ICRmb250LXNpemUtYmFzZTtcbiAgICB9XG5cbiAgICAmLmNhcmQtc2VwYXJhdG9yOmFmdGVye1xuICAgICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgICAgIHJpZ2h0OiAtMTVweDtcbiAgICAgICAgdG9wOiAwO1xuICAgICAgICB3aWR0aDogMXB4O1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkbWVkaXVtLWdyYXk7XG4gICAgICAgIGNvbnRlbnQ6IFwiXCI7XG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB9XG5cbiAgICAuY3QtY2hhcnR7XG4gICAgICAgIG1hcmdpbjogMzBweCAwIDMwcHg7XG4gICAgICAgIGhlaWdodDogMjQ1cHg7XG4gICAgfVxuXG4gICAgLnRhYmxle1xuICAgICAgICB0Ym9keSB0ZDpmaXJzdC1jaGlsZCxcbiAgICAgICAgdGhlYWQgdGg6Zmlyc3QtY2hpbGR7XG4gICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDE1cHg7XG4gICAgICAgIH1cblxuICAgICAgICB0Ym9keSB0ZDpsYXN0LWNoaWxkLFxuICAgICAgICB0aGVhZCB0aDpsYXN0LWNoaWxke1xuICAgICAgICAgICAgcGFkZGluZy1yaWdodDogMTVweDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC5hbGVydHtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogJGJvcmRlci1yYWRpdXMtYmFzZTtcbiAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuXG4gICAgICAgICYuYWxlcnQtd2l0aC1pY29ue1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiA2NXB4O1xuICAgICAgICB9XG4gICAgfVxuICAgIC5pY29uLWJpZ3tcbiAgICAgICAgZm9udC1zaXplOiAzZW07XG4gICAgICAgIG1pbi1oZWlnaHQ6IDY0cHg7XG4gICAgfVxuICAgIC5udW1iZXJze1xuICAgICAgICBmb250LXNpemU6IDJlbTtcbiAgICAgICAgdGV4dC1hbGlnbjogcmlnaHQ7XG4gICAgICAgIHB7XG4gICAgICAgICAgICBtYXJnaW46IDA7XG4gICAgICAgIH1cbiAgICB9XG4gICAgdWwudGVhbS1tZW1iZXJze1xuICAgICAgICBsaXtcbiAgICAgICAgICAgIHBhZGRpbmc6IDEwcHggMHB4O1xuICAgICAgICAgICAgJjpub3QoOmxhc3QtY2hpbGQpe1xuICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCAkbWVkaXVtLXBhbGUtYmc7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAuYnRuLXByaW1hcnkge1xuICAgICAgICBAaW5jbHVkZ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AgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgIHRleHQtdHJhbnNmb3JtOiBub25lO1xuICAgICAgICBtYXJnaW4tdG9wOiAtNjVweDtcbiAgICAgICAgLnRpdGxle1xuICAgICAgICAgICAgY29sb3I6ICRkZWZhdWx0LXN0YXRlcy1jb2xvcjtcbiAgICAgICAgICAgIHNtYWxse1xuICAgICAgICAgICAgICAgIGNvbG9yOiAkY2FyZC1tdXRlZC1jb2xvcjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbiAgICAuYXZhdGFye1xuICAgICAgICB3aWR0aDogMTAwcHg7XG4gICAgICAgIGhlaWdodDogMTAwcHg7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAxNXB4O1xuXG4gICAgICAgICYuYm9yZGVyLXdoaXRle1xuICAgICAgICAgICAgYm9yZGVyOiA1cHggc29saWQgJHdoaXRlLWNvbG9yO1xuICAgICAgICB9XG4gICAgICAgICYuYm9yZGVyLWdyYXl7XG4gICAgICAgICAgICBib3JkZXI6IDVweCBzb2xpZCAkY2FyZC1tdXRlZC1jb2xvcjtcbiAgICAgICAgfVxuICAgIH1cbiAgICAudGl0bGV7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiA2MDA7XG4gICAgICAgIGxpbmUtaGVpZ2h0OiAyNHB4O1xuICAgIH1cbiAgICAuZGVzY3JpcHRpb257XG4gICAgICAgIG1hcmdpbi10b3A6IDEwcHg7XG4gICAgfVxuICAgIC5jb250ZW50e1xuICAgICAgICBtaW4taGVpZ2h0OiAyMDBweDtcbiAgICB9XG5cbiAgICAmLmNhcmQtcGxhaW57XG4gICAgICAgIC5hdmF0YXJ7XG4gICAgICAgICAgICBoZWlnaHQ6IDE5MHB4O1xuICAgICAgICAgICAgd2lkdGg6IDE5MHB4O1xuICAgICAgICB9XG4gICAgf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AgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgcmlnaHQ6IDEycHg7XG4gICAgICAgIHRvcDogLTEwcHg7XG4gICAgfVxuXG4gICAgLm5hdmJhci1uYXYubmF2YmFyLWxlZnQgPiBsaSA+IC5kcm9wZG93bi1tZW51OmJlZm9yZXtcbiAgICAgICAgcmlnaHQ6IGF1dG87XG4gICAgICAgIGxlZnQ6IDEycHg7XG4gICAgfVxuXG4gICAgLm5hdmJhci1uYXYubmF2YmFyLWxlZnQgPiBsaSA+IC5kcm9wZG93bi1tZW51OmFmdGVye1xuICAgICAgICByaWdodDogYXV0bztcbiAgICAgICAgbGVmdDogMTJweDtcbiAgICB9XG5cbiAgICAubmF2YmFye1xuICAgICAgICAubmF2YmFyLWhlYWRlcntcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAxMHB4O1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgLmZvb3Rlcjpub3QoLmZvb3Rlci1iaWcpe1xuICAgICAgICBuYXYgPiB1bHtcbiAgICAgICAgICAgbGk6Zmlyc3QtY2hpbGR7XG4gICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDA7XG4gICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIGJvZHkgPiAubmF2YmFyLWNvbGxhcHNlLmNvbGxhcHNle1xuICAgICAgICBkaXNwbGF5OiBub25lICFpbXBvcnRhbnQ7XG4gICAgfVxuXG4gICAgLmNhcmR7XG4gICAgICAgIGZvcm17XG4gICAgICAgICAgICBbY2xhc3MqPVwiY29sLVwiXXtcbiAgICAgICAgICAgICAgICBwYWRkaW5nOiA2cHg7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBbY2xhc3MqPVwiY29sLVwiXTpmaXJzdC1jaGlsZHtcbiAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDE1cHg7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBbY2xhc3MqPVwiY29sLVwiXTpsYXN0LWNoaWxke1xuICAgICAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IDE1cHg7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG59XG5cbi8qICAgICAgICAgIENoYW5nZXMgZm9yIHNtYWxsIGRpc3BsYXkgICAgICAqL1xuXG5AbWVkaWEgKG1heC13aWR0aDogOTkxcHgpe1xuICAgIC5zaWRlYmFye1xuICAgICAgICBkaXNwbGF5OiBub25lO1xuICAgIH1cblxuICAgIC5tYWluLXBhbmVse1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICB9XG4gICAgLm5hdmJhci10cmFuc3BhcmVudHtcbiAgICAgICAgcGFkZGluZy10b3A6IDE1cHg7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMC40NSk7XG4gICAgfVxuICAgIGJvZHkge1xuICAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIH1cbiAgICBoNntcbiAgICAgICAgZm9udC1zaXplOiAxZW07XG4gICAgfVxuICAgIC53cmFwcGVye1xuICAgICAgIEBpbmNsdWRlIHRyYW5zZm9ybS10cmFuc2xhdGUteCgwcHgpO1xuICAgICAgIEBpbmNsdWRlIHRyYW5zaXRpb24gKDAuMzNzLCBjdWJpYy1iZXppZXIoMC42ODUsIDAuMDQ3MywgMC4zNDYsIDEpKTtcbiAgICAgICBsZWZ0OiAwO1xuICAgICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xuICAgIH1cbiAgICAubmF2YmFyIC5jb250YWluZXJ7XG4gICAgICAgICBsZWZ0OiAwO1xuICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgQGluY2x1ZGUgdHJhbnNpdGlvbiAoMC4zM3MsIGN1YmljLWJlemllcigwLjY4NSwgMC4wNDczLCAwLjM0NiwgMSkpO1xuICAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIH1cbiAgICAubmF2YmFyIC5uYXZiYXItY29sbGF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gICAgICB6LWluZGV4OiAzO1xuICAgICAgICAgICAgb3ZlcmZsb3cteTogc2Nyb2xsO1xuICAgICAgICAgICAgaGVpZ2h0OiAxMDAlO1xuICAgICAgICAgICAgYm94LXNoYWRvdzogaW5zZXQgMXB4IDBweCAwcHggMHB4ICRtZWRpdW0tZ3JheTtcbiAgICAgICAgfVxuXG4gICAgICAgIC5uYXZ7XG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAwO1xuICAgICAgICAgICAgcGFkZGluZzogMTBweCAkbWFyZ2luLWJhc2UtdmVydGljYWwgMDtcblxuICAgICAgICAgICAgPiBsaXtcblxuICAgICAgICAgICAgICAgID4gYXtcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luOiAwcHggMHB4O1xuICAgICAgICAgICAgICAgICAgICBjb2xvcjogJGRlZmF1bHQtY29sb3I7XG4gICAgICAgICAgICAgICAgICAgIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gICAgICAgICAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiA2MDA7XG4gICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogJGZvbnQtc2l6ZS1zbWFsbDtcbiAgICAgICAgICAgICAgICAgICAgbGluZS1oZWlnaHQ6ICRsaW5lLWhlaWdodC1nZW5lcmFsO1xuICAgICAgICAgICAgICAgICAgICBwYWRkaW5nOiAxMHB4IDA7XG5cbiAgICAgICAgICAgICAgICAgICAgJjpob3ZlcixcbiAgICAgICAgICAgICAgICAgICAgJi5hY3RpdmV7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogJGRlZmF1bHQtc3RhdGVzLWNvbG9yO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgcCxcbiAgICAgICAgICAgICAgICAgICAgLm5vdGlmaWNhdGlvbixcbiAgICAgICAgICAgICAgICAgICAgLmNhcmV0XG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIC5jYXJldHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZsb2F0OiByaWdodDtcbiAgICAgICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRvcDogMTJweDtcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIGl7XG4gICAgICAgICAgICAgICAgICAgICAgICBmb250LXNpemU6IDE4cHg7XG4gICAgICAgICAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDEwcHg7XG4gICAgICAgICAgICAgICAgICAgICAgICBsaW5lLWhlaWdodDogMjZweDtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICYuYWN0aXZlID4gYXtcblxuICAgICAgICAgICAgICAgICAgICAmOmJlZm9yZXtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci1yaWdodDogbm9uZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci1sZWZ0OiAgMTJweCBzb2xpZCAkbWVkaXVtLWdyYXk7XG4gICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItdG9wOiAxMnB4IHNvbGlkIHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogMTJweCBzb2xpZCB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJpZ2h0OiBhdXRvO1xuICAgICAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IC0kbWFyZ2luLWJhc2UtdmVydGljYWw7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwcHg7XG4gICAgICAgICAgICAgICAgICAgICAgICB0b3A6IDEwcHg7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAmOmFmdGVye1xuICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXJpZ2h0OiBub25lO1xuICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWxlZnQ6IDEycHggc29saWQgJGJnLW51ZGU7XG4gICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItdG9wOiAxMnB4IHNvbGlkIHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogMTJweCBzb2xpZCB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJpZ2h0OiBhdXRvO1xuICAgICAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IC0kbWFyZ2luLWJhc2UtdmVydGljYWw7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZWZ0OiAtMXB4O1xuICAgICAgICAgICAgICAgICAgICAgICAgdG9wOiAxMHB4O1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICB9XG5cblxuXG4gICAgICAgIH1cblxuICAgICAgICAmOjphZnRlcntcbiAgICAgICAgICAgIHRvcDogMDtcbiAgICAgICAgICAgIGxlZnQ6IDA7XG4gICAgICAgICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICRiZy1udWRlO1xuICAgICAgICAgICAgYmFja2dyb3VuZC1pbWFnZTogbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgcmdiYSgwLCAwLCAwLCAwKSAwJSwgcmdiYSgxMTIsIDExMiwgMTEyLCAwKSA2MCUsIHJnYmEoMTg2LCAxODYsIDE4NiwgMC4xNSkgMTAwJSk7XG4gICAgICAgICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgICAgICAgIGNvbnRlbnQ6IFwiXCI7XG4gICAgICAgICAgICB6LWluZGV4OiAxO1xuICAgICAgICB9XG4gICAgICAgICYuaGFzLWltYWdlOjphZnRlcntcbiAgICAgICAgICAgIEBpbmNsdWRlIGJsYWNrLWZpbHRlciguOCk7XG4gICAgICAgIH1cblxuICAgICAgICAubG9nb3tcbiAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgICAgIHotaW5kZXg6IDQ7XG4gICAgICAgICAgICBwYWRkaW5nLXRvcDogMTFweDtcbiAgICAgICAgICAgIHBhZGRpbmctYm90dG9tOiAxMXB4O1xuICAgICAgICB9XG5cbiAgICAgICAgLmRpdmlkZXJ7XG4gICAgICAgICAgICBoZWlnaHQ6IDFweDtcbiAgICAgICAgICAgIG1hcmdpbjogMTBweCAwO1xuICAgICAgICB9XG4gICAgfVxuICAgIC5uYXYtb3BlbiAubmF2YmFyLWNvbGxhcHNle1xuICAgICAgICBAaW5jbHVkZSB0cmFuc2Zvcm0tdHJhbnNsYXRlLXgoMHB4KTtcbiAgICB9XG4gICAgLm5hdi1vcGVuIC5uYXZiYXIgLmNvbnRhaW5lcntcbiAgICAgICAgbGVmdDogLTIzMHB4O1xuICAgIH1cbiAgICAubmF2LW9wZW4gLndyYXBwZXJ7XG4gICAgICAgIGxlZnQ6IDA7XG4gICAgICAgIEBpbmNsdWRlIHRyYW5zZm9ybS10cmFuc2xhdGUteCgtMjMwcHgpO1xuICAgIH1cbiAgICAubmF2YmFyLXRvZ2dsZSAuaWNvbi1iYXIge1xuICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgICBiYWNrZ3JvdW5kOiAjZmZmO1xuICAgICAgICAgIHdpZHRoOiAyNHB4O1xuICAgICAgICAgIGhlaWdodDogMnB4O1xuICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDFweDtcbiAgICAgICAgICBtYXJnaW46IDAgYXV0bztcbiAgICB9XG5cbiAgICAubmF2YmFyLWhlYWRlciAubmF2YmFyLXRvZ2dsZSB7XG4gICAgICAgIG1hcmdpbjogMTBweCAxNXB4IDEwcHggMDtcbiAgICAgICAgd2lkdGg6IDQwcHg7XG4gICAgICAgIGhlaWdodDogNDBweDtcbiAgICB9XG4gICAgLmJhcjEsXG4gICAgLmJhcjIsXG4gICAgLmJhcjMge1xuICAgICAgb3V0bGluZTogMXB4IHNvbGlkIHRyYW5zcGFyZW50O1xuICAgIH1cbiAgICAuYmFyMSB7XG4gICAgICB0b3A6IDBweDtcbiAgICAgIEBpbmNsdWRlIGJhci1hbmltYXRpb24oJHRvcGJhci1iYWNrKTtcbiAgICB9XG4gICAgLmJhcjIge1xuICAgICAgb3BhY2l0eTogMTtcbiAgICB9XG4gICAgLmJhcjMge1xuICAgICAgYm90dG9tOiAwcHg7XG4gICAgICBAaW5jbHVkZSBiYXItYW5pbWF0aW9uKCRib3R0b21iYXItYmFjayk7XG4gICAgfVxuICAgIC50b2dnbGVkIC5iYXIxIHtcbiAgICAgIHRvcDogNnB4O1xuICAgICAgQGluY2x1ZGUgYmFyLWFuaW1hdGlvbigkdG9wYmFyLXgpO1xuICAgIH1cbiAgICAudG9nZ2xlZCAuYmFyMiB7XG4gICAgICBvcGFjaXR5OiAwO1xuICAgIH1cbiAgICAudG9nZ2xlZCAuYmFyMyB7XG4gICAgICBib3R0b206IDZweDtcbiAgICAgIEBpbmNsdWRlIGJhci1hbmltYXRpb24oJGJvdHRvbWJhci14KTtcbiAgICB9XG5cbiAgICBAaW5jbHVkZSB0b3BiYXIteC1yb3RhdGlvbigpO1xuICAgIEBpbmNsdWRlIHRvcGJhci1iYWNrLXJvdGF0aW9uKCk7XG4gICAgQGluY2x1ZGUgYm90dG9tYmFyLXgtcm90YXRpb24oKTtcbiAgICBAaW5jbHVkZSBib3R0b21iYXItYmFjay1yb3RhdGlvbigpO1xuXG4gICAgQC13ZWJraXQta2V5ZnJhbWVzIGZhZGVJbiB7XG4gICAgICAwJSB7b3BhY2l0eTogMDt9XG4gICAgICAxMDAlIHtvcGFjaXR5OiAxO31cbiAgICB9XG4gICAgQC1tb3ota2V5ZnJhbWVzIGZhZGVJbiB7XG4gICAgICAwJSB7b3BhY2l0eTogMDt9XG4gICAgICAxMDAlIHtvcGFjaXR5OiAxO31cbiAgICB9XG4gICAgQGtleWZyYW1lcyBmYWRlSW4ge1xuICAgICAgMCUge29wYWNpdHk6IDA7fVxuICAgICAgMTAwJSB7b3BhY2l0eTogMTt9XG4gICAgfVxuXG4gICAgLmRyb3Bkb3duLW1lbnUgLmRpdmlkZXJ7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMjI5LCAyMjksIDIyOSwgMC4xNSk7XG4gICAgfVxuXG4gICAgLm5hdmJhci1uYXYge1xuICAgICAgICBtYXJnaW46IDFweCAwO1xuICAgIH1cblxuICAgIC5kcm9wZG93bi1tZW51IHtcbiAgICAgICAgZGlzcGxheTogbm9uZTtcblxuICAgICAgICAmID4gbGkgPiBhe1xuICAgICAgICAgICAgJjpob3ZlcixcbiAgICAgICAgICAgICY6Zm9jdXN7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAubmF2YmFyLWZpeGVkLXRvcCB7XG4gICAgICAgIC13ZWJraXQtYmFja2ZhY2UtdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIH1cbiAgICAjYm9keUNsaWNrIHtcbiAgICAgICAgaGVpZ2h0OiAxMDAlO1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgcG9zaXRpb246IGZpeGVkO1xuICAgICAgICBvcGFjaXR5OiAwO1xuICAgICAgICB0b3A6IDA7XG4gICAgICAgIGxlZnQ6IGF1dG87XG4gICAgICAgIHJpZ2h0OiAyMzBweDtcbiAgICAgICAgY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gICB3aWR0aDogMTAwJTtcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMTVweDtcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2RkZGRkZDtcbiAgICAgICAgb3ZlcmZsb3cteDogc2Nyb2xsO1xuICAgICAgICBvdmVyZmxvdy15OiBoaWRkZW47XG4gICAgICAgIC1tcy1vdmVyZmxvdy1zdHlsZTogLW1zLWF1dG9oaWRpbmctc2Nyb2xsYmFyO1xuICAgICAgICAtd2Via2l0LW92ZXJmbG93LXNjcm9sbGluZzogdG91Y2g7XG4gICAgfVxuXG59XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9wdWJsaWMvYXNzZXRzL2FkbWluL3ZlbmRvci9zYXNzL3BhcGVyL19yZXNwb25zaXZlLnNjc3MiLCIvKiFcblxuID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuICogUGFwZXIgRGFzaGJvYXJkIC0gdjEuMS4yXG4gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbiAqIFByb2R1Y3QgUGFnZTogaHR0cDovL3d3dy5jcmVhdGl2ZS10aW0uY29tL3Byb2R1Y3QvcGFwZXItZGFzaGJvYXJkXG4gKiBDb3B5cmlnaHQgMjAxNyBDcmVhdGl2ZSBUaW0gKGh0dHA6Ly93d3cuY3JlYXRpdmUtdGltLmNvbSlcbiAqIExpY2Vuc2VkIHVuZGVyIE1JVCAoaHR0cHM6Ly9naXRodWIuY29tL2NyZWF0aXZldGltb2ZmaWNpYWwvcGFwZXItZGFzaGJvYXJkL2Jsb2IvbWFzdGVyL0xJQ0VOU0UubWQpXG5cbiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuICogVGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UgYW5kIHRoaXMgcGVybWlzc2lvb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ib3R0b206IDE1cHg7XG4gICAgYm9yZGVyOiAxcHggc29saWQgI2RkZGRkZDtcbiAgICBvdmVyZmxvdy14OiBzY3JvbGw7XG4gICAgb3ZlcmZsb3cteTogaGlkZGVuO1xuICAgIC1tcy1vdmVyZmxvdy1zdHlsZTogLW1zLWF1dG9oaWRpbmctc2Nyb2xsYmFyO1xuICAgIC13ZWJraXQtb3ZlcmZsb3ctc2Nyb2xsaW5nOiB0b3VjaDtcbiAgfVxufVxuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vcGFwZXItZGFzaGJvYXJkLnNjc3MiXSwic291cmNlUm9vdCI6IiJ9*/ -/*! - * Datetimepicker for Bootstrap 3 - * version : 4.17.47 - * https://github.com/Eonasdan/bootstrap-datetimepicker/ - */ -.bootstrap-datetimepicker-widget { - list-style: none; -} -.bootstrap-datetimepicker-widget.dropdown-menu { - display: block; - margin: 2px 0; - padding: 4px; - width: 19em; -} -@media (min-width: 768px) { - .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs { - width: 38em; - } -} -@media (min-width: 992px) { - .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs { - width: 38em; - } -} -@media (min-width: 1200px) { - .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs { - width: 38em; - } -} -.bootstrap-datetimepicker-widget.dropdown-menu:before, -.bootstrap-datetimepicker-widget.dropdown-menu:after { - content: ''; +.form-container { + border: 0; + border-radius: 2px; display: inline-block; - position: absolute; -} -.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before { - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - top: -7px; - left: 7px; -} -.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after { - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid white; - top: -6px; - left: 8px; -} -.bootstrap-datetimepicker-widget.dropdown-menu.top:before { - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0.2); - bottom: -7px; - left: 6px; -} -.bootstrap-datetimepicker-widget.dropdown-menu.top:after { - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-top: 6px solid white; - bottom: -6px; - left: 7px; -} -.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before { - left: auto; - right: 6px; -} -.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after { - left: auto; - right: 7px; -} -.bootstrap-datetimepicker-widget .list-unstyled { - margin: 0; -} -.bootstrap-datetimepicker-widget a[data-action] { - padding: 6px 0; -} -.bootstrap-datetimepicker-widget a[data-action]:active { - box-shadow: none; -} -.bootstrap-datetimepicker-widget .timepicker-hour, -.bootstrap-datetimepicker-widget .timepicker-minute, -.bootstrap-datetimepicker-widget .timepicker-second { - width: 54px; + position: relative; + overflow: hidden; + width: 100%; + /*margin-bottom: 20px;*/ font-weight: bold; - font-size: 1.2em; - margin: 0; } -.bootstrap-datetimepicker-widget button[data-action] { - padding: 6px; + +.form-container h6 { + font-size: 15px; + padding: 7px; + background-color: rgba(222, 222, 222, 0.3); } -.bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Increment Hours"; + +.form-container .form-container-body { + padding: 8px; } -.bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Increment Minutes"; + +/* +* Licensing: http://www.pixeden.com/icon-fonts/stroke-7-icon-font-set +*/ +@font-face { + font-family: 'Pe-icon-7-stroke'; + src: url("../../fonts/Pe-icon-7-stroke.eot?d7yf1v"); + src: url("../../fonts/Pe-icon-7-stroke.eot?#iefixd7yf1v") format("embedded-opentype"), url("../../fonts/Pe-icon-7-stroke.woff?d7yf1v") format("woff"), url("../../fonts/Pe-icon-7-stroke.ttf?d7yf1v") format("truetype"), url("../../fonts/Pe-icon-7-stroke.svg?d7yf1v#Pe-icon-7-stroke") format("svg"); + font-weight: normal; + font-style: normal; } -.bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Decrement Hours"; + +[class^="pe-7s-"], [class*=" pe-7s-"] { + display: inline-block; + font-family: 'Pe-icon-7-stroke'; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } -.bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Decrement Minutes"; + +/* HELPER CLASS + * -------------------------- */ +/* FA based classes */ +/*! Modified from font-awesome helper CSS classes - PIXEDEN + * Font Awesome 4.0.3 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (CSS: MIT License) + */ +/* makes the font 33% larger relative to the icon container */ +.pe-lg { + font-size: 18.62px; + line-height: 0.75em; + vertical-align: -15%; } -.bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Show Hours"; + +.pe-2x { + font-size: 28px; } -.bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Show Minutes"; + +.pe-3x { + font-size: 42px; } -.bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Toggle AM/PM"; + +.pe-4x { + font-size: 56px; } -.bootstrap-datetimepicker-widget .btn[data-action="clear"]::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Clear the picker"; + +.pe-5x { + font-size: 70px; } -.bootstrap-datetimepicker-widget .btn[data-action="today"]::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Set the date to today"; -} -.bootstrap-datetimepicker-widget .picker-switch { + +.pe-fw { + width: 1.2857142857142858em; text-align: center; } -.bootstrap-datetimepicker-widget .picker-switch::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Toggle Date and Time Screens"; + +.pe-ul { + padding-left: 0; + margin-left: 2.142857142857143em; + list-style-type: none; } -.bootstrap-datetimepicker-widget .picker-switch td { - padding: 0; - margin: 0; - height: auto; - width: auto; - line-height: inherit; -} -.bootstrap-datetimepicker-widget .picker-switch td span { - line-height: 2.5; - height: 2.5em; - width: 100%; -} -.bootstrap-datetimepicker-widget table { - width: 100%; - margin: 0; -} -.bootstrap-datetimepicker-widget table td, -.bootstrap-datetimepicker-widget table th { - text-align: center; - border-radius: 4px; -} -.bootstrap-datetimepicker-widget table th { - height: 20px; - line-height: 20px; - width: 20px; -} -.bootstrap-datetimepicker-widget table th.picker-switch { - width: 145px; -} -.bootstrap-datetimepicker-widget table th.disabled, -.bootstrap-datetimepicker-widget table th.disabled:hover { - background: none; - color: #777777; - cursor: not-allowed; -} -.bootstrap-datetimepicker-widget table th.prev::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Previous Month"; -} -.bootstrap-datetimepicker-widget table th.next::after { - position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; - content: "Next Month"; -} -.bootstrap-datetimepicker-widget table thead tr:first-child th { - cursor: pointer; -} -.bootstrap-datetimepicker-widget table thead tr:first-child th:hover { - background: #eeeeee; -} -.bootstrap-datetimepicker-widget table td { - height: 54px; - line-height: 54px; - width: 54px; -} -.bootstrap-datetimepicker-widget table td.cw { - font-size: .8em; - height: 20px; - line-height: 20px; - color: #777777; -} -.bootstrap-datetimepicker-widget table td.day { - height: 20px; - line-height: 20px; - width: 20px; -} -.bootstrap-datetimepicker-widget table td.day:hover, -.bootstrap-datetimepicker-widget table td.hour:hover, -.bootstrap-datetimepicker-widget table td.minute:hover, -.bootstrap-datetimepicker-widget table td.second:hover { - background: #eeeeee; - cursor: pointer; -} -.bootstrap-datetimepicker-widget table td.old, -.bootstrap-datetimepicker-widget table td.new { - color: #777777; -} -.bootstrap-datetimepicker-widget table td.today { + +.pe-ul > li { position: relative; } -.bootstrap-datetimepicker-widget table td.today:before { - content: ''; - display: inline-block; - border: solid transparent; - border-width: 0 0 7px 7px; - border-bottom-color: #337ab7; - border-top-color: rgba(0, 0, 0, 0.2); + +.pe-li { position: absolute; - bottom: 4px; - right: 4px; + left: -2.142857142857143em; + width: 2.142857142857143em; + top: 0.14285714285714285em; + text-align: center; } -.bootstrap-datetimepicker-widget table td.active, -.bootstrap-datetimepicker-widget table td.active:hover { - background-color: #337ab7; - color: #fff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + +.pe-li.pe-lg { + left: -1.8571428571428572em; } -.bootstrap-datetimepicker-widget table td.active.today:before { - border-bottom-color: #fff; + +.pe-border { + padding: .2em .25em .15em; + border: solid 0.08em #eeeeee; + border-radius: .1em; } -.bootstrap-datetimepicker-widget table td.disabled, -.bootstrap-datetimepicker-widget table td.disabled:hover { - background: none; - color: #777777; - cursor: not-allowed; + +.pull-right { + float: right; } -.bootstrap-datetimepicker-widget table td span { + +.pe.pull-left { + float: left; + margin-right: .3em; + margin-left: .3em; +} + +.pe-spin { + -webkit-animation: spin 2s infinite linear; + animation: spin 2s infinite linear; +} + +@-webkit-keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} + +@keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} + +.pe-rotate-90 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} + +.pe-rotate-180 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.pe-rotate-270 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +.pe-flip-horizontal { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); + -webkit-transform: scale(-1, 1); + transform: scale(-1, 1); +} + +.pe-flip-vertical { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); + -webkit-transform: scale(1, -1); + transform: scale(1, -1); +} + +.pe-stack { + position: relative; display: inline-block; - width: 54px; - height: 54px; - line-height: 54px; - margin: 2px 1.5px; - cursor: pointer; - border-radius: 4px; + width: 2em; + height: 2em; + line-height: 2em; + vertical-align: middle; } -.bootstrap-datetimepicker-widget table td span:hover { - background: #eeeeee; -} -.bootstrap-datetimepicker-widget table td span.active { - background-color: #337ab7; - color: #fff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.bootstrap-datetimepicker-widget table td span.old { - color: #777777; -} -.bootstrap-datetimepicker-widget table td span.disabled, -.bootstrap-datetimepicker-widget table td span.disabled:hover { - background: none; - color: #777777; - cursor: not-allowed; -} -.bootstrap-datetimepicker-widget.usetwentyfour td.hour { - height: 27px; - line-height: 27px; -} -.bootstrap-datetimepicker-widget.wider { - width: 21em; -} -.bootstrap-datetimepicker-widget .datepicker-decades .decade { - line-height: 1.8em !important; -} -.input-group.date .input-group-addon { - cursor: pointer; -} -.sr-only { + +.pe-stack-1x, +.pe-stack-2x { position: absolute; - width: 1px; - height: 1px; - margin: -1px; - padding: 0; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; + left: 0; + width: 100%; + text-align: center; +} + +.pe-stack-1x { + line-height: inherit; +} + +.pe-stack-2x { + font-size: 2em; +} + +.pe-inverse { + color: #ffffff; +} + +/* Custom classes / mods - PIXEDEN */ +.pe-va { + vertical-align: middle; +} + +.pe-border { + border: solid 0.08em #eaeaea; +} + +.pe-7s-album:before { + content: "\E6AA"; +} + +.pe-7s-arc:before { + content: "\E6AB"; +} + +.pe-7s-back-2:before { + content: "\E6AC"; +} + +.pe-7s-bandaid:before { + content: "\E6AD"; +} + +.pe-7s-car:before { + content: "\E6AE"; +} + +.pe-7s-diamond:before { + content: "\E6AF"; +} + +.pe-7s-door-lock:before { + content: "\E6B0"; +} + +.pe-7s-eyedropper:before { + content: "\E6B1"; +} + +.pe-7s-female:before { + content: "\E6B2"; +} + +.pe-7s-gym:before { + content: "\E6B3"; +} + +.pe-7s-hammer:before { + content: "\E6B4"; +} + +.pe-7s-headphones:before { + content: "\E6B5"; +} + +.pe-7s-helm:before { + content: "\E6B6"; +} + +.pe-7s-hourglass:before { + content: "\E6B7"; +} + +.pe-7s-leaf:before { + content: "\E6B8"; +} + +.pe-7s-magic-wand:before { + content: "\E6B9"; +} + +.pe-7s-male:before { + content: "\E6BA"; +} + +.pe-7s-map-2:before { + content: "\E6BB"; +} + +.pe-7s-next-2:before { + content: "\E6BC"; +} + +.pe-7s-paint-bucket:before { + content: "\E6BD"; +} + +.pe-7s-pendrive:before { + content: "\E6BE"; +} + +.pe-7s-photo:before { + content: "\E6BF"; +} + +.pe-7s-piggy:before { + content: "\E6C0"; +} + +.pe-7s-plugin:before { + content: "\E6C1"; +} + +.pe-7s-refresh-2:before { + content: "\E6C2"; +} + +.pe-7s-rocket:before { + content: "\E6C3"; +} + +.pe-7s-settings:before { + content: "\E6C4"; +} + +.pe-7s-shield:before { + content: "\E6C5"; +} + +.pe-7s-smile:before { + content: "\E6C6"; +} + +.pe-7s-usb:before { + content: "\E6C7"; +} + +.pe-7s-vector:before { + content: "\E6C8"; +} + +.pe-7s-wine:before { + content: "\E6C9"; +} + +.pe-7s-cloud-upload:before { + content: "\E68A"; +} + +.pe-7s-cash:before { + content: "\E68C"; +} + +.pe-7s-close:before { + content: "\E680"; +} + +.pe-7s-bluetooth:before { + content: "\E68D"; +} + +.pe-7s-cloud-download:before { + content: "\E68B"; +} + +.pe-7s-way:before { + content: "\E68E"; +} + +.pe-7s-close-circle:before { + content: "\E681"; +} + +.pe-7s-id:before { + content: "\E68F"; +} + +.pe-7s-angle-up:before { + content: "\E682"; +} + +.pe-7s-wristwatch:before { + content: "\E690"; +} + +.pe-7s-angle-up-circle:before { + content: "\E683"; +} + +.pe-7s-world:before { + content: "\E691"; +} + +.pe-7s-angle-right:before { + content: "\E684"; +} + +.pe-7s-volume:before { + content: "\E692"; +} + +.pe-7s-angle-right-circle:before { + content: "\E685"; +} + +.pe-7s-users:before { + content: "\E693"; +} + +.pe-7s-angle-left:before { + content: "\E686"; +} + +.pe-7s-user-female:before { + content: "\E694"; +} + +.pe-7s-angle-left-circle:before { + content: "\E687"; +} + +.pe-7s-up-arrow:before { + content: "\E695"; +} + +.pe-7s-angle-down:before { + content: "\E688"; +} + +.pe-7s-switch:before { + content: "\E696"; +} + +.pe-7s-angle-down-circle:before { + content: "\E689"; +} + +.pe-7s-scissors:before { + content: "\E697"; +} + +.pe-7s-wallet:before { + content: "\E600"; +} + +.pe-7s-safe:before { + content: "\E698"; +} + +.pe-7s-volume2:before { + content: "\E601"; +} + +.pe-7s-volume1:before { + content: "\E602"; +} + +.pe-7s-voicemail:before { + content: "\E603"; +} + +.pe-7s-video:before { + content: "\E604"; +} + +.pe-7s-user:before { + content: "\E605"; +} + +.pe-7s-upload:before { + content: "\E606"; +} + +.pe-7s-unlock:before { + content: "\E607"; +} + +.pe-7s-umbrella:before { + content: "\E608"; +} + +.pe-7s-trash:before { + content: "\E609"; +} + +.pe-7s-tools:before { + content: "\E60A"; +} + +.pe-7s-timer:before { + content: "\E60B"; +} + +.pe-7s-ticket:before { + content: "\E60C"; +} + +.pe-7s-target:before { + content: "\E60D"; +} + +.pe-7s-sun:before { + content: "\E60E"; +} + +.pe-7s-study:before { + content: "\E60F"; +} + +.pe-7s-stopwatch:before { + content: "\E610"; +} + +.pe-7s-star:before { + content: "\E611"; +} + +.pe-7s-speaker:before { + content: "\E612"; +} + +.pe-7s-signal:before { + content: "\E613"; +} + +.pe-7s-shuffle:before { + content: "\E614"; +} + +.pe-7s-shopbag:before { + content: "\E615"; +} + +.pe-7s-share:before { + content: "\E616"; +} + +.pe-7s-server:before { + content: "\E617"; +} + +.pe-7s-search:before { + content: "\E618"; +} + +.pe-7s-film:before { + content: "\E6A5"; +} + +.pe-7s-science:before { + content: "\E619"; +} + +.pe-7s-disk:before { + content: "\E6A6"; +} + +.pe-7s-ribbon:before { + content: "\E61A"; +} + +.pe-7s-repeat:before { + content: "\E61B"; +} + +.pe-7s-refresh:before { + content: "\E61C"; +} + +.pe-7s-add-user:before { + content: "\E6A9"; +} + +.pe-7s-refresh-cloud:before { + content: "\E61D"; +} + +.pe-7s-paperclip:before { + content: "\E69C"; +} + +.pe-7s-radio:before { + content: "\E61E"; +} + +.pe-7s-note2:before { + content: "\E69D"; +} + +.pe-7s-print:before { + content: "\E61F"; +} + +.pe-7s-network:before { + content: "\E69E"; +} + +.pe-7s-prev:before { + content: "\E620"; +} + +.pe-7s-mute:before { + content: "\E69F"; +} + +.pe-7s-power:before { + content: "\E621"; +} + +.pe-7s-medal:before { + content: "\E6A0"; +} + +.pe-7s-portfolio:before { + content: "\E622"; +} + +.pe-7s-like2:before { + content: "\E6A1"; +} + +.pe-7s-plus:before { + content: "\E623"; +} + +.pe-7s-left-arrow:before { + content: "\E6A2"; +} + +.pe-7s-play:before { + content: "\E624"; +} + +.pe-7s-key:before { + content: "\E6A3"; +} + +.pe-7s-plane:before { + content: "\E625"; +} + +.pe-7s-joy:before { + content: "\E6A4"; +} + +.pe-7s-photo-gallery:before { + content: "\E626"; +} + +.pe-7s-pin:before { + content: "\E69B"; +} + +.pe-7s-phone:before { + content: "\E627"; +} + +.pe-7s-plug:before { + content: "\E69A"; +} + +.pe-7s-pen:before { + content: "\E628"; +} + +.pe-7s-right-arrow:before { + content: "\E699"; +} + +.pe-7s-paper-plane:before { + content: "\E629"; +} + +.pe-7s-delete-user:before { + content: "\E6A7"; +} + +.pe-7s-paint:before { + content: "\E62A"; +} + +.pe-7s-bottom-arrow:before { + content: "\E6A8"; +} + +.pe-7s-notebook:before { + content: "\E62B"; +} + +.pe-7s-note:before { + content: "\E62C"; +} + +.pe-7s-next:before { + content: "\E62D"; +} + +.pe-7s-news-paper:before { + content: "\E62E"; +} + +.pe-7s-musiclist:before { + content: "\E62F"; +} + +.pe-7s-music:before { + content: "\E630"; +} + +.pe-7s-mouse:before { + content: "\E631"; +} + +.pe-7s-more:before { + content: "\E632"; +} + +.pe-7s-moon:before { + content: "\E633"; +} + +.pe-7s-monitor:before { + content: "\E634"; +} + +.pe-7s-micro:before { + content: "\E635"; +} + +.pe-7s-menu:before { + content: "\E636"; +} + +.pe-7s-map:before { + content: "\E637"; +} + +.pe-7s-map-marker:before { + content: "\E638"; +} + +.pe-7s-mail:before { + content: "\E639"; +} + +.pe-7s-mail-open:before { + content: "\E63A"; +} + +.pe-7s-mail-open-file:before { + content: "\E63B"; +} + +.pe-7s-magnet:before { + content: "\E63C"; +} + +.pe-7s-loop:before { + content: "\E63D"; +} + +.pe-7s-look:before { + content: "\E63E"; +} + +.pe-7s-lock:before { + content: "\E63F"; +} + +.pe-7s-lintern:before { + content: "\E640"; +} + +.pe-7s-link:before { + content: "\E641"; +} + +.pe-7s-like:before { + content: "\E642"; +} + +.pe-7s-light:before { + content: "\E643"; +} + +.pe-7s-less:before { + content: "\E644"; +} + +.pe-7s-keypad:before { + content: "\E645"; +} + +.pe-7s-junk:before { + content: "\E646"; +} + +.pe-7s-info:before { + content: "\E647"; +} + +.pe-7s-home:before { + content: "\E648"; +} + +.pe-7s-help2:before { + content: "\E649"; +} + +.pe-7s-help1:before { + content: "\E64A"; +} + +.pe-7s-graph3:before { + content: "\E64B"; +} + +.pe-7s-graph2:before { + content: "\E64C"; +} + +.pe-7s-graph1:before { + content: "\E64D"; +} + +.pe-7s-graph:before { + content: "\E64E"; +} + +.pe-7s-global:before { + content: "\E64F"; +} + +.pe-7s-gleam:before { + content: "\E650"; +} + +.pe-7s-glasses:before { + content: "\E651"; +} + +.pe-7s-gift:before { + content: "\E652"; +} + +.pe-7s-folder:before { + content: "\E653"; +} + +.pe-7s-flag:before { + content: "\E654"; +} + +.pe-7s-filter:before { + content: "\E655"; +} + +.pe-7s-file:before { + content: "\E656"; +} + +.pe-7s-expand1:before { + content: "\E657"; +} + +.pe-7s-exapnd2:before { + content: "\E658"; +} + +.pe-7s-edit:before { + content: "\E659"; +} + +.pe-7s-drop:before { + content: "\E65A"; +} + +.pe-7s-drawer:before { + content: "\E65B"; +} + +.pe-7s-download:before { + content: "\E65C"; +} + +.pe-7s-display2:before { + content: "\E65D"; +} + +.pe-7s-display1:before { + content: "\E65E"; +} + +.pe-7s-diskette:before { + content: "\E65F"; +} + +.pe-7s-date:before { + content: "\E660"; +} + +.pe-7s-cup:before { + content: "\E661"; +} + +.pe-7s-culture:before { + content: "\E662"; +} + +.pe-7s-crop:before { + content: "\E663"; +} + +.pe-7s-credit:before { + content: "\E664"; +} + +.pe-7s-copy-file:before { + content: "\E665"; +} + +.pe-7s-config:before { + content: "\E666"; +} + +.pe-7s-compass:before { + content: "\E667"; +} + +.pe-7s-comment:before { + content: "\E668"; +} + +.pe-7s-coffee:before { + content: "\E669"; +} + +.pe-7s-cloud:before { + content: "\E66A"; +} + +.pe-7s-clock:before { + content: "\E66B"; +} + +.pe-7s-check:before { + content: "\E66C"; +} + +.pe-7s-chat:before { + content: "\E66D"; +} + +.pe-7s-cart:before { + content: "\E66E"; +} + +.pe-7s-camera:before { + content: "\E66F"; +} + +.pe-7s-call:before { + content: "\E670"; +} + +.pe-7s-calculator:before { + content: "\E671"; +} + +.pe-7s-browser:before { + content: "\E672"; +} + +.pe-7s-box2:before { + content: "\E673"; +} + +.pe-7s-box1:before { + content: "\E674"; +} + +.pe-7s-bookmarks:before { + content: "\E675"; +} + +.pe-7s-bicycle:before { + content: "\E676"; +} + +.pe-7s-bell:before { + content: "\E677"; +} + +.pe-7s-battery:before { + content: "\E678"; +} + +.pe-7s-ball:before { + content: "\E679"; +} + +.pe-7s-back:before { + content: "\E67A"; +} + +.pe-7s-attention:before { + content: "\E67B"; +} + +.pe-7s-anchor:before { + content: "\E67C"; +} + +.pe-7s-albums:before { + content: "\E67D"; +} + +.pe-7s-alarm:before { + content: "\E67E"; +} + +.pe-7s-airplay:before { + content: "\E67F"; } diff --git a/public/assets/admin/css/vendor.min.css.map b/public/assets/admin/css/vendor.min.css.map new file mode 100644 index 00000000..8501fab2 --- /dev/null +++ b/public/assets/admin/css/vendor.min.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./resources/sass/admin/paper-dashboard.scss","webpack:///./resources/sass/admin/paper/mixins/_chartist.scss","webpack:///./resources/sass/admin/paper/_typography.scss","webpack:///./resources/sass/admin/paper/_variables.scss","webpack:///./resources/sass/admin/paper/_misc.scss","webpack:///./resources/sass/admin/paper/mixins/_vendor-prefixes.scss","webpack:///./resources/sass/admin/paper/_sidebar-and-main-panel.scss","webpack:///./resources/sass/admin/paper/mixins/_sidebar.scss","webpack:///./resources/sass/admin/paper/_badges.scss","webpack:///./resources/sass/admin/paper/mixins/_badges.scss","webpack:///./resources/sass/admin/paper/_buttons.scss","webpack:///./resources/sass/admin/paper/mixins/_buttons.scss","webpack:///./resources/sass/admin/paper/mixins/_transparency.scss","webpack:///./resources/sass/admin/paper/_inputs.scss","webpack:///./resources/sass/admin/paper/mixins/_inputs.scss","webpack:///./resources/sass/admin/paper/_alerts.scss","webpack:///./resources/sass/admin/paper/_tables.scss","webpack:///./resources/sass/admin/paper/_checkbox-radio.scss","webpack:///./resources/sass/admin/paper/_navbars.scss","webpack:///./resources/sass/admin/paper/mixins/_navbars.scss","webpack:///./resources/sass/admin/paper/_footers.scss","webpack:///./resources/sass/admin/paper/_dropdown.scss","webpack:///./resources/sass/admin/paper/_cards.scss","webpack:///./resources/sass/admin/paper/_chartist.scss","webpack:///./resources/sass/admin/paper/_responsive.scss"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GCyFA,SACI,wBAAiC,CAErC,UACI,wBAA8B,CAElC,UACI,wBAAiC,CAErC,WACI,wBAAiC,CAErC,QACI,wBAAgC,CCtGpC,yEACI,kCACA,mCAEA,kDAAuD,CAG3D,4BACI,gBCmL4B,kBAjDG,CD9HnC,OACI,eCkKgC,CDhKpC,OACI,eCgKgC,CD9JpC,OACI,kBC8JkC,gBD3JlC,kBAAmB,CAEvB,cAHI,eCqK4B,CD9J/B,OAHG,gBCyJgC,iBDvJd,CAEtB,OACI,iBCqJiC,kBDlJjC,kBAAmB,CAEvB,cAJI,eC2J4B,CDnJ/B,OAHG,eCgJgC,wBD9IP,CAE7B,EACI,eC4I+B,iBAWC,CDnJpC,gPACI,cCdgC,gBA0JJ,iBAMI,CD7IpC,yDACI,aAAc,CAElB,iBACI,wBAAyB,CAE7B,WACI,iBAAkB,CAEtB,iBACI,iBAAkB,CAEtB,YACI,UCjCgC,CDmCpC,kCACI,aCpBgC,CDsBpC,4BACI,aCdgC,CDgBpC,kCACI,aCrB6C,CDuBjD,kCACI,aChBgC,CDkBpC,gCACI,aCd2C,CDgB/C,WACI,aAAc,CAElB,OACI,aC3CgC,CD6Cp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G/B,uBACE,WACA,cACA,UAAW,CAGb,qBACE,cACA,kBACA,MACA,MAAO,CAwML,gBA/NJ,cACA,kBACA,UAH6C,CAkOxC,uBA5NH,cACA,WACA,WACA,QACA,SACA,2BAA6B,CAG/B,sBACE,WACA,cACA,UAAW,CAGb,oBACE,cACA,kBACA,MACA,MAAO,CAwML,gBA/NJ,cACA,kBACA,UAH6C,CAkOxC,uBA5NH,cACA,WACA,WACA,QACA,SACA,kBAA6B,CAG/B,sBACE,WACA,cACA,UAAW,CAGb,oBACE,cACA,kBACA,MACA,MAAO,CAwML,mBA/NJ,cACA,kBACA,UAH6C,CAkOxC,0BA5NH,cACA,WACA,WACA,QACA,SACA,kBAA6B,CAG/B,yBACE,WACA,cACA,UAAW,CAGb,uBACE,cACA,kBACA,MACA,MAAO,CAwML,kBA/NJ,cACA,kBACA,UAH6C,CAkOxC,yBA5NH,cACA,WACA,WACA,QACA,SACA,2BAA6B,CAG/B,wBACE,WACA,cACA,UAAW,CAGb,sBACE,cACA,kBACA,MACA,MAAO,CAwML,gBA/NJ,cACA,kBACA,UAH6C,CAkOxC,uBA5NH,cACA,WACA,WACA,QACA,SACA,oBAA6B,CAG/B,sBACE,WACA,cACA,UAAW,CAGb,oBACE,cACA,kBACA,MACA,MAAO,CAwML,mBA/NJ,cACA,kBACA,UAH6C,CAkOxC,0BA5NH,cACA,WACA,WACA,QACA,SACA,2BAA6B,CAG/B,yBACE,WACA,cACA,UAAW,CAGb,uBACE,cACA,kBACA,MACA,MAAO,CAwML,gBA/NJ,cACA,kBACA,UAH6C,CAkOxC,uBA5NH,cACA,WACA,WACA,QACA,SACA,kBAA6B,CAG/B,sBACE,WACA,cACA,UAAW,CAGb,oBACE,cACA,kBACA,MACA,MAAO,CAwML,kBA/NJ,cACA,kBACA,UAH6C,CAkOxC,yBA5NH,cACA,WACA,WACA,QACA,SACA,qBAA6B,CAG/B,wBACE,WACA,cACA,UAAW,CAGb,sBACE,cACA,kBACA,MACA,MAAO,CAwML,kBA/NJ,cACA,kBACA,UAH6C,CAkOxC,yBA5NH,cACA,WACA,WACA,QACA,SACA,2BAA6B,CAG/B,wBACE,WACA,cACA,UAAW,CAGb,sBACE,cACA,kBACA,MACA,MAAO,CAwML,WA/NJ,cACA,kBACA,UAH6C,CAkOxC,kBA5NH,cACA,WACA,WACA,QACA,SACA,kBAA6B,CAG/B,iBACE,WACA,cACA,UAAW,CAGb,eACE,cACA,kBACA,MACA,MAAO,CAwML,gBA/NJ,cACA,kBACA,UAH6C,CAkOxC,uBA5NH,cACA,WACA,WACA,QACA,SACA,kBAA6B,CAG/B,sBACE,WACA,cACA,UAAW,CAGb,oBACE,cACA,kBACA,MACA,MAAO,CAwML,mBA/NJ,cACA,kBACA,UAH6C,CAkOxC,0BA5NH,cACA,WACA,WACA,QACA,SACA,oBAA6B,CAG/B,yBACE,WACA,cACA,UAAW,CAGb,uBACE,cACA,kBACA,MACA,MAAO,CAwML,kBA/NJ,cACA,kBACA,UAH6C,CAkOxC,yBA5NH,cACA,WACA,WACA,QACA,SACA,2BAA6B,CAG/B,wBACE,WACA,cACA,UAAW,CAGb,sBACE,cACA,kBACA,MACA,MAAO,CAwML,kBA/NJ,cACA,kBACA,UAH6C,CAkOxC,yBA5NH,cACA,WACA,WACA,QACA,SACA,kBAA6B,CAG/B,wBACE,WACA,cACA,UAAW,CAGb,sBACE,cACA,kBACA,MACA,MAAO,CCxBX,yBACI,QACI,eAAgB,CAEpB,aACI,gBACA,mBACA,iBACA,iBAAkB,CAEtB,oBACI,YAAa,CAEjB,uDAEI,yCAAuC,iCACvC,sGAAyG,8FAE7G,iEACI,gCAAqC,wBAGzC,qCACI,iCAOA,SAAU,CAEd,yEARI,mCACA,oCACA,WACA,qBACA,kBACA,UAAW,CAYd,oCARG,iCAOA,SAAU,CAQd,iGACI,WACA,SAAU,CAGd,uBAEQ,gBAAiB,CAIzB,+CAGS,aAAc,CAKvB,+BACI,sBAAwB,CAG5B,yBAGY,WAAY,CACf,qCAEG,iBA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eACI,YAAa,CAQhB,oDAHW,4BAA6B,CAKzC,kBACI,kCAAmC,CAEvC,WACI,YACA,WACA,eACA,UACA,MACA,UACA,YACA,WACA,aACA,iBAAkB,CAEtB,qCACI,eAAgB,CAEpB,0CACI,sCAAwC,CAE5C,qBACI,eAAgB,CAEpB,oBACI,UACA,qBACA,cACA,kBAAmB,CAEvB,wBACI,UAAW,CAGf,0BACI,qBAAuB,CAE3B,6BACI,aAAc,CAElB,wCACI,uBAAwB,CAE5B,eACI,UAAU,CAEd,iCACI,gBACA,WACA,WACA,aACA,6BACA,SACA,wBACA,eAAgB,CAGpB,qBACI,eACA,eAAgB,CAEpB,mDAIQ,4BAA6B,CAKrC,mBACI,eACA,UAAW,CACd,CAKL,yBACI,kBACI,kBACA,kBAAmB,CAEvB,kBACI,gBAAiB,CACpB,CAIL,yBACI,kBACI,WACA,mBACA,sBACA,kBACA,kBACA,4CACA,gCAAiC,CACpC","file":"/assets/admin/css/vendor.min.css","sourcesContent":["/*!\n\n =========================================================\n * Paper Dashboard - v1.1.2\n =========================================================\n\n * Product Page: http://www.creative-tim.com/product/paper-dashboard\n * Copyright 2017 Creative Tim (http://www.creative-tim.com)\n * Licensed under MIT (https://github.com/creativetimofficial/paper-dashboard/blob/master/LICENSE.md)\n\n =========================================================\n\n * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n */\n\n\n@import \"paper/variables\";\n@import \"paper/mixins\";\n\n@import \"paper/typography\";\n\n// Core CSS\n@import \"paper/misc\";\n@import \"paper/sidebar-and-main-panel\";\n@import \"paper/badges\";\n@import \"paper/buttons\";\n@import \"paper/inputs\";\n\n@import \"paper/alerts\";\n@import \"paper/tables\";\n\n@import \"paper/checkbox-radio\";\n@import \"paper/navbars\";\n@import \"paper/footers\";\n\n// Fancy Stuff\n\n@import \"paper/dropdown\";\n@import \"paper/cards\";\n@import \"paper/chartist\";\n@import \"paper/responsive\";\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper-dashboard.scss","// Scales for responsive SVG containers\n$ct-scales: ((1), (15/16), (8/9), (5/6), (4/5), (3/4), (2/3), (5/8), (1/1.618), (3/5), (9/16), (8/15), (1/2), (2/5), (3/8), (1/3), (1/4)) !default;\n$ct-scales-names: (ct-square, ct-minor-second, ct-major-second, ct-minor-third, ct-major-third, ct-perfect-fourth, ct-perfect-fifth, ct-minor-sixth, ct-golden-section, ct-major-sixth, ct-minor-seventh, ct-major-seventh, ct-octave, ct-major-tenth, ct-major-eleventh, ct-major-twelfth, ct-double-octave) !default;\n\n// Class names to be used when generating CSS\n$ct-class-chart: ct-chart !default;\n$ct-class-chart-line: ct-chart-line !default;\n$ct-class-chart-bar: ct-chart-bar !default;\n$ct-class-horizontal-bars: ct-horizontal-bars !default;\n$ct-class-chart-pie: ct-chart-pie !default;\n$ct-class-chart-donut: ct-chart-donut !default;\n$ct-class-label: ct-label !default;\n$ct-class-series: ct-series !default;\n$ct-class-line: ct-line !default;\n$ct-class-point: ct-point !default;\n$ct-class-area: ct-area !default;\n$ct-class-bar: ct-bar !default;\n$ct-class-slice-pie: ct-slice-pie !default;\n$ct-class-slice-donut: ct-slice-donut !default;\n$ct-class-grid: ct-grid !default;\n$ct-class-vertical: ct-vertical !default;\n$ct-class-horizontal: ct-horizontal !default;\n$ct-class-start: ct-start !default;\n$ct-class-end: ct-end !default;\n\n// Container ratio\n$ct-container-ratio: (1/1.618) !default;\n\n// Text styles for labels\n$ct-text-color: rgba(0, 0, 0, 0.4) !default;\n$ct-text-size: 0.9em !default;\n$ct-text-align: flex-start !default;\n$ct-text-justify: flex-start !default;\n$ct-text-line-height: 1;\n\n// Grid styles\n$ct-grid-color: rgba(0, 0, 0, 0.2) !default;\n$ct-grid-dasharray: 2px !default;\n$ct-grid-width: 1px !default;\n\n// Line chart properties\n$ct-line-width: 4px !default;\n$ct-line-dasharray: false !default;\n$ct-point-size: 10px !default;\n// Line chart point, can be either round or square\n$ct-point-shape: round !default;\n// Area fill transparency between 0 and 1\n$ct-area-opacity: 0.7 !default;\n\n// Bar chart bar width\n$ct-bar-width: 10px !default;\n\n// Donut width (If donut width is to big it can cause issues where the shape gets distorted)\n$ct-donut-width: 60px !default;\n\n// If set to true it will include the default classes and generate CSS output. If you're planning to use the mixins you\n// should set this property to false\n$ct-include-classes: true !default;\n\n// If this is set to true the CSS will contain colored series. You can extend or change the color with the\n// properties below\n$ct-include-colored-series: $ct-include-classes !default;\n\n// If set to true this will include all responsive container variations using the scales defined at the top of the script\n$ct-include-alternative-responsive-containers: $ct-include-classes !default;\n\n// Series names and colors. This can be extended or customized as desired. Just add more series and colors.\n$ct-series-names: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !default;\n$ct-series-colors: (\n $info-color,\n $warning-color,\n $danger-color,\n $success-color,\n $primary-color,\n rgba($info-color,.8),\n rgba($success-color,.8),\n rgba($warning-color,.8),\n rgba($danger-color,.8),\n rgba($primary-color,.8),\n rgba($info-color,.6),\n rgba($success-color,.6),\n rgba($warning-color,.6),\n rgba($danger-color,.6),\n rgba($primary-color,.6)\n \n) !default;\n\n// Paper Kit Colors\n\n.ct-blue{\n stroke: $primary-color !important;\n}\n.ct-azure{\n stroke: $info-color !important;\n}\n.ct-green{\n stroke: $success-color !important;\n}\n.ct-orange{\n stroke: $warning-color !important;\n}\n.ct-red{\n stroke: $danger-color !important;\n}\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/mixins/_chartist.scss","h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, .navbar, .brand, a, .td-name, td{\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n //font-family: 'Roboto', \"Helvetica\", Arial, sans-serif;\n font-family: \"Roboto\",\"Helvetica Neue\",Arial,sans-serif;\n}\n\nh1, .h1, h2, .h2, h3, .h3, h4, .h4{\n font-weight: $font-weight-normal;\n margin: $margin-large-vertical 0 $margin-base-vertical;\n}\n\nh1, .h1 {\n font-size: $font-size-h1;\n}\nh2, .h2{\n font-size: $font-size-h2;\n}\nh3, .h3{\n font-size: $font-size-h3;\n line-height: 1.4;\n font-weight: $font-weight-light;\n margin: 20px 0 10px;\n}\nh4, .h4{\n font-size: $font-size-h4;\n font-weight: $font-weight-light;\n line-height: 1.2em;\n}\nh5, .h5 {\n font-size: $font-size-h5;\n font-weight: $font-weight-light;\n line-height: 1.4em;\n margin-bottom: 15px;\n}\nh6, .h6{\n font-size: $font-size-h6;\n font-weight: $font-weight-light;\n text-transform: uppercase;\n}\np{\n font-size: $font-paragraph;\n line-height: $line-height-general;\n}\n\nh1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {\n color: $dark-gray;\n font-weight: $font-weight-light;\n line-height: $line-height-general;\n}\n\nh1 small, h2 small, h3 small, h1 .small, h2 .small, h3 .small {\n font-size: 60%;\n}\n.title-uppercase{\n text-transform: uppercase;\n}\nblockquote{\n font-style: italic;\n}\nblockquote small{\n font-style: normal;\n}\n.text-muted{\n color: $medium-gray;\n}\n.text-primary, .text-primary:hover{\n color: $primary-states-color;\n}\n.text-info, .text-info:hover{\n color: $info-states-color;\n}\n.text-success, .text-success:hover{\n color: $success-states-color;\n}\n.text-warning, .text-warning:hover{\n color: $warning-states-color;\n}\n.text-danger, .text-danger:hover{\n color: $danger-states-color;\n}\n.glyphicon{\n line-height: 1;\n}\nstrong{\n color: $default-states-color;\n}\n.icon-primary{\n color: $primary-color;\n}\n.icon-info{\n color: $info-color;\n}\n.icon-success{\n color: $success-color;\n}\n.icon-warning{\n color: $warning-color;\n}\n.icon-danger{\n color: $danger-color;\n}\n.chart-legend{\n .text-primary, .text-primary:hover{\n color: $primary-color;\n }\n .text-info, .text-info:hover{\n color: $info-color;\n }\n .text-success, .text-success:hover{\n color: $success-color;\n }\n .text-warning, .text-warning:hover{\n color: $warning-color;\n }\n .text-danger, .text-danger:hover{\n color: $danger-color;\n }\n}\n\n.description,\n.card-description,\n.footer-big p {\n color: $dark-gray;\n font-weight: $font-weight-light;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_typography.scss","$phpvms-blue: #067ec1 !default;\n\n$font-color: #4b4743 !default;\n$fill-font-color: rgba(182, 182, 182, 0.7);\n\n$none: 0 !default;\n$border-thin: 1px !default;\n$border-thick: 2px !default;\n\n$white-color: #FFFFFF !default;\n$white-bg: #FFFFFF !default;\n\n$smoke-bg: #F5F5F5 !default;\n$pale-bg: #FFFCF5 !default;\n$medium-pale-bg: #F1EAE0 !default;\n\n$table-line-color: #CCC5B9 !default;\n$muted-color: #a49e93 !default;\n\n$black-bg: rgba(30,30,30,.97) !default;\n\n$black-color: #333333 !default;\n$black-hr: #444444 !default;\n\n$white-background-color: #FFFFFF !default;\n//$black-background-color: #212120 !default;\n//$black-background-color: #1a2932 !default;\n$black-background-color: #0c1419 !default;\n\n\n$light-gray: #E3E3E3 !default;\n$medium-gray: #DDDDDD !default;\n$dark-gray: #9A9A9A !default;\n\n$gray-input-bg: #fffcf5 !default;\n$danger-input-bg: #fffcf5 !default;\n$success-input-bg: #fffcf5 !default;\n$other-medium-gray: #A49E93 !default;\n$transparent-bg: transparent !default;\n\n$default-color: #2f2d2a !default; //#66615B !default;\n$default-bg: #66615B !default;\n$default-states-color: #403D39 !default;\n\n//$primary-color: #7A9E9F !default;\n$primary-color: #f96332 !default;\n$primary-bg: darken($primary-color, 5%) !default;\n$primary-states-color: #427C89 !default;\n\n//$success-color: #7AC29A !default;\n$success-color: #18ce0f !default;\n$success-bg: darken($success-color, 5%) !default;\n$success-states-color: darken($success-color, 5%) !default;\n\n$info-color: #2CA8FF !default;\n$info-bg: #109CFF !default;\n$info-states-color: #3091B2 !default;\n\n$warning-color: #F3BB45 !default;\n$warning-bg: darken($warning-color, 5%) !default;\n$warning-states-color: #BB992F !default;\n\n\n$danger-color: #FF3636 !default;\n$danger-bg: darken($danger-color, 5%) !default;\n$danger-states-color: darken($danger-color, 5%) !default;\n\n/*\n$default-color: #B8B8B8 !default;\n$default-states-color: darken($default-color, 5%) !default;\n$default-color-opacity: rgba(182, 182, 182, .6) !default;\n\n$primary-color: #f96332 !default;\n$primary-states-color: darken($primary-color, 5%) !default;\n$primary-color-opacity: rgba(249, 99, 50, .3) !default;\n$primary-color-alert: rgba(249, 99, 50, .8) !default;\n\n$success-color: #18ce0f !default;\n$success-states-color: darken($success-color, 5%) !default;\n$success-color-opacity: rgba(24, 206, 15, .3) !default;\n$success-color-alert: rgba(24, 206, 15, .8) !default;\n\n$info-color: #2CA8FF !default;\n$info-states-color: #109CFF !default;\n$info-color-opacity: rgba(44, 168, 255, .3) !default;\n$info-color-alert: rgba(44, 168, 255, .8) !default;\n\n$warning-color: #FFB236 !default;\n$warning-states-color: darken($warning-color, 5%) !default;\n$warning-color-opacity: rgba(255, 178, 54, .3) !default;\n$warning-color-alert: rgba(255, 178, 54, .8) !default;\n\n$danger-color: #FF3636 !default;\n$danger-states-color: darken($danger-color, 5%) !default;\n$danger-color-opacity: rgba(255, 54, 54, .3) !default;\n$danger-color-alert: rgba(255, 54, 54, .8) !default;\n*/\n\n$link-disabled-color: #666666 !default;\n\n\n/* light colors - used for select dropdown */\n\n$light-blue: rgba($primary-color, .2);\n$light-azure: rgba($info-color, .2);\n$light-green: rgba($success-color, .2);\n$light-orange: rgba($warning-color, .2);\n$light-red: rgba($danger-color, .2);\n\n\n//== Components\n//\n$padding-base-vertical: 7px !default;\n$padding-base-horizontal: 18px !default;\n\n$padding-round-vertical: 9px !default;\n$padding-round-horizontal: 18px !default;\n\n$padding-simple-vertical: 10px !default;\n$padding-simple-horizontal: 18px !default;\n\n$padding-large-vertical: 11px !default;\n$padding-large-horizontal: 30px !default;\n\n$padding-small-vertical: 4px !default;\n$padding-small-horizontal: 10px !default;\n\n$padding-xs-vertical: 2px !default;\n$padding-xs-horizontal: 5px !default;\n\n$padding-label-vertical: 2px !default;\n$padding-label-horizontal: 12px !default;\n\n// padding for links inside dropdown menu\n$padding-dropdown-vertical: 10px !default;\n$padding-dropdown-horizontal: 15px !default;\n\n$margin-large-vertical: 30px !default;\n$margin-base-vertical: 15px !default;\n\n// border radius for buttons\n$border-radius-btn-small: 26px !default;\n$border-radius-btn-base: 20px !default;\n$border-radius-btn-large: 50px !default;\n\n\n// Cristina: am schimbat aici si s-au modificat inputurile\n$margin-bottom: 0 0 10px 0 !default;\n$border: 1px solid !default;\n$border-radius-extra-small: 0.125rem !default;\n$border-radius-tiny: 0.1875rem !default;\n$border-radius-small: 3px !default;\n$border-radius-base: 4px !default;\n$border-radius-large: 6px !default;\n$border-radius-extreme: 6px !default;\n\n$border-radius-large-top: $border-radius-large $border-radius-large 0 0 !default;\n$border-radius-large-bottom: 0 0 $border-radius-large $border-radius-large !default;\n\n$btn-round-radius: 30px !default;\n\n$height-base: 40px !default;\n\n$btn-icon-font-size: 24px !default;\n$btn-icon-size: 56px !default;\n$btn-icon-size-mini: 36px !default;\n$btn-icon-font-size-mini: 14px !default;\n\n$font-size-base: 14px !default;\n$font-size-xs: 12px !default;\n$font-size-small: 12px !default;\n$font-size-medium: 16px !default;\n$font-size-large: 18px !default;\n$font-size-large-navbar: 20px !default;\n\n$font-size-h1: 3.2em !default;\n$font-size-h2: 2.6em !default;\n$font-size-h3: 1.825em !default;\n$font-size-h4: 1.5em !default;\n$font-size-h5: 1.25em !default;\n$font-size-h6: 0.9em !default;\n$font-paragraph: 16px !default;\n$font-size-navbar: 16px !default;\n$font-size-small: 12px !default;\n$font-size-mini: 0.7142em !default;\n\n$font-weight-light: 300 !default;\n$font-weight-normal: 400 !default;\n$font-weight-semi: 500 !default;\n$font-weight-bold: 600 !default;\n\n$line-height-small: 20px !default;\n$line-height-general: 1.4em !default;\n$line-height: 36px !default;\n$line-height-lg: 54px !default;\n\n\n$border-radius-top: 10px 10px 0 0 !default;\n$border-radius-bottom: 0 0 10px 10px !default;\n\n$dropdown-shadow: 0 2px rgba(17, 16, 15, 0.1), 0 2px 10px rgba(17, 16, 15, 0.1);\n\n$general-transition-time: 300ms !default;\n\n$slow-transition-time: 300ms !default;\n$dropdown-coordinates: 29px -50px !default;\n\n$fast-transition-time: 150ms !default;\n$select-coordinates: 50% -40px !default;\n\n$transition-linear: linear !default;\n$transition-bezier: cubic-bezier(0.34, 1.61, 0.7, 1) !default;\n$transition-ease: ease 0s;\n\n$navbar-padding-a: 10px 15px;\n$navbar-margin-a: 15px 0px;\n\n$padding-social-a: 10px 5px;\n\n$navbar-margin-a-btn: 15px 3px;\n$navbar-margin-a-btn-round: 16px 3px;\n\n\n$navbar-padding-brand: 20px 15px;\n$navbar-margin-brand: 5px 0px;\n\n$navbar-margin-brand-icons: 12px auto;\n\n$navbar-margin-btn: 15px 3px;\n\n$height-icon:\t\t\t\t\t 64px !default;\n$width-icon:\t\t\t\t\t 64px !default;\n$padding-icon:\t\t\t\t\t 12px !default;\n$border-radius-icon:\t\t 15px !default;\n\n\n$white-navbar: rgba(#FFFFFF, .96);\n$blue-navbar: rgba(#34ACDC, .98);\n$azure-navbar: rgba(#5BCAFF, .98);\n$green-navbar: rgba(#4CD964, .98);\n$orange-navbar: rgba(#FF9500, .98);\n$red-navbar: rgba(#FF4C40, .98);\n\n$bg-nude: #ebeff2 !default;\n$bg-primary: #8ECFD5 !default;\n$bg-info: #7CE4FE !default;\n$bg-success: #8EF3C5 !default;\n$bg-warning: #FFE28C !default;\n$bg-danger: #FF4C40 !default;\n\n$topbar-x: topbar-x !default;\n$topbar-back: topbar-back !default;\n$bottombar-x: bottombar-x !default;\n$bottombar-back: bottombar-back !default;\n\n$transition-linear: linear !default;\n$transition-bezier: cubic-bezier(0.34, 1.61, 0.7, 1) !default;\n$transition-ease: ease 0s;\n$transition-ease-in: ease-in !default;\n$transition-ease-out: ease-out !default;\n\n$general-transition-time: 300ms !default;\n\n$slow-transition-time: 370ms !default;\n$dropdown-coordinates: 29px -50px !default;\n\n$fast-transition-time: 150ms !default;\n\n$ultra-fast-transition-time: 100ms !default;\n\n$select-coordinates: 50% -40px !default;\n\n$padding-zero: 0px !default;\n\n$sidebar-width: calc(100% - 260px) !default;\n$medium-dark-gray: #AAAAAA !default;\n\n//variables used in cards\n$card-black-color: #252422 !default;\n$card-muted-color: #ccc5b9 !default;\n\n\n//variables used for sidebar\n$sidebar-background-dark-blue: #506367;\n\n$sidebar-background-blue: #b8d8d8 !default;\n$sidebar-font-blue: #506568 !default;\n$sidebar-subtitle-blue: #7a9e9f !default;\n\n$sidebar-background-green: #d5e5a3 !default;\n$sidebar-font-green: #60773d !default;\n$sidebar-subtitle-green: #92ac56 !default;\n\n$sidebar-background-yellow: #ffe28c !default;\n$sidebar-font-yellow: #b25825 !default;\n$sidebar-subtitle-yellow: #d88715 !default;\n\n$sidebar-background-brown: #d6c1ab !default;\n$sidebar-font-brown: #75442e !default;\n$sidebar-subtitle-brown: #a47e65 !default;\n\n$sidebar-background-purple: #baa9ba !default;\n$sidebar-font-purple: #3a283d !default;\n$sidebar-subtitle-purple: #5a283d !default;\n\n$sidebar-background-orange: #ff8f5e !default;\n$sidebar-font-orange: #772510 !default;\n$sidebar-subtitle-orange: #e95e37 !default;\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_variables.scss","/* General overwrite */\nbody{\n color: $font-color;\n font-size: $font-size-base;\n font-family: 'Muli', Arial, sans-serif;\n .wrapper{\n min-height: 100vh;\n position: relative;\n }\n}\na{\n color: $info-color;\n\n &:hover, &:focus{\n color: $info-states-color;\n text-decoration: none;\n }\n}\n\na:focus, a:active,\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner,\nselect::-moz-focus-inner,\ninput[type=\"file\"] > input[type=\"button\"]::-moz-focus-inner{\n outline:0 !important;\n}\n.ui-slider-handle:focus,\n.navbar-toggle,\ninput:focus,\nbutton:focus {\n outline : 0 !important;\n -webkit-box-shadow: inset 0 -2px 0 #2196f3;\n box-shadow: inset 0 -2px 0 #2196f3;\n}\n\n/* Animations */\n.form-control,\n.input-group-addon,\n.tagsinput,\n.navbar,\n.navbar .alert{\n @include transition($general-transition-time, $transition-linear);\n}\n\n.sidebar .nav a,\n.table > tbody > tr .td-actions .btn{\n @include transition($fast-transition-time, $transition-ease-in);\n}\n\n.btn{\n @include transition($ultra-fast-transition-time, $transition-ease-in);\n}\n.fa{\n width: 21px;\n text-align: center;\n}\n.fa-base{\n font-size: 1.25em !important;\n}\n\n.margin-top{\n margin-top: 50px;\n}\nhr{\n border-color: $medium-pale-bg;\n}\n.wrapper{\n position: relative;\n top: 0;\n height: 100vh;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_misc.scss","// User select\n// For selecting text on the page\n\n@mixin user-select($select) {\n -webkit-user-select: $select;\n -moz-user-select: $select;\n -ms-user-select: $select; // IE10+\n user-select: $select;\n}\n\n@mixin box-shadow($shadow...) {\n -webkit-box-shadow: $shadow; // iOS <4.3 & Android <4.1\n box-shadow: $shadow;\n}\n\n// Box sizing\n@mixin box-sizing($boxmodel) {\n -webkit-box-sizing: $boxmodel;\n -moz-box-sizing: $boxmodel;\n box-sizing: $boxmodel;\n}\n\n\n@mixin transition($time, $type){\n -webkit-transition: all $time $type;\n -moz-transition: all $time $type;\n -o-transition: all $time $type;\n -ms-transition: all $time $type;\n transition: all $time $type;\n}\n\n@mixin transition-none(){\n -webkit-transition: none;\n -moz-transition: none;\n -o-transition: none;\n -ms-transition: none;\n transition: none;\n}\n\n@mixin transform-scale($value){\n -webkit-transform: scale($value);\n -moz-transform: scale($value);\n -o-transform: scale($value);\n -ms-transform: scale($value);\n transform: scale($value);\n}\n\n@mixin transform-translate-x($value){\n -webkit-transform: translate3d($value, 0, 0);\n -moz-transform: translate3d($value, 0, 0);\n -o-transform: translate3d($value, 0, 0);\n -ms-transform: translate3d($value, 0, 0);\n transform: translate3d($value, 0, 0);\n}\n\n@mixin transform-origin($coordinates){\n -webkit-transform-origin: $coordinates;\n -moz-transform-origin: $coordinates;\n -o-transform-origin: $coordinates;\n -ms-transform-origin: $coordinates;\n transform-origin: $coordinates;\n}\n\n@mixin icon-gradient ($top-color, $bottom-color){\n background: $top-color;\n background: -moz-linear-gradient(top, $top-color 0%, $bottom-color 100%);\n background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$top-color), color-stop(100%,$bottom-color));\n background: -webkit-linear-gradient(top, $top-color 0%,$bottom-color 100%);\n background: -o-linear-gradient(top, $top-color 0%,$bottom-color 100%);\n background: -ms-linear-gradient(top, $top-color 0%,$bottom-color 100%);\n background: linear-gradient(to bottom, $top-color 0%,$bottom-color 100%);\n background-size: 150% 150%;\n}\n\n@mixin radial-gradient($extern-color, $center-color){\n background: $extern-color;\n background: -moz-radial-gradient(center, ellipse cover, $center-color 0%, $extern-color 100%); /* FF3.6+ */\n background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,$center-color), color-stop(100%,$extern-color)); /* Chrome,Safari4+ */\n background: -webkit-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* Chrome10+,Safari5.1+ */\n background: -o-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* Opera 12+ */\n background: -ms-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* IE10+ */\n background: radial-gradient(ellipse at center, $center-color 0%,$extern-color 100%); /* W3C */\n background-size: 550% 450%;\n}\n\n@mixin vertical-align {\n position: relative;\n top: 50%;\n -webkit-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n\n@mixin rotate-180(){\n filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n@mixin bar-animation($type){\n -webkit-animation: $type 500ms linear 0s;\n -moz-animation: $type 500ms linear 0s;\n animation: $type 500ms 0s;\n -webkit-animation-fill-mode: forwards;\n -moz-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n}\n\n@mixin topbar-x-rotation(){\n @keyframes topbar-x {\n 0% {top: 0px; transform: rotate(0deg); }\n 45% {top: 6px; transform: rotate(145deg); }\n 75% {transform: rotate(130deg); }\n 100% {transform: rotate(135deg); }\n }\n @-webkit-keyframes topbar-x {\n 0% {top: 0px; -webkit-transform: rotate(0deg); }\n 45% {top: 6px; -webkit-transform: rotate(145deg); }\n 75% {-webkit-transform: rotate(130deg); }\n 100% { -webkit-transform: rotate(135deg); }\n }\n @-moz-keyframes topbar-x {\n 0% {top: 0px; -moz-transform: rotate(0deg); }\n 45% {top: 6px; -moz-transform: rotate(145deg); }\n 75% {-moz-transform: rotate(130deg); }\n 100% { -moz-transform: rotate(135deg); }\n }\n}\n\n@mixin topbar-back-rotation(){\n @keyframes topbar-back {\n 0% { top: 6px; transform: rotate(135deg); }\n 45% { transform: rotate(-10deg); }\n 75% { transform: rotate(5deg); }\n 100% { top: 0px; transform: rotate(0); }\n }\n \n @-webkit-keyframes topbar-back {\n 0% { top: 6px; -webkit-transform: rotate(135deg); }\n 45% { -webkit-transform: rotate(-10deg); }\n 75% { -webkit-transform: rotate(5deg); }\n 100% { top: 0px; -webkit-transform: rotate(0); }\n }\n \n @-moz-keyframes topbar-back {\n 0% { top: 6px; -moz-transform: rotate(135deg); }\n 45% { -moz-transform: rotate(-10deg); }\n 75% { -moz-transform: rotate(5deg); }\n 100% { top: 0px; -moz-transform: rotate(0); }\n }\n}\n\n@mixin bottombar-x-rotation(){\n @keyframes bottombar-x {\n 0% {bottom: 0px; transform: rotate(0deg);}\n 45% {bottom: 6px; transform: rotate(-145deg);}\n 75% {transform: rotate(-130deg);}\n 100% {transform: rotate(-135deg);}\n }\n @-webkit-keyframes bottombar-x {\n 0% {bottom: 0px; -webkit-transform: rotate(0deg);}\n 45% {bottom: 6px; -webkit-transform: rotate(-145deg);}\n 75% {-webkit-transform: rotate(-130deg);}\n 100% {-webkit-transform: rotate(-135deg);}\n }\n @-moz-keyframes bottombar-x {\n 0% {bottom: 0px; -moz-transform: rotate(0deg);}\n 45% {bottom: 6px; -moz-transform: rotate(-145deg);}\n 75% {-moz-transform: rotate(-130deg);}\n 100% {-moz-transform: rotate(-135deg);}\n }\n}\n\n@mixin bottombar-back-rotation{\n @keyframes bottombar-back {\n 0% { bottom: 6px;transform: rotate(-135deg);}\n 45% { transform: rotate(10deg);}\n 75% { transform: rotate(-5deg);}\n 100% { bottom: 0px;transform: rotate(0);}\n }\n @-webkit-keyframes bottombar-back {\n 0% {bottom: 6px;-webkit-transform: rotate(-135deg);}\n 45% {-webkit-transform: rotate(10deg);}\n 75% {-webkit-transform: rotate(-5deg);}\n 100% {bottom: 0px;-webkit-transform: rotate(0);}\n }\n @-moz-keyframes bottombar-back {\n 0% {bottom: 6px;-moz-transform: rotate(-135deg);}\n 45% {-moz-transform: rotate(10deg);}\n 75% {-moz-transform: rotate(-5deg);}\n 100% {bottom: 0px;-moz-transform: rotate(0);}\n }\n\n}\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/mixins/_vendor-prefixes.scss",".sidebar{\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n z-index: 1;\n background-size: cover;\n background-position: center center;\n .sidebar-wrapper{\n position: relative;\n max-height: none;\n min-height: 100%;\n overflow: hidden;\n width: 260px;\n z-index: 4;\n box-shadow: inset -1px 0px 0px 0px $medium-gray;\n }\n .sidebar-background{\n position: absolute;\n z-index: 1;\n height: 100%;\n width: 100%;\n display: block;\n top: 0;\n left: 0;\n background-size: cover;\n background-position: center center;\n }\n\n}\n.sidebar,\n.off-canvas-sidebar{\n width: 260px;\n display: block;\n font-weight: 200;\n\n .logo{\n padding: 18px 0px;\n margin: 0 20px;\n\n p{\n float: left;\n font-size: 20px;\n margin: 10px 10px;\n line-height: 20px;\n }\n\n .simple-text{\n text-transform: uppercase;\n padding: $padding-small-vertical $padding-zero;\n display: block;\n font-size: $font-size-large;\n text-align: center;\n font-weight: $font-weight-normal;\n line-height: 30px;\n }\n }\n\n .nav{\n margin-top: 20px;\n\n li{\n > a{\n //margin: 10px 0px;\n padding-left: 25px;\n padding-right: 25px;\n\n opacity: .7;\n }\n\n &:hover > a{\n opacity: 1;\n }\n\n &.active > a{\n color: $primary-color;\n opacity: 1;\n\n &:before{\n border-right: 17px solid $medium-gray;\n border-top: 17px solid transparent;\n border-bottom: 17px solid transparent;\n content: \"\";\n display: inline-block;\n position: absolute;\n right: 0;\n top: 8px;\n }\n\n &:after{\n border-right: 17px solid $bg-nude;\n border-top: 17px solid transparent;\n border-bottom: 17px solid transparent;\n content: \"\";\n display: inline-block;\n position: absolute;\n right: -1px;\n top: 8px;\n }\n }\n\n h5 {\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, 'Helvetica Neue', Arial, sans-serif;\n padding-left: 30px;\n }\n\n > a.menu {\n padding: 0px;\n padding-top: 10px;\n }\n\n ul {\n margin-top: 0px;\n }\n }\n\n p{\n margin: 0;\n line-height: 30px;\n font-size: 12px;\n font-weight: 600;\n text-transform: uppercase;\n }\n\n i{\n font-size: 24px;\n float: left;\n margin-right: 15px;\n line-height: 30px;\n width: 30px;\n text-align: center;\n }\n }\n\n &:after,\n &:before{\n display: block;\n content: \"\";\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n z-index: 2;\n background: $white-background-color;\n }\n\n &,\n &[data-background-color=\"white\"]{\n @include sidebar-background-color($white-background-color, $default-color);\n }\n &[data-background-color=\"black\"]{\n @include sidebar-background-color($black-background-color, $white-color);\n }\n\n &[data-active-color=\"primary\"]{\n @include sidebar-active-color($primary-color);\n }\n &[data-active-color=\"info\"]{\n @include sidebar-active-color($info-color);\n }\n &[data-active-color=\"success\"]{\n @include sidebar-active-color($success-color);\n }\n &[data-active-color=\"warning\"]{\n @include sidebar-active-color($warning-color);\n }\n &[data-active-color=\"danger\"]{\n @include sidebar-active-color($danger-color);\n }\n\n}\n\n.main-panel{\n background-color: $bg-nude;\n position: relative;\n z-index: 2;\n float: right;\n width: $sidebar-width;\n min-height: 100%;\n\n > .content{\n padding: 30px 15px;\n min-height: calc(100% - 123px);\n }\n\n > .footer{\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n }\n\n .navbar{\n margin-bottom: 0;\n }\n}\n\n.sidebar,\n.main-panel{\n overflow: auto;\n max-height: 100%;\n height: 100%;\n -webkit-transition-property: top,bottom;\n transition-property: top,bottom;\n -webkit-transition-duration: .2s,.2s;\n transition-duration: .2s,.2s;\n -webkit-transition-timing-function: linear,linear;\n transition-timing-function: linear,linear;\n -webkit-overflow-scrolling: touch;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_sidebar-and-main-panel.scss","@mixin sidebar-background-color($background-color, $font-color){\n &:after,\n &:before{\n\t background-color: $background-color;\n\t}\n\n .logo{\n border-bottom: 1px solid rgba($font-color,.3);\n\n p{\n color: $font-color;\n }\n\n .simple-text{\n color: $font-color;\n }\n }\n\n .nav{\n li:not(.active){\n > a{\n color: $font-color;\n }\n }\n .divider{\n background-color: rgba($font-color,.2);\n }\n\n }\n\n}\n\n@mixin sidebar-active-color($font-color){\n .nav{\n li{\n &.active > a{\n color: $font-color;\n opacity: 1;\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/mixins/_sidebar.scss","/* badges */\n.badge {\n border-radius: 8px;\n padding: 4px 8px;\n text-transform: uppercase;\n font-size: $font-size-mini;\n line-height: 12px;\n background-color: $transparent-bg;\n border: $border;\n margin-bottom: 5px;\n border-radius: $border-radius-extreme;\n}\n\n.badge-icon {\n padding: 0.4em 0.55em;\n i {\n font-size: 0.8em;\n }\n}\n\n.badge-default {\n @include badge-color($default-color);\n}\n\n.badge-primary {\n @include badge-color($primary-color);\n}\n\n.badge-info {\n @include badge-color($info-color);\n}\n\n.badge-success {\n @include badge-color($success-color);\n}\n\n.badge-warning {\n @include badge-color($warning-color);\n}\n\n.badge-danger {\n @include badge-color($danger-color);\n}\n\n.badge-neutral {\n @include badge-color($white-color);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_badges.scss","@mixin badge-color($color) {\n border-color: $color;\n color: $color;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/mixins/_badges.scss",".btn,\n.navbar .navbar-nav > li > a.btn{\n //border-radius: $border-radius-btn-base;\n box-sizing: border-box;\n //border-width: $border-thick;\n background-color: $transparent-bg;\n font-size: $font-size-base;\n font-weight: $font-weight-semi;\n\n margin-top: 5px;\n padding: $padding-small-vertical $padding-base-horizontal;\n\n @include btn-styles($default-color, $default-states-color);\n @include transition($fast-transition-time, linear);\n\n &:hover,\n &:focus{\n outline: 0 !important;\n }\n &:active,\n &.active,\n .open > &.dropdown-toggle {\n @include box-shadow(none);\n outline: 0 !important;\n }\n\n &.btn-icon{\n padding: $padding-base-vertical;\n }\n}\n\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group{\n margin-left: -2px;\n}\n\n// Apply the mixin to the buttons\n//.btn-default { @include btn-styles($default-color, $default-states-color); }\n.navbar .navbar-nav > li > a.btn-primary, .btn-primary { @include btn-styles($primary-color, $primary-states-color); }\n.navbar .navbar-nav > li > a.btn-success, .btn-success { @include btn-styles($success-color, $success-states-color); }\n.navbar .navbar-nav > li > a.btn-info, .btn-info { @include btn-styles($info-color, $info-states-color); }\n.navbar .navbar-nav > li > a.btn-warning, .btn-warning { @include btn-styles($warning-color, $warning-states-color); }\n.navbar .navbar-nav > li > a.btn-danger, .btn-danger { @include btn-styles($danger-color, $danger-states-color); }\n.btn-neutral {\n @include btn-styles($white-color, $white-color);\n\n &:hover,\n &:focus{\n color: $default-color;\n }\n\n &:active,\n &.active,\n .open > &.dropdown-toggle{\n background-color: $white-color;\n color: $default-color;\n }\n\n &.btn-fill{\n color: $default-color;\n }\n &.btn-fill:hover,\n &.btn-fill:focus{\n color: $default-states-color;\n }\n\n &.btn-simple:active,\n &.btn-simple.active{\n background-color: transparent;\n }\n}\n\n.btn{\n &:disabled,\n &[disabled],\n &.disabled{\n @include opacity(.5);\n }\n}\n.btn-simple{\n border: $none;\n padding: $padding-base-vertical $padding-base-horizontal;\n\n &.btn-icon{\n padding: $padding-base-vertical;\n }\n}\n.btn-lg{\n @include btn-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $border-radius-btn-large, $line-height-small);\n font-weight: $font-weight-normal;\n}\n.btn-sm{\n @include btn-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $border-radius-btn-small, $line-height-small);\n}\n.btn-xs {\n @include btn-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-xs, $border-radius-btn-small, $line-height-small);\n}\n.btn-wd {\n min-width: 140px;\n}\n\n.btn-group.select{\n width: 100%;\n}\n.btn-group.select .btn{\n text-align: left;\n}\n.btn-group.select .caret{\n position: absolute;\n top: 50%;\n margin-top: -1px;\n right: 8px;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_buttons.scss","// Mixin for generating new styles\n@mixin btn-styles($btn-color, $btn-states-color) {\n background-color: $btn-color;\n\n &:hover,\n &:focus,\n &:active,\n &.active,\n &:active:focus,\n &:active:hover,\n &.active:focus,\n &.active:hover,\n .open > &.dropdown-toggle,\n .open > &.dropdown-toggle:focus,\n .open > &.dropdown-toggle:hover {\n background-color: $btn-states-color;\n color: $white-color;\n }\n\n &.disabled,\n &:disabled,\n &[disabled],\n fieldset[disabled] & {\n &,\n &:hover,\n &:focus,\n &.focus,\n &:active,\n &.active {\n background-color: $btn-color;\n border-color: $btn-color;\n }\n }\n\n &.focus,\n &:focus {\n box-shadow: none;\n }\n\n // btn-neutral style\n @if $btn-color == $white-color {\n color: $white-color;\n\n &.btn-danger {\n color: $danger-color;\n\n &:hover,\n &:focus,\n &:active {\n color: $danger-states-color;\n }\n }\n\n &.btn-info {\n color: $white-color;\n\n &:hover,\n &:focus,\n &:active {\n color: $info-states-color;\n }\n }\n\n &.btn-warning {\n color: $white-color;\n\n &:hover,\n &:focus,\n &:active {\n color: $warning-states-color;\n }\n }\n\n &.btn-success {\n color: $white-color;\n\n &:hover,\n &:focus,\n &:active {\n color: $success-states-color;\n }\n }\n\n &.btn-default {\n color: $white-color;\n\n &:hover,\n &:focus,\n &:active {\n color: $default-states-color;\n }\n }\n\n &.active,\n &:active:focus,\n &:active:hover,\n &.active:focus,\n &.active:hover,\n .open > &.dropdown-toggle,\n .open > &.dropdown-toggle:focus,\n .open > &.dropdown-toggle:hover {\n background-color: $white-color;\n color: $primary-color;\n }\n\n &:hover,\n &:focus,\n &:active {\n color: $primary-states-color;\n }\n\n } @else {\n color: $white-color;\n }\n\n &.btn-simple {\n color: $btn-color;\n border-color: $btn-color;\n\n &:hover,\n &:focus,\n &:active {\n background-color: $transparent-bg;\n color: $btn-states-color;\n border-color: $btn-states-color;\n }\n }\n\n &.btn-link {\n color: $btn-color;\n\n &:hover,\n &:focus,\n &:active {\n background-color: $transparent-bg;\n color: $btn-states-color;\n text-decoration: none;\n }\n }\n}\n\n\n@mixin btn-size($padding-vertical, $padding-horizontal, $font-size, $border, $line-height){\n font-size: $font-size;\n //border-radius: $border;\n padding: $padding-vertical $padding-horizontal;\n\n &.btn-simple{\n padding: $padding-vertical + 2 $padding-horizontal;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/mixins/_buttons.scss","// Opacity\n\n@mixin opacity($opacity) {\n opacity: $opacity;\n // IE8 filter\n $opacity-ie: ($opacity * 100);\n filter: #{alpha(opacity=$opacity-ie)};\n}\n\n@mixin black-filter($opacity){\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n position: absolute;\n background-color: rgba(17,17,17,$opacity);\n display: block;\n content: \"\";\n z-index: 1; \n}\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/mixins/_transparency.scss","input {\n margin-top: 5px;\n border: none;\n font-size: 1rem;\n cursor: text;\n //font-family: \"Inconsolata\", \"Monaco\", \"Consolas\", \"Lucida Console\", monospace !important;\n font-family: \"Avenir-light\", \"AvenirLTStd-Light\", sans-serif !important;\n}\n\n.form-control::-moz-placeholder{\n @include placeholder($medium-gray,1);\n}\n.form-control:-moz-placeholder{\n @include placeholder($medium-gray,1);\n}\n.form-control::-webkit-input-placeholder{\n @include placeholder($medium-gray,1);\n}\n.form-control:-ms-input-placeholder{\n @include placeholder($medium-gray,1);\n}\n\n.form-control {\n font-family: \"Avenir-light\", \"AvenirLTStd-Light\", sans-serif !important;\n display: block;\n width: 100%;\n /*font-size: $font-size-base;*/\n line-height: 1.846;\n color: #666666;\n border: medium none;\n border-radius: $border-radius-extra-small;\n border-bottom: 2px solid #0f5b8c;\n vertical-align: middle;\n /*-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);*/\n -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n @include input-size($padding-small-vertical, $padding-small-horizontal, 30px);\n\n /*background-color: $gray-input-bg;\n border: medium none;\n border-radius: $border-radius-base;\n color: $font-color;\n font-size: $font-size-base;\n transition: background-color 0.3s ease 0s;\n @include input-size($padding-base-vertical, $padding-base-horizontal, $height-base);\n @include box-shadow(none);*/\n\n &:focus{\n background-color: $white-bg;\n //@include box-shadow(none);\n outline: 0 !important;\n border-bottom: 2px solid #2196f3;\n /*-webkit-box-shadow: inset 0 -2px 0 #2196f3;\n box-shadow: inset 0 -2px 0 #2196f3;*/\n }\n\n .has-success &,\n .has-error &,\n .has-success &:focus,\n .has-error &:focus{\n @include box-shadow(none);\n }\n\n .has-success &{\n background-color: $success-input-bg;\n color: $success-color;\n &.border-input{\n border: 1px solid $success-color;\n }\n }\n .has-success &:focus{\n background-color: $white-bg;\n }\n .has-error &{\n background-color: $danger-input-bg;\n color: $danger-color;\n &.border-input{\n border: 1px solid $danger-color;\n }\n }\n .has-error &:focus{\n background-color: $white-bg;\n }\n\n & + .form-control-feedback{\n border-radius: $border-radius-large;\n font-size: $font-size-base;\n margin-top: -7px;\n position: absolute;\n right: 10px;\n top: 50%;\n vertical-align: middle;\n }\n &.border-input{\n border: 1px solid $table-line-color;\n }\n .open &{\n border-bottom-color: transparent;\n }\n}\n\n.input-lg{\n height: 55px;\n padding: $padding-large-vertical $padding-large-horizontal;\n font-size: 17px;\n line-height: 1.3333333;\n border-radius: 3px;\n}\n\n.has-error{\n .form-control-feedback, .control-label{\n color: $danger-color;\n }\n}\n.has-success{\n .form-control-feedback, .control-label{\n color: $success-color;\n }\n}\n\n\n.input-group-addon {\n background-color: $gray-input-bg;\n border: medium none;\n border-radius: $border-radius-base;\n\n .has-success &,\n .has-error &{\n background-color: $white-color;\n }\n .has-error .form-control:focus + &{\n color: $danger-color;\n }\n .has-success .form-control:focus + &{\n color: $success-color;\n }\n .form-control:focus + &,\n .form-control:focus ~ &{\n background-color: $white-color;\n }\n}\n.border-input{\n .input-group-addon{\n border: solid 1px $table-line-color;\n }\n}\n.input-group{\n margin-bottom: 15px;\n}\n.input-group[disabled]{\n .input-group-addon{\n background-color: $light-gray;\n }\n}\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {\n border-right: 0 none;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child) {\n border-left: 0 none;\n}\n.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {\n background-color: $light-gray;\n cursor: not-allowed;\n @include placeholder($dark-gray,1);\n}\n.form-control[disabled]::-moz-placeholder{\n @include placeholder($dark-gray,1);\n}\n.form-control[disabled]:-moz-placeholder{\n @include placeholder($medium-gray,1);\n}\n.form-control[disabled]::-webkit-input-placeholder{\n @include placeholder($medium-gray,1);\n}\n.form-control[disabled]:-ms-input-placeholder{\n @include placeholder($medium-gray,1);\n}\n.input-group-btn .btn{\n border-width: $border-thin;\n padding: $padding-round-vertical $padding-base-horizontal;\n}\n.input-group-btn .btn-default:not(.btn-fill){\n border-color: $medium-gray;\n}\n\n.input-group-btn:last-child > .btn{\n margin-left: 0;\n}\ntextarea.form-control{\n max-width: 100%;\n padding: 10px 18px;\n resize: none;\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_inputs.scss","@mixin input-size($padding-vertical, $padding-horizontal, $height){\n padding: $padding-vertical $padding-horizontal;\n height: $height;\n}\n\n@mixin placeholder($color, $opacity){\n color: $color;\n @include opacity(1);\n}\n\n@mixin light-form(){\n border-radius: 0;\n border:0;\n padding: 0;\n background-color: transparent;\n\n}\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/mixins/_inputs.scss",".alert{\n border: 0;\n border-radius: 0;\n color: #FFFFFF;\n padding: 10px 15px;\n font-size: 14px;\n\n .container &{\n border-radius: 4px;\n\n }\n .navbar &{\n border-radius: 0;\n left: 0;\n position: absolute;\n right: 0;\n top: 85px;\n width: 100%;\n z-index: 3;\n }\n .navbar:not(.navbar-transparent) &{\n top: 70px;\n }\n\n span[data-notify=\"icon\"]{\n font-size: 30px;\n display: block;\n left: 15px;\n position: absolute;\n top: 50%;\n margin-top: -20px;\n }\n\n .close ~ span{\n display: block;\n max-width: 89%;\n }\n\n &[data-notify=\"container\"]{\n padding: 10px 10px 10px 20px;\n border-radius: $border-radius-base;\n }\n\n &.alert-with-icon{\n padding-left: 65px;\n }\n}\n.alert-info{\n background-color: $bg-info;\n color: $info-states-color;\n}\n.alert-success {\n background-color: $bg-success;\n color: $success-states-color;\n}\n.alert-warning {\n background-color: $bg-warning;\n color: $warning-states-color;\n}\n.alert-danger {\n background-color: $danger-color;\n color: #FFF;\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_alerts.scss",".table{\n thead,\n tbody,\n tfoot{\n tr > th,\n tr > td{\n border-top: 1px solid $table-line-color;\n }\n }\n > thead > tr > th{\n border-bottom-width: 0;\n font-size: $font-size-h5;\n font-weight: $font-weight-light;\n }\n\n .radio,\n .checkbox{\n margin-top: 0;\n margin-bottom: 22px;\n padding: 0;\n width: 15px;\n }\n > thead > tr > th,\n > tbody > tr > th,\n > tfoot > tr > th,\n > thead > tr > td,\n > tbody > tr > td,\n > tfoot > tr > td{\n padding: 12px;\n vertical-align: middle;\n }\n\n .th-description{\n max-width: 150px;\n }\n .td-price{\n font-size: 26px;\n font-weight: $font-weight-light;\n margin-top: 5px;\n text-align: right;\n }\n .td-total{\n font-weight: $font-weight-bold;\n font-size: $font-size-h5;\n padding-top: 20px;\n text-align: right;\n }\n\n .td-actions .btn{\n\n &.btn-sm,\n &.btn-xs{\n padding-left: 3px;\n padding-right: 3px;\n }\n }\n\n > tbody > tr{\n position: relative;\n }\n}\n.table-striped{\n tbody > tr:nth-of-type(2n+1) {\n background-color: #fff;\n }\n tbody > tr:nth-of-type(2n) {\n background-color: $pale-bg;\n }\n > thead > tr > th,\n > tbody > tr > th,\n > tfoot > tr > th,\n > thead > tr > td,\n > tbody > tr > td,\n > tfoot > tr > td{\n padding: 15px 8px;\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_tables.scss","/* Checkbox and radio */\n.checkbox,\n.radio {\n margin-bottom: 12px;\n padding-left: 30px;\n position: relative;\n -webkit-transition: color,opacity 0.25s linear;\n transition: color,opacity 0.25s linear;\n font-size: $font-size-base;\n font-weight: normal;\n line-height: 1.5;\n color: $font-color;\n cursor: pointer;\n\n .icons {\n color: $font-color;\n display: block;\n height: 20px;\n left: 0;\n position: absolute;\n top: 0;\n width: 20px;\n text-align: center;\n line-height: 21px;\n font-size: 20px;\n cursor: pointer;\n -webkit-transition: color,opacity 0.15s linear;\n transition: color,opacity 0.15s linear;\n\n opacity: .50;\n }\n\n\n &.checked{\n .icons{\n opacity: 1;\n }\n }\n\n input{\n outline: none !important;\n display: none;\n }\n}\n\n.checkbox,\n.radio{\n label{\n padding-left: 10px;\n }\n}\n\n.checkbox .icons .first-icon,\n.radio .icons .first-icon,\n.checkbox .icons .second-icon,\n.radio .icons .second-icon {\n display: inline-table;\n position: absolute;\n left: 0;\n top: 0;\n background-color: transparent;\n margin: 0;\n @include opacity(1);\n}\n.checkbox .icons .second-icon,\n.radio .icons .second-icon {\n @include opacity(0);\n}\n.checkbox:hover,\n.radio:hover {\n -webkit-transition: color 0.2s linear;\n transition: color 0.2s linear;\n}\n.checkbox:hover .first-icon,\n.radio:hover .first-icon {\n @include opacity(0);\n}\n.checkbox:hover .second-icon,\n.radio:hover .second-icon {\n @include opacity (1);\n}\n.checkbox.checked,\n.radio.checked {\n// color: $info-color;\n}\n.checkbox.checked .first-icon,\n.radio.checked .first-icon {\n opacity: 0;\n filter: alpha(opacity=0);\n}\n.checkbox.checked .second-icon,\n.radio.checked .second-icon {\n opacity: 1;\n filter: alpha(opacity=100);\n// color: $info-color;\n -webkit-transition: color 0.2s linear;\n transition: color 0.2s linear;\n}\n.checkbox.disabled,\n.radio.disabled {\n cursor: default;\n color: $medium-gray;\n}\n.checkbox.disabled .icons,\n.radio.disabled .icons {\n color: $medium-gray;\n}\n.checkbox.disabled .first-icon,\n.radio.disabled .first-icon {\n opacity: 1;\n filter: alpha(opacity=100);\n}\n.checkbox.disabled .second-icon,\n.radio.disabled .second-icon {\n opacity: 0;\n filter: alpha(opacity=0);\n}\n.checkbox.disabled.checked .icons,\n.radio.disabled.checked .icons {\n color: $medium-gray;\n}\n.checkbox.disabled.checked .first-icon,\n.radio.disabled.checked .first-icon {\n opacity: 0;\n filter: alpha(opacity=0);\n}\n.checkbox.disabled.checked .second-icon,\n.radio.disabled.checked .second-icon {\n opacity: 1;\n color: $medium-gray;\n filter: alpha(opacity=100);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_checkbox-radio.scss",".nav {\n > li{\n > a:hover,\n > a:focus{\n background-color: transparent;\n }\n }\n}\n.navbar{\n border: $none;\n border-radius: 0;\n font-size: $font-size-navbar;\n z-index: 3;\n\n .navbar-brand{\n color: $white-color;\n font-weight: $font-weight-light;;\n margin: $navbar-margin-brand;\n padding: $navbar-padding-brand;\n font-size: $font-size-large-navbar;\n }\n .navbar-nav{\n > li > a {\n line-height: 1.42857;\n margin: $navbar-margin-a;\n padding: $navbar-padding-a;\n\n i,\n p{\n display: inline-block;\n margin: 0;\n }\n i{\n position: relative;\n margin-right: 5px;\n top: 1px;\n }\n }\n > li > a.btn{\n margin: $navbar-margin-a-btn;\n padding: $padding-base-vertical $padding-base-horizontal;\n }\n }\n .btn{\n margin: $navbar-margin-btn;\n font-size: $font-size-base;\n }\n .btn-simple{\n font-size: $font-size-medium;\n }\n}\n\n.navbar-nav > li > .dropdown-menu{\n border-radius: $border-radius-extreme;\n margin-top: -5px;\n}\n\n.navbar-default {\n color: $white-color;\n background-color: $phpvms-blue;\n border-bottom: 1px solid $medium-gray;\n\n .brand{\n color: $white-color !important;\n }\n .navbar-nav{\n > li > a:not(.btn){\n color: $white-color;\n }\n\n > .active > a,\n > .active > a:not(.btn):hover,\n > .active > a:not(.btn):focus,\n > li > a:not(.btn):hover,\n > li > a:not(.btn):focus {\n background-color: transparent;\n border-radius: 3px;\n color: $info-color;\n @include opacity(1);\n }\n\n > .dropdown > a:hover .caret,\n > .dropdown > a:focus .caret {\n border-bottom-color: $info-color;\n border-top-color: $info-color;\n\n }\n\n > .open > a,\n > .open > a:hover,\n > .open > a:focus{\n background-color: transparent;\n color: $info-color;\n }\n\n .navbar-toggle:hover,.navbar-toggle:focus {\n background-color: transparent;\n }\n\n }\n\n &:not(.navbar-transparent) .btn-default:hover{\n color: $info-color;\n border-color: $info-color;\n }\n &:not(.navbar-transparent) .btn-neutral,\n &:not(.navbar-transparent) .btn-neutral:hover,\n &:not(.navbar-transparent) .btn-neutral:active{\n color: $dark-gray;\n }\n}\n\n.navbar-form{\n @include box-shadow(none);\n .form-control{\n @include light-form();\n height: 22px;\n font-size: $font-size-navbar;\n line-height: $line-height-general;\n color: $light-gray;\n }\n .navbar-transparent & .form-control,\n [class*=\"navbar-ct\"] & .form-control{\n color: $white-color;\n border: $none;\n border-bottom: 1px solid rgba($white-color,.6);\n }\n\n}\n\n.navbar-ct-primary{\n @include navbar-color($bg-primary);\n}\n.navbar-ct-info{\n @include navbar-color($bg-info);\n}\n.navbar-ct-success{\n @include navbar-color($bg-success);\n}\n.navbar-ct-warning{\n @include navbar-color($bg-warning);\n}\n.navbar-ct-danger{\n @include navbar-color($bg-danger);\n}\n\n.navbar-transparent{\n padding-top: 15px;\n background-color: transparent;\n border-bottom: 1px solid transparent;\n}\n\n.navbar-toggle{\n margin-top: 19px;\n margin-bottom: 19px;\n border: $none;\n\n .icon-bar {\n background-color: $white-color;\n }\n .navbar-collapse,\n .navbar-form {\n border-color: transparent;\n }\n\n &.navbar-default .navbar-toggle:hover,\n &.navbar-default .navbar-toggle:focus {\n background-color: transparent;\n }\n}\n\n.navbar-transparent, [class*=\"navbar-ct\"]{\n\n .navbar-brand{\n\n @include opacity(.9);\n\n &:focus,\n\n &:hover{\n\n background-color: transparent;\n\n @include opacity(1);\n\n }\n\n }\n\n .navbar-brand:not([class*=\"text\"]){\n\n color: $white-color;\n\n }\n\n .navbar-nav{\n\n > li > a:not(.btn){\n\n color: $white-color;\n\n border-color: $white-color;\n\n @include opacity(0.8);\n\n }\n\n > .active > a:not(.btn),\n\n > .active > a:hover:not(.btn),\n\n > .active > a:focus:not(.btn),\n\n > li > a:hover:not(.btn),\n\n > li > a:focus:not(.btn){\n\n background-color: transparent;\n\n border-radius: 3px;\n\n color: $white-color;\n\n @include opacity(1);\n\n }\n\n .nav > li > a.btn:hover{\n\n background-color: transparent;\n\n }\n\n > .dropdown > a .caret,\n\n > .dropdown > a:hover .caret,\n\n > .dropdown > a:focus .caret{\n\n border-bottom-color: $white-color;\n\n border-top-color: $white-color;\n\n }\n\n > .open > a,\n\n > .open > a:hover,\n\n > .open > a:focus {\n\n background-color: transparent;\n\n color: $white-color;\n\n @include opacity(1);\n\n }\n\n }\n\n .btn-default{\n\n color: $white-color;\n\n border-color: $white-color;\n\n }\n\n .btn-default.btn-fill{\n\n color: $dark-gray;\n\n background-color: $white-color;\n\n @include opacity(.9);\n\n }\n\n .btn-default.btn-fill:hover,\n\n .btn-default.btn-fill:focus,\n\n .btn-default.btn-fill:active,\n\n .btn-default.btn-fill.active,\n\n .open .dropdown-toggle.btn-fill.btn-default{\n\n border-color: $white-color;\n\n @include opacity(1);\n\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_navbars.scss","@mixin navbar-color($color){\n background-color: $color;\n}\n\n@mixin center-item(){\n left: 0;\n right: 0;\n margin-right: auto;\n margin-left: auto;\n position: absolute;\n}\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/mixins/_navbars.scss",".footer{\n background-attachment: fixed;\n position: relative;\n line-height: 20px;\n nav {\n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n font-weight: normal;\n li{\n display: inline-block;\n padding: 10px 15px;\n margin: 15px 3px;\n line-height: 20px;\n text-align: center;\n }\n a:not(.btn){\n color: $font-color;\n display: block;\n margin-bottom: 3px;\n\n &:focus,\n &:hover{\n color: $default-states-color;\n }\n }\n }\n }\n .copyright{\n color: $font-color;\n padding: 10px 15px;\n font-size: 14px;\n white-space: nowrap;\n margin: 15px 3px;\n line-height: 20px;\n text-align: center;\n }\n .heart{\n color: $danger-color;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_footers.scss",".dropdown-menu{\n background-color: $pale-bg;\n border: 0 none;\n border-radius: $border-radius-extreme;\n display: block;\n margin-top: 10px;\n padding: 0px;\n position: absolute;\n visibility: hidden;\n z-index: 9000; \n \n @include opacity(0); \n @include box-shadow($dropdown-shadow);\n \n// the style for opening dropdowns on mobile devices; for the desktop version check the _responsive.scss file \n .open &{\n @include opacity(1);\n visibility: visible;\n } \n \n .divider{\n background-color: $medium-pale-bg;\n margin: 0px;\n }\n \n .dropdown-header{\n color: $dark-gray;\n font-size: $font-size-small;\n padding: $padding-dropdown-vertical $padding-dropdown-horizontal;\n }\n \n// the style for the dropdown menu that appears under select, it is different from the default one\n .select &{\n border-radius: $border-radius-bottom; \n @include box-shadow(none);\n @include transform-origin($select-coordinates);\n @include transform-scale(1);\n @include transition($fast-transition-time, $transition-linear);\n margin-top: -20px;\n }\n .select.open &{\n margin-top: -1px;\n }\n \n > li > a {\n color: $font-color;\n font-size: $font-size-base;\n padding: $padding-dropdown-vertical $padding-dropdown-horizontal;\n @include transition-none();\n \n img{\n margin-top: -3px;\n }\n }\n > li > a:focus{\n outline: 0 !important;\n }\n\n .btn-group.select &{\n min-width: 100%;\n }\n \n > li:first-child > a{\n border-top-left-radius: $border-radius-extreme;\n border-top-right-radius: $border-radius-extreme;\n }\n \n > li:last-child > a{\n border-bottom-left-radius: $border-radius-extreme;\n border-bottom-right-radius: $border-radius-extreme;\n }\n \n .select & > li:first-child > a{\n border-radius: 0;\n border-bottom: 0 none;\n }\n \n > li > a:hover,\n > li > a:focus {\n background-color: $default-color;\n color: $fill-font-color;\n opacity: 1;\n text-decoration: none;\n }\n \n &.dropdown-primary > li > a:hover,\n &.dropdown-primary > li > a:focus{\n background-color: $primary-color;\n }\n &.dropdown-info > li > a:hover,\n &.dropdown-info > li > a:focus{\n background-color: $info-color;\n }\n &.dropdown-success > li > a:hover,\n &.dropdown-success > li > a:focus{\n background-color: $success-color;\n }\n &.dropdown-warning > li > a:hover,\n &.dropdown-warning > li > a:focus{\n background-color: $warning-color;\n }\n &.dropdown-danger > li > a:hover,\n &.dropdown-danger > li > a:focus{\n background-color: $danger-color;\n }\n\n}\n\n//fix bug for the select items in btn-group \n.btn-group.select{\n overflow: hidden;\n}\n.btn-group.select.open{\n overflow: visible;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_dropdown.scss",".card {\n border: 0;\n border-radius: $border-radius-extra-small;\n box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);\n background-color: #FFFFFF;\n color: $card-black-color;\n margin-bottom: 20px;\n position: relative;\n z-index: 1;\n\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n flex-direction: column;\n background-color: #fff;\n\n .card-block {\n flex: 1 1 auto;\n padding: 1.25rem;\n }\n\n a {\n color: #f96332;\n }\n\n .image{\n width: 100%;\n overflow: hidden;\n height: 260px;\n border-radius: $border-radius-extreme $border-radius-extreme 0 0;\n position: relative;\n -webkit-transform-style: preserve-3d;\n -moz-transform-style: preserve-3d;\n transform-style: preserve-3d;\n\n img {\n width: 100%;\n }\n }\n .content{\n padding: 15px 15px 10px 15px;\n }\n .header{\n padding: 0px 0px 10px 0;\n }\n .description{\n font-size: $font-paragraph;\n color: $font-color;\n }\n\n h5 {\n font-size: 1.57em;\n line-height: 1.4em;\n margin-bottom: 15px;\n }\n\n h6{\n font-size: $font-size-small;\n margin: 0;\n }\n .category,\n label{\n font-size: $font-size-base;\n font-weight: $font-weight-normal;\n color: $dark-gray;\n text-transform: capitalize;\n margin-bottom: 0px;\n i{\n font-size: $font-paragraph;\n }\n }\n\n label{\n font-size: 15px;\n margin-bottom: 5px;\n text-transform: capitalize;\n display: inline-block;\n vertical-align: middle;\n }\n\n .title{\n margin: $none;\n color: $card-black-color;\n font-weight: $font-weight-light;\n }\n .avatar{\n width: 50px;\n height: 50px;\n overflow: hidden;\n border-radius: 50%;\n margin-right: 5px;\n }\n .footer{\n padding: 0;\n line-height: 30px;\n\n .legend{\n padding: 5px 0;\n }\n\n hr{\n margin-top: 5px;\n margin-bottom: 5px;\n }\n }\n .stats{\n color: #a9a9a9;\n font-weight: 300;\n i{\n margin-right: 2px;\n min-width: 15px;\n display: inline-block;\n }\n }\n .footer div{\n display: inline-block;\n }\n\n .author{\n font-size: $font-size-small;\n font-weight: $font-weight-bold;\n text-transform: uppercase;\n }\n .author i{\n font-size: $font-size-base;\n }\n\n &.card-separator:after{\n height: 100%;\n right: -15px;\n top: 0;\n width: 1px;\n background-color: $medium-gray;\n content: \"\";\n position: absolute;\n }\n\n .ct-chart{\n margin: 30px 0 30px;\n height: 245px;\n }\n\n .table{\n tbody td:first-child,\n thead th:first-child{\n padding-left: 15px;\n }\n\n tbody td:last-child,\n thead th:last-child{\n padding-right: 15px;\n }\n }\n\n .alert{\n border-radius: $border-radius-base;\n position: relative;\n\n &.alert-with-icon{\n padding-left: 65px;\n }\n }\n .icon-big{\n font-size: 3em;\n min-height: 64px;\n }\n .numbers{\n font-size: 2em;\n text-align: right;\n p{\n margin: 0;\n }\n }\n ul.team-members{\n li{\n padding: 10px 0px;\n &:not(:last-child){\n border-bottom: 1px solid $medium-pale-bg;\n }\n }\n }\n\n .btn-primary {\n @include btn-styles($primary-color, $primary-states-color);\n }\n\n .btn-success {\n @include btn-styles($success-color, $success-states-color);\n }\n\n .btn-info {\n @include btn-styles($info-color, $info-states-color);\n }\n\n .btn-warning {\n @include btn-styles($warning-color, $warning-states-color);\n }\n\n .btn-danger {\n @include btn-styles($danger-color, $danger-states-color);\n }\n\n .btn-neutral {\n @include btn-styles($white-color, $white-color);\n }\n}\n.card-user{\n .image{\n border-radius: 8px 8px 0 0;\n height: 150px;\n position: relative;\n overflow: hidden;\n\n img{\n width: 100%;\n }\n }\n .image-plain{\n height: 0;\n margin-top: 110px;\n }\n .author{\n text-align: center;\n text-transform: none;\n margin-top: -65px;\n .title{\n color: $default-states-color;\n small{\n color: $card-muted-color;\n }\n }\n }\n .avatar{\n width: 100px;\n height: 100px;\n border-radius: 50%;\n position: relative;\n margin-bottom: 15px;\n\n &.border-white{\n border: 5px solid $white-color;\n }\n &.border-gray{\n border: 5px solid $card-muted-color;\n }\n }\n .title{\n font-weight: 600;\n line-height: 24px;\n }\n .description{\n margin-top: 10px;\n }\n .content{\n min-height: 200px;\n }\n\n &.card-plain{\n .avatar{\n height: 190px;\n width: 190px;\n }\n }\n}\n\n.card-map{\n .map{\n height: 500px;\n padding-top: 20px;\n\n > div{\n height: 100%;\n }\n }\n}\n.card-user,\n.card-price{\n .footer{\n padding: 5px 15px 10px;\n }\n hr{\n margin: 5px 15px;\n }\n}\n.card-plain{\n background-color: transparent;\n box-shadow: none;\n border-radius: 0;\n\n .image{\n border-radius: 4px;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_cards.scss","@mixin ct-responsive-svg-container($width: 100%, $ratio: $ct-container-ratio) {\n display: block;\n position: relative;\n width: $width;\n\n &:before {\n display: block;\n float: left;\n content: \"\";\n width: 0;\n height: 0;\n padding-bottom: $ratio * 100%;\n }\n\n &:after {\n content: \"\";\n display: table;\n clear: both;\n }\n\n > svg {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n }\n}\n\n@mixin ct-align-justify($ct-text-align: $ct-text-align, $ct-text-justify: $ct-text-justify) {\n -webkit-box-align: $ct-text-align;\n -webkit-align-items: $ct-text-align;\n -ms-flex-align: $ct-text-align;\n align-items: $ct-text-align;\n -webkit-box-pack: $ct-text-justify;\n -webkit-justify-content: $ct-text-justify;\n -ms-flex-pack: $ct-text-justify;\n justify-content: $ct-text-justify;\n // Fallback to text-align for non-flex browsers\n @if($ct-text-justify == 'flex-start') {\n text-align: left;\n } @else if ($ct-text-justify == 'flex-end') {\n text-align: right;\n } @else {\n text-align: center;\n }\n}\n\n@mixin ct-flex() {\n // Fallback to block\n display: block;\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n}\n\n@mixin ct-chart-label($ct-text-color: $ct-text-color, $ct-text-size: $ct-text-size, $ct-text-line-height: $ct-text-line-height) {\n fill: $ct-text-color;\n color: $ct-text-color;\n font-size: $ct-text-size;\n line-height: $ct-text-line-height;\n}\n\n@mixin ct-chart-grid($ct-grid-color: $ct-grid-color, $ct-grid-width: $ct-grid-width, $ct-grid-dasharray: $ct-grid-dasharray) {\n stroke: $ct-grid-color;\n stroke-width: $ct-grid-width;\n\n @if ($ct-grid-dasharray) {\n stroke-dasharray: $ct-grid-dasharray;\n }\n}\n\n@mixin ct-chart-point($ct-point-size: $ct-point-size, $ct-point-shape: $ct-point-shape) {\n stroke-width: $ct-point-size;\n stroke-linecap: $ct-point-shape;\n}\n\n@mixin ct-chart-line($ct-line-width: $ct-line-width, $ct-line-dasharray: $ct-line-dasharray) {\n fill: none;\n stroke-width: $ct-line-width;\n\n @if ($ct-line-dasharray) {\n stroke-dasharray: $ct-line-dasharray;\n }\n}\n\n@mixin ct-chart-area($ct-area-opacity: $ct-area-opacity) {\n stroke: none;\n fill-opacity: $ct-area-opacity;\n}\n\n@mixin ct-chart-bar($ct-bar-width: $ct-bar-width) {\n fill: none;\n stroke-width: $ct-bar-width;\n}\n\n@mixin ct-chart-donut($ct-donut-width: $ct-donut-width) {\n fill: none;\n stroke-width: $ct-donut-width;\n}\n\n@mixin ct-chart-series-color($color) {\n .#{$ct-class-point}, .#{$ct-class-line}, .#{$ct-class-bar}, .#{$ct-class-slice-donut} {\n stroke: $color;\n }\n\n .#{$ct-class-slice-pie}, .#{$ct-class-area} {\n fill: $color;\n }\n}\n\n@mixin ct-chart($ct-container-ratio: $ct-container-ratio, $ct-text-color: $ct-text-color, $ct-text-size: $ct-text-size, $ct-grid-color: $ct-grid-color, $ct-grid-width: $ct-grid-width, $ct-grid-dasharray: $ct-grid-dasharray, $ct-point-size: $ct-point-size, $ct-point-shape: $ct-point-shape, $ct-line-width: $ct-line-width, $ct-bar-width: $ct-bar-width, $ct-donut-width: $ct-donut-width, $ct-series-names: $ct-series-names, $ct-series-colors: $ct-series-colors) {\n\n .#{$ct-class-label} {\n @include ct-chart-label($ct-text-color, $ct-text-size);\n }\n\n .#{$ct-class-chart-line} .#{$ct-class-label},\n .#{$ct-class-chart-bar} .#{$ct-class-label} {\n @include ct-flex();\n }\n\n .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {\n @include ct-align-justify(flex-end, flex-start);\n // Fallback for browsers that don't support foreignObjects\n text-anchor: start;\n }\n\n .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {\n @include ct-align-justify(flex-start, flex-start);\n // Fallback for browsers that don't support foreignObjects\n text-anchor: start;\n }\n\n .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {\n @include ct-align-justify(flex-end, flex-end);\n // Fallback for browsers that don't support foreignObjects\n text-anchor: end;\n }\n\n .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {\n @include ct-align-justify(flex-end, flex-start);\n // Fallback for browsers that don't support foreignObjects\n text-anchor: start;\n }\n\n .#{$ct-class-chart-bar} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {\n @include ct-align-justify(flex-end, center);\n // Fallback for browsers that don't support foreignObjects\n text-anchor: start;\n }\n\n .#{$ct-class-chart-bar} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {\n @include ct-align-justify(flex-start, center);\n // Fallback for browsers that don't support foreignObjects\n text-anchor: start;\n }\n\n .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {\n @include ct-align-justify(flex-end, flex-start);\n // Fallback for browsers that don't support foreignObjects\n text-anchor: start;\n }\n\n .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {\n @include ct-align-justify(flex-start, flex-start);\n // Fallback for browsers that don't support foreignObjects\n text-anchor: start;\n }\n\n .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {\n //@include ct-chart-label($ct-text-color, $ct-text-size, center, $ct-vertical-text-justify);\n @include ct-align-justify(center, flex-end);\n // Fallback for browsers that don't support foreignObjects\n text-anchor: end;\n }\n\n .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {\n @include ct-align-justify(center, flex-start);\n // Fallback for browsers that don't support foreignObjects\n text-anchor: end;\n }\n\n .#{$ct-class-grid} {\n @include ct-chart-grid($ct-grid-color, $ct-grid-width, $ct-grid-dasharray);\n }\n\n .#{$ct-class-point} {\n @include ct-chart-point($ct-point-size, $ct-point-shape);\n }\n\n .#{$ct-class-line} {\n @include ct-chart-line($ct-line-width);\n }\n\n .#{$ct-class-area} {\n @include ct-chart-area();\n }\n\n .#{$ct-class-bar} {\n @include ct-chart-bar($ct-bar-width);\n }\n\n .#{$ct-class-slice-donut} {\n @include ct-chart-donut($ct-donut-width);\n }\n\n @if $ct-include-colored-series {\n @for $i from 0 to length($ct-series-names) {\n .#{$ct-class-series}-#{nth($ct-series-names, $i + 1)} {\n $color: nth($ct-series-colors, $i + 1);\n\n @include ct-chart-series-color($color);\n }\n }\n }\n}\n\n@if $ct-include-classes {\n @include ct-chart();\n\n @if $ct-include-alternative-responsive-containers {\n @for $i from 0 to length($ct-scales-names) {\n .#{nth($ct-scales-names, $i + 1)} {\n @include ct-responsive-svg-container($ratio: nth($ct-scales, $i + 1));\n }\n }\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_chartist.scss","@media (min-width: 992px){\n .navbar{\n min-height: 75px;\n }\n .navbar-form {\n margin-top: 21px;\n margin-bottom: 21px;\n padding-left: 5px;\n padding-right: 5px;\n }\n .navbar-search-form{\n display: none;\n }\n .navbar-nav > li > .dropdown-menu,\n .dropdown .dropdown-menu{\n transform: translate3d(0px, -40px, 0px);\n transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s;\n }\n .navbar-nav > li.open > .dropdown-menu, .dropdown.open .dropdown-menu{\n transform: translate3d(0px, 0px, 0px);\n }\n\n .navbar-nav > li > .dropdown-menu:before{\n border-bottom: 11px solid $medium-pale-bg;\n border-left: 11px solid rgba(0, 0, 0, 0);\n border-right: 11px solid rgba(0, 0, 0, 0);\n content: \"\";\n display: inline-block;\n position: absolute;\n right: 12px;\n top: -11px;\n }\n .navbar-nav > li > .dropdown-menu:after {\n border-bottom: 11px solid $pale-bg;\n border-left: 11px solid rgba(0, 0, 0, 0);\n border-right: 11px solid rgba(0, 0, 0, 0);\n content: \"\";\n display: inline-block;\n position: absolute;\n right: 12px;\n top: -10px;\n }\n\n .navbar-nav.navbar-left > li > .dropdown-menu:before{\n right: auto;\n left: 12px;\n }\n\n .navbar-nav.navbar-left > li > .dropdown-menu:after{\n right: auto;\n left: 12px;\n }\n\n .navbar{\n .navbar-header{\n margin-left: 10px;\n }\n }\n\n .footer:not(.footer-big){\n nav > ul{\n li:first-child{\n margin-left: 0;\n }\n }\n }\n\n body > .navbar-collapse.collapse{\n display: none !important;\n }\n\n .card{\n form{\n [class*=\"col-\"]{\n padding: 6px;\n }\n [class*=\"col-\"]:first-child{\n padding-left: 15px;\n }\n [class*=\"col-\"]:last-child{\n padding-right: 15px;\n }\n }\n }\n}\n\n/* Changes for small display */\n\n@media (max-width: 991px){\n .sidebar{\n display: none;\n }\n\n .main-panel{\n width: 100%;\n }\n .navbar-transparent{\n padding-top: 15px;\n background-color: rgba(0, 0, 0, 0.45);\n }\n body {\n position: relative;\n }\n h6{\n font-size: 1em;\n }\n .wrapper{\n @include transform-translate-x(0px);\n @include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));\n left: 0;\n background-color: white;\n }\n .navbar .container{\n left: 0;\n width: 100%;\n @include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));\n position: relative;\n }\n .navbar .navbar-collapse.collapse,\n .navbar .navbar-collapse.collapse.in,\n .navbar .navbar-collapse.collapsing{\n display: none !important;\n }\n\n .navbar-nav > li{\n float: none;\n position: relative;\n display: block;\n }\n\n .off-canvas-sidebar {\n position: fixed;\n display: block;\n top: 0;\n height: 100%;\n width: 230px;\n right: 0;\n z-index: 1032;\n visibility: visible;\n background-color: #999;\n overflow-y: visible;\n border-top: none;\n text-align: left;\n padding-right: 0px;\n padding-left: 0;\n\n @include transform-translate-x(230px);\n @include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));\n\n .sidebar-wrapper {\n position: relative;\n z-index: 3;\n overflow-y: scroll;\n height: 100%;\n box-shadow: inset 1px 0px 0px 0px $medium-gray;\n }\n\n .nav{\n margin-top: 0;\n padding: 10px $margin-base-vertical 0;\n\n > li{\n\n > a{\n margin: 0px 0px;\n color: $default-color;\n text-transform: uppercase;\n font-weight: 600;\n font-size: $font-size-small;\n line-height: $line-height-general;\n padding: 10px 0;\n\n &:hover,\n &.active{\n color: $default-states-color;\n }\n\n p,\n .notification,\n .caret\n {\n display: inline-block;\n }\n\n .caret{\n float: right;\n position: relative;\n top: 12px;\n }\n\n i{\n font-size: 18px;\n margin-right: 10px;\n line-height: 26px;\n }\n }\n\n &.active > a{\n\n &:before{\n border-right: none;\n border-left: 12px solid $medium-gray;\n border-top: 12px solid transparent;\n border-bottom: 12px solid transparent;\n right: auto;\n margin-left: -$margin-base-vertical;\n left: 0px;\n top: 10px;\n }\n\n &:after{\n border-right: none;\n border-left: 12px solid $bg-nude;\n border-top: 12px solid transparent;\n border-bottom: 12px solid transparent;\n right: auto;\n margin-left: -$margin-base-vertical;\n left: -1px;\n top: 10px;\n }\n }\n\n }\n\n\n\n }\n\n &::after{\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n position: absolute;\n background-color: $bg-nude;\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(112, 112, 112, 0) 60%, rgba(186, 186, 186, 0.15) 100%);\n display: block;\n content: \"\";\n z-index: 1;\n }\n &.has-image::after{\n @include black-filter(.8);\n }\n\n .logo{\n position: relative;\n z-index: 4;\n padding-top: 11px;\n padding-bottom: 11px;\n }\n\n .divider{\n height: 1px;\n margin: 10px 0;\n }\n }\n .nav-open .navbar-collapse{\n @include transform-translate-x(0px);\n }\n .nav-open .navbar .container{\n left: -230px;\n }\n .nav-open .wrapper{\n left: 0;\n @include transform-translate-x(-230px);\n }\n .navbar-toggle .icon-bar {\n display: block;\n position: relative;\n background: #fff;\n width: 24px;\n height: 2px;\n border-radius: 1px;\n margin: 0 auto;\n }\n\n .navbar-header .navbar-toggle {\n margin: 10px 15px 10px 0;\n width: 40px;\n height: 40px;\n }\n .bar1,\n .bar2,\n .bar3 {\n outline: 1px solid transparent;\n }\n .bar1 {\n top: 0px;\n @include bar-animation($topbar-back);\n }\n .bar2 {\n opacity: 1;\n }\n .bar3 {\n bottom: 0px;\n @include bar-animation($bottombar-back);\n }\n .toggled .bar1 {\n top: 6px;\n @include bar-animation($topbar-x);\n }\n .toggled .bar2 {\n opacity: 0;\n }\n .toggled .bar3 {\n bottom: 6px;\n @include bar-animation($bottombar-x);\n }\n\n @include topbar-x-rotation();\n @include topbar-back-rotation();\n @include bottombar-x-rotation();\n @include bottombar-back-rotation();\n\n @-webkit-keyframes fadeIn {\n 0% {opacity: 0;}\n 100% {opacity: 1;}\n }\n @-moz-keyframes fadeIn {\n 0% {opacity: 0;}\n 100% {opacity: 1;}\n }\n @keyframes fadeIn {\n 0% {opacity: 0;}\n 100% {opacity: 1;}\n }\n\n .dropdown-menu .divider{\n background-color: rgba(229, 229, 229, 0.15);\n }\n\n .navbar-nav {\n margin: 1px 0;\n }\n\n .dropdown-menu {\n display: none;\n\n & > li > a{\n &:hover,\n &:focus{\n background-color: transparent;\n }\n }\n }\n\n .navbar-fixed-top {\n -webkit-backface-visibility: hidden;\n }\n #bodyClick {\n height: 100%;\n width: 100%;\n position: fixed;\n opacity: 0;\n top: 0;\n left: auto;\n right: 230px;\n content: \"\";\n z-index: 9999;\n overflow-x: hidden;\n }\n .form-control + .form-control-feedback{\n margin-top: -8px;\n }\n .navbar-toggle:hover,.navbar-toggle:focus {\n background-color: transparent !important;\n }\n .btn.dropdown-toggle{\n margin-bottom: 0;\n }\n .media-post .author{\n width: 20%;\n float: none !important;\n display: block;\n margin: 0 auto 10px;\n }\n .media-post .media-body{\n width: 100%;\n }\n\n .navbar-collapse.collapse{\n height: 100% !important;\n }\n .navbar-collapse.collapse.in {\n display: block;\n }\n .navbar-header .collapse, .navbar-toggle {\n display:block !important;\n }\n .navbar-header {\n float:none;\n }\n .navbar-nav .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n\n .main-panel > .content{\n padding-left: 0;\n padding-right: 0;\n }\n .nav .open > a{\n &,\n &:focus,\n &:hover{\n background-color: transparent;\n }\n\n }\n\n .footer .copyright{\n padding: 0px 15px;\n width: 100%;\n }\n}\n\n//overwrite table responsive for 768px screens\n\n@media (min-width: 992px){\n .table-full-width{\n margin-left: -15px;\n margin-right: -15px;\n }\n .table-responsive{\n overflow: visible;\n }\n\n}\n\n@media (max-width: 991px){\n .table-responsive {\n width: 100%;\n margin-bottom: 15px;\n border: 1px solid #dddddd;\n overflow-x: scroll;\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n -webkit-overflow-scrolling: touch;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./resources/sass/admin/paper/_responsive.scss"],"sourceRoot":""} \ No newline at end of file diff --git a/public/assets/admin/css/clear.png b/public/assets/admin/img/clear.png similarity index 100% rename from public/assets/admin/css/clear.png rename to public/assets/admin/img/clear.png diff --git a/public/assets/admin/css/loading.gif b/public/assets/admin/img/loading.gif similarity index 100% rename from public/assets/admin/css/loading.gif rename to public/assets/admin/img/loading.gif diff --git a/public/assets/admin/js/admin.js b/public/assets/admin/js/admin.js deleted file mode 100644 index d2ef127a..00000000 --- a/public/assets/admin/js/admin.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * admin functions, mostly map/mapping related - */ - diff --git a/public/assets/admin/js/app.js b/public/assets/admin/js/app.js new file mode 100644 index 00000000..42bf609d --- /dev/null +++ b/public/assets/admin/js/app.js @@ -0,0 +1,381 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { +/******/ configurable: false, +/******/ enumerable: true, +/******/ get: getter +/******/ }); +/******/ } +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = "/"; +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 2); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./node_modules/Leaflet.Geodesic/Leaflet.Geodesic.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\n// This file is part of Leaflet.Geodesic.\n// Copyright (C) 2017 Henry Thasler\n// based on code by Chris Veness Copyright (C) 2014 https://github.com/chrisveness/geodesy\n//\n// Leaflet.Geodesic is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Leaflet.Geodesic is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Leaflet.Geodesic. If not, see .\n\n\n/** Extend Number object with method to convert numeric degrees to radians */\nif (typeof Number.prototype.toRadians === \"undefined\") {\n Number.prototype.toRadians = function() {\n return this * Math.PI / 180;\n };\n}\n\n/** Extend Number object with method to convert radians to numeric (signed) degrees */\nif (typeof Number.prototype.toDegrees === \"undefined\") {\n Number.prototype.toDegrees = function() {\n return this * 180 / Math.PI;\n };\n}\n\nvar INTERSECT_LNG = 179.999; // Lng used for intersection and wrap around on map edges\n\nL.Geodesic = L.Polyline.extend({\n options: {\n color: \"blue\",\n steps: 10,\n dash: 1,\n wrap: true\n },\n\n initialize: function(latlngs, options) {\n this.options = this._merge_options(this.options, options);\n this.options.dash = Math.max(1e-3, Math.min(1, parseFloat(this.options.dash) || 1));\n this.datum = {};\n this.datum.ellipsoid = {\n a: 6378137,\n b: 6356752.3142,\n f: 1 / 298.257223563\n }; // WGS-84\n this._latlngs = this._generate_Geodesic(latlngs);\n L.Polyline.prototype.initialize.call(this, this._latlngs, this.options);\n },\n\n setLatLngs: function(latlngs) {\n this._latlngs = this._generate_Geodesic(latlngs);\n L.Polyline.prototype.setLatLngs.call(this, this._latlngs);\n },\n\n /**\n * Calculates some statistic values of current geodesic multipolyline\n * @returns (Object} Object with several properties (e.g. overall distance)\n */\n getStats: function() {\n let obj = {\n distance: 0,\n points: 0,\n polygons: this._latlngs.length\n }, poly, points;\n\n for (poly = 0; poly < this._latlngs.length; poly++) {\n obj.points += this._latlngs[poly].length;\n for (points = 0; points < (this._latlngs[poly].length - 1); points++) {\n obj.distance += this._vincenty_inverse(this._latlngs[poly][points],\n this._latlngs[poly][points + 1]).distance;\n }\n }\n return obj;\n },\n\n\n /**\n * Creates geodesic lines from geoJson. Replaces all current features of this instance.\n * Supports LineString, MultiLineString and Polygon\n * @param {Object} geojson - geosjon as object.\n */\n geoJson: function(geojson) {\n\n let normalized = L.GeoJSON.asFeature(geojson);\n let features = normalized.type === \"FeatureCollection\" ? normalized.features : [\n normalized\n ];\n this._latlngs = [];\n for (let feature of features) {\n let geometry = feature.type === \"Feature\" ? feature.geometry :\n feature,\n coords = geometry.coordinates;\n\n switch (geometry.type) {\n case \"LineString\":\n this._latlngs.push(this._generate_Geodesic([L.GeoJSON.coordsToLatLngs(\n coords, 0)]));\n break;\n case \"MultiLineString\":\n case \"Polygon\":\n this._latlngs.push(this._generate_Geodesic(L.GeoJSON.coordsToLatLngs(\n coords, 1)));\n break;\n case \"Point\":\n case \"MultiPoint\":\n console.log(\"Dude, points can't be drawn as geodesic lines...\");\n break;\n default:\n console.log(\"Drawing \" + geometry.type +\n \" as a geodesic is not supported. Skipping...\");\n }\n }\n L.Polyline.prototype.setLatLngs.call(this, this._latlngs);\n },\n\n /**\n * Creates a great circle. Replaces all current lines.\n * @param {Object} center - geographic position\n * @param {number} radius - radius of the circle in metres\n */\n createCircle: function(center, radius) {\n let polylineIndex = 0;\n let prev = {\n lat: 0,\n lng: 0,\n brg: 0\n };\n let step;\n\n this._latlngs = [];\n this._latlngs[polylineIndex] = [];\n\n let direct = this._vincenty_direct(L.latLng(center), 0, radius, this.options\n .wrap);\n prev = L.latLng(direct.lat, direct.lng);\n this._latlngs[polylineIndex].push(prev);\n for (step = 1; step <= this.options.steps;) {\n direct = this._vincenty_direct(L.latLng(center), 360 / this.options\n .steps * step, radius, this.options.wrap);\n let gp = L.latLng(direct.lat, direct.lng);\n if (Math.abs(gp.lng - prev.lng) > 180) {\n let inverse = this._vincenty_inverse(prev, gp);\n let sec = this._intersection(prev, inverse.initialBearing, {\n lat: -89,\n lng: ((gp.lng - prev.lng) > 0) ? -INTERSECT_LNG : INTERSECT_LNG\n }, 0);\n if (sec) {\n this._latlngs[polylineIndex].push(L.latLng(sec.lat, sec.lng));\n polylineIndex++;\n this._latlngs[polylineIndex] = [];\n prev = L.latLng(sec.lat, -sec.lng);\n this._latlngs[polylineIndex].push(prev);\n } else {\n polylineIndex++;\n this._latlngs[polylineIndex] = [];\n this._latlngs[polylineIndex].push(gp);\n prev = gp;\n step++;\n }\n } else {\n this._latlngs[polylineIndex].push(gp);\n prev = gp;\n step++;\n }\n }\n\n L.Polyline.prototype.setLatLngs.call(this, this._latlngs);\n },\n\n /**\n * Creates a geodesic Polyline from given coordinates\n * Note: dashed lines are under work\n * @param {Object} latlngs - One or more polylines as an array. See Leaflet doc about Polyline\n * @returns (Object} An array of arrays of geographical points.\n */\n _generate_Geodesic: function(latlngs) {\n let _geo = [], _geocnt = 0;\n\n for (let poly = 0; poly < latlngs.length; poly++) {\n _geo[_geocnt] = [];\n let prev = L.latLng(latlngs[poly][0]);\n for (let points = 0; points < (latlngs[poly].length - 1); points++) {\n // use prev, so that wrapping behaves correctly\n let pointA = prev;\n let pointB = L.latLng(latlngs[poly][points + 1]);\n if (pointA.equals(pointB)) {\n continue;\n }\n let inverse = this._vincenty_inverse(pointA, pointB);\n _geo[_geocnt].push(prev);\n for (let s = 1; s <= this.options.steps;) {\n let distance = inverse.distance / this.options.steps;\n // dashed lines don't go the full distance between the points\n let dist_mult = s - 1 + this.options.dash;\n let direct = this._vincenty_direct(pointA, inverse.initialBearing, distance*dist_mult, this.options.wrap);\n let gp = L.latLng(direct.lat, direct.lng);\n if (Math.abs(gp.lng - prev.lng) > 180) {\n let sec = this._intersection(pointA, inverse.initialBearing, {\n lat: -89,\n lng: ((gp.lng - prev.lng) > 0) ? -INTERSECT_LNG : INTERSECT_LNG\n }, 0);\n if (sec) {\n _geo[_geocnt].push(L.latLng(sec.lat, sec.lng));\n _geocnt++;\n _geo[_geocnt] = [];\n prev = L.latLng(sec.lat, -sec.lng);\n _geo[_geocnt].push(prev);\n } else {\n _geocnt++;\n _geo[_geocnt] = [];\n _geo[_geocnt].push(gp);\n prev = gp;\n s++;\n } \n } else {\n _geo[_geocnt].push(gp);\n // Dashed lines start a new line\n if (this.options.dash < 1){\n _geocnt++;\n // go full distance this time, to get starting point for next line\n let direct_full = this._vincenty_direct(pointA, inverse.initialBearing, distance*s, this.options.wrap);\n _geo[_geocnt] = [];\n prev = L.latLng(direct_full.lat, direct_full.lng);\n _geo[_geocnt].push(prev);\n }\n else prev = gp;\n s++;\n }\n }\n }\n _geocnt++;\n }\n return _geo;\n },\n\n /**\n * Vincenty direct calculation.\n * based on the work of Chris Veness (https://github.com/chrisveness/geodesy)\n *\n * @private\n * @param {number} initialBearing - Initial bearing in degrees from north.\n * @param {number} distance - Distance along bearing in metres.\n * @returns (Object} Object including point (destination point), finalBearing.\n */\n\n _vincenty_direct: function(p1, initialBearing, distance, wrap) {\n var φ1 = p1.lat.toRadians(),\n λ1 = p1.lng.toRadians();\n var α1 = initialBearing.toRadians();\n var s = distance;\n\n var a = this.datum.ellipsoid.a,\n b = this.datum.ellipsoid.b,\n f = this.datum.ellipsoid.f;\n\n var sinα1 = Math.sin(α1);\n var cosα1 = Math.cos(α1);\n\n var tanU1 = (1 - f) * Math.tan(φ1),\n cosU1 = 1 / Math.sqrt((1 + tanU1 * tanU1)),\n sinU1 = tanU1 * cosU1;\n var σ1 = Math.atan2(tanU1, cosα1);\n var sinα = cosU1 * sinα1;\n var cosSqα = 1 - sinα * sinα;\n var uSq = cosSqα * (a * a - b * b) / (b * b);\n var A = 1 + uSq / 16384 * (4096 + uSq * (-768 + uSq * (320 - 175 *\n uSq)));\n var B = uSq / 1024 * (256 + uSq * (-128 + uSq * (74 - 47 * uSq)));\n\n var σ = s / (b * A),\n σʹ, iterations = 0;\n var sinσ, cosσ;\n var cos2σM;\n do {\n cos2σM = Math.cos(2 * σ1 + σ);\n sinσ = Math.sin(σ);\n cosσ = Math.cos(σ);\n var Δσ = B * sinσ * (cos2σM + B / 4 * (cosσ * (-1 + 2 * cos2σM *\n cos2σM) -\n B / 6 * cos2σM * (-3 + 4 * sinσ * sinσ) * (-3 + 4 * cos2σM *\n cos2σM)));\n σʹ = σ;\n σ = s / (b * A) + Δσ;\n } while (Math.abs(σ - σʹ) > 1e-12 && ++iterations);\n\n var x = sinU1 * sinσ - cosU1 * cosσ * cosα1;\n var φ2 = Math.atan2(sinU1 * cosσ + cosU1 * sinσ * cosα1, (1 - f) *\n Math.sqrt(sinα * sinα + x * x));\n var λ = Math.atan2(sinσ * sinα1, cosU1 * cosσ - sinU1 * sinσ * cosα1);\n var C = f / 16 * cosSqα * (4 + f * (4 - 3 * cosSqα));\n var L = λ - (1 - C) * f * sinα *\n (σ + C * sinσ * (cos2σM + C * cosσ * (-1 + 2 * cos2σM * cos2σM)));\n\n var λ2;\n if (wrap) {\n λ2 = (λ1 + L + 3 * Math.PI) % (2 * Math.PI) - Math.PI; // normalise to -180...+180\n } else {\n λ2 = (λ1 + L); // do not normalize\n }\n\n var revAz = Math.atan2(sinα, -x);\n\n return {\n lat: φ2.toDegrees(),\n lng: λ2.toDegrees(),\n finalBearing: revAz.toDegrees()\n };\n },\n\n /**\n * Vincenty inverse calculation.\n * based on the work of Chris Veness (https://github.com/chrisveness/geodesy)\n *\n * @private\n * @param {LatLng} p1 - Latitude/longitude of start point.\n * @param {LatLng} p2 - Latitude/longitude of destination point.\n * @returns {Object} Object including distance, initialBearing, finalBearing.\n * @throws {Error} If formula failed to converge.\n */\n _vincenty_inverse: function(p1, p2) {\n var φ1 = p1.lat.toRadians(),\n λ1 = p1.lng.toRadians();\n var φ2 = p2.lat.toRadians(),\n λ2 = p2.lng.toRadians();\n\n var a = this.datum.ellipsoid.a,\n b = this.datum.ellipsoid.b,\n f = this.datum.ellipsoid.f;\n\n var L = λ2 - λ1;\n var tanU1 = (1 - f) * Math.tan(φ1),\n cosU1 = 1 / Math.sqrt((1 + tanU1 * tanU1)),\n sinU1 = tanU1 * cosU1;\n var tanU2 = (1 - f) * Math.tan(φ2),\n cosU2 = 1 / Math.sqrt((1 + tanU2 * tanU2)),\n sinU2 = tanU2 * cosU2;\n\n var λ = L,\n λʹ, iterations = 0;\n var cosSqα, sinσ, cos2σM, cosσ, σ, sinλ, cosλ;\n do {\n sinλ = Math.sin(λ);\n cosλ = Math.cos(λ);\n var sinSqσ = (cosU2 * sinλ) * (cosU2 * sinλ) + (cosU1 * sinU2 -\n sinU1 * cosU2 * cosλ) * (cosU1 * sinU2 - sinU1 * cosU2 * cosλ);\n sinσ = Math.sqrt(sinSqσ);\n if (sinσ == 0) return 0; // co-incident points\n cosσ = sinU1 * sinU2 + cosU1 * cosU2 * cosλ;\n σ = Math.atan2(sinσ, cosσ);\n var sinα = cosU1 * cosU2 * sinλ / sinσ;\n cosSqα = 1 - sinα * sinα;\n cos2σM = cosσ - 2 * sinU1 * sinU2 / cosSqα;\n if (isNaN(cos2σM)) cos2σM = 0; // equatorial line: cosSqα=0 (§6)\n var C = f / 16 * cosSqα * (4 + f * (4 - 3 * cosSqα));\n λʹ = λ;\n λ = L + (1 - C) * f * sinα * (σ + C * sinσ * (cos2σM + C * cosσ * (-\n 1 + 2 * cos2σM * cos2σM)));\n } while (Math.abs(λ - λʹ) > 1e-12 && ++iterations < 100);\n if (iterations >= 100) {\n console.log(\"Formula failed to converge. Altering target position.\");\n return this._vincenty_inverse(p1, {\n lat: p2.lat,\n lng: p2.lng - 0.01\n });\n // throw new Error('Formula failed to converge');\n }\n\n var uSq = cosSqα * (a * a - b * b) / (b * b);\n var A = 1 + uSq / 16384 * (4096 + uSq * (-768 + uSq * (320 - 175 *\n uSq)));\n var B = uSq / 1024 * (256 + uSq * (-128 + uSq * (74 - 47 * uSq)));\n var Δσ = B * sinσ * (cos2σM + B / 4 * (cosσ * (-1 + 2 * cos2σM *\n cos2σM) -\n B / 6 * cos2σM * (-3 + 4 * sinσ * sinσ) * (-3 + 4 * cos2σM *\n cos2σM)));\n\n var s = b * A * (σ - Δσ);\n\n var fwdAz = Math.atan2(cosU2 * sinλ, cosU1 * sinU2 - sinU1 * cosU2 *\n cosλ);\n var revAz = Math.atan2(cosU1 * sinλ, -sinU1 * cosU2 + cosU1 * sinU2 *\n cosλ);\n\n s = Number(s.toFixed(3)); // round to 1mm precision\n return {\n distance: s,\n initialBearing: fwdAz.toDegrees(),\n finalBearing: revAz.toDegrees()\n };\n },\n\n\n /**\n * Returns the point of intersection of two paths defined by point and bearing.\n * based on the work of Chris Veness (https://github.com/chrisveness/geodesy)\n *\n * @param {LatLon} p1 - First point.\n * @param {number} brng1 - Initial bearing from first point.\n * @param {LatLon} p2 - Second point.\n * @param {number} brng2 - Initial bearing from second point.\n * @returns {Object} containing lat/lng information of intersection.\n *\n * @example\n * var p1 = LatLon(51.8853, 0.2545), brng1 = 108.55;\n * var p2 = LatLon(49.0034, 2.5735), brng2 = 32.44;\n * var pInt = LatLon.intersection(p1, brng1, p2, brng2); // pInt.toString(): 50.9078°N, 4.5084°E\n */\n _intersection: function(p1, brng1, p2, brng2) {\n // see http://williams.best.vwh.net/avform.htm#Intersection\n\n var φ1 = p1.lat.toRadians(),\n λ1 = p1.lng.toRadians();\n var φ2 = p2.lat.toRadians(),\n λ2 = p2.lng.toRadians();\n var θ13 = Number(brng1).toRadians(),\n θ23 = Number(brng2).toRadians();\n var Δφ = φ2 - φ1,\n Δλ = λ2 - λ1;\n\n var δ12 = 2 * Math.asin(Math.sqrt(Math.sin(Δφ / 2) * Math.sin(Δφ / 2) +\n Math.cos(φ1) * Math.cos(φ2) * Math.sin(Δλ / 2) * Math.sin(Δλ /\n 2)));\n if (δ12 == 0) return null;\n\n // initial/final bearings between points\n var θ1 = Math.acos((Math.sin(φ2) - Math.sin(φ1) * Math.cos(δ12)) /\n (Math.sin(δ12) * Math.cos(φ1)));\n if (isNaN(θ1)) θ1 = 0; // protect against rounding\n var θ2 = Math.acos((Math.sin(φ1) - Math.sin(φ2) * Math.cos(δ12)) /\n (Math.sin(δ12) * Math.cos(φ2)));\n var θ12, θ21;\n if (Math.sin(λ2 - λ1) > 0) {\n θ12 = θ1;\n θ21 = 2 * Math.PI - θ2;\n } else {\n θ12 = 2 * Math.PI - θ1;\n θ21 = θ2;\n }\n\n var α1 = (θ13 - θ12 + Math.PI) % (2 * Math.PI) - Math.PI; // angle 2-1-3\n var α2 = (θ21 - θ23 + Math.PI) % (2 * Math.PI) - Math.PI; // angle 1-2-3\n\n if (Math.sin(α1) == 0 && Math.sin(α2) == 0) return null; // infinite intersections\n if (Math.sin(α1) * Math.sin(α2) < 0) return null; // ambiguous intersection\n\n //α1 = Math.abs(α1);\n //α2 = Math.abs(α2);\n // ... Ed Williams takes abs of α1/α2, but seems to break calculation?\n\n var α3 = Math.acos(-Math.cos(α1) * Math.cos(α2) +\n Math.sin(α1) * Math.sin(α2) * Math.cos(δ12));\n var δ13 = Math.atan2(Math.sin(δ12) * Math.sin(α1) * Math.sin(α2),\n Math.cos(α2) + Math.cos(α1) * Math.cos(α3));\n var φ3 = Math.asin(Math.sin(φ1) * Math.cos(δ13) +\n Math.cos(φ1) * Math.sin(δ13) * Math.cos(θ13));\n var Δλ13 = Math.atan2(Math.sin(θ13) * Math.sin(δ13) * Math.cos(φ1),\n Math.cos(δ13) - Math.sin(φ1) * Math.sin(φ3));\n var λ3 = λ1 + Δλ13;\n λ3 = (λ3 + 3 * Math.PI) % (2 * Math.PI) - Math.PI; // normalise to -180..+180º\n\n return {\n lat: φ3.toDegrees(),\n lng: λ3.toDegrees()\n };\n },\n\n /**\n * Overwrites obj1's values with obj2's and adds obj2's if non existent in obj1\n * @param obj1\n * @param obj2\n * @returns obj3 a new object based on obj1 and obj2\n */\n _merge_options: function(obj1, obj2) {\n let obj3 = {};\n for (let attrname in obj1) {\n obj3[attrname] = obj1[attrname];\n }\n for (let attrname in obj2) {\n obj3[attrname] = obj2[attrname];\n }\n return obj3;\n }\n});\n\nL.geodesic = function(latlngs, options) {\n return new L.Geodesic(latlngs, options);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvTGVhZmxldC5HZW9kZXNpYy9MZWFmbGV0Lkdlb2Rlc2ljLmpzPzU3NGMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSw0QkFBNEI7QUFDNUI7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7O0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQSw0QkFBNEI7O0FBRTVCO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLEdBQUc7O0FBRUg7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFFBQVE7QUFDUjtBQUNBO0FBQ0EsR0FBRzs7QUFFSDtBQUNBO0FBQ0E7QUFDQSxHQUFHOztBQUVIO0FBQ0E7QUFDQSxzQkFBc0I7QUFDdEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsT0FBTzs7QUFFUCxrQkFBa0IsNkJBQTZCO0FBQy9DO0FBQ0Esc0JBQXNCLDJDQUEyQztBQUNqRTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsR0FBRzs7O0FBR0g7QUFDQTtBQUNBO0FBQ0EsYUFBYSxPQUFPO0FBQ3BCO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUF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bmcpO1xuICAgICAgICAgIGlmIChNYXRoLmFicyhncC5sbmcgLSBwcmV2LmxuZykgPiAxODApIHtcbiAgICAgICAgICAgIGxldCBzZWMgPSB0aGlzLl9pbnRlcnNlY3Rpb24ocG9pbnRBLCBpbnZlcnNlLmluaXRpYWxCZWFyaW5nLCB7XG4gICAgICAgICAgICAgIGxhdDogLTg5LFxuICAgICAgICAgICAgICBsbmc6ICgoZ3AubG5nIC0gcHJldi5sbmcpID4gMCkgPyAtSU5URVJTRUNUX0xORyA6IElOVEVSU0VDVF9MTkdcbiAgICAgICAgICAgIH0sIDApO1xuICAgICAgICAgICAgaWYgKHNlYykge1xuICAgICAgICAgICAgICBfZ2VvW19nZW9jbnRdLnB1c2goTC5sYXRMbmcoc2VjLmxhdCwgc2VjLmxuZykpO1xuICAgICAgICAgICAgICBfZ2VvY250Kys7XG4gICAgICAgICAgICAgIF9nZW9bX2dlb2NudF0gPSBbXTtcbiAgICAgICAgICAgICAgcHJldiA9IEwubGF0TG5nKHNlYy5sYXQsIC1zZWMubG5nKTtcbiAgICAgICAgICAgICAgX2dlb1tfZ2VvY250XS5wdXNoKHByZXYpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgX2dlb2NudCsrO1xuICAgICAgICAgICAgICBfZ2VvW19nZW9jbnRdID0gW107XG4gICAgICAgICAgICAgIF9nZW9bX2dlb2NudF0ucHVzaChncCk7XG4gICAgICAgICAgICAgIHByZXYgPSBncDtcbiAgICAgICAgICAgICAgcysrO1xuICAgICAgICAgICAgfSAgXG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIF9nZW9bX2dlb2NudF0ucHVzaChncCk7XG4gICAgICAgICAgICAvLyBEYXNoZWQgbGluZXMgc3RhcnQgYSBuZXcgbGluZVxuICAgICAgICAgICAgaWYgKHRoaXMub3B0aW9ucy5kYXNoIDwgMSl7XG4gICAgICAgICAgICAgICAgX2dlb2NudCsrO1xuICAgICAgICAgICAgICAgIC8v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EyOCArIHVTcSAqICg3NCAtIDQ3ICogdVNxKSkpO1xuXG4gICAgdmFyIM+DID0gcyAvIChiICogQSksXG4gICAgICDPg8q5LCBpdGVyYXRpb25zID0gMDtcbiAgICB2YXIgc2luz4MsIGNvc8+DO1xuICAgIHZhciBjb3Myz4NNO1xuICAgIGRvIHtcbiAgICAgIGNvczLPg00gPSBNYXRoLmNvcygyICogz4MxICsgz4MpO1xuICAgICAgc2luz4MgPSBNYXRoLnNpbijPgyk7XG4gICAgICBjb3PPgyA9IE1hdGguY29zKM+DKTtcbiAgICAgIHZhciDOlM+DID0gQiAqIHNpbs+DICogKGNvczLPg00gKyBCIC8gNCAqIChjb3PPgyAqICgtMSArIDIgKiBjb3Myz4NNICpcbiAgICAgICAgICBjb3Myz4NNKSAtXG4gICAgICAgIEIgLyA2ICogY29zMs+DTSAqICgtMyArIDQgKiBzaW7PgyAqIHNpbs+DKSAqICgtMyArIDQgKiBjb3Myz4NNICpcbiAgICAgICAgICBjb3Myz4NNKSkpO1xuICAgICAgz4PKuSA9IM+DO1xuICAgICAgz4MgPSBzIC8gKGIgKiBBKSArIM6Uz4M7XG4gICAgfSB3aGlsZSAoTWF0aC5hYnMoz4MgLSDPg8q5KSA+IDFlLTEyICYmICsraXRlcmF0aW9ucyk7XG5cbiAgICB2YXIgeCA9IHNpblUxICogc2luz4MgLSBjb3NVMSAqIGNvc8+DICogY29zzrExO1xuICAgIHZhciDPhjIgPSBNYXRoLmF0YW4yKHNpblUxICogY29zz4MgKyBjb3NVMSAqIHNpbs+DICogY29zzrExLCAoMSAtIGYpICpcbiAgICAgIE1hdGguc3FydChzaW7OsSAqIHNpbs6xICsgeCAqIHgpKTtcbiAgICB2YXIgzrsgPSBNYXRoLmF0YW4yKHNpbs+DICogc2luzrExLCBjb3NVMSAqIGNvc8+DIC0gc2luVTEgKiBzaW7PgyAqIGNvc86xMSk7XG4gICAgdmFyIEMgPSBmIC8gMTYgKiBjb3NTcc6xICogKDQgKyBmICogKDQgL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aW5Tcc+DID0gKGNvc1UyICogc2luzrspICogKGNvc1UyICogc2luzrspICsgKGNvc1UxICogc2luVTIgLVxuICAgICAgICBzaW5VMSAqIGNvc1UyICogY29zzrspICogKGNvc1UxICogc2luVTIgLSBzaW5VMSAqIGNvc1UyICogY29zzrspO1xuICAgICAgc2luz4MgPSBNYXRoLnNxcnQoc2luU3HPgyk7XG4gICAgICBpZiAoc2luz4MgPT0gMCkgcmV0dXJuIDA7IC8vIGNvLWluY2lkZW50IHBvaW50c1xuICAgICAgY29zz4MgPSBzaW5VMSAqIHNpblUyICsgY29zVTEgKiBjb3NVMiAqIGNvc867O1xuICAgICAgz4MgPSBNYXRoLmF0YW4yKHNpbs+DLCBjb3PPgyk7XG4gICAgICB2YXIgc2luzrEgPSBjb3NVMSAqIGNvc1UyICogc2luzrsgLyBzaW7PgztcbiAgICAgIGNvc1NxzrEgPSAxIC0gc2luzrEgKiBzaW7OsTtcbiAgICAgIGNvczLPg00gPSBjb3PPgyAtIDIgKiBzaW5VMSAqIHNpblUyIC8gY29zU3HOsTtcbiAgICAgIGlmIChpc05hTihjb3Myz4NNKSkgY29zMs+DTSA9IDA7IC8vIGVxdWF0b3JpYWwgbGluZTogY29zU3HOsT0wICjCpzYpXG4gICAgICB2YXIgQyA9IGYgLyAxNiAqIGNvc1NxzrEgKiAoNCArIGYgKiAoNCAtIDMgKiBjb3NTcc6xKSk7XG4gICAgICDOu8q5ID0gzrs7XG4gICAgICDOuyA9IEwgKyAoMSAtIEMpICogZiAqIHNpbs6xICogKM+DICsgQyAqIHNpbs+DICogKGNvczLPg00gKyBDICogY29zz4MgKiAoLVxuICAgICAgICAxICsgMiAqIGNvczLPg00gKiBjb3Myz4NNKSkpO1xuICAgIH0gd2hpbGUgKE1hdGguYWJzKM67IC0gzrvKuSkgPiAxZS0xMiAmJiArK2l0ZXJhdGlvbnMgPCAxMDApO1xuICAgIGlmIChpdGVyYXRpb25zID49IDEwMCkge1xuICAgICAgY29uc29sZS5sb2coX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cbiAgICogQHBhcmFtIG9iajJcbiAgICogQHJldHVybnMgb2JqMyBhIG5ldyBvYmplY3QgYmFzZWQgb24gb2JqMSBhbmQgb2JqMlxuICAgKi9cbiAgX21lcmdlX29wdGlvbnM6IGZ1bmN0aW9uKG9iajEsIG9iajIpIHtcbiAgICBsZXQgb2JqMyA9IHt9O1xuICAgIGZvciAobGV0IGF0dHJuYW1lIGluIG9iajEpIHtcbiAgICAgIG9iajNbYXR0cm5hbWVdID0gb2JqMVthdHRybmFtZV07XG4gICAgfVxuICAgIGZvciAobGV0IGF0dHJuYW1lIGluIG9iajIpIHtcbiAgICAgIG9iajNbYXR0cm5hbWVdID0gb2JqMlthdHRybmFtZV07XG4gICAgfVxuICAgIHJldHVybiBvYmozO1xuICB9XG59KTtcblxuTC5nZW9kZXNpYyA9IGZ1bmN0aW9uKGxhdGxuZ3MsIG9wdGlvbnMpIHtcbiAgcmV0dXJuIG5ldyBMLkdlb2Rlc2ljKGxhdGxuZ3MsIG9wdGlvbnMpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL0xlYWZsZXQuR2VvZGVzaWMvTGVhZmxldC5HZW9kZXNpYy5qc1xuLy8gbW9kdWxlIGlkID0gLi9ub2RlX21vZHVsZXMvTGVhZmxldC5HZW9kZXNpYy9MZWFmbGV0Lkdlb2Rlc2ljLmpzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCAxIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/Leaflet.Geodesic/Leaflet.Geodesic.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/index.js": +/***/ (function(module, exports, __webpack_require__) { + +eval("module.exports = __webpack_require__(\"./node_modules/axios/lib/axios.js\");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvaW5kZXguanM/OWFkNSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsImZpbGUiOiIuL25vZGVfbW9kdWxlcy9heGlvcy9pbmRleC5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZSgnLi9saWIvYXhpb3MnKTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9heGlvcy9pbmRleC5qc1xuLy8gbW9kdWxlIGlkID0gLi9ub2RlX21vZHVsZXMvYXhpb3MvaW5kZXguanNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIDEgMiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/axios/index.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/adapters/xhr.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\nvar settle = __webpack_require__(\"./node_modules/axios/lib/core/settle.js\");\nvar buildURL = __webpack_require__(\"./node_modules/axios/lib/helpers/buildURL.js\");\nvar parseHeaders = __webpack_require__(\"./node_modules/axios/lib/helpers/parseHeaders.js\");\nvar isURLSameOrigin = __webpack_require__(\"./node_modules/axios/lib/helpers/isURLSameOrigin.js\");\nvar createError = __webpack_require__(\"./node_modules/axios/lib/core/createError.js\");\nvar btoa = (typeof window !== 'undefined' && window.btoa && window.btoa.bind(window)) || __webpack_require__(\"./node_modules/axios/lib/helpers/btoa.js\");\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n var loadEvent = 'onreadystatechange';\n var xDomain = false;\n\n // For IE 8/9 CORS support\n // Only supports POST and GET calls and doesn't returns the response headers.\n // DON'T do this for testing b/c XMLHttpRequest is mocked, not XDomainRequest.\n if (\"development\" !== 'test' &&\n typeof window !== 'undefined' &&\n window.XDomainRequest && !('withCredentials' in request) &&\n !isURLSameOrigin(config.url)) {\n request = new window.XDomainRequest();\n loadEvent = 'onload';\n xDomain = true;\n request.onprogress = function handleProgress() {};\n request.ontimeout = function handleTimeout() {};\n }\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n request.open(config.method.toUpperCase(), buildURL(config.url, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n // Listen for ready state\n request[loadEvent] = function handleLoad() {\n if (!request || (request.readyState !== 4 && !xDomain)) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;\n var response = {\n data: responseData,\n // IE sends 1223 instead of 204 (https://github.com/axios/axios/issues/201)\n status: request.status === 1223 ? 204 : request.status,\n statusText: request.status === 1223 ? 'No Content' : request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(resolve, reject, response);\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n reject(createError('timeout of ' + config.timeout + 'ms exceeded', config, 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n var cookies = __webpack_require__(\"./node_modules/axios/lib/helpers/cookies.js\");\n\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(config.url)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (config.withCredentials) {\n request.withCredentials = true;\n }\n\n // Add responseType to request if needed\n if (config.responseType) {\n try {\n request.responseType = config.responseType;\n } catch (e) {\n // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.\n // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.\n if (config.responseType !== 'json') {\n throw e;\n }\n }\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel);\n // Clean up request\n request = null;\n });\n }\n\n if (requestData === undefined) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6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1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2FkYXB0ZXJzL3hoci5qc1xuLy8gbW9kdWxlIGlkID0gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2FkYXB0ZXJzL3hoci5qc1xuLy8gbW9kdWxlIGNodW5rcyA9IDAgMSAyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/adapters/xhr.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/axios.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\nvar bind = __webpack_require__(\"./node_modules/axios/lib/helpers/bind.js\");\nvar Axios = __webpack_require__(\"./node_modules/axios/lib/core/Axios.js\");\nvar defaults = __webpack_require__(\"./node_modules/axios/lib/defaults.js\");\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(utils.merge(defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = __webpack_require__(\"./node_modules/axios/lib/cancel/Cancel.js\");\naxios.CancelToken = __webpack_require__(\"./node_modules/axios/lib/cancel/CancelToken.js\");\naxios.isCancel = __webpack_require__(\"./node_modules/axios/lib/cancel/isCancel.js\");\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = __webpack_require__(\"./node_modules/axios/lib/helpers/spread.js\");\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2F4aW9zLmpzP2I0ODEiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0EsV0FBVyxPQUFPO0FBQ2xCLFlBQVksTUFBTTtBQUNsQjtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7QUFFQTtBQUNBIiwiZmlsZSI6Ii4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9heGlvcy5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIid1c2Ugc3RyaWN0JztcblxudmFyIHV0aWxzID0gcmVxdWlyZSgnLi91dGlscycpO1xudmFyIGJpbmQgPSByZXF1aXJlKCcuL2hlbHBlcnMvYmluZCcpO1xudmFyIEF4aW9zID0gcmVxdWlyZSgnLi9jb3JlL0F4aW9zJyk7XG52YXIgZGVmYXVsdHMgPSByZXF1aXJlKCcuL2RlZmF1bHRzJyk7XG5cbi8qKlxuICogQ3JlYXRlIGFuIGluc3RhbmNlIG9mIEF4aW9zXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IGRlZmF1bHRDb25maWcgVGhlIGRlZmF1bHQgY29uZmlnIGZvciB0aGUgaW5zdGFuY2VcbiAqIEByZXR1cm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W5jZWwvQ2FuY2VsVG9rZW4nKTtcbmF4aW9zLmlzQ2FuY2VsID0gcmVxdWlyZSgnLi9jYW5jZWwvaXNDYW5jZWwnKTtcblxuLy8gRXhwb3NlIGFsbC9zcHJlYWRcbmF4aW9zLmFsbCA9IGZ1bmN0aW9uIGFsbChwcm9taXNlcykge1xuICByZXR1cm4gUHJvbWlzZS5hbGwocHJvbWlzZXMpO1xufTtcbmF4aW9zLnNwcmVhZCA9IHJlcXVpcmUoJy4vaGVscGVycy9zcHJlYWQnKTtcblxubW9kdWxlLmV4cG9ydHMgPSBheGlvcztcblxuLy8gQWxsb3cgdXNlIG9mIGRlZmF1bHQgaW1wb3J0IHN5bnRheCBpbiBUeXBlU2NyaXB0XG5tb2R1bGUuZXhwb3J0cy5kZWZhdWx0ID0gYXhpb3M7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvYXhpb3MuanNcbi8vIG1vZHVsZSBpZCA9IC4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9heGlvcy5qc1xuLy8gbW9kdWxlIGNodW5rcyA9IDAgMSAyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/axios.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/cancel/Cancel.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8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8gbW9kdWxlIGNodW5rcyA9IDAgMSAyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/cancel/Cancel.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/cancel/CancelToken.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar Cancel = __webpack_require__(\"./node_modules/axios/lib/cancel/Cancel.js\");\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NhbmNlbC9DYW5jZWxUb2tlbi5qcz83MTZjIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsV0FBVyxTQUFTO0FBQ3BCO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0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T09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9jYW5jZWwvQ2FuY2VsVG9rZW4uanNcbi8vIG1vZHVsZSBpZCA9IC4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9jYW5jZWwvQ2FuY2VsVG9rZW4uanNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIDEgMiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/cancel/CancelToken.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/cancel/isCancel.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NhbmNlbC9pc0NhbmNlbC5qcz9hNDFiIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztBQUVBO0FBQ0E7QUFDQSIsImZpbGUiOiIuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvY2FuY2VsL2lzQ2FuY2VsLmpzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xuXG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIGlzQ2FuY2VsKHZhbHVlKSB7XG4gIHJldHVybiAhISh2YWx1ZSAmJiB2YWx1ZS5fX0NBTkNFTF9fKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvY2FuY2VsL2lzQ2FuY2VsLmpzXG4vLyBtb2R1bGUgaWQgPSAuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvY2FuY2VsL2lzQ2FuY2VsLmpzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCAxIDIiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/cancel/isCancel.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/core/Axios.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar defaults = __webpack_require__(\"./node_modules/axios/lib/defaults.js\");\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\nvar InterceptorManager = __webpack_require__(\"./node_modules/axios/lib/core/InterceptorManager.js\");\nvar dispatchRequest = __webpack_require__(\"./node_modules/axios/lib/core/dispatchRequest.js\");\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = utils.merge({\n url: arguments[0]\n }, arguments[1]);\n }\n\n config = utils.merge(defaults, this.defaults, { method: 'get' }, config);\n config.method = config.method.toLowerCase();\n\n // Hook up interceptors middleware\n var chain = [dispatchRequest, undefined];\n var promise = Promise.resolve(config);\n\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n chain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n chain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvQXhpb3MuanM/NWU2NSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxXQUFXLE9BQU87QUFDbEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxXQUFXLE9BQU87QUFDbEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxLQUFLO0FBQ0w7O0FBRUEsaURBQWlELGdCQUFnQjtBQUNqRTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBLEdBQUc7O0FBRUg7QUFDQTtBQUNBLEdBQUc7O0FBRUg7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQSxnREFBZ0Q7QUFDaEQ7QUFDQTtBQUNBLEtBQUs7QUFDTDtBQUNBLENBQUM7O0FBRUQ7QUFDQTtBQUNBO0FBQ0EsZ0RBQWdEO0FBQ2hEO0FBQ0E7QUFDQTtBQUNBLEtBQUs7QUFDTDtBQUNBLENBQUM7O0FBRUQiLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvQXhpb3MuanMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIHN0cmljdCc7XG5c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Y2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/core/Axios.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/core/InterceptorManager.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvSW50ZXJjZXB0b3JNYW5hZ2VyLmpzPzdlZTEiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLFdBQVcsU0FBUztBQUNwQixXQUFXLFNBQVM7QUFDcEI7QUFDQSxZQUFZLE9BQU87QUFDbkI7QUFDQTtBQUNBO0FB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vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvSW50ZXJjZXB0b3JNYW5hZ2VyLmpzXG4vLyBtb2R1bGUgaWQgPSAuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvY29yZS9JbnRlcmNlcHRvck1hbmFnZXIuanNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIDEgMiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/core/InterceptorManager.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/core/createError.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar enhanceError = __webpack_require__(\"./node_modules/axios/lib/core/enhanceError.js\");\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvY3JlYXRlRXJyb3IuanM/MTZkMCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxXQUFXLE9BQU87QUFDbEIsV0FBVyxPQUFPO0FBQ2xCLFdBQVcsT0FBTztBQUNsQixXQUFXLE9BQU87QUFDbEIsV0FBVyxPQUFPO0FBQ2xCLGFBQWEsTUFBTTtBQUNuQjtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwiZmlsZSI6Ii4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9jb3J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VfbW9kdWxlcy9heGlvcy9saWIvY29yZS9jcmVhdGVFcnJvci5qc1xuLy8gbW9kdWxlIGNodW5rcyA9IDAgMSAyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/core/createError.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/core/dispatchRequest.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\nvar transformData = __webpack_require__(\"./node_modules/axios/lib/core/transformData.js\");\nvar isCancel = __webpack_require__(\"./node_modules/axios/lib/cancel/isCancel.js\");\nvar defaults = __webpack_require__(\"./node_modules/axios/lib/defaults.js\");\nvar isAbsoluteURL = __webpack_require__(\"./node_modules/axios/lib/helpers/isAbsoluteURL.js\");\nvar combineURLs = __webpack_require__(\"./node_modules/axios/lib/helpers/combineURLs.js\");\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Support baseURL config\n if (config.baseURL && !isAbsoluteURL(config.url)) {\n config.url = combineURLs(config.baseURL, config.url);\n }\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData(\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers || {}\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData(\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData(\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvZGlzcGF0Y2hSZXF1ZXN0LmpzP2M0YmIiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0EsV0FBVyxPQUFPO0FBQ2xCLGFBQWEsUUFBUTtBQUNyQjtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBLCtCQUErQjtBQUMvQix1Q0FBdUM7QUFDdkM7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQSxHQUFHO0FBQ0g7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQSxHQUFHO0FBQ0giLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvZGlzcGF0Y2hS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2F4aW9zL2xpYi9jb3JlL2Rpc3BhdGNoUmVxdWVzdC5qc1xuLy8gbW9kdWxlIGNodW5rcyA9IDAgMSAyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/core/dispatchRequest.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/core/enhanceError.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n error.request = request;\n error.response = response;\n return error;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvZW5oYW5jZUVycm9yLmpzP2I3Y2EiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0EsV0FBVyxNQUFNO0FBQ2pCLFdBQVcsT0FBTztBQUNsQixXQUFXLE9BQU87QUFDbEIsV0FBVyxPQUFPO0FBQ2xCLFdBQVcsT0FBTztBQUNsQixhQUFhLE1BQU07QUFDbkI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvZW5oYW5jZUVycm9yLmpzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xuXG4vKipcbiAqIFVwZGF0ZSBhbiBFcnJvciB3aXRoIHRoZSBzcGVjaWZpZWQgY29uZmlnLCBlcnJvciBjb2RlLCBhbmQgcmVzcG9uc2UuXG4gKlxuICogQHBhcmFtIHtFcnJvcn0gZXJyb3IgVGhlIGVycm9yIHRvIHVwZGF0ZS5cbiAqIEBwYXJhbSB7T2JqZWN0fSBjb25maWcgVGhlIGNvbmZpZy5cbiAqIEBwYXJhbSB7c3RyaW5nfSBbY29kZV0gVGhlIGVycm9yIGNvZGUgKGZvciBleGFtcGxlLCAnRUNPTk5BQk9SVEVEJykuXG4gKiBAcGFyYW0ge09iamVjdH0gW3JlcXVlc3RdIFRoZSByZXF1ZXN0LlxuICogQHBhcmFtIHtPYmplY3R9IFtyZXNwb25zZV0gVGhlIHJlc3BvbnNlLlxuICogQHJldHVybnMge0Vycm9yfSBUaGUgZXJyb3IuXG4gKi9cbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gZW5oYW5jZUVycm9yKGVycm9yLCBjb25maWcsIGNvZGUsIHJlcXVlc3QsIHJlc3BvbnNlKSB7XG4gIGVycm9yLmNvbmZpZyA9IGNvbmZpZztcbiAgaWYgKGNvZGUpIHtcbiAgICBlcnJvci5jb2RlID0gY29kZTtcbiAgfVxuICBlcnJvci5yZXF1ZXN0ID0gcmVxdWVzdDtcbiAgZXJyb3IucmVzcG9uc2UgPSByZXNwb25zZTtcbiAgcmV0dXJuIGVycm9yO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9jb3JlL2VuaGFuY2VFcnJvci5qc1xuLy8gbW9kdWxlIGlkID0gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvZW5oYW5jZUVycm9yLmpzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCAxIDIiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/core/enhanceError.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/core/settle.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar createError = __webpack_require__(\"./node_modules/axios/lib/core/createError.js\");\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n // Note: status is not exposed by XDomainRequest\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvc2V0dGxlLmpzP2RiNTIiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0EsV0FBVyxTQUFTO0FBQ3BCLFdBQVcsU0FBUztBQUNwQixXQUFXLE9BQU87QUFDbEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsR0FBRztBQUNIO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsImZpbGUiOiIuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvY29yZS9zZXR0bGUuanMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIHN0cmljdCc7XG5cbnZhciBjcmVhdGVFcnJvciA9IHJlcXVpcmUoJy4vY3JlYXRlRXJyb3InKTtcblxuLyoqXG4gKiBSZXNvbHZlIG9yIHJlamVjdCBhIFByb21pc2UgYmFzZWQgb24gcmVzcG9uc2Ugc3RhdHVzLlxuICpcbiAqIEBwYXJhbSB7RnVuY3Rpb259IHJlc29sdmUgQSBmdW5jdGlvbiB0aGF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ules/axios/lib/core/settle.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/core/transformData.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn(data, headers);\n });\n\n return data;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvdHJhbnNmb3JtRGF0YS5qcz80Y2Q1Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLFdBQVcsY0FBYztBQUN6QixXQUFXLE1BQU07QUFDakIsV0FBVyxlQUFlO0FBQzFCLGFBQWEsRUFBRTtBQUNmO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxHQUFHOztBQUVIO0FBQ0EiLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2NvcmUvdHJhbnNmb3JtRGF0YS5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIid1c2Ugc3RyaWN0JztcblxudmFyIHV0aWxzID0gcmVxdWlyZSgnLi8uLi91dGlscycpO1xuXG4vKipcbiAqIFRyYW5zZm9ybSB0aGUgZGF0YSBmb3IgYSByZXF1ZXN0IG9yIGEgcmVzcG9uc2VcbiAqXG4gKiBAcGFyYW0ge09iamVjdHxTdHJpbmd9IGRhdGEgVGhlIGRhdGEgdG8gYmUgdHJhbnNmb3JtZWRcbiAqIEBwYXJhbSB7QXJyYXl9IGhlYWRlcnMgVGhlIGhlYWRlcnMgZm9yIHRoZSByZXF1ZXN0IG9yIHJlc3BvbnNlXG4gKiBAcGFyYW0ge0FycmF5fEZ1bmN0aW9ufSBmbnMgQSBzaW5nbGUgZnVuY3Rpb24gb3IgQXJyYXkgb2YgZnVuY3Rpb25zXG4gKiBAcmV0dXJucyB7Kn0gVGhlIHJlc3VsdGluZyB0cmFuc2Zvcm1lZCBkYXRhXG4gKi9cbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gdHJhbnNmb3JtRGF0YShkYXRhLCBoZWFkZXJzLCBmbnMpIHtcbiAgLyplc2xpbnQgbm8tcGFyYW0tcmVhc3NpZ246MCovXG4gIHV0aWxzLmZvckVhY2goZm5zLCBmdW5jdGlvbiB0cmFuc2Zvcm0oZm4pIHtcbiAgICBkYXRhID0gZm4oZGF0YSwgaGVhZGVycyk7XG4gIH0pO1xuXG4gIHJldHVybiBkYXRhO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9jb3JlL3RyYW5zZm9ybURhdGEuanNcbi8vIG1vZHVsZSBpZCA9IC4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9jb3JlL3RyYW5zZm9ybURhdGEuanNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIDEgMiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/core/transformData.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/defaults.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(process) {\n\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\nvar normalizeHeaderName = __webpack_require__(\"./node_modules/axios/lib/helpers/normalizeHeaderName.js\");\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = __webpack_require__(\"./node_modules/axios/lib/adapters/xhr.js\");\n } else if (typeof process !== 'undefined') {\n // For node use HTTP adapter\n adapter = __webpack_require__(\"./node_modules/axios/lib/adapters/xhr.js\");\n }\n return adapter;\n}\n\nvar defaults = {\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Content-Type');\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data)) {\n setContentTypeIfUnset(headers, 'application/json;charset=utf-8');\n return JSON.stringify(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n /*eslint no-param-reassign:0*/\n if (typeof data === 'string') {\n try {\n data = JSON.parse(data);\n } catch (e) { /* Ignore */ }\n }\n return data;\n }],\n\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(\"./node_modules/process/browser.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2RlZmF1bHRzLmpzPzI4MjIiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IitDQUFBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLEdBQUc7QUFDSDtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0Esd0VBQXdFO0FBQ3hFO0FBQ0E7QUFDQTtBQUNBLHVEQUF1RDtBQUN2RDtBQUNBO0FBQ0E7QUFDQSxHQUFHOztBQUVIO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxPQUFPLFlBQVk7QUFDbkI7QUFDQTtBQUNBLEdBQUc7O0FBRUg7O0FBRUE7QUFDQTs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQSxDQUFDOztBQUVEO0FBQ0E7QUFDQSxDQUFDOztBQUVEIiwiZmlsZSI6Ii4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9kZWZhdWx0cy5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIid1c2Ugc3RyaWN0JztcblxudmFyIHV0aWxzID0gcmVxdWlyZSgnLi91dGlscycpO1xudmFyIG5vcm1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F1bHRzLmpzXG4vLyBtb2R1bGUgaWQgPSAuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvZGVmYXVsdHMuanNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIDEgMiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/defaults.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/bind.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvYmluZC5qcz8yNGZmIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLG1CQUFtQixpQkFBaUI7QUFDcEM7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsImZpbGUiOiIuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvaGVscGVycy9iaW5kLmpzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xuXG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIGJpbmQoZm4sIHRoaXNBcmcpIHtcbiAgcmV0dXJuIGZ1bmN0aW9uIHdyYXAoKSB7XG4gICAgdmFyIGFyZ3MgPSBuZXcgQXJyYXkoYXJndW1lbnRzLmxlbmd0aCk7XG4gICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcmdzLmxlbmd0aDsgaSsrKSB7XG4gICAgICBhcmdzW2ldID0gYXJndW1lbnRzW2ldO1xuICAgIH1cbiAgICByZXR1cm4gZm4uYXBwbHkodGhpc0FyZywgYXJncyk7XG4gIH07XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvYmluZC5qc1xuLy8gbW9kdWxlIGlkID0gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvYmluZC5qc1xuLy8gbW9kdWxlIGNodW5rcyA9IDAgMSAyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/helpers/bind.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/btoa.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\n// btoa polyfill for IE<10 courtesy https://github.com/davidchambers/Base64.js\n\nvar chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\nfunction E() {\n this.message = 'String contains an invalid character';\n}\nE.prototype = new Error;\nE.prototype.code = 5;\nE.prototype.name = 'InvalidCharacterError';\n\nfunction btoa(input) {\n var str = String(input);\n var output = '';\n for (\n // initialize result and counter\n var block, charCode, idx = 0, map = chars;\n // if the next str index does not exist:\n // change the mapping table to \"=\"\n // check if d has no fractional digits\n str.charAt(idx | 0) || (map = '=', idx % 1);\n // \"8 - idx % 1 * 8\" generates the sequence 2, 4, 6, 8\n output += map.charAt(63 & block >> 8 - idx % 1 * 8)\n ) {\n charCode = str.charCodeAt(idx += 3 / 4);\n if (charCode > 0xFF) {\n throw new E();\n }\n block = block << 8 | charCode;\n }\n return output;\n}\n\nmodule.exports = btoa;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvYnRvYS5qcz9iNjEyIl0sIm5hbWVzIj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GV4IGRvZXMgbm90IGV4aXN0OlxuICAgIC8vICAgY2hhbmdlIHRoZSBtYXBwaW5nIHRhYmxlIHRvIFwiPVwiXG4gICAgLy8gICBjaGVjayBpZiBkIGhhcyBubyBmcmFjdGlvbmFsIGRpZ2l0c1xuICAgIHN0ci5jaGFyQXQoaWR4IHwgMCkgfHwgKG1hcCA9ICc9JywgaWR4ICUgMSk7XG4gICAgLy8gXCI4IC0gaWR4ICUgMSAqIDhcIiBnZW5lcmF0ZXMgdGhlIHNlcXVlbmNlIDIsIDQsIDYsIDhcbiAgICBvdXRwdXQgKz0gbWFwLmNoYXJBdCg2MyAmIGJsb2NrID4+IDggLSBpZHggJSAxICogOClcbiAgKSB7XG4gICAgY2hhckNvZGUgPSBzdHIuY2hhckNvZGVBdChpZHggKz0gMyAvIDQpO1xuICAgIGlmIChjaGFyQ29kZSA+IDB4RkYpIHtcbiAgICAgIHRocm93IG5ldyBFKCk7XG4gICAgfVxuICAgIGJsb2NrID0gYmxvY2sgPDwgOCB8IGNoYXJDb2RlO1xuICB9XG4gIHJldHVybiBvdXRwdXQ7XG59XG5cbm1vZHVsZS5leHBvcnRzID0gYnRvYTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9oZWxwZXJzL2J0b2EuanNcbi8vIG1vZHVsZSBpZCA9IC4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9oZWxwZXJzL2J0b2EuanNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIDEgMiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/helpers/btoa.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/buildURL.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%40/gi, '@').\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n }\n\n if (!utils.isArray(val)) {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvYnVpbGRVUkwuanM/MGQwMCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxXQUFXLE9BQU87QUFDbEIsV0FBVyxPQUFPO0FBQ2xCLGFBQWEsT0FBTztBQUNwQjtBQUNBO0F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GlmICh1dGlscy5pc09iamVjdCh2KSkge1xuICAgICAgICAgIHYgPSBKU09OLnN0cmluZ2lmeSh2KTtcbiAgICAgICAgfVxuICAgICAgICBwYXJ0cy5wdXNoKGVuY29kZShrZXkpICsgJz0nICsgZW5jb2RlKHYpKTtcbiAgICAgIH0pO1xuICAgIH0pO1xuXG4gICAgc2VyaWFsaXplZFBhcmFtcyA9IHBhcnRzLmpvaW4oJyYnKTtcbiAgfVxuXG4gIGlmIChzZXJpYWxpemVkUGFyYW1zKSB7XG4gICAgdXJsICs9ICh1cmwuaW5kZXhPZignPycpID09PSAtMSA/ICc/JyA6ICcmJykgKyBzZXJpYWxpemVkUGFyYW1zO1xuICB9XG5cbiAgcmV0dXJuIHVybDtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvaGVscGVycy9idWlsZFVSTC5qc1xuLy8gbW9kdWxlIGlkID0gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvYnVpbGRVUkwuanNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIDEgMiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/helpers/buildURL.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/combineURLs.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9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VSTHMuanNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIDEgMiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/helpers/combineURLs.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/cookies.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvY29va2llcy5qcz9hNzU2Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztBQUVBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0F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yhwYXRoKSkge1xuICAgICAgICAgIGNvb2tpZS5wdXNoKCdwYXRoPScgKyBwYXRoKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh1dGlscy5pc1N0cmluZyhkb21haW4pKSB7XG4gICAgICAgICAgY29va2llLnB1c2goJ2RvbWFpbj0nICsgZG9tYWluKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChzZWN1cmUgPT09IHRydWUpIHtcbiAgICAgICAgICBjb29raWUucHVzaCgnc2VjdXJlJyk7XG4gICAgICAgIH1cblxuICAgICAgICBkb2N1bWVudC5jb29raWUgPSBjb29raWUuam9pbignOyAnKTtcbiAgICAgIH0sXG5cbiAgICAgIHJlYWQ6IGZ1bmN0aW9uIHJlYWQobmFtZSkge1xuICAgICAgICB2YXIgbWF0Y2ggPSBkb2N1bWVudC5jb29raWUubWF0Y2gobmV3IFJlZ0V4cCgnKF58O1xcXFxzKikoJyArIG5hbWUgKyAnKT0oW147XSopJykpO1xuICAgICAgICByZXR1cm4gKG1hdGNoID8gZGVjb2RlVVJJQ29tcG9uZW50KG1hdGNoWzNdKSA6IG51bGwpO1xuICAgICAgfSxcblxuICAgICAgcmVtb3ZlOiBmdW5jdGlvbiByZW1vdmUobmFtZSkge1xuICAgICAgICB0aGlzLndyaXRlKG5hbWUsICcnLCBEYXRlLm5vdygpIC0gODY0MDAwMDApO1xuICAgICAgfVxuICAgIH07XG4gIH0pKCkgOlxuXG4gIC8vIE5vbiBzdGFuZGFyZCBicm93c2VyIGVudiAod2ViIHdvcmtlcnMsIHJlYWN0LW5hdGl2ZSkgbGFjayBuZWVkZWQgc3VwcG9ydC5cbiAgKGZ1bmN0aW9uIG5vblN0YW5kYXJkQnJvd3NlckVudigpIHtcbiAgICByZXR1cm4ge1xuICAgICAgd3JpdGU6IGZ1bmN0aW9uIHdyaXRlKCkge30sXG4gICAgICByZWFkOiBmdW5jdGlvbiByZWFkKCkgeyByZXR1cm4gbnVsbDsgfSxcbiAgICAgIHJlbW92ZTogZnVuY3Rpb24gcmVtb3ZlKCkge31cbiAgICB9O1xuICB9KSgpXG4pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvY29va2llcy5qc1xuLy8gbW9kdWxlIGlkID0gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvY29va2llcy5qc1xuLy8gbW9kdWxlIGNodW5rcyA9IDAgMSAyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/helpers/cookies.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/isAbsoluteURL.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvaXNBYnNvbHV0ZVVSTC5qcz83NDhjIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLFdBQVcsT0FBTztBQUNsQixhQUFhLFFBQVE7QUFDckI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlc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qc1xuLy8gbW9kdWxlIGNodW5rcyA9IDAgMSAyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/helpers/isAbsoluteURL.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/isURLSameOrigin.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvaXNVUkxTYW1lT3JpZ2luLmpzPzE4NzAiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0EsY0FBYyxPQUFPO0FBQ3JCLGdCQUFnQjtBQUNoQjtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLGNBQWMsT0FBTztBQUNyQixnQkFBZ0IsUUFBUTtBQUN4QjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxHQUFHOztBQUVIO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxHQUFHO0FBQ0giLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvaXNVUkxTYW1lT3JpZ2luLmpzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xuXG52YXIgdXRpbHMgPSByZXF1aXJlKCcuLy4uL3V0aWxzJyk7XG5cbm1vZHVsZS5leHBvcnRzID0gKFxuICB1dGlscy5pc1N0YW5kYXJkQnJvd3NlckVudigpID9cblxuICAvLyBTdGFuZGFyZCBicm93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+ +/***/ "./node_modules/axios/lib/helpers/normalizeHeaderName.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvbm9ybWFsaXplSGVhZGVyTmFtZS5qcz9lNTU0Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLEdBQUc7QUFDSCIsImZpbGUiOiIuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvaGVscGVycy9ub3JtYWxpemVIZWFkZXJOYW1lLmpzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xuXG52YXIgdXRpbHMgPSByZXF1aXJlKCcuLi91dGlscycpO1xuXG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIG5vcm1hbGl6ZUhlYWRlck5hbWUoaGVhZGVycywgbm9ybWFsaXplZE5hbWUpIHtcbiAgdXRpbHMuZm9yRWFjaChoZWFkZXJzLCBmdW5jdGlvbiBwcm9jZXNzSGVhZGVyKHZhbHVlLCBuYW1lKSB7XG4gICAgaWYgKG5hbWUgIT09IG5vcm1hbGl6ZWROYW1lICYmIG5hbWUudG9VcHBlckNhc2UoKSA9PT0gbm9ybWFsaXplZE5hbWUudG9VcHBlckNhc2UoKSkge1xuICAgICAgaGVhZGVyc1tub3JtYWxpemVkTmFtZV0gPSB2YWx1ZTtcbiAgICAgIGRlbGV0ZSBoZWFkZXJzW25hbWVdO1xuICAgIH1cbiAgfSk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvbm9ybWFsaXplSGVhZGVyTmFtZS5qc1xuLy8gbW9kdWxlIGlkID0gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvbm9ybWFsaXplSGVhZGVyTmFtZS5qc1xuLy8gbW9kdWxlIGNodW5rcyA9IDAgMSAyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/helpers/normalizeHeaderName.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/parseHeaders.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar utils = __webpack_require__(\"./node_modules/axios/lib/utils.js\");\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvcGFyc2VIZWFkZXJzLmpzP2EwOTkiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFdBQVcsT0FBTztBQUNsQixhQUFhLE9BQU87QUFDcEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBLGlCQUFpQixlQUFlOztBQUVoQztBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxPQUFPO0FBQ1A7QUFDQTtBQUNBO0FBQ0EsR0FBRzs7QUFFSDtBQUNBIiwiZmlsZSI6Ii4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9oZWxwZXJzL3BhcnNlSGVhZGVycy5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIid1c2Ugc3RyaWN0JztcblxudmFyIHV0aWxzID0gcmVxdWlyZSgnLi8uLi91dGlscycpO1xuXG4vLyBIZWFkZXJzIHdob3NlIGR1cGxpY2F0ZXMgYXJlIGlnbm9yZWQgYnkgbm9kZVxuLy8gYy5mLiBodHRwczovL25vZGVqcy5vcmcvYXBpL2h0dHAuaHRtbCNodHRwX21lc3NhZ2VfaGVhZGVyc1xudmFyIGlnbm9yZUR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1xuICAgIGtleSA9IHV0aWxzLnRyaW0obGluZS5zdWJzdHIoMCwgaSkpLnRvTG93ZXJDYXNlKCk7XG4gICAgdmFsID0gdXRpbHMudHJpbShsaW5lLnN1YnN0cihpICsgMSkpO1xuXG4gICAgaWYgKGtleSkge1xuICAgICAgaWYgKHBhcnNlZFtrZXldICYmIGlnbm9yZUR1cGxpY2F0ZU9mLmluZGV4T2Yoa2V5KSA+PSAwKSB7XG4gICAgICAgIHJldHVybjtcbiAgICAgIH1cbiAgICAgIGlmIChrZXkgPT09ICdzZXQtY29va2llJykge1xuICAgICAgICBwYXJzZWRba2V5XSA9IChwYXJzZWRba2V5XSA/IHBhcnNlZFtrZXldIDogW10pLmNvbmNhdChbdmFsXSk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBwYXJzZWRba2V5XSA9IHBhcnNlZFtrZXldID8gcGFyc2VkW2tleV0gKyAnLCAnICsgdmFsIDogdmFsO1xuICAgICAgfVxuICAgIH1cbiAgfSk7XG5cbiAgcmV0dXJuIHBhcnNlZDtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvaGVscGVycy9wYXJzZUhlYWRlcnMuanNcbi8vIG1vZHVsZSBpZCA9IC4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi9oZWxwZXJzL3BhcnNlSGVhZGVycy5qc1xuLy8gbW9kdWxlIGNodW5rcyA9IDAgMSAyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/helpers/parseHeaders.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/helpers/spread.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvc3ByZWFkLmpzP2E3MTEiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLCtCQUErQjtBQUMvQjtBQUNBO0FBQ0EsV0FBVyxTQUFTO0FBQ3BCLGFBQWE7QUFDYjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvc3ByZWFkLmpzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xuXG4vKipcbiAqIFN5bnRhY3RpYyBzdWdhciBmb3IgaW52b2tpbmcgYSBmdW5jdGlvbiBhbmQgZXhwYW5kaW5nIGFuIGFycmF5IGZvciBhcmd1bWVudHMuXG4gKlxuICogQ29tbW9uIHVzZSBjYXNlIHdvdWxkIGJlIHRvIHVzZSBgRnVuY3Rpb24ucHJvdG90eXBlLmFwcGx5YC5cbiAqXG4gKiAgYGBganNcbiAqICBmdW5jdGlvbiBmKHgsIHksIHopIHt9XG4gKiAgdmFyIGFyZ3MgPSBbMSwgMiwgM107XG4gKiAgZi5hcHBseShudWxsLCBhcmdzKTtcbiAqICBgYGBcbiAqXG4gKiBXaXRoIGBzcHJlYWRgIHRoaXMgZXhhbXBsZSBjYW4gYmUgcmUtd3JpdHRlbi5cbiAqXG4gKiAgYGBganNcbiAqICBzcHJlYWQoZnVuY3Rpb24oeCwgeSwgeikge30pKFsxLCAyLCAzXSk7XG4gKiAgYGBgXG4gKlxuICogQHBhcmFtIHtGdW5jdGlvbn0gY2FsbGJhY2tcbiAqIEByZXR1cm5zIHtGdW5jdGlvbn1cbiAqL1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiBzcHJlYWQoY2FsbGJhY2spIHtcbiAgcmV0dXJuIGZ1bmN0aW9uIHdyYXAoYXJyKSB7XG4gICAgcmV0dXJuIGNhbGxiYWNrLmFwcGx5KG51bGwsIGFycik7XG4gIH07XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL2hlbHBlcnMvc3ByZWFkLmpzXG4vLyBtb2R1bGUgaWQgPSAuL25vZGVfbW9kdWxlcy9heGlvcy9saWIvaGVscGVycy9zcHJlYWQuanNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIDEgMiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/helpers/spread.js\n"); + +/***/ }), + +/***/ "./node_modules/axios/lib/utils.js": +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar bind = __webpack_require__(\"./node_modules/axios/lib/helpers/bind.js\");\nvar isBuffer = __webpack_require__(\"./node_modules/is-buffer/index.js\");\n\n/*global toString:true*/\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.replace(/^\\s*/, '').replace(/\\s*$/, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (typeof result[key] === 'object' && typeof val === 'object') {\n result[key] = merge(result[key], val);\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8v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iBpc1N0cmluZyxcbiAgaXNOdW1iZXI6IGlzTnVtYmVyLFxuICBpc09iamVjdDogaXNPYmplY3QsXG4gIGlzVW5kZWZpbmVkOiBpc1VuZGVmaW5lZCxcbiAgaXNEYXRlOiBpc0RhdGUsXG4gIGlzRmlsZTogaXNGaWxlLFxuICBpc0Jsb2I6IGlzQmxvYixcbiAgaXNGdW5jdGlvbjogaXNGdW5jdGlvbixcbiAgaXNTdHJlYW06IGlzU3RyZWFtLFxuICBpc1VSTFNlYXJjaFBhcmFtczogaXNVUkxTZWFyY2hQYXJhbXMsXG4gIGlzU3RhbmRhcmRCcm93c2VyRW52OiBpc1N0YW5kYXJkQnJvd3NlckVudixcbiAgZm9yRWFjaDogZm9yRWFjaCxcbiAgbWVyZ2U6IG1lcmdlLFxuICBleHRlbmQ6IGV4dGVuZCxcbiAgdHJpbTogdHJpbVxufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2F4aW9zL2xpYi91dGlscy5qc1xuLy8gbW9kdWxlIGlkID0gLi9ub2RlX21vZHVsZXMvYXhpb3MvbGliL3V0aWxzLmpzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCAxIDIiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/axios/lib/utils.js\n"); + +/***/ }), + +/***/ "./node_modules/is-buffer/index.js": +/***/ (function(module, exports) { + +eval("/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nmodule.exports = function (obj) {\n return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)\n}\n\nfunction isBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvaXMtYnVmZmVyL2luZGV4LmpzPzQ1ZWQiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBIiwiZmlsZSI6Ii4vbm9kZV9tb2R1bGVzL2lzLWJ1ZmZlci9pbmRleC5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8qIVxuICogRGV0ZXJtaW5lIGlmIGFuIG9iamVjdCBpcyBhIEJ1ZmZlclxuICpcbiAqIEBhdXRob3IgICBGZXJvc3MgQWJvdWtoYWRpamVoIDxodHRwczovL2Zlcm9zcy5vcmc+XG4gKiBAbGljZW5zZSAgTUlUXG4gKi9cblxuLy8gVGhlIF9pc0J1ZmZlciBjaGVjayBpcyBmb3IgU2FmYXJpIDUtNyBzdXBwb3J0LCBiZWNhdXNlIGl0J3MgbWlzc2luZ1xuLy8gT2JqZWN0LnByb3RvdHlwZS5jb25zdHJ1Y3Rvci4gUmVtb3ZlIHRoaXMgZXZlbnR1YWxseVxubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAob2JqKSB7XG4gIHJldHVybiBvYmogIT0gbnVsbCAmJiAoaXNCdWZmZXIob2JqKSB8fCBpc1Nsb3dCdWZmZXIob2JqKSB8fCAhIW9iai5faXNCdWZmZXIpXG59XG5cbmZ1bmN0aW9uIGlzQnVmZmVyIChvYmopIHtcbiAgcmV0dXJuICEhb2JqLmNvbnN0cnVjdG9yICYmIHR5cGVvZiBvYmouY29uc3RydWN0b3IuaXNCdWZmZXIgPT09ICdmdW5jdGlvbicgJiYgb2JqLmNvbnN0cnVjdG9yLmlzQnVmZmVyKG9iailcbn1cblxuLy8gRm9yIE5vZGUgdjAuMTAgc3VwcG9ydC4gUmVtb3ZlIHRoaXMgZXZlbnR1YWxseS5cbmZ1bmN0aW9uIGlzU2xvd0J1ZmZlciAob2JqKSB7XG4gIHJldHVybiB0eXBlb2Ygb2JqLnJlYWRGbG9hdExFID09PSAnZnVuY3Rpb24nICYmIHR5cGVvZiBvYmouc2xpY2UgPT09ICdmdW5jdGlvbicgJiYgaXNCdWZmZXIob2JqLnNsaWNlKDAsIDApKVxufVxuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvaXMtYnVmZmVyL2luZGV4LmpzXG4vLyBtb2R1bGUgaWQgPSAuL25vZGVfbW9kdWxlcy9pcy1idWZmZXIvaW5kZXguanNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIDEgMiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/is-buffer/index.js\n"); + +/***/ }), + +/***/ "./node_modules/leaflet-rotatedmarker/leaflet.rotatedMarker.js": +/***/ (function(module, exports) { + +eval("(function() {\r\n // save these original methods before they are overwritten\r\n var proto_initIcon = L.Marker.prototype._initIcon;\r\n var proto_setPos = L.Marker.prototype._setPos;\r\n\r\n var oldIE = (L.DomUtil.TRANSFORM === 'msTransform');\r\n\r\n L.Marker.addInitHook(function () {\r\n var iconOptions = this.options.icon && this.options.icon.options;\r\n var iconAnchor = iconOptions && this.options.icon.options.iconAnchor;\r\n if (iconAnchor) {\r\n iconAnchor = (iconAnchor[0] + 'px ' + iconAnchor[1] + 'px');\r\n }\r\n this.options.rotationOrigin = this.options.rotationOrigin || iconAnchor || 'center bottom' ;\r\n this.options.rotationAngle = this.options.rotationAngle || 0;\r\n\r\n // Ensure marker keeps rotated during dragging\r\n this.on('drag', function(e) { e.target._applyRotation(); });\r\n });\r\n\r\n L.Marker.include({\r\n _initIcon: function() {\r\n proto_initIcon.call(this);\r\n },\r\n\r\n _setPos: function (pos) {\r\n proto_setPos.call(this, pos);\r\n this._applyRotation();\r\n },\r\n\r\n _applyRotation: function () {\r\n if(this.options.rotationAngle) {\r\n this._icon.style[L.DomUtil.TRANSFORM+'Origin'] = this.options.rotationOrigin;\r\n\r\n if(oldIE) {\r\n // for IE 9, use the 2D rotation\r\n this._icon.style[L.DomUtil.TRANSFORM] = 'rotate(' + this.options.rotationAngle + 'deg)';\r\n } else {\r\n // for modern browsers, prefer the 3D accelerated version\r\n this._icon.style[L.DomUtil.TRANSFORM] += ' rotateZ(' + this.options.rotationAngle + 'deg)';\r\n }\r\n }\r\n },\r\n\r\n setRotationAngle: function(angle) {\r\n this.options.rotationAngle = angle;\r\n this.update();\r\n return this;\r\n },\r\n\r\n setRotationOrigin: function(origin) {\r\n this.options.rotationOrigin = origin;\r\n this.update();\r\n return this;\r\n }\r\n });\r\n})();\r\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvbGVhZmxldC1yb3RhdGVkbWFya2VyL2xlYWZsZXQucm90YXRlZE1hcmtlci5qcz85YjBlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQSxxQ0FBcUMsMkJBQTJCLEVBQUU7QUFDbEUsS0FBSzs7QUFFTDtBQUNBO0FBQ0E7QUFDQSxTQUFTOztBQUVUO0FBQ0E7QUFDQTtBQUNBLFNBQVM7O0FBRVQ7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtB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bWFya2VyL2xlYWZsZXQucm90YXRlZE1hcmtlci5qc1xuLy8gbW9kdWxlIGlkID0gLi9ub2RlX21vZHVsZXMvbGVhZmxldC1yb3RhdGVkbWFya2VyL2xlYWZsZXQucm90YXRlZE1hcmtlci5qc1xuLy8gbW9kdWxlIGNodW5rcyA9IDAgMSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/leaflet-rotatedmarker/leaflet.rotatedMarker.js\n"); + +/***/ }), + +/***/ "./node_modules/leaflet/dist/leaflet-src.js": +/***/ (function(module, exports, __webpack_require__) { + +eval("/* @preserve\n * Leaflet 1.3.1, a JS library for interactive maps. http://leafletjs.com\n * (c) 2010-2017 Vladimir Agafonkin, (c) 2010-2011 CloudMade\n */\n\n(function (global, factory) {\n\t true ? factory(exports) :\n\ttypeof define === 'function' && define.amd ? define(['exports'], factory) :\n\t(factory((global.L = {})));\n}(this, (function (exports) { 'use strict';\n\nvar version = \"1.3.1\";\n\n/*\r\n * @namespace Util\r\n *\r\n * Various utility functions, used by Leaflet internally.\r\n */\r\n\r\nvar freeze = Object.freeze;\r\nObject.freeze = function (obj) { return obj; };\r\n\r\n// @function extend(dest: Object, src?: Object): Object\r\n// Merges the properties of the `src` object (or multiple objects) into `dest` object and returns the latter. Has an `L.extend` shortcut.\r\nfunction extend(dest) {\r\n\tvar i, j, len, src;\r\n\r\n\tfor (j = 1, len = arguments.length; j < len; j++) {\r\n\t\tsrc = arguments[j];\r\n\t\tfor (i in src) {\r\n\t\t\tdest[i] = src[i];\r\n\t\t}\r\n\t}\r\n\treturn dest;\r\n}\r\n\r\n// @function create(proto: Object, properties?: Object): Object\r\n// Compatibility polyfill for [Object.create](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/create)\r\nvar create = Object.create || (function () {\r\n\tfunction F() {}\r\n\treturn function (proto) {\r\n\t\tF.prototype = proto;\r\n\t\treturn new F();\r\n\t};\r\n})();\r\n\r\n// @function bind(fn: Function, …): Function\r\n// Returns a new function bound to the arguments passed, like [Function.prototype.bind](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).\r\n// Has a `L.bind()` shortcut.\r\nfunction bind(fn, obj) {\r\n\tvar slice = Array.prototype.slice;\r\n\r\n\tif (fn.bind) {\r\n\t\treturn fn.bind.apply(fn, slice.call(arguments, 1));\r\n\t}\r\n\r\n\tvar args = slice.call(arguments, 2);\r\n\r\n\treturn function () {\r\n\t\treturn fn.apply(obj, args.length ? args.concat(slice.call(arguments)) : arguments);\r\n\t};\r\n}\r\n\r\n// @property lastId: Number\r\n// Last unique ID used by [`stamp()`](#util-stamp)\r\nvar lastId = 0;\r\n\r\n// @function stamp(obj: Object): Number\r\n// Returns the unique ID of an object, assigning it one if it doesn't have it.\r\nfunction stamp(obj) {\r\n\t/*eslint-disable */\r\n\tobj._leaflet_id = obj._leaflet_id || ++lastId;\r\n\treturn obj._leaflet_id;\r\n\t/* eslint-enable */\r\n}\r\n\r\n// @function throttle(fn: Function, time: Number, context: Object): Function\r\n// Returns a function which executes function `fn` with the given scope `context`\r\n// (so that the `this` keyword refers to `context` inside `fn`'s code). The function\r\n// `fn` will be called no more than one time per given amount of `time`. The arguments\r\n// received by the bound function will be any arguments passed when binding the\r\n// function, followed by any arguments passed when invoking the bound function.\r\n// Has an `L.throttle` shortcut.\r\nfunction throttle(fn, time, context) {\r\n\tvar lock, args, wrapperFn, later;\r\n\r\n\tlater = function () {\r\n\t\t// reset lock and call if queued\r\n\t\tlock = false;\r\n\t\tif (args) {\r\n\t\t\twrapperFn.apply(context, args);\r\n\t\t\targs = false;\r\n\t\t}\r\n\t};\r\n\r\n\twrapperFn = function () {\r\n\t\tif (lock) {\r\n\t\t\t// called too soon, queue to call later\r\n\t\t\targs = arguments;\r\n\r\n\t\t} else {\r\n\t\t\t// call and lock until later\r\n\t\t\tfn.apply(context, arguments);\r\n\t\t\tsetTimeout(later, time);\r\n\t\t\tlock = true;\r\n\t\t}\r\n\t};\r\n\r\n\treturn wrapperFn;\r\n}\r\n\r\n// @function wrapNum(num: Number, range: Number[], includeMax?: Boolean): Number\r\n// Returns the number `num` modulo `range` in such a way so it lies within\r\n// `range[0]` and `range[1]`. The returned value will be always smaller than\r\n// `range[1]` unless `includeMax` is set to `true`.\r\nfunction wrapNum(x, range, includeMax) {\r\n\tvar max = range[1],\r\n\t min = range[0],\r\n\t d = max - min;\r\n\treturn x === max && includeMax ? x : ((x - min) % d + d) % d + min;\r\n}\r\n\r\n// @function falseFn(): Function\r\n// Returns a function which always returns `false`.\r\nfunction falseFn() { return false; }\r\n\r\n// @function formatNum(num: Number, digits?: Number): Number\r\n// Returns the number `num` rounded to `digits` decimals, or to 6 decimals by default.\r\nfunction formatNum(num, digits) {\r\n\tvar pow = Math.pow(10, (digits === undefined ? 6 : digits));\r\n\treturn Math.round(num * pow) / pow;\r\n}\r\n\r\n// @function trim(str: String): String\r\n// Compatibility polyfill for [String.prototype.trim](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim)\r\nfunction trim(str) {\r\n\treturn str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\r\n}\r\n\r\n// @function splitWords(str: String): String[]\r\n// Trims and splits the string on whitespace and returns the array of parts.\r\nfunction splitWords(str) {\r\n\treturn trim(str).split(/\\s+/);\r\n}\r\n\r\n// @function setOptions(obj: Object, options: Object): Object\r\n// Merges the given properties to the `options` of the `obj` object, returning the resulting options. See `Class options`. Has an `L.setOptions` shortcut.\r\nfunction setOptions(obj, options) {\r\n\tif (!obj.hasOwnProperty('options')) {\r\n\t\tobj.options = obj.options ? create(obj.options) : {};\r\n\t}\r\n\tfor (var i in options) {\r\n\t\tobj.options[i] = options[i];\r\n\t}\r\n\treturn obj.options;\r\n}\r\n\r\n// @function getParamString(obj: Object, existingUrl?: String, uppercase?: Boolean): String\r\n// Converts an object into a parameter URL string, e.g. `{a: \"foo\", b: \"bar\"}`\r\n// translates to `'?a=foo&b=bar'`. If `existingUrl` is set, the parameters will\r\n// be appended at the end. If `uppercase` is `true`, the parameter names will\r\n// be uppercased (e.g. `'?A=foo&B=bar'`)\r\nfunction getParamString(obj, existingUrl, uppercase) {\r\n\tvar params = [];\r\n\tfor (var i in obj) {\r\n\t\tparams.push(encodeURIComponent(uppercase ? i.toUpperCase() : i) + '=' + encodeURIComponent(obj[i]));\r\n\t}\r\n\treturn ((!existingUrl || existingUrl.indexOf('?') === -1) ? '?' : '&') + params.join('&');\r\n}\r\n\r\nvar templateRe = /\\{ *([\\w_-]+) *\\}/g;\r\n\r\n// @function template(str: String, data: Object): String\r\n// Simple templating facility, accepts a template string of the form `'Hello {a}, {b}'`\r\n// and a data object like `{a: 'foo', b: 'bar'}`, returns evaluated string\r\n// `('Hello foo, bar')`. You can also specify functions instead of strings for\r\n// data values — they will be evaluated passing `data` as an argument.\r\nfunction template(str, data) {\r\n\treturn str.replace(templateRe, function (str, key) {\r\n\t\tvar value = data[key];\r\n\r\n\t\tif (value === undefined) {\r\n\t\t\tthrow new Error('No value provided for variable ' + str);\r\n\r\n\t\t} else if (typeof value === 'function') {\r\n\t\t\tvalue = value(data);\r\n\t\t}\r\n\t\treturn value;\r\n\t});\r\n}\r\n\r\n// @function isArray(obj): Boolean\r\n// Compatibility polyfill for [Array.isArray](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray)\r\nvar isArray = Array.isArray || function (obj) {\r\n\treturn (Object.prototype.toString.call(obj) === '[object Array]');\r\n};\r\n\r\n// @function indexOf(array: Array, el: Object): Number\r\n// Compatibility polyfill for [Array.prototype.indexOf](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf)\r\nfunction indexOf(array, el) {\r\n\tfor (var i = 0; i < array.length; i++) {\r\n\t\tif (array[i] === el) { return i; }\r\n\t}\r\n\treturn -1;\r\n}\r\n\r\n// @property emptyImageUrl: String\r\n// Data URI string containing a base64-encoded empty GIF image.\r\n// Used as a hack to free memory from unused images on WebKit-powered\r\n// mobile devices (by setting image `src` to this string).\r\nvar emptyImageUrl = 'data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=';\r\n\r\n// inspired by http://paulirish.com/2011/requestanimationframe-for-smart-animating/\r\n\r\nfunction getPrefixed(name) {\r\n\treturn window['webkit' + name] || window['moz' + name] || window['ms' + name];\r\n}\r\n\r\nvar lastTime = 0;\r\n\r\n// fallback for IE 7-8\r\nfunction timeoutDefer(fn) {\r\n\tvar time = +new Date(),\r\n\t timeToCall = Math.max(0, 16 - (time - lastTime));\r\n\r\n\tlastTime = time + timeToCall;\r\n\treturn window.setTimeout(fn, timeToCall);\r\n}\r\n\r\nvar requestFn = window.requestAnimationFrame || getPrefixed('RequestAnimationFrame') || timeoutDefer;\r\nvar cancelFn = window.cancelAnimationFrame || getPrefixed('CancelAnimationFrame') ||\r\n\t\tgetPrefixed('CancelRequestAnimationFrame') || function (id) { window.clearTimeout(id); };\r\n\r\n// @function requestAnimFrame(fn: Function, context?: Object, immediate?: Boolean): Number\r\n// Schedules `fn` to be executed when the browser repaints. `fn` is bound to\r\n// `context` if given. When `immediate` is set, `fn` is called immediately if\r\n// the browser doesn't have native support for\r\n// [`window.requestAnimationFrame`](https://developer.mozilla.org/docs/Web/API/window/requestAnimationFrame),\r\n// otherwise it's delayed. Returns a request ID that can be used to cancel the request.\r\nfunction requestAnimFrame(fn, context, immediate) {\r\n\tif (immediate && requestFn === timeoutDefer) {\r\n\t\tfn.call(context);\r\n\t} else {\r\n\t\treturn requestFn.call(window, bind(fn, context));\r\n\t}\r\n}\r\n\r\n// @function cancelAnimFrame(id: Number): undefined\r\n// Cancels a previous `requestAnimFrame`. See also [window.cancelAnimationFrame](https://developer.mozilla.org/docs/Web/API/window/cancelAnimationFrame).\r\nfunction cancelAnimFrame(id) {\r\n\tif (id) {\r\n\t\tcancelFn.call(window, id);\r\n\t}\r\n}\r\n\n\nvar Util = (Object.freeze || Object)({\n\tfreeze: freeze,\n\textend: extend,\n\tcreate: create,\n\tbind: bind,\n\tlastId: lastId,\n\tstamp: stamp,\n\tthrottle: throttle,\n\twrapNum: wrapNum,\n\tfalseFn: falseFn,\n\tformatNum: formatNum,\n\ttrim: trim,\n\tsplitWords: splitWords,\n\tsetOptions: setOptions,\n\tgetParamString: getParamString,\n\ttemplate: template,\n\tisArray: isArray,\n\tindexOf: indexOf,\n\temptyImageUrl: emptyImageUrl,\n\trequestFn: requestFn,\n\tcancelFn: cancelFn,\n\trequestAnimFrame: requestAnimFrame,\n\tcancelAnimFrame: cancelAnimFrame\n});\n\n// @class Class\r\n// @aka L.Class\r\n\r\n// @section\r\n// @uninheritable\r\n\r\n// Thanks to John Resig and Dean Edwards for inspiration!\r\n\r\nfunction Class() {}\r\n\r\nClass.extend = function (props) {\r\n\r\n\t// @function extend(props: Object): Function\r\n\t// [Extends the current class](#class-inheritance) given the properties to be included.\r\n\t// Returns a Javascript function that is a class constructor (to be called with `new`).\r\n\tvar NewClass = function () {\r\n\r\n\t\t// call the constructor\r\n\t\tif (this.initialize) {\r\n\t\t\tthis.initialize.apply(this, arguments);\r\n\t\t}\r\n\r\n\t\t// call all constructor hooks\r\n\t\tthis.callInitHooks();\r\n\t};\r\n\r\n\tvar parentProto = NewClass.__super__ = this.prototype;\r\n\r\n\tvar proto = create(parentProto);\r\n\tproto.constructor = NewClass;\r\n\r\n\tNewClass.prototype = proto;\r\n\r\n\t// inherit parent's statics\r\n\tfor (var i in this) {\r\n\t\tif (this.hasOwnProperty(i) && i !== 'prototype' && i !== '__super__') {\r\n\t\t\tNewClass[i] = this[i];\r\n\t\t}\r\n\t}\r\n\r\n\t// mix static properties into the class\r\n\tif (props.statics) {\r\n\t\textend(NewClass, props.statics);\r\n\t\tdelete props.statics;\r\n\t}\r\n\r\n\t// mix includes into the prototype\r\n\tif (props.includes) {\r\n\t\tcheckDeprecatedMixinEvents(props.includes);\r\n\t\textend.apply(null, [proto].concat(props.includes));\r\n\t\tdelete props.includes;\r\n\t}\r\n\r\n\t// merge options\r\n\tif (proto.options) {\r\n\t\tprops.options = extend(create(proto.options), props.options);\r\n\t}\r\n\r\n\t// mix given properties into the prototype\r\n\textend(proto, props);\r\n\r\n\tproto._initHooks = [];\r\n\r\n\t// add method for calling all hooks\r\n\tproto.callInitHooks = function () {\r\n\r\n\t\tif (this._initHooksCalled) { return; }\r\n\r\n\t\tif (parentProto.callInitHooks) {\r\n\t\t\tparentProto.callInitHooks.call(this);\r\n\t\t}\r\n\r\n\t\tthis._initHooksCalled = true;\r\n\r\n\t\tfor (var i = 0, len = proto._initHooks.length; i < len; i++) {\r\n\t\t\tproto._initHooks[i].call(this);\r\n\t\t}\r\n\t};\r\n\r\n\treturn NewClass;\r\n};\r\n\r\n\r\n// @function include(properties: Object): this\r\n// [Includes a mixin](#class-includes) into the current class.\r\nClass.include = function (props) {\r\n\textend(this.prototype, props);\r\n\treturn this;\r\n};\r\n\r\n// @function mergeOptions(options: Object): this\r\n// [Merges `options`](#class-options) into the defaults of the class.\r\nClass.mergeOptions = function (options) {\r\n\textend(this.prototype.options, options);\r\n\treturn this;\r\n};\r\n\r\n// @function addInitHook(fn: Function): this\r\n// Adds a [constructor hook](#class-constructor-hooks) to the class.\r\nClass.addInitHook = function (fn) { // (Function) || (String, args...)\r\n\tvar args = Array.prototype.slice.call(arguments, 1);\r\n\r\n\tvar init = typeof fn === 'function' ? fn : function () {\r\n\t\tthis[fn].apply(this, args);\r\n\t};\r\n\r\n\tthis.prototype._initHooks = this.prototype._initHooks || [];\r\n\tthis.prototype._initHooks.push(init);\r\n\treturn this;\r\n};\r\n\r\nfunction checkDeprecatedMixinEvents(includes) {\r\n\tif (typeof L === 'undefined' || !L || !L.Mixin) { return; }\r\n\r\n\tincludes = isArray(includes) ? includes : [includes];\r\n\r\n\tfor (var i = 0; i < includes.length; i++) {\r\n\t\tif (includes[i] === L.Mixin.Events) {\r\n\t\t\tconsole.warn('Deprecated include of L.Mixin.Events: ' +\r\n\t\t\t\t'this property will be removed in future releases, ' +\r\n\t\t\t\t'please inherit from L.Evented instead.', new Error().stack);\r\n\t\t}\r\n\t}\r\n}\n\n/*\r\n * @class Evented\r\n * @aka L.Evented\r\n * @inherits Class\r\n *\r\n * A set of methods shared between event-powered classes (like `Map` and `Marker`). Generally, events allow you to execute some function when something happens with an object (e.g. the user clicks on the map, causing the map to fire `'click'` event).\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * map.on('click', function(e) {\r\n * \talert(e.latlng);\r\n * } );\r\n * ```\r\n *\r\n * Leaflet deals with event listeners by reference, so if you want to add a listener and then remove it, define it as a function:\r\n *\r\n * ```js\r\n * function onClick(e) { ... }\r\n *\r\n * map.on('click', onClick);\r\n * map.off('click', onClick);\r\n * ```\r\n */\r\n\r\nvar Events = {\r\n\t/* @method on(type: String, fn: Function, context?: Object): this\r\n\t * Adds a listener function (`fn`) to a particular event type of the object. You can optionally specify the context of the listener (object the this keyword will point to). You can also pass several space-separated types (e.g. `'click dblclick'`).\r\n\t *\r\n\t * @alternative\r\n\t * @method on(eventMap: Object): this\r\n\t * Adds a set of type/listener pairs, e.g. `{click: onClick, mousemove: onMouseMove}`\r\n\t */\r\n\ton: function (types, fn, context) {\r\n\r\n\t\t// types can be a map of types/handlers\r\n\t\tif (typeof types === 'object') {\r\n\t\t\tfor (var type in types) {\r\n\t\t\t\t// we don't process space-separated events here for performance;\r\n\t\t\t\t// it's a hot path since Layer uses the on(obj) syntax\r\n\t\t\t\tthis._on(type, types[type], fn);\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\t\t\t// types can be a string of space-separated words\r\n\t\t\ttypes = splitWords(types);\r\n\r\n\t\t\tfor (var i = 0, len = types.length; i < len; i++) {\r\n\t\t\t\tthis._on(types[i], fn, context);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t/* @method off(type: String, fn?: Function, context?: Object): this\r\n\t * Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object. Note that if you passed a custom context to `on`, you must pass the same context to `off` in order to remove the listener.\r\n\t *\r\n\t * @alternative\r\n\t * @method off(eventMap: Object): this\r\n\t * Removes a set of type/listener pairs.\r\n\t *\r\n\t * @alternative\r\n\t * @method off: this\r\n\t * Removes all listeners to all events on the object.\r\n\t */\r\n\toff: function (types, fn, context) {\r\n\r\n\t\tif (!types) {\r\n\t\t\t// clear all listeners if called without arguments\r\n\t\t\tdelete this._events;\r\n\r\n\t\t} else if (typeof types === 'object') {\r\n\t\t\tfor (var type in types) {\r\n\t\t\t\tthis._off(type, types[type], fn);\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\t\t\ttypes = splitWords(types);\r\n\r\n\t\t\tfor (var i = 0, len = types.length; i < len; i++) {\r\n\t\t\t\tthis._off(types[i], fn, context);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// attach listener (without syntactic sugar now)\r\n\t_on: function (type, fn, context) {\r\n\t\tthis._events = this._events || {};\r\n\r\n\t\t/* get/init listeners for type */\r\n\t\tvar typeListeners = this._events[type];\r\n\t\tif (!typeListeners) {\r\n\t\t\ttypeListeners = [];\r\n\t\t\tthis._events[type] = typeListeners;\r\n\t\t}\r\n\r\n\t\tif (context === this) {\r\n\t\t\t// Less memory footprint.\r\n\t\t\tcontext = undefined;\r\n\t\t}\r\n\t\tvar newListener = {fn: fn, ctx: context},\r\n\t\t listeners = typeListeners;\r\n\r\n\t\t// check if fn already there\r\n\t\tfor (var i = 0, len = listeners.length; i < len; i++) {\r\n\t\t\tif (listeners[i].fn === fn && listeners[i].ctx === context) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tlisteners.push(newListener);\r\n\t},\r\n\r\n\t_off: function (type, fn, context) {\r\n\t\tvar listeners,\r\n\t\t i,\r\n\t\t len;\r\n\r\n\t\tif (!this._events) { return; }\r\n\r\n\t\tlisteners = this._events[type];\r\n\r\n\t\tif (!listeners) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (!fn) {\r\n\t\t\t// Set all removed listeners to noop so they are not called if remove happens in fire\r\n\t\t\tfor (i = 0, len = listeners.length; i < len; i++) {\r\n\t\t\t\tlisteners[i].fn = falseFn;\r\n\t\t\t}\r\n\t\t\t// clear all listeners for a type if function isn't specified\r\n\t\t\tdelete this._events[type];\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (context === this) {\r\n\t\t\tcontext = undefined;\r\n\t\t}\r\n\r\n\t\tif (listeners) {\r\n\r\n\t\t\t// find fn and remove it\r\n\t\t\tfor (i = 0, len = listeners.length; i < len; i++) {\r\n\t\t\t\tvar l = listeners[i];\r\n\t\t\t\tif (l.ctx !== context) { continue; }\r\n\t\t\t\tif (l.fn === fn) {\r\n\r\n\t\t\t\t\t// set the removed listener to noop so that's not called if remove happens in fire\r\n\t\t\t\t\tl.fn = falseFn;\r\n\r\n\t\t\t\t\tif (this._firingCount) {\r\n\t\t\t\t\t\t/* copy array in case events are being fired */\r\n\t\t\t\t\t\tthis._events[type] = listeners = listeners.slice();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlisteners.splice(i, 1);\r\n\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\t// @method fire(type: String, data?: Object, propagate?: Boolean): this\r\n\t// Fires an event of the specified type. You can optionally provide an data\r\n\t// object — the first argument of the listener function will contain its\r\n\t// properties. The event can optionally be propagated to event parents.\r\n\tfire: function (type, data, propagate) {\r\n\t\tif (!this.listens(type, propagate)) { return this; }\r\n\r\n\t\tvar event = extend({}, data, {\r\n\t\t\ttype: type,\r\n\t\t\ttarget: this,\r\n\t\t\tsourceTarget: data && data.sourceTarget || this\r\n\t\t});\r\n\r\n\t\tif (this._events) {\r\n\t\t\tvar listeners = this._events[type];\r\n\r\n\t\t\tif (listeners) {\r\n\t\t\t\tthis._firingCount = (this._firingCount + 1) || 1;\r\n\t\t\t\tfor (var i = 0, len = listeners.length; i < len; i++) {\r\n\t\t\t\t\tvar l = listeners[i];\r\n\t\t\t\t\tl.fn.call(l.ctx || this, event);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis._firingCount--;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (propagate) {\r\n\t\t\t// propagate the event to parents (set with addEventParent)\r\n\t\t\tthis._propagateEvent(event);\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method listens(type: String): Boolean\r\n\t// Returns `true` if a particular event type has any listeners attached to it.\r\n\tlistens: function (type, propagate) {\r\n\t\tvar listeners = this._events && this._events[type];\r\n\t\tif (listeners && listeners.length) { return true; }\r\n\r\n\t\tif (propagate) {\r\n\t\t\t// also check parents for listeners if event propagates\r\n\t\t\tfor (var id in this._eventParents) {\r\n\t\t\t\tif (this._eventParents[id].listens(type, propagate)) { return true; }\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t},\r\n\r\n\t// @method once(…): this\r\n\t// Behaves as [`on(…)`](#evented-on), except the listener will only get fired once and then removed.\r\n\tonce: function (types, fn, context) {\r\n\r\n\t\tif (typeof types === 'object') {\r\n\t\t\tfor (var type in types) {\r\n\t\t\t\tthis.once(type, types[type], fn);\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\tvar handler = bind(function () {\r\n\t\t\tthis\r\n\t\t\t .off(types, fn, context)\r\n\t\t\t .off(types, handler, context);\r\n\t\t}, this);\r\n\r\n\t\t// add a listener that's executed once and removed after that\r\n\t\treturn this\r\n\t\t .on(types, fn, context)\r\n\t\t .on(types, handler, context);\r\n\t},\r\n\r\n\t// @method addEventParent(obj: Evented): this\r\n\t// Adds an event parent - an `Evented` that will receive propagated events\r\n\taddEventParent: function (obj) {\r\n\t\tthis._eventParents = this._eventParents || {};\r\n\t\tthis._eventParents[stamp(obj)] = obj;\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method removeEventParent(obj: Evented): this\r\n\t// Removes an event parent, so it will stop receiving propagated events\r\n\tremoveEventParent: function (obj) {\r\n\t\tif (this._eventParents) {\r\n\t\t\tdelete this._eventParents[stamp(obj)];\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_propagateEvent: function (e) {\r\n\t\tfor (var id in this._eventParents) {\r\n\t\t\tthis._eventParents[id].fire(e.type, extend({\r\n\t\t\t\tlayer: e.target,\r\n\t\t\t\tpropagatedFrom: e.target\r\n\t\t\t}, e), true);\r\n\t\t}\r\n\t}\r\n};\r\n\r\n// aliases; we should ditch those eventually\r\n\r\n// @method addEventListener(…): this\r\n// Alias to [`on(…)`](#evented-on)\r\nEvents.addEventListener = Events.on;\r\n\r\n// @method removeEventListener(…): this\r\n// Alias to [`off(…)`](#evented-off)\r\n\r\n// @method clearAllEventListeners(…): this\r\n// Alias to [`off()`](#evented-off)\r\nEvents.removeEventListener = Events.clearAllEventListeners = Events.off;\r\n\r\n// @method addOneTimeEventListener(…): this\r\n// Alias to [`once(…)`](#evented-once)\r\nEvents.addOneTimeEventListener = Events.once;\r\n\r\n// @method fireEvent(…): this\r\n// Alias to [`fire(…)`](#evented-fire)\r\nEvents.fireEvent = Events.fire;\r\n\r\n// @method hasEventListeners(…): Boolean\r\n// Alias to [`listens(…)`](#evented-listens)\r\nEvents.hasEventListeners = Events.listens;\r\n\r\nvar Evented = Class.extend(Events);\n\n/*\r\n * @class Point\r\n * @aka L.Point\r\n *\r\n * Represents a point with `x` and `y` coordinates in pixels.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var point = L.point(200, 300);\r\n * ```\r\n *\r\n * All Leaflet methods and options that accept `Point` objects also accept them in a simple Array form (unless noted otherwise), so these lines are equivalent:\r\n *\r\n * ```js\r\n * map.panBy([200, 300]);\r\n * map.panBy(L.point(200, 300));\r\n * ```\r\n *\r\n * Note that `Point` does not inherit from Leafet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\nfunction Point(x, y, round) {\r\n\t// @property x: Number; The `x` coordinate of the point\r\n\tthis.x = (round ? Math.round(x) : x);\r\n\t// @property y: Number; The `y` coordinate of the point\r\n\tthis.y = (round ? Math.round(y) : y);\r\n}\r\n\r\nvar trunc = Math.trunc || function (v) {\r\n\treturn v > 0 ? Math.floor(v) : Math.ceil(v);\r\n};\r\n\r\nPoint.prototype = {\r\n\r\n\t// @method clone(): Point\r\n\t// Returns a copy of the current point.\r\n\tclone: function () {\r\n\t\treturn new Point(this.x, this.y);\r\n\t},\r\n\r\n\t// @method add(otherPoint: Point): Point\r\n\t// Returns the result of addition of the current and the given points.\r\n\tadd: function (point) {\r\n\t\t// non-destructive, returns a new point\r\n\t\treturn this.clone()._add(toPoint(point));\r\n\t},\r\n\r\n\t_add: function (point) {\r\n\t\t// destructive, used directly for performance in situations where it's safe to modify existing point\r\n\t\tthis.x += point.x;\r\n\t\tthis.y += point.y;\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method subtract(otherPoint: Point): Point\r\n\t// Returns the result of subtraction of the given point from the current.\r\n\tsubtract: function (point) {\r\n\t\treturn this.clone()._subtract(toPoint(point));\r\n\t},\r\n\r\n\t_subtract: function (point) {\r\n\t\tthis.x -= point.x;\r\n\t\tthis.y -= point.y;\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method divideBy(num: Number): Point\r\n\t// Returns the result of division of the current point by the given number.\r\n\tdivideBy: function (num) {\r\n\t\treturn this.clone()._divideBy(num);\r\n\t},\r\n\r\n\t_divideBy: function (num) {\r\n\t\tthis.x /= num;\r\n\t\tthis.y /= num;\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method multiplyBy(num: Number): Point\r\n\t// Returns the result of multiplication of the current point by the given number.\r\n\tmultiplyBy: function (num) {\r\n\t\treturn this.clone()._multiplyBy(num);\r\n\t},\r\n\r\n\t_multiplyBy: function (num) {\r\n\t\tthis.x *= num;\r\n\t\tthis.y *= num;\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method scaleBy(scale: Point): Point\r\n\t// Multiply each coordinate of the current point by each coordinate of\r\n\t// `scale`. In linear algebra terms, multiply the point by the\r\n\t// [scaling matrix](https://en.wikipedia.org/wiki/Scaling_%28geometry%29#Matrix_representation)\r\n\t// defined by `scale`.\r\n\tscaleBy: function (point) {\r\n\t\treturn new Point(this.x * point.x, this.y * point.y);\r\n\t},\r\n\r\n\t// @method unscaleBy(scale: Point): Point\r\n\t// Inverse of `scaleBy`. Divide each coordinate of the current point by\r\n\t// each coordinate of `scale`.\r\n\tunscaleBy: function (point) {\r\n\t\treturn new Point(this.x / point.x, this.y / point.y);\r\n\t},\r\n\r\n\t// @method round(): Point\r\n\t// Returns a copy of the current point with rounded coordinates.\r\n\tround: function () {\r\n\t\treturn this.clone()._round();\r\n\t},\r\n\r\n\t_round: function () {\r\n\t\tthis.x = Math.round(this.x);\r\n\t\tthis.y = Math.round(this.y);\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method floor(): Point\r\n\t// Returns a copy of the current point with floored coordinates (rounded down).\r\n\tfloor: function () {\r\n\t\treturn this.clone()._floor();\r\n\t},\r\n\r\n\t_floor: function () {\r\n\t\tthis.x = Math.floor(this.x);\r\n\t\tthis.y = Math.floor(this.y);\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method ceil(): Point\r\n\t// Returns a copy of the current point with ceiled coordinates (rounded up).\r\n\tceil: function () {\r\n\t\treturn this.clone()._ceil();\r\n\t},\r\n\r\n\t_ceil: function () {\r\n\t\tthis.x = Math.ceil(this.x);\r\n\t\tthis.y = Math.ceil(this.y);\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method trunc(): Point\r\n\t// Returns a copy of the current point with truncated coordinates (rounded towards zero).\r\n\ttrunc: function () {\r\n\t\treturn this.clone()._trunc();\r\n\t},\r\n\r\n\t_trunc: function () {\r\n\t\tthis.x = trunc(this.x);\r\n\t\tthis.y = trunc(this.y);\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method distanceTo(otherPoint: Point): Number\r\n\t// Returns the cartesian distance between the current and the given points.\r\n\tdistanceTo: function (point) {\r\n\t\tpoint = toPoint(point);\r\n\r\n\t\tvar x = point.x - this.x,\r\n\t\t y = point.y - this.y;\r\n\r\n\t\treturn Math.sqrt(x * x + y * y);\r\n\t},\r\n\r\n\t// @method equals(otherPoint: Point): Boolean\r\n\t// Returns `true` if the given point has the same coordinates.\r\n\tequals: function (point) {\r\n\t\tpoint = toPoint(point);\r\n\r\n\t\treturn point.x === this.x &&\r\n\t\t point.y === this.y;\r\n\t},\r\n\r\n\t// @method contains(otherPoint: Point): Boolean\r\n\t// Returns `true` if both coordinates of the given point are less than the corresponding current point coordinates (in absolute values).\r\n\tcontains: function (point) {\r\n\t\tpoint = toPoint(point);\r\n\r\n\t\treturn Math.abs(point.x) <= Math.abs(this.x) &&\r\n\t\t Math.abs(point.y) <= Math.abs(this.y);\r\n\t},\r\n\r\n\t// @method toString(): String\r\n\t// Returns a string representation of the point for debugging purposes.\r\n\ttoString: function () {\r\n\t\treturn 'Point(' +\r\n\t\t formatNum(this.x) + ', ' +\r\n\t\t formatNum(this.y) + ')';\r\n\t}\r\n};\r\n\r\n// @factory L.point(x: Number, y: Number, round?: Boolean)\r\n// Creates a Point object with the given `x` and `y` coordinates. If optional `round` is set to true, rounds the `x` and `y` values.\r\n\r\n// @alternative\r\n// @factory L.point(coords: Number[])\r\n// Expects an array of the form `[x, y]` instead.\r\n\r\n// @alternative\r\n// @factory L.point(coords: Object)\r\n// Expects a plain object of the form `{x: Number, y: Number}` instead.\r\nfunction toPoint(x, y, round) {\r\n\tif (x instanceof Point) {\r\n\t\treturn x;\r\n\t}\r\n\tif (isArray(x)) {\r\n\t\treturn new Point(x[0], x[1]);\r\n\t}\r\n\tif (x === undefined || x === null) {\r\n\t\treturn x;\r\n\t}\r\n\tif (typeof x === 'object' && 'x' in x && 'y' in x) {\r\n\t\treturn new Point(x.x, x.y);\r\n\t}\r\n\treturn new Point(x, y, round);\r\n}\n\n/*\r\n * @class Bounds\r\n * @aka L.Bounds\r\n *\r\n * Represents a rectangular area in pixel coordinates.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var p1 = L.point(10, 10),\r\n * p2 = L.point(40, 60),\r\n * bounds = L.bounds(p1, p2);\r\n * ```\r\n *\r\n * All Leaflet methods that accept `Bounds` objects also accept them in a simple Array form (unless noted otherwise), so the bounds example above can be passed like this:\r\n *\r\n * ```js\r\n * otherBounds.intersects([[10, 10], [40, 60]]);\r\n * ```\r\n *\r\n * Note that `Bounds` does not inherit from Leafet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\nfunction Bounds(a, b) {\r\n\tif (!a) { return; }\r\n\r\n\tvar points = b ? [a, b] : a;\r\n\r\n\tfor (var i = 0, len = points.length; i < len; i++) {\r\n\t\tthis.extend(points[i]);\r\n\t}\r\n}\r\n\r\nBounds.prototype = {\r\n\t// @method extend(point: Point): this\r\n\t// Extends the bounds to contain the given point.\r\n\textend: function (point) { // (Point)\r\n\t\tpoint = toPoint(point);\r\n\r\n\t\t// @property min: Point\r\n\t\t// The top left corner of the rectangle.\r\n\t\t// @property max: Point\r\n\t\t// The bottom right corner of the rectangle.\r\n\t\tif (!this.min && !this.max) {\r\n\t\t\tthis.min = point.clone();\r\n\t\t\tthis.max = point.clone();\r\n\t\t} else {\r\n\t\t\tthis.min.x = Math.min(point.x, this.min.x);\r\n\t\t\tthis.max.x = Math.max(point.x, this.max.x);\r\n\t\t\tthis.min.y = Math.min(point.y, this.min.y);\r\n\t\t\tthis.max.y = Math.max(point.y, this.max.y);\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method getCenter(round?: Boolean): Point\r\n\t// Returns the center point of the bounds.\r\n\tgetCenter: function (round) {\r\n\t\treturn new Point(\r\n\t\t (this.min.x + this.max.x) / 2,\r\n\t\t (this.min.y + this.max.y) / 2, round);\r\n\t},\r\n\r\n\t// @method getBottomLeft(): Point\r\n\t// Returns the bottom-left point of the bounds.\r\n\tgetBottomLeft: function () {\r\n\t\treturn new Point(this.min.x, this.max.y);\r\n\t},\r\n\r\n\t// @method getTopRight(): Point\r\n\t// Returns the top-right point of the bounds.\r\n\tgetTopRight: function () { // -> Point\r\n\t\treturn new Point(this.max.x, this.min.y);\r\n\t},\r\n\r\n\t// @method getTopLeft(): Point\r\n\t// Returns the top-left point of the bounds (i.e. [`this.min`](#bounds-min)).\r\n\tgetTopLeft: function () {\r\n\t\treturn this.min; // left, top\r\n\t},\r\n\r\n\t// @method getBottomRight(): Point\r\n\t// Returns the bottom-right point of the bounds (i.e. [`this.max`](#bounds-max)).\r\n\tgetBottomRight: function () {\r\n\t\treturn this.max; // right, bottom\r\n\t},\r\n\r\n\t// @method getSize(): Point\r\n\t// Returns the size of the given bounds\r\n\tgetSize: function () {\r\n\t\treturn this.max.subtract(this.min);\r\n\t},\r\n\r\n\t// @method contains(otherBounds: Bounds): Boolean\r\n\t// Returns `true` if the rectangle contains the given one.\r\n\t// @alternative\r\n\t// @method contains(point: Point): Boolean\r\n\t// Returns `true` if the rectangle contains the given point.\r\n\tcontains: function (obj) {\r\n\t\tvar min, max;\r\n\r\n\t\tif (typeof obj[0] === 'number' || obj instanceof Point) {\r\n\t\t\tobj = toPoint(obj);\r\n\t\t} else {\r\n\t\t\tobj = toBounds(obj);\r\n\t\t}\r\n\r\n\t\tif (obj instanceof Bounds) {\r\n\t\t\tmin = obj.min;\r\n\t\t\tmax = obj.max;\r\n\t\t} else {\r\n\t\t\tmin = max = obj;\r\n\t\t}\r\n\r\n\t\treturn (min.x >= this.min.x) &&\r\n\t\t (max.x <= this.max.x) &&\r\n\t\t (min.y >= this.min.y) &&\r\n\t\t (max.y <= this.max.y);\r\n\t},\r\n\r\n\t// @method intersects(otherBounds: Bounds): Boolean\r\n\t// Returns `true` if the rectangle intersects the given bounds. Two bounds\r\n\t// intersect if they have at least one point in common.\r\n\tintersects: function (bounds) { // (Bounds) -> Boolean\r\n\t\tbounds = toBounds(bounds);\r\n\r\n\t\tvar min = this.min,\r\n\t\t max = this.max,\r\n\t\t min2 = bounds.min,\r\n\t\t max2 = bounds.max,\r\n\t\t xIntersects = (max2.x >= min.x) && (min2.x <= max.x),\r\n\t\t yIntersects = (max2.y >= min.y) && (min2.y <= max.y);\r\n\r\n\t\treturn xIntersects && yIntersects;\r\n\t},\r\n\r\n\t// @method overlaps(otherBounds: Bounds): Boolean\r\n\t// Returns `true` if the rectangle overlaps the given bounds. Two bounds\r\n\t// overlap if their intersection is an area.\r\n\toverlaps: function (bounds) { // (Bounds) -> Boolean\r\n\t\tbounds = toBounds(bounds);\r\n\r\n\t\tvar min = this.min,\r\n\t\t max = this.max,\r\n\t\t min2 = bounds.min,\r\n\t\t max2 = bounds.max,\r\n\t\t xOverlaps = (max2.x > min.x) && (min2.x < max.x),\r\n\t\t yOverlaps = (max2.y > min.y) && (min2.y < max.y);\r\n\r\n\t\treturn xOverlaps && yOverlaps;\r\n\t},\r\n\r\n\tisValid: function () {\r\n\t\treturn !!(this.min && this.max);\r\n\t}\r\n};\r\n\r\n\r\n// @factory L.bounds(corner1: Point, corner2: Point)\r\n// Creates a Bounds object from two corners coordinate pairs.\r\n// @alternative\r\n// @factory L.bounds(points: Point[])\r\n// Creates a Bounds object from the given array of points.\r\nfunction toBounds(a, b) {\r\n\tif (!a || a instanceof Bounds) {\r\n\t\treturn a;\r\n\t}\r\n\treturn new Bounds(a, b);\r\n}\n\n/*\r\n * @class LatLngBounds\r\n * @aka L.LatLngBounds\r\n *\r\n * Represents a rectangular geographical area on a map.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var corner1 = L.latLng(40.712, -74.227),\r\n * corner2 = L.latLng(40.774, -74.125),\r\n * bounds = L.latLngBounds(corner1, corner2);\r\n * ```\r\n *\r\n * All Leaflet methods that accept LatLngBounds objects also accept them in a simple Array form (unless noted otherwise), so the bounds example above can be passed like this:\r\n *\r\n * ```js\r\n * map.fitBounds([\r\n * \t[40.712, -74.227],\r\n * \t[40.774, -74.125]\r\n * ]);\r\n * ```\r\n *\r\n * Caution: if the area crosses the antimeridian (often confused with the International Date Line), you must specify corners _outside_ the [-180, 180] degrees longitude range.\r\n *\r\n * Note that `LatLngBounds` does not inherit from Leafet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\nfunction LatLngBounds(corner1, corner2) { // (LatLng, LatLng) or (LatLng[])\r\n\tif (!corner1) { return; }\r\n\r\n\tvar latlngs = corner2 ? [corner1, corner2] : corner1;\r\n\r\n\tfor (var i = 0, len = latlngs.length; i < len; i++) {\r\n\t\tthis.extend(latlngs[i]);\r\n\t}\r\n}\r\n\r\nLatLngBounds.prototype = {\r\n\r\n\t// @method extend(latlng: LatLng): this\r\n\t// Extend the bounds to contain the given point\r\n\r\n\t// @alternative\r\n\t// @method extend(otherBounds: LatLngBounds): this\r\n\t// Extend the bounds to contain the given bounds\r\n\textend: function (obj) {\r\n\t\tvar sw = this._southWest,\r\n\t\t ne = this._northEast,\r\n\t\t sw2, ne2;\r\n\r\n\t\tif (obj instanceof LatLng) {\r\n\t\t\tsw2 = obj;\r\n\t\t\tne2 = obj;\r\n\r\n\t\t} else if (obj instanceof LatLngBounds) {\r\n\t\t\tsw2 = obj._southWest;\r\n\t\t\tne2 = obj._northEast;\r\n\r\n\t\t\tif (!sw2 || !ne2) { return this; }\r\n\r\n\t\t} else {\r\n\t\t\treturn obj ? this.extend(toLatLng(obj) || toLatLngBounds(obj)) : this;\r\n\t\t}\r\n\r\n\t\tif (!sw && !ne) {\r\n\t\t\tthis._southWest = new LatLng(sw2.lat, sw2.lng);\r\n\t\t\tthis._northEast = new LatLng(ne2.lat, ne2.lng);\r\n\t\t} else {\r\n\t\t\tsw.lat = Math.min(sw2.lat, sw.lat);\r\n\t\t\tsw.lng = Math.min(sw2.lng, sw.lng);\r\n\t\t\tne.lat = Math.max(ne2.lat, ne.lat);\r\n\t\t\tne.lng = Math.max(ne2.lng, ne.lng);\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method pad(bufferRatio: Number): LatLngBounds\r\n\t// Returns bounds created by extending or retracting the current bounds by a given ratio in each direction.\r\n\t// For example, a ratio of 0.5 extends the bounds by 50% in each direction.\r\n\t// Negative values will retract the bounds.\r\n\tpad: function (bufferRatio) {\r\n\t\tvar sw = this._southWest,\r\n\t\t ne = this._northEast,\r\n\t\t heightBuffer = Math.abs(sw.lat - ne.lat) * bufferRatio,\r\n\t\t widthBuffer = Math.abs(sw.lng - ne.lng) * bufferRatio;\r\n\r\n\t\treturn new LatLngBounds(\r\n\t\t new LatLng(sw.lat - heightBuffer, sw.lng - widthBuffer),\r\n\t\t new LatLng(ne.lat + heightBuffer, ne.lng + widthBuffer));\r\n\t},\r\n\r\n\t// @method getCenter(): LatLng\r\n\t// Returns the center point of the bounds.\r\n\tgetCenter: function () {\r\n\t\treturn new LatLng(\r\n\t\t (this._southWest.lat + this._northEast.lat) / 2,\r\n\t\t (this._southWest.lng + this._northEast.lng) / 2);\r\n\t},\r\n\r\n\t// @method getSouthWest(): LatLng\r\n\t// Returns the south-west point of the bounds.\r\n\tgetSouthWest: function () {\r\n\t\treturn this._southWest;\r\n\t},\r\n\r\n\t// @method getNorthEast(): LatLng\r\n\t// Returns the north-east point of the bounds.\r\n\tgetNorthEast: function () {\r\n\t\treturn this._northEast;\r\n\t},\r\n\r\n\t// @method getNorthWest(): LatLng\r\n\t// Returns the north-west point of the bounds.\r\n\tgetNorthWest: function () {\r\n\t\treturn new LatLng(this.getNorth(), this.getWest());\r\n\t},\r\n\r\n\t// @method getSouthEast(): LatLng\r\n\t// Returns the south-east point of the bounds.\r\n\tgetSouthEast: function () {\r\n\t\treturn new LatLng(this.getSouth(), this.getEast());\r\n\t},\r\n\r\n\t// @method getWest(): Number\r\n\t// Returns the west longitude of the bounds\r\n\tgetWest: function () {\r\n\t\treturn this._southWest.lng;\r\n\t},\r\n\r\n\t// @method getSouth(): Number\r\n\t// Returns the south latitude of the bounds\r\n\tgetSouth: function () {\r\n\t\treturn this._southWest.lat;\r\n\t},\r\n\r\n\t// @method getEast(): Number\r\n\t// Returns the east longitude of the bounds\r\n\tgetEast: function () {\r\n\t\treturn this._northEast.lng;\r\n\t},\r\n\r\n\t// @method getNorth(): Number\r\n\t// Returns the north latitude of the bounds\r\n\tgetNorth: function () {\r\n\t\treturn this._northEast.lat;\r\n\t},\r\n\r\n\t// @method contains(otherBounds: LatLngBounds): Boolean\r\n\t// Returns `true` if the rectangle contains the given one.\r\n\r\n\t// @alternative\r\n\t// @method contains (latlng: LatLng): Boolean\r\n\t// Returns `true` if the rectangle contains the given point.\r\n\tcontains: function (obj) { // (LatLngBounds) or (LatLng) -> Boolean\r\n\t\tif (typeof obj[0] === 'number' || obj instanceof LatLng || 'lat' in obj) {\r\n\t\t\tobj = toLatLng(obj);\r\n\t\t} else {\r\n\t\t\tobj = toLatLngBounds(obj);\r\n\t\t}\r\n\r\n\t\tvar sw = this._southWest,\r\n\t\t ne = this._northEast,\r\n\t\t sw2, ne2;\r\n\r\n\t\tif (obj instanceof LatLngBounds) {\r\n\t\t\tsw2 = obj.getSouthWest();\r\n\t\t\tne2 = obj.getNorthEast();\r\n\t\t} else {\r\n\t\t\tsw2 = ne2 = obj;\r\n\t\t}\r\n\r\n\t\treturn (sw2.lat >= sw.lat) && (ne2.lat <= ne.lat) &&\r\n\t\t (sw2.lng >= sw.lng) && (ne2.lng <= ne.lng);\r\n\t},\r\n\r\n\t// @method intersects(otherBounds: LatLngBounds): Boolean\r\n\t// Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.\r\n\tintersects: function (bounds) {\r\n\t\tbounds = toLatLngBounds(bounds);\r\n\r\n\t\tvar sw = this._southWest,\r\n\t\t ne = this._northEast,\r\n\t\t sw2 = bounds.getSouthWest(),\r\n\t\t ne2 = bounds.getNorthEast(),\r\n\r\n\t\t latIntersects = (ne2.lat >= sw.lat) && (sw2.lat <= ne.lat),\r\n\t\t lngIntersects = (ne2.lng >= sw.lng) && (sw2.lng <= ne.lng);\r\n\r\n\t\treturn latIntersects && lngIntersects;\r\n\t},\r\n\r\n\t// @method overlaps(otherBounds: Bounds): Boolean\r\n\t// Returns `true` if the rectangle overlaps the given bounds. Two bounds overlap if their intersection is an area.\r\n\toverlaps: function (bounds) {\r\n\t\tbounds = toLatLngBounds(bounds);\r\n\r\n\t\tvar sw = this._southWest,\r\n\t\t ne = this._northEast,\r\n\t\t sw2 = bounds.getSouthWest(),\r\n\t\t ne2 = bounds.getNorthEast(),\r\n\r\n\t\t latOverlaps = (ne2.lat > sw.lat) && (sw2.lat < ne.lat),\r\n\t\t lngOverlaps = (ne2.lng > sw.lng) && (sw2.lng < ne.lng);\r\n\r\n\t\treturn latOverlaps && lngOverlaps;\r\n\t},\r\n\r\n\t// @method toBBoxString(): String\r\n\t// Returns a string with bounding box coordinates in a 'southwest_lng,southwest_lat,northeast_lng,northeast_lat' format. Useful for sending requests to web services that return geo data.\r\n\ttoBBoxString: function () {\r\n\t\treturn [this.getWest(), this.getSouth(), this.getEast(), this.getNorth()].join(',');\r\n\t},\r\n\r\n\t// @method equals(otherBounds: LatLngBounds, maxMargin?: Number): Boolean\r\n\t// Returns `true` if the rectangle is equivalent (within a small margin of error) to the given bounds. The margin of error can be overridden by setting `maxMargin` to a small number.\r\n\tequals: function (bounds, maxMargin) {\r\n\t\tif (!bounds) { return false; }\r\n\r\n\t\tbounds = toLatLngBounds(bounds);\r\n\r\n\t\treturn this._southWest.equals(bounds.getSouthWest(), maxMargin) &&\r\n\t\t this._northEast.equals(bounds.getNorthEast(), maxMargin);\r\n\t},\r\n\r\n\t// @method isValid(): Boolean\r\n\t// Returns `true` if the bounds are properly initialized.\r\n\tisValid: function () {\r\n\t\treturn !!(this._southWest && this._northEast);\r\n\t}\r\n};\r\n\r\n// TODO International date line?\r\n\r\n// @factory L.latLngBounds(corner1: LatLng, corner2: LatLng)\r\n// Creates a `LatLngBounds` object by defining two diagonally opposite corners of the rectangle.\r\n\r\n// @alternative\r\n// @factory L.latLngBounds(latlngs: LatLng[])\r\n// Creates a `LatLngBounds` object defined by the geographical points it contains. Very useful for zooming the map to fit a particular set of locations with [`fitBounds`](#map-fitbounds).\r\nfunction toLatLngBounds(a, b) {\r\n\tif (a instanceof LatLngBounds) {\r\n\t\treturn a;\r\n\t}\r\n\treturn new LatLngBounds(a, b);\r\n}\n\n/* @class LatLng\r\n * @aka L.LatLng\r\n *\r\n * Represents a geographical point with a certain latitude and longitude.\r\n *\r\n * @example\r\n *\r\n * ```\r\n * var latlng = L.latLng(50.5, 30.5);\r\n * ```\r\n *\r\n * All Leaflet methods that accept LatLng objects also accept them in a simple Array form and simple object form (unless noted otherwise), so these lines are equivalent:\r\n *\r\n * ```\r\n * map.panTo([50, 30]);\r\n * map.panTo({lon: 30, lat: 50});\r\n * map.panTo({lat: 50, lng: 30});\r\n * map.panTo(L.latLng(50, 30));\r\n * ```\r\n *\r\n * Note that `LatLng` does not inherit from Leafet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\nfunction LatLng(lat, lng, alt) {\r\n\tif (isNaN(lat) || isNaN(lng)) {\r\n\t\tthrow new Error('Invalid LatLng object: (' + lat + ', ' + lng + ')');\r\n\t}\r\n\r\n\t// @property lat: Number\r\n\t// Latitude in degrees\r\n\tthis.lat = +lat;\r\n\r\n\t// @property lng: Number\r\n\t// Longitude in degrees\r\n\tthis.lng = +lng;\r\n\r\n\t// @property alt: Number\r\n\t// Altitude in meters (optional)\r\n\tif (alt !== undefined) {\r\n\t\tthis.alt = +alt;\r\n\t}\r\n}\r\n\r\nLatLng.prototype = {\r\n\t// @method equals(otherLatLng: LatLng, maxMargin?: Number): Boolean\r\n\t// Returns `true` if the given `LatLng` point is at the same position (within a small margin of error). The margin of error can be overridden by setting `maxMargin` to a small number.\r\n\tequals: function (obj, maxMargin) {\r\n\t\tif (!obj) { return false; }\r\n\r\n\t\tobj = toLatLng(obj);\r\n\r\n\t\tvar margin = Math.max(\r\n\t\t Math.abs(this.lat - obj.lat),\r\n\t\t Math.abs(this.lng - obj.lng));\r\n\r\n\t\treturn margin <= (maxMargin === undefined ? 1.0E-9 : maxMargin);\r\n\t},\r\n\r\n\t// @method toString(): String\r\n\t// Returns a string representation of the point (for debugging purposes).\r\n\ttoString: function (precision) {\r\n\t\treturn 'LatLng(' +\r\n\t\t formatNum(this.lat, precision) + ', ' +\r\n\t\t formatNum(this.lng, precision) + ')';\r\n\t},\r\n\r\n\t// @method distanceTo(otherLatLng: LatLng): Number\r\n\t// Returns the distance (in meters) to the given `LatLng` calculated using the [Spherical Law of Cosines](https://en.wikipedia.org/wiki/Spherical_law_of_cosines).\r\n\tdistanceTo: function (other) {\r\n\t\treturn Earth.distance(this, toLatLng(other));\r\n\t},\r\n\r\n\t// @method wrap(): LatLng\r\n\t// Returns a new `LatLng` object with the longitude wrapped so it's always between -180 and +180 degrees.\r\n\twrap: function () {\r\n\t\treturn Earth.wrapLatLng(this);\r\n\t},\r\n\r\n\t// @method toBounds(sizeInMeters: Number): LatLngBounds\r\n\t// Returns a new `LatLngBounds` object in which each boundary is `sizeInMeters/2` meters apart from the `LatLng`.\r\n\ttoBounds: function (sizeInMeters) {\r\n\t\tvar latAccuracy = 180 * sizeInMeters / 40075017,\r\n\t\t lngAccuracy = latAccuracy / Math.cos((Math.PI / 180) * this.lat);\r\n\r\n\t\treturn toLatLngBounds(\r\n\t\t [this.lat - latAccuracy, this.lng - lngAccuracy],\r\n\t\t [this.lat + latAccuracy, this.lng + lngAccuracy]);\r\n\t},\r\n\r\n\tclone: function () {\r\n\t\treturn new LatLng(this.lat, this.lng, this.alt);\r\n\t}\r\n};\r\n\r\n\r\n\r\n// @factory L.latLng(latitude: Number, longitude: Number, altitude?: Number): LatLng\r\n// Creates an object representing a geographical point with the given latitude and longitude (and optionally altitude).\r\n\r\n// @alternative\r\n// @factory L.latLng(coords: Array): LatLng\r\n// Expects an array of the form `[Number, Number]` or `[Number, Number, Number]` instead.\r\n\r\n// @alternative\r\n// @factory L.latLng(coords: Object): LatLng\r\n// Expects an plain object of the form `{lat: Number, lng: Number}` or `{lat: Number, lng: Number, alt: Number}` instead.\r\n\r\nfunction toLatLng(a, b, c) {\r\n\tif (a instanceof LatLng) {\r\n\t\treturn a;\r\n\t}\r\n\tif (isArray(a) && typeof a[0] !== 'object') {\r\n\t\tif (a.length === 3) {\r\n\t\t\treturn new LatLng(a[0], a[1], a[2]);\r\n\t\t}\r\n\t\tif (a.length === 2) {\r\n\t\t\treturn new LatLng(a[0], a[1]);\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\tif (a === undefined || a === null) {\r\n\t\treturn a;\r\n\t}\r\n\tif (typeof a === 'object' && 'lat' in a) {\r\n\t\treturn new LatLng(a.lat, 'lng' in a ? a.lng : a.lon, a.alt);\r\n\t}\r\n\tif (b === undefined) {\r\n\t\treturn null;\r\n\t}\r\n\treturn new LatLng(a, b, c);\r\n}\n\n/*\r\n * @namespace CRS\r\n * @crs L.CRS.Base\r\n * Object that defines coordinate reference systems for projecting\r\n * geographical points into pixel (screen) coordinates and back (and to\r\n * coordinates in other units for [WMS](https://en.wikipedia.org/wiki/Web_Map_Service) services). See\r\n * [spatial reference system](http://en.wikipedia.org/wiki/Coordinate_reference_system).\r\n *\r\n * Leaflet defines the most usual CRSs by default. If you want to use a\r\n * CRS not defined by default, take a look at the\r\n * [Proj4Leaflet](https://github.com/kartena/Proj4Leaflet) plugin.\r\n *\r\n * Note that the CRS instances do not inherit from Leafet's `Class` object,\r\n * and can't be instantiated. Also, new classes can't inherit from them,\r\n * and methods can't be added to them with the `include` function.\r\n */\r\n\r\nvar CRS = {\r\n\t// @method latLngToPoint(latlng: LatLng, zoom: Number): Point\r\n\t// Projects geographical coordinates into pixel coordinates for a given zoom.\r\n\tlatLngToPoint: function (latlng, zoom) {\r\n\t\tvar projectedPoint = this.projection.project(latlng),\r\n\t\t scale = this.scale(zoom);\r\n\r\n\t\treturn this.transformation._transform(projectedPoint, scale);\r\n\t},\r\n\r\n\t// @method pointToLatLng(point: Point, zoom: Number): LatLng\r\n\t// The inverse of `latLngToPoint`. Projects pixel coordinates on a given\r\n\t// zoom into geographical coordinates.\r\n\tpointToLatLng: function (point, zoom) {\r\n\t\tvar scale = this.scale(zoom),\r\n\t\t untransformedPoint = this.transformation.untransform(point, scale);\r\n\r\n\t\treturn this.projection.unproject(untransformedPoint);\r\n\t},\r\n\r\n\t// @method project(latlng: LatLng): Point\r\n\t// Projects geographical coordinates into coordinates in units accepted for\r\n\t// this CRS (e.g. meters for EPSG:3857, for passing it to WMS services).\r\n\tproject: function (latlng) {\r\n\t\treturn this.projection.project(latlng);\r\n\t},\r\n\r\n\t// @method unproject(point: Point): LatLng\r\n\t// Given a projected coordinate returns the corresponding LatLng.\r\n\t// The inverse of `project`.\r\n\tunproject: function (point) {\r\n\t\treturn this.projection.unproject(point);\r\n\t},\r\n\r\n\t// @method scale(zoom: Number): Number\r\n\t// Returns the scale used when transforming projected coordinates into\r\n\t// pixel coordinates for a particular zoom. For example, it returns\r\n\t// `256 * 2^zoom` for Mercator-based CRS.\r\n\tscale: function (zoom) {\r\n\t\treturn 256 * Math.pow(2, zoom);\r\n\t},\r\n\r\n\t// @method zoom(scale: Number): Number\r\n\t// Inverse of `scale()`, returns the zoom level corresponding to a scale\r\n\t// factor of `scale`.\r\n\tzoom: function (scale) {\r\n\t\treturn Math.log(scale / 256) / Math.LN2;\r\n\t},\r\n\r\n\t// @method getProjectedBounds(zoom: Number): Bounds\r\n\t// Returns the projection's bounds scaled and transformed for the provided `zoom`.\r\n\tgetProjectedBounds: function (zoom) {\r\n\t\tif (this.infinite) { return null; }\r\n\r\n\t\tvar b = this.projection.bounds,\r\n\t\t s = this.scale(zoom),\r\n\t\t min = this.transformation.transform(b.min, s),\r\n\t\t max = this.transformation.transform(b.max, s);\r\n\r\n\t\treturn new Bounds(min, max);\r\n\t},\r\n\r\n\t// @method distance(latlng1: LatLng, latlng2: LatLng): Number\r\n\t// Returns the distance between two geographical coordinates.\r\n\r\n\t// @property code: String\r\n\t// Standard code name of the CRS passed into WMS services (e.g. `'EPSG:3857'`)\r\n\t//\r\n\t// @property wrapLng: Number[]\r\n\t// An array of two numbers defining whether the longitude (horizontal) coordinate\r\n\t// axis wraps around a given range and how. Defaults to `[-180, 180]` in most\r\n\t// geographical CRSs. If `undefined`, the longitude axis does not wrap around.\r\n\t//\r\n\t// @property wrapLat: Number[]\r\n\t// Like `wrapLng`, but for the latitude (vertical) axis.\r\n\r\n\t// wrapLng: [min, max],\r\n\t// wrapLat: [min, max],\r\n\r\n\t// @property infinite: Boolean\r\n\t// If true, the coordinate space will be unbounded (infinite in both axes)\r\n\tinfinite: false,\r\n\r\n\t// @method wrapLatLng(latlng: LatLng): LatLng\r\n\t// Returns a `LatLng` where lat and lng has been wrapped according to the\r\n\t// CRS's `wrapLat` and `wrapLng` properties, if they are outside the CRS's bounds.\r\n\twrapLatLng: function (latlng) {\r\n\t\tvar lng = this.wrapLng ? wrapNum(latlng.lng, this.wrapLng, true) : latlng.lng,\r\n\t\t lat = this.wrapLat ? wrapNum(latlng.lat, this.wrapLat, true) : latlng.lat,\r\n\t\t alt = latlng.alt;\r\n\r\n\t\treturn new LatLng(lat, lng, alt);\r\n\t},\r\n\r\n\t// @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds\r\n\t// Returns a `LatLngBounds` with the same size as the given one, ensuring\r\n\t// that its center is within the CRS's bounds.\r\n\t// Only accepts actual `L.LatLngBounds` instances, not arrays.\r\n\twrapLatLngBounds: function (bounds) {\r\n\t\tvar center = bounds.getCenter(),\r\n\t\t newCenter = this.wrapLatLng(center),\r\n\t\t latShift = center.lat - newCenter.lat,\r\n\t\t lngShift = center.lng - newCenter.lng;\r\n\r\n\t\tif (latShift === 0 && lngShift === 0) {\r\n\t\t\treturn bounds;\r\n\t\t}\r\n\r\n\t\tvar sw = bounds.getSouthWest(),\r\n\t\t ne = bounds.getNorthEast(),\r\n\t\t newSw = new LatLng(sw.lat - latShift, sw.lng - lngShift),\r\n\t\t newNe = new LatLng(ne.lat - latShift, ne.lng - lngShift);\r\n\r\n\t\treturn new LatLngBounds(newSw, newNe);\r\n\t}\r\n};\n\n/*\n * @namespace CRS\n * @crs L.CRS.Earth\n *\n * Serves as the base for CRS that are global such that they cover the earth.\n * Can only be used as the base for other CRS and cannot be used directly,\n * since it does not have a `code`, `projection` or `transformation`. `distance()` returns\n * meters.\n */\n\nvar Earth = extend({}, CRS, {\n\twrapLng: [-180, 180],\n\n\t// Mean Earth Radius, as recommended for use by\n\t// the International Union of Geodesy and Geophysics,\n\t// see http://rosettacode.org/wiki/Haversine_formula\n\tR: 6371000,\n\n\t// distance between two geographical points using spherical law of cosines approximation\n\tdistance: function (latlng1, latlng2) {\n\t\tvar rad = Math.PI / 180,\n\t\t lat1 = latlng1.lat * rad,\n\t\t lat2 = latlng2.lat * rad,\n\t\t sinDLat = Math.sin((latlng2.lat - latlng1.lat) * rad / 2),\n\t\t sinDLon = Math.sin((latlng2.lng - latlng1.lng) * rad / 2),\n\t\t a = sinDLat * sinDLat + Math.cos(lat1) * Math.cos(lat2) * sinDLon * sinDLon,\n\t\t c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\n\t\treturn this.R * c;\n\t}\n});\n\n/*\r\n * @namespace Projection\r\n * @projection L.Projection.SphericalMercator\r\n *\r\n * Spherical Mercator projection — the most common projection for online maps,\r\n * used by almost all free and commercial tile providers. Assumes that Earth is\r\n * a sphere. Used by the `EPSG:3857` CRS.\r\n */\r\n\r\nvar SphericalMercator = {\r\n\r\n\tR: 6378137,\r\n\tMAX_LATITUDE: 85.0511287798,\r\n\r\n\tproject: function (latlng) {\r\n\t\tvar d = Math.PI / 180,\r\n\t\t max = this.MAX_LATITUDE,\r\n\t\t lat = Math.max(Math.min(max, latlng.lat), -max),\r\n\t\t sin = Math.sin(lat * d);\r\n\r\n\t\treturn new Point(\r\n\t\t\tthis.R * latlng.lng * d,\r\n\t\t\tthis.R * Math.log((1 + sin) / (1 - sin)) / 2);\r\n\t},\r\n\r\n\tunproject: function (point) {\r\n\t\tvar d = 180 / Math.PI;\r\n\r\n\t\treturn new LatLng(\r\n\t\t\t(2 * Math.atan(Math.exp(point.y / this.R)) - (Math.PI / 2)) * d,\r\n\t\t\tpoint.x * d / this.R);\r\n\t},\r\n\r\n\tbounds: (function () {\r\n\t\tvar d = 6378137 * Math.PI;\r\n\t\treturn new Bounds([-d, -d], [d, d]);\r\n\t})()\r\n};\n\n/*\r\n * @class Transformation\r\n * @aka L.Transformation\r\n *\r\n * Represents an affine transformation: a set of coefficients `a`, `b`, `c`, `d`\r\n * for transforming a point of a form `(x, y)` into `(a*x + b, c*y + d)` and doing\r\n * the reverse. Used by Leaflet in its projections code.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var transformation = L.transformation(2, 5, -1, 10),\r\n * \tp = L.point(1, 2),\r\n * \tp2 = transformation.transform(p), // L.point(7, 8)\r\n * \tp3 = transformation.untransform(p2); // L.point(1, 2)\r\n * ```\r\n */\r\n\r\n\r\n// factory new L.Transformation(a: Number, b: Number, c: Number, d: Number)\r\n// Creates a `Transformation` object with the given coefficients.\r\nfunction Transformation(a, b, c, d) {\r\n\tif (isArray(a)) {\r\n\t\t// use array properties\r\n\t\tthis._a = a[0];\r\n\t\tthis._b = a[1];\r\n\t\tthis._c = a[2];\r\n\t\tthis._d = a[3];\r\n\t\treturn;\r\n\t}\r\n\tthis._a = a;\r\n\tthis._b = b;\r\n\tthis._c = c;\r\n\tthis._d = d;\r\n}\r\n\r\nTransformation.prototype = {\r\n\t// @method transform(point: Point, scale?: Number): Point\r\n\t// Returns a transformed point, optionally multiplied by the given scale.\r\n\t// Only accepts actual `L.Point` instances, not arrays.\r\n\ttransform: function (point, scale) { // (Point, Number) -> Point\r\n\t\treturn this._transform(point.clone(), scale);\r\n\t},\r\n\r\n\t// destructive transform (faster)\r\n\t_transform: function (point, scale) {\r\n\t\tscale = scale || 1;\r\n\t\tpoint.x = scale * (this._a * point.x + this._b);\r\n\t\tpoint.y = scale * (this._c * point.y + this._d);\r\n\t\treturn point;\r\n\t},\r\n\r\n\t// @method untransform(point: Point, scale?: Number): Point\r\n\t// Returns the reverse transformation of the given point, optionally divided\r\n\t// by the given scale. Only accepts actual `L.Point` instances, not arrays.\r\n\tuntransform: function (point, scale) {\r\n\t\tscale = scale || 1;\r\n\t\treturn new Point(\r\n\t\t (point.x / scale - this._b) / this._a,\r\n\t\t (point.y / scale - this._d) / this._c);\r\n\t}\r\n};\r\n\r\n// factory L.transformation(a: Number, b: Number, c: Number, d: Number)\r\n\r\n// @factory L.transformation(a: Number, b: Number, c: Number, d: Number)\r\n// Instantiates a Transformation object with the given coefficients.\r\n\r\n// @alternative\r\n// @factory L.transformation(coefficients: Array): Transformation\r\n// Expects an coefficients array of the form\r\n// `[a: Number, b: Number, c: Number, d: Number]`.\r\n\r\nfunction toTransformation(a, b, c, d) {\r\n\treturn new Transformation(a, b, c, d);\r\n}\n\n/*\r\n * @namespace CRS\r\n * @crs L.CRS.EPSG3857\r\n *\r\n * The most common CRS for online maps, used by almost all free and commercial\r\n * tile providers. Uses Spherical Mercator projection. Set in by default in\r\n * Map's `crs` option.\r\n */\r\n\r\nvar EPSG3857 = extend({}, Earth, {\r\n\tcode: 'EPSG:3857',\r\n\tprojection: SphericalMercator,\r\n\r\n\ttransformation: (function () {\r\n\t\tvar scale = 0.5 / (Math.PI * SphericalMercator.R);\r\n\t\treturn toTransformation(scale, 0.5, -scale, 0.5);\r\n\t}())\r\n});\r\n\r\nvar EPSG900913 = extend({}, EPSG3857, {\r\n\tcode: 'EPSG:900913'\r\n});\n\n// @namespace SVG; @section\n// There are several static functions which can be called without instantiating L.SVG:\n\n// @function create(name: String): SVGElement\n// Returns a instance of [SVGElement](https://developer.mozilla.org/docs/Web/API/SVGElement),\n// corresponding to the class name passed. For example, using 'line' will return\n// an instance of [SVGLineElement](https://developer.mozilla.org/docs/Web/API/SVGLineElement).\nfunction svgCreate(name) {\n\treturn document.createElementNS('http://www.w3.org/2000/svg', name);\n}\n\n// @function pointsToPath(rings: Point[], closed: Boolean): String\n// Generates a SVG path string for multiple rings, with each ring turning\n// into \"M..L..L..\" instructions\nfunction pointsToPath(rings, closed) {\n\tvar str = '',\n\ti, j, len, len2, points, p;\n\n\tfor (i = 0, len = rings.length; i < len; i++) {\n\t\tpoints = rings[i];\n\n\t\tfor (j = 0, len2 = points.length; j < len2; j++) {\n\t\t\tp = points[j];\n\t\t\tstr += (j ? 'L' : 'M') + p.x + ' ' + p.y;\n\t\t}\n\n\t\t// closes the ring for polygons; \"x\" is VML syntax\n\t\tstr += closed ? (svg ? 'z' : 'x') : '';\n\t}\n\n\t// SVG complains about empty path strings\n\treturn str || 'M0 0';\n}\n\n/*\r\n * @namespace Browser\r\n * @aka L.Browser\r\n *\r\n * A namespace with static properties for browser/feature detection used by Leaflet internally.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * if (L.Browser.ielt9) {\r\n * alert('Upgrade your browser, dude!');\r\n * }\r\n * ```\r\n */\r\n\r\nvar style$1 = document.documentElement.style;\r\n\r\n// @property ie: Boolean; `true` for all Internet Explorer versions (not Edge).\r\nvar ie = 'ActiveXObject' in window;\r\n\r\n// @property ielt9: Boolean; `true` for Internet Explorer versions less than 9.\r\nvar ielt9 = ie && !document.addEventListener;\r\n\r\n// @property edge: Boolean; `true` for the Edge web browser.\r\nvar edge = 'msLaunchUri' in navigator && !('documentMode' in document);\r\n\r\n// @property webkit: Boolean;\r\n// `true` for webkit-based browsers like Chrome and Safari (including mobile versions).\r\nvar webkit = userAgentContains('webkit');\r\n\r\n// @property android: Boolean\r\n// `true` for any browser running on an Android platform.\r\nvar android = userAgentContains('android');\r\n\r\n// @property android23: Boolean; `true` for browsers running on Android 2 or Android 3.\r\nvar android23 = userAgentContains('android 2') || userAgentContains('android 3');\r\n\r\n/* See https://stackoverflow.com/a/17961266 for details on detecting stock Android */\r\nvar webkitVer = parseInt(/WebKit\\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10); // also matches AppleWebKit\r\n// @property androidStock: Boolean; `true` for the Android stock browser (i.e. not Chrome)\r\nvar androidStock = android && userAgentContains('Google') && webkitVer < 537 && !('AudioNode' in window);\r\n\r\n// @property opera: Boolean; `true` for the Opera browser\r\nvar opera = !!window.opera;\r\n\r\n// @property chrome: Boolean; `true` for the Chrome browser.\r\nvar chrome = userAgentContains('chrome');\r\n\r\n// @property gecko: Boolean; `true` for gecko-based browsers like Firefox.\r\nvar gecko = userAgentContains('gecko') && !webkit && !opera && !ie;\r\n\r\n// @property safari: Boolean; `true` for the Safari browser.\r\nvar safari = !chrome && userAgentContains('safari');\r\n\r\nvar phantom = userAgentContains('phantom');\r\n\r\n// @property opera12: Boolean\r\n// `true` for the Opera browser supporting CSS transforms (version 12 or later).\r\nvar opera12 = 'OTransition' in style$1;\r\n\r\n// @property win: Boolean; `true` when the browser is running in a Windows platform\r\nvar win = navigator.platform.indexOf('Win') === 0;\r\n\r\n// @property ie3d: Boolean; `true` for all Internet Explorer versions supporting CSS transforms.\r\nvar ie3d = ie && ('transition' in style$1);\r\n\r\n// @property webkit3d: Boolean; `true` for webkit-based browsers supporting CSS transforms.\r\nvar webkit3d = ('WebKitCSSMatrix' in window) && ('m11' in new window.WebKitCSSMatrix()) && !android23;\r\n\r\n// @property gecko3d: Boolean; `true` for gecko-based browsers supporting CSS transforms.\r\nvar gecko3d = 'MozPerspective' in style$1;\r\n\r\n// @property any3d: Boolean\r\n// `true` for all browsers supporting CSS transforms.\r\nvar any3d = !window.L_DISABLE_3D && (ie3d || webkit3d || gecko3d) && !opera12 && !phantom;\r\n\r\n// @property mobile: Boolean; `true` for all browsers running in a mobile device.\r\nvar mobile = typeof orientation !== 'undefined' || userAgentContains('mobile');\r\n\r\n// @property mobileWebkit: Boolean; `true` for all webkit-based browsers in a mobile device.\r\nvar mobileWebkit = mobile && webkit;\r\n\r\n// @property mobileWebkit3d: Boolean\r\n// `true` for all webkit-based browsers in a mobile device supporting CSS transforms.\r\nvar mobileWebkit3d = mobile && webkit3d;\r\n\r\n// @property msPointer: Boolean\r\n// `true` for browsers implementing the Microsoft touch events model (notably IE10).\r\nvar msPointer = !window.PointerEvent && window.MSPointerEvent;\r\n\r\n// @property pointer: Boolean\r\n// `true` for all browsers supporting [pointer events](https://msdn.microsoft.com/en-us/library/dn433244%28v=vs.85%29.aspx).\r\nvar pointer = !!(window.PointerEvent || msPointer);\r\n\r\n// @property touch: Boolean\r\n// `true` for all browsers supporting [touch events](https://developer.mozilla.org/docs/Web/API/Touch_events).\r\n// This does not necessarily mean that the browser is running in a computer with\r\n// a touchscreen, it only means that the browser is capable of understanding\r\n// touch events.\r\nvar touch = !window.L_NO_TOUCH && (pointer || 'ontouchstart' in window ||\r\n\t\t(window.DocumentTouch && document instanceof window.DocumentTouch));\r\n\r\n// @property mobileOpera: Boolean; `true` for the Opera browser in a mobile device.\r\nvar mobileOpera = mobile && opera;\r\n\r\n// @property mobileGecko: Boolean\r\n// `true` for gecko-based browsers running in a mobile device.\r\nvar mobileGecko = mobile && gecko;\r\n\r\n// @property retina: Boolean\r\n// `true` for browsers on a high-resolution \"retina\" screen.\r\nvar retina = (window.devicePixelRatio || (window.screen.deviceXDPI / window.screen.logicalXDPI)) > 1;\r\n\r\n\r\n// @property canvas: Boolean\r\n// `true` when the browser supports [``](https://developer.mozilla.org/docs/Web/API/Canvas_API).\r\nvar canvas = (function () {\r\n\treturn !!document.createElement('canvas').getContext;\r\n}());\r\n\r\n// @property svg: Boolean\r\n// `true` when the browser supports [SVG](https://developer.mozilla.org/docs/Web/SVG).\r\nvar svg = !!(document.createElementNS && svgCreate('svg').createSVGRect);\r\n\r\n// @property vml: Boolean\r\n// `true` if the browser supports [VML](https://en.wikipedia.org/wiki/Vector_Markup_Language).\r\nvar vml = !svg && (function () {\r\n\ttry {\r\n\t\tvar div = document.createElement('div');\r\n\t\tdiv.innerHTML = '';\r\n\r\n\t\tvar shape = div.firstChild;\r\n\t\tshape.style.behavior = 'url(#default#VML)';\r\n\r\n\t\treturn shape && (typeof shape.adj === 'object');\r\n\r\n\t} catch (e) {\r\n\t\treturn false;\r\n\t}\r\n}());\r\n\r\n\r\nfunction userAgentContains(str) {\r\n\treturn navigator.userAgent.toLowerCase().indexOf(str) >= 0;\r\n}\r\n\n\nvar Browser = (Object.freeze || Object)({\n\tie: ie,\n\tielt9: ielt9,\n\tedge: edge,\n\twebkit: webkit,\n\tandroid: android,\n\tandroid23: android23,\n\tandroidStock: androidStock,\n\topera: opera,\n\tchrome: chrome,\n\tgecko: gecko,\n\tsafari: safari,\n\tphantom: phantom,\n\topera12: opera12,\n\twin: win,\n\tie3d: ie3d,\n\twebkit3d: webkit3d,\n\tgecko3d: gecko3d,\n\tany3d: any3d,\n\tmobile: mobile,\n\tmobileWebkit: mobileWebkit,\n\tmobileWebkit3d: mobileWebkit3d,\n\tmsPointer: msPointer,\n\tpointer: pointer,\n\ttouch: touch,\n\tmobileOpera: mobileOpera,\n\tmobileGecko: mobileGecko,\n\tretina: retina,\n\tcanvas: canvas,\n\tsvg: svg,\n\tvml: vml\n});\n\n/*\n * Extends L.DomEvent to provide touch support for Internet Explorer and Windows-based devices.\n */\n\n\nvar POINTER_DOWN = msPointer ? 'MSPointerDown' : 'pointerdown';\nvar POINTER_MOVE = msPointer ? 'MSPointerMove' : 'pointermove';\nvar POINTER_UP = msPointer ? 'MSPointerUp' : 'pointerup';\nvar POINTER_CANCEL = msPointer ? 'MSPointerCancel' : 'pointercancel';\nvar TAG_WHITE_LIST = ['INPUT', 'SELECT', 'OPTION'];\n\nvar _pointers = {};\nvar _pointerDocListener = false;\n\n// DomEvent.DoubleTap needs to know about this\nvar _pointersCount = 0;\n\n// Provides a touch events wrapper for (ms)pointer events.\n// ref http://www.w3.org/TR/pointerevents/ https://www.w3.org/Bugs/Public/show_bug.cgi?id=22890\n\nfunction addPointerListener(obj, type, handler, id) {\n\tif (type === 'touchstart') {\n\t\t_addPointerStart(obj, handler, id);\n\n\t} else if (type === 'touchmove') {\n\t\t_addPointerMove(obj, handler, id);\n\n\t} else if (type === 'touchend') {\n\t\t_addPointerEnd(obj, handler, id);\n\t}\n\n\treturn this;\n}\n\nfunction removePointerListener(obj, type, id) {\n\tvar handler = obj['_leaflet_' + type + id];\n\n\tif (type === 'touchstart') {\n\t\tobj.removeEventListener(POINTER_DOWN, handler, false);\n\n\t} else if (type === 'touchmove') {\n\t\tobj.removeEventListener(POINTER_MOVE, handler, false);\n\n\t} else if (type === 'touchend') {\n\t\tobj.removeEventListener(POINTER_UP, handler, false);\n\t\tobj.removeEventListener(POINTER_CANCEL, handler, false);\n\t}\n\n\treturn this;\n}\n\nfunction _addPointerStart(obj, handler, id) {\n\tvar onDown = bind(function (e) {\n\t\tif (e.pointerType !== 'mouse' && e.MSPOINTER_TYPE_MOUSE && e.pointerType !== e.MSPOINTER_TYPE_MOUSE) {\n\t\t\t// In IE11, some touch events needs to fire for form controls, or\n\t\t\t// the controls will stop working. We keep a whitelist of tag names that\n\t\t\t// need these events. For other target tags, we prevent default on the event.\n\t\t\tif (TAG_WHITE_LIST.indexOf(e.target.tagName) < 0) {\n\t\t\t\tpreventDefault(e);\n\t\t\t} else {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\t_handlePointer(e, handler);\n\t});\n\n\tobj['_leaflet_touchstart' + id] = onDown;\n\tobj.addEventListener(POINTER_DOWN, onDown, false);\n\n\t// need to keep track of what pointers and how many are active to provide e.touches emulation\n\tif (!_pointerDocListener) {\n\t\t// we listen documentElement as any drags that end by moving the touch off the screen get fired there\n\t\tdocument.documentElement.addEventListener(POINTER_DOWN, _globalPointerDown, true);\n\t\tdocument.documentElement.addEventListener(POINTER_MOVE, _globalPointerMove, true);\n\t\tdocument.documentElement.addEventListener(POINTER_UP, _globalPointerUp, true);\n\t\tdocument.documentElement.addEventListener(POINTER_CANCEL, _globalPointerUp, true);\n\n\t\t_pointerDocListener = true;\n\t}\n}\n\nfunction _globalPointerDown(e) {\n\t_pointers[e.pointerId] = e;\n\t_pointersCount++;\n}\n\nfunction _globalPointerMove(e) {\n\tif (_pointers[e.pointerId]) {\n\t\t_pointers[e.pointerId] = e;\n\t}\n}\n\nfunction _globalPointerUp(e) {\n\tdelete _pointers[e.pointerId];\n\t_pointersCount--;\n}\n\nfunction _handlePointer(e, handler) {\n\te.touches = [];\n\tfor (var i in _pointers) {\n\t\te.touches.push(_pointers[i]);\n\t}\n\te.changedTouches = [e];\n\n\thandler(e);\n}\n\nfunction _addPointerMove(obj, handler, id) {\n\tvar onMove = function (e) {\n\t\t// don't fire touch moves when mouse isn't down\n\t\tif ((e.pointerType === e.MSPOINTER_TYPE_MOUSE || e.pointerType === 'mouse') && e.buttons === 0) { return; }\n\n\t\t_handlePointer(e, handler);\n\t};\n\n\tobj['_leaflet_touchmove' + id] = onMove;\n\tobj.addEventListener(POINTER_MOVE, onMove, false);\n}\n\nfunction _addPointerEnd(obj, handler, id) {\n\tvar onUp = function (e) {\n\t\t_handlePointer(e, handler);\n\t};\n\n\tobj['_leaflet_touchend' + id] = onUp;\n\tobj.addEventListener(POINTER_UP, onUp, false);\n\tobj.addEventListener(POINTER_CANCEL, onUp, false);\n}\n\n/*\r\n * Extends the event handling code with double tap support for mobile browsers.\r\n */\r\n\r\nvar _touchstart = msPointer ? 'MSPointerDown' : pointer ? 'pointerdown' : 'touchstart';\r\nvar _touchend = msPointer ? 'MSPointerUp' : pointer ? 'pointerup' : 'touchend';\r\nvar _pre = '_leaflet_';\r\n\r\n// inspired by Zepto touch code by Thomas Fuchs\r\nfunction addDoubleTapListener(obj, handler, id) {\r\n\tvar last, touch$$1,\r\n\t doubleTap = false,\r\n\t delay = 250;\r\n\r\n\tfunction onTouchStart(e) {\r\n\t\tvar count;\r\n\r\n\t\tif (pointer) {\r\n\t\t\tif ((!edge) || e.pointerType === 'mouse') { return; }\r\n\t\t\tcount = _pointersCount;\r\n\t\t} else {\r\n\t\t\tcount = e.touches.length;\r\n\t\t}\r\n\r\n\t\tif (count > 1) { return; }\r\n\r\n\t\tvar now = Date.now(),\r\n\t\t delta = now - (last || now);\r\n\r\n\t\ttouch$$1 = e.touches ? e.touches[0] : e;\r\n\t\tdoubleTap = (delta > 0 && delta <= delay);\r\n\t\tlast = now;\r\n\t}\r\n\r\n\tfunction onTouchEnd(e) {\r\n\t\tif (doubleTap && !touch$$1.cancelBubble) {\r\n\t\t\tif (pointer) {\r\n\t\t\t\tif ((!edge) || e.pointerType === 'mouse') { return; }\r\n\t\t\t\t// work around .type being readonly with MSPointer* events\r\n\t\t\t\tvar newTouch = {},\r\n\t\t\t\t prop, i;\r\n\r\n\t\t\t\tfor (i in touch$$1) {\r\n\t\t\t\t\tprop = touch$$1[i];\r\n\t\t\t\t\tnewTouch[i] = prop && prop.bind ? prop.bind(touch$$1) : prop;\r\n\t\t\t\t}\r\n\t\t\t\ttouch$$1 = newTouch;\r\n\t\t\t}\r\n\t\t\ttouch$$1.type = 'dblclick';\r\n\t\t\thandler(touch$$1);\r\n\t\t\tlast = null;\r\n\t\t}\r\n\t}\r\n\r\n\tobj[_pre + _touchstart + id] = onTouchStart;\r\n\tobj[_pre + _touchend + id] = onTouchEnd;\r\n\tobj[_pre + 'dblclick' + id] = handler;\r\n\r\n\tobj.addEventListener(_touchstart, onTouchStart, false);\r\n\tobj.addEventListener(_touchend, onTouchEnd, false);\r\n\r\n\t// On some platforms (notably, chrome<55 on win10 + touchscreen + mouse),\r\n\t// the browser doesn't fire touchend/pointerup events but does fire\r\n\t// native dblclicks. See #4127.\r\n\t// Edge 14 also fires native dblclicks, but only for pointerType mouse, see #5180.\r\n\tobj.addEventListener('dblclick', handler, false);\r\n\r\n\treturn this;\r\n}\r\n\r\nfunction removeDoubleTapListener(obj, id) {\r\n\tvar touchstart = obj[_pre + _touchstart + id],\r\n\t touchend = obj[_pre + _touchend + id],\r\n\t dblclick = obj[_pre + 'dblclick' + id];\r\n\r\n\tobj.removeEventListener(_touchstart, touchstart, false);\r\n\tobj.removeEventListener(_touchend, touchend, false);\r\n\tif (!edge) {\r\n\t\tobj.removeEventListener('dblclick', dblclick, false);\r\n\t}\r\n\r\n\treturn this;\r\n}\n\n/*\r\n * @namespace DomEvent\r\n * Utility functions to work with the [DOM events](https://developer.mozilla.org/docs/Web/API/Event), used by Leaflet internally.\r\n */\r\n\r\n// Inspired by John Resig, Dean Edwards and YUI addEvent implementations.\r\n\r\n// @function on(el: HTMLElement, types: String, fn: Function, context?: Object): this\r\n// Adds a listener function (`fn`) to a particular DOM event type of the\r\n// element `el`. You can optionally specify the context of the listener\r\n// (object the `this` keyword will point to). You can also pass several\r\n// space-separated types (e.g. `'click dblclick'`).\r\n\r\n// @alternative\r\n// @function on(el: HTMLElement, eventMap: Object, context?: Object): this\r\n// Adds a set of type/listener pairs, e.g. `{click: onClick, mousemove: onMouseMove}`\r\nfunction on(obj, types, fn, context) {\r\n\r\n\tif (typeof types === 'object') {\r\n\t\tfor (var type in types) {\r\n\t\t\taddOne(obj, type, types[type], fn);\r\n\t\t}\r\n\t} else {\r\n\t\ttypes = splitWords(types);\r\n\r\n\t\tfor (var i = 0, len = types.length; i < len; i++) {\r\n\t\t\taddOne(obj, types[i], fn, context);\r\n\t\t}\r\n\t}\r\n\r\n\treturn this;\r\n}\r\n\r\nvar eventsKey = '_leaflet_events';\r\n\r\n// @function off(el: HTMLElement, types: String, fn: Function, context?: Object): this\r\n// Removes a previously added listener function.\r\n// Note that if you passed a custom context to on, you must pass the same\r\n// context to `off` in order to remove the listener.\r\n\r\n// @alternative\r\n// @function off(el: HTMLElement, eventMap: Object, context?: Object): this\r\n// Removes a set of type/listener pairs, e.g. `{click: onClick, mousemove: onMouseMove}`\r\nfunction off(obj, types, fn, context) {\r\n\r\n\tif (typeof types === 'object') {\r\n\t\tfor (var type in types) {\r\n\t\t\tremoveOne(obj, type, types[type], fn);\r\n\t\t}\r\n\t} else if (types) {\r\n\t\ttypes = splitWords(types);\r\n\r\n\t\tfor (var i = 0, len = types.length; i < len; i++) {\r\n\t\t\tremoveOne(obj, types[i], fn, context);\r\n\t\t}\r\n\t} else {\r\n\t\tfor (var j in obj[eventsKey]) {\r\n\t\t\tremoveOne(obj, j, obj[eventsKey][j]);\r\n\t\t}\r\n\t\tdelete obj[eventsKey];\r\n\t}\r\n\r\n\treturn this;\r\n}\r\n\r\nfunction addOne(obj, type, fn, context) {\r\n\tvar id = type + stamp(fn) + (context ? '_' + stamp(context) : '');\r\n\r\n\tif (obj[eventsKey] && obj[eventsKey][id]) { return this; }\r\n\r\n\tvar handler = function (e) {\r\n\t\treturn fn.call(context || obj, e || window.event);\r\n\t};\r\n\r\n\tvar originalHandler = handler;\r\n\r\n\tif (pointer && type.indexOf('touch') === 0) {\r\n\t\t// Needs DomEvent.Pointer.js\r\n\t\taddPointerListener(obj, type, handler, id);\r\n\r\n\t} else if (touch && (type === 'dblclick') && addDoubleTapListener &&\r\n\t !(pointer && chrome)) {\r\n\t\t// Chrome >55 does not need the synthetic dblclicks from addDoubleTapListener\r\n\t\t// See #5180\r\n\t\taddDoubleTapListener(obj, handler, id);\r\n\r\n\t} else if ('addEventListener' in obj) {\r\n\r\n\t\tif (type === 'mousewheel') {\r\n\t\t\tobj.addEventListener('onwheel' in obj ? 'wheel' : 'mousewheel', handler, false);\r\n\r\n\t\t} else if ((type === 'mouseenter') || (type === 'mouseleave')) {\r\n\t\t\thandler = function (e) {\r\n\t\t\t\te = e || window.event;\r\n\t\t\t\tif (isExternalTarget(obj, e)) {\r\n\t\t\t\t\toriginalHandler(e);\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t\tobj.addEventListener(type === 'mouseenter' ? 'mouseover' : 'mouseout', handler, false);\r\n\r\n\t\t} else {\r\n\t\t\tif (type === 'click' && android) {\r\n\t\t\t\thandler = function (e) {\r\n\t\t\t\t\tfilterClick(e, originalHandler);\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\tobj.addEventListener(type, handler, false);\r\n\t\t}\r\n\r\n\t} else if ('attachEvent' in obj) {\r\n\t\tobj.attachEvent('on' + type, handler);\r\n\t}\r\n\r\n\tobj[eventsKey] = obj[eventsKey] || {};\r\n\tobj[eventsKey][id] = handler;\r\n}\r\n\r\nfunction removeOne(obj, type, fn, context) {\r\n\r\n\tvar id = type + stamp(fn) + (context ? '_' + stamp(context) : ''),\r\n\t handler = obj[eventsKey] && obj[eventsKey][id];\r\n\r\n\tif (!handler) { return this; }\r\n\r\n\tif (pointer && type.indexOf('touch') === 0) {\r\n\t\tremovePointerListener(obj, type, id);\r\n\r\n\t} else if (touch && (type === 'dblclick') && removeDoubleTapListener &&\r\n\t !(pointer && chrome)) {\r\n\t\tremoveDoubleTapListener(obj, id);\r\n\r\n\t} else if ('removeEventListener' in obj) {\r\n\r\n\t\tif (type === 'mousewheel') {\r\n\t\t\tobj.removeEventListener('onwheel' in obj ? 'wheel' : 'mousewheel', handler, false);\r\n\r\n\t\t} else {\r\n\t\t\tobj.removeEventListener(\r\n\t\t\t\ttype === 'mouseenter' ? 'mouseover' :\r\n\t\t\t\ttype === 'mouseleave' ? 'mouseout' : type, handler, false);\r\n\t\t}\r\n\r\n\t} else if ('detachEvent' in obj) {\r\n\t\tobj.detachEvent('on' + type, handler);\r\n\t}\r\n\r\n\tobj[eventsKey][id] = null;\r\n}\r\n\r\n// @function stopPropagation(ev: DOMEvent): this\r\n// Stop the given event from propagation to parent elements. Used inside the listener functions:\r\n// ```js\r\n// L.DomEvent.on(div, 'click', function (ev) {\r\n// \tL.DomEvent.stopPropagation(ev);\r\n// });\r\n// ```\r\nfunction stopPropagation(e) {\r\n\r\n\tif (e.stopPropagation) {\r\n\t\te.stopPropagation();\r\n\t} else if (e.originalEvent) { // In case of Leaflet event.\r\n\t\te.originalEvent._stopped = true;\r\n\t} else {\r\n\t\te.cancelBubble = true;\r\n\t}\r\n\tskipped(e);\r\n\r\n\treturn this;\r\n}\r\n\r\n// @function disableScrollPropagation(el: HTMLElement): this\r\n// Adds `stopPropagation` to the element's `'mousewheel'` events (plus browser variants).\r\nfunction disableScrollPropagation(el) {\r\n\taddOne(el, 'mousewheel', stopPropagation);\r\n\treturn this;\r\n}\r\n\r\n// @function disableClickPropagation(el: HTMLElement): this\r\n// Adds `stopPropagation` to the element's `'click'`, `'doubleclick'`,\r\n// `'mousedown'` and `'touchstart'` events (plus browser variants).\r\nfunction disableClickPropagation(el) {\r\n\ton(el, 'mousedown touchstart dblclick', stopPropagation);\r\n\taddOne(el, 'click', fakeStop);\r\n\treturn this;\r\n}\r\n\r\n// @function preventDefault(ev: DOMEvent): this\r\n// Prevents the default action of the DOM Event `ev` from happening (such as\r\n// following a link in the href of the a element, or doing a POST request\r\n// with page reload when a `
    ` is submitted).\r\n// Use it inside listener functions.\r\nfunction preventDefault(e) {\r\n\tif (e.preventDefault) {\r\n\t\te.preventDefault();\r\n\t} else {\r\n\t\te.returnValue = false;\r\n\t}\r\n\treturn this;\r\n}\r\n\r\n// @function stop(ev: DOMEvent): this\r\n// Does `stopPropagation` and `preventDefault` at the same time.\r\nfunction stop(e) {\r\n\tpreventDefault(e);\r\n\tstopPropagation(e);\r\n\treturn this;\r\n}\r\n\r\n// @function getMousePosition(ev: DOMEvent, container?: HTMLElement): Point\r\n// Gets normalized mouse position from a DOM event relative to the\r\n// `container` or to the whole page if not specified.\r\nfunction getMousePosition(e, container) {\r\n\tif (!container) {\r\n\t\treturn new Point(e.clientX, e.clientY);\r\n\t}\r\n\r\n\tvar rect = container.getBoundingClientRect();\r\n\r\n\tvar scaleX = rect.width / container.offsetWidth || 1;\r\n\tvar scaleY = rect.height / container.offsetHeight || 1;\r\n\treturn new Point(\r\n\t\te.clientX / scaleX - rect.left - container.clientLeft,\r\n\t\te.clientY / scaleY - rect.top - container.clientTop);\r\n}\r\n\r\n// Chrome on Win scrolls double the pixels as in other platforms (see #4538),\r\n// and Firefox scrolls device pixels, not CSS pixels\r\nvar wheelPxFactor =\r\n\t(win && chrome) ? 2 * window.devicePixelRatio :\r\n\tgecko ? window.devicePixelRatio : 1;\r\n\r\n// @function getWheelDelta(ev: DOMEvent): Number\r\n// Gets normalized wheel delta from a mousewheel DOM event, in vertical\r\n// pixels scrolled (negative if scrolling down).\r\n// Events from pointing devices without precise scrolling are mapped to\r\n// a best guess of 60 pixels.\r\nfunction getWheelDelta(e) {\r\n\treturn (edge) ? e.wheelDeltaY / 2 : // Don't trust window-geometry-based delta\r\n\t (e.deltaY && e.deltaMode === 0) ? -e.deltaY / wheelPxFactor : // Pixels\r\n\t (e.deltaY && e.deltaMode === 1) ? -e.deltaY * 20 : // Lines\r\n\t (e.deltaY && e.deltaMode === 2) ? -e.deltaY * 60 : // Pages\r\n\t (e.deltaX || e.deltaZ) ? 0 :\t// Skip horizontal/depth wheel events\r\n\t e.wheelDelta ? (e.wheelDeltaY || e.wheelDelta) / 2 : // Legacy IE pixels\r\n\t (e.detail && Math.abs(e.detail) < 32765) ? -e.detail * 20 : // Legacy Moz lines\r\n\t e.detail ? e.detail / -32765 * 60 : // Legacy Moz pages\r\n\t 0;\r\n}\r\n\r\nvar skipEvents = {};\r\n\r\nfunction fakeStop(e) {\r\n\t// fakes stopPropagation by setting a special event flag, checked/reset with skipped(e)\r\n\tskipEvents[e.type] = true;\r\n}\r\n\r\nfunction skipped(e) {\r\n\tvar events = skipEvents[e.type];\r\n\t// reset when checking, as it's only used in map container and propagates outside of the map\r\n\tskipEvents[e.type] = false;\r\n\treturn events;\r\n}\r\n\r\n// check if element really left/entered the event target (for mouseenter/mouseleave)\r\nfunction isExternalTarget(el, e) {\r\n\r\n\tvar related = e.relatedTarget;\r\n\r\n\tif (!related) { return true; }\r\n\r\n\ttry {\r\n\t\twhile (related && (related !== el)) {\r\n\t\t\trelated = related.parentNode;\r\n\t\t}\r\n\t} catch (err) {\r\n\t\treturn false;\r\n\t}\r\n\treturn (related !== el);\r\n}\r\n\r\nvar lastClick;\r\n\r\n// this is a horrible workaround for a bug in Android where a single touch triggers two click events\r\nfunction filterClick(e, handler) {\r\n\tvar timeStamp = (e.timeStamp || (e.originalEvent && e.originalEvent.timeStamp)),\r\n\t elapsed = lastClick && (timeStamp - lastClick);\r\n\r\n\t// are they closer together than 500ms yet more than 100ms?\r\n\t// Android typically triggers them ~300ms apart while multiple listeners\r\n\t// on the same event should be triggered far faster;\r\n\t// or check if click is simulated on the element, and if it is, reject any non-simulated events\r\n\r\n\tif ((elapsed && elapsed > 100 && elapsed < 500) || (e.target._simulatedClick && !e._simulated)) {\r\n\t\tstop(e);\r\n\t\treturn;\r\n\t}\r\n\tlastClick = timeStamp;\r\n\r\n\thandler(e);\r\n}\r\n\r\n\r\n\n\nvar DomEvent = (Object.freeze || Object)({\n\ton: on,\n\toff: off,\n\tstopPropagation: stopPropagation,\n\tdisableScrollPropagation: disableScrollPropagation,\n\tdisableClickPropagation: disableClickPropagation,\n\tpreventDefault: preventDefault,\n\tstop: stop,\n\tgetMousePosition: getMousePosition,\n\tgetWheelDelta: getWheelDelta,\n\tfakeStop: fakeStop,\n\tskipped: skipped,\n\tisExternalTarget: isExternalTarget,\n\taddListener: on,\n\tremoveListener: off\n});\n\n/*\r\n * @namespace DomUtil\r\n *\r\n * Utility functions to work with the [DOM](https://developer.mozilla.org/docs/Web/API/Document_Object_Model)\r\n * tree, used by Leaflet internally.\r\n *\r\n * Most functions expecting or returning a `HTMLElement` also work for\r\n * SVG elements. The only difference is that classes refer to CSS classes\r\n * in HTML and SVG classes in SVG.\r\n */\r\n\r\n\r\n// @property TRANSFORM: String\r\n// Vendor-prefixed transform style name (e.g. `'webkitTransform'` for WebKit).\r\nvar TRANSFORM = testProp(\r\n\t['transform', 'WebkitTransform', 'OTransform', 'MozTransform', 'msTransform']);\r\n\r\n// webkitTransition comes first because some browser versions that drop vendor prefix don't do\r\n// the same for the transitionend event, in particular the Android 4.1 stock browser\r\n\r\n// @property TRANSITION: String\r\n// Vendor-prefixed transition style name.\r\nvar TRANSITION = testProp(\r\n\t['webkitTransition', 'transition', 'OTransition', 'MozTransition', 'msTransition']);\r\n\r\n// @property TRANSITION_END: String\r\n// Vendor-prefixed transitionend event name.\r\nvar TRANSITION_END =\r\n\tTRANSITION === 'webkitTransition' || TRANSITION === 'OTransition' ? TRANSITION + 'End' : 'transitionend';\r\n\r\n\r\n// @function get(id: String|HTMLElement): HTMLElement\r\n// Returns an element given its DOM id, or returns the element itself\r\n// if it was passed directly.\r\nfunction get(id) {\r\n\treturn typeof id === 'string' ? document.getElementById(id) : id;\r\n}\r\n\r\n// @function getStyle(el: HTMLElement, styleAttrib: String): String\r\n// Returns the value for a certain style attribute on an element,\r\n// including computed values or values set through CSS.\r\nfunction getStyle(el, style) {\r\n\tvar value = el.style[style] || (el.currentStyle && el.currentStyle[style]);\r\n\r\n\tif ((!value || value === 'auto') && document.defaultView) {\r\n\t\tvar css = document.defaultView.getComputedStyle(el, null);\r\n\t\tvalue = css ? css[style] : null;\r\n\t}\r\n\treturn value === 'auto' ? null : value;\r\n}\r\n\r\n// @function create(tagName: String, className?: String, container?: HTMLElement): HTMLElement\r\n// Creates an HTML element with `tagName`, sets its class to `className`, and optionally appends it to `container` element.\r\nfunction create$1(tagName, className, container) {\r\n\tvar el = document.createElement(tagName);\r\n\tel.className = className || '';\r\n\r\n\tif (container) {\r\n\t\tcontainer.appendChild(el);\r\n\t}\r\n\treturn el;\r\n}\r\n\r\n// @function remove(el: HTMLElement)\r\n// Removes `el` from its parent element\r\nfunction remove(el) {\r\n\tvar parent = el.parentNode;\r\n\tif (parent) {\r\n\t\tparent.removeChild(el);\r\n\t}\r\n}\r\n\r\n// @function empty(el: HTMLElement)\r\n// Removes all of `el`'s children elements from `el`\r\nfunction empty(el) {\r\n\twhile (el.firstChild) {\r\n\t\tel.removeChild(el.firstChild);\r\n\t}\r\n}\r\n\r\n// @function toFront(el: HTMLElement)\r\n// Makes `el` the last child of its parent, so it renders in front of the other children.\r\nfunction toFront(el) {\r\n\tvar parent = el.parentNode;\r\n\tif (parent.lastChild !== el) {\r\n\t\tparent.appendChild(el);\r\n\t}\r\n}\r\n\r\n// @function toBack(el: HTMLElement)\r\n// Makes `el` the first child of its parent, so it renders behind the other children.\r\nfunction toBack(el) {\r\n\tvar parent = el.parentNode;\r\n\tif (parent.firstChild !== el) {\r\n\t\tparent.insertBefore(el, parent.firstChild);\r\n\t}\r\n}\r\n\r\n// @function hasClass(el: HTMLElement, name: String): Boolean\r\n// Returns `true` if the element's class attribute contains `name`.\r\nfunction hasClass(el, name) {\r\n\tif (el.classList !== undefined) {\r\n\t\treturn el.classList.contains(name);\r\n\t}\r\n\tvar className = getClass(el);\r\n\treturn className.length > 0 && new RegExp('(^|\\\\s)' + name + '(\\\\s|$)').test(className);\r\n}\r\n\r\n// @function addClass(el: HTMLElement, name: String)\r\n// Adds `name` to the element's class attribute.\r\nfunction addClass(el, name) {\r\n\tif (el.classList !== undefined) {\r\n\t\tvar classes = splitWords(name);\r\n\t\tfor (var i = 0, len = classes.length; i < len; i++) {\r\n\t\t\tel.classList.add(classes[i]);\r\n\t\t}\r\n\t} else if (!hasClass(el, name)) {\r\n\t\tvar className = getClass(el);\r\n\t\tsetClass(el, (className ? className + ' ' : '') + name);\r\n\t}\r\n}\r\n\r\n// @function removeClass(el: HTMLElement, name: String)\r\n// Removes `name` from the element's class attribute.\r\nfunction removeClass(el, name) {\r\n\tif (el.classList !== undefined) {\r\n\t\tel.classList.remove(name);\r\n\t} else {\r\n\t\tsetClass(el, trim((' ' + getClass(el) + ' ').replace(' ' + name + ' ', ' ')));\r\n\t}\r\n}\r\n\r\n// @function setClass(el: HTMLElement, name: String)\r\n// Sets the element's class.\r\nfunction setClass(el, name) {\r\n\tif (el.className.baseVal === undefined) {\r\n\t\tel.className = name;\r\n\t} else {\r\n\t\t// in case of SVG element\r\n\t\tel.className.baseVal = name;\r\n\t}\r\n}\r\n\r\n// @function getClass(el: HTMLElement): String\r\n// Returns the element's class.\r\nfunction getClass(el) {\r\n\treturn el.className.baseVal === undefined ? el.className : el.className.baseVal;\r\n}\r\n\r\n// @function setOpacity(el: HTMLElement, opacity: Number)\r\n// Set the opacity of an element (including old IE support).\r\n// `opacity` must be a number from `0` to `1`.\r\nfunction setOpacity(el, value) {\r\n\tif ('opacity' in el.style) {\r\n\t\tel.style.opacity = value;\r\n\t} else if ('filter' in el.style) {\r\n\t\t_setOpacityIE(el, value);\r\n\t}\r\n}\r\n\r\nfunction _setOpacityIE(el, value) {\r\n\tvar filter = false,\r\n\t filterName = 'DXImageTransform.Microsoft.Alpha';\r\n\r\n\t// filters collection throws an error if we try to retrieve a filter that doesn't exist\r\n\ttry {\r\n\t\tfilter = el.filters.item(filterName);\r\n\t} catch (e) {\r\n\t\t// don't set opacity to 1 if we haven't already set an opacity,\r\n\t\t// it isn't needed and breaks transparent pngs.\r\n\t\tif (value === 1) { return; }\r\n\t}\r\n\r\n\tvalue = Math.round(value * 100);\r\n\r\n\tif (filter) {\r\n\t\tfilter.Enabled = (value !== 100);\r\n\t\tfilter.Opacity = value;\r\n\t} else {\r\n\t\tel.style.filter += ' progid:' + filterName + '(opacity=' + value + ')';\r\n\t}\r\n}\r\n\r\n// @function testProp(props: String[]): String|false\r\n// Goes through the array of style names and returns the first name\r\n// that is a valid style name for an element. If no such name is found,\r\n// it returns false. Useful for vendor-prefixed styles like `transform`.\r\nfunction testProp(props) {\r\n\tvar style = document.documentElement.style;\r\n\r\n\tfor (var i = 0; i < props.length; i++) {\r\n\t\tif (props[i] in style) {\r\n\t\t\treturn props[i];\r\n\t\t}\r\n\t}\r\n\treturn false;\r\n}\r\n\r\n// @function setTransform(el: HTMLElement, offset: Point, scale?: Number)\r\n// Resets the 3D CSS transform of `el` so it is translated by `offset` pixels\r\n// and optionally scaled by `scale`. Does not have an effect if the\r\n// browser doesn't support 3D CSS transforms.\r\nfunction setTransform(el, offset, scale) {\r\n\tvar pos = offset || new Point(0, 0);\r\n\r\n\tel.style[TRANSFORM] =\r\n\t\t(ie3d ?\r\n\t\t\t'translate(' + pos.x + 'px,' + pos.y + 'px)' :\r\n\t\t\t'translate3d(' + pos.x + 'px,' + pos.y + 'px,0)') +\r\n\t\t(scale ? ' scale(' + scale + ')' : '');\r\n}\r\n\r\n// @function setPosition(el: HTMLElement, position: Point)\r\n// Sets the position of `el` to coordinates specified by `position`,\r\n// using CSS translate or top/left positioning depending on the browser\r\n// (used by Leaflet internally to position its layers).\r\nfunction setPosition(el, point) {\r\n\r\n\t/*eslint-disable */\r\n\tel._leaflet_pos = point;\r\n\t/* eslint-enable */\r\n\r\n\tif (any3d) {\r\n\t\tsetTransform(el, point);\r\n\t} else {\r\n\t\tel.style.left = point.x + 'px';\r\n\t\tel.style.top = point.y + 'px';\r\n\t}\r\n}\r\n\r\n// @function getPosition(el: HTMLElement): Point\r\n// Returns the coordinates of an element previously positioned with setPosition.\r\nfunction getPosition(el) {\r\n\t// this method is only used for elements previously positioned using setPosition,\r\n\t// so it's safe to cache the position for performance\r\n\r\n\treturn el._leaflet_pos || new Point(0, 0);\r\n}\r\n\r\n// @function disableTextSelection()\r\n// Prevents the user from generating `selectstart` DOM events, usually generated\r\n// when the user drags the mouse through a page with text. Used internally\r\n// by Leaflet to override the behaviour of any click-and-drag interaction on\r\n// the map. Affects drag interactions on the whole document.\r\n\r\n// @function enableTextSelection()\r\n// Cancels the effects of a previous [`L.DomUtil.disableTextSelection`](#domutil-disabletextselection).\r\nvar disableTextSelection;\r\nvar enableTextSelection;\r\nvar _userSelect;\r\nif ('onselectstart' in document) {\r\n\tdisableTextSelection = function () {\r\n\t\ton(window, 'selectstart', preventDefault);\r\n\t};\r\n\tenableTextSelection = function () {\r\n\t\toff(window, 'selectstart', preventDefault);\r\n\t};\r\n} else {\r\n\tvar userSelectProperty = testProp(\r\n\t\t['userSelect', 'WebkitUserSelect', 'OUserSelect', 'MozUserSelect', 'msUserSelect']);\r\n\r\n\tdisableTextSelection = function () {\r\n\t\tif (userSelectProperty) {\r\n\t\t\tvar style = document.documentElement.style;\r\n\t\t\t_userSelect = style[userSelectProperty];\r\n\t\t\tstyle[userSelectProperty] = 'none';\r\n\t\t}\r\n\t};\r\n\tenableTextSelection = function () {\r\n\t\tif (userSelectProperty) {\r\n\t\t\tdocument.documentElement.style[userSelectProperty] = _userSelect;\r\n\t\t\t_userSelect = undefined;\r\n\t\t}\r\n\t};\r\n}\r\n\r\n// @function disableImageDrag()\r\n// As [`L.DomUtil.disableTextSelection`](#domutil-disabletextselection), but\r\n// for `dragstart` DOM events, usually generated when the user drags an image.\r\nfunction disableImageDrag() {\r\n\ton(window, 'dragstart', preventDefault);\r\n}\r\n\r\n// @function enableImageDrag()\r\n// Cancels the effects of a previous [`L.DomUtil.disableImageDrag`](#domutil-disabletextselection).\r\nfunction enableImageDrag() {\r\n\toff(window, 'dragstart', preventDefault);\r\n}\r\n\r\nvar _outlineElement;\nvar _outlineStyle;\r\n// @function preventOutline(el: HTMLElement)\r\n// Makes the [outline](https://developer.mozilla.org/docs/Web/CSS/outline)\r\n// of the element `el` invisible. Used internally by Leaflet to prevent\r\n// focusable elements from displaying an outline when the user performs a\r\n// drag interaction on them.\r\nfunction preventOutline(element) {\r\n\twhile (element.tabIndex === -1) {\r\n\t\telement = element.parentNode;\r\n\t}\r\n\tif (!element.style) { return; }\r\n\trestoreOutline();\r\n\t_outlineElement = element;\r\n\t_outlineStyle = element.style.outline;\r\n\telement.style.outline = 'none';\r\n\ton(window, 'keydown', restoreOutline);\r\n}\r\n\r\n// @function restoreOutline()\r\n// Cancels the effects of a previous [`L.DomUtil.preventOutline`]().\r\nfunction restoreOutline() {\r\n\tif (!_outlineElement) { return; }\r\n\t_outlineElement.style.outline = _outlineStyle;\r\n\t_outlineElement = undefined;\r\n\t_outlineStyle = undefined;\r\n\toff(window, 'keydown', restoreOutline);\r\n}\r\n\n\nvar DomUtil = (Object.freeze || Object)({\n\tTRANSFORM: TRANSFORM,\n\tTRANSITION: TRANSITION,\n\tTRANSITION_END: TRANSITION_END,\n\tget: get,\n\tgetStyle: getStyle,\n\tcreate: create$1,\n\tremove: remove,\n\tempty: empty,\n\ttoFront: toFront,\n\ttoBack: toBack,\n\thasClass: hasClass,\n\taddClass: addClass,\n\tremoveClass: removeClass,\n\tsetClass: setClass,\n\tgetClass: getClass,\n\tsetOpacity: setOpacity,\n\ttestProp: testProp,\n\tsetTransform: setTransform,\n\tsetPosition: setPosition,\n\tgetPosition: getPosition,\n\tdisableTextSelection: disableTextSelection,\n\tenableTextSelection: enableTextSelection,\n\tdisableImageDrag: disableImageDrag,\n\tenableImageDrag: enableImageDrag,\n\tpreventOutline: preventOutline,\n\trestoreOutline: restoreOutline\n});\n\n/*\n * @class PosAnimation\n * @aka L.PosAnimation\n * @inherits Evented\n * Used internally for panning animations, utilizing CSS3 Transitions for modern browsers and a timer fallback for IE6-9.\n *\n * @example\n * ```js\n * var fx = new L.PosAnimation();\n * fx.run(el, [300, 500], 0.5);\n * ```\n *\n * @constructor L.PosAnimation()\n * Creates a `PosAnimation` object.\n *\n */\n\nvar PosAnimation = Evented.extend({\n\n\t// @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)\n\t// Run an animation of a given element to a new position, optionally setting\n\t// duration in seconds (`0.25` by default) and easing linearity factor (3rd\n\t// argument of the [cubic bezier curve](http://cubic-bezier.com/#0,0,.5,1),\n\t// `0.5` by default).\n\trun: function (el, newPos, duration, easeLinearity) {\n\t\tthis.stop();\n\n\t\tthis._el = el;\n\t\tthis._inProgress = true;\n\t\tthis._duration = duration || 0.25;\n\t\tthis._easeOutPower = 1 / Math.max(easeLinearity || 0.5, 0.2);\n\n\t\tthis._startPos = getPosition(el);\n\t\tthis._offset = newPos.subtract(this._startPos);\n\t\tthis._startTime = +new Date();\n\n\t\t// @event start: Event\n\t\t// Fired when the animation starts\n\t\tthis.fire('start');\n\n\t\tthis._animate();\n\t},\n\n\t// @method stop()\n\t// Stops the animation (if currently running).\n\tstop: function () {\n\t\tif (!this._inProgress) { return; }\n\n\t\tthis._step(true);\n\t\tthis._complete();\n\t},\n\n\t_animate: function () {\n\t\t// animation loop\n\t\tthis._animId = requestAnimFrame(this._animate, this);\n\t\tthis._step();\n\t},\n\n\t_step: function (round) {\n\t\tvar elapsed = (+new Date()) - this._startTime,\n\t\t duration = this._duration * 1000;\n\n\t\tif (elapsed < duration) {\n\t\t\tthis._runFrame(this._easeOut(elapsed / duration), round);\n\t\t} else {\n\t\t\tthis._runFrame(1);\n\t\t\tthis._complete();\n\t\t}\n\t},\n\n\t_runFrame: function (progress, round) {\n\t\tvar pos = this._startPos.add(this._offset.multiplyBy(progress));\n\t\tif (round) {\n\t\t\tpos._round();\n\t\t}\n\t\tsetPosition(this._el, pos);\n\n\t\t// @event step: Event\n\t\t// Fired continuously during the animation.\n\t\tthis.fire('step');\n\t},\n\n\t_complete: function () {\n\t\tcancelAnimFrame(this._animId);\n\n\t\tthis._inProgress = false;\n\t\t// @event end: Event\n\t\t// Fired when the animation ends.\n\t\tthis.fire('end');\n\t},\n\n\t_easeOut: function (t) {\n\t\treturn 1 - Math.pow(1 - t, this._easeOutPower);\n\t}\n});\n\n/*\r\n * @class Map\r\n * @aka L.Map\r\n * @inherits Evented\r\n *\r\n * The central class of the API — it is used to create a map on a page and manipulate it.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * // initialize the map on the \"map\" div with a given center and zoom\r\n * var map = L.map('map', {\r\n * \tcenter: [51.505, -0.09],\r\n * \tzoom: 13\r\n * });\r\n * ```\r\n *\r\n */\r\n\r\nvar Map = Evented.extend({\r\n\r\n\toptions: {\r\n\t\t// @section Map State Options\r\n\t\t// @option crs: CRS = L.CRS.EPSG3857\r\n\t\t// The [Coordinate Reference System](#crs) to use. Don't change this if you're not\r\n\t\t// sure what it means.\r\n\t\tcrs: EPSG3857,\r\n\r\n\t\t// @option center: LatLng = undefined\r\n\t\t// Initial geographic center of the map\r\n\t\tcenter: undefined,\r\n\r\n\t\t// @option zoom: Number = undefined\r\n\t\t// Initial map zoom level\r\n\t\tzoom: undefined,\r\n\r\n\t\t// @option minZoom: Number = *\r\n\t\t// Minimum zoom level of the map.\r\n\t\t// If not specified and at least one `GridLayer` or `TileLayer` is in the map,\r\n\t\t// the lowest of their `minZoom` options will be used instead.\r\n\t\tminZoom: undefined,\r\n\r\n\t\t// @option maxZoom: Number = *\r\n\t\t// Maximum zoom level of the map.\r\n\t\t// If not specified and at least one `GridLayer` or `TileLayer` is in the map,\r\n\t\t// the highest of their `maxZoom` options will be used instead.\r\n\t\tmaxZoom: undefined,\r\n\r\n\t\t// @option layers: Layer[] = []\r\n\t\t// Array of layers that will be added to the map initially\r\n\t\tlayers: [],\r\n\r\n\t\t// @option maxBounds: LatLngBounds = null\r\n\t\t// When this option is set, the map restricts the view to the given\r\n\t\t// geographical bounds, bouncing the user back if the user tries to pan\r\n\t\t// outside the view. To set the restriction dynamically, use\r\n\t\t// [`setMaxBounds`](#map-setmaxbounds) method.\r\n\t\tmaxBounds: undefined,\r\n\r\n\t\t// @option renderer: Renderer = *\r\n\t\t// The default method for drawing vector layers on the map. `L.SVG`\r\n\t\t// or `L.Canvas` by default depending on browser support.\r\n\t\trenderer: undefined,\r\n\r\n\r\n\t\t// @section Animation Options\r\n\t\t// @option zoomAnimation: Boolean = true\r\n\t\t// Whether the map zoom animation is enabled. By default it's enabled\r\n\t\t// in all browsers that support CSS3 Transitions except Android.\r\n\t\tzoomAnimation: true,\r\n\r\n\t\t// @option zoomAnimationThreshold: Number = 4\r\n\t\t// Won't animate zoom if the zoom difference exceeds this value.\r\n\t\tzoomAnimationThreshold: 4,\r\n\r\n\t\t// @option fadeAnimation: Boolean = true\r\n\t\t// Whether the tile fade animation is enabled. By default it's enabled\r\n\t\t// in all browsers that support CSS3 Transitions except Android.\r\n\t\tfadeAnimation: true,\r\n\r\n\t\t// @option markerZoomAnimation: Boolean = true\r\n\t\t// Whether markers animate their zoom with the zoom animation, if disabled\r\n\t\t// they will disappear for the length of the animation. By default it's\r\n\t\t// enabled in all browsers that support CSS3 Transitions except Android.\r\n\t\tmarkerZoomAnimation: true,\r\n\r\n\t\t// @option transform3DLimit: Number = 2^23\r\n\t\t// Defines the maximum size of a CSS translation transform. The default\r\n\t\t// value should not be changed unless a web browser positions layers in\r\n\t\t// the wrong place after doing a large `panBy`.\r\n\t\ttransform3DLimit: 8388608, // Precision limit of a 32-bit float\r\n\r\n\t\t// @section Interaction Options\r\n\t\t// @option zoomSnap: Number = 1\r\n\t\t// Forces the map's zoom level to always be a multiple of this, particularly\r\n\t\t// right after a [`fitBounds()`](#map-fitbounds) or a pinch-zoom.\r\n\t\t// By default, the zoom level snaps to the nearest integer; lower values\r\n\t\t// (e.g. `0.5` or `0.1`) allow for greater granularity. A value of `0`\r\n\t\t// means the zoom level will not be snapped after `fitBounds` or a pinch-zoom.\r\n\t\tzoomSnap: 1,\r\n\r\n\t\t// @option zoomDelta: Number = 1\r\n\t\t// Controls how much the map's zoom level will change after a\r\n\t\t// [`zoomIn()`](#map-zoomin), [`zoomOut()`](#map-zoomout), pressing `+`\r\n\t\t// or `-` on the keyboard, or using the [zoom controls](#control-zoom).\r\n\t\t// Values smaller than `1` (e.g. `0.5`) allow for greater granularity.\r\n\t\tzoomDelta: 1,\r\n\r\n\t\t// @option trackResize: Boolean = true\r\n\t\t// Whether the map automatically handles browser window resize to update itself.\r\n\t\ttrackResize: true\r\n\t},\r\n\r\n\tinitialize: function (id, options) { // (HTMLElement or String, Object)\r\n\t\toptions = setOptions(this, options);\r\n\r\n\t\tthis._initContainer(id);\r\n\t\tthis._initLayout();\r\n\r\n\t\t// hack for https://github.com/Leaflet/Leaflet/issues/1980\r\n\t\tthis._onResize = bind(this._onResize, this);\r\n\r\n\t\tthis._initEvents();\r\n\r\n\t\tif (options.maxBounds) {\r\n\t\t\tthis.setMaxBounds(options.maxBounds);\r\n\t\t}\r\n\r\n\t\tif (options.zoom !== undefined) {\r\n\t\t\tthis._zoom = this._limitZoom(options.zoom);\r\n\t\t}\r\n\r\n\t\tif (options.center && options.zoom !== undefined) {\r\n\t\t\tthis.setView(toLatLng(options.center), options.zoom, {reset: true});\r\n\t\t}\r\n\r\n\t\tthis._handlers = [];\r\n\t\tthis._layers = {};\r\n\t\tthis._zoomBoundLayers = {};\r\n\t\tthis._sizeChanged = true;\r\n\r\n\t\tthis.callInitHooks();\r\n\r\n\t\t// don't animate on browsers without hardware-accelerated transitions or old Android/Opera\r\n\t\tthis._zoomAnimated = TRANSITION && any3d && !mobileOpera &&\r\n\t\t\t\tthis.options.zoomAnimation;\r\n\r\n\t\t// zoom transitions run with the same duration for all layers, so if one of transitionend events\r\n\t\t// happens after starting zoom animation (propagating to the map pane), we know that it ended globally\r\n\t\tif (this._zoomAnimated) {\r\n\t\t\tthis._createAnimProxy();\r\n\t\t\ton(this._proxy, TRANSITION_END, this._catchTransitionEnd, this);\r\n\t\t}\r\n\r\n\t\tthis._addLayers(this.options.layers);\r\n\t},\r\n\r\n\r\n\t// @section Methods for modifying map state\r\n\r\n\t// @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this\r\n\t// Sets the view of the map (geographical center and zoom) with the given\r\n\t// animation options.\r\n\tsetView: function (center, zoom, options) {\r\n\r\n\t\tzoom = zoom === undefined ? this._zoom : this._limitZoom(zoom);\r\n\t\tcenter = this._limitCenter(toLatLng(center), zoom, this.options.maxBounds);\r\n\t\toptions = options || {};\r\n\r\n\t\tthis._stop();\r\n\r\n\t\tif (this._loaded && !options.reset && options !== true) {\r\n\r\n\t\t\tif (options.animate !== undefined) {\r\n\t\t\t\toptions.zoom = extend({animate: options.animate}, options.zoom);\r\n\t\t\t\toptions.pan = extend({animate: options.animate, duration: options.duration}, options.pan);\r\n\t\t\t}\r\n\r\n\t\t\t// try animating pan or zoom\r\n\t\t\tvar moved = (this._zoom !== zoom) ?\r\n\t\t\t\tthis._tryAnimatedZoom && this._tryAnimatedZoom(center, zoom, options.zoom) :\r\n\t\t\t\tthis._tryAnimatedPan(center, options.pan);\r\n\r\n\t\t\tif (moved) {\r\n\t\t\t\t// prevent resize handler call, the view will refresh after animation anyway\r\n\t\t\t\tclearTimeout(this._sizeTimer);\r\n\t\t\t\treturn this;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// animation didn't start, just reset the map view\r\n\t\tthis._resetView(center, zoom);\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method setZoom(zoom: Number, options?: Zoom/pan options): this\r\n\t// Sets the zoom of the map.\r\n\tsetZoom: function (zoom, options) {\r\n\t\tif (!this._loaded) {\r\n\t\t\tthis._zoom = zoom;\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\treturn this.setView(this.getCenter(), zoom, {zoom: options});\r\n\t},\r\n\r\n\t// @method zoomIn(delta?: Number, options?: Zoom options): this\r\n\t// Increases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).\r\n\tzoomIn: function (delta, options) {\r\n\t\tdelta = delta || (any3d ? this.options.zoomDelta : 1);\r\n\t\treturn this.setZoom(this._zoom + delta, options);\r\n\t},\r\n\r\n\t// @method zoomOut(delta?: Number, options?: Zoom options): this\r\n\t// Decreases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).\r\n\tzoomOut: function (delta, options) {\r\n\t\tdelta = delta || (any3d ? this.options.zoomDelta : 1);\r\n\t\treturn this.setZoom(this._zoom - delta, options);\r\n\t},\r\n\r\n\t// @method setZoomAround(latlng: LatLng, zoom: Number, options: Zoom options): this\r\n\t// Zooms the map while keeping a specified geographical point on the map\r\n\t// stationary (e.g. used internally for scroll zoom and double-click zoom).\r\n\t// @alternative\r\n\t// @method setZoomAround(offset: Point, zoom: Number, options: Zoom options): this\r\n\t// Zooms the map while keeping a specified pixel on the map (relative to the top-left corner) stationary.\r\n\tsetZoomAround: function (latlng, zoom, options) {\r\n\t\tvar scale = this.getZoomScale(zoom),\r\n\t\t viewHalf = this.getSize().divideBy(2),\r\n\t\t containerPoint = latlng instanceof Point ? latlng : this.latLngToContainerPoint(latlng),\r\n\r\n\t\t centerOffset = containerPoint.subtract(viewHalf).multiplyBy(1 - 1 / scale),\r\n\t\t newCenter = this.containerPointToLatLng(viewHalf.add(centerOffset));\r\n\r\n\t\treturn this.setView(newCenter, zoom, {zoom: options});\r\n\t},\r\n\r\n\t_getBoundsCenterZoom: function (bounds, options) {\r\n\r\n\t\toptions = options || {};\r\n\t\tbounds = bounds.getBounds ? bounds.getBounds() : toLatLngBounds(bounds);\r\n\r\n\t\tvar paddingTL = toPoint(options.paddingTopLeft || options.padding || [0, 0]),\r\n\t\t paddingBR = toPoint(options.paddingBottomRight || options.padding || [0, 0]),\r\n\r\n\t\t zoom = this.getBoundsZoom(bounds, false, paddingTL.add(paddingBR));\r\n\r\n\t\tzoom = (typeof options.maxZoom === 'number') ? Math.min(options.maxZoom, zoom) : zoom;\r\n\r\n\t\tif (zoom === Infinity) {\r\n\t\t\treturn {\r\n\t\t\t\tcenter: bounds.getCenter(),\r\n\t\t\t\tzoom: zoom\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tvar paddingOffset = paddingBR.subtract(paddingTL).divideBy(2),\r\n\r\n\t\t swPoint = this.project(bounds.getSouthWest(), zoom),\r\n\t\t nePoint = this.project(bounds.getNorthEast(), zoom),\r\n\t\t center = this.unproject(swPoint.add(nePoint).divideBy(2).add(paddingOffset), zoom);\r\n\r\n\t\treturn {\r\n\t\t\tcenter: center,\r\n\t\t\tzoom: zoom\r\n\t\t};\r\n\t},\r\n\r\n\t// @method fitBounds(bounds: LatLngBounds, options?: fitBounds options): this\r\n\t// Sets a map view that contains the given geographical bounds with the\r\n\t// maximum zoom level possible.\r\n\tfitBounds: function (bounds, options) {\r\n\r\n\t\tbounds = toLatLngBounds(bounds);\r\n\r\n\t\tif (!bounds.isValid()) {\r\n\t\t\tthrow new Error('Bounds are not valid.');\r\n\t\t}\r\n\r\n\t\tvar target = this._getBoundsCenterZoom(bounds, options);\r\n\t\treturn this.setView(target.center, target.zoom, options);\r\n\t},\r\n\r\n\t// @method fitWorld(options?: fitBounds options): this\r\n\t// Sets a map view that mostly contains the whole world with the maximum\r\n\t// zoom level possible.\r\n\tfitWorld: function (options) {\r\n\t\treturn this.fitBounds([[-90, -180], [90, 180]], options);\r\n\t},\r\n\r\n\t// @method panTo(latlng: LatLng, options?: Pan options): this\r\n\t// Pans the map to a given center.\r\n\tpanTo: function (center, options) { // (LatLng)\r\n\t\treturn this.setView(center, this._zoom, {pan: options});\r\n\t},\r\n\r\n\t// @method panBy(offset: Point, options?: Pan options): this\r\n\t// Pans the map by a given number of pixels (animated).\r\n\tpanBy: function (offset, options) {\r\n\t\toffset = toPoint(offset).round();\r\n\t\toptions = options || {};\r\n\r\n\t\tif (!offset.x && !offset.y) {\r\n\t\t\treturn this.fire('moveend');\r\n\t\t}\r\n\t\t// If we pan too far, Chrome gets issues with tiles\r\n\t\t// and makes them disappear or appear in the wrong place (slightly offset) #2602\r\n\t\tif (options.animate !== true && !this.getSize().contains(offset)) {\r\n\t\t\tthis._resetView(this.unproject(this.project(this.getCenter()).add(offset)), this.getZoom());\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\tif (!this._panAnim) {\r\n\t\t\tthis._panAnim = new PosAnimation();\r\n\r\n\t\t\tthis._panAnim.on({\r\n\t\t\t\t'step': this._onPanTransitionStep,\r\n\t\t\t\t'end': this._onPanTransitionEnd\r\n\t\t\t}, this);\r\n\t\t}\r\n\r\n\t\t// don't fire movestart if animating inertia\r\n\t\tif (!options.noMoveStart) {\r\n\t\t\tthis.fire('movestart');\r\n\t\t}\r\n\r\n\t\t// animate pan unless animate: false specified\r\n\t\tif (options.animate !== false) {\r\n\t\t\taddClass(this._mapPane, 'leaflet-pan-anim');\r\n\r\n\t\t\tvar newPos = this._getMapPanePos().subtract(offset).round();\r\n\t\t\tthis._panAnim.run(this._mapPane, newPos, options.duration || 0.25, options.easeLinearity);\r\n\t\t} else {\r\n\t\t\tthis._rawPanBy(offset);\r\n\t\t\tthis.fire('move').fire('moveend');\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method flyTo(latlng: LatLng, zoom?: Number, options?: Zoom/pan options): this\r\n\t// Sets the view of the map (geographical center and zoom) performing a smooth\r\n\t// pan-zoom animation.\r\n\tflyTo: function (targetCenter, targetZoom, options) {\r\n\r\n\t\toptions = options || {};\r\n\t\tif (options.animate === false || !any3d) {\r\n\t\t\treturn this.setView(targetCenter, targetZoom, options);\r\n\t\t}\r\n\r\n\t\tthis._stop();\r\n\r\n\t\tvar from = this.project(this.getCenter()),\r\n\t\t to = this.project(targetCenter),\r\n\t\t size = this.getSize(),\r\n\t\t startZoom = this._zoom;\r\n\r\n\t\ttargetCenter = toLatLng(targetCenter);\r\n\t\ttargetZoom = targetZoom === undefined ? startZoom : targetZoom;\r\n\r\n\t\tvar w0 = Math.max(size.x, size.y),\r\n\t\t w1 = w0 * this.getZoomScale(startZoom, targetZoom),\r\n\t\t u1 = (to.distanceTo(from)) || 1,\r\n\t\t rho = 1.42,\r\n\t\t rho2 = rho * rho;\r\n\r\n\t\tfunction r(i) {\r\n\t\t\tvar s1 = i ? -1 : 1,\r\n\t\t\t s2 = i ? w1 : w0,\r\n\t\t\t t1 = w1 * w1 - w0 * w0 + s1 * rho2 * rho2 * u1 * u1,\r\n\t\t\t b1 = 2 * s2 * rho2 * u1,\r\n\t\t\t b = t1 / b1,\r\n\t\t\t sq = Math.sqrt(b * b + 1) - b;\r\n\r\n\t\t\t // workaround for floating point precision bug when sq = 0, log = -Infinite,\r\n\t\t\t // thus triggering an infinite loop in flyTo\r\n\t\t\t var log = sq < 0.000000001 ? -18 : Math.log(sq);\r\n\r\n\t\t\treturn log;\r\n\t\t}\r\n\r\n\t\tfunction sinh(n) { return (Math.exp(n) - Math.exp(-n)) / 2; }\r\n\t\tfunction cosh(n) { return (Math.exp(n) + Math.exp(-n)) / 2; }\r\n\t\tfunction tanh(n) { return sinh(n) / cosh(n); }\r\n\r\n\t\tvar r0 = r(0);\r\n\r\n\t\tfunction w(s) { return w0 * (cosh(r0) / cosh(r0 + rho * s)); }\r\n\t\tfunction u(s) { return w0 * (cosh(r0) * tanh(r0 + rho * s) - sinh(r0)) / rho2; }\r\n\r\n\t\tfunction easeOut(t) { return 1 - Math.pow(1 - t, 1.5); }\r\n\r\n\t\tvar start = Date.now(),\r\n\t\t S = (r(1) - r0) / rho,\r\n\t\t duration = options.duration ? 1000 * options.duration : 1000 * S * 0.8;\r\n\r\n\t\tfunction frame() {\r\n\t\t\tvar t = (Date.now() - start) / duration,\r\n\t\t\t s = easeOut(t) * S;\r\n\r\n\t\t\tif (t <= 1) {\r\n\t\t\t\tthis._flyToFrame = requestAnimFrame(frame, this);\r\n\r\n\t\t\t\tthis._move(\r\n\t\t\t\t\tthis.unproject(from.add(to.subtract(from).multiplyBy(u(s) / u1)), startZoom),\r\n\t\t\t\t\tthis.getScaleZoom(w0 / w(s), startZoom),\r\n\t\t\t\t\t{flyTo: true});\r\n\r\n\t\t\t} else {\r\n\t\t\t\tthis\r\n\t\t\t\t\t._move(targetCenter, targetZoom)\r\n\t\t\t\t\t._moveEnd(true);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis._moveStart(true, options.noMoveStart);\r\n\r\n\t\tframe.call(this);\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method flyToBounds(bounds: LatLngBounds, options?: fitBounds options): this\r\n\t// Sets the view of the map with a smooth animation like [`flyTo`](#map-flyto),\r\n\t// but takes a bounds parameter like [`fitBounds`](#map-fitbounds).\r\n\tflyToBounds: function (bounds, options) {\r\n\t\tvar target = this._getBoundsCenterZoom(bounds, options);\r\n\t\treturn this.flyTo(target.center, target.zoom, options);\r\n\t},\r\n\r\n\t// @method setMaxBounds(bounds: Bounds): this\r\n\t// Restricts the map view to the given bounds (see the [maxBounds](#map-maxbounds) option).\r\n\tsetMaxBounds: function (bounds) {\r\n\t\tbounds = toLatLngBounds(bounds);\r\n\r\n\t\tif (!bounds.isValid()) {\r\n\t\t\tthis.options.maxBounds = null;\r\n\t\t\treturn this.off('moveend', this._panInsideMaxBounds);\r\n\t\t} else if (this.options.maxBounds) {\r\n\t\t\tthis.off('moveend', this._panInsideMaxBounds);\r\n\t\t}\r\n\r\n\t\tthis.options.maxBounds = bounds;\r\n\r\n\t\tif (this._loaded) {\r\n\t\t\tthis._panInsideMaxBounds();\r\n\t\t}\r\n\r\n\t\treturn this.on('moveend', this._panInsideMaxBounds);\r\n\t},\r\n\r\n\t// @method setMinZoom(zoom: Number): this\r\n\t// Sets the lower limit for the available zoom levels (see the [minZoom](#map-minzoom) option).\r\n\tsetMinZoom: function (zoom) {\r\n\t\tvar oldZoom = this.options.minZoom;\r\n\t\tthis.options.minZoom = zoom;\r\n\r\n\t\tif (this._loaded && oldZoom !== zoom) {\r\n\t\t\tthis.fire('zoomlevelschange');\r\n\r\n\t\t\tif (this.getZoom() < this.options.minZoom) {\r\n\t\t\t\treturn this.setZoom(zoom);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method setMaxZoom(zoom: Number): this\r\n\t// Sets the upper limit for the available zoom levels (see the [maxZoom](#map-maxzoom) option).\r\n\tsetMaxZoom: function (zoom) {\r\n\t\tvar oldZoom = this.options.maxZoom;\r\n\t\tthis.options.maxZoom = zoom;\r\n\r\n\t\tif (this._loaded && oldZoom !== zoom) {\r\n\t\t\tthis.fire('zoomlevelschange');\r\n\r\n\t\t\tif (this.getZoom() > this.options.maxZoom) {\r\n\t\t\t\treturn this.setZoom(zoom);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method panInsideBounds(bounds: LatLngBounds, options?: Pan options): this\r\n\t// Pans the map to the closest view that would lie inside the given bounds (if it's not already), controlling the animation using the options specific, if any.\r\n\tpanInsideBounds: function (bounds, options) {\r\n\t\tthis._enforcingBounds = true;\r\n\t\tvar center = this.getCenter(),\r\n\t\t newCenter = this._limitCenter(center, this._zoom, toLatLngBounds(bounds));\r\n\r\n\t\tif (!center.equals(newCenter)) {\r\n\t\t\tthis.panTo(newCenter, options);\r\n\t\t}\r\n\r\n\t\tthis._enforcingBounds = false;\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method invalidateSize(options: Zoom/pan options): this\r\n\t// Checks if the map container size changed and updates the map if so —\r\n\t// call it after you've changed the map size dynamically, also animating\r\n\t// pan by default. If `options.pan` is `false`, panning will not occur.\r\n\t// If `options.debounceMoveend` is `true`, it will delay `moveend` event so\r\n\t// that it doesn't happen often even if the method is called many\r\n\t// times in a row.\r\n\r\n\t// @alternative\r\n\t// @method invalidateSize(animate: Boolean): this\r\n\t// Checks if the map container size changed and updates the map if so —\r\n\t// call it after you've changed the map size dynamically, also animating\r\n\t// pan by default.\r\n\tinvalidateSize: function (options) {\r\n\t\tif (!this._loaded) { return this; }\r\n\r\n\t\toptions = extend({\r\n\t\t\tanimate: false,\r\n\t\t\tpan: true\r\n\t\t}, options === true ? {animate: true} : options);\r\n\r\n\t\tvar oldSize = this.getSize();\r\n\t\tthis._sizeChanged = true;\r\n\t\tthis._lastCenter = null;\r\n\r\n\t\tvar newSize = this.getSize(),\r\n\t\t oldCenter = oldSize.divideBy(2).round(),\r\n\t\t newCenter = newSize.divideBy(2).round(),\r\n\t\t offset = oldCenter.subtract(newCenter);\r\n\r\n\t\tif (!offset.x && !offset.y) { return this; }\r\n\r\n\t\tif (options.animate && options.pan) {\r\n\t\t\tthis.panBy(offset);\r\n\r\n\t\t} else {\r\n\t\t\tif (options.pan) {\r\n\t\t\t\tthis._rawPanBy(offset);\r\n\t\t\t}\r\n\r\n\t\t\tthis.fire('move');\r\n\r\n\t\t\tif (options.debounceMoveend) {\r\n\t\t\t\tclearTimeout(this._sizeTimer);\r\n\t\t\t\tthis._sizeTimer = setTimeout(bind(this.fire, this, 'moveend'), 200);\r\n\t\t\t} else {\r\n\t\t\t\tthis.fire('moveend');\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// @section Map state change events\r\n\t\t// @event resize: ResizeEvent\r\n\t\t// Fired when the map is resized.\r\n\t\treturn this.fire('resize', {\r\n\t\t\toldSize: oldSize,\r\n\t\t\tnewSize: newSize\r\n\t\t});\r\n\t},\r\n\r\n\t// @section Methods for modifying map state\r\n\t// @method stop(): this\r\n\t// Stops the currently running `panTo` or `flyTo` animation, if any.\r\n\tstop: function () {\r\n\t\tthis.setZoom(this._limitZoom(this._zoom));\r\n\t\tif (!this.options.zoomSnap) {\r\n\t\t\tthis.fire('viewreset');\r\n\t\t}\r\n\t\treturn this._stop();\r\n\t},\r\n\r\n\t// @section Geolocation methods\r\n\t// @method locate(options?: Locate options): this\r\n\t// Tries to locate the user using the Geolocation API, firing a [`locationfound`](#map-locationfound)\r\n\t// event with location data on success or a [`locationerror`](#map-locationerror) event on failure,\r\n\t// and optionally sets the map view to the user's location with respect to\r\n\t// detection accuracy (or to the world view if geolocation failed).\r\n\t// Note that, if your page doesn't use HTTPS, this method will fail in\r\n\t// modern browsers ([Chrome 50 and newer](https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins))\r\n\t// See `Locate options` for more details.\r\n\tlocate: function (options) {\r\n\r\n\t\toptions = this._locateOptions = extend({\r\n\t\t\ttimeout: 10000,\r\n\t\t\twatch: false\r\n\t\t\t// setView: false\r\n\t\t\t// maxZoom: \r\n\t\t\t// maximumAge: 0\r\n\t\t\t// enableHighAccuracy: false\r\n\t\t}, options);\r\n\r\n\t\tif (!('geolocation' in navigator)) {\r\n\t\t\tthis._handleGeolocationError({\r\n\t\t\t\tcode: 0,\r\n\t\t\t\tmessage: 'Geolocation not supported.'\r\n\t\t\t});\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\tvar onResponse = bind(this._handleGeolocationResponse, this),\r\n\t\t onError = bind(this._handleGeolocationError, this);\r\n\r\n\t\tif (options.watch) {\r\n\t\t\tthis._locationWatchId =\r\n\t\t\t navigator.geolocation.watchPosition(onResponse, onError, options);\r\n\t\t} else {\r\n\t\t\tnavigator.geolocation.getCurrentPosition(onResponse, onError, options);\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method stopLocate(): this\r\n\t// Stops watching location previously initiated by `map.locate({watch: true})`\r\n\t// and aborts resetting the map view if map.locate was called with\r\n\t// `{setView: true}`.\r\n\tstopLocate: function () {\r\n\t\tif (navigator.geolocation && navigator.geolocation.clearWatch) {\r\n\t\t\tnavigator.geolocation.clearWatch(this._locationWatchId);\r\n\t\t}\r\n\t\tif (this._locateOptions) {\r\n\t\t\tthis._locateOptions.setView = false;\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_handleGeolocationError: function (error) {\r\n\t\tvar c = error.code,\r\n\t\t message = error.message ||\r\n\t\t (c === 1 ? 'permission denied' :\r\n\t\t (c === 2 ? 'position unavailable' : 'timeout'));\r\n\r\n\t\tif (this._locateOptions.setView && !this._loaded) {\r\n\t\t\tthis.fitWorld();\r\n\t\t}\r\n\r\n\t\t// @section Location events\r\n\t\t// @event locationerror: ErrorEvent\r\n\t\t// Fired when geolocation (using the [`locate`](#map-locate) method) failed.\r\n\t\tthis.fire('locationerror', {\r\n\t\t\tcode: c,\r\n\t\t\tmessage: 'Geolocation error: ' + message + '.'\r\n\t\t});\r\n\t},\r\n\r\n\t_handleGeolocationResponse: function (pos) {\r\n\t\tvar lat = pos.coords.latitude,\r\n\t\t lng = pos.coords.longitude,\r\n\t\t latlng = new LatLng(lat, lng),\r\n\t\t bounds = latlng.toBounds(pos.coords.accuracy),\r\n\t\t options = this._locateOptions;\r\n\r\n\t\tif (options.setView) {\r\n\t\t\tvar zoom = this.getBoundsZoom(bounds);\r\n\t\t\tthis.setView(latlng, options.maxZoom ? Math.min(zoom, options.maxZoom) : zoom);\r\n\t\t}\r\n\r\n\t\tvar data = {\r\n\t\t\tlatlng: latlng,\r\n\t\t\tbounds: bounds,\r\n\t\t\ttimestamp: pos.timestamp\r\n\t\t};\r\n\r\n\t\tfor (var i in pos.coords) {\r\n\t\t\tif (typeof pos.coords[i] === 'number') {\r\n\t\t\t\tdata[i] = pos.coords[i];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// @event locationfound: LocationEvent\r\n\t\t// Fired when geolocation (using the [`locate`](#map-locate) method)\r\n\t\t// went successfully.\r\n\t\tthis.fire('locationfound', data);\r\n\t},\r\n\r\n\t// TODO Appropriate docs section?\r\n\t// @section Other Methods\r\n\t// @method addHandler(name: String, HandlerClass: Function): this\r\n\t// Adds a new `Handler` to the map, given its name and constructor function.\r\n\taddHandler: function (name, HandlerClass) {\r\n\t\tif (!HandlerClass) { return this; }\r\n\r\n\t\tvar handler = this[name] = new HandlerClass(this);\r\n\r\n\t\tthis._handlers.push(handler);\r\n\r\n\t\tif (this.options[name]) {\r\n\t\t\thandler.enable();\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method remove(): this\r\n\t// Destroys the map and clears all related event listeners.\r\n\tremove: function () {\r\n\r\n\t\tthis._initEvents(true);\r\n\r\n\t\tif (this._containerId !== this._container._leaflet_id) {\r\n\t\t\tthrow new Error('Map container is being reused by another instance');\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\t// throws error in IE6-8\r\n\t\t\tdelete this._container._leaflet_id;\r\n\t\t\tdelete this._containerId;\r\n\t\t} catch (e) {\r\n\t\t\t/*eslint-disable */\r\n\t\t\tthis._container._leaflet_id = undefined;\r\n\t\t\t/* eslint-enable */\r\n\t\t\tthis._containerId = undefined;\r\n\t\t}\r\n\r\n\t\tif (this._locationWatchId !== undefined) {\r\n\t\t\tthis.stopLocate();\r\n\t\t}\r\n\r\n\t\tthis._stop();\r\n\r\n\t\tremove(this._mapPane);\r\n\r\n\t\tif (this._clearControlPos) {\r\n\t\t\tthis._clearControlPos();\r\n\t\t}\r\n\r\n\t\tthis._clearHandlers();\r\n\r\n\t\tif (this._loaded) {\r\n\t\t\t// @section Map state change events\r\n\t\t\t// @event unload: Event\r\n\t\t\t// Fired when the map is destroyed with [remove](#map-remove) method.\r\n\t\t\tthis.fire('unload');\r\n\t\t}\r\n\r\n\t\tvar i;\r\n\t\tfor (i in this._layers) {\r\n\t\t\tthis._layers[i].remove();\r\n\t\t}\r\n\t\tfor (i in this._panes) {\r\n\t\t\tremove(this._panes[i]);\r\n\t\t}\r\n\r\n\t\tthis._layers = [];\r\n\t\tthis._panes = [];\r\n\t\tdelete this._mapPane;\r\n\t\tdelete this._renderer;\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @section Other Methods\r\n\t// @method createPane(name: String, container?: HTMLElement): HTMLElement\r\n\t// Creates a new [map pane](#map-pane) with the given name if it doesn't exist already,\r\n\t// then returns it. The pane is created as a child of `container`, or\r\n\t// as a child of the main map pane if not set.\r\n\tcreatePane: function (name, container) {\r\n\t\tvar className = 'leaflet-pane' + (name ? ' leaflet-' + name.replace('Pane', '') + '-pane' : ''),\r\n\t\t pane = create$1('div', className, container || this._mapPane);\r\n\r\n\t\tif (name) {\r\n\t\t\tthis._panes[name] = pane;\r\n\t\t}\r\n\t\treturn pane;\r\n\t},\r\n\r\n\t// @section Methods for Getting Map State\r\n\r\n\t// @method getCenter(): LatLng\r\n\t// Returns the geographical center of the map view\r\n\tgetCenter: function () {\r\n\t\tthis._checkIfLoaded();\r\n\r\n\t\tif (this._lastCenter && !this._moved()) {\r\n\t\t\treturn this._lastCenter;\r\n\t\t}\r\n\t\treturn this.layerPointToLatLng(this._getCenterLayerPoint());\r\n\t},\r\n\r\n\t// @method getZoom(): Number\r\n\t// Returns the current zoom level of the map view\r\n\tgetZoom: function () {\r\n\t\treturn this._zoom;\r\n\t},\r\n\r\n\t// @method getBounds(): LatLngBounds\r\n\t// Returns the geographical bounds visible in the current map view\r\n\tgetBounds: function () {\r\n\t\tvar bounds = this.getPixelBounds(),\r\n\t\t sw = this.unproject(bounds.getBottomLeft()),\r\n\t\t ne = this.unproject(bounds.getTopRight());\r\n\r\n\t\treturn new LatLngBounds(sw, ne);\r\n\t},\r\n\r\n\t// @method getMinZoom(): Number\r\n\t// Returns the minimum zoom level of the map (if set in the `minZoom` option of the map or of any layers), or `0` by default.\r\n\tgetMinZoom: function () {\r\n\t\treturn this.options.minZoom === undefined ? this._layersMinZoom || 0 : this.options.minZoom;\r\n\t},\r\n\r\n\t// @method getMaxZoom(): Number\r\n\t// Returns the maximum zoom level of the map (if set in the `maxZoom` option of the map or of any layers).\r\n\tgetMaxZoom: function () {\r\n\t\treturn this.options.maxZoom === undefined ?\r\n\t\t\t(this._layersMaxZoom === undefined ? Infinity : this._layersMaxZoom) :\r\n\t\t\tthis.options.maxZoom;\r\n\t},\r\n\r\n\t// @method getBoundsZoom(bounds: LatLngBounds, inside?: Boolean): Number\r\n\t// Returns the maximum zoom level on which the given bounds fit to the map\r\n\t// view in its entirety. If `inside` (optional) is set to `true`, the method\r\n\t// instead returns the minimum zoom level on which the map view fits into\r\n\t// the given bounds in its entirety.\r\n\tgetBoundsZoom: function (bounds, inside, padding) { // (LatLngBounds[, Boolean, Point]) -> Number\r\n\t\tbounds = toLatLngBounds(bounds);\r\n\t\tpadding = toPoint(padding || [0, 0]);\r\n\r\n\t\tvar zoom = this.getZoom() || 0,\r\n\t\t min = this.getMinZoom(),\r\n\t\t max = this.getMaxZoom(),\r\n\t\t nw = bounds.getNorthWest(),\r\n\t\t se = bounds.getSouthEast(),\r\n\t\t size = this.getSize().subtract(padding),\r\n\t\t boundsSize = toBounds(this.project(se, zoom), this.project(nw, zoom)).getSize(),\r\n\t\t snap = any3d ? this.options.zoomSnap : 1,\r\n\t\t scalex = size.x / boundsSize.x,\r\n\t\t scaley = size.y / boundsSize.y,\r\n\t\t scale = inside ? Math.max(scalex, scaley) : Math.min(scalex, scaley);\r\n\r\n\t\tzoom = this.getScaleZoom(scale, zoom);\r\n\r\n\t\tif (snap) {\r\n\t\t\tzoom = Math.round(zoom / (snap / 100)) * (snap / 100); // don't jump if within 1% of a snap level\r\n\t\t\tzoom = inside ? Math.ceil(zoom / snap) * snap : Math.floor(zoom / snap) * snap;\r\n\t\t}\r\n\r\n\t\treturn Math.max(min, Math.min(max, zoom));\r\n\t},\r\n\r\n\t// @method getSize(): Point\r\n\t// Returns the current size of the map container (in pixels).\r\n\tgetSize: function () {\r\n\t\tif (!this._size || this._sizeChanged) {\r\n\t\t\tthis._size = new Point(\r\n\t\t\t\tthis._container.clientWidth || 0,\r\n\t\t\t\tthis._container.clientHeight || 0);\r\n\r\n\t\t\tthis._sizeChanged = false;\r\n\t\t}\r\n\t\treturn this._size.clone();\r\n\t},\r\n\r\n\t// @method getPixelBounds(): Bounds\r\n\t// Returns the bounds of the current map view in projected pixel\r\n\t// coordinates (sometimes useful in layer and overlay implementations).\r\n\tgetPixelBounds: function (center, zoom) {\r\n\t\tvar topLeftPoint = this._getTopLeftPoint(center, zoom);\r\n\t\treturn new Bounds(topLeftPoint, topLeftPoint.add(this.getSize()));\r\n\t},\r\n\r\n\t// TODO: Check semantics - isn't the pixel origin the 0,0 coord relative to\r\n\t// the map pane? \"left point of the map layer\" can be confusing, specially\r\n\t// since there can be negative offsets.\r\n\t// @method getPixelOrigin(): Point\r\n\t// Returns the projected pixel coordinates of the top left point of\r\n\t// the map layer (useful in custom layer and overlay implementations).\r\n\tgetPixelOrigin: function () {\r\n\t\tthis._checkIfLoaded();\r\n\t\treturn this._pixelOrigin;\r\n\t},\r\n\r\n\t// @method getPixelWorldBounds(zoom?: Number): Bounds\r\n\t// Returns the world's bounds in pixel coordinates for zoom level `zoom`.\r\n\t// If `zoom` is omitted, the map's current zoom level is used.\r\n\tgetPixelWorldBounds: function (zoom) {\r\n\t\treturn this.options.crs.getProjectedBounds(zoom === undefined ? this.getZoom() : zoom);\r\n\t},\r\n\r\n\t// @section Other Methods\r\n\r\n\t// @method getPane(pane: String|HTMLElement): HTMLElement\r\n\t// Returns a [map pane](#map-pane), given its name or its HTML element (its identity).\r\n\tgetPane: function (pane) {\r\n\t\treturn typeof pane === 'string' ? this._panes[pane] : pane;\r\n\t},\r\n\r\n\t// @method getPanes(): Object\r\n\t// Returns a plain object containing the names of all [panes](#map-pane) as keys and\r\n\t// the panes as values.\r\n\tgetPanes: function () {\r\n\t\treturn this._panes;\r\n\t},\r\n\r\n\t// @method getContainer: HTMLElement\r\n\t// Returns the HTML element that contains the map.\r\n\tgetContainer: function () {\r\n\t\treturn this._container;\r\n\t},\r\n\r\n\r\n\t// @section Conversion Methods\r\n\r\n\t// @method getZoomScale(toZoom: Number, fromZoom: Number): Number\r\n\t// Returns the scale factor to be applied to a map transition from zoom level\r\n\t// `fromZoom` to `toZoom`. Used internally to help with zoom animations.\r\n\tgetZoomScale: function (toZoom, fromZoom) {\r\n\t\t// TODO replace with universal implementation after refactoring projections\r\n\t\tvar crs = this.options.crs;\r\n\t\tfromZoom = fromZoom === undefined ? this._zoom : fromZoom;\r\n\t\treturn crs.scale(toZoom) / crs.scale(fromZoom);\r\n\t},\r\n\r\n\t// @method getScaleZoom(scale: Number, fromZoom: Number): Number\r\n\t// Returns the zoom level that the map would end up at, if it is at `fromZoom`\r\n\t// level and everything is scaled by a factor of `scale`. Inverse of\r\n\t// [`getZoomScale`](#map-getZoomScale).\r\n\tgetScaleZoom: function (scale, fromZoom) {\r\n\t\tvar crs = this.options.crs;\r\n\t\tfromZoom = fromZoom === undefined ? this._zoom : fromZoom;\r\n\t\tvar zoom = crs.zoom(scale * crs.scale(fromZoom));\r\n\t\treturn isNaN(zoom) ? Infinity : zoom;\r\n\t},\r\n\r\n\t// @method project(latlng: LatLng, zoom: Number): Point\r\n\t// Projects a geographical coordinate `LatLng` according to the projection\r\n\t// of the map's CRS, then scales it according to `zoom` and the CRS's\r\n\t// `Transformation`. The result is pixel coordinate relative to\r\n\t// the CRS origin.\r\n\tproject: function (latlng, zoom) {\r\n\t\tzoom = zoom === undefined ? this._zoom : zoom;\r\n\t\treturn this.options.crs.latLngToPoint(toLatLng(latlng), zoom);\r\n\t},\r\n\r\n\t// @method unproject(point: Point, zoom: Number): LatLng\r\n\t// Inverse of [`project`](#map-project).\r\n\tunproject: function (point, zoom) {\r\n\t\tzoom = zoom === undefined ? this._zoom : zoom;\r\n\t\treturn this.options.crs.pointToLatLng(toPoint(point), zoom);\r\n\t},\r\n\r\n\t// @method layerPointToLatLng(point: Point): LatLng\r\n\t// Given a pixel coordinate relative to the [origin pixel](#map-getpixelorigin),\r\n\t// returns the corresponding geographical coordinate (for the current zoom level).\r\n\tlayerPointToLatLng: function (point) {\r\n\t\tvar projectedPoint = toPoint(point).add(this.getPixelOrigin());\r\n\t\treturn this.unproject(projectedPoint);\r\n\t},\r\n\r\n\t// @method latLngToLayerPoint(latlng: LatLng): Point\r\n\t// Given a geographical coordinate, returns the corresponding pixel coordinate\r\n\t// relative to the [origin pixel](#map-getpixelorigin).\r\n\tlatLngToLayerPoint: function (latlng) {\r\n\t\tvar projectedPoint = this.project(toLatLng(latlng))._round();\r\n\t\treturn projectedPoint._subtract(this.getPixelOrigin());\r\n\t},\r\n\r\n\t// @method wrapLatLng(latlng: LatLng): LatLng\r\n\t// Returns a `LatLng` where `lat` and `lng` has been wrapped according to the\r\n\t// map's CRS's `wrapLat` and `wrapLng` properties, if they are outside the\r\n\t// CRS's bounds.\r\n\t// By default this means longitude is wrapped around the dateline so its\r\n\t// value is between -180 and +180 degrees.\r\n\twrapLatLng: function (latlng) {\r\n\t\treturn this.options.crs.wrapLatLng(toLatLng(latlng));\r\n\t},\r\n\r\n\t// @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds\r\n\t// Returns a `LatLngBounds` with the same size as the given one, ensuring that\r\n\t// its center is within the CRS's bounds.\r\n\t// By default this means the center longitude is wrapped around the dateline so its\r\n\t// value is between -180 and +180 degrees, and the majority of the bounds\r\n\t// overlaps the CRS's bounds.\r\n\twrapLatLngBounds: function (latlng) {\r\n\t\treturn this.options.crs.wrapLatLngBounds(toLatLngBounds(latlng));\r\n\t},\r\n\r\n\t// @method distance(latlng1: LatLng, latlng2: LatLng): Number\r\n\t// Returns the distance between two geographical coordinates according to\r\n\t// the map's CRS. By default this measures distance in meters.\r\n\tdistance: function (latlng1, latlng2) {\r\n\t\treturn this.options.crs.distance(toLatLng(latlng1), toLatLng(latlng2));\r\n\t},\r\n\r\n\t// @method containerPointToLayerPoint(point: Point): Point\r\n\t// Given a pixel coordinate relative to the map container, returns the corresponding\r\n\t// pixel coordinate relative to the [origin pixel](#map-getpixelorigin).\r\n\tcontainerPointToLayerPoint: function (point) { // (Point)\r\n\t\treturn toPoint(point).subtract(this._getMapPanePos());\r\n\t},\r\n\r\n\t// @method layerPointToContainerPoint(point: Point): Point\r\n\t// Given a pixel coordinate relative to the [origin pixel](#map-getpixelorigin),\r\n\t// returns the corresponding pixel coordinate relative to the map container.\r\n\tlayerPointToContainerPoint: function (point) { // (Point)\r\n\t\treturn toPoint(point).add(this._getMapPanePos());\r\n\t},\r\n\r\n\t// @method containerPointToLatLng(point: Point): LatLng\r\n\t// Given a pixel coordinate relative to the map container, returns\r\n\t// the corresponding geographical coordinate (for the current zoom level).\r\n\tcontainerPointToLatLng: function (point) {\r\n\t\tvar layerPoint = this.containerPointToLayerPoint(toPoint(point));\r\n\t\treturn this.layerPointToLatLng(layerPoint);\r\n\t},\r\n\r\n\t// @method latLngToContainerPoint(latlng: LatLng): Point\r\n\t// Given a geographical coordinate, returns the corresponding pixel coordinate\r\n\t// relative to the map container.\r\n\tlatLngToContainerPoint: function (latlng) {\r\n\t\treturn this.layerPointToContainerPoint(this.latLngToLayerPoint(toLatLng(latlng)));\r\n\t},\r\n\r\n\t// @method mouseEventToContainerPoint(ev: MouseEvent): Point\r\n\t// Given a MouseEvent object, returns the pixel coordinate relative to the\r\n\t// map container where the event took place.\r\n\tmouseEventToContainerPoint: function (e) {\r\n\t\treturn getMousePosition(e, this._container);\r\n\t},\r\n\r\n\t// @method mouseEventToLayerPoint(ev: MouseEvent): Point\r\n\t// Given a MouseEvent object, returns the pixel coordinate relative to\r\n\t// the [origin pixel](#map-getpixelorigin) where the event took place.\r\n\tmouseEventToLayerPoint: function (e) {\r\n\t\treturn this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e));\r\n\t},\r\n\r\n\t// @method mouseEventToLatLng(ev: MouseEvent): LatLng\r\n\t// Given a MouseEvent object, returns geographical coordinate where the\r\n\t// event took place.\r\n\tmouseEventToLatLng: function (e) { // (MouseEvent)\r\n\t\treturn this.layerPointToLatLng(this.mouseEventToLayerPoint(e));\r\n\t},\r\n\r\n\r\n\t// map initialization methods\r\n\r\n\t_initContainer: function (id) {\r\n\t\tvar container = this._container = get(id);\r\n\r\n\t\tif (!container) {\r\n\t\t\tthrow new Error('Map container not found.');\r\n\t\t} else if (container._leaflet_id) {\r\n\t\t\tthrow new Error('Map container is already initialized.');\r\n\t\t}\r\n\r\n\t\ton(container, 'scroll', this._onScroll, this);\r\n\t\tthis._containerId = stamp(container);\r\n\t},\r\n\r\n\t_initLayout: function () {\r\n\t\tvar container = this._container;\r\n\r\n\t\tthis._fadeAnimated = this.options.fadeAnimation && any3d;\r\n\r\n\t\taddClass(container, 'leaflet-container' +\r\n\t\t\t(touch ? ' leaflet-touch' : '') +\r\n\t\t\t(retina ? ' leaflet-retina' : '') +\r\n\t\t\t(ielt9 ? ' leaflet-oldie' : '') +\r\n\t\t\t(safari ? ' leaflet-safari' : '') +\r\n\t\t\t(this._fadeAnimated ? ' leaflet-fade-anim' : ''));\r\n\r\n\t\tvar position = getStyle(container, 'position');\r\n\r\n\t\tif (position !== 'absolute' && position !== 'relative' && position !== 'fixed') {\r\n\t\t\tcontainer.style.position = 'relative';\r\n\t\t}\r\n\r\n\t\tthis._initPanes();\r\n\r\n\t\tif (this._initControlPos) {\r\n\t\t\tthis._initControlPos();\r\n\t\t}\r\n\t},\r\n\r\n\t_initPanes: function () {\r\n\t\tvar panes = this._panes = {};\r\n\t\tthis._paneRenderers = {};\r\n\r\n\t\t// @section\r\n\t\t//\r\n\t\t// Panes are DOM elements used to control the ordering of layers on the map. You\r\n\t\t// can access panes with [`map.getPane`](#map-getpane) or\r\n\t\t// [`map.getPanes`](#map-getpanes) methods. New panes can be created with the\r\n\t\t// [`map.createPane`](#map-createpane) method.\r\n\t\t//\r\n\t\t// Every map has the following default panes that differ only in zIndex.\r\n\t\t//\r\n\t\t// @pane mapPane: HTMLElement = 'auto'\r\n\t\t// Pane that contains all other map panes\r\n\r\n\t\tthis._mapPane = this.createPane('mapPane', this._container);\r\n\t\tsetPosition(this._mapPane, new Point(0, 0));\r\n\r\n\t\t// @pane tilePane: HTMLElement = 200\r\n\t\t// Pane for `GridLayer`s and `TileLayer`s\r\n\t\tthis.createPane('tilePane');\r\n\t\t// @pane overlayPane: HTMLElement = 400\r\n\t\t// Pane for vectors (`Path`s, like `Polyline`s and `Polygon`s), `ImageOverlay`s and `VideoOverlay`s\r\n\t\tthis.createPane('shadowPane');\r\n\t\t// @pane shadowPane: HTMLElement = 500\r\n\t\t// Pane for overlay shadows (e.g. `Marker` shadows)\r\n\t\tthis.createPane('overlayPane');\r\n\t\t// @pane markerPane: HTMLElement = 600\r\n\t\t// Pane for `Icon`s of `Marker`s\r\n\t\tthis.createPane('markerPane');\r\n\t\t// @pane tooltipPane: HTMLElement = 650\r\n\t\t// Pane for `Tooltip`s.\r\n\t\tthis.createPane('tooltipPane');\r\n\t\t// @pane popupPane: HTMLElement = 700\r\n\t\t// Pane for `Popup`s.\r\n\t\tthis.createPane('popupPane');\r\n\r\n\t\tif (!this.options.markerZoomAnimation) {\r\n\t\t\taddClass(panes.markerPane, 'leaflet-zoom-hide');\r\n\t\t\taddClass(panes.shadowPane, 'leaflet-zoom-hide');\r\n\t\t}\r\n\t},\r\n\r\n\r\n\t// private methods that modify map state\r\n\r\n\t// @section Map state change events\r\n\t_resetView: function (center, zoom) {\r\n\t\tsetPosition(this._mapPane, new Point(0, 0));\r\n\r\n\t\tvar loading = !this._loaded;\r\n\t\tthis._loaded = true;\r\n\t\tzoom = this._limitZoom(zoom);\r\n\r\n\t\tthis.fire('viewprereset');\r\n\r\n\t\tvar zoomChanged = this._zoom !== zoom;\r\n\t\tthis\r\n\t\t\t._moveStart(zoomChanged, false)\r\n\t\t\t._move(center, zoom)\r\n\t\t\t._moveEnd(zoomChanged);\r\n\r\n\t\t// @event viewreset: Event\r\n\t\t// Fired when the map needs to redraw its content (this usually happens\r\n\t\t// on map zoom or load). Very useful for creating custom overlays.\r\n\t\tthis.fire('viewreset');\r\n\r\n\t\t// @event load: Event\r\n\t\t// Fired when the map is initialized (when its center and zoom are set\r\n\t\t// for the first time).\r\n\t\tif (loading) {\r\n\t\t\tthis.fire('load');\r\n\t\t}\r\n\t},\r\n\r\n\t_moveStart: function (zoomChanged, noMoveStart) {\r\n\t\t// @event zoomstart: Event\r\n\t\t// Fired when the map zoom is about to change (e.g. before zoom animation).\r\n\t\t// @event movestart: Event\r\n\t\t// Fired when the view of the map starts changing (e.g. user starts dragging the map).\r\n\t\tif (zoomChanged) {\r\n\t\t\tthis.fire('zoomstart');\r\n\t\t}\r\n\t\tif (!noMoveStart) {\r\n\t\t\tthis.fire('movestart');\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_move: function (center, zoom, data) {\r\n\t\tif (zoom === undefined) {\r\n\t\t\tzoom = this._zoom;\r\n\t\t}\r\n\t\tvar zoomChanged = this._zoom !== zoom;\r\n\r\n\t\tthis._zoom = zoom;\r\n\t\tthis._lastCenter = center;\r\n\t\tthis._pixelOrigin = this._getNewPixelOrigin(center);\r\n\r\n\t\t// @event zoom: Event\r\n\t\t// Fired repeatedly during any change in zoom level, including zoom\r\n\t\t// and fly animations.\r\n\t\tif (zoomChanged || (data && data.pinch)) {\t// Always fire 'zoom' if pinching because #3530\r\n\t\t\tthis.fire('zoom', data);\r\n\t\t}\r\n\r\n\t\t// @event move: Event\r\n\t\t// Fired repeatedly during any movement of the map, including pan and\r\n\t\t// fly animations.\r\n\t\treturn this.fire('move', data);\r\n\t},\r\n\r\n\t_moveEnd: function (zoomChanged) {\r\n\t\t// @event zoomend: Event\r\n\t\t// Fired when the map has changed, after any animations.\r\n\t\tif (zoomChanged) {\r\n\t\t\tthis.fire('zoomend');\r\n\t\t}\r\n\r\n\t\t// @event moveend: Event\r\n\t\t// Fired when the center of the map stops changing (e.g. user stopped\r\n\t\t// dragging the map).\r\n\t\treturn this.fire('moveend');\r\n\t},\r\n\r\n\t_stop: function () {\r\n\t\tcancelAnimFrame(this._flyToFrame);\r\n\t\tif (this._panAnim) {\r\n\t\t\tthis._panAnim.stop();\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_rawPanBy: function (offset) {\r\n\t\tsetPosition(this._mapPane, this._getMapPanePos().subtract(offset));\r\n\t},\r\n\r\n\t_getZoomSpan: function () {\r\n\t\treturn this.getMaxZoom() - this.getMinZoom();\r\n\t},\r\n\r\n\t_panInsideMaxBounds: function () {\r\n\t\tif (!this._enforcingBounds) {\r\n\t\t\tthis.panInsideBounds(this.options.maxBounds);\r\n\t\t}\r\n\t},\r\n\r\n\t_checkIfLoaded: function () {\r\n\t\tif (!this._loaded) {\r\n\t\t\tthrow new Error('Set map center and zoom first.');\r\n\t\t}\r\n\t},\r\n\r\n\t// DOM event handling\r\n\r\n\t// @section Interaction events\r\n\t_initEvents: function (remove$$1) {\r\n\t\tthis._targets = {};\r\n\t\tthis._targets[stamp(this._container)] = this;\r\n\r\n\t\tvar onOff = remove$$1 ? off : on;\r\n\r\n\t\t// @event click: MouseEvent\r\n\t\t// Fired when the user clicks (or taps) the map.\r\n\t\t// @event dblclick: MouseEvent\r\n\t\t// Fired when the user double-clicks (or double-taps) the map.\r\n\t\t// @event mousedown: MouseEvent\r\n\t\t// Fired when the user pushes the mouse button on the map.\r\n\t\t// @event mouseup: MouseEvent\r\n\t\t// Fired when the user releases the mouse button on the map.\r\n\t\t// @event mouseover: MouseEvent\r\n\t\t// Fired when the mouse enters the map.\r\n\t\t// @event mouseout: MouseEvent\r\n\t\t// Fired when the mouse leaves the map.\r\n\t\t// @event mousemove: MouseEvent\r\n\t\t// Fired while the mouse moves over the map.\r\n\t\t// @event contextmenu: MouseEvent\r\n\t\t// Fired when the user pushes the right mouse button on the map, prevents\r\n\t\t// default browser context menu from showing if there are listeners on\r\n\t\t// this event. Also fired on mobile when the user holds a single touch\r\n\t\t// for a second (also called long press).\r\n\t\t// @event keypress: KeyboardEvent\r\n\t\t// Fired when the user presses a key from the keyboard while the map is focused.\r\n\t\tonOff(this._container, 'click dblclick mousedown mouseup ' +\r\n\t\t\t'mouseover mouseout mousemove contextmenu keypress', this._handleDOMEvent, this);\r\n\r\n\t\tif (this.options.trackResize) {\r\n\t\t\tonOff(window, 'resize', this._onResize, this);\r\n\t\t}\r\n\r\n\t\tif (any3d && this.options.transform3DLimit) {\r\n\t\t\t(remove$$1 ? this.off : this.on).call(this, 'moveend', this._onMoveEnd);\r\n\t\t}\r\n\t},\r\n\r\n\t_onResize: function () {\r\n\t\tcancelAnimFrame(this._resizeRequest);\r\n\t\tthis._resizeRequest = requestAnimFrame(\r\n\t\t function () { this.invalidateSize({debounceMoveend: true}); }, this);\r\n\t},\r\n\r\n\t_onScroll: function () {\r\n\t\tthis._container.scrollTop = 0;\r\n\t\tthis._container.scrollLeft = 0;\r\n\t},\r\n\r\n\t_onMoveEnd: function () {\r\n\t\tvar pos = this._getMapPanePos();\r\n\t\tif (Math.max(Math.abs(pos.x), Math.abs(pos.y)) >= this.options.transform3DLimit) {\r\n\t\t\t// https://bugzilla.mozilla.org/show_bug.cgi?id=1203873 but Webkit also have\r\n\t\t\t// a pixel offset on very high values, see: http://jsfiddle.net/dg6r5hhb/\r\n\t\t\tthis._resetView(this.getCenter(), this.getZoom());\r\n\t\t}\r\n\t},\r\n\r\n\t_findEventTargets: function (e, type) {\r\n\t\tvar targets = [],\r\n\t\t target,\r\n\t\t isHover = type === 'mouseout' || type === 'mouseover',\r\n\t\t src = e.target || e.srcElement,\r\n\t\t dragging = false;\r\n\r\n\t\twhile (src) {\r\n\t\t\ttarget = this._targets[stamp(src)];\r\n\t\t\tif (target && (type === 'click' || type === 'preclick') && !e._simulated && this._draggableMoved(target)) {\r\n\t\t\t\t// Prevent firing click after you just dragged an object.\r\n\t\t\t\tdragging = true;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (target && target.listens(type, true)) {\r\n\t\t\t\tif (isHover && !isExternalTarget(src, e)) { break; }\r\n\t\t\t\ttargets.push(target);\r\n\t\t\t\tif (isHover) { break; }\r\n\t\t\t}\r\n\t\t\tif (src === this._container) { break; }\r\n\t\t\tsrc = src.parentNode;\r\n\t\t}\r\n\t\tif (!targets.length && !dragging && !isHover && isExternalTarget(src, e)) {\r\n\t\t\ttargets = [this];\r\n\t\t}\r\n\t\treturn targets;\r\n\t},\r\n\r\n\t_handleDOMEvent: function (e) {\r\n\t\tif (!this._loaded || skipped(e)) { return; }\r\n\r\n\t\tvar type = e.type;\r\n\r\n\t\tif (type === 'mousedown' || type === 'keypress') {\r\n\t\t\t// prevents outline when clicking on keyboard-focusable element\r\n\t\t\tpreventOutline(e.target || e.srcElement);\r\n\t\t}\r\n\r\n\t\tthis._fireDOMEvent(e, type);\r\n\t},\r\n\r\n\t_mouseEvents: ['click', 'dblclick', 'mouseover', 'mouseout', 'contextmenu'],\r\n\r\n\t_fireDOMEvent: function (e, type, targets) {\r\n\r\n\t\tif (e.type === 'click') {\r\n\t\t\t// Fire a synthetic 'preclick' event which propagates up (mainly for closing popups).\r\n\t\t\t// @event preclick: MouseEvent\r\n\t\t\t// Fired before mouse click on the map (sometimes useful when you\r\n\t\t\t// want something to happen on click before any existing click\r\n\t\t\t// handlers start running).\r\n\t\t\tvar synth = extend({}, e);\r\n\t\t\tsynth.type = 'preclick';\r\n\t\t\tthis._fireDOMEvent(synth, synth.type, targets);\r\n\t\t}\r\n\r\n\t\tif (e._stopped) { return; }\r\n\r\n\t\t// Find the layer the event is propagating from and its parents.\r\n\t\ttargets = (targets || []).concat(this._findEventTargets(e, type));\r\n\r\n\t\tif (!targets.length) { return; }\r\n\r\n\t\tvar target = targets[0];\r\n\t\tif (type === 'contextmenu' && target.listens(type, true)) {\r\n\t\t\tpreventDefault(e);\r\n\t\t}\r\n\r\n\t\tvar data = {\r\n\t\t\toriginalEvent: e\r\n\t\t};\r\n\r\n\t\tif (e.type !== 'keypress') {\r\n\t\t\tvar isMarker = target.getLatLng && (!target._radius || target._radius <= 10);\r\n\t\t\tdata.containerPoint = isMarker ?\r\n\t\t\t\tthis.latLngToContainerPoint(target.getLatLng()) : this.mouseEventToContainerPoint(e);\r\n\t\t\tdata.layerPoint = this.containerPointToLayerPoint(data.containerPoint);\r\n\t\t\tdata.latlng = isMarker ? target.getLatLng() : this.layerPointToLatLng(data.layerPoint);\r\n\t\t}\r\n\r\n\t\tfor (var i = 0; i < targets.length; i++) {\r\n\t\t\ttargets[i].fire(type, data, true);\r\n\t\t\tif (data.originalEvent._stopped ||\r\n\t\t\t\t(targets[i].options.bubblingMouseEvents === false && indexOf(this._mouseEvents, type) !== -1)) { return; }\r\n\t\t}\r\n\t},\r\n\r\n\t_draggableMoved: function (obj) {\r\n\t\tobj = obj.dragging && obj.dragging.enabled() ? obj : this;\r\n\t\treturn (obj.dragging && obj.dragging.moved()) || (this.boxZoom && this.boxZoom.moved());\r\n\t},\r\n\r\n\t_clearHandlers: function () {\r\n\t\tfor (var i = 0, len = this._handlers.length; i < len; i++) {\r\n\t\t\tthis._handlers[i].disable();\r\n\t\t}\r\n\t},\r\n\r\n\t// @section Other Methods\r\n\r\n\t// @method whenReady(fn: Function, context?: Object): this\r\n\t// Runs the given function `fn` when the map gets initialized with\r\n\t// a view (center and zoom) and at least one layer, or immediately\r\n\t// if it's already initialized, optionally passing a function context.\r\n\twhenReady: function (callback, context) {\r\n\t\tif (this._loaded) {\r\n\t\t\tcallback.call(context || this, {target: this});\r\n\t\t} else {\r\n\t\t\tthis.on('load', callback, context);\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\r\n\t// private methods for getting map state\r\n\r\n\t_getMapPanePos: function () {\r\n\t\treturn getPosition(this._mapPane) || new Point(0, 0);\r\n\t},\r\n\r\n\t_moved: function () {\r\n\t\tvar pos = this._getMapPanePos();\r\n\t\treturn pos && !pos.equals([0, 0]);\r\n\t},\r\n\r\n\t_getTopLeftPoint: function (center, zoom) {\r\n\t\tvar pixelOrigin = center && zoom !== undefined ?\r\n\t\t\tthis._getNewPixelOrigin(center, zoom) :\r\n\t\t\tthis.getPixelOrigin();\r\n\t\treturn pixelOrigin.subtract(this._getMapPanePos());\r\n\t},\r\n\r\n\t_getNewPixelOrigin: function (center, zoom) {\r\n\t\tvar viewHalf = this.getSize()._divideBy(2);\r\n\t\treturn this.project(center, zoom)._subtract(viewHalf)._add(this._getMapPanePos())._round();\r\n\t},\r\n\r\n\t_latLngToNewLayerPoint: function (latlng, zoom, center) {\r\n\t\tvar topLeft = this._getNewPixelOrigin(center, zoom);\r\n\t\treturn this.project(latlng, zoom)._subtract(topLeft);\r\n\t},\r\n\r\n\t_latLngBoundsToNewLayerBounds: function (latLngBounds, zoom, center) {\r\n\t\tvar topLeft = this._getNewPixelOrigin(center, zoom);\r\n\t\treturn toBounds([\r\n\t\t\tthis.project(latLngBounds.getSouthWest(), zoom)._subtract(topLeft),\r\n\t\t\tthis.project(latLngBounds.getNorthWest(), zoom)._subtract(topLeft),\r\n\t\t\tthis.project(latLngBounds.getSouthEast(), zoom)._subtract(topLeft),\r\n\t\t\tthis.project(latLngBounds.getNorthEast(), zoom)._subtract(topLeft)\r\n\t\t]);\r\n\t},\r\n\r\n\t// layer point of the current center\r\n\t_getCenterLayerPoint: function () {\r\n\t\treturn this.containerPointToLayerPoint(this.getSize()._divideBy(2));\r\n\t},\r\n\r\n\t// offset of the specified place to the current center in pixels\r\n\t_getCenterOffset: function (latlng) {\r\n\t\treturn this.latLngToLayerPoint(latlng).subtract(this._getCenterLayerPoint());\r\n\t},\r\n\r\n\t// adjust center for view to get inside bounds\r\n\t_limitCenter: function (center, zoom, bounds) {\r\n\r\n\t\tif (!bounds) { return center; }\r\n\r\n\t\tvar centerPoint = this.project(center, zoom),\r\n\t\t viewHalf = this.getSize().divideBy(2),\r\n\t\t viewBounds = new Bounds(centerPoint.subtract(viewHalf), centerPoint.add(viewHalf)),\r\n\t\t offset = this._getBoundsOffset(viewBounds, bounds, zoom);\r\n\r\n\t\t// If offset is less than a pixel, ignore.\r\n\t\t// This prevents unstable projections from getting into\r\n\t\t// an infinite loop of tiny offsets.\r\n\t\tif (offset.round().equals([0, 0])) {\r\n\t\t\treturn center;\r\n\t\t}\r\n\r\n\t\treturn this.unproject(centerPoint.add(offset), zoom);\r\n\t},\r\n\r\n\t// adjust offset for view to get inside bounds\r\n\t_limitOffset: function (offset, bounds) {\r\n\t\tif (!bounds) { return offset; }\r\n\r\n\t\tvar viewBounds = this.getPixelBounds(),\r\n\t\t newBounds = new Bounds(viewBounds.min.add(offset), viewBounds.max.add(offset));\r\n\r\n\t\treturn offset.add(this._getBoundsOffset(newBounds, bounds));\r\n\t},\r\n\r\n\t// returns offset needed for pxBounds to get inside maxBounds at a specified zoom\r\n\t_getBoundsOffset: function (pxBounds, maxBounds, zoom) {\r\n\t\tvar projectedMaxBounds = toBounds(\r\n\t\t this.project(maxBounds.getNorthEast(), zoom),\r\n\t\t this.project(maxBounds.getSouthWest(), zoom)\r\n\t\t ),\r\n\t\t minOffset = projectedMaxBounds.min.subtract(pxBounds.min),\r\n\t\t maxOffset = projectedMaxBounds.max.subtract(pxBounds.max),\r\n\r\n\t\t dx = this._rebound(minOffset.x, -maxOffset.x),\r\n\t\t dy = this._rebound(minOffset.y, -maxOffset.y);\r\n\r\n\t\treturn new Point(dx, dy);\r\n\t},\r\n\r\n\t_rebound: function (left, right) {\r\n\t\treturn left + right > 0 ?\r\n\t\t\tMath.round(left - right) / 2 :\r\n\t\t\tMath.max(0, Math.ceil(left)) - Math.max(0, Math.floor(right));\r\n\t},\r\n\r\n\t_limitZoom: function (zoom) {\r\n\t\tvar min = this.getMinZoom(),\r\n\t\t max = this.getMaxZoom(),\r\n\t\t snap = any3d ? this.options.zoomSnap : 1;\r\n\t\tif (snap) {\r\n\t\t\tzoom = Math.round(zoom / snap) * snap;\r\n\t\t}\r\n\t\treturn Math.max(min, Math.min(max, zoom));\r\n\t},\r\n\r\n\t_onPanTransitionStep: function () {\r\n\t\tthis.fire('move');\r\n\t},\r\n\r\n\t_onPanTransitionEnd: function () {\r\n\t\tremoveClass(this._mapPane, 'leaflet-pan-anim');\r\n\t\tthis.fire('moveend');\r\n\t},\r\n\r\n\t_tryAnimatedPan: function (center, options) {\r\n\t\t// difference between the new and current centers in pixels\r\n\t\tvar offset = this._getCenterOffset(center)._trunc();\r\n\r\n\t\t// don't animate too far unless animate: true specified in options\r\n\t\tif ((options && options.animate) !== true && !this.getSize().contains(offset)) { return false; }\r\n\r\n\t\tthis.panBy(offset, options);\r\n\r\n\t\treturn true;\r\n\t},\r\n\r\n\t_createAnimProxy: function () {\r\n\r\n\t\tvar proxy = this._proxy = create$1('div', 'leaflet-proxy leaflet-zoom-animated');\r\n\t\tthis._panes.mapPane.appendChild(proxy);\r\n\r\n\t\tthis.on('zoomanim', function (e) {\r\n\t\t\tvar prop = TRANSFORM,\r\n\t\t\t transform = this._proxy.style[prop];\r\n\r\n\t\t\tsetTransform(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1));\r\n\r\n\t\t\t// workaround for case when transform is the same and so transitionend event is not fired\r\n\t\t\tif (transform === this._proxy.style[prop] && this._animatingZoom) {\r\n\t\t\t\tthis._onZoomTransitionEnd();\r\n\t\t\t}\r\n\t\t}, this);\r\n\r\n\t\tthis.on('load moveend', function () {\r\n\t\t\tvar c = this.getCenter(),\r\n\t\t\t z = this.getZoom();\r\n\t\t\tsetTransform(this._proxy, this.project(c, z), this.getZoomScale(z, 1));\r\n\t\t}, this);\r\n\r\n\t\tthis._on('unload', this._destroyAnimProxy, this);\r\n\t},\r\n\r\n\t_destroyAnimProxy: function () {\r\n\t\tremove(this._proxy);\r\n\t\tdelete this._proxy;\r\n\t},\r\n\r\n\t_catchTransitionEnd: function (e) {\r\n\t\tif (this._animatingZoom && e.propertyName.indexOf('transform') >= 0) {\r\n\t\t\tthis._onZoomTransitionEnd();\r\n\t\t}\r\n\t},\r\n\r\n\t_nothingToAnimate: function () {\r\n\t\treturn !this._container.getElementsByClassName('leaflet-zoom-animated').length;\r\n\t},\r\n\r\n\t_tryAnimatedZoom: function (center, zoom, options) {\r\n\r\n\t\tif (this._animatingZoom) { return true; }\r\n\r\n\t\toptions = options || {};\r\n\r\n\t\t// don't animate if disabled, not supported or zoom difference is too large\r\n\t\tif (!this._zoomAnimated || options.animate === false || this._nothingToAnimate() ||\r\n\t\t Math.abs(zoom - this._zoom) > this.options.zoomAnimationThreshold) { return false; }\r\n\r\n\t\t// offset is the pixel coords of the zoom origin relative to the current center\r\n\t\tvar scale = this.getZoomScale(zoom),\r\n\t\t offset = this._getCenterOffset(center)._divideBy(1 - 1 / scale);\r\n\r\n\t\t// don't animate if the zoom origin isn't within one screen from the current center, unless forced\r\n\t\tif (options.animate !== true && !this.getSize().contains(offset)) { return false; }\r\n\r\n\t\trequestAnimFrame(function () {\r\n\t\t\tthis\r\n\t\t\t ._moveStart(true, false)\r\n\t\t\t ._animateZoom(center, zoom, true);\r\n\t\t}, this);\r\n\r\n\t\treturn true;\r\n\t},\r\n\r\n\t_animateZoom: function (center, zoom, startAnim, noUpdate) {\r\n\t\tif (!this._mapPane) { return; }\r\n\r\n\t\tif (startAnim) {\r\n\t\t\tthis._animatingZoom = true;\r\n\r\n\t\t\t// remember what center/zoom to set after animation\r\n\t\t\tthis._animateToCenter = center;\r\n\t\t\tthis._animateToZoom = zoom;\r\n\r\n\t\t\taddClass(this._mapPane, 'leaflet-zoom-anim');\r\n\t\t}\r\n\r\n\t\t// @event zoomanim: ZoomAnimEvent\r\n\t\t// Fired on every frame of a zoom animation\r\n\t\tthis.fire('zoomanim', {\r\n\t\t\tcenter: center,\r\n\t\t\tzoom: zoom,\r\n\t\t\tnoUpdate: noUpdate\r\n\t\t});\r\n\r\n\t\t// Work around webkit not firing 'transitionend', see https://github.com/Leaflet/Leaflet/issues/3689, 2693\r\n\t\tsetTimeout(bind(this._onZoomTransitionEnd, this), 250);\r\n\t},\r\n\r\n\t_onZoomTransitionEnd: function () {\r\n\t\tif (!this._animatingZoom) { return; }\r\n\r\n\t\tif (this._mapPane) {\r\n\t\t\tremoveClass(this._mapPane, 'leaflet-zoom-anim');\r\n\t\t}\r\n\r\n\t\tthis._animatingZoom = false;\r\n\r\n\t\tthis._move(this._animateToCenter, this._animateToZoom);\r\n\r\n\t\t// This anim frame should prevent an obscure iOS webkit tile loading race condition.\r\n\t\trequestAnimFrame(function () {\r\n\t\t\tthis._moveEnd(true);\r\n\t\t}, this);\r\n\t}\r\n});\r\n\r\n// @section\r\n\r\n// @factory L.map(id: String, options?: Map options)\r\n// Instantiates a map object given the DOM ID of a `
    ` element\r\n// and optionally an object literal with `Map options`.\r\n//\r\n// @alternative\r\n// @factory L.map(el: HTMLElement, options?: Map options)\r\n// Instantiates a map object given an instance of a `
    ` HTML element\r\n// and optionally an object literal with `Map options`.\r\nfunction createMap(id, options) {\r\n\treturn new Map(id, options);\r\n}\n\n/*\r\n * @class Control\r\n * @aka L.Control\r\n * @inherits Class\r\n *\r\n * L.Control is a base class for implementing map controls. Handles positioning.\r\n * All other controls extend from this class.\r\n */\r\n\r\nvar Control = Class.extend({\r\n\t// @section\r\n\t// @aka Control options\r\n\toptions: {\r\n\t\t// @option position: String = 'topright'\r\n\t\t// The position of the control (one of the map corners). Possible values are `'topleft'`,\r\n\t\t// `'topright'`, `'bottomleft'` or `'bottomright'`\r\n\t\tposition: 'topright'\r\n\t},\r\n\r\n\tinitialize: function (options) {\r\n\t\tsetOptions(this, options);\r\n\t},\r\n\r\n\t/* @section\r\n\t * Classes extending L.Control will inherit the following methods:\r\n\t *\r\n\t * @method getPosition: string\r\n\t * Returns the position of the control.\r\n\t */\r\n\tgetPosition: function () {\r\n\t\treturn this.options.position;\r\n\t},\r\n\r\n\t// @method setPosition(position: string): this\r\n\t// Sets the position of the control.\r\n\tsetPosition: function (position) {\r\n\t\tvar map = this._map;\r\n\r\n\t\tif (map) {\r\n\t\t\tmap.removeControl(this);\r\n\t\t}\r\n\r\n\t\tthis.options.position = position;\r\n\r\n\t\tif (map) {\r\n\t\t\tmap.addControl(this);\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method getContainer: HTMLElement\r\n\t// Returns the HTMLElement that contains the control.\r\n\tgetContainer: function () {\r\n\t\treturn this._container;\r\n\t},\r\n\r\n\t// @method addTo(map: Map): this\r\n\t// Adds the control to the given map.\r\n\taddTo: function (map) {\r\n\t\tthis.remove();\r\n\t\tthis._map = map;\r\n\r\n\t\tvar container = this._container = this.onAdd(map),\r\n\t\t pos = this.getPosition(),\r\n\t\t corner = map._controlCorners[pos];\r\n\r\n\t\taddClass(container, 'leaflet-control');\r\n\r\n\t\tif (pos.indexOf('bottom') !== -1) {\r\n\t\t\tcorner.insertBefore(container, corner.firstChild);\r\n\t\t} else {\r\n\t\t\tcorner.appendChild(container);\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method remove: this\r\n\t// Removes the control from the map it is currently active on.\r\n\tremove: function () {\r\n\t\tif (!this._map) {\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\tremove(this._container);\r\n\r\n\t\tif (this.onRemove) {\r\n\t\t\tthis.onRemove(this._map);\r\n\t\t}\r\n\r\n\t\tthis._map = null;\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_refocusOnMap: function (e) {\r\n\t\t// if map exists and event is not a keyboard event\r\n\t\tif (this._map && e && e.screenX > 0 && e.screenY > 0) {\r\n\t\t\tthis._map.getContainer().focus();\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar control = function (options) {\r\n\treturn new Control(options);\r\n};\r\n\r\n/* @section Extension methods\r\n * @uninheritable\r\n *\r\n * Every control should extend from `L.Control` and (re-)implement the following methods.\r\n *\r\n * @method onAdd(map: Map): HTMLElement\r\n * Should return the container DOM element for the control and add listeners on relevant map events. Called on [`control.addTo(map)`](#control-addTo).\r\n *\r\n * @method onRemove(map: Map)\r\n * Optional method. Should contain all clean up code that removes the listeners previously added in [`onAdd`](#control-onadd). Called on [`control.remove()`](#control-remove).\r\n */\r\n\r\n/* @namespace Map\r\n * @section Methods for Layers and Controls\r\n */\r\nMap.include({\r\n\t// @method addControl(control: Control): this\r\n\t// Adds the given control to the map\r\n\taddControl: function (control) {\r\n\t\tcontrol.addTo(this);\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method removeControl(control: Control): this\r\n\t// Removes the given control from the map\r\n\tremoveControl: function (control) {\r\n\t\tcontrol.remove();\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_initControlPos: function () {\r\n\t\tvar corners = this._controlCorners = {},\r\n\t\t l = 'leaflet-',\r\n\t\t container = this._controlContainer =\r\n\t\t create$1('div', l + 'control-container', this._container);\r\n\r\n\t\tfunction createCorner(vSide, hSide) {\r\n\t\t\tvar className = l + vSide + ' ' + l + hSide;\r\n\r\n\t\t\tcorners[vSide + hSide] = create$1('div', className, container);\r\n\t\t}\r\n\r\n\t\tcreateCorner('top', 'left');\r\n\t\tcreateCorner('top', 'right');\r\n\t\tcreateCorner('bottom', 'left');\r\n\t\tcreateCorner('bottom', 'right');\r\n\t},\r\n\r\n\t_clearControlPos: function () {\r\n\t\tfor (var i in this._controlCorners) {\r\n\t\t\tremove(this._controlCorners[i]);\r\n\t\t}\r\n\t\tremove(this._controlContainer);\r\n\t\tdelete this._controlCorners;\r\n\t\tdelete this._controlContainer;\r\n\t}\r\n});\n\n/*\r\n * @class Control.Layers\r\n * @aka L.Control.Layers\r\n * @inherits Control\r\n *\r\n * The layers control gives users the ability to switch between different base layers and switch overlays on/off (check out the [detailed example](http://leafletjs.com/examples/layers-control/)). Extends `Control`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var baseLayers = {\r\n * \t\"Mapbox\": mapbox,\r\n * \t\"OpenStreetMap\": osm\r\n * };\r\n *\r\n * var overlays = {\r\n * \t\"Marker\": marker,\r\n * \t\"Roads\": roadsLayer\r\n * };\r\n *\r\n * L.control.layers(baseLayers, overlays).addTo(map);\r\n * ```\r\n *\r\n * The `baseLayers` and `overlays` parameters are object literals with layer names as keys and `Layer` objects as values:\r\n *\r\n * ```js\r\n * {\r\n * \"\": layer1,\r\n * \"\": layer2\r\n * }\r\n * ```\r\n *\r\n * The layer names can contain HTML, which allows you to add additional styling to the items:\r\n *\r\n * ```js\r\n * {\" My Layer\": myLayer}\r\n * ```\r\n */\r\n\r\nvar Layers = Control.extend({\r\n\t// @section\r\n\t// @aka Control.Layers options\r\n\toptions: {\r\n\t\t// @option collapsed: Boolean = true\r\n\t\t// If `true`, the control will be collapsed into an icon and expanded on mouse hover or touch.\r\n\t\tcollapsed: true,\r\n\t\tposition: 'topright',\r\n\r\n\t\t// @option autoZIndex: Boolean = true\r\n\t\t// If `true`, the control will assign zIndexes in increasing order to all of its layers so that the order is preserved when switching them on/off.\r\n\t\tautoZIndex: true,\r\n\r\n\t\t// @option hideSingleBase: Boolean = false\r\n\t\t// If `true`, the base layers in the control will be hidden when there is only one.\r\n\t\thideSingleBase: false,\r\n\r\n\t\t// @option sortLayers: Boolean = false\r\n\t\t// Whether to sort the layers. When `false`, layers will keep the order\r\n\t\t// in which they were added to the control.\r\n\t\tsortLayers: false,\r\n\r\n\t\t// @option sortFunction: Function = *\r\n\t\t// A [compare function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/sort)\r\n\t\t// that will be used for sorting the layers, when `sortLayers` is `true`.\r\n\t\t// The function receives both the `L.Layer` instances and their names, as in\r\n\t\t// `sortFunction(layerA, layerB, nameA, nameB)`.\r\n\t\t// By default, it sorts layers alphabetically by their name.\r\n\t\tsortFunction: function (layerA, layerB, nameA, nameB) {\r\n\t\t\treturn nameA < nameB ? -1 : (nameB < nameA ? 1 : 0);\r\n\t\t}\r\n\t},\r\n\r\n\tinitialize: function (baseLayers, overlays, options) {\r\n\t\tsetOptions(this, options);\r\n\r\n\t\tthis._layerControlInputs = [];\r\n\t\tthis._layers = [];\r\n\t\tthis._lastZIndex = 0;\r\n\t\tthis._handlingClick = false;\r\n\r\n\t\tfor (var i in baseLayers) {\r\n\t\t\tthis._addLayer(baseLayers[i], i);\r\n\t\t}\r\n\r\n\t\tfor (i in overlays) {\r\n\t\t\tthis._addLayer(overlays[i], i, true);\r\n\t\t}\r\n\t},\r\n\r\n\tonAdd: function (map) {\r\n\t\tthis._initLayout();\r\n\t\tthis._update();\r\n\r\n\t\tthis._map = map;\r\n\t\tmap.on('zoomend', this._checkDisabledLayers, this);\r\n\r\n\t\tfor (var i = 0; i < this._layers.length; i++) {\r\n\t\t\tthis._layers[i].layer.on('add remove', this._onLayerChange, this);\r\n\t\t}\r\n\r\n\t\treturn this._container;\r\n\t},\r\n\r\n\taddTo: function (map) {\r\n\t\tControl.prototype.addTo.call(this, map);\r\n\t\t// Trigger expand after Layers Control has been inserted into DOM so that is now has an actual height.\r\n\t\treturn this._expandIfNotCollapsed();\r\n\t},\r\n\r\n\tonRemove: function () {\r\n\t\tthis._map.off('zoomend', this._checkDisabledLayers, this);\r\n\r\n\t\tfor (var i = 0; i < this._layers.length; i++) {\r\n\t\t\tthis._layers[i].layer.off('add remove', this._onLayerChange, this);\r\n\t\t}\r\n\t},\r\n\r\n\t// @method addBaseLayer(layer: Layer, name: String): this\r\n\t// Adds a base layer (radio button entry) with the given name to the control.\r\n\taddBaseLayer: function (layer, name) {\r\n\t\tthis._addLayer(layer, name);\r\n\t\treturn (this._map) ? this._update() : this;\r\n\t},\r\n\r\n\t// @method addOverlay(layer: Layer, name: String): this\r\n\t// Adds an overlay (checkbox entry) with the given name to the control.\r\n\taddOverlay: function (layer, name) {\r\n\t\tthis._addLayer(layer, name, true);\r\n\t\treturn (this._map) ? this._update() : this;\r\n\t},\r\n\r\n\t// @method removeLayer(layer: Layer): this\r\n\t// Remove the given layer from the control.\r\n\tremoveLayer: function (layer) {\r\n\t\tlayer.off('add remove', this._onLayerChange, this);\r\n\r\n\t\tvar obj = this._getLayer(stamp(layer));\r\n\t\tif (obj) {\r\n\t\t\tthis._layers.splice(this._layers.indexOf(obj), 1);\r\n\t\t}\r\n\t\treturn (this._map) ? this._update() : this;\r\n\t},\r\n\r\n\t// @method expand(): this\r\n\t// Expand the control container if collapsed.\r\n\texpand: function () {\r\n\t\taddClass(this._container, 'leaflet-control-layers-expanded');\r\n\t\tthis._form.style.height = null;\r\n\t\tvar acceptableHeight = this._map.getSize().y - (this._container.offsetTop + 50);\r\n\t\tif (acceptableHeight < this._form.clientHeight) {\r\n\t\t\taddClass(this._form, 'leaflet-control-layers-scrollbar');\r\n\t\t\tthis._form.style.height = acceptableHeight + 'px';\r\n\t\t} else {\r\n\t\t\tremoveClass(this._form, 'leaflet-control-layers-scrollbar');\r\n\t\t}\r\n\t\tthis._checkDisabledLayers();\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method collapse(): this\r\n\t// Collapse the control container if expanded.\r\n\tcollapse: function () {\r\n\t\tremoveClass(this._container, 'leaflet-control-layers-expanded');\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_initLayout: function () {\r\n\t\tvar className = 'leaflet-control-layers',\r\n\t\t container = this._container = create$1('div', className),\r\n\t\t collapsed = this.options.collapsed;\r\n\r\n\t\t// makes this work on IE touch devices by stopping it from firing a mouseout event when the touch is released\r\n\t\tcontainer.setAttribute('aria-haspopup', true);\r\n\r\n\t\tdisableClickPropagation(container);\r\n\t\tdisableScrollPropagation(container);\r\n\r\n\t\tvar form = this._form = create$1('form', className + '-list');\r\n\r\n\t\tif (collapsed) {\r\n\t\t\tthis._map.on('click', this.collapse, this);\r\n\r\n\t\t\tif (!android) {\r\n\t\t\t\ton(container, {\r\n\t\t\t\t\tmouseenter: this.expand,\r\n\t\t\t\t\tmouseleave: this.collapse\r\n\t\t\t\t}, this);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tvar link = this._layersLink = create$1('a', className + '-toggle', container);\r\n\t\tlink.href = '#';\r\n\t\tlink.title = 'Layers';\r\n\r\n\t\tif (touch) {\r\n\t\t\ton(link, 'click', stop);\r\n\t\t\ton(link, 'click', this.expand, this);\r\n\t\t} else {\r\n\t\t\ton(link, 'focus', this.expand, this);\r\n\t\t}\r\n\r\n\t\tif (!collapsed) {\r\n\t\t\tthis.expand();\r\n\t\t}\r\n\r\n\t\tthis._baseLayersList = create$1('div', className + '-base', form);\r\n\t\tthis._separator = create$1('div', className + '-separator', form);\r\n\t\tthis._overlaysList = create$1('div', className + '-overlays', form);\r\n\r\n\t\tcontainer.appendChild(form);\r\n\t},\r\n\r\n\t_getLayer: function (id) {\r\n\t\tfor (var i = 0; i < this._layers.length; i++) {\r\n\r\n\t\t\tif (this._layers[i] && stamp(this._layers[i].layer) === id) {\r\n\t\t\t\treturn this._layers[i];\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\t_addLayer: function (layer, name, overlay) {\r\n\t\tif (this._map) {\r\n\t\t\tlayer.on('add remove', this._onLayerChange, this);\r\n\t\t}\r\n\r\n\t\tthis._layers.push({\r\n\t\t\tlayer: layer,\r\n\t\t\tname: name,\r\n\t\t\toverlay: overlay\r\n\t\t});\r\n\r\n\t\tif (this.options.sortLayers) {\r\n\t\t\tthis._layers.sort(bind(function (a, b) {\r\n\t\t\t\treturn this.options.sortFunction(a.layer, b.layer, a.name, b.name);\r\n\t\t\t}, this));\r\n\t\t}\r\n\r\n\t\tif (this.options.autoZIndex && layer.setZIndex) {\r\n\t\t\tthis._lastZIndex++;\r\n\t\t\tlayer.setZIndex(this._lastZIndex);\r\n\t\t}\r\n\r\n\t\tthis._expandIfNotCollapsed();\r\n\t},\r\n\r\n\t_update: function () {\r\n\t\tif (!this._container) { return this; }\r\n\r\n\t\tempty(this._baseLayersList);\r\n\t\tempty(this._overlaysList);\r\n\r\n\t\tthis._layerControlInputs = [];\r\n\t\tvar baseLayersPresent, overlaysPresent, i, obj, baseLayersCount = 0;\r\n\r\n\t\tfor (i = 0; i < this._layers.length; i++) {\r\n\t\t\tobj = this._layers[i];\r\n\t\t\tthis._addItem(obj);\r\n\t\t\toverlaysPresent = overlaysPresent || obj.overlay;\r\n\t\t\tbaseLayersPresent = baseLayersPresent || !obj.overlay;\r\n\t\t\tbaseLayersCount += !obj.overlay ? 1 : 0;\r\n\t\t}\r\n\r\n\t\t// Hide base layers section if there's only one layer.\r\n\t\tif (this.options.hideSingleBase) {\r\n\t\t\tbaseLayersPresent = baseLayersPresent && baseLayersCount > 1;\r\n\t\t\tthis._baseLayersList.style.display = baseLayersPresent ? '' : 'none';\r\n\t\t}\r\n\r\n\t\tthis._separator.style.display = overlaysPresent && baseLayersPresent ? '' : 'none';\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_onLayerChange: function (e) {\r\n\t\tif (!this._handlingClick) {\r\n\t\t\tthis._update();\r\n\t\t}\r\n\r\n\t\tvar obj = this._getLayer(stamp(e.target));\r\n\r\n\t\t// @namespace Map\r\n\t\t// @section Layer events\r\n\t\t// @event baselayerchange: LayersControlEvent\r\n\t\t// Fired when the base layer is changed through the [layer control](#control-layers).\r\n\t\t// @event overlayadd: LayersControlEvent\r\n\t\t// Fired when an overlay is selected through the [layer control](#control-layers).\r\n\t\t// @event overlayremove: LayersControlEvent\r\n\t\t// Fired when an overlay is deselected through the [layer control](#control-layers).\r\n\t\t// @namespace Control.Layers\r\n\t\tvar type = obj.overlay ?\r\n\t\t\t(e.type === 'add' ? 'overlayadd' : 'overlayremove') :\r\n\t\t\t(e.type === 'add' ? 'baselayerchange' : null);\r\n\r\n\t\tif (type) {\r\n\t\t\tthis._map.fire(type, obj);\r\n\t\t}\r\n\t},\r\n\r\n\t// IE7 bugs out if you create a radio dynamically, so you have to do it this hacky way (see http://bit.ly/PqYLBe)\r\n\t_createRadioElement: function (name, checked) {\r\n\r\n\t\tvar radioHtml = '';\r\n\r\n\t\tvar radioFragment = document.createElement('div');\r\n\t\tradioFragment.innerHTML = radioHtml;\r\n\r\n\t\treturn radioFragment.firstChild;\r\n\t},\r\n\r\n\t_addItem: function (obj) {\r\n\t\tvar label = document.createElement('label'),\r\n\t\t checked = this._map.hasLayer(obj.layer),\r\n\t\t input;\r\n\r\n\t\tif (obj.overlay) {\r\n\t\t\tinput = document.createElement('input');\r\n\t\t\tinput.type = 'checkbox';\r\n\t\t\tinput.className = 'leaflet-control-layers-selector';\r\n\t\t\tinput.defaultChecked = checked;\r\n\t\t} else {\r\n\t\t\tinput = this._createRadioElement('leaflet-base-layers', checked);\r\n\t\t}\r\n\r\n\t\tthis._layerControlInputs.push(input);\r\n\t\tinput.layerId = stamp(obj.layer);\r\n\r\n\t\ton(input, 'click', this._onInputClick, this);\r\n\r\n\t\tvar name = document.createElement('span');\r\n\t\tname.innerHTML = ' ' + obj.name;\r\n\r\n\t\t// Helps from preventing layer control flicker when checkboxes are disabled\r\n\t\t// https://github.com/Leaflet/Leaflet/issues/2771\r\n\t\tvar holder = document.createElement('div');\r\n\r\n\t\tlabel.appendChild(holder);\r\n\t\tholder.appendChild(input);\r\n\t\tholder.appendChild(name);\r\n\r\n\t\tvar container = obj.overlay ? this._overlaysList : this._baseLayersList;\r\n\t\tcontainer.appendChild(label);\r\n\r\n\t\tthis._checkDisabledLayers();\r\n\t\treturn label;\r\n\t},\r\n\r\n\t_onInputClick: function () {\r\n\t\tvar inputs = this._layerControlInputs,\r\n\t\t input, layer;\r\n\t\tvar addedLayers = [],\r\n\t\t removedLayers = [];\r\n\r\n\t\tthis._handlingClick = true;\r\n\r\n\t\tfor (var i = inputs.length - 1; i >= 0; i--) {\r\n\t\t\tinput = inputs[i];\r\n\t\t\tlayer = this._getLayer(input.layerId).layer;\r\n\r\n\t\t\tif (input.checked) {\r\n\t\t\t\taddedLayers.push(layer);\r\n\t\t\t} else if (!input.checked) {\r\n\t\t\t\tremovedLayers.push(layer);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Bugfix issue 2318: Should remove all old layers before readding new ones\r\n\t\tfor (i = 0; i < removedLayers.length; i++) {\r\n\t\t\tif (this._map.hasLayer(removedLayers[i])) {\r\n\t\t\t\tthis._map.removeLayer(removedLayers[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\tfor (i = 0; i < addedLayers.length; i++) {\r\n\t\t\tif (!this._map.hasLayer(addedLayers[i])) {\r\n\t\t\t\tthis._map.addLayer(addedLayers[i]);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis._handlingClick = false;\r\n\r\n\t\tthis._refocusOnMap();\r\n\t},\r\n\r\n\t_checkDisabledLayers: function () {\r\n\t\tvar inputs = this._layerControlInputs,\r\n\t\t input,\r\n\t\t layer,\r\n\t\t zoom = this._map.getZoom();\r\n\r\n\t\tfor (var i = inputs.length - 1; i >= 0; i--) {\r\n\t\t\tinput = inputs[i];\r\n\t\t\tlayer = this._getLayer(input.layerId).layer;\r\n\t\t\tinput.disabled = (layer.options.minZoom !== undefined && zoom < layer.options.minZoom) ||\r\n\t\t\t (layer.options.maxZoom !== undefined && zoom > layer.options.maxZoom);\r\n\r\n\t\t}\r\n\t},\r\n\r\n\t_expandIfNotCollapsed: function () {\r\n\t\tif (this._map && !this.options.collapsed) {\r\n\t\t\tthis.expand();\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_expand: function () {\r\n\t\t// Backward compatibility, remove me in 1.1.\r\n\t\treturn this.expand();\r\n\t},\r\n\r\n\t_collapse: function () {\r\n\t\t// Backward compatibility, remove me in 1.1.\r\n\t\treturn this.collapse();\r\n\t}\r\n\r\n});\r\n\r\n\r\n// @factory L.control.layers(baselayers?: Object, overlays?: Object, options?: Control.Layers options)\r\n// Creates an attribution control with the given layers. Base layers will be switched with radio buttons, while overlays will be switched with checkboxes. Note that all base layers should be passed in the base layers object, but only one should be added to the map during map instantiation.\r\nvar layers = function (baseLayers, overlays, options) {\r\n\treturn new Layers(baseLayers, overlays, options);\r\n};\n\n/*\r\n * @class Control.Zoom\r\n * @aka L.Control.Zoom\r\n * @inherits Control\r\n *\r\n * A basic zoom control with two buttons (zoom in and zoom out). It is put on the map by default unless you set its [`zoomControl` option](#map-zoomcontrol) to `false`. Extends `Control`.\r\n */\r\n\r\nvar Zoom = Control.extend({\r\n\t// @section\r\n\t// @aka Control.Zoom options\r\n\toptions: {\r\n\t\tposition: 'topleft',\r\n\r\n\t\t// @option zoomInText: String = '+'\r\n\t\t// The text set on the 'zoom in' button.\r\n\t\tzoomInText: '+',\r\n\r\n\t\t// @option zoomInTitle: String = 'Zoom in'\r\n\t\t// The title set on the 'zoom in' button.\r\n\t\tzoomInTitle: 'Zoom in',\r\n\r\n\t\t// @option zoomOutText: String = '−'\r\n\t\t// The text set on the 'zoom out' button.\r\n\t\tzoomOutText: '−',\r\n\r\n\t\t// @option zoomOutTitle: String = 'Zoom out'\r\n\t\t// The title set on the 'zoom out' button.\r\n\t\tzoomOutTitle: 'Zoom out'\r\n\t},\r\n\r\n\tonAdd: function (map) {\r\n\t\tvar zoomName = 'leaflet-control-zoom',\r\n\t\t container = create$1('div', zoomName + ' leaflet-bar'),\r\n\t\t options = this.options;\r\n\r\n\t\tthis._zoomInButton = this._createButton(options.zoomInText, options.zoomInTitle,\r\n\t\t zoomName + '-in', container, this._zoomIn);\r\n\t\tthis._zoomOutButton = this._createButton(options.zoomOutText, options.zoomOutTitle,\r\n\t\t zoomName + '-out', container, this._zoomOut);\r\n\r\n\t\tthis._updateDisabled();\r\n\t\tmap.on('zoomend zoomlevelschange', this._updateDisabled, this);\r\n\r\n\t\treturn container;\r\n\t},\r\n\r\n\tonRemove: function (map) {\r\n\t\tmap.off('zoomend zoomlevelschange', this._updateDisabled, this);\r\n\t},\r\n\r\n\tdisable: function () {\r\n\t\tthis._disabled = true;\r\n\t\tthis._updateDisabled();\r\n\t\treturn this;\r\n\t},\r\n\r\n\tenable: function () {\r\n\t\tthis._disabled = false;\r\n\t\tthis._updateDisabled();\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_zoomIn: function (e) {\r\n\t\tif (!this._disabled && this._map._zoom < this._map.getMaxZoom()) {\r\n\t\t\tthis._map.zoomIn(this._map.options.zoomDelta * (e.shiftKey ? 3 : 1));\r\n\t\t}\r\n\t},\r\n\r\n\t_zoomOut: function (e) {\r\n\t\tif (!this._disabled && this._map._zoom > this._map.getMinZoom()) {\r\n\t\t\tthis._map.zoomOut(this._map.options.zoomDelta * (e.shiftKey ? 3 : 1));\r\n\t\t}\r\n\t},\r\n\r\n\t_createButton: function (html, title, className, container, fn) {\r\n\t\tvar link = create$1('a', className, container);\r\n\t\tlink.innerHTML = html;\r\n\t\tlink.href = '#';\r\n\t\tlink.title = title;\r\n\r\n\t\t/*\r\n\t\t * Will force screen readers like VoiceOver to read this as \"Zoom in - button\"\r\n\t\t */\r\n\t\tlink.setAttribute('role', 'button');\r\n\t\tlink.setAttribute('aria-label', title);\r\n\r\n\t\tdisableClickPropagation(link);\r\n\t\ton(link, 'click', stop);\r\n\t\ton(link, 'click', fn, this);\r\n\t\ton(link, 'click', this._refocusOnMap, this);\r\n\r\n\t\treturn link;\r\n\t},\r\n\r\n\t_updateDisabled: function () {\r\n\t\tvar map = this._map,\r\n\t\t className = 'leaflet-disabled';\r\n\r\n\t\tremoveClass(this._zoomInButton, className);\r\n\t\tremoveClass(this._zoomOutButton, className);\r\n\r\n\t\tif (this._disabled || map._zoom === map.getMinZoom()) {\r\n\t\t\taddClass(this._zoomOutButton, className);\r\n\t\t}\r\n\t\tif (this._disabled || map._zoom === map.getMaxZoom()) {\r\n\t\t\taddClass(this._zoomInButton, className);\r\n\t\t}\r\n\t}\r\n});\r\n\r\n// @namespace Map\r\n// @section Control options\r\n// @option zoomControl: Boolean = true\r\n// Whether a [zoom control](#control-zoom) is added to the map by default.\r\nMap.mergeOptions({\r\n\tzoomControl: true\r\n});\r\n\r\nMap.addInitHook(function () {\r\n\tif (this.options.zoomControl) {\r\n\t\tthis.zoomControl = new Zoom();\r\n\t\tthis.addControl(this.zoomControl);\r\n\t}\r\n});\r\n\r\n// @namespace Control.Zoom\r\n// @factory L.control.zoom(options: Control.Zoom options)\r\n// Creates a zoom control\r\nvar zoom = function (options) {\r\n\treturn new Zoom(options);\r\n};\n\n/*\n * @class Control.Scale\n * @aka L.Control.Scale\n * @inherits Control\n *\n * A simple scale control that shows the scale of the current center of screen in metric (m/km) and imperial (mi/ft) systems. Extends `Control`.\n *\n * @example\n *\n * ```js\n * L.control.scale().addTo(map);\n * ```\n */\n\nvar Scale = Control.extend({\n\t// @section\n\t// @aka Control.Scale options\n\toptions: {\n\t\tposition: 'bottomleft',\n\n\t\t// @option maxWidth: Number = 100\n\t\t// Maximum width of the control in pixels. The width is set dynamically to show round values (e.g. 100, 200, 500).\n\t\tmaxWidth: 100,\n\n\t\t// @option metric: Boolean = True\n\t\t// Whether to show the metric scale line (m/km).\n\t\tmetric: true,\n\n\t\t// @option imperial: Boolean = True\n\t\t// Whether to show the imperial scale line (mi/ft).\n\t\timperial: true\n\n\t\t// @option updateWhenIdle: Boolean = false\n\t\t// If `true`, the control is updated on [`moveend`](#map-moveend), otherwise it's always up-to-date (updated on [`move`](#map-move)).\n\t},\n\n\tonAdd: function (map) {\n\t\tvar className = 'leaflet-control-scale',\n\t\t container = create$1('div', className),\n\t\t options = this.options;\n\n\t\tthis._addScales(options, className + '-line', container);\n\n\t\tmap.on(options.updateWhenIdle ? 'moveend' : 'move', this._update, this);\n\t\tmap.whenReady(this._update, this);\n\n\t\treturn container;\n\t},\n\n\tonRemove: function (map) {\n\t\tmap.off(this.options.updateWhenIdle ? 'moveend' : 'move', this._update, this);\n\t},\n\n\t_addScales: function (options, className, container) {\n\t\tif (options.metric) {\n\t\t\tthis._mScale = create$1('div', className, container);\n\t\t}\n\t\tif (options.imperial) {\n\t\t\tthis._iScale = create$1('div', className, container);\n\t\t}\n\t},\n\n\t_update: function () {\n\t\tvar map = this._map,\n\t\t y = map.getSize().y / 2;\n\n\t\tvar maxMeters = map.distance(\n\t\t\tmap.containerPointToLatLng([0, y]),\n\t\t\tmap.containerPointToLatLng([this.options.maxWidth, y]));\n\n\t\tthis._updateScales(maxMeters);\n\t},\n\n\t_updateScales: function (maxMeters) {\n\t\tif (this.options.metric && maxMeters) {\n\t\t\tthis._updateMetric(maxMeters);\n\t\t}\n\t\tif (this.options.imperial && maxMeters) {\n\t\t\tthis._updateImperial(maxMeters);\n\t\t}\n\t},\n\n\t_updateMetric: function (maxMeters) {\n\t\tvar meters = this._getRoundNum(maxMeters),\n\t\t label = meters < 1000 ? meters + ' m' : (meters / 1000) + ' km';\n\n\t\tthis._updateScale(this._mScale, label, meters / maxMeters);\n\t},\n\n\t_updateImperial: function (maxMeters) {\n\t\tvar maxFeet = maxMeters * 3.2808399,\n\t\t maxMiles, miles, feet;\n\n\t\tif (maxFeet > 5280) {\n\t\t\tmaxMiles = maxFeet / 5280;\n\t\t\tmiles = this._getRoundNum(maxMiles);\n\t\t\tthis._updateScale(this._iScale, miles + ' mi', miles / maxMiles);\n\n\t\t} else {\n\t\t\tfeet = this._getRoundNum(maxFeet);\n\t\t\tthis._updateScale(this._iScale, feet + ' ft', feet / maxFeet);\n\t\t}\n\t},\n\n\t_updateScale: function (scale, text, ratio) {\n\t\tscale.style.width = Math.round(this.options.maxWidth * ratio) + 'px';\n\t\tscale.innerHTML = text;\n\t},\n\n\t_getRoundNum: function (num) {\n\t\tvar pow10 = Math.pow(10, (Math.floor(num) + '').length - 1),\n\t\t d = num / pow10;\n\n\t\td = d >= 10 ? 10 :\n\t\t d >= 5 ? 5 :\n\t\t d >= 3 ? 3 :\n\t\t d >= 2 ? 2 : 1;\n\n\t\treturn pow10 * d;\n\t}\n});\n\n\n// @factory L.control.scale(options?: Control.Scale options)\n// Creates an scale control with the given options.\nvar scale = function (options) {\n\treturn new Scale(options);\n};\n\n/*\r\n * @class Control.Attribution\r\n * @aka L.Control.Attribution\r\n * @inherits Control\r\n *\r\n * The attribution control allows you to display attribution data in a small text box on a map. It is put on the map by default unless you set its [`attributionControl` option](#map-attributioncontrol) to `false`, and it fetches attribution texts from layers with the [`getAttribution` method](#layer-getattribution) automatically. Extends Control.\r\n */\r\n\r\nvar Attribution = Control.extend({\r\n\t// @section\r\n\t// @aka Control.Attribution options\r\n\toptions: {\r\n\t\tposition: 'bottomright',\r\n\r\n\t\t// @option prefix: String = 'Leaflet'\r\n\t\t// The HTML text shown before the attributions. Pass `false` to disable.\r\n\t\tprefix: 'Leaflet'\r\n\t},\r\n\r\n\tinitialize: function (options) {\r\n\t\tsetOptions(this, options);\r\n\r\n\t\tthis._attributions = {};\r\n\t},\r\n\r\n\tonAdd: function (map) {\r\n\t\tmap.attributionControl = this;\r\n\t\tthis._container = create$1('div', 'leaflet-control-attribution');\r\n\t\tdisableClickPropagation(this._container);\r\n\r\n\t\t// TODO ugly, refactor\r\n\t\tfor (var i in map._layers) {\r\n\t\t\tif (map._layers[i].getAttribution) {\r\n\t\t\t\tthis.addAttribution(map._layers[i].getAttribution());\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis._update();\r\n\r\n\t\treturn this._container;\r\n\t},\r\n\r\n\t// @method setPrefix(prefix: String): this\r\n\t// Sets the text before the attributions.\r\n\tsetPrefix: function (prefix) {\r\n\t\tthis.options.prefix = prefix;\r\n\t\tthis._update();\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method addAttribution(text: String): this\r\n\t// Adds an attribution text (e.g. `'Vector data © Mapbox'`).\r\n\taddAttribution: function (text) {\r\n\t\tif (!text) { return this; }\r\n\r\n\t\tif (!this._attributions[text]) {\r\n\t\t\tthis._attributions[text] = 0;\r\n\t\t}\r\n\t\tthis._attributions[text]++;\r\n\r\n\t\tthis._update();\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method removeAttribution(text: String): this\r\n\t// Removes an attribution text.\r\n\tremoveAttribution: function (text) {\r\n\t\tif (!text) { return this; }\r\n\r\n\t\tif (this._attributions[text]) {\r\n\t\t\tthis._attributions[text]--;\r\n\t\t\tthis._update();\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_update: function () {\r\n\t\tif (!this._map) { return; }\r\n\r\n\t\tvar attribs = [];\r\n\r\n\t\tfor (var i in this._attributions) {\r\n\t\t\tif (this._attributions[i]) {\r\n\t\t\t\tattribs.push(i);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tvar prefixAndAttribs = [];\r\n\r\n\t\tif (this.options.prefix) {\r\n\t\t\tprefixAndAttribs.push(this.options.prefix);\r\n\t\t}\r\n\t\tif (attribs.length) {\r\n\t\t\tprefixAndAttribs.push(attribs.join(', '));\r\n\t\t}\r\n\r\n\t\tthis._container.innerHTML = prefixAndAttribs.join(' | ');\r\n\t}\r\n});\r\n\r\n// @namespace Map\r\n// @section Control options\r\n// @option attributionControl: Boolean = true\r\n// Whether a [attribution control](#control-attribution) is added to the map by default.\r\nMap.mergeOptions({\r\n\tattributionControl: true\r\n});\r\n\r\nMap.addInitHook(function () {\r\n\tif (this.options.attributionControl) {\r\n\t\tnew Attribution().addTo(this);\r\n\t}\r\n});\r\n\r\n// @namespace Control.Attribution\r\n// @factory L.control.attribution(options: Control.Attribution options)\r\n// Creates an attribution control.\r\nvar attribution = function (options) {\r\n\treturn new Attribution(options);\r\n};\n\nControl.Layers = Layers;\nControl.Zoom = Zoom;\nControl.Scale = Scale;\nControl.Attribution = Attribution;\n\ncontrol.layers = layers;\ncontrol.zoom = zoom;\ncontrol.scale = scale;\ncontrol.attribution = attribution;\n\n/*\n\tL.Handler is a base class for handler classes that are used internally to inject\n\tinteraction features like dragging to classes like Map and Marker.\n*/\n\n// @class Handler\n// @aka L.Handler\n// Abstract class for map interaction handlers\n\nvar Handler = Class.extend({\n\tinitialize: function (map) {\n\t\tthis._map = map;\n\t},\n\n\t// @method enable(): this\n\t// Enables the handler\n\tenable: function () {\n\t\tif (this._enabled) { return this; }\n\n\t\tthis._enabled = true;\n\t\tthis.addHooks();\n\t\treturn this;\n\t},\n\n\t// @method disable(): this\n\t// Disables the handler\n\tdisable: function () {\n\t\tif (!this._enabled) { return this; }\n\n\t\tthis._enabled = false;\n\t\tthis.removeHooks();\n\t\treturn this;\n\t},\n\n\t// @method enabled(): Boolean\n\t// Returns `true` if the handler is enabled\n\tenabled: function () {\n\t\treturn !!this._enabled;\n\t}\n\n\t// @section Extension methods\n\t// Classes inheriting from `Handler` must implement the two following methods:\n\t// @method addHooks()\n\t// Called when the handler is enabled, should add event hooks.\n\t// @method removeHooks()\n\t// Called when the handler is disabled, should remove the event hooks added previously.\n});\n\n// @section There is static function which can be called without instantiating L.Handler:\n// @function addTo(map: Map, name: String): this\n// Adds a new Handler to the given map with the given name.\nHandler.addTo = function (map, name) {\n\tmap.addHandler(name, this);\n\treturn this;\n};\n\nvar Mixin = {Events: Events};\n\n/*\r\n * @class Draggable\r\n * @aka L.Draggable\r\n * @inherits Evented\r\n *\r\n * A class for making DOM elements draggable (including touch support).\r\n * Used internally for map and marker dragging. Only works for elements\r\n * that were positioned with [`L.DomUtil.setPosition`](#domutil-setposition).\r\n *\r\n * @example\r\n * ```js\r\n * var draggable = new L.Draggable(elementToDrag);\r\n * draggable.enable();\r\n * ```\r\n */\r\n\r\nvar START = touch ? 'touchstart mousedown' : 'mousedown';\r\nvar END = {\r\n\tmousedown: 'mouseup',\r\n\ttouchstart: 'touchend',\r\n\tpointerdown: 'touchend',\r\n\tMSPointerDown: 'touchend'\r\n};\r\nvar MOVE = {\r\n\tmousedown: 'mousemove',\r\n\ttouchstart: 'touchmove',\r\n\tpointerdown: 'touchmove',\r\n\tMSPointerDown: 'touchmove'\r\n};\r\n\r\n\r\nvar Draggable = Evented.extend({\r\n\r\n\toptions: {\r\n\t\t// @section\r\n\t\t// @aka Draggable options\r\n\t\t// @option clickTolerance: Number = 3\r\n\t\t// The max number of pixels a user can shift the mouse pointer during a click\r\n\t\t// for it to be considered a valid click (as opposed to a mouse drag).\r\n\t\tclickTolerance: 3\r\n\t},\r\n\r\n\t// @constructor L.Draggable(el: HTMLElement, dragHandle?: HTMLElement, preventOutline?: Boolean, options?: Draggable options)\r\n\t// Creates a `Draggable` object for moving `el` when you start dragging the `dragHandle` element (equals `el` itself by default).\r\n\tinitialize: function (element, dragStartTarget, preventOutline$$1, options) {\r\n\t\tsetOptions(this, options);\r\n\r\n\t\tthis._element = element;\r\n\t\tthis._dragStartTarget = dragStartTarget || element;\r\n\t\tthis._preventOutline = preventOutline$$1;\r\n\t},\r\n\r\n\t// @method enable()\r\n\t// Enables the dragging ability\r\n\tenable: function () {\r\n\t\tif (this._enabled) { return; }\r\n\r\n\t\ton(this._dragStartTarget, START, this._onDown, this);\r\n\r\n\t\tthis._enabled = true;\r\n\t},\r\n\r\n\t// @method disable()\r\n\t// Disables the dragging ability\r\n\tdisable: function () {\r\n\t\tif (!this._enabled) { return; }\r\n\r\n\t\t// If we're currently dragging this draggable,\r\n\t\t// disabling it counts as first ending the drag.\r\n\t\tif (Draggable._dragging === this) {\r\n\t\t\tthis.finishDrag();\r\n\t\t}\r\n\r\n\t\toff(this._dragStartTarget, START, this._onDown, this);\r\n\r\n\t\tthis._enabled = false;\r\n\t\tthis._moved = false;\r\n\t},\r\n\r\n\t_onDown: function (e) {\r\n\t\t// Ignore simulated events, since we handle both touch and\r\n\t\t// mouse explicitly; otherwise we risk getting duplicates of\r\n\t\t// touch events, see #4315.\r\n\t\t// Also ignore the event if disabled; this happens in IE11\r\n\t\t// under some circumstances, see #3666.\r\n\t\tif (e._simulated || !this._enabled) { return; }\r\n\r\n\t\tthis._moved = false;\r\n\r\n\t\tif (hasClass(this._element, 'leaflet-zoom-anim')) { return; }\r\n\r\n\t\tif (Draggable._dragging || e.shiftKey || ((e.which !== 1) && (e.button !== 1) && !e.touches)) { return; }\r\n\t\tDraggable._dragging = this; // Prevent dragging multiple objects at once.\r\n\r\n\t\tif (this._preventOutline) {\r\n\t\t\tpreventOutline(this._element);\r\n\t\t}\r\n\r\n\t\tdisableImageDrag();\r\n\t\tdisableTextSelection();\r\n\r\n\t\tif (this._moving) { return; }\r\n\r\n\t\t// @event down: Event\r\n\t\t// Fired when a drag is about to start.\r\n\t\tthis.fire('down');\r\n\r\n\t\tvar first = e.touches ? e.touches[0] : e;\r\n\r\n\t\tthis._startPoint = new Point(first.clientX, first.clientY);\r\n\r\n\t\ton(document, MOVE[e.type], this._onMove, this);\r\n\t\ton(document, END[e.type], this._onUp, this);\r\n\t},\r\n\r\n\t_onMove: function (e) {\r\n\t\t// Ignore simulated events, since we handle both touch and\r\n\t\t// mouse explicitly; otherwise we risk getting duplicates of\r\n\t\t// touch events, see #4315.\r\n\t\t// Also ignore the event if disabled; this happens in IE11\r\n\t\t// under some circumstances, see #3666.\r\n\t\tif (e._simulated || !this._enabled) { return; }\r\n\r\n\t\tif (e.touches && e.touches.length > 1) {\r\n\t\t\tthis._moved = true;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar first = (e.touches && e.touches.length === 1 ? e.touches[0] : e),\r\n\t\t newPoint = new Point(first.clientX, first.clientY),\r\n\t\t offset = newPoint.subtract(this._startPoint);\r\n\r\n\t\tif (!offset.x && !offset.y) { return; }\r\n\t\tif (Math.abs(offset.x) + Math.abs(offset.y) < this.options.clickTolerance) { return; }\r\n\r\n\t\tpreventDefault(e);\r\n\r\n\t\tif (!this._moved) {\r\n\t\t\t// @event dragstart: Event\r\n\t\t\t// Fired when a drag starts\r\n\t\t\tthis.fire('dragstart');\r\n\r\n\t\t\tthis._moved = true;\r\n\t\t\tthis._startPos = getPosition(this._element).subtract(offset);\r\n\r\n\t\t\taddClass(document.body, 'leaflet-dragging');\r\n\r\n\t\t\tthis._lastTarget = e.target || e.srcElement;\r\n\t\t\t// IE and Edge do not give the element, so fetch it\r\n\t\t\t// if necessary\r\n\t\t\tif ((window.SVGElementInstance) && (this._lastTarget instanceof SVGElementInstance)) {\r\n\t\t\t\tthis._lastTarget = this._lastTarget.correspondingUseElement;\r\n\t\t\t}\r\n\t\t\taddClass(this._lastTarget, 'leaflet-drag-target');\r\n\t\t}\r\n\r\n\t\tthis._newPos = this._startPos.add(offset);\r\n\t\tthis._moving = true;\r\n\r\n\t\tcancelAnimFrame(this._animRequest);\r\n\t\tthis._lastEvent = e;\r\n\t\tthis._animRequest = requestAnimFrame(this._updatePosition, this, true);\r\n\t},\r\n\r\n\t_updatePosition: function () {\r\n\t\tvar e = {originalEvent: this._lastEvent};\r\n\r\n\t\t// @event predrag: Event\r\n\t\t// Fired continuously during dragging *before* each corresponding\r\n\t\t// update of the element's position.\r\n\t\tthis.fire('predrag', e);\r\n\t\tsetPosition(this._element, this._newPos);\r\n\r\n\t\t// @event drag: Event\r\n\t\t// Fired continuously during dragging.\r\n\t\tthis.fire('drag', e);\r\n\t},\r\n\r\n\t_onUp: function (e) {\r\n\t\t// Ignore simulated events, since we handle both touch and\r\n\t\t// mouse explicitly; otherwise we risk getting duplicates of\r\n\t\t// touch events, see #4315.\r\n\t\t// Also ignore the event if disabled; this happens in IE11\r\n\t\t// under some circumstances, see #3666.\r\n\t\tif (e._simulated || !this._enabled) { return; }\r\n\t\tthis.finishDrag();\r\n\t},\r\n\r\n\tfinishDrag: function () {\r\n\t\tremoveClass(document.body, 'leaflet-dragging');\r\n\r\n\t\tif (this._lastTarget) {\r\n\t\t\tremoveClass(this._lastTarget, 'leaflet-drag-target');\r\n\t\t\tthis._lastTarget = null;\r\n\t\t}\r\n\r\n\t\tfor (var i in MOVE) {\r\n\t\t\toff(document, MOVE[i], this._onMove, this);\r\n\t\t\toff(document, END[i], this._onUp, this);\r\n\t\t}\r\n\r\n\t\tenableImageDrag();\r\n\t\tenableTextSelection();\r\n\r\n\t\tif (this._moved && this._moving) {\r\n\t\t\t// ensure drag is not fired after dragend\r\n\t\t\tcancelAnimFrame(this._animRequest);\r\n\r\n\t\t\t// @event dragend: DragEndEvent\r\n\t\t\t// Fired when the drag ends.\r\n\t\t\tthis.fire('dragend', {\r\n\t\t\t\tdistance: this._newPos.distanceTo(this._startPos)\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tthis._moving = false;\r\n\t\tDraggable._dragging = false;\r\n\t}\r\n\r\n});\n\n/*\r\n * @namespace LineUtil\r\n *\r\n * Various utility functions for polyline points processing, used by Leaflet internally to make polylines lightning-fast.\r\n */\r\n\r\n// Simplify polyline with vertex reduction and Douglas-Peucker simplification.\r\n// Improves rendering performance dramatically by lessening the number of points to draw.\r\n\r\n// @function simplify(points: Point[], tolerance: Number): Point[]\r\n// Dramatically reduces the number of points in a polyline while retaining\r\n// its shape and returns a new array of simplified points, using the\r\n// [Douglas-Peucker algorithm](http://en.wikipedia.org/wiki/Douglas-Peucker_algorithm).\r\n// Used for a huge performance boost when processing/displaying Leaflet polylines for\r\n// each zoom level and also reducing visual noise. tolerance affects the amount of\r\n// simplification (lesser value means higher quality but slower and with more points).\r\n// Also released as a separated micro-library [Simplify.js](http://mourner.github.com/simplify-js/).\r\nfunction simplify(points, tolerance) {\r\n\tif (!tolerance || !points.length) {\r\n\t\treturn points.slice();\r\n\t}\r\n\r\n\tvar sqTolerance = tolerance * tolerance;\r\n\r\n\t // stage 1: vertex reduction\r\n\t points = _reducePoints(points, sqTolerance);\r\n\r\n\t // stage 2: Douglas-Peucker simplification\r\n\t points = _simplifyDP(points, sqTolerance);\r\n\r\n\treturn points;\r\n}\r\n\r\n// @function pointToSegmentDistance(p: Point, p1: Point, p2: Point): Number\r\n// Returns the distance between point `p` and segment `p1` to `p2`.\r\nfunction pointToSegmentDistance(p, p1, p2) {\r\n\treturn Math.sqrt(_sqClosestPointOnSegment(p, p1, p2, true));\r\n}\r\n\r\n// @function closestPointOnSegment(p: Point, p1: Point, p2: Point): Number\r\n// Returns the closest point from a point `p` on a segment `p1` to `p2`.\r\nfunction closestPointOnSegment(p, p1, p2) {\r\n\treturn _sqClosestPointOnSegment(p, p1, p2);\r\n}\r\n\r\n// Douglas-Peucker simplification, see http://en.wikipedia.org/wiki/Douglas-Peucker_algorithm\r\nfunction _simplifyDP(points, sqTolerance) {\r\n\r\n\tvar len = points.length,\r\n\t ArrayConstructor = typeof Uint8Array !== undefined + '' ? Uint8Array : Array,\r\n\t markers = new ArrayConstructor(len);\r\n\r\n\t markers[0] = markers[len - 1] = 1;\r\n\r\n\t_simplifyDPStep(points, markers, sqTolerance, 0, len - 1);\r\n\r\n\tvar i,\r\n\t newPoints = [];\r\n\r\n\tfor (i = 0; i < len; i++) {\r\n\t\tif (markers[i]) {\r\n\t\t\tnewPoints.push(points[i]);\r\n\t\t}\r\n\t}\r\n\r\n\treturn newPoints;\r\n}\r\n\r\nfunction _simplifyDPStep(points, markers, sqTolerance, first, last) {\r\n\r\n\tvar maxSqDist = 0,\r\n\tindex, i, sqDist;\r\n\r\n\tfor (i = first + 1; i <= last - 1; i++) {\r\n\t\tsqDist = _sqClosestPointOnSegment(points[i], points[first], points[last], true);\r\n\r\n\t\tif (sqDist > maxSqDist) {\r\n\t\t\tindex = i;\r\n\t\t\tmaxSqDist = sqDist;\r\n\t\t}\r\n\t}\r\n\r\n\tif (maxSqDist > sqTolerance) {\r\n\t\tmarkers[index] = 1;\r\n\r\n\t\t_simplifyDPStep(points, markers, sqTolerance, first, index);\r\n\t\t_simplifyDPStep(points, markers, sqTolerance, index, last);\r\n\t}\r\n}\r\n\r\n// reduce points that are too close to each other to a single point\r\nfunction _reducePoints(points, sqTolerance) {\r\n\tvar reducedPoints = [points[0]];\r\n\r\n\tfor (var i = 1, prev = 0, len = points.length; i < len; i++) {\r\n\t\tif (_sqDist(points[i], points[prev]) > sqTolerance) {\r\n\t\t\treducedPoints.push(points[i]);\r\n\t\t\tprev = i;\r\n\t\t}\r\n\t}\r\n\tif (prev < len - 1) {\r\n\t\treducedPoints.push(points[len - 1]);\r\n\t}\r\n\treturn reducedPoints;\r\n}\r\n\r\nvar _lastCode;\r\n\r\n// @function clipSegment(a: Point, b: Point, bounds: Bounds, useLastCode?: Boolean, round?: Boolean): Point[]|Boolean\r\n// Clips the segment a to b by rectangular bounds with the\r\n// [Cohen-Sutherland algorithm](https://en.wikipedia.org/wiki/Cohen%E2%80%93Sutherland_algorithm)\r\n// (modifying the segment points directly!). Used by Leaflet to only show polyline\r\n// points that are on the screen or near, increasing performance.\r\nfunction clipSegment(a, b, bounds, useLastCode, round) {\r\n\tvar codeA = useLastCode ? _lastCode : _getBitCode(a, bounds),\r\n\t codeB = _getBitCode(b, bounds),\r\n\r\n\t codeOut, p, newCode;\r\n\r\n\t // save 2nd code to avoid calculating it on the next segment\r\n\t _lastCode = codeB;\r\n\r\n\twhile (true) {\r\n\t\t// if a,b is inside the clip window (trivial accept)\r\n\t\tif (!(codeA | codeB)) {\r\n\t\t\treturn [a, b];\r\n\t\t}\r\n\r\n\t\t// if a,b is outside the clip window (trivial reject)\r\n\t\tif (codeA & codeB) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\t// other cases\r\n\t\tcodeOut = codeA || codeB;\r\n\t\tp = _getEdgeIntersection(a, b, codeOut, bounds, round);\r\n\t\tnewCode = _getBitCode(p, bounds);\r\n\r\n\t\tif (codeOut === codeA) {\r\n\t\t\ta = p;\r\n\t\t\tcodeA = newCode;\r\n\t\t} else {\r\n\t\t\tb = p;\r\n\t\t\tcodeB = newCode;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction _getEdgeIntersection(a, b, code, bounds, round) {\r\n\tvar dx = b.x - a.x,\r\n\t dy = b.y - a.y,\r\n\t min = bounds.min,\r\n\t max = bounds.max,\r\n\t x, y;\r\n\r\n\tif (code & 8) { // top\r\n\t\tx = a.x + dx * (max.y - a.y) / dy;\r\n\t\ty = max.y;\r\n\r\n\t} else if (code & 4) { // bottom\r\n\t\tx = a.x + dx * (min.y - a.y) / dy;\r\n\t\ty = min.y;\r\n\r\n\t} else if (code & 2) { // right\r\n\t\tx = max.x;\r\n\t\ty = a.y + dy * (max.x - a.x) / dx;\r\n\r\n\t} else if (code & 1) { // left\r\n\t\tx = min.x;\r\n\t\ty = a.y + dy * (min.x - a.x) / dx;\r\n\t}\r\n\r\n\treturn new Point(x, y, round);\r\n}\r\n\r\nfunction _getBitCode(p, bounds) {\r\n\tvar code = 0;\r\n\r\n\tif (p.x < bounds.min.x) { // left\r\n\t\tcode |= 1;\r\n\t} else if (p.x > bounds.max.x) { // right\r\n\t\tcode |= 2;\r\n\t}\r\n\r\n\tif (p.y < bounds.min.y) { // bottom\r\n\t\tcode |= 4;\r\n\t} else if (p.y > bounds.max.y) { // top\r\n\t\tcode |= 8;\r\n\t}\r\n\r\n\treturn code;\r\n}\r\n\r\n// square distance (to avoid unnecessary Math.sqrt calls)\r\nfunction _sqDist(p1, p2) {\r\n\tvar dx = p2.x - p1.x,\r\n\t dy = p2.y - p1.y;\r\n\treturn dx * dx + dy * dy;\r\n}\r\n\r\n// return closest point on segment or distance to that point\r\nfunction _sqClosestPointOnSegment(p, p1, p2, sqDist) {\r\n\tvar x = p1.x,\r\n\t y = p1.y,\r\n\t dx = p2.x - x,\r\n\t dy = p2.y - y,\r\n\t dot = dx * dx + dy * dy,\r\n\t t;\r\n\r\n\tif (dot > 0) {\r\n\t\tt = ((p.x - x) * dx + (p.y - y) * dy) / dot;\r\n\r\n\t\tif (t > 1) {\r\n\t\t\tx = p2.x;\r\n\t\t\ty = p2.y;\r\n\t\t} else if (t > 0) {\r\n\t\t\tx += dx * t;\r\n\t\t\ty += dy * t;\r\n\t\t}\r\n\t}\r\n\r\n\tdx = p.x - x;\r\n\tdy = p.y - y;\r\n\r\n\treturn sqDist ? dx * dx + dy * dy : new Point(x, y);\r\n}\r\n\r\n\r\n// @function isFlat(latlngs: LatLng[]): Boolean\r\n// Returns true if `latlngs` is a flat array, false is nested.\r\nfunction isFlat(latlngs) {\r\n\treturn !isArray(latlngs[0]) || (typeof latlngs[0][0] !== 'object' && typeof latlngs[0][0] !== 'undefined');\r\n}\r\n\r\nfunction _flat(latlngs) {\r\n\tconsole.warn('Deprecated use of _flat, please use L.LineUtil.isFlat instead.');\r\n\treturn isFlat(latlngs);\r\n}\r\n\n\nvar LineUtil = (Object.freeze || Object)({\n\tsimplify: simplify,\n\tpointToSegmentDistance: pointToSegmentDistance,\n\tclosestPointOnSegment: closestPointOnSegment,\n\tclipSegment: clipSegment,\n\t_getEdgeIntersection: _getEdgeIntersection,\n\t_getBitCode: _getBitCode,\n\t_sqClosestPointOnSegment: _sqClosestPointOnSegment,\n\tisFlat: isFlat,\n\t_flat: _flat\n});\n\n/*\r\n * @namespace PolyUtil\r\n * Various utility functions for polygon geometries.\r\n */\r\n\r\n/* @function clipPolygon(points: Point[], bounds: Bounds, round?: Boolean): Point[]\r\n * Clips the polygon geometry defined by the given `points` by the given bounds (using the [Sutherland-Hodgman algorithm](https://en.wikipedia.org/wiki/Sutherland%E2%80%93Hodgman_algorithm)).\r\n * Used by Leaflet to only show polygon points that are on the screen or near, increasing\r\n * performance. Note that polygon points needs different algorithm for clipping\r\n * than polyline, so there's a separate method for it.\r\n */\r\nfunction clipPolygon(points, bounds, round) {\r\n\tvar clippedPoints,\r\n\t edges = [1, 4, 2, 8],\r\n\t i, j, k,\r\n\t a, b,\r\n\t len, edge, p;\r\n\r\n\tfor (i = 0, len = points.length; i < len; i++) {\r\n\t\tpoints[i]._code = _getBitCode(points[i], bounds);\r\n\t}\r\n\r\n\t// for each edge (left, bottom, right, top)\r\n\tfor (k = 0; k < 4; k++) {\r\n\t\tedge = edges[k];\r\n\t\tclippedPoints = [];\r\n\r\n\t\tfor (i = 0, len = points.length, j = len - 1; i < len; j = i++) {\r\n\t\t\ta = points[i];\r\n\t\t\tb = points[j];\r\n\r\n\t\t\t// if a is inside the clip window\r\n\t\t\tif (!(a._code & edge)) {\r\n\t\t\t\t// if b is outside the clip window (a->b goes out of screen)\r\n\t\t\t\tif (b._code & edge) {\r\n\t\t\t\t\tp = _getEdgeIntersection(b, a, edge, bounds, round);\r\n\t\t\t\t\tp._code = _getBitCode(p, bounds);\r\n\t\t\t\t\tclippedPoints.push(p);\r\n\t\t\t\t}\r\n\t\t\t\tclippedPoints.push(a);\r\n\r\n\t\t\t// else if b is inside the clip window (a->b enters the screen)\r\n\t\t\t} else if (!(b._code & edge)) {\r\n\t\t\t\tp = _getEdgeIntersection(b, a, edge, bounds, round);\r\n\t\t\t\tp._code = _getBitCode(p, bounds);\r\n\t\t\t\tclippedPoints.push(p);\r\n\t\t\t}\r\n\t\t}\r\n\t\tpoints = clippedPoints;\r\n\t}\r\n\r\n\treturn points;\r\n}\r\n\n\nvar PolyUtil = (Object.freeze || Object)({\n\tclipPolygon: clipPolygon\n});\n\n/*\r\n * @namespace Projection\r\n * @section\r\n * Leaflet comes with a set of already defined Projections out of the box:\r\n *\r\n * @projection L.Projection.LonLat\r\n *\r\n * Equirectangular, or Plate Carree projection — the most simple projection,\r\n * mostly used by GIS enthusiasts. Directly maps `x` as longitude, and `y` as\r\n * latitude. Also suitable for flat worlds, e.g. game maps. Used by the\r\n * `EPSG:4326` and `Simple` CRS.\r\n */\r\n\r\nvar LonLat = {\r\n\tproject: function (latlng) {\r\n\t\treturn new Point(latlng.lng, latlng.lat);\r\n\t},\r\n\r\n\tunproject: function (point) {\r\n\t\treturn new LatLng(point.y, point.x);\r\n\t},\r\n\r\n\tbounds: new Bounds([-180, -90], [180, 90])\r\n};\n\n/*\r\n * @namespace Projection\r\n * @projection L.Projection.Mercator\r\n *\r\n * Elliptical Mercator projection — more complex than Spherical Mercator. Takes into account that Earth is a geoid, not a perfect sphere. Used by the EPSG:3395 CRS.\r\n */\r\n\r\nvar Mercator = {\r\n\tR: 6378137,\r\n\tR_MINOR: 6356752.314245179,\r\n\r\n\tbounds: new Bounds([-20037508.34279, -15496570.73972], [20037508.34279, 18764656.23138]),\r\n\r\n\tproject: function (latlng) {\r\n\t\tvar d = Math.PI / 180,\r\n\t\t r = this.R,\r\n\t\t y = latlng.lat * d,\r\n\t\t tmp = this.R_MINOR / r,\r\n\t\t e = Math.sqrt(1 - tmp * tmp),\r\n\t\t con = e * Math.sin(y);\r\n\r\n\t\tvar ts = Math.tan(Math.PI / 4 - y / 2) / Math.pow((1 - con) / (1 + con), e / 2);\r\n\t\ty = -r * Math.log(Math.max(ts, 1E-10));\r\n\r\n\t\treturn new Point(latlng.lng * d * r, y);\r\n\t},\r\n\r\n\tunproject: function (point) {\r\n\t\tvar d = 180 / Math.PI,\r\n\t\t r = this.R,\r\n\t\t tmp = this.R_MINOR / r,\r\n\t\t e = Math.sqrt(1 - tmp * tmp),\r\n\t\t ts = Math.exp(-point.y / r),\r\n\t\t phi = Math.PI / 2 - 2 * Math.atan(ts);\r\n\r\n\t\tfor (var i = 0, dphi = 0.1, con; i < 15 && Math.abs(dphi) > 1e-7; i++) {\r\n\t\t\tcon = e * Math.sin(phi);\r\n\t\t\tcon = Math.pow((1 - con) / (1 + con), e / 2);\r\n\t\t\tdphi = Math.PI / 2 - 2 * Math.atan(ts * con) - phi;\r\n\t\t\tphi += dphi;\r\n\t\t}\r\n\r\n\t\treturn new LatLng(phi * d, point.x * d / r);\r\n\t}\r\n};\n\n/*\n * @class Projection\n\n * An object with methods for projecting geographical coordinates of the world onto\n * a flat surface (and back). See [Map projection](http://en.wikipedia.org/wiki/Map_projection).\n\n * @property bounds: Bounds\n * The bounds (specified in CRS units) where the projection is valid\n\n * @method project(latlng: LatLng): Point\n * Projects geographical coordinates into a 2D point.\n * Only accepts actual `L.LatLng` instances, not arrays.\n\n * @method unproject(point: Point): LatLng\n * The inverse of `project`. Projects a 2D point into a geographical location.\n * Only accepts actual `L.Point` instances, not arrays.\n\n * Note that the projection instances do not inherit from Leafet's `Class` object,\n * and can't be instantiated. Also, new classes can't inherit from them,\n * and methods can't be added to them with the `include` function.\n\n */\n\n\n\n\nvar index = (Object.freeze || Object)({\n\tLonLat: LonLat,\n\tMercator: Mercator,\n\tSphericalMercator: SphericalMercator\n});\n\n/*\r\n * @namespace CRS\r\n * @crs L.CRS.EPSG3395\r\n *\r\n * Rarely used by some commercial tile providers. Uses Elliptical Mercator projection.\r\n */\r\nvar EPSG3395 = extend({}, Earth, {\r\n\tcode: 'EPSG:3395',\r\n\tprojection: Mercator,\r\n\r\n\ttransformation: (function () {\r\n\t\tvar scale = 0.5 / (Math.PI * Mercator.R);\r\n\t\treturn toTransformation(scale, 0.5, -scale, 0.5);\r\n\t}())\r\n});\n\n/*\r\n * @namespace CRS\r\n * @crs L.CRS.EPSG4326\r\n *\r\n * A common CRS among GIS enthusiasts. Uses simple Equirectangular projection.\r\n *\r\n * Leaflet 1.0.x complies with the [TMS coordinate scheme for EPSG:4326](https://wiki.osgeo.org/wiki/Tile_Map_Service_Specification#global-geodetic),\r\n * which is a breaking change from 0.7.x behaviour. If you are using a `TileLayer`\r\n * with this CRS, ensure that there are two 256x256 pixel tiles covering the\r\n * whole earth at zoom level zero, and that the tile coordinate origin is (-180,+90),\r\n * or (-180,-90) for `TileLayer`s with [the `tms` option](#tilelayer-tms) set.\r\n */\r\n\r\nvar EPSG4326 = extend({}, Earth, {\r\n\tcode: 'EPSG:4326',\r\n\tprojection: LonLat,\r\n\ttransformation: toTransformation(1 / 180, 1, -1 / 180, 0.5)\r\n});\n\n/*\n * @namespace CRS\n * @crs L.CRS.Simple\n *\n * A simple CRS that maps longitude and latitude into `x` and `y` directly.\n * May be used for maps of flat surfaces (e.g. game maps). Note that the `y`\n * axis should still be inverted (going from bottom to top). `distance()` returns\n * simple euclidean distance.\n */\n\nvar Simple = extend({}, CRS, {\n\tprojection: LonLat,\n\ttransformation: toTransformation(1, 0, -1, 0),\n\n\tscale: function (zoom) {\n\t\treturn Math.pow(2, zoom);\n\t},\n\n\tzoom: function (scale) {\n\t\treturn Math.log(scale) / Math.LN2;\n\t},\n\n\tdistance: function (latlng1, latlng2) {\n\t\tvar dx = latlng2.lng - latlng1.lng,\n\t\t dy = latlng2.lat - latlng1.lat;\n\n\t\treturn Math.sqrt(dx * dx + dy * dy);\n\t},\n\n\tinfinite: true\n});\n\nCRS.Earth = Earth;\nCRS.EPSG3395 = EPSG3395;\nCRS.EPSG3857 = EPSG3857;\nCRS.EPSG900913 = EPSG900913;\nCRS.EPSG4326 = EPSG4326;\nCRS.Simple = Simple;\n\n/*\n * @class Layer\n * @inherits Evented\n * @aka L.Layer\n * @aka ILayer\n *\n * A set of methods from the Layer base class that all Leaflet layers use.\n * Inherits all methods, options and events from `L.Evented`.\n *\n * @example\n *\n * ```js\n * var layer = L.Marker(latlng).addTo(map);\n * layer.addTo(map);\n * layer.remove();\n * ```\n *\n * @event add: Event\n * Fired after the layer is added to a map\n *\n * @event remove: Event\n * Fired after the layer is removed from a map\n */\n\n\nvar Layer = Evented.extend({\n\n\t// Classes extending `L.Layer` will inherit the following options:\n\toptions: {\n\t\t// @option pane: String = 'overlayPane'\n\t\t// By default the layer will be added to the map's [overlay pane](#map-overlaypane). Overriding this option will cause the layer to be placed on another pane by default.\n\t\tpane: 'overlayPane',\n\n\t\t// @option attribution: String = null\n\t\t// String to be shown in the attribution control, describes the layer data, e.g. \"© Mapbox\".\n\t\tattribution: null,\n\n\t\tbubblingMouseEvents: true\n\t},\n\n\t/* @section\n\t * Classes extending `L.Layer` will inherit the following methods:\n\t *\n\t * @method addTo(map: Map|LayerGroup): this\n\t * Adds the layer to the given map or layer group.\n\t */\n\taddTo: function (map) {\n\t\tmap.addLayer(this);\n\t\treturn this;\n\t},\n\n\t// @method remove: this\n\t// Removes the layer from the map it is currently active on.\n\tremove: function () {\n\t\treturn this.removeFrom(this._map || this._mapToAdd);\n\t},\n\n\t// @method removeFrom(map: Map): this\n\t// Removes the layer from the given map\n\tremoveFrom: function (obj) {\n\t\tif (obj) {\n\t\t\tobj.removeLayer(this);\n\t\t}\n\t\treturn this;\n\t},\n\n\t// @method getPane(name? : String): HTMLElement\n\t// Returns the `HTMLElement` representing the named pane on the map. If `name` is omitted, returns the pane for this layer.\n\tgetPane: function (name) {\n\t\treturn this._map.getPane(name ? (this.options[name] || name) : this.options.pane);\n\t},\n\n\taddInteractiveTarget: function (targetEl) {\n\t\tthis._map._targets[stamp(targetEl)] = this;\n\t\treturn this;\n\t},\n\n\tremoveInteractiveTarget: function (targetEl) {\n\t\tdelete this._map._targets[stamp(targetEl)];\n\t\treturn this;\n\t},\n\n\t// @method getAttribution: String\n\t// Used by the `attribution control`, returns the [attribution option](#gridlayer-attribution).\n\tgetAttribution: function () {\n\t\treturn this.options.attribution;\n\t},\n\n\t_layerAdd: function (e) {\n\t\tvar map = e.target;\n\n\t\t// check in case layer gets added and then removed before the map is ready\n\t\tif (!map.hasLayer(this)) { return; }\n\n\t\tthis._map = map;\n\t\tthis._zoomAnimated = map._zoomAnimated;\n\n\t\tif (this.getEvents) {\n\t\t\tvar events = this.getEvents();\n\t\t\tmap.on(events, this);\n\t\t\tthis.once('remove', function () {\n\t\t\t\tmap.off(events, this);\n\t\t\t}, this);\n\t\t}\n\n\t\tthis.onAdd(map);\n\n\t\tif (this.getAttribution && map.attributionControl) {\n\t\t\tmap.attributionControl.addAttribution(this.getAttribution());\n\t\t}\n\n\t\tthis.fire('add');\n\t\tmap.fire('layeradd', {layer: this});\n\t}\n});\n\n/* @section Extension methods\n * @uninheritable\n *\n * Every layer should extend from `L.Layer` and (re-)implement the following methods.\n *\n * @method onAdd(map: Map): this\n * Should contain code that creates DOM elements for the layer, adds them to `map panes` where they should belong and puts listeners on relevant map events. Called on [`map.addLayer(layer)`](#map-addlayer).\n *\n * @method onRemove(map: Map): this\n * Should contain all clean up code that removes the layer's elements from the DOM and removes listeners previously added in [`onAdd`](#layer-onadd). Called on [`map.removeLayer(layer)`](#map-removelayer).\n *\n * @method getEvents(): Object\n * This optional method should return an object like `{ viewreset: this._reset }` for [`addEventListener`](#evented-addeventlistener). The event handlers in this object will be automatically added and removed from the map with your layer.\n *\n * @method getAttribution(): String\n * This optional method should return a string containing HTML to be shown on the `Attribution control` whenever the layer is visible.\n *\n * @method beforeAdd(map: Map): this\n * Optional method. Called on [`map.addLayer(layer)`](#map-addlayer), before the layer is added to the map, before events are initialized, without waiting until the map is in a usable state. Use for early initialization only.\n */\n\n\n/* @namespace Map\n * @section Layer events\n *\n * @event layeradd: LayerEvent\n * Fired when a new layer is added to the map.\n *\n * @event layerremove: LayerEvent\n * Fired when some layer is removed from the map\n *\n * @section Methods for Layers and Controls\n */\nMap.include({\n\t// @method addLayer(layer: Layer): this\n\t// Adds the given layer to the map\n\taddLayer: function (layer) {\n\t\tif (!layer._layerAdd) {\n\t\t\tthrow new Error('The provided object is not a Layer.');\n\t\t}\n\n\t\tvar id = stamp(layer);\n\t\tif (this._layers[id]) { return this; }\n\t\tthis._layers[id] = layer;\n\n\t\tlayer._mapToAdd = this;\n\n\t\tif (layer.beforeAdd) {\n\t\t\tlayer.beforeAdd(this);\n\t\t}\n\n\t\tthis.whenReady(layer._layerAdd, layer);\n\n\t\treturn this;\n\t},\n\n\t// @method removeLayer(layer: Layer): this\n\t// Removes the given layer from the map.\n\tremoveLayer: function (layer) {\n\t\tvar id = stamp(layer);\n\n\t\tif (!this._layers[id]) { return this; }\n\n\t\tif (this._loaded) {\n\t\t\tlayer.onRemove(this);\n\t\t}\n\n\t\tif (layer.getAttribution && this.attributionControl) {\n\t\t\tthis.attributionControl.removeAttribution(layer.getAttribution());\n\t\t}\n\n\t\tdelete this._layers[id];\n\n\t\tif (this._loaded) {\n\t\t\tthis.fire('layerremove', {layer: layer});\n\t\t\tlayer.fire('remove');\n\t\t}\n\n\t\tlayer._map = layer._mapToAdd = null;\n\n\t\treturn this;\n\t},\n\n\t// @method hasLayer(layer: Layer): Boolean\n\t// Returns `true` if the given layer is currently added to the map\n\thasLayer: function (layer) {\n\t\treturn !!layer && (stamp(layer) in this._layers);\n\t},\n\n\t/* @method eachLayer(fn: Function, context?: Object): this\n\t * Iterates over the layers of the map, optionally specifying context of the iterator function.\n\t * ```\n\t * map.eachLayer(function(layer){\n\t * layer.bindPopup('Hello');\n\t * });\n\t * ```\n\t */\n\teachLayer: function (method, context) {\n\t\tfor (var i in this._layers) {\n\t\t\tmethod.call(context, this._layers[i]);\n\t\t}\n\t\treturn this;\n\t},\n\n\t_addLayers: function (layers) {\n\t\tlayers = layers ? (isArray(layers) ? layers : [layers]) : [];\n\n\t\tfor (var i = 0, len = layers.length; i < len; i++) {\n\t\t\tthis.addLayer(layers[i]);\n\t\t}\n\t},\n\n\t_addZoomLimit: function (layer) {\n\t\tif (isNaN(layer.options.maxZoom) || !isNaN(layer.options.minZoom)) {\n\t\t\tthis._zoomBoundLayers[stamp(layer)] = layer;\n\t\t\tthis._updateZoomLevels();\n\t\t}\n\t},\n\n\t_removeZoomLimit: function (layer) {\n\t\tvar id = stamp(layer);\n\n\t\tif (this._zoomBoundLayers[id]) {\n\t\t\tdelete this._zoomBoundLayers[id];\n\t\t\tthis._updateZoomLevels();\n\t\t}\n\t},\n\n\t_updateZoomLevels: function () {\n\t\tvar minZoom = Infinity,\n\t\t maxZoom = -Infinity,\n\t\t oldZoomSpan = this._getZoomSpan();\n\n\t\tfor (var i in this._zoomBoundLayers) {\n\t\t\tvar options = this._zoomBoundLayers[i].options;\n\n\t\t\tminZoom = options.minZoom === undefined ? minZoom : Math.min(minZoom, options.minZoom);\n\t\t\tmaxZoom = options.maxZoom === undefined ? maxZoom : Math.max(maxZoom, options.maxZoom);\n\t\t}\n\n\t\tthis._layersMaxZoom = maxZoom === -Infinity ? undefined : maxZoom;\n\t\tthis._layersMinZoom = minZoom === Infinity ? undefined : minZoom;\n\n\t\t// @section Map state change events\n\t\t// @event zoomlevelschange: Event\n\t\t// Fired when the number of zoomlevels on the map is changed due\n\t\t// to adding or removing a layer.\n\t\tif (oldZoomSpan !== this._getZoomSpan()) {\n\t\t\tthis.fire('zoomlevelschange');\n\t\t}\n\n\t\tif (this.options.maxZoom === undefined && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom) {\n\t\t\tthis.setZoom(this._layersMaxZoom);\n\t\t}\n\t\tif (this.options.minZoom === undefined && this._layersMinZoom && this.getZoom() < this._layersMinZoom) {\n\t\t\tthis.setZoom(this._layersMinZoom);\n\t\t}\n\t}\n});\n\n/*\r\n * @class LayerGroup\r\n * @aka L.LayerGroup\r\n * @inherits Layer\r\n *\r\n * Used to group several layers and handle them as one. If you add it to the map,\r\n * any layers added or removed from the group will be added/removed on the map as\r\n * well. Extends `Layer`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * L.layerGroup([marker1, marker2])\r\n * \t.addLayer(polyline)\r\n * \t.addTo(map);\r\n * ```\r\n */\r\n\r\nvar LayerGroup = Layer.extend({\r\n\r\n\tinitialize: function (layers, options) {\r\n\t\tsetOptions(this, options);\r\n\r\n\t\tthis._layers = {};\r\n\r\n\t\tvar i, len;\r\n\r\n\t\tif (layers) {\r\n\t\t\tfor (i = 0, len = layers.length; i < len; i++) {\r\n\t\t\t\tthis.addLayer(layers[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\t// @method addLayer(layer: Layer): this\r\n\t// Adds the given layer to the group.\r\n\taddLayer: function (layer) {\r\n\t\tvar id = this.getLayerId(layer);\r\n\r\n\t\tthis._layers[id] = layer;\r\n\r\n\t\tif (this._map) {\r\n\t\t\tthis._map.addLayer(layer);\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method removeLayer(layer: Layer): this\r\n\t// Removes the given layer from the group.\r\n\t// @alternative\r\n\t// @method removeLayer(id: Number): this\r\n\t// Removes the layer with the given internal ID from the group.\r\n\tremoveLayer: function (layer) {\r\n\t\tvar id = layer in this._layers ? layer : this.getLayerId(layer);\r\n\r\n\t\tif (this._map && this._layers[id]) {\r\n\t\t\tthis._map.removeLayer(this._layers[id]);\r\n\t\t}\r\n\r\n\t\tdelete this._layers[id];\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method hasLayer(layer: Layer): Boolean\r\n\t// Returns `true` if the given layer is currently added to the group.\r\n\t// @alternative\r\n\t// @method hasLayer(id: Number): Boolean\r\n\t// Returns `true` if the given internal ID is currently added to the group.\r\n\thasLayer: function (layer) {\r\n\t\treturn !!layer && (layer in this._layers || this.getLayerId(layer) in this._layers);\r\n\t},\r\n\r\n\t// @method clearLayers(): this\r\n\t// Removes all the layers from the group.\r\n\tclearLayers: function () {\r\n\t\treturn this.eachLayer(this.removeLayer, this);\r\n\t},\r\n\r\n\t// @method invoke(methodName: String, …): this\r\n\t// Calls `methodName` on every layer contained in this group, passing any\r\n\t// additional parameters. Has no effect if the layers contained do not\r\n\t// implement `methodName`.\r\n\tinvoke: function (methodName) {\r\n\t\tvar args = Array.prototype.slice.call(arguments, 1),\r\n\t\t i, layer;\r\n\r\n\t\tfor (i in this._layers) {\r\n\t\t\tlayer = this._layers[i];\r\n\r\n\t\t\tif (layer[methodName]) {\r\n\t\t\t\tlayer[methodName].apply(layer, args);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\tonAdd: function (map) {\r\n\t\tthis.eachLayer(map.addLayer, map);\r\n\t},\r\n\r\n\tonRemove: function (map) {\r\n\t\tthis.eachLayer(map.removeLayer, map);\r\n\t},\r\n\r\n\t// @method eachLayer(fn: Function, context?: Object): this\r\n\t// Iterates over the layers of the group, optionally specifying context of the iterator function.\r\n\t// ```js\r\n\t// group.eachLayer(function (layer) {\r\n\t// \tlayer.bindPopup('Hello');\r\n\t// });\r\n\t// ```\r\n\teachLayer: function (method, context) {\r\n\t\tfor (var i in this._layers) {\r\n\t\t\tmethod.call(context, this._layers[i]);\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method getLayer(id: Number): Layer\r\n\t// Returns the layer with the given internal ID.\r\n\tgetLayer: function (id) {\r\n\t\treturn this._layers[id];\r\n\t},\r\n\r\n\t// @method getLayers(): Layer[]\r\n\t// Returns an array of all the layers added to the group.\r\n\tgetLayers: function () {\r\n\t\tvar layers = [];\r\n\t\tthis.eachLayer(layers.push, layers);\r\n\t\treturn layers;\r\n\t},\r\n\r\n\t// @method setZIndex(zIndex: Number): this\r\n\t// Calls `setZIndex` on every layer contained in this group, passing the z-index.\r\n\tsetZIndex: function (zIndex) {\r\n\t\treturn this.invoke('setZIndex', zIndex);\r\n\t},\r\n\r\n\t// @method getLayerId(layer: Layer): Number\r\n\t// Returns the internal ID for a layer\r\n\tgetLayerId: function (layer) {\r\n\t\treturn stamp(layer);\r\n\t}\r\n});\r\n\r\n\r\n// @factory L.layerGroup(layers?: Layer[], options?: Object)\r\n// Create a layer group, optionally given an initial set of layers and an `options` object.\r\nvar layerGroup = function (layers, options) {\r\n\treturn new LayerGroup(layers, options);\r\n};\n\n/*\r\n * @class FeatureGroup\r\n * @aka L.FeatureGroup\r\n * @inherits LayerGroup\r\n *\r\n * Extended `LayerGroup` that makes it easier to do the same thing to all its member layers:\r\n * * [`bindPopup`](#layer-bindpopup) binds a popup to all of the layers at once (likewise with [`bindTooltip`](#layer-bindtooltip))\r\n * * Events are propagated to the `FeatureGroup`, so if the group has an event\r\n * handler, it will handle events from any of the layers. This includes mouse events\r\n * and custom events.\r\n * * Has `layeradd` and `layerremove` events\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * L.featureGroup([marker1, marker2, polyline])\r\n * \t.bindPopup('Hello world!')\r\n * \t.on('click', function() { alert('Clicked on a member of the group!'); })\r\n * \t.addTo(map);\r\n * ```\r\n */\r\n\r\nvar FeatureGroup = LayerGroup.extend({\r\n\r\n\taddLayer: function (layer) {\r\n\t\tif (this.hasLayer(layer)) {\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\tlayer.addEventParent(this);\r\n\r\n\t\tLayerGroup.prototype.addLayer.call(this, layer);\r\n\r\n\t\t// @event layeradd: LayerEvent\r\n\t\t// Fired when a layer is added to this `FeatureGroup`\r\n\t\treturn this.fire('layeradd', {layer: layer});\r\n\t},\r\n\r\n\tremoveLayer: function (layer) {\r\n\t\tif (!this.hasLayer(layer)) {\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\tif (layer in this._layers) {\r\n\t\t\tlayer = this._layers[layer];\r\n\t\t}\r\n\r\n\t\tlayer.removeEventParent(this);\r\n\r\n\t\tLayerGroup.prototype.removeLayer.call(this, layer);\r\n\r\n\t\t// @event layerremove: LayerEvent\r\n\t\t// Fired when a layer is removed from this `FeatureGroup`\r\n\t\treturn this.fire('layerremove', {layer: layer});\r\n\t},\r\n\r\n\t// @method setStyle(style: Path options): this\r\n\t// Sets the given path options to each layer of the group that has a `setStyle` method.\r\n\tsetStyle: function (style) {\r\n\t\treturn this.invoke('setStyle', style);\r\n\t},\r\n\r\n\t// @method bringToFront(): this\r\n\t// Brings the layer group to the top of all other layers\r\n\tbringToFront: function () {\r\n\t\treturn this.invoke('bringToFront');\r\n\t},\r\n\r\n\t// @method bringToBack(): this\r\n\t// Brings the layer group to the back of all other layers\r\n\tbringToBack: function () {\r\n\t\treturn this.invoke('bringToBack');\r\n\t},\r\n\r\n\t// @method getBounds(): LatLngBounds\r\n\t// Returns the LatLngBounds of the Feature Group (created from bounds and coordinates of its children).\r\n\tgetBounds: function () {\r\n\t\tvar bounds = new LatLngBounds();\r\n\r\n\t\tfor (var id in this._layers) {\r\n\t\t\tvar layer = this._layers[id];\r\n\t\t\tbounds.extend(layer.getBounds ? layer.getBounds() : layer.getLatLng());\r\n\t\t}\r\n\t\treturn bounds;\r\n\t}\r\n});\r\n\r\n// @factory L.featureGroup(layers: Layer[])\r\n// Create a feature group, optionally given an initial set of layers.\r\nvar featureGroup = function (layers) {\r\n\treturn new FeatureGroup(layers);\r\n};\n\n/*\r\n * @class Icon\r\n * @aka L.Icon\r\n *\r\n * Represents an icon to provide when creating a marker.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var myIcon = L.icon({\r\n * iconUrl: 'my-icon.png',\r\n * iconRetinaUrl: 'my-icon@2x.png',\r\n * iconSize: [38, 95],\r\n * iconAnchor: [22, 94],\r\n * popupAnchor: [-3, -76],\r\n * shadowUrl: 'my-icon-shadow.png',\r\n * shadowRetinaUrl: 'my-icon-shadow@2x.png',\r\n * shadowSize: [68, 95],\r\n * shadowAnchor: [22, 94]\r\n * });\r\n *\r\n * L.marker([50.505, 30.57], {icon: myIcon}).addTo(map);\r\n * ```\r\n *\r\n * `L.Icon.Default` extends `L.Icon` and is the blue icon Leaflet uses for markers by default.\r\n *\r\n */\r\n\r\nvar Icon = Class.extend({\r\n\r\n\t/* @section\r\n\t * @aka Icon options\r\n\t *\r\n\t * @option iconUrl: String = null\r\n\t * **(required)** The URL to the icon image (absolute or relative to your script path).\r\n\t *\r\n\t * @option iconRetinaUrl: String = null\r\n\t * The URL to a retina sized version of the icon image (absolute or relative to your\r\n\t * script path). Used for Retina screen devices.\r\n\t *\r\n\t * @option iconSize: Point = null\r\n\t * Size of the icon image in pixels.\r\n\t *\r\n\t * @option iconAnchor: Point = null\r\n\t * The coordinates of the \"tip\" of the icon (relative to its top left corner). The icon\r\n\t * will be aligned so that this point is at the marker's geographical location. Centered\r\n\t * by default if size is specified, also can be set in CSS with negative margins.\r\n\t *\r\n\t * @option popupAnchor: Point = [0, 0]\r\n\t * The coordinates of the point from which popups will \"open\", relative to the icon anchor.\r\n\t *\r\n\t * @option tooltipAnchor: Point = [0, 0]\r\n\t * The coordinates of the point from which tooltips will \"open\", relative to the icon anchor.\r\n\t *\r\n\t * @option shadowUrl: String = null\r\n\t * The URL to the icon shadow image. If not specified, no shadow image will be created.\r\n\t *\r\n\t * @option shadowRetinaUrl: String = null\r\n\t *\r\n\t * @option shadowSize: Point = null\r\n\t * Size of the shadow image in pixels.\r\n\t *\r\n\t * @option shadowAnchor: Point = null\r\n\t * The coordinates of the \"tip\" of the shadow (relative to its top left corner) (the same\r\n\t * as iconAnchor if not specified).\r\n\t *\r\n\t * @option className: String = ''\r\n\t * A custom class name to assign to both icon and shadow images. Empty by default.\r\n\t */\r\n\r\n\toptions: {\r\n\t\tpopupAnchor: [0, 0],\r\n\t\ttooltipAnchor: [0, 0],\r\n\t},\r\n\r\n\tinitialize: function (options) {\r\n\t\tsetOptions(this, options);\r\n\t},\r\n\r\n\t// @method createIcon(oldIcon?: HTMLElement): HTMLElement\r\n\t// Called internally when the icon has to be shown, returns a `` HTML element\r\n\t// styled according to the options.\r\n\tcreateIcon: function (oldIcon) {\r\n\t\treturn this._createIcon('icon', oldIcon);\r\n\t},\r\n\r\n\t// @method createShadow(oldIcon?: HTMLElement): HTMLElement\r\n\t// As `createIcon`, but for the shadow beneath it.\r\n\tcreateShadow: function (oldIcon) {\r\n\t\treturn this._createIcon('shadow', oldIcon);\r\n\t},\r\n\r\n\t_createIcon: function (name, oldIcon) {\r\n\t\tvar src = this._getIconUrl(name);\r\n\r\n\t\tif (!src) {\r\n\t\t\tif (name === 'icon') {\r\n\t\t\t\tthrow new Error('iconUrl not set in Icon options (see the docs).');\r\n\t\t\t}\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\tvar img = this._createImg(src, oldIcon && oldIcon.tagName === 'IMG' ? oldIcon : null);\r\n\t\tthis._setIconStyles(img, name);\r\n\r\n\t\treturn img;\r\n\t},\r\n\r\n\t_setIconStyles: function (img, name) {\r\n\t\tvar options = this.options;\r\n\t\tvar sizeOption = options[name + 'Size'];\r\n\r\n\t\tif (typeof sizeOption === 'number') {\r\n\t\t\tsizeOption = [sizeOption, sizeOption];\r\n\t\t}\r\n\r\n\t\tvar size = toPoint(sizeOption),\r\n\t\t anchor = toPoint(name === 'shadow' && options.shadowAnchor || options.iconAnchor ||\r\n\t\t size && size.divideBy(2, true));\r\n\r\n\t\timg.className = 'leaflet-marker-' + name + ' ' + (options.className || '');\r\n\r\n\t\tif (anchor) {\r\n\t\t\timg.style.marginLeft = (-anchor.x) + 'px';\r\n\t\t\timg.style.marginTop = (-anchor.y) + 'px';\r\n\t\t}\r\n\r\n\t\tif (size) {\r\n\t\t\timg.style.width = size.x + 'px';\r\n\t\t\timg.style.height = size.y + 'px';\r\n\t\t}\r\n\t},\r\n\r\n\t_createImg: function (src, el) {\r\n\t\tel = el || document.createElement('img');\r\n\t\tel.src = src;\r\n\t\treturn el;\r\n\t},\r\n\r\n\t_getIconUrl: function (name) {\r\n\t\treturn retina && this.options[name + 'RetinaUrl'] || this.options[name + 'Url'];\r\n\t}\r\n});\r\n\r\n\r\n// @factory L.icon(options: Icon options)\r\n// Creates an icon instance with the given options.\r\nfunction icon(options) {\r\n\treturn new Icon(options);\r\n}\n\n/*\n * @miniclass Icon.Default (Icon)\n * @aka L.Icon.Default\n * @section\n *\n * A trivial subclass of `Icon`, represents the icon to use in `Marker`s when\n * no icon is specified. Points to the blue marker image distributed with Leaflet\n * releases.\n *\n * In order to customize the default icon, just change the properties of `L.Icon.Default.prototype.options`\n * (which is a set of `Icon options`).\n *\n * If you want to _completely_ replace the default icon, override the\n * `L.Marker.prototype.options.icon` with your own icon instead.\n */\n\nvar IconDefault = Icon.extend({\n\n\toptions: {\n\t\ticonUrl: 'marker-icon.png',\n\t\ticonRetinaUrl: 'marker-icon-2x.png',\n\t\tshadowUrl: 'marker-shadow.png',\n\t\ticonSize: [25, 41],\n\t\ticonAnchor: [12, 41],\n\t\tpopupAnchor: [1, -34],\n\t\ttooltipAnchor: [16, -28],\n\t\tshadowSize: [41, 41]\n\t},\n\n\t_getIconUrl: function (name) {\n\t\tif (!IconDefault.imagePath) {\t// Deprecated, backwards-compatibility only\n\t\t\tIconDefault.imagePath = this._detectIconPath();\n\t\t}\n\n\t\t// @option imagePath: String\n\t\t// `Icon.Default` will try to auto-detect the location of the\n\t\t// blue icon images. If you are placing these images in a non-standard\n\t\t// way, set this option to point to the right path.\n\t\treturn (this.options.imagePath || IconDefault.imagePath) + Icon.prototype._getIconUrl.call(this, name);\n\t},\n\n\t_detectIconPath: function () {\n\t\tvar el = create$1('div', 'leaflet-default-icon-path', document.body);\n\t\tvar path = getStyle(el, 'background-image') ||\n\t\t getStyle(el, 'backgroundImage');\t// IE8\n\n\t\tdocument.body.removeChild(el);\n\n\t\tif (path === null || path.indexOf('url') !== 0) {\n\t\t\tpath = '';\n\t\t} else {\n\t\t\tpath = path.replace(/^url\\([\"']?/, '').replace(/marker-icon\\.png[\"']?\\)$/, '');\n\t\t}\n\n\t\treturn path;\n\t}\n});\n\n/*\n * L.Handler.MarkerDrag is used internally by L.Marker to make the markers draggable.\n */\n\n\n/* @namespace Marker\n * @section Interaction handlers\n *\n * Interaction handlers are properties of a marker instance that allow you to control interaction behavior in runtime, enabling or disabling certain features such as dragging (see `Handler` methods). Example:\n *\n * ```js\n * marker.dragging.disable();\n * ```\n *\n * @property dragging: Handler\n * Marker dragging handler (by both mouse and touch). Only valid when the marker is on the map (Otherwise set [`marker.options.draggable`](#marker-draggable)).\n */\n\nvar MarkerDrag = Handler.extend({\n\tinitialize: function (marker) {\n\t\tthis._marker = marker;\n\t},\n\n\taddHooks: function () {\n\t\tvar icon = this._marker._icon;\n\n\t\tif (!this._draggable) {\n\t\t\tthis._draggable = new Draggable(icon, icon, true);\n\t\t}\n\n\t\tthis._draggable.on({\n\t\t\tdragstart: this._onDragStart,\n\t\t\tpredrag: this._onPreDrag,\n\t\t\tdrag: this._onDrag,\n\t\t\tdragend: this._onDragEnd\n\t\t}, this).enable();\n\n\t\taddClass(icon, 'leaflet-marker-draggable');\n\t},\n\n\tremoveHooks: function () {\n\t\tthis._draggable.off({\n\t\t\tdragstart: this._onDragStart,\n\t\t\tpredrag: this._onPreDrag,\n\t\t\tdrag: this._onDrag,\n\t\t\tdragend: this._onDragEnd\n\t\t}, this).disable();\n\n\t\tif (this._marker._icon) {\n\t\t\tremoveClass(this._marker._icon, 'leaflet-marker-draggable');\n\t\t}\n\t},\n\n\tmoved: function () {\n\t\treturn this._draggable && this._draggable._moved;\n\t},\n\n\t_adjustPan: function (e) {\n\t\tvar marker = this._marker,\n\t\t map = marker._map,\n\t\t speed = this._marker.options.autoPanSpeed,\n\t\t padding = this._marker.options.autoPanPadding,\n\t\t iconPos = L.DomUtil.getPosition(marker._icon),\n\t\t bounds = map.getPixelBounds(),\n\t\t origin = map.getPixelOrigin();\n\n\t\tvar panBounds = toBounds(\n\t\t\tbounds.min._subtract(origin).add(padding),\n\t\t\tbounds.max._subtract(origin).subtract(padding)\n\t\t);\n\n\t\tif (!panBounds.contains(iconPos)) {\n\t\t\t// Compute incremental movement\n\t\t\tvar movement = toPoint(\n\t\t\t\t(Math.max(panBounds.max.x, iconPos.x) - panBounds.max.x) / (bounds.max.x - panBounds.max.x) -\n\t\t\t\t(Math.min(panBounds.min.x, iconPos.x) - panBounds.min.x) / (bounds.min.x - panBounds.min.x),\n\n\t\t\t\t(Math.max(panBounds.max.y, iconPos.y) - panBounds.max.y) / (bounds.max.y - panBounds.max.y) -\n\t\t\t\t(Math.min(panBounds.min.y, iconPos.y) - panBounds.min.y) / (bounds.min.y - panBounds.min.y)\n\t\t\t).multiplyBy(speed);\n\n\t\t\tmap.panBy(movement, {animate: false});\n\n\t\t\tthis._draggable._newPos._add(movement);\n\t\t\tthis._draggable._startPos._add(movement);\n\n\t\t\tL.DomUtil.setPosition(marker._icon, this._draggable._newPos);\n\t\t\tthis._onDrag(e);\n\n\t\t\tthis._panRequest = requestAnimFrame(this._adjustPan.bind(this, e));\n\t\t}\n\t},\n\n\t_onDragStart: function () {\n\t\t// @section Dragging events\n\t\t// @event dragstart: Event\n\t\t// Fired when the user starts dragging the marker.\n\n\t\t// @event movestart: Event\n\t\t// Fired when the marker starts moving (because of dragging).\n\n\t\tthis._oldLatLng = this._marker.getLatLng();\n\t\tthis._marker\n\t\t .closePopup()\n\t\t .fire('movestart')\n\t\t .fire('dragstart');\n\t},\n\n\t_onPreDrag: function (e) {\n\t\tif (this._marker.options.autoPan) {\n\t\t\tcancelAnimFrame(this._panRequest);\n\t\t\tthis._panRequest = requestAnimFrame(this._adjustPan.bind(this, e));\n\t\t}\n\t},\n\n\t_onDrag: function (e) {\n\t\tvar marker = this._marker,\n\t\t shadow = marker._shadow,\n\t\ticonPos = getPosition(marker._icon),\n\t\t latlng = marker._map.layerPointToLatLng(iconPos);\n\n\t\t// update shadow position\n\t\tif (shadow) {\n\t\t\tsetPosition(shadow, iconPos);\n\t\t}\n\n\t\tmarker._latlng = latlng;\n\t\te.latlng = latlng;\n\t\te.oldLatLng = this._oldLatLng;\n\n\t\t// @event drag: Event\n\t\t// Fired repeatedly while the user drags the marker.\n\t\tmarker\n\t\t .fire('move', e)\n\t\t .fire('drag', e);\n\t},\n\n\t_onDragEnd: function (e) {\n\t\t// @event dragend: DragEndEvent\n\t\t// Fired when the user stops dragging the marker.\n\n\t\t cancelAnimFrame(this._panRequest);\n\n\t\t// @event moveend: Event\n\t\t// Fired when the marker stops moving (because of dragging).\n\t\tdelete this._oldLatLng;\n\t\tthis._marker\n\t\t .fire('moveend')\n\t\t .fire('dragend', e);\n\t}\n});\n\n/*\r\n * @class Marker\r\n * @inherits Interactive layer\r\n * @aka L.Marker\r\n * L.Marker is used to display clickable/draggable icons on the map. Extends `Layer`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * L.marker([50.5, 30.5]).addTo(map);\r\n * ```\r\n */\r\n\r\nvar Marker = Layer.extend({\r\n\r\n\t// @section\r\n\t// @aka Marker options\r\n\toptions: {\r\n\t\t// @option icon: Icon = *\r\n\t\t// Icon instance to use for rendering the marker.\r\n\t\t// See [Icon documentation](#L.Icon) for details on how to customize the marker icon.\r\n\t\t// If not specified, a common instance of `L.Icon.Default` is used.\r\n\t\ticon: new IconDefault(),\r\n\r\n\t\t// Option inherited from \"Interactive layer\" abstract class\r\n\t\tinteractive: true,\r\n\r\n\t\t// @option draggable: Boolean = false\r\n\t\t// Whether the marker is draggable with mouse/touch or not.\r\n\t\tdraggable: false,\r\n\r\n\t\t// @option autoPan: Boolean = false\r\n\t\t// Set it to `true` if you want the map to do panning animation when marker hits the edges.\r\n\t\tautoPan: false,\r\n\r\n\t\t// @option autoPanPadding: Point = Point(50, 50)\r\n\t\t// Equivalent of setting both top left and bottom right autopan padding to the same value.\r\n\t\tautoPanPadding: [50, 50],\r\n\r\n\t\t// @option autoPanSpeed: Number = 10\r\n\t\t// Number of pixels the map should move by.\r\n\t\tautoPanSpeed: 10,\r\n\r\n\t\t// @option keyboard: Boolean = true\r\n\t\t// Whether the marker can be tabbed to with a keyboard and clicked by pressing enter.\r\n\t\tkeyboard: true,\r\n\r\n\t\t// @option title: String = ''\r\n\t\t// Text for the browser tooltip that appear on marker hover (no tooltip by default).\r\n\t\ttitle: '',\r\n\r\n\t\t// @option alt: String = ''\r\n\t\t// Text for the `alt` attribute of the icon image (useful for accessibility).\r\n\t\talt: '',\r\n\r\n\t\t// @option zIndexOffset: Number = 0\r\n\t\t// By default, marker images zIndex is set automatically based on its latitude. Use this option if you want to put the marker on top of all others (or below), specifying a high value like `1000` (or high negative value, respectively).\r\n\t\tzIndexOffset: 0,\r\n\r\n\t\t// @option opacity: Number = 1.0\r\n\t\t// The opacity of the marker.\r\n\t\topacity: 1,\r\n\r\n\t\t// @option riseOnHover: Boolean = false\r\n\t\t// If `true`, the marker will get on top of others when you hover the mouse over it.\r\n\t\triseOnHover: false,\r\n\r\n\t\t// @option riseOffset: Number = 250\r\n\t\t// The z-index offset used for the `riseOnHover` feature.\r\n\t\triseOffset: 250,\r\n\r\n\t\t// @option pane: String = 'markerPane'\r\n\t\t// `Map pane` where the markers icon will be added.\r\n\t\tpane: 'markerPane',\r\n\r\n\t\t// @option bubblingMouseEvents: Boolean = false\r\n\t\t// When `true`, a mouse event on this marker will trigger the same event on the map\r\n\t\t// (unless [`L.DomEvent.stopPropagation`](#domevent-stoppropagation) is used).\r\n\t\tbubblingMouseEvents: false\r\n\t},\r\n\r\n\t/* @section\r\n\t *\r\n\t * In addition to [shared layer methods](#Layer) like `addTo()` and `remove()` and [popup methods](#Popup) like bindPopup() you can also use the following methods:\r\n\t */\r\n\r\n\tinitialize: function (latlng, options) {\r\n\t\tsetOptions(this, options);\r\n\t\tthis._latlng = toLatLng(latlng);\r\n\t},\r\n\r\n\tonAdd: function (map) {\r\n\t\tthis._zoomAnimated = this._zoomAnimated && map.options.markerZoomAnimation;\r\n\r\n\t\tif (this._zoomAnimated) {\r\n\t\t\tmap.on('zoomanim', this._animateZoom, this);\r\n\t\t}\r\n\r\n\t\tthis._initIcon();\r\n\t\tthis.update();\r\n\t},\r\n\r\n\tonRemove: function (map) {\r\n\t\tif (this.dragging && this.dragging.enabled()) {\r\n\t\t\tthis.options.draggable = true;\r\n\t\t\tthis.dragging.removeHooks();\r\n\t\t}\r\n\t\tdelete this.dragging;\r\n\r\n\t\tif (this._zoomAnimated) {\r\n\t\t\tmap.off('zoomanim', this._animateZoom, this);\r\n\t\t}\r\n\r\n\t\tthis._removeIcon();\r\n\t\tthis._removeShadow();\r\n\t},\r\n\r\n\tgetEvents: function () {\r\n\t\treturn {\r\n\t\t\tzoom: this.update,\r\n\t\t\tviewreset: this.update\r\n\t\t};\r\n\t},\r\n\r\n\t// @method getLatLng: LatLng\r\n\t// Returns the current geographical position of the marker.\r\n\tgetLatLng: function () {\r\n\t\treturn this._latlng;\r\n\t},\r\n\r\n\t// @method setLatLng(latlng: LatLng): this\r\n\t// Changes the marker position to the given point.\r\n\tsetLatLng: function (latlng) {\r\n\t\tvar oldLatLng = this._latlng;\r\n\t\tthis._latlng = toLatLng(latlng);\r\n\t\tthis.update();\r\n\r\n\t\t// @event move: Event\r\n\t\t// Fired when the marker is moved via [`setLatLng`](#marker-setlatlng) or by [dragging](#marker-dragging). Old and new coordinates are included in event arguments as `oldLatLng`, `latlng`.\r\n\t\treturn this.fire('move', {oldLatLng: oldLatLng, latlng: this._latlng});\r\n\t},\r\n\r\n\t// @method setZIndexOffset(offset: Number): this\r\n\t// Changes the [zIndex offset](#marker-zindexoffset) of the marker.\r\n\tsetZIndexOffset: function (offset) {\r\n\t\tthis.options.zIndexOffset = offset;\r\n\t\treturn this.update();\r\n\t},\r\n\r\n\t// @method setIcon(icon: Icon): this\r\n\t// Changes the marker icon.\r\n\tsetIcon: function (icon) {\r\n\r\n\t\tthis.options.icon = icon;\r\n\r\n\t\tif (this._map) {\r\n\t\t\tthis._initIcon();\r\n\t\t\tthis.update();\r\n\t\t}\r\n\r\n\t\tif (this._popup) {\r\n\t\t\tthis.bindPopup(this._popup, this._popup.options);\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\tgetElement: function () {\r\n\t\treturn this._icon;\r\n\t},\r\n\r\n\tupdate: function () {\r\n\r\n\t\tif (this._icon && this._map) {\r\n\t\t\tvar pos = this._map.latLngToLayerPoint(this._latlng).round();\r\n\t\t\tthis._setPos(pos);\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_initIcon: function () {\r\n\t\tvar options = this.options,\r\n\t\t classToAdd = 'leaflet-zoom-' + (this._zoomAnimated ? 'animated' : 'hide');\r\n\r\n\t\tvar icon = options.icon.createIcon(this._icon),\r\n\t\t addIcon = false;\r\n\r\n\t\t// if we're not reusing the icon, remove the old one and init new one\r\n\t\tif (icon !== this._icon) {\r\n\t\t\tif (this._icon) {\r\n\t\t\t\tthis._removeIcon();\r\n\t\t\t}\r\n\t\t\taddIcon = true;\r\n\r\n\t\t\tif (options.title) {\r\n\t\t\t\ticon.title = options.title;\r\n\t\t\t}\r\n\r\n\t\t\tif (icon.tagName === 'IMG') {\r\n\t\t\t\ticon.alt = options.alt || '';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\taddClass(icon, classToAdd);\r\n\r\n\t\tif (options.keyboard) {\r\n\t\t\ticon.tabIndex = '0';\r\n\t\t}\r\n\r\n\t\tthis._icon = icon;\r\n\r\n\t\tif (options.riseOnHover) {\r\n\t\t\tthis.on({\r\n\t\t\t\tmouseover: this._bringToFront,\r\n\t\t\t\tmouseout: this._resetZIndex\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tvar newShadow = options.icon.createShadow(this._shadow),\r\n\t\t addShadow = false;\r\n\r\n\t\tif (newShadow !== this._shadow) {\r\n\t\t\tthis._removeShadow();\r\n\t\t\taddShadow = true;\r\n\t\t}\r\n\r\n\t\tif (newShadow) {\r\n\t\t\taddClass(newShadow, classToAdd);\r\n\t\t\tnewShadow.alt = '';\r\n\t\t}\r\n\t\tthis._shadow = newShadow;\r\n\r\n\r\n\t\tif (options.opacity < 1) {\r\n\t\t\tthis._updateOpacity();\r\n\t\t}\r\n\r\n\r\n\t\tif (addIcon) {\r\n\t\t\tthis.getPane().appendChild(this._icon);\r\n\t\t}\r\n\t\tthis._initInteraction();\r\n\t\tif (newShadow && addShadow) {\r\n\t\t\tthis.getPane('shadowPane').appendChild(this._shadow);\r\n\t\t}\r\n\t},\r\n\r\n\t_removeIcon: function () {\r\n\t\tif (this.options.riseOnHover) {\r\n\t\t\tthis.off({\r\n\t\t\t\tmouseover: this._bringToFront,\r\n\t\t\t\tmouseout: this._resetZIndex\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tremove(this._icon);\r\n\t\tthis.removeInteractiveTarget(this._icon);\r\n\r\n\t\tthis._icon = null;\r\n\t},\r\n\r\n\t_removeShadow: function () {\r\n\t\tif (this._shadow) {\r\n\t\t\tremove(this._shadow);\r\n\t\t}\r\n\t\tthis._shadow = null;\r\n\t},\r\n\r\n\t_setPos: function (pos) {\r\n\t\tsetPosition(this._icon, pos);\r\n\r\n\t\tif (this._shadow) {\r\n\t\t\tsetPosition(this._shadow, pos);\r\n\t\t}\r\n\r\n\t\tthis._zIndex = pos.y + this.options.zIndexOffset;\r\n\r\n\t\tthis._resetZIndex();\r\n\t},\r\n\r\n\t_updateZIndex: function (offset) {\r\n\t\tthis._icon.style.zIndex = this._zIndex + offset;\r\n\t},\r\n\r\n\t_animateZoom: function (opt) {\r\n\t\tvar pos = this._map._latLngToNewLayerPoint(this._latlng, opt.zoom, opt.center).round();\r\n\r\n\t\tthis._setPos(pos);\r\n\t},\r\n\r\n\t_initInteraction: function () {\r\n\r\n\t\tif (!this.options.interactive) { return; }\r\n\r\n\t\taddClass(this._icon, 'leaflet-interactive');\r\n\r\n\t\tthis.addInteractiveTarget(this._icon);\r\n\r\n\t\tif (MarkerDrag) {\r\n\t\t\tvar draggable = this.options.draggable;\r\n\t\t\tif (this.dragging) {\r\n\t\t\t\tdraggable = this.dragging.enabled();\r\n\t\t\t\tthis.dragging.disable();\r\n\t\t\t}\r\n\r\n\t\t\tthis.dragging = new MarkerDrag(this);\r\n\r\n\t\t\tif (draggable) {\r\n\t\t\t\tthis.dragging.enable();\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\t// @method setOpacity(opacity: Number): this\r\n\t// Changes the opacity of the marker.\r\n\tsetOpacity: function (opacity) {\r\n\t\tthis.options.opacity = opacity;\r\n\t\tif (this._map) {\r\n\t\t\tthis._updateOpacity();\r\n\t\t}\r\n\r\n\t\treturn this;\r\n\t},\r\n\r\n\t_updateOpacity: function () {\r\n\t\tvar opacity = this.options.opacity;\r\n\r\n\t\tsetOpacity(this._icon, opacity);\r\n\r\n\t\tif (this._shadow) {\r\n\t\t\tsetOpacity(this._shadow, opacity);\r\n\t\t}\r\n\t},\r\n\r\n\t_bringToFront: function () {\r\n\t\tthis._updateZIndex(this.options.riseOffset);\r\n\t},\r\n\r\n\t_resetZIndex: function () {\r\n\t\tthis._updateZIndex(0);\r\n\t},\r\n\r\n\t_getPopupAnchor: function () {\r\n\t\treturn this.options.icon.options.popupAnchor;\r\n\t},\r\n\r\n\t_getTooltipAnchor: function () {\r\n\t\treturn this.options.icon.options.tooltipAnchor;\r\n\t}\r\n});\r\n\r\n\r\n// factory L.marker(latlng: LatLng, options? : Marker options)\r\n\r\n// @factory L.marker(latlng: LatLng, options? : Marker options)\r\n// Instantiates a Marker object given a geographical point and optionally an options object.\r\nfunction marker(latlng, options) {\r\n\treturn new Marker(latlng, options);\r\n}\n\n/*\n * @class Path\n * @aka L.Path\n * @inherits Interactive layer\n *\n * An abstract class that contains options and constants shared between vector\n * overlays (Polygon, Polyline, Circle). Do not use it directly. Extends `Layer`.\n */\n\nvar Path = Layer.extend({\n\n\t// @section\n\t// @aka Path options\n\toptions: {\n\t\t// @option stroke: Boolean = true\n\t\t// Whether to draw stroke along the path. Set it to `false` to disable borders on polygons or circles.\n\t\tstroke: true,\n\n\t\t// @option color: String = '#3388ff'\n\t\t// Stroke color\n\t\tcolor: '#3388ff',\n\n\t\t// @option weight: Number = 3\n\t\t// Stroke width in pixels\n\t\tweight: 3,\n\n\t\t// @option opacity: Number = 1.0\n\t\t// Stroke opacity\n\t\topacity: 1,\n\n\t\t// @option lineCap: String= 'round'\n\t\t// A string that defines [shape to be used at the end](https://developer.mozilla.org/docs/Web/SVG/Attribute/stroke-linecap) of the stroke.\n\t\tlineCap: 'round',\n\n\t\t// @option lineJoin: String = 'round'\n\t\t// A string that defines [shape to be used at the corners](https://developer.mozilla.org/docs/Web/SVG/Attribute/stroke-linejoin) of the stroke.\n\t\tlineJoin: 'round',\n\n\t\t// @option dashArray: String = null\n\t\t// A string that defines the stroke [dash pattern](https://developer.mozilla.org/docs/Web/SVG/Attribute/stroke-dasharray). Doesn't work on `Canvas`-powered layers in [some old browsers](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash#Browser_compatibility).\n\t\tdashArray: null,\n\n\t\t// @option dashOffset: String = null\n\t\t// A string that defines the [distance into the dash pattern to start the dash](https://developer.mozilla.org/docs/Web/SVG/Attribute/stroke-dashoffset). Doesn't work on `Canvas`-powered layers in [some old browsers](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash#Browser_compatibility).\n\t\tdashOffset: null,\n\n\t\t// @option fill: Boolean = depends\n\t\t// Whether to fill the path with color. Set it to `false` to disable filling on polygons or circles.\n\t\tfill: false,\n\n\t\t// @option fillColor: String = *\n\t\t// Fill color. Defaults to the value of the [`color`](#path-color) option\n\t\tfillColor: null,\n\n\t\t// @option fillOpacity: Number = 0.2\n\t\t// Fill opacity.\n\t\tfillOpacity: 0.2,\n\n\t\t// @option fillRule: String = 'evenodd'\n\t\t// A string that defines [how the inside of a shape](https://developer.mozilla.org/docs/Web/SVG/Attribute/fill-rule) is determined.\n\t\tfillRule: 'evenodd',\n\n\t\t// className: '',\n\n\t\t// Option inherited from \"Interactive layer\" abstract class\n\t\tinteractive: true,\n\n\t\t// @option bubblingMouseEvents: Boolean = true\n\t\t// When `true`, a mouse event on this path will trigger the same event on the map\n\t\t// (unless [`L.DomEvent.stopPropagation`](#domevent-stoppropagation) is used).\n\t\tbubblingMouseEvents: true\n\t},\n\n\tbeforeAdd: function (map) {\n\t\t// Renderer is set here because we need to call renderer.getEvents\n\t\t// before this.getEvents.\n\t\tthis._renderer = map.getRenderer(this);\n\t},\n\n\tonAdd: function () {\n\t\tthis._renderer._initPath(this);\n\t\tthis._reset();\n\t\tthis._renderer._addPath(this);\n\t},\n\n\tonRemove: function () {\n\t\tthis._renderer._removePath(this);\n\t},\n\n\t// @method redraw(): this\n\t// Redraws the layer. Sometimes useful after you changed the coordinates that the path uses.\n\tredraw: function () {\n\t\tif (this._map) {\n\t\t\tthis._renderer._updatePath(this);\n\t\t}\n\t\treturn this;\n\t},\n\n\t// @method setStyle(style: Path options): this\n\t// Changes the appearance of a Path based on the options in the `Path options` object.\n\tsetStyle: function (style) {\n\t\tsetOptions(this, style);\n\t\tif (this._renderer) {\n\t\t\tthis._renderer._updateStyle(this);\n\t\t}\n\t\treturn this;\n\t},\n\n\t// @method bringToFront(): this\n\t// Brings the layer to the top of all path layers.\n\tbringToFront: function () {\n\t\tif (this._renderer) {\n\t\t\tthis._renderer._bringToFront(this);\n\t\t}\n\t\treturn this;\n\t},\n\n\t// @method bringToBack(): this\n\t// Brings the layer to the bottom of all path layers.\n\tbringToBack: function () {\n\t\tif (this._renderer) {\n\t\t\tthis._renderer._bringToBack(this);\n\t\t}\n\t\treturn this;\n\t},\n\n\tgetElement: function () {\n\t\treturn this._path;\n\t},\n\n\t_reset: function () {\n\t\t// defined in child classes\n\t\tthis._project();\n\t\tthis._update();\n\t},\n\n\t_clickTolerance: function () {\n\t\t// used when doing hit detection for Canvas layers\n\t\treturn (this.options.stroke ? this.options.weight / 2 : 0) + this._renderer.options.tolerance;\n\t}\n});\n\n/*\n * @class CircleMarker\n * @aka L.CircleMarker\n * @inherits Path\n *\n * A circle of a fixed size with radius specified in pixels. Extends `Path`.\n */\n\nvar CircleMarker = Path.extend({\n\n\t// @section\n\t// @aka CircleMarker options\n\toptions: {\n\t\tfill: true,\n\n\t\t// @option radius: Number = 10\n\t\t// Radius of the circle marker, in pixels\n\t\tradius: 10\n\t},\n\n\tinitialize: function (latlng, options) {\n\t\tsetOptions(this, options);\n\t\tthis._latlng = toLatLng(latlng);\n\t\tthis._radius = this.options.radius;\n\t},\n\n\t// @method setLatLng(latLng: LatLng): this\n\t// Sets the position of a circle marker to a new location.\n\tsetLatLng: function (latlng) {\n\t\tthis._latlng = toLatLng(latlng);\n\t\tthis.redraw();\n\t\treturn this.fire('move', {latlng: this._latlng});\n\t},\n\n\t// @method getLatLng(): LatLng\n\t// Returns the current geographical position of the circle marker\n\tgetLatLng: function () {\n\t\treturn this._latlng;\n\t},\n\n\t// @method setRadius(radius: Number): this\n\t// Sets the radius of a circle marker. Units are in pixels.\n\tsetRadius: function (radius) {\n\t\tthis.options.radius = this._radius = radius;\n\t\treturn this.redraw();\n\t},\n\n\t// @method getRadius(): Number\n\t// Returns the current radius of the circle\n\tgetRadius: function () {\n\t\treturn this._radius;\n\t},\n\n\tsetStyle : function (options) {\n\t\tvar radius = options && options.radius || this._radius;\n\t\tPath.prototype.setStyle.call(this, options);\n\t\tthis.setRadius(radius);\n\t\treturn this;\n\t},\n\n\t_project: function () {\n\t\tthis._point = this._map.latLngToLayerPoint(this._latlng);\n\t\tthis._updateBounds();\n\t},\n\n\t_updateBounds: function () {\n\t\tvar r = this._radius,\n\t\t r2 = this._radiusY || r,\n\t\t w = this._clickTolerance(),\n\t\t p = [r + w, r2 + w];\n\t\tthis._pxBounds = new Bounds(this._point.subtract(p), this._point.add(p));\n\t},\n\n\t_update: function () {\n\t\tif (this._map) {\n\t\t\tthis._updatePath();\n\t\t}\n\t},\n\n\t_updatePath: function () {\n\t\tthis._renderer._updateCircle(this);\n\t},\n\n\t_empty: function () {\n\t\treturn this._radius && !this._renderer._bounds.intersects(this._pxBounds);\n\t},\n\n\t// Needed by the `Canvas` renderer for interactivity\n\t_containsPoint: function (p) {\n\t\treturn p.distanceTo(this._point) <= this._radius + this._clickTolerance();\n\t}\n});\n\n\n// @factory L.circleMarker(latlng: LatLng, options?: CircleMarker options)\n// Instantiates a circle marker object given a geographical point, and an optional options object.\nfunction circleMarker(latlng, options) {\n\treturn new CircleMarker(latlng, options);\n}\n\n/*\n * @class Circle\n * @aka L.Circle\n * @inherits CircleMarker\n *\n * A class for drawing circle overlays on a map. Extends `CircleMarker`.\n *\n * It's an approximation and starts to diverge from a real circle closer to poles (due to projection distortion).\n *\n * @example\n *\n * ```js\n * L.circle([50.5, 30.5], {radius: 200}).addTo(map);\n * ```\n */\n\nvar Circle = CircleMarker.extend({\n\n\tinitialize: function (latlng, options, legacyOptions) {\n\t\tif (typeof options === 'number') {\n\t\t\t// Backwards compatibility with 0.7.x factory (latlng, radius, options?)\n\t\t\toptions = extend({}, legacyOptions, {radius: options});\n\t\t}\n\t\tsetOptions(this, options);\n\t\tthis._latlng = toLatLng(latlng);\n\n\t\tif (isNaN(this.options.radius)) { throw new Error('Circle radius cannot be NaN'); }\n\n\t\t// @section\n\t\t// @aka Circle options\n\t\t// @option radius: Number; Radius of the circle, in meters.\n\t\tthis._mRadius = this.options.radius;\n\t},\n\n\t// @method setRadius(radius: Number): this\n\t// Sets the radius of a circle. Units are in meters.\n\tsetRadius: function (radius) {\n\t\tthis._mRadius = radius;\n\t\treturn this.redraw();\n\t},\n\n\t// @method getRadius(): Number\n\t// Returns the current radius of a circle. Units are in meters.\n\tgetRadius: function () {\n\t\treturn this._mRadius;\n\t},\n\n\t// @method getBounds(): LatLngBounds\n\t// Returns the `LatLngBounds` of the path.\n\tgetBounds: function () {\n\t\tvar half = [this._radius, this._radiusY || this._radius];\n\n\t\treturn new LatLngBounds(\n\t\t\tthis._map.layerPointToLatLng(this._point.subtract(half)),\n\t\t\tthis._map.layerPointToLatLng(this._point.add(half)));\n\t},\n\n\tsetStyle: Path.prototype.setStyle,\n\n\t_project: function () {\n\n\t\tvar lng = this._latlng.lng,\n\t\t lat = this._latlng.lat,\n\t\t map = this._map,\n\t\t crs = map.options.crs;\n\n\t\tif (crs.distance === Earth.distance) {\n\t\t\tvar d = Math.PI / 180,\n\t\t\t latR = (this._mRadius / Earth.R) / d,\n\t\t\t top = map.project([lat + latR, lng]),\n\t\t\t bottom = map.project([lat - latR, lng]),\n\t\t\t p = top.add(bottom).divideBy(2),\n\t\t\t lat2 = map.unproject(p).lat,\n\t\t\t lngR = Math.acos((Math.cos(latR * d) - Math.sin(lat * d) * Math.sin(lat2 * d)) /\n\t\t\t (Math.cos(lat * d) * Math.cos(lat2 * d))) / d;\n\n\t\t\tif (isNaN(lngR) || lngR === 0) {\n\t\t\t\tlngR = latR / Math.cos(Math.PI / 180 * lat); // Fallback for edge case, #2425\n\t\t\t}\n\n\t\t\tthis._point = p.subtract(map.getPixelOrigin());\n\t\t\tthis._radius = isNaN(lngR) ? 0 : p.x - map.project([lat2, lng - lngR]).x;\n\t\t\tthis._radiusY = p.y - top.y;\n\n\t\t} else {\n\t\t\tvar latlng2 = crs.unproject(crs.project(this._latlng).subtract([this._mRadius, 0]));\n\n\t\t\tthis._point = map.latLngToLayerPoint(this._latlng);\n\t\t\tthis._radius = this._point.x - map.latLngToLayerPoint(latlng2).x;\n\t\t}\n\n\t\tthis._updateBounds();\n\t}\n});\n\n// @factory L.circle(latlng: LatLng, options?: Circle options)\n// Instantiates a circle object given a geographical point, and an options object\n// which contains the circle radius.\n// @alternative\n// @factory L.circle(latlng: LatLng, radius: Number, options?: Circle options)\n// Obsolete way of instantiating a circle, for compatibility with 0.7.x code.\n// Do not use in new applications or plugins.\nfunction circle(latlng, options, legacyOptions) {\n\treturn new Circle(latlng, options, legacyOptions);\n}\n\n/*\n * @class Polyline\n * @aka L.Polyline\n * @inherits Path\n *\n * A class for drawing polyline overlays on a map. Extends `Path`.\n *\n * @example\n *\n * ```js\n * // create a red polyline from an array of LatLng points\n * var latlngs = [\n * \t[45.51, -122.68],\n * \t[37.77, -122.43],\n * \t[34.04, -118.2]\n * ];\n *\n * var polyline = L.polyline(latlngs, {color: 'red'}).addTo(map);\n *\n * // zoom the map to the polyline\n * map.fitBounds(polyline.getBounds());\n * ```\n *\n * You can also pass a multi-dimensional array to represent a `MultiPolyline` shape:\n *\n * ```js\n * // create a red polyline from an array of arrays of LatLng points\n * var latlngs = [\n * \t[[45.51, -122.68],\n * \t [37.77, -122.43],\n * \t [34.04, -118.2]],\n * \t[[40.78, -73.91],\n * \t [41.83, -87.62],\n * \t [32.76, -96.72]]\n * ];\n * ```\n */\n\n\nvar Polyline = Path.extend({\n\n\t// @section\n\t// @aka Polyline options\n\toptions: {\n\t\t// @option smoothFactor: Number = 1.0\n\t\t// How much to simplify the polyline on each zoom level. More means\n\t\t// better performance and smoother look, and less means more accurate representation.\n\t\tsmoothFactor: 1.0,\n\n\t\t// @option noClip: Boolean = false\n\t\t// Disable polyline clipping.\n\t\tnoClip: false\n\t},\n\n\tinitialize: function (latlngs, options) {\n\t\tsetOptions(this, options);\n\t\tthis._setLatLngs(latlngs);\n\t},\n\n\t// @method getLatLngs(): LatLng[]\n\t// Returns an array of the points in the path, or nested arrays of points in case of multi-polyline.\n\tgetLatLngs: function () {\n\t\treturn this._latlngs;\n\t},\n\n\t// @method setLatLngs(latlngs: LatLng[]): this\n\t// Replaces all the points in the polyline with the given array of geographical points.\n\tsetLatLngs: function (latlngs) {\n\t\tthis._setLatLngs(latlngs);\n\t\treturn this.redraw();\n\t},\n\n\t// @method isEmpty(): Boolean\n\t// Returns `true` if the Polyline has no LatLngs.\n\tisEmpty: function () {\n\t\treturn !this._latlngs.length;\n\t},\n\n\t// @method closestLayerPoint: Point\n\t// Returns the point closest to `p` on the Polyline.\n\tclosestLayerPoint: function (p) {\n\t\tvar minDistance = Infinity,\n\t\t minPoint = null,\n\t\t closest = _sqClosestPointOnSegment,\n\t\t p1, p2;\n\n\t\tfor (var j = 0, jLen = this._parts.length; j < jLen; j++) {\n\t\t\tvar points = this._parts[j];\n\n\t\t\tfor (var i = 1, len = points.length; i < len; i++) {\n\t\t\t\tp1 = points[i - 1];\n\t\t\t\tp2 = points[i];\n\n\t\t\t\tvar sqDist = closest(p, p1, p2, true);\n\n\t\t\t\tif (sqDist < minDistance) {\n\t\t\t\t\tminDistance = sqDist;\n\t\t\t\t\tminPoint = closest(p, p1, p2);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (minPoint) {\n\t\t\tminPoint.distance = Math.sqrt(minDistance);\n\t\t}\n\t\treturn minPoint;\n\t},\n\n\t// @method getCenter(): LatLng\n\t// Returns the center ([centroid](http://en.wikipedia.org/wiki/Centroid)) of the polyline.\n\tgetCenter: function () {\n\t\t// throws error when not yet added to map as this center calculation requires projected coordinates\n\t\tif (!this._map) {\n\t\t\tthrow new Error('Must add layer to map before using getCenter()');\n\t\t}\n\n\t\tvar i, halfDist, segDist, dist, p1, p2, ratio,\n\t\t points = this._rings[0],\n\t\t len = points.length;\n\n\t\tif (!len) { return null; }\n\n\t\t// polyline centroid algorithm; only uses the first ring if there are multiple\n\n\t\tfor (i = 0, halfDist = 0; i < len - 1; i++) {\n\t\t\thalfDist += points[i].distanceTo(points[i + 1]) / 2;\n\t\t}\n\n\t\t// The line is so small in the current view that all points are on the same pixel.\n\t\tif (halfDist === 0) {\n\t\t\treturn this._map.layerPointToLatLng(points[0]);\n\t\t}\n\n\t\tfor (i = 0, dist = 0; i < len - 1; i++) {\n\t\t\tp1 = points[i];\n\t\t\tp2 = points[i + 1];\n\t\t\tsegDist = p1.distanceTo(p2);\n\t\t\tdist += segDist;\n\n\t\t\tif (dist > halfDist) {\n\t\t\t\tratio = (dist - halfDist) / segDist;\n\t\t\t\treturn this._map.layerPointToLatLng([\n\t\t\t\t\tp2.x - ratio * (p2.x - p1.x),\n\t\t\t\t\tp2.y - ratio * (p2.y - p1.y)\n\t\t\t\t]);\n\t\t\t}\n\t\t}\n\t},\n\n\t// @method getBounds(): LatLngBounds\n\t// Returns the `LatLngBounds` of the path.\n\tgetBounds: function () {\n\t\treturn this._bounds;\n\t},\n\n\t// @method addLatLng(latlng: LatLng, latlngs? LatLng[]): this\n\t// Adds a given point to the polyline. By default, adds to the first ring of\n\t// the polyline in case of a multi-polyline, but can be overridden by passing\n\t// a specific ring as a LatLng array (that you can earlier access with [`getLatLngs`](#polyline-getlatlngs)).\n\taddLatLng: function (latlng, latlngs) {\n\t\tlatlngs = latlngs || this._defaultShape();\n\t\tlatlng = toLatLng(latlng);\n\t\tlatlngs.push(latlng);\n\t\tthis._bounds.extend(latlng);\n\t\treturn this.redraw();\n\t},\n\n\t_setLatLngs: function (latlngs) {\n\t\tthis._bounds = new LatLngBounds();\n\t\tthis._latlngs = this._convertLatLngs(latlngs);\n\t},\n\n\t_defaultShape: function () {\n\t\treturn isFlat(this._latlngs) ? this._latlngs : this._latlngs[0];\n\t},\n\n\t// recursively convert latlngs input into actual LatLng instances; calculate bounds along the way\n\t_convertLatLngs: function (latlngs) {\n\t\tvar result = [],\n\t\t flat = isFlat(latlngs);\n\n\t\tfor (var i = 0, len = latlngs.length; i < len; i++) {\n\t\t\tif (flat) {\n\t\t\t\tresult[i] = toLatLng(latlngs[i]);\n\t\t\t\tthis._bounds.extend(result[i]);\n\t\t\t} else {\n\t\t\t\tresult[i] = this._convertLatLngs(latlngs[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t},\n\n\t_project: function () {\n\t\tvar pxBounds = new Bounds();\n\t\tthis._rings = [];\n\t\tthis._projectLatlngs(this._latlngs, this._rings, pxBounds);\n\n\t\tvar w = this._clickTolerance(),\n\t\t p = new Point(w, w);\n\n\t\tif (this._bounds.isValid() && pxBounds.isValid()) {\n\t\t\tpxBounds.min._subtract(p);\n\t\t\tpxBounds.max._add(p);\n\t\t\tthis._pxBounds = pxBounds;\n\t\t}\n\t},\n\n\t// recursively turns latlngs into a set of rings with projected coordinates\n\t_projectLatlngs: function (latlngs, result, projectedBounds) {\n\t\tvar flat = latlngs[0] instanceof LatLng,\n\t\t len = latlngs.length,\n\t\t i, ring;\n\n\t\tif (flat) {\n\t\t\tring = [];\n\t\t\tfor (i = 0; i < len; i++) {\n\t\t\t\tring[i] = this._map.latLngToLayerPoint(latlngs[i]);\n\t\t\t\tprojectedBounds.extend(ring[i]);\n\t\t\t}\n\t\t\tresult.push(ring);\n\t\t} else {\n\t\t\tfor (i = 0; i < len; i++) {\n\t\t\t\tthis._projectLatlngs(latlngs[i], result, projectedBounds);\n\t\t\t}\n\t\t}\n\t},\n\n\t// clip polyline by renderer bounds so that we have less to render for performance\n\t_clipPoints: function () {\n\t\tvar bounds = this._renderer._bounds;\n\n\t\tthis._parts = [];\n\t\tif (!this._pxBounds || !this._pxBounds.intersects(bounds)) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.options.noClip) {\n\t\t\tthis._parts = this._rings;\n\t\t\treturn;\n\t\t}\n\n\t\tvar parts = this._parts,\n\t\t i, j, k, len, len2, segment, points;\n\n\t\tfor (i = 0, k = 0, len = this._rings.length; i < len; i++) {\n\t\t\tpoints = this._rings[i];\n\n\t\t\tfor (j = 0, len2 = points.length; j < len2 - 1; j++) {\n\t\t\t\tsegment = clipSegment(points[j], points[j + 1], bounds, j, true);\n\n\t\t\t\tif (!segment) { continue; }\n\n\t\t\t\tparts[k] = parts[k] || [];\n\t\t\t\tparts[k].push(segment[0]);\n\n\t\t\t\t// if segment goes out of screen, or it's the last one, it's the end of the line part\n\t\t\t\tif ((segment[1] !== points[j + 1]) || (j === len2 - 2)) {\n\t\t\t\t\tparts[k].push(segment[1]);\n\t\t\t\t\tk++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// simplify each clipped part of the polyline for performance\n\t_simplifyPoints: function () {\n\t\tvar parts = this._parts,\n\t\t tolerance = this.options.smoothFactor;\n\n\t\tfor (var i = 0, len = parts.length; i < len; i++) {\n\t\t\tparts[i] = simplify(parts[i], tolerance);\n\t\t}\n\t},\n\n\t_update: function () {\n\t\tif (!this._map) { return; }\n\n\t\tthis._clipPoints();\n\t\tthis._simplifyPoints();\n\t\tthis._updatePath();\n\t},\n\n\t_updatePath: function () {\n\t\tthis._renderer._updatePoly(this);\n\t},\n\n\t// Needed by the `Canvas` renderer for interactivity\n\t_containsPoint: function (p, closed) {\n\t\tvar i, j, k, len, len2, part,\n\t\t w = this._clickTolerance();\n\n\t\tif (!this._pxBounds || !this._pxBounds.contains(p)) { return false; }\n\n\t\t// hit detection for polylines\n\t\tfor (i = 0, len = this._parts.length; i < len; i++) {\n\t\t\tpart = this._parts[i];\n\n\t\t\tfor (j = 0, len2 = part.length, k = len2 - 1; j < len2; k = j++) {\n\t\t\t\tif (!closed && (j === 0)) { continue; }\n\n\t\t\t\tif (pointToSegmentDistance(p, part[k], part[j]) <= w) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n});\n\n// @factory L.polyline(latlngs: LatLng[], options?: Polyline options)\n// Instantiates a polyline object given an array of geographical points and\n// optionally an options object. You can create a `Polyline` object with\n// multiple separate lines (`MultiPolyline`) by passing an array of arrays\n// of geographic points.\nfunction polyline(latlngs, options) {\n\treturn new Polyline(latlngs, options);\n}\n\n// Retrocompat. Allow plugins to support Leaflet versions before and after 1.1.\nPolyline._flat = _flat;\n\n/*\n * @class Polygon\n * @aka L.Polygon\n * @inherits Polyline\n *\n * A class for drawing polygon overlays on a map. Extends `Polyline`.\n *\n * Note that points you pass when creating a polygon shouldn't have an additional last point equal to the first one — it's better to filter out such points.\n *\n *\n * @example\n *\n * ```js\n * // create a red polygon from an array of LatLng points\n * var latlngs = [[37, -109.05],[41, -109.03],[41, -102.05],[37, -102.04]];\n *\n * var polygon = L.polygon(latlngs, {color: 'red'}).addTo(map);\n *\n * // zoom the map to the polygon\n * map.fitBounds(polygon.getBounds());\n * ```\n *\n * You can also pass an array of arrays of latlngs, with the first array representing the outer shape and the other arrays representing holes in the outer shape:\n *\n * ```js\n * var latlngs = [\n * [[37, -109.05],[41, -109.03],[41, -102.05],[37, -102.04]], // outer ring\n * [[37.29, -108.58],[40.71, -108.58],[40.71, -102.50],[37.29, -102.50]] // hole\n * ];\n * ```\n *\n * Additionally, you can pass a multi-dimensional array to represent a MultiPolygon shape.\n *\n * ```js\n * var latlngs = [\n * [ // first polygon\n * [[37, -109.05],[41, -109.03],[41, -102.05],[37, -102.04]], // outer ring\n * [[37.29, -108.58],[40.71, -108.58],[40.71, -102.50],[37.29, -102.50]] // hole\n * ],\n * [ // second polygon\n * [[41, -111.03],[45, -111.04],[45, -104.05],[41, -104.05]]\n * ]\n * ];\n * ```\n */\n\nvar Polygon = Polyline.extend({\n\n\toptions: {\n\t\tfill: true\n\t},\n\n\tisEmpty: function () {\n\t\treturn !this._latlngs.length || !this._latlngs[0].length;\n\t},\n\n\tgetCenter: function () {\n\t\t// throws error when not yet added to map as this center calculation requires projected coordinates\n\t\tif (!this._map) {\n\t\t\tthrow new Error('Must add layer to map before using getCenter()');\n\t\t}\n\n\t\tvar i, j, p1, p2, f, area, x, y, center,\n\t\t points = this._rings[0],\n\t\t len = points.length;\n\n\t\tif (!len) { return null; }\n\n\t\t// polygon centroid algorithm; only uses the first ring if there are multiple\n\n\t\tarea = x = y = 0;\n\n\t\tfor (i = 0, j = len - 1; i < len; j = i++) {\n\t\t\tp1 = points[i];\n\t\t\tp2 = points[j];\n\n\t\t\tf = p1.y * p2.x - p2.y * p1.x;\n\t\t\tx += (p1.x + p2.x) * f;\n\t\t\ty += (p1.y + p2.y) * f;\n\t\t\tarea += f * 3;\n\t\t}\n\n\t\tif (area === 0) {\n\t\t\t// Polygon is so small that all points are on same pixel.\n\t\t\tcenter = points[0];\n\t\t} else {\n\t\t\tcenter = [x / area, y / area];\n\t\t}\n\t\treturn this._map.layerPointToLatLng(center);\n\t},\n\n\t_convertLatLngs: function (latlngs) {\n\t\tvar result = Polyline.prototype._convertLatLngs.call(this, latlngs),\n\t\t len = result.length;\n\n\t\t// remove last point if it equals first one\n\t\tif (len >= 2 && result[0] instanceof LatLng && result[0].equals(result[len - 1])) {\n\t\t\tresult.pop();\n\t\t}\n\t\treturn result;\n\t},\n\n\t_setLatLngs: function (latlngs) {\n\t\tPolyline.prototype._setLatLngs.call(this, latlngs);\n\t\tif (isFlat(this._latlngs)) {\n\t\t\tthis._latlngs = [this._latlngs];\n\t\t}\n\t},\n\n\t_defaultShape: function () {\n\t\treturn isFlat(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];\n\t},\n\n\t_clipPoints: function () {\n\t\t// polygons need a different clipping algorithm so we redefine that\n\n\t\tvar bounds = this._renderer._bounds,\n\t\t w = this.options.weight,\n\t\t p = new Point(w, w);\n\n\t\t// increase clip padding by stroke width to avoid stroke on clip edges\n\t\tbounds = new Bounds(bounds.min.subtract(p), bounds.max.add(p));\n\n\t\tthis._parts = [];\n\t\tif (!this._pxBounds || !this._pxBounds.intersects(bounds)) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.options.noClip) {\n\t\t\tthis._parts = this._rings;\n\t\t\treturn;\n\t\t}\n\n\t\tfor (var i = 0, len = this._rings.length, clipped; i < len; i++) {\n\t\t\tclipped = clipPolygon(this._rings[i], bounds, true);\n\t\t\tif (clipped.length) {\n\t\t\t\tthis._parts.push(clipped);\n\t\t\t}\n\t\t}\n\t},\n\n\t_updatePath: function () {\n\t\tthis._renderer._updatePoly(this, true);\n\t},\n\n\t// Needed by the `Canvas` renderer for interactivity\n\t_containsPoint: function (p) {\n\t\tvar inside = false,\n\t\t part, p1, p2, i, j, k, len, len2;\n\n\t\tif (!this._pxBounds.contains(p)) { return false; }\n\n\t\t// ray casting algorithm for detecting if point is in polygon\n\t\tfor (i = 0, len = this._parts.length; i < len; i++) {\n\t\t\tpart = this._parts[i];\n\n\t\t\tfor (j = 0, len2 = part.length, k = len2 - 1; j < len2; k = j++) {\n\t\t\t\tp1 = part[j];\n\t\t\t\tp2 = part[k];\n\n\t\t\t\tif (((p1.y > p.y) !== (p2.y > p.y)) && (p.x < (p2.x - p1.x) * (p.y - p1.y) / (p2.y - p1.y) + p1.x)) {\n\t\t\t\t\tinside = !inside;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// also check if it's on polygon stroke\n\t\treturn inside || Polyline.prototype._containsPoint.call(this, p, true);\n\t}\n\n});\n\n\n// @factory L.polygon(latlngs: LatLng[], options?: Polyline options)\nfunction polygon(latlngs, options) {\n\treturn new Polygon(latlngs, options);\n}\n\n/*\r\n * @class GeoJSON\r\n * @aka L.GeoJSON\r\n * @inherits FeatureGroup\r\n *\r\n * Represents a GeoJSON object or an array of GeoJSON objects. Allows you to parse\r\n * GeoJSON data and display it on the map. Extends `FeatureGroup`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * L.geoJSON(data, {\r\n * \tstyle: function (feature) {\r\n * \t\treturn {color: feature.properties.color};\r\n * \t}\r\n * }).bindPopup(function (layer) {\r\n * \treturn layer.feature.properties.description;\r\n * }).addTo(map);\r\n * ```\r\n */\r\n\r\nvar GeoJSON = FeatureGroup.extend({\r\n\r\n\t/* @section\r\n\t * @aka GeoJSON options\r\n\t *\r\n\t * @option pointToLayer: Function = *\r\n\t * A `Function` defining how GeoJSON points spawn Leaflet layers. It is internally\r\n\t * called when data is added, passing the GeoJSON point feature and its `LatLng`.\r\n\t * The default is to spawn a default `Marker`:\r\n\t * ```js\r\n\t * function(geoJsonPoint, latlng) {\r\n\t * \treturn L.marker(latlng);\r\n\t * }\r\n\t * ```\r\n\t *\r\n\t * @option style: Function = *\r\n\t * A `Function` defining the `Path options` for styling GeoJSON lines and polygons,\r\n\t * called internally when data is added.\r\n\t * The default value is to not override any defaults:\r\n\t * ```js\r\n\t * function (geoJsonFeature) {\r\n\t * \treturn {}\r\n\t * }\r\n\t * ```\r\n\t *\r\n\t * @option onEachFeature: Function = *\r\n\t * A `Function` that will be called once for each created `Feature`, after it has\r\n\t * been created and styled. Useful for attaching events and popups to features.\r\n\t * The default is to do nothing with the newly created layers:\r\n\t * ```js\r\n\t * function (feature, layer) {}\r\n\t * ```\r\n\t *\r\n\t * @option filter: Function = *\r\n\t * A `Function` that will be used to decide whether to include a feature or not.\r\n\t * The default is to include all features:\r\n\t * ```js\r\n\t * function (geoJsonFeature) {\r\n\t * \treturn true;\r\n\t * }\r\n\t * ```\r\n\t * Note: dynamically changing the `filter` option will have effect only on newly\r\n\t * added data. It will _not_ re-evaluate already included features.\r\n\t *\r\n\t * @option coordsToLatLng: Function = *\r\n\t * A `Function` that will be used for converting GeoJSON coordinates to `LatLng`s.\r\n\t * The default is the `coordsToLatLng` static method.\r\n\t */\r\n\r\n\tinitialize: function (geojson, options) {\r\n\t\tsetOptions(this, options);\r\n\r\n\t\tthis._layers = {};\r\n\r\n\t\tif (geojson) {\r\n\t\t\tthis.addData(geojson);\r\n\t\t}\r\n\t},\r\n\r\n\t// @method addData( data ): this\r\n\t// Adds a GeoJSON object to the layer.\r\n\taddData: function (geojson) {\r\n\t\tvar features = isArray(geojson) ? geojson : geojson.features,\r\n\t\t i, len, feature;\r\n\r\n\t\tif (features) {\r\n\t\t\tfor (i = 0, len = features.length; i < len; i++) {\r\n\t\t\t\t// only add this if geometry or geometries are set and not null\r\n\t\t\t\tfeature = features[i];\r\n\t\t\t\tif (feature.geometries || feature.geometry || feature.features || feature.coordinates) {\r\n\t\t\t\t\tthis.addData(feature);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\tvar options = this.options;\r\n\r\n\t\tif (options.filter && !options.filter(geojson)) { return this; }\r\n\r\n\t\tvar layer = geometryToLayer(geojson, options);\r\n\t\tif (!layer) {\r\n\t\t\treturn this;\r\n\t\t}\r\n\t\tlayer.feature = asFeature(geojson);\r\n\r\n\t\tlayer.defaultOptions = layer.options;\r\n\t\tthis.resetStyle(layer);\r\n\r\n\t\tif (options.onEachFeature) {\r\n\t\t\toptions.onEachFeature(geojson, layer);\r\n\t\t}\r\n\r\n\t\treturn this.addLayer(layer);\r\n\t},\r\n\r\n\t// @method resetStyle( layer ): this\r\n\t// Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events.\r\n\tresetStyle: function (layer) {\r\n\t\t// reset any custom styles\r\n\t\tlayer.options = extend({}, layer.defaultOptions);\r\n\t\tthis._setLayerStyle(layer, this.options.style);\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method setStyle( style ): this\r\n\t// Changes styles of GeoJSON vector layers with the given style function.\r\n\tsetStyle: function (style) {\r\n\t\treturn this.eachLayer(function (layer) {\r\n\t\t\tthis._setLayerStyle(layer, style);\r\n\t\t}, this);\r\n\t},\r\n\r\n\t_setLayerStyle: function (layer, style) {\r\n\t\tif (typeof style === 'function') {\r\n\t\t\tstyle = style(layer.feature);\r\n\t\t}\r\n\t\tif (layer.setStyle) {\r\n\t\t\tlayer.setStyle(style);\r\n\t\t}\r\n\t}\r\n});\r\n\r\n// @section\r\n// There are several static functions which can be called without instantiating L.GeoJSON:\r\n\r\n// @function geometryToLayer(featureData: Object, options?: GeoJSON options): Layer\r\n// Creates a `Layer` from a given GeoJSON feature. Can use a custom\r\n// [`pointToLayer`](#geojson-pointtolayer) and/or [`coordsToLatLng`](#geojson-coordstolatlng)\r\n// functions if provided as options.\r\nfunction geometryToLayer(geojson, options) {\r\n\r\n\tvar geometry = geojson.type === 'Feature' ? geojson.geometry : geojson,\r\n\t coords = geometry ? geometry.coordinates : null,\r\n\t layers = [],\r\n\t pointToLayer = options && options.pointToLayer,\r\n\t _coordsToLatLng = options && options.coordsToLatLng || coordsToLatLng,\r\n\t latlng, latlngs, i, len;\r\n\r\n\tif (!coords && !geometry) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\tswitch (geometry.type) {\r\n\tcase 'Point':\r\n\t\tlatlng = _coordsToLatLng(coords);\r\n\t\treturn pointToLayer ? pointToLayer(geojson, latlng) : new Marker(latlng);\r\n\r\n\tcase 'MultiPoint':\r\n\t\tfor (i = 0, len = coords.length; i < len; i++) {\r\n\t\t\tlatlng = _coordsToLatLng(coords[i]);\r\n\t\t\tlayers.push(pointToLayer ? pointToLayer(geojson, latlng) : new Marker(latlng));\r\n\t\t}\r\n\t\treturn new FeatureGroup(layers);\r\n\r\n\tcase 'LineString':\r\n\tcase 'MultiLineString':\r\n\t\tlatlngs = coordsToLatLngs(coords, geometry.type === 'LineString' ? 0 : 1, _coordsToLatLng);\r\n\t\treturn new Polyline(latlngs, options);\r\n\r\n\tcase 'Polygon':\r\n\tcase 'MultiPolygon':\r\n\t\tlatlngs = coordsToLatLngs(coords, geometry.type === 'Polygon' ? 1 : 2, _coordsToLatLng);\r\n\t\treturn new Polygon(latlngs, options);\r\n\r\n\tcase 'GeometryCollection':\r\n\t\tfor (i = 0, len = geometry.geometries.length; i < len; i++) {\r\n\t\t\tvar layer = geometryToLayer({\r\n\t\t\t\tgeometry: geometry.geometries[i],\r\n\t\t\t\ttype: 'Feature',\r\n\t\t\t\tproperties: geojson.properties\r\n\t\t\t}, options);\r\n\r\n\t\t\tif (layer) {\r\n\t\t\t\tlayers.push(layer);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn new FeatureGroup(layers);\r\n\r\n\tdefault:\r\n\t\tthrow new Error('Invalid GeoJSON object.');\r\n\t}\r\n}\r\n\r\n// @function coordsToLatLng(coords: Array): LatLng\r\n// Creates a `LatLng` object from an array of 2 numbers (longitude, latitude)\r\n// or 3 numbers (longitude, latitude, altitude) used in GeoJSON for points.\r\nfunction coordsToLatLng(coords) {\r\n\treturn new LatLng(coords[1], coords[0], coords[2]);\r\n}\r\n\r\n// @function coordsToLatLngs(coords: Array, levelsDeep?: Number, coordsToLatLng?: Function): Array\r\n// Creates a multidimensional array of `LatLng`s from a GeoJSON coordinates array.\r\n// `levelsDeep` specifies the nesting level (0 is for an array of points, 1 for an array of arrays of points, etc., 0 by default).\r\n// Can use a custom [`coordsToLatLng`](#geojson-coordstolatlng) function.\r\nfunction coordsToLatLngs(coords, levelsDeep, _coordsToLatLng) {\r\n\tvar latlngs = [];\r\n\r\n\tfor (var i = 0, len = coords.length, latlng; i < len; i++) {\r\n\t\tlatlng = levelsDeep ?\r\n\t\t\tcoordsToLatLngs(coords[i], levelsDeep - 1, _coordsToLatLng) :\r\n\t\t\t(_coordsToLatLng || coordsToLatLng)(coords[i]);\r\n\r\n\t\tlatlngs.push(latlng);\r\n\t}\r\n\r\n\treturn latlngs;\r\n}\r\n\r\n// @function latLngToCoords(latlng: LatLng, precision?: Number): Array\r\n// Reverse of [`coordsToLatLng`](#geojson-coordstolatlng)\r\nfunction latLngToCoords(latlng, precision) {\r\n\tprecision = typeof precision === 'number' ? precision : 6;\r\n\treturn latlng.alt !== undefined ?\r\n\t\t[formatNum(latlng.lng, precision), formatNum(latlng.lat, precision), formatNum(latlng.alt, precision)] :\r\n\t\t[formatNum(latlng.lng, precision), formatNum(latlng.lat, precision)];\r\n}\r\n\r\n// @function latLngsToCoords(latlngs: Array, levelsDeep?: Number, closed?: Boolean): Array\r\n// Reverse of [`coordsToLatLngs`](#geojson-coordstolatlngs)\r\n// `closed` determines whether the first point should be appended to the end of the array to close the feature, only used when `levelsDeep` is 0. False by default.\r\nfunction latLngsToCoords(latlngs, levelsDeep, closed, precision) {\r\n\tvar coords = [];\r\n\r\n\tfor (var i = 0, len = latlngs.length; i < len; i++) {\r\n\t\tcoords.push(levelsDeep ?\r\n\t\t\tlatLngsToCoords(latlngs[i], levelsDeep - 1, closed, precision) :\r\n\t\t\tlatLngToCoords(latlngs[i], precision));\r\n\t}\r\n\r\n\tif (!levelsDeep && closed) {\r\n\t\tcoords.push(coords[0]);\r\n\t}\r\n\r\n\treturn coords;\r\n}\r\n\r\nfunction getFeature(layer, newGeometry) {\r\n\treturn layer.feature ?\r\n\t\textend({}, layer.feature, {geometry: newGeometry}) :\r\n\t\tasFeature(newGeometry);\r\n}\r\n\r\n// @function asFeature(geojson: Object): Object\r\n// Normalize GeoJSON geometries/features into GeoJSON features.\r\nfunction asFeature(geojson) {\r\n\tif (geojson.type === 'Feature' || geojson.type === 'FeatureCollection') {\r\n\t\treturn geojson;\r\n\t}\r\n\r\n\treturn {\r\n\t\ttype: 'Feature',\r\n\t\tproperties: {},\r\n\t\tgeometry: geojson\r\n\t};\r\n}\r\n\r\nvar PointToGeoJSON = {\r\n\ttoGeoJSON: function (precision) {\r\n\t\treturn getFeature(this, {\r\n\t\t\ttype: 'Point',\r\n\t\t\tcoordinates: latLngToCoords(this.getLatLng(), precision)\r\n\t\t});\r\n\t}\r\n};\r\n\r\n// @namespace Marker\r\n// @method toGeoJSON(): Object\r\n// Returns a [`GeoJSON`](http://en.wikipedia.org/wiki/GeoJSON) representation of the marker (as a GeoJSON `Point` Feature).\r\nMarker.include(PointToGeoJSON);\r\n\r\n// @namespace CircleMarker\r\n// @method toGeoJSON(): Object\r\n// Returns a [`GeoJSON`](http://en.wikipedia.org/wiki/GeoJSON) representation of the circle marker (as a GeoJSON `Point` Feature).\r\nCircle.include(PointToGeoJSON);\r\nCircleMarker.include(PointToGeoJSON);\r\n\r\n\r\n// @namespace Polyline\r\n// @method toGeoJSON(): Object\r\n// Returns a [`GeoJSON`](http://en.wikipedia.org/wiki/GeoJSON) representation of the polyline (as a GeoJSON `LineString` or `MultiLineString` Feature).\r\nPolyline.include({\r\n\ttoGeoJSON: function (precision) {\r\n\t\tvar multi = !isFlat(this._latlngs);\r\n\r\n\t\tvar coords = latLngsToCoords(this._latlngs, multi ? 1 : 0, false, precision);\r\n\r\n\t\treturn getFeature(this, {\r\n\t\t\ttype: (multi ? 'Multi' : '') + 'LineString',\r\n\t\t\tcoordinates: coords\r\n\t\t});\r\n\t}\r\n});\r\n\r\n// @namespace Polygon\r\n// @method toGeoJSON(): Object\r\n// Returns a [`GeoJSON`](http://en.wikipedia.org/wiki/GeoJSON) representation of the polygon (as a GeoJSON `Polygon` or `MultiPolygon` Feature).\r\nPolygon.include({\r\n\ttoGeoJSON: function (precision) {\r\n\t\tvar holes = !isFlat(this._latlngs),\r\n\t\t multi = holes && !isFlat(this._latlngs[0]);\r\n\r\n\t\tvar coords = latLngsToCoords(this._latlngs, multi ? 2 : holes ? 1 : 0, true, precision);\r\n\r\n\t\tif (!holes) {\r\n\t\t\tcoords = [coords];\r\n\t\t}\r\n\r\n\t\treturn getFeature(this, {\r\n\t\t\ttype: (multi ? 'Multi' : '') + 'Polygon',\r\n\t\t\tcoordinates: coords\r\n\t\t});\r\n\t}\r\n});\r\n\r\n\r\n// @namespace LayerGroup\r\nLayerGroup.include({\r\n\ttoMultiPoint: function (precision) {\r\n\t\tvar coords = [];\r\n\r\n\t\tthis.eachLayer(function (layer) {\r\n\t\t\tcoords.push(layer.toGeoJSON(precision).geometry.coordinates);\r\n\t\t});\r\n\r\n\t\treturn getFeature(this, {\r\n\t\t\ttype: 'MultiPoint',\r\n\t\t\tcoordinates: coords\r\n\t\t});\r\n\t},\r\n\r\n\t// @method toGeoJSON(): Object\r\n\t// Returns a [`GeoJSON`](http://en.wikipedia.org/wiki/GeoJSON) representation of the layer group (as a GeoJSON `FeatureCollection`, `GeometryCollection`, or `MultiPoint`).\r\n\ttoGeoJSON: function (precision) {\r\n\r\n\t\tvar type = this.feature && this.feature.geometry && this.feature.geometry.type;\r\n\r\n\t\tif (type === 'MultiPoint') {\r\n\t\t\treturn this.toMultiPoint(precision);\r\n\t\t}\r\n\r\n\t\tvar isGeometryCollection = type === 'GeometryCollection',\r\n\t\t jsons = [];\r\n\r\n\t\tthis.eachLayer(function (layer) {\r\n\t\t\tif (layer.toGeoJSON) {\r\n\t\t\t\tvar json = layer.toGeoJSON(precision);\r\n\t\t\t\tif (isGeometryCollection) {\r\n\t\t\t\t\tjsons.push(json.geometry);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar feature = asFeature(json);\r\n\t\t\t\t\t// Squash nested feature collections\r\n\t\t\t\t\tif (feature.type === 'FeatureCollection') {\r\n\t\t\t\t\t\tjsons.push.apply(jsons, feature.features);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tjsons.push(feature);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tif (isGeometryCollection) {\r\n\t\t\treturn getFeature(this, {\r\n\t\t\t\tgeometries: jsons,\r\n\t\t\t\ttype: 'GeometryCollection'\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\ttype: 'FeatureCollection',\r\n\t\t\tfeatures: jsons\r\n\t\t};\r\n\t}\r\n});\r\n\r\n// @namespace GeoJSON\r\n// @factory L.geoJSON(geojson?: Object, options?: GeoJSON options)\r\n// Creates a GeoJSON layer. Optionally accepts an object in\r\n// [GeoJSON format](http://geojson.org/geojson-spec.html) to display on the map\r\n// (you can alternatively add it later with `addData` method) and an `options` object.\r\nfunction geoJSON(geojson, options) {\r\n\treturn new GeoJSON(geojson, options);\r\n}\r\n\r\n// Backward compatibility.\r\nvar geoJson = geoJSON;\n\n/*\r\n * @class ImageOverlay\r\n * @aka L.ImageOverlay\r\n * @inherits Interactive layer\r\n *\r\n * Used to load and display a single image over specific bounds of the map. Extends `Layer`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var imageUrl = 'http://www.lib.utexas.edu/maps/historical/newark_nj_1922.jpg',\r\n * \timageBounds = [[40.712216, -74.22655], [40.773941, -74.12544]];\r\n * L.imageOverlay(imageUrl, imageBounds).addTo(map);\r\n * ```\r\n */\r\n\r\nvar ImageOverlay = Layer.extend({\r\n\r\n\t// @section\r\n\t// @aka ImageOverlay options\r\n\toptions: {\r\n\t\t// @option opacity: Number = 1.0\r\n\t\t// The opacity of the image overlay.\r\n\t\topacity: 1,\r\n\r\n\t\t// @option alt: String = ''\r\n\t\t// Text for the `alt` attribute of the image (useful for accessibility).\r\n\t\talt: '',\r\n\r\n\t\t// @option interactive: Boolean = false\r\n\t\t// If `true`, the image overlay will emit [mouse events](#interactive-layer) when clicked or hovered.\r\n\t\tinteractive: false,\r\n\r\n\t\t// @option crossOrigin: Boolean = false\r\n\t\t// If true, the image will have its crossOrigin attribute set to ''. This is needed if you want to access image pixel data.\r\n\t\tcrossOrigin: false,\r\n\r\n\t\t// @option errorOverlayUrl: String = ''\r\n\t\t// URL to the overlay image to show in place of the overlay that failed to load.\r\n\t\terrorOverlayUrl: '',\r\n\r\n\t\t// @option zIndex: Number = 1\r\n\t\t// The explicit [zIndex](https://developer.mozilla.org/docs/Web/CSS/CSS_Positioning/Understanding_z_index) of the tile layer.\r\n\t\tzIndex: 1,\r\n\r\n\t\t// @option className: String = ''\r\n\t\t// A custom class name to assign to the image. Empty by default.\r\n\t\tclassName: '',\r\n\t},\r\n\r\n\tinitialize: function (url, bounds, options) { // (String, LatLngBounds, Object)\r\n\t\tthis._url = url;\r\n\t\tthis._bounds = toLatLngBounds(bounds);\r\n\r\n\t\tsetOptions(this, options);\r\n\t},\r\n\r\n\tonAdd: function () {\r\n\t\tif (!this._image) {\r\n\t\t\tthis._initImage();\r\n\r\n\t\t\tif (this.options.opacity < 1) {\r\n\t\t\t\tthis._updateOpacity();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (this.options.interactive) {\r\n\t\t\taddClass(this._image, 'leaflet-interactive');\r\n\t\t\tthis.addInteractiveTarget(this._image);\r\n\t\t}\r\n\r\n\t\tthis.getPane().appendChild(this._image);\r\n\t\tthis._reset();\r\n\t},\r\n\r\n\tonRemove: function () {\r\n\t\tremove(this._image);\r\n\t\tif (this.options.interactive) {\r\n\t\t\tthis.removeInteractiveTarget(this._image);\r\n\t\t}\r\n\t},\r\n\r\n\t// @method setOpacity(opacity: Number): this\r\n\t// Sets the opacity of the overlay.\r\n\tsetOpacity: function (opacity) {\r\n\t\tthis.options.opacity = opacity;\r\n\r\n\t\tif (this._image) {\r\n\t\t\tthis._updateOpacity();\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\tsetStyle: function (styleOpts) {\r\n\t\tif (styleOpts.opacity) {\r\n\t\t\tthis.setOpacity(styleOpts.opacity);\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method bringToFront(): this\r\n\t// Brings the layer to the top of all overlays.\r\n\tbringToFront: function () {\r\n\t\tif (this._map) {\r\n\t\t\ttoFront(this._image);\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method bringToBack(): this\r\n\t// Brings the layer to the bottom of all overlays.\r\n\tbringToBack: function () {\r\n\t\tif (this._map) {\r\n\t\t\ttoBack(this._image);\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method setUrl(url: String): this\r\n\t// Changes the URL of the image.\r\n\tsetUrl: function (url) {\r\n\t\tthis._url = url;\r\n\r\n\t\tif (this._image) {\r\n\t\t\tthis._image.src = url;\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method setBounds(bounds: LatLngBounds): this\r\n\t// Update the bounds that this ImageOverlay covers\r\n\tsetBounds: function (bounds) {\r\n\t\tthis._bounds = toLatLngBounds(bounds);\r\n\r\n\t\tif (this._map) {\r\n\t\t\tthis._reset();\r\n\t\t}\r\n\t\treturn this;\r\n\t},\r\n\r\n\tgetEvents: function () {\r\n\t\tvar events = {\r\n\t\t\tzoom: this._reset,\r\n\t\t\tviewreset: this._reset\r\n\t\t};\r\n\r\n\t\tif (this._zoomAnimated) {\r\n\t\t\tevents.zoomanim = this._animateZoom;\r\n\t\t}\r\n\r\n\t\treturn events;\r\n\t},\r\n\r\n\t// @method: setZIndex(value: Number) : this\r\n\t// Changes the [zIndex](#imageoverlay-zindex) of the image overlay.\r\n\tsetZIndex: function (value) {\r\n\t\tthis.options.zIndex = value;\r\n\t\tthis._updateZIndex();\r\n\t\treturn this;\r\n\t},\r\n\r\n\t// @method getBounds(): LatLngBounds\r\n\t// Get the bounds that this ImageOverlay covers\r\n\tgetBounds: function () {\r\n\t\treturn this._bounds;\r\n\t},\r\n\r\n\t// @method getElement(): HTMLElement\r\n\t// Returns the instance of [`HTMLImageElement`](https://developer.mozilla.org/docs/Web/API/HTMLImageElement)\r\n\t// used by this overlay.\r\n\tgetElement: function () {\r\n\t\treturn this._image;\r\n\t},\r\n\r\n\t_initImage: function () {\r\n\t\tvar wasElementSupplied = this._url.tagName === 'IMG';\r\n\t\tvar img = this._image = wasElementSupplied ? this._url : create$1('img');\r\n\r\n\t\taddClass(img, 'leaflet-image-layer');\r\n\t\tif (this._zoomAnimated) { addClass(img, 'leaflet-zoom-animated'); }\r\n\t\tif (this.options.className) { addClass(img, this.options.className); }\r\n\r\n\t\timg.onselectstart = falseFn;\r\n\t\timg.onmousemove = falseFn;\r\n\r\n\t\t// @event load: Event\r\n\t\t// Fired when the ImageOverlay layer has loaded its image\r\n\t\timg.onload = bind(this.fire, this, 'load');\r\n\t\timg.onerror = bind(this._overlayOnError, this, 'error');\r\n\r\n\t\tif (this.options.crossOrigin) {\r\n\t\t\timg.crossOrigin = '';\r\n\t\t}\r\n\r\n\t\tif (this.options.zIndex) {\r\n\t\t\tthis._updateZIndex();\r\n\t\t}\r\n\r\n\t\tif (wasElementSupplied) {\r\n\t\t\tthis._url = img.src;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\timg.src = this._url;\r\n\t\timg.alt = this.options.alt;\r\n\t},\r\n\r\n\t_animateZoom: function (e) {\r\n\t\tvar scale = this._map.getZoomScale(e.zoom),\r\n\t\t offset = this._map._latLngBoundsToNewLayerBounds(this._bounds, e.zoom, e.center).min;\r\n\r\n\t\tsetTransform(this._image, offset, scale);\r\n\t},\r\n\r\n\t_reset: function () {\r\n\t\tvar image = this._image,\r\n\t\t bounds = new Bounds(\r\n\t\t this._map.latLngToLayerPoint(this._bounds.getNorthWest()),\r\n\t\t this._map.latLngToLayerPoint(this._bounds.getSouthEast())),\r\n\t\t size = bounds.getSize();\r\n\r\n\t\tsetPosition(image, bounds.min);\r\n\r\n\t\timage.style.width = size.x + 'px';\r\n\t\timage.style.height = size.y + 'px';\r\n\t},\r\n\r\n\t_updateOpacity: function () {\r\n\t\tsetOpacity(this._image, this.options.opacity);\r\n\t},\r\n\r\n\t_updateZIndex: function () {\r\n\t\tif (this._image && this.options.zIndex !== undefined && this.options.zIndex !== null) {\r\n\t\t\tthis._image.style.zIndex = this.options.zIndex;\r\n\t\t}\r\n\t},\r\n\r\n\t_overlayOnError: function () {\r\n\t\t// @event error: Event\r\n\t\t// Fired when the ImageOverlay layer has loaded its image\r\n\t\tthis.fire('error');\r\n\r\n\t\tvar errorUrl = this.options.errorOverlayUrl;\r\n\t\tif (errorUrl && this._url !== errorUrl) {\r\n\t\t\tthis._url = errorUrl;\r\n\t\t\tthis._image.src = errorUrl;\r\n\t\t}\r\n\t}\r\n});\r\n\r\n// @factory L.imageOverlay(imageUrl: String, bounds: LatLngBounds, options?: ImageOverlay options)\r\n// Instantiates an image overlay object given the URL of the image and the\r\n// geographical bounds it is tied to.\r\nvar imageOverlay = function (url, bounds, options) {\r\n\treturn new ImageOverlay(url, bounds, options);\r\n};\n\n/*\r\n * @class VideoOverlay\r\n * @aka L.VideoOverlay\r\n * @inherits ImageOverlay\r\n *\r\n * Used to load and display a video player over specific bounds of the map. Extends `ImageOverlay`.\r\n *\r\n * A video overlay uses the [`