From 300645388fefdcd999bc6dff4738b08959c6abac Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Mon, 8 Jun 2020 08:27:03 -0500 Subject: [PATCH] Dispatcher Service settings (#11760) * Poller settings WIP * Poller settings WIP2 * working on SettingMultiple * setting multiple working * settings sent with all required info * fix translation * Fix keys * fix groups setting * Apply settings to service fixes and validations for setting * don't error when no poller_cluster entry exists * hid tab when no poller cluster entries * Authorization * make prod * daily maintenance toggle should be advanced * Update schema def --- LibreNMS/service.py | 74 ++++++- app/Http/Controllers/PollerController.php | 22 ++ .../Controllers/PollerSettingsController.php | 62 ++++++ app/Models/PollerCluster.php | 195 ++++++++++++++++++ app/Models/PollerGroup.php | 7 +- app/Policies/PollerClusterPolicy.php | 106 ++++++++++ app/Providers/AuthServiceProvider.php | 1 + ...0_05_24_212054_poller_cluster_settings.php | 76 +++++++ html/css/app.css | 2 +- html/js/app.js | 2 +- html/js/vendor.js | 2 +- html/mix-manifest.json | 18 +- misc/config_definitions.json | 182 +++++++++++++++- misc/db_schema.yaml | 22 ++ package-lock.json | 67 +++--- package.json | 13 +- resources/js/app.js | 16 +- resources/js/components/LibrenmsSetting.vue | 35 +++- resources/js/components/PollerSettings.vue | 77 +++++++ resources/js/components/SettingMultiple.vue | 75 +++++++ resources/lang/en/poller.php | 103 +++++++++ resources/sass/app.scss | 6 + resources/views/layouts/menu.blade.php | 5 +- resources/views/poller/groups.blade.php | 1 - resources/views/poller/index.blade.php | 8 +- resources/views/poller/performance.blade.php | 1 - resources/views/poller/poller.blade.php | 1 - resources/views/poller/settings.blade.php | 29 +++ routes/web.php | 12 +- 29 files changed, 1134 insertions(+), 86 deletions(-) create mode 100644 app/Http/Controllers/PollerSettingsController.php create mode 100644 app/Policies/PollerClusterPolicy.php create mode 100644 database/migrations/2020_05_24_212054_poller_cluster_settings.php create mode 100644 resources/js/components/PollerSettings.vue create mode 100644 resources/js/components/SettingMultiple.vue create mode 100644 resources/lang/en/poller.php create mode 100644 resources/views/poller/settings.blade.php diff --git a/LibreNMS/service.py b/LibreNMS/service.py index bae4c3d02b..791d91af1a 100644 --- a/LibreNMS/service.py +++ b/LibreNMS/service.py @@ -59,7 +59,7 @@ class ServiceConfig: services = PollerConfig(8, 300) discovery = PollerConfig(16, 21600) billing = PollerConfig(2, 300, 60) - ping = PollerConfig(1, 120) + ping = PollerConfig(1, 60) down_retry = 60 update_enabled = True update_frequency = 86400 @@ -118,7 +118,7 @@ class ServiceConfig: self.alerting.enabled = config.get('service_alerting_enabled', True) self.alerting.frequency = config.get('service_alerting_frequency', ServiceConfig.alerting.frequency) self.ping.enabled = config.get('service_ping_enabled', False) - self.ping.frequency = config.get('ping_rrd_step', ServiceConfig.billing.calculate) + self.ping.frequency = config.get('ping_rrd_step', ServiceConfig.ping.frequency) self.down_retry = config.get('service_poller_down_retry', ServiceConfig.down_retry) self.log_level = config.get('service_loglevel', ServiceConfig.log_level) self.update_enabled = config.get('service_update_enabled', ServiceConfig.update_enabled) @@ -155,6 +155,68 @@ class ServiceConfig: error("Unknown log level {}, must be one of 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'".format(self.log_level)) logging.getLogger().setLevel(logging.INFO) + def load_poller_config(self, db): + try: + settings = {} + cursor = db.query('SELECT * FROM `poller_cluster` WHERE `node_id`=%s', self.node_id) + if cursor.rowcount == 0: + return + + for index, setting in enumerate(cursor.fetchone()): + name = cursor.description[index][0] + settings[name] = setting + + if settings['poller_name'] is not None: + self.set_name(settings['poller_name']) + if settings['poller_groups'] is not None: + self.group = ServiceConfig.parse_group(settings['poller_groups']) + if settings['poller_enabled'] is not None: + self.poller.enabled = settings['poller_enabled'] + if settings['poller_frequency'] is not None: + self.poller.frequency = settings['poller_frequency'] + if settings['poller_workers'] is not None: + self.poller.workers = settings['poller_workers'] + if settings['poller_down_retry'] is not None: + self.down_retry = settings['poller_down_retry'] + if settings['discovery_enabled'] is not None: + self.discovery.enabled = settings['discovery_enabled'] + if settings['discovery_frequency'] is not None: + self.discovery.frequency = settings['discovery_frequency'] + if settings['discovery_workers'] is not None: + self.discovery.workers = settings['discovery_workers'] + if settings['services_enabled'] is not None: + self.services.enabled = settings['services_enabled'] + if settings['services_frequency'] is not None: + self.services.frequency = settings['services_frequency'] + if settings['services_workers'] is not None: + self.services.workers = settings['services_workers'] + if settings['billing_enabled'] is not None: + self.billing.enabled = settings['billing_enabled'] + if settings['billing_frequency'] is not None: + self.billing.frequency = settings['billing_frequency'] + if settings['billing_calculate_frequency'] is not None: + self.billing.calculate = settings['billing_calculate_frequency'] + if settings['alerting_enabled'] is not None: + self.alerting.enabled = settings['alerting_enabled'] + if settings['alerting_frequency'] is not None: + self.alerting.frequency = settings['alerting_frequency'] + if settings['ping_enabled'] is not None: + self.ping.enabled = settings['ping_enabled'] + if settings['ping_frequency'] is not None: + self.ping.frequency = settings['ping_frequency'] + if settings['update_enabled'] is not None: + self.update_enabled = settings['update_enabled'] + if settings['update_frequency'] is not None: + self.update_frequency = settings['update_frequency'] + if settings['loglevel'] is not None: + self.log_level = settings['loglevel'] + if settings['watchdog_enabled'] is not None: + self.watchdog_enabled = settings['watchdog_enabled'] + if settings['watchdog_log'] is not None: + self.watchdog_logfile = settings['watchdog_log'] + except pymysql.err.Error: + warning('Unable to load poller (%s) config', self.node_id) + def _get_config_data(self): try: import dotenv @@ -205,11 +267,11 @@ class Service: def __init__(self): self.config.populate() - threading.current_thread().name = self.config.name # rename main thread - - self.attach_signals() - self._db = LibreNMS.DB(self.config) + self.config.load_poller_config(self._db) + + threading.current_thread().name = self.config.name # rename main thread + self.attach_signals() self._lm = self.create_lock_manager() self.daily_timer = LibreNMS.RecurringTimer(self.config.update_frequency, self.run_maintenance, 'maintenance') diff --git a/app/Http/Controllers/PollerController.php b/app/Http/Controllers/PollerController.php index ae344c5e10..df7c2c9c00 100644 --- a/app/Http/Controllers/PollerController.php +++ b/app/Http/Controllers/PollerController.php @@ -8,6 +8,7 @@ use App\Models\PollerCluster; use App\Models\PollerGroup; use Carbon\Carbon; use Illuminate\Http\Request; +use Illuminate\Support\Collection; use LibreNMS\Config; class PollerController extends Controller @@ -21,6 +22,7 @@ class PollerController extends Controller public function logTab(Request $request) { + $this->authorize('viewAny', PollerCluster::class); return view('poller.log', [ 'current_tab' => 'log', 'filter' => $request->input('filter', 'active') @@ -29,6 +31,7 @@ class PollerController extends Controller public function groupsTab() { + $this->authorize('manage', PollerCluster::class); return view('poller.groups', [ 'current_tab' => 'groups', 'poller_groups' => PollerGroup::query()->withCount('devices')->get(), @@ -39,6 +42,7 @@ class PollerController extends Controller public function pollerTab() { + $this->authorize('viewAny', PollerCluster::class); return view('poller.poller', [ 'current_tab' => 'poller', 'pollers' => $this->poller(), @@ -46,8 +50,20 @@ class PollerController extends Controller ]); } + public function settingsTab() + { + $this->authorize('manage', PollerCluster::class); + $pollerClusters = PollerCluster::all()->keyBy('id'); + return view('poller.settings', [ + 'current_tab' => 'settings', + 'settings' => $this->pollerSettings($pollerClusters), + 'poller_cluster' => $pollerClusters, + ]); + } + public function performanceTab() { + $this->authorize('viewAny', PollerCluster::class); return view('poller.performance', ['current_tab' => 'performance']); } @@ -85,4 +101,10 @@ class PollerController extends Controller return 'success'; } + + private function pollerSettings($pollers): Collection + { + $groups = PollerGroup::list(); + return $pollers->map->configDefinition($groups); + } } diff --git a/app/Http/Controllers/PollerSettingsController.php b/app/Http/Controllers/PollerSettingsController.php new file mode 100644 index 0000000000..6e04383683 --- /dev/null +++ b/app/Http/Controllers/PollerSettingsController.php @@ -0,0 +1,62 @@ +. + * + * @package LibreNMS + * @link http://librenms.org + * @copyright 2020 Tony Murray + * @author Tony Murray + */ + +namespace App\Http\Controllers; + +use App\Models\PollerCluster; +use Illuminate\Http\Request; + +class PollerSettingsController extends Controller +{ + public function update(Request $request, $id, $setting) + { + $poller = PollerCluster::findOrFail($id); + $this->authorize('update', $poller); + + $definition = collect($poller->configDefinition())->keyBy('name'); + if (!$definition->has($setting)) { + return response()->json(['error' => 'Invalid setting'], 422); + } + + $poller->$setting = $request->get('value'); + $poller->save(); + return response()->json(['value' => $poller->$setting]); + } + + public function destroy($id, $setting) + { + $poller = PollerCluster::findOrFail($id); + $this->authorize('delete', $poller); + + $definition = collect($poller->configDefinition())->keyBy('name'); + if (!$definition->has($setting)) { + return response()->json(['error' => 'Invalid setting'], 422); + } + + $poller->$setting = $definition->get($setting)['default']; + $poller->save(); + return response()->json(['value' => $poller->$setting]); + } +} diff --git a/app/Models/PollerCluster.php b/app/Models/PollerCluster.php index f0891e7b59..4478f83175 100644 --- a/app/Models/PollerCluster.php +++ b/app/Models/PollerCluster.php @@ -34,6 +34,201 @@ class PollerCluster extends Model protected $primaryKey = 'id'; protected $fillable = ['poller_name']; + // ---- Accessors/Mutators ---- + + public function setPollerGroupsAttribute($groups) + { + $this->attributes['poller_groups'] = is_array($groups) ? implode(',', $groups) : $groups; + } + + // ---- Helpers ---- + + /** + * Get the frontend config definition for this poller + * + * @param \Illuminate\Support\Collection $groups optionally supply full list of poller groups to avoid fetching multiple times + * @return array[] + */ + public function configDefinition($groups = null) + { + if (empty($groups)) { + $groups = PollerGroup::list(); + } + + return [ + [ + 'name' => 'poller_groups', + 'default' => \LibreNMS\Config::get('distributed_poller_group'), + 'value' => $poller->poller_groups ?? \LibreNMS\Config::get('distributed_poller_group'), + 'type' => 'multiple', + 'options' => $groups, + ], + [ + 'name' => 'poller_enabled', + 'default' => \LibreNMS\Config::get('service_poller_enabled'), + 'value' => (bool)($poller->poller_enabled ?? \LibreNMS\Config::get('service_poller_enabled')), + 'type' => 'boolean', + ], + [ + 'name' => 'poller_workers', + 'default' => \LibreNMS\Config::get('service_poller_workers'), + 'value' => $poller->poller_workers ?? \LibreNMS\Config::get('service_poller_workers'), + 'type' => 'integer', + 'units' => 'workers', + ], + [ + 'name' => 'poller_frequency', + 'default' => \LibreNMS\Config::get('service_poller_frequency'), + 'value' => $poller->poller_workers ?? \LibreNMS\Config::get('service_poller_frequency'), + 'type' => 'integer', + 'units' => 'seconds', + 'advanced' => true, + ], + [ + 'name' => 'poller_down_retry', + 'default' => \LibreNMS\Config::get('service_poller_down_retry'), + 'value' => $poller->poller_down_retry ?? \LibreNMS\Config::get('service_poller_down_retry'), + 'type' => 'integer', + 'units' => 'seconds', + ], + [ + 'name' => 'discovery_enabled', + 'default' => \LibreNMS\Config::get('service_discovery_enabled'), + 'value' => (bool)($poller->discovery_enabled ?? \LibreNMS\Config::get('service_discovery_enabled')), + 'type' => 'boolean', + ], + [ + 'name' => 'discovery_workers', + 'default' => \LibreNMS\Config::get('service_discovery_workers'), + 'value' => $poller->discovery_workers ?? \LibreNMS\Config::get('service_discovery_workers'), + 'type' => 'integer', + 'units' => 'workers', + ], + [ + 'name' => 'discovery_frequency', + 'default' => \LibreNMS\Config::get('service_discovery_frequency'), + 'value' => $poller->discovery_frequency ?? \LibreNMS\Config::get('service_discovery_frequency'), + 'type' => 'integer', + 'units' => 'seconds', + 'advanced' => true, + ], + [ + 'name' => 'services_enabled', + 'default' => \LibreNMS\Config::get('service_services_enabled'), + 'value' => (bool)($poller->services_enabled ?? \LibreNMS\Config::get('service_services_enabled')), + 'type' => 'boolean', + ], + [ + 'name' => 'services_workers', + 'default' => \LibreNMS\Config::get('service_services_workers'), + 'value' => $poller->services_workers ?? \LibreNMS\Config::get('service_services_workers'), + 'type' => 'integer', + 'units' => 'workers', + ], + [ + 'name' => 'services_frequency', + 'default' => \LibreNMS\Config::get('service_services_frequency'), + 'value' => $poller->services_frequency ?? \LibreNMS\Config::get('service_services_frequency'), + 'type' => 'integer', + 'units' => 'seconds', + 'advanced' => true, + ], + [ + 'name' => 'billing_enabled', + 'default' => \LibreNMS\Config::get('service_billing_enabled'), + 'value' => (bool)($poller->billing_enabled ?? \LibreNMS\Config::get('service_billing_enabled')), + 'type' => 'boolean', + ], + [ + 'name' => 'billing_frequency', + 'default' => \LibreNMS\Config::get('service_billing_frequency'), + 'value' => $poller->billing_frequency ?? \LibreNMS\Config::get('service_billing_frequency'), + 'type' => 'integer', + 'units' => 'seconds', + 'advanced' => true, + ], + [ + 'name' => 'billing_calculate_frequency', + 'default' => \LibreNMS\Config::get('service_billing_calculate_frequency'), + 'value' => $poller->billing_calculate_frequency ?? \LibreNMS\Config::get('service_billing_calculate_frequency'), + 'type' => 'integer', + 'units' => 'seconds', + 'advanced' => true, + ], + [ + 'name' => 'alerting_enabled', + 'default' => \LibreNMS\Config::get('service_alerting_enabled'), + 'value' => (bool)($poller->alerting_enabled ?? \LibreNMS\Config::get('service_alerting_enabled')), + 'type' => 'boolean', + ], + [ + 'name' => 'alerting_frequency', + 'default' => \LibreNMS\Config::get('service_alerting_frequency'), + 'value' => $poller->alerting_frequency ?? \LibreNMS\Config::get('service_alerting_frequency'), + 'type' => 'integer', + 'units' => 'seconds', + 'advanced' => true, + ], + [ + 'name' => 'ping_enabled', + 'default' => \LibreNMS\Config::get('service_ping_enabled'), + 'value' => (bool)($poller->ping_enabled ?? \LibreNMS\Config::get('service_ping_enabled')), + 'type' => 'boolean', + ], + [ + 'name' => 'ping_frequency', + 'default' => \LibreNMS\Config::get('ping_rrd_step'), + 'value' => $poller->ping_frequency ?? \LibreNMS\Config::get('ping_rrd_step'), + 'type' => 'integer', + 'units' => 'seconds', + 'advanced' => true, + ], + [ + 'name' => 'update_enabled', + 'default' => \LibreNMS\Config::get('service_update_enabled'), + 'value' => (bool)($poller->update_enabled ?? \LibreNMS\Config::get('service_update_enabled')), + 'type' => 'boolean', + 'advanced' => true, + ], + [ + 'name' => 'update_frequency', + 'default' => \LibreNMS\Config::get('service_update_frequency'), + 'value' => $poller->update_frequency ?? \LibreNMS\Config::get('service_update_frequency'), + 'type' => 'integer', + 'units' => 'seconds', + 'advanced' => true, + ], + [ + 'name' => 'loglevel', + 'default' => \LibreNMS\Config::get('service_loglevel'), + 'value' => $poller->loglevel ?? \LibreNMS\Config::get('service_loglevel'), + 'type' => 'select', + 'options' => [ + 'DEBUG' => 'DEBUG', + 'INFO' => 'INFO', + 'WARNING' => 'WARNING', + 'ERROR' => 'ERROR', + 'CRITICAL' => 'CRITICAL' + ], + ], + [ + 'name' => 'watchdog_enabled', + 'default' => \LibreNMS\Config::get('service_watchdog_enabled'), + 'value' => (bool)($poller->watchdog_enabled ?? \LibreNMS\Config::get('service_watchdog_enabled')), + 'type' => 'boolean', + ], + [ + 'name' => 'watchdog_log', + 'default' => \LibreNMS\Config::get('log_file'), + 'value' => $poller->watchdog_log ?? \LibreNMS\Config::get('log_file'), + 'type' => 'text', + 'advanced' => true, + ], + ]; + } + + // ---- Relationships ---- + public function stats() { return $this->hasMany(\App\Models\PollerClusterStat::class, 'parent_poller', 'id'); diff --git a/app/Models/PollerGroup.php b/app/Models/PollerGroup.php index 2a39e7a05f..826eb5dd1e 100644 --- a/app/Models/PollerGroup.php +++ b/app/Models/PollerGroup.php @@ -41,12 +41,17 @@ class PollerGroup extends Model parent::boot(); static::deleting(function (PollerGroup $pollergroup) { - // handle device pollergroup fallback to default poller + // handle device poller group fallback to default poller $default_poller_id = \LibreNMS\Config::get('default_poller_group'); $pollergroup->devices()->update(['poller_group' => $default_poller_id]); }); } + public static function list() + { + return self::query()->pluck('group_name', 'id')->prepend(__('General'), 0); + } + public function devices() { return $this->hasMany(\App\Models\Device::class, 'poller_group', 'id'); diff --git a/app/Policies/PollerClusterPolicy.php b/app/Policies/PollerClusterPolicy.php new file mode 100644 index 0000000000..fe8347a33a --- /dev/null +++ b/app/Policies/PollerClusterPolicy.php @@ -0,0 +1,106 @@ +hasGlobalAdmin(); + } + + /** + * Determine whether the user can view the poller cluster. + * + * @param \App\Models\User $user + * @param \App\Models\PollerCluster $pollerCluster + * @return mixed + */ + public function view(User $user, PollerCluster $pollerCluster) + { + // + } + + /** + * Determine whether the user can create poller clusters. + * + * @param \App\Models\User $user + * @return mixed + */ + public function create(User $user) + { + // + } + + /** + * Determine whether the user can update the poller cluster. + * + * @param \App\Models\User $user + * @param \App\Models\PollerCluster $pollerCluster + * @return mixed + */ + public function update(User $user, PollerCluster $pollerCluster) + { + return $user->isAdmin(); + } + + /** + * Determine whether the user can delete the poller cluster. + * + * @param \App\Models\User $user + * @param \App\Models\PollerCluster $pollerCluster + * @return mixed + */ + public function delete(User $user, PollerCluster $pollerCluster) + { + return $user->isAdmin(); + } + + /** + * Determine whether the user can restore the poller cluster. + * + * @param \App\Models\User $user + * @param \App\Models\PollerCluster $pollerCluster + * @return mixed + */ + public function restore(User $user, PollerCluster $pollerCluster) + { + // + } + + /** + * Determine whether the user can permanently delete the poller cluster. + * + * @param \App\Models\User $user + * @param \App\Models\PollerCluster $pollerCluster + * @return mixed + */ + public function forceDelete(User $user, PollerCluster $pollerCluster) + { + // + } + + /** + * Determine whether the user can manage the poller cluster. + * + * @param \App\Models\User $user + * @param \App\Models\PollerCluster $pollerCluster + * @return mixed + */ + public function manage(User $user) + { + return $user->isAdmin(); + } +} diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index b0baeb3fc1..4a062da106 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -18,6 +18,7 @@ class AuthServiceProvider extends ServiceProvider \App\Models\User::class => \App\Policies\UserPolicy::class, \App\Models\Device::class => \App\Policies\DevicePolicy::class, \App\Models\DeviceGroup::class => \App\Policies\DeviceGroupPolicy::class, + \App\Models\PollerCluster::class => \App\Policies\PollerClusterPolicy::class, \App\Models\Port::class => \App\Policies\PortPolicy::class, ]; diff --git a/database/migrations/2020_05_24_212054_poller_cluster_settings.php b/database/migrations/2020_05_24_212054_poller_cluster_settings.php new file mode 100644 index 0000000000..bbe22ea76f --- /dev/null +++ b/database/migrations/2020_05_24_212054_poller_cluster_settings.php @@ -0,0 +1,76 @@ +boolean('poller_enabled')->nullable(); + $table->integer('poller_frequency')->nullable(); + $table->integer('poller_workers')->nullable(); + $table->integer('poller_down_retry')->nullable(); + $table->boolean('discovery_enabled')->nullable(); + $table->integer('discovery_frequency')->nullable(); + $table->integer('discovery_workers')->nullable(); + $table->boolean('services_enabled')->nullable(); + $table->integer('services_frequency')->nullable(); + $table->integer('services_workers')->nullable(); + $table->boolean('billing_enabled')->nullable(); + $table->integer('billing_frequency')->nullable(); + $table->integer('billing_calculate_frequency')->nullable(); + $table->boolean('alerting_enabled')->nullable(); + $table->integer('alerting_frequency')->nullable(); + $table->boolean('ping_enabled')->nullable(); + $table->integer('ping_frequency')->nullable(); + $table->boolean('update_enabled')->nullable(); + $table->integer('update_frequency')->nullable(); + $table->string('loglevel', 8)->nullable(); + $table->boolean('watchdog_enabled')->nullable(); + $table->string('watchdog_log')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('poller_cluster', function (Blueprint $table) { + $table->dropColumn([ + 'poller_enabled', + 'poller_frequency', + 'poller_workers', + 'poller_down_retry', + 'discovery_enabled', + 'discovery_frequency', + 'discovery_workers', + 'services_enabled', + 'services_frequency', + 'services_workers', + 'billing_enabled', + 'billing_frequency', + 'billing_calculate_frequency', + 'alerting_enabled', + 'alerting_frequency', + 'ping_enabled', + 'ping_frequency', + 'update_enabled', + 'update_frequency', + 'loglevel', + 'watchdog_enabled', + 'watchdog_log' + ]); + }); + } +} diff --git a/html/css/app.css b/html/css/app.css index ecc176554a..f27b2b9006 100644 --- a/html/css/app.css +++ b/html/css/app.css @@ -1 +1 @@ -.v-select{position:relative;font-family:inherit}.v-select,.v-select *{box-sizing:border-box}@-webkit-keyframes vSelectSpinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;transition:opacity .15s cubic-bezier(1,.5,.8,1)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}.vs--disabled .vs__clear,.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__open-indicator,.vs--disabled .vs__search,.vs--disabled .vs__selected{cursor:not-allowed;background-color:#f8f8f8}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;padding:0 0 4px;background:none;border:1px solid rgba(60,60,60,.26);border-radius:4px;white-space:normal}.vs__selected-options{display:flex;flex-basis:100%;flex-grow:1;flex-wrap:wrap;padding:0 2px;position:relative}.vs__actions{display:flex;align-items:center;padding:4px 6px 0 3px}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:rgba(60,60,60,.5);transform:scale(1);transition:transform .15s cubic-bezier(1,-.115,.975,.855);transition-timing-function:cubic-bezier(1,-.115,.975,.855)}.vs--open .vs__open-indicator{transform:rotate(180deg) scale(1)}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:rgba(60,60,60,.5);padding:0;border:0;background-color:transparent;cursor:pointer;margin-right:8px}.vs__dropdown-menu{display:block;box-sizing:border-box;position:absolute;top:calc(100% - 1px);left:0;z-index:1000;padding:5px 0;margin:0;width:100%;max-height:350px;min-width:160px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0,0,0,.15);border:1px solid rgba(60,60,60,.26);border-top-style:none;border-radius:0 0 4px 4px;text-align:left;list-style:none;background:#fff}.vs__no-options{text-align:center}.vs__dropdown-option{line-height:1.42857143;display:block;padding:3px 20px;clear:both;color:#333;white-space:nowrap}.vs__dropdown-option:hover{cursor:pointer}.vs__dropdown-option--highlight{background:#5897fb;color:#fff}.vs__dropdown-option--disabled{background:inherit;color:rgba(60,60,60,.5)}.vs__dropdown-option--disabled:hover{cursor:inherit}.vs__selected{display:flex;align-items:center;background-color:#f0f0f0;border:1px solid rgba(60,60,60,.26);border-radius:4px;color:#333;line-height:1.4;margin:4px 2px 0;padding:0 .25em}.vs__deselect{display:inline-flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin-left:4px;padding:0;border:0;cursor:pointer;background:none;fill:rgba(60,60,60,.5);text-shadow:0 1px 0 #fff}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--open .vs__selected{position:absolute;opacity:.4}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-ms-clear,.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration{display:none}.vs__search,.vs__search:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.4;font-size:1em;border:1px solid transparent;border-left:none;outline:none;margin:4px 0 0;padding:0 7px;background:none;box-shadow:none;width:0;max-width:100%;flex-grow:1}.vs__search::-webkit-input-placeholder{color:inherit}.vs__search::-moz-placeholder{color:inherit}.vs__search:-ms-input-placeholder{color:inherit}.vs__search::-ms-input-placeholder{color:inherit}.vs__search::placeholder{color:inherit}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable .vs__search:hover{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{align-self:center;opacity:0;font-size:5px;text-indent:-9999em;overflow:hidden;border:.9em solid hsla(0,0%,39.2%,.1);border-left-color:rgba(60,60,60,.45);transform:translateZ(0);-webkit-animation:vSelectSpinner 1.1s linear infinite;animation:vSelectSpinner 1.1s linear infinite;transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;width:5em;height:5em}.vs--loading .vs__spinner{opacity:1} \ No newline at end of file +fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{position:absolute;right:1px;top:1px;width:48px;height:35px;background:#fff;display:block}.multiselect__spinner:after,.multiselect__spinner:before{position:absolute;content:"";top:50%;left:50%;margin:-8px 0 0 -8px;width:16px;height:16px;border-radius:100%;border:2px solid transparent;border-top-color:#41b883;box-shadow:0 0 0 1px transparent}.multiselect__spinner:before{-webkit-animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.multiselect__spinner:after{-webkit-animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{transition:opacity .4s ease-in-out;opacity:1}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:16px;touch-action:manipulation}.multiselect{box-sizing:content-box;display:block;position:relative;width:100%;min-height:40px;text-align:left;color:#35495e}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:none}.multiselect--disabled{background:#ededed;pointer-events:none;opacity:.6}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input,.multiselect__single{position:relative;display:inline-block;min-height:20px;line-height:20px;border:none;border-radius:5px;background:#fff;padding:0 0 0 5px;width:100%;transition:border .1s ease;box-sizing:border-box;margin-bottom:8px;vertical-align:top}.multiselect__input:-ms-input-placeholder{color:#35495e}.multiselect__input::-webkit-input-placeholder{color:#35495e}.multiselect__input::-moz-placeholder{color:#35495e}.multiselect__input::-ms-input-placeholder{color:#35495e}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:none}.multiselect__single{padding-left:5px;margin-bottom:8px}.multiselect__tags-wrap{display:inline}.multiselect__tags{min-height:40px;display:block;padding:8px 40px 0 8px;border-radius:5px;border:1px solid #e8e8e8;background:#fff;font-size:14px}.multiselect__tag{position:relative;display:inline-block;padding:4px 26px 4px 10px;border-radius:5px;margin-right:10px;color:#fff;line-height:1;background:#41b883;margin-bottom:5px;white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis}.multiselect__tag-icon{cursor:pointer;margin-left:7px;position:absolute;right:0;top:0;bottom:0;font-weight:700;font-style:normal;width:22px;text-align:center;line-height:22px;transition:all .2s ease;border-radius:5px}.multiselect__tag-icon:after{content:"\D7";color:#266d4d;font-size:14px}.multiselect__tag-icon:focus,.multiselect__tag-icon:hover{background:#369a6e}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{min-height:40px;overflow:hidden;padding:8px 30px 0 12px;white-space:nowrap;border-radius:5px;border:1px solid #e8e8e8}.multiselect__current,.multiselect__select{line-height:16px;box-sizing:border-box;display:block;margin:0;text-decoration:none;cursor:pointer}.multiselect__select{position:absolute;width:40px;height:38px;right:1px;top:1px;padding:4px 8px;text-align:center;transition:transform .2s ease}.multiselect__select:before{position:relative;right:0;top:65%;color:#999;margin-top:4px;border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 0;content:""}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{position:absolute;display:block;background:#fff;width:100%;max-height:240px;overflow:auto;border:1px solid #e8e8e8;border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;z-index:50;-webkit-overflow-scrolling:touch}.multiselect__content{list-style:none;display:inline-block;padding:0;margin:0;min-width:100%;vertical-align:top}.multiselect--above .multiselect__content-wrapper{bottom:100%;border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom:none;border-top:1px solid #e8e8e8}.multiselect__content::webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{display:block;padding:12px;min-height:40px;line-height:16px;text-decoration:none;text-transform:none;vertical-align:middle;position:relative;cursor:pointer;white-space:nowrap}.multiselect__option:after{top:0;right:0;position:absolute;line-height:40px;padding-right:12px;padding-left:20px;font-size:13px}.multiselect__option--highlight{background:#41b883;outline:none;color:#fff}.multiselect__option--highlight:after{content:attr(data-select);background:#41b883;color:#fff}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{content:attr(data-selected);color:silver}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{background:#ededed!important;color:#a6a6a6!important;cursor:text;pointer-events:none}.multiselect__option--group{background:#ededed;color:#35495e}.multiselect__option--group.multiselect__option--highlight{background:#35495e;color:#fff}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--group-selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s ease}.multiselect-enter,.multiselect-leave-active{opacity:0}.multiselect__strong{margin-bottom:8px;line-height:20px;display:inline-block;vertical-align:top}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{right:auto;left:1px}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{right:auto;left:0}[dir=rtl] .multiselect__clear{right:auto;left:12px}[dir=rtl] .multiselect__spinner{right:auto;left:1px}@-webkit-keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}.vue-tabs.stacked{display:flex}.vue-tabs .tabs__link{text-decoration:none;color:grey}.vue-tabs .nav{margin-bottom:0;margin-top:0;padding-left:0;list-style:none}.vue-tabs .nav:after,.vue-tabs .nav:before{content:" ";display:table}.vue-tabs .nav:after{clear:both}.vue-tabs .nav>li,.vue-tabs .nav>li>a{position:relative;display:block}.vue-tabs .nav>li>a{padding:10px 15px}.vue-tabs .nav>li>a:focus,.vue-tabs .nav>li>a:hover{text-decoration:none;background-color:#eee}.vue-tabs .nav>li span.title{display:flex;justify-content:center}.vue-tabs .nav>li.disabled>a{color:#777}.vue-tabs .nav>li.disabled>a:focus,.vue-tabs .nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent;border-color:transparent}.vue-tabs .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.vue-tabs .nav>li>a>img{max-width:none}.vue-tabs .nav-tabs{border-bottom:1px solid #ddd}.vue-tabs .nav-tabs>li{float:left;margin-bottom:-1px}.vue-tabs .nav-tabs>li>a{margin-right:2px;line-height:1.42857;border:1px solid transparent;border-radius:4px 4px 0 0}.vue-tabs .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.vue-tabs .nav-tabs>li.active>a,.vue-tabs .nav-tabs>li.active>a:focus,.vue-tabs .nav-tabs>li.active>a:hover{color:#555;background-color:#fff;border:1px solid;border-color:#ddd #ddd transparent;cursor:default}.vue-tabs .nav-pills>li{float:left}.vue-tabs .nav-pills>li>a{border-radius:4px}.vue-tabs .nav-pills>li+li{margin-left:2px}.vue-tabs .nav-pills>li.active>a,.vue-tabs .nav-pills>li.active>a:focus,.vue-tabs .nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.vue-tabs .nav-stacked>li{float:none}.vue-tabs .nav-stacked>li+li{margin-top:2px;margin-left:0}.vue-tabs .nav-justified,.vue-tabs .nav-tabs.nav-justified{width:100%}.vue-tabs .nav-justified>li,.vue-tabs .nav-tabs.nav-justified>li{float:none}.vue-tabs .nav-justified>li>a,.vue-tabs .nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.vue-tabs .nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.vue-tabs .nav-justified>li,.vue-tabs .nav-tabs.nav-justified>li{display:table-cell;width:1%}.vue-tabs .nav-justified>li>a,.vue-tabs .nav-tabs.nav-justified>li>a{margin-bottom:0}}.vue-tabs .nav-tabs-justified,.vue-tabs .nav-tabs.nav-justified{border-bottom:0}.vue-tabs .nav-tabs-justified>li>a,.vue-tabs .nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.vue-tabs .nav-tabs-justified>.active>a,.vue-tabs .nav-tabs-justified>.active>a:focus,.vue-tabs .nav-tabs-justified>.active>a:hover,.vue-tabs .nav-tabs.nav-justified>.active>a,.vue-tabs .nav-tabs.nav-justified>.active>a:focus,.vue-tabs .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.vue-tabs .nav-tabs-justified>li>a,.vue-tabs .nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.vue-tabs .nav-tabs-justified>.active>a,.vue-tabs .nav-tabs-justified>.active>a:focus,.vue-tabs .nav-tabs-justified>.active>a:hover,.vue-tabs .nav-tabs.nav-justified>.active>a,.vue-tabs .nav-tabs.nav-justified>.active>a:focus,.vue-tabs .nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.vue-tabs .tab-content>.tab-pane{display:none}.vue-tabs .tab-content>.active{display:block}.vue-tabs section[aria-hidden=true]{display:none}.v-select{position:relative;font-family:inherit}.v-select,.v-select *{box-sizing:border-box}@-webkit-keyframes vSelectSpinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;transition:opacity .15s cubic-bezier(1,.5,.8,1)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}.vs--disabled .vs__clear,.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__open-indicator,.vs--disabled .vs__search,.vs--disabled .vs__selected{cursor:not-allowed;background-color:#f8f8f8}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;padding:0 0 4px;background:none;border:1px solid rgba(60,60,60,.26);border-radius:4px;white-space:normal}.vs__selected-options{display:flex;flex-basis:100%;flex-grow:1;flex-wrap:wrap;padding:0 2px;position:relative}.vs__actions{display:flex;align-items:center;padding:4px 6px 0 3px}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:rgba(60,60,60,.5);transform:scale(1);transition:transform .15s cubic-bezier(1,-.115,.975,.855);transition-timing-function:cubic-bezier(1,-.115,.975,.855)}.vs--open .vs__open-indicator{transform:rotate(180deg) scale(1)}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:rgba(60,60,60,.5);padding:0;border:0;background-color:transparent;cursor:pointer;margin-right:8px}.vs__dropdown-menu{display:block;box-sizing:border-box;position:absolute;top:calc(100% - 1px);left:0;z-index:1000;padding:5px 0;margin:0;width:100%;max-height:350px;min-width:160px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0,0,0,.15);border:1px solid rgba(60,60,60,.26);border-top-style:none;border-radius:0 0 4px 4px;text-align:left;list-style:none;background:#fff}.vs__no-options{text-align:center}.vs__dropdown-option{line-height:1.42857143;display:block;padding:3px 20px;clear:both;color:#333;white-space:nowrap}.vs__dropdown-option:hover{cursor:pointer}.vs__dropdown-option--highlight{background:#5897fb;color:#fff}.vs__dropdown-option--disabled{background:inherit;color:rgba(60,60,60,.5)}.vs__dropdown-option--disabled:hover{cursor:inherit}.vs__selected{display:flex;align-items:center;background-color:#f0f0f0;border:1px solid rgba(60,60,60,.26);border-radius:4px;color:#333;line-height:1.4;margin:4px 2px 0;padding:0 .25em;z-index:0}.vs__deselect{display:inline-flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin-left:4px;padding:0;border:0;cursor:pointer;background:none;fill:rgba(60,60,60,.5);text-shadow:0 1px 0 #fff}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--open .vs__selected{position:absolute;opacity:.4}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-ms-clear,.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration{display:none}.vs__search,.vs__search:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.4;font-size:1em;border:1px solid transparent;border-left:none;outline:none;margin:4px 0 0;padding:0 7px;background:none;box-shadow:none;width:0;max-width:100%;flex-grow:1;z-index:1}.vs__search::-webkit-input-placeholder{color:inherit}.vs__search::-moz-placeholder{color:inherit}.vs__search:-ms-input-placeholder{color:inherit}.vs__search::-ms-input-placeholder{color:inherit}.vs__search::placeholder{color:inherit}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search:hover{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{align-self:center;opacity:0;font-size:5px;text-indent:-9999em;overflow:hidden;border:.9em solid hsla(0,0%,39.2%,.1);border-left-color:rgba(60,60,60,.45);transform:translateZ(0);-webkit-animation:vSelectSpinner 1.1s linear infinite;animation:vSelectSpinner 1.1s linear infinite;transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;width:5em;height:5em}.vs--loading .vs__spinner{opacity:1} \ No newline at end of file diff --git a/html/js/app.js b/html/js/app.js index e29cf616c7..efcd06e3e1 100644 --- a/html/js/app.js +++ b/html/js/app.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+EXy":function(t,e,n){var a=n("EKCJ");"string"==typeof a&&(a=[[t.i,a,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,s);a.locals&&(t.exports=a.locals)},"+fAT":function(t,e,n){var a={"./components/Accordion.vue":"07Va","./components/AccordionItem.vue":"qodb","./components/BaseSetting.vue":"nsVt","./components/ExampleComponent.vue":"AEaB","./components/LibrenmsSetting.vue":"9n66","./components/LibrenmsSettings.vue":"OB2S","./components/SettingArray.vue":"ul9H","./components/SettingBoolean.vue":"ld4D","./components/SettingDashboardSelect.vue":"ehi2","./components/SettingEmail.vue":"YujN","./components/SettingInteger.vue":"tCMV","./components/SettingLdapGroups.vue":"Zrdh","./components/SettingNull.vue":"NgQ3","./components/SettingPassword.vue":"ShZc","./components/SettingSelect.vue":"M77q","./components/SettingSnmp3auth.vue":"/MA7","./components/SettingText.vue":"q8tH","./components/Tab.vue":"cQaf","./components/Tabs.vue":"Pm5W","./components/TransitionCollapseHeight.vue":"ITC5"};function s(t){var e=i(t);return n(e)}function i(t){if(!n.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}s.keys=function(){return Object.keys(a)},s.resolve=i,t.exports=s,s.id="+fAT"},"/MA7":function(t,e,n){"use strict";n.r(e);var a={name:"SettingSnmp3auth",mixins:[n("nsVt").default],data:function(){return{localList:this.value}},methods:{addItem:function(){this.localList.push({authlevel:"noAuthNoPriv",authalgo:"MD5",authname:"",authpass:"",cryptoalgo:"AES",cryptopass:""}),this.$emit("input",this.localList)},removeItem:function(t){this.localList.splice(t,1),this.$emit("input",this.localList)},updateItem:function(t,e,n){this.localList[t][e]=n,this.$emit("input",this.localList)},dragged:function(){this.$emit("input",this.localList)}},watch:{value:function(t){this.localList=t}}},s=(n("fJHU"),n("KHd+")),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("draggable",{attrs:{disabled:t.disabled},on:{end:function(e){return t.dragged()}},model:{value:t.localList,callback:function(e){t.localList=e},expression:"localList"}},t._l(t.localList,(function(e,a){return n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("h3",{staticClass:"panel-title"},[t._v(t._s(a+1)+". "),t.disabled?t._e():n("span",{staticClass:"pull-right text-danger",on:{click:function(e){return t.removeItem(a)}}},[n("i",{staticClass:"fa fa-minus-circle"})])])]),t._v(" "),n("div",{staticClass:"panel-body"},[n("form",{on:{onsubmit:function(t){t.preventDefault()}}},[n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.authlevel,expression:"item.authlevel"}],staticClass:"form-control",attrs:{id:"authlevel",disabled:t.disabled},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"authlevel",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"noAuthNoPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.noAuthNoPriv"))}}),t._v(" "),n("option",{attrs:{value:"authNoPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.authNoPriv"))}}),t._v(" "),n("option",{attrs:{value:"authPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.authPriv"))}})])])]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:"auth"===e.authlevel.toString().substring(0,4),expression:"item.authlevel.toString().substring(0, 4) === 'auth'"}],attrs:{name:"algo",disabled:t.disabled}},[n("legend",{staticClass:"h4",domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.auth"))}}),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authalgo"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authalgo"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.authalgo,expression:"item.authalgo"}],staticClass:"form-control",attrs:{id:"authalgo",name:"authalgo"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"authalgo",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"MD5"}},[t._v("MD5")]),t._v(" "),n("option",{attrs:{value:"SHA"}},[t._v("SHA")])])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authname"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authname"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"authname"},domProps:{value:e.authname},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authpass"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authpass"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"authpass"},domProps:{value:e.authpass},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])])]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:"authPriv"===e.authlevel,expression:"item.authlevel === 'authPriv'"}],attrs:{name:"crypt",disabled:t.disabled}},[n("legend",{staticClass:"h4",domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.crypto"))}}),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"cryptoalgo"}},[t._v("Cryptoalgo")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.cryptoalgo,expression:"item.cryptoalgo"}],staticClass:"form-control",attrs:{id:"cryptoalgo"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"cryptoalgo",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"AES"}},[t._v("AES")]),t._v(" "),n("option",{attrs:{value:"DES"}},[t._v("DES")])])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"cryptopass"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authpass"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"cryptopass"},domProps:{value:e.cryptopass},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])])])])])])])})),0),t._v(" "),t.disabled?t._e():n("div",{staticClass:"row snmp3-add-button"},[n("div",{staticClass:"col-sm-12"},[n("button",{staticClass:"btn btn-primary",on:{click:function(e){return t.addItem()}}},[n("i",{staticClass:"fa fa-plus-circle"}),t._v(" "+t._s(t.$t("New")))])])])],1)}),[],!1,null,"2e6100d1",null);e.default=i.exports},0:function(t,e,n){n("bUC5"),t.exports=n("pyCd")},"07Va":function(t,e,n){"use strict";n.r(e);var a={name:"Accordion",props:{multiple:{type:Boolean,default:!1}},methods:{setActive:function(t){this.$children.forEach((function(e){e.slug()===t&&(e.isActive=!0)}))},activeChanged:function(t){this.multiple||this.$children.forEach((function(e){e.slug()!==t&&(e.isActive=!1)}))}},mounted:function(){this.$on("expanded",this.activeChanged)}},s=n("KHd+"),i=Object(s.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"panel-group",attrs:{role:"tablist"}},[this._t("default")],2)}),[],!1,null,"7626d1af",null);e.default=i.exports},"0m/0":function(t,e,n){"use strict";var a=n("ct6m");n.n(a).a},"0n5T":function(t,e,n){"use strict";var a=n("ROy3");n.n(a).a},"1ygf":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.input-group[data-v-1e553845] {\n margin-bottom: 3px;\n}\n.input-group-addon[data-v-1e553845]:not(.disabled) {\n cursor: move;\n}\n",""])},"9UL7":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.enter-active[data-v-00169edd],\n.leave-active[data-v-00169edd] {\n overflow: hidden;\n transition: height 0.2s linear;\n}\n",""])},"9Wh1":function(t,e,n){window._=n("LvDl");try{window.Popper=n("8L3F").default}catch(t){}window.axios=n("vDqi"),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token"),n("nErG")},"9n66":function(t,e,n){"use strict";n.r(e);var a={name:"LibrenmsSetting",props:{setting:{type:Object,required:!0}},data:function(){return{value:this.setting.value,feedback:""}},methods:{persistValue:function(t){var e=this;axios.put(route("settings.update",this.setting.name),{value:t}).then((function(t){e.value=t.data.value,e.$emit("setting-updated",{name:e.setting.name,value:e.value}),e.feedback="has-success",setTimeout((function(){return e.feedback=""}),3e3)})).catch((function(t){e.feedback="has-error",toastr.error(t.response.data.message);["text","email","password"].includes(e.setting.type)||(e.value=t.response.data.value,e.$emit("setting-updated",{name:e.setting.name,value:e.value}),setTimeout((function(){return e.feedback=""}),3e3))}))},debouncePersistValue:_.debounce((function(t){this.persistValue(t)}),500),changeValue:function(t){["select","boolean"].includes(this.setting.type)?this.persistValue(t):this.debouncePersistValue(t),this.value=t},getDescription:function(){var t="settings.settings."+this.setting.name+".description";return this.$te(t)||this.$te(t,this.$i18n.fallbackLocale)?this.$t(t):this.setting.name},getHelp:function(){var t=this.$t("settings.settings."+this.setting.name+".help");return this.setting.overridden&&(t+="

"+this.$t("settings.readonly")),t},hasHelp:function(){var t="settings.settings."+this.setting.name+".help";return this.$te(t)||this.$te(t,this.$i18n.fallbackLocale)},resetToDefault:function(){var t=this;axios.delete(route("settings.destroy",this.setting.name)).then((function(e){t.value=e.data.value,t.feedback="has-success",setTimeout((function(){return t.feedback=""}),3e3)})).catch((function(e){t.feedback="has-error",setTimeout((function(){return t.feedback=""}),3e3),toastr.error(e.response.data.message)}))},resetToInitial:function(){this.changeValue(this.setting.value)},showResetToDefault:function(){return!this.setting.overridden&&!_.isEqual(this.value,this.setting.default)},showUndo:function(){return!_.isEqual(this.setting.value,this.value)},getComponent:function(){var t="Setting"+this.setting.type.toString().replace(/(-[a-z]|^[a-z])/g,(function(t){return t.toUpperCase().replace("-","")}));return void 0!==Vue.options.components[t]?t:"SettingNull"}}},s=n("KHd+"),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["form-group","has-feedback",t.setting.class,t.feedback]},[n("label",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.setting.name},expression:"{ content: setting.name }"}],staticClass:"col-sm-5 control-label",attrs:{for:t.setting.name}},[t._v("\n "+t._s(t.getDescription())+"\n "),null!==t.setting.units?n("span",[t._v("("+t._s(t.setting.units)+")")]):t._e()]),t._v(" "),n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:!!t.setting.disabled&&t.$t("settings.readonly")},expression:"{ content: setting.disabled ? $t('settings.readonly') : false }"}],staticClass:"col-sm-5"},[n(t.getComponent(),{tag:"component",attrs:{value:t.value,name:t.setting.name,pattern:t.setting.pattern,disabled:t.setting.overridden,required:t.setting.required,options:t.setting.options},on:{input:function(e){return t.changeValue(e)},change:function(e){return t.changeValue(e)}}}),t._v(" "),n("span",{staticClass:"form-control-feedback"})],1),t._v(" "),n("div",{staticClass:"col-sm-2"},[n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.$t("Reset to default")},expression:"{ content: $t('Reset to default') }"}],staticClass:"btn btn-default",style:{opacity:t.showResetToDefault()?1:0},attrs:{type:"button"},on:{click:t.resetToDefault}},[n("i",{staticClass:"fa fa-refresh"})]),t._v(" "),n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.$t("Undo")},expression:"{ content: $t('Undo') }"}],staticClass:"btn btn-primary",style:{opacity:t.showUndo()?1:0},attrs:{type:"button"},on:{click:t.resetToInitial}},[n("i",{staticClass:"fa fa-undo"})]),t._v(" "),t.hasHelp()?n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.getHelp(),trigger:"hover click"},expression:"{content: getHelp(), trigger: 'hover click'}"}],staticClass:"fa fa-fw fa-lg fa-question-circle"}):t._e()])])}),[],!1,null,"7279cbbc",null);e.default=i.exports},AEaB:function(t,e,n){"use strict";n.r(e);var a={mounted:function(){console.log("Component mounted.")}},s=n("KHd+"),i=Object(s.a)(a,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"container"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-md-8"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-header"},[this._v("Example Component")]),this._v(" "),e("div",{staticClass:"card-body"},[this._v("\n I'm an example component.\n ")])])])])])}],!1,null,null,null);e.default=i.exports},B4qk:function(t,e,n){"use strict";var a=n("ZQ8p");n.n(a).a},Dwb7:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n#settings-search[data-v-0db2ec2e] {\n border-radius: 4px\n}\n#settings-search[data-v-0db2ec2e]::-webkit-search-cancel-button {\n -webkit-appearance: searchfield-cancel-button;\n}\nul.settings-list[data-v-0db2ec2e] {\n list-style-type: none;\n}\n",""])},EKCJ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.authlevel[data-v-2e6100d1] {\n font-size: 18px;\n text-align: left;\n}\n.fa-minus-circle[data-v-2e6100d1] {\n cursor: pointer;\n}\n.snmp3-add-button[data-v-2e6100d1] {\n margin-top: 5px;\n}\n",""])},FpnD:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.accordion-item-trigger-icon[data-v-af5cb116] {\n transition: transform 0.2s ease;\n}\n.accordion-item-trigger.collapsed .accordion-item-trigger-icon[data-v-af5cb116] {\n transform: rotate(-90deg);\n}\n",""])},GJqu:function(t,e,n){var a=n("kUp1");"string"==typeof a&&(a=[[t.i,a,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,s);a.locals&&(t.exports=a.locals)},ITC5:function(t,e,n){"use strict";n.r(e);var a={name:"TransitionCollapseHeight",methods:{beforeEnter:function(t){requestAnimationFrame((function(){t.style.height||(t.style.height="0px"),t.style.display=null}))},enter:function(t){requestAnimationFrame((function(){requestAnimationFrame((function(){t.style.height=t.scrollHeight+"px"}))}))},afterEnter:function(t){t.style.height=null},beforeLeave:function(t){requestAnimationFrame((function(){t.style.height||(t.style.height=t.offsetHeight+"px")}))},leave:function(t){requestAnimationFrame((function(){requestAnimationFrame((function(){t.style.height="0px"}))}))},afterLeave:function(t){t.style.height=null}}},s=(n("pYH+"),n("KHd+")),i=Object(s.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("transition",{attrs:{"enter-active-class":"enter-active","leave-active-class":"leave-active"},on:{"before-enter":this.beforeEnter,enter:this.enter,"after-enter":this.afterEnter,"before-leave":this.beforeLeave,leave:this.leave,"after-leave":this.afterLeave}},[this._t("default")],2)}),[],!1,null,"00169edd",null);e.default=i.exports},JXYM:function(t,e,n){var a=n("9UL7");"string"==typeof a&&(a=[[t.i,a,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,s);a.locals&&(t.exports=a.locals)},M77q:function(t,e,n){"use strict";n.r(e);var a={name:"SettingSelect",mixins:[n("nsVt").default],methods:{getText:function(t,e){var n="settings.settings.".concat(t,".options.").concat(e);return this.$te(n)?this.$t(n):e}}},s=n("KHd+"),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("select",{staticClass:"form-control",attrs:{name:t.name,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},t._l(t.options,(function(e,a){return n("option",{domProps:{value:a,selected:t.value===a,textContent:t._s(t.getText(t.name,e))}})})),0)}),[],!1,null,"108ca35b",null);e.default=i.exports},MSLc:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.input-group[data-v-946d0f4c] {\n padding-bottom: 3px;\n}\n",""])},NgQ3:function(t,e,n){"use strict";n.r(e);var a={name:"SettingNull",props:["name"]},s=(n("tK7y"),n("KHd+")),i=Object(s.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("div",[this._v("Invalid type for: "+this._s(this.name))])}),[],!1,null,"e69e1a5e",null);e.default=i.exports},OB2S:function(t,e,n){"use strict";n.r(e);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t))&&"[object Arguments]"!==Object.prototype.toString.call(t))return;var n=[],a=!0,s=!1,i=void 0;try{for(var o,r=t[Symbol.iterator]();!(a=(o=r.next()).done)&&(n.push(o.value),!e||n.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s={name:"LibrenmsSettings",props:{prefix:String,initialTab:{type:String,default:"alerting"},initialSection:String,tabs:{type:Array}},data:function(){return{tab:this.initialTab,section:this.initialSection,search_phrase:"",settings:{}}},methods:{tabChanged:function(t){this.tab!==t&&(this.tab=t,this.section=null,this.updateUrl())},sectionExpanded:function(t){this.section=t,this.updateUrl()},sectionCollapsed:function(t){this.section===t&&(this.section=null,this.updateUrl())},updateUrl:function(){var t=this.tab;this.section&&(t+="/"+this.section),window.history.pushState(t,"",this.prefix+"/"+t)},handleBack:function(t){var e=a(t.state.split("/"),2);this.tab=e[0],this.section=e[1]},updateSetting:function(t,e){this.$set(this.settings[t],"value",e)},settingShown:function(t){var e=this,n=this.settings[t];return null===n.when||(n.when.hasOwnProperty("and")?n.when.and.reduce((function(t,n){return e.checkLogic(n)&&t}),!0):n.when.hasOwnProperty("or")?n.when.or.reduce((function(t,n){return e.checkLogic(n)||t}),!1):this.checkLogic(n.when))},translatedCompare:function(t,e,n){return this.$t(t+e).localeCompare(this.$t(t+n))},checkLogic:function(t){switch(t.operator){case"equals":return this.settings[t.setting].value===t.value;case"in":return t.value.includes(this.settings[t.setting].value);default:return!0}}},mounted:function(){var t=this;window.onpopstate=this.handleBack,axios.get(route("settings.list")).then((function(e){return t.settings=e.data}))},computed:{groups:function(){var t=this;if(_.isEmpty(this.settings)){var e={};return this.tabs.sort((function(e,n){return t.translatedCompare("settings.groups.",e,n)})).forEach((function(t){e[t]=[]})),e}for(var n={},a=0,s=Object.keys(this.settings);a li > a[data-v-6072cc1c],\n.with-nav-tabs.panel-default .nav-tabs > li > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > li > a[data-v-6072cc1c]:focus {\n color: #777;\n}\n.with-nav-tabs.panel-default .nav-tabs > .open > a[data-v-6072cc1c],\n.with-nav-tabs.panel-default .nav-tabs > .open > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > .open > a[data-v-6072cc1c]:focus,\n.with-nav-tabs.panel-default .nav-tabs > li > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > li > a[data-v-6072cc1c]:focus {\n color: #777;\n background-color: #ddd;\n border-color: transparent;\n}\n.with-nav-tabs.panel-default .nav-tabs > li.active > a[data-v-6072cc1c],\n.with-nav-tabs.panel-default .nav-tabs > li.active > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > li.active > a[data-v-6072cc1c]:focus {\n color: #555;\n background-color: #fff;\n border-color: #ddd;\n border-bottom-color: transparent;\n}\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu[data-v-6072cc1c] {\n background-color: #f5f5f5;\n border-color: #ddd;\n}\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a[data-v-6072cc1c] {\n color: #777;\n}\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a[data-v-6072cc1c]:focus {\n background-color: #ddd;\n}\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a[data-v-6072cc1c],\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a[data-v-6072cc1c]:focus {\n color: #fff;\n background-color: #555;\n}\n",""])},nsVt:function(t,e,n){"use strict";n.r(e);var a={name:"BaseSetting",props:{name:{type:String,required:!0},value:{required:!0},disabled:Boolean,required:Boolean,pattern:String,options:{}}},s=n("KHd+"),i=Object(s.a)(a,void 0,void 0,!1,null,null,null);e.default=i.exports},p9UU:function(t,e,n){"use strict";var a=n("Rt1K");n.n(a).a},"pYH+":function(t,e,n){"use strict";var a=n("JXYM");n.n(a).a},pyCd:function(t,e){},q8tH:function(t,e,n){"use strict";n.r(e);var a={name:"SettingText",mixins:[n("nsVt").default]},s=n("KHd+"),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"text",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"28baf02e",null);e.default=i.exports},qodb:function(t,e,n){"use strict";n.r(e);var a={name:"AccordionItem",props:{name:{type:String,required:!0},text:String,active:Boolean,icon:String},data:function(){return{isActive:this.active}},mounted:function(){window.location.hash===this.hash()&&(this.isActive=!0)},watch:{active:function(t){this.isActive=t},isActive:function(t){this.$parent.$emit(t?"expanded":"collapsed",this.slug())}},methods:{slug:function(){return this.name.toString().toLowerCase().replace(/\s+/g,"-")},hash:function(){return"#"+this.slug()}}},s=(n("0m/0"),n("KHd+")),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading",attrs:{role:"tab",id:t.slug()}},[n("h4",{staticClass:"panel-title"},[n("a",{staticClass:"accordion-item-trigger",class:{collapsed:!t.isActive},attrs:{role:"button","data-parent":"#accordion","data-href":t.hash()},on:{click:function(e){t.isActive=!t.isActive}}},[n("i",{staticClass:"fa fa-chevron-down accordion-item-trigger-icon"}),t._v(" "),t.icon?n("i",{class:["fa","fa-fw",t.icon]}):t._e(),t._v("\n "+t._s(t.text||t.name)+"\n ")])])]),t._v(" "),n("transition-collapse-height",[t.isActive?n("div",{class:["panel-collapse","collapse",{in:t.isActive}],attrs:{id:t.slug()+"-content",role:"tabpanel"}},[n("div",{staticClass:"panel-body"},[t._t("default")],2)]):t._e()])],1)}),[],!1,null,"af5cb116",null);e.default=i.exports},svCc:function(t,e,n){"use strict";var a=n("k925");n.n(a).a},tCMV:function(t,e,n){"use strict";n.r(e);var a={name:"SettingInteger",mixins:[n("nsVt").default],methods:{parseNumber:function(t){var e=parseFloat(t);return isNaN(e)?t:e}}},s=(n("p9UU"),n("KHd+")),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"number",name:t.name,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){t.$emit("input",t.parseNumber(e.target.value))}}})}),[],!1,null,"685cdc22",null);e.default=i.exports},tK7y:function(t,e,n){"use strict";var a=n("GJqu");n.n(a).a},ul9H:function(t,e,n){"use strict";n.r(e);var a=n("nsVt"),s=n("MQ60"),i=n.n(s),o={name:"SettingArray",mixins:[a.default],components:{draggable:i.a},data:function(){return{localList:this.value,newItem:""}},methods:{addItem:function(){this.localList.push(this.newItem),this.$emit("input",this.localList),this.newItem=""},removeItem:function(t){this.localList.splice(t,1),this.$emit("input",this.localList)},updateItem:function(t,e){this.localList[t]=e,this.$emit("input",this.localList)},dragged:function(){this.$emit("input",this.localList)}},watch:{value:function(t){this.localList=t}}},r=(n("QDxF"),n("KHd+")),l=Object(r.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:!!t.disabled&&t.$t("settings.readonly"),expression:"disabled ? $t('settings.readonly') : false"}]},[n("draggable",{attrs:{disabled:t.disabled},on:{end:function(e){return t.dragged()}},model:{value:t.localList,callback:function(e){t.localList=e},expression:"localList"}},t._l(t.localList,(function(e,a){return n("div",{staticClass:"input-group"},[n("span",{class:["input-group-addon",t.disabled?"disabled":""]},[t._v(t._s(a+1)+".")]),t._v(" "),n("input",{staticClass:"form-control",attrs:{type:"text",readonly:t.disabled},domProps:{value:e},on:{blur:function(e){return t.updateItem(a,e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.updateItem(a,e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[t.disabled?t._e():n("button",{staticClass:"btn btn-danger",attrs:{type:"button"},on:{click:function(e){return t.removeItem(a)}}},[n("i",{staticClass:"fa fa-minus-circle"})])])])})),0),t._v(" "),t.disabled?t._e():n("div",[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.newItem,expression:"newItem"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.newItem},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.addItem(e)},input:function(e){e.target.composing||(t.newItem=e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addItem}},[n("i",{staticClass:"fa fa-plus-circle"})])])])])],1)}),[],!1,null,"1e553845",null);e.default=l.exports}},[[0,1,2]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+EXy":function(t,e,n){var a=n("EKCJ");"string"==typeof a&&(a=[[t.i,a,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,s);a.locals&&(t.exports=a.locals)},"+fAT":function(t,e,n){var a={"./components/Accordion.vue":"07Va","./components/AccordionItem.vue":"qodb","./components/BaseSetting.vue":"nsVt","./components/ExampleComponent.vue":"AEaB","./components/LibrenmsSetting.vue":"9n66","./components/LibrenmsSettings.vue":"OB2S","./components/PollerSettings.vue":"h5Vs","./components/SettingArray.vue":"ul9H","./components/SettingBoolean.vue":"ld4D","./components/SettingDashboardSelect.vue":"ehi2","./components/SettingEmail.vue":"YujN","./components/SettingInteger.vue":"tCMV","./components/SettingLdapGroups.vue":"Zrdh","./components/SettingMultiple.vue":"ir5f","./components/SettingNull.vue":"NgQ3","./components/SettingPassword.vue":"ShZc","./components/SettingSelect.vue":"M77q","./components/SettingSnmp3auth.vue":"/MA7","./components/SettingText.vue":"q8tH","./components/Tab.vue":"cQaf","./components/Tabs.vue":"Pm5W","./components/TransitionCollapseHeight.vue":"ITC5"};function s(t){var e=i(t);return n(e)}function i(t){if(!n.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}s.keys=function(){return Object.keys(a)},s.resolve=i,t.exports=s,s.id="+fAT"},"/MA7":function(t,e,n){"use strict";n.r(e);var a={name:"SettingSnmp3auth",mixins:[n("nsVt").default],data:function(){return{localList:this.value}},methods:{addItem:function(){this.localList.push({authlevel:"noAuthNoPriv",authalgo:"MD5",authname:"",authpass:"",cryptoalgo:"AES",cryptopass:""}),this.$emit("input",this.localList)},removeItem:function(t){this.localList.splice(t,1),this.$emit("input",this.localList)},updateItem:function(t,e,n){this.localList[t][e]=n,this.$emit("input",this.localList)},dragged:function(){this.$emit("input",this.localList)}},watch:{value:function(t){this.localList=t}}},s=(n("fJHU"),n("KHd+")),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("draggable",{attrs:{disabled:t.disabled},on:{end:function(e){return t.dragged()}},model:{value:t.localList,callback:function(e){t.localList=e},expression:"localList"}},t._l(t.localList,(function(e,a){return n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("h3",{staticClass:"panel-title"},[t._v(t._s(a+1)+". "),t.disabled?t._e():n("span",{staticClass:"pull-right text-danger",on:{click:function(e){return t.removeItem(a)}}},[n("i",{staticClass:"fa fa-minus-circle"})])])]),t._v(" "),n("div",{staticClass:"panel-body"},[n("form",{on:{onsubmit:function(t){t.preventDefault()}}},[n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.authlevel,expression:"item.authlevel"}],staticClass:"form-control",attrs:{id:"authlevel",disabled:t.disabled},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"authlevel",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"noAuthNoPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.noAuthNoPriv"))}}),t._v(" "),n("option",{attrs:{value:"authNoPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.authNoPriv"))}}),t._v(" "),n("option",{attrs:{value:"authPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.authPriv"))}})])])]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:"auth"===e.authlevel.toString().substring(0,4),expression:"item.authlevel.toString().substring(0, 4) === 'auth'"}],attrs:{name:"algo",disabled:t.disabled}},[n("legend",{staticClass:"h4",domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.auth"))}}),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authalgo"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authalgo"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.authalgo,expression:"item.authalgo"}],staticClass:"form-control",attrs:{id:"authalgo",name:"authalgo"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"authalgo",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"MD5"}},[t._v("MD5")]),t._v(" "),n("option",{attrs:{value:"SHA"}},[t._v("SHA")])])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authname"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authname"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"authname"},domProps:{value:e.authname},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authpass"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authpass"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"authpass"},domProps:{value:e.authpass},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])])]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:"authPriv"===e.authlevel,expression:"item.authlevel === 'authPriv'"}],attrs:{name:"crypt",disabled:t.disabled}},[n("legend",{staticClass:"h4",domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.crypto"))}}),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"cryptoalgo"}},[t._v("Cryptoalgo")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.cryptoalgo,expression:"item.cryptoalgo"}],staticClass:"form-control",attrs:{id:"cryptoalgo"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"cryptoalgo",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"AES"}},[t._v("AES")]),t._v(" "),n("option",{attrs:{value:"DES"}},[t._v("DES")])])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"cryptopass"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authpass"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"cryptopass"},domProps:{value:e.cryptopass},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])])])])])])])})),0),t._v(" "),t.disabled?t._e():n("div",{staticClass:"row snmp3-add-button"},[n("div",{staticClass:"col-sm-12"},[n("button",{staticClass:"btn btn-primary",on:{click:function(e){return t.addItem()}}},[n("i",{staticClass:"fa fa-plus-circle"}),t._v(" "+t._s(t.$t("New")))])])])],1)}),[],!1,null,"2e6100d1",null);e.default=i.exports},0:function(t,e,n){n("bUC5"),t.exports=n("pyCd")},"07Va":function(t,e,n){"use strict";n.r(e);var a={name:"Accordion",props:{multiple:{type:Boolean,default:!1}},methods:{setActive:function(t){this.$children.forEach((function(e){e.slug()===t&&(e.isActive=!0)}))},activeChanged:function(t){this.multiple||this.$children.forEach((function(e){e.slug()!==t&&(e.isActive=!1)}))}},mounted:function(){this.$on("expanded",this.activeChanged)}},s=n("KHd+"),i=Object(s.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"panel-group",attrs:{role:"tablist"}},[this._t("default")],2)}),[],!1,null,"7626d1af",null);e.default=i.exports},"0m/0":function(t,e,n){"use strict";var a=n("ct6m");n.n(a).a},"0n5T":function(t,e,n){"use strict";var a=n("ROy3");n.n(a).a},"1ygf":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.input-group[data-v-1e553845] {\n margin-bottom: 3px;\n}\n.input-group-addon[data-v-1e553845]:not(.disabled) {\n cursor: move;\n}\n",""])},"5ycP":function(t,e,n){var a=n("7rtz");"string"==typeof a&&(a=[[t.i,a,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,s);a.locals&&(t.exports=a.locals)},"7rtz":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.tab-content {\n width: 100%;\n}\n",""])},"9UL7":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.enter-active[data-v-00169edd],\n.leave-active[data-v-00169edd] {\n overflow: hidden;\n transition: height 0.2s linear;\n}\n",""])},"9Wh1":function(t,e,n){window._=n("LvDl");try{window.Popper=n("8L3F").default}catch(t){}window.axios=n("vDqi"),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token"),n("nErG")},"9n66":function(t,e,n){"use strict";n.r(e);var a={name:"LibrenmsSetting",props:{setting:{type:Object,required:!0},prefix:{type:String,default:"settings"},id:{required:!1}},data:function(){return{value:this.setting.value,feedback:""}},methods:{persistValue:function(t){var e=this;axios.put(route(this.prefix+".update",this.getRouteParams()),{value:t}).then((function(t){e.value=t.data.value,e.$emit("setting-updated",{name:e.setting.name,value:e.value}),e.feedback="has-success",setTimeout((function(){return e.feedback=""}),3e3)})).catch((function(t){e.feedback="has-error",toastr.error(t.response.data.message);["text","email","password"].includes(e.setting.type)||(e.value=t.response.data.value,e.$emit("setting-updated",{name:e.setting.name,value:e.value}),setTimeout((function(){return e.feedback=""}),3e3))}))},debouncePersistValue:_.debounce((function(t){this.persistValue(t)}),500),changeValue:function(t){["select","boolean","multiple"].includes(this.setting.type)?this.persistValue(t):this.debouncePersistValue(t),this.value=t},getUnits:function(){var t=this.prefix+".units."+this.setting.units;return this.$te(t)?this.$t(t):this.setting.units},getDescription:function(){var t=this.prefix+".settings."+this.setting.name+".description";return this.$te(t)||this.$te(t,this.$i18n.fallbackLocale)?this.$t(t):this.setting.name},getHelp:function(){var t=this.$t(this.prefix+".settings."+this.setting.name+".help");return this.setting.overridden&&(t+="

"+this.$t(this.prefix+".readonly")),t},hasHelp:function(){var t=this.prefix+".settings."+this.setting.name+".help";return this.$te(t)||this.$te(t,this.$i18n.fallbackLocale)},resetToDefault:function(){var t=this;axios.delete(route(this.prefix+".destroy",this.getRouteParams())).then((function(e){t.value=e.data.value,t.feedback="has-success",setTimeout((function(){return t.feedback=""}),3e3)})).catch((function(e){t.feedback="has-error",setTimeout((function(){return t.feedback=""}),3e3),toastr.error(e.response.data.message)}))},resetToInitial:function(){this.changeValue(this.setting.value)},showResetToDefault:function(){return!this.setting.overridden&&!_.isEqual(this.value,this.setting.default)},showUndo:function(){return!_.isEqual(this.setting.value,this.value)},getRouteParams:function(){var t=[this.setting.name];return this.id&&t.unshift(this.id),t},getComponent:function(){var t="Setting"+this.setting.type.toString().replace(/(-[a-z]|^[a-z])/g,(function(t){return t.toUpperCase().replace("-","")}));return void 0!==Vue.options.components[t]?t:"SettingNull"}}},s=n("KHd+"),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["form-group","has-feedback",t.setting.class,t.feedback]},[n("label",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.setting.name},expression:"{ content: setting.name }"}],staticClass:"col-sm-5 control-label",attrs:{for:t.setting.name}},[t._v("\n "+t._s(t.getDescription())+"\n "),t.setting.units?n("span",[t._v("("+t._s(t.getUnits())+")")]):t._e()]),t._v(" "),n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:!!t.setting.disabled&&t.$t(this.prefix+".readonly")},expression:"{ content: setting.disabled ? $t(this.prefix + '.readonly') : false }"}],staticClass:"col-sm-5"},[n(t.getComponent(),{tag:"component",attrs:{value:t.value,name:t.setting.name,pattern:t.setting.pattern,disabled:t.setting.overridden,required:t.setting.required,options:t.setting.options},on:{input:function(e){return t.changeValue(e)},change:function(e){return t.changeValue(e)}}}),t._v(" "),n("span",{staticClass:"form-control-feedback"})],1),t._v(" "),n("div",{staticClass:"col-sm-2"},[n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.$t("Reset to default")},expression:"{ content: $t('Reset to default') }"}],staticClass:"btn btn-default",style:{opacity:t.showResetToDefault()?1:0},attrs:{type:"button"},on:{click:t.resetToDefault}},[n("i",{staticClass:"fa fa-refresh"})]),t._v(" "),n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.$t("Undo")},expression:"{ content: $t('Undo') }"}],staticClass:"btn btn-primary",style:{opacity:t.showUndo()?1:0},attrs:{type:"button"},on:{click:t.resetToInitial}},[n("i",{staticClass:"fa fa-undo"})]),t._v(" "),t.hasHelp()?n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.getHelp(),trigger:"hover click"},expression:"{content: getHelp(), trigger: 'hover click'}"}],staticClass:"fa fa-fw fa-lg fa-question-circle"}):t._e()])])}),[],!1,null,"55ffb6ad",null);e.default=i.exports},AEaB:function(t,e,n){"use strict";n.r(e);var a={mounted:function(){console.log("Component mounted.")}},s=n("KHd+"),i=Object(s.a)(a,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"container"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-md-8"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-header"},[this._v("Example Component")]),this._v(" "),e("div",{staticClass:"card-body"},[this._v("\n I'm an example component.\n ")])])])])])}],!1,null,null,null);e.default=i.exports},B4qk:function(t,e,n){"use strict";var a=n("ZQ8p");n.n(a).a},Dwb7:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n#settings-search[data-v-0db2ec2e] {\n border-radius: 4px\n}\n#settings-search[data-v-0db2ec2e]::-webkit-search-cancel-button {\n -webkit-appearance: searchfield-cancel-button;\n}\nul.settings-list[data-v-0db2ec2e] {\n list-style-type: none;\n}\n",""])},EKCJ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.authlevel[data-v-2e6100d1] {\n font-size: 18px;\n text-align: left;\n}\n.fa-minus-circle[data-v-2e6100d1] {\n cursor: pointer;\n}\n.snmp3-add-button[data-v-2e6100d1] {\n margin-top: 5px;\n}\n",""])},FpnD:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.accordion-item-trigger-icon[data-v-af5cb116] {\n transition: transform 0.2s ease;\n}\n.accordion-item-trigger.collapsed .accordion-item-trigger-icon[data-v-af5cb116] {\n transform: rotate(-90deg);\n}\n",""])},GJqu:function(t,e,n){var a=n("kUp1");"string"==typeof a&&(a=[[t.i,a,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,s);a.locals&&(t.exports=a.locals)},ITC5:function(t,e,n){"use strict";n.r(e);var a={name:"TransitionCollapseHeight",methods:{beforeEnter:function(t){requestAnimationFrame((function(){t.style.height||(t.style.height="0px"),t.style.display=null}))},enter:function(t){requestAnimationFrame((function(){requestAnimationFrame((function(){t.style.height=t.scrollHeight+"px"}))}))},afterEnter:function(t){t.style.height=null},beforeLeave:function(t){requestAnimationFrame((function(){t.style.height||(t.style.height=t.offsetHeight+"px")}))},leave:function(t){requestAnimationFrame((function(){requestAnimationFrame((function(){t.style.height="0px"}))}))},afterLeave:function(t){t.style.height=null}}},s=(n("pYH+"),n("KHd+")),i=Object(s.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("transition",{attrs:{"enter-active-class":"enter-active","leave-active-class":"leave-active"},on:{"before-enter":this.beforeEnter,enter:this.enter,"after-enter":this.afterEnter,"before-leave":this.beforeLeave,leave:this.leave,"after-leave":this.afterLeave}},[this._t("default")],2)}),[],!1,null,"00169edd",null);e.default=i.exports},JXYM:function(t,e,n){var a=n("9UL7");"string"==typeof a&&(a=[[t.i,a,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,s);a.locals&&(t.exports=a.locals)},M77q:function(t,e,n){"use strict";n.r(e);var a={name:"SettingSelect",mixins:[n("nsVt").default],methods:{getText:function(t,e){var n="settings.settings.".concat(t,".options.").concat(e);return this.$te(n)?this.$t(n):e}}},s=n("KHd+"),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("select",{staticClass:"form-control",attrs:{name:t.name,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},t._l(t.options,(function(e,a){return n("option",{domProps:{value:a,selected:t.value===a,textContent:t._s(t.getText(t.name,e))}})})),0)}),[],!1,null,"108ca35b",null);e.default=i.exports},MSLc:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.input-group[data-v-946d0f4c] {\n padding-bottom: 3px;\n}\n",""])},Mxgh:function(t,e,n){var a=n("nz2v");"string"==typeof a&&(a=[[t.i,a,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,s);a.locals&&(t.exports=a.locals)},NgQ3:function(t,e,n){"use strict";n.r(e);var a={name:"SettingNull",props:["name"]},s=(n("tK7y"),n("KHd+")),i=Object(s.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("div",[this._v("Invalid type for: "+this._s(this.name))])}),[],!1,null,"e69e1a5e",null);e.default=i.exports},OB2S:function(t,e,n){"use strict";n.r(e);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t))&&"[object Arguments]"!==Object.prototype.toString.call(t))return;var n=[],a=!0,s=!1,i=void 0;try{for(var r,o=t[Symbol.iterator]();!(a=(r=o.next()).done)&&(n.push(r.value),!e||n.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==o.return||o.return()}finally{if(s)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s={name:"LibrenmsSettings",props:{prefix:String,initialTab:{type:String,default:"alerting"},initialSection:String,tabs:{type:Array}},data:function(){return{tab:this.initialTab,section:this.initialSection,search_phrase:"",settings:{}}},methods:{tabChanged:function(t){this.tab!==t&&(this.tab=t,this.section=null,this.updateUrl())},sectionExpanded:function(t){this.section=t,this.updateUrl()},sectionCollapsed:function(t){this.section===t&&(this.section=null,this.updateUrl())},updateUrl:function(){var t=this.tab;this.section&&(t+="/"+this.section),window.history.pushState(t,"",this.prefix+"/"+t)},handleBack:function(t){var e=a(t.state.split("/"),2);this.tab=e[0],this.section=e[1]},updateSetting:function(t,e){this.$set(this.settings[t],"value",e)},settingShown:function(t){var e=this,n=this.settings[t];return null===n.when||(n.when.hasOwnProperty("and")?n.when.and.reduce((function(t,n){return e.checkLogic(n)&&t}),!0):n.when.hasOwnProperty("or")?n.when.or.reduce((function(t,n){return e.checkLogic(n)||t}),!1):this.checkLogic(n.when))},translatedCompare:function(t,e,n){return this.$t(t+e).localeCompare(this.$t(t+n))},checkLogic:function(t){switch(t.operator){case"equals":return this.settings[t.setting].value===t.value;case"in":return t.value.includes(this.settings[t.setting].value);default:return!0}}},mounted:function(){var t=this;window.onpopstate=this.handleBack,axios.get(route("settings.list")).then((function(e){return t.settings=e.data}))},computed:{groups:function(){var t=this;if(_.isEmpty(this.settings)){var e={};return this.tabs.sort((function(e,n){return t.translatedCompare("settings.groups.",e,n)})).forEach((function(t){e[t]=[]})),e}for(var n={},a=0,s=Object.keys(this.settings);a li > a[data-v-6072cc1c],\n.with-nav-tabs.panel-default .nav-tabs > li > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > li > a[data-v-6072cc1c]:focus {\n color: #777;\n}\n.with-nav-tabs.panel-default .nav-tabs > .open > a[data-v-6072cc1c],\n.with-nav-tabs.panel-default .nav-tabs > .open > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > .open > a[data-v-6072cc1c]:focus,\n.with-nav-tabs.panel-default .nav-tabs > li > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > li > a[data-v-6072cc1c]:focus {\n color: #777;\n background-color: #ddd;\n border-color: transparent;\n}\n.with-nav-tabs.panel-default .nav-tabs > li.active > a[data-v-6072cc1c],\n.with-nav-tabs.panel-default .nav-tabs > li.active > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > li.active > a[data-v-6072cc1c]:focus {\n color: #555;\n background-color: #fff;\n border-color: #ddd;\n border-bottom-color: transparent;\n}\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu[data-v-6072cc1c] {\n background-color: #f5f5f5;\n border-color: #ddd;\n}\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a[data-v-6072cc1c] {\n color: #777;\n}\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a[data-v-6072cc1c]:focus {\n background-color: #ddd;\n}\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a[data-v-6072cc1c],\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a[data-v-6072cc1c]:hover,\n.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a[data-v-6072cc1c]:focus {\n color: #fff;\n background-color: #555;\n}\n",""])},nsVt:function(t,e,n){"use strict";n.r(e);var a={name:"BaseSetting",props:{name:{type:String,required:!0},value:{required:!0},disabled:Boolean,required:Boolean,pattern:String,options:{}}},s=n("KHd+"),i=Object(s.a)(a,void 0,void 0,!1,null,null,null);e.default=i.exports},nz2v:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.setting-container[data-v-64edb5ca] {\n margin-bottom: 10px;\n}\n",""])},p9UU:function(t,e,n){"use strict";var a=n("Rt1K");n.n(a).a},"pYH+":function(t,e,n){"use strict";var a=n("JXYM");n.n(a).a},pyCd:function(t,e){},q8tH:function(t,e,n){"use strict";n.r(e);var a={name:"SettingText",mixins:[n("nsVt").default]},s=n("KHd+"),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"text",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"28baf02e",null);e.default=i.exports},qodb:function(t,e,n){"use strict";n.r(e);var a={name:"AccordionItem",props:{name:{type:String,required:!0},text:String,active:Boolean,icon:String},data:function(){return{isActive:this.active}},mounted:function(){window.location.hash===this.hash()&&(this.isActive=!0)},watch:{active:function(t){this.isActive=t},isActive:function(t){this.$parent.$emit(t?"expanded":"collapsed",this.slug())}},methods:{slug:function(){return this.name.toString().toLowerCase().replace(/\s+/g,"-")},hash:function(){return"#"+this.slug()}}},s=(n("0m/0"),n("KHd+")),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading",attrs:{role:"tab",id:t.slug()}},[n("h4",{staticClass:"panel-title"},[n("a",{staticClass:"accordion-item-trigger",class:{collapsed:!t.isActive},attrs:{role:"button","data-parent":"#accordion","data-href":t.hash()},on:{click:function(e){t.isActive=!t.isActive}}},[n("i",{staticClass:"fa fa-chevron-down accordion-item-trigger-icon"}),t._v(" "),t.icon?n("i",{class:["fa","fa-fw",t.icon]}):t._e(),t._v("\n "+t._s(t.text||t.name)+"\n ")])])]),t._v(" "),n("transition-collapse-height",[t.isActive?n("div",{class:["panel-collapse","collapse",{in:t.isActive}],attrs:{id:t.slug()+"-content",role:"tabpanel"}},[n("div",{staticClass:"panel-body"},[t._t("default")],2)]):t._e()])],1)}),[],!1,null,"af5cb116",null);e.default=i.exports},svCc:function(t,e,n){"use strict";var a=n("k925");n.n(a).a},tCMV:function(t,e,n){"use strict";n.r(e);var a={name:"SettingInteger",mixins:[n("nsVt").default],methods:{parseNumber:function(t){var e=parseFloat(t);return isNaN(e)?t:e}}},s=(n("p9UU"),n("KHd+")),i=Object(s.a)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"number",name:t.name,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){t.$emit("input",t.parseNumber(e.target.value))}}})}),[],!1,null,"685cdc22",null);e.default=i.exports},tK7y:function(t,e,n){"use strict";var a=n("GJqu");n.n(a).a},ul9H:function(t,e,n){"use strict";n.r(e);var a=n("nsVt"),s=n("MQ60"),i=n.n(s),r={name:"SettingArray",mixins:[a.default],components:{draggable:i.a},data:function(){return{localList:this.value,newItem:""}},methods:{addItem:function(){this.localList.push(this.newItem),this.$emit("input",this.localList),this.newItem=""},removeItem:function(t){this.localList.splice(t,1),this.$emit("input",this.localList)},updateItem:function(t,e){this.localList[t]=e,this.$emit("input",this.localList)},dragged:function(){this.$emit("input",this.localList)}},watch:{value:function(t){this.localList=t}}},o=(n("QDxF"),n("KHd+")),l=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:!!t.disabled&&t.$t("settings.readonly"),expression:"disabled ? $t('settings.readonly') : false"}]},[n("draggable",{attrs:{disabled:t.disabled},on:{end:function(e){return t.dragged()}},model:{value:t.localList,callback:function(e){t.localList=e},expression:"localList"}},t._l(t.localList,(function(e,a){return n("div",{staticClass:"input-group"},[n("span",{class:["input-group-addon",t.disabled?"disabled":""]},[t._v(t._s(a+1)+".")]),t._v(" "),n("input",{staticClass:"form-control",attrs:{type:"text",readonly:t.disabled},domProps:{value:e},on:{blur:function(e){return t.updateItem(a,e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.updateItem(a,e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[t.disabled?t._e():n("button",{staticClass:"btn btn-danger",attrs:{type:"button"},on:{click:function(e){return t.removeItem(a)}}},[n("i",{staticClass:"fa fa-minus-circle"})])])])})),0),t._v(" "),t.disabled?t._e():n("div",[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.newItem,expression:"newItem"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.newItem},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.addItem(e)},input:function(e){e.target.composing||(t.newItem=e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addItem}},[n("i",{staticClass:"fa fa-plus-circle"})])])])])],1)}),[],!1,null,"1e553845",null);e.default=l.exports}},[[0,1,2]]]); \ No newline at end of file diff --git a/html/js/vendor.js b/html/js/vendor.js index d67135feba..71af815eda 100644 --- a/html/js/vendor.js +++ b/html/js/vendor.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"2SVd":function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},"433b":function(t,e,n){"use strict";(function(t){var r=n("8L3F"),o=n("JSzz");function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n-1};var O=function(t,e){var n=this.__data__,r=y(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function S(t){var e=-1,n=null==t?0:t.length;for(this.clear();++es))return!1;var c=i.get(t);if(c&&i.get(e))return c==e;var l=-1,f=!0,p=2&n?new Lt:void 0;for(i.set(t,e),i.set(e,t);++l-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991},le={};le["[object Float32Array]"]=le["[object Float64Array]"]=le["[object Int8Array]"]=le["[object Int16Array]"]=le["[object Int32Array]"]=le["[object Uint8Array]"]=le["[object Uint8ClampedArray]"]=le["[object Uint16Array]"]=le["[object Uint32Array]"]=!0,le["[object Arguments]"]=le["[object Array]"]=le["[object ArrayBuffer]"]=le["[object Boolean]"]=le["[object DataView]"]=le["[object Date]"]=le["[object Error]"]=le["[object Function]"]=le["[object Map]"]=le["[object Number]"]=le["[object Object]"]=le["[object RegExp]"]=le["[object Set]"]=le["[object String]"]=le["[object WeakMap]"]=!1;var fe=function(t){return Qt(t)&&ce(t.length)&&!!le[W(t)]};var pe=function(t){return function(e){return t(e)}},de=j((function(t,e){var n=e&&!e.nodeType&&e,r=n&&t&&!t.nodeType&&t,o=r&&r.exports===n&&D.process,i=function(){try{var t=r&&r.require&&r.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=i})),he=de&&de.isTypedArray,ve=he?pe(he):fe,ge=Object.prototype.hasOwnProperty;var me=function(t,e){var n=Vt(t),r=!n&&oe(t),o=!n&&!r&&ae(t),i=!n&&!r&&!o&&ve(t),a=n||r||o||i,s=a?Zt(t.length,String):[],u=s.length;for(var c in t)!e&&!ge.call(t,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ue(c,u))||s.push(c);return s},ye=Object.prototype;var be=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ye)};var _e=function(t,e){return function(n){return t(e(n))}},we=_e(Object.keys,Object),xe=Object.prototype.hasOwnProperty;var Oe=function(t){if(!be(t))return we(t);var e=[];for(var n in Object(t))xe.call(t,n)&&"constructor"!=n&&e.push(n);return e};var Se=function(t){return null!=t&&ce(t.length)&&!K(t)};var Ce=function(t){return Se(t)?me(t):Oe(t)};var Ee=function(t){return qt(t,Ce,Gt)},Te=Object.prototype.hasOwnProperty;var ke=function(t,e,n,r,o,i){var a=1&n,s=Ee(t),u=s.length;if(u!=Ee(e).length&&!a)return!1;for(var c=u;c--;){var l=s[c];if(!(a?l in e:Te.call(e,l)))return!1}var f=i.get(t);if(f&&i.get(e))return f==e;var p=!0;i.set(t,e),i.set(e,t);for(var d=a;++c

',trigger:"hover focus",offset:0},Ve=[],qe=function(){function t(e,n){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,"_events",[]),s(this,"_setTooltipNodeEvent",(function(t,e,n,o){var i=t.relatedreference||t.toElement||t.relatedTarget;return!!r._tooltipNode.contains(i)&&(r._tooltipNode.addEventListener(t.type,(function n(i){var a=i.relatedreference||i.toElement||i.relatedTarget;r._tooltipNode.removeEventListener(t.type,n),e.contains(a)||r._scheduleHide(e,o.delay,o,i)})),!0)})),n=c({},We,{},n),e.jquery&&(e=e[0]),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.reference=e,this.options=n,this._isOpen=!1,this._init()}var e,n,o;return e=t,(n=[{key:"show",value:function(){this._show(this.reference,this.options)}},{key:"hide",value:function(){this._hide()}},{key:"dispose",value:function(){this._dispose()}},{key:"toggle",value:function(){return this._isOpen?this.hide():this.show()}},{key:"setClasses",value:function(t){this._classes=t}},{key:"setContent",value:function(t){this.options.title=t,this._tooltipNode&&this._setContent(t,this.options)}},{key:"setOptions",value:function(t){var e=!1,n=t&&t.classes||en.options.defaultClass;He(this._classes,n)||(this.setClasses(n),e=!0),t=Ye(t);var r=!1,o=!1;for(var i in this.options.offset===t.offset&&this.options.placement===t.placement||(r=!0),(this.options.template!==t.template||this.options.trigger!==t.trigger||this.options.container!==t.container||e)&&(o=!0),t)this.options[i]=t[i];if(this._tooltipNode)if(o){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else r&&this.popperInstance.update()}},{key:"_init",value:function(){var t="string"==typeof this.options.trigger?this.options.trigger.split(" "):[];this._isDisposed=!1,this._enableDocumentTouch=-1===t.indexOf("manual"),t=t.filter((function(t){return-1!==["click","hover","focus"].indexOf(t)})),this._setEventListeners(this.reference,t,this.options),this.$_originalTitle=this.reference.getAttribute("title"),this.reference.removeAttribute("title"),this.reference.setAttribute("data-original-title",this.$_originalTitle)}},{key:"_create",value:function(t,e){var n=window.document.createElement("div");n.innerHTML=e.trim();var r=n.childNodes[0];return r.id="tooltip_".concat(Math.random().toString(36).substr(2,10)),r.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(r.addEventListener("mouseenter",this.hide),r.addEventListener("click",this.hide)),r}},{key:"_setContent",value:function(t,e){var n=this;this.asyncContent=!1,this._applyContent(t,e).then((function(){n.popperInstance.update()}))}},{key:"_applyContent",value:function(t,e){var n=this;return new Promise((function(r,o){var i=e.html,a=n._tooltipNode;if(a){var s=a.querySelector(n.options.innerSelector);if(1===t.nodeType){if(i){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(t)}}else{if("function"==typeof t){var u=t();return void(u&&"function"==typeof u.then?(n.asyncContent=!0,e.loadingClass&&p(a,e.loadingClass),e.loadingContent&&n._applyContent(e.loadingContent,e),u.then((function(t){return e.loadingClass&&d(a,e.loadingClass),n._applyContent(t,e)})).then(r).catch(o)):n._applyContent(u,e).then(r).catch(o))}i?s.innerHTML=t:s.innerText=t}r()}}))}},{key:"_show",value:function(t,e){if(!e||"string"!=typeof e.container||document.querySelector(e.container)){clearTimeout(this._disposeTimer),delete(e=Object.assign({},e)).offset;var n=!0;this._tooltipNode&&(p(this._tooltipNode,this._classes),n=!1);var r=this._ensureShown(t,e);return n&&this._tooltipNode&&p(this._tooltipNode,this._classes),p(t,["v-tooltip-open"]),r}}},{key:"_ensureShown",value:function(t,e){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,Ve.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(e.title,e),this;var o=t.getAttribute("title")||e.title;if(!o)return this;var i=this._create(t,e.template);this._tooltipNode=i,t.setAttribute("aria-describedby",i.id);var a=this._findContainer(e.container,t);this._append(i,a);var s=c({},e.popperOptions,{placement:e.placement});return s.modifiers=c({},s.modifiers,{arrow:{element:this.options.arrowSelector}}),e.boundariesElement&&(s.modifiers.preventOverflow={boundariesElement:e.boundariesElement}),this.popperInstance=new r.default(t,i,s),this._setContent(o,e),requestAnimationFrame((function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame((function(){n._isDisposed?n.dispose():n._isOpen&&i.setAttribute("aria-hidden","false")}))):n.dispose()})),this}},{key:"_noLongerOpen",value:function(){var t=Ve.indexOf(this);-1!==t&&Ve.splice(t,1)}},{key:"_hide",value:function(){var t=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var e=en.options.disposeTimeout;return null!==e&&(this._disposeTimer=setTimeout((function(){t._tooltipNode&&(t._tooltipNode.removeEventListener("mouseenter",t.hide),t._tooltipNode.removeEventListener("click",t.hide),t._removeTooltipNode())}),e)),d(this.reference,["v-tooltip-open"]),this}},{key:"_removeTooltipNode",value:function(){if(this._tooltipNode){var t=this._tooltipNode.parentNode;t&&(t.removeChild(this._tooltipNode),this.reference.removeAttribute("aria-describedby")),this._tooltipNode=null}}},{key:"_dispose",value:function(){var t=this;return this._isDisposed=!0,this.reference.removeAttribute("data-original-title"),this.$_originalTitle&&this.reference.setAttribute("title",this.$_originalTitle),this._events.forEach((function(e){var n=e.func,r=e.event;t.reference.removeEventListener(r,n)})),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||this._removeTooltipNode()):this._noLongerOpen(),this}},{key:"_findContainer",value:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t}},{key:"_append",value:function(t,e){e.appendChild(t)}},{key:"_setEventListeners",value:function(t,e,n){var r=this,o=[],i=[];e.forEach((function(t){switch(t){case"hover":o.push("mouseenter"),i.push("mouseleave"),r.options.hideOnTargetClick&&i.push("click");break;case"focus":o.push("focus"),i.push("blur"),r.options.hideOnTargetClick&&i.push("click");break;case"click":o.push("click"),i.push("click")}})),o.forEach((function(e){var o=function(e){!0!==r._isOpen&&(e.usedByTooltip=!0,r._scheduleShow(t,n.delay,n,e))};r._events.push({event:e,func:o}),t.addEventListener(e,o)})),i.forEach((function(e){var o=function(e){!0!==e.usedByTooltip&&r._scheduleHide(t,n.delay,n,e)};r._events.push({event:e,func:o}),t.addEventListener(e,o)}))}},{key:"_onDocumentTouch",value:function(t){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,t)}},{key:"_scheduleShow",value:function(t,e,n){var r=this,o=e&&e.show||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){return r._show(t,n)}),o)}},{key:"_scheduleHide",value:function(t,e,n,r){var o=this,i=e&&e.hide||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){if(!1!==o._isOpen&&o._tooltipNode.ownerDocument.body.contains(o._tooltipNode)){if("mouseleave"===r.type&&o._setTooltipNodeEvent(r,t,e,n))return;o._hide(t,n)}}),i)}}])&&a(e.prototype,n),o&&a(e,o),t}();"undefined"!=typeof document&&document.addEventListener("touchstart",(function(t){for(var e=0;e
',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultOpenClass:"open",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}};function Ye(t){var e={placement:void 0!==t.placement?t.placement:en.options.defaultPlacement,delay:void 0!==t.delay?t.delay:en.options.defaultDelay,html:void 0!==t.html?t.html:en.options.defaultHtml,template:void 0!==t.template?t.template:en.options.defaultTemplate,arrowSelector:void 0!==t.arrowSelector?t.arrowSelector:en.options.defaultArrowSelector,innerSelector:void 0!==t.innerSelector?t.innerSelector:en.options.defaultInnerSelector,trigger:void 0!==t.trigger?t.trigger:en.options.defaultTrigger,offset:void 0!==t.offset?t.offset:en.options.defaultOffset,container:void 0!==t.container?t.container:en.options.defaultContainer,boundariesElement:void 0!==t.boundariesElement?t.boundariesElement:en.options.defaultBoundariesElement,autoHide:void 0!==t.autoHide?t.autoHide:en.options.autoHide,hideOnTargetClick:void 0!==t.hideOnTargetClick?t.hideOnTargetClick:en.options.defaultHideOnTargetClick,loadingClass:void 0!==t.loadingClass?t.loadingClass:en.options.defaultLoadingClass,loadingContent:void 0!==t.loadingContent?t.loadingContent:en.options.defaultLoadingContent,popperOptions:c({},void 0!==t.popperOptions?t.popperOptions:en.options.defaultPopperOptions)};if(e.offset){var n=i(e.offset),r=e.offset;("number"===n||"string"===n&&-1===r.indexOf(","))&&(r="0, ".concat(r)),e.popperOptions.modifiers||(e.popperOptions.modifiers={}),e.popperOptions.modifiers.offset={offset:r}}return e.trigger&&-1!==e.trigger.indexOf("click")&&(e.hideOnTargetClick=!1),e}function Ge(t,e){for(var n=t.placement,r=0;r2&&void 0!==arguments[2]?arguments[2]:{},r=Ze(e),o=void 0!==e.classes?e.classes:en.options.defaultClass,i=c({title:r},Ye(c({},e,{placement:Ge(e,n)}))),a=t._tooltip=new qe(t,i);a.setClasses(o),a._vueEl=t;var s=void 0!==e.targetClasses?e.targetClasses:en.options.defaultTargetClass;return t._tooltipTargetClasses=s,p(t,s),a}(t,r,o),void 0!==r.show&&r.show!==t._tooltipOldShow&&(t._tooltipOldShow=r.show,r.show?n.show():n.hide())):Qe(t)}var en={options:Xe,bind:tn,update:tn,unbind:function(t){Qe(t)}};function nn(t){t.addEventListener("click",on),t.addEventListener("touchstart",an,!!h&&{passive:!0})}function rn(t){t.removeEventListener("click",on),t.removeEventListener("touchstart",an),t.removeEventListener("touchend",sn),t.removeEventListener("touchcancel",un)}function on(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function an(t){if(1===t.changedTouches.length){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",sn),e.addEventListener("touchcancel",un)}}function sn(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){var n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function un(t){t.currentTarget.$_vclosepopover_touch=!1}var cn={bind:function(t,e){var n=e.value,r=e.modifiers;t.$_closePopoverModifiers=r,(void 0===n||n)&&nn(t)},update:function(t,e){var n=e.value,r=e.oldValue,o=e.modifiers;t.$_closePopoverModifiers=o,n!==r&&(void 0===n||n?nn(t):rn(t))},unbind:function(t){rn(t)}};function ln(t){var e=en.options.popover[t];return void 0===e?en.options[t]:e}var fn=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(fn=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var pn=[],dn=function(){};"undefined"!=typeof window&&(dn=window.Element);var hn={name:"VPopover",components:{ResizeObserver:o.a},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return ln("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return ln("defaultDelay")}},offset:{type:[String,Number],default:function(){return ln("defaultOffset")}},trigger:{type:String,default:function(){return ln("defaultTrigger")}},container:{type:[String,Object,dn,Boolean],default:function(){return ln("defaultContainer")}},boundariesElement:{type:[String,dn],default:function(){return ln("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return ln("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return ln("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return en.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return en.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return en.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return en.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return en.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return en.options.popover.defaultHandleResize}},openGroup:{type:String,default:null},openClass:{type:[String,Array],default:function(){return en.options.popover.defaultOpenClass}}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return s({},this.openClass,this.isOpen)},popoverId:function(){return"popover_".concat(this.id)}},watch:{open:function(t){t?this.show():this.hide()},disabled:function(t,e){t!==e&&(t?this.hide():this.open&&this.show())},container:function(t){if(this.isOpen&&this.popperInstance){var e=this.$refs.popover,n=this.$refs.trigger,r=this.$_findContainer(this.container,n);if(!r)return void console.warn("No container for popover",this);r.appendChild(e),this.popperInstance.scheduleUpdate()}},trigger:function(t){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(t){var e=this;this.$_updatePopper((function(){e.popperInstance.options.placement=t}))},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t),this.$_init(),this.open&&this.show()},deactivated:function(){this.hide()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.event,r=(e.skipDelay,e.force),o=void 0!==r&&r;!o&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame((function(){t.$_beingShowed=!1}))},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event;t.skipDelay;this.$_scheduleHide(e),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var t=this,e=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var o=this.$_findContainer(this.container,e);if(!o)return void console.warn("No container for popover",this);o.appendChild(n),this.$_mounted=!0}if(!this.popperInstance){var i=c({},this.popperOptions,{placement:this.placement});if(i.modifiers=c({},i.modifiers,{arrow:c({},i.modifiers&&i.modifiers.arrow,{element:this.$refs.arrow})}),this.offset){var a=this.$_getOffset();i.modifiers.offset=c({},i.modifiers&&i.modifiers.offset,{offset:a})}this.boundariesElement&&(i.modifiers.preventOverflow=c({},i.modifiers&&i.modifiers.preventOverflow,{boundariesElement:this.boundariesElement})),this.popperInstance=new r.default(e,n,i),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();!t.$_isDisposed&&t.popperInstance?(t.popperInstance.scheduleUpdate(),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();t.$_isDisposed?t.dispose():t.isOpen=!0}))):t.dispose()}))}var s=this.openGroup;if(s)for(var u,l=0;l1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),t)this.$_show();else{var e=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),e)}},$_scheduleHide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var r=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout((function(){if(t.isOpen){if(e&&"mouseleave"===e.type)if(t.$_setTooltipNodeEvent(e))return;t.$_hide()}}),r)}},$_setTooltipNodeEvent:function(t){var e=this,n=this.$refs.trigger,r=this.$refs.popover,o=t.relatedreference||t.toElement||t.relatedTarget;return!!r.contains(o)&&(r.addEventListener(t.type,(function o(i){var a=i.relatedreference||i.toElement||i.relatedTarget;r.removeEventListener(t.type,o),n.contains(a)||e.hide({event:i})})),!0)},$_removeEventListeners:function(){var t=this.$refs.trigger;this.$_events.forEach((function(e){var n=e.func,r=e.event;t.removeEventListener(r,n)})),this.$_events=[]},$_updatePopper:function(t){this.popperInstance&&(t(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var t=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),t&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout((function(){e.$_preventOpen=!1}),300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function vn(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=function(n){var r=pn[n];if(r.$refs.popover){var o=r.$refs.popover.contains(t.target);requestAnimationFrame((function(){(t.closeAllPopover||t.closePopover&&o||r.autoHide&&!o)&&r.$_handleGlobalClose(t,e)}))}},r=0;r0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(tr);var rr=function(t,e){return nr(Zn(t,e,Xn),t+"")};var or=function(t,e,n){if(!V(n))return!1;var r=typeof e;return!!("number"==r?Se(n)&&ue(e,n.length):"string"==r&&e in n)&&m(n[e],t)};var ir=function(t){return rr((function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&&or(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++r1&&void 0!==arguments[1]?arguments[1]:{};if(!t.installed){t.installed=!0;var r={};ir(r,Xe,n),ar.options=r,en.options=r,e.directive("tooltip",en),e.directive("close-popover",cn),e.component("v-popover",yn)}},get enabled(){return Ke.enabled},set enabled(t){Ke.enabled=t}},sr=null;"undefined"!=typeof window?sr=window.Vue:void 0!==t&&(sr=t.Vue),sr&&sr.use(ar),e.a=ar}).call(this,n("yLpj"))},"5oMp":function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},"8L3F":function(t,e,n){"use strict";n.r(e),function(t){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e=0)return 1;return 0}();var o=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}};function i(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function u(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:u(s(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var l=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?l:10===t?f:l||f}function d(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:t?t.ownerDocument.documentElement:document.documentElement}function h(t){return null!==t.parentNode?h(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,u=i.commonAncestorContainer;if(t!==u&&e!==u||r.contains(o))return"BODY"===(s=(a=u).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(u):u;var c=h(t);return c.host?v(c.host,e):v(t,h(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}return t[n]}function m(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),o=g(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}function y(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function b(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,n=t.documentElement,r=p(10)&&getComputedStyle(n);return{height:b("Height",e,n,r),width:b("Width",e,n,r)}}var w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},x=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=p(10),o="HTML"===e.nodeName,i=E(t),s=E(e),c=u(t),l=a(e),f=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=C({top:i.top-s.top-f,left:i.left-s.left-d,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var v=parseFloat(l.marginTop),g=parseFloat(l.marginLeft);h.top-=f-v,h.bottom-=f-v,h.left-=d-g,h.right-=d-g,h.marginTop=v,h.marginLeft=g}return(r&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(h=m(h,e)),h}function k(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=T(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),s=e?0:g(n,"left"),u={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return C(u)}function A(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=s(t);return!!n&&A(n)}function $(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function j(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?$(t):v(t,c(e));if("viewport"===r)i=k(a,o);else{var l=void 0;"scrollParent"===r?"BODY"===(l=u(s(e))).nodeName&&(l=t.ownerDocument.documentElement):l="window"===r?t.ownerDocument.documentElement:r;var f=T(l,a,o);if("HTML"!==l.nodeName||A(a))i=f;else{var p=_(t.ownerDocument),d=p.height,h=p.width;i.top+=f.top-f.marginTop,i.bottom=d+f.top,i.left+=f.left-f.marginLeft,i.right=h+f.left}}var g="number"==typeof(n=n||0);return i.left+=g?n:n.left||0,i.top+=g?n:n.top||0,i.right-=g?n:n.right||0,i.bottom-=g?n:n.bottom||0,i}function D(t){return t.width*t.height}function M(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=j(n,r,i,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},u=Object.keys(s).map((function(t){return S({key:t},s[t],{area:D(s[t])})})).sort((function(t,e){return e.area-t.area})),c=u.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),l=c.length>0?c[0].key:u[0].key,f=t.split("-")[1];return l+(f?"-"+f:"")}function L(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?$(e):v(e,c(n));return T(n,o,r)}function I(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function N(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function P(t,e,n){n=n.split("-")[0];var r=I(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",u=i?"height":"width",c=i?"width":"height";return o[a]=e[a]+e[u]/2-r[u]/2,o[s]=n===s?e[s]-r[c]:e[N(s)],o}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function R(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=F(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&i(n)&&(e.offsets.popper=C(e.offsets.popper),e.offsets.reference=C(e.offsets.reference),e=n(e,t))})),e}function B(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=M(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=P(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=R(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function z(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function U(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=Q.indexOf(t),r=Q.slice(n+1).concat(Q.slice(0,n));return e?r.reverse():r}var et="flip",nt="clockwise",rt="counterclockwise";function ot(t,e,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(F(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(t,r){var o=(1===r?!i:i)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return C(s)[e]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){J(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))}))})),o}var it={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:O({},u,i[u]),end:O({},u,i[u]+i[c]-a[c])};t.offsets.popper=S({},a,l[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],u=void 0;return u=J(+n)?[+n,0]:ot(n,i,a,s),"left"===s?(i.top+=u[0],i.left-=u[1]):"right"===s?(i.top+=u[0],i.left+=u[1]):"top"===s?(i.left+=u[0],i.top-=u[1]):"bottom"===s&&(i.left+=u[0],i.top+=u[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||d(t.instance.popper);t.instance.reference===n&&(n=d(n));var r=U("transform"),o=t.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var u=j(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=i,o.left=a,o[r]=s,e.boundaries=u;var c=e.priority,l=t.offsets.popper,f={primary:function(t){var n=l[t];return l[t]u[t]&&!e.escapeWithReference&&(r=Math.min(l[n],u[t]-("right"===t?l.width:l.height))),O({},n,r)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=S({},l,f[e](t))})),t.offsets.popper=l,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",u=a?"left":"top",c=a?"width":"height";return n[s]i(r[s])&&(t.offsets.popper[u]=i(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!G(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,u=i.reference,c=-1!==["left","right"].indexOf(o),l=c?"height":"width",f=c?"Top":"Left",p=f.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",v=I(r)[l];u[h]-vs[h]&&(t.offsets.popper[p]+=u[p]+v-s[h]),t.offsets.popper=C(t.offsets.popper);var g=u[p]+u[l]/2-v/2,m=a(t.instance.popper),y=parseFloat(m["margin"+f]),b=parseFloat(m["border"+f+"Width"]),_=g-t.offsets.popper[p]-y-b;return _=Math.max(Math.min(s[l]-v,_),0),t.arrowElement=r,t.offsets.arrow=(O(n={},p,Math.round(_)),O(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(z(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=j(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=N(r),i=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case et:a=[r,o];break;case nt:a=tt(r);break;case rt:a=tt(r,!0);break;default:a=e.behavior}return a.forEach((function(s,u){if(r!==s||a.length===u+1)return t;r=t.placement.split("-")[0],o=N(r);var c=t.offsets.popper,l=t.offsets.reference,f=Math.floor,p="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)f(l.top)||"bottom"===r&&f(c.top)f(n.right),v=f(c.top)f(n.bottom),m="left"===r&&d||"right"===r&&h||"top"===r&&v||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(y&&"start"===i&&d||y&&"end"===i&&h||!y&&"start"===i&&v||!y&&"end"===i&&g),_=!!e.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&d||!y&&"start"===i&&g||!y&&"end"===i&&v),w=b||_;(p||m||w)&&(t.flipped=!0,(p||m)&&(r=a[u+1]),w&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=r+(i?"-"+i:""),t.offsets.popper=S({},t.offsets.popper,P(t.instance.popper,t.offsets.reference,t.placement)),t=R(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),t.placement=N(e),t.offsets.popper=C(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!G(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=F(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};w(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=S({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){r.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return S({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&i(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return x(t,[{key:"update",value:function(){return B.call(this)}},{key:"destroy",value:function(){return H.call(this)}},{key:"enableEventListeners",value:function(){return q.call(this)}},{key:"disableEventListeners",value:function(){return K.call(this)}}]),t}();at.Utils=("undefined"!=typeof window?window:t).PopperUtils,at.placements=Z,at.Defaults=it,e.default=at}.call(this,n("yLpj"))},"8gbZ":function(t,e,n){var r;r=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=2)}([function(t,e,n){n(8);var r=n(6)(n(1),n(7),"data-v-25adc6c0",null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default={name:"ToggleButton",props:{value:{type:Boolean,default:!1},name:{type:String},disabled:{type:Boolean,default:!1},tag:{type:String},sync:{type:Boolean,default:!1},speed:{type:Number,default:300},color:{type:[String,Object],validator:function(t){return n.i(r.a)(t)||n.i(r.b)(t,"checked")||n.i(r.b)(t,"unchecked")||n.i(r.b)(t,"disabled")}},switchColor:{type:[String,Object],validator:function(t){return n.i(r.a)(t)||n.i(r.b)(t,"checked")||n.i(r.b)(t,"unchecked")}},cssColors:{type:Boolean,default:!1},labels:{type:[Boolean,Object],default:!1,validator:function(t){return"object"===(void 0===t?"undefined":o(t))?t.checked||t.unchecked:"boolean"==typeof t}},height:{type:Number,default:22},width:{type:Number,default:50},margin:{type:Number,default:3},fontSize:{type:Number}},computed:{className:function(){return["vue-js-switch",{toggled:this.toggled,disabled:this.disabled}]},coreStyle:function(){return{width:n.i(r.c)(this.width),height:n.i(r.c)(this.height),backgroundColor:this.cssColors?null:this.disabled?this.colorDisabled:this.colorCurrent,borderRadius:n.i(r.c)(Math.round(this.height/2))}},buttonRadius:function(){return this.height-2*this.margin},distance:function(){return n.i(r.c)(this.width-this.height+this.margin)},buttonStyle:function(){var t="transform "+this.speed+"ms",e=n.i(r.c)(this.margin),o=this.toggled?n.i(r.d)(this.distance,e):n.i(r.d)(e,e),i=this.switchColor?this.switchColorCurrent:null;return{width:n.i(r.c)(this.buttonRadius),height:n.i(r.c)(this.buttonRadius),transition:t,transform:o,background:i}},labelStyle:function(){return{lineHeight:n.i(r.c)(this.height),fontSize:this.fontSize?n.i(r.c)(this.fontSize):null}},colorChecked:function(){var t=this.color;return n.i(r.e)(t)?n.i(r.f)(t,"checked","#75c791"):t||"#75c791"},colorUnchecked:function(){return n.i(r.f)(this.color,"unchecked","#bfcbd9")},colorDisabled:function(){return n.i(r.f)(this.color,"disabled",this.colorCurrent)},colorCurrent:function(){return this.toggled?this.colorChecked:this.colorUnchecked},labelChecked:function(){return n.i(r.f)(this.labels,"checked","on")},labelUnchecked:function(){return n.i(r.f)(this.labels,"unchecked","off")},switchColorChecked:function(){return n.i(r.f)(this.switchColor,"checked","#fff")},switchColorUnchecked:function(){return n.i(r.f)(this.switchColor,"unchecked","#fff")},switchColorCurrent:function(){return this.switchColor,n.i(r.e)(this.switchColor)?this.toggled?this.switchColorChecked:this.switchColorUnchecked:this.switchColor||"#fff"}},watch:{value:function(t){this.sync&&(this.toggled=!!t)}},data:function(){return{toggled:!!this.value}},methods:{toggle:function(t){var e=!this.toggled;this.sync||(this.toggled=e),this.$emit("input",e),this.$emit("change",{value:e,tag:this.tag,srcEvent:t})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n.n(r);n.d(e,"ToggleButton",(function(){return o.a}));var i=!1;e.default={install:function(t){i||(t.component("ToggleButton",o.a),i=!0)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"e",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return c}));var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t){return"string"==typeof t},i=function(t){return"object"===(void 0===t?"undefined":r(t))},a=function(t,e){return i(t)&&t.hasOwnProperty(e)},s=function(t,e,n){return a(t,e)?t[e]:n},u=function(t){return t+"px"},c=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0px";return"translate3d("+t+", "+e+", "+n+")"}},function(t,e,n){(t.exports=n(5)()).push([t.i,".vue-js-switch[data-v-25adc6c0]{display:inline-block;position:relative;vertical-align:middle;user-select:none;font-size:10px;cursor:pointer}.vue-js-switch .v-switch-input[data-v-25adc6c0]{opacity:0;position:absolute;width:1px;height:1px}.vue-js-switch .v-switch-label[data-v-25adc6c0]{position:absolute;top:0;font-weight:600;color:#fff;z-index:1}.vue-js-switch .v-switch-label.v-left[data-v-25adc6c0]{left:10px}.vue-js-switch .v-switch-label.v-right[data-v-25adc6c0]{right:10px}.vue-js-switch .v-switch-core[data-v-25adc6c0]{display:block;position:relative;box-sizing:border-box;outline:0;margin:0;transition:border-color .3s,background-color .3s;user-select:none}.vue-js-switch .v-switch-core .v-switch-button[data-v-25adc6c0]{display:block;position:absolute;overflow:hidden;top:0;left:0;border-radius:100%;background-color:#fff;z-index:2}.vue-js-switch.disabled[data-v-25adc6c0]{pointer-events:none;opacity:.6}",""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o1)for(var n=1;n=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function _(t,e){return b.call(t,e)}function w(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var x=/-(\w)/g,O=w((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),S=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),C=/\B([A-Z])/g,E=w((function(t){return t.replace(C,"-$1").toLowerCase()})),T=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function k(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function A(t,e){for(var n in e)t[n]=e[n];return t}function $(t){for(var e={},n=0;n0,Z=X&&X.indexOf("edge/")>0,Q=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===J),tt=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),et={}.watch,nt=!1;if(q)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){nt=!0}}),window.addEventListener("test-passive",null,rt)}catch(r){}var ot=function(){return void 0===H&&(H=!q&&!K&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),H},it=q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"==typeof t&&/native code/.test(t.toString())}var st,ut="undefined"!=typeof Symbol&&at(Symbol)&&"undefined"!=typeof Reflect&&at(Reflect.ownKeys);st="undefined"!=typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ct=j,lt=0,ft=function(){this.id=lt++,this.subs=[]};ft.prototype.addSub=function(t){this.subs.push(t)},ft.prototype.removeSub=function(t){y(this.subs,t)},ft.prototype.depend=function(){ft.target&&ft.target.addDep(this)},ft.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(i&&!_(o,"default"))a=!1;else if(""===a||a===E(t)){var u=zt(String,o.type);(u<0||s0&&(le((u=t(u,(n||"")+"_"+r))[0])&&le(l)&&(f[c]=yt(l.text+u[0].text),u.shift()),f.push.apply(f,u)):s(u)?le(l)?f[c]=yt(l.text+u):""!==u&&f.push(yt(u)):le(u)&&le(l)?f[c]=yt(l.text+u.text):(a(e._isVList)&&i(u.tag)&&o(u.key)&&i(n)&&(u.key="__vlist"+n+"_"+r+"__"),f.push(u)));return f}(t):void 0}function le(t){return i(t)&&i(t.text)&&!1===t.isComment}function fe(t,e){if(t){for(var n=Object.create(null),r=ut?Reflect.ownKeys(t):Object.keys(t),o=0;o0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var u in o={},t)t[u]&&"$"!==u[0]&&(o[u]=ve(e,u,t[u]))}else o={};for(var c in e)c in o||(o[c]=ge(e,c));return t&&Object.isExtensible(t)&&(t._normalized=o),U(o,"$stable",a),U(o,"$key",s),U(o,"$hasNormal",i),o}function ve(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ce(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function ge(t,e){return function(){return t[e]}}function me(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;rdocument.createEvent("Event").timeStamp&&(un=function(){return cn.now()})}function ln(){var t,e;for(sn=un(),on=!0,tn.sort((function(t,e){return t.id-e.id})),an=0;anan&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);rn||(rn=!0,ee(ln))}}(this)},pn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Ut(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},pn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},pn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},pn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var dn={enumerable:!0,configurable:!0,get:j,set:j};function hn(t,e,n){dn.get=function(){return this[e][n]},dn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,dn)}var vn={lazy:!0};function gn(t,e,n){var r=!ot();"function"==typeof n?(dn.get=r?mn(e):yn(n),dn.set=j):(dn.get=n.get?r&&!1!==n.cache?mn(e):yn(n.get):j,dn.set=n.set||j),Object.defineProperty(t,e,dn)}function mn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ft.target&&e.depend(),e.value}}function yn(t){return function(){return t.call(this,this)}}function bn(t,e,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var _n=0;function wn(t){var e=t.options;if(t.super){var n=wn(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}(t);r&&A(t.extendOptions,r),(e=t.options=Nt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function xn(t){this._init(t)}function On(t){return t&&(t.Ctor.options.name||t.tag)}function Sn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===c.call(n)&&t.test(e));var n}function Cn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=On(a.componentOptions);s&&!e(s)&&En(n,i,r,o)}}}function En(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,y(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=_n++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Nt(wn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Je(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=pe(e._renderChildren,o),t.$scopedSlots=r,t._c=function(e,n,r,o){return Re(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Re(t,e,n,r,o,!0)};var i=n&&n.data;Tt(t,"$attrs",i&&i.attrs||r,null,!0),Tt(t,"$listeners",e._parentListeners||r,null,!0)}(e),Qe(e,"beforeCreate"),function(t){var e=fe(t.$options.inject,t);e&&(St(!1),Object.keys(e).forEach((function(n){Tt(t,n,e[n])})),St(!0))}(e),function(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&St(!1);var i=function(i){o.push(i);var a=Ft(i,e,n,t);Tt(r,i,a),i in t||hn(t,"_props",i)};for(var a in e)i(a);St(!0)}(t,e.props),e.methods&&function(t,e){for(var n in t.$options.props,e)t[n]="function"!=typeof e[n]?j:T(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;l(e=t._data="function"==typeof e?function(t,e){dt();try{return t.call(e,e)}catch(t){return Ut(t,e,"data()"),{}}finally{ht()}}(e,t):e||{})||(e={});for(var n,r=Object.keys(e),o=t.$options.props,i=(t.$options.methods,r.length);i--;){var a=r[i];o&&_(o,a)||(void 0,36!==(n=(a+"").charCodeAt(0))&&95!==n&&hn(t,"_data",a))}Et(e,!0)}(t):Et(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=ot();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new pn(t,a||j,j,vn)),o in t||gn(t,o,i)}}(t,e.computed),e.watch&&e.watch!==et&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o1?k(e):e;for(var n=k(arguments,1),r='event handler for "'+t+'"',o=0,i=e.length;oparseInt(this.max)&&En(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return B}};Object.defineProperty(t,"config",e),t.util={warn:ct,extend:A,mergeOptions:Nt,defineReactive:Tt},t.set=kt,t.delete=At,t.nextTick=ee,t.observable=function(t){return Et(t),t},t.options=Object.create(null),F.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,A(t.options.components,kn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=k(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Nt(this.options,t),this}}(t),function(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Nt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)hn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)gn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,F.forEach((function(t){a[t]=n[t]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=A({},a.options),o[r]=a,a}}(t),function(t){F.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(xn),Object.defineProperty(xn.prototype,"$isServer",{get:ot}),Object.defineProperty(xn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xn,"FunctionalRenderContext",{value:De}),xn.version="2.6.11";var An=v("style,class"),$n=v("input,textarea,option,select,progress"),jn=function(t,e,n){return"value"===n&&$n(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Dn=v("contenteditable,draggable,spellcheck"),Mn=v("events,caret,typing,plaintext-only"),Ln=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),In="http://www.w3.org/1999/xlink",Nn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Pn=function(t){return Nn(t)?t.slice(6,t.length):""},Fn=function(t){return null==t||!1===t};function Rn(t,e){return{staticClass:Bn(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Bn(t,e){return t?e?t+" "+e:t:e||""}function zn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r-1?pr(t,e,n):Ln(e)?Fn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Dn(e)?t.setAttribute(e,function(t,e){return Fn(e)||"false"===e?"false":"contenteditable"===t&&Mn(e)?e:"true"}(e,n)):Nn(e)?Fn(n)?t.removeAttributeNS(In,Pn(e)):t.setAttributeNS(In,e,n):pr(t,e,n)}function pr(t,e,n){if(Fn(n))t.removeAttribute(e);else{if(Y&&!G&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var dr={create:lr,update:lr};function hr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=function(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Rn(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=Rn(e,n.data));return function(t,e){return i(t)||i(e)?Bn(t,zn(e)):""}(e.staticClass,e.class)}(e),u=n._transitionClasses;i(u)&&(s=Bn(s,zn(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var vr,gr,mr,yr,br,_r,wr={create:hr,update:hr},xr=/[\w).+\-_$\]]/;function Or(t){var e,n,r,o,i,a=!1,s=!1,u=!1,c=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(v=t.charAt(h));h--);v&&xr.test(v)||(c=!0)}}else void 0===o?(d=r+1,o=t.slice(0,r).trim()):g();function g(){(i||(i=[])).push(t.slice(d,r).trim()),d=r+1}if(void 0===o?o=t.slice(0,r).trim():0!==d&&g(),i)for(r=0;r-1?{exp:t.slice(0,yr),key:'"'+t.slice(yr+1)+'"'}:{exp:t,key:null};for(gr=t,yr=br=_r=0;!Br();)zr(mr=Rr())?Hr(mr):91===mr&&Ur(mr);return{exp:t.slice(0,br),key:t.slice(br+1,_r)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Rr(){return gr.charCodeAt(++yr)}function Br(){return yr>=vr}function zr(t){return 34===t||39===t}function Ur(t){var e=1;for(br=yr;!Br();)if(zr(t=Rr()))Hr(t);else if(91===t&&e++,93===t&&e--,0===e){_r=yr;break}}function Hr(t){for(var e=t;!Br()&&(t=Rr())!==e;);}var Wr,Vr="__r";function qr(t,e,n){var r=Wr;return function o(){null!==e.apply(null,arguments)&&Xr(t,o,n,r)}}var Kr=Kt&&!(tt&&Number(tt[1])<=53);function Jr(t,e,n,r){if(Kr){var o=sn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}Wr.addEventListener(t,e,nt?{capture:n,passive:r}:n)}function Xr(t,e,n,r){(r||Wr).removeEventListener(t,e._wrapper||e,n)}function Yr(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Wr=e.elm,function(t){if(i(t.__r)){var e=Y?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}i(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),ae(n,r,Jr,Xr,qr,e.context),Wr=void 0}}var Gr,Zr={create:Yr,update:Yr};function Qr(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};for(n in i(u.__ob__)&&(u=e.data.domProps=A({},u)),s)n in u||(a[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var c=o(r)?"":String(r);to(a,c)&&(a.value=c)}else if("innerHTML"===n&&Wn(a.tagName)&&o(a.innerHTML)){(Gr=Gr||document.createElement("div")).innerHTML=""+r+"";for(var l=Gr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(r!==s[n])try{a[n]=r}catch(t){}}}}function to(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return h(n)!==h(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var eo={create:Qr,update:Qr},no=w((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function ro(t){var e=oo(t.style);return t.staticStyle?A(t.staticStyle,e):e}function oo(t){return Array.isArray(t)?$(t):"string"==typeof t?no(t):t}var io,ao=/^--/,so=/\s*!important$/,uo=function(t,e,n){if(ao.test(e))t.style.setProperty(e,n);else if(so.test(n))t.style.setProperty(E(e),n.replace(so,""),"important");else{var r=lo(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(ho).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function go(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ho).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function mo(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&A(e,yo(t.name||"v")),A(e,t),e}return"string"==typeof t?yo(t):void 0}}var yo=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),bo=q&&!G,_o="transition",wo="animation",xo="transition",Oo="transitionend",So="animation",Co="animationend";bo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(xo="WebkitTransition",Oo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(So="WebkitAnimation",Co="webkitAnimationEnd"));var Eo=q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function To(t){Eo((function(){Eo(t)}))}function ko(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),vo(t,e))}function Ao(t,e){t._transitionClasses&&y(t._transitionClasses,e),go(t,e)}function $o(t,e,n){var r=Do(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===_o?Oo:Co,u=0,c=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++u>=a&&c()};setTimeout((function(){u0&&(n=_o,l=a,f=i.length):e===wo?c>0&&(n=wo,l=c,f=u.length):f=(n=(l=Math.max(a,c))>0?a>c?_o:wo:null)?n===_o?i.length:u.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===_o&&jo.test(r[xo+"Property"])}}function Mo(t,e){for(;t.length1}function Ro(t,e){!0!==e.data.show&&Io(e)}var Bo=function(t){var e,n,r={},u=t.modules,c=t.nodeOps;for(e=0;eh?b(t,o(n[m+1])?null:n[m+1].elm,n,d,m,r):d>m&&w(e,p,h)}(p,v,m,n,l):i(m)?(i(t.text)&&c.setTextContent(p,""),b(p,null,m,0,m.length-1,n)):i(v)?w(v,0,v.length-1):i(t.text)&&c.setTextContent(p,""):t.text!==e.text&&c.setTextContent(p,e.text),i(h)&&i(d=h.hook)&&i(d=d.postpatch)&&d(t,e)}}}function C(t,e,n){if(a(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,a.selected!==i&&(a.selected=i);else if(L(Vo(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Wo(t,e){return e.every((function(e){return!L(e,t)}))}function Vo(t){return"_value"in t?t._value:t.value}function qo(t){t.target.composing=!0}function Ko(t){t.target.composing&&(t.target.composing=!1,Jo(t.target,"input"))}function Jo(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Xo(t){return!t.componentInstance||t.data&&t.data.transition?t:Xo(t.componentInstance._vnode)}var Yo={model:zo,show:{bind:function(t,e,n){var r=e.value,o=(n=Xo(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Io(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=Xo(n)).data&&n.data.transition?(n.data.show=!0,r?Io(n,(function(){t.style.display=t.__vOriginalDisplay})):No(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},Go={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Zo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Zo(We(e.children)):t}function Qo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[O(i)]=o[i];return e}function ti(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var ei=function(t){return t.tag||He(t)},ni=function(t){return"show"===t.name},ri={name:"transition",props:Go,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ei)).length){var r=this.mode,o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=Zo(o);if(!i)return o;if(this._leaving)return ti(t,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var u=(i.data||(i.data={})).transition=Qo(this),c=this._vnode,l=Zo(c);if(i.data.directives&&i.data.directives.some(ni)&&(i.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,l)&&!He(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=A({},u);if("out-in"===r)return this._leaving=!0,se(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),ti(t,o);if("in-out"===r){if(He(i))return c;var p,d=function(){p()};se(u,"afterEnter",d),se(u,"enterCancelled",d),se(f,"delayLeave",(function(t){p=t}))}}return o}}},oi=A({tag:String,moveClass:String},Go);function ii(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ai(t){t.data.newPos=t.elm.getBoundingClientRect()}function si(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete oi.mode;var ui={Transition:ri,TransitionGroup:{props:oi,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Ye(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Qo(this),s=0;s-1?Kn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Kn[t]=/HTMLUnknownElement/.test(e.toString())},A(xn.options.directives,Yo),A(xn.options.components,ui),xn.prototype.__patch__=q?Bo:j,xn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=mt),Qe(t,"beforeMount"),r=function(){t._update(t._render(),n)},new pn(t,r,j,{before:function(){t._isMounted&&!t._isDestroyed&&Qe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Qe(t,"mounted")),t}(this,t=t&&q?Xn(t):void 0,e)},q&&setTimeout((function(){B.devtools&&it&&it.emit("init",xn)}),0);var ci,li=/\{\{((?:.|\r?\n)+?)\}\}/g,fi=/[-.*+?^${}()|[\]\/\\]/g,pi=w((function(t){var e=t[0].replace(fi,"\\$&"),n=t[1].replace(fi,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")})),di={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Lr(t,"class");n&&(t.staticClass=JSON.stringify(n));var r=Mr(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},hi={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Lr(t,"style");n&&(t.staticStyle=JSON.stringify(no(n)));var r=Mr(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},vi=v("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),gi=v("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),mi=v("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),yi=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,bi=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_i="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+z.source+"]*",wi="((?:"+_i+"\\:)?"+_i+")",xi=new RegExp("^<"+wi),Oi=/^\s*(\/?)>/,Si=new RegExp("^<\\/"+wi+"[^>]*>"),Ci=/^]+>/i,Ei=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},ji=/&(?:lt|gt|quot|amp|#39);/g,Di=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Mi=v("pre,textarea",!0),Li=function(t,e){return t&&Mi(t)&&"\n"===e[0]};function Ii(t,e){var n=e?Di:ji;return t.replace(n,(function(t){return $i[t]}))}var Ni,Pi,Fi,Ri,Bi,zi,Ui,Hi,Wi=/^@|^v-on:/,Vi=/^v-|^@|^:|^#/,qi=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ki=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ji=/^\(|\)$/g,Xi=/^\[.*\]$/,Yi=/:(.*)$/,Gi=/^:|^\.|^v-bind:/,Zi=/\.[^.\]]+(?=[^\]]*$)/g,Qi=/^v-slot(:|$)|^#/,ta=/[\r\n]/,ea=/\s+/g,na=w((function(t){return(ci=ci||document.createElement("div")).innerHTML=t,ci.textContent})),ra="_empty_";function oa(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:la(e),rawAttrsMap:{},parent:n,children:[]}}function ia(t,e){var n,r;(r=Mr(n=t,"key"))&&(n.key=r),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=Mr(t,"ref");e&&(t.ref=e,t.refInFor=function(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Lr(t,"scope"),t.slotScope=e||Lr(t,"slot-scope")):(e=Lr(t,"slot-scope"))&&(t.slotScope=e);var n=Mr(t,"slot");if(n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||kr(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot"))),"template"===t.tag){var r=Ir(t,Qi);if(r){var o=ua(r),i=o.name,a=o.dynamic;t.slotTarget=i,t.slotTargetDynamic=a,t.slotScope=r.value||ra}}else{var s=Ir(t,Qi);if(s){var u=t.scopedSlots||(t.scopedSlots={}),c=ua(s),l=c.name,f=c.dynamic,p=u[l]=oa("template",[],t);p.slotTarget=l,p.slotTargetDynamic=f,p.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=p,!0})),p.slotScope=s.value||ra,t.children=[],t.plain=!1}}}(t),function(t){"slot"===t.tag&&(t.slotName=Mr(t,"name"))}(t),function(t){var e;(e=Mr(t,"is"))&&(t.component=e),null!=Lr(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var o=0;o-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),Dr(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Fr(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Fr(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Fr(e,"$$c")+"}",null,!0)}(t,r,o);else if("input"===i&&"radio"===a)!function(t,e,n){var r=n&&n.number,o=Mr(t,"value")||"null";Tr(t,"checked","_q("+e+","+(o=r?"_n("+o+")":o)+")"),Dr(t,"change",Fr(e,o),null,!0)}(t,r,o);else if("input"===i||"textarea"===i)!function(t,e,n){var r=t.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,u=!i&&"range"!==r,c=i?"change":"range"===r?Vr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Fr(e,l);u&&(f="if($event.target.composing)return;"+f),Tr(t,"value","("+e+")"),Dr(t,c,f,null,!0),(s||a)&&Dr(t,"blur","$forceUpdate()")}(t,r,o);else if(!B.isReservedTag(i))return Pr(t,r,o),!1;return!0},text:function(t,e){e.value&&Tr(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Tr(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:vi,mustUseProp:jn,canBeLeftOpenTag:gi,isReservedTag:Vn,getTagNamespace:qn,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(ga)},ya=w((function(t){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));var ba=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,_a=/\([^)]*?\);*$/,wa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,xa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Oa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Sa=function(t){return"if("+t+")return null;"},Ca={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Sa("$event.target !== $event.currentTarget"),ctrl:Sa("!$event.ctrlKey"),shift:Sa("!$event.shiftKey"),alt:Sa("!$event.altKey"),meta:Sa("!$event.metaKey"),left:Sa("'button' in $event && $event.button !== 0"),middle:Sa("'button' in $event && $event.button !== 1"),right:Sa("'button' in $event && $event.button !== 2")};function Ea(t,e){var n=e?"nativeOn:":"on:",r="",o="";for(var i in t){var a=Ta(t[i]);t[i]&&t[i].dynamic?o+=i+","+a+",":r+='"'+i+'":'+a+","}return r="{"+r.slice(0,-1)+"}",o?n+"_d("+r+",["+o.slice(0,-1)+"])":n+r}function Ta(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Ta(t)})).join(",")+"]";var e=wa.test(t.value),n=ba.test(t.value),r=wa.test(t.value.replace(_a,""));if(t.modifiers){var o="",i="",a=[];for(var s in t.modifiers)if(Ca[s])i+=Ca[s],xa[s]&&a.push(s);else if("exact"===s){var u=t.modifiers;i+=Sa(["ctrl","shift","alt","meta"].filter((function(t){return!u[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else a.push(s);return a.length&&(o+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(ka).join("&&")+")return null;"}(a)),i&&(o+=i),"function($event){"+o+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":r?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function ka(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=xa[t],r=Oa[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Aa={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:j},$a=function(t){this.options=t,this.warn=t.warn||Cr,this.transforms=Er(t.modules,"transformCode"),this.dataGenFns=Er(t.modules,"genData"),this.directives=A(A({},Aa),t.directives);var e=t.isReservedTag||D;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ja(t,e){var n=new $a(e);return{render:"with(this){return "+(t?Da(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Da(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ma(t,e);if(t.once&&!t.onceProcessed)return La(t,e);if(t.for&&!t.forProcessed)return Na(t,e);if(t.if&&!t.ifProcessed)return Ia(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=Ba(t,e),o="_t("+n+(r?","+r:""),i=t.attrs||t.dynamicAttrs?Ha((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:O(t.name),value:t.value,dynamic:t.dynamic}}))):null,a=t.attrsMap["v-bind"];return!i&&!a||r||(o+=",null"),i&&(o+=","+i),a&&(o+=(i?"":",null")+","+a),o+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:Ba(e,n,!0);return"_c("+t+","+Pa(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=Pa(t,e));var o=t.inlineTemplate?null:Ba(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i>>0}(a):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var i=function(t,e){var n=t.children[0];if(n&&1===n.type){var r=ja(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+Ha(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Fa(t){return 1===t.type&&("slot"===t.tag||t.children.some(Fa))}function Ra(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Ia(t,e,Ra,"null");if(t.for&&!t.forProcessed)return Na(t,e,Ra);var r=t.slotScope===ra?"":String(t.slotScope),o="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Ba(t,e)||"undefined")+":undefined":Ba(t,e)||"undefined":Da(t,e))+"}",i=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+o+i+"}"}function Ba(t,e,n,r,o){var i=t.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(r||Da)(a,e)+s}var u=n?function(t,e){for(var n=0,r=0;r]*>)","i")),p=t.replace(f,(function(t,n,r){return c=r.length,ki(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Li(l,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));u+=t.length-p.length,t=p,E(l,u-c,u)}else{var d=t.indexOf("<");if(0===d){if(Ei.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h),u,u+h+3),O(h+3);continue}}if(Ti.test(t)){var v=t.indexOf("]>");if(v>=0){O(v+2);continue}}var g=t.match(Ci);if(g){O(g[0].length);continue}var m=t.match(Si);if(m){var y=u;O(m[0].length),E(m[1],y,u);continue}var b=S();if(b){C(b),Li(b.tagName,t)&&O(1);continue}}var _=void 0,w=void 0,x=void 0;if(d>=0){for(w=t.slice(d);!(Si.test(w)||xi.test(w)||Ei.test(w)||Ti.test(w)||(x=w.indexOf("<",1))<0);)d+=x,w=t.slice(d);_=t.substring(0,d)}d<0&&(_=t),_&&O(_.length),e.chars&&_&&e.chars(_,u-_.length,u)}if(t===n){e.chars&&e.chars(t);break}}function O(e){u+=e,t=t.substring(e)}function S(){var e=t.match(xi);if(e){var n,r,o={tagName:e[1],attrs:[],start:u};for(O(e[0].length);!(n=t.match(Oi))&&(r=t.match(bi)||t.match(yi));)r.start=u,O(r[0].length),r.end=u,o.attrs.push(r);if(n)return o.unarySlash=n[1],O(n[0].length),o.end=u,o}}function C(t){var n=t.tagName,u=t.unarySlash;i&&("p"===r&&mi(n)&&E(r),s(n)&&r===n&&E(n));for(var c=a(n)||!!u,l=t.attrs.length,f=new Array(l),p=0;p=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=o.length-1;c>=a;c--)e.end&&e.end(o[c].tag,n,i);o.length=a,r=a&&o[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,i):"p"===s&&(e.start&&e.start(t,[],!1,n,i),e.end&&e.end(t,n,i))}E()}(t,{warn:Ni,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,i,a,l,f){var p=r&&r.ns||Hi(t);Y&&"svg"===p&&(i=function(t){for(var e=[],n=0;nu&&(s.push(i=t.slice(u,o)),a.push(JSON.stringify(i)));var c=Or(r[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),u=o+r[0].length}return u':'
',Ja.innerHTML.indexOf(" ")>0}var Za=!!q&&Ga(!1),Qa=!!q&&Ga(!0),ts=w((function(t){var e=Xn(t);return e&&e.innerHTML})),es=xn.prototype.$mount;xn.prototype.$mount=function(t,e){if((t=t&&Xn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ts(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){var o=Ya(r,{outputSourceRange:!1,shouldDecodeNewlines:Za,shouldDecodeNewlinesForHref:Qa,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return es.call(this,t,e)},xn.compile=Ya,t.exports=xn}).call(this,n("yLpj"),n("URgk").setImmediate)},JEQr:function(t,e,n){"use strict";(function(e){var r=n("xTJ+"),o=n("yK9s"),i={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,u={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(s=n("tQ2B")),s),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){u.headers[t]=r.merge(i)})),t.exports=u}).call(this,n("8oxB"))},JSzz:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=void 0;function o(){o.init||(o.init=!0,r=-1!==function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}())}var i={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{compareAndNotify:function(){this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.$emit("notify"))},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!r&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),delete this._resizeObject.onload)}},mounted:function(){var t=this;o(),this.$nextTick((function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight}));var e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",r&&this.$el.appendChild(e),e.data="about:blank",r||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()}};var a={version:"0.4.5",install:function(t){t.component("resize-observer",i),t.component("ResizeObserver",i)}},s=null;"undefined"!=typeof window?s=window.Vue:void 0!==t&&(s=t.Vue),s&&s.use(a)}).call(this,n("yLpj"))},"KHd+":function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))},LYNF:function(t,e,n){"use strict";var r=n("OH9c");t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},Lmem:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},LvDl:function(t,e,n){(function(t,r){var o;(function(){var i="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",c="[object Array]",l="[object Boolean]",f="[object Date]",p="[object Error]",d="[object Function]",h="[object GeneratorFunction]",v="[object Map]",g="[object Number]",m="[object Object]",y="[object RegExp]",b="[object Set]",_="[object String]",w="[object Symbol]",x="[object WeakMap]",O="[object ArrayBuffer]",S="[object DataView]",C="[object Float32Array]",E="[object Float64Array]",T="[object Int8Array]",k="[object Int16Array]",A="[object Int32Array]",$="[object Uint8Array]",j="[object Uint16Array]",D="[object Uint32Array]",M=/\b__p \+= '';/g,L=/\b(__p \+=) '' \+/g,I=/(__e\(.*?\)|\b__t\)) \+\n'';/g,N=/&(?:amp|lt|gt|quot|#39);/g,P=/[&<>"']/g,F=RegExp(N.source),R=RegExp(P.source),B=/<%-([\s\S]+?)%>/g,z=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,W=/^\w*$/,V=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,q=/[\\^$.*+?()[\]{}|]/g,K=RegExp(q.source),J=/^\s+|\s+$/g,X=/^\s+/,Y=/\s+$/,G=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,tt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rt=/\w*$/,ot=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,ut=/^(?:0|[1-9]\d*)$/,ct=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,lt=/($^)/,ft=/['\n\r\u2028\u2029\\]/g,pt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",dt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ht="[\\ud800-\\udfff]",vt="["+dt+"]",gt="["+pt+"]",mt="\\d+",yt="[\\u2700-\\u27bf]",bt="[a-z\\xdf-\\xf6\\xf8-\\xff]",_t="[^\\ud800-\\udfff"+dt+mt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",wt="\\ud83c[\\udffb-\\udfff]",xt="[^\\ud800-\\udfff]",Ot="(?:\\ud83c[\\udde6-\\uddff]){2}",St="[\\ud800-\\udbff][\\udc00-\\udfff]",Ct="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Et="(?:"+bt+"|"+_t+")",Tt="(?:"+Ct+"|"+_t+")",kt="(?:"+gt+"|"+wt+")"+"?",At="[\\ufe0e\\ufe0f]?"+kt+("(?:\\u200d(?:"+[xt,Ot,St].join("|")+")[\\ufe0e\\ufe0f]?"+kt+")*"),$t="(?:"+[yt,Ot,St].join("|")+")"+At,jt="(?:"+[xt+gt+"?",gt,Ot,St,ht].join("|")+")",Dt=RegExp("['’]","g"),Mt=RegExp(gt,"g"),Lt=RegExp(wt+"(?="+wt+")|"+jt+At,"g"),It=RegExp([Ct+"?"+bt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[vt,Ct,"$"].join("|")+")",Tt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[vt,Ct+Et,"$"].join("|")+")",Ct+"?"+Et+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ct+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",mt,$t].join("|"),"g"),Nt=RegExp("[\\u200d\\ud800-\\udfff"+pt+"\\ufe0e\\ufe0f]"),Pt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ft=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rt=-1,Bt={};Bt[C]=Bt[E]=Bt[T]=Bt[k]=Bt[A]=Bt[$]=Bt["[object Uint8ClampedArray]"]=Bt[j]=Bt[D]=!0,Bt[u]=Bt[c]=Bt[O]=Bt[l]=Bt[S]=Bt[f]=Bt[p]=Bt[d]=Bt[v]=Bt[g]=Bt[m]=Bt[y]=Bt[b]=Bt[_]=Bt[x]=!1;var zt={};zt[u]=zt[c]=zt[O]=zt[S]=zt[l]=zt[f]=zt[C]=zt[E]=zt[T]=zt[k]=zt[A]=zt[v]=zt[g]=zt[m]=zt[y]=zt[b]=zt[_]=zt[w]=zt[$]=zt["[object Uint8ClampedArray]"]=zt[j]=zt[D]=!0,zt[p]=zt[d]=zt[x]=!1;var Ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ht=parseFloat,Wt=parseInt,Vt="object"==typeof t&&t&&t.Object===Object&&t,qt="object"==typeof self&&self&&self.Object===Object&&self,Kt=Vt||qt||Function("return this")(),Jt=e&&!e.nodeType&&e,Xt=Jt&&"object"==typeof r&&r&&!r.nodeType&&r,Yt=Xt&&Xt.exports===Jt,Gt=Yt&&Vt.process,Zt=function(){try{var t=Xt&&Xt.require&&Xt.require("util").types;return t||Gt&&Gt.binding&&Gt.binding("util")}catch(t){}}(),Qt=Zt&&Zt.isArrayBuffer,te=Zt&&Zt.isDate,ee=Zt&&Zt.isMap,ne=Zt&&Zt.isRegExp,re=Zt&&Zt.isSet,oe=Zt&&Zt.isTypedArray;function ie(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ae(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o-1}function pe(t,e,n){for(var r=-1,o=null==t?0:t.length;++r-1;);return n}function Le(t,e){for(var n=t.length;n--&&we(e,t[n],0)>-1;);return n}function Ie(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var Ne=Ee({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Pe=Ee({"&":"&","<":"<",">":">",'"':""","'":"'"});function Fe(t){return"\\"+Ut[t]}function Re(t){return Nt.test(t)}function Be(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function ze(t,e){return function(n){return t(e(n))}}function Ue(t,e){for(var n=-1,r=t.length,o=0,i=[];++n",""":'"',"'":"'"});var Je=function t(e){var n,r=(e=null==e?Kt:Je.defaults(Kt.Object(),e,Je.pick(Kt,Ft))).Array,o=e.Date,pt=e.Error,dt=e.Function,ht=e.Math,vt=e.Object,gt=e.RegExp,mt=e.String,yt=e.TypeError,bt=r.prototype,_t=dt.prototype,wt=vt.prototype,xt=e["__core-js_shared__"],Ot=_t.toString,St=wt.hasOwnProperty,Ct=0,Et=(n=/[^.]+$/.exec(xt&&xt.keys&&xt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Tt=wt.toString,kt=Ot.call(vt),At=Kt._,$t=gt("^"+Ot.call(St).replace(q,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),jt=Yt?e.Buffer:void 0,Lt=e.Symbol,Nt=e.Uint8Array,Ut=jt?jt.allocUnsafe:void 0,Vt=ze(vt.getPrototypeOf,vt),qt=vt.create,Jt=wt.propertyIsEnumerable,Xt=bt.splice,Gt=Lt?Lt.isConcatSpreadable:void 0,Zt=Lt?Lt.iterator:void 0,ye=Lt?Lt.toStringTag:void 0,Ee=function(){try{var t=ti(vt,"defineProperty");return t({},"",{}),t}catch(t){}}(),Xe=e.clearTimeout!==Kt.clearTimeout&&e.clearTimeout,Ye=o&&o.now!==Kt.Date.now&&o.now,Ge=e.setTimeout!==Kt.setTimeout&&e.setTimeout,Ze=ht.ceil,Qe=ht.floor,tn=vt.getOwnPropertySymbols,en=jt?jt.isBuffer:void 0,nn=e.isFinite,rn=bt.join,on=ze(vt.keys,vt),an=ht.max,sn=ht.min,un=o.now,cn=e.parseInt,ln=ht.random,fn=bt.reverse,pn=ti(e,"DataView"),dn=ti(e,"Map"),hn=ti(e,"Promise"),vn=ti(e,"Set"),gn=ti(e,"WeakMap"),mn=ti(vt,"create"),yn=gn&&new gn,bn={},_n=Ti(pn),wn=Ti(dn),xn=Ti(hn),On=Ti(vn),Sn=Ti(gn),Cn=Lt?Lt.prototype:void 0,En=Cn?Cn.valueOf:void 0,Tn=Cn?Cn.toString:void 0;function kn(t){if(Wa(t)&&!Ma(t)&&!(t instanceof Dn)){if(t instanceof jn)return t;if(St.call(t,"__wrapped__"))return ki(t)}return new jn(t)}var An=function(){function t(){}return function(e){if(!Ha(e))return{};if(qt)return qt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function $n(){}function jn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Dn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Mn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Yn(t,e,n,r,o,i){var a,s=1&e,c=2&e,p=4&e;if(n&&(a=o?n(t,r,o,i):n(t)),void 0!==a)return a;if(!Ha(t))return t;var x=Ma(t);if(x){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&St.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!s)return yo(t,a)}else{var M=ri(t),L=M==d||M==h;if(Pa(t))return fo(t,s);if(M==m||M==u||L&&!o){if(a=c||L?{}:ii(t),!s)return c?function(t,e){return bo(t,ni(t),e)}(t,function(t,e){return t&&bo(e,ws(e),t)}(a,t)):function(t,e){return bo(t,ei(t),e)}(t,qn(a,t))}else{if(!zt[M])return o?t:{};a=function(t,e,n){var r=t.constructor;switch(e){case O:return po(t);case l:case f:return new r(+t);case S:return function(t,e){var n=e?po(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case C:case E:case T:case k:case A:case $:case"[object Uint8ClampedArray]":case j:case D:return ho(t,n);case v:return new r;case g:case _:return new r(t);case y:return function(t){var e=new t.constructor(t.source,rt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case b:return new r;case w:return o=t,En?vt(En.call(o)):{}}var o}(t,M,s)}}i||(i=new Pn);var I=i.get(t);if(I)return I;i.set(t,a),Xa(t)?t.forEach((function(r){a.add(Yn(r,e,n,r,t,i))})):Va(t)&&t.forEach((function(r,o){a.set(o,Yn(r,e,n,o,t,i))}));var N=x?void 0:(p?c?Ko:qo:c?ws:_s)(t);return se(N||t,(function(r,o){N&&(r=t[o=r]),Hn(a,o,Yn(r,e,n,o,t,i))})),a}function Gn(t,e,n){var r=n.length;if(null==t)return!r;for(t=vt(t);r--;){var o=n[r],i=e[o],a=t[o];if(void 0===a&&!(o in t)||!i(a))return!1}return!0}function Zn(t,e,n){if("function"!=typeof t)throw new yt(i);return _i((function(){t.apply(void 0,n)}),e)}function Qn(t,e,n,r){var o=-1,i=fe,a=!0,s=t.length,u=[],c=e.length;if(!s)return u;n&&(e=de(e,$e(n))),r?(i=pe,a=!1):e.length>=200&&(i=De,a=!1,e=new Nn(e));t:for(;++o-1},Ln.prototype.set=function(t,e){var n=this.__data__,r=Wn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},In.prototype.clear=function(){this.size=0,this.__data__={hash:new Mn,map:new(dn||Ln),string:new Mn}},In.prototype.delete=function(t){var e=Zo(this,t).delete(t);return this.size-=e?1:0,e},In.prototype.get=function(t){return Zo(this,t).get(t)},In.prototype.has=function(t){return Zo(this,t).has(t)},In.prototype.set=function(t,e){var n=Zo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Nn.prototype.add=Nn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Nn.prototype.has=function(t){return this.__data__.has(t)},Pn.prototype.clear=function(){this.__data__=new Ln,this.size=0},Pn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Pn.prototype.get=function(t){return this.__data__.get(t)},Pn.prototype.has=function(t){return this.__data__.has(t)},Pn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ln){var r=n.__data__;if(!dn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new In(r)}return n.set(t,e),this.size=n.size,this};var tr=xo(ur),er=xo(cr,!0);function nr(t,e){var n=!0;return tr(t,(function(t,r,o){return n=!!e(t,r,o)})),n}function rr(t,e,n){for(var r=-1,o=t.length;++r0&&n(s)?e>1?ir(s,e-1,n,r,o):he(o,s):r||(o[o.length]=s)}return o}var ar=Oo(),sr=Oo(!0);function ur(t,e){return t&&ar(t,e,_s)}function cr(t,e){return t&&sr(t,e,_s)}function lr(t,e){return le(e,(function(e){return Ba(t[e])}))}function fr(t,e){for(var n=0,r=(e=so(e,t)).length;null!=t&&ne}function vr(t,e){return null!=t&&St.call(t,e)}function gr(t,e){return null!=t&&e in vt(t)}function mr(t,e,n){for(var o=n?pe:fe,i=t[0].length,a=t.length,s=a,u=r(a),c=1/0,l=[];s--;){var f=t[s];s&&e&&(f=de(f,$e(e))),c=sn(f.length,c),u[s]=!n&&(e||i>=120&&f.length>=120)?new Nn(s&&f):void 0}f=t[0];var p=-1,d=u[0];t:for(;++p=s)return u;var c=n[r];return u*("desc"==c?-1:1)}}return t.index-e.index}(t,e,n)}))}function Mr(t,e,n){for(var r=-1,o=e.length,i={};++r-1;)s!==t&&Xt.call(s,u,1),Xt.call(t,u,1);return t}function Ir(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;si(o)?Xt.call(t,o,1):Qr(t,o)}}return t}function Nr(t,e){return t+Qe(ln()*(e-t+1))}function Pr(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=Qe(e/2))&&(t+=t)}while(e);return n}function Fr(t,e){return wi(vi(t,e,qs),t+"")}function Rr(t){return Rn(As(t))}function Br(t,e){var n=As(t);return Si(n,Xn(e,0,n.length))}function zr(t,e,n,r){if(!Ha(t))return t;for(var o=-1,i=(e=so(e,t)).length,a=i-1,s=t;null!=s&&++oi?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var a=r(i);++o>>1,a=t[i];null!==a&&!Ga(a)&&(n?a<=e:a=200){var c=e?null:Fo(t);if(c)return He(c);a=!1,o=De,u=new Nn}else u=e?[]:s;t:for(;++r=r?t:Vr(t,e,n)}var lo=Xe||function(t){return Kt.clearTimeout(t)};function fo(t,e){if(e)return t.slice();var n=t.length,r=Ut?Ut(n):new t.constructor(n);return t.copy(r),r}function po(t){var e=new t.constructor(t.byteLength);return new Nt(e).set(new Nt(t)),e}function ho(t,e){var n=e?po(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function vo(t,e){if(t!==e){var n=void 0!==t,r=null===t,o=t==t,i=Ga(t),a=void 0!==e,s=null===e,u=e==e,c=Ga(e);if(!s&&!c&&!i&&t>e||i&&a&&u&&!s&&!c||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!c&&t1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&&ui(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),e=vt(e);++r-1?o[i?e[a]:a]:void 0}}function ko(t){return Vo((function(e){var n=e.length,r=n,o=jn.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new yt(i);if(o&&!s&&"wrapper"==Xo(a))var s=new jn([],!0)}for(r=s?r:n;++r1&&b.reverse(),f&&cs))return!1;var c=i.get(t);if(c&&i.get(e))return c==e;var l=-1,f=!0,p=2&n?new Nn:void 0;for(i.set(t,e),i.set(e,t);++l-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(G,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return se(s,(function(n){var r="_."+n[0];e&n[1]&&!fe(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(Z);return e?e[1].split(Q):[]}(r),n)))}function Oi(t){var e=0,n=0;return function(){var r=un(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Si(t,e){var n=-1,r=t.length,o=r-1;for(e=void 0===e?r:e;++n1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Ji(t,n)}));function ea(t){var e=kn(t);return e.__chain__=!0,e}function na(t,e){return e(t)}var ra=Vo((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Jn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Dn&&si(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:na,args:[o],thisArg:void 0}),new jn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(o)}));var oa=_o((function(t,e,n){St.call(t,n)?++t[n]:Kn(t,n,1)}));var ia=To(Di),aa=To(Mi);function sa(t,e){return(Ma(t)?se:tr)(t,Go(e,3))}function ua(t,e){return(Ma(t)?ue:er)(t,Go(e,3))}var ca=_o((function(t,e,n){St.call(t,n)?t[n].push(e):Kn(t,n,[e])}));var la=Fr((function(t,e,n){var o=-1,i="function"==typeof e,a=Ia(t)?r(t.length):[];return tr(t,(function(t){a[++o]=i?ie(e,t,n):yr(t,e,n)})),a})),fa=_o((function(t,e,n){Kn(t,n,e)}));function pa(t,e){return(Ma(t)?de:Tr)(t,Go(e,3))}var da=_o((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var ha=Fr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&ui(t,e[0],e[1])?e=[]:n>2&&ui(e[0],e[1],e[2])&&(e=[e[0]]),Dr(t,ir(e,1),[])})),va=Ye||function(){return Kt.Date.now()};function ga(t,e,n){return e=n?void 0:e,Bo(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function ma(t,e){var n;if("function"!=typeof e)throw new yt(i);return t=rs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var ya=Fr((function(t,e,n){var r=1;if(n.length){var o=Ue(n,Yo(ya));r|=32}return Bo(t,r,e,n,o)})),ba=Fr((function(t,e,n){var r=3;if(n.length){var o=Ue(n,Yo(ba));r|=32}return Bo(e,r,t,n,o)}));function _a(t,e,n){var r,o,a,s,u,c,l=0,f=!1,p=!1,d=!0;if("function"!=typeof t)throw new yt(i);function h(e){var n=r,i=o;return r=o=void 0,l=e,s=t.apply(i,n)}function v(t){return l=t,u=_i(m,e),f?h(t):s}function g(t){var n=t-c;return void 0===c||n>=e||n<0||p&&t-l>=a}function m(){var t=va();if(g(t))return y(t);u=_i(m,function(t){var n=e-(t-c);return p?sn(n,a-(t-l)):n}(t))}function y(t){return u=void 0,d&&r?h(t):(r=o=void 0,s)}function b(){var t=va(),n=g(t);if(r=arguments,o=this,c=t,n){if(void 0===u)return v(c);if(p)return lo(u),u=_i(m,e),h(c)}return void 0===u&&(u=_i(m,e)),s}return e=is(e)||0,Ha(n)&&(f=!!n.leading,a=(p="maxWait"in n)?an(is(n.maxWait)||0,e):a,d="trailing"in n?!!n.trailing:d),b.cancel=function(){void 0!==u&&lo(u),l=0,r=c=o=u=void 0},b.flush=function(){return void 0===u?s:y(va())},b}var wa=Fr((function(t,e){return Zn(t,1,e)})),xa=Fr((function(t,e,n){return Zn(t,is(e)||0,n)}));function Oa(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new yt(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Oa.Cache||In),n}function Sa(t){if("function"!=typeof t)throw new yt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Oa.Cache=In;var Ca=uo((function(t,e){var n=(e=1==e.length&&Ma(e[0])?de(e[0],$e(Go())):de(ir(e,1),$e(Go()))).length;return Fr((function(r){for(var o=-1,i=sn(r.length,n);++o=e})),Da=br(function(){return arguments}())?br:function(t){return Wa(t)&&St.call(t,"callee")&&!Jt.call(t,"callee")},Ma=r.isArray,La=Qt?$e(Qt):function(t){return Wa(t)&&dr(t)==O};function Ia(t){return null!=t&&Ua(t.length)&&!Ba(t)}function Na(t){return Wa(t)&&Ia(t)}var Pa=en||iu,Fa=te?$e(te):function(t){return Wa(t)&&dr(t)==f};function Ra(t){if(!Wa(t))return!1;var e=dr(t);return e==p||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Ka(t)}function Ba(t){if(!Ha(t))return!1;var e=dr(t);return e==d||e==h||"[object AsyncFunction]"==e||"[object Proxy]"==e}function za(t){return"number"==typeof t&&t==rs(t)}function Ua(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ha(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Wa(t){return null!=t&&"object"==typeof t}var Va=ee?$e(ee):function(t){return Wa(t)&&ri(t)==v};function qa(t){return"number"==typeof t||Wa(t)&&dr(t)==g}function Ka(t){if(!Wa(t)||dr(t)!=m)return!1;var e=Vt(t);if(null===e)return!0;var n=St.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ot.call(n)==kt}var Ja=ne?$e(ne):function(t){return Wa(t)&&dr(t)==y};var Xa=re?$e(re):function(t){return Wa(t)&&ri(t)==b};function Ya(t){return"string"==typeof t||!Ma(t)&&Wa(t)&&dr(t)==_}function Ga(t){return"symbol"==typeof t||Wa(t)&&dr(t)==w}var Za=oe?$e(oe):function(t){return Wa(t)&&Ua(t.length)&&!!Bt[dr(t)]};var Qa=Io(Er),ts=Io((function(t,e){return t<=e}));function es(t){if(!t)return[];if(Ia(t))return Ya(t)?qe(t):yo(t);if(Zt&&t[Zt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Zt]());var e=ri(t);return(e==v?Be:e==b?He:As)(t)}function ns(t){return t?(t=is(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function rs(t){var e=ns(t),n=e%1;return e==e?n?e-n:e:0}function os(t){return t?Xn(rs(t),0,4294967295):0}function is(t){if("number"==typeof t)return t;if(Ga(t))return NaN;if(Ha(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ha(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(J,"");var n=it.test(t);return n||st.test(t)?Wt(t.slice(2),n?2:8):ot.test(t)?NaN:+t}function as(t){return bo(t,ws(t))}function ss(t){return null==t?"":Gr(t)}var us=wo((function(t,e){if(pi(e)||Ia(e))bo(e,_s(e),t);else for(var n in e)St.call(e,n)&&Hn(t,n,e[n])})),cs=wo((function(t,e){bo(e,ws(e),t)})),ls=wo((function(t,e,n,r){bo(e,ws(e),t,r)})),fs=wo((function(t,e,n,r){bo(e,_s(e),t,r)})),ps=Vo(Jn);var ds=Fr((function(t,e){t=vt(t);var n=-1,r=e.length,o=r>2?e[2]:void 0;for(o&&ui(e[0],e[1],o)&&(r=1);++n1),e})),bo(t,Ko(t),n),r&&(n=Yn(n,7,Ho));for(var o=e.length;o--;)Qr(n,e[o]);return n}));var Cs=Vo((function(t,e){return null==t?{}:function(t,e){return Mr(t,e,(function(e,n){return gs(t,n)}))}(t,e)}));function Es(t,e){if(null==t)return{};var n=de(Ko(t),(function(t){return[t]}));return e=Go(e),Mr(t,n,(function(t,n){return e(t,n[0])}))}var Ts=Ro(_s),ks=Ro(ws);function As(t){return null==t?[]:je(t,_s(t))}var $s=Co((function(t,e,n){return e=e.toLowerCase(),t+(n?js(e):e)}));function js(t){return Rs(ss(t).toLowerCase())}function Ds(t){return(t=ss(t))&&t.replace(ct,Ne).replace(Mt,"")}var Ms=Co((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ls=Co((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Is=So("toLowerCase");var Ns=Co((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Ps=Co((function(t,e,n){return t+(n?" ":"")+Rs(e)}));var Fs=Co((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Rs=So("toUpperCase");function Bs(t,e,n){return t=ss(t),void 0===(e=n?void 0:e)?function(t){return Pt.test(t)}(t)?function(t){return t.match(It)||[]}(t):function(t){return t.match(tt)||[]}(t):t.match(e)||[]}var zs=Fr((function(t,e){try{return ie(t,void 0,e)}catch(t){return Ra(t)?t:new pt(t)}})),Us=Vo((function(t,e){return se(e,(function(e){e=Ei(e),Kn(t,e,ya(t[e],t))})),t}));function Hs(t){return function(){return t}}var Ws=ko(),Vs=ko(!0);function qs(t){return t}function Ks(t){return Or("function"==typeof t?t:Yn(t,1))}var Js=Fr((function(t,e){return function(n){return yr(n,t,e)}})),Xs=Fr((function(t,e){return function(n){return yr(t,n,e)}}));function Ys(t,e,n){var r=_s(e),o=lr(e,r);null!=n||Ha(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=lr(e,_s(e)));var i=!(Ha(n)&&"chain"in n&&!n.chain),a=Ba(t);return se(o,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__),o=n.__actions__=yo(this.__actions__);return o.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,he([this.value()],arguments))})})),t}function Gs(){}var Zs=Do(de),Qs=Do(ce),tu=Do(me);function eu(t){return ci(t)?Ce(Ei(t)):function(t){return function(e){return fr(e,t)}}(t)}var nu=Lo(),ru=Lo(!0);function ou(){return[]}function iu(){return!1}var au=jo((function(t,e){return t+e}),0),su=Po("ceil"),uu=jo((function(t,e){return t/e}),1),cu=Po("floor");var lu,fu=jo((function(t,e){return t*e}),1),pu=Po("round"),du=jo((function(t,e){return t-e}),0);return kn.after=function(t,e){if("function"!=typeof e)throw new yt(i);return t=rs(t),function(){if(--t<1)return e.apply(this,arguments)}},kn.ary=ga,kn.assign=us,kn.assignIn=cs,kn.assignInWith=ls,kn.assignWith=fs,kn.at=ps,kn.before=ma,kn.bind=ya,kn.bindAll=Us,kn.bindKey=ba,kn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ma(t)?t:[t]},kn.chain=ea,kn.chunk=function(t,e,n){e=(n?ui(t,e,n):void 0===e)?1:an(rs(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var i=0,a=0,s=r(Ze(o/e));io?0:o+n),(r=void 0===r||r>o?o:rs(r))<0&&(r+=o),r=n>r?0:os(r);n>>0)?(t=ss(t))&&("string"==typeof e||null!=e&&!Ja(e))&&!(e=Gr(e))&&Re(t)?co(qe(t),0,n):t.split(e,n):[]},kn.spread=function(t,e){if("function"!=typeof t)throw new yt(i);return e=null==e?0:an(rs(e),0),Fr((function(n){var r=n[e],o=co(n,0,e);return r&&he(o,r),ie(t,this,o)}))},kn.tail=function(t){var e=null==t?0:t.length;return e?Vr(t,1,e):[]},kn.take=function(t,e,n){return t&&t.length?Vr(t,0,(e=n||void 0===e?1:rs(e))<0?0:e):[]},kn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Vr(t,(e=r-(e=n||void 0===e?1:rs(e)))<0?0:e,r):[]},kn.takeRightWhile=function(t,e){return t&&t.length?eo(t,Go(e,3),!1,!0):[]},kn.takeWhile=function(t,e){return t&&t.length?eo(t,Go(e,3)):[]},kn.tap=function(t,e){return e(t),t},kn.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new yt(i);return Ha(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),_a(t,e,{leading:r,maxWait:e,trailing:o})},kn.thru=na,kn.toArray=es,kn.toPairs=Ts,kn.toPairsIn=ks,kn.toPath=function(t){return Ma(t)?de(t,Ei):Ga(t)?[t]:yo(Ci(ss(t)))},kn.toPlainObject=as,kn.transform=function(t,e,n){var r=Ma(t),o=r||Pa(t)||Za(t);if(e=Go(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:Ha(t)&&Ba(i)?An(Vt(t)):{}}return(o?se:ur)(t,(function(t,r,o){return e(n,t,r,o)})),n},kn.unary=function(t){return ga(t,1)},kn.union=Wi,kn.unionBy=Vi,kn.unionWith=qi,kn.uniq=function(t){return t&&t.length?Zr(t):[]},kn.uniqBy=function(t,e){return t&&t.length?Zr(t,Go(e,2)):[]},kn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Zr(t,void 0,e):[]},kn.unset=function(t,e){return null==t||Qr(t,e)},kn.unzip=Ki,kn.unzipWith=Ji,kn.update=function(t,e,n){return null==t?t:to(t,e,ao(n))},kn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:to(t,e,ao(n),r)},kn.values=As,kn.valuesIn=function(t){return null==t?[]:je(t,ws(t))},kn.without=Xi,kn.words=Bs,kn.wrap=function(t,e){return Ea(ao(e),t)},kn.xor=Yi,kn.xorBy=Gi,kn.xorWith=Zi,kn.zip=Qi,kn.zipObject=function(t,e){return oo(t||[],e||[],Hn)},kn.zipObjectDeep=function(t,e){return oo(t||[],e||[],zr)},kn.zipWith=ta,kn.entries=Ts,kn.entriesIn=ks,kn.extend=cs,kn.extendWith=ls,Ys(kn,kn),kn.add=au,kn.attempt=zs,kn.camelCase=$s,kn.capitalize=js,kn.ceil=su,kn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=is(n))==n?n:0),void 0!==e&&(e=(e=is(e))==e?e:0),Xn(is(t),e,n)},kn.clone=function(t){return Yn(t,4)},kn.cloneDeep=function(t){return Yn(t,5)},kn.cloneDeepWith=function(t,e){return Yn(t,5,e="function"==typeof e?e:void 0)},kn.cloneWith=function(t,e){return Yn(t,4,e="function"==typeof e?e:void 0)},kn.conformsTo=function(t,e){return null==e||Gn(t,e,_s(e))},kn.deburr=Ds,kn.defaultTo=function(t,e){return null==t||t!=t?e:t},kn.divide=uu,kn.endsWith=function(t,e,n){t=ss(t),e=Gr(e);var r=t.length,o=n=void 0===n?r:Xn(rs(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},kn.eq=Aa,kn.escape=function(t){return(t=ss(t))&&R.test(t)?t.replace(P,Pe):t},kn.escapeRegExp=function(t){return(t=ss(t))&&K.test(t)?t.replace(q,"\\$&"):t},kn.every=function(t,e,n){var r=Ma(t)?ce:nr;return n&&ui(t,e,n)&&(e=void 0),r(t,Go(e,3))},kn.find=ia,kn.findIndex=Di,kn.findKey=function(t,e){return be(t,Go(e,3),ur)},kn.findLast=aa,kn.findLastIndex=Mi,kn.findLastKey=function(t,e){return be(t,Go(e,3),cr)},kn.floor=cu,kn.forEach=sa,kn.forEachRight=ua,kn.forIn=function(t,e){return null==t?t:ar(t,Go(e,3),ws)},kn.forInRight=function(t,e){return null==t?t:sr(t,Go(e,3),ws)},kn.forOwn=function(t,e){return t&&ur(t,Go(e,3))},kn.forOwnRight=function(t,e){return t&&cr(t,Go(e,3))},kn.get=vs,kn.gt=$a,kn.gte=ja,kn.has=function(t,e){return null!=t&&oi(t,e,vr)},kn.hasIn=gs,kn.head=Ii,kn.identity=qs,kn.includes=function(t,e,n,r){t=Ia(t)?t:As(t),n=n&&!r?rs(n):0;var o=t.length;return n<0&&(n=an(o+n,0)),Ya(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&we(t,e,n)>-1},kn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),we(t,e,o)},kn.inRange=function(t,e,n){return e=ns(e),void 0===n?(n=e,e=0):n=ns(n),function(t,e,n){return t>=sn(e,n)&&t=-9007199254740991&&t<=9007199254740991},kn.isSet=Xa,kn.isString=Ya,kn.isSymbol=Ga,kn.isTypedArray=Za,kn.isUndefined=function(t){return void 0===t},kn.isWeakMap=function(t){return Wa(t)&&ri(t)==x},kn.isWeakSet=function(t){return Wa(t)&&"[object WeakSet]"==dr(t)},kn.join=function(t,e){return null==t?"":rn.call(t,e)},kn.kebabCase=Ms,kn.last=Ri,kn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=rs(n))<0?an(r+o,0):sn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):_e(t,Oe,o,!0)},kn.lowerCase=Ls,kn.lowerFirst=Is,kn.lt=Qa,kn.lte=ts,kn.max=function(t){return t&&t.length?rr(t,qs,hr):void 0},kn.maxBy=function(t,e){return t&&t.length?rr(t,Go(e,2),hr):void 0},kn.mean=function(t){return Se(t,qs)},kn.meanBy=function(t,e){return Se(t,Go(e,2))},kn.min=function(t){return t&&t.length?rr(t,qs,Er):void 0},kn.minBy=function(t,e){return t&&t.length?rr(t,Go(e,2),Er):void 0},kn.stubArray=ou,kn.stubFalse=iu,kn.stubObject=function(){return{}},kn.stubString=function(){return""},kn.stubTrue=function(){return!0},kn.multiply=fu,kn.nth=function(t,e){return t&&t.length?jr(t,rs(e)):void 0},kn.noConflict=function(){return Kt._===this&&(Kt._=At),this},kn.noop=Gs,kn.now=va,kn.pad=function(t,e,n){t=ss(t);var r=(e=rs(e))?Ve(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return Mo(Qe(o),n)+t+Mo(Ze(o),n)},kn.padEnd=function(t,e,n){t=ss(t);var r=(e=rs(e))?Ve(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var o=ln();return sn(t+o*(e-t+Ht("1e-"+((o+"").length-1))),e)}return Nr(t,e)},kn.reduce=function(t,e,n){var r=Ma(t)?ve:Te,o=arguments.length<3;return r(t,Go(e,4),n,o,tr)},kn.reduceRight=function(t,e,n){var r=Ma(t)?ge:Te,o=arguments.length<3;return r(t,Go(e,4),n,o,er)},kn.repeat=function(t,e,n){return e=(n?ui(t,e,n):void 0===e)?1:rs(e),Pr(ss(t),e)},kn.replace=function(){var t=arguments,e=ss(t[0]);return t.length<3?e:e.replace(t[1],t[2])},kn.result=function(t,e,n){var r=-1,o=(e=so(e,t)).length;for(o||(o=1,t=void 0);++r9007199254740991)return[];var n=4294967295,r=sn(t,4294967295);t-=4294967295;for(var o=Ae(r,e=Go(e));++n=i)return t;var s=n-Ve(r);if(s<1)return r;var u=a?co(a,0,s).join(""):t.slice(0,s);if(void 0===o)return u+r;if(a&&(s+=u.length-s),Ja(o)){if(t.slice(s).search(o)){var c,l=u;for(o.global||(o=gt(o.source,ss(rt.exec(o))+"g")),o.lastIndex=0;c=o.exec(l);)var f=c.index;u=u.slice(0,void 0===f?s:f)}}else if(t.indexOf(Gr(o),s)!=s){var p=u.lastIndexOf(o);p>-1&&(u=u.slice(0,p))}return u+r},kn.unescape=function(t){return(t=ss(t))&&F.test(t)?t.replace(N,Ke):t},kn.uniqueId=function(t){var e=++Ct;return ss(t)+e},kn.upperCase=Fs,kn.upperFirst=Rs,kn.each=sa,kn.eachRight=ua,kn.first=Ii,Ys(kn,(lu={},ur(kn,(function(t,e){St.call(kn.prototype,e)||(lu[e]=t)})),lu),{chain:!1}),kn.VERSION="4.17.15",se(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){kn[t].placeholder=kn})),se(["drop","take"],(function(t,e){Dn.prototype[t]=function(n){n=void 0===n?1:an(rs(n),0);var r=this.__filtered__&&!e?new Dn(this):this.clone();return r.__filtered__?r.__takeCount__=sn(n,r.__takeCount__):r.__views__.push({size:sn(n,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},Dn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),se(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Dn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Go(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),se(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Dn.prototype[t]=function(){return this[n](1).value()[0]}})),se(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Dn.prototype[t]=function(){return this.__filtered__?new Dn(this):this[n](1)}})),Dn.prototype.compact=function(){return this.filter(qs)},Dn.prototype.find=function(t){return this.filter(t).head()},Dn.prototype.findLast=function(t){return this.reverse().find(t)},Dn.prototype.invokeMap=Fr((function(t,e){return"function"==typeof t?new Dn(this):this.map((function(n){return yr(n,t,e)}))})),Dn.prototype.reject=function(t){return this.filter(Sa(Go(t)))},Dn.prototype.slice=function(t,e){t=rs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Dn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=rs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Dn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Dn.prototype.toArray=function(){return this.take(4294967295)},ur(Dn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=kn[r?"take"+("last"==e?"Right":""):e],i=r||/^find/.test(e);o&&(kn.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,s=e instanceof Dn,u=a[0],c=s||Ma(e),l=function(t){var e=o.apply(kn,he([t],a));return r&&f?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(s=c=!1);var f=this.__chain__,p=!!this.__actions__.length,d=i&&!f,h=s&&!p;if(!i&&c){e=h?e:new Dn(this);var v=t.apply(e,a);return v.__actions__.push({func:na,args:[l],thisArg:void 0}),new jn(v,f)}return d&&h?t.apply(this,a):(v=this.thru(l),d?r?v.value()[0]:v.value():v)})})),se(["pop","push","shift","sort","splice","unshift"],(function(t){var e=bt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);kn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return e.apply(Ma(o)?o:[],t)}return this[n]((function(n){return e.apply(Ma(n)?n:[],t)}))}})),ur(Dn.prototype,(function(t,e){var n=kn[e];if(n){var r=n.name+"";St.call(bn,r)||(bn[r]=[]),bn[r].push({name:e,func:n})}})),bn[Ao(void 0,2).name]=[{name:"wrapper",func:void 0}],Dn.prototype.clone=function(){var t=new Dn(this.__wrapped__);return t.__actions__=yo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=yo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=yo(this.__views__),t},Dn.prototype.reverse=function(){if(this.__filtered__){var t=new Dn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Dn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ma(t),r=e<0,o=n?t.length:0,i=function(t,e,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},kn.prototype.plant=function(t){for(var e,n=this;n instanceof $n;){var r=ki(n);r.__index__=0,r.__values__=void 0,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},kn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Dn){var e=t;return this.__actions__.length&&(e=new Dn(this)),(e=e.reverse()).__actions__.push({func:na,args:[Hi],thisArg:void 0}),new jn(e,this.__chain__)}return this.thru(Hi)},kn.prototype.toJSON=kn.prototype.valueOf=kn.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},kn.prototype.first=kn.prototype.head,Zt&&(kn.prototype[Zt]=function(){return this}),kn}();Kt._=Je,void 0===(o=function(){return Je}.call(e,n,e,r))||(r.exports=o)}).call(this)}).call(this,n("yLpj"),n("YuTi")(t))},MLWZ:function(t,e,n){"use strict";var r=n("xTJ+");function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},MQ60:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"02f4":function(t,e,n){var r=n("4588"),o=n("be13");t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0fc9":function(t,e,n){var r=n("3a38"),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},1654:function(t,e,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"1af6":function(t,e,n){var r=n("63b6");r(r.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(t,e,n){var r=n("f772"),o=n("e53d").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},"20fd":function(t,e,n){"use strict";var r=n("d9f6"),o=n("aebd");t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),o=n("32e9"),i=n("79e5"),a=n("be13"),s=n("2b4c"),u=n("520a"),c=s("species"),l=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=s(t),d=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=d?!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[p](""),!e})):void 0;if(!d||!h||"replace"===t&&!l||"split"===t&&!f){var v=/./[p],g=n(a,p,""[t],(function(t,e,n,r,o){return e.exec===u?d&&!o?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),m=g[0],y=g[1];r(String.prototype,t,m),o(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},"230e":function(t,e,n){var r=n("d3f4"),o=n("7726").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),o=n("2b4c")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},"241e":function(t,e,n){var r=n("25eb");t.exports=function(t){return Object(r(t))}},"25eb":function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"2aba":function(t,e,n){var r=n("7726"),o=n("32e9"),i=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),u=(""+s).split("toString");n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2b4c":function(t,e,n){var r=n("5537")("wks"),o=n("ca5a"),i=n("7726").Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var r=n("5ca1"),o=n("d2c8");r(r.P+r.F*n("5147")("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"30f1":function(t,e,n){"use strict";var r=n("b8e3"),o=n("63b6"),i=n("9138"),a=n("35e8"),s=n("481b"),u=n("8f60"),c=n("45f2"),l=n("53e2"),f=n("5168")("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,v,g,m){u(n,e,h);var y,b,_,w=function(t){if(!p&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",O="values"==v,S=!1,C=t.prototype,E=C[f]||C["@@iterator"]||v&&C[v],T=E||w(v),k=v?O?w("entries"):T:void 0,A="Array"==e&&C.entries||E;if(A&&(_=l(A.call(new t)))!==Object.prototype&&_.next&&(c(_,x,!0),r||"function"==typeof _[f]||a(_,f,d)),O&&E&&"values"!==E.name&&(S=!0,T=function(){return E.call(this)}),r&&!m||!p&&!S&&C[f]||a(C,f,T),s[e]=T,s[x]=d,v)if(y={values:O?T:w("values"),keys:g?T:w("keys"),entries:k},m)for(b in y)b in C||i(C,b,y[b]);else o(o.P+o.F*(p||S),e,y);return y}},"32a6":function(t,e,n){var r=n("241e"),o=n("c3a1");n("ce7e")("keys",(function(){return function(t){return o(r(t))}}))},"32e9":function(t,e,n){var r=n("86cc"),o=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var r=n("e53d").document;t.exports=r&&r.documentElement},"335c":function(t,e,n){var r=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var r=n("d9f6"),o=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"36c3":function(t,e,n){var r=n("335c"),o=n("25eb");t.exports=function(t){return r(o(t))}},3702:function(t,e,n){var r=n("481b"),o=n("5168")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},"3a38":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"40c3":function(t,e,n){var r=n("6b4c"),o=n("5168")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45f2":function(t,e,n){var r=n("d9f6").f,o=n("07e3"),i=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"469f":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("7d7b")},"481b":function(t,e){t.exports={}},"4aa6":function(t,e,n){t.exports=n("dc62")},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4ee1":function(t,e,n){var r=n("5168")("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,n){var r=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},5168:function(t,e,n){var r=n("dbdb")("wks"),o=n("62a0"),i=n("e53d").Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},5176:function(t,e,n){t.exports=n("51b6")},"51b6":function(t,e,n){n("a3c3"),t.exports=n("584a").Object.assign},"520a":function(t,e,n){"use strict";var r,o,i=n("0bfb"),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,c=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function(t){var e,n,r,o,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),c&&(e=u.lastIndex),r=a.call(u,t),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:e),l&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o1?arguments[1]:void 0,g=void 0!==v,m=0,y=l(p);if(g&&(v=r(v,h>2?arguments[2]:void 0,2)),null==y||d==Array&&s(y))for(n=new d(e=u(p.length));e>m;m++)c(n,m,g?v(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)c(n,m,g?a(f,v,[o.value,m],!0):o.value);return n.length=m,n}})},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},5537:function(t,e,n){var r=n("8378"),o=n("7726"),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var r=n("dbdb")("keys"),o=n("62a0");t.exports=function(t){return r[t]||(r[t]=o(t))}},"584a":function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var r=n("36c3"),o=n("b447"),i=n("0fc9");t.exports=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),l=i(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},"5ca1":function(t,e,n){var r=n("7726"),o=n("8378"),i=n("32e9"),a=n("2aba"),s=n("9b43"),u=function(t,e,n){var c,l,f,p,d=t&u.F,h=t&u.G,v=t&u.S,g=t&u.P,m=t&u.B,y=h?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=h?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});for(c in h&&(n=e),n)f=((l=!d&&y&&void 0!==y[c])?y:n)[c],p=m&&l?s(f,r):g&&"function"==typeof f?s(Function.call,f):f,y&&a(y,c,f,t&u.U),b[c]!=f&&i(b,c,p),g&&_[c]!=f&&(_[c]=f)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5d73":function(t,e,n){t.exports=n("469f")},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"63b6":function(t,e,n){var r=n("e53d"),o=n("584a"),i=n("d864"),a=n("35e8"),s=n("07e3"),u=function(t,e,n){var c,l,f,p=t&u.F,d=t&u.G,h=t&u.S,v=t&u.P,g=t&u.B,m=t&u.W,y=d?o:o[e]||(o[e]={}),b=y.prototype,_=d?r:h?r[e]:(r[e]||{}).prototype;for(c in d&&(n=e),n)(l=!p&&_&&void 0!==_[c])&&s(y,c)||(f=l?_[c]:n[c],y[c]=d&&"function"!=typeof _[c]?n[c]:g&&l?i(f,r):m&&_[c]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[c]=f,t&u.R&&b&&!b[c]&&a(b,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},6762:function(t,e,n){"use strict";var r=n("5ca1"),o=n("c366")(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var r=n("626a"),o=n("be13");t.exports=function(t){return r(o(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6c1c":function(t,e,n){n("c367");for(var r=n("e53d"),o=n("35e8"),i=n("481b"),a=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u=c?t?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}}},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(t,e,n){t.exports=n("d2d5")},"77f1":function(t,e,n){var r=n("4588"),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7cd6":function(t,e,n){var r=n("40c3"),o=n("5168")("iterator"),i=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},"7d7b":function(t,e,n){var r=n("e4ae"),o=n("7cd6");t.exports=n("584a").getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},"7e90":function(t,e,n){var r=n("d9f6"),o=n("e4ae"),i=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},8436:function(t,e){t.exports=function(){}},"86cc":function(t,e,n){var r=n("cb7c"),o=n("c69a"),i=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8aae":function(t,e,n){n("32a6"),t.exports=n("584a").Object.keys},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8f60":function(t,e,n){"use strict";var r=n("a159"),o=n("aebd"),i=n("45f2"),a={};n("35e8")(a,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},9003:function(t,e,n){var r=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==r(t)}},9138:function(t,e,n){t.exports=n("35e8")},9306:function(t,e,n){"use strict";var r=n("c3a1"),o=n("9aa9"),i=n("355d"),a=n("241e"),s=n("335c"),u=Object.assign;t.exports=!u||n("294c")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){for(var n=a(t),u=arguments.length,c=1,l=o.f,f=i.f;u>c;)for(var p,d=s(arguments[c++]),h=l?r(d).concat(l(d)):r(d),v=h.length,g=0;v>g;)f.call(d,p=h[g++])&&(n[p]=d[p]);return n}:u},9427:function(t,e,n){var r=n("63b6");r(r.S,"Object",{create:n("a159")})},"95d5":function(t,e,n){var r=n("40c3"),o=n("5168")("iterator"),i=n("481b");t.exports=n("584a").isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(r(e))}},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),o=Array.prototype;null==o[r]&&n("32e9")(o,r,{}),t.exports=function(t){o[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(t,e,n){var r=n("e4ae"),o=n("7e90"),i=n("1691"),a=n("5559")("IE_PROTO"),s=function(){},u=function(){var t,e=n("1ec9")("iframe"),r=i.length;for(e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(" + + + + diff --git a/resources/js/components/SettingMultiple.vue b/resources/js/components/SettingMultiple.vue new file mode 100644 index 0000000000..0f0ad2dc5c --- /dev/null +++ b/resources/js/components/SettingMultiple.vue @@ -0,0 +1,75 @@ + + + + + + + diff --git a/resources/lang/en/poller.php b/resources/lang/en/poller.php new file mode 100644 index 0000000000..1c2a029829 --- /dev/null +++ b/resources/lang/en/poller.php @@ -0,0 +1,103 @@ + [ + 'settings' => [ + 'poller_groups' => [ + 'description' => 'Assigned Groups', + 'help' => 'This node will only take action on devices in these poller groups.' + ], + 'poller_enabled' => [ + 'description' => 'Poller Enabled', + 'help' => 'Enable poller workers on this node.' + ], + 'poller_workers' => [ + 'description' => 'Poller Workers', + 'help' => 'Amount of poller workers to spawn on this node.' + ], + 'poller_frequency' => [ + 'description' => 'Poller Frequency', + 'help' => 'How often to to poll devices on this node. Warning! Changing this is not recommended. See docs for more info.' + ], + 'poller_down_retry' => [ + 'description' => 'Device Down Retry', + 'help' => 'If a device is down when polling is attempted on this node. This is the amount of time to wait before retrying.' + ], + 'discovery_enabled' => [ + 'description' => 'Discovery Enabled', + 'help' => 'Enable discovery workers on this node.' + ], + 'discovery_workers' => [ + 'description' => 'Discovery Workers', + 'help' => 'Amount of discovery workers to run on this node. Setting too high can cause overload.' + ], + 'discovery_frequency' => [ + 'description' => 'Discovery Frequency', + 'help' => 'How often to run device discovery on this node. Default is 4 times a day.' + ], + 'services_enabled' => [ + 'description' => 'Services Enabled', + 'help' => 'Enable services workers on this node.' + ], + 'services_workers' => [ + 'description' => 'Services Workers', + 'help' => 'Amount of services workers on this node.' + ], + 'services_frequency' => [ + 'description' => 'Services Frequency', + 'help' => 'How often to run services on this node. This should match poller frequency.' + ], + 'billing_enabled' => [ + 'description' => 'Billing Enabled', + 'help' => 'Enable billing workers on this node.' + ], + 'billing_frequency' => [ + 'description' => 'Billing Frequency', + 'help' => 'How often to collect billing data on this node.' + ], + 'billing_calculate_frequency' => [ + 'description' => 'Billing Calculate Frequency', + 'help' => 'How often to calculate bill usage on this node.' + ], + 'alerting_enabled' => [ + 'description' => 'Alerting Enabled', + 'help' => 'Enable the alerting worker on this node.' + ], + 'alerting_frequency' => [ + 'description' => 'Alerting Frequency', + 'help' => 'How often alert rules are checked on this node. Note that data is only updated based on poller frequency.' + ], + 'ping_enabled' => [ + 'description' => 'Fast Ping Enabled', + 'help' => 'Fast Ping just pings devices to check if they are up or down' + ], + 'ping_frequency' => [ + 'description' => 'Ping Frequency', + 'help' => 'How often to check ping on this node. Warning! If you change this you must make additional changes. Check the Fast Ping docs.' + ], + 'update_enabled' => [ + 'description' => 'Daily Maintenance Enabled', + 'help' => 'Run daily.sh maintenance script and restart the dispatcher service afterwards.' + ], + 'update_frequency' => [ + 'description' => 'Maintenance Frequency', + 'help' => 'How often to run daily maintenance on this node. Default is 1 Day. It is highly suggested not to change this.' + ], + 'loglevel' => [ + 'description' => 'Log Level', + 'help' => 'Log level of the dispatch service.' + ], + 'watchdog_enabled' => [ + 'description' => 'Watchdog Enabled', + 'help' => 'Watchdog monitors the log file and restarts the service it it has not been updated' + ], + 'watchdog_log' => [ + 'description' => 'Log File to Watch', + 'help' => 'Default is the LibreNMS log file.' + ], + ], + 'units' => [ + 'seconds' => 'Seconds', + 'workers' => 'Workers', + ], + ], +]; diff --git a/resources/sass/app.scss b/resources/sass/app.scss index e0a592d2aa..b03a545ef6 100644 --- a/resources/sass/app.scss +++ b/resources/sass/app.scss @@ -9,3 +9,9 @@ // Vue Select @import "~vue-select/src/scss/vue-select.scss"; + +// Vue Multiselect +@import "~vue-multiselect/dist/vue-multiselect.min.css"; + +// Vue Tabs +@import '~vue-nav-tabs/themes/vue-tabs.css'; diff --git a/resources/views/layouts/menu.blade.php b/resources/views/layouts/menu.blade.php index 0176c1d1b6..295844eb5b 100644 --- a/resources/views/layouts/menu.blade.php +++ b/resources/views/layouts/menu.blade.php @@ -540,11 +540,12 @@ aria-hidden="true"> @lang('Auth History')