diff --git a/.gitignore b/.gitignore index a19a6d127..6dc14fade 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,4 @@ yarn.lock storage/ storage/*.key /docker-compose-collection/ -/resources/themes/velocity/* +/resources/themes/velocity/* \ No newline at end of file diff --git a/composer.json b/composer.json index ce6a19934..4a8cd169a 100755 --- a/composer.json +++ b/composer.json @@ -109,7 +109,10 @@ "autoload-dev": { "psr-4": { - "Tests\\": "tests/" + "Tests\\Acceptance\\": "tests/acceptance/", + "Tests\\Functional\\": "tests/functional/", + "Tests\\Unit\\": "tests/unit/", + "Tests\\Trigger\\": "tests/trigger/" } }, diff --git a/composer.lock b/composer.lock index 0e8076162..0095277e8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "89956b3147bad29980a3486770493059", + "content-hash": "0ba9dbd80803ce19df6735d4a92a17c6", "packages": [ { "name": "astrotomic/laravel-translatable", @@ -2664,76 +2664,6 @@ ], "time": "2019-11-08T13:50:10+00:00" }, - { - "name": "nwidart/laravel-modules", - "version": "3.3.1", - "source": { - "type": "git", - "url": "https://github.com/nWidart/laravel-modules.git", - "reference": "a7ec8a5871e57d337b7d37bbeb246fb99c41c703" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nWidart/laravel-modules/zipball/a7ec8a5871e57d337b7d37bbeb246fb99c41c703", - "reference": "a7ec8a5871e57d337b7d37bbeb246fb99c41c703", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.7", - "laravel/framework": "5.6.*", - "mockery/mockery": "~1.0", - "orchestra/testbench": "^3.6", - "phpstan/phpstan": "^0.9.2", - "phpunit/phpunit": "~7.0", - "spatie/phpunit-snapshot-assertions": "^1.0" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "Nwidart\\Modules\\LaravelModulesServiceProvider" - ], - "aliases": { - "Module": "Nwidart\\Modules\\Facades\\Module" - } - }, - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-4": { - "Nwidart\\Modules\\": "src" - }, - "files": [ - "src/helpers.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Widart", - "email": "n.widart@gmail.com", - "homepage": "https://nicolaswidart.com", - "role": "Developer" - } - ], - "description": "Laravel Module management", - "keywords": [ - "laravel", - "module", - "modules", - "nwidart", - "rad" - ], - "time": "2018-07-13T15:36:59+00:00" - }, { "name": "opis/closure", "version": "3.5.1", @@ -4147,6 +4077,20 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-03-30T14:07:33+00:00" }, { @@ -4299,6 +4243,20 @@ "mime", "mime-type" ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-03-27T16:56:45+00:00" }, { @@ -4478,6 +4436,20 @@ "portable", "shim" ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-03-09T19:04:49+00:00" }, { @@ -4537,6 +4509,20 @@ "portable", "shim" ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-03-09T19:04:49+00:00" }, { @@ -4648,6 +4634,20 @@ "portable", "shim" ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-02-27T09:26:54+00:00" }, { @@ -6204,6 +6204,76 @@ ], "time": "2018-11-21T21:40:54+00:00" }, + { + "name": "nwidart/laravel-modules", + "version": "3.3.1", + "source": { + "type": "git", + "url": "https://github.com/nWidart/laravel-modules.git", + "reference": "a7ec8a5871e57d337b7d37bbeb246fb99c41c703" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nWidart/laravel-modules/zipball/a7ec8a5871e57d337b7d37bbeb246fb99c41c703", + "reference": "a7ec8a5871e57d337b7d37bbeb246fb99c41c703", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.7", + "laravel/framework": "5.6.*", + "mockery/mockery": "~1.0", + "orchestra/testbench": "^3.6", + "phpstan/phpstan": "^0.9.2", + "phpunit/phpunit": "~7.0", + "spatie/phpunit-snapshot-assertions": "^1.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Nwidart\\Modules\\LaravelModulesServiceProvider" + ], + "aliases": { + "Module": "Nwidart\\Modules\\Facades\\Module" + } + }, + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "Nwidart\\Modules\\": "src" + }, + "files": [ + "src/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Widart", + "email": "n.widart@gmail.com", + "homepage": "https://nicolaswidart.com", + "role": "Developer" + } + ], + "description": "Laravel Module management", + "keywords": [ + "laravel", + "module", + "modules", + "nwidart", + "rad" + ], + "time": "2018-07-13T15:36:59+00:00" + }, { "name": "phar-io/manifest", "version": "1.0.3", @@ -7770,5 +7840,6 @@ "ext-pdo_mysql": "*", "ext-tokenizer": "*" }, - "platform-dev": [] + "platform-dev": [], + "plugin-api-version": "1.1.0" } diff --git a/packages/Webkul/Admin/src/DataGrids/CouponsDataGrid.php b/packages/Webkul/Admin/src/DataGrids/CartRuleCouponsDataGrid.php similarity index 100% rename from packages/Webkul/Admin/src/DataGrids/CouponsDataGrid.php rename to packages/Webkul/Admin/src/DataGrids/CartRuleCouponsDataGrid.php diff --git a/packages/Webkul/Admin/src/Providers/AdminServiceProvider.php b/packages/Webkul/Admin/src/Providers/AdminServiceProvider.php index 97f1f36ec..63e25dc28 100755 --- a/packages/Webkul/Admin/src/Providers/AdminServiceProvider.php +++ b/packages/Webkul/Admin/src/Providers/AdminServiceProvider.php @@ -3,9 +3,6 @@ namespace Webkul\Admin\Providers; use Illuminate\Support\ServiceProvider; -use Webkul\Admin\Providers\EventServiceProvider; -use Illuminate\Contracts\Debug\ExceptionHandler; -use Webkul\Admin\Exceptions\Handler; use Webkul\Core\Tree; class AdminServiceProvider extends ServiceProvider @@ -32,11 +29,6 @@ class AdminServiceProvider extends ServiceProvider $this->registerACL(); $this->app->register(EventServiceProvider::class); - - $this->app->bind( - ExceptionHandler::class, - Handler::class - ); } /** @@ -96,7 +88,7 @@ class AdminServiceProvider extends ServiceProvider view()->composer(['admin::users.roles.create', 'admin::users.roles.edit'], function ($view) { $view->with('acl', $this->createACL()); }); - + view()->composer(['admin::catalog.products.create'], function ($view) { $items = array(); diff --git a/packages/Webkul/Admin/src/Resources/lang/it/app.php b/packages/Webkul/Admin/src/Resources/lang/it/app.php new file mode 100644 index 000000000..2494bd14d --- /dev/null +++ b/packages/Webkul/Admin/src/Resources/lang/it/app.php @@ -0,0 +1,1340 @@ + 'Salva', + 'create' => 'Crea', + 'update' => 'Modifica', + 'delete' => 'Elimina', + 'failed' => 'Fallito', + 'store' => 'Store', + 'image' => 'Immagine', + 'no result' => 'Nessun risultato', + 'product' => 'Prodotto', + 'attribute' => 'Attributo', + 'actions' => 'Azioni', + 'id' => 'ID', + 'action' => 'azione', + 'yes' => 'Sì', + 'no' => 'No', + 'true' => 'Vero', + 'false' => 'Falso', + 'apply' => 'Applica', + 'action' => 'Azione', + 'label' => 'Etichetta', + 'name' => 'Nome', + 'title' => 'Titolo', + 'code' => 'Codice', + 'type' => 'Tipo', + 'required' => 'Richiesto', + 'unique' => 'Unico', + 'locale-based' => 'Basato su Localizzazione', + 'channel-based' => 'Basato su Canale', + 'status' => 'Stato', + 'select-option' => 'Seleziona opzione', + 'category' => 'Categoria', + + 'common' => [ + 'no-result-found' => 'Non è stato trovato nessun record.', + 'country' => 'Paese', + 'state' => 'Provincia', + 'true' => 'Vero', + 'false' => 'Falso' + ], + + 'layouts' => [ + 'app-version' => 'Versione : :version', + 'my-account' => 'Il Mio Account', + 'logout' => 'Logout', + 'visit-shop' => 'Visita Store', + 'dashboard' => 'Dashboard', + 'sales' => 'Vendite', + 'orders' => 'Ordini', + 'shipments' => 'Spedizioni', + 'invoices' => 'Fatture', + 'refunds' => 'Rimborsi', + 'catalog' => 'Catalogo', + 'products' => 'Prodotti', + 'categories' => 'Categorie', + 'attributes' => 'Attributi', + 'attribute-families' => 'Famiglie Attributi', + 'customers' => 'Clienti', + 'groups' => 'Gruppi', + 'reviews' => 'Recensioni', + 'newsletter-subscriptions' => 'Iscrizione Newsletter', + 'configure' => 'Configura', + 'settings' => 'Impostazioni', + 'locales' => 'Localizzazioni', + 'currencies' => 'Valute', + 'exchange-rates' => 'Tassi di Cambio', + 'inventory-sources' => 'Magazzini', + 'channels' => 'Canali', + 'users' => 'Utenti', + 'roles' => 'Ruoli', + 'sliders' => 'Sliders', + 'taxes' => 'IVA', + 'tax-categories' => 'Categorie IVA', + 'tax-rates' => 'Aliquote IVA', + 'promotions' => 'Promozioni', + 'discount' => 'Sconti', + 'cms' => 'CMS' + ], + + 'acl' => [ + 'dashboard' => 'Dashboard', + 'sales' => 'Vendite', + 'orders' => 'Ordini', + 'shipments' => 'Spedizioni', + 'invoices' => 'Fatture', + 'catalog' => 'Catalogo', + 'products' => 'Prodotti', + 'categories' => 'Categorie', + 'attributes' => 'Attributi', + 'attribute-families' => 'Famiglie Attributi', + 'customers' => 'Clienti', + 'groups' => 'Gruppi', + 'reviews' => 'Recensioni', + 'newsletter-subscriptions' => 'Iscrizioni Newsletter', + 'configure' => 'Configura', + 'settings' => 'Impostazioni', + 'locales' => 'Localizzazioni', + 'currencies' => 'Valute', + 'exchange-rates' => 'Tassi di cambio', + 'inventory-sources' => 'Magazzini', + 'channels' => 'Canali', + 'users' => 'Utenti', + 'roles' => 'Ruoli', + 'sliders' => 'Sliders', + 'taxes' => 'IVA', + 'tax-categories' => 'Categorie IVA', + 'tax-rates' => 'Aliquote IVA', + 'edit' => 'Modifica', + 'create' => 'Aggiungi', + 'delete' => 'Elimina', + 'promotions' => 'Promozioni', + 'cart-rules' => 'Regole Carrello', + 'catalog-rules' => 'Regole Catalogo', + ], + + 'dashboard' => [ + 'title' => 'Dashboard', + 'from' => 'Da', + 'to' => 'A', + 'total-customers' => 'Totale Clienti', + 'total-orders' => 'Totale Ordini', + 'total-sale' => 'Totale Vendite', + 'average-sale' => 'Media Ordine di Vendita', + 'increased' => ':progress%', + 'decreased' => ':progress%', + 'sales' => 'Vendite', + 'top-performing-categories' => 'Categorie più performanti', + 'product-count' => ':count Prodotti', + 'top-selling-products' => 'Prodotti più venduti', + 'sale-count' => ':count Vendite', + 'customer-with-most-sales' => 'Cliente con più Vendite', + 'order-count' => ':count Ordini', + 'revenue' => 'Fatturato :total', + 'stock-threshold' => 'Soglia stock', + 'qty-left' => ':qty rimasti' + ], + + 'datagrid' => [ + 'mass-ops' => [ + 'method-error' => 'Errore! Metodo errato selezinato, per favore verifica la configurazione dell\azione massiva', + 'delete-success' => ':resource eliminate con successo', + 'partial-action' => 'Some actions were not performed due restricted system constraints on :resource', + 'update-success' => 'Selected :resource were successfully updated', + 'no-resource' => 'The resource provided for insufficient for the action' + ], + + 'id' => 'ID', + 'status' => 'Stato', + 'code' => 'Codice', + 'admin-name' => 'Nome', + 'name' => 'Nome', + 'direction' => 'Direzione', + 'fullname' => 'Nome completo', + 'type' => 'Tipo', + 'required' => 'Richiesto', + 'unique' => 'Unico', + 'per-locale' => 'Basato su localizzazione', + 'per-channel' => 'Basato sul canale', + 'position' => 'Posizione', + 'locale' => 'Locale', + 'hostname' => 'Hostname', + 'email' => 'Email', + 'group' => 'Gruppo', + 'phone' => 'Telefono', + 'gender' => 'Sesso', + 'title' => 'Titolo', + 'layout' => 'Layout', + 'url-key' => 'URL Key', + 'comment' => 'Commento', + 'product-name' => 'Prodotto', + 'currency-name' => 'Nome Valuta', + 'exch-rate' => 'Tasso di cambio', + 'priority' => 'Priorità', + 'subscribed' => 'Iscritto', + 'base-total' => 'Base Totale', + 'grand-total' => 'Gran Totale', + 'order-date' => 'Data Ordine', + 'channel-name' => 'Nome Canale', + 'billed-to' => 'Fatturato a', + 'shipped-to' => 'Spedito a', + 'order-id' => 'Id Ordine', + 'invoice-date' => 'Data Fattura', + 'total-qty' => 'Qtà Totale', + 'inventory-source' => 'Magazzino', + 'shipment-date' => 'Data Spedizione', + 'shipment-to' => 'Spedizione A', + 'sku' => 'SKU', + 'price' => 'Prezzo', + 'qty' => 'Quantità', + 'permission-type' => 'Tipo Permessi', + 'identifier' => 'Identificatore', + 'state' => 'Provincia', + 'country' => 'Paese', + 'tax-rate' => 'Aliquota', + 'role' => 'Ruolo', + 'sub-total' => 'Subtotale', + 'no-of-products' => 'Numero di Prodotti', + 'attribute-family' => 'Famiglia Attributi', + 'starts-from' => 'Inizia dal', + 'ends-till' => 'Finisce il', + 'per-cust' => 'Per Cliente', + 'usage-throttle' => 'Numero Utilizzi', + 'for-guest' => 'Per Guest', + 'order_number' => 'Numero Ordine', + 'refund-date' => 'Data Rimborso', + 'refunded' => 'Rimborsato', + 'start' => 'Inizio', + 'end' => 'Fine', + 'active' => 'Attivo', + 'inactive' => 'Inattivo', + 'true' => 'Vero', + 'false' => 'Falso', + 'approved' => 'Approvato', + 'pending' => 'In attesa', + 'disapproved' => 'Non Approvato', + 'coupon-code' => 'Coupon Codice', + 'times-used' => 'Utilizzato Volte', + 'created-date' => 'Data Creazione', + 'expiration-date' => 'Data Scadenza', + 'edit' => 'Modifica', + 'delete' => 'Elimina', + 'view' => 'Vedi', + 'rtl' => 'RTL', + 'ltr' => 'LTR', + 'update-status' => 'Update Stato' + ], + + 'account' => [ + 'title' => 'Il Mio Account', + 'save-btn-title' => 'Salva', + 'general' => 'Generale', + 'name' => 'Nome', + 'email' => 'Email', + 'password' => 'Password', + 'confirm-password' => 'Conferma Password', + 'change-password' => 'Modifica Password', + 'current-password' => 'Attuale Password' + ], + + 'users' => [ + 'forget-password' => [ + 'title' => 'Password dimenticata', + 'header-title' => 'Recupera Password', + 'email' => 'Email registrata', + 'password' => 'Password', + 'confirm-password' => 'Conferma Password', + 'back-link-title' => 'Torna a Login', + 'submit-btn-title' => 'Invia Email Recupera Password' + ], + + 'reset-password' => [ + 'title' => 'Genera nuova Password', + 'email' => 'Email Registrata', + 'password' => 'Password', + 'confirm-password' => 'Conferma Password', + 'back-link-title' => 'Torna a Login', + 'submit-btn-title' => 'Invia Nuova Password' + ], + + 'roles' => [ + 'title' => 'Ruoli', + 'add-role-title' => 'Aggiungi Ruolo', + 'edit-role-title' => 'Modifica Ruolo', + 'save-btn-title' => 'Salva Ruolo', + 'general' => 'Generale', + 'name' => 'Nome', + 'description' => 'Descrizione', + 'access-control' => 'Controllo Accesso', + 'permissions' => 'Permissioni', + 'custom' => 'Custom', + 'all' => 'Tutto' + ], + + 'users' => [ + 'title' => 'Utente', + 'add-user-title' => 'Aggiungi Utente', + 'edit-user-title' => 'Modifica Utente', + 'save-btn-title' => 'Save Utente', + 'general' => 'Generale', + 'email' => 'Email', + 'name' => 'Nome', + 'password' => 'Password', + 'confirm-password' => 'Conferma Password', + 'status-and-role' => 'Stato e Ruolo', + 'role' => 'Ruolo', + 'status' => 'Stato', + 'account-is-active' => 'L\'Account è Attivo', + 'current-password' => 'Inserisci Password Attuale', + 'confirm-delete' => 'Conferma eliminazione di questo Account', + 'confirm-delete-title' => 'Conferma la password prima di eliminare', + 'delete-last' => 'Almeno un amministratore è necessario.', + 'delete-success' => 'Success! Utente deleted', + 'incorrect-password' => 'La password inserita non è corretta', + 'password-match' => 'La password attuale non corrisponde a quella salvata.', + 'account-save' => 'Le modifiche all\'Account sono state salvate.', + 'login-error' => 'Per favore verifica le tue credenziali e prova di nuovo.', + 'activate-warning' => 'Il tuo account deve ancora essere attivato, per favore contatta un amministratore.' + ], + + 'sessions' => [ + 'title' => 'Login', + 'email' => 'Email', + 'password' => 'Password', + 'forget-password-link-title' => 'Password dimenticata ?', + 'remember-me' => 'Ricordami', + 'submit-btn-title' => 'Login' + ] + ], + + 'sales' => [ + 'orders' => [ + 'title' => 'Ordini', + 'view-title' => 'Ordine #:order_id', + 'cancel-btn-title' => 'Cancella', + 'shipment-btn-title' => 'Spedisci', + 'invoice-btn-title' => 'Fattura', + 'info' => 'Informazoni', + 'invoices' => 'Fatture', + 'shipments' => 'Spedizioni', + 'order-and-account' => 'Ordine e Account', + 'order-info' => 'informazioni Ordine', + 'order-date' => 'Data Ordine', + 'order-status' => 'Stato Ordine', + 'order-status-canceled' => 'Cancellato', + 'order-status-closed' => 'Chiuso', + 'order-status-fraud' => 'Frode', + 'order-status-pending' => 'In attesa', + 'order-status-pending-payment' => 'In attesa Pagamento', + 'order-status-processing' => 'In corso di processamento', + 'order-status-success' => 'Completato', + 'channel' => 'Canale', + 'customer-name' => 'Nome Cliente', + 'email' => 'Email', + 'contact-number' => 'Numero Contatto', + 'account-info' => 'Informazione Account', + 'address' => 'Indirizzo', + 'shipping-address' => 'Indirizzo Spedizione', + 'billing-address' => 'Indirizzo Fatturazione', + 'payment-and-shipping' => 'Pagamento e Spedizione', + 'payment-info' => 'Informazioni Pagamento', + 'payment-method' => 'Metodo di Pagamento', + 'currency' => 'Valuta', + 'shipping-info' => 'Informazioni Spedizione', + 'shipping-method' => 'Metodo di Spedizione', + 'shipping-price' => 'Spedizione', + 'products-ordered' => 'Prodotti Ordinati', + 'SKU' => 'SKU', + 'product-name' => 'Nome Prodotto', + 'qty' => 'Qtà', + 'item-status' => 'Stato Articolo', + 'item-ordered' => 'Ordinati (:qty_ordered)', + 'item-invoice' => 'Fatturati (:qty_invoiced)', + 'item-shipped' => 'Spediti (:qty_shipped)', + 'item-canceled' => 'Cancellati (:qty_canceled)', + 'item-refunded' => 'Resi (:qty_refunded)', + 'price' => 'Prezzo', + 'total' => 'Totale', + 'subtotal' => 'Subtotale', + 'shipping-handling' => 'Spedizione', + 'discount' => 'Sconto', + 'tax' => 'IVA', + 'tax-percent' => '% IVA', + 'tax-amount' => 'Ammontare IVA', + 'discount-amount' => 'Ammontare Sconto', + 'discount-amount' => 'Ammontare Sconto', + 'grand-total' => 'Totale', + 'total-paid' => 'Totale Pagato', + 'total-refunded' => 'Totale Rimborsato', + 'total-due' => 'Totale Dovuto', + 'cancel-confirm-msg' => 'Sei sicuro di voler cancellare questo ordine ?', + 'refund-btn-title' => 'Rimborsa', + 'refunds' => 'Rimborsi', + 'comment-added-success' => 'Commento aggiunto con successo.', + 'comment' => 'Commento', + 'submit-comment' => 'Invia Commento', + 'notify-customer' => 'Notifica Cliente', + 'customer-notified' => ':date | Cliente Notificato', + 'customer-not-notified' => ':date | Cliente Non Notificato' + ], + + 'invoices' => [ + 'title' => 'Fatture', + 'id' => 'Id', + 'invoice-id' => 'Id Fattura', + 'date' => 'Data Fattura', + 'order-id' => 'Id Ordine', + 'customer-name' => 'Nome Cliente', + 'status' => 'Stato', + 'amount' => 'Ammontare', + 'action' => 'Azione', + 'add-title' => 'Crea Fattura', + 'save-btn-title' => 'Salva Fattura', + 'qty' => 'Qtà', + 'qty-ordered' => 'Qtà ordinata', + 'qty-to-invoice' => 'Qtà da fatturare', + 'view-title' => 'Fattura #:invoice_id', + 'bill-to' => 'Fatturato a', + 'ship-to' => 'Spedito a', + 'print' => 'Stampa', + 'order-date' => 'Data Ordine', + 'creation-error' => 'La creazione della fattura dell\'Ordine non è consentita.', + 'product-error' => 'La fattura non può essere creata senza prodotti.' + ], + + 'shipments' => [ + 'title' => 'Spedizioni', + 'id' => 'Id', + 'date' => 'Data Spedizione', + 'order-id' => 'Ordine Id', + 'order-date' => 'Ordine date', + 'customer-name' => 'Cliente Nome', + 'total-qty' => 'Totale Qtà', + 'action' => 'Azione', + 'add-title' => 'Crea Spedizione', + 'save-btn-title' => 'Salva Spedizione', + 'qty-ordered' => 'Qtà Ordinata', + 'qty-to-ship' => 'Qtà da Spedire', + 'available-sources' => 'Fonti Disponibili', + 'source' => 'Magazzino', + 'select-source' => 'Per favore seleziona magazzino', + 'qty-available' => 'Qtà Disponibie', + 'inventory-source' => 'Magazzino Origine', + 'carrier-title' => 'Nome Carrier', + 'tracking-number' => 'Codice Tracking', + 'view-title' => 'Spedizione #:shipment_id', + 'creation-error' => 'La spedizione non può essere creata per questo ordine.', + 'order-error' => 'La creazione della spedizione dell\'Ordine non è consentita.', + 'quantity-invalid' => 'La quantità richiesta non è valida non è disponibile.', + ], + + 'refunds' => [ + 'title' => 'Rimborsi', + 'id' => 'Id', + 'add-title' => 'Crea Rimborso', + 'save-btn-title' => 'Rimborso', + 'order-id' => 'Ordine Id', + 'qty-ordered' => 'Qtà ordinata', + 'qty-to-refund' => 'Qtà da rimborsare', + 'refund-shipping' => 'Rimborso Spedizione', + 'adjustment-refund' => 'Rimborso', + 'adjustment-fee' => 'Commissione Rimborso', + 'update-qty' => 'Aggiorna Quantità', + 'invalid-qty' => 'Abbiamo trovato una quantità non valida di articoli da rimborsare.', + 'refund-limit-error' => 'L\'ammontare massimo rimborsabile è :amount.', + 'refunded' => 'Rimborsato', + 'date' => 'Data Rimborso', + 'customer-name' => 'Nome Cliente', + 'status' => 'Stato', + 'action' => 'Azione', + 'view-title' => 'Rimborso #:refund_id', + 'invalid-refund-amount-error' => 'La somma rimborsata dovrebbe essere diversa da zero.' + + ] + ], + + 'catalog' => [ + 'products' => [ + 'title' => 'Prodotti', + 'add-product-btn-title' => 'Aggiungi Prodotto', + 'add-title' => 'Aggiungi Prodotto', + 'edit-title' => 'Modifica Prodotto', + 'save-btn-title' => 'Salva Prodotto', + 'general' => 'Generale', + 'product-type' => 'Tipo Prodotto', + 'simple' => 'Semplice', + 'configurable' => 'Configurabile', + 'familiy' => 'Famiglia Attributo', + 'sku' => 'SKU', + 'configurable-attributes' => 'Attributi Configurabili', + 'attribute-header' => 'Attributo(i)', + 'attribute-option-header' => 'Opzioni Attributo', + 'no' => 'No', + 'yes' => 'Sì', + 'disabled' => 'Disabilitato', + 'enabled' => 'Abilitato', + 'add-variant-btn-title' => 'Aggiungi Variante', + 'name' => 'Nome', + 'qty' => 'Qtà', + 'price' => 'Prezzo', + 'weight' => 'Peso', + 'status' => 'Stato', + 'variant-already-exist-message' => 'Una variante con le stesse opzioni attributo esiste già.', + 'add-image-btn-title' => 'Aggiungi Immagine', + 'add-variant-title' => 'Aggiungi Variante', + 'variant-already-exist-message' => 'Una Variante con le stesse opzioni attributo esiste già.', + 'add-image-btn-title' => 'Aggiungi Immaggine', + 'mass-delete-success' => 'Tutti i prodotti selezionati devono essere eliminate con successo', + 'mass-update-success' => 'Tutti i prodotti sono stati aggiornati con successo', + 'configurable-error' => 'Per favore seleziona almeno un attributo configurabile.', + 'categories' => 'Categorie', + 'images' => 'Immagini', + 'inventories' => 'Magazzini', + 'variations' => 'Variazioni', + 'downloadable' => 'Informazioni scaricabili', + 'links' => 'Link', + 'add-link-btn-title' => 'Aggiungi Link', + 'samples' => 'Campioni', + 'add-sample-btn-title' => 'Aggiungi Campione', + 'downloads' => 'Download Conentito', + 'file' => 'File', + 'sample' => 'Campione', + 'upload-file' => 'Carica File', + 'url' => 'Url', + 'sort-order' => 'Ordina Ordine', + 'browse-file' => 'Naviga File', + 'product-link' => 'Prodotti collegati', + 'cross-selling' => 'Cross Selling', + 'up-selling' => 'Up Selling', + 'related-products' => 'Prodotti correlati', + 'product-search-hint' => 'Inizia a digitare un nome di prodotto', + 'no-result-found' => 'Prodotti con lo stesso nome non trovato.', + 'searching' => 'Sto cercando ...', + 'grouped-products' => 'Prodotti Raggruppati', + 'search-products' => 'Cerca Prodotti', + 'no-result-found' => 'Prodotti con lo stesso nome non trovato.', + 'channel' => 'Canali', + 'bundle-items' => 'Elementi Bundle', + 'add-option-btn-title' => 'Aggiungi Opzione', + 'option-title' => 'Titolo Opzione', + 'input-type' => 'Input Tipo', + 'is-required' => 'È Richiesto', + 'select' => 'Select', + 'radio' => 'Radio', + 'checkbox' => 'Checkbox', + 'multiselect' => 'Multiselect', + 'new-option' => 'Nuova Opzione', + 'is-default' => 'È Predefinita', + 'actions' => 'Azioni' + ], + + 'attributes' => [ + 'title' => 'Attributi', + 'add-title' => 'Aggiungi Attributo', + 'edit-title' => 'Modifica Attributo', + 'save-btn-title' => 'Salva Attributo', + 'general' => 'Generale', + 'code' => 'Attribute Codice', + 'type' => 'Attribute Tipo', + 'text' => 'Text', + 'textarea' => 'Textarea', + 'price' => 'Prezzo', + 'boolean' => 'Boolean', + 'select' => 'Select', + 'multiselect' => 'Multiselect', + 'datetime' => 'Datetime', + 'date' => 'Data', + 'label' => 'Etichetta', + 'admin' => 'Admin', + 'options' => 'Opzioni', + 'position' => 'Posizione', + 'add-option-btn-title' => 'Aggiungi Option', + 'validations' => 'Validazioni', + 'input_validation' => 'Validazione Input', + 'is_required' => 'È Richiesto', + 'is_unique' => 'È Unico', + 'number' => 'Number', + 'decimal' => 'Decimal', + 'email' => 'Email', + 'url' => 'URL', + 'configuration' => 'Configurazione', + 'status' => 'Stato', + 'yes' => 'Sì', + 'no' => 'No', + 'value_per_locale' => 'Valore per Localizzazione', + 'value_per_channel' => 'Valore per Canale', + 'is_filterable' => 'Utilizzato nella Navigazione Layered', + 'is_configurable' => 'Utilizzato per creare Prodotto Configurabile', + 'admin_name' => 'Nome Admin', + 'is_visible_on_front' => 'Visible on Prodotto View Page on Front-end', + 'swatch_type' => 'Swatch Tipo', + 'dropdown' => 'Dropdown', + 'color-swatch' => 'Color Swatch', + 'image-swatch' => 'Image Swatch', + 'text-swatch' => 'Text Swatch', + 'swatch' => 'Swatch', + 'image' => 'Image', + 'file' => 'File', + 'checkbox' => 'Checkbox', + 'use_in_flat' => "Crea in tabella Product flat", + 'is_comparable' => "L'attributo è comparabile", + 'default_null_option' => 'Crea opzione predefinita vuota', + ], + 'families' => [ + 'title' => 'Famiglie', + 'add-family-btn-title' => 'Aggiungi Famiglia', + 'add-title' => 'Aggiungi Famiglia', + 'edit-title' => 'Modifica Famiglia', + 'save-btn-title' => 'Salva Famiglia', + 'general' => 'Generale', + 'code' => 'Codice Famiglia', + 'name' => 'Nome', + 'groups' => 'Gruppi', + 'add-group-title' => 'Aggiungi Gruppo', + 'position' => 'Posizione', + 'attribute-code' => 'Codice', + 'type' => 'Tipo', + 'add-attribute-title' => 'Aggiungi Attributi', + 'search' => 'Cerca', + 'group-exist-error' => 'Un gruppo con lo stesso nome esiste già.', + 'actions' => 'Azioni', + 'description' => 'Descrizione' + ], + 'categories' => [ + 'title' => 'Categorie', + 'add-title' => 'Aggiungi Categoria', + 'edit-title' => 'Modifica Categoria', + 'save-btn-title' => 'Save Categoria', + 'general' => 'Generale', + 'name' => 'Nome', + 'visible-in-menu' => 'Visibile nel Menu', + 'yes' => 'Sì', + 'no' => 'No', + 'position' => 'Posizione', + 'display-mode' => 'Modalità di visualizzazione', + 'products-and-description' => 'Prodotti e Descrizioni', + 'products-only' => 'Solo Prodotti', + 'description-only' => 'Solo Descrizioni', + 'description-and-images' => 'Descrizioni e Immagini', + 'description' => 'Descrizione', + 'parent-category' => 'Categoria Padre', + 'seo' => 'Search Engine Optimization', + 'slug' => 'Slug', + 'meta_title' => 'Meta Title', + 'meta_description' => 'Meta Description', + 'meta_keywords' => 'Meta Keywords', + 'image' => 'Immagine', + 'filterable-attributes' => 'Attributi filtrabili', + 'attributes' => 'Attributi', + ] + ], + + 'configuration' => [ + 'title' => 'Configurazione', + 'save-btn-title' => 'Salva', + 'save-message' => 'Configurazione salvata con successo', + 'yes' => 'Sì', + 'no' => 'No', + 'delete' => 'Elimina', + + 'tax-categories' => [ + 'title' => 'Categorie IVA', + 'add-title' => 'Aggiungi Categoria IVA', + 'edit-title' => 'Modifica Categoria IVA', + 'save-btn-title' => 'Salva Categoria IVA', + 'general' => 'Categoria IVA', + 'select-channel' => 'Seleziona Canale', + 'name' => 'Nome', + 'code' => 'Codice', + 'description' => 'Descrizione', + 'select-taxrates' => 'Seleziona Aliquote IVA', + 'edit' => [ + 'title' => 'Modifica Category IVA', + 'edit-button-title' => 'Modifica Categoria IVA' + ] + ], + + 'tax-rates' => [ + 'title' => 'Aliquote IVA', + 'add-title' => 'Aggiungi Aliquota IVA', + 'edit-title' => 'Modifica Aliquota IVA', + 'save-btn-title' => 'Salva Aliquota IVA', + 'general' => 'Aliquota IVA', + 'identifier' => 'Identificatore', + 'is_zip' => 'Abilita Range per CAP', + 'zip_from' => 'CAP da', + 'zip_to' => 'CAP a', + 'state' => 'Stato/Provincia', + 'select-state' => 'Seleziona una regione, stato o provincia.', + 'country' => 'Paese', + 'tax_rate' => 'Aliquota', + 'edit' => [ + 'title' => 'Modifica Aliquota IVA', + 'edit-button-title' => 'Modifica Aliquota' + ], + 'zip_code' => 'CAP', + 'is_zip' => 'Abilita Range CAP', + ], + + 'sales' => [ + 'shipping-method' => [ + 'title' => 'Metodi di Spedizione', + 'save-btn-title' => 'Salva', + 'description' => 'Descrizione', + 'active' => 'Attivo', + 'status' => 'Stato' + ] + ] + ], + + 'settings' => [ + 'locales' => [ + 'title' => 'Localizzazioni', + 'add-title' => 'Aggiungi Localizzazione', + 'edit-title' => 'Modifica Localizzazione', + 'add-title' => 'Aggiungi Localizzazione', + 'save-btn-title' => 'Salva Localizzazione', + 'general' => 'Generale', + 'code' => 'Codice', + 'name' => 'Nome', + 'direction' => 'Direzione', + 'create-success' => 'Localizzazione creata con successo.', + 'update-success' => 'Locale aggiornata con successo.', + 'delete-success' => 'Localizzazione eliminata con successo.', + 'last-delete-error' => 'Almeno una localizzazione è necessaria.', + ], + 'countries' => [ + 'title' => 'Paesi', + 'add-title' => 'Aggiungi Paese', + 'save-btn-title' => 'Salva Paese', + 'general' => 'Generale', + 'code' => 'Codice', + 'name' => 'Nome' + ], + 'currencies' => [ + 'title' => 'Valute', + 'add-title' => 'Aggiungi Valuta', + 'edit-title' => 'Modifica Valuta', + 'save-btn-title' => 'Salva Valuta', + 'general' => 'Generale', + 'code' => 'Codice', + 'name' => 'Nome', + 'symbol' => 'Simbolo', + 'create-success' => 'Valuta creata con successo.', + 'update-success' => 'Valuta aggiornata con successo.', + 'delete-success' => 'Valuta eliminata con successo.', + 'last-delete-error' => 'Almeno una valuta è necessaria.', + ], + 'exchange_rates' => [ + 'title' => 'Tasso di cambio', + 'add-title' => 'Aggiungi Tasso di cambio', + 'edit-title' => 'Modifica Tasso di cambio', + 'save-btn-title' => 'Save Tasso di cambio', + 'general' => 'Generale', + 'source_currency' => 'Valuta Origine', + 'target_currency' => 'Valuta Destinazione', + 'rate' => 'Tasso', + 'exchange-class-not-found' => ':service cambio non trovata', + 'update-rates' => 'Aggiorna cambi utilizzando :service', + 'create-success' => 'Tasso di cambio creato con successo.', + 'update-success' => 'Tasso di cambio aggiornato con successo.', + 'delete-success' => 'Tasso di cambio eliminato con successo.', + 'last-delete-error' => 'Almeno un taasso di cambio è necessario.', + ], + 'inventory_sources' => [ + 'title' => 'Magazzini', + 'add-title' => 'Aggiungi Magazzino', + 'edit-title' => 'Modifica Magazzino', + 'save-btn-title' => 'Salva Magazzino', + 'general' => 'Generale', + 'code' => 'Codice', + 'name' => 'Nome', + 'description' => 'Descrizione', + 'source-is-active' => 'Magazzino è Attivo', + 'contact-info' => 'Informazioni Contatto', + 'contact_name' => 'Nome', + 'contact_email' => 'Email', + 'contact_number' => 'Numero Contatto', + 'contact_fax' => 'Fax', + 'address' => 'Indirizzo Magazzino', + 'country' => 'Paese', + 'state' => 'Provincia', + 'city' => 'Città', + 'street' => 'Indirizzo', + 'postcode' => 'CAP', + 'priority' => 'Priorità', + 'latitude' => 'Latitudine', + 'longitude' => 'Longitudine', + 'status' => 'Stato', + 'create-success' => 'Magazzino creato con successo.', + 'update-success' => 'Magazzino aggiornato con successo.', + 'delete-success' => 'Magazzino eliminato con successo.', + 'last-delete-error' => 'Almeno un Magazzino è necessario.', + ], + 'channels' => [ + 'title' => 'Canali', + 'add-title' => 'Aggiungi Canale', + 'edit-title' => 'Modifica Canale', + 'save-btn-title' => 'Save Canale', + 'general' => 'Generale', + 'code' => 'Codice', + 'name' => 'Nome', + 'description' => 'Descrizione', + 'hostname' => 'Hostname', + 'currencies-and-locales' => 'Valute e localizzazioni', + 'locales' => 'Localizzazioni', + 'default-locale' => 'Localizzazione predefinita', + 'currencies' => 'Valute', + 'base-currency' => 'Valuta Predefinita', + 'root-category' => 'Categoria principale', + 'inventory_sources' => 'Magazzini', + 'design' => 'Design', + 'theme' => 'Theme', + 'home_page_content' => 'Contenuto Home Page', + 'footer_content' => 'Contenuto Footer', + 'logo' => 'Logo', + 'favicon' => 'Favicon', + 'create-success' => 'Canale creato con successo.', + 'update-success' => 'Canale aggiornato con successo.', + 'delete-success' => 'Canale eliminato con successo.', + 'last-delete-error' => 'Almeno un Canale è necessario.', + 'seo' => 'Home page SEO', + 'seo-title' => 'Meta title', + 'seo-description' => 'Meta description', + 'seo-keywords' => 'Meta keywords', + + ], + + 'sliders' => [ + 'title' => 'Sliders', + 'name' => 'Nome', + 'add-title' => 'Crea Slider', + 'edit-title' => 'Modifica Slider', + 'save-btn-title' => 'Salva Slider', + 'general' => 'Generale', + 'image' => 'Immagine', + 'content' => 'Contenuto', + 'channels' => 'Canale', + 'created-success' => 'Slider creato con successo', + 'created-fault' => 'Errore nella creazione dello slider', + 'update-success' => 'Slider aggiornato con successo', + 'update-fail' => 'Non è stato possibile aggiornare lo Slider', + 'delete-success' => 'Non è stato possibile eliminare l\'ultimo slider', + 'delete-fail' => 'Slider eliminato con successo' + ], + + 'tax-categories' => [ + 'title' => 'Categorie IVA', + 'add-title' => 'Crea Categoria IVA', + 'edit-title' => 'Modifica Categoria IVA', + 'save-btn-title' => 'Salva Categoria IVA', + 'general' => 'Categoria IVA', + 'select-channel' => 'Seleziona Canale', + 'name' => 'Nome', + 'code' => 'Codice', + 'description' => 'Descrizione', + 'select-taxrates' => 'Seleziona Aliquote IVA', + 'edit' => [ + 'title' => 'Modifica Categoria IVA', + 'edit-button-title' => 'Modifica Categoria IVA' + ], + 'create-success' => 'Nuova Categoria IVA creata', + 'create-error' => 'Errore, nella creazione della Categoria IVA', + 'update-success' => 'Categoria IVA aggiornata con successo', + 'update-error' => 'Errore durante l\'aggiornamento della Categoria IVA', + 'atleast-one' => 'Non èstato possibile eliminare l\'ultima Categoria IVA', + 'delete' => 'Categoria IVA eliminata con successo' + ], + + 'tax-rates' => [ + 'title' => 'Aliquote IVA', + 'add-title' => 'Crea Aliquota IVA', + 'edit-title' => 'Modifica Aliquota IVA', + 'save-btn-title' => 'Salva Aliquota IVA', + 'general' => 'Aliquota IVA', + 'identifier' => 'Identificatore', + 'is_zip' => 'Abilita Zip Range', + 'zip_from' => 'Zip Da', + 'zip_to' => 'Zip a', + 'state' => 'Provincia/Stato', + 'select-state' => 'Seleziona una regione, stato o provincia.', + 'country' => 'Paese', + 'tax_rate' => 'Aliquota', + 'edit' => [ + 'title' => 'Modifica Aliquota', + 'edit-button-title' => 'Modifica Aliquota' + ], + 'zip_code' => 'Codice CAP', + 'is_zip' => 'Abilita Range CAP', + 'create-success' => 'Aliquota creata con successo', + 'create-error' => 'Non è stato possibile creare l\'Aliquota IVA', + 'update-success' => 'Aliquota aggiornata con successo', + 'update-error' => 'Errore! Non è stato possibile l\'Aliquota IVA', + 'delete' => 'Aliquota IVA eliminata con successo', + 'atleast-one' => 'Non posso eliminare l\'ultimo tasso IVA' + ], + 'development' => [ + 'title' => 'Sviluppo', + ] + ], + + 'customers' => [ + 'groups' =>[ + 'add-title' => 'Aggiungi Gruppo', + 'edit-title' => 'Modifica Gruppo', + 'save-btn-title' => 'Salva Gruppo', + 'title' => 'Gruppi', + 'save-btn-title' => 'Salva Gruppo', + 'code' => 'Codice', + 'name' => 'Nome', + 'is_user_defined' => 'Utente Definito', + 'yes' => 'Sì' + ], + + 'addresses' => [ + 'title' => 'Elenco Indirizzi :customer_name', + 'vat_id' => 'Partita IVA / Codice Fiscale', + 'create-title' => 'Crea Indirizzo Cliente', + 'edit-title' => 'Aggiorna Indirizzo Cliente', + 'title-orders' => 'Elenco Ordini :customer_name', + 'address-list' => 'Ellenco Indirizzi', + 'order-list' => 'Elenco Ordini', + 'address-id' => 'ID Indirizzo', + 'address-1' => 'Indirizzo 1', + 'city' => 'Città', + 'state-name' => 'Provincia', + 'country-name' => 'Paese', + 'postcode' => 'CAP', + 'default-address' => 'Indirizzo Principale', + 'yes' => 'Sì', + 'not-approved' => 'Non Approvato', + 'no' => 'No', + 'dash' => '-', + 'delete' => 'Elimina', + 'create-btn-title' => 'Aggiungi Indirizzo', + 'save-btn-title' => 'Salva Indirizzo', + 'general' => 'Generale', + 'success-create' => 'Success: Indirizzo cliente creato con successo.', + 'success-update' => 'Success: Indirizzo cliente aggiornato con successo.', + 'success-delete' => 'Success: Indirizzo cliente eliminato con successo.', + 'success-mass-delete' => 'Success: indirizzi selezionati eliminati con successo.', + 'error-create' => 'Error: Indirizzo cliente non creato.', + ], + + 'note' => [ + 'title' => 'Aggiungi Nota', + 'save-note' => 'Salva Nota', + 'enter-note' => 'Inserisci Nota', + 'help-title' => 'Aggiungi Note su questo Cliente' + ], + + 'customers' => [ + 'add-title' => 'Aggiungi Cliente', + 'edit-title' => 'Modifica Cliente', + 'title' => 'Clienti', + 'first_name' => 'Nome', + 'last_name' => 'Cognome', + 'gender' => 'Sesso', + 'email' => 'Email', + 'date_of_birth' => 'Data di Nascita', + 'phone' => 'Telefono', + 'customer_group' => 'Gruppo Clienti', + 'save-btn-title' => 'Salva Cliente', + 'channel_name' => 'Nome Canale', + 'state' => 'Provincia', + 'select-state' => 'Seleziiona una Regione, Stato o provincia.', + 'country' => 'Paese', + 'other' => 'Altro', + 'male' => 'Maschio', + 'female' => 'Femmina', + 'phone' => 'Telefono', + 'group-default' => 'Non è possibile eliminare il gruppo predefinito.', + 'edit-help-title' => 'Modifica Cliente', + 'delete-help-title' => 'Elimina Cliente', + 'addresses' => 'Indirizzi', + 'mass-destroy-success' => 'Clienti eliminati con successo', + 'mass-update-success' => 'Clienti aggiornati con successo', + 'status' => 'Stato', + 'active' => 'Attivo', + 'inactive' => 'Non attivo', + 'in-active' => 'Non attivo' + ], + + 'reviews' => [ + 'title' => 'Recensioni', + 'edit-title' => 'Modifica Recensione', + 'rating' => 'Rating', + 'status' => 'Stato', + 'comment' => 'Commento', + 'pending' => 'In attesa', + 'approved' => 'Approva', + 'disapproved' => 'Rifiuta' + ], + + 'subscribers' => [ + 'title' => 'Iscritti a Newsletter', + 'title-edit' => 'Modifica iscritto a Newsletter', + 'email' => 'Email', + 'is_subscribed' => 'Iscritto', + 'edit-btn-title' => 'Aggiorna iscritto', + 'update-success' => 'Iscritto aggiornato con successo', + 'update-failed' => 'Errore! Non puoi disiscrivere l\'utente', + 'delete' => 'Iscritto eliminato correttamente', + 'delete-failed' => 'Errore! L\'iscritto non può essere eliminato' + ] + ], + + 'promotions' => [ + 'cart-rules' => [ + 'title' => 'Regole Carrello', + 'add-title' => 'Aggiungi Regola Carrello', + 'edit-title' => 'Modifica Regola Carrello', + 'save-btn-title' => 'Salva Regola Carrello', + 'rule-information' => 'Infrmazioni sulla Regola', + 'name' => 'Nome', + 'description' => 'Descrizione', + 'status' => 'Stato', + 'is-active' => 'La Regola del Carrello è Attiva', + 'channels' => 'Canali', + 'customer-groups' => 'Gruppi Clienti', + 'coupon-type' => 'Tipo Coupon', + 'no-coupon' => 'No Coupon', + 'specific-coupon' => 'Coupon Specifico', + 'auto-generate-coupon' => 'Auto Genera Coupon', + 'no' => 'No', + 'yes' => 'Sì', + 'coupon-code' => 'Codice Coupon', + 'uses-per-coupon' => 'Usi per Coupon', + 'uses-per-customer' => 'Usi per Cliente', + 'uses-per-customer-control-info' => 'Sarà utilizzato solo per clienti registrati e autenticati.', + 'from' => 'Da', + 'to' => 'A', + 'priority' => 'Priorità', + 'conditions' => 'Condizioni', + 'condition-type' => 'Tipo Condizione', + 'all-conditions-true' => 'Tutte le Condizioni Sono Vere', + 'any-condition-true' => 'Almeno una Condizione è Vera', + 'add-condition' => 'Aggiungi Condizione', + 'choose-condition-to-add' => 'Scegli una condizione da aggiungere', + 'cart-attribute' => 'Attributi Carrello', + 'subtotal' => 'Subtotale', + 'total-items-qty' => 'Totale articoli Qtà', + 'total-weight' => 'Totale Peso', + 'payment-method' => 'Metodo di Pagamento', + 'shipping-method' => 'Metodo di Spedizione', + 'shipping-postcode' => 'CAP di Spedizione', + 'shipping-state' => 'Provincia di Spedizione', + 'shipping-country' => 'Paese di Spedizione', + 'cart-item-attribute' => 'Attributo Articolo Carrello', + 'price-in-cart' => 'Prezzo nel Carrello', + 'qty-in-cart' => 'Qtà nel Carrello', + 'product-attribute' => 'Attributo Prodotto', + 'attribute-name-children-only' => ':attribute_name (Solo Figlio)', + 'attribute-name-parent-only' => ':attribute_name (Solo Padre)', + 'is-equal-to' => 'È uguale a', + 'is-not-equal-to' => 'Non è uguale a', + 'equals-or-greater-than' => 'Uguale o maggiore di', + 'equals-or-less-than' => 'Uguale o minore di', + 'greater-than' => 'Maggiore di', + 'less-than' => 'Minore di', + 'contain' => 'Contengono', + 'contains' => 'Contiene', + 'does-not-contain' => 'Non contiene', + 'actions' => 'Azioni', + 'action-type' => 'Tipo Azione', + 'percentage-product-price' => 'Percentuale sul Prezzo del Prodotto', + 'fixed-amount' => 'Ammontare fisso', + 'fixed-amount-whole-cart' => 'Ammontare fisso per intero carrello', + 'buy-x-get-y-free' => 'Compra X e ottieni Y gratis', + 'discount-amount' => 'Ammontare Sconto', + 'discount-quantity' => 'Massima quantità scontabile', + 'discount-step' => 'Compra quantità X', + 'free-shipping' => 'Spedizione gratuita', + 'apply-to-shipping' => 'Applica a spedizione', + 'coupon-codes' => 'Codici Coupon', + 'coupon-qty' => 'Qtà Coupon', + 'code-length' => 'Lunghezza Codice', + 'code-format' => 'Formato Codice', + 'alphanumeric' => 'Alfanumerico', + 'alphabetical' => 'Alfabetico', + 'numeric' => 'Numerico', + 'code-prefix' => 'Prefisso Codice', + 'code-suffix' => 'Suffisso Codice', + 'generate' => 'Genera', + 'cart-rule-not-defind-error' => 'La regola del carrello non è stata definitaaCart rule is not defined', + 'mass-delete-success' => 'Tutti i coupon selezinati sono stati eliminati con successo.', + 'end-other-rules' => 'Fine altre regole', + 'children-categories' => 'Categorie (Children Only)', + 'parent-categories' => 'Categorie (Parent Only)', + 'categories' => 'Categorie', + 'attribute_family' => 'Famiglia Attributo' + ], + + 'catalog-rules' => [ + 'title' => 'Regole Catalogo', + 'add-title' => 'Aggiungi Regola Catalogo', + 'edit-title' => 'Modifica Regola Catalogo', + 'save-btn-title' => 'Salva Regola Catalogo', + 'rule-information' => 'Regola Information', + 'name' => 'Nome', + 'description' => 'Descrizione', + 'status' => 'Stato', + 'is-active' => 'Regola del Catalogo è Attiva', + 'channels' => 'Canali', + 'customer-groups' => 'Gruppi di Clienti', + 'no' => 'No', + 'yes' => 'S+', + 'from' => 'Da', + 'to' => 'A', + 'priority' => 'Priorità', + 'conditions' => 'Condizioni', + 'condition-type' => 'Tipo Condizione', + 'all-conditions-true' => 'Tutte le condizioni sono Vere', + 'any-condition-true' => 'Almeno una condizione è Vera', + 'add-condition' => 'Aggiungi Condizione', + 'choose-condition-to-add' => 'Scegli una Condizione da aggiungere', + 'product-attribute' => 'Attributo Prodotto', + 'attribute-name-children-only' => ':attribute_name (Solo Figli)', + 'attribute-name-parent-only' => ':attribute_name (Solo Padre)', + 'is-equal-to' => 'È uguale a', + 'is-not-equal-to' => 'È non uguale a', + 'equals-or-greater-than' => 'Uguale o maggiore di', + 'equals-or-less-than' => 'Uguale o minore di', + 'greater-than' => 'Maggiore di', + 'less-than' => 'Minore di', + 'contain' => 'Coniene', + 'contains' => 'Contengono', + 'does-not-contain' => 'Non contiene', + 'actions' => 'Azioni', + 'action-type' => 'Tipo Azione', + 'percentage-product-price' => 'Percentuale su Prezzo Prodotto', + 'fixed-amount' => 'Ammontare fisso', + 'fixed-amount-whole-cart' => 'Ammontare fisso sull\'intero catalogo', + 'buy-x-get-y-free' => 'Compra X Ottieni Y Gratis', + 'discount-amount' => 'Ammontare Sconto', + 'mass-delete-success' => 'Tutti gli indici selezionati dei coupon sono stati eliminati con successo.', + 'end-other-rules' => 'Fine altre regole', + 'categories' => 'Categorie', + 'attribute_family' => 'Famiglia Attributi' + ] + ], + + 'error' => [ + 'go-to-home' => 'TORNA A HOME', + 'in-maitainace' => 'In Manutezione', + 'right-back' => 'Torno subito', + + '404' => [ + 'page-title' => '404 Pagina non trovata', + 'name' => '404', + 'title' => 'Pagina non trovata', + 'message' => 'La Pagina che stai cercando non esiste o è stata spostata. Naviga utilizzando il menu.' + ], + '403' => [ + 'page-title' => '403 accesso negato', + 'name' => '403', + 'title' => 'Accesso negato', + 'message' => 'Non hai i permessi per accedere a questa pagina' + ], + '500' => [ + 'page-title' => '500 Errore interno del server', + 'name' => '500', + 'title' => 'Errore interno del server', + 'message' => 'Il Server ha incontrato un errore interno.' + ], + '401' => [ + 'page-title' => '401 Errore non autorizzato', + 'name' => '401', + 'title' => 'Errore non autorizzato', + 'message' => 'La richiesta non è stata applicata perchè manca di una valida autenticazione per accedere alla risorsa.' + ], + ], + + 'export' => [ + 'export' => 'Esporta + 'import' => 'Importa, + 'format' => 'Seleziona formato', + 'download' => 'Download', + 'upload' => 'Upload', + 'csv' => 'CSV', + 'xls' => 'XLS', + 'file' => 'File', + 'upload-error' => 'Il file deve essere di tipo: xls, xlsx, csv.', + 'duplicate-error' => 'L\'Identificativo deve essere unico, identificativi duplicati :identifier nella riga :position.', + 'enough-row-error' => 'Il file non ha abbastanza righe', + 'allowed-type' => 'Tipo consentito:', + 'file-type' => 'csv, xls, xlsx.', + 'no-records' => 'Niente da esportare', + 'illegal-format' => 'Errore! Questo tipo di formato non è supportato o è in un formato illegale' + ], + + 'cms' => [ + 'pages' => [ + 'general' => 'Generale', + 'seo' => 'SEO', + 'pages' => 'Pagine', + 'title' => 'Pagine', + 'add-title' => 'Aggiungi Pagina', + 'content' => 'Contenuto', + 'url-key' => 'URL Key', + 'channel' => 'Canali', + 'locale' => 'Localizzazioni', + 'create-btn-title' => 'Salva Pagina', + 'edit-title' => 'Modifica Pagina', + 'edit-btn-title' => 'Salva Pagina', + 'create-success' => 'Pagina creata con successo', + 'create-partial' => 'Alcune delle pagine richieste esistono già', + 'create-failure' => 'Tutte le pagine richieste esistono già', + 'update-success' => 'Pagina aggiornata con successo', + 'update-failure' => 'Non è stato possibile aggiornare la Pagina', + 'page-title' => 'Titolo Pagina', + 'layout' => 'Layout', + 'meta_keywords' => 'Meta Keywords', + 'meta_description' => 'Meta Description', + 'meta_title' => 'Meta Title', + 'delete-success' => 'Pagina CMS eliminata con successo', + 'delete-failure' => 'La Pagina CMS non può essere eliminata', + 'preview' => 'Anteprima', + 'one-col' => '
Utilizza la classe: "static-container one-column" per layout a una colonna.
', + 'two-col' => '
Utilizza la classe: "static-container two-column" per layout a due colonne.
', + 'three-col' => '
Utilizza la classe: "static-container three-column" per layout a tre colonne.
', + 'helper-classes' => 'Classi Helper' + ] + ], + + 'response' => [ + 'being-used' => 'Questo resource :name is getting used in :source', + 'cannot-delete-default' => 'Non è possibile eliminare il canale di default', + 'create-success' => ':name creato con successo.', + 'update-success' => ':name aggiornato con successo.', + 'delete-success' => ':name eliminato con successo.', + 'delete-failed' => 'Si è verificato un errore durante la cancellazione di :name.', + 'last-delete-error' => 'Almeno un :name è obbligatorio.', + 'user-define-error' => 'Non è possibile eliminare il sistema :name', + 'attribute-error' => ':name è utilizzato per alcuni prodotti configurabili.', + 'attribute-product-error' => ':name è utilizzato per alcuni prodotti.', + 'customer-associate' => ':name non può essere eliminato perchè un cliente è associato a questo gruppo.', + 'currency-delete-error' => 'Questa valuta è utilizzata come valuta base in un canale e non può quindi essere eliminata.', + 'upload-success' => ':name caricato con successo.', + 'delete-category-root' => 'Non è possibile eliminare la categoria root', + 'create-root-failure' => 'Una Categoria con lo stesso nome esiste già', + 'cancel-success' => ':name cancellata con successo.', + 'cancel-error' => ':name non può essere cancellato.', + 'already-taken' => 'Il nome :name è stato giù utilizzato.', + 'order-pending' => 'Non è possibile eliminare l\'account perchè alcuni Ordini sono in stato di attesa o in corso.' + ], + + 'footer' => [ + 'copy-right' => 'Realizzato con Bagisto, Un Community Project di Webkul', + ], + + 'admin' => [ + 'emails' => [ + 'email' => 'Email', + 'notification_label' => 'Notifiche', + 'notifications' => [ + 'verification' => 'Invia email di verifica', + 'registration' => 'Invia email di registrazione', + 'customer' => 'Invia email a cliente', + 'new-order' => 'Invia email di conferma Ordine', + 'new-admin' => 'Invia email di invito ad Admin', + 'new-invoice' => 'Invia email di Conferma Fattura', + 'new-refund' => 'Invia email di notifica Rimborso', + 'new-shipment' => 'Invia email di notifica Spedizione', + 'new-inventory-source' => 'Invia email di notifica a magazzino', + 'cancel-order' => 'Invia notifica di cancellazione ordine', + ], + + ], + 'system' => [ + 'catalog' => 'Catalogo', + 'products' => 'Prodotti', + 'guest-checkout' => 'Checkout come Ospite', + 'allow-guest-checkout' => 'Consenti Checkout come Ospite', + 'allow-guest-checkout-hint' => 'Hint: se attiva, questa opzione può essere configurata per ciascun singolo prodotto.', + 'review' => 'Recensione', + 'allow-guest-review' => 'Consenti Recensioni ai non registrati', + 'inventory' => 'Magazzino', + 'stock-options' => 'Opzioni Stock', + 'allow-backorders' => 'Consenti Backorders', + 'customer' => 'Cliente', + 'settings' => 'Impostazioni', + 'address' => 'Indirizzo', + 'street-lines' => 'Linee nell\'indirizzo', + 'sales' => 'Vendite', + 'shipping-methods' => 'Metodi di Spedizione', + 'free-shipping' => 'Spedizione Gratuita', + 'flate-rate-shipping' => 'Spedizione Prezzo Fisso', + 'shipping' => 'Spedizione', + 'origin' => 'Origine', + 'country' => 'Paese', + 'state' => 'Provincia', + 'zip' => 'CAP', + 'city' => 'Città', + 'street-address' => 'Indirizzo', + 'title' => 'Titolo', + 'description' => 'Descrizione', + 'rate' => 'Tasso', + 'status' => 'Stato', + 'type' => 'Tipo', + 'payment-methods' => 'Metodi di Pagamento', + 'cash-on-delivery' => 'Contrassegno', + 'money-transfer' => 'Bonifico', + 'paypal-standard' => 'Paypal Standard', + 'business-account' => 'Account Business', + 'newsletter' => 'Iscrizione a NewsLetter', + 'newsletter-subscription' => 'Consenti Iscrizione a NewsLetter', + 'email' => 'Verifica Email', + 'email-verification' => 'Consenti verifica Email', + 'sort_order' => 'Sort Ordine', + 'general' => 'Generale', + 'footer' => 'Footer', + 'content' => 'Contenuto', + 'footer-content' => 'Testo Footer', + 'footer-toggle' => 'Toggle footer', + 'locale-options' => 'Opzioni Unità', + 'weight-unit' => 'Unità di peso', + 'email-settings' => 'Impostazioni Email', + 'email-sender-name' => 'Nome Mittente Email', + 'shop-email-from' => 'Indirizzo Email Negozio [per invio email]', + 'admin-name' => 'Nome Admin', + 'admin-email' => 'Email Admin', + 'admin-page-limit' => 'Numero di risultati per Pagina (Admin)', + 'design' => 'Design', + 'admin-logo' => 'Logo Admin', + 'logo-image' => 'Immagine Logo', + 'credit-max' => 'Massimo credito Cliente', + 'credit-max-value' => 'Valore massimo credito', + 'use-credit-max' => 'Usa massimo credito', + 'order-settings' => 'Impostazioni Ordine', + 'orderNumber' => 'Impostazioni Numero Ordine', + 'order-number-prefix' => 'Prefisso Numero Ordine', + 'order-number-length' => 'Lunghezza Numero Ordine', + 'order-number-suffix' => 'Suffisso Numero Ordine', + 'default' => 'Default', + 'sandbox' => 'Sandbox', + 'all-channels' => 'Tutti', + 'all-locales' => 'Tutti', + 'all-customer-groups' => 'tutti i Gruppi di Clienti', + 'invoice-slip-design' => 'Design della Fattura', + 'logo' => 'Logo', + 'storefront' => 'Storefront', + 'default-list-mode' => 'Modalità predefinita elenchiDefault List Mode', + 'grid' => 'Griglia', + 'list' => 'Lista', + 'products-per-page' => 'Prodotti Per Pagina', + 'sort-by' => 'Ordina Per', + 'from-z-a' => 'Da Z-A', + 'from-a-z' => 'Da A-Z', + 'newest-first' => 'I più nuovi prima', + 'oldest-first' => 'I più vecchi prima', + 'cheapest-first' => 'I più convenienti prima', + 'expensive-first' => 'I più cari prima', + 'comma-seperated' => 'Separato da virgola', + 'favicon' => 'Favicon' + + ] + ] +]; diff --git a/packages/Webkul/Admin/src/Resources/views/sales/orders/view.blade.php b/packages/Webkul/Admin/src/Resources/views/sales/orders/view.blade.php index 295821471..0092fa234 100755 --- a/packages/Webkul/Admin/src/Resources/views/sales/orders/view.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/sales/orders/view.blade.php @@ -341,7 +341,7 @@
-
+ @csrf()
diff --git a/packages/Webkul/BookingProduct/src/Resources/lang/it/app.php b/packages/Webkul/BookingProduct/src/Resources/lang/it/app.php new file mode 100644 index 000000000..924a89c5b --- /dev/null +++ b/packages/Webkul/BookingProduct/src/Resources/lang/it/app.php @@ -0,0 +1,125 @@ + [ + 'catalog' => [ + 'products' => [ + 'booking' => 'Informazioni Prenotazione', + 'booking-type' => 'Prenotazione Tipo', + 'default' => 'Default', + 'appointment-booking' => 'Prenotazione Appuntamento', + 'event-booking' => 'Prenotazione Evento', + 'rental-booking' => 'Prenotazione Noleggio', + 'table-booking' => 'Prenotazione Tavolo', + 'slot-duration' => 'Durata Slot (Min)', + 'break-time' => 'Break Time b/w Slots (Mins)', + 'available-every-week' => 'Disponibiità Ogni Settimana', + 'yes' => 'Sì', + 'no' => 'No', + 'available-from' => 'Disponibile Da', + 'available-to' => 'Disponibile Fino A', + 'same-slot-all-days' => 'Stesso Slot tutti i giorni', + 'slot-has-quantity' => 'Slot ha quantità', + 'slots' => 'Slot', + 'from' => 'Da', + 'to' => 'A', + 'qty' => 'Qtà', + 'add-slot' => 'Aggiungi Slot', + 'sunday' => 'Domenica', + 'monday' => 'Lunedì', + 'tuesday' => 'Martedì', + 'wednesday' => 'Mercoledì', + 'thursday' => 'Giovedì', + 'friday' => 'Venerdì', + 'saturday' => 'Sabato', + 'renting-type' => 'Tipo di noleggio', + 'daily' => 'Base Giornaliera', + 'hourly' => 'Base Oraria', + 'daily-hourly' => 'Entrambe (Base Giornaliera e Oraria)', + 'daily-price' => 'Prezzo al giorno', + 'hourly-price' => 'Prezzo all\'ora', + 'location' => 'Location', + 'show-location' => 'Mostra Location', + 'event-start-date' => 'Data Inizio Evento', + 'event-end-date' => 'Data Fine Evento', + 'tickets' => 'Biglietti', + 'add-ticket' => 'Aggungi Biglietto', + 'name' => 'Nome', + 'price' => 'Prezzo', + 'quantity' => 'Quantità', + 'description' => 'Descrizione', + 'charged-per' => 'Charged Per', + 'guest' => 'Ospite', + 'table' => 'Tavolo', + 'prevent-scheduling-before' => 'Previeni Scheduling Prima', + 'guest-limit' => 'Limite Ospiti per Tavolo', + 'guest-capacity' => 'Capacità Ospiti', + 'type' => 'Tipo', + 'many-bookings-for-one-day' => 'Diverse prenotazioni di un giorno', + 'one-booking-for-many-days' => 'Una prenotazione per diversi giorni', + 'day' => 'Giorno', + 'status' => 'Stato', + 'open' => 'Aperto', + 'close' => 'Chiuso' + ] + ] + ], + + 'shop' => [ + 'products' => [ + 'location' => 'Location', + 'contact' => 'Contatto', + 'email' => 'Email', + 'slot-duration' => 'Durata Slot', + 'slot-duration-in-minutes' => ':minutes Minuti', + 'today-availability' => 'Disponibilità odierna', + 'slots-for-all-days' => 'Mostra per tutti i giorni', + 'sunday' => 'Domenica', + 'monday' => 'Lunedì', + 'tuesday' => 'Martedì', + 'wednesday' => 'Mercoledì', + 'thursday' => 'Giovedì', + 'friday' => 'Venerdì', + 'saturday' => 'Sabato', + 'closed' => 'Chiuso', + 'book-an-appointment' => 'Prenota un Appuntamento', + 'date' => 'Data', + 'slot' => 'Slot', + 'rent-an-item' => 'Noleggia un Articolo', + 'choose-rent-option' => 'Scegli una opzione di noleggio', + 'daily-basis' => 'Base Giornaliera', + 'hourly-basis' => 'Base Oraria', + 'select-time-slot'=> 'Seleziona slot di tempo', + 'select-slot' => 'Seleziona Slot', + 'select-date' => 'Seleziona data', + 'select-rent-time' => 'Seleziona Periodo di Noleggio', + 'from' => 'Da', + 'to' => 'A', + 'book-a-table' => 'Prenota un Tavolo', + 'special-notes' => 'Richieste/Note Speciali', + 'event-on' => 'Evento del', + 'book-your-ticket' => 'Prenota il tuo Biglietto', + 'per-ticket-price' => ':price per Biglietto', + 'number-of-tickets' => 'Numero di Biglietti', + 'total-tickets' => 'Totale Biglietti', + 'base-price' => 'Prezzo Base', + 'total-price' => 'Prezzo Totale', + 'base-price-info' => '(Questo si applicherà ad ogni tipo di biglietto per ciascuna quantità)' + ], + + 'cart' => [ + 'renting_type' => 'Tipo Noleggio', + 'daily' => 'Giornaliero', + 'hourly' => 'Orario', + 'event-ticket' => 'Biglietto Evento', + 'event-from' => 'Evento dal', + 'event-till' => 'Evento al', + 'rent-type' => 'Tipo Noleggio', + 'rent-from' => 'Noleggio Da', + 'rent-till' => 'Noleggio A', + 'booking-from' => 'Prenotazione Da', + 'booking-till' => 'Prenotazione A', + 'special-note' => 'Richieste/Note Speciali', + ] + ] +]; \ No newline at end of file diff --git a/packages/Webkul/CartRule/src/Helpers/CartRule.php b/packages/Webkul/CartRule/src/Helpers/CartRule.php index 2ea493156..b10d2721b 100644 --- a/packages/Webkul/CartRule/src/Helpers/CartRule.php +++ b/packages/Webkul/CartRule/src/Helpers/CartRule.php @@ -124,7 +124,9 @@ class CartRule $this->processFreeShippingDiscount($cart); - $this->validateCouponCode(); + if (! $this->checkCouponCode()) { + cart()->removeCouponCode(); + } } /** @@ -324,16 +326,14 @@ class CartRule break; } - $item->discount_amount = round( - min( - $item->discount_amount + $discountAmount, - $item->price * $quantity + $item->tax_amount - ),2); - $item->base_discount_amount = round( - min( - $item->base_discount_amount + $baseDiscountAmount, - $item->base_price * $quantity + $item->base_tax_amount - ), 2); + $item->discount_amount = min( + $item->discount_amount + $discountAmount, + $item->price * $quantity + $item->tax_amount + ); + $item->base_discount_amount = min( + $item->base_discount_amount + $baseDiscountAmount, + $item->base_price * $quantity + $item->base_tax_amount + ); $appliedRuleIds[$rule->id] = $rule->id; @@ -518,23 +518,26 @@ class CartRule } /** - * Check if coupon code is valid or not, if not remove from cart + * Check if coupon code is applied or not * - * @return void + * @return bool */ - public function validateCouponCode() + public function checkCouponCode(): bool { - $cart = Cart::getCart(); + $cart = cart()->getCart(); if (! $cart->coupon_code) { - return; + return true; } - $coupon = $this->cartRuleCouponRepository->findOneByField('code', $cart->coupon_code); - - if (! $coupon || ! in_array($coupon->cart_rule_id, explode(',', $cart->applied_cart_rule_ids))) { - Cart::removeCouponCode(); + $coupons = $this->cartRuleCouponRepository->where(['code' => $cart->coupon_code])->get(); + foreach ($coupons as $coupon) { + if (in_array($coupon->cart_rule_id, explode(',', $cart->applied_cart_rule_ids))) { + return true; + } } + + return false; } /** diff --git a/packages/Webkul/Checkout/src/Cart.php b/packages/Webkul/Checkout/src/Cart.php index 2f770abe0..41aedf801 100755 --- a/packages/Webkul/Checkout/src/Cart.php +++ b/packages/Webkul/Checkout/src/Cart.php @@ -2,6 +2,7 @@ namespace Webkul\Checkout; +use Webkul\Checkout\Models\Cart as CartModel; use Webkul\Checkout\Models\CartAddress; use Webkul\Checkout\Repositories\CartRepository; use Webkul\Checkout\Repositories\CartItemRepository; @@ -600,6 +601,8 @@ class Cart $cart->base_discount_amount += $shipping->base_discount_amount; } + $cart = $this->finalizeCartTotals($cart); + $quantities = 0; foreach ($cart->items as $item) { @@ -1052,6 +1055,25 @@ class Cart } } + /** + * Round cart totals + * + * @param \Webkul\Checkout\Models\Cart $cart + * + * @return \Webkul\Checkout\Models\Cart + */ + private function finalizeCartTotals(CartModel $cart): CartModel + { + $cart->discount_amount = round($cart->discount_amount, 2); + $cart->base_discount_amount = round($cart->base_discount_amount, 2); + + $cart->grand_total = round($cart->grand_total, 2); + $cart->grand_total = round($cart->grand_total, 2); + $cart->base_grand_total = round($cart->base_grand_total, 2); + + return $cart; + } + /** * @param $user * diff --git a/packages/Webkul/Admin/src/Exceptions/Handler.php b/packages/Webkul/Core/src/Exceptions/Handler.php similarity index 92% rename from packages/Webkul/Admin/src/Exceptions/Handler.php rename to packages/Webkul/Core/src/Exceptions/Handler.php index 42328c22b..0b89b3543 100755 --- a/packages/Webkul/Admin/src/Exceptions/Handler.php +++ b/packages/Webkul/Core/src/Exceptions/Handler.php @@ -1,15 +1,15 @@ 'Resource not found', diff --git a/packages/Webkul/Core/src/Providers/CoreServiceProvider.php b/packages/Webkul/Core/src/Providers/CoreServiceProvider.php index dcc7c0e89..b60cdd31e 100755 --- a/packages/Webkul/Core/src/Providers/CoreServiceProvider.php +++ b/packages/Webkul/Core/src/Providers/CoreServiceProvider.php @@ -2,11 +2,13 @@ namespace Webkul\Core\Providers; +use Illuminate\Contracts\Debug\ExceptionHandler; use Illuminate\Database\Eloquent\Factory as EloquentFactory; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\AliasLoader; use Webkul\Core\Core; +use Webkul\Core\Exceptions\Handler; use Webkul\Core\Facades\Core as CoreFacade; use Webkul\Core\Models\SliderProxy; use Webkul\Core\Observers\SliderObserver; @@ -41,6 +43,11 @@ class CoreServiceProvider extends ServiceProvider dirname(__DIR__) . '/Config/concord.php' => config_path('concord.php'), ]); + $this->app->bind( + ExceptionHandler::class, + Handler::class + ); + SliderProxy::observe(SliderObserver::class); } diff --git a/packages/Webkul/Core/src/Resources/lang/it/validation.php b/packages/Webkul/Core/src/Resources/lang/it/validation.php new file mode 100644 index 000000000..368a2a6f3 --- /dev/null +++ b/packages/Webkul/Core/src/Resources/lang/it/validation.php @@ -0,0 +1,7 @@ + ':attribute deve essere uno slug valido.', + 'code' => ':attribute deve essere valido.', + 'decimal' => ':attribute deve essere valido.' +]; \ No newline at end of file diff --git a/packages/Webkul/Customer/src/Resources/lang/it/app.php b/packages/Webkul/Customer/src/Resources/lang/it/app.php new file mode 100644 index 000000000..de13bb197 --- /dev/null +++ b/packages/Webkul/Customer/src/Resources/lang/it/app.php @@ -0,0 +1,21 @@ + [ + 'success' => 'Prodotto aggiunto ai Preferiti', + 'failure' => 'Il Prodotto non può essere aggiunto ai Preferiti', + 'already' => 'Prodotto già presente nei tuoi Preferiti', + 'removed' => 'Prodotto rimosso con successo dai Preferiti', + 'remove-fail' => 'Non è stato possibile rimuovere il prodotto dai Preferiti', + 'empty' => 'Non hai prodotti nei tuoi Preferiti', + 'select-options' => 'Seleziona una opzione del prodotto prima di aggiungerlo ai Preferiti', + 'remove-all-success' => 'Tutti i Prodotti presenti nei preferiti sono stati rimossi', + ], + 'reviews' => [ + 'empty' => 'Non hai ancora recensito i nostri prodotti' + ], + 'forget_password' => [ + 'reset_link_sent' => 'Ti abbiamo inviato una email per generare una nuova password.' + ] + +]; \ No newline at end of file diff --git a/packages/Webkul/Product/src/Repositories/ProductRepository.php b/packages/Webkul/Product/src/Repositories/ProductRepository.php index 711207976..22ea78842 100755 --- a/packages/Webkul/Product/src/Repositories/ProductRepository.php +++ b/packages/Webkul/Product/src/Repositories/ProductRepository.php @@ -2,13 +2,13 @@ namespace Webkul\Product\Repositories; +use Illuminate\Pagination\Paginator; use Illuminate\Support\Facades\DB; use Illuminate\Container\Container as App; use Illuminate\Support\Facades\Event; use Illuminate\Database\Eloquent\ModelNotFoundException; use Webkul\Attribute\Repositories\AttributeRepository; use Webkul\Core\Eloquent\Repository; -use Webkul\Product\Repositories\ProductFlatRepository; use Webkul\Product\Models\ProductAttributeValue; class ProductRepository extends Repository @@ -108,18 +108,22 @@ class ProductRepository extends Repository { $params = request()->input(); - $results = app(ProductFlatRepository::class)->scopeQuery(function($query) use($params, $categoryId) { + $perPage = isset($params['limit']) ? $params['limit'] : 9; + $page = Paginator::resolveCurrentPage('page'); + + $repository = app(ProductFlatRepository::class)->scopeQuery(function($query) use($params, $categoryId) { $channel = request()->get('channel') ?: (core()->getCurrentChannelCode() ?: core()->getDefaultChannelCode()); $locale = request()->get('locale') ?: app()->getLocale(); $qb = $query->distinct() - ->addSelect('product_flat.*') - ->leftJoin('products', 'product_flat.product_id', '=', 'products.id') - ->leftJoin('product_categories', 'products.id', '=', 'product_categories.product_id') - ->where('product_flat.channel', $channel) - ->where('product_flat.locale', $locale) - ->whereNotNull('product_flat.url_key'); + ->select('product_flat.*') + ->join('product_flat as variants', 'product_flat.id', '=', DB::raw('COALESCE(variants.parent_id, variants.id)')) + ->leftJoin('product_categories', 'product_categories.product_id', '=', 'product_flat.product_id') + ->leftJoin('product_attribute_values', 'product_attribute_values.product_id', '=', 'variants.product_id') + ->where('product_flat.channel', $channel) + ->where('product_flat.locale', $locale) + ->whereNotNull('product_flat.url_key'); if ($categoryId) { $qb->where('product_categories.category_id', $categoryId); @@ -133,12 +137,6 @@ class ProductRepository extends Repository $qb->where('product_flat.visible_individually', 1); } - $queryBuilder = $qb->leftJoin('product_flat as flat_variants', function($qb) use($channel, $locale) { - $qb->on('product_flat.id', '=', 'flat_variants.parent_id') - ->where('flat_variants.channel', $channel) - ->where('flat_variants.locale', $locale); - }); - if (isset($params['search'])) $qb->where('product_flat.name', 'like', '%' . urldecode($params['search']) . '%'); @@ -158,50 +156,84 @@ class ProductRepository extends Repository } } - $qb = $qb->leftJoin('products as variants', 'products.id', '=', 'variants.parent_id'); + if( $priceFilter = request('price') ){ + $priceRange = explode(',', $priceFilter); + if( count($priceRange) > 0 ) { + $qb->where('variants.min_price', '>=', core()->convertToBasePrice($priceRange[0])); + $qb->where('variants.min_price', '<=', core()->convertToBasePrice(end($priceRange))); + } + } - $qb = $qb->where(function($query1) use($qb) { - $aliases = [ - 'products' => 'filter_', - 'variants' => 'variant_filter_', - ]; + $attributeFilters = $this->attributeRepository + ->getProductDefaultAttributes(array_keys( + request()->except(['price']) + )); - foreach($aliases as $table => $alias) { - $query1 = $query1->orWhere(function($query2) use ($qb, $table, $alias) { + if( count($attributeFilters) > 0 ) { + $qb->where(function ($filterQuery) use($attributeFilters){ - foreach ($this->attributeRepository->getProductDefaultAttributes(array_keys(request()->input())) as $code => $attribute) { - $aliasTemp = $alias . $attribute->code; + foreach ($attributeFilters as $attribute) { + $filterQuery->orWhere(function ($attributeQuery) use ($attribute) { - $qb = $qb->leftJoin('product_attribute_values as ' . $aliasTemp, $table . '.id', '=', $aliasTemp . '.product_id'); + $column = 'product_attribute_values.' . ProductAttributeValue::$attributeTypeFields[$attribute->type]; - $column = ProductAttributeValue::$attributeTypeFields[$attribute->type]; + $filterInputValues = explode(',', request()->get($attribute->code)); - $temp = explode(',', request()->get($attribute->code)); + # define the attribute we are filtering + $attributeQuery = $attributeQuery->where('product_attribute_values.attribute_id', $attribute->id); + # apply the filter values to the correct column for this type of attribute. if ($attribute->type != 'price') { - $query2 = $query2->where($aliasTemp . '.attribute_id', $attribute->id); - $query2 = $query2->where(function($query3) use($aliasTemp, $column, $temp) { - foreach($temp as $code => $filterValue) { - if (! is_numeric($filterValue)) { + $attributeQuery->where(function ($attributeValueQuery) use ($column, $filterInputValues) { + foreach ($filterInputValues as $filterValue) { + if (!is_numeric($filterValue)) { continue; } - - $columns = $aliasTemp . '.' . $column; - $query3 = $query3->orwhereRaw("find_in_set($filterValue, $columns)"); + $attributeValueQuery->orWhereRaw("find_in_set(?, {$column})", [$filterValue]); } }); + } else { - $query2->where('product_flat.min_price', '>=', core()->convertToBasePrice(current($temp))) - ->where('product_flat.min_price', '<=', core()->convertToBasePrice(end($temp))); + $attributeQuery->where($column, '>=', core()->convertToBasePrice(current($filterInputValues))) + ->where($column, '<=', core()->convertToBasePrice(end($filterInputValues))); } - } - }); - } - }); + }); + } + + }); + + # this is key! if a product has been filtered down to the same number of attributes that we filtered on, + # we know that it has matched all of the requested filters. + $qb->groupBy('variants.id'); + $qb->havingRaw('COUNT(*) = ' . count($attributeFilters)); + } return $qb->groupBy('product_flat.id'); - })->paginate(isset($params['limit']) ? $params['limit'] : 9); + + }); + + # apply scope query so we can fetch the raw sql and perform a count + $repository->applyScope(); + $countQuery = "select count(*) as aggregate from ({$repository->model->toSql()}) c"; + $count = collect(DB::select($countQuery, $repository->model->getBindings()))->pluck('aggregate')->first(); + + if($count > 0) { + # apply a new scope query to limit results to one page + $repository->scopeQuery(function ($query) use ($page, $perPage) { + return $query->forPage($page, $perPage); + }); + + # manually build the paginator + $items = $repository->get(); + } else { + $items = []; + } + + $results = new \Illuminate\Pagination\LengthAwarePaginator($items, $count, $perPage, $page, [ + 'path' => request()->url(), + 'query' => request()->query() + ]); return $results; } diff --git a/packages/Webkul/Product/src/Type/Configurable.php b/packages/Webkul/Product/src/Type/Configurable.php index bd19a33f2..5301b0837 100644 --- a/packages/Webkul/Product/src/Type/Configurable.php +++ b/packages/Webkul/Product/src/Type/Configurable.php @@ -573,6 +573,8 @@ class Configurable extends AbstractType public function haveSufficientQuantity($qty) { $backorders = core()->getConfigData('catalog.inventory.stock_options.backorders'); + + $backorders = ! is_null ($backorders) ? $backorders : false; foreach ($this->product->variants as $variant) { if ($variant->haveSufficientQuantity($qty)) { @@ -598,4 +600,35 @@ class Configurable extends AbstractType return false; } + + /** + * @return int + */ + public function totalQuantity() + { + $total = 0; + + $channelInventorySourceIds = core()->getCurrentChannel() + ->inventory_sources() + ->where('status', 1) + ->pluck('id'); + + foreach ($this->product->variants as $variant) { + foreach ($variant->inventories as $inventory) { + if (is_numeric($index = $channelInventorySourceIds->search($inventory->inventory_source_id))) { + $total += $inventory->qty; + } + } + + $orderedInventory = $variant->ordered_inventories() + ->where('channel_id', core()->getCurrentChannel()->id) + ->first(); + + if ($orderedInventory) { + $total -= $orderedInventory->qty; + } + } + + return $total; + } } \ No newline at end of file diff --git a/packages/Webkul/Product/src/Type/Simple.php b/packages/Webkul/Product/src/Type/Simple.php index e7620fdd5..2c0a90e5a 100644 --- a/packages/Webkul/Product/src/Type/Simple.php +++ b/packages/Webkul/Product/src/Type/Simple.php @@ -56,7 +56,9 @@ class Simple extends AbstractType public function haveSufficientQuantity($qty) { $backorders = core()->getConfigData('catalog.inventory.stock_options.backorders'); - + + $backorders = ! is_null ($backorders) ? $backorders : false; + return $qty <= $this->totalQuantity() ? true : $backorders; } } \ No newline at end of file diff --git a/packages/Webkul/Shop/src/Exceptions/Handler.php b/packages/Webkul/Shop/src/Exceptions/Handler.php deleted file mode 100644 index aea627dd0..000000000 --- a/packages/Webkul/Shop/src/Exceptions/Handler.php +++ /dev/null @@ -1,79 +0,0 @@ - 'Resource not found', - 403 => '403 forbidden Error', - 401 => 'Unauthenticated', - 500 => '500 Internal Server Error', - ]; - - /** - * Render an exception into an HTTP response. - * - * @param \Illuminate\Http\Request $request - * @param \Exception $exception - * @return \Illuminate\Http\Response - */ - public function render($request, Exception $exception) - { - $path = 'shop'; - - if ($exception instanceof HttpException) { - $statusCode = in_array($exception->getStatusCode(), [401, 403, 404, 503]) ? $exception->getStatusCode() : 500; - - return $this->response($path, $statusCode); - } elseif ($exception instanceof ModelNotFoundException) { - return $this->response($path, 404); - } elseif ($exception instanceof PDOException) { - return $this->response($path, 500); - } - - return parent::render($request, $exception); - } - - /** - * Convert an authentication exception into a response. - * - * @param \Illuminate\Http\Request $request - * @param \Illuminate\Auth\AuthenticationException $exception - * @return \Illuminate\Http\Response - */ - protected function unauthenticated($request, AuthenticationException $exception) - { - if ($request->expectsJson()) { - return response()->json(['error' => $this->jsonErrorMessages[401]], 401); - } - - return redirect()->guest(route('auth.login')); - } - - private function isSopUri() - { - return strpos(\Illuminate\Support\Facades\Request::path(), 'shop') !== false ? true : false; - } - - private function response($path, $statusCode) - { - if (request()->expectsJson()) { - return response()->json([ - 'error' => isset($this->jsonErrorMessages[$statusCode]) - ? $this->jsonErrorMessages[$statusCode] - : 'Something went wrong, please try again later.' - ], $statusCode); - } - - return response()->view("{$path}::errors.{$statusCode}", [], $statusCode); - } -} \ No newline at end of file diff --git a/packages/Webkul/Shop/src/Resources/lang/it/app.php b/packages/Webkul/Shop/src/Resources/lang/it/app.php new file mode 100644 index 000000000..93ebeef9c --- /dev/null +++ b/packages/Webkul/Shop/src/Resources/lang/it/app.php @@ -0,0 +1,687 @@ + 'La partita IVA indicata ha un formato non corretto', + 'security-warning' => 'Identificata attività sospetta!!!', + 'nothing-to-delete' => 'Niente da eliminare', + + 'layouts' => [ + 'my-account' => 'Il Mio Account', + 'profile' => 'Profilo', + 'address' => 'Indirizzo', + 'reviews' => 'Recensioni', + 'wishlist' => 'Preferiti', + 'orders' => 'Ordini', + 'downloadable-products' => 'Prodotti Scaricabili' + ], + + 'common' => [ + 'error' => 'Qualcosa è andato storto, per favore prova ancora più tardi.', + 'no-result-found' => 'Non abbiamo trovato risultati.' + ], + + 'home' => [ + 'page-title' => config('app.name') . ' - Home', + 'featured-products' => 'Prodotti in evidenza', + 'new-products' => 'Nuovi Prodotti', + 'verify-email' => 'Verifica il tuo indirizzo email', + 'resend-verify-email' => 'Reinvia email di verifica' + ], + + 'header' => [ + 'title' => 'Account', + 'dropdown-text' => 'Gestione Carrello, Ordini e Preferiti', + 'sign-in' => 'Login', + 'sign-up' => 'Registrati', + 'account' => 'Account', + 'cart' => 'Carrello', + 'profile' => 'Profilo', + 'wishlist' => 'Preferiti', + 'cart' => 'Carrello', + 'logout' => 'Logout', + 'search-text' => 'Cerca prodotti qui' + ], + + 'minicart' => [ + 'view-cart' => 'Mostra Carrello', + 'checkout' => 'Cassa', + 'cart' => 'Carrello', + 'zero' => '0' + ], + + 'footer' => [ + 'subscribe-newsletter' => 'Iscriviti alla Newsletter', + 'subscribe' => 'Iscriviti', + 'locale' => 'Lingua', + 'currency' => 'Valuta', + ], + + 'subscription' => [ + 'unsubscribe' => 'Cancellati', + 'subscribe' => 'Iscriviti', + 'subscribed' => 'Ora sei iscritto al nostro servizio di notifica.', + 'not-subscribed' => 'Non è stato possibile iscriverti al nostro servizio di notifica, prova di nuovo più tardi.', + 'already' => 'Sei già iscritto al nostro servizio di notifica.', + 'unsubscribed' => 'Sei stato rimosso dal nostro servizio di notifica.', + 'already-unsub' => 'Sei già stato cancellato.', + 'not-subscribed' => 'Errore! L\'email non può essere inviata in questo momento, per favore riprovare più tardi.' + ], + + 'search' => [ + 'no-results' => 'Nessun risultato trovato', + 'page-title' => config('app.name') . ' - Cerca', + 'found-results' => 'Risultati trovati', + 'found-result' => 'Risultato trovato' + ], + + 'reviews' => [ + 'title' => 'Titolo', + 'add-review-page-title' => 'Aggiungi Recensione', + 'write-review' => 'Scrivi una recensione', + 'review-title' => 'Dai un titolo alla tua recensione', + 'product-review-page-title' => 'Recensione Prodotto', + 'rating-reviews' => 'Valutazioni e recensioni', + 'submit' => 'INVIA', + 'delete-all' => 'Tutte le recensioni sono state eliminate con successo', + 'ratingreviews' => ':rating Valutazioni e :review Recensioni', + 'star' => 'Stella', + 'percentage' => ':percentage %', + 'id-star' => 'stella', + 'name' => 'Nome', + ], + + 'customer' => [ + 'signup-text' => [ + 'account_exists' => 'Sei già registrato?', + 'title' => 'Login' + ], + + 'signup-form' => [ + 'page-title' => 'Crea subito il tuo profilo', + 'title' => 'Registrati', + 'firstname' => 'Nome', + 'lastname' => 'Cognome', + 'email' => 'Email', + 'password' => 'Password', + 'confirm_pass' => 'Conferma Password', + 'button_title' => 'Registrati', + 'agree' => 'Acconsento', + 'terms' => 'Termini', + 'conditions' => 'Condizioni', + 'using' => 'utilizzando questo sito', + 'agreement' => 'Accordo', + 'success' => 'Account creato con successo.', + 'success-verify' => 'Account creato con successo, una e-mail è stata inviata per verifica.', + 'success-verify-email-unsent' => 'Account creato con successo, ma non è stato possibile inviare l\'email di verifica.', + 'failed' => 'Errore! Non è stato possibile creare il tuo profilo, prova di nuovo più tardi.', + 'already-verified' => 'Il tuo profilo è già stato verificato oppure il link di verifica è scaduto. Prova a chidere una nuova email di verifica.', + 'verification-not-sent' => 'Errore! Problema nell\'invio dell\'email di verifica, prova di nuovo più tardi.', + 'verification-sent' => 'Email di verifica inviata', + 'verified' => 'Il tuo account è stato verificato, prova ora ad autenticarti.', + 'verify-failed' => 'Non possiamo verificare la tua email', + 'dont-have-account' => 'Non risulti registrato sul nostro sito.', + 'customer-registration' => 'CIl cliente è stato registrato con successo' + ], + + 'login-text' => [ + 'no_account' => 'Primo accesso?', + 'title' => 'Registrati', + ], + + 'login-form' => [ + 'page-title' => 'Login', + 'title' => 'Login', + 'email' => 'Email', + 'password' => 'Password', + 'forgot_pass' => 'Dimenticato Password?', + 'button_title' => 'Login', + 'remember' => 'Ricordami', + 'footer' => '© Copyright :year Webkul Software, Tutti i diritti riservati', + 'invalid-creds' => 'Per favore verifica le tue credenziali e prova di nuovo.', + 'verify-first' => 'Verifica prima il tuo account email.', + 'not-activated' => 'La tua attivazione richiede l\'approvazione di un amministratore', + 'resend-verification' => 'Reinvia l\'email di verifica' + ], + + 'forgot-password' => [ + 'title' => 'Recupera Password', + 'email' => 'Email', + 'submit' => 'Richiedi nuova Password', + 'page_title' => 'Hai dimenticato la Password?' + ], + + 'reset-password' => [ + 'title' => 'Crea nuova Password', + 'email' => 'Email registrata', + 'password' => 'Password', + 'confirm-password' => 'Conferma Password', + 'back-link-title' => 'Ritorna a Login', + 'submit-btn-title' => 'Aggiorna Password' + ], + + 'account' => [ + 'dashboard' => 'Modifica Profilo', + 'menu' => 'Menu', + + 'profile' => [ + 'index' => [ + 'page-title' => 'Profilo', + 'title' => 'Profilo', + 'edit' => 'Modifica', + ], + + 'edit-success' => 'Profilo aggiornato con successo.', + 'edit-fail' => 'Errore! Non è stato possibile aggiornare il profilo, prova nuovamente più tardi.', + 'unmatch' => 'La vecchia password non coincide.', + + 'fname' => 'Nome', + 'lname' => 'Cognome', + 'gender' => 'Sesso', + 'other' => 'Altro', + 'male' => 'Uomo', + 'female' => 'Donna', + 'dob' => 'Data di nascita', + 'phone' => 'Telefono', + 'email' => 'Email', + 'opassword' => 'Vecchia Password', + 'password' => 'Password', + 'cpassword' => 'Conferma Password', + 'submit' => 'Aggiorna Profilo', + + 'edit-profile' => [ + 'title' => 'Modifica Profilo', + 'page-title' => 'Modifica Profilo' + ] + ], + + 'address' => [ + 'index' => [ + 'page-title' => 'Indirizzo', + 'title' => 'Indirizzo', + 'add' => 'Aggiungi Indirizzo', + 'edit' => 'Modifica', + 'empty' => 'Non hai ancora salvato i tuoi indirizzi, prova ad aggiungerne uno cliccando il link qui sotto', + 'create' => 'Crea Indirizzo', + 'delete' => 'Elimina', + 'make-default' => 'Rendi Predefinito', + 'default' => 'Predefinito', + 'contact' => 'Contatto', + 'confirm-delete' => 'Vuoi veramente eliminare questo indirizzo?', + 'default-delete' => 'L\'indirizzo predefinito non può essere modificato.', + 'enter-password' => 'Inserisci la tua Password.', + ], + + 'create' => [ + 'page-title' => 'Aggiungi Indirizzo', + 'company_name' => 'Ragione Sociale', + 'first_name' => 'Nome', + 'last_name' => 'Cognome', + 'vat_id' => 'Partita IVA', + 'vat_help_note' => '[Nota: Utilizza il codice paese con la Partita IVA. Es. IT01234567891]', + 'title' => 'Aggiungi Indirizzo', + 'street-address' => 'Indirizzo', + 'country' => 'Paese', + 'state' => 'Provincia', + 'select-state' => 'Seleziona provincia', + 'city' => 'Città', + 'postcode' => 'CAP', + 'phone' => 'Telefono', + 'submit' => 'Salva Indirizzo', + 'success' => 'Indirizzo aggiunto con successo.', + 'error' => 'Non è stato possibile aggiungere l\'indirizzo.' + ], + + 'edit' => [ + 'page-title' => 'Modifica Indirizzo', + 'company_name' => 'Ragione Sociale', + 'first_name' => 'Nome', + 'last_name' => 'Cognome', + 'vat_id' => 'Partita IVA', + 'title' => 'Modifica Indirizzo', + 'street-address' => 'Indirizzo', + 'submit' => 'Salva Indirizzo', + 'success' => 'Indirizzo aggiornato con successo.', + ], + 'delete' => [ + 'success' => 'Indirizzo eliminato con successo', + 'failure' => 'L\'indirizzo non può essere eliminato', + 'wrong-password' => 'Password errata !' + ] + ], + + 'order' => [ + 'index' => [ + 'page-title' => 'Ordini', + 'title' => 'Ordini', + 'order_id' => 'Ordine Nro', + 'date' => 'Data', + 'status' => 'Status', + 'total' => 'Totale', + 'order_number' => 'Numero Ordine', + 'processing' => 'In lavorazione', + 'completed' => 'Completato', + 'canceled' => 'Cancellato', + 'closed' => 'Chiuso', + 'pending' => 'In attesa', + 'pending-payment' => 'In attesa pagamento', + 'fraud' => 'Frode' + ], + + 'view' => [ + 'page-tile' => 'Ordine #:order_id', + 'info' => 'Informazioni', + 'placed-on' => 'Data Ordine', + 'products-ordered' => 'Prodotti Ordinati', + 'invoices' => 'Fatture', + 'shipments' => 'Spedizioni', + 'SKU' => 'SKU', + 'product-name' => 'Articolo', + 'qty' => 'Qtà', + 'item-status' => 'Stato Articolo', + 'item-ordered' => 'Ordinato (:qty_ordered)', + 'item-invoice' => 'Fatturato (:qty_invoiced)', + 'item-shipped' => 'spedito (:qty_shipped)', + 'item-canceled' => 'Cancellato (:qty_canceled)', + 'item-refunded' => 'Rimborsato (:qty_refunded)', + 'price' => 'Prezzo', + 'total' => 'Totale', + 'subtotal' => 'Subtotale', + 'shipping-handling' => 'Spedizione', + 'tax' => 'IVA', + 'discount' => 'Sconto', + 'tax-percent' => 'IVA %', + 'tax-amount' => 'IVA', + 'discount-amount' => 'Sconto', + 'grand-total' => 'Totale', + 'total-paid' => 'Totale Pagato', + 'total-refunded' => 'Total Rimborsato', + 'total-due' => 'Totale da pagare', + 'shipping-address' => 'Indirizzo Spedizione', + 'billing-address' => 'Indirizzo Ordinante', + 'shipping-method' => 'Metodo Spedizione', + 'payment-method' => 'Metodo Pagamento', + 'individual-invoice' => 'Fattura #:invoice_id', + 'individual-shipment' => 'Spedizione #:shipment_id', + 'print' => 'Stampa', + 'invoice-id' => 'Fattura Nro', + 'order-id' => 'Ordine Nro', + 'order-date' => 'Ordine Data', + 'bill-to' => 'Fatturato a', + 'ship-to' => 'Spedito a', + 'contact' => 'Contatto', + 'refunds' => 'Rimborsi', + 'individual-refund' => 'Rimborso #:refund_id', + 'adjustment-refund' => 'Rimborso', + 'adjustment-fee' => 'Commissione di rimborso', + 'cancel-btn-title' => 'Cancella', + ] + ], + + 'wishlist' => [ + 'page-title' => 'Preferiti', + 'title' => 'Preferiti', + 'deleteall' => 'Elimina tutti', + 'moveall' => 'Aggiungi tutti i Prodotti al Carrello', + 'move-to-cart' => 'Aggiungi al Carrello', + 'error' => 'Non è possibile aggiungere il prodotto ai preferiti per un problema sconosciuto, provare nuovamente più tardi', + 'add' => 'Il prodotto è stato aggiunto ai preferiti', + 'remove' => 'Articolo rimosso dai preferiti', + 'moved' => 'Articolo aggiunto al carrello', + 'option-missing' => 'Le opzioni del prodotto mancano, per questo il prodotto non può essere aggiunto ai preferiti.', + 'move-error' => 'Il prodotto non può essere aggiunto ai preferiti, prova nuovamente più tardi', + 'success' => 'Il prodotto è stato aggiunto ai preferiti', + 'failure' => 'Il prodotto non può essere aggiunto ai preferiti, prova nuovamente più tardi', + 'already' => 'Il prodotto è già presente nei tuoi preferiti', + 'removed' => 'Il prodotto è stato rimosso dai preferiti', + 'remove-fail' => 'Il prodotto non può essere rimosso dai preferiti, prova nuovamente più tardi', + 'empty' => 'Non hai ancora aggiunto prodotti ai tuoi preferiti', + 'remove-all-success' => 'Tutti gli articoli sono stati rimossi dai tuoi preferiti', + ], + + 'downloadable_products' => [ + 'title' => 'Prodotti scaricabili', + 'order-id' => 'Id Ordine', + 'date' => 'Data', + 'name' => 'Titolo', + 'status' => 'Status', + 'pending' => 'In attesa', + 'available' => 'Disponibile', + 'expired' => 'Scaduto', + 'remaining-downloads' => 'Download rimasti', + 'unlimited' => 'Illimitati', + 'download-error' => 'Il link per il Download è scaduto.' + ], + + 'review' => [ + 'index' => [ + 'title' => 'Recensioni', + 'page-title' => 'Recensioni' + ], + + 'view' => [ + 'page-tile' => 'Recensione #:id', + ] + ] + ] + ], + + 'products' => [ + 'layered-nav-title' => 'Acquista per', + 'price-label' => 'A partire da', + 'remove-filter-link-title' => 'Rimuovi filtri', + 'sort-by' => 'Ordina per', + 'from-a-z' => 'Da A-Z', + 'from-z-a' => 'Da Z-A', + 'newest-first' => 'I più recenti prima', + 'oldest-first' => 'I più datati prima', + 'cheapest-first' => 'Prezzo più basso prima', + 'expensive-first' => 'Prezzo più alto prima', + 'show' => 'Mostra', + 'pager-info' => 'Stai vedendo :showing di :total Items', + 'description' => 'Descrizione', + 'specification' => 'Specifiche', + 'total-reviews' => ':total Recensioni', + 'total-rating' => ':total_rating valutazioni e :total_reviews recensioni', + 'by' => 'Per :name', + 'up-sell-title' => 'Abbiamo trovato altri prodotti che potrebbero piacerti!', + 'related-product-title' => 'Prodotti correlati', + 'cross-sell-title' => 'Altre scelte', + 'reviews-title' => 'Valutazioni e Recensioni', + 'write-review-btn' => 'Scrivi una recensione', + 'choose-option' => 'Scegli una opzione', + 'sale' => 'Promo', + 'new' => 'Nuovo', + 'empty' => 'Nessun prodotto disponibile in questa categoria', + 'add-to-cart' => 'Aggiungi al Carrello', + 'buy-now' => 'Compra ora', + 'whoops' => 'Whoops!', + 'quantity' => 'Quantità', + 'in-stock' => 'Disponibile', + 'out-of-stock' => 'Esaurito', + 'view-all' => 'Mostra Tutto', + 'select-above-options' => 'Per favore seleziona prima le opzioni sopra.', + 'less-quantity' => 'La quantità non può essere inferiore a uno.', + 'samples' => 'Campioni', + 'links' => 'Links', + 'sample' => 'Campione', + 'name' => 'Nome', + 'qty' => 'Qtà', + 'starting-at' => 'A partire da', + 'customize-options' => 'Customizza opzioni', + 'choose-selection' => 'Scegli una selezione', + 'your-customization' => 'La tua Personalizzazione', + 'total-amount' => 'Totale', + 'none' => 'Nessuno', + 'available' => 'Disponibile' + ], + + // 'reviews' => [ + // 'empty' => 'Non hai ancora recensito alcun prodotto' + // ] + + 'buynow' => [ + 'no-options' => 'Per favore seleziona le opzioni per acquistare questo prodotto.' + ], + + 'checkout' => [ + 'cart' => [ + 'integrity' => [ + 'missing_fields' => 'Mancano alcuni campi obbligatori per questo prodotto.', + 'missing_options' => 'Mancano alcune Opzioni obbligatorie per questo prodotto.', + 'missing_links' => 'I link per il download di questo prodotto sono mancanti.', + 'qty_missing' => 'Almeno un prodotto dovrebbe avere una quantità superiore a 1.', + 'qty_impossible' => 'Non è possibile aggiungere più di un pezzo di questo articolo nel carrello.' + ], + 'create-error' => 'Si è verificato un problema durante la visualizzazione del carrello.', + 'title' => 'Carrello', + 'empty' => 'Il tuo carrello è ancora vuoto', + 'update-cart' => 'Aggiorna Carrello', + 'continue-shopping' => 'Continua con i tuoi acquisti', + 'proceed-to-checkout' => 'Procedi alla Cassa', + 'remove' => 'Rimuovi', + 'remove-link' => 'Rimuovi', + 'move-to-wishlist' => 'Sposta nella Wishlist', + 'move-to-wishlist-success' => 'Articolo spostato nella tua wishlist.', + 'move-to-wishlist-error' => 'Non è possibile spostare l\'articolo nella tua wishlist, prova ancora.', + 'add-config-warning' => 'Seleziona una opzione prima di aggiungere al carrello.', + 'quantity' => [ + 'quantity' => 'Quantità', + 'success' => 'Articoli nel carrello aggiornati con successo.', + 'illegal' => 'La quantità non può essere inferiore a 0.', + 'inventory_warning' => 'La quantità richiesta non è disponibile, prova ancora.', + 'error' => 'Non è posibile aggiornare gli articoli al momento, prova ancora.' + ], + + 'item' => [ + 'error_remove' => 'Nessun prodotto da rimuovere nel carrello.', + 'success' => 'Prodotto aggiunto al carrello.', + 'success-remove' => 'Prodotto rimosso dal carrello.', + 'error-add' => 'Il prodotto non può essere aggiunto al carrello, prova ancora.', + ], + 'quantity-error' => 'La quantità richiesta non è disponibile.', + 'cart-subtotal' => 'Subtotale Carrello', + 'cart-remove-action' => 'Vuoi veramente farlo ?', + 'partial-cart-update' => 'Solo alcuni dei prodotti sono stati aggiornati', + 'link-missing' => '', + 'event' => [ + 'expired' => 'Questo evento è terminato.' + ] + ], + + 'onepage' => [ + 'title' => 'Cassa', + 'information' => 'Informazioni', + 'shipping' => 'Spedizione', + 'payment' => 'Pagamento', + 'complete' => 'Completo', + 'billing-address' => 'Indirizzo Fatturazione', + 'sign-in' => 'Login', + 'company-name' => 'Azienda', + 'first-name' => 'Nome', + 'last-name' => 'Cognome', + 'email' => 'Email', + 'address1' => 'Indirizzo', + 'city' => 'Città', + 'state' => 'Provincia', + 'select-state' => 'Seleziona una provincia', + 'postcode' => 'CAP', + 'phone' => 'Telefono', + 'country' => 'Paese', + 'order-summary' => 'Riepilogo Ordine', + 'shipping-address' => 'Indirizzo Spedizione', + 'use_for_shipping' => 'Spedisci a questo indirizzo', + 'continue' => 'Continua', + 'shipping-method' => 'Seleziona Metodo di Spedizione', + 'payment-methods' => 'Seleziona Metodo di Pagamento', + 'payment-method' => 'Metodo di Pagamento', + 'summary' => 'Riepilogo Ordine', + 'price' => 'Prezzo', + 'quantity' => 'Quantità', + 'billing-address' => 'Indirizzo Fatturazione', + 'shipping-address' => 'Indirizzo Spedizione', + 'contact' => 'Contatto', + 'place-order' => 'Procedi con Ordine', + 'new-address' => 'Aggiungi Nuovo Indirizzo', + 'save_as_address' => 'Salva questo indirizzo', + 'apply-coupon' => 'Codice Promo', + 'amt-payable' => 'Totale da Pagare', + 'got' => 'Got', + 'free' => 'Gratis', + 'coupon-used' => 'Codice Utilizzato', + 'applied' => 'Applicato', + 'back' => 'Indietro', + 'cash-desc' => 'Contrassegno', + 'money-desc' => 'Bonifico', + 'paypal-desc' => 'Paypal', + 'free-desc' => 'Questa è una spedizine gratuita', + 'flat-desc' => 'Questa è una spedizione a prezzo fisso', + 'password' => 'Password', + 'login-exist-message' => 'Sei già registrato nel nostro store, effettua la login o continua come ospite.', + 'enter-coupon-code' => 'Inserisci Codice Promo' + ], + + 'total' => [ + 'order-summary' => 'Riepilogo Ordine', + 'sub-total' => 'Articoli', + 'grand-total' => 'Totale', + 'delivery-charges' => 'Spedizione', + 'tax' => 'IVA', + 'discount' => 'Sconto', + 'price' => 'prezzo', + 'disc-amount' => 'Totale Scontato', + 'new-grand-total' => 'Nuovo Totale', + 'coupon' => 'Codice Promo', + 'coupon-applied' => 'Codice Promo Applicato', + 'remove-coupon' => 'Rimuovi Codice Promo', + 'cannot-apply-coupon' => 'Non è possibile Applicare il Codice Promo', + 'invalid-coupon' => 'Il Codice Promo non è valido.', + 'success-coupon' => 'Codice Promo applicato con successo.', + 'coupon-apply-issue' => 'Il Codice Promo non può essere applicato.' + ], + + 'success' => [ + 'title' => 'Ordine completato con successo', + 'thanks' => 'Grazie per il tuo ordine!', + 'order-id-info' => 'Il tuo id ordine è #:order_id', + 'info' => 'Ti invieremo via email i dettagli del tuo ordine e le informazioni di tracking' + ] + ], + + 'mail' => [ + 'order' => [ + 'subject' => 'Nuova Conferma Ordine', + 'heading' => 'Conferma Ordine!', + 'dear' => ':customer_name', + 'dear-admin' => ':admin_name', + 'greeting' => 'Grazie per il tuo Oridne :order_id su :created_at', + 'greeting-admin' => 'Id Ordine :order_id su :created_at', + 'summary' => 'Riepilogo Ordine', + 'shipping-address' => 'Indirizzo Spedizione', + 'billing-address' => 'Indirizzo Fatturazione', + 'contact' => 'Contatto', + 'shipping' => 'Metodo di Spedizione', + 'payment' => 'Metodo di Pagamento', + 'price' => 'Prezzo', + 'quantity' => 'Quantità', + 'subtotal' => 'Subtotale', + 'shipping-handling' => 'Spedizione', + 'tax' => 'IVA', + 'discount' => 'Sconto', + 'grand-total' => 'Totale', + 'final-summary' => 'Grazie per il tuo interesse nel nostro store, ti invieremo un codice di tracking una volta che la spedizione sarà completata', + 'help' => 'Se hai bisogno di aiuto contattaci qui :support_email', + 'thanks' => 'Grazie!', + + 'comment' => [ + 'subject' => 'Nuovo commento aggiunto al tuo ordine', + 'dear' => ':customer_name', + 'final-summary' => 'Grazie per aver mostrato interesse per il nostro store', + 'help' => 'Se hai bisogno di aiuto contattaci all'indirizzo :support_email', + 'thanks' => 'Graze!', + ], + + 'cancel' => [ + 'subject' => 'Conferma Cancellazione Ordine', + 'heading' => 'Ordine Cancellato', + 'dear' => ':customer_name', + 'greeting' => 'Il tuo Ordine #:order_id su :created_at è stato cancellato', + 'summary' => 'Riepilogo Ordine', + 'shipping-address' => 'Indirizzo di Spedizione', + 'billing-address' => 'Indirizzo di Fattuazione', + 'contact' => 'Contatti', + 'shipping' => 'Metodo di Spedizione', + 'payment' => 'Metodo di Pagamento', + 'subtotal' => 'Subtotale', + 'shipping-handling' => 'Spedizione', + 'tax' => 'IVA', + 'discount' => 'Sconto', + 'grand-total' => 'Totale', + 'final-summary' => 'Grazie per l\'interesse mostrato nel nostro store', + 'help' => 'Se hai bisogno di qualsiasi tipo di aiuto contattaci a :support_email', + 'thanks' => 'Grazie!', + ] + ], + + 'invoice' => [ + 'heading' => 'Fattura #:invoice_id per l\'Ordine #:order_id', + 'subject' => 'Fattura per ordine #:order_id', + 'summary' => 'Dettaglio Fattura', + ], + + 'shipment' => [ + 'heading' => 'La Spedizione #:shipment_id relativa all\'Ordine #:order_id è stata generata ', + 'inventory-heading' => 'Nuova Spedizione #:shipment_id relativa all\'Ordine #:order_id è stata generata', + 'subject' => 'Spedizione per il tuo ordine #:order_id', + 'inventory-subject' => 'Nuova spedizione generata per l\'Ordine #:order_id', + 'summary' => 'Riepilogo Spedizione', + 'carrier' => 'Corriere', + 'tracking-number' => 'Codice Tracking', + 'greeting' => 'Un ordine :order_id è stato piazzato su :created_at', + ], + + 'refund' => [ + 'heading' => 'Il tuo rimborso #:refund_id per l\'Ordine #:order_id', + 'subject' => 'Rimborso per il tuo ordine #:order_id', + 'summary' => 'Riepilogo rimborso', + 'adjustment-refund' => 'Rimborso accordato', + 'adjustment-fee' => 'Commissione di rimborso' + ], + + 'forget-password' => [ + 'subject' => 'Generazione Nuova Password', + 'dear' => ':name', + 'info' => 'Ricevi questa email perchè abbiamo ricevuto una richiesta di generazione di nuova password per il tuo account', + 'reset-password' => 'Generazione nuova Password', + 'final-summary' => 'Se non hai inviato tu questa richiesta, non è necessario effettuare alcuna operazione', + 'thanks' => 'Grazie!' + ], + + 'customer' => [ + 'new' => [ + 'dear' => 'Gentile :customer_name', + 'username-email' => 'UserName/Email', + 'subject' => 'Nuova registrazione cliente', + 'password' => 'Password', + 'summary' => 'Il tuo account è stato creato. + I dettagli del tuo account sono i seguenti: ', + 'thanks' => 'Grazie!', + ], + + 'registration' => [ + 'subject' => 'Nuova registrazione cliente', + 'customer-registration' => 'Cliente registrato con successo', + 'dear' => 'Gentile :customer_name', + 'greeting' => 'Benvenuto e grazie per esserti registrato!', + 'summary' => 'Il tuo account è stato creato e puoi ora effettuare la login utilizzando il tuo indirizzo email e la password che hai scelto. Una volta effettuato l\'accesso, potrai accedere ad altri servizi tra cui revisione ordini passati, gestione prodotti preferiti e modifica dei tuoi dati.', + 'thanks' => 'Grazie!', + ], + + 'verification' => [ + 'heading' => config('app.name') . ' - Email di Verifica', + 'subject' => 'Email di verifica', + 'verify' => 'Verifica il tuo Account', + 'summary' => 'Questa email serve a verificare che l\'indirizzo email che hai inserito ti appartenga veramente. + Clicca il bottone Verifica il tuo Account qui sotto per verificare il tuo account.' + ], + + 'subscription' => [ + 'subject' => 'Email Iscrizione', + 'greeting' => ' Benvenuto ' . config('app.name') . ' - Email Iscrizione', + 'unsubscribe' => 'Cancellati', + 'summary' => 'Grazie per avere scelto di ricevere le nostre email. È passato un po\' di tempo da quando hai letto le email di ' . config('app.name') . '. Non è un nostro desidero inondare la tua casella email con le nostre comunicazioni. Se desideri comunque + non ricevere più le nostre news clicca il bottone qui sotto.' + ] + ] + ], + + 'webkul' => [ + 'copy-right' => '© Copyright :year Webkul Software, Tutti i diritti riservati', + ], + + 'response' => [ + 'create-success' => ':name creato con successoy.', + 'update-success' => ':name aggiornato con successo.', + 'delete-success' => ':name eliminato con successo.', + 'submit-success' => ':name inviato con successo.' + ], +]; \ No newline at end of file diff --git a/packages/Webkul/Shop/src/Resources/views/checkout/cart/index.blade.php b/packages/Webkul/Shop/src/Resources/views/checkout/cart/index.blade.php index f5c66718a..68396ba95 100755 --- a/packages/Webkul/Shop/src/Resources/views/checkout/cart/index.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/checkout/cart/index.blade.php @@ -21,11 +21,19 @@ @foreach ($cart->items as $key => $item) @php $productBaseImage = $item->product->getTypeInstance()->getBaseImage($item); + + if (is_null ($item->product->url_key)) { + if (! is_null($item->product->parent)) { + $url_key = $item->product->parent->url_key; + } + } else { + $url_key = $item->product->url_key; + } @endphp
- +
@@ -33,7 +41,7 @@ {!! view_render_event('bagisto.shop.checkout.cart.item.name.before', ['item' => $item]) !!} diff --git a/packages/Webkul/Tax/src/Helpers/Tax.php b/packages/Webkul/Tax/src/Helpers/Tax.php index 0c91acb6f..a52e056e9 100644 --- a/packages/Webkul/Tax/src/Helpers/Tax.php +++ b/packages/Webkul/Tax/src/Helpers/Tax.php @@ -13,16 +13,16 @@ class Tax /** * Returns an array with tax rates and tax amount * - * @param \Webkul\Checkout\Contracts\Cart $cart - * @param bool $asBase + * @param object $that + * @param bool $asBase * * @return array */ - public static function getTaxRatesWithAmount(\Webkul\Checkout\Contracts\Cart $cart, bool $asBase = false): array + public static function getTaxRatesWithAmount(object $that, bool $asBase = false): array { $taxes = []; - foreach ($cart->items as $item) { + foreach ($that->items as $item) { $taxRate = (string) round((float) $item->tax_percent, self::TAX_RATE_PRECISION); if (! array_key_exists($taxRate, $taxes)) { @@ -43,14 +43,14 @@ class Tax /** * Returns the total tax amount * - * @param \Webkul\Checkout\Contracts\Cart $cart - * @param bool $asBase + * @param object $that + * @param bool $asBase * * @return float */ - public static function getTaxTotal(\Webkul\Checkout\Contracts\Cart $cart, bool $asBase = false): float + public static function getTaxTotal(object $that, bool $asBase = false): float { - $taxes = self::getTaxRatesWithAmount($cart, $asBase); + $taxes = self::getTaxRatesWithAmount($that, $asBase); $result = 0; diff --git a/packages/Webkul/Ui/publishable/assets/js/ui.js b/packages/Webkul/Ui/publishable/assets/js/ui.js index 249d0390f..42b622662 100644 --- a/packages/Webkul/Ui/publishable/assets/js/ui.js +++ b/packages/Webkul/Ui/publishable/assets/js/ui.js @@ -1,2 +1,2 @@ /*! For license information please see ui.js.LICENSE.txt */ -!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));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=0)}({"+Xmh":function(t,e,n){n("jm62"),t.exports=n("g3g5").Object.getOwnPropertyDescriptors},"+auO":function(t,e,n){var r=n("XKFU"),i=n("lvtm");r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},"+lvF":function(t,e,n){t.exports=n("VTer")("native-function-to-string",Function.toString)},"+oPb":function(t,e,n){"use strict";n("OGtf")("blink",(function(t){return function(){return t(this,"blink","","")}}))},"+rLv":function(t,e,n){var r=n("dyZX").document;t.exports=r&&r.documentElement},"/8Fb":function(t,e,n){var r=n("XKFU"),i=n("UExd")(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},"/KAi":function(t,e,n){var r=n("XKFU"),i=n("dyZX").isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},"/SS/":function(t,e,n){var r=n("XKFU");r(r.S,"Object",{setPrototypeOf:n("i5dc").set})},"/e88":function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},0:function(t,e,n){n("uPOf"),n("qg2B"),t.exports=n("w/dW")},"0/R4":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"0E+W":function(t,e,n){n("elZq")("Array")},"0LDn":function(t,e,n){"use strict";n("OGtf")("italics",(function(t){return function(){return t(this,"i","","")}}))},"0YWM":function(t,e,n){var r=n("EemH"),i=n("OP3Y"),o=n("aagx"),a=n("XKFU"),s=n("0/R4"),c=n("y3w9");a(a.S,"Reflect",{get:function t(e,n){var a,u,l=arguments.length<3?e:arguments[2];return c(e)===l?e[n]:(a=r.f(e,n))?o(a,"value")?a.value:void 0!==a.get?a.get.call(l):void 0:s(u=i(e))?t(u,n,l):void 0}})},"0l/t":function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(2);r(r.P+r.F*!n("LyE8")([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},"0mN4":function(t,e,n){"use strict";n("OGtf")("fixed",(function(t){return function(){return t(this,"tt","","")}}))},"0sh+":function(t,e,n){var r=n("quPj"),i=n("vhPU");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},"11IZ":function(t,e,n){var r=n("dyZX").parseFloat,i=n("qncB").trim;t.exports=1/r(n("/e88")+"-0")!=-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},"1MBn":function(t,e,n){var r=n("DVgA"),i=n("JiEa"),o=n("UqcF");t.exports=function(t){var e=r(t),n=i.f;if(n)for(var a,s=n(t),c=o.f,u=0;s.length>u;)c.call(t,a=s[u++])&&e.push(a);return e}},"1TsA":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},"1sa7":function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},"1ssy":function(t,e,n){var r=n("YC3Q");"string"==typeof r&&(r=[[t.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(r,i);r.locals&&(t.exports=r.locals)},"25dN":function(t,e,n){var r=n("XKFU");r(r.S,"Object",{is:n("g6HL")})},"2GTP":function(t,e,n){var r=n("eaoh");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,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"2OiF":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"2Spj":function(t,e,n){var r=n("XKFU");r(r.P,"Function",{bind:n("8MEG")})},"2atp":function(t,e,n){var r=n("XKFU"),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},"2faE":function(t,e,n){var r=n("5K7Z"),i=n("eUtF"),o=n("G8Mo"),a=Object.defineProperty;e.f=n("jmDH")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)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}},"3Lyj":function(t,e,n){var r=n("KroJ");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},"3xty":function(t,e,n){var r=n("XKFU"),i=n("2OiF"),o=n("y3w9"),a=(n("dyZX").Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n("eeVq")((function(){a((function(){}))})),"Reflect",{apply:function(t,e,n){var r=i(t),c=o(n);return a?a(r,e,c):s.call(r,e,c)}})},"4LiD":function(t,e,n){"use strict";var r=n("dyZX"),i=n("XKFU"),o=n("KroJ"),a=n("3Lyj"),s=n("Z6vF"),c=n("SlkY"),u=n("9gX7"),l=n("0/R4"),f=n("eeVq"),p=n("XMVh"),d=n("fyDq"),h=n("Xbzi");t.exports=function(t,e,n,g,v,m){var y=r[t],b=y,w=v?"set":"add",x=b&&b.prototype,_={},k=function(t){var e=x[t];o(x,t,"delete"==t||"has"==t?function(t){return!(m&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(m||x.forEach&&!f((function(){(new b).entries().next()})))){var S=new b,C=S[w](m?{}:-0,1)!=S,E=f((function(){S.has(1)})),F=p((function(t){new b(t)})),D=!m&&f((function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)}));F||((b=e((function(e,n){u(e,b,t);var r=h(new y,e,b);return null!=n&&c(n,v,r[w],r),r}))).prototype=x,x.constructor=b),(E||D)&&(k("delete"),k("has"),v&&k("get")),(D||C)&&k(w),m&&x.clear&&delete x.clear}else b=g.getConstructor(e,t,v,w),a(b.prototype,n),s.NEED=!0;return d(b,t),_[t]=b,i(i.G+i.W+i.F*(b!=y),_),m||g.setStrong(b,t,v),b}},"4R4u":function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"55Il":function(t,e,n){"use strict";n("g2aq");var r,i=(r=n("VsWn"))&&r.__esModule?r:{default:r};i.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),i.default._babelPolyfill=!0},"5K7Z":function(t,e,n){var r=n("93I4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"5Pf0":function(t,e,n){var r=n("S/j/"),i=n("OP3Y");n("Xtr8")("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},"5T2Y":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)},"5e8X":function(t,e,n){"use strict";var r=n("1ssy");n.n(r).a},"5gfu":function(t,e,n){var r=n("IsTG");"string"==typeof r&&(r=[[t.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(r,i);r.locals&&(t.exports=r.locals)},"694e":function(t,e,n){var r=n("EemH"),i=n("XKFU"),o=n("y3w9");i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},"69bn":function(t,e,n){var r=n("y3w9"),i=n("2OiF"),o=n("K0xU")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},"6AQ9":function(t,e,n){"use strict";var r=n("XKFU"),i=n("8a7r");r(r.S+r.F*n("eeVq")((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},"6FMO":function(t,e,n){var r=n("0/R4"),i=n("EWmC"),o=n("K0xU")("species");t.exports=function(t){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},"6VaU":function(t,e,n){"use strict";var r=n("XKFU"),i=n("xF/b"),o=n("S/j/"),a=n("ne8i"),s=n("2OiF"),c=n("zRwo");r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return s(t),e=a(r.length),n=c(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n("nGyu")("flatMap")},"7DDg":function(t,e,n){"use strict";if(n("nh4g")){var r=n("LQAc"),i=n("dyZX"),o=n("eeVq"),a=n("XKFU"),s=n("D4iV"),c=n("7Qtz"),u=n("m0Pp"),l=n("9gX7"),f=n("RjD/"),p=n("Mukb"),d=n("3Lyj"),h=n("RYi7"),g=n("ne8i"),v=n("Cfrj"),m=n("d/Gc"),y=n("apmT"),b=n("aagx"),w=n("I8a+"),x=n("0/R4"),_=n("S/j/"),k=n("M6Qj"),S=n("Kuth"),C=n("OP3Y"),E=n("kJMx").f,F=n("J+6e"),D=n("ylqs"),M=n("K0xU"),O=n("CkkT"),P=n("w2a5"),T=n("69bn"),I=n("yt8O"),A=n("hPIQ"),j=n("XMVh"),L=n("elZq"),R=n("Nr18"),N=n("upKx"),U=n("hswa"),V=n("EemH"),B=U.f,K=V.f,X=i.RangeError,z=i.TypeError,Y=i.Uint8Array,W=Array.prototype,H=c.ArrayBuffer,q=c.DataView,$=O(0),G=O(2),Z=O(3),J=O(4),Q=O(5),tt=O(6),et=P(!0),nt=P(!1),rt=I.values,it=I.keys,ot=I.entries,at=W.lastIndexOf,st=W.reduce,ct=W.reduceRight,ut=W.join,lt=W.sort,ft=W.slice,pt=W.toString,dt=W.toLocaleString,ht=M("iterator"),gt=M("toStringTag"),vt=D("typed_constructor"),mt=D("def_constructor"),yt=s.CONSTR,bt=s.TYPED,wt=s.VIEW,xt=O(1,(function(t,e){return Et(T(t,t[mt]),e)})),_t=o((function(){return 1===new Y(new Uint16Array([1]).buffer)[0]})),kt=!!Y&&!!Y.prototype.set&&o((function(){new Y(1).set({})})),St=function(t,e){var n=h(t);if(n<0||n%e)throw X("Wrong offset!");return n},Ct=function(t){if(x(t)&&bt in t)return t;throw z(t+" is not a typed array!")},Et=function(t,e){if(!x(t)||!(vt in t))throw z("It is not a typed array constructor!");return new t(e)},Ft=function(t,e){return Dt(T(t,t[mt]),e)},Dt=function(t,e){for(var n=0,r=e.length,i=Et(t,r);r>n;)i[n]=e[n++];return i},Mt=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},Ot=function(t){var e,n,r,i,o,a,s=_(t),c=arguments.length,l=c>1?arguments[1]:void 0,f=void 0!==l,p=F(s);if(null!=p&&!k(p)){for(a=p.call(s),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);s=r}for(f&&c>2&&(l=u(l,arguments[2],2)),e=0,n=g(s.length),i=Et(this,n);n>e;e++)i[e]=f?l(s[e],e):s[e];return i},Pt=function(){for(var t=0,e=arguments.length,n=Et(this,e);e>t;)n[t]=arguments[t++];return n},Tt=!!Y&&o((function(){dt.call(new Y(1))})),It=function(){return dt.apply(Tt?ft.call(Ct(this)):Ct(this),arguments)},At={copyWithin:function(t,e){return N.call(Ct(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(Ct(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return R.apply(Ct(this),arguments)},filter:function(t){return Ft(this,G(Ct(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Ct(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ct(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(Ct(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Ct(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Ct(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ut.apply(Ct(this),arguments)},lastIndexOf:function(t){return at.apply(Ct(this),arguments)},map:function(t){return xt(Ct(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(Ct(this),arguments)},reduceRight:function(t){return ct.apply(Ct(this),arguments)},reverse:function(){for(var t,e=Ct(this).length,n=Math.floor(e/2),r=0;r1?arguments[1]:void 0)},sort:function(t){return lt.call(Ct(this),t)},subarray:function(t,e){var n=Ct(this),r=n.length,i=m(t,r);return new(T(n,n[mt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,g((void 0===e?r:m(e,r))-i))}},jt=function(t,e){return Ft(this,ft.call(Ct(this),t,e))},Lt=function(t){Ct(this);var e=St(arguments[1],1),n=this.length,r=_(t),i=g(r.length),o=0;if(i+e>n)throw X("Wrong length!");for(;o255?255:255&r),i.v[d](n*e+i.o,r,_t)}(this,n,t)},enumerable:!0})};b?(h=n((function(t,n,r,i){l(t,h,u,"_d");var o,a,s,c,f=0,d=0;if(x(n)){if(!(n instanceof H||"ArrayBuffer"==(c=w(n))||"SharedArrayBuffer"==c))return bt in n?Dt(h,n):Ot.call(h,n);o=n,d=St(r,e);var m=n.byteLength;if(void 0===i){if(m%e)throw X("Wrong length!");if((a=m-d)<0)throw X("Wrong length!")}else if((a=g(i)*e)+d>m)throw X("Wrong length!");s=a/e}else s=v(n),o=new H(a=s*e);for(p(t,"_d",{b:o,o:d,l:a,e:s,v:new q(o)});f>1,l=23===e?C(2,-24)-C(2,-77):0,f=0,p=t<0||0===t&&1/t<0?1:0;for((t=S(t))!=t||t===_?(i=t!=t?1:0,r=c):(r=E(F(t)/D),t*(o=C(2,-r))<1&&(r--,o*=2),(t+=r+u>=1?l/o:l*C(2,1-u))*o>=2&&(r++,o/=2),r+u>=c?(i=0,r=c):r+u>=1?(i=(t*o-1)*C(2,e),r+=u):(i=t*C(2,u-1)*C(2,e),r=0));e>=8;a[f++]=255&i,i/=256,e-=8);for(r=r<0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*p,a}function I(t,e,n){var r,i=8*n-e-1,o=(1<>1,s=i-7,c=n-1,u=t[c--],l=127&u;for(u>>=7;s>0;l=256*l+t[c],c--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;s>0;r=256*r+t[c],c--,s-=8);if(0===l)l=1-a;else{if(l===o)return r?NaN:u?-_:_;r+=C(2,e),l-=a}return(u?-1:1)*r*C(2,l-e)}function A(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function j(t){return[255&t]}function L(t){return[255&t,t>>8&255]}function R(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function N(t){return T(t,52,8)}function U(t){return T(t,23,4)}function V(t,e,n){g(t.prototype,e,{get:function(){return this[n]}})}function B(t,e,n,r){var i=d(+n);if(i+e>t[O])throw x("Wrong index!");var o=t[M]._b,a=i+t[P],s=o.slice(a,a+e);return r?s:s.reverse()}function K(t,e,n,r,i,o){var a=d(+n);if(a+e>t[O])throw x("Wrong index!");for(var s=t[M]._b,c=a+t[P],u=r(+i),l=0;lW;)(X=Y[W++])in y||s(y,X,k[X]);o||(z.constructor=y)}var H=new b(new y(2)),q=b.prototype.setInt8;H.setInt8(0,2147483648),H.setInt8(1,2147483649),!H.getInt8(0)&&H.getInt8(1)||c(b.prototype,{setInt8:function(t,e){q.call(this,t,e<<24>>24)},setUint8:function(t,e){q.call(this,t,e<<24>>24)}},!0)}else y=function(t){l(this,y,"ArrayBuffer");var e=d(t);this._b=v.call(new Array(e),0),this[O]=e},b=function(t,e,n){l(this,b,"DataView"),l(t,y,"DataView");var r=t[O],i=f(e);if(i<0||i>r)throw x("Wrong offset!");if(i+(n=void 0===n?r-i:p(n))>r)throw x("Wrong length!");this[M]=t,this[P]=i,this[O]=n},i&&(V(y,"byteLength","_l"),V(b,"buffer","_b"),V(b,"byteLength","_l"),V(b,"byteOffset","_o")),c(b.prototype,{getInt8:function(t){return B(this,1,t)[0]<<24>>24},getUint8:function(t){return B(this,1,t)[0]},getInt16:function(t){var e=B(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=B(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return A(B(this,4,t,arguments[1]))},getUint32:function(t){return A(B(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return I(B(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return I(B(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){K(this,1,t,j,e)},setUint8:function(t,e){K(this,1,t,j,e)},setInt16:function(t,e){K(this,2,t,L,e,arguments[2])},setUint16:function(t,e){K(this,2,t,L,e,arguments[2])},setInt32:function(t,e){K(this,4,t,R,e,arguments[2])},setUint32:function(t,e){K(this,4,t,R,e,arguments[2])},setFloat32:function(t,e){K(this,4,t,U,e,arguments[2])},setFloat64:function(t,e){K(this,8,t,N,e,arguments[2])}});m(y,"ArrayBuffer"),m(b,"DataView"),s(b.prototype,a.VIEW,!0),e.ArrayBuffer=y,e.DataView=b},"7VC1":function(t,e,n){"use strict";var r=n("XKFU"),i=n("Lgjv"),o=n("ol8x"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},"7h0T":function(t,e,n){var r=n("XKFU");r(r.S,"Number",{isNaN:function(t){return t!=t}})},"8+KV":function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(0),o=n("LyE8")([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},"84bF":function(t,e,n){"use strict";n("OGtf")("small",(function(t){return function(){return t(this,"small","","")}}))},"8MEG":function(t,e,n){"use strict";var r=n("2OiF"),i=n("0/R4"),o=n("MfQN"),a=[].slice,s={},c=function(t,e,n){if(!(e in s)){for(var r=[],i=0;i0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},"9P93":function(t,e,n){var r=n("XKFU"),i=Math.imul;r(r.S+r.F*n("eeVq")((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},"9VmF":function(t,e,n){"use strict";var r=n("XKFU"),i=n("ne8i"),o=n("0sh+"),a="".startsWith;r(r.P+r.F*n("UUeW")("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},"9XZr":function(t,e,n){"use strict";var r=n("XKFU"),i=n("Lgjv"),o=n("ol8x"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},"9gX7":function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"9rMk":function(t,e,n){var r=n("XKFU");r(r.S,"Reflect",{has:function(t,e){return e in t}})},"9tPo":function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var i,o=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?t:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},A2zW:function(t,e,n){"use strict";var r=n("XKFU"),i=n("RYi7"),o=n("vvmO"),a=n("l0Rn"),s=1..toFixed,c=Math.floor,u=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*u[n],u[n]=r%1e7,r=c(r/1e7)},p=function(t){for(var e=6,n=0;--e>=0;)n+=u[e],u[e]=c(n/t),n=n%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},h=function(t,e,n){return 0===e?n:e%2==1?h(t,e-1,n*t):h(t*t,e/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("eeVq")((function(){s.call({})}))),"Number",{toFixed:function(t){var e,n,r,s,c=o(this,l),u=i(t),g="",v="0";if(u<0||u>20)throw RangeError(l);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(g="-",c=-c),c>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(c*h(2,69,1))-69)<0?c*h(2,-e,1):c/h(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=u;r>=7;)f(1e7,0),r-=7;for(f(h(10,r,1),0),r=e-1;r>=23;)p(1<<23),r-=23;p(1<0?g+((s=v.length)<=u?"0."+a.call("0",u-s)+v:v.slice(0,s-u)+"."+v.slice(s-u)):g+v}})},A5AN:function(t,e,n){"use strict";var r=n("AvRE")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},Afnz:function(t,e,n){"use strict";var r=n("LQAc"),i=n("XKFU"),o=n("KroJ"),a=n("Mukb"),s=n("hPIQ"),c=n("QaDb"),u=n("fyDq"),l=n("OP3Y"),f=n("K0xU")("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,g,v,m){c(n,e,h);var y,b,w,x=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)}},_=e+" Iterator",k="values"==g,S=!1,C=t.prototype,E=C[f]||C["@@iterator"]||g&&C[g],F=E||x(g),D=g?k?x("entries"):F:void 0,M="Array"==e&&C.entries||E;if(M&&(w=l(M.call(new t)))!==Object.prototype&&w.next&&(u(w,_,!0),r||"function"==typeof w[f]||a(w,f,d)),k&&E&&"values"!==E.name&&(S=!0,F=function(){return E.call(this)}),r&&!m||!p&&!S&&C[f]||a(C,f,F),s[e]=F,s[_]=d,g)if(y={values:k?F:x("values"),keys:v?F:x("keys"),entries:D},m)for(b in y)b in C||o(C,b,y[b]);else i(i.P+i.F*(p||S),e,y);return y}},AphP:function(t,e,n){"use strict";var r=n("XKFU"),i=n("S/j/"),o=n("apmT");r(r.P+r.F*n("eeVq")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},AvRE:function(t,e,n){var r=n("RYi7"),i=n("vhPU");t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}}},"B+OT":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},BC7C:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{fround:n("kcoS")})},"BJ/l":function(t,e,n){var r=n("XKFU");r(r.S,"Math",{log1p:n("1sa7")})},BP8U:function(t,e,n){var r=n("XKFU"),i=n("PKUr");r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},Btvt:function(t,e,n){"use strict";var r=n("I8a+"),i={};i[n("K0xU")("toStringTag")]="z",i+""!="[object z]"&&n("KroJ")(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},"C/va":function(t,e,n){"use strict";var r=n("y3w9");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}},CVKz:function(t,e,n){var r=n("cybi");"string"==typeof r&&(r=[[t.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(r,i);r.locals&&(t.exports=r.locals)},CX2u:function(t,e,n){"use strict";var r=n("XKFU"),i=n("g3g5"),o=n("dyZX"),a=n("69bn"),s=n("vKrd");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},Cfrj:function(t,e,n){var r=n("RYi7"),i=n("ne8i");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},CkkT:function(t,e,n){var r=n("m0Pp"),i=n("Ymqv"),o=n("S/j/"),a=n("ne8i"),s=n("zRwo");t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,p=5==t||f,d=e||s;return function(e,s,h){for(var g,v,m=o(e),y=i(m),b=r(s,h,3),w=a(y.length),x=0,_=n?d(e,w):c?d(e,0):void 0;w>x;x++)if((p||x in y)&&(v=b(g=y[x],x,m),t))if(n)_[x]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:_.push(g)}else if(l)return!1;return f?-1:u||l?l:_}}},CyHz:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{sign:n("lvtm")})},D4iV:function(t,e,n){for(var r,i=n("dyZX"),o=n("Mukb"),a=n("ylqs"),s=a("typed_array"),c=a("view"),u=!(!i.ArrayBuffer||!i.DataView),l=u,f=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=i[p[f++]])?(o(r.prototype,s,!0),o(r.prototype,c,!0)):l=!1;t.exports={ABV:u,CONSTR:l,TYPED:s,VIEW:c}},DAlx:function(t,e,n){var r=n("hfxi");"string"==typeof r&&(r=[[t.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(r,i);r.locals&&(t.exports=r.locals)},DNiP:function(t,e,n){"use strict";var r=n("XKFU"),i=n("eyMr");r(r.P+r.F*!n("LyE8")([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},DVgA:function(t,e,n){var r=n("zhAb"),i=n("4R4u");t.exports=Object.keys||function(t){return r(t,i)}},DW2E:function(t,e,n){var r=n("0/R4"),i=n("Z6vF").onFreeze;n("Xtr8")("freeze",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},EK0E:function(t,e,n){"use strict";var r,i=n("dyZX"),o=n("CkkT")(0),a=n("KroJ"),s=n("Z6vF"),c=n("czNK"),u=n("ZD67"),l=n("0/R4"),f=n("s5qY"),p=n("s5qY"),d=!i.ActiveXObject&&"ActiveXObject"in i,h=s.getWeak,g=Object.isExtensible,v=u.ufstore,m=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(l(t)){var e=h(t);return!0===e?v(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(f(this,"WeakMap"),t,e)}},b=t.exports=n("4LiD")("WeakMap",m,y,u,!0,!0);p&&d&&(c((r=u.getConstructor(m,"WeakMap")).prototype,y),s.NEED=!0,o(["delete","has","get","set"],(function(t){var e=b.prototype,n=e[t];a(e,t,(function(e,i){if(l(e)&&!g(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)}))})))},EWmC:function(t,e,n){var r=n("LZWt");t.exports=Array.isArray||function(t){return"Array"==r(t)}},EemH:function(t,e,n){var r=n("UqcF"),i=n("RjD/"),o=n("aCFj"),a=n("apmT"),s=n("aagx"),c=n("xpql"),u=Object.getOwnPropertyDescriptor;e.f=n("nh4g")?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},"Ew+T":function(t,e,n){var r=n("XKFU"),i=n("GZEu");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},FDph:function(t,e,n){n("Z2Ku"),t.exports=n("g3g5").Array.includes},FEjr:function(t,e,n){"use strict";n("OGtf")("strike",(function(t){return function(){return t(this,"strike","","")}}))},FJW5:function(t,e,n){var r=n("hswa"),i=n("y3w9"),o=n("DVgA");t.exports=n("nh4g")?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},FLlr:function(t,e,n){var r=n("XKFU");r(r.P,"String",{repeat:n("l0Rn")})},Faw5:function(t,e,n){n("7DDg")("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},FlsD:function(t,e,n){var r=n("0/R4");n("Xtr8")("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},FxUG:function(t,e,n){n("R5XZ"),n("Ew+T"),n("rGqo"),t.exports=n("g3g5")},G8Mo:function(t,e,n){var r=n("93I4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},GFzJ:function(t,e,n){"use strict";var r=n("DAlx");n.n(r).a},GNAe:function(t,e,n){var r=n("XKFU"),i=n("PKUr");r(r.G+r.F*(parseInt!=i),{parseInt:i})},GZEu:function(t,e,n){var r,i,o,a=n("m0Pp"),s=n("MfQN"),c=n("+rLv"),u=n("Iw71"),l=n("dyZX"),f=l.process,p=l.setImmediate,d=l.clearImmediate,h=l.MessageChannel,g=l.Dispatch,v=0,m={},y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},b=function(t){y.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++v]=function(){s("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete m[t]},"process"==n("LZWt")(f)?r=function(t){f.nextTick(a(y,t,1))}:g&&g.now?r=function(t){g.now(a(y,t,1))}:h?(o=(i=new h).port2,i.port1.onmessage=b,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:p,clear:d}},H6hf:function(t,e,n){var r=n("y3w9");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},"HAE/":function(t,e,n){var r=n("XKFU");r(r.S+r.F*!n("nh4g"),"Object",{defineProperty:n("hswa").f})},HEwt:function(t,e,n){"use strict";var r=n("m0Pp"),i=n("XKFU"),o=n("S/j/"),a=n("H6hf"),s=n("M6Qj"),c=n("ne8i"),u=n("8a7r"),l=n("J+6e");i(i.S+i.F*!n("XMVh")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,f,p=o(t),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=l(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&s(y))for(n=new d(e=c(p.length));e>m;m++)u(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(i=f.next()).done;m++)u(n,m,v?a(f,g,[i.value,m],!0):i.value);return n.length=m,n}})},Hsns:function(t,e,n){var r=n("93I4"),i=n("5T2Y").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},I1BE:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(o).concat([i]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i1?arguments[1]:void 0)}}),n("nGyu")(o)},"IU+Z":function(t,e,n){"use strict";n("sMXx");var r=n("KroJ"),i=n("Mukb"),o=n("eeVq"),a=n("vhPU"),s=n("K0xU"),c=n("Ugos"),u=s("species"),l=!o((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=!o((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=d?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[p](""),!e})):void 0;if(!d||!h||"replace"===t&&!l||"split"===t&&!f){var g=/./[p],v=n(a,p,""[t],(function(t,e,n,r,i){return e.exec===c?d&&!i?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),m=v[0],y=v[1];r(String.prototype,t,m),i(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},IXt9:function(t,e,n){"use strict";var r=n("0/R4"),i=n("OP3Y"),o=n("K0xU")("hasInstance"),a=Function.prototype;o in a||n("hswa").f(a,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},IlFx:function(t,e,n){var r=n("XKFU"),i=n("y3w9"),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},IsTG:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'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)}}',""])},Iw71:function(t,e,n){var r=n("0/R4"),i=n("dyZX").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},Izvi:function(t,e,n){n("I74W"),t.exports=n("g3g5").String.trimLeft},"J+6e":function(t,e,n){var r=n("I8a+"),i=n("K0xU")("iterator"),o=n("hPIQ");t.exports=n("g3g5").getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},JCqj:function(t,e,n){"use strict";n("OGtf")("sup",(function(t){return function(){return t(this,"sup","","")}}))},JbTB:function(t,e,n){n("/8Fb"),t.exports=n("g3g5").Object.entries},Jcmo:function(t,e,n){var r=n("XKFU"),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},JduL:function(t,e,n){n("Xtr8")("getOwnPropertyNames",(function(){return n("e7yV").f}))},"Ji/l":function(t,e,n){var r=n("XKFU");r(r.G+r.W+r.F*!n("D4iV").ABV,{DataView:n("7Qtz").DataView})},JiEa:function(t,e){e.f=Object.getOwnPropertySymbols},K0xU:function(t,e,n){var r=n("VTer")("wks"),i=n("ylqs"),o=n("dyZX").Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},KKXr:function(t,e,n){"use strict";var r=n("quPj"),i=n("y3w9"),o=n("69bn"),a=n("A5AN"),s=n("ne8i"),c=n("Xxuz"),u=n("Ugos"),l=n("eeVq"),f=Math.min,p=[].push,d="length",h=!l((function(){RegExp(4294967295,"y")}));n("IU+Z")("split",2,(function(t,e,n,l){var g;return g="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[d]||2!="ab".split(/(?:ab)*/)[d]||4!=".".split(/(.?)(.?)/)[d]||".".split(/()()/)[d]>1||"".split(/.?/)[d]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);for(var o,a,s,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,h=void 0===e?4294967295:e>>>0,g=new RegExp(t.source,l+"g");(o=u.call(g,i))&&!((a=g.lastIndex)>f&&(c.push(i.slice(f,o.index)),o[d]>1&&o.index=h));)g.lastIndex===o.index&&g.lastIndex++;return f===i[d]?!s&&g.test("")||c.push(""):c.push(i.slice(f)),c[d]>h?c.slice(0,h):c}:"0".split(void 0,0)[d]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):g.call(String(i),n,r)},function(t,e){var r=l(g,t,this,e,g!==n);if(r.done)return r.value;var u=i(t),p=String(this),d=o(u,RegExp),v=u.unicode,m=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(h?"y":"g"),y=new d(h?u:"^(?:"+u.source+")",m),b=void 0===e?4294967295:e>>>0;if(0===b)return[];if(0===p.length)return null===c(y,p)?[p]:[];for(var w=0,x=0,_=[];xdocument.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},L6xF:function(t,e,n){var r=n("lSZW");"string"==typeof r&&(r=[[t.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(r,i);r.locals&&(t.exports=r.locals)},L9s1:function(t,e,n){"use strict";var r=n("XKFU"),i=n("0sh+");r(r.P+r.F*n("UUeW")("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},LK8F:function(t,e,n){var r=n("XKFU");r(r.S,"Array",{isArray:n("EWmC")})},LQAc:function(t,e){t.exports=!1},LTTk:function(t,e,n){var r=n("XKFU"),i=n("OP3Y"),o=n("y3w9");r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},LVwc:function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},LZWt:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},Lgjv:function(t,e,n){var r=n("ne8i"),i=n("l0Rn"),o=n("vhPU");t.exports=function(t,e,n,a){var s=String(o(t)),c=s.length,u=void 0===n?" ":String(n),l=r(e);if(l<=c||""==u)return s;var f=l-c,p=i.call(u,Math.ceil(f/u.length));return p.length>f&&(p=p.slice(0,f)),a?p+s:s+p}},Ljet:function(t,e,n){var r=n("XKFU");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},LyE8:function(t,e,n){"use strict";var r=n("eeVq");t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},M6Qj:function(t,e,n){var r=n("hPIQ"),i=n("K0xU")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},MfQN:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},MtdB:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},Mukb:function(t,e,n){var r=n("hswa"),i=n("RjD/");t.exports=n("nh4g")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},N8g3:function(t,e,n){e.f=n("K0xU")},NO8f:function(t,e,n){n("7DDg")("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},NegM:function(t,e,n){var r=n("2faE"),i=n("rr1i");t.exports=n("jmDH")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},Nr18:function(t,e,n){"use strict";var r=n("S/j/"),i=n("d/Gc"),o=n("ne8i");t.exports=function(t){for(var e=r(this),n=o(e.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);u>s;)e[s++]=t;return e}},Nz9U:function(t,e,n){"use strict";var r=n("XKFU"),i=n("aCFj"),o=[].join;r(r.P+r.F*(n("Ymqv")!=Object||!n("LyE8")(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},OEbY:function(t,e,n){n("nh4g")&&"g"!=/./g.flags&&n("hswa").f(RegExp.prototype,"flags",{configurable:!0,get:n("C/va")})},OG14:function(t,e,n){"use strict";var r=n("y3w9"),i=n("g6HL"),o=n("Xxuz");n("IU+Z")("search",1,(function(t,e,n,a){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=r(t),c=String(this),u=s.lastIndex;i(u,0)||(s.lastIndex=0);var l=o(s,c);return i(s.lastIndex,u)||(s.lastIndex=u),null===l?-1:l.index}]}))},OGtf:function(t,e,n){var r=n("XKFU"),i=n("eeVq"),o=n("vhPU"),a=/"/g,s=function(t,e,n,r){var i=String(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+i+""};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},OP3Y:function(t,e,n){var r=n("aagx"),i=n("S/j/"),o=n("YTvA")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},OnI7:function(t,e,n){var r=n("dyZX"),i=n("g3g5"),o=n("LQAc"),a=n("N8g3"),s=n("hswa").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},Oyvg:function(t,e,n){var r=n("dyZX"),i=n("Xbzi"),o=n("hswa").f,a=n("kJMx").f,s=n("quPj"),c=n("C/va"),u=r.RegExp,l=u,f=u.prototype,p=/a/g,d=/a/g,h=new u(p)!==p;if(n("nh4g")&&(!h||n("eeVq")((function(){return d[n("K0xU")("match")]=!1,u(p)!=p||u(d)==d||"/a/i"!=u(p,"i")})))){u=function(t,e){var n=this instanceof u,r=s(t),o=void 0===e;return!n&&r&&t.constructor===u&&o?t:i(h?new l(r&&!o?t.source:t,e):l((r=t instanceof u)?t.source:t,r&&o?c.call(t):e),n?this:f,u)};for(var g=function(t){t in u||o(u,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},v=a(l),m=0;v.length>m;)g(v[m++]);f.constructor=u,u.prototype=f,n("KroJ")(r,"RegExp",u)}n("elZq")("RegExp")},PKUr:function(t,e,n){var r=n("dyZX").parseInt,i=n("qncB").trim,o=n("/e88"),a=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},QNwp:function(t,e,n){n("7VC1"),t.exports=n("g3g5").String.padEnd},QaDb:function(t,e,n){"use strict";var r=n("Kuth"),i=n("RjD/"),o=n("fyDq"),a={};n("Mukb")(a,n("K0xU")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},R5XZ:function(t,e,n){var r=n("dyZX"),i=n("XKFU"),o=n("ol8x"),a=[].slice,s=/MSIE .\./.test(o),c=function(t){return function(e,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*s,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},RW0V:function(t,e,n){var r=n("S/j/"),i=n("DVgA");n("Xtr8")("keys",(function(){return function(t){return i(r(t))}}))},RYi7:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"RjD/":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},Ro2m:function(t,e,n){window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},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=11)}([function(t,e,n){"use strict";e.__esModule=!0;var r,i=(r=n(43))&&r.__esModule?r:{default:r};e.default=i.default||function(t){for(var e=1;e0?r:n)(t)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(27);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(8),i=n(7);t.exports=function(t){return r(i(t))}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){"use strict";n.r(e);var r=n(0),i=n.n(r),o={basic:{swatches:["#1FBC9C","#1CA085","#2ECC70","#27AF60","#3398DB","#2980B9","#A463BF","#8E43AD","#3D556E","#222F3D","#F2C511","#F39C19","#E84B3C","#C0382B","#DDE6E8","#BDC3C8"],rowLength:4},"text-basic":{swatches:["#CC0001","#E36101","#FFCC00","#009900","#0066CB","#000000","#FFFFFF"],showBorder:!0},"text-advanced":{swatches:[["#000000","#434343","#666666","#999999","#b7b7b7","#cccccc","#d9d9d9","#efefef","#f3f3f3","#ffffff"],["#980000","#ff0000","#ff9900","#ffff00","#00ff00","#00ffff","#4a86e8","#0000ff","#9900ff","#ff00ff"],["#e6b8af","#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#c9daf8","#cfe2f3","#d9d2e9","#ead1dc"],["#dd7e6b","#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#a4c2f4","#9fc5e8","#b4a7d6","#d5a6bd"],["#cc4125","#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6d9eeb","#6fa8dc","#8e7cc3","#c27ba0"],["#a61c00","#cc0000","#e69138","#f1c232","#6aa84f","#45818e","#3c78d8","#3d85c6","#674ea7","#a64d79"],["#85200c","#990000","#b45f06","#bf9000","#38761d","#134f5c","#1155cc","#0b5394","#351c75","#741b47"],["#5b0f00","#660000","#783f04","#7f6000","#274e13","#0c343d","#1c4587","#073763","#20124d","#4c1130"]],borderRadius:"0",rowLength:10,swatchSize:24,spacingSize:0},"material-basic":{swatches:["#F44336","#E91E63","#9C27B0","#673AB7","#3F51B5","#2196F3","#03A9F4","#00BCD4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548","#9E9E9E","#607D8B"]},"material-light":{swatches:["#EF9A9A","#F48FB1","#CE93D8","#B39DDB","#9FA8DA","#90CAF9","#81D4FA","#80DEEA","#80CBC4","#A5D6A7","#C5E1A5","#E6EE9C","#FFF59D","#FFE082","#FFCC80","#FFAB91","#BCAAA4","#EEEEEE","#B0BEC5"]},"material-dark":{swatches:["#D32F2F","#C2185B","#7B1FA2","#512DA8","#303F9F","#1976D2","#0288D1","#0097A7","#00796B","#388E3C","#689F38","#AFB42B","#FBC02D","#FFA000","#F57C00","#E64A19","#5D4037","#616161","#455A64"]}};function a(t,e,n,r,i,o,a,s){var c=typeof(t=t||{}).default;"object"!==c&&"function"!==c||(t=t.default);var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId=o),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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var f=l.render;l.render=function(t,e){return u.call(e),f(t,e)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,u):[u]}return{exports:t,options:l}}var s=a({name:"swatches",components:{Swatch:a({name:"swatch",components:{Check:a({name:"check",data:function(){return{}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vue-swatches__check__wrapper vue-swatches--has-children-centered"},[e("div",{staticClass:"vue-swatches__check__circle vue-swatches--has-children-centered"},[e("svg",{staticClass:"check",attrs:{version:"1.1",role:"presentation",width:"12",height:"12",viewBox:"0 0 1792 1792"}},[e("path",{staticClass:"vue-swatches__check__path",attrs:{d:"M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z"}})])])])}),[],!1,(function(t){n(13)}),null,null).exports},props:{borderRadius:{type:String},disabled:{type:Boolean},exceptionMode:{type:String},isException:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},showCheckbox:{type:Boolean},showBorder:{type:Boolean},size:{type:Number},spacingSize:{type:Number},swatchColor:{type:String,default:""},swatchStyle:{type:Object}},data:function(){return{}},computed:{computedSwatchStyle:function(){return{display:this.isException&&"hidden"===this.exceptionMode?"none":"inline-block",width:this.size+"px",height:this.size+"px",marginBottom:this.spacingSize+"px",marginRight:this.spacingSize+"px",borderRadius:this.borderRadius,backgroundColor:""!==this.swatchColor?this.swatchColor:"#FFFFFF",cursor:this.cursorStyle}},cursorStyle:function(){return this.disabled||this.isException&&"disabled"===this.exceptionMode?"not-allowed":"pointer"},swatchStyles:function(){return[this.computedSwatchStyle,this.swatchStyle]}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-swatches__swatch",class:{"vue-swatches__swatch--border":t.showBorder,"vue-swatches__swatch--selected":t.selected,"vue-swatches__swatch--is-exception":t.isException||t.disabled},style:t.swatchStyles},[""===t.swatchColor?n("div",{staticClass:"vue-swatches__diagonal--wrapper vue-swatches--has-children-centered"},[n("div",{staticClass:"vue-swatches__diagonal"})]):t._e(),t._v(" "),n("check",{directives:[{name:"show",rawName:"v-show",value:t.showCheckbox&&t.selected,expression:"showCheckbox && selected"}]})],1)}),[],!1,(function(t){n(15)}),null,null).exports},props:{backgroundColor:{type:String,default:"#ffffff"},closeOnSelect:{type:Boolean,default:!0},colors:{type:[Array,Object,String],default:"basic"},exceptions:{type:Array,default:function(){return[]}},exceptionMode:{type:String,default:"disabled"},disabled:{type:Boolean,default:!1},fallbackInputClass:{type:[Array,Object,String],default:null},fallbackOkClass:{type:[Array,Object,String],default:null},fallbackOkText:{type:String,default:"Ok"},fallbackInputType:{type:String,default:function(){return"text"},validator:function(t){return-1!==["text","color"].indexOf(t)}},inline:{type:Boolean,default:!1},maxHeight:{type:[Number,String],default:null},shapes:{type:String,default:"squares"},popoverTo:{type:String,default:"right"},rowLength:{type:[Number,String],default:null},showBorder:{type:Boolean,default:null},showFallback:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!0},swatchSize:{type:[Number,String],default:null},swatchStyle:{type:[Object,Array],default:function(){}},triggerStyle:{type:[Object,Array],default:function(){}},wrapperStyle:{type:[Object,Array],default:function(){}},value:{type:String,default:null}},data:function(){return{presetBorderRadius:null,presetMaxHeight:null,presetRowLength:null,presetShowBorder:null,presetSwatchSize:null,presetSpacingSize:null,internalValue:this.value,internalIsOpen:!1}},computed:{isNested:function(){return!!(this.computedColors&&this.computedColors.length>0&&this.computedColors[0]instanceof Array)},isOpen:function(){return!this.inline&&this.internalIsOpen},isNoColor:function(){return this.checkEquality("",this.value)},computedColors:function(){return this.colors instanceof Array?this.colors:this.extractSwatchesFromPreset(this.colors)},computedBorderRadius:function(){return null!==this.presetBorderRadius?this.presetBorderRadius:this.borderRadius},computedExceptionMode:function(){return"hidden"===this.exceptionMode||"disabled"===this.exceptionMode?this.exceptionMode:void 0},computedMaxHeight:function(){return null!==this.maxHeight?Number(this.maxHeight):null!==this.presetMaxHeight?this.presetMaxHeight:300},computedRowLength:function(){return null!==this.rowLength?Number(this.rowLength):null!==this.presetRowLength?this.presetRowLength:4},computedSwatchSize:function(){return null!==this.swatchSize?Number(this.swatchSize):null!==this.presetSwatchSize?this.presetSwatchSize:42},computedSpacingSize:function(){return null!==this.presetSpacingSize?this.presetSpacingSize:this.spacingSize},computedShowBorder:function(){return null!==this.showBorder?this.showBorder:null!==this.presetShowBorder&&this.presetShowBorder},borderRadius:function(){return"squares"===this.shapes?Math.round(.25*this.computedSwatchSize)+"px":"circles"===this.shapes?"50%":void 0},spacingSize:function(){return Math.round(.25*this.computedSwatchSize)},wrapperWidth:function(){return this.computedRowLength*(this.computedSwatchSize+this.computedSpacingSize)},computedtriggerStyle:function(){return{width:"42px",height:"42px",backgroundColor:this.value?this.value:"#ffffff",borderRadius:"circles"===this.shapes?"50%":"10px"}},triggerStyles:function(){return[this.computedtriggerStyle,this.triggerStyle]},containerStyle:function(){var t={backgroundColor:this.backgroundColor},e={};return this.inline?t:("right"===this.popoverTo?e={left:0}:"left"===this.popoverTo&&(e={right:0}),i()({},e,t,{maxHeight:this.computedMaxHeight+"px"}))},containerStyles:function(){return[this.containerStyle]},computedWrapperStyle:function(){var t={paddingTop:this.computedSpacingSize+"px",paddingLeft:this.computedSpacingSize+"px"};return this.inline?t:i()({},t,{width:this.wrapperWidth+"px"})},wrapperStyles:function(){return[this.computedWrapperStyle,this.wrapperStyle]},computedFallbackWrapperStyle:function(){var t={marginLeft:this.computedSpacingSize+"px",paddingBottom:this.computedSpacingSize+"px"};return this.inline?t:i()({},t,{width:this.wrapperWidth-this.computedSpacingSize+"px"})},computedFallbackWrapperStyles:function(){return[this.computedFallbackWrapperStyle]}},watch:{value:function(t){this.internalValue=t}},methods:{checkEquality:function(t,e){return!(!t&&""!==t||!e&&""!==e)&&t.toUpperCase()===e.toUpperCase()},checkException:function(t){return-1!==this.exceptions.map((function(t){return t.toUpperCase()})).indexOf(t.toUpperCase())},hidePopover:function(){this.internalIsOpen=!1,this.$el.blur(),this.$emit("close",this.internalValue)},onBlur:function(t){this.isOpen&&(null!==t&&this.$el.contains(t)||(this.internalIsOpen=!1,this.$emit("close",this.internalValue)))},onFallbackButtonClick:function(){this.hidePopover()},showPopover:function(){this.isOpen||this.inline||this.disabled||(this.internalIsOpen=!0,this.$el.focus(),this.$emit("open"))},togglePopover:function(){this.isOpen?this.hidePopover():this.showPopover()},updateSwatch:function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).fromFallbackInput;this.checkException(t)||this.disabled||(this.internalValue=t,this.$emit("input",t),!this.closeOnSelect||this.inline||e||this.hidePopover())},extractSwatchesFromPreset:function(t){var e;return(e=t instanceof Object?t:o[t]).borderRadius&&(this.presetBorderRadius=e.borderRadius),e.maxHeight&&(this.presetMaxHeight=e.maxHeight),e.rowLength&&(this.presetRowLength=e.rowLength),e.showBorder&&(this.presetShowBorder=e.showBorder),e.swatchSize&&(this.presetSwatchSize=e.swatchSize),(0===e.spacingSize||e.spacingSize)&&(this.presetSpacingSize=e.spacingSize),e.swatches}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-swatches",attrs:{tabindex:"0"},on:{blur:function(e){return e.target!==e.currentTarget?null:(n=e,t.onBlur(n.relatedTarget));var n}}},[t.inline?t._e():n("div",{ref:"trigger-wrapper",on:{click:t.togglePopover}},[t._t("trigger",[n("div",{staticClass:"vue-swatches__trigger",class:{"vue-swatches--is-empty":!t.value,"vue-swatches--is-disabled":t.disabled},style:t.triggerStyles},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isNoColor,expression:"isNoColor"}],staticClass:"vue-swatches__diagonal--wrapper vue-swatches--has-children-centered"},[n("div",{staticClass:"vue-swatches__diagonal"})])])])],2),t._v(" "),n("transition",{attrs:{name:"vue-swatches-show-hide"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.inline||t.isOpen,expression:"inline || isOpen"}],staticClass:"vue-swatches__container",class:{"vue-swatches--inline":t.inline},style:t.containerStyles},[n("div",{staticClass:"vue-swatches__wrapper",style:t.wrapperStyles},[t.isNested?t._l(t.computedColors,(function(e,r){return n("div",{key:r,staticClass:"vue-swatches__row"},t._l(e,(function(e){return n("swatch",{key:e,attrs:{"border-radius":t.computedBorderRadius,disabled:t.disabled,"exception-mode":t.computedExceptionMode,"is-exception":t.checkException(e),selected:t.checkEquality(e,t.value),size:t.computedSwatchSize,"spacing-size":t.computedSpacingSize,"show-border":t.computedShowBorder,"show-checkbox":t.showCheckbox,"swatch-color":e,"swatch-style":t.swatchStyle},nativeOn:{click:function(n){t.updateSwatch(e)}}})})))})):t._l(t.computedColors,(function(e){return n("swatch",{key:e,attrs:{"border-radius":t.computedBorderRadius,disabled:t.disabled,"exception-mode":t.computedExceptionMode,"is-exception":t.checkException(e),selected:t.checkEquality(e,t.value),size:t.computedSwatchSize,"spacing-size":t.computedSpacingSize,"show-border":t.computedShowBorder,"show-checkbox":t.showCheckbox,"swatch-color":e,"swatch-style":t.swatchStyle},nativeOn:{click:function(n){t.updateSwatch(e)}}})}))],2),t._v(" "),t.showFallback?n("div",{staticClass:"vue-swatches__fallback__wrapper",style:t.computedFallbackWrapperStyles},[n("span",{staticClass:"vue-swatches__fallback__input--wrapper"},[n("input",{ref:"fallbackInput",staticClass:"vue-swatches__fallback__input",class:t.fallbackInputClass,attrs:{type:t.fallbackInputType},domProps:{value:t.internalValue},on:{input:function(e){return t.updateSwatch(e.target.value,{fromFallbackInput:!0})}}})]),t._v(" "),n("button",{staticClass:"vue-swatches__fallback__button",class:t.fallbackOkClass,on:{click:function(e){return e.preventDefault(),t.onFallbackButtonClick(e)}}},[t._v("\n "+t._s(t.fallbackOkText)+"\n ")])]):t._e()])])],1)}),[],!1,(function(t){n(45)}),null,null).exports;n.d(e,"Swatches",(function(){return s})),e.default=s},,function(t,e,n){},,function(t,e,n){},function(t,e,n){var r=n(7);t.exports=function(t){return Object(r(t))}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!0},function(t,e,n){var r=n(4),i=n(5),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(21)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(22)("keys"),i=n(20);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(6),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(6),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(9),i=n(25),o=n(24);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(10),i=n(9),o=n(26)(!1),a=n(23)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var r=n(28),i=n(19);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){"use strict";var r=n(29),i=n(18),o=n(17),a=n(16),s=n(8),c=Object.assign;t.exports=!c||n(1)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){for(var n=a(t),c=arguments.length,u=1,l=i.f,f=o.f;c>u;)for(var p,d=s(arguments[u++]),h=l?r(d).concat(l(d)):r(d),g=h.length,v=0;g>v;)f.call(d,p=h[v++])&&(n[p]=d[p]);return n}:c},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(3),i=n(5).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){t.exports=!n(2)&&!n(1)((function(){return 7!=Object.defineProperty(n(33)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(3);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(35),i=n(34),o=n(32),a=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)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}},function(t,e,n){var r=n(36),i=n(31);t.exports=n(2)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(38);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,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(5),i=n(4),o=n(39),a=n(37),s=n(10),c=function(t,e,n){var u,l,f,p=t&c.F,d=t&c.G,h=t&c.S,g=t&c.P,v=t&c.B,m=t&c.W,y=d?i:i[e]||(i[e]={}),b=y.prototype,w=d?r:h?r[e]:(r[e]||{}).prototype;for(u in d&&(n=e),n)(l=!p&&w&&void 0!==w[u])&&s(y,u)||(f=l?w[u]:n[u],y[u]=d&&"function"!=typeof w[u]?n[u]:v&&l?o(f,r):m&&w[u]==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):g&&"function"==typeof f?o(Function.call,f):f,g&&((y.virtual||(y.virtual={}))[u]=f,t&c.R&&b&&!b[u]&&a(b,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(40);r(r.S+r.F,"Object",{assign:n(30)})},function(t,e,n){n(41),t.exports=n(4).Object.assign},function(t,e,n){t.exports={default:n(42),__esModule:!0}},,function(t,e,n){}])},"S/j/":function(t,e,n){var r=n("vhPU");t.exports=function(t){return Object(r(t))}},SMB2:function(t,e,n){"use strict";n("OGtf")("bold",(function(t){return function(){return t(this,"b","","")}}))},SPin:function(t,e,n){"use strict";var r=n("XKFU"),i=n("eyMr");r(r.P+r.F*!n("LyE8")([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},SRfc:function(t,e,n){"use strict";var r=n("y3w9"),i=n("ne8i"),o=n("A5AN"),a=n("Xxuz");n("IU+Z")("match",1,(function(t,e,n,s){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var c=r(t),u=String(this);if(!c.global)return a(c,u);var l=c.unicode;c.lastIndex=0;for(var f,p=[],d=0;null!==(f=a(c,u));){var h=String(f[0]);p[d]=h,""===h&&(c.lastIndex=o(u,i(c.lastIndex),l)),d++}return 0===d?null:p}]}))},SlkY:function(t,e,n){var r=n("m0Pp"),i=n("H6hf"),o=n("M6Qj"),a=n("y3w9"),s=n("ne8i"),c=n("J+6e"),u={},l={};(e=t.exports=function(t,e,n,f,p){var d,h,g,v,m=p?function(){return t}:c(t),y=r(n,f,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(d=s(t.length);d>b;b++)if((v=e?y(a(h=t[b])[0],h[1]):y(t[b]))===u||v===l)return v}else for(g=m.call(t);!(h=g.next()).done;)if((v=i(g,y,h.value,e))===u||v===l)return v}).BREAK=u,e.RETURN=l},T1qB:function(t,e,n){(function(t){!function(t){var e=function(){try{return!!Symbol.iterator}catch(t){return!1}}(),n=function(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e&&(n[Symbol.iterator]=function(){return n}),n},r=function(t){return encodeURIComponent(t).replace(/%20/g,"+")},i=function(t){return decodeURIComponent(String(t).replace(/\+/g," "))};(function(){try{var e=t.URLSearchParams;return"a=1"===new e("?a=1").toString()&&"function"==typeof e.prototype.set}catch(t){return!1}})()||function(){var i=function(t){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var e=typeof t;if("undefined"===e);else if("string"===e)""!==t&&this._fromString(t);else if(t instanceof i){var n=this;t.forEach((function(t,e){n.append(e,t)}))}else{if(null===t||"object"!==e)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(t))for(var r=0;re[0]?1:0})),t._entries&&(t._entries={});for(var n=0;n1?i(r[1]):"")}})}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(t){if(function(){try{var e=new t.URL("b","http://a");return e.pathname="c d","http://a/c%20d"===e.href&&e.searchParams}catch(t){return!1}}()||function(){var e=t.URL,n=function(e,n){"string"!=typeof e&&(e=String(e));var r,i=document;if(n&&(void 0===t.location||n!==t.location.href)){(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=n,i.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(t){throw new Error("URL unable to set base "+n+" due to "+t)}}var o=i.createElement("a");if(o.href=e,r&&(i.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var a=new t.URLSearchParams(this.search),s=!0,c=!0,u=this;["append","delete","set"].forEach((function(t){var e=a[t];a[t]=function(){e.apply(a,arguments),s&&(c=!1,u.search=a.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var l=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==l&&(l=this.search,c&&(s=!1,this.searchParams._fromString(this.search),s=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(t){!function(t){Object.defineProperty(r,t,{get:function(){return this._anchorElement[t]},set:function(e){this._anchorElement[t]=e},enumerable:!0})}(t)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(t){this._anchorElement.search=t,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var t=this;return function(){return t.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(t){this._anchorElement.href=t,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(t){this._anchorElement.pathname=t},enumerable:!0},origin:{get:function(){var t={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],e=this._anchorElement.port!=t&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(e?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(t){},enumerable:!0},username:{get:function(){return""},set:function(t){},enumerable:!0}}),n.createObjectURL=function(t){return e.createObjectURL.apply(e,arguments)},n.revokeObjectURL=function(t){return e.revokeObjectURL.apply(e,arguments)},t.URL=n}(),void 0!==t.location&&!("origin"in t.location)){var e=function(){return t.location.protocol+"//"+t.location.hostname+(t.location.port?":"+t.location.port:"")};try{Object.defineProperty(t.location,"origin",{get:e,enumerable:!0})}catch(n){setInterval((function(){t.location.origin=e()}),100)}}}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(this,n("yLpj"))},T39b:function(t,e,n){"use strict";var r=n("wmvG"),i=n("s5qY");t.exports=n("4LiD")("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},TIpR:function(t,e,n){"use strict";n("VRzm"),n("CX2u"),t.exports=n("g3g5").Promise.finally},Tdpu:function(t,e,n){n("7DDg")("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},Tze0:function(t,e,n){"use strict";n("qncB")("trim",(function(t){return function(){return t(this,3)}}))},U2t9:function(t,e,n){var r=n("XKFU"),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},UExd:function(t,e,n){var r=n("nh4g"),i=n("DVgA"),o=n("aCFj"),a=n("UqcF").f;t.exports=function(t){return function(e){for(var n,s=o(e),c=i(s),u=c.length,l=0,f=[];u>l;)n=c[l++],r&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}}},UUeW:function(t,e,n){var r=n("K0xU")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},Ugos:function(t,e,n){"use strict";var r,i,o=n("C/va"),a=RegExp.prototype.exec,s=String.prototype.replace,c=a,u=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(u||l)&&(c=function(t){var e,n,r,i,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",o.call(c))),u&&(e=c.lastIndex),r=a.call(c,t),u&&r&&(c.lastIndex=c.global?r.index+r[0].length:e),l&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;io;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&A(t)}))}},A=function(t){m.call(c,(function(){var e,n,r,i=t._v,o=j(t);if(o&&(e=w((function(){D?S.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=D||j(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){m.call(c,(function(){var e;D?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},R=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw k("Promise can't be resolved itself");(e=T(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,u(N,r,1),u(R,r,1))}catch(t){R.call(r,t)}})):(n._v=t,n._s=1,I(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};P||(F=function(t){h(this,F,"Promise","_h"),d(t),r.call(this);try{t(u(N,this,1),u(R,this,1))}catch(t){R.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("3Lyj")(F.prototype,{then:function(t,e){var n=O(v(this,F));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=D?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(N,t,1),this.reject=u(R,t,1)},b.f=O=function(t){return t===F||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!P,{Promise:F}),n("fyDq")(F,"Promise"),n("elZq")("Promise"),a=n("g3g5").Promise,f(f.S+f.F*!P,"Promise",{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!P),"Promise",{resolve:function(t){return _(s&&this===a?F:this,t)}}),f(f.S+f.F*!(P&&n("XMVh")((function(t){F.all(t).catch(M)}))),"Promise",{all:function(t){var e=this,n=O(e),r=n.resolve,i=n.reject,o=w((function(){var n=[],o=0,a=1;g(t,!1,(function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=O(e),r=n.reject,i=w((function(){g(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},VTer:function(t,e,n){var r=n("g3g5"),i=n("dyZX"),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("LQAc")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},Vd3H:function(t,e,n){"use strict";var r=n("XKFU"),i=n("2OiF"),o=n("S/j/"),a=n("eeVq"),s=[].sort,c=[1,2,3];r(r.P+r.F*(a((function(){c.sort(void 0)}))||!a((function(){c.sort(null)}))||!n("LyE8")(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),i(t))}})},VpUO:function(t,e,n){var r=n("XKFU"),i=n("d/Gc"),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},VsWn:function(t,e,n){n("7PI8"),t.exports=n("WEpk").global},W9dy:function(t,e,n){n("ioFf"),n("hHhE"),n("HAE/"),n("WLL4"),n("mYba"),n("5Pf0"),n("RW0V"),n("JduL"),n("DW2E"),n("z2o2"),n("mura"),n("Zshi"),n("V/DX"),n("FlsD"),n("91GP"),n("25dN"),n("/SS/"),n("Btvt"),n("2Spj"),n("f3/d"),n("IXt9"),n("GNAe"),n("tyy+"),n("xfY5"),n("A2zW"),n("VKir"),n("Ljet"),n("/KAi"),n("fN96"),n("7h0T"),n("sbF8"),n("h/M4"),n("knhD"),n("XfKG"),n("BP8U"),n("fyVe"),n("U2t9"),n("2atp"),n("+auO"),n("MtdB"),n("Jcmo"),n("nzyx"),n("BC7C"),n("x8ZO"),n("9P93"),n("eHKK"),n("BJ/l"),n("pp/T"),n("CyHz"),n("bBoP"),n("x8Yj"),n("hLT2"),n("VpUO"),n("eI33"),n("Tze0"),n("XfO3"),n("oDIu"),n("rvZc"),n("L9s1"),n("FLlr"),n("9VmF"),n("hEkN"),n("nIY7"),n("+oPb"),n("SMB2"),n("0mN4"),n("bDcW"),n("nsiH"),n("0LDn"),n("tUrg"),n("84bF"),n("FEjr"),n("Zz4T"),n("JCqj"),n("eM6i"),n("AphP"),n("jqX0"),n("h7Nl"),n("yM4b"),n("LK8F"),n("HEwt"),n("6AQ9"),n("Nz9U"),n("I78e"),n("Vd3H"),n("8+KV"),n("bWfx"),n("0l/t"),n("dZ+Y"),n("YJVH"),n("DNiP"),n("SPin"),n("V+eJ"),n("mGWK"),n("dE+T"),n("bHtr"),n("dRSK"),n("INYr"),n("0E+W"),n("yt8O"),n("Oyvg"),n("sMXx"),n("a1Th"),n("OEbY"),n("SRfc"),n("pIFo"),n("OG14"),n("KKXr"),n("VRzm"),n("9AAn"),n("T39b"),n("EK0E"),n("wCsR"),n("xm80"),n("Ji/l"),n("sFw1"),n("NO8f"),n("aqI/"),n("Faw5"),n("r1bV"),n("tuSo"),n("nCnK"),n("Y9lz"),n("Tdpu"),n("3xty"),n("I5cv"),n("iMoV"),n("uhZd"),n("f/aN"),n("0YWM"),n("694e"),n("LTTk"),n("9rMk"),n("IlFx"),n("xpiv"),n("oZ/O"),n("klPD"),n("knU9"),t.exports=n("g3g5")},WEpk:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},WLL4:function(t,e,n){var r=n("XKFU");r(r.S+r.F*!n("nh4g"),"Object",{defineProperties:n("FJW5")})},XKFU:function(t,e,n){var r=n("dyZX"),i=n("g3g5"),o=n("Mukb"),a=n("KroJ"),s=n("m0Pp"),c=function(t,e,n){var u,l,f,p,d=t&c.F,h=t&c.G,g=t&c.S,v=t&c.P,m=t&c.B,y=h?r:g?r[e]||(r[e]={}):(r[e]||{}).prototype,b=h?i:i[e]||(i[e]={}),w=b.prototype||(b.prototype={});for(u in h&&(n=e),n)f=((l=!d&&y&&void 0!==y[u])?y:n)[u],p=m&&l?s(f,r):v&&"function"==typeof f?s(Function.call,f):f,y&&a(y,u,f,t&c.U),b[u]!=f&&o(b,u,p),v&&w[u]!=f&&(w[u]=f)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},XMVh:function(t,e,n){var r=n("K0xU")("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},Xbzi:function(t,e,n){var r=n("0/R4"),i=n("i5dc").set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},XfKG:function(t,e,n){var r=n("XKFU"),i=n("11IZ");r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},XfO3:function(t,e,n){"use strict";var r=n("AvRE")(!0);n("Afnz")(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})}))},Xtr8:function(t,e,n){var r=n("XKFU"),i=n("g3g5"),o=n("eeVq");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},Xxuz:function(t,e,n){"use strict";var r=n("I8a+"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},Y7ZC:function(t,e,n){var r=n("5T2Y"),i=n("WEpk"),o=n("2GTP"),a=n("NegM"),s=n("B+OT"),c=function(t,e,n){var u,l,f,p=t&c.F,d=t&c.G,h=t&c.S,g=t&c.P,v=t&c.B,m=t&c.W,y=d?i:i[e]||(i[e]={}),b=y.prototype,w=d?r:h?r[e]:(r[e]||{}).prototype;for(u in d&&(n=e),n)(l=!p&&w&&void 0!==w[u])&&s(y,u)||(f=l?w[u]:n[u],y[u]=d&&"function"!=typeof w[u]?n[u]:v&&l?o(f,r):m&&w[u]==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):g&&"function"==typeof f?o(Function.call,f):f,g&&((y.virtual||(y.virtual={}))[u]=f,t&c.R&&b&&!b[u]&&a(b,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},Y9lz:function(t,e,n){n("7DDg")("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},YC3Q:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.preview-wrapper{\n height:200px;\n width:200px;\n padding:5px;\n}\n.image-preview{\n height:190px;\n width:190px;\n}\n",""])},YJVH:function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(4);r(r.P+r.F*!n("LyE8")([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},YTvA:function(t,e,n){var r=n("VTer")("keys"),i=n("ylqs");t.exports=function(t){return r[t]||(r[t]=i(t))}},Ymqv:function(t,e,n){var r=n("LZWt");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},Yp8f:function(t,e,n){n("6VaU"),t.exports=n("g3g5").Array.flatMap},Z2Ku:function(t,e,n){"use strict";var r=n("XKFU"),i=n("w2a5")(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("nGyu")("includes")},Z6vF:function(t,e,n){var r=n("ylqs")("meta"),i=n("0/R4"),o=n("aagx"),a=n("hswa").f,s=0,c=Object.isExtensible||function(){return!0},u=!n("eeVq")((function(){return c(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return u&&f.NEED&&c(t)&&!o(t,r)&&l(t),t}}},ZD67:function(t,e,n){"use strict";var r=n("3Lyj"),i=n("Z6vF").getWeak,o=n("y3w9"),a=n("0/R4"),s=n("9gX7"),c=n("SlkY"),u=n("CkkT"),l=n("aagx"),f=n("s5qY"),p=u(5),d=u(6),h=0,g=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},m=function(t,e){return p(t.a,(function(t){return t[0]===e}))};v.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var u=t((function(t,r){s(t,u,e,"_i"),t._t=e,t._i=h++,t._l=void 0,null!=r&&c(r,n,t[o],t)}));return r(u.prototype,{delete:function(t){if(!a(t))return!1;var n=i(t);return!0===n?g(f(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=i(t);return!0===n?g(f(this,e)).has(t):n&&l(n,this._i)}}),u},def:function(t,e,n){var r=i(o(e),!0);return!0===r?g(t).set(e,n):r[t._i]=n,t},ufstore:g}},Zshi:function(t,e,n){var r=n("0/R4");n("Xtr8")("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},Zz4T:function(t,e,n){"use strict";n("OGtf")("sub",(function(t){return function(){return t(this,"sub","","")}}))},a1Th:function(t,e,n){"use strict";n("OEbY");var r=n("y3w9"),i=n("C/va"),o=n("nh4g"),a=/./.toString,s=function(t){n("KroJ")(RegExp.prototype,"toString",t,!0)};n("eeVq")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},aCFj:function(t,e,n){var r=n("Ymqv"),i=n("vhPU");t.exports=function(t){return r(i(t))}},"aET+":function(t,e,n){var r,i,o={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=r.apply(this,arguments)),i}),s=function(t,e){return e?e.querySelector(t):document.querySelector(t)},c=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=s.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),u=null,l=0,f=[],p=n("9tPo");function d(t,e){for(var n=0;n=0&&f.splice(e,1)}function m(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return y(e,t.attrs),g(t,e),e}function y(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function b(t,e){var n,r,i,o;if(e.transform&&t.css){if(!(o="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=o}if(e.singleton){var a=l++;n=u||(u=m(e)),r=_.bind(null,n,a,!1),i=_.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",y(e,t.attrs),g(t,e),e}(e),r=S.bind(null,n,e),i=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=m(e),r=k.bind(null,n),i=function(){v(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=h(t,e);return d(n,e),function(t){for(var r=[],i=0;il;)for(var d,h=c(arguments[l++]),g=f?i(h).concat(f(h)):i(h),v=g.length,m=0;v>m;)d=g[m++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:u},"d/Gc":function(t,e,n){var r=n("RYi7"),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},"dE+T":function(t,e,n){var r=n("XKFU");r(r.P,"Array",{copyWithin:n("upKx")}),n("nGyu")("copyWithin")},dRSK:function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("nGyu")("find")},"dZ+Y":function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(3);r(r.P+r.F*!n("LyE8")([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},dasq:function(t,e,n){(function(t){!function(t){"use strict";var e,n=t.URLSearchParams&&t.URLSearchParams.prototype.get?t.URLSearchParams:null,r=n&&"a=1"===new n({a:1}).toString(),i=n&&"+"===new n("s=%2B").get("s"),o=!n||((e=new n).append("s"," &"),"s=+%26"===e.toString()),a=l.prototype,s=!(!t.Symbol||!t.Symbol.iterator);if(!(n&&r&&i&&o)){a.append=function(t,e){g(this.__URLSearchParams__,t,e)},a.delete=function(t){delete this.__URLSearchParams__[t]},a.get=function(t){var e=this.__URLSearchParams__;return t in e?e[t][0]:null},a.getAll=function(t){var e=this.__URLSearchParams__;return t in e?e[t].slice(0):[]},a.has=function(t){return t in this.__URLSearchParams__},a.set=function(t,e){this.__URLSearchParams__[t]=[""+e]},a.toString=function(){var t,e,n,r,i=this.__URLSearchParams__,o=[];for(e in i)for(n=f(e),t=0,r=i[e];ts;)a.push(String(e[s++])),s=0:f>p;p+=d)p in l&&(s=e(s,l[p],p,u));return s}},"f/aN":function(t,e,n){"use strict";var r=n("XKFU"),i=n("y3w9"),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n("QaDb")(o,"Object",(function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},"f3/d":function(t,e,n){var r=n("hswa").f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n("nh4g")&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},fA63:function(t,e,n){"use strict";n("qncB")("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},fN96:function(t,e,n){var r=n("XKFU");r(r.S,"Number",{isInteger:n("nBIS")})},fyDq:function(t,e,n){var r=n("hswa").f,i=n("aagx"),o=n("K0xU")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},fyVe:function(t,e,n){var r=n("XKFU"),i=n("1sa7"),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},g2aq:function(t,e,n){"use strict";n("W9dy"),n("FDph"),n("Yp8f"),n("wYy3"),n("QNwp"),n("Izvi"),n("ln0Z"),n("wDwx"),n("+Xmh"),n("zFFn"),n("JbTB"),n("TIpR"),n("FxUG"),n("ls82")},g3g5:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},g4EE:function(t,e,n){"use strict";var r=n("y3w9"),i=n("apmT");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},g6HL:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},gHnn:function(t,e,n){var r=n("dyZX"),i=n("GZEu").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n("LZWt")(a);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,p=document.createTextNode("");new o(u).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},"h/M4":function(t,e,n){var r=n("XKFU");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},h7Nl:function(t,e,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n("KroJ")(r,"toString",(function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"}))},hEkN:function(t,e,n){"use strict";n("OGtf")("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},hHhE:function(t,e,n){var r=n("XKFU");r(r.S,"Object",{create:n("Kuth")})},hLT2:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},hPIQ:function(t,e){t.exports={}},hfxi:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.preview-wrapper{\n height:200px;\n width:200px;\n padding:5px;\n}\n.image-preview{\n height:190px;\n width:190px;\n}\n",""])},hhXQ:function(t,e,n){var r=n("XKFU"),i=n("UExd")(!1);r(r.S,"Object",{values:function(t){return i(t)}})},hswa:function(t,e,n){var r=n("y3w9"),i=n("xpql"),o=n("apmT"),a=Object.defineProperty;e.f=n("nh4g")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)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}},i5dc:function(t,e,n){var r=n("0/R4"),i=n("y3w9"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n("m0Pp")(Function.call,n("EemH").f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},iMoV:function(t,e,n){var r=n("hswa"),i=n("XKFU"),o=n("y3w9"),a=n("apmT");i(i.S+i.F*n("eeVq")((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},ioFf:function(t,e,n){"use strict";var r=n("dyZX"),i=n("aagx"),o=n("nh4g"),a=n("XKFU"),s=n("KroJ"),c=n("Z6vF").KEY,u=n("eeVq"),l=n("VTer"),f=n("fyDq"),p=n("ylqs"),d=n("K0xU"),h=n("N8g3"),g=n("OnI7"),v=n("1MBn"),m=n("EWmC"),y=n("y3w9"),b=n("0/R4"),w=n("S/j/"),x=n("aCFj"),_=n("apmT"),k=n("RjD/"),S=n("Kuth"),C=n("e7yV"),E=n("EemH"),F=n("JiEa"),D=n("hswa"),M=n("DVgA"),O=E.f,P=D.f,T=C.f,I=r.Symbol,A=r.JSON,j=A&&A.stringify,L=d("_hidden"),R=d("toPrimitive"),N={}.propertyIsEnumerable,U=l("symbol-registry"),V=l("symbols"),B=l("op-symbols"),K=Object.prototype,X="function"==typeof I&&!!F.f,z=r.QObject,Y=!z||!z.prototype||!z.prototype.findChild,W=o&&u((function(){return 7!=S(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=O(K,e);r&&delete K[e],P(t,e,n),r&&t!==K&&P(K,e,r)}:P,H=function(t){var e=V[t]=S(I.prototype);return e._k=t,e},q=X&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},$=function(t,e,n){return t===K&&$(B,e,n),y(t),e=_(e,!0),y(n),i(V,e)?(n.enumerable?(i(t,L)&&t[L][e]&&(t[L][e]=!1),n=S(n,{enumerable:k(0,!1)})):(i(t,L)||P(t,L,k(1,{})),t[L][e]=!0),W(t,e,n)):P(t,e,n)},G=function(t,e){y(t);for(var n,r=v(e=x(e)),i=0,o=r.length;o>i;)$(t,n=r[i++],e[n]);return t},Z=function(t){var e=N.call(this,t=_(t,!0));return!(this===K&&i(V,t)&&!i(B,t))&&(!(e||!i(this,t)||!i(V,t)||i(this,L)&&this[L][t])||e)},J=function(t,e){if(t=x(t),e=_(e,!0),t!==K||!i(V,e)||i(B,e)){var n=O(t,e);return!n||!i(V,e)||i(t,L)&&t[L][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=T(x(t)),r=[],o=0;n.length>o;)i(V,e=n[o++])||e==L||e==c||r.push(e);return r},tt=function(t){for(var e,n=t===K,r=T(n?B:x(t)),o=[],a=0;r.length>a;)!i(V,e=r[a++])||n&&!i(K,e)||o.push(V[e]);return o};X||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===K&&e.call(B,n),i(this,L)&&i(this[L],t)&&(this[L][t]=!1),W(this,t,k(1,n))};return o&&Y&&W(K,t,{configurable:!0,set:e}),H(t)}).prototype,"toString",(function(){return this._k})),E.f=J,D.f=$,n("kJMx").f=C.f=Q,n("UqcF").f=Z,F.f=tt,o&&!n("LQAc")&&s(K,"propertyIsEnumerable",Z,!0),h.f=function(t){return H(d(t))}),a(a.G+a.W+a.F*!X,{Symbol:I});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=M(d.store),it=0;rt.length>it;)g(rt[it++]);a(a.S+a.F*!X,"Symbol",{for:function(t){return i(U,t+="")?U[t]:U[t]=I(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in U)if(U[e]===t)return e},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),a(a.S+a.F*!X,"Object",{create:function(t,e){return void 0===e?S(t):G(S(t),e)},defineProperty:$,defineProperties:G,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var ot=u((function(){F.f(1)}));a(a.S+a.F*ot,"Object",{getOwnPropertySymbols:function(t){return F.f(w(t))}}),A&&a(a.S+a.F*(!X||u((function(){var t=I();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!q(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!q(e))return e}),r[1]=e,j.apply(A,r)}}),I.prototype[R]||n("Mukb")(I.prototype,R,I.prototype.valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"jl8+":function(t,e,n){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=60)}([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)},function(t,e,n){var r=n(49)("wks"),i=n(30),o=n(0).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(0),i=n(10),o=n(8),a=n(6),s=n(11),c=function(t,e,n){var u,l,f,p,d=t&c.F,h=t&c.G,g=t&c.S,v=t&c.P,m=t&c.B,y=h?r:g?r[e]||(r[e]={}):(r[e]||{}).prototype,b=h?i:i[e]||(i[e]={}),w=b.prototype||(b.prototype={});for(u in h&&(n=e),n)f=((l=!d&&y&&void 0!==y[u])?y:n)[u],p=m&&l?s(f,r):v&&"function"==typeof f?s(Function.call,f):f,y&&a(y,u,f,t&c.U),b[u]!=f&&o(b,u,p),v&&w[u]!=f&&(w[u]=f)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){t.exports=!n(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(0),i=n(8),o=n(12),a=n(30)("src"),s=Function.toString,c=(""+s).split("toString");n(10).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(u&&(o(n,a)||i(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(13),i=n(25);t.exports=n(4)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(14);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,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(2),i=n(41),o=n(29),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)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}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var r=n(23),i=n(16);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(53),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(11),i=n(23),o=n(28),a=n(19),s=n(64);t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,p=5==t||f,d=e||s;return function(e,s,h){for(var g,v,m=o(e),y=i(m),b=r(s,h,3),w=a(y.length),x=0,_=n?d(e,w):c?d(e,0):void 0;w>x;x++)if((p||x in y)&&(v=b(g=y[x],x,m),t))if(n)_[x]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:_.push(g)}else if(l)return!1;return f?-1:u||l?l:_}}},function(t,e,n){var r=n(5),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(9);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(13).f,i=n(12),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(49)("keys"),i=n(30);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(0),i=n(12),o=n(9),a=n(67),s=n(29),c=n(7),u=n(77).f,l=n(45).f,f=n(13).f,p=n(51).trim,d=r.Number,h=d,g=d.prototype,v="Number"==o(n(44)(g)),m="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,i,o=(e=m?e.trim():p(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,c=e.slice(2),u=0,l=c.length;ui)return NaN;return parseInt(c,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(v?c((function(){g.valueOf.call(n)})):"Number"!=o(n))?a(new h(y(e)),n,d):y(e)};for(var b,w=n(4)?u(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)i(h,b=w[x])&&!i(d,b)&&f(d,b,l(h,b));d.prototype=g,g.constructor=d,n(6)(r,"Number",d)}},function(t,e,n){"use strict";function r(t){return!(0===t||(!Array.isArray(t)||0!==t.length)&&t)}function i(t,e,n,r){return t.filter((function(t){return function(t,e){return void 0===t&&(t="undefined"),null===t&&(t="null"),!1===t&&(t="false"),-1!==t.toString().toLowerCase().indexOf(e.trim())}(r(t,n),e)}))}function o(t){return t.filter((function(t){return!t.$isLabel}))}function a(t,e){return function(n){return n.reduce((function(n,r){return r[t]&&r[t].length?(n.push({$groupLabel:r[e],$isLabel:!0}),n.concat(r[t])):n}),[])}}function s(t,e,r,o,a){return function(s){return s.map((function(s){var c;if(!s[r])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var u=i(s[r],t,e,a);return u.length?(c={},n.i(p.a)(c,o,s[o]),n.i(p.a)(c,r,u),c):[]}))}}var c=n(59),u=n(54),l=(n.n(u),n(95)),f=(n.n(l),n(31)),p=(n.n(f),n(58)),d=n(91),h=(n.n(d),n(98)),g=(n.n(h),n(92)),v=(n.n(g),n(88)),m=(n.n(v),n(97)),y=(n.n(m),n(89)),b=(n.n(y),n(96)),w=(n.n(b),n(93)),x=(n.n(w),n(90)),_=(n.n(x),function(){for(var t=arguments.length,e=new Array(t),n=0;n-1},isSelected:function(t){var e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled:function(t){return!!t.$isDisabled},getOptionLabel:function(t){if(r(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;var e=this.customLabel(t,this.label);return r(e)?"":e},select:function(t,e){if(t.$isLabel&&this.groupSelect)this.selectGroup(t);else if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isDisabled||t.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==e||this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.$emit("select",t,this.id),this.multiple?this.$emit("input",this.internalValue.concat([t]),this.id):this.$emit("input",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(t){var e=this,n=this.options.find((function(n){return n[e.groupLabel]===t.$groupLabel}));if(n)if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);var r=this.internalValue.filter((function(t){return-1===n[e.groupValues].indexOf(t)}));this.$emit("input",r,this.id)}else{var i=n[this.groupValues].filter((function(t){return!(e.isOptionDisabled(t)||e.isSelected(t))}));this.$emit("select",i,this.id),this.$emit("input",this.internalValue.concat(i),this.id)}},wholeGroupSelected:function(t){var e=this;return t[this.groupValues].every((function(t){return e.isSelected(t)||e.isOptionDisabled(t)}))},wholeGroupDisabled:function(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled&&!t.$isDisabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var r="object"===n.i(c.a)(t)?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.$emit("remove",t,this.id),this.multiple){var i=this.internalValue.slice(0,r).concat(this.internalValue.slice(r+1));this.$emit("input",i,this.id)}else this.$emit("input",null,this.id);this.closeOnSelect&&e&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var t=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick((function(){return t.$refs.search.focus()}))):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}}}},function(t,e,n){"use strict";var r=n(54),i=(n.n(r),n(31));n.n(i),e.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight:function(t,e){var n=this;if(!this.groupSelect)return["multiselect__option--group","multiselect__option--disabled"];var r=this.options.find((function(t){return t[n.groupLabel]===e.$groupLabel}));return r&&!this.wholeGroupDisabled(r)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(r)}]:"multiselect__option--disabled"},addPointerElement:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter",e=t.key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward:function(){this.pointer0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(t){this.pointer=t,this.pointerDirty=!0}}}},function(t,e,n){"use strict";var r=n(36),i=n(74),o=n(15),a=n(18);t.exports=n(72)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r=n(31),i=(n.n(r),n(32)),o=n(33);e.a={name:"vue-multiselect",mixins:[i.a,o.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(t){return"and ".concat(t," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.searchable||this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(t,e,n){var r=n(1)("unscopables"),i=Array.prototype;null==i[r]&&n(8)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(18),i=n(19),o=n(85);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(9),i=n(1)("toStringTag"),o="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),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){"use strict";var r=n(2);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}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){t.exports=!n(4)&&!n(7)((function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(9);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=i(e),this.reject=i(n)}var i=n(14);t.exports.f=function(t){return new r(t)}},function(t,e,n){var r=n(2),i=n(76),o=n(22),a=n(27)("IE_PROTO"),s=function(){},c=function(){var t,e=n(21)("iframe"),r=o.length;for(e.style.display="none",n(40).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("