2FAuth/public/js/app.js
2022-07-18 15:42:00 +02:00

2 lines
784 KiB
JavaScript
Vendored
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see app.js.LICENSE.txt */
(self.webpackChunk=self.webpackChunk||[]).push([[773],{806:e=>{e.exports={de:{auth:{failed:"Diese Kombination aus Zugangsdaten wurde nicht in unserer Datenbank gefunden.",password:"Das Passwort ist falsch.",throttle:"Zu viele Loginversuche. Versuchen Sie es bitte in :seconds Sekunden nochmal.",sign_out:"Abmelden",sign_in:"Anmelden",sign_in_using:"Anmelden mit",login_and_password:"benutzername & passwort",register:"Registrieren",welcome_back_x:"Willkommen zurück, {0}",autolock_triggered:"Auto lock triggered",autolock_triggered_punchline:"The event watched by the Auto Lock feature has fired. You've been automatically disconnected.",change_autolock_in_settings:"You can change the behavior of the Autolock feature in Settings > Options tab.",already_authenticated:"Bereits angemeldet",authentication:"Authentication",maybe_later:"Vielleicht später",user_account_controlled_by_proxy:"User account made available by an authentication proxy.<br />Manage the account at proxy level.",auth_handled_by_proxy:"Authentication handled by a reverse proxy, below settings are disabled.<br />Manage authentication at proxy level.",confirm:{logout:"Sind Sie sicher, dass Sie sich abmelden möchten?",revoke_device:"Are you sure you want to revoke this device?",delete_account:"Are you sure you want to delete your account?"},webauthn:{security_device:"a security device",security_devices:"Security devices",security_devices_legend:"Authentication devices you can use to sign in 2FAuth, like security keys (i.e Yubikey) or smartphones with biometric capabilities (i.e. Apple FaceId/TouchId)",enhance_security_using_webauthn:"You can enhance the security of your 2FAuth account by enabling WebAuthn authentication.<br /><br />\n WebAuthn allows you to use trusted devices (like Yubikeys or smartphones with biometric capabilities) to sign in quickly and more securely.",use_security_device_to_sign_in:"Get ready to authenticate using (one of) your security devices. Plug your key in, remove face mask or gloves, etc.",lost_your_device:"Lost your device?",recover_your_account:"Recover your account",account_recovery:"Account recovery",recovery_punchline:"2FAuth will send you a recovery link to this email address. Click the link in the received email to register a new security device.<br /><br />Ensure you open the email on a device you fully own.",send_recovery_link:"Send recovery link",account_recovery_email_sent:"Account recovery email sent!",disable_all_other_devices:"Disable all other devices except this one",register_a_new_device:"Register a new device",device_successfully_registered:"Device successfully registered",device_revoked:"Device successfully revoked",revoking_a_device_is_permanent:"Revoking a device is permanent",recover_account_instructions:"Click the button below to register a new security device to recover your account. Just follow your browser instructions.",invalid_recovery_token:"Invalid recovery token",rename_device:"Rename device",my_device:"My device",unknown_device:"Unknown device",use_webauthn_only:{label:"Use WebAuthn only",help:"Make WebAuthn the only available method to sign in 2FAuth. This is the recommended setup to take advantage of the WebAuthn enhanced security.<br />\n In case of device lost you will always be able to register a new security device to recover your account."},need_a_security_device_to_enable_options:"Set at least one device to enable these options",use_webauthn_as_default:{label:"Use WebAuthn as default sign in method",help:"Set the 2FAuth sign in form to propose the WebAuthn authentication at first. The Login/password method is then available as an alternative/fallback solution.<br />\n This has no effect if you only use WebAuthn."}},forms:{name:"Name",login:"Anmeldung",webauthn_login:"WebAuthn login",email:"E-Mail",password:"Passwort",confirm_password:"Passwort bestätigen",confirm_new_password:"Neues Passwort bestätigen",dont_have_account_yet:"Sie haben noch keinen Account?",already_register:"Schon registriert?",authentication_failed:"Authentication failed",forgot_your_password:"Passwort vergessen?",request_password_reset:"Zurücksetzen",reset_password:"Password zurücksetzen",disabled_in_demo:"Feature disabled in Demo mode",new_password:"Neues Passwort",current_password:{label:"Aktuelles Passwort",help:"Geben Sie Ihr aktuelles Passwort ein, um zu bestätigen, dass Sie es sind"},change_password:"Passwort ändern",send_password_reset_link:"Link zum Zurücksetzen des Passworts senden",password_successfully_changed:"Passwort erfolgreich geändert",edit_account:"Account bearbeiten",profile_saved:"Profil erfolgreich aktualisiert!",welcome_to_demo_app_use_those_credentials:"Welcome to the 2FAuth demo.<br><br>You can connect using the email address <strong>demo@2fauth.app</strong> and the password <strong>demo</strong>",welcome_to_testing_app_use_those_credentials:"Welcome to the 2FAuth testing instance.<br><br>Use email address <strong>testing@2fauth.app</strong> and password <strong>password</strong>",register_punchline:"Willkommen bei 2FAuth.<br/>Du benötigst einen Account, um weiterzumachen. Füllen Sie dieses Formular aus, um sich zu registrieren, und wählen Sie bitte ein starkes Passwort, denn 2FA-Daten sind sensibel.",reset_punchline:"2FAuth sendet Ihnen einen Link zum Zurücksetzen des Passworts an diese Adresse. Klicken Sie auf den Link in der erhaltenen E-Mail, um ein neues Passwort festzulegen.",name_this_device:"Name this device",delete_account:"Delete account",delete_your_account:"Delete your account",delete_your_account_and_reset_all_data:"This will reset 2FAuth. Your user account will be deleted as well as all 2FA data. There is no going back.",user_account_successfully_deleted:"User account successfully deleted"}},commons:{cancel:"Abbrechen",update:"Aktualisieren",copy:"Copy",copy_to_clipboard:"In die Zwischenablage kopieren",copied_to_clipboard:"In die Zwischenablage kopiert",profile:"Profil",edit:"Bearbeiten",delete:"Löschen",disable:"Disable",enable:"Enable",create:"Erstellen",save:"Speichern",close:"Schließen",demo_do_not_post_sensitive_data:"Dies ist eine Demo-App, veröffentlichen Sie keine sensiblen Daten",testing_do_not_post_sensitive_data:"This is a testing app, do not post any sensitive data",selected:"ausgewählt",name:"Name",manage:"Verwalten",done:"Fertig",new:"Neu",back:"Zurück",move:"Verschieben",all:"Alle",rename:"Umbenennen",new_name:"New name",options:"Einstellungen",reload:"Aktualisieren",some_data_have_changed:"Einige Daten haben sich geändert. Sie sollten diese Seite",generate:"Generate",open_in_browser:"Open in browser",continue:"Continue",discard:"Discard"},errors:{resource_not_found:"Resource nicht gefunden",error_occured:"Ein Fehler ist aufgetreten:",cannot_register_more_user:"Sie können nicht mehr als einen Benutzer registrieren.",refresh:"Aktualisieren",no_valid_otp:"Keine gültige OTP-Ressource in diesem QR-Code",something_wrong_with_server:"Etwas stimmt mit Ihrem Server nicht",Unable_to_decrypt_uri:"URI konnte nicht entschlüsselt werden",not_a_supported_otp_type:"Dieses OTP-Format wird derzeit nicht unterstützt",cannot_create_otp_without_secret:"Das OTP kann nicht ohne Geheimnis erstellt werden",data_of_qrcode_is_not_valid_URI:"The data of this QR code is not a valid OTP Auth URI:",wrong_current_password:"Aktuelles Passwort falsch, nichts wurde geändert",error_during_encryption:"Verschlüsselung fehlgeschlagen, Ihre Datenbank bleibt ungeschützt.",error_during_decryption:"Entschlüsselung fehlgeschlagen, Ihre Datenbank bleibt geschützt. Dies wird hauptsächlich durch eine Integritätsproblem verschlüsselter Daten für ein oder mehrere Konten verursacht.",qrcode_cannot_be_read:"Dieser QR-Code ist unlesbar",too_many_ids:"too many ids were included in the query parameter, max 100 allowed",delete_user_setting_only:"Only user-created setting can be deleted",indecipherable:"*indecipherable*",cannot_decipher_secret:"The secret cannot be deciphered. This is mainly caused by a wrong APP_KEY set in the .env configuration file of 2Fauth or a corrupted data stored in database.",https_required:"HTTPS context required",browser_does_not_support_webauthn:"Your device does not support webauthn. Try again later using a more modern browser",aborted_by_user:"Aborted by user",security_device_unsupported:"Security device unsupported",unsupported_with_reverseproxy:"Not applicable when using an auth proxy",user_deletion_failed:"User account deletion failed, no data have been deleted",auth_proxy_failed:"Proxy authentication failed",auth_proxy_failed_legend:"2Fauth is configured to run behind an authentication proxy but your proxy does not return the expected header. Check your configuration and try again.",invalid_google_auth_migration:"Invalid or unreadable Google Authenticator data",unsupported_otp_type:"Unsupported OTP type"},groups:{groups:"Gruppen",create_group:"Create new group",select_accounts_to_show:"Konten zum Anzeigen auswählen",manage_groups:"Gruppen verwalten",active_group:"Aktive Gruppe",manage_groups_legend:'Sie können Gruppen erstellen, um Ihre Konten so zu organisieren, wie Sie wollen. Alle Konten bleiben in der Pseudo-Gruppe mit dem Namen "Alle" sichtbar, unabhängig davon, zu welcher Gruppe sie gehören.',deleting_group_does_not_delete_accounts:"Konten bleiben beim Löschen der Gruppe erhalten",move_selected_to:"Ausgewählte verschieben",no_group:"Keine Gruppe",forms:{new_group:"Neue Gruppe",new_name:"Neuer Name",rename_group:"Gruppe umbenennen"},confirm:{delete:"Sind Sie sicher, dass Sie diese Gruppe löschen möchten?"}},languages:{browser_preference:"Browser preference",en:"Englisch",fr:"Französisch",de:"Deutsch"},pagination:{previous:"&laquo; Zurück",next:"Weiter &raquo;"},passwords:{reset:"Das Passwort wurde zurückgesetzt!",sent:"Passworterinnerung wurde gesendet!",throttled:"Bitte warten Sie, bevor Sie es erneut versuchen.",token:"Der Passwort-Wiederherstellungs-Schlüssel ist ungültig oder abgelaufen.",user:"Es konnte leider kein Nutzer mit dieser E-Mail-Adresse gefunden werden.",password:"Passwörter müssen mindestens acht Zeichen lang sein und mit der Bestätigung übereinstimmen."},settings:{settings:"Einstellungen",account:"Account",oauth:"OAuth",webauthn:"WebAuthn",tokens:"Tokens",options:"Einstellungen",confirm:{revoke:"Are you sure you want to revoke this token?"},general:"Allgemein",security:"Sicherheit",profile:"Profile",change_password:"Change password",personal_access_tokens:"Personal access tokens",token_legend:"Personal Access Tokens allow any app to authenticate to the 2Fauth API. You should specify the access token as a Bearer token in the authorization header of consumer apps requests.",generate_new_token:"Generate a new token",revoke:"Revoke",token_revoked:"Token successfully revoked",revoking_a_token_is_permanent:"Revoking a token is permanent",make_sure_copy_token:"Make sure to copy your personal access token now. You wont be able to see it again!",data_input:"Daten-Eingabe",forms:{edit_settings:"Einstellungen bearbeiten",setting_saved:"Einstellungen gespeichert",new_token:"New token",some_translation_are_missing:"Some translations are missing using the browser preferred language?",help_translate_2fauth:"Help translate 2FAuth",language:{label:"Sprache",help:"Language used to translate the 2FAuth user interface. Named languages are complete, set the one of your choice to override your browser preference."},show_otp_as_dot:{label:"Show generated one-time passwords as dot",help:"Replace generated password caracters with *** to ensure confidentiality. Do not affect the copy/paste feature."},close_otp_on_copy:{label:"Close OTP after copy",help:"Automatically close the popup showing the generated password after it has been copied"},use_basic_qrcode_reader:{label:"Benutze den einfachen QR-Codeleser",help:"Wenn bei der Erfassung von QR-Codes Probleme auftreten können Sie mit dieser Option zu einem einfacheren, aber zuverlässigeren QR-Codeleser wechseln"},display_mode:{label:"Anzeigemodus",help:"Wählen Sie, ob Konten als Liste oder als Raster angezeigt werden sollen"},grid:"Raster",list:"Liste",show_accounts_icons:{label:"Symbole anzeigen",help:"Kontosymbole in der Hauptansicht anzeigen"},auto_lock:{label:"Automatische Sperrung",help:"Log out the user automatically in case of inactivity. Has no effect when authentication is handled by a proxy and no custom logout url is specified."},use_encryption:{label:"Sensible Daten schützen",help:"Vertrauliche Daten, die 2FA-Geheimnisse und E-Mails, werden verschlüsselt in der Datenbank gespeichert. Erstellen Sie ein Backup von der APP_KEY Variablen in der .env Datei (oder der gesamten Datei), da sie als Schlüssel zur gesicherten Datenbank dient. Es gibt keine Möglichkeit, verschlüsselte Daten ohne diesen Schlüssel zu wiederherzustellen."},default_group:{label:"Standardgruppe",help:"Die Gruppe, der neu erstellte Konten zugeordnet werden"},useDirectCapture:{label:"Direkteingabe",help:"Wählen Sie aus, ob Sie einen Eingabemodus unter den Verfügbaren wählen möchten oder ob Sie direkt den Standard-Eingabemodus verwenden möchten"},defaultCaptureMode:{label:"Standard-Eingabemodus",help:"Standard-Eingabemodus, der verwendet wird, falls die Direkteingabe aktiviert ist"},remember_active_group:{label:"Gruppenfilter merken",help:"Speichert den letzten Gruppenfilter und stellt ihn bei Ihrem nächsten Besuch wieder her"},never:"Niemals",on_otp_copy:"On security code copy","1_minutes":"Nach 1 Minute","5_minutes":"Nach 5 Minuten","10_minutes":"Nach 10 Minuten","15_minutes":"Nach 15 Minuten","30_minutes":"Nach 30 Minuten","1_hour":"Nach 1 Stunde","1_day":"Nach 1 Tag",livescan:"QR-Code scannen",upload:"QR-Code hochladen",advanced_form:"Erweitertes Formular"}},titles:{404:"Item not found",start:"New account",capture:"Flash QR",accounts:"Accounts",createAccount:"Create account",importAccounts:"Import accounts",editAccount:"Account edit",showQRcode:"Account as QR code",groups:"Groups",createGroup:"Create group",editGroup:"Group edit",settings:{options:"Options",account:"User account",oauth:{tokens:"OAuth tokens",generatePAT:"New personal token"},webauthn:{editCredential:"Device edit",devices:"WebAuthn devices"}},login:"Login",register:"Register",autolock:"Auto lock",password:{request:"Reset password",reset:"New password"},webauthn:{lost:"Account recovery",recover:"Register a new device"},flooded:"Flood",genericError:"Error"},twofaccounts:{service:"Dienst",account:"Benutzerkonto",accounts:"Benutzerkonten",icon:"Symbol",no_account_here:"Noch keine 2FA!",add_first_account:"Erstes Konto hinzufügen",use_full_form:"Oder nutzen Sie das vollständige Formular",add_one:"Konto hinzufügen",show_qrcode:"QR-Code anzeigen",no_service:"- no service -",forms:{service:{placeholder:"beispiel.de"},account:{placeholder:"Max Mustermann"},new_account:"Neues Konto",edit_account:"Konto bearbeiten",otp_uri:"OTP Uri",scan_qrcode:"QR-Code scannen",upload_qrcode:"QR-Code hochladen",use_advanced_form:"Erweitertes Formular verwenden",prefill_using_qrcode:"Mit einem QR-Code ausfüllen",use_qrcode:{val:"QR-Code verwenden",title:"Verwenden Sie einen QR-Code, um das Formular auszufüllen"},unlock:{val:"Entsperren",title:"Entsperren (auf eigene Gefahr)"},lock:{val:"Sperren",title:"Sperren"},choose_image:"Bild auswählen…",test:"Test",secret:{label:"Geheimnis",help:"Der Schlüssel, der zur Generierung Ihrer Sicherheitscodes verwendet wird"},plain_text:"Klartext",otp_type:{label:"Wählen Sie die Art des zu erstellenden OTP",help:"Zeit- oder HMAC-basiertes OTP"},digits:{label:"Ziffern",help:"Die Anzahl der Ziffern der generierten Sicherheitscodes"},algorithm:{label:"Algorithmus",help:"Der Algorithmus, der zur Sicherung Ihrer Sicherheitscodes verwendet wird"},period:{label:"Period",placeholder:"Default is 30",help:"The period of validity of the generated security codes in second"},counter:{label:"Counter",placeholder:"Default is 0",help:"The initial counter value",help_lock:"It is risky to edit the counter as you can desynchronize the account with the verification server of the service. Use the lock icon to enable modification, but only if you know for you are doing"},image:{label:"Image",placeholder:"http://...",help:"The url of an external image to use as the account icon"},options_help:"Sie können die folgenden Einstellungen leer lassen, wenn Sie nicht wissen, wie Sie sie einstellen. In dem Fall werden die Standardwerte verwendet.",alternative_methods:"Alternative Methoden"},stream:{live_scan_cant_start:"Der Live-Scan kann nicht gestartet werden :(",need_grant_permission:{reason:"2FAuth hat keine Berechtigung auf Ihre Kamera zuzugreifen",solution:"Sie müssen die Erlaubnis erteilen, um Ihre Gerätekamera zu verwenden. Falls Sie bereits verweigert haben und Ihr Browser Sie nicht erneut anfragt, verweisen Sie bitte auf die Browser-Dokumentation, um herauszufinden, wie Sie die Erlaubnis erteilen können."},not_readable:{reason:"Fehler beim Laden des Scanners",solution:"Wird die Kamera bereits verwendet? Stellen Sie sicher, dass keine andere App Ihre Kamera verwendet und versuchen Sie es erneut"},no_cam_on_device:{reason:"Keine Kamera in diesem Gerät",solution:"Maybe you forgot to plug in your webcam"},secured_context_required:{reason:"Sichere Umgebung erforderlich",solution:"HTTPS wird für den Live-Scan benötigt. Wenn Sie 2FAuth auf Ihrem Computer ausführen, verwenden Sie nur localhost und keinen anderen virtuellen Host"},https_required:"HTTPS für Kamera-Übertragung erforderlich",camera_not_suitable:{reason:"Die verbauten Kameras sind nicht geeignet",solution:"Bitte verwenden Sie ein anderes Gerät/Kamera"},stream_api_not_supported:{reason:"Stream API wird von diesem Browser nicht unterstützt",solution:"Sie sollten einen modernen Browser verwenden"}},confirm:{delete:"Sind Sie sicher, dass Sie dieses Konto löschen möchten?",cancel:"Das Konto wird gelöscht. Sind Sie sicher?",discard:"Are you sure you want to discard this account?",discard_all:"Are you sure you want to discard all accounts?",discard_duplicates:"Are you sure you want to discard all duplicates?"},import:{import:"Import",to_import:"Import",import_legend:"Import your Google Authenticator accounts.",use_the_gauth_qr_code:"Load a G-Auth QR code",issuer:"Issuer",imported:"Imported",failure:"Failure",x_valid_accounts_found:"{count} valid accounts found",import_all:"Import all",import_this_account:"Import this account",discard_all:"Discard all",discard_duplicates:"Discard duplicates",discard_this_account:"Discard this account",generate_a_test_password:"Generate a test pasword",possible_duplicate:"An account with the exact same data already exists"}},validation:{accepted:":attribute muss akzeptiert werden.",accepted_if:"The :attribute must be accepted when :other is :value.",active_url:":attribute ist keine gültige Internet-Adresse.",after:":attribute muss ein Datum nach dem :date sein.",after_or_equal:":attribute muss ein Datum nach dem :date oder gleich dem :date sein.",alpha:":attribute darf nur aus Buchstaben bestehen.",alpha_dash:":attribute darf nur aus Buchstaben, Zahlen, Binde- und Unterstrichen bestehen.",alpha_num:":attribute darf nur aus Buchstaben und Zahlen bestehen.",array:":attribute muss ein Array sein.",before:":attribute muss ein Datum vor dem :date sein.",before_or_equal:":attribute muss ein Datum vor dem :date oder gleich dem :date sein.",between:{numeric:":attribute muss zwischen :min & :max liegen.",file:":attribute muss zwischen :min & :max Kilobytes groß sein.",string:":attribute muss zwischen :min & :max Zeichen lang sein.",array:":attribute muss zwischen :min & :max Elemente haben."},boolean:":attribute muss entweder 'true' oder 'false' sein.",confirmed:":attribute stimmt nicht mit der Bestätigung überein.",current_password:"The password is incorrect.",date:":attribute muss ein gültiges Datum sein.",date_equals:":attribute muss ein Datum gleich :date sein.",date_format:":attribute entspricht nicht dem gültigen Format für :format.",declined:"The :attribute must be declined.",declined_if:"The :attribute must be declined when :other is :value.",different:":attribute und :other müssen sich unterscheiden.",digits:":attribute muss :digits Stellen haben.",digits_between:":attribute muss zwischen :min und :max Stellen haben.",dimensions:":attribute hat ungültige Bildabmessungen.",distinct:":attribute beinhaltet einen bereits vorhandenen Wert.",email:":attribute muss eine gültige E-Mail-Adresse sein.",ends_with:":attribute muss eine der folgenden Endungen aufweisen: :values",exists:"Der gewählte Wert für :attribute ist ungültig.",file:":attribute muss eine Datei sein.",filled:":attribute muss ausgefüllt sein.",gt:{numeric:":attribute muss größer als :value sein.",file:":attribute muss größer als :value Kilobytes sein.",string:":attribute muss länger als :value Zeichen sein.",array:":attribute muss mehr als :value Elemente haben."},gte:{numeric:":attribute muss größer oder gleich :value sein.",file:":attribute muss größer oder gleich :value Kilobytes sein.",string:":attribute muss mindestens :value Zeichen lang sein.",array:":attribute muss mindestens :value Elemente haben."},image:":attribute muss ein Bild sein.",in:"Der gewählte Wert für :attribute ist ungültig.",in_array:"Der gewählte Wert für :attribute kommt nicht in :other vor.",integer:":attribute muss eine ganze Zahl sein.",ip:":attribute muss eine gültige IP-Adresse sein.",ipv4:":attribute muss eine gültige IPv4-Adresse sein.",ipv6:":attribute muss eine gültige IPv6-Adresse sein.",json:":attribute muss ein gültiger JSON-String sein.",lt:{numeric:":attribute muss kleiner als :value sein.",file:":attribute muss kleiner als :value Kilobytes sein.",string:":attribute muss kürzer als :value Zeichen sein.",array:":attribute muss weniger als :value Elemente haben."},lte:{numeric:":attribute muss kleiner oder gleich :value sein.",file:":attribute muss kleiner oder gleich :value Kilobytes sein.",string:":attribute darf maximal :value Zeichen lang sein.",array:":attribute darf maximal :value Elemente haben."},max:{numeric:":attribute darf maximal :max sein.",file:":attribute darf maximal :max Kilobytes groß sein.",string:":attribute darf maximal :max Zeichen haben.",array:":attribute darf maximal :max Elemente haben."},mimes:":attribute muss den Dateityp :values haben.",mimetypes:":attribute muss den Dateityp :values haben.",min:{numeric:":attribute muss mindestens :min sein.",file:":attribute muss mindestens :min Kilobytes groß sein.",string:":attribute muss mindestens :min Zeichen lang sein.",array:":attribute muss mindestens :min Elemente haben."},multiple_of:"The :attribute must be a multiple of :value.",not_in:"Der gewählte Wert für :attribute ist ungültig.",not_regex:":attribute hat ein ungültiges Format.",numeric:":attribute muss eine Zahl sein.",password:"Das Passwort ist falsch.",present:":attribute muss vorhanden sein.",prohibited:"The :attribute field is prohibited.",prohibited_if:"The :attribute field is prohibited when :other is :value.",prohibited_unless:"The :attribute field is prohibited unless :other is in :values.",prohibits:"The :attribute field prohibits :other from being present.",regex:":attribute Format ist ungültig.",required:":attribute muss ausgefüllt werden.",required_if:":attribute muss ausgefüllt werden, wenn :other den Wert :value hat.",required_unless:":attribute muss ausgefüllt werden, wenn :other nicht den Wert :values hat.",required_with:":attribute muss ausgefüllt werden, wenn :values ausgefüllt wurde.",required_with_all:":attribute muss ausgefüllt werden, wenn :values ausgefüllt wurde.",required_without:":attribute muss ausgefüllt werden, wenn :values nicht ausgefüllt wurde.",required_without_all:":attribute muss ausgefüllt werden, wenn keines der Felder :values ausgefüllt wurde.",same:":attribute und :other müssen übereinstimmen.",size:{numeric:":attribute muss gleich :size sein.",file:":attribute muss :size Kilobyte groß sein.",string:":attribute muss :size Zeichen lang sein.",array:":attribute muss genau :size Elemente haben."},starts_with:":attribute muss mit einem der folgenden Anfänge aufweisen: :values",string:":attribute muss ein String sein.",timezone:":attribute muss eine gültige Zeitzone sein.",unique:":attribute ist bereits vergeben.",uploaded:":attribute konnte nicht hochgeladen werden.",url:":attribute muss eine gültige URL sein.",uuid:":attribute muss ein UUID sein.",single:"When using :attribute it must be the only parameter in this request body",onlyCustomOtpWithUri:"The uri parameter must be provided alone or only in combination with the 'custom_otp' parameter",custom:{icon:{image:"Supported format are jpeg, png, bmp, gif, svg, or webp."},qrcode:{image:"Supported format are jpeg, png, bmp, gif, svg, or webp."},uri:{regex:"The :attribute is not a valid otpauth uri."},otp_type:{in:"The :attribute is not supported."},email:{exists:"No account found using this email."},secret:{isBase32Encoded:"The :attribute must be a base32 encoded string."},account:{regex:"The :attribute must not contain colon."},service:{regex:"The :attribute must not contain colon."},label:{required:"The uri must have a label."},ids:{regex:"IDs must be comma separated, without trailing comma."},name:{firstUser:"There is already a registered user"}},attributes:[]}},en:{auth:{failed:"These credentials do not match our records.",password:"The provided password is incorrect.",throttle:"Too many login attempts. Please try again in :seconds seconds.",sign_out:"Sign out",sign_in:"Sign in",sign_in_using:"Sign in using",login_and_password:"login & password",register:"Register",welcome_back_x:"Welcome back {0}",autolock_triggered:"Auto lock triggered",autolock_triggered_punchline:"The event watched by the Auto Lock feature has fired. You've been automatically disconnected.",change_autolock_in_settings:"You can change the behavior of the Autolock feature in Settings > Options tab.",already_authenticated:"Already authenticated",authentication:"Authentication",maybe_later:"Maybe later",user_account_controlled_by_proxy:"User account made available by an authentication proxy.<br />Manage the account at proxy level.",auth_handled_by_proxy:"Authentication handled by a reverse proxy, below settings are disabled.<br />Manage authentication at proxy level.",confirm:{logout:"Are you sure you want to log out?",revoke_device:"Are you sure you want to revoke this device?",delete_account:"Are you sure you want to delete your account?"},webauthn:{security_device:"a security device",security_devices:"Security devices",security_devices_legend:"Authentication devices you can use to sign in 2FAuth, like security keys (i.e Yubikey) or smartphones with biometric capabilities (i.e. Apple FaceId/TouchId)",enhance_security_using_webauthn:"You can enhance the security of your 2FAuth account by enabling WebAuthn authentication.<br /><br />\n WebAuthn allows you to use trusted devices (like Yubikeys or smartphones with biometric capabilities) to sign in quickly and more securely.",use_security_device_to_sign_in:"Get ready to authenticate using (one of) your security devices. Plug your key in, remove face mask or gloves, etc.",lost_your_device:"Lost your device?",recover_your_account:"Recover your account",account_recovery:"Account recovery",recovery_punchline:"2FAuth will send you a recovery link to this email address. Click the link in the received email to register a new security device.<br /><br />Ensure you open the email on a device you fully own.",send_recovery_link:"Send recovery link",account_recovery_email_sent:"Account recovery email sent!",disable_all_other_devices:"Disable all other devices except this one",register_a_new_device:"Register a new device",device_successfully_registered:"Device successfully registered",device_revoked:"Device successfully revoked",revoking_a_device_is_permanent:"Revoking a device is permanent",recover_account_instructions:"Click the button below to register a new security device to recover your account. Just follow your browser instructions.",invalid_recovery_token:"Invalid recovery token",rename_device:"Rename device",my_device:"My device",unknown_device:"Unknown device",use_webauthn_only:{label:"Use WebAuthn only",help:"Make WebAuthn the only available method to sign in 2FAuth. This is the recommended setup to take advantage of the WebAuthn enhanced security.<br />\n In case of device lost you will always be able to register a new security device to recover your account."},need_a_security_device_to_enable_options:"Set at least one device to enable these options",use_webauthn_as_default:{label:"Use WebAuthn as default sign in method",help:"Set the 2FAuth sign in form to propose the WebAuthn authentication at first. The Login/password method is then available as an alternative/fallback solution.<br />\n This has no effect if you only use WebAuthn."}},forms:{name:"Name",login:"Login",webauthn_login:"WebAuthn login",email:"Email",password:"Password",confirm_password:"Confirm password",confirm_new_password:"Confirm new password",dont_have_account_yet:"Don't have your account yet?",already_register:"Already registered?",authentication_failed:"Authentication failed",forgot_your_password:"Forgot your password?",request_password_reset:"Reset it",reset_password:"Reset password",disabled_in_demo:"Feature disabled in Demo mode",new_password:"New password",current_password:{label:"Current password",help:"Fill in your current password to confirm that it's you"},change_password:"Change password",send_password_reset_link:"Send password reset link",password_successfully_changed:"Password successfully changed",edit_account:"Edit account",profile_saved:"Profile successfully updated!",welcome_to_demo_app_use_those_credentials:"Welcome to the 2FAuth demo.<br><br>You can connect using the email address <strong>demo@2fauth.app</strong> and the password <strong>demo</strong>",welcome_to_testing_app_use_those_credentials:"Welcome to the 2FAuth testing instance.<br><br>Use email address <strong>testing@2fauth.app</strong> and password <strong>password</strong>",register_punchline:"Welcome to 2FAuth.<br/>You need an account to go further. Fill this form to register yourself, and please, choose a strong password, 2FA data are sensitives.",reset_punchline:"2FAuth will send you a password reset link to this address. Click the link in the received email to set a new password.",name_this_device:"Name this device",delete_account:"Delete account",delete_your_account:"Delete your account",delete_your_account_and_reset_all_data:"This will reset 2FAuth. Your user account will be deleted as well as all 2FA data. There is no going back.",user_account_successfully_deleted:"User account successfully deleted"}},commons:{cancel:"Cancel",update:"Update",copy:"Copy",copy_to_clipboard:"Copy to clipboard",copied_to_clipboard:"Copied to clipboard",profile:"Profile",edit:"Edit",delete:"Delete",disable:"Disable",enable:"Enable",create:"Create",save:"Save",close:"Close",demo_do_not_post_sensitive_data:"This is a demo app, do not post any sensitive data",testing_do_not_post_sensitive_data:"This is a testing app, do not post any sensitive data",selected:"selected",name:"Name",manage:"Manage",done:"Done",new:"New",back:"Back",move:"Move",all:"All",rename:"Rename",new_name:"New name",options:"Options",reload:"Reload",some_data_have_changed:"Some data have changed. You should",generate:"Generate",open_in_browser:"Open in browser",continue:"Continue",discard:"Discard"},errors:{resource_not_found:"Resource not found",error_occured:"An error occured:",cannot_register_more_user:"You cannot register more than one user.",refresh:"Refresh",no_valid_otp:"No valid OTP resource in this QR code",something_wrong_with_server:"Something is wrong with your server",Unable_to_decrypt_uri:"Unable to decrypt uri",not_a_supported_otp_type:"This OTP format is not currently supported",cannot_create_otp_without_secret:"Cannot create an OTP without a secret",data_of_qrcode_is_not_valid_URI:"The data of this QR code is not a valid OTP Auth URI:",wrong_current_password:"Wrong current password, nothing has changed",error_during_encryption:"Encryption failed, your database remains unprotected.",error_during_decryption:"Decryption failed, your database is still protected. This is mainly caused by an integrity issue of encrypted data for one or more accounts.",qrcode_cannot_be_read:"This QR code is unreadable",too_many_ids:"too many ids were included in the query parameter, max 100 allowed",delete_user_setting_only:"Only user-created setting can be deleted",indecipherable:"*indecipherable*",cannot_decipher_secret:"The secret cannot be deciphered. This is mainly caused by a wrong APP_KEY set in the .env configuration file of 2Fauth or a corrupted data stored in database.",https_required:"HTTPS context required",browser_does_not_support_webauthn:"Your device does not support webauthn. Try again later using a more modern browser",aborted_by_user:"Aborted by user",security_device_unsupported:"Security device unsupported",unsupported_with_reverseproxy:"Not applicable when using an auth proxy",user_deletion_failed:"User account deletion failed, no data have been deleted",auth_proxy_failed:"Proxy authentication failed",auth_proxy_failed_legend:"2Fauth is configured to run behind an authentication proxy but your proxy does not return the expected header. Check your configuration and try again.",invalid_google_auth_migration:"Invalid or unreadable Google Authenticator data",unsupported_otp_type:"Unsupported OTP type"},groups:{groups:"Groups",create_group:"Create new group",select_accounts_to_show:"Select accounts to show",manage_groups:"Manage groups",active_group:"Active group",manage_groups_legend:"You can create groups to organize your accounts the way you want. All accounts remain visible in the pseudo group named 'All', regardless of the group they belong to.",deleting_group_does_not_delete_accounts:"Deleting a group does not delete accounts",move_selected_to:"Move selected to",no_group:"No group",forms:{new_group:"New group",new_name:"New name",rename_group:"Rename group"},confirm:{delete:"Are you sure you want to delete this group?"}},languages:{browser_preference:"Browser preference",en:"English",fr:"French",de:"German"},pagination:{previous:"&laquo; Previous",next:"Next &raquo;"},passwords:{reset:"Your password has been reset!",sent:"We have emailed your password reset link!",throttled:"Please wait before retrying.",token:"This password reset token is invalid.",user:"We can't find a user with that email address.",password:"Passwords must be at least eight characters and match the confirmation."},settings:{settings:"Settings",account:"Account",oauth:"OAuth",webauthn:"WebAuthn",tokens:"Tokens",options:"Options",confirm:{revoke:"Are you sure you want to revoke this token?"},general:"General",security:"Security",profile:"Profile",change_password:"Change password",personal_access_tokens:"Personal access tokens",token_legend:"Personal Access Tokens allow any app to authenticate to the 2Fauth API. You should specify the access token as a Bearer token in the authorization header of consumer apps requests.",generate_new_token:"Generate a new token",revoke:"Revoke",token_revoked:"Token successfully revoked",revoking_a_token_is_permanent:"Revoking a token is permanent",make_sure_copy_token:"Make sure to copy your personal access token now. You wont be able to see it again!",data_input:"Data input",forms:{edit_settings:"Edit settings",setting_saved:"Settings saved",new_token:"New token",some_translation_are_missing:"Some translations are missing using the browser preferred language?",help_translate_2fauth:"Help translate 2FAuth",language:{label:"Language",help:"Language used to translate the 2FAuth user interface. Named languages are complete, set the one of your choice to override your browser preference."},show_otp_as_dot:{label:"Show generated one-time passwords as dot",help:"Replace generated password caracters with *** to ensure confidentiality. Do not affect the copy/paste feature."},close_otp_on_copy:{label:"Close OTP after copy",help:"Automatically close the popup showing the generated password after it has been copied"},use_basic_qrcode_reader:{label:"Use basic QR code reader",help:"If you experiences issues when capturing QR codes enables this option to switch to a more basic but more reliable QR code reader"},display_mode:{label:"Display mode",help:"Choose whether you want accounts to be displayed as a list or as a grid"},grid:"Grid",list:"List",show_accounts_icons:{label:"Show icons",help:"Show icons accounts in the main view"},auto_lock:{label:"Auto lock",help:"Log out the user automatically in case of inactivity. Has no effect when authentication is handled by a proxy and no custom logout url is specified."},use_encryption:{label:"Protect sensible data",help:"Sensitive data, the 2FA secrets and emails, are stored encrypted in database. Be sure to backup the APP_KEY value of your .env file (or the whole file) as it serves as key encryption. There is no way to decypher encrypted data without this key."},default_group:{label:"Default group",help:"The group to which the newly created accounts are associated"},useDirectCapture:{label:"Direct input",help:"Choose whether you want to be prompted to choose an input mode among those available or if you want to directly use the default input mode"},defaultCaptureMode:{label:"Default input mode",help:"Default input mode used when the Direct input option is On"},remember_active_group:{label:"Remember group filter",help:"Save the last group filter applied and restore it on your next visit"},never:"Never",on_otp_copy:"On security code copy","1_minutes":"After 1 minute","5_minutes":"After 5 minutes","10_minutes":"After 10 minutes","15_minutes":"After 15 minutes","30_minutes":"After 30 minutes","1_hour":"After 1 hour","1_day":"After 1 day",livescan:"QR code livescan",upload:"QR code upload",advanced_form:"Advanced form"}},titles:{404:"Item not found",start:"New account",capture:"Flash QR",accounts:"Accounts",createAccount:"Create account",importAccounts:"Import accounts",editAccount:"Account edit",showQRcode:"Account as QR code",groups:"Groups",createGroup:"Create group",editGroup:"Group edit",settings:{options:"Options",account:"User account",oauth:{tokens:"OAuth tokens",generatePAT:"New personal token"},webauthn:{editCredential:"Device edit",devices:"WebAuthn devices"}},login:"Login",register:"Register",autolock:"Auto lock",password:{request:"Reset password",reset:"New password"},webauthn:{lost:"Account recovery",recover:"Register a new device"},flooded:"Flood",genericError:"Error"},twofaccounts:{service:"Service",account:"Account",accounts:"Accounts",icon:"Icon",no_account_here:"No 2FA here!",add_first_account:"Add your first account",use_full_form:"Or use the full form",add_one:"Add one",show_qrcode:"Show QR code",no_service:"- no service -",forms:{service:{placeholder:"example.com"},account:{placeholder:"John DOE"},new_account:"New account",edit_account:"Edit account",otp_uri:"OTP Uri",scan_qrcode:"Scan a QR code",upload_qrcode:"Upload a QR code",use_advanced_form:"Use the advanced form",prefill_using_qrcode:"Prefill using a QR Code",use_qrcode:{val:"Use a qrcode",title:"Use a QR code to fill the form magically"},unlock:{val:"Unlock",title:"Unlock it (at your own risk)"},lock:{val:"Lock",title:"Lock it"},choose_image:"Choose an image…",test:"Test",secret:{label:"Secret",help:"The key used to generate your security codes"},plain_text:"Plain text",otp_type:{label:"Choose the type of OTP to create",help:"Time-based OTP or HMAC-based OTP"},digits:{label:"Digits",help:"The number of digits of the generated security codes"},algorithm:{label:"Algorithm",help:"The algorithm used to secure your security codes"},period:{label:"Period",placeholder:"Default is 30",help:"The period of validity of the generated security codes in second"},counter:{label:"Counter",placeholder:"Default is 0",help:"The initial counter value",help_lock:"It is risky to edit the counter as you can desynchronize the account with the verification server of the service. Use the lock icon to enable modification, but only if you know for you are doing"},image:{label:"Image",placeholder:"http://...",help:"The url of an external image to use as the account icon"},options_help:"You can leave the following options blank if you don't know how to set them. The most commonly used values will be applied.",alternative_methods:"Alternative methods"},stream:{live_scan_cant_start:"Live scan can't start :(",need_grant_permission:{reason:"2FAuth does not have permission to access your camera",solution:"You need to grant permission to use your device camera. If you already denied and your browser do not prompt you again, please refers to the browser documentation to find out how to grant permission."},not_readable:{reason:"Fail to load scanner",solution:"Is the camera already in use? Ensure that no other app use your camera and try again"},no_cam_on_device:{reason:"No camera on this device",solution:"Maybe you forgot to plug in your webcam"},secured_context_required:{reason:"Secure context required",solution:"HTTPS is required for live scan. If you run 2FAuth from your computer, do not use virtual host other than localhost"},https_required:"HTTPS required for camera streaming",camera_not_suitable:{reason:"Installed cameras are not suitable",solution:"Please use another device/camera"},stream_api_not_supported:{reason:"Stream API is not supported in this browser",solution:"You should use a modern browser"}},confirm:{delete:"Are you sure you want to delete this account?",cancel:"The account will be lost. Are you sure?",discard:"Are you sure you want to discard this account?",discard_all:"Are you sure you want to discard all accounts?",discard_duplicates:"Are you sure you want to discard all duplicates?"},import:{import:"Import",to_import:"Import",import_legend:"Import your Google Authenticator accounts.",use_the_gauth_qr_code:"Load a G-Auth QR code",issuer:"Issuer",imported:"Imported",failure:"Failure",x_valid_accounts_found:"{count} valid accounts found",import_all:"Import all",import_this_account:"Import this account",discard_all:"Discard all",discard_duplicates:"Discard duplicates",discard_this_account:"Discard this account",generate_a_test_password:"Generate a test pasword",possible_duplicate:"An account with the exact same data already exists"}},validation:{accepted:"The :attribute must be accepted.",accepted_if:"The :attribute must be accepted when :other is :value.",active_url:"The :attribute is not a valid URL.",after:"The :attribute must be a date after :date.",after_or_equal:"The :attribute must be a date after or equal to :date.",alpha:"The :attribute may only contain letters.",alpha_dash:"The :attribute may only contain letters, numbers, dashes and underscores.",alpha_num:"The :attribute may only contain letters and numbers.",array:"The :attribute must be an array.",before:"The :attribute must be a date before :date.",before_or_equal:"The :attribute must be a date before or equal to :date.",between:{numeric:"The :attribute must be between :min and :max.",file:"The :attribute must be between :min and :max kilobytes.",string:"The :attribute must be between :min and :max characters.",array:"The :attribute must have between :min and :max items."},boolean:"The :attribute field must be true or false.",confirmed:"The :attribute confirmation does not match.",current_password:"The password is incorrect.",date:"The :attribute is not a valid date.",date_equals:"The :attribute must be a date equal to :date.",date_format:"The :attribute does not match the format :format.",declined:"The :attribute must be declined.",declined_if:"The :attribute must be declined when :other is :value.",different:"The :attribute and :other must be different.",digits:"The :attribute must be :digits digits.",digits_between:"The :attribute must be between :min and :max digits.",dimensions:"The :attribute has invalid image dimensions.",distinct:"The :attribute field has a duplicate value.",email:"The :attribute must be a valid email address.",ends_with:"The :attribute must end with one of the following: :values.",exists:"The selected :attribute is invalid.",file:"The :attribute must be a file.",filled:"The :attribute field must have a value.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},image:"The :attribute must be an image.",in:"The selected :attribute is invalid.",in_array:"The :attribute field does not exist in :other.",integer:"The :attribute must be an integer.",ip:"The :attribute must be a valid IP address.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:"The :attribute must be a valid JSON string.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"The :attribute may not be greater than :max.",file:"The :attribute may not be greater than :max kilobytes.",string:"The :attribute may not be greater than :max characters.",array:"The :attribute may not have more than :max items."},mimes:"The :attribute must be a file of type: :values.",mimetypes:"The :attribute must be a file of type: :values.",min:{numeric:"The :attribute must be at least :min.",file:"The :attribute must be at least :min kilobytes.",string:"The :attribute must be at least :min characters.",array:"The :attribute must have at least :min items."},multiple_of:"The :attribute must be a multiple of :value.",not_in:"The selected :attribute is invalid.",not_regex:"The :attribute format is invalid.",numeric:"The :attribute must be a number.",password:"The password is incorrect.",present:"The :attribute field must be present.",prohibited:"The :attribute field is prohibited.",prohibited_if:"The :attribute field is prohibited when :other is :value.",prohibited_unless:"The :attribute field is prohibited unless :other is in :values.",prohibits:"The :attribute field prohibits :other from being present.",regex:"The :attribute format is invalid.",required:"The :attribute field is required.",required_if:"The :attribute field is required when :other is :value.",required_unless:"The :attribute field is required unless :other is in :values.",required_with:"The :attribute field is required when :values is present.",required_with_all:"The :attribute field is required when :values are present.",required_without:"The :attribute field is required when :values is not present.",required_without_all:"The :attribute field is required when none of :values are present.",same:"The :attribute and :other must match.",size:{numeric:"The :attribute must be :size.",file:"The :attribute must be :size kilobytes.",string:"The :attribute must be :size characters.",array:"The :attribute must contain :size items."},starts_with:"The :attribute must start with one of the following: :values.",string:"The :attribute must be a string.",timezone:"The :attribute must be a valid zone.",unique:"The :attribute has already been taken.",uploaded:"The :attribute failed to upload.",url:"The :attribute must be a valid url.",uuid:"The :attribute must be a valid UUID.",single:"When using :attribute it must be the only parameter in this request body",onlyCustomOtpWithUri:"The uri parameter must be provided alone or only in combination with the 'custom_otp' parameter",custom:{icon:{image:"Supported format are jpeg, png, bmp, gif, svg, or webp."},qrcode:{image:"Supported format are jpeg, png, bmp, gif, svg, or webp."},uri:{regex:"The :attribute is not a valid otpauth uri."},otp_type:{in:"The :attribute is not supported."},email:{exists:"No account found using this email."},secret:{isBase32Encoded:"The :attribute must be a base32 encoded string."},account:{regex:"The :attribute must not contain colon."},service:{regex:"The :attribute must not contain colon."},label:{required:"The uri must have a label."},ids:{regex:"IDs must be comma separated, without trailing comma."},name:{firstUser:"There is already a registered user"}},attributes:[]}},es:{auth:{failed:"Estas credenciales no coinciden con nuestros registros.",password:"La contraseña proporcionada es incorrecta.",throttle:"Demasiados intentos de acceso. Por favor intente nuevamente en :seconds segundos.",sign_out:"Cerrar sesión",sign_in:"Iniciar sesión",sign_in_using:"Inicia sesión, usando",login_and_password:"usuario y contraseña",register:"Registrarse",welcome_back_x:"Bienvenido/a otra vez {0}",autolock_triggered:"Auto lock triggered",autolock_triggered_punchline:"The event watched by the Auto Lock feature has fired. You've been automatically disconnected.",change_autolock_in_settings:"You can change the behavior of the Autolock feature in Settings > Options tab.",already_authenticated:"Ya está autenticado",authentication:"Autenticación",maybe_later:"Quizás más tarde",user_account_controlled_by_proxy:"Cuenta de usuario disponible por un proxy de autenticación.<br />Administra la cuenta a nivel de proxy.",auth_handled_by_proxy:"Autenticación administrada por un proxy inverso, las configuraciones de abajo están deshabilitadas.<br />Gestionar autenticación a nivel proxy.",confirm:{logout:"¿Seguro que quieres cerrar la sesión?",revoke_device:"¿Está seguro que quiere eliminar este dispositivo?",delete_account:"¿Está seguro que desea eliminar su cuenta?"},webauthn:{security_device:"un dispositivo de seguridad",security_devices:"Dispositivos de seguridad",security_devices_legend:"Dispositivos de autenticación que pude usar para iniciar sesión en 2FAuth, como: llaves de seguridad (ej. Yubikey) o smartphones con capacidades biométricas (ej. Apple FaceID/TouchID)",enhance_security_using_webauthn:"Puede mejorar la seguridad de su cuenta 2FAuth activando la autenticación WebAuthn.<br /><br />\n WebAuthn permite el uso de dispositivos de confianza (como, Yubikeys o smartphones con capacidades biométricas) para iniciar sesión rápidamente y de forma más segura.",use_security_device_to_sign_in:"Prepárese para autenticarse usando (uno) de sus dispositivos de seguridad. Conecte su llave, retirar máscaras o guantes, etc.",lost_your_device:"¿Perdió su dispositivo?",recover_your_account:"Recuperar su cuenta",account_recovery:"Recuperación cuenta",recovery_punchline:"2FAuth enviará un enlace de recuperación a esta dirección de correo. Clic en el enlace recibido para registrar un nuevo dispositivo de seguridad.<br /><br />Asegúrese de abrir el correo en un dispositivo de confianza.",send_recovery_link:"Enviar enlace de recuperación",account_recovery_email_sent:"¡Correo de recuperación de cuenta enviado!",disable_all_other_devices:"Desactivar el resto de dispositivos, excepto éste",register_a_new_device:"Registrar un nuevo dispositivo",device_successfully_registered:"Dispositivo registrado correctamente",device_revoked:"Dispositivo revocado correctamente",revoking_a_device_is_permanent:"El revocado de un dispositivo es permanente",recover_account_instructions:"Clic en el botón de abajo para registrar un nuevo dispositivo para recuperar su cuenta. Simplemente, siga las instrucciones del navegador.",invalid_recovery_token:"Token de recuperación inválido",rename_device:"Renombrar dispositivo",my_device:"Mi dispositivo",unknown_device:"Dispositivo desconocido",use_webauthn_only:{label:"Usar WebAuthn solo",help:"Hacer que WebAuthn sea el único método para iniciar sesión disponible en 2FAuth. Esta es la configuración recomendada para aprovechar la mejora en la seguridad de WebAuthn.<br />\n En caso de pérdida del dispositivo, siempre tendrá la posibilidad de registrar un nuevo dispositivo de seguridad para recuperar su cuenta."},need_a_security_device_to_enable_options:"Establezca, al menos, un dispositivo para activar estas opciones",use_webauthn_as_default:{label:"Usar WebAuthn como método de inicio de sesión predeterminado",help:"Establezca el formulario de inicio de sesión de 2FAuth para proponer la autenticación WebAuthn en primer lugar. El método Login/password está entonces disponible como solución alternativa o de retorno.<br />\n Esto no tiene efecto si sólo utiliza WebAuthn."}},forms:{name:"Nombre",login:"Iniciar sesión",webauthn_login:"Inicio de sesión WebAuthn",email:"E-mail",password:"Contraseña",confirm_password:"Confirmar contraseña",confirm_new_password:"Confirma la contraseña nueva",dont_have_account_yet:"¿Aún no tienes una cuenta?",already_register:"¿Ya te has registrado?",authentication_failed:"La autenticación ha fallado",forgot_your_password:"¿Olvidó su contraseña?",request_password_reset:"Reiniciarlo",reset_password:"Restablecer contraseña",disabled_in_demo:"Característica desactivada en el modo Demo",new_password:"Nueva contraseña",current_password:{label:"Contraseña actual",help:"Introduzca su contraseña actual para confirmar que es usted"},change_password:"Cambiar Contraseña",send_password_reset_link:"Enviar enlace para restablecer contraseña",password_successfully_changed:"Contraseña cambiada correctamente",edit_account:"Editar cuenta",profile_saved:"¡Perfil actualizado con éxito!",welcome_to_demo_app_use_those_credentials:"Welcome to the 2FAuth demo.<br><br>You can connect using the email address <strong>demo@2fauth.app</strong> and the password <strong>demo</strong>",welcome_to_testing_app_use_those_credentials:"Welcome to the 2FAuth testing instance.<br><br>Use email address <strong>testing@2fauth.app</strong> and password <strong>password</strong>",register_punchline:"Bienvenido a 2FAuth.<br/>Necesita una cuenta para ir más allá. Rellene este formulario para registrarse y, por favor, elija una contraseña fuerte, los datos de 2FA son sensibles.",reset_punchline:"2FAuth le enviará un enlace para restablecer la contraseña a esta dirección. Haga clic en el enlace en el correo electrónico recibido para establecer una nueva contraseña.",name_this_device:"Proporcione nombre al dispositivo",delete_account:"Eliminar cuenta",delete_your_account:"Eliminar su cuenta",delete_your_account_and_reset_all_data:"Esto restablecerá 2FAuth. Su cuenta de usuario se eliminará, así como, todos los datos de 2FA. No hay vuelta atrás.",user_account_successfully_deleted:"Cuenta de usuario eliminada correctamente"}},commons:{cancel:"Cancelar",update:"Actualizar",copy:"Copiar",copy_to_clipboard:"Copiar al portapapeles",copied_to_clipboard:"Copiado al portapapeles",profile:"Perfil",edit:"Editar",delete:"Eliminar",disable:"Desactivar",enable:"Activar",create:"Crear",save:"Guardar",close:"Cerrar",demo_do_not_post_sensitive_data:"Esta instancia es para demostracion, no ingrese informacion privada",testing_do_not_post_sensitive_data:"This is a testing app, do not post any sensitive data",selected:"seleccionado",name:"Nombre",manage:"Configurar",done:"Hecho",new:"Nuevo",back:"Volver",move:"Mover",all:"Todo",rename:"Renombrar",new_name:"Nuevo nombre",options:"Opciones",reload:"Recargar",some_data_have_changed:"Algunos datos han cambiado. Debería",generate:"Generar",open_in_browser:"Abrir en el navegador",continue:"Continuar",discard:"Discard"},errors:{resource_not_found:"Recurso no encontrado",error_occured:"Se ha producido un error:",cannot_register_more_user:"No puede registrar más de un usuario.",refresh:"Actualizar",no_valid_otp:"No hay un recurso OTP válido en este código QR",something_wrong_with_server:"Algo va mal con su servidor",Unable_to_decrypt_uri:"No se puede descifrar uri",not_a_supported_otp_type:"Este formato OTP no está soportado actualmente",cannot_create_otp_without_secret:"No se puede crear un OTP sin una clave secreta",data_of_qrcode_is_not_valid_URI:"Los datos de este código QR no son una URI OTP de autenticación válida:",wrong_current_password:"Contraseña actual incorrecta, no ha cambiado nada",error_during_encryption:"El cifrado falló, la base de datos permanece sin protección.",error_during_decryption:"El descifrado falló, su base de datos todavía está protegida. Esto se debe, principalmente, a un problema de integridad de datos cifrados para una o más cuentas.",qrcode_cannot_be_read:"Este código QR no se puede leer",too_many_ids:"demasiado ids fueron incluidos en los parámetros de consulta, máx. 100 permitidos",delete_user_setting_only:"Sólo los ajustes creados por el usuario pueden ser eliminados",indecipherable:"*indescifrable*",cannot_decipher_secret:"The clave secreta no puede ser descifrada. Esto es, principalmente, causado por una APP_KEY inválida en el archivo de configuración .env de 2FAuth, o datos corruptos almacenados en la base de datos.",https_required:"Requerido HTTPS Contexto",browser_does_not_support_webauthn:"Su dispositivo no soporta WebAuthn. Intente de nuevo más tarde en un navegador más moderno",aborted_by_user:"Abortado por el usuario",security_device_unsupported:"Dispositivo de seguridad no soportado",unsupported_with_reverseproxy:"No aplicable cuando se utiliza un proxy de autenticación",user_deletion_failed:"Error al borrar la cuenta de usuario, no se han eliminado datos",auth_proxy_failed:"La autenticación proxy falló",auth_proxy_failed_legend:"2FAuth está configurado para ejecutarse detrás de un proxy de autenticación, pero, su proxy no devuelve el encabezado esperado. Compruebe su configuración e intente de nuevo.",invalid_google_auth_migration:"Invalid or unreadable Google Authenticator data",unsupported_otp_type:"Unsupported OTP type"},groups:{groups:"Grupos",create_group:"Crear nuevo grupo",select_accounts_to_show:"Seleccionar cuentas para mostrar",manage_groups:"Gestionar grupos",active_group:"Grupo activo",manage_groups_legend:"Puede crear grupos para organizar sus cuentas de la manera que desee. Todas las cuentas permanecen visibles en el pseudo grupo llamado 'Todo', independientemente del grupo al que pertenezcan.",deleting_group_does_not_delete_accounts:"La eliminación de un grupo no elimina cuentas",move_selected_to:"Mover selección a",no_group:"Sin grupo",forms:{new_group:"Nuevo grupo",new_name:"Nuevo nombre",rename_group:"Renombrar grupo"},confirm:{delete:"¿Está seguro que desea eliminar este grupo?"}},languages:{browser_preference:"Preferencia del navegador",en:"Inglés",fr:"Francés",de:"Alemán"},pagination:{previous:"&laquo; Anterior",next:"Siguiente &raquo;"},passwords:{reset:"¡Su contraseña ha sido restablecida!",sent:"¡Te hemos enviado por correo el enlace para restablecer tu contraseña!",throttled:"Por favor, espere antes de intentar de nuevo.",token:"El token de recuperación de contraseña es inválido.",user:"No podemos encontrar ningún usuario con ese correo electrónico.",password:"La contraseña debe tener al menos ocho caracteres, y coincidir con la confirmación de contraseña."},settings:{settings:"Ajustes",account:"Cuenta",oauth:"OAuth",webauthn:"WebAuthn",tokens:"Tokens",options:"Opciones",confirm:{revoke:"¿Está seguro que desea revocar este token?"},general:"General",security:"Seguridad",profile:"Perfil",change_password:"Cambiar contraseña",personal_access_tokens:"Tokens de acceso personal",token_legend:"Los Tokens de Acceso Personal, permiten a cualquier aplicación autenticarse con la API de 2FAuth. Debe especificar el token de acceso como Bearer Token en la cabecera de autorización de aplicaciones de tercero.",generate_new_token:"Generar nuevo token",revoke:"Revocar",token_revoked:"Token revocado correctamente",revoking_a_token_is_permanent:"Revocar un token es permanente",make_sure_copy_token:"Asegúrese de copiar su token de acceso personal ahora. ¡No podrá volver a verlo!",data_input:"Introducción de datos",forms:{edit_settings:"Modificar ajustes",setting_saved:"Ajustes guardados",new_token:"Nuevo token",some_translation_are_missing:"¿Faltan algunas traducciones utilizando el idioma preferido por el navegador?",help_translate_2fauth:"Ayude a traducir 2FAuth",language:{label:"Idioma",help:"Idioma utilizado para traducir la interfaz de usuario de 2FAuth. Los idiomas listados están completos, establezca el idioma de su elección para reemplazar las preferencias de su navegador."},show_otp_as_dot:{label:"Mostrar contraseñas generadas de un solo uso como punto",help:"Sustituya los carácteres de la contraseña generados por *** para asegurar la confidencialidad. No afecta a la función de copiar/pegar."},close_otp_on_copy:{label:"Cerrar token después de copiarlo",help:"Cerrar automáticamente la ventana emergente mostrando el token generado después de haber sido copiado"},use_basic_qrcode_reader:{label:"Usar lector de código QR básico",help:"Si experimenta problemas al capturar códigos QR habilite esta opción para cambiar a un lector de código QR más básico, pero más fiable"},display_mode:{label:"Modo de visualización",help:"Elija si desea que las cuentas se muestren como una lista o como una cuadrícula"},grid:"Cuadrícula",list:"Lista",show_accounts_icons:{label:"Mostrar iconos",help:"Mostar iconos de aplicaciones en la vista principal"},auto_lock:{label:"Bloqueo automático",help:"Cerrar sesión del usuario automáticamente en caso de inactividad. No tiene efecto cuando la autenticación es manejada por un proxy, ni cuando ninguna url de cierre de sesión personalizada se especificada."},use_encryption:{label:"Proteger los datos confidenciales",help:"Los datos sensibles, las claves secretas y correos electrónicos de 2FA, se almacenan cifrados en la base de datos. Asegúrese de respaldar el valor de APP_KEY de su archivo .env (o el archivo entero), pues, sirve como clave de cifrado. No hay forma de descifrar datos encriptados sin esta clave."},default_group:{label:"Grupo por defecto",help:"El grupo al que las cuentas recién creadas están asociadas"},useDirectCapture:{label:"Entrada directa",help:"Elija si desea que se le pida que elija un modo de entrada entre los disponibles o si desea utilizar directamente el modo de entrada por defecto"},defaultCaptureMode:{label:"Modo de entrada de datos por defecto",help:"Modo de entrada predeterminado usado cuando la opción de entrada directa está encendida"},remember_active_group:{label:"Recordar filtro de grupo",help:"Guardar el último filtro de grupo aplicado y restaurarlo en su próxima visita"},never:"Nunca",on_otp_copy:"Al copiar código de seguridad","1_minutes":"Después de 1 minuto","5_minutes":"Después de 5 minutos","10_minutes":"Después de 10 minutos","15_minutes":"Después de 15 minutos","30_minutes":"Después de 30 minutos","1_hour":"Después de 1 hora","1_day":"Después de 1 día",livescan:"Escaneo código QR",upload:"Subida de código QR",advanced_form:"Formulario avanzado"}},titles:{404:"Item not found",start:"New account",capture:"Flash QR",accounts:"Accounts",createAccount:"Create account",importAccounts:"Import accounts",editAccount:"Account edit",showQRcode:"Account as QR code",groups:"Groups",createGroup:"Create group",editGroup:"Group edit",settings:{options:"Options",account:"User account",oauth:{tokens:"OAuth tokens",generatePAT:"New personal token"},webauthn:{editCredential:"Device edit",devices:"WebAuthn devices"}},login:"Login",register:"Register",autolock:"Auto lock",password:{request:"Reset password",reset:"New password"},webauthn:{lost:"Account recovery",recover:"Register a new device"},flooded:"Flood",genericError:"Error"},twofaccounts:{service:"Servicio",account:"Cuenta",accounts:"Cuentas",icon:"Icono",no_account_here:"¡No hay 2FA aquí!",add_first_account:"Agrega tu primera cuenta",use_full_form:"O usa el formulario completo",add_one:"Agregar uno",show_qrcode:"Muestra el código QR",no_service:"- sin servicio -",forms:{service:{placeholder:"example.com"},account:{placeholder:"John DOE"},new_account:"Nueva cuenta",edit_account:"Editar cuenta",otp_uri:"OTP Uri",scan_qrcode:"Escanear un código QR",upload_qrcode:"Subir un código QR",use_advanced_form:"Usar el formulario avanzado",prefill_using_qrcode:"Rellenar usando un código QR",use_qrcode:{val:"Usar un código QR",title:"Usa un código QR para rellenar mágicamente el formulario"},unlock:{val:"Desbloquear",title:"Desbloquearlo (bajo su propio riesgo)"},lock:{val:"Bloquear",title:"Bloquearlo"},choose_image:"Seleccionar una imagen…",test:"Test",secret:{label:"Secreto",help:"La clave utilizada para generar sus códigos de seguridad"},plain_text:"Texto plano",otp_type:{label:"Elija el tipo de OTP a crear",help:"OTP basado en tiempo, u OTP basado en HMAC"},digits:{label:"Dígitos",help:"El número de dígitos del código de seguridad generado"},algorithm:{label:"Algorítmo",help:"El algoritmo usado para proteger sus códigos de seguridad"},period:{label:"Periodo",placeholder:"Por defecto es 30",help:"Periodo de validez de los códigos se seguridad generados, en segundos"},counter:{label:"Contador",placeholder:"Por defecto es 0",help:"El valor inicial del contador",help_lock:"Es arriesgado editar el contador, ya que puede desincronizar la cuenta con el servidor de verificación del servicio. Utilice el icono de bloqueo para habilitar la modificación, pero solo si sabe lo que está haciendo"},image:{label:"Imágen",placeholder:"http://...",help:"La url de una imagen externa a usar como icono de cuenta"},options_help:"Puede dejar las siguientes opciones en blanco si no sabe cómo establecerlas. Los valores más utilizados se aplicarán.",alternative_methods:"Métodos alternativos"},stream:{live_scan_cant_start:"Live scan no puede comenzar :(",need_grant_permission:{reason:"2FAuth no tiene permiso para acceder a tu cámara",solution:"Necesitas conceder permiso para usar la cámara de tu dispositivo. Si ya lo ha denegado y su navegador no le preguntan de nuevo, por favor refiérase a la documentación del navegador para averiguar cómo conceder permisos."},not_readable:{reason:"Fallo al cargar el escáner",solution:"¿La cámara ya está en uso? Asegúrate de que ninguna otra aplicación use tu cámara e inténtalo de nuevo"},no_cam_on_device:{reason:"No se encontraron cámaras en este dispositivo",solution:"Maybe you forgot to plug in your webcam"},secured_context_required:{reason:"Requiere contexto seguro",solution:"HTTPS es necesario para escanear en vivo. Si ejecuta 2FAuth desde su computadora, no utilice un host virtual distinto de localhost"},https_required:"HTTPS requerido para la transmisión de la cámara",camera_not_suitable:{reason:"Las cámaras instaladas no son apropiadas",solution:"Por favor usa otro dispositivo/cámara"},stream_api_not_supported:{reason:"Stream API no está soportado en este navegador",solution:"Deberías usar un navegador moderno"}},confirm:{delete:"¿Está seguro que desea eliminar esta cuenta?",cancel:"La cuenta será eliminada. ¿Estás seguro?",discard:"Are you sure you want to discard this account?",discard_all:"Are you sure you want to discard all accounts?",discard_duplicates:"Are you sure you want to discard all duplicates?"},import:{import:"Import",to_import:"Import",import_legend:"Import your Google Authenticator accounts.",use_the_gauth_qr_code:"Load a G-Auth QR code",issuer:"Issuer",imported:"Imported",failure:"Failure",x_valid_accounts_found:"{count} valid accounts found",import_all:"Import all",import_this_account:"Import this account",discard_all:"Discard all",discard_duplicates:"Discard duplicates",discard_this_account:"Discard this account",generate_a_test_password:"Generate a test pasword",possible_duplicate:"An account with the exact same data already exists"}},validation:{accepted:":attribute debe ser aceptado.",accepted_if:":attribute debe ser aceptado cuando :other sea :value.",active_url:":attribute no es una URL válida.",after:":attribute debe ser una fecha posterior a :date.",after_or_equal:":attribute debe ser una fecha posterior o igual a :date.",alpha:":attribute sólo debe contener letras.",alpha_dash:":attribute sólo debe contener letras, números, guiones y guiones bajos.",alpha_num:":attribute sólo debe contener letras y números.",array:":attribute debe ser un conjunto.",before:":attribute debe ser una fecha anterior a :date.",before_or_equal:":attribute debe ser una fecha anterior o igual a :date.",between:{numeric:":attribute tiene que estar entre :min - :max.",file:":attribute debe pesar entre :min - :max kilobytes.",string:":attribute tiene que tener entre :min - :max caracteres.",array:":attribute tiene que tener entre :min - :max elementos."},boolean:"El campo :attribute debe tener un valor verdadero o falso.",confirmed:"La confirmación de :attribute no coincide.",current_password:"La contraseña es incorrecta.",date:":attribute no es una fecha válida.",date_equals:":attribute debe ser una fecha igual a :date.",date_format:":attribute no corresponde al formato :format.",declined:":attribute debe ser rechazado.",declined_if:":attribute debe ser rechazado cuando :other sea :value.",different:":attribute y :other deben ser diferentes.",digits:":attribute debe tener :digits dígitos.",digits_between:":attribute debe tener entre :min y :max dígitos.",dimensions:"Las dimensiones de la imagen :attribute no son válidas.",distinct:"El campo :attribute contiene un valor duplicado.",email:":attribute no es un correo válido.",ends_with:"El campo :attribute debe finalizar con uno de los siguientes valores: :values",exists:":attribute es inválido.",file:"El campo :attribute debe ser un archivo.",filled:"El campo :attribute es obligatorio.",gt:{numeric:"El campo :attribute debe ser mayor que :value.",file:"El campo :attribute debe tener más de :value kilobytes.",string:"El campo :attribute debe tener más de :value caracteres.",array:"El campo :attribute debe tener más de :value elementos."},gte:{numeric:"El campo :attribute debe ser como mínimo :value.",file:"El campo :attribute debe tener como mínimo :value kilobytes.",string:"El campo :attribute debe tener como mínimo :value caracteres.",array:"El campo :attribute debe tener como mínimo :value elementos."},image:":attribute debe ser una imagen.",in:":attribute es inválido.",in_array:"El campo :attribute no existe en :other.",integer:":attribute debe ser un número entero.",ip:":attribute debe ser una dirección IP válida.",ipv4:":attribute debe ser una dirección IPv4 válida.",ipv6:":attribute debe ser una dirección IPv6 válida.",json:"El campo :attribute debe ser una cadena JSON válida.",lt:{numeric:"El campo :attribute debe ser menor que :value.",file:"El campo :attribute debe tener menos de :value kilobytes.",string:"El campo :attribute debe tener menos de :value caracteres.",array:"El campo :attribute debe tener menos de :value elementos."},lte:{numeric:"El campo :attribute debe ser como máximo :value.",file:"El campo :attribute debe tener como máximo :value kilobytes.",string:"El campo :attribute debe tener como máximo :value caracteres.",array:"El campo :attribute debe tener como máximo :value elementos."},max:{numeric:":attribute no debe ser mayor que :max.",file:":attribute no debe ser mayor que :max kilobytes.",string:":attribute no debe ser mayor que :max caracteres.",array:":attribute no debe tener más de :max elementos."},mimes:":attribute debe ser un archivo con formato: :values.",mimetypes:":attribute debe ser un archivo con formato: :values.",min:{numeric:"El tamaño de :attribute debe ser de al menos :min.",file:"El tamaño de :attribute debe ser de al menos :min kilobytes.",string:":attribute debe contener al menos :min caracteres.",array:":attribute debe tener al menos :min elementos."},multiple_of:":attribute debe ser un múltiplo de :value.",not_in:":attribute es inválido.",not_regex:"El formato del campo :attribute no es válido.",numeric:":attribute debe ser numérico.",password:"La contraseña es incorrecta.",present:"El campo :attribute debe estar presente.",prohibited:"El campo :attribute está prohibido.",prohibited_if:"El campo :attribute está prohibido cuando :other es :value.",prohibited_unless:"El campo :attribute está prohibido a menos que :other sea :values.",prohibits:"El campo :attribute prohíbe que :other esté presente.",regex:"El formato de :attribute es inválido.",required:"El campo :attribute es obligatorio.",required_if:"El campo :attribute es obligatorio cuando :other es :value.",required_unless:"El campo :attribute es obligatorio a menos que :other esté en :values.",required_with:"El campo :attribute es obligatorio cuando :values está presente.",required_with_all:"El campo :attribute es obligatorio cuando :values están presentes.",required_without:"El campo :attribute es obligatorio cuando :values no está presente.",required_without_all:"El campo :attribute es obligatorio cuando ninguno de :values está presente.",same:":attribute y :other deben coincidir.",size:{numeric:"El tamaño de :attribute debe ser :size.",file:"El tamaño de :attribute debe ser :size kilobytes.",string:":attribute debe contener :size caracteres.",array:":attribute debe contener :size elementos."},starts_with:"El campo :attribute debe comenzar con uno de los siguientes valores: :values",string:"El campo :attribute debe ser una cadena de caracteres.",timezone:"El :attribute debe ser una zona válida.",unique:"El campo :attribute ya ha sido registrado.",uploaded:"Subir :attribute ha fallado.",url:":attribute debe ser una URL válida.",uuid:"El campo :attribute debe ser un UUID válido.",single:"Cuando se usa :attribute, éste debe ser el único parámetro en este cuerpo de la solicitud",onlyCustomOtpWithUri:"The uri parameter must be provided alone or only in combination with the 'custom_otp' parameter",custom:{icon:{image:"Los formatos soportados son: jpeg, png, bmp, gif, svg o webp."},qrcode:{image:"Los formatos soportados son: jpeg, png, bmp, gif, svg o webp."},uri:{regex:":attribute no es una otpauth uri válida."},otp_type:{in:":attribute no está soportado."},email:{exists:"No se ha encontrado ninguna cuenta con este correo electrónico."},secret:{isBase32Encoded:":attribute debe ser una cadena codificada en base32."},account:{regex:":attribute no debe contener dos puntos."},service:{regex:":attribute no debe contener dos puntos."},label:{required:"La uri debe tener una etiqueta."},ids:{regex:"Los IDs deben estar separados por comas, sin comas finales."},name:{firstUser:"Ya hay un usuario registrado"}},attributes:[]}},fr:{auth:{failed:"Ces identifiants ne correspondent pas à nos enregistrements",password:"Le mot de passe saisi est incorrect.",throttle:"Tentatives de connexion trop nombreuses. Veuillez essayer de nouveau dans :seconds secondes.",sign_out:"Déconnexion",sign_in:"Se connecter",sign_in_using:"Se connecter en utilisant",login_and_password:"login & mot de passe",register:"Créer un compte",welcome_back_x:"Bienvenue {0}",autolock_triggered:"Verrouillage automatique déclenché",autolock_triggered_punchline:"L'événement surveillé par la fonction de verrouillage automatique s'est déclenché. Vous avez été automatiquement déconnecté.",change_autolock_in_settings:"Vous pouvez modifier le comportement de la fonction de verrouillage automatique dans Réglages, onglet Options.",already_authenticated:"Déjà authentifié",authentication:"Authentification",maybe_later:"Peut-être plus tard",user_account_controlled_by_proxy:"Compte utilisateur mis à disposition par un proxy d'authentification.<br />Gérer le compte au niveau du proxy.",auth_handled_by_proxy:"Authentification gérée par un proxy inverse, les paramètres ci-dessous sont désactivés.<br />Gérer l'authentification au niveau du proxy.",confirm:{logout:"Etes-vous sûrs de vouloir vous déconnecter ?",revoke_device:"Voulez-vous vraiment supprimer cet appareil?",delete_account:"Voulez-vous vraiment supprimer votre compte ?"},webauthn:{security_device:"un périphérique de sécurité",security_devices:"Périphériques de sécurité",security_devices_legend:"Périphériques d'authentification que vous pouvez utiliser pour vous connecter à 2FAuth, comme des clés de sécurité (ex : YubiKey) ou des smartphones dotés de capacités biométriques (ex : Apple FaceId/TouchId)",enhance_security_using_webauthn:"Vous pouvez améliorer la sécurité de votre compte 2FAuth en activant l'authentification WebAuthn.<br /><br />\n WebAuthn vous permet d'utiliser des appareils de confiance (comme des Yubikeys ou des smartphones dotés de capacités biométriques) pour vous connecter rapidement et de manière plus sécurisée.",use_security_device_to_sign_in:"Préparez-vous à vous authentifier en utilisant un de vos dispositifs de sécurité. Branchez votre clé, retirez votre masque ou vos gants, etc.",lost_your_device:"Vous avez perdu votre appareil ?",recover_your_account:"Récupérer votre compte",account_recovery:"Récupération du compte",recovery_punchline:"2FAuth vous enverra un lien de récupération à cette adresse e-mail. Cliquez sur le lien dans l'e-mail reçu pour enregistrer un nouveau périphérique de sécurité.<br /><br />Assurez-vous d'ouvrir l'e-mail depuis un appareil qui vous appartient ou que vous considérez de confiance.",send_recovery_link:"Envoyer le lien de récupération",account_recovery_email_sent:"E-mail de récupération du compte envoyé!",disable_all_other_devices:"Désactiver tous les autres périphériques sauf celui-ci",register_a_new_device:"Ajouter un nouveau périphérique",device_successfully_registered:"Périphérique enregistré avec succès",device_revoked:"Périphérique révoqué avec succès",revoking_a_device_is_permanent:"La révocation d'un périphérique est définitive",recover_account_instructions:"Cliquez sur le bouton ci-dessous pour enregistrer un nouveau périphérique de sécurité afin de récupérer votre compte. Suivez simplement les instructions de votre navigateur.",invalid_recovery_token:"Jeton de sécurité invalide",rename_device:"Renommer le périphérique",my_device:"Mon périphérique",unknown_device:"Périphérique inconnu",use_webauthn_only:{label:"Utiliser uniquement WebAuthn",help:"Faire de WebAuthn la seule méthode disponible pour se connecter à 2FAuth. Ceci est la configuration recommandée pour profiter de la sécurité améliorée de WebAuthn.<br />\n En cas de perte de votre périphérique, vous serez toujours en mesure d'enregistrer un nouveau périphérique de sécurité pour récupérer votre compte."},need_a_security_device_to_enable_options:"Définissez au moins un périphérique pour activer ces options",use_webauthn_as_default:{label:"Utiliser WebAuthn comme méthode de connexion par défaut",help:"Proposer d'abord d'utiliser WebAuthn lors de l'identification. L'identification avec login et mot de passe reste disponible en tant que méthode secondaire.<br />\n Ceci est sans effet si vous utilisez uniquement WebAuthn."}},forms:{name:"Nom",login:"Connexion",webauthn_login:"Connexion WebAuthn",email:"Email",password:"Mot de passe",confirm_password:"Confirmez le mot de passe",confirm_new_password:"Confirmez le nouveau mot de passe",dont_have_account_yet:"Pas encore de compte ?",already_register:"Déjà enregistré ?",authentication_failed:"Échec de l'authentification",forgot_your_password:"Mot de passe oublié ?",request_password_reset:"Réinitialisez-le",reset_password:"Mot de passe oublié",disabled_in_demo:"Fonctionnalité désactivée en mode Démo",new_password:"Nouveau mot de passe",current_password:{label:"Mot de passe actuel",help:"Indiquez votre mot de passe actuel pour confirmer qu'il s'agit bien de vous"},change_password:"Modifier le mot de passe",send_password_reset_link:"Envoyer",password_successfully_changed:"Mot de passe modifié avec succès",edit_account:"Mis à jour du profil",profile_saved:"Profil mis à jour avec succès !",welcome_to_demo_app_use_those_credentials:"Bienvenue sur la démo de 2FAuth.<br><br>Vous pouvez vous connecter en utilisant l'adresse email <strong>demo@2fauth.app</strong> et le mot de passe <strong>demo</strong>",welcome_to_testing_app_use_those_credentials:"Bienvenue sur l'instance de test 2FAuth.<br><br>Utilisez l'adresse e-mail <strong>testing@2fauth.app</strong> et mot de passe <strong>password</strong>",register_punchline:"Bienvenue sur 2FAuth.<br/>Vous avez besoin d'un compte pour aller plus loin. Remplissez ce formulaire pour vous inscrire et, s'il vous plaît, choisissez un mot de passe fort, les données 2FA sont sensibles.",reset_punchline:"2FAuth vous enverra un lien de réinitialisation de mot de passe à cette adresse. Cliquez sur le lien dans l'e-mail reçu pour définir un nouveau mot de passe.",name_this_device:"Nommer ce périphérique",delete_account:"Supprimer le compte",delete_your_account:"Supprimer votre compte",delete_your_account_and_reset_all_data:"Cela réinitialisera 2FAuth. Votre compte utilisateur sera supprimé ainsi que toutes les données 2FA. Il est impossible de restaurer des données réinitialisées.",user_account_successfully_deleted:"Compte supprimé avec succès"}},commons:{cancel:"Annuler",update:"Mettre à jour",copy:"Copier",copy_to_clipboard:"Copier",copied_to_clipboard:"Copié dans le presse-papier",profile:"Profil",edit:"Modifier",delete:"Supprimer",disable:"Désactiver",enable:"Activer",create:"Créer",save:"Enregistrer",close:"Fermer",demo_do_not_post_sensitive_data:"Site de démonstration, ne postez aucune donnée sensible",testing_do_not_post_sensitive_data:"Site de test, ne postez aucune donnée sensible",selected:"selectionné(s)",name:"Nom",manage:"Gérer",done:"Terminé",new:"Nouveau",back:"Retour",move:"Déplacer",all:"Tous",rename:"Renommer",new_name:"Nouveau nom",options:"Options",reload:"Actualiser",some_data_have_changed:"Certaines données ont été modifiées. Vous devriez",generate:"Générer",open_in_browser:"Ouvrir dans votre navigateur",continue:"Continuer",discard:"Retirer"},errors:{resource_not_found:"Ressource introuvable",error_occured:"Une erreur est survenue :",cannot_register_more_user:"Vous ne pouvez pas enregistrer plus d'un utilisateur.",refresh:"Actualiser",no_valid_otp:"Aucune donnée OTP valide dans ce QR code",something_wrong_with_server:"Il y a un problème avec votre serveur",Unable_to_decrypt_uri:"uri impossible à décoder",not_a_supported_otp_type:"Ce format OTP n'est pas supporté pour le moment",cannot_create_otp_without_secret:"Impossible de créer un OTP sans un secret",data_of_qrcode_is_not_valid_URI:"Les données de ce code QR ne forment pas une URI OTP Auth valide :",wrong_current_password:"Mot de passe actuel érroné, rien n\\a été modifié",error_during_encryption:"Le chiffrement a échoué, votre base de données reste non protégée.",error_during_decryption:"Le déchiffrement a échoué, votre base de données est toujours protégée. Ceci est principalement dû à un problème d'intégrité des données chiffrées pour un ou plusieurs comptes.",qrcode_cannot_be_read:"Ce QR code est illisible",too_many_ids:"trop d'IDs ont été inclus dans le paramètre de requête, max. 100 autorisés",delete_user_setting_only:"Seuls les paramètres créés par l'utilisateur peuvent être supprimés",indecipherable:"*indéchiffrable*",cannot_decipher_secret:"Le secret ne peut pas être déchiffré. Ceci est généralement causé par une valeur APP_KEY incorrecte définie dans le fichier de configuration .env de 2Fauth ou des données corrompues dans la base de données.",https_required:"Contexte HTTPS requis",browser_does_not_support_webauthn:"Votre appareil ne supporte pas WebAuthn. Réessayez plus tard en utilisant un navigateur plus récent",aborted_by_user:"Abandonné par l'utilisateur",security_device_unsupported:"Périphérique de sécurité non pris en charge",unsupported_with_reverseproxy:"Sans effet avec un proxy d'authentification",user_deletion_failed:"La suppression du compte utilisateur a échoué, aucune donnée n'a été supprimée",auth_proxy_failed:"Échec de l'authentification par le proxy",auth_proxy_failed_legend:"2Fauth est configuré pour fonctionner derrière un proxy d'authentification, mais votre proxy ne retourne pas l'en-tête attendu. Vérifiez votre configuration et réessayez.",invalid_google_auth_migration:"Données Google Authenticator invalides ou illisibles",unsupported_otp_type:"Type OTP non supporté"},groups:{groups:"Groupes",create_group:"Créer un nouveau groupe",select_accounts_to_show:"Sélectionnez les comptes à afficher",manage_groups:"Gérer les groupes",active_group:"Groupe actif",manage_groups_legend:'Vous pouvez créer des groupes pour organiser vos comptes comme bon vous semble. Tous les comptes restent visibles dans le pseudo groupe nommé "Tous", quel que soit le groupe auquel ils appartiennent.',deleting_group_does_not_delete_accounts:"La suppression d'un groupe ne supprime pas les comptes",move_selected_to:"Déplacer la sélection vers",no_group:"Aucun groupe",forms:{new_group:"Nouveau groupe",new_name:"Nouveau nom",rename_group:"Renommer le groupe"},confirm:{delete:"Êtes-vous sûr·e de vouloir supprimer ce groupe ?"}},languages:{browser_preference:"Préférence du navigateur",en:"Anglais",fr:"Français",de:"Allemand"},pagination:{previous:"&laquo; Précédent",next:"Suivant &raquo;"},passwords:{reset:"Votre mot de passe a été réinitialisé !",sent:"Nous vous avons envoyé par email le lien de réinitialisation du mot de passe !",throttled:"Veuillez patienter avant de réessayer.",token:"Ce jeton de réinitialisation du mot de passe n'est pas valide.",user:"Aucun utilisateur n'a été trouvé avec cette adresse email.",password:"Les mots de passe doivent contenir au moins huit caractères et être identiques."},settings:{settings:"Réglages",account:"Compte",oauth:"OAuth",webauthn:"WebAuthn",tokens:"Jetons",options:"Options",confirm:{revoke:"Êtes-vous sûr(e) de vouloir révoquer ce jeton?"},general:"General",security:"Sécurité",profile:"Profil",change_password:"Changer le mot de passe",personal_access_tokens:"Jetons d'accès personnel",token_legend:"Les jetons d'accès personnels permettent à n'importe quelle application de s'authentifier à l'API 2Fauth. Vous devez fournir le jeton d'accès en tant que Bearer dans l'en-tête d'autorisation des requêtes de ces applications.",generate_new_token:"Générer un nouveau jeton",revoke:"Révoquer",token_revoked:"Jeton révoqué avec succès",revoking_a_token_is_permanent:"Révoquer un jeton est définitif",make_sure_copy_token:"Copier votre jeton d'accès personnel dès maintenant. Vous ne pourrez pas l'afficher à nouveau !",data_input:"Saisie des données",forms:{edit_settings:"Modifier les réglages",setting_saved:"Réglages sauvegardés",new_token:"Nouveau jeton",some_translation_are_missing:"Certaines traductions sont manquantes en utilisant la langue préférée du navigateur ?",help_translate_2fauth:"Aidez à traduire 2FAuth",language:{label:"Langue",help:"Langue utilisée pour traduire l'interface utilisateur de 2FAuth. Les langues proposées sont complètes, vous pouvez les utiliser pour remplacer la langue de référence de votre navigateur."},show_otp_as_dot:{label:"Afficher les mots de passe générés sous forme de point",help:"Remplace les caractères des mots de passe générés par des ●●● pour garantir leur confidentialité. N'affecte pas la fonction de copier/coller qui reste utilisable."},close_otp_on_copy:{label:"Ne plus afficher les mots de passe copiés",help:"Ferme automatiquement le popup affichant le mot de passe généré dès que ce dernier a été copié"},use_basic_qrcode_reader:{label:"Utiliser le lecteur de QR code basique",help:"Si vous rencontrez des problèmes lors de la lecture des QR codes activez cette option pour utiliser un lecteur de QR code moins évolué mais plus largement compatible"},display_mode:{label:"Mode d'affichage",help:"Change le mode d'affichage des comptes, soit sous forme de liste, soit sous forme de grille"},grid:"Grille",list:"Liste",show_accounts_icons:{label:"Afficher les icônes",help:"Affiche les icônes des comptes dans la vue principale"},auto_lock:{label:"Verrouillage automatique",help:"Déconnecte automatiquement l'utilisateur en cas d'inactivité. Est sans effet lorsque l'authentification est gérée par un proxy et qu'aucune URL de déconnexion personnalisée n'est configurée."},use_encryption:{label:"Protéger les données sensibles",help:"Les données sensibles, les secrets et les e-mails 2FA, sont stockés chiffrés dans la base de données. Assurez-vous de sauvegarder la valeur APP_KEY de votre fichier env (ou tout le fichier) car il sert de clé de chiffrement. Il n'y a aucun moyen de déchiffrer les données chiffrées sans cette clé."},default_group:{label:"Groupe par défaut",help:"Le groupe auquel sont associés les nouveaux comptes"},useDirectCapture:{label:"Saisie directe",help:"Choisissez si vous voulez être invité à choisir un mode de saisie parmi ceux disponibles ou si vous voulez utiliser directement le mode de saisie par défaut"},defaultCaptureMode:{label:"Mode de saisie par défaut",help:"Mode de saisie utilisé par défaut lorsque l'option Saisie directe est activée"},remember_active_group:{label:"Mémoriser le filtrage par groupe",help:"Enregistre le dernier groupe affiché et le restaure lors de votre prochaine visite"},never:"Jamais",on_otp_copy:"Après copie d'un mot de passe","1_minutes":"Après 1 minute","5_minutes":"Après 5 minutes","10_minutes":"Après 10 minutes","15_minutes":"Après 15 minutes","30_minutes":"Après 30 minutes","1_hour":"Après 1 heure","1_day":"Après 1 journée",livescan:"Scanner avec la caméra",upload:"Téléchargement de QR code",advanced_form:"Formulaire avancé"}},titles:{404:"Élément non trouvé",start:"Nouveau compte",capture:"Flash un QR code",accounts:"Comptes",createAccount:"Créez un compte",importAccounts:"Importer des comptes",editAccount:"Édition du compte",showQRcode:"QR code du compte",groups:"Groupes",createGroup:"Créer un groupe",editGroup:"Édition du groupe",settings:{options:"Options",account:"Compte utilisateur",oauth:{tokens:"Jetons OAuth",generatePAT:"Nouveau jeton d'accès personnel"},webauthn:{editCredential:"Édition du périphérique",devices:"Périphériques WebAuthn"}},login:"Connexion",register:"Inscription",autolock:"Verrouillage automatique",password:{request:"Réinitialisation du mot de passe",reset:"Nouveau mot de passe"},webauthn:{lost:"Récupération du compte",recover:"Ajouter un nouveau périphérique"},flooded:"Trop de tentatives",genericError:"Erreur"},twofaccounts:{service:"Service",account:"Compte",accounts:"Comptes",icon:"Icône",no_account_here:"Aucun compte 2FA !",add_first_account:"Ajouter votre premier compte",use_full_form:"Ou utiliser le formulaire détaillé",add_one:"Add one",show_qrcode:"Afficher le QR code",no_service:"- aucun service -",forms:{service:{placeholder:"example.com"},account:{placeholder:"Marc Dupont"},new_account:"Nouveau compte",edit_account:"Modifier le compte",otp_uri:"OTP Uri",scan_qrcode:"Scanner un QR code",upload_qrcode:"Uploader un QR code",use_advanced_form:"Utiliser le formulaire avancé",prefill_using_qrcode:"Préremplir à l'aide d'un QR Code",use_qrcode:{val:"Utiliser un QR code",title:"Utiliser un QR code pour renseigner le formulaire d'un seul coup d'un seul"},unlock:{val:"Déverouiller",title:"Déverouiller le champ (à vos risques et périls)"},lock:{val:"Vérouiller",title:"Vérouiller le champ"},choose_image:"Choisir une image…",test:"Tester",secret:{label:"Secret",help:"La clé utilisée pour générer vos codes de sécurité"},plain_text:"Texte brut",otp_type:{label:"Choisissez le type d'OTP à créer",help:"Time-based OTP ou HMAC-based OTP"},digits:{label:"Nombre de chiffres",help:"Le nombre de chiffres des codes de sécurité générés"},algorithm:{label:"Algorithme",help:"L'algorithme utilisé pour sécuriser vos codes de sécurité"},period:{label:"Durée de validité",placeholder:"30s par défaut",help:"La durée de validité des codes de sécurité générés, en seconde"},counter:{label:"Compteur",placeholder:"0 par défaut",help:"La valeur initiale du compteur",help_lock:"Il est risqué de modifier le compteur car vous pouvez désynchroniser le compte avec le serveur de vérification du service. Utilisez l'icône cadenas pour activer la modification, mais seulement si vous savez ce que vous faites"},image:{label:"Image",placeholder:"http://...",help:"L'URL d'une image externe à utiliser comme icône du compte"},options_help:"Vous pouvez laisser les options suivantes non renseignées si vous ne savez pas comment les définir. Les valeurs les plus couramment utilisées seront appliquées.",alternative_methods:"Méthodes alternatives"},stream:{live_scan_cant_start:"Le scanner ne peut pas démarrer :(",need_grant_permission:{reason:"2FAuth n'a pas la permission d'accéder à votre caméra",solution:"Vous devez autoriser l'utilisation de l'appareil photo de votre appareil. Si vous avez déjà refusé et que votre navigateur ne vous le demande plus, veuillez vous référer à la documentation du navigateur pour savoir comment accorder lautorisation."},not_readable:{reason:"Impossible de charger le scanner",solution:"La caméra est-elle déjà en cours d'utilisation ? Assurez-vous qu'aucune autre application n'utilise votre appareil photo et réessayez"},no_cam_on_device:{reason:"Votre équipement ne dispose pas de caméra",solution:"Peut-être avez-vous oublié de brancher votre webcam"},secured_context_required:{reason:"Contexte sécurisé requis",solution:"Une connexion sécurisée HTTPS est requise pour utiliser le scanner. Si vous exécutez 2FAuth depuis votre ordinateur, n'utilisez pas d'hôte virtuel autre que localhost"},https_required:"HTTPS requis pour utiliser la caméra",camera_not_suitable:{reason:"Votre équipement ne dispose pas d'une caméra adaptée",solution:"Veuillez utiliser un autre appareil"},stream_api_not_supported:{reason:"L'API Stream n'est pas prise en charge dans ce navigateur",solution:"Vous devriez utiliser un navigateur moderne"}},confirm:{delete:"Etes-vous sûrs de vouloir supprimer le compte ?",cancel:"Les données seront perdues, êtes-vous sûrs ?",discard:"Êtes-vous sûrs de vouloir retirer ce compte ?",discard_all:"Êtes-vous sûrs de vouloir retirer tous les comptes ?",discard_duplicates:"Êtes-vous sûrs de vouloir retirer tous les doublons ?"},import:{import:"Import",to_import:"Importer",import_legend:"Importez vos comptes Google Authenticator.",use_the_gauth_qr_code:"Charger un QR code G-Auth",issuer:"Émetteur",imported:"Importé",failure:"Échec",x_valid_accounts_found:"{count} comptes valides trouvés",import_all:"Tout importer",import_this_account:"Importer ce compte",discard_all:"Tout retirer",discard_duplicates:"Retirer les doublons",discard_this_account:"Retirer ce compte",generate_a_test_password:"Générer un mot de passe de test",possible_duplicate:"Un compte avec les mêmes informations existe déjà"}},validation:{accepted:"Le champ :attribute doit être accepté.",accepted_if:"Le champ :attribute doit être accepté quand :other a la valeur :value.",active_url:"Le champ :attribute n'est pas une URL valide.",after:"Le champ :attribute doit être une date postérieure au :date.",after_or_equal:"Le champ :attribute doit être une date postérieure ou égale au :date.",alpha:"Le champ :attribute doit contenir uniquement des lettres.",alpha_dash:"Le champ :attribute doit contenir uniquement des lettres, des chiffres et des tirets.",alpha_num:"Le champ :attribute doit contenir uniquement des chiffres et des lettres.",array:"Le champ :attribute doit être un tableau.",before:"Le champ :attribute doit être une date antérieure au :date.",before_or_equal:"Le champ :attribute doit être une date antérieure ou égale au :date.",between:{numeric:"La valeur de :attribute doit être comprise entre :min et :max.",file:"La taille du fichier de :attribute doit être comprise entre :min et :max kilo-octets.",string:"Le texte :attribute doit contenir entre :min et :max caractères.",array:"Le tableau :attribute doit contenir entre :min et :max éléments."},boolean:"Le champ :attribute doit être vrai ou faux.",confirmed:"Le champ de confirmation :attribute ne correspond pas.",current_password:"Le mot de passe est incorrect.",date:"Le champ :attribute n'est pas une date valide.",date_equals:"Le champ :attribute doit être une date égale à :date.",date_format:"Le champ :attribute ne correspond pas au format :format.",declined:"Le champ :attribute doit être décliné.",declined_if:"Le champ :attribute doit être décliné quand :other a la valeur :value.",different:"Les champs :attribute et :other doivent être différents.",digits:"Le champ :attribute doit contenir :digits chiffres.",digits_between:"Le champ :attribute doit contenir entre :min et :max chiffres.",dimensions:"La taille de l'image :attribute n'est pas conforme.",distinct:"Le champ :attribute a une valeur en double.",email:"Le champ :attribute doit être une adresse email valide.",ends_with:"Le champ :attribute doit se terminer par une des valeurs suivantes : :values",exists:"Le champ :attribute sélectionné est invalide.",file:"Le champ :attribute doit être un fichier.",filled:"Le champ :attribute doit avoir une valeur.",gt:{numeric:"La valeur de :attribute doit être supérieure à :value.",file:"La taille du fichier de :attribute doit être supérieure à :value kilo-octets.",string:"Le texte :attribute doit contenir plus de :value caractères.",array:"Le tableau :attribute doit contenir plus de :value éléments."},gte:{numeric:"La valeur de :attribute doit être supérieure ou égale à :value.",file:"La taille du fichier de :attribute doit être supérieure ou égale à :value kilo-octets.",string:"Le texte :attribute doit contenir au moins :value caractères.",array:"Le tableau :attribute doit contenir au moins :value éléments."},image:"Le champ :attribute doit être une image.",in:"Le champ :attribute est invalide.",in_array:"Le champ :attribute n'existe pas dans :other.",integer:"Le champ :attribute doit être un entier.",ip:"Le champ :attribute doit être une adresse IP valide.",ipv4:"Le champ :attribute doit être une adresse IPv4 valide.",ipv6:"Le champ :attribute doit être une adresse IPv6 valide.",json:"Le champ :attribute doit être un document JSON valide.",lt:{numeric:"La valeur de :attribute doit être inférieure à :value.",file:"La taille du fichier de :attribute doit être inférieure à :value kilo-octets.",string:"Le texte :attribute doit contenir moins de :value caractères.",array:"Le tableau :attribute doit contenir moins de :value éléments."},lte:{numeric:"La valeur de :attribute doit être inférieure ou égale à :value.",file:"La taille du fichier de :attribute doit être inférieure ou égale à :value kilo-octets.",string:"Le texte :attribute doit contenir au plus :value caractères.",array:"Le tableau :attribute doit contenir au plus :value éléments."},max:{numeric:"La valeur de :attribute ne peut être supérieure à :max.",file:"La taille du fichier de :attribute ne peut pas dépasser :max kilo-octets.",string:"Le texte de :attribute ne peut contenir plus de :max caractères.",array:"Le tableau :attribute ne peut contenir plus de :max éléments."},mimes:"Le champ :attribute doit être un fichier de type : :values.",mimetypes:"Le champ :attribute doit être un fichier de type : :values.",min:{numeric:"La valeur de :attribute doit être supérieure ou égale à :min.",file:"La taille du fichier de :attribute doit être supérieure à :min kilo-octets.",string:"Le texte :attribute doit contenir au moins :min caractères.",array:"Le tableau :attribute doit contenir au moins :min éléments."},multiple_of:"La valeur de :attribute doit être un multiple de :value.",not_in:"Le champ :attribute sélectionné n'est pas valide.",not_regex:"Le format du champ :attribute n'est pas valide.",numeric:"Le champ :attribute doit contenir un nombre.",password:"Le mot de passe est incorrect",present:"Le champ :attribute doit être présent.",prohibited:"Le champ :attribute est interdit.",prohibited_if:"Le champ :attribute est interdit quand :other a la valeur :value.",prohibited_unless:"Le champ :attribute est interdit à moins que :other est l'une des valeurs :values.",prohibits:"Le champ :attribute interdit :other d'être présent.",regex:"Le format du champ :attribute est invalide.",required:"Le champ :attribute est obligatoire.",required_if:"Le champ :attribute est obligatoire quand la valeur de :other est :value.",required_unless:"Le champ :attribute est obligatoire sauf si :other est :values.",required_with:"Le champ :attribute est obligatoire quand :values est présent.",required_with_all:"Le champ :attribute est obligatoire quand :values sont présents.",required_without:"Le champ :attribute est obligatoire quand :values n'est pas présent.",required_without_all:"Le champ :attribute est requis quand aucun de :values n'est présent.",same:"Les champs :attribute et :other doivent être identiques.",size:{numeric:"La valeur de :attribute doit être :size.",file:"La taille du fichier de :attribute doit être de :size kilo-octets.",string:"Le texte de :attribute doit contenir :size caractères.",array:"Le tableau :attribute doit contenir :size éléments."},starts_with:"Le champ :attribute doit commencer avec une des valeurs suivantes : :values",string:"Le champ :attribute doit être une chaîne de caractères.",timezone:"Le champ :attribute doit être un fuseau horaire valide.",unique:"La valeur du champ :attribute est déjà utilisée.",uploaded:"Le fichier du champ :attribute n'a pu être téléversé.",url:"Le champ :attribute doit être une url valide.",uuid:"Le champ :attribute doit être un UUID valide",single:"Lors de l'utilisation de :attribut, il doit être le seul paramètre dans le corps de la requête",onlyCustomOtpWithUri:"Le paramètre uri doit être fourni seul ou seulement avec le paramètre 'custom_otp'",custom:{icon:{image:"Les formats acceptés sont jpeg, png, bmp, gif, svg, or webp."},qrcode:{image:"Les formats acceptés sont jpeg, png, bmp, gif, svg, or webp."},uri:{regex:"Le champ :attribute n'est pas une URI otpauth valide."},otp_type:{in:"Le champ :attribute n'est pas supporté."},email:{exists:"Aucun compte utilisateur n'utilise cet email."},secret:{isBase32Encoded:"Le :attribute doit être une chaîne encodée en base32"},account:{regex:"Le champ :attribute ne doit pas contenir de deux-points."},service:{regex:"Le champ :attribute ne doit pas contenir de deux-points."},label:{required:"L'URI doit avoir un label."},ids:{regex:"Les IDs doivent être séparés par des virgules, sans virgule en fin de chaîne."},name:{firstUser:"Un compte utilisateur existe déjà"}},attributes:[]}},si:{auth:{failed:"මෙම අක්තපත්ර අපගේ වාර්තා වලට ගැලපෙන්නේ නැත.",password:"The provided password is incorrect.",throttle:"බොහෝ පිවිසුම් උත්සහයන් සිදු කර ඇත. කරුණාකර නැවත උත්සාහ කරන්න: තත්පර තත්පර.",sign_out:"වරන්න",sign_in:"පුරන්න",sign_in_using:"Sign in using",login_and_password:"login & password",register:"ලියාපදිංචි වන්න",welcome_back_x:"Welcome back {0}",autolock_triggered:"Auto lock triggered",autolock_triggered_punchline:"The event watched by the Auto Lock feature has fired. You've been automatically disconnected.",change_autolock_in_settings:"You can change the behavior of the Autolock feature in Settings > Options tab.",already_authenticated:"Already authenticated",authentication:"Authentication",maybe_later:"Maybe later",user_account_controlled_by_proxy:"User account made available by an authentication proxy.<br />Manage the account at proxy level.",auth_handled_by_proxy:"Authentication handled by a reverse proxy, below settings are disabled.<br />Manage authentication at proxy level.",confirm:{logout:"Are you sure you want to log out?",revoke_device:"Are you sure you want to revoke this device?",delete_account:"Are you sure you want to delete your account?"},webauthn:{security_device:"a security device",security_devices:"Security devices",security_devices_legend:"Authentication devices you can use to sign in 2FAuth, like security keys (i.e Yubikey) or smartphones with biometric capabilities (i.e. Apple FaceId/TouchId)",enhance_security_using_webauthn:"You can enhance the security of your 2FAuth account by enabling WebAuthn authentication.<br /><br />\n WebAuthn allows you to use trusted devices (like Yubikeys or smartphones with biometric capabilities) to sign in quickly and more securely.",use_security_device_to_sign_in:"Get ready to authenticate using (one of) your security devices. Plug your key in, remove face mask or gloves, etc.",lost_your_device:"Lost your device?",recover_your_account:"Recover your account",account_recovery:"Account recovery",recovery_punchline:"2FAuth will send you a recovery link to this email address. Click the link in the received email to register a new security device.<br /><br />Ensure you open the email on a device you fully own.",send_recovery_link:"Send recovery link",account_recovery_email_sent:"Account recovery email sent!",disable_all_other_devices:"Disable all other devices except this one",register_a_new_device:"Register a new device",device_successfully_registered:"Device successfully registered",device_revoked:"Device successfully revoked",revoking_a_device_is_permanent:"Revoking a device is permanent",recover_account_instructions:"Click the button below to register a new security device to recover your account. Just follow your browser instructions.",invalid_recovery_token:"Invalid recovery token",rename_device:"Rename device",my_device:"My device",unknown_device:"Unknown device",use_webauthn_only:{label:"Use WebAuthn only",help:"Make WebAuthn the only available method to sign in 2FAuth. This is the recommended setup to take advantage of the WebAuthn enhanced security.<br />\n In case of device lost you will always be able to register a new security device to recover your account."},need_a_security_device_to_enable_options:"Set at least one device to enable these options",use_webauthn_as_default:{label:"Use WebAuthn as default sign in method",help:"Set the 2FAuth sign in form to propose the WebAuthn authentication at first. The Login/password method is then available as an alternative/fallback solution.<br />\n This has no effect if you only use WebAuthn."}},forms:{name:"නම",login:"පිවිසෙන්න",webauthn_login:"WebAuthn login",email:"විද්‍යුත් තැපෑල",password:"මුර පදය",confirm_password:"මුරපදය තහවුරු කරන්න",confirm_new_password:"නව මුර පදය තහවුරු කරන්න",dont_have_account_yet:"Don't have your account yet?",already_register:"දැනටමත් ලියාපදිංචි වී ඇත්ද ?",authentication_failed:"Authentication failed",forgot_your_password:"මුරපදය අමතක වුනාද?",request_password_reset:"නැවත සකසන්න",reset_password:"මුරපදය නැවත සකසන්න",disabled_in_demo:"Feature disabled in Demo mode",new_password:"නව මුරපදය",current_password:{label:"වත්මන් මුරපදය",help:"Fill in your current password to confirm that it's you"},change_password:"මුරපදය වෙනස් කරන්න",send_password_reset_link:"මුරපදය නැවත සැකසීමේ සබැඳිය යවන්න",password_successfully_changed:"මුරපදය සාර්ථකව වෙනස් කෙරිණි",edit_account:"ගිණුම සංස්කරණය",profile_saved:"පැතිකඩ සාර්ථකව යාවත්කාල කෙරිණි!",welcome_to_demo_app_use_those_credentials:"Welcome to the 2FAuth demo.<br><br>You can connect using the email address <strong>demo@2fauth.app</strong> and the password <strong>demo</strong>",welcome_to_testing_app_use_those_credentials:"Welcome to the 2FAuth testing instance.<br><br>Use email address <strong>testing@2fauth.app</strong> and password <strong>password</strong>",register_punchline:"Welcome to 2FAuth.<br/>You need an account to go further. Fill this form to register yourself, and please, choose a strong password, 2FA data are sensitives.",reset_punchline:"2FAuth will send you a password reset link to this address. Click the link in the received email to set a new password.",name_this_device:"Name this device",delete_account:"Delete account",delete_your_account:"Delete your account",delete_your_account_and_reset_all_data:"This will reset 2FAuth. Your user account will be deleted as well as all 2FA data. There is no going back.",user_account_successfully_deleted:"User account successfully deleted"}},commons:{cancel:"අවලංගු",update:"යාවත්කාල",copy:"Copy",copy_to_clipboard:"පසුරුපුවරුවට පිටපත්",copied_to_clipboard:"පසුරුපුවරුවට පිටපත් කෙරිණි",profile:"පැතිකඩ",edit:"සංස්කරණය",delete:"Delete",disable:"Disable",enable:"Enable",create:"සාදන්න",save:"සුරකින්න",close:"වසන්න",demo_do_not_post_sensitive_data:"This is a demo app, do not post any sensitive data",testing_do_not_post_sensitive_data:"This is a testing app, do not post any sensitive data",selected:"selected",name:"නම",manage:"Manage",done:"Done",new:"නව",back:"ආපසු",move:"Move",all:"සියල්ල",rename:"නැවත නම්කරන්න",new_name:"New name",options:"විකල්ප",reload:"නැවත පූරණය",some_data_have_changed:"Some data have changed. You should",generate:"Generate",open_in_browser:"Open in browser",continue:"Continue",discard:"Discard"},errors:{resource_not_found:"Resource not found",error_occured:"An error occured:",cannot_register_more_user:"You cannot register more than one user.",refresh:"නැවුම් කරන්න",no_valid_otp:"No valid OTP resource in this QR code",something_wrong_with_server:"Something is wrong with your server",Unable_to_decrypt_uri:"Unable to decrypt uri",not_a_supported_otp_type:"This OTP format is not currently supported",cannot_create_otp_without_secret:"Cannot create an OTP without a secret",data_of_qrcode_is_not_valid_URI:"The data of this QR code is not a valid OTP Auth URI:",wrong_current_password:"Wrong current password, nothing has changed",error_during_encryption:"Encryption failed, your database remains unprotected.",error_during_decryption:"Decryption failed, your database is still protected. This is mainly caused by an integrity issue of encrypted data for one or more accounts.",qrcode_cannot_be_read:"This QR code is unreadable",too_many_ids:"too many ids were included in the query parameter, max 100 allowed",delete_user_setting_only:"Only user-created setting can be deleted",indecipherable:"*indecipherable*",cannot_decipher_secret:"The secret cannot be deciphered. This is mainly caused by a wrong APP_KEY set in the .env configuration file of 2Fauth or a corrupted data stored in database.",https_required:"HTTPS context required",browser_does_not_support_webauthn:"Your device does not support webauthn. Try again later using a more modern browser",aborted_by_user:"Aborted by user",security_device_unsupported:"Security device unsupported",unsupported_with_reverseproxy:"Not applicable when using an auth proxy",user_deletion_failed:"User account deletion failed, no data have been deleted",auth_proxy_failed:"Proxy authentication failed",auth_proxy_failed_legend:"2Fauth is configured to run behind an authentication proxy but your proxy does not return the expected header. Check your configuration and try again.",invalid_google_auth_migration:"Invalid or unreadable Google Authenticator data",unsupported_otp_type:"Unsupported OTP type"},groups:{groups:"සමූහ",create_group:"Create new group",select_accounts_to_show:"Select accounts to show",manage_groups:"Manage groups",active_group:"ක්‍රියාත්මක සමූහය",manage_groups_legend:"You can create groups to organize your accounts the way you want. All accounts remain visible in the pseudo group named 'All', regardless of the group they belong to.",deleting_group_does_not_delete_accounts:"Deleting a group does not delete accounts",move_selected_to:"Move selected to",no_group:"සමූහ නැත",forms:{new_group:"නව සමූහය",new_name:"නව නම",rename_group:"සමූහය නැවත නම් කිරීම"},confirm:{delete:"Are you sure you want to delete this group?"}},languages:{browser_preference:"Browser preference",en:"ඉංග්‍රීසි",fr:"ප්‍රංශ",de:"ජර්මානු"},pagination:{previous:"&laquo; පෙර",next:"ඊළඟ &raquo;"},passwords:{reset:"ඔබගේ මුරපදය යළි සැකසිනි!",sent:"ඔබගේ රහස් පද යළි සකසන සබැඳිය අප විසින් ඊ-තැපැල් කර ඇත!",throttled:"නැවත උත්සහා කිරීමට පෙර,මදක් රැදිසිටින්න.",token:"මෙම මුරපද යළි පිහිටුවීමේ ටෝකනය වලංගු නොවේ.",user:"අපට එම විද්යුත් තැපැල් ලිපිනය සමඟ පරිශීලකයෙකු සොයා ගත නොහැක.",password:"Passwords must be at least eight characters and match the confirmation."},settings:{settings:"සැකසුම්",account:"ගිණුම",oauth:"OAuth",webauthn:"WebAuthn",tokens:"Tokens",options:"විකල්ප",confirm:{revoke:"Are you sure you want to revoke this token?"},general:"General",security:"ආරක්ෂාව",profile:"Profile",change_password:"Change password",personal_access_tokens:"Personal access tokens",token_legend:"Personal Access Tokens allow any app to authenticate to the 2Fauth API. You should specify the access token as a Bearer token in the authorization header of consumer apps requests.",generate_new_token:"Generate a new token",revoke:"Revoke",token_revoked:"Token successfully revoked",revoking_a_token_is_permanent:"Revoking a token is permanent",make_sure_copy_token:"Make sure to copy your personal access token now. You wont be able to see it again!",data_input:"දත්ත ආදානය",forms:{edit_settings:"සැකසුම් සංස්කරණය",setting_saved:"සැකසුම් සුරැකිණි",new_token:"New token",some_translation_are_missing:"Some translations are missing using the browser preferred language?",help_translate_2fauth:"Help translate 2FAuth",language:{label:"භාෂාව",help:"Language used to translate the 2FAuth user interface. Named languages are complete, set the one of your choice to override your browser preference."},show_otp_as_dot:{label:"Show generated one-time passwords as dot",help:"Replace generated password caracters with *** to ensure confidentiality. Do not affect the copy/paste feature."},close_otp_on_copy:{label:"Close OTP after copy",help:"Automatically close the popup showing the generated password after it has been copied"},use_basic_qrcode_reader:{label:"Use basic QR code reader",help:"If you experiences issues when capturing QR codes enables this option to switch to a more basic but more reliable QR code reader"},display_mode:{label:"Display mode",help:"Choose whether you want accounts to be displayed as a list or as a grid"},grid:"Grid",list:"List",show_accounts_icons:{label:"නිරූපක පෙන්වන්න",help:"Show icons accounts in the main view"},auto_lock:{label:"ස්වයං අගුලුවැටීම",help:"Log out the user automatically in case of inactivity. Has no effect when authentication is handled by a proxy and no custom logout url is specified."},use_encryption:{label:"Protect sensible data",help:"Sensitive data, the 2FA secrets and emails, are stored encrypted in database. Be sure to backup the APP_KEY value of your .env file (or the whole file) as it serves as key encryption. There is no way to decypher encrypted data without this key."},default_group:{label:"Default group",help:"The group to which the newly created accounts are associated"},useDirectCapture:{label:"සෘජු ආදානය",help:"Choose whether you want to be prompted to choose an input mode among those available or if you want to directly use the default input mode"},defaultCaptureMode:{label:"Default input mode",help:"Default input mode used when the Direct input option is On"},remember_active_group:{label:"Remember group filter",help:"Save the last group filter applied and restore it on your next visit"},never:"Never",on_otp_copy:"On security code copy","1_minutes":"විනාඩි 1කට පසු","5_minutes":"විනාඩි 5කට පසු","10_minutes":"විනාඩි 10කට පසු","15_minutes":"විනාඩි 15කට පසු","30_minutes":"විනාඩි 30කට පසු","1_hour":"පැය 1කට පසු","1_day":"දිනකට පසු",livescan:"QR code livescan",upload:"QR code upload",advanced_form:"Advanced form"}},titles:{404:"Item not found",start:"New account",capture:"Flash QR",accounts:"Accounts",createAccount:"Create account",importAccounts:"Import accounts",editAccount:"Account edit",showQRcode:"Account as QR code",groups:"Groups",createGroup:"Create group",editGroup:"Group edit",settings:{options:"Options",account:"User account",oauth:{tokens:"OAuth tokens",generatePAT:"New personal token"},webauthn:{editCredential:"Device edit",devices:"WebAuthn devices"}},login:"Login",register:"Register",autolock:"Auto lock",password:{request:"Reset password",reset:"New password"},webauthn:{lost:"Account recovery",recover:"Register a new device"},flooded:"Flood",genericError:"Error"},twofaccounts:{service:"සේවාව",account:"ගිණුම",accounts:"ගිණුම්",icon:"නිරූපකය",no_account_here:"No 2FA here!",add_first_account:"පළමු ගිණුම එකතුකරන්න",use_full_form:"Or use the full form",add_one:"Add one",show_qrcode:"Show QR code",no_service:"- no service -",forms:{service:{placeholder:"උදාහරණය.ලංකා"},account:{placeholder:"ජෝන් ඩොයි"},new_account:"නව ගිණුම",edit_account:"ගිණුම සංස්කරණය",otp_uri:"OTP Uri",scan_qrcode:"Scan a QR code",upload_qrcode:"Upload a QR code",use_advanced_form:"Use the advanced form",prefill_using_qrcode:"Prefill using a QR Code",use_qrcode:{val:"Use a qrcode",title:"Use a QR code to fill the form magically"},unlock:{val:"Unlock",title:"Unlock it (at your own risk)"},lock:{val:"Lock",title:"එය අගුළුලන්න"},choose_image:"Choose an image…",test:"අත්හදා බලන්න",secret:{label:"රහස",help:"The key used to generate your security codes"},plain_text:"Plain text",otp_type:{label:"Choose the type of OTP to create",help:"Time-based OTP or HMAC-based OTP"},digits:{label:"Digits",help:"The number of digits of the generated security codes"},algorithm:{label:"Algorithm",help:"The algorithm used to secure your security codes"},period:{label:"Period",placeholder:"Default is 30",help:"The period of validity of the generated security codes in second"},counter:{label:"Counter",placeholder:"Default is 0",help:"The initial counter value",help_lock:"It is risky to edit the counter as you can desynchronize the account with the verification server of the service. Use the lock icon to enable modification, but only if you know for you are doing"},image:{label:"Image",placeholder:"http://...",help:"The url of an external image to use as the account icon"},options_help:"You can leave the following options blank if you don't know how to set them. The most commonly used values will be applied.",alternative_methods:"Alternative methods"},stream:{live_scan_cant_start:"Live scan can't start :(",need_grant_permission:{reason:"2FAuth does not have permission to access your camera",solution:"You need to grant permission to use your device camera. If you already denied and your browser do not prompt you again, please refers to the browser documentation to find out how to grant permission."},not_readable:{reason:"Fail to load scanner",solution:"Is the camera already in use? Ensure that no other app use your camera and try again"},no_cam_on_device:{reason:"No camera on this device",solution:"Maybe you forgot to plug in your webcam"},secured_context_required:{reason:"Secure context required",solution:"HTTPS is required for live scan. If you run 2FAuth from your computer, do not use virtual host other than localhost"},https_required:"HTTPS required for camera streaming",camera_not_suitable:{reason:"Installed cameras are not suitable",solution:"Please use another device/camera"},stream_api_not_supported:{reason:"Stream API is not supported in this browser",solution:"You should use a modern browser"}},confirm:{delete:"Are you sure you want to delete this account?",cancel:"The account will be lost. Are you sure?",discard:"Are you sure you want to discard this account?",discard_all:"Are you sure you want to discard all accounts?",discard_duplicates:"Are you sure you want to discard all duplicates?"},import:{import:"Import",to_import:"Import",import_legend:"Import your Google Authenticator accounts.",use_the_gauth_qr_code:"Load a G-Auth QR code",issuer:"Issuer",imported:"Imported",failure:"Failure",x_valid_accounts_found:"{count} valid accounts found",import_all:"Import all",import_this_account:"Import this account",discard_all:"Discard all",discard_duplicates:"Discard duplicates",discard_this_account:"Discard this account",generate_a_test_password:"Generate a test pasword",possible_duplicate:"An account with the exact same data already exists"}},validation:{accepted:"මෙම :attribute පිළිගත යුතුය.",accepted_if:"The :attribute must be accepted when :other is :value.",active_url:"මෙම :attribute වලංගු සබැඳි එකක් නොවේ.",after:"මෙම :attribute පසු දිනය විය යුතුය :date.",after_or_equal:"මෙම :attribute පසුව හෝ ඊට සමාන දිනයකි :date.",alpha:"මෙම :attribute අක්ෂර පමණක් අඩංගු විය හැක.",alpha_dash:"මෙම :attribute අක්ෂර, ඉලක්කම්, ඉරුම් සහ යටිඅඩර්ස් අඩංගු විය හැක..",alpha_num:"මෙම :attribute අක්ෂර, ඉලක්කම් පමණක් අඩංගු විය හැක.",array:"මෙම :attribute අරාව විය යුතුය.",before:"මෙම :attribute පෙර දින විය යුතුය :date.",before_or_equal:"මෙම :attribute පෙර හෝ ඊට සමාන දිනයකි :date.",between:{numeric:"මෙම :attribute අතර විය යුතුය :min සහ :max.",file:"මෙම :attribute අතර විය යුතුය :min සහ :max කිලෝ බයිට ගණන.",string:"මෙම :attribute අතර විය යුතුය :min සහ :max ප්රමාණය.",array:"මෙම :attribute අතර තිබිය යුතුය :min සහ :max අයිතම."},boolean:"මෙම :attribute ක්ෂේත්ර සත්ය හෝ අසත්ය විය යුතුය.",confirmed:"මෙම :attribute තහවුරු කිරීම නොගැලපේ.",current_password:"The password is incorrect.",date:"මෙම :attribute වලංගු දිනය නොවේ.",date_equals:"මෙම :attribute දිනකට සමාන විය යුතුය :date.",date_format:"මෙම :attribute ආකෘතියට ගැළපෙන්නේ නැත :format.",declined:"The :attribute must be declined.",declined_if:"The :attribute must be declined when :other is :value.",different:"මෙම :attribute සහ :other වෙනස් විය යුතුය.",digits:"මෙම :attribute විය යුතුය :digits ඉලක්කම්.",digits_between:"මෙම :attribute විය යුතුය අතර :min සහ :max ඉලක්කම්.",dimensions:"මෙම :attribute වලංගු නොවන පිළිබිඹුවක් ඇත.",distinct:"මෙම :attribute ක්ෂේත්රයේ අනුපිටපත් වටිනාකමක් ඇත.",email:"මෙම :attribute වලංගු විද්යුත් තැපැල් ලිපිනයක් විය යුතුය.",ends_with:"The :attribute must end with one of the following: :values.",exists:"මෙම තෝරා ඇත :attribute අවලංගුයි.",file:"මෙම :attribute ගොනුවක් විය යුතුය.",filled:"මෙම :attribute ක්ෂේත්රයේ වටිනාකමක් තිබිය යුතුය.",gt:{numeric:"මෙම :attribute වඩා විශාල විය යුතුය :value.",file:"මෙම :attribute වඩා විශාල විය යුතුය :value කිලෝ බයිට ගණන.",string:"මෙම :attribute වඩා විශාල විය යුතුය :value ප්රමාණය.",array:"මෙම :attribute වඩා වැඩි විය යුතුය :value අයිතම."},gte:{numeric:"මෙම :attribute වඩා වැඩි හෝ සමාන විය යුතුය :value.",file:"මෙම :attribute වඩා වැඩි හෝ සමාන විය යුතුයl :value කිලෝ බයිට ගණන.",string:"මෙම :attribute වඩා වැඩි හෝ සමාන විය යුතුය :value ප්රමාණය.",array:"මෙම :attribute තිබිය යුතු :value අයිතම හෝ ඊට වැඩි."},image:"මෙම :attribute රූපයක් විය යුතුය.",in:"මෙම තෝරා ඇත :attribute අවලංගුයි.",in_array:"මෙම :attribute ක්ෂේත්රයේ නොපවතින :other.",integer:"මෙම :attribute පූර්ණ සංඛ්යාවක් විය යුතුය.",ip:"මෙම :attribute වලංගු IP ලිපිනයක් තිබිය යුතුය.",ipv4:"මෙම :attribute වලංගු IPv4 ලිපිනය විය යුතුය.",ipv6:"මෙම :attribute වලංගු IPv6 ලිපිනය විය යුතුය.",json:"මෙම :attribute වලංගු JSON පේළියකි විය යුතුය.",lt:{numeric:"මෙම :attribute වඩා අඩු විය යුතුය :value.",file:"මෙම :attribute වඩා අඩු විය යුතුය :value කිලෝ බයිට ගණන.",string:"මෙම :attribute වඩා අඩු විය යුතුය :value ප්රමාණය..",array:"මෙම :attribute වඩා අඩු විය යුතුය :value අයිතම."},lte:{numeric:"මෙම :attribute අඩු හෝ සමාන විය යුතුය :value.",file:"මෙම :attribute අඩු හෝ සමාන විය යුතුය :value කිලෝ බයිට ගණන..",string:"මෙම :attribute අඩු හෝ සමාන විය යුතුය :value ප්රමාණය..",array:"මෙම :attribute වඩා වැඩි නොවිය යුතුය :value අයිතම."},max:{numeric:"මෙම :attribute වඩා විශාල විය නොහැකිය :max.",file:"මෙම :attribute වඩා විශාල විය නොහැකිය :max කිලෝ බයිට ගණන..",string:"මෙම :attribute වඩා විශාල විය නොහැකිය :max ප්රමාණය..",array:"මෙම :attribute වඩා වැඩි නොවිය හැක :max අයිතම."},mimes:"මෙම :attribute වර්ගයේ ගොනුවක් විය යුතුය: :values.",mimetypes:"මෙම :attribute වර්ගයේ ගොනුවක් විය යුතුය: :values.",min:{numeric:"මෙම :attribute අවම වශයෙන් විය යුතුය :min.",file:"මෙම :attribute අවම වශයෙන් විය යුතුය :min කිලෝ බයිට ගණන..",string:"මෙම :attribute අවම වශයෙන් විය යුතුය :min ප්රමාණය..",array:"මෙම :attribute අවම වශයෙන් තිබිය යුතුය :min අයිතම."},multiple_of:"The :attribute must be a multiple of :value.",not_in:"මෙම තෝරා ඇත :attribute අවලංගුයි.",not_regex:"මෙම :attribute ආකෘතිය අවලංගුයි.",numeric:"මෙම :attribute අංකයක් විය යුතුය.",password:"The password is incorrect.",present:"මෙම :attribute ක්ෂේත්රයයි තිබිය යුතුය.",prohibited:"The :attribute field is prohibited.",prohibited_if:"The :attribute field is prohibited when :other is :value.",prohibited_unless:"The :attribute field is prohibited unless :other is in :values.",prohibits:"The :attribute field prohibits :other from being present.",regex:"මෙම :attribute ආකෘතිය අවලංගුයි.",required:"මෙම :attribute ක්ෂේත්රයයි අවශ්යයි.",required_if:"මෙම :attribute ක්ෂේත්රයයි අවශ්යයි එය :other මෙය :value.",required_unless:"මෙම :attribute ක්ෂේත්රයයි අවශ්යයි මිස :other මෙය :values.",required_with:"මෙම :attribute ක්ෂේත්රයයි අවශ්යයි එය :values තිබිය යුතුය.",required_with_all:"මෙම :attribute ක්ෂේත්රයයි අවශ්යයි එය :values තිබිය යුතුය.",required_without:"මෙම :attribute ක්ෂේත්රයයි අවශ්යයි එය :values තිබිය යුතුය.",required_without_all:"මෙම :attribute ක්ෂේත්රයයි අවශ්යයි එය කිසිවක් of :values තිබිය යුතුය.",same:"මෙම :attribute සහ :other ගැලපිය යුතුයි.",size:{numeric:"මෙම :attribute විය යුතුය :size.",file:"මෙම :attribute විය යුතුය :size කිලෝ බයිට ගණන..",string:"මෙම :attribute විය යුතුය :size ප්රමාණය..",array:"මෙම :attribute must contain :size අයිතම."},starts_with:"මෙම :attribute පහත සඳහන් එකක් සමඟ ආරම්භ කළ යුතුය: :values",string:"මෙම :attribute පේළියකි විය යුතුය.",timezone:"මෙම :attribute වලංගු කලාපයකි විය යුතුය.",unique:"මෙම :attribute දැනටමත් අරගෙන තියෙන්නේ.",uploaded:"මෙම :attribute උඩුගත කිරීම අසාර්ථක විය.",url:"මෙම :attribute ආකෘතිය අවලංගුයි.",uuid:"මෙම :attribute වලංගු UUID විය යුතුය.",single:"When using :attribute it must be the only parameter in this request body",onlyCustomOtpWithUri:"The uri parameter must be provided alone or only in combination with the 'custom_otp' parameter",custom:{icon:{image:"Supported format are jpeg, png, bmp, gif, svg, or webp."},qrcode:{image:"Supported format are jpeg, png, bmp, gif, svg, or webp."},uri:{regex:"The :attribute is not a valid otpauth uri."},otp_type:{in:"The :attribute is not supported."},email:{exists:"No account found using this email."},secret:{isBase32Encoded:"The :attribute must be a base32 encoded string."},account:{regex:"The :attribute must not contain colon."},service:{regex:"The :attribute must not contain colon."},label:{required:"The uri must have a label."},ids:{regex:"IDs must be comma separated, without trailing comma."},name:{firstUser:"There is already a registered user"}},attributes:[]}},zh:{auth:{failed:"用户名或密码错误",password:"提供的密码不正确",throttle:"您尝试的登录次数过多,请 :seconds 秒后再试。",sign_out:"退出",sign_in:"登录",sign_in_using:"登录使用",login_and_password:"使用密码登录",register:"注册",welcome_back_x:"欢迎回来!{0}!",autolock_triggered:"Auto lock triggered",autolock_triggered_punchline:"The event watched by the Auto Lock feature has fired. You've been automatically disconnected.",change_autolock_in_settings:"You can change the behavior of the Autolock feature in Settings > Options tab.",already_authenticated:"已验证",authentication:"身份认证",maybe_later:"以后再说",user_account_controlled_by_proxy:"User account made available by an authentication proxy.<br />Manage the account at proxy level.",auth_handled_by_proxy:"Authentication handled by a reverse proxy, below settings are disabled.<br />Manage authentication at proxy level.",confirm:{logout:"确定要退出吗?",revoke_device:"Are you sure you want to revoke this device?",delete_account:"Are you sure you want to delete your account?"},webauthn:{security_device:"a security device",security_devices:"Security devices",security_devices_legend:"Authentication devices you can use to sign in 2FAuth, like security keys (i.e Yubikey) or smartphones with biometric capabilities (i.e. Apple FaceId/TouchId)",enhance_security_using_webauthn:"You can enhance the security of your 2FAuth account by enabling WebAuthn authentication.<br /><br />\n WebAuthn allows you to use trusted devices (like Yubikeys or smartphones with biometric capabilities) to sign in quickly and more securely.",use_security_device_to_sign_in:"Get ready to authenticate using (one of) your security devices. Plug your key in, remove face mask or gloves, etc.",lost_your_device:"Lost your device?",recover_your_account:"Recover your account",account_recovery:"Account recovery",recovery_punchline:"2FAuth will send you a recovery link to this email address. Click the link in the received email to register a new security device.<br /><br />Ensure you open the email on a device you fully own.",send_recovery_link:"Send recovery link",account_recovery_email_sent:"Account recovery email sent!",disable_all_other_devices:"Disable all other devices except this one",register_a_new_device:"Register a new device",device_successfully_registered:"Device successfully registered",device_revoked:"Device successfully revoked",revoking_a_device_is_permanent:"Revoking a device is permanent",recover_account_instructions:"Click the button below to register a new security device to recover your account. Just follow your browser instructions.",invalid_recovery_token:"Invalid recovery token",rename_device:"Rename device",my_device:"My device",unknown_device:"Unknown device",use_webauthn_only:{label:"Use WebAuthn only",help:"Make WebAuthn the only available method to sign in 2FAuth. This is the recommended setup to take advantage of the WebAuthn enhanced security.<br />\n In case of device lost you will always be able to register a new security device to recover your account."},need_a_security_device_to_enable_options:"Set at least one device to enable these options",use_webauthn_as_default:{label:"Use WebAuthn as default sign in method",help:"Set the 2FAuth sign in form to propose the WebAuthn authentication at first. The Login/password method is then available as an alternative/fallback solution.<br />\n This has no effect if you only use WebAuthn."}},forms:{name:"用户名",login:"登录",webauthn_login:"WebAuthn login",email:"电子邮件",password:"密码",confirm_password:"确认密码",confirm_new_password:"确认新密码",dont_have_account_yet:"还没有账号?",already_register:"已经注册?",authentication_failed:"Authentication failed",forgot_your_password:"忘记密码?",request_password_reset:"重置",reset_password:"重置密码",disabled_in_demo:"Feature disabled in Demo mode",new_password:"新密码",current_password:{label:"当前密码",help:"Fill in your current password to confirm that it's you"},change_password:"Change password",send_password_reset_link:"Send password reset link",password_successfully_changed:"Password successfully changed",edit_account:"编辑账户",profile_saved:"帐户资料更新成功",welcome_to_demo_app_use_those_credentials:"Welcome to the 2FAuth demo.<br><br>You can connect using the email address <strong>demo@2fauth.app</strong> and the password <strong>demo</strong>",welcome_to_testing_app_use_those_credentials:"Welcome to the 2FAuth testing instance.<br><br>Use email address <strong>testing@2fauth.app</strong> and password <strong>password</strong>",register_punchline:"Welcome to 2FAuth.<br/>You need an account to go further. Fill this form to register yourself, and please, choose a strong password, 2FA data are sensitives.",reset_punchline:"2FAuth will send you a password reset link to this address. Click the link in the received email to set a new password.",name_this_device:"Name this device",delete_account:"Delete account",delete_your_account:"Delete your account",delete_your_account_and_reset_all_data:"This will reset 2FAuth. Your user account will be deleted as well as all 2FA data. There is no going back.",user_account_successfully_deleted:"User account successfully deleted"}},commons:{cancel:"取消",update:"更新",copy:"复制",copy_to_clipboard:"Copy to clipboard",copied_to_clipboard:"Copied to clipboard",profile:"Profile",edit:"Edit",delete:"Delete",disable:"Disable",enable:"Enable",create:"Create",save:"Save",close:"Close",demo_do_not_post_sensitive_data:"This is a demo app, do not post any sensitive data",testing_do_not_post_sensitive_data:"This is a testing app, do not post any sensitive data",selected:"selected",name:"Name",manage:"Manage",done:"Done",new:"New",back:"Back",move:"Move",all:"All",rename:"Rename",new_name:"New name",options:"Options",reload:"Reload",some_data_have_changed:"某些数据已经更改,您应该:",generate:"生成",open_in_browser:"在浏览器中打开",continue:"继续",discard:"Discard"},errors:{resource_not_found:"资源未找到",error_occured:"发生错误:",cannot_register_more_user:"您不能注册多个用户",refresh:"刷新",no_valid_otp:"此二维码中没有有效的OTP资源",something_wrong_with_server:"服务器发生内部错误",Unable_to_decrypt_uri:"无法解密uri",not_a_supported_otp_type:"不支持此OTP格式",cannot_create_otp_without_secret:"无法在没有密码的情况下创建一个OTP",data_of_qrcode_is_not_valid_URI:"此QR码的数据不是有效的OTP Auth URI",wrong_current_password:"当前密码错误,没有发生任何更改",error_during_encryption:"加密失败,您的数据库仍未受到保护",error_during_decryption:"Decryption failed, your database is still protected. This is mainly caused by an integrity issue of encrypted data for one or more accounts.",qrcode_cannot_be_read:"This QR code is unreadable",too_many_ids:"too many ids were included in the query parameter, max 100 allowed",delete_user_setting_only:"Only user-created setting can be deleted",indecipherable:"*indecipherable*",cannot_decipher_secret:"The secret cannot be deciphered. This is mainly caused by a wrong APP_KEY set in the .env configuration file of 2Fauth or a corrupted data stored in database.",https_required:"HTTPS context required",browser_does_not_support_webauthn:"Your device does not support webauthn. Try again later using a more modern browser",aborted_by_user:"Aborted by user",security_device_unsupported:"Security device unsupported",unsupported_with_reverseproxy:"Not applicable when using an auth proxy",user_deletion_failed:"User account deletion failed, no data have been deleted",auth_proxy_failed:"Proxy authentication failed",auth_proxy_failed_legend:"2Fauth is configured to run behind an authentication proxy but your proxy does not return the expected header. Check your configuration and try again.",invalid_google_auth_migration:"Invalid or unreadable Google Authenticator data",unsupported_otp_type:"Unsupported OTP type"},groups:{groups:"组",create_group:"创建新组",select_accounts_to_show:"选择要显示的帐户",manage_groups:"管理组",active_group:"活跃组",manage_groups_legend:"您可以创建组以按照您想要的方式组织您的账户。 所有账户在名为“全部”的伪组中仍然可见,无论它们属于哪个组。",deleting_group_does_not_delete_accounts:"删除组不会删除帐户",move_selected_to:"移动选择到",no_group:"没有分组",forms:{new_group:"新建组",new_name:"新名称",rename_group:"重命名组"},confirm:{delete:"您确定要删除此组吗?"}},languages:{browser_preference:"Browser preference",en:"English",fr:"French",de:"German"},pagination:{previous:"&laquo; 上一页",next:"下一页 &raquo;"},passwords:{reset:"密码重置成功!",sent:"密码重置邮件已发送!",throttled:"请稍候再试。",token:"密码重置令牌无效。",user:"找不到该邮箱对应的用户。",password:"密码必须包含至少8个字符且两次输入的内容必须相同。"},settings:{settings:"设置",account:"账户",oauth:"OAuth",webauthn:"WebAuthn",tokens:"令牌",options:"选项",confirm:{revoke:"Are you sure you want to revoke this token?"},general:"常规",security:"安全",profile:"配置文件",change_password:"更改密码",personal_access_tokens:"个人访问令牌",token_legend:"Personal Access Tokens allow any app to authenticate to the 2Fauth API. You should specify the access token as a Bearer token in the authorization header of consumer apps requests.",generate_new_token:"生成新令牌",revoke:"撤回",token_revoked:"已成功吊销令牌",revoking_a_token_is_permanent:"Revoking a token is permanent",make_sure_copy_token:"Make sure to copy your personal access token now. You wont be able to see it again!",data_input:"Data input",forms:{edit_settings:"Edit settings",setting_saved:"Settings saved",new_token:"New token",some_translation_are_missing:"Some translations are missing using the browser preferred language?",help_translate_2fauth:"Help translate 2FAuth",language:{label:"Language",help:"Language used to translate the 2FAuth user interface. Named languages are complete, set the one of your choice to override your browser preference."},show_otp_as_dot:{label:"Show generated one-time passwords as dot",help:"Replace generated password caracters with *** to ensure confidentiality. Do not affect the copy/paste feature."},close_otp_on_copy:{label:"Close OTP after copy",help:"Automatically close the popup showing the generated password after it has been copied"},use_basic_qrcode_reader:{label:"Use basic QR code reader",help:"If you experiences issues when capturing QR codes enables this option to switch to a more basic but more reliable QR code reader"},display_mode:{label:"Display mode",help:"Choose whether you want accounts to be displayed as a list or as a grid"},grid:"Grid",list:"List",show_accounts_icons:{label:"Show icons",help:"Show icons accounts in the main view"},auto_lock:{label:"Auto lock",help:"Log out the user automatically in case of inactivity. Has no effect when authentication is handled by a proxy and no custom logout url is specified."},use_encryption:{label:"Protect sensible data",help:"Sensitive data, the 2FA secrets and emails, are stored encrypted in database. Be sure to backup the APP_KEY value of your .env file (or the whole file) as it serves as key encryption. There is no way to decypher encrypted data without this key."},default_group:{label:"Default group",help:"The group to which the newly created accounts are associated"},useDirectCapture:{label:"Direct input",help:"Choose whether you want to be prompted to choose an input mode among those available or if you want to directly use the default input mode"},defaultCaptureMode:{label:"Default input mode",help:"Default input mode used when the Direct input option is On"},remember_active_group:{label:"Remember group filter",help:"Save the last group filter applied and restore it on your next visit"},never:"Never",on_otp_copy:"On security code copy","1_minutes":"After 1 minute","5_minutes":"After 5 minutes","10_minutes":"After 10 minutes","15_minutes":"After 15 minutes","30_minutes":"After 30 minutes","1_hour":"After 1 hour","1_day":"After 1 day",livescan:"QR code livescan",upload:"QR code upload",advanced_form:"Advanced form"}},titles:{404:"Item not found",start:"New account",capture:"Flash QR",accounts:"Accounts",createAccount:"Create account",importAccounts:"Import accounts",editAccount:"Account edit",showQRcode:"Account as QR code",groups:"Groups",createGroup:"Create group",editGroup:"Group edit",settings:{options:"Options",account:"User account",oauth:{tokens:"OAuth tokens",generatePAT:"New personal token"},webauthn:{editCredential:"Device edit",devices:"WebAuthn devices"}},login:"Login",register:"Register",autolock:"Auto lock",password:{request:"Reset password",reset:"New password"},webauthn:{lost:"Account recovery",recover:"Register a new device"},flooded:"Flood",genericError:"Error"},twofaccounts:{service:"服务",account:"账户",accounts:"账户",icon:"图标",no_account_here:"这里没有两步验证!",add_first_account:"添加您的第一个帐户",use_full_form:"或者使用完整的表单",add_one:"添加一个",show_qrcode:"显示 QR 码",no_service:"- 无服务 -",forms:{service:{placeholder:"example.com"},account:{placeholder:"John DOE"},new_account:"新建账户",edit_account:"编辑账户",otp_uri:"OTP Uri",scan_qrcode:"扫描QR码",upload_qrcode:"上传一个QR码",use_advanced_form:"使用高级表单",prefill_using_qrcode:"使用QR码进行预填充",use_qrcode:{val:"使用一个QR码",title:"使用QR码来自动填充表单"},unlock:{val:"解锁",title:"解锁它(风险自负)"},lock:{val:"锁定",title:"将其锁定"},choose_image:"选择一张图片...",test:"测试",secret:{label:"密钥",help:"用于生成安全码的密钥"},plain_text:"纯文本",otp_type:{label:"选择要创建的 OTP 类型",help:"基于时间的OTP或基于HMAC的OTP"},digits:{label:"码长",help:"生成的安全码位数"},algorithm:{label:"算法",help:"用于保护您的安全代码的算法"},period:{label:"周期",placeholder:"默认为30",help:"生成的二维码的以秒为单位的有效期限"},counter:{label:"计数器",placeholder:"默认为0",help:"The initial counter value",help_lock:"It is risky to edit the counter as you can desynchronize the account with the verification server of the service. Use the lock icon to enable modification, but only if you know for you are doing"},image:{label:"Image",placeholder:"http://...",help:"The url of an external image to use as the account icon"},options_help:"You can leave the following options blank if you don't know how to set them. The most commonly used values will be applied.",alternative_methods:"Alternative methods"},stream:{live_scan_cant_start:"Live scan can't start :(",need_grant_permission:{reason:"2FAuth does not have permission to access your camera",solution:"You need to grant permission to use your device camera. If you already denied and your browser do not prompt you again, please refers to the browser documentation to find out how to grant permission."},not_readable:{reason:"Fail to load scanner",solution:"Is the camera already in use? Ensure that no other app use your camera and try again"},no_cam_on_device:{reason:"No camera on this device",solution:"Maybe you forgot to plug in your webcam"},secured_context_required:{reason:"Secure context required",solution:"HTTPS is required for live scan. If you run 2FAuth from your computer, do not use virtual host other than localhost"},https_required:"HTTPS required for camera streaming",camera_not_suitable:{reason:"Installed cameras are not suitable",solution:"Please use another device/camera"},stream_api_not_supported:{reason:"Stream API is not supported in this browser",solution:"You should use a modern browser"}},confirm:{delete:"Are you sure you want to delete this account?",cancel:"The account will be lost. Are you sure?",discard:"Are you sure you want to discard this account?",discard_all:"Are you sure you want to discard all accounts?",discard_duplicates:"Are you sure you want to discard all duplicates?"},import:{import:"Import",to_import:"Import",import_legend:"Import your Google Authenticator accounts.",use_the_gauth_qr_code:"Load a G-Auth QR code",issuer:"Issuer",imported:"Imported",failure:"Failure",x_valid_accounts_found:"{count} valid accounts found",import_all:"Import all",import_this_account:"Import this account",discard_all:"Discard all",discard_duplicates:"Discard duplicates",discard_this_account:"Discard this account",generate_a_test_password:"Generate a test pasword",possible_duplicate:"An account with the exact same data already exists"}},validation:{accepted:"您必须接受 :attribute。",accepted_if:":attribute 只有在 :other 为 :value 时才可用",active_url:":attribute 不是一个有效的网址。",after:":attribute 必须要晚于 :date。",after_or_equal:":attribute 必须要等于 :date 或更晚。",alpha:":attribute 只能由字母组成。",alpha_dash:":attribute 只能由字母、数字、短划线(-)和下划线(_)组成。",alpha_num:":attribute 只能由字母和数字组成。",array:":attribute 必须是一个数组。",before:":attribute 必须要早于 :date。",before_or_equal:":attribute 必须要等于 :date 或更早。",between:{numeric:":attribute 必须介于 :min - :max 之间。",file:":attribute 必须介于 :min - :max KB 之间。",string:":attribute 必须介于 :min - :max 个字符之间。",array:":attribute 必须只有 :min - :max 个单元。"},boolean:":attribute 必须为布尔值。",confirmed:":attribute 两次输入不一致。",current_password:"密码错误",date:":attribute 不是一个有效的日期。",date_equals:":attribute 必须要等于 :date。",date_format:":attribute 的格式必须为 :format。",declined:"您必须同意 :attribute.",declined_if:":attribute 在 :other 是 :value 时不可用.",different:":attribute 和 :other 必须不同。",digits:":attribute 必须是 :digits 位数字。",digits_between:":attribute 必须是介于 :min 和 :max 位的数字。",dimensions:":attribute 图片尺寸不正确。",distinct:":attribute 已经存在。",email:":attribute 不是一个合法的邮箱。",ends_with:":attribute 必须以 :values 为结尾。",exists:":attribute 不存在。",file:":attribute 必须是文件。",filled:":attribute 不能为空。",gt:{numeric:":attribute 必须大于 :value。",file:":attribute 必须大于 :value KB。",string:":attribute 必须多于 :value 个字符。",array:":attribute 必须多于 :value 个元素。"},gte:{numeric:":attribute 必须大于或等于 :value。",file:":attribute 必须大于或等于 :value KB。",string:":attribute 必须多于或等于 :value 个字符。",array:":attribute 必须多于或等于 :value 个元素。"},image:":attribute 必须是图片。",in:"已选的属性 :attribute 无效。",in_array:":attribute 必须在 :other 中。",integer:":attribute 必须是整数。",ip:":attribute 必须是有效的 IP 地址。",ipv4:":attribute 必须是有效的 IPv4 地址。",ipv6:":attribute 必须是有效的 IPv6 地址。",json:":attribute 必须是正确的 JSON 格式。",lt:{numeric:":attribute 必须小于 :value。",file:":attribute 必须小于 :value KB。",string:":attribute 必须少于 :value 个字符。",array:":attribute 必须少于 :value 个元素。"},lte:{numeric:":attribute 必须小于或等于 :value。",file:":attribute 必须小于或等于 :value KB。",string:":attribute 必须少于或等于 :value 个字符。",array:":attribute 必须少于或等于 :value 个元素。"},max:{numeric:":attribute 不能大于 :max。",file:":attribute 不能大于 :max KB。",string:":attribute 不能大于 :max 个字符。",array:":attribute 最多只有 :max 个单元。"},mimes:":attribute 必须是一个 :values 类型的文件。",mimetypes:":attribute 必须是一个 :values 类型的文件。",min:{numeric:":attribute 必须大于等于 :min。",file:":attribute 大小不能小于 :min KB。",string:":attribute 至少为 :min 个字符。",array:":attribute 至少有 :min 个单元。"},multiple_of:":attribute 必须是 :value 的倍数",not_in:"已选的属性 :attribute 非法。",not_regex:":attribute 的格式错误。",numeric:":attribute 必须是一个数字。",password:"密码错误",present:":attribute 必须存在。",prohibited:":attribute 字段是禁止的.",prohibited_if:"当 :other 为 :value 时, :attribute 字段被禁止",prohibited_unless:"除非 :other 为 :values否则 :attribute 字段是禁止的",prohibits:':attribute 字段禁止出现 ":other"',regex:":attribute 格式不正确。",required:":attribute 不能为空。",required_if:"当 :other 为 :value 时 :attribute 不能为空。",required_unless:"当 :other 不为 :values 时 :attribute 不能为空。",required_with:"当 :values 存在时 :attribute 不能为空。",required_with_all:"当 :values 存在时 :attribute 不能为空。",required_without:"当 :values 不存在时 :attribute 不能为空。",required_without_all:"当 :values 都不存在时 :attribute 不能为空。",same:":attribute 和 :other 必须相同。",size:{numeric:":attribute 大小必须为 :size。",file:":attribute 大小必须为 :size KB。",string:":attribute 必须是 :size 个字符。",array:":attribute 必须为 :size 个单元。"},starts_with:":attribute 必须以 :values 为开头。",string:":attribute 必须是一个字符串。",timezone:":attribute 必须是一个合法的时区值。",unique:":attribute 已经存在。",uploaded:":attribute 上传失败。",url:":attribute 必须是有效的 url。",uuid:":attribute 必须是有效的 UUID。",single:"当使用 :attribute 时,它必须是此请求主体中的唯一参数",onlyCustomOtpWithUri:"The uri parameter must be provided alone or only in combination with the 'custom_otp' parameter",custom:{icon:{image:"支持的格式是 jpeg、png、bmp、gif、svg或web。"},qrcode:{image:"支持的格式是 jpeg、png、bmp、gif、svg或web。"},uri:{regex:":attribute 不是有效的 otpauth uri"},otp_type:{in:":attribute 不受支持"},email:{exists:"未找到使用此电子邮件的账户。"},secret:{isBase32Encoded:":attribute 必须是 base32 编码的字符串"},account:{regex:":attribute 不能包含冒号。"},service:{regex:":attribute 不能包含冒号。"},label:{required:"uri 必须有一个标签。"},ids:{regex:"ID必须以逗号分隔无需尾随逗号。"},name:{firstUser:"已有注册用户"}},attributes:[]}}}},537:(e,t,r)=>{"use strict";var n=r(538);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(){l=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new P(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return S()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=k(a,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=d(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f={};function p(){}function h(){}function m(){}var v={};c(v,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(B([])));y&&y!==t&&r.call(y,i)&&(v=y);var b=m.prototype=p.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(i,a,s,c){var u=d(e[i],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==o(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,c)}))}c(u.arg)}var i;this._invoke=function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}}function k(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=d(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function B(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return h.prototype=m,c(b,"constructor",m),c(m,"constructor",h),h.displayName=c(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},_(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(b),c(b,s,"Generator"),c(b,i,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=B,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:B(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function d(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}n.default.mixin({data:function(){return{appVersion:window.appVersion}},methods:{appLogout:function(e){var t,r=this;return(t=l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r.$root.appConfig.proxyAuth){e.next=8;break}if(!r.$root.appConfig.proxyLogoutUrl){e.next=5;break}location.assign(r.$root.appConfig.proxyLogoutUrl),e.next=6;break;case 5:return e.abrupt("return",!1);case 6:e.next=12;break;case 8:return e.next=10,r.axios.get("/user/logout");case 10:r.$storage.clear(),r.$router.push({name:"login",params:{forceRefresh:!0}});case 12:case"end":return e.stop()}}),e)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){d(i,n,o,a,s,"next",e)}function s(e){d(i,n,o,a,s,"throw",e)}a(void 0)}))})()},exitSettings:function(e){e&&(this.$notify({clean:!0}),this.$router.push({name:"accounts"}))},isUrl:function(e){return new RegExp(/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/).test(e)},openInBrowser:function(e){var t=document.createElement("a");t.setAttribute("href",e),t.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},parseIncomingServerOptions:function(e){var t=this;return e.challenge=this.uint8Array(e.challenge),void 0!==e.user&&(e.user=c(c({},e.user),{},{id:this.uint8Array(e.user.id,!0)})),["excludeCredentials","allowCredentials"].filter((function(t){return void 0!==e[t]})).forEach((function(r){e[r]=e[r].map((function(e){return c(c({},e),{},{id:t.uint8Array(e.id)})}))})),e},parseOutgoingCredentials:function(e){var t=this,r={id:e.id,type:e.type,rawId:this.arrayToBase64String(e.rawId),response:{}};return["clientDataJSON","attestationObject","authenticatorData","signature","userHandle"].filter((function(t){return void 0!==e.response[t]})).forEach((function(n){null===e.response[n]?r.response[n]=null:r.response[n]=t.arrayToBase64String(e.response[n])})),r},uint8Array:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Uint8Array.from(t?window.atob(e):this.base64UrlDecode(e),(function(e){return e.charCodeAt(0)}))},arrayToBase64String:function(e){return btoa(String.fromCharCode.apply(String,i(new Uint8Array(e))))},base64UrlDecode:function(e){var t=(e=e.replace(/-/g,"+").replace(/_/g,"/")).length%4;if(t){if(1===t)throw new Error("InvalidLengthError: Input base64url string is the wrong length to determine padding");e+=new Array(5-t).join("=")}return window.atob(e)}}});const f={};const p=new class{get length(){return Object.keys(this.storage).length}get storage(){return f}getItem(e){return e in this.storage?this.storage[e]:null}setItem(e,t){this.storage[e]=t}removeItem(e){e in this.storage&&delete this.storage[e]}clear(){const e=Object.keys(this.storage);for(let t=0;t<=e.length;t++)try{delete this.storage[e[t]]}catch(e){}}};class h extends Error{constructor(e,t){super(e),this.name="StorageError",t&&(this.stack=t)}}const m=["local","session","memory"];var v;!function(e){e.LOCAL="local",e.SESSION="session",e.MEMORY="memory"}(v||(v={}));class g{constructor(e={}){this.setOptions(e)}get length(){return this.keys().length}get prefix(){return this.options.prefix}get name(){return"vue2-storage"}get version(){return"6.1.3"}get driver(){switch(this.options.driver){case v.LOCAL:default:return"undefined"!=typeof window?window.localStorage:p;case v.SESSION:return"undefined"!=typeof window?window.sessionStorage:p;case v.MEMORY:return p}}setOptions(e={}){this.checkConfig(e),this.options=Object.freeze({prefix:e.prefix||"app_",driver:e.driver||v.LOCAL,ttl:e.ttl||0,replacer:e.replacer||void 0})}get(e,t=null){try{const r=this.fromJSON(this.addPrefix(e));return null===r?t:r}catch(e){this.throwError(e)}}pull(e,t=null){const r=this.get(e,t);return r!==t&&this.remove(e),r}set(e,t,r={}){try{this.driver.setItem(this.addPrefix(e),this.toJSON(t,r))}catch(e){this.throwError(e)}}remember(e,t,r={}){return function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(a,s)}c((n=n.apply(e,t||[])).next())}))}(this,void 0,void 0,(function*(){let n=this.get(e,null);if(null!==n)return n;try{return n=yield t(),this.set(e,n,r),n}catch(e){this.throwError(e)}}))}remove(e){try{this.driver.removeItem(this.addPrefix(e))}catch(e){this.throwError(e)}}clear(e=!1){try{if(e)this.driver.clear();else{this.keys().filter((e=>e.startsWith(this.options.prefix||""))).forEach((e=>this.remove(this.removePrefix(e))))}}catch(e){this.throwError(e)}}has(e){return this.removeExpiredValuesByKeys([this.addPrefix(e)]),this.options.driver!==v.MEMORY?this.addPrefix(e)in this.driver:this.addPrefix(e)in this.driver.storage}key(e){try{const t=this.keys()[e];return this.get(this.removePrefix(t))}catch(e){this.throwError(e)}}keys(){let e=[];if(this.options.driver===v.MEMORY)e=Object.keys(this.driver.storage);else e=Object.keys(this.driver);return e.filter((e=>null!==this.fromJSON(e)))}checkConfig(e){void 0!==e.prefix&&"string"!=typeof e.prefix&&this.throwError(new TypeError('Option "prefix" must be a string')),void 0!==e.driver&&(m.includes(e.driver)||this.throwError(new TypeError(`Option "driver" must be one of ${m.join(", ")}`))),void 0!==e.ttl&&"number"!=typeof e.ttl&&this.throwError(new TypeError('Option "ttl" must be a number')),void 0!==e.replacer&&"function"!=typeof e.replacer&&this.throwError(new TypeError('Option "replacer" must be a function'))}addPrefix(e){return`${this.options.prefix||""}${this.removePrefix(e)}`}removePrefix(e){const t=new RegExp(`^${this.options.prefix||""}`);return e.replace(t,"")}toJSON(e,t={}){const r="ttl"in t?t.ttl:this.options.ttl,{replacer:n}=this.options;return JSON.stringify({value:e,ttl:r>0?r+Date.now():0},((e,t)=>n&&"value"===e?n(e,t):t))}fromJSON(e){try{this.removeExpiredValuesByKeys([e]);const t=JSON.parse(this.driver.getItem(e));return null!==t?"value"in t?t.value:t:null}catch(e){return null}}removeExpiredValuesByKeys(e){try{e.forEach((e=>{const t=JSON.parse(this.driver.getItem(e));null!==t&&"ttl"in t&&Number(t.ttl)>0&&Number(t.ttl)<Date.now()&&this.remove(this.removePrefix(e))}))}catch(e){return null}}throwError(e){throw new h(`${this.name}[${this.version}]: ${e.message}`,e.stack)}}class y{static install(e,t){const r=new g(t||{});e.$storage=r,e.prototype.$storage=r}}"undefined"!=typeof window&&(window.Vue2StoragePlugin=y,window.Vue2Storage=g);n.default.use(y,{prefix:"",driver:"local",ttl:105408e5,replacer:function(e,t){return t}});var b=r(152),_=r(806),w=r.n(_);n.default.use(b.Z);var k=document.documentElement.lang.substr(0,2);const x=new b.Z({locale:k,messages:w()});var C=r(345);function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var L=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.errors={}}var t,r,n;return t=e,r=[{key:"set",value:function(e,t){"object"===E(e)?this.errors=e:this.set(B(B({},this.errors),{},S({},e,O(t))))}},{key:"all",value:function(){return this.errors}},{key:"has",value:function(e){return this.errors.hasOwnProperty(e)}},{key:"hasAny",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.some((function(t){return e.has(t)}))}},{key:"any",value:function(){return Object.keys(this.errors).length>0}},{key:"get",value:function(e){if(this.has(e))return this.getAll(e)[0]}},{key:"getAll",value:function(e){return O(this.errors[e]||[])}},{key:"only",value:function(){for(var e=this,t=[],r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return n.forEach((function(r){var n=e.get(r);n&&t.push(n)})),t}},{key:"flatten",value:function(){return Object.values(this.errors).reduce((function(e,t){return e.concat(t)}),[])}},{key:"clear",value:function(e){var t=this,r={};e&&Object.keys(this.errors).forEach((function(n){n!==e&&(r[n]=t.errors[n])})),this.set(r)}}],r&&A(t.prototype,r),n&&A(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function O(e){return Array.isArray(e)?e:[e]}function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){I(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var $=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};D(this,e),this.isBusy=!1,this.isDisabled=!1,this.errors=new L,this.originalData=this.deepCopy(t),Object.assign(this,t)}var t,r,o;return t=e,r=[{key:"fill",value:function(e){var t=this;this.keys().forEach((function(r){t[r]=e[r]}))}},{key:"setOriginal",value:function(){var t=this;Object.keys(this).filter((function(t){return!e.ignore.includes(t)})).forEach((function(e){t.originalData[e]=t.deepCopy(t[e])}))}},{key:"fillWithKeyValueObject",value:function(e){var t=this;this.keys().forEach((function(r){var n=e.find((function(e){return e.key===r.toString()}));null!=n&&(t[r]=n.value)}))}},{key:"data",value:function(){var e=this;return this.keys().reduce((function(t,r){return j(j({},t),{},I({},r,e[r]))}),{})}},{key:"keys",value:function(){return Object.keys(this).filter((function(t){return!e.ignore.includes(t)}))}},{key:"startProcessing",value:function(){this.errors.clear(),this.isBusy=!0}},{key:"finishProcessing",value:function(){this.isBusy=!1}},{key:"clear",value:function(){this.errors.clear()}},{key:"reset",value:function(){var t=this;Object.keys(this).filter((function(t){return!e.ignore.includes(t)})).forEach((function(e){t[e]=t.deepCopy(t.originalData[e])}))}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.submit("get",e,t)}},{key:"post",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.submit("post",e,t)}},{key:"patch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.submit("patch",e,t)}},{key:"put",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.submit("put",e,t)}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.submit("delete",e,t)}},{key:"submit",value:function(e,t){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.startProcessing();var i="get"===e?{params:this.data()}:this.data();return new Promise((function(a,s){n.default.axios.request(j({url:r.route(t),method:e,data:i},o)).then((function(e){r.finishProcessing(),a(e)})).catch((function(e){r.isBusy=!1,e.response&&r.errors.set(r.extractErrors(e.response)),s(e)}))}))}},{key:"upload",value:function(e,t){var r=this;return this.startProcessing(),new Promise((function(o,i){n.default.axios.request({url:r.route(e),method:"post",data:t,header:{"Content-Type":"multipart/form-data"}}).then((function(e){r.finishProcessing(),o(e)})).catch((function(e){r.isBusy=!1,e.response&&r.errors.set(r.extractErrors(e.response)),i(e)}))}))}},{key:"extractErrors",value:function(t){return t.data&&"object"===T(t.data)?t.data.errors?j({},t.data.errors):t.data.message?{error:t.data.message}:j({},t.data):{error:e.errorMessage}}},{key:"route",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t;return e.routes.hasOwnProperty(t)&&(n=decodeURI(e.routes[t])),"object"!==T(r)&&(r={id:r}),Object.keys(r).forEach((function(e){n=n.replace("{".concat(e,"}"),r[e])})),n}},{key:"onKeydown",value:function(e){e.target.name&&this.errors.clear(e.target.name)}},{key:"deepCopy",value:function(e){var t=this;if(null===e||"object"!==T(e))return e;var r=Array.isArray(e)?[]:{};return Object.keys(e).forEach((function(n){r[n]=t.deepCopy(e[n])})),r}}],r&&M(t.prototype,r),o&&M(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();$.routes={},$.errorMessage="Something went wrong. Please try again.",$.ignore=["isBusy","isDisabled","errors","originalData"];const R=$;function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function F(){F=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==q(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function z(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}const G={name:"Start",data:function(){return{accountCount:null,form:new R}},props:{showAdvancedFormButton:{type:Boolean,default:!0},returnToView:{type:String,default:"accounts"}},mounted:function(){var e=this;this.axios.get("api/v1/twofaccounts/count").then((function(t){e.accountCount=t.data.count}))},created:function(){var e=this;this.$nextTick((function(){e.$root.appSettings.useDirectCapture&&"upload"===e.$root.appSettings.defaultCaptureMode&&e.$refs.qrcodeInputLabel.click()}))},methods:{submitQrCode:function(){var e,t=this;return(e=F().mark((function e(){var r,n,o;return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=new FormData).append("qrcode",t.$refs.qrcodeInput.files[0]),r.append("inputFormat","fileUpload"),e.next=5,t.form.upload("/api/v1/qrcode/decode",r);case 5:n=e.sent,"otpauth-migration://offline?data="===(o=n.data).data.slice(0,33).toLowerCase()?t.$router.push({name:"importAccounts",params:{migrationUri:o.data}}):t.$router.push({name:"createAccount",params:{decodedUri:o.data}});case 8:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){z(i,n,o,a,s,"next",e)}function s(e){z(i,n,o,a,s,"throw",e)}a(void 0)}))})()},capture:function(){this.$router.push({name:"capture"})}}};function U(e,t,r,n,o,i,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}const W=U(G,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"container has-text-centered"},[t("div",{staticClass:"columns quick-uploader"},[t("div",{staticClass:"column is-full quick-uploader-header",class:{"is-invisible":0!==e.accountCount}},[e._v("\n "+e._s(e.$t("twofaccounts.no_account_here"))),t("br"),e._v("\n "+e._s(e.$t("twofaccounts.add_first_account"))+"\n ")]),e._v(" "),t("div",{staticClass:"column is-full quick-uploader-button"},[t("div",{staticClass:"quick-uploader-centerer"},[e.$root.appSettings.useBasicQrcodeReader?t("label",{ref:"qrcodeInputLabel",staticClass:"button is-link is-medium is-rounded is-focused"},[t("input",{ref:"qrcodeInput",staticClass:"file-input",attrs:{type:"file",accept:"image/*"},on:{change:e.submitQrCode}}),e._v("\n "+e._s(e.$t("twofaccounts.forms.upload_qrcode"))+"\n ")]):t("label",{staticClass:"button is-link is-medium is-rounded is-focused",on:{click:function(t){return e.capture()}}},[e._v("\n "+e._s(e.$t("twofaccounts.forms.scan_qrcode"))+"\n ")])])]),e._v(" "),t("div",{staticClass:"column is-full"},[t("div",{staticClass:"block has-text-light"},[e._v(e._s(e.$t("twofaccounts.forms.alternative_methods")))]),e._v(" "),e.$root.appSettings.useBasicQrcodeReader?e._e():t("div",{staticClass:"block has-text-link"},[t("label",{ref:"qrcodeInputLabel",staticClass:"button is-link is-outlined is-rounded"},[t("input",{ref:"qrcodeInput",staticClass:"file-input",attrs:{type:"file",accept:"image/*"},on:{change:e.submitQrCode}}),e._v("\n "+e._s(e.$t("twofaccounts.forms.upload_qrcode"))+"\n ")])]),e._v(" "),e.showAdvancedFormButton?t("div",{staticClass:"block has-text-link"},[t("router-link",{staticClass:"button is-link is-outlined is-rounded",attrs:{to:{name:"createAccount"}}},[e._v("\n "+e._s(e.$t("twofaccounts.forms.use_advanced_form"))+"\n ")])],1):e._e()])]),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[e.accountCount>0?t("p",{staticClass:"control"},[t("router-link",{staticClass:"button is-dark is-rounded",attrs:{to:{name:e.returnToView}}},[e._v("\n "+e._s(e.$t("commons.back"))+"\n ")])],1):e._e()])],1)}),[],!1,null,null,null).exports;function H(e){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H(e)}function Y(){Y=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==H(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Q(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function K(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Q(i,n,o,a,s,"next",e)}function s(e){Q(i,n,o,a,s,"throw",e)}a(void 0)}))}}const V=U({data:function(){return{showStream:!0,errorText:"",form:new R({qrcode:null,uri:""})}},components:{QrcodeStream:r(464).QrcodeStream},methods:{exitStream:function(){this.camera="off",this.$router.go(-1)},onStreamerInit:function(e){var t=this;return K(Y().mark((function r(){return Y().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,e;case 3:r.next=8;break;case 5:r.prev=5,r.t0=r.catch(0),"NotAllowedError"===r.t0.name?t.errorText="need_grant_permission":"NotReadableError"===r.t0.name?t.errorText="not_readable":"NotFoundError"===r.t0.name?t.errorText="no_cam_on_device":"NotSupportedError"===r.t0.name||"InsecureContextError"===r.t0.name?t.errorText="secured_context_required":"OverconstrainedError"===r.t0.name?t.errorText="camera_not_suitable":"StreamApiNotSupportedError"===r.t0.name&&(t.errorText="stream_api_not_supported");case 8:case"end":return r.stop()}}),r,null,[[0,5]])})))()},submitUri:function(e){var t=this;return K(Y().mark((function r(){return Y().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:t.form.uri=e,t.form.uri?"otpauth-migration://offline?data="==t.form.uri.slice(0,33).toLowerCase()?t.pushUriToImportForm(t.form.uri):"otpauth://totp/"!==t.form.uri.slice(0,15).toLowerCase()&&"otpauth://hotp/"!==t.form.uri.slice(0,15).toLowerCase()?t.$notify({type:"is-warning",text:t.$t("errors.no_valid_otp")}):t.pushUriToCreateForm(t.form.uri):t.$notify({type:"is-warning",text:t.$t("errors.qrcode_cannot_be_read")});case 2:case"end":return r.stop()}}),r)})))()},pushUriToCreateForm:function(e){this.$router.push({name:"createAccount",params:{decodedUri:e}})},pushUriToImportForm:function(e){this.$router.push({name:"importAccounts",params:{migrationUri:e}})}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"modal is-active"},[t("div",{staticClass:"modal-background"}),e._v(" "),t("div",{staticClass:"modal-content"},[t("section",{staticClass:"section"},[t("div",{staticClass:"columns is-centered"},[t("div",{staticClass:"column is-three-quarters"},[t("div",{staticClass:"box has-text-centered has-background-black-ter is-shadowless"},[e.errorText?t("div",[t("p",{staticClass:"block is-size-5"},[e._v(e._s(e.$t("twofaccounts.stream.live_scan_cant_start")))]),e._v(" "),t("p",{staticClass:"has-text-light block"},[e._v(e._s(e.$t("twofaccounts.stream."+e.errorText+".reason")))]),e._v(" "),t("p",{staticClass:"is-size-7"},[e._v(e._s(e.$t("twofaccounts.stream."+e.errorText+".solution")))])]):t("span",{staticClass:"is-size-4 has-text-light"},[t("font-awesome-icon",{attrs:{icon:["fas","spinner"],size:"2x",spin:""}})],1)])])])])]),e._v(" "),t("div",{staticClass:"fullscreen-streamer"},[t("qrcode-stream",{attrs:{camera:"auto"},on:{decode:e.submitUri,init:e.onStreamerInit}})],1),e._v(" "),t("div",{staticClass:"fullscreen-footer"},[t("label",{staticClass:"button is-large is-warning is-rounded",on:{click:function(t){return e.exitStream()}}},[e._v("\n "+e._s(e.$t("commons.cancel"))+"\n ")])])])}),[],!1,null,null,null).exports;const X=U({name:"Modal",data:function(){return{showcloseButton:this.closable}},props:{value:Boolean,closable:{type:Boolean,default:!0}},computed:{isActive:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}},methods:{closeModal:function(e){e&&(this.isActive=!1,this.$notify({clean:!0}),this.$parent.$emit("modalClose"))}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"modal modal-otp",class:{"is-active":e.isActive}},[t("div",{staticClass:"modal-background",on:{click:function(t){return t.stopPropagation(),e.closeModal.apply(null,arguments)}}}),e._v(" "),t("div",{staticClass:"modal-content"},[t("section",{staticClass:"section"},[t("div",{staticClass:"columns is-centered"},[t("div",{staticClass:"column is-three-quarters"},[t("div",{staticClass:"box has-text-centered has-background-black-ter is-shadowless"},[e._t("default")],2)])])])]),e._v(" "),this.showcloseButton?t("div",{staticClass:"fullscreen-footer"},[t("label",{staticClass:"button is-dark is-rounded",on:{click:function(t){return t.stopPropagation(),e.closeModal.apply(null,arguments)}}},[e._v("\n "+e._s(e.$t("commons.close"))+"\n ")])]):e._e()])}),[],!1,null,null,null).exports;function Z(e){return Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z(e)}function J(){J=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Z(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function ee(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function te(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){ee(i,n,o,a,s,"next",e)}function s(e){ee(i,n,o,a,s,"throw",e)}a(void 0)}))}}const re={name:"OtpDisplayer",data:function(){return{internal_id:null,internal_otp_type:"",internal_account:"",internal_service:"",internal_icon:"",internal_secret:null,internal_digits:null,internal_algorithm:null,internal_period:null,internal_counter:null,internal_password:"",internal_uri:"",lastActiveDot:null,remainingTimeout:null,firstDotToNextOneTimeout:null,dotToDotInterval:null}},props:{otp_type:String,account:String,service:String,icon:String,secret:String,digits:Number,algorithm:String,period:null,counter:null,image:String,qrcode:null,uri:String},computed:{displayedOtp:function(){var e=this.internal_password;if("steamtotp"!==this.internal_otp_type){var t=Math.ceil(this.internal_password.length/2);e=this.internal_password.substr(0,t)+" "+this.internal_password.substr(t)}return this.$root.appSettings.showOtpAsDot?e.replace(/[0-9]/g,"●"):e}},mounted:function(){this.show()},methods:{isTimeBased:function(e){return"totp"===e||"steamtotp"===e},isHMacBased:function(e){return"hotp"===e},show:function(e){var t=this;return te(J().mark((function r(){var n,o;return J().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t.internal_otp_type=t.otp_type,t.internal_account=t.account,t.internal_service=t.service,t.internal_icon=t.icon,t.internal_secret=t.secret,t.internal_digits=t.digits,t.internal_algorithm=t.algorithm,t.internal_period=t.period,t.internal_counter=t.counter,!e){r.next=20;break}return t.internal_id=e,r.next=13,t.axios.get("api/v1/twofaccounts/"+t.internal_id);case 13:n=r.sent,o=n.data,t.internal_service=o.service,t.internal_account=o.account,t.internal_icon=o.icon,t.internal_otp_type=o.otp_type,t.isHMacBased(o.otp_type)&&o.counter&&(t.internal_counter=o.counter);case 20:if(t.uri&&(t.internal_uri=t.uri,t.internal_otp_type="otpauth://totp/"===t.uri.slice(0,15).toLowerCase()?"totp":"hotp"),!(t.internal_id||t.uri||t.secret)){r.next=34;break}if(!t.isTimeBased(t.internal_otp_type)){r.next=27;break}return r.next=25,t.startTotpLoop();case 25:r.next=33;break;case 27:if(!t.isHMacBased(t.internal_otp_type)){r.next=32;break}return r.next=30,t.getHOTP();case 30:r.next=33;break;case 32:t.$router.push({name:"genericError",params:{err:t.$t("errors.not_a_supported_otp_type")}});case 33:t.$parent.isActive=!0;case 34:case"end":return r.stop()}}),r)})))()},getOtp:(ie=te(J().mark((function e(){var t,r,n,o,i,a;return J().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.internal_id){e.next=8;break}return e.next=3,this.axios.get("/api/v1/twofaccounts/"+this.internal_id+"/otp");case 3:return t=e.sent,r=t.data,e.abrupt("return",r);case 8:if(!this.internal_uri){e.next=16;break}return e.next=11,this.axios.post("/api/v1/twofaccounts/otp",{uri:this.internal_uri});case 11:return n=e.sent,o=n.data,e.abrupt("return",o);case 16:return e.next=18,this.axios.post("/api/v1/twofaccounts/otp",{service:this.internal_service,account:this.internal_account,icon:this.internal_icon,otp_type:this.internal_otp_type,secret:this.internal_secret,digits:this.internal_digits,algorithm:this.internal_algorithm,period:this.internal_period,counter:this.internal_counter});case 18:return i=e.sent,a=i.data,e.abrupt("return",a);case 21:case"end":return e.stop()}}),e,this)}))),function(){return ie.apply(this,arguments)}),startTotpLoop:(oe=te(J().mark((function e(){var t,r,n,o,i,a,s,c,u,l,d;return J().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getOtp();case 2:for(t=e.sent,this.internal_password=t.password,this.internal_otp_type=t.otp_type,r=t.generated_at,n=t.period,o=r%n,c=this.$el.querySelector(".dots");c.querySelector("[data-is-active]");)c.querySelector("[data-is-active]").removeAttribute("data-is-active");u=10*o/n,l=Math.floor(u)+1,this.lastActiveDot=c.querySelector("li:nth-child("+l+")"),this.lastActiveDot.setAttribute("data-is-active",!0),i=n-o,d=this,this.remainingTimeout=setTimeout((function(){d.stopLoop(),d.startTotpLoop()}),1e3*i),a=n/10,s=Math.ceil(o/a)*a-o,this.firstDotToNextOneTimeout=setTimeout((function(){s>0&&(d.activateNextDot(),l+=1),d.dotToDotInterval=setInterval((function(){d.activateNextDot(),l+=1}),1e3*a)}),1e3*s);case 20:case"end":return e.stop()}}),e,this)}))),function(){return oe.apply(this,arguments)}),getHOTP:(ne=te(J().mark((function e(){var t;return J().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getOtp();case 2:t=e.sent,this.$emit("increment-hotp",{nextHotpCounter:t.counter,nextUri:t.uri});case 4:case"end":return e.stop()}}),e,this)}))),function(){return ne.apply(this,arguments)}),clearOTP:function(){this.stopLoop(),this.internal_id=this.remainingTimeout=this.dotToDotInterval=this.firstDotToNextOneTimeout=this.elapsedTimeInCurrentPeriod=this.internal_counter=null,this.internal_service=this.internal_account=this.internal_icon=this.internal_otp_type=this.internal_secret="",this.internal_password="... ...";try{this.$el.querySelector("[data-is-active]").removeAttribute("data-is-active"),this.$el.querySelector(".dots li:first-child").setAttribute("data-is-active",!0)}catch(e){}},stopLoop:function(){this.isTimeBased(this.internal_otp_type)&&(clearTimeout(this.remainingTimeout),clearTimeout(this.firstDotToNextOneTimeout),clearInterval(this.dotToDotInterval))},activateNextDot:function(){null!==this.lastActiveDot.nextSibling&&(this.lastActiveDot.removeAttribute("data-is-active"),this.lastActiveDot.nextSibling.setAttribute("data-is-active",!0),this.lastActiveDot=this.lastActiveDot.nextSibling)},clipboardSuccessHandler:function(e){e.value,e.event;-1==this.$root.appSettings.kickUserAfter?this.appLogout():this.$root.appSettings.closeOtpOnCopy&&(this.$parent.isActive=!1,this.clearOTP()),this.$notify({type:"is-success",text:this.$t("commons.copied_to_clipboard")})},clipboardErrorHandler:function(e){var t=e.value;e.event;console.log("error",t)}},beforeDestroy:function(){this.stopLoop()}};var ne,oe,ie;const ae=U(re,(function(){var e=this,t=e._self._c;return t("div",[t("figure",{staticClass:"image is-64x64",class:{"no-icon":!e.internal_icon},staticStyle:{display:"inline-block"}},[e.internal_icon?t("img",{attrs:{src:"/storage/icons/"+e.internal_icon}}):e._e()]),e._v(" "),t("p",{staticClass:"is-size-4 has-text-grey-light has-ellipsis"},[e._v(e._s(e.internal_service))]),e._v(" "),t("p",{staticClass:"is-size-6 has-text-grey has-ellipsis"},[e._v(e._s(e.internal_account))]),e._v(" "),t("p",{directives:[{name:"clipboard",rawName:"v-clipboard",value:function(){return e.internal_password.replace(/ /g,"")},expression:"() => internal_password.replace(/ /g, '')"},{name:"clipboard",rawName:"v-clipboard:success",value:e.clipboardSuccessHandler,expression:"clipboardSuccessHandler",arg:"success"}],staticClass:"is-size-1 has-text-white is-clickable",attrs:{title:e.$t("commons.copy_to_clipboard")}},[e._v(e._s(e.displayedOtp))]),e._v(" "),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isTimeBased(e.internal_otp_type),expression:"isTimeBased(internal_otp_type)"}],staticClass:"dots"},e._l(10,(function(e){return t("li")})),0),e._v(" "),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isHMacBased(e.internal_otp_type),expression:"isHMacBased(internal_otp_type)"}]},[t("li",[e._v("counter: "+e._s(e.internal_counter))])])])}),[],!1,null,null,null).exports;var se=r(980),ce=r.n(se),ue=r(661);function le(e){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(e)}function de(){de=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==le(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function fe(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function pe(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){fe(i,n,o,a,s,"next",e)}function s(e){fe(i,n,o,a,s,"throw",e)}a(void 0)}))}}const he={data:function(){return{accounts:[],groups:[],selectedAccounts:[],search:"",editMode:this.InitialEditMode,drag:!1,showTwofaccountInModal:!1,showGroupSwitch:!1,showGroupSelector:!1,moveAccountsTo:!1,form:new R({value:this.$root.appSettings.activeGroup})}},computed:{filteredAccounts:{get:function(){var e=this;return this.accounts.filter((function(t){return parseInt(e.$root.appSettings.activeGroup)>0?(!!t.service&&t.service.toLowerCase().includes(e.search.toLowerCase())||t.account.toLowerCase().includes(e.search.toLowerCase()))&&t.group_id==parseInt(e.$root.appSettings.activeGroup):!!t.service&&t.service.toLowerCase().includes(e.search.toLowerCase())||t.account.toLowerCase().includes(e.search.toLowerCase())}))},set:function(e){this.accounts=e}},showAccounts:function(){return this.accounts.length>0&&!this.showGroupSwitch&&!this.showGroupSelector},activeGroupName:function(){var e=this,t=this.groups.find((function(t){return t.id===parseInt(e.$root.appSettings.activeGroup)}));return t?t.name:this.$t("commons.all")}},props:["initialEditMode","toRefresh"],mounted:function(){if(!this.toRefresh&&!this.$route.params.isFirstLoad){var e=this.$storage.get("accounts",null);e&&(this.accounts=e);var t=this.$storage.get("groups",null);t&&(this.groups=t)}this.fetchAccounts(),this.$on("modalClose",(function(){console.log("modalClose triggered"),this.$refs.OtpDisplayer.clearOTP()}))},components:{Modal:X,OtpDisplayer:ae,draggable:ce()},methods:{start:function(){this.$root.appSettings.useDirectCapture&&"advancedForm"===this.$root.appSettings.defaultCaptureMode?this.$router.push({name:"createAccount"}):this.$root.appSettings.useDirectCapture&&"livescan"===this.$root.appSettings.defaultCaptureMode?this.$router.push({name:"capture"}):this.$router.push({name:"start"})},fetchAccounts:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=[];this.selectedAccounts=[],this.axios.get("api/v1/twofaccounts").then((function(n){n.data.forEach((function(e){r.push(e)})),e.accounts.length>0&&!(0,ue.ZP)(r,e.accounts)&&!t?e.$notify({type:"is-dark",text:'<span class="is-size-7">'+e.$t("commons.some_data_have_changed")+'</span><br /><a href="." class="button is-rounded is-warning is-small">'+e.$t("commons.reload")+"</a>",duration:-1,closeOnClick:!1}):0===e.accounts.length&&0===r.length?(e.$storage.set("accounts",e.accounts),e.$router.push({name:"start"})):(e.accounts=r,e.$storage.set("accounts",e.accounts),e.fetchGroups())}))},showAccount:function(e){if(this.editMode){for(var t=0;t<this.selectedAccounts.length;t++)if(this.selectedAccounts[t]===e.id)return void this.selectedAccounts.splice(t,1);this.selectedAccounts.push(e.id)}else this.$refs.OtpDisplayer.show(e.id)},saveOrder:function(){this.drag=!1,this.axios.post("/api/v1/twofaccounts/reorder",{orderedIds:this.accounts.map((function(e){return e.id}))})},destroyAccounts:function(){var e=this;return pe(de().mark((function t(){var r,n;return de().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!confirm(e.$t("twofaccounts.confirm.delete"))){t.next=7;break}return r=[],e.selectedAccounts.forEach((function(e){return r.push(e)})),n=e,t.next=6,e.axios.delete("/api/v1/twofaccounts?ids="+r.join()).then((function(e){r.forEach((function(e){n.accounts=n.accounts.filter((function(t){return t.id!==e}))}))}));case 6:e.fetchAccounts(!0);case 7:case"end":return t.stop()}}),t)})))()},moveAccounts:function(){var e=this;return pe(de().mark((function t(){var r;return de().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=[],e.selectedAccounts.forEach((function(e){return r.push(e)})),0!==e.moveAccountsTo){t.next=7;break}return t.next=5,e.axios.patch("/api/v1/twofaccounts/withdraw?ids="+r.join());case 5:t.next=9;break;case 7:return t.next=9,e.axios.post("/api/v1/groups/"+e.moveAccountsTo+"/assign",{ids:r});case 9:e.fetchAccounts(!0),e.showGroupSelector=!1;case 11:case"end":return t.stop()}}),t)})))()},fetchGroups:function(){var e=this,t=[];this.axios.get("api/v1/groups").then((function(r){r.data.forEach((function(e){t.push(e)})),(0,ue.ZP)(t,e.groups)||(e.groups=t),e.$storage.set("groups",e.groups)}))},setActiveGroup:function(e){var t=this;this.form.value=this.$root.appSettings.activeGroup=e,this.$root.appSettings.rememberActiveGroup&&this.form.put("/api/v1/settings/activeGroup",{returnError:!0}).then((function(e){})).catch((function(e){t.$router.push({name:"genericError",params:{err:e.response}})})),this.closeGroupSwitch()},toggleGroupSwitch:function(e){e&&(this.showGroupSwitch?this.closeGroupSwitch():this.openGroupSwitch())},openGroupSwitch:function(e){this.showGroupSwitch=!0},closeGroupSwitch:function(e){this.showGroupSwitch=!1},setEditModeTo:function(e){!1===e?this.selectedAccounts=[]:this.search="",this.editMode=e,this.$parent.showToolbar=e},displayService:function(e){return e||this.$t("twofaccounts.no_service")}}};var me=r(379),ve=r.n(me),ge=r(126),ye={insert:"head",singleton:!1};ve()(ge.Z,ye);ge.Z.locals;const be=U(he,(function(){var e=this,t=e._self._c;return t("div",[e.showGroupSwitch?t("div",{staticClass:"container groups"},[t("div",{staticClass:"columns is-centered"},[t("div",{staticClass:"column is-one-third-tablet is-one-quarter-desktop is-one-quarter-widescreen is-one-quarter-fullhd"},[t("div",{staticClass:"columns is-multiline"},e._l(e.groups,(function(r){return r.twofaccounts_count>0?t("div",{key:r.id,staticClass:"column is-full"},[t("button",{staticClass:"button is-fullwidth is-dark has-text-light is-outlined",on:{click:function(t){return e.setActiveGroup(r.id)}}},[e._v(e._s(r.name))])]):e._e()})),0),e._v(" "),t("div",{staticClass:"columns is-centered"},[t("div",{staticClass:"column has-text-centered"},[t("router-link",{attrs:{to:{name:"groups"}}},[e._v(e._s(e.$t("groups.manage_groups")))])],1)])])]),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[t("p",{staticClass:"control"},[t("a",{staticClass:"button is-dark is-rounded",on:{click:function(t){return e.closeGroupSwitch()}}},[e._v(e._s(e.$t("commons.close")))])])])],1):e._e(),e._v(" "),e.showGroupSelector?t("div",{staticClass:"container group-selector"},[t("div",{staticClass:"columns is-centered is-multiline"},[t("div",{staticClass:"column is-full has-text-centered"},[e._v("\n "+e._s(e.$t("groups.move_selected_to"))+"\n ")]),e._v(" "),t("div",{staticClass:"column is-one-third-tablet is-one-quarter-desktop is-one-quarter-widescreen is-one-quarter-fullhd"},[t("div",{staticClass:"columns is-multiline"},e._l(e.groups,(function(r){return t("div",{key:r.id,staticClass:"column is-full"},[t("button",{staticClass:"button is-fullwidth is-dark has-text-light is-outlined",class:{"is-link":e.moveAccountsTo===r.id},on:{click:function(t){e.moveAccountsTo=r.id}}},[0===r.id?t("span",{staticClass:"is-italic"},[e._v("\n "+e._s(e.$t("groups.no_group"))+"\n ")]):t("span",[e._v("\n "+e._s(r.name)+"\n ")])])])})),0),e._v(" "),t("div",{staticClass:"columns is-centered"},[t("div",{staticClass:"column has-text-centered"},[t("router-link",{attrs:{to:{name:"groups"}}},[e._v(e._s(e.$t("groups.manage_groups")))])],1)])])]),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[t("p",{staticClass:"control"},[t("a",{staticClass:"button is-link is-rounded",on:{click:function(t){return e.moveAccounts()}}},[e._v(e._s(e.$t("commons.move")))])]),e._v(" "),t("p",{staticClass:"control"},[t("a",{staticClass:"button is-dark is-rounded",on:{click:function(t){e.showGroupSelector=!1}}},[e._v(e._s(e.$t("commons.cancel")))])])])],1):e._e(),e._v(" "),this.showAccounts?t("div",{staticClass:"container"},[t("draggable",{staticClass:"accounts",attrs:{"ghost-class":"ghost",handle:".tfa-dots",animation:"200"},on:{start:function(t){e.drag=!0},end:e.saveOrder},model:{value:e.filteredAccounts,callback:function(t){e.filteredAccounts=t},expression:"filteredAccounts"}},[t("transition-group",{staticClass:"columns is-multiline",class:{"is-centered":"grid"===e.$root.appSettings.displayMode},attrs:{type:"transition",name:e.drag?null:"flip-list"}},e._l(e.filteredAccounts,(function(r){return t("div",{key:r.id,staticClass:"column is-narrow has-text-white",class:["grid"===e.$root.appSettings.displayMode?"tfa-grid":"tfa-list"]},[t("div",{staticClass:"tfa-container"},[t("transition",{attrs:{name:"slideCheckbox"}},[e.editMode?t("div",{staticClass:"tfa-cell tfa-checkbox"},[t("div",{staticClass:"field"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedAccounts,expression:"selectedAccounts"}],staticClass:"is-checkradio is-small is-white",attrs:{id:"ckb_"+r.id,type:"checkbox",name:"ckb_"+r.id},domProps:{value:r.id,checked:Array.isArray(e.selectedAccounts)?e._i(e.selectedAccounts,r.id)>-1:e.selectedAccounts},on:{change:function(t){var n=e.selectedAccounts,o=t.target,i=!!o.checked;if(Array.isArray(n)){var a=r.id,s=e._i(n,a);o.checked?s<0&&(e.selectedAccounts=n.concat([a])):s>-1&&(e.selectedAccounts=n.slice(0,s).concat(n.slice(s+1)))}else e.selectedAccounts=i}}}),e._v(" "),t("label",{attrs:{for:"ckb_"+r.id}})])]):e._e()]),e._v(" "),t("div",{staticClass:"tfa-cell tfa-content is-size-3 is-size-4-mobile",on:{click:function(t){return t.stopPropagation(),e.showAccount(r)}}},[t("div",{staticClass:"tfa-text has-ellipsis"},[r.icon&&e.$root.appSettings.showAccountsIcons?t("img",{attrs:{src:"/storage/icons/"+r.icon}}):e._e(),e._v("\n "+e._s(e.displayService(r.service))),e.$root.appSettings.useEncryption&&r.account===e.$t("errors.indecipherable")?t("font-awesome-icon",{staticClass:"has-text-danger is-size-5 ml-2",attrs:{icon:["fas","exclamation-circle"]}}):e._e(),e._v(" "),t("span",{staticClass:"is-family-primary is-size-6 is-size-7-mobile has-text-grey"},[e._v(e._s(r.account))])],1)]),e._v(" "),t("transition",{attrs:{name:"fadeInOut"}},[e.editMode?t("div",{staticClass:"tfa-cell tfa-edit has-text-grey"},[t("router-link",{staticClass:"tag is-dark is-rounded mr-1",attrs:{to:{name:"editAccount",params:{twofaccountId:r.id}}}},[e._v("\n "+e._s(e.$t("commons.edit"))+"\n ")]),e._v(" "),t("router-link",{staticClass:"tag is-dark is-rounded",attrs:{to:{name:"showQRcode",params:{twofaccountId:r.id}},title:e.$t("twofaccounts.show_qrcode")}},[t("font-awesome-icon",{attrs:{icon:["fas","qrcode"]}})],1)],1):e._e()]),e._v(" "),t("transition",{attrs:{name:"fadeInOut"}},[e.editMode?t("div",{staticClass:"tfa-cell tfa-dots has-text-grey"},[t("font-awesome-icon",{attrs:{icon:["fas","bars"]}})],1):e._e()])],1)])})),0)],1),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[e.editMode?e._e():t("p",{staticClass:"control"},[t("a",{staticClass:"button is-link is-rounded is-focus",on:{click:e.start}},[t("span",[e._v(e._s(e.$t("commons.new")))]),e._v(" "),t("span",{staticClass:"icon is-small"},[t("font-awesome-icon",{attrs:{icon:["fas","qrcode"]}})],1)])]),e._v(" "),e.editMode?e._e():t("p",{staticClass:"control"},[t("a",{staticClass:"button is-dark is-rounded",on:{click:function(t){return e.setEditModeTo(!0)}}},[e._v(e._s(e.$t("commons.manage")))])]),e._v(" "),e.editMode?t("p",{staticClass:"control"},[t("a",{staticClass:"button is-success is-rounded",on:{click:function(t){return e.setEditModeTo(!1)}}},[t("span",[e._v(e._s(e.$t("commons.done")))]),e._v(" "),t("span",{staticClass:"icon is-small"},[t("font-awesome-icon",{attrs:{icon:["fas","check"]}})],1)])]):e._e()])],1):e._e(),e._v(" "),this.showAccounts||this.showGroupSwitch?t("div",{staticClass:"header has-background-black-ter"},[t("div",{staticClass:"columns is-gapless is-mobile is-centered"},[t("div",{staticClass:"column is-three-quarters-mobile is-one-third-tablet is-one-quarter-desktop is-one-quarter-widescreen is-one-quarter-fullhd"},[e.editMode?t("div",{staticClass:"toolbar has-text-centered"},[t("div",{staticClass:"manage-buttons tags has-addons are-medium"},[t("span",{staticClass:"tag is-dark"},[e._v(e._s(e.selectedAccounts.length)+" "+e._s(e.$t("commons.selected")))]),e._v(" "),e.selectedAccounts.length>0?t("a",{staticClass:"tag is-link",on:{click:function(t){e.showGroupSelector=!0}}},[e._v("\n "+e._s(e.$t("commons.move"))+" "),t("font-awesome-icon",{attrs:{icon:["fas","layer-group"]}})],1):e._e(),e._v(" "),e.selectedAccounts.length>0?t("a",{staticClass:"tag is-danger",on:{click:e.destroyAccounts}},[e._v("\n "+e._s(e.$t("commons.delete"))+" "),t("font-awesome-icon",{attrs:{icon:["fas","trash"]}})],1):e._e()])]):t("div",{staticClass:"field"},[t("div",{staticClass:"control has-icons-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticClass:"input is-rounded is-search",attrs:{type:"text"},domProps:{value:e.search},on:{input:function(t){t.target.composing||(e.search=t.target.value)}}}),e._v(" "),t("span",{staticClass:"icon is-small is-right"},[e.search?e._e():t("font-awesome-icon",{attrs:{icon:["fas","search"]}}),e._v(" "),e.search?t("a",{staticClass:"delete",on:{click:function(t){e.search=""}}}):e._e()],1)])]),e._v(" "),e.editMode?e._e():t("div",{staticClass:"is-clickable has-text-centered"},[t("div",{staticClass:"columns",on:{click:e.toggleGroupSwitch}},[e.showGroupSwitch?t("div",{staticClass:"column"},[e._v("\n "+e._s(e.$t("groups.select_accounts_to_show"))+"\n ")]):t("div",{staticClass:"column"},[e._v("\n "+e._s(e.activeGroupName)+" ("+e._s(e.filteredAccounts.length)+")\n "),t("font-awesome-icon",{attrs:{icon:["fas","caret-down"]}})],1)])])])])]):e._e(),e._v(" "),t("modal",{model:{value:e.showTwofaccountInModal,callback:function(t){e.showTwofaccountInModal=t},expression:"showTwofaccountInModal"}},[t("otp-displayer",{ref:"OtpDisplayer"})],1)],1)}),[],!1,null,null,null).exports;var _e=r(90),we=r.n(_e);function ke(e){return ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ke(e)}function xe(){xe=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==ke(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Ce(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function Pe(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ce(i,n,o,a,s,"next",e)}function s(e){Ce(i,n,o,a,s,"throw",e)}a(void 0)}))}}const Be={data:function(){return{showQuickForm:!1,showAdvancedForm:!1,ShowTwofaccountInModal:!1,showAlternatives:!1,tempIcon:"",uri:"",secretIsBase32Encoded:0,form:new R({service:"",account:"",otp_type:"",icon:"",secret:"",algorithm:"",digits:null,counter:null,period:null,image:"",qrcode:null}),otp_types:[{text:"TOTP",value:"totp"},{text:"HOTP",value:"hotp"},{text:"STEAM",value:"steamtotp"}],digitsChoices:[{text:6,value:6},{text:7,value:7},{text:8,value:8},{text:9,value:9},{text:10,value:10}],secretFormats:[{text:this.$t("twofaccounts.forms.plain_text"),value:0},{text:"Base32",value:1}],algorithms:[{text:"sha1",value:"sha1"},{text:"sha256",value:"sha256"},{text:"sha512",value:"sha512"},{text:"md5",value:"md5"}]}},watch:{tempIcon:function(e){this.showQuickForm&&(this.$refs.QuickFormOtpDisplayer.internal_icon=e)}},mounted:function(){var e=this;this.$route.params.decodedUri?(this.uri=this.$route.params.decodedUri,this.axios.post("/api/v1/twofaccounts/preview",{uri:this.uri}).then((function(t){e.form.fill(t.data),e.secretIsBase32Encoded=1,e.tempIcon=t.data.icon?t.data.icon:null,e.showQuickForm=!0})).catch((function(t){422===t.response.status&&t.response.data.errors.uri&&(e.showAlternatives=!0,e.showAdvancedForm=!0)}))):this.showAdvancedForm=!0,this.$on("modalClose",(function(){this.showAlternatives=!1,this.showAdvancedForm&&this.$refs.AdvancedFormOtpDisplayer.stopLoop()}))},components:{Modal:X,OtpDisplayer:ae},methods:{createAccount:function(){var e=this;return Pe(xe().mark((function t(){return xe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form.icon=e.tempIcon,e.form.secret=e.secretIsBase32Encoded?e.form.secret:we().encode(e.form.secret).toString(),t.next=4,e.form.post("/api/v1/twofaccounts");case 4:!1===e.form.errors.any()&&e.$router.push({name:"accounts",params:{toRefresh:!0}});case 5:case"end":return t.stop()}}),t)})))()},previewAccount:function(){this.$refs.AdvancedFormOtpDisplayer.show()},cancelCreation:function(){this.form.service&&!1===confirm(this.$t("twofaccounts.confirm.cancel"))||(this.deleteIcon(),this.$router.push({name:"accounts"}))},uploadQrcode:function(e){var t=this;return Pe(xe().mark((function e(){var r,n,o;return xe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=new FormData).append("qrcode",t.$refs.qrcodeInput.files[0]),r.append("inputFormat","fileUpload"),e.next=5,t.form.upload("/api/v1/qrcode/decode",r);case 5:n=e.sent,o=n.data,t.uri=o.data,t.axios.post("/api/v1/twofaccounts/preview",{uri:o.data}).then((function(e){t.form.fill(e.data),t.secretIsBase32Encoded=1,t.tempIcon=e.data.icon?e.data.icon:null})).catch((function(e){422===e.response.status&&e.response.data.errors.uri&&(t.showAlternatives=!0)}));case 9:case"end":return e.stop()}}),e)})))()},uploadIcon:function(e){var t=this;return Pe(xe().mark((function e(){var r,n,o;return xe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.deleteIcon(),(r=new FormData).append("icon",t.$refs.iconInput.files[0]),e.next=5,t.form.upload("/api/v1/icons",r);case 5:n=e.sent,o=n.data,t.tempIcon=o.filename;case 8:case"end":return e.stop()}}),e)})))()},deleteIcon:function(e){this.tempIcon&&(this.axios.delete("/api/v1/icons/"+this.tempIcon),this.tempIcon="")},incrementHotp:function(e){this.form.counter=e.nextHotpCounter},clipboardSuccessHandler:function(e){e.value,e.event;-1==this.$root.appSettings.kickUserAfter&&this.appLogout(),this.$notify({type:"is-success",text:this.$t("commons.copied_to_clipboard")})},clipboardErrorHandler:function(e){var t=e.value;e.event;console.log("error",t)},SetFormState:function(e){this.form.otp_type=e,this.form.service="steamtotp"===e?"Steam":"",this.secretIsBase32Encoded="steamtotp"===e?1:this.secretIsBase32Encoded}}};const Se=U(Be,(function(){var e=this,t=e._self._c;return t("div",[e.showQuickForm?t("form",{on:{submit:function(t){return t.preventDefault(),e.createAccount.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("div",{staticClass:"container preview has-text-centered"},[t("div",{staticClass:"columns is-mobile"},[t("div",{staticClass:"column"},[e.tempIcon?e._e():t("label",{staticClass:"add-icon-button"},[t("input",{ref:"iconInput",staticClass:"file-input",attrs:{type:"file",accept:"image/*"},on:{change:e.uploadIcon}}),e._v(" "),t("font-awesome-icon",{attrs:{icon:["fas","image"],size:"2x"}})],1),e._v(" "),e.tempIcon?t("button",{staticClass:"delete delete-icon-button is-medium",on:{click:function(t){return t.preventDefault(),e.deleteIcon.apply(null,arguments)}}}):e._e(),e._v(" "),t("otp-displayer",e._b({ref:"QuickFormOtpDisplayer",on:{"increment-hotp":e.incrementHotp}},"otp-displayer",e.form.data(),!1))],1)]),e._v(" "),e.form.errors.any()?t("div",{staticClass:"columns is-mobile"},[t("div",{staticClass:"column"},e._l(e.form.errors.errors,(function(r){return t("p",{staticClass:"help is-danger"},[t("ul",e._l(r,(function(r,n){return t("li",[e._v(e._s(r))])})),0)])})),0)]):e._e(),e._v(" "),t("div",{staticClass:"columns is-mobile"},[t("div",{staticClass:"column quickform-footer"},[t("div",{staticClass:"field is-grouped is-grouped-centered"},[t("div",{staticClass:"control"},[t("v-button",{attrs:{isLoading:e.form.isBusy}},[e._v(e._s(e.$t("commons.save")))])],1),e._v(" "),t("div",{staticClass:"control"},[t("button",{staticClass:"button is-text",attrs:{type:"button"},on:{click:e.cancelCreation}},[e._v(e._s(e.$t("commons.cancel")))])])])])])])]):e._e(),e._v(" "),e.showAdvancedForm?t("form-wrapper",{attrs:{title:e.$t("twofaccounts.forms.new_account")}},[t("form",{on:{submit:function(t){return t.preventDefault(),e.createAccount.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("div",{staticClass:"field"},[t("div",{staticClass:"file is-black is-small"},[t("label",{staticClass:"file-label",attrs:{title:e.$t("twofaccounts.forms.use_qrcode.title")}},[t("input",{ref:"qrcodeInput",staticClass:"file-input",attrs:{type:"file",accept:"image/*"},on:{change:e.uploadQrcode}}),e._v(" "),t("span",{staticClass:"file-cta"},[t("span",{staticClass:"file-icon"},[t("font-awesome-icon",{attrs:{icon:["fas","qrcode"],size:"lg"}})],1),e._v(" "),t("span",{staticClass:"file-label"},[e._v(e._s(e.$t("twofaccounts.forms.prefill_using_qrcode")))])])])])]),e._v(" "),t("field-error",{staticClass:"help-for-file",attrs:{form:e.form,field:"qrcode"}}),e._v(" "),t("form-field",{attrs:{form:e.form,isDisabled:"steamtotp"===e.form.otp_type,fieldName:"service",inputType:"text",label:e.$t("twofaccounts.service"),placeholder:e.$t("twofaccounts.forms.service.placeholder"),autofocus:""}}),e._v(" "),t("form-field",{attrs:{form:e.form,fieldName:"account",inputType:"text",label:e.$t("twofaccounts.account"),placeholder:e.$t("twofaccounts.forms.account.placeholder")}}),e._v(" "),t("div",{staticClass:"field"},[t("label",{staticClass:"label"},[e._v(e._s(e.$t("twofaccounts.icon")))]),e._v(" "),t("div",{staticClass:"file is-dark"},[t("label",{staticClass:"file-label"},[t("input",{ref:"iconInput",staticClass:"file-input",attrs:{type:"file",accept:"image/*"},on:{change:e.uploadIcon}}),e._v(" "),t("span",{staticClass:"file-cta"},[t("span",{staticClass:"file-icon"},[t("font-awesome-icon",{attrs:{icon:["fas","image"]}})],1),e._v(" "),t("span",{staticClass:"file-label"},[e._v(e._s(e.$t("twofaccounts.forms.choose_image")))])])]),e._v(" "),e.tempIcon?t("span",{staticClass:"tag is-black is-large"},[t("img",{staticClass:"icon-preview",attrs:{src:"/storage/icons/"+e.tempIcon}}),e._v(" "),t("button",{staticClass:"delete is-small",on:{click:function(t){return t.preventDefault(),e.deleteIcon.apply(null,arguments)}}})]):e._e()])]),e._v(" "),t("field-error",{staticClass:"help-for-file",attrs:{form:e.form,field:"icon"}}),e._v(" "),t("form-toggle",{staticClass:"has-uppercased-button",attrs:{form:e.form,choices:e.otp_types,fieldName:"otp_type",label:e.$t("twofaccounts.forms.otp_type.label"),help:e.$t("twofaccounts.forms.otp_type.help"),hasOffset:!0},on:{otp_type:e.SetFormState}}),e._v(" "),e.form.otp_type?t("div",[t("label",{staticClass:"label",domProps:{innerHTML:e._s(e.$t("twofaccounts.forms.secret.label"))}}),e._v(" "),t("div",{staticClass:"field has-addons"},[t("p",{staticClass:"control"},[t("span",{staticClass:"select"},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.secretIsBase32Encoded,expression:"secretIsBase32Encoded"}],on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.secretIsBase32Encoded=t.target.multiple?r:r[0]},function(t){e.form.secret=""}]}},e._l(e.secretFormats,(function(r){return t("option",{domProps:{value:r.value}},[e._v(e._s(r.text))])})),0)])]),e._v(" "),t("p",{staticClass:"control is-expanded"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.form.secret,expression:"form.secret"}],staticClass:"input",attrs:{type:"text"},domProps:{value:e.form.secret},on:{input:function(t){t.target.composing||e.$set(e.form,"secret",t.target.value)}}})])]),e._v(" "),t("div",{staticClass:"field"},[t("field-error",{staticClass:"help-for-file",attrs:{form:e.form,field:"secret"}}),e._v(" "),t("p",{staticClass:"help",domProps:{innerHTML:e._s(e.$t("twofaccounts.forms.secret.help"))}})],1),e._v(" "),"steamtotp"!==e.form.otp_type?t("div",[t("h2",{staticClass:"title is-4 mt-5 mb-2"},[e._v(e._s(e.$t("commons.options")))]),e._v(" "),t("p",{staticClass:"help mb-4"},[e._v("\n "+e._s(e.$t("twofaccounts.forms.options_help"))+"\n ")]),e._v(" "),t("form-toggle",{attrs:{form:e.form,choices:e.digitsChoices,fieldName:"digits",label:e.$t("twofaccounts.forms.digits.label"),help:e.$t("twofaccounts.forms.digits.help")}}),e._v(" "),t("form-toggle",{attrs:{form:e.form,choices:e.algorithms,fieldName:"algorithm",label:e.$t("twofaccounts.forms.algorithm.label"),help:e.$t("twofaccounts.forms.algorithm.help")}}),e._v(" "),"totp"===e.form.otp_type?t("form-field",{attrs:{form:e.form,fieldName:"period",inputType:"text",label:e.$t("twofaccounts.forms.period.label"),placeholder:e.$t("twofaccounts.forms.period.placeholder"),help:e.$t("twofaccounts.forms.period.help")}}):e._e(),e._v(" "),"hotp"===e.form.otp_type?t("form-field",{attrs:{form:e.form,fieldName:"counter",inputType:"text",label:e.$t("twofaccounts.forms.counter.label"),placeholder:e.$t("twofaccounts.forms.counter.placeholder"),help:e.$t("twofaccounts.forms.counter.help")}}):e._e()],1):e._e()]):e._e(),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[t("p",{staticClass:"control"},[t("v-button",{staticClass:"is-rounded",attrs:{isLoading:e.form.isBusy}},[e._v(e._s(e.$t("commons.create")))])],1),e._v(" "),e.form.otp_type&&e.form.secret?t("p",{staticClass:"control"},[t("button",{staticClass:"button is-success is-rounded",attrs:{type:"button"},on:{click:e.previewAccount}},[e._v(e._s(e.$t("twofaccounts.forms.test")))])]):e._e(),e._v(" "),t("p",{staticClass:"control"},[t("button",{staticClass:"button is-text is-rounded",attrs:{type:"button"},on:{click:e.cancelCreation}},[e._v(e._s(e.$t("commons.cancel")))])])])],1),e._v(" "),t("modal",{model:{value:e.ShowTwofaccountInModal,callback:function(t){e.ShowTwofaccountInModal=t},expression:"ShowTwofaccountInModal"}},[t("otp-displayer",e._b({ref:"AdvancedFormOtpDisplayer",on:{"increment-hotp":e.incrementHotp}},"otp-displayer",e.form.data(),!1))],1)],1):e._e(),e._v(" "),t("modal",{model:{value:e.showAlternatives,callback:function(t){e.showAlternatives=t},expression:"showAlternatives"}},[t("div",{staticClass:"too-bad"}),e._v(" "),t("div",{staticClass:"block"},[e._v("\n "+e._s(e.$t("errors.data_of_qrcode_is_not_valid_URI"))+"\n ")]),e._v(" "),t("div",{staticClass:"block has-text-light mb-6",domProps:{innerHTML:e._s(e.uri)}}),e._v(" "),t("div",{staticClass:"block has-text-link"},[t("label",{directives:[{name:"clipboard",rawName:"v-clipboard",value:function(){return e.uri},expression:"() => uri"},{name:"clipboard",rawName:"v-clipboard:success",value:e.clipboardSuccessHandler,expression:"clipboardSuccessHandler",arg:"success"}],staticClass:"button is-link is-outlined is-rounded"},[e._v("\n "+e._s(e.$t("commons.copy_to_clipboard"))+"\n ")])]),e._v(" "),e.isUrl(e.uri)?t("div",{staticClass:"block has-text-link",on:{click:function(t){return e.openInBrowser(e.uri)}}},[t("label",{staticClass:"button is-link is-outlined is-rounded"},[e._v("\n "+e._s(e.$t("commons.open_in_browser"))+"\n ")])]):e._e()])],1)}),[],!1,null,null,null).exports;function Ee(e){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function Ae(){Ae=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Ee(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Le(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function Oe(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Le(i,n,o,a,s,"next",e)}function s(e){Le(i,n,o,a,s,"throw",e)}a(void 0)}))}}const Te=U({data:function(){return{ShowTwofaccountInModal:!1,counterIsLocked:!0,twofaccountExists:!1,tempIcon:"",secretIsBase32Encoded:null,form:new R({service:"",account:"",otp_type:"",uri:"",icon:"",secret:"",algorithm:"",digits:null,counter:null,period:null,image:""}),otp_types:[{text:"TOTP",value:"totp"},{text:"HOTP",value:"hotp"},{text:"STEAM",value:"steamtotp"}],digitsChoices:[{text:6,value:6},{text:7,value:7},{text:8,value:8},{text:9,value:9},{text:10,value:10}],secretFormats:[{text:this.$t("twofaccounts.forms.plain_text"),value:0},{text:"Base32",value:1}],algorithms:[{text:"sha1",value:"sha1"},{text:"sha256",value:"sha256"},{text:"sha512",value:"sha512"},{text:"md5",value:"md5"}],secretIsLocked:!0}},mounted:function(){this.$on("modalClose",(function(){this.$refs.AdvancedFormOtpDisplayer.stopLoop()}))},created:function(){this.getAccount()},components:{Modal:X,OtpDisplayer:ae},methods:{getAccount:function(){var e=this;return Oe(Ae().mark((function t(){var r,n;return Ae().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.axios.get("/api/v1/twofaccounts/"+e.$route.params.twofaccountId);case 2:r=t.sent,n=r.data,e.form.fill(n),e.secretIsBase32Encoded=1,e.twofaccountExists=!0,e.tempIcon=e.form.icon;case 8:case"end":return t.stop()}}),t)})))()},updateAccount:function(){var e=this;return Oe(Ae().mark((function t(){var r;return Ae().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.tempIcon!==e.form.icon&&("",r=e.form.icon,e.form.icon=e.tempIcon,e.tempIcon=r,e.deleteIcon()),e.form.secret=e.secretIsBase32Encoded?e.form.secret:we().encode(e.form.secret).toString(),t.next=4,e.form.put("/api/v1/twofaccounts/"+e.$route.params.twofaccountId);case 4:!1===e.form.errors.any()&&e.$router.push({name:"accounts",params:{InitialEditMode:!0,toRefresh:!0}});case 5:case"end":return t.stop()}}),t)})))()},previewAccount:function(){this.$refs.AdvancedFormOtpDisplayer.show()},cancelCreation:function(){this.deleteIcon(),this.$router.push({name:"accounts",params:{InitialEditMode:!0}})},uploadIcon:function(e){var t=this;return Oe(Ae().mark((function e(){var r,n,o;return Ae().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.deleteIcon(),(r=new FormData).append("icon",t.$refs.iconInput.files[0]),e.next=5,t.form.upload("/api/v1/icons",r);case 5:n=e.sent,o=n.data,t.tempIcon=o.filename;case 8:case"end":return e.stop()}}),e)})))()},deleteIcon:function(e){this.tempIcon&&this.tempIcon!==this.form.icon&&this.axios.delete("/api/v1/icons/"+this.tempIcon),this.tempIcon=""},incrementHotp:function(e){this.form.counter=e.nextHotpCounter,this.form.uri=e.nextUri}}},(function(){var e=this,t=e._self._c;return t("form-wrapper",{attrs:{title:e.$t("twofaccounts.forms.edit_account")}},[t("form",{on:{submit:function(t){return t.preventDefault(),e.updateAccount.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("form-field",{attrs:{isDisabled:"steamtotp"===e.form.otp_type,form:e.form,fieldName:"service",inputType:"text",label:e.$t("twofaccounts.service"),placeholder:e.$t("twofaccounts.forms.service.placeholder"),autofocus:""}}),e._v(" "),t("form-field",{attrs:{form:e.form,fieldName:"account",inputType:"text",label:e.$t("twofaccounts.account"),placeholder:e.$t("twofaccounts.forms.account.placeholder")}}),e._v(" "),t("div",{staticClass:"field"},[t("label",{staticClass:"label"},[e._v(e._s(e.$t("twofaccounts.icon")))]),e._v(" "),t("div",{staticClass:"file is-dark"},[t("label",{staticClass:"file-label"},[t("input",{ref:"iconInput",staticClass:"file-input",attrs:{type:"file",accept:"image/*"},on:{change:e.uploadIcon}}),e._v(" "),t("span",{staticClass:"file-cta"},[t("span",{staticClass:"file-icon"},[t("font-awesome-icon",{attrs:{icon:["fas","image"]}})],1),e._v(" "),t("span",{staticClass:"file-label"},[e._v(e._s(e.$t("twofaccounts.forms.choose_image")))])])]),e._v(" "),e.tempIcon?t("span",{staticClass:"tag is-black is-large"},[t("img",{staticClass:"icon-preview",attrs:{src:"/storage/icons/"+e.tempIcon}}),e._v(" "),t("button",{staticClass:"delete is-small",on:{click:function(t){return t.preventDefault(),e.deleteIcon.apply(null,arguments)}}})]):e._e()])]),e._v(" "),t("field-error",{staticClass:"help-for-file",attrs:{form:e.form,field:"icon"}}),e._v(" "),t("form-toggle",{staticClass:"has-uppercased-button",attrs:{isDisabled:!0,form:e.form,choices:e.otp_types,fieldName:"otp_type",label:e.$t("twofaccounts.forms.otp_type.label"),help:e.$t("twofaccounts.forms.otp_type.help"),hasOffset:!0}}),e._v(" "),e.form.otp_type?t("div",[t("label",{staticClass:"label",domProps:{innerHTML:e._s(e.$t("twofaccounts.forms.secret.label"))}}),e._v(" "),t("div",{staticClass:"field has-addons"},[e.secretIsLocked?e._e():t("p",{staticClass:"control"},[t("span",{staticClass:"select"},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.secretIsBase32Encoded,expression:"secretIsBase32Encoded"}],on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.secretIsBase32Encoded=t.target.multiple?r:r[0]},function(t){e.form.secret=""}]}},e._l(e.secretFormats,(function(r){return t("option",{domProps:{value:r.value}},[e._v(e._s(r.text))])})),0)])]),e._v(" "),t("p",{staticClass:"control is-expanded"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.form.secret,expression:"form.secret"}],staticClass:"input",attrs:{type:"text",disabled:e.secretIsLocked},domProps:{value:e.form.secret},on:{input:function(t){t.target.composing||e.$set(e.form,"secret",t.target.value)}}})]),e._v(" "),e.secretIsLocked?t("p",{staticClass:"control"},[t("a",{staticClass:"button is-dark field-lock",attrs:{title:e.$t("twofaccounts.forms.unlock.title")},on:{click:function(t){e.secretIsLocked=!1}}},[t("span",{staticClass:"icon"},[t("font-awesome-icon",{attrs:{icon:["fas","lock"]}})],1)])]):t("p",{staticClass:"control"},[t("a",{staticClass:"button is-dark field-unlock",attrs:{title:e.$t("twofaccounts.forms.lock.title")},on:{click:function(t){e.secretIsLocked=!0}}},[t("span",{staticClass:"icon has-text-danger"},[t("font-awesome-icon",{attrs:{icon:["fas","lock-open"]}})],1)])])]),e._v(" "),t("div",{staticClass:"field"},[t("field-error",{staticClass:"help-for-file",attrs:{form:e.form,field:"secret"}}),e._v(" "),t("p",{staticClass:"help",domProps:{innerHTML:e._s(e.$t("twofaccounts.forms.secret.help"))}})],1),e._v(" "),"steamtotp"!==e.form.otp_type?t("div",[t("h2",{staticClass:"title is-4 mt-5 mb-2"},[e._v(e._s(e.$t("commons.options")))]),e._v(" "),t("p",{staticClass:"help mb-4"},[e._v("\n "+e._s(e.$t("twofaccounts.forms.options_help"))+"\n ")]),e._v(" "),t("form-toggle",{attrs:{form:e.form,choices:e.digitsChoices,fieldName:"digits",label:e.$t("twofaccounts.forms.digits.label"),help:e.$t("twofaccounts.forms.digits.help")}}),e._v(" "),t("form-toggle",{attrs:{form:e.form,choices:e.algorithms,fieldName:"algorithm",label:e.$t("twofaccounts.forms.algorithm.label"),help:e.$t("twofaccounts.forms.algorithm.help")}}),e._v(" "),"totp"===e.form.otp_type?t("form-field",{attrs:{form:e.form,fieldName:"period",inputType:"text",label:e.$t("twofaccounts.forms.period.label"),placeholder:e.$t("twofaccounts.forms.period.placeholder"),help:e.$t("twofaccounts.forms.period.help")}}):e._e(),e._v(" "),"hotp"===e.form.otp_type?t("div",[t("div",{staticClass:"field",staticStyle:{"margin-bottom":"0.5rem"}},[t("label",{staticClass:"label"},[e._v(e._s(e.$t("twofaccounts.forms.counter.label")))])]),e._v(" "),t("div",{staticClass:"field has-addons"},[t("div",{staticClass:"control is-expanded"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.form.counter,expression:"form.counter"}],staticClass:"input",attrs:{type:"text",placeholder:"",disabled:e.counterIsLocked},domProps:{value:e.form.counter},on:{input:function(t){t.target.composing||e.$set(e.form,"counter",t.target.value)}}})]),e._v(" "),e.counterIsLocked?t("div",{staticClass:"control"},[t("a",{staticClass:"button is-dark field-lock",attrs:{title:e.$t("twofaccounts.forms.unlock.title")},on:{click:function(t){e.counterIsLocked=!1}}},[t("span",{staticClass:"icon"},[t("font-awesome-icon",{attrs:{icon:["fas","lock"]}})],1)])]):t("div",{staticClass:"control"},[t("a",{staticClass:"button is-dark field-unlock",attrs:{title:e.$t("twofaccounts.forms.lock.title")},on:{click:function(t){e.counterIsLocked=!0}}},[t("span",{staticClass:"icon has-text-danger"},[t("font-awesome-icon",{attrs:{icon:["fas","lock-open"]}})],1)])])]),e._v(" "),t("field-error",{attrs:{form:e.form,field:"counter"}}),e._v(" "),t("p",{staticClass:"help",domProps:{innerHTML:e._s(e.$t("twofaccounts.forms.counter.help_lock"))}})],1):e._e()],1):e._e()]):e._e(),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[t("p",{staticClass:"control"},[t("v-button",{staticClass:"is-rounded",attrs:{isLoading:e.form.isBusy}},[e._v(e._s(e.$t("commons.save")))])],1),e._v(" "),e.form.otp_type&&e.form.secret?t("p",{staticClass:"control"},[t("button",{staticClass:"button is-success is-rounded",attrs:{type:"button"},on:{click:e.previewAccount}},[e._v(e._s(e.$t("twofaccounts.forms.test")))])]):e._e(),e._v(" "),t("p",{staticClass:"control"},[t("button",{staticClass:"button is-text is-rounded",attrs:{type:"button"},on:{click:e.cancelCreation}},[e._v(e._s(e.$t("commons.cancel")))])])])],1),e._v(" "),t("modal",{model:{value:e.ShowTwofaccountInModal,callback:function(t){e.ShowTwofaccountInModal=t},expression:"ShowTwofaccountInModal"}},[t("otp-displayer",e._b({ref:"AdvancedFormOtpDisplayer",on:{"increment-hotp":e.incrementHotp}},"otp-displayer",e.form.data(),!1))],1)],1)}),[],!1,null,null,null).exports;function Ne(e){return Ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ne(e)}function je(){je=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Ne(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Ie(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function De(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ie(i,n,o,a,s,"next",e)}function s(e){Ie(i,n,o,a,s,"throw",e)}a(void 0)}))}}var Me;const $e=U({data:function(){return{migrationUri:"",exportedAccounts:[],isFetching:!1,form:new R({service:"",account:"",otp_type:"",icon:"",secret:"",secretIsBase32Encoded:1,algorithm:"",digits:null,counter:null,period:null,image:"",qrcode:null}),ShowTwofaccountInModal:!1}},computed:{importableCount:function(){return this.exportedAccounts.filter((function(e){return-1==e.imported&&e.id>-2})).length},duplicateCount:function(){return this.exportedAccounts.filter((function(e){return-1===e.id&&-1===e.imported})).length}},mounted:(Me=De(je().mark((function e(){var t=this;return je().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.$route.params.migrationUri){e.next=7;break}return this.migrationUri=this.$route.params.migrationUri,this.isFetching=!0,e.next=5,this.axios.post("/api/v1/twofaccounts/import",{uri:this.migrationUri}).then((function(e){e.data.forEach((function(e){e.imported=-1,t.exportedAccounts.push(e)}))}));case 5:this.$notify({type:"is-success",text:this.$t("twofaccounts.import.x_valid_accounts_found",{count:this.importableCount})}),this.isFetching=!1;case 7:this.$on("modalClose",(function(){this.$refs.AdvancedFormOtpDisplayer.clearOTP()}));case 8:case"end":return e.stop()}}),e,this)}))),function(){return Me.apply(this,arguments)}),components:{Modal:X,OtpDisplayer:ae},methods:{discardDuplicates:function(){confirm(this.$t("twofaccounts.confirm.discard_duplicates"))&&(this.$notify({clean:!0}),this.$refs.AdvancedFormOtpDisplayer.clearOTP(),this.exportedAccounts=this.exportedAccounts.filter((function(e){return-1!==e.id})))},discardAccounts:function(){confirm(this.$t("twofaccounts.confirm.discard_all"))&&(this.$notify({clean:!0}),this.$refs.AdvancedFormOtpDisplayer.clearOTP(),this.exportedAccounts=[])},discardAccount:function(e){confirm(this.$t("twofaccounts.confirm.discard"))&&this.exportedAccounts.splice(e,1)},createAccounts:function(){var e=this;return De(je().mark((function t(){var r;return je().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=0;case 1:if(!(r<e.exportedAccounts.length)){t.next=8;break}if(-1!=e.exportedAccounts[r].imported){t.next=5;break}return t.next=5,e.createAccount(r);case 5:r++,t.next=1;break;case 8:case"end":return t.stop()}}),t)})))()},createAccount:function(e){var t=this;return De(je().mark((function r(){var n;return je().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=t.exportedAccounts[e],t.mapAccountToForm(n),r.next=4,t.form.post("/api/v1/twofaccounts",{returnError:!0}).then((function(r){t.exportedAccounts[e].imported=1,t.exportedAccounts[e].id=r.data.id})).catch((function(r){t.exportedAccounts[e].imported=0,t.exportedAccounts[e].id=0,t.exportedAccounts[e].errors=t.form.errors.flatten()}));case 4:case"end":return r.stop()}}),r)})))()},previewAccount:function(e){var t=this;this.mapAccountToForm(this.exportedAccounts[e]).then((function(){t.$refs.AdvancedFormOtpDisplayer.$forceUpdate(),t.$refs.AdvancedFormOtpDisplayer.show()}))},mapAccountToForm:function(e){var t=this;return De(je().mark((function r(){return je().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:t.form.account=e.account,t.form.service=e.service,t.form.otp_type=e.otp_type,t.form.secret=e.secret,t.form.algorithm=e.algorithm,t.form.digits=e.digits,t.form.counter="hotp"===e.otp_type?e.counter:null,t.form.period="totp"===e.otp_type?e.period:null;case 8:case"end":return r.stop()}}),r)})))()}}},(function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"columns is-centered"},[t("div",{staticClass:"form-column column is-two-thirds-tablet is-half-desktop is-one-third-widescreen is-one-third-fullhd"},[t("h1",{staticClass:"title"},[e._v("\n "+e._s(e.$t("twofaccounts.import.import"))+"\n ")]),e._v(" "),t("div",{staticClass:"is-size-7-mobile",domProps:{innerHTML:e._s(e.$t("twofaccounts.import.import_legend"))}}),e._v(" "),t("div",{staticClass:"mt-3 mb-6"},[t("router-link",{staticClass:"is-link",attrs:{to:{name:"start",params:{showAdvancedFormButton:!1,returnToView:"importAccounts"}}}},[t("span",{staticClass:"tag is-black"},[t("font-awesome-icon",{staticClass:"mr-1",attrs:{icon:["fas","qrcode"],size:"lg"}}),e._v(e._s(e.$t("twofaccounts.import.use_the_gauth_qr_code"))+"\n ")],1)])],1),e._v(" "),t("div",[e.exportedAccounts.length>0?t("div",[e._l(e.exportedAccounts,(function(r,n){return t("div",{key:r.name,staticClass:"group-item has-text-light is-size-5 is-size-6-mobile"},[t("div",{staticClass:"is-flex is-justify-content-space-between"},[r.id>-2&&0!==r.imported?t("div",{staticClass:"has-ellipsis is-clickable",attrs:{title:e.$t("twofaccounts.import.generate_a_test_password")},on:{click:function(t){return e.previewAccount(n)}}},[e._v("\n "+e._s(r.account)+"\n ")]):t("div",{staticClass:"has-ellipsis"},[e._v(e._s(r.account))]),e._v(" "),-1===r.imported?t("div",{staticClass:"tags is-flex-wrap-nowrap"},[t("a",{staticClass:"tag is-dark has-text-grey-light",attrs:{title:e.$t("twofaccounts.import.discard_this_account")},on:{click:function(t){return e.discardAccount(n)}}},[t("font-awesome-icon",{attrs:{icon:["fas","trash"]}})],1),e._v(" "),r.id>-2?t("a",{staticClass:"tag is-link",attrs:{title:e.$t("twofaccounts.import.import_this_account")},on:{click:function(t){return e.createAccount(n)}}},[e._v("\n "+e._s(e.$t("twofaccounts.import.to_import"))+"\n ")]):e._e()]):t("div",{staticClass:"has-nowrap"},[1===r.imported?t("span",{staticClass:"has-text-success"},[e._v("\n "+e._s(e.$t("twofaccounts.import.imported"))+" "),t("font-awesome-icon",{attrs:{icon:["fas","check"]}})],1):t("span",{staticClass:"has-text-danger"},[e._v("\n "+e._s(e.$t("twofaccounts.import.failure"))+" "),t("font-awesome-icon",{attrs:{icon:["fas","times"]}})],1)])]),e._v(" "),t("div",{staticClass:"is-size-6 is-size-7-mobile"},[t("div",{staticClass:"is-family-primary has-text-grey"},[e._v(e._s(e.$t("twofaccounts.import.issuer"))+": "+e._s(r.service))]),e._v(" "),-2===r.id?t("div",{staticClass:"has-text-danger"},[t("font-awesome-icon",{staticClass:"mr-1",attrs:{icon:["fas","times-circle"]}}),e._v(e._s(r.secret)+"\n ")],1):e._e(),e._v(" "),-1!==r.id||1===r.imported||r.errors?e._e():t("div",{staticClass:"has-text-warning"},[t("font-awesome-icon",{staticClass:"mr-1",attrs:{icon:["fas","exclamation-circle"]}}),e._v(e._s(e.$t("twofaccounts.import.possible_duplicate"))+"\n ")],1),e._v(" "),r.errors?t("ul",e._l(r.errors,(function(r){return t("li",{key:r,staticClass:"has-text-danger"},[e._v(e._s(r))])})),0):e._e()])])})),e._v(" "),e.importableCount>0?t("div",{staticClass:"mt-2 is-size-7 is-pulled-right"},[e.duplicateCount?t("span",[t("a",{staticClass:"has-text-grey",on:{click:function(t){return e.discardDuplicates()}}},[e._v(e._s(e.$t("twofaccounts.import.discard_duplicates"))+" ("+e._s(e.duplicateCount)+")")]),e._v(" - \n ")]):e._e(),e._v(" "),t("a",{staticClass:"has-text-grey",on:{click:function(t){return e.discardAccounts()}}},[e._v(e._s(e.$t("twofaccounts.import.discard_all")))])]):e._e()],2):e._e(),e._v(" "),e.isFetching&&0===e.exportedAccounts.length?t("div",{staticClass:"has-text-centered"},[t("span",{staticClass:"is-size-4"},[t("font-awesome-icon",{attrs:{icon:["fas","spinner"],spin:""}})],1)]):e._e()]),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[e.importableCount>0?t("p",{staticClass:"control"},[t("a",{staticClass:"button is-link is-rounded is-focus",on:{click:e.createAccounts}},[t("span",[e._v(e._s(e.$t("twofaccounts.import.import_all"))+" ("+e._s(e.importableCount)+")")])])]):e._e(),e._v(" "),t("p",{staticClass:"control"},[t("router-link",{staticClass:"button is-dark is-rounded",attrs:{to:{name:"accounts",params:{toRefresh:!0}}},domProps:{innerHTML:e._s(e.importableCount>0?e.$t("commons.cancel"):e.$t("commons.close"))}})],1)])],1)]),e._v(" "),t("modal",{model:{value:e.ShowTwofaccountInModal,callback:function(t){e.ShowTwofaccountInModal=t},expression:"ShowTwofaccountInModal"}},[t("otp-displayer",e._b({ref:"AdvancedFormOtpDisplayer"},"otp-displayer",e.form.data(),!1))],1)],1)}),[],!1,null,null,null).exports;function Re(e){return Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Re(e)}function qe(){qe=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Re(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Fe(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}const ze={data:function(){return{qrcode:null}},mounted:function(){this.getQRcode()},methods:{getQRcode:function(){var e,t=this;return(e=qe().mark((function e(){var r,n;return qe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.axios.get("/api/v1/twofaccounts/"+t.$route.params.twofaccountId+"/qrcode");case 2:r=e.sent,n=r.data,t.qrcode=n.qrcode;case 5:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Fe(i,n,o,a,s,"next",e)}function s(e){Fe(i,n,o,a,s,"throw",e)}a(void 0)}))})()}}};const Ge=U(ze,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"modal modal-otp is-active"},[t("div",{staticClass:"modal-background"}),e._v(" "),t("div",{staticClass:"modal-content"},[t("p",{staticClass:"has-text-centered m-5"},[t("img",{staticClass:"has-background-light",attrs:{src:e.qrcode}})])]),e._v(" "),t("div",{staticClass:"fullscreen-footer"},[t("label",{staticClass:"button is-dark is-rounded",on:{click:function(t){return t.stopPropagation(),e.$router.push({name:"accounts",params:{InitialEditMode:!0}})}}},[e._v("\n "+e._s(e.$t("commons.close"))+"\n ")])])])}),[],!1,null,null,null).exports;function Ue(e){return Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(e)}function We(){We=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Ue(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function He(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}const Ye={data:function(){return{groups:[],TheAllGroup:null,isFetching:!1}},mounted:function(){var e=this.$storage.get("groups",null);e&&(this.groups=e,this.TheAllGroup=this.groups.shift()),this.fetchGroups()},methods:{fetchGroups:function(){var e,t=this;return(e=We().mark((function e(){return We().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.isFetching=!0,e.next=3,t.axios.get("api/v1/groups").then((function(e){var r=[];e.data.forEach((function(e){r.push(e)})),t.TheAllGroup=r.shift(),t.groups=r}));case 3:t.isFetching=!1;case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){He(i,n,o,a,s,"next",e)}function s(e){He(i,n,o,a,s,"throw",e)}a(void 0)}))})()},deleteGroup:function(e){confirm(this.$t("groups.confirm.delete"))&&(this.axios.delete("/api/v1/groups/"+e),this.groups=this.groups.filter((function(t){return t.id!==e})),parseInt(this.$root.appSettings.activeGroup)===e&&(this.$root.appSettings.activeGroup=0))}},beforeRouteLeave:function(e,t,r){this.groups.unshift(this.TheAllGroup),this.$storage.set("groups",this.groups),r()}};const Qe=U(Ye,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"columns is-centered"},[t("div",{staticClass:"form-column column is-two-thirds-tablet is-half-desktop is-one-third-widescreen is-one-third-fullhd"},[t("h1",{staticClass:"title"},[e._v("\n "+e._s(e.$t("groups.groups"))+"\n ")]),e._v(" "),t("div",{staticClass:"is-size-7-mobile"},[e._v("\n "+e._s(e.$t("groups.manage_groups_legend"))+"\n ")]),e._v(" "),t("div",{staticClass:"mt-3 mb-6"},[t("router-link",{staticClass:"is-link mt-5",attrs:{to:{name:"createGroup"}}},[t("font-awesome-icon",{attrs:{icon:["fas","plus-circle"]}}),e._v(" "+e._s(e.$t("groups.create_group"))+"\n ")],1)],1),e._v(" "),e.groups.length>0?t("div",[e._l(e.groups,(function(r){return t("div",{key:r.id,staticClass:"group-item has-text-light is-size-5 is-size-6-mobile"},[e._v("\n "+e._s(r.name)+"\n "),e._v(" "),t("a",{staticClass:"tag is-dark is-pulled-right",attrs:{title:e.$t("commons.delete")},on:{click:function(t){return e.deleteGroup(r.id)}}},[e._v("\n "+e._s(e.$t("commons.delete"))+"\n ")]),e._v(" "),t("router-link",{staticClass:"has-text-grey pl-1",attrs:{to:{name:"editGroup",params:{id:r.id,name:r.name}},title:e.$t("commons.rename")}},[t("font-awesome-icon",{attrs:{icon:["fas","pen-square"]}})],1),e._v(" "),t("span",{staticClass:"is-family-primary is-size-6 is-size-7-mobile has-text-grey"},[e._v(e._s(r.twofaccounts_count)+" "+e._s(e.$t("twofaccounts.accounts")))])],1)})),e._v(" "),e.groups.length>0?t("div",{staticClass:"mt-2 is-size-7 is-pulled-right"},[e._v("\n "+e._s(e.$t("groups.deleting_group_does_not_delete_accounts"))+"\n ")]):e._e()],2):e._e(),e._v(" "),e.isFetching&&0===e.groups.length?t("div",{staticClass:"has-text-centered"},[t("span",{staticClass:"is-size-4"},[t("font-awesome-icon",{attrs:{icon:["fas","spinner"],spin:""}})],1)]):e._e(),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[t("p",{staticClass:"control"},[t("router-link",{staticClass:"button is-dark is-rounded",attrs:{to:{name:"accounts",params:{toRefresh:!0}}}},[e._v(e._s(e.$t("commons.close")))])],1)])],1)])}),[],!1,null,null,null).exports;function Ke(e){return Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ke(e)}function Ve(){Ve=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Ke(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Xe(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}const Ze={data:function(){return{form:new R({name:""})}},methods:{createGroup:function(){var e,t=this;return(e=Ve().mark((function e(){return Ve().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.form.post("/api/v1/groups");case 2:!1===t.form.errors.any()&&t.$router.push({name:"groups"});case 3:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Xe(i,n,o,a,s,"next",e)}function s(e){Xe(i,n,o,a,s,"throw",e)}a(void 0)}))})()},cancelCreation:function(){this.$router.push({name:"groups"})}}};const Je=U(Ze,(function(){var e=this,t=e._self._c;return t("form-wrapper",{attrs:{title:e.$t("groups.forms.new_group")}},[t("form",{on:{submit:function(t){return t.preventDefault(),e.createGroup.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("form-field",{attrs:{form:e.form,fieldName:"name",inputType:"text",label:e.$t("commons.name"),autofocus:""}}),e._v(" "),t("div",{staticClass:"field is-grouped"},[t("div",{staticClass:"control"},[t("v-button",[e._v(e._s(e.$t("commons.create")))])],1),e._v(" "),t("div",{staticClass:"control"},[t("button",{staticClass:"button is-text",attrs:{type:"button"},on:{click:e.cancelCreation}},[e._v(e._s(e.$t("commons.cancel")))])])])],1)])}),[],!1,null,null,null).exports;function et(e){return et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},et(e)}function tt(){tt=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==et(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function rt(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}const nt={data:function(){return{form:new R({name:this.name})}},props:["id","name"],methods:{updateGroup:function(){var e,t=this;return(e=tt().mark((function e(){return tt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.form.put("/api/v1/groups/"+t.id);case 2:!1===t.form.errors.any()&&t.$router.push({name:"groups"});case 3:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){rt(i,n,o,a,s,"next",e)}function s(e){rt(i,n,o,a,s,"throw",e)}a(void 0)}))})()},cancelCreation:function(){this.$router.push({name:"groups"})}}};const ot=U(nt,(function(){var e=this,t=e._self._c;return t("form-wrapper",{attrs:{title:e.$t("groups.forms.rename_group")}},[t("form",{on:{submit:function(t){return t.preventDefault(),e.updateGroup.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("form-field",{attrs:{form:e.form,fieldName:"name",inputType:"text",label:e.$t("groups.forms.new_name"),autofocus:""}}),e._v(" "),t("div",{staticClass:"field is-grouped"},[t("div",{staticClass:"control"},[t("v-button",{attrs:{isLoading:e.form.isBusy}},[e._v(e._s(e.$t("commons.save")))])],1),e._v(" "),t("div",{staticClass:"control"},[t("button",{staticClass:"button is-text",attrs:{type:"button"},on:{click:e.cancelCreation}},[e._v(e._s(e.$t("commons.cancel")))])])])],1)])}),[],!1,null,null,null).exports;function it(e){return it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},it(e)}function at(){at=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==it(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function st(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function ct(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){st(i,n,o,a,s,"next",e)}function s(e){st(i,n,o,a,s,"throw",e)}a(void 0)}))}}const ut={data:function(){return{username:null,isDemo:this.$root.isDemoApp,isTesting:this.$root.isTestingApp,form:new R({email:"",password:""}),isBusy:!1,showWebauthn:this.$root.appSettings.useWebauthnAsDefault||this.$root.appSettings.useWebauthnOnly,csrfRefresher:null}},computed:{punchline:function(){return this.isDemo?"":this.$t("auth.welcome_back_x",[this.username])}},mounted:function(){this.csrfRefresher=setInterval(this.refreshToken,3e5)},methods:{handleSubmit:function(e){var t=this;e.preventDefault(),this.form.post("/user/login",{returnError:!0}).then((function(e){t.$router.push({name:"accounts",params:{toRefresh:!0}})})).catch((function(e){401===e.response.status?t.$notify({type:"is-danger",text:t.$t("auth.forms.authentication_failed"),duration:-1}):422!==e.response.status&&t.$router.push({name:"genericError",params:{err:e.response}})}))},webauthnLogin:function(){var e=this;return ct(at().mark((function t(){var r,n,o,i;return at().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.isBusy=!1,window.isSecureContext){t.next=4;break}return e.$notify({type:"is-danger",text:e.$t("errors.https_required")}),t.abrupt("return",!1);case 4:if(window.PublicKeyCredential){t.next=7;break}return e.$notify({type:"is-danger",text:e.$t("errors.browser_does_not_support_webauthn")}),t.abrupt("return",!1);case 7:return t.next=9,e.axios.post("/webauthn/login/options").then((function(e){return e.data}));case 9:return r=t.sent,n=e.parseIncomingServerOptions(r),t.next=13,navigator.credentials.get({publicKey:n}).catch((function(t){e.$notify({type:"is-danger",text:e.$t("auth.webauthn.unknown_device")})}));case 13:if(o=t.sent){t.next=16;break}return t.abrupt("return",!1);case 16:i=e.parseOutgoingCredentials(o),e.axios.post("/webauthn/login",i,{returnError:!0}).then((function(t){e.$router.push({name:"accounts",params:{toRefresh:!0}})})).catch((function(t){401===t.response.status?e.$notify({type:"is-danger",text:e.$t("auth.forms.authentication_failed"),duration:-1}):422!==t.response.status&&e.$router.push({name:"genericError",params:{err:t.response}})})),e.isBusy=!1;case 19:case"end":return t.stop()}}),t)})))()},refreshToken:function(){this.axios.get("/refresh-csrf")}},beforeRouteEnter:function(e,t,r){e.params.forceRefresh&&null!==t.name?window.location.href=e.path:(r(function(){var e=ct(at().mark((function e(t){var n,o;return at().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.axios.get("api/v1/user/name");case 2:if(n=e.sent,!(o=n.data).name){e.next=10;break}if(!o.email){e.next=7;break}return e.abrupt("return",r({name:"accounts"}));case 7:t.username=o.name,e.next=11;break;case 10:return e.abrupt("return",r({name:"register"}));case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),r())},beforeRouteLeave:function(e,t,r){this.$notify({clean:!0}),clearInterval(this.csrfRefresher),r()}};const lt=U(ut,(function(){var e=this,t=e._self._c;return e.username?t("div",[e.showWebauthn?t("form-wrapper",{attrs:{title:e.$t("auth.forms.webauthn_login"),punchline:e.punchline}},[t("div",{staticClass:"field"},[e._v("\n "+e._s(e.$t("auth.webauthn.use_security_device_to_sign_in"))+"\n ")]),e._v(" "),t("div",{staticClass:"control"},[t("button",{staticClass:"button is-link",attrs:{type:"button"},on:{click:e.webauthnLogin}},[e._v(e._s(e.$t("commons.continue")))])]),e._v(" "),t("div",{staticClass:"nav-links"},[t("p",[e._v(e._s(e.$t("auth.webauthn.lost_your_device"))+" "),t("router-link",{staticClass:"is-link",attrs:{to:{name:"webauthn.lost"}}},[e._v(e._s(e.$t("auth.webauthn.recover_your_account")))])],1),e._v(" "),this.$root.appSettings.useWebauthnOnly?e._e():t("p",[e._v(e._s(e.$t("auth.sign_in_using"))+" "),t("a",{staticClass:"is-link",on:{click:function(t){e.showWebauthn=!1}}},[e._v(e._s(e.$t("auth.login_and_password")))])])])]):t("form-wrapper",{attrs:{title:e.$t("auth.forms.login"),punchline:e.punchline}},[e.isDemo?t("div",{staticClass:"notification is-info has-text-centered is-radiusless",domProps:{innerHTML:e._s(e.$t("auth.forms.welcome_to_demo_app_use_those_credentials"))}}):e._e(),e._v(" "),e.isTesting?t("div",{staticClass:"notification is-warning has-text-centered is-radiusless",domProps:{innerHTML:e._s(e.$t("auth.forms.welcome_to_testing_app_use_those_credentials"))}}):e._e(),e._v(" "),t("form",{on:{submit:function(t){return t.preventDefault(),e.handleSubmit.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("form-field",{attrs:{form:e.form,fieldName:"email",inputType:"email",label:e.$t("auth.forms.email"),autofocus:""}}),e._v(" "),t("form-field",{attrs:{form:e.form,fieldName:"password",inputType:"password",label:e.$t("auth.forms.password")}}),e._v(" "),t("form-buttons",{attrs:{isBusy:e.form.isBusy,caption:e.$t("auth.sign_in")}})],1),e._v(" "),t("div",{staticClass:"nav-links"},[e.username?t("div",[t("p",[e._v(e._s(e.$t("auth.forms.forgot_your_password"))+" "),t("router-link",{staticClass:"is-link",attrs:{to:{name:"password.request"}}},[e._v(e._s(e.$t("auth.forms.request_password_reset")))])],1),e._v(" "),t("p",[e._v(e._s(e.$t("auth.sign_in_using"))+" "),t("a",{staticClass:"is-link",on:{click:function(t){e.showWebauthn=!0}}},[e._v(e._s(e.$t("auth.webauthn.security_device")))])])]):t("div",[t("p",[e._v(e._s(e.$t("auth.forms.dont_have_account_yet"))+" "),t("router-link",{staticClass:"is-link",attrs:{to:{name:"register"}}},[e._v(e._s(e.$t("auth.register")))])],1)])])])],1):e._e()}),[],!1,null,null,null).exports;function dt(e){return dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dt(e)}function ft(){ft=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==dt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function pt(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function ht(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){pt(i,n,o,a,s,"next",e)}function s(e){pt(i,n,o,a,s,"throw",e)}a(void 0)}))}}const mt={data:function(){return{registerForm:new R({name:"",email:"",password:"",password_confirmation:""}),deviceForm:new R({name:""}),showWebauthnRegistration:!1,deviceRegistered:!1,deviceId:null}},methods:{handleRegisterSubmit:function(e){var t=this;return ht(ft().mark((function r(){return ft().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:e.preventDefault(),t.registerForm.post("/user",{returnError:!0}).then((function(e){t.showWebauthnRegistration=!0})).catch((function(e){422===e.response.status&&e.response.data.errors.name?t.$notify({type:"is-danger",text:t.$t("errors.cannot_register_more_user"),duration:-1}):422!==e.response.status&&t.$router.push({name:"genericError",params:{err:e.response}})}));case 2:case"end":return r.stop()}}),r)})))()},registerWebauthnDevice:function(){var e=this;return ht(ft().mark((function t(){var r,n,o,i;return ft().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(window.isSecureContext){t.next=3;break}return e.$notify({type:"is-danger",text:e.$t("errors.https_required")}),t.abrupt("return",!1);case 3:if(window.PublicKeyCredential){t.next=6;break}return e.$notify({type:"is-danger",text:e.$t("errors.browser_does_not_support_webauthn")}),t.abrupt("return",!1);case 6:return t.next=8,e.axios.post("/webauthn/register/options").then((function(e){return e.data}));case 8:return r=t.sent,n=e.parseIncomingServerOptions(r),t.prev=10,t.next=13,navigator.credentials.create({publicKey:n});case 13:o=t.sent,t.next=20;break;case 16:return t.prev=16,t.t0=t.catch(10),"AbortError"==t.t0.name?e.$notify({type:"is-warning",text:e.$t("errors.aborted_by_user")}):(t.t0.name,e.$notify({type:"is-danger",text:e.$t("errors.security_device_unsupported")})),t.abrupt("return",!1);case 20:i=e.parseOutgoingCredentials(o),e.axios.post("/webauthn/register",i).then((function(t){e.deviceId=i.id,e.deviceRegistered=!0}));case 22:case"end":return t.stop()}}),t,null,[[10,16]])})))()},handleDeviceSubmit:function(e){var t=this;return ht(ft().mark((function e(){return ft().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.deviceForm.patch("/webauthn/credentials/"+t.deviceId+"/name");case 2:!1===t.deviceForm.errors.any()&&t.$router.push({name:"accounts",params:{toRefresh:!0}});case 3:case"end":return e.stop()}}),e)})))()}},beforeRouteLeave:function(e,t,r){this.$notify({clean:!0}),r()}};const vt=U(mt,(function(){var e=this,t=e._self._c;return t("div",[e.showWebauthnRegistration?t("form-wrapper",{attrs:{title:e.$t("auth.authentication"),punchline:e.$t("auth.webauthn.enhance_security_using_webauthn")}},[e.deviceRegistered?t("div",{staticClass:"field"},[t("label",{staticClass:"label mb-5"},[e._v(e._s(e.$t("auth.webauthn.device_successfully_registered"))+" "),t("font-awesome-icon",{attrs:{icon:["fas","check"]}})],1),e._v(" "),t("form",{on:{submit:function(t){return t.preventDefault(),e.handleDeviceSubmit.apply(null,arguments)},keydown:function(t){return e.deviceForm.onKeydown(t)}}},[t("form-field",{attrs:{form:e.deviceForm,fieldName:"name",inputType:"text",placeholder:"iPhone 12, TouchID, Yubikey 5C",label:e.$t("auth.forms.name_this_device")}}),e._v(" "),t("form-buttons",{attrs:{isBusy:e.deviceForm.isBusy,isDisabled:e.deviceForm.isDisabled,caption:e.$t("commons.continue")}})],1)]):t("div",{staticClass:"field is-grouped"},[t("div",{staticClass:"control"},[t("button",{staticClass:"button is-link",attrs:{type:"button"},on:{click:function(t){return e.registerWebauthnDevice()}}},[e._v(e._s(e.$t("auth.webauthn.register_a_new_device")))])]),e._v(" "),t("div",{staticClass:"control"},[t("router-link",{staticClass:"button is-text",attrs:{to:{name:"accounts",params:{toRefresh:!0}}}},[e._v(e._s(e.$t("auth.maybe_later")))])],1)])]):t("form-wrapper",{attrs:{title:e.$t("auth.register"),punchline:e.$t("auth.forms.register_punchline")}},[t("form",{on:{submit:function(t){return t.preventDefault(),e.handleRegisterSubmit.apply(null,arguments)},keydown:function(t){return e.registerForm.onKeydown(t)}}},[t("form-field",{attrs:{form:e.registerForm,fieldName:"name",inputType:"text",label:e.$t("auth.forms.name"),autofocus:""}}),e._v(" "),t("form-field",{attrs:{form:e.registerForm,fieldName:"email",inputType:"email",label:e.$t("auth.forms.email")}}),e._v(" "),t("form-field",{attrs:{form:e.registerForm,fieldName:"password",inputType:"password",label:e.$t("auth.forms.password")}}),e._v(" "),t("form-field",{attrs:{form:e.registerForm,fieldName:"password_confirmation",inputType:"password",label:e.$t("auth.forms.confirm_password")}}),e._v(" "),t("form-buttons",{attrs:{isBusy:e.registerForm.isBusy,isDisabled:e.registerForm.isDisabled,caption:e.$t("auth.register")}})],1),e._v(" "),t("div",{staticClass:"nav-links"},[t("p",[e._v(e._s(e.$t("auth.forms.already_register"))+" "),t("router-link",{staticClass:"is-link",attrs:{to:{name:"login"}}},[e._v(e._s(e.$t("auth.sign_in")))])],1)])])],1)}),[],!1,null,null,null).exports;const gt=U({data:function(){return{}},mounted:function(){this.axios.get("/user/logout",{returnError:!0}).catch((function(e){})),this.$storage.clear()}},(function(){var e=this,t=e._self._c;return t("form-wrapper",{attrs:{title:e.$t("auth.autolock_triggered"),punchline:e.$t("auth.autolock_triggered_punchline")}},[t("p",[e._v(e._s(e.$t("auth.change_autolock_in_settings")))]),e._v(" "),t("div",{staticClass:"nav-links"},[t("p",[t("router-link",{staticClass:"button is-link",attrs:{to:{name:"login",params:{forceRefresh:!0}}}},[e._v(e._s(e.$t("auth.sign_in")))])],1)])])}),[],!1,null,null,null).exports;const yt={data:function(){return{form:new R({email:""})}},methods:{handleSubmit:function(e){var t=this;e.preventDefault(),this.form.post("/user/password/lost",{returnError:!0}).then((function(e){t.$notify({type:"is-success",text:e.data.message,duration:-1})})).catch((function(e){e.response.data.requestFailed?t.$notify({type:"is-danger",text:e.response.data.requestFailed,duration:-1}):422!==e.response.status&&t.$router.push({name:"genericError",params:{err:e.response}})}))}},beforeRouteLeave:function(e,t,r){this.$notify({clean:!0}),r()}};const bt=U(yt,(function(){var e=this,t=e._self._c;return t("form-wrapper",{attrs:{title:e.$t("auth.forms.reset_password"),punchline:e.$t("auth.forms.reset_punchline")}},[t("form",{on:{submit:function(t){return t.preventDefault(),e.handleSubmit.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("form-field",{attrs:{form:e.form,fieldName:"email",inputType:"email",label:e.$t("auth.forms.email"),autofocus:""}}),e._v(" "),t("form-buttons",{attrs:{isBusy:e.form.isBusy,caption:e.$t("auth.forms.send_password_reset_link"),showCancelButton:!0,cancelLandingView:"login"}})],1)])}),[],!1,null,null,null).exports;const _t={data:function(){return{success:"",fail:"",form:new R({email:"",password:"",password_confirmation:"",token:""})}},created:function(){this.form.email=this.$route.query.email,this.form.token=this.$route.params.token},methods:{handleSubmit:function(e){var t=this;e.preventDefault(),this.form.post("/user/password/reset",{returnError:!0}).then((function(e){t.$notify({type:"is-success",text:e.data.message,duration:-1})})).catch((function(e){e.response.data.resetFailed?t.$notify({type:"is-danger",text:e.response.data.resetFailed,duration:-1}):422!==e.response.status&&t.$router.push({name:"genericError",params:{err:e.response}})}))}},beforeRouteLeave:function(e,t,r){this.$notify({clean:!0}),r()}};const wt=U(_t,(function(){var e=this,t=e._self._c;return t("form-wrapper",{attrs:{title:e.$t("auth.forms.new_password")}},[t("form",{on:{submit:function(t){return t.preventDefault(),e.handleSubmit.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("form-field",{attrs:{form:e.form,fieldName:"email",inputType:"email",label:e.$t("auth.forms.email"),disabled:"",readonly:""}}),e._v(" "),t("form-field",{attrs:{form:e.form,fieldName:"password",inputType:"password",label:e.$t("auth.forms.new_password")}}),e._v(" "),t("form-field",{attrs:{form:e.form,fieldName:"password_confirmation",inputType:"password",label:e.$t("auth.forms.confirm_password")}}),e._v(" "),t("form-buttons",{attrs:{isBusy:e.form.isBusy,caption:e.$t("auth.forms.change_password"),showCancelButton:!0,cancelLandingView:"login"}})],1)])}),[],!1,null,null,null).exports;const kt={data:function(){return{form:new R({email:""})}},methods:{handleSubmit:function(e){var t=this;e.preventDefault(),this.form.post("/webauthn/lost",{returnError:!0}).then((function(e){t.$notify({type:"is-success",text:e.data.message,duration:-1})})).catch((function(e){e.response.data.requestFailed?t.$notify({type:"is-danger",text:e.response.data.requestFailed,duration:-1}):422!==e.response.status&&t.$router.push({name:"genericError",params:{err:e.response}})}))}},beforeRouteLeave:function(e,t,r){this.$notify({clean:!0}),r()}};const xt=U(kt,(function(){var e=this,t=e._self._c;return t("form-wrapper",{attrs:{title:e.$t("auth.webauthn.account_recovery"),punchline:e.$t("auth.webauthn.recovery_punchline")}},[t("form",{on:{submit:function(t){return t.preventDefault(),e.handleSubmit.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("form-field",{attrs:{form:e.form,fieldName:"email",inputType:"email",label:e.$t("auth.forms.email"),autofocus:""}}),e._v(" "),t("form-buttons",{attrs:{isBusy:e.form.isBusy,caption:e.$t("auth.webauthn.send_recovery_link"),showCancelButton:!0,cancelLandingView:"login"}})],1)])}),[],!1,null,null,null).exports;function Ct(e){return Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ct(e)}function Pt(){Pt=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Ct(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Bt(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function St(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Bt(i,n,o,a,s,"next",e)}function s(e){Bt(i,n,o,a,s,"throw",e)}a(void 0)}))}}const Et={data:function(){return{email:"",token:"",unique:!1,deviceRegistered:!1,deviceId:null,form:new R({name:""})}},created:function(){this.email=this.$route.query.email,this.token=this.$route.query.token},methods:{register:function(){var e=this;return St(Pt().mark((function t(){var r,n,o,i;return Pt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(window.isSecureContext){t.next=3;break}return e.$notify({type:"is-danger",text:e.$t("errors.https_required")}),t.abrupt("return",!1);case 3:if(window.PublicKeyCredential){t.next=6;break}return e.$notify({type:"is-danger",text:e.$t("errors.browser_does_not_support_webauthn")}),t.abrupt("return",!1);case 6:return t.next=8,e.axios.post("/webauthn/recover/options",{email:e.email,token:e.token},{returnError:!0}).then((function(e){return e.data})).catch((function(t){e.$notify({type:"is-danger",text:t.response.data.message})}));case 8:return r=t.sent,n=e.parseIncomingServerOptions(r),t.prev=10,t.next=13,navigator.credentials.create({publicKey:n});case 13:o=t.sent,t.next=20;break;case 16:return t.prev=16,t.t0=t.catch(10),"AbortError"==t.t0.name?e.$notify({type:"is-warning",text:e.$t("errors.aborted_by_user")}):(t.t0.name,e.$notify({type:"is-danger",text:e.$t("errors.security_device_unsupported")})),t.abrupt("return",!1);case 20:i=e.parseOutgoingCredentials(o),e.axios.post("/webauthn/recover",i,{headers:{email:e.email,token:e.token,unique:e.unique}}).then((function(t){e.$notify({type:"is-success",text:e.$t("auth.webauthn.device_successfully_registered")}),e.deviceId=i.id,e.deviceRegistered=!0}));case 22:case"end":return t.stop()}}),t,null,[[10,16]])})))()},handleSubmit:function(e){var t=this;return St(Pt().mark((function e(){return Pt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.form.patch("/webauthn/credentials/"+t.deviceId+"/name");case 2:!1===t.form.errors.any()&&t.$router.push({name:"accounts",params:{toRefresh:!0}});case 3:case"end":return e.stop()}}),e)})))()}},beforeRouteLeave:function(e,t,r){this.$notify({clean:!0}),r()}};const At=U(Et,(function(){var e=this,t=e._self._c;return t("form-wrapper",{attrs:{title:e.$t("auth.webauthn.register_a_new_device"),punchline:e.$t("auth.webauthn.recover_account_instructions")}},[e.deviceRegistered?t("div",{staticClass:"field"},[t("label",{staticClass:"label mb-5"},[e._v(e._s(e.$t("auth.webauthn.device_successfully_registered"))+" "),t("font-awesome-icon",{attrs:{icon:["fas","check"]}})],1),e._v(" "),t("form",{on:{submit:function(t){return t.preventDefault(),e.handleSubmit.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("form-field",{attrs:{form:e.form,fieldName:"name",inputType:"text",placeholder:"iPhone 12, TouchID, Yubikey 5C",label:e.$t("auth.forms.name_this_device")}}),e._v(" "),t("form-buttons",{attrs:{isBusy:e.form.isBusy,isDisabled:e.form.isDisabled,caption:e.$t("commons.continue")}})],1)]):t("div",[t("div",{staticClass:"field"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.unique,expression:"unique"}],staticClass:"is-checkradio is-info",attrs:{id:"unique",name:"unique",type:"checkbox"},domProps:{checked:Array.isArray(e.unique)?e._i(e.unique,null)>-1:e.unique},on:{change:function(t){var r=e.unique,n=t.target,o=!!n.checked;if(Array.isArray(r)){var i=e._i(r,null);n.checked?i<0&&(e.unique=r.concat([null])):i>-1&&(e.unique=r.slice(0,i).concat(r.slice(i+1)))}else e.unique=o}}}),e._v(" "),t("label",{staticClass:"label",attrs:{for:"unique"}},[e._v(e._s(e.$t("auth.webauthn.disable_all_other_devices")))])]),e._v(" "),t("div",{staticClass:"field is-grouped"},[t("div",{staticClass:"control"},[t("a",{staticClass:"button is-link",on:{click:function(t){return e.register()}}},[e._v(e._s(e.$t("auth.webauthn.register_a_new_device")))])]),e._v(" "),t("div",{staticClass:"control"},[t("router-link",{staticClass:"button is-text",attrs:{to:{name:"login"}}},[e._v(e._s(e.$t("commons.cancel")))])],1)])])])}),[],!1,null,null,null).exports;function Lt(e){return Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lt(e)}function Ot(){Ot=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Lt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Tt(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function Nt(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return jt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jt(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const It={data:function(){return{form:new R({lang:"browser",showOtpAsDot:null,closeOtpOnCopy:null,useBasicQrcodeReader:null,showAccountsIcons:null,displayMode:"",kickUserAfter:"",useEncryption:null,defaultGroup:"",useDirectCapture:null,defaultCaptureMode:"",rememberActiveGroup:!0}),layouts:[{text:this.$t("settings.forms.grid"),value:"grid",icon:"th"},{text:this.$t("settings.forms.list"),value:"list",icon:"list"}],kickUserAfters:[{text:this.$t("settings.forms.never"),value:"0"},{text:this.$t("settings.forms.on_otp_copy"),value:"-1"},{text:this.$t("settings.forms.1_minutes"),value:"1"},{text:this.$t("settings.forms.5_minutes"),value:"5"},{text:this.$t("settings.forms.10_minutes"),value:"10"},{text:this.$t("settings.forms.15_minutes"),value:"15"},{text:this.$t("settings.forms.30_minutes"),value:"30"},{text:this.$t("settings.forms.1_hour"),value:"60"},{text:this.$t("settings.forms.1_day"),value:"1440"}],groups:[{text:this.$t("groups.no_group"),value:0},{text:this.$t("groups.active_group"),value:-1}],captureModes:[{text:this.$t("settings.forms.livescan"),value:"livescan"},{text:this.$t("settings.forms.upload"),value:"upload"},{text:this.$t("settings.forms.advanced_form"),value:"advancedForm"}]}},computed:{langs:function(){var e,t=[{text:this.$t("languages.browser_preference")+" ("+this.$root.$i18n.locale+")",value:"browser"}],r=Nt(window.appLocales);try{for(r.s();!(e=r.n()).done;){var n=e.value;t.push({text:this.$t("languages."+n),value:n})}}catch(e){r.e(e)}finally{r.f()}return t}},mounted:function(){var e,t=this;return(e=Ot().mark((function e(){var r,n,o;return Ot().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.form.get("/api/v1/settings");case 2:r=e.sent,n=r.data,t.form.fillWithKeyValueObject(n),"browser"==(o=n.filter((function(e){return"lang"===e.key}))).value&&window.appLocales.includes(o.value)&&(t.form.lang=o),t.form.setOriginal(),t.fetchGroups();case 9:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Tt(i,n,o,a,s,"next",e)}function s(e){Tt(i,n,o,a,s,"throw",e)}a(void 0)}))})()},methods:{handleSubmit:function(e){e.preventDefault(),console.log(e)},saveSetting:function(e,t){var r=this;this.axios.put("/api/v1/settings/"+e,{value:t}).then((function(t){r.$notify({type:"is-success",text:r.$t("settings.forms.setting_saved")}),"lang"===e&&t.data.value!==r.$root.$i18n.locale?r.$router.go():r.$root.appSettings[t.data.key]=t.data.value}))},fetchGroups:function(){var e=this;this.axios.get("/api/v1/groups").then((function(t){t.data.forEach((function(t){t.id>0&&e.groups.push({text:t.name,value:t.id})}))}))}}};const Dt=U(It,(function(){var e=this,t=e._self._c;return t("div",[t("setting-tabs",{attrs:{activeTab:"settings.options"}}),e._v(" "),t("div",{staticClass:"options-tabs"},[t("form-wrapper",[t("form",[t("h4",{staticClass:"title is-4 has-text-grey-light"},[e._v(e._s(e.$t("settings.general")))]),e._v(" "),t("form-select",{attrs:{options:e.langs,form:e.form,fieldName:"lang",label:e.$t("settings.forms.language.label"),help:e.$t("settings.forms.language.help")},on:{lang:function(t){return e.saveSetting("lang",t)}}}),e._v(" "),t("div",{staticClass:"field help"},[e._v(e._s(e.$t("settings.forms.some_translation_are_missing"))),t("a",{staticClass:"ml-2",attrs:{href:"https://crowdin.com/project/2fauth"}},[e._v(e._s(e.$t("settings.forms.help_translate_2fauth")))])]),e._v(" "),t("form-toggle",{attrs:{choices:e.layouts,form:e.form,fieldName:"displayMode",label:e.$t("settings.forms.display_mode.label"),help:e.$t("settings.forms.display_mode.help")},on:{displayMode:function(t){return e.saveSetting("displayMode",t)}}}),e._v(" "),t("form-checkbox",{attrs:{form:e.form,fieldName:"showAccountsIcons",label:e.$t("settings.forms.show_accounts_icons.label"),help:e.$t("settings.forms.show_accounts_icons.help")},on:{showAccountsIcons:function(t){return e.saveSetting("showAccountsIcons",t)}}}),e._v(" "),t("h4",{staticClass:"title is-4 pt-4 has-text-grey-light"},[e._v(e._s(e.$t("groups.groups")))]),e._v(" "),t("form-select",{attrs:{options:e.groups,form:e.form,fieldName:"defaultGroup",label:e.$t("settings.forms.default_group.label"),help:e.$t("settings.forms.default_group.help")},on:{defaultGroup:function(t){return e.saveSetting("defaultGroup",t)}}}),e._v(" "),t("form-checkbox",{attrs:{form:e.form,fieldName:"rememberActiveGroup",label:e.$t("settings.forms.remember_active_group.label"),help:e.$t("settings.forms.remember_active_group.help")},on:{rememberActiveGroup:function(t){return e.saveSetting("rememberActiveGroup",t)}}}),e._v(" "),t("h4",{staticClass:"title is-4 pt-4 has-text-grey-light"},[e._v(e._s(e.$t("settings.security")))]),e._v(" "),t("form-select",{attrs:{options:e.kickUserAfters,form:e.form,fieldName:"kickUserAfter",label:e.$t("settings.forms.auto_lock.label"),help:e.$t("settings.forms.auto_lock.help")},on:{kickUserAfter:function(t){return e.saveSetting("kickUserAfter",t)}}}),e._v(" "),t("form-checkbox",{attrs:{form:e.form,fieldName:"useEncryption",label:e.$t("settings.forms.use_encryption.label"),help:e.$t("settings.forms.use_encryption.help")},on:{useEncryption:function(t){return e.saveSetting("useEncryption",t)}}}),e._v(" "),t("form-checkbox",{attrs:{form:e.form,fieldName:"showOtpAsDot",label:e.$t("settings.forms.show_otp_as_dot.label"),help:e.$t("settings.forms.show_otp_as_dot.help")},on:{showOtpAsDot:function(t){return e.saveSetting("showOtpAsDot",t)}}}),e._v(" "),t("form-checkbox",{attrs:{form:e.form,fieldName:"closeOtpOnCopy",label:e.$t("settings.forms.close_otp_on_copy.label"),help:e.$t("settings.forms.close_otp_on_copy.help")},on:{closeOtpOnCopy:function(t){return e.saveSetting("closeOtpOnCopy",t)}}}),e._v(" "),t("h4",{staticClass:"title is-4 pt-4 has-text-grey-light"},[e._v(e._s(e.$t("settings.data_input")))]),e._v(" "),t("form-checkbox",{attrs:{form:e.form,fieldName:"useBasicQrcodeReader",label:e.$t("settings.forms.use_basic_qrcode_reader.label"),help:e.$t("settings.forms.use_basic_qrcode_reader.help")},on:{useBasicQrcodeReader:function(t){return e.saveSetting("useBasicQrcodeReader",t)}}}),e._v(" "),t("form-checkbox",{attrs:{form:e.form,fieldName:"useDirectCapture",label:e.$t("settings.forms.useDirectCapture.label"),help:e.$t("settings.forms.useDirectCapture.help")},on:{useDirectCapture:function(t){return e.saveSetting("useDirectCapture",t)}}}),e._v(" "),t("form-select",{attrs:{options:e.captureModes,form:e.form,fieldName:"defaultCaptureMode",label:e.$t("settings.forms.defaultCaptureMode.label"),help:e.$t("settings.forms.defaultCaptureMode.help")},on:{defaultCaptureMode:function(t){return e.saveSetting("defaultCaptureMode",t)}}})],1)])],1),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[t("p",{staticClass:"control"},[t("a",{staticClass:"button is-dark is-rounded",on:{click:function(t){return t.stopPropagation(),e.exitSettings.apply(null,arguments)}}},[e._v("\n "+e._s(e.$t("commons.close"))+"\n ")])])])],1)}),[],!1,null,null,null).exports;function Mt(e){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mt(e)}function $t(){$t=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Mt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Rt(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}const qt={data:function(){return{formProfile:new R({name:"",email:"",password:""}),formPassword:new R({currentPassword:"",password:"",password_confirmation:""}),formDelete:new R({password:""}),isRemoteUser:!1}},mounted:function(){var e,t=this;return(e=$t().mark((function e(){var r,n;return $t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.formProfile.get("/api/v1/user");case 2:r=e.sent,null===(n=r.data).id&&(t.isRemoteUser=!0),t.formProfile.fill(n);case 6:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Rt(i,n,o,a,s,"next",e)}function s(e){Rt(i,n,o,a,s,"throw",e)}a(void 0)}))})()},methods:{submitProfile:function(e){var t=this;e.preventDefault(),this.formProfile.put("/user",{returnError:!0}).then((function(e){t.$notify({type:"is-success",text:t.$t("auth.forms.profile_saved")})})).catch((function(e){400===e.response.status?t.$notify({type:"is-danger",text:e.response.data.message}):422!==e.response.status&&t.$router.push({name:"genericError",params:{err:e.response}})}))},submitPassword:function(e){var t=this;e.preventDefault(),this.formPassword.patch("/user/password",{returnError:!0}).then((function(e){t.$notify({type:"is-success",text:e.data.message})})).catch((function(e){400===e.response.status?t.$notify({type:"is-danger",text:e.response.data.message}):422!==e.response.status&&t.$router.push({name:"genericError",params:{err:e.response}})}))},submitDelete:function(e){var t=this;e.preventDefault(),confirm(this.$t("auth.confirm.delete_account"))&&this.formDelete.delete("/user",{returnError:!0}).then((function(e){t.$notify({type:"is-success",text:t.$t("auth.forms.user_account_successfully_deleted")}),t.$router.push({name:"register"})})).catch((function(e){400===e.response.status?t.$notify({type:"is-danger",text:e.response.data.message}):422!==e.response.status&&t.$router.push({name:"genericError",params:{err:e.response}})}))}}};const Ft=U(qt,(function(){var e=this,t=e._self._c;return t("div",[t("setting-tabs",{attrs:{activeTab:"settings.account"}}),e._v(" "),t("div",{staticClass:"options-tabs"},[t("form-wrapper",[t("form",{on:{submit:function(t){return t.preventDefault(),e.submitProfile.apply(null,arguments)},keydown:function(t){return e.formProfile.onKeydown(t)}}},[e.isRemoteUser?t("div",{staticClass:"notification is-warning has-text-centered",domProps:{innerHTML:e._s(e.$t("auth.user_account_controlled_by_proxy"))}}):e._e(),e._v(" "),t("h4",{staticClass:"title is-4 has-text-grey-light"},[e._v(e._s(e.$t("settings.profile")))]),e._v(" "),t("fieldset",{attrs:{disabled:e.isRemoteUser}},[t("form-field",{attrs:{form:e.formProfile,fieldName:"name",label:e.$t("auth.forms.name"),autofocus:""}}),e._v(" "),t("form-field",{attrs:{form:e.formProfile,fieldName:"email",inputType:"email",label:e.$t("auth.forms.email")}}),e._v(" "),t("form-field",{attrs:{form:e.formProfile,fieldName:"password",inputType:"password",label:e.$t("auth.forms.current_password.label"),help:e.$t("auth.forms.current_password.help")}}),e._v(" "),t("form-buttons",{attrs:{isBusy:e.formProfile.isBusy,caption:e.$t("commons.update")}})],1)]),e._v(" "),t("form",{on:{submit:function(t){return t.preventDefault(),e.submitPassword.apply(null,arguments)},keydown:function(t){return e.formPassword.onKeydown(t)}}},[t("h4",{staticClass:"title is-4 pt-6 has-text-grey-light"},[e._v(e._s(e.$t("settings.change_password")))]),e._v(" "),t("fieldset",{attrs:{disabled:e.isRemoteUser}},[t("form-field",{attrs:{form:e.formPassword,fieldName:"password",inputType:"password",label:e.$t("auth.forms.new_password")}}),e._v(" "),t("form-field",{attrs:{form:e.formPassword,fieldName:"password_confirmation",inputType:"password",label:e.$t("auth.forms.confirm_new_password")}}),e._v(" "),t("form-field",{attrs:{form:e.formPassword,fieldName:"currentPassword",inputType:"password",label:e.$t("auth.forms.current_password.label"),help:e.$t("auth.forms.current_password.help")}}),e._v(" "),t("form-buttons",{attrs:{isBusy:e.formPassword.isBusy,caption:e.$t("auth.forms.change_password")}})],1)]),e._v(" "),t("form",{on:{submit:function(t){return t.preventDefault(),e.submitDelete.apply(null,arguments)},keydown:function(t){return e.formDelete.onKeydown(t)}}},[t("h4",{staticClass:"title is-4 pt-6 has-text-danger"},[e._v(e._s(e.$t("auth.forms.delete_account")))]),e._v(" "),t("div",{staticClass:"field is-size-7-mobile"},[e._v("\n "+e._s(e.$t("auth.forms.delete_your_account_and_reset_all_data"))+"\n ")]),e._v(" "),t("fieldset",{attrs:{disabled:e.isRemoteUser}},[t("form-field",{attrs:{form:e.formDelete,fieldName:"password",inputType:"password",label:e.$t("auth.forms.current_password.label"),help:e.$t("auth.forms.current_password.help")}}),e._v(" "),t("form-buttons",{attrs:{isBusy:e.formDelete.isBusy,caption:e.$t("auth.forms.delete_your_account"),color:"is-danger"}})],1)])])],1),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[t("p",{staticClass:"control"},[t("a",{staticClass:"button is-dark is-rounded",on:{click:function(t){return t.stopPropagation(),e.exitSettings.apply(null,arguments)}}},[e._v("\n "+e._s(e.$t("commons.close"))+"\n ")])])])],1)}),[],!1,null,null,null).exports;function zt(e){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zt(e)}function Gt(){Gt=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==zt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Ut(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function Wt(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ut(i,n,o,a,s,"next",e)}function s(e){Ut(i,n,o,a,s,"throw",e)}a(void 0)}))}}const Ht={data:function(){return{tokens:[],isFetching:!1,form:new R({token:""}),isRemoteUser:!1}},mounted:function(){this.fetchTokens()},methods:{fetchTokens:function(){var e=this;return Wt(Gt().mark((function t(){return Gt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.isFetching=!0,t.next=3,e.axios.get("/oauth/personal-access-tokens",{returnError:!0}).then((function(t){var r=[];t.data.forEach((function(t){t.id===e.$route.params.token_id?(t.value=e.$route.params.accessToken,r.unshift(t)):r.push(t)})),e.tokens=r})).catch((function(t){400===t.response.status?e.isRemoteUser=!0:e.$router.push({name:"genericError",params:{err:t.response}})}));case 3:e.isFetching=!1;case 4:case"end":return t.stop()}}),t)})))()},clipboardSuccessHandler:function(e){e.value,e.event;this.$notify({type:"is-success",text:this.$t("commons.copied_to_clipboard")})},clipboardErrorHandler:function(e){var t=e.value;e.event;console.log("error",t)},revokeToken:function(e){var t=this;return Wt(Gt().mark((function r(){return Gt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!confirm(t.$t("settings.confirm.revoke"))){r.next=3;break}return r.next=3,t.axios.delete("/oauth/personal-access-tokens/"+e).then((function(r){t.tokens=t.tokens.filter((function(t){return t.id!==e})),t.$notify({type:"is-success",text:t.$t("settings.token_revoked")})}));case 3:case"end":return r.stop()}}),r)})))()},createToken:function(){this.isRemoteUser?this.$notify({type:"is-warning",text:this.$t("errors.unsupported_with_reverseproxy")}):this.$router.push({name:"settings.oauth.generatePAT"})}}};const Yt=U(Ht,(function(){var e=this,t=e._self._c;return t("div",[t("setting-tabs",{attrs:{activeTab:"settings.oauth"}}),e._v(" "),t("div",{staticClass:"options-tabs"},[t("form-wrapper",[e.isRemoteUser?t("div",{staticClass:"notification is-warning has-text-centered",domProps:{innerHTML:e._s(e.$t("auth.auth_handled_by_proxy"))}}):e._e(),e._v(" "),t("h4",{staticClass:"title is-4 has-text-grey-light"},[e._v(e._s(e.$t("settings.personal_access_tokens")))]),e._v(" "),t("div",{staticClass:"is-size-7-mobile"},[e._v("\n "+e._s(e.$t("settings.token_legend"))+"\n ")]),e._v(" "),t("div",{staticClass:"mt-3"},[t("a",{staticClass:"is-link",on:{click:function(t){return e.createToken()}}},[t("font-awesome-icon",{attrs:{icon:["fas","plus-circle"]}}),e._v(" "+e._s(e.$t("settings.generate_new_token"))+"\n ")],1)]),e._v(" "),e.tokens.length>0?t("div",[e._l(e.tokens,(function(r){return t("div",{key:r.id,staticClass:"group-item has-text-light is-size-5 is-size-6-mobile"},[r.value?t("font-awesome-icon",{staticClass:"has-text-success",attrs:{icon:["fas","check"]}}):e._e(),e._v(" "+e._s(r.name)+"\n "),e._v(" "),t("div",{staticClass:"tags is-pulled-right"},[r.value?t("a",{directives:[{name:"clipboard",rawName:"v-clipboard",value:function(){return r.value},expression:"() => token.value"},{name:"clipboard",rawName:"v-clipboard:success",value:e.clipboardSuccessHandler,expression:"clipboardSuccessHandler",arg:"success"}],staticClass:"tag"},[e._v(e._s(e.$t("commons.copy")))]):e._e(),e._v(" "),t("a",{staticClass:"tag is-dark",attrs:{title:e.$t("settings.revoke")},on:{click:function(t){return e.revokeToken(r.id)}}},[e._v(e._s(e.$t("settings.revoke")))])]),e._v(" "),r.value?t("span",{staticClass:"is-size-7-mobile is-size-6 my-3"},[e._v("\n "+e._s(e.$t("settings.make_sure_copy_token"))+"\n ")]):e._e(),e._v(" "),r.value?t("span",{staticClass:"pat is-family-monospace is-size-6 is-size-7-mobile has-text-success"},[e._v("\n "+e._s(r.value)+"\n ")]):e._e()],1)})),e._v(" "),t("div",{staticClass:"mt-2 is-size-7 is-pulled-right"},[e._v("\n "+e._s(e.$t("settings.revoking_a_token_is_permanent"))+"\n ")])],2):e._e(),e._v(" "),e.isFetching&&0===e.tokens.length?t("div",{staticClass:"has-text-centered mt-6"},[t("span",{staticClass:"is-size-4"},[t("font-awesome-icon",{attrs:{icon:["fas","spinner"],spin:""}})],1)]):e._e(),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[t("p",{staticClass:"control"},[t("router-link",{staticClass:"button is-dark is-rounded",attrs:{to:{name:"accounts",params:{toRefresh:!1}}}},[e._v(e._s(e.$t("commons.close")))])],1)])],1)],1)],1)}),[],!1,null,null,null).exports;function Qt(e){return Qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qt(e)}function Kt(){Kt=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Qt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function Vt(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function Xt(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Vt(i,n,o,a,s,"next",e)}function s(e){Vt(i,n,o,a,s,"throw",e)}a(void 0)}))}}const Zt=U({data:function(){return{form:new R({useWebauthnOnly:null,useWebauthnAsDefault:null}),credentials:[],isFetching:!1,isRemoteUser:!1}},mounted:function(){var e=this;return Xt(Kt().mark((function t(){var r,n;return Kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.form.get("/api/v1/settings");case 2:r=t.sent,n=r.data,e.form.fillWithKeyValueObject(n),e.form.setOriginal(),e.fetchCredentials();case 7:case"end":return t.stop()}}),t)})))()},methods:{saveSetting:function(e,t){var r=this;this.axios.put("/api/v1/settings/"+e,{value:t}).then((function(e){r.$notify({type:"is-success",text:r.$t("settings.forms.setting_saved")}),r.$root.appSettings[e.data.key]=e.data.value}))},fetchCredentials:function(){var e=this;return Xt(Kt().mark((function t(){return Kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.isFetching=!0,t.next=3,e.axios.get("/webauthn/credentials",{returnError:!0}).then((function(t){e.credentials=t.data})).catch((function(t){400===t.response.status?e.isRemoteUser=!0:e.$router.push({name:"genericError",params:{err:t.response}})}));case 3:e.isFetching=!1;case 4:case"end":return t.stop()}}),t)})))()},register:function(){var e=this;return Xt(Kt().mark((function t(){var r,n,o,i;return Kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.isRemoteUser){t.next=3;break}return e.$notify({type:"is-warning",text:e.$t("errors.unsupported_with_reverseproxy")}),t.abrupt("return",!1);case 3:if(window.isSecureContext){t.next=6;break}return e.$notify({type:"is-danger",text:e.$t("errors.https_required")}),t.abrupt("return",!1);case 6:if(window.PublicKeyCredential){t.next=9;break}return e.$notify({type:"is-danger",text:e.$t("errors.browser_does_not_support_webauthn")}),t.abrupt("return",!1);case 9:return t.next=11,e.axios.post("/webauthn/register/options").then((function(e){return e.data}));case 11:return r=t.sent,n=e.parseIncomingServerOptions(r),t.prev=13,t.next=16,navigator.credentials.create({publicKey:n});case 16:o=t.sent,t.next=23;break;case 19:return t.prev=19,t.t0=t.catch(13),"AbortError"==t.t0.name?e.$notify({type:"is-warning",text:e.$t("errors.aborted_by_user")}):(t.t0.name,e.$notify({type:"is-danger",text:e.$t("errors.security_device_unsupported")})),t.abrupt("return",!1);case 23:i=e.parseOutgoingCredentials(o),e.axios.post("/webauthn/register",i).then((function(t){e.$notify({type:"is-success",text:e.$t("auth.webauthn.device_successfully_registered")}),e.$router.push({name:"settings.webauthn.editCredential",params:{id:i.id,name:e.$t("auth.webauthn.my_device")}})}));case 25:case"end":return t.stop()}}),t,null,[[13,19]])})))()},revokeCredential:function(e){var t=this;return Xt(Kt().mark((function r(){return Kt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!confirm(t.$t("auth.confirm.revoke_device"))){r.next=3;break}return r.next=3,t.axios.delete("/webauthn/credentials/"+e).then((function(r){t.credentials=t.credentials.filter((function(t){return t.id!==e})),t.$notify({type:"is-success",text:t.$t("auth.webauthn.device_revoked")})}));case 3:case"end":return r.stop()}}),r)})))()},displayName:function(e){return e.name?e.name:this.$t("auth.webauthn.my_device")+" (#"+e.id.substring(0,10)+")"}}},(function(){var e=this,t=e._self._c;return t("div",[t("setting-tabs",{attrs:{activeTab:"settings.webauthn.devices"}}),e._v(" "),t("div",{staticClass:"options-tabs"},[t("form-wrapper",[e.isRemoteUser?t("div",{staticClass:"notification is-warning has-text-centered",domProps:{innerHTML:e._s(e.$t("auth.auth_handled_by_proxy"))}}):e._e(),e._v(" "),t("h4",{staticClass:"title is-4 has-text-grey-light"},[e._v(e._s(e.$t("auth.webauthn.security_devices")))]),e._v(" "),t("div",{staticClass:"is-size-7-mobile"},[e._v("\n "+e._s(e.$t("auth.webauthn.security_devices_legend"))+"\n ")]),e._v(" "),t("div",{staticClass:"mt-3"},[t("a",{staticClass:"is-link",on:{click:function(t){return e.register()}}},[t("font-awesome-icon",{attrs:{icon:["fas","plus-circle"]}}),e._v(" "+e._s(e.$t("auth.webauthn.register_a_new_device"))+"\n ")],1)]),e._v(" "),e.credentials.length>0?t("div",{staticClass:"field"},[e._l(e.credentials,(function(r){return t("div",{key:r.id,staticClass:"group-item has-text-light is-size-5 is-size-6-mobile"},[e._v("\n "+e._s(e.displayName(r))+"\n "),e._v(" "),t("a",{staticClass:"tag is-dark is-pulled-right",attrs:{title:e.$t("settings.revoke")},on:{click:function(t){return e.revokeCredential(r.id)}}},[e._v("\n "+e._s(e.$t("settings.revoke"))+"\n ")])])})),e._v(" "),t("div",{staticClass:"mt-2 is-size-7 is-pulled-right"},[e._v("\n "+e._s(e.$t("auth.webauthn.revoking_a_device_is_permanent"))+"\n ")])],2):e._e(),e._v(" "),e.isFetching&&0===e.credentials.length?t("div",{staticClass:"has-text-centered mt-6"},[t("span",{staticClass:"is-size-4"},[t("font-awesome-icon",{attrs:{icon:["fas","spinner"],spin:""}})],1)]):e._e(),e._v(" "),t("h4",{staticClass:"title is-4 pt-6 has-text-grey-light"},[e._v(e._s(e.$t("settings.options")))]),e._v(" "),t("div",{staticClass:"field"},[e._v("\n "+e._s(e.$t("auth.webauthn.need_a_security_device_to_enable_options"))+"\n ")]),e._v(" "),t("form",[t("form-checkbox",{attrs:{form:e.form,fieldName:"useWebauthnOnly",label:e.$t("auth.webauthn.use_webauthn_only.label"),help:e.$t("auth.webauthn.use_webauthn_only.help"),disabled:e.isRemoteUser||0===e.credentials.length},on:{useWebauthnOnly:function(t){return e.saveSetting("useWebauthnOnly",t)}}}),e._v(" "),t("form-checkbox",{attrs:{form:e.form,fieldName:"useWebauthnAsDefault",label:e.$t("auth.webauthn.use_webauthn_as_default.label"),help:e.$t("auth.webauthn.use_webauthn_as_default.help"),disabled:e.isRemoteUser||0===e.credentials.length},on:{useWebauthnAsDefault:function(t){return e.saveSetting("useWebauthnAsDefault",t)}}})],1),e._v(" "),t("vue-footer",{attrs:{showButtons:!0}},[t("p",{staticClass:"control"},[t("router-link",{staticClass:"button is-dark is-rounded",attrs:{to:{name:"accounts",params:{toRefresh:!1}}}},[e._v(e._s(e.$t("commons.close")))])],1)])],1)],1)],1)}),[],!1,null,null,null).exports;function Jt(e){return Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jt(e)}function er(){er=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Jt(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function tr(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}const rr={data:function(){return{form:new R({name:this.name})}},props:["id","name"],methods:{updateCredential:function(){var e,t=this;return(e=er().mark((function e(){return er().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.form.patch("/webauthn/credentials/"+t.id+"/name");case 2:!1===t.form.errors.any()&&t.$router.push({name:"settings.webauthn.devices",params:{toRefresh:!0}});case 3:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){tr(i,n,o,a,s,"next",e)}function s(e){tr(i,n,o,a,s,"throw",e)}a(void 0)}))})()},cancelCreation:function(){this.$router.push({name:"settings.webauthn.devices"})}}};const nr=U(rr,(function(){var e=this,t=e._self._c;return t("form-wrapper",{attrs:{title:e.$t("auth.webauthn.rename_device")}},[t("form",{on:{submit:function(t){return t.preventDefault(),e.updateCredential.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("form-field",{attrs:{form:e.form,fieldName:"name",inputType:"text",label:e.$t("commons.new_name"),autofocus:""}}),e._v(" "),t("div",{staticClass:"field is-grouped"},[t("div",{staticClass:"control"},[t("v-button",{attrs:{isLoading:e.form.isBusy}},[e._v(e._s(e.$t("commons.save")))])],1),e._v(" "),t("div",{staticClass:"control"},[t("button",{staticClass:"button is-text",attrs:{type:"button"},on:{click:e.cancelCreation}},[e._v(e._s(e.$t("commons.cancel")))])])])],1)])}),[],!1,null,null,null).exports;function or(e){return or="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},or(e)}function ir(){ir=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function d(){}function f(){}function p(){}var h={};s(h,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==t&&r.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==or(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,s(g,"constructor",p),s(p,"constructor",f),f.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,o,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}function ar(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}const sr={data:function(){return{form:new R({name:""})}},methods:{generatePAToken:function(){var e,t=this;return(e=ir().mark((function e(){var r,n;return ir().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.form.post("/oauth/personal-access-tokens");case 2:r=e.sent,n=r.data,!1===t.form.errors.any()&&t.$router.push({name:"settings.oauth.tokens",params:{accessToken:n.accessToken,token_id:n.token.id}});case 5:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){ar(i,n,o,a,s,"next",e)}function s(e){ar(i,n,o,a,s,"throw",e)}a(void 0)}))})()},cancelGeneration:function(){this.$router.push({name:"settings.oauth.tokens"})}}};const cr=U(sr,(function(){var e=this,t=e._self._c;return t("form-wrapper",{attrs:{title:e.$t("settings.forms.new_token")}},[t("form",{on:{submit:function(t){return t.preventDefault(),e.generatePAToken.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[t("form-field",{attrs:{form:e.form,fieldName:"name",inputType:"text",label:e.$t("commons.name"),autofocus:""}}),e._v(" "),t("div",{staticClass:"field is-grouped"},[t("div",{staticClass:"control"},[t("v-button",[e._v(e._s(e.$t("commons.generate")))])],1),e._v(" "),t("div",{staticClass:"control"},[t("button",{staticClass:"button is-text",attrs:{type:"button"},on:{click:e.cancelGeneration}},[e._v(e._s(e.$t("commons.cancel")))])])])],1)])}),[],!1,null,null,null).exports;const ur={data:function(){return{ShowModal:!0,showcloseButton:this.closable}},computed:{debugMode:function(){return"production"},error:function(){return null!==this.err&&void 0!==this.err&&(407===this.err.status?{message:this.$t("errors.auth_proxy_failed"),originalMessage:this.$t("errors.auth_proxy_failed_legend")}:this.err.data?this.err.data:{message:this.err})}},props:{err:[String,Object],closable:{type:Boolean,default:!0}},components:{Modal:X},mounted:function(){this.$on("modalClose",(function(){this.$router.push({name:"accounts"})}))},beforeRouteEnter:function(e,t,r){null==e.params.err?r({name:"accounts"}):r()}};const lr=U(ur,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"error-message"},[t("modal",{attrs:{closable:this.showcloseButton},model:{value:e.ShowModal,callback:function(t){e.ShowModal=t},expression:"ShowModal"}},["404"==e.$route.name?t("div",{staticClass:"error-message"},[t("p",{staticClass:"error-404"}),e._v(" "),t("p",[e._v(e._s(e.$t("errors.resource_not_found")))]),e._v(" "),t("p",{},[t("router-link",{staticClass:"is-text",attrs:{to:{name:"accounts"}}},[e._v(e._s(e.$t("errors.refresh")))])],1)]):"flooded"==e.$route.name?t("div",[t("p",{staticClass:"error-generic"}),e._v(" "),t("p",[e._v("\n "+e._s(e.$t("errors.already_one_user_registered"))),t("br"),e._v("\n "+e._s(e.$t("errors.cannot_register_more_user"))+"\n ")]),e._v(" "),t("p",[t("router-link",{staticClass:"is-text",attrs:{to:{name:"accounts"}}},[e._v(e._s(e.$t("auth.sign_in")))])],1)]):t("div",[t("p",{staticClass:"error-generic"}),e._v(" "),t("p",[e._v(e._s(e.$t("errors.error_occured"))+" ")]),e._v(" "),e.error.message?t("p",{staticClass:"has-text-grey-lighter"},[e._v(e._s(e.error.message))]):e._e(),e._v(" "),e.error.originalMessage?t("p",{staticClass:"has-text-grey-lighter"},[e._v(e._s(e.error.originalMessage))]):e._e(),e._v(" "),t("p",[t("router-link",{staticClass:"is-text",attrs:{to:{name:"accounts",params:{toRefresh:!0}}}},[e._v(e._s(e.$t("errors.refresh")))])],1),e._v(" "),"development"==e.debugMode&&e.error.debug?t("p",[t("br"),e._v("\n "+e._s(e.error.debug)+"\n ")]):e._e()])])],1)}),[],!1,null,null,null).exports;n.default.use(C.Z);var dr=new C.Z({mode:"history",routes:[{path:"/start",name:"start",component:W,meta:{requiresAuth:!0},props:!0},{path:"/capture",name:"capture",component:V,meta:{requiresAuth:!0},props:!0},{path:"/accounts",name:"accounts",component:be,meta:{requiresAuth:!0},alias:"/",props:!0},{path:"/account/create",name:"createAccount",component:Se,meta:{requiresAuth:!0}},{path:"/account/import",name:"importAccounts",component:$e,meta:{requiresAuth:!0}},{path:"/account/:twofaccountId/edit",name:"editAccount",component:Te,meta:{requiresAuth:!0}},{path:"/account/:twofaccountId/qrcode",name:"showQRcode",component:Ge,meta:{requiresAuth:!0}},{path:"/groups",name:"groups",component:Qe,meta:{requiresAuth:!0},props:!0},{path:"/group/create",name:"createGroup",component:Je,meta:{requiresAuth:!0}},{path:"/group/:groupId/edit",name:"editGroup",component:ot,meta:{requiresAuth:!0},props:!0},{path:"/settings/options",name:"settings.options",component:Dt,meta:{requiresAuth:!0}},{path:"/settings/account",name:"settings.account",component:Ft,meta:{requiresAuth:!0}},{path:"/settings/oauth",name:"settings.oauth.tokens",component:Yt,meta:{requiresAuth:!0}},{path:"/settings/oauth/pat/create",name:"settings.oauth.generatePAT",component:cr,meta:{requiresAuth:!0}},{path:"/settings/webauthn/:credentialId/edit",name:"settings.webauthn.editCredential",component:nr,meta:{requiresAuth:!0},props:!0},{path:"/settings/webauthn",name:"settings.webauthn.devices",component:Zt,meta:{requiresAuth:!0}},{path:"/login",name:"login",component:lt,meta:{disabledWithAuthProxy:!0}},{path:"/register",name:"register",component:vt,meta:{disabledWithAuthProxy:!0}},{path:"/autolock",name:"autolock",component:gt,meta:{disabledWithAuthProxy:!0}},{path:"/password/request",name:"password.request",component:bt,meta:{disabledWithAuthProxy:!0}},{path:"/password/reset/:token",name:"password.reset",component:wt,meta:{disabledWithAuthProxy:!0}},{path:"/webauthn/lost",name:"webauthn.lost",component:xt,meta:{disabledWithAuthProxy:!0}},{path:"/webauthn/recover",name:"webauthn.recover",component:At,meta:{disabledWithAuthProxy:!0}},{path:"/flooded",name:"flooded",component:lr,props:!0},{path:"/error",name:"genericError",component:lr,props:!0},{path:"/404",name:"404",component:lr,props:!0},{path:"*",redirect:{name:"404"}}]}),fr=!0;dr.beforeEach((function(e,t,r){document.title=dr.app.$options.i18n.t("titles."+e.name),"accounts"===e.name&&(e.params.isFirstLoad=!!fr,fr=!1),e.matched.some((function(e){return e.meta.disabledWithAuthProxy}))&&window.appConfig.proxyAuth?r({name:"accounts"}):r()})),dr.afterEach((function(e){n.default.$storage.set("lastRoute",e.name)}));const pr=dr;var hr=r(669),mr=r.n(hr),vr=r(346);function gr(e){return gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gr(e)}function yr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){br(e,t,r[t])}))}return e}function wr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.default.use(vr.Z,mr()),n.default.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",n.default.axios.interceptors.request.use((function(e){return e.headers.common["Content-Type"]="application/json",e})),n.default.axios.interceptors.response.use((function(e){return e}),(function(e){if(e.config.hasOwnProperty("returnError")&&!0===e.config.returnError)return Promise.reject(e);if(422===e.response.status)return Promise.reject(e);var t="genericError";if(401===e.response.status&&(t="login"),407===e.response.status)throw pr.push({name:"genericError",params:{err:e.response,closable:!1}}),new n.default.axios.Cancel;throw 418===e.response.status&&(t="autolock"),404===e.response.status&&(t="404"),pr.push({name:t,params:{err:e.response}}),new n.default.axios.Cancel}));var kr=function(){},xr={},Cr={},Pr={mark:kr,measure:kr};try{"undefined"!=typeof window&&(xr=window),"undefined"!=typeof document&&(Cr=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(Pr=performance)}catch(e){}var Br=(xr.navigator||{}).userAgent,Sr=void 0===Br?"":Br,Er=xr,Ar=Cr,Lr=Pr,Or=(Er.document,!!Ar.documentElement&&!!Ar.head&&"function"==typeof Ar.addEventListener&&"function"==typeof Ar.createElement),Tr=(~Sr.indexOf("MSIE")||Sr.indexOf("Trident/"),"svg-inline--fa"),Nr="data-fa-i2svg",jr=(function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),Ir=jr.concat([11,12,13,14,15,16,17,18,19,20]),Dr={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Mr=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",Dr.GROUP,Dr.SWAP_OPACITY,Dr.PRIMARY,Dr.SECONDARY].concat(jr.map((function(e){return"".concat(e,"x")}))).concat(Ir.map((function(e){return"w-".concat(e)}))),Er.FontAwesomeConfig||{});if(Ar&&"function"==typeof Ar.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=wr(e,2),r=t[0],n=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Ar.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(r));null!=o&&(Mr[n]=o)}))}var $r=_r({},{familyPrefix:"fa",replacementClass:Tr,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},Mr);$r.autoReplaceSvg||($r.observeMutations=!1);var Rr=_r({},$r);Er.FontAwesomeConfig=Rr;var qr=Er||{};qr.___FONT_AWESOME___||(qr.___FONT_AWESOME___={}),qr.___FONT_AWESOME___.styles||(qr.___FONT_AWESOME___.styles={}),qr.___FONT_AWESOME___.hooks||(qr.___FONT_AWESOME___.hooks={}),qr.___FONT_AWESOME___.shims||(qr.___FONT_AWESOME___.shims=[]);var Fr=qr.___FONT_AWESOME___,zr=[];Or&&((Ar.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ar.readyState)||Ar.addEventListener("DOMContentLoaded",(function e(){Ar.removeEventListener("DOMContentLoaded",e),1,zr.map((function(e){return e()}))})));var Gr,Ur="pending",Wr="settled",Hr="fulfilled",Yr="rejected",Qr=function(){},Kr=void 0!==r.g&&void 0!==r.g.process&&"function"==typeof r.g.process.emit,Vr="undefined"==typeof setImmediate?setTimeout:setImmediate,Xr=[];function Zr(){for(var e=0;e<Xr.length;e++)Xr[e][0](Xr[e][1]);Xr=[],Gr=!1}function Jr(e,t){Xr.push([e,t]),Gr||(Gr=!0,Vr(Zr,0))}function en(e){var t=e.owner,r=t._state,n=t._data,o=e[r],i=e.then;if("function"==typeof o){r=Hr;try{n=o(n)}catch(e){on(i,e)}}tn(i,n)||(r===Hr&&rn(i,n),r===Yr&&on(i,n))}function tn(e,t){var r;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===gr(t))){var n=t.then;if("function"==typeof n)return n.call(t,(function(n){r||(r=!0,t===n?nn(e,n):rn(e,n))}),(function(t){r||(r=!0,on(e,t))})),!0}}catch(t){return r||on(e,t),!0}return!1}function rn(e,t){e!==t&&tn(e,t)||nn(e,t)}function nn(e,t){e._state===Ur&&(e._state=Wr,e._data=t,Jr(sn,e))}function on(e,t){e._state===Ur&&(e._state=Wr,e._data=t,Jr(cn,e))}function an(e){e._then=e._then.forEach(en)}function sn(e){e._state=Hr,an(e)}function cn(e){e._state=Yr,an(e),!e._handled&&Kr&&r.g.process.emit("unhandledRejection",e._data,e)}function un(e){r.g.process.emit("rejectionHandled",e)}function ln(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof ln==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function r(e){on(t,e)}try{e((function(e){rn(t,e)}),r)}catch(e){r(e)}}(e,this)}ln.prototype={constructor:ln,_state:Ur,_then:null,_data:void 0,_handled:!1,then:function(e,t){var r={owner:this,then:new this.constructor(Qr),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===Yr&&Kr&&Jr(un,this)),this._state===Hr||this._state===Yr?Jr(en,r):this._then.push(r),r.then},catch:function(e){return this.then(null,e)}},ln.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new ln((function(t,r){var n=[],o=0;function i(e){return o++,function(r){n[e]=r,--o||t(n)}}for(var a,s=0;s<e.length;s++)(a=e[s])&&"function"==typeof a.then?a.then(i(s),r):n[s]=a;o||t(n)}))},ln.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new ln((function(t,r){for(var n,o=0;o<e.length;o++)(n=e[o])&&"function"==typeof n.then?n.then(t,r):t(n)}))},ln.resolve=function(e){return e&&"object"===gr(e)&&e.constructor===ln?e:new ln((function(t){t(e)}))},ln.reject=function(e){return new ln((function(t,r){r(e)}))};var dn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function fn(e){if(e&&Or){var t=Ar.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=Ar.head.childNodes,n=null,o=r.length-1;o>-1;o--){var i=r[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(n=i)}return Ar.head.insertBefore(t,n),e}}function pn(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function hn(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function mn(e){return Object.keys(e||{}).reduce((function(t,r){return t+"".concat(r,": ").concat(e[r],";")}),"")}function vn(e){return e.size!==dn.size||e.x!==dn.x||e.y!==dn.y||e.rotate!==dn.rotate||e.flipX||e.flipY}function gn(e){var t=e.transform,r=e.containerWidth,n=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}var yn={x:0,y:0,width:"100%",height:"100%"};function bn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function _n(e){var t=e.icons,r=t.main,n=t.mask,o=e.prefix,i=e.iconName,a=e.transform,s=e.symbol,c=e.title,u=e.maskId,l=e.titleId,d=e.extra,f=e.watchable,p=void 0!==f&&f,h=n.found?n:r,m=h.width,v=h.height,g="fak"===o,y=g?"":"fa-w-".concat(Math.ceil(m/v*16)),b=[Rr.replacementClass,i?"".concat(Rr.familyPrefix,"-").concat(i):"",y].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),_={children:[],attributes:_r({},d.attributes,{"data-prefix":o,"data-icon":i,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(v)})},w=g&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/v*16*.0625,"em")}:{};p&&(_.attributes[Nr]=""),c&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(l||pn())},children:[c]});var k=_r({},_,{prefix:o,iconName:i,main:r,mask:n,maskId:u,transform:a,symbol:s,styles:_r({},w,d.styles)}),x=n.found&&r.found?function(e){var t,r=e.children,n=e.attributes,o=e.main,i=e.mask,a=e.maskId,s=e.transform,c=o.width,u=o.icon,l=i.width,d=i.icon,f=gn({transform:s,containerWidth:l,iconWidth:c}),p={tag:"rect",attributes:_r({},yn,{fill:"white"})},h=u.children?{children:u.children.map(bn)}:{},m={tag:"g",attributes:_r({},f.inner),children:[bn(_r({tag:u.tag,attributes:_r({},u.attributes,f.path)},h))]},v={tag:"g",attributes:_r({},f.outer),children:[m]},g="mask-".concat(a||pn()),y="clip-".concat(a||pn()),b={tag:"mask",attributes:_r({},yn,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,v]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=d,"g"===t.tag?t.children:[t])},b]};return r.push(_,{tag:"rect",attributes:_r({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},yn)}),{children:r,attributes:n}}(k):function(e){var t=e.children,r=e.attributes,n=e.main,o=e.transform,i=mn(e.styles);if(i.length>0&&(r.style=i),vn(o)){var a=gn({transform:o,containerWidth:n.width,iconWidth:n.width});t.push({tag:"g",attributes:_r({},a.outer),children:[{tag:"g",attributes:_r({},a.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:_r({},n.icon.attributes,a.path)}]}]})}else t.push(n.icon);return{children:t,attributes:r}}(k),C=x.children,P=x.attributes;return k.children=C,k.attributes=P,s?function(e){var t=e.prefix,r=e.iconName,n=e.children,o=e.attributes,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:_r({},o,{id:!0===i?"".concat(t,"-").concat(Rr.familyPrefix,"-").concat(r):i}),children:n}]}]}(k):function(e){var t=e.children,r=e.main,n=e.mask,o=e.attributes,i=e.styles,a=e.transform;if(vn(a)&&r.found&&!n.found){var s={x:r.width/r.height/2,y:.5};o.style=mn(_r({},i,{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(k)}var wn=function(){},kn=(Rr.measurePerformance&&Lr&&Lr.mark&&Lr.measure,function(e,t,r,n){var o,i,a,s=Object.keys(e),c=s.length,u=void 0!==n?function(e,t){return function(r,n,o,i){return e.call(t,r,n,o,i)}}(t,n):t;for(void 0===r?(o=1,a=e[s[0]]):(o=0,a=r);o<c;o++)a=u(a,e[i=s[o]],i,e);return a});function xn(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.skipHooks,o=void 0!==n&&n,i=Object.keys(t).reduce((function(e,r){var n=t[r];return!!n.icon?e[n.iconName]=n.icon:e[r]=n,e}),{});"function"!=typeof Fr.hooks.addPack||o?Fr.styles[e]=_r({},Fr.styles[e]||{},i):Fr.hooks.addPack(e,i),"fas"===e&&xn("fa",t)}var Cn=Fr.styles,Pn=Fr.shims,Bn=function(){var e=function(e){return kn(Cn,(function(t,r,n){return t[n]=kn(r,e,{}),t}),{})};e((function(e,t,r){return t[3]&&(e[t[3]]=r),e})),e((function(e,t,r){var n=t[2];return e[r]=r,n.forEach((function(t){e[t]=r})),e}));var t="far"in Cn;kn(Pn,(function(e,r){var n=r[0],o=r[1],i=r[2];return"far"!==o||t||(o="fas"),e[n]={prefix:o,iconName:i},e}),{})};Bn();Fr.styles;function Sn(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}function En(e){var t=e.tag,r=e.attributes,n=void 0===r?{}:r,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?hn(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,r){return t+"".concat(r,'="').concat(hn(e[r]),'" ')}),"").trim()}(n),">").concat(i.map(En).join(""),"</").concat(t,">")}var An=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var r=t.toLowerCase().split("-"),n=r[0],o=r.slice(1).join("-");if(n&&"h"===o)return e.flipX=!0,e;if(n&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(n){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),t):t};function Ln(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}Ln.prototype=Object.create(Error.prototype),Ln.prototype.constructor=Ln;var On={fill:"currentColor"},Tn={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},Nn={tag:"path",attributes:_r({},On,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},jn=_r({},Tn,{attributeName:"opacity"});_r({},On,{cx:"256",cy:"364",r:"28"}),_r({},Tn,{attributeName:"r",values:"28;14;28;28;14;28;"}),_r({},jn,{values:"1;0;1;1;0;1;"}),_r({},On,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),_r({},jn,{values:"1;0;0;0;0;1;"}),_r({},On,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),_r({},jn,{values:"0;0;1;1;0;0;"}),Fr.styles;function In(e){var t=e[0],r=e[1],n=wr(e.slice(4),1)[0];return{found:!0,width:t,height:r,icon:Array.isArray(n)?{tag:"g",attributes:{class:"".concat(Rr.familyPrefix,"-").concat(Dr.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Rr.familyPrefix,"-").concat(Dr.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(Rr.familyPrefix,"-").concat(Dr.PRIMARY),fill:"currentColor",d:n[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:n}}}}Fr.styles;function Dn(){var e="fa",t=Tr,r=Rr.familyPrefix,n=Rr.replacementClass,o='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if(r!==e||n!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(r,"-")).replace(a,"--".concat(r,"-")).replace(s,".".concat(n))}return o}var Mn=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,r,n;return t=e,r=[{key:"add",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=_r({},e.definitions[t]||{},o[t]),xn(t,o[t]),Bn()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var r=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(r).map((function(t){var n=r[t],o=n.prefix,i=n.iconName,a=n.icon;e[o]||(e[o]={}),e[o][i]=a})),e}}],r&&yr(t.prototype,r),n&&yr(t,n),e}();function $n(){Rr.autoAddCss&&!Gn&&(fn(Dn()),Gn=!0)}function Rn(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return En(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Or){var t=Ar.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function qn(e){var t=e.prefix,r=void 0===t?"fa":t,n=e.iconName;if(n)return Sn(zn.definitions,r,n)||Sn(Fr.styles,r,n)}var Fn,zn=new Mn,Gn=!1,Un={transform:function(e){return An(e)}},Wn=(Fn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.transform,n=void 0===r?dn:r,o=t.symbol,i=void 0!==o&&o,a=t.mask,s=void 0===a?null:a,c=t.maskId,u=void 0===c?null:c,l=t.title,d=void 0===l?null:l,f=t.titleId,p=void 0===f?null:f,h=t.classes,m=void 0===h?[]:h,v=t.attributes,g=void 0===v?{}:v,y=t.styles,b=void 0===y?{}:y;if(e){var _=e.prefix,w=e.iconName,k=e.icon;return Rn(_r({type:"icon"},e),(function(){return $n(),Rr.autoA11y&&(d?g["aria-labelledby"]="".concat(Rr.replacementClass,"-title-").concat(p||pn()):(g["aria-hidden"]="true",g.focusable="false")),_n({icons:{main:In(k),mask:s?In(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:_,iconName:w,transform:_r({},dn,n),symbol:i,title:d,maskId:u,titleId:p,extra:{attributes:g,styles:b,classes:m}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(e||{}).icon?e:qn(e||{}),n=t.mask;return n&&(n=(n||{}).icon?n:qn(n||{})),Fn(r,_r({},t,{mask:n}))});function Hn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(r),!0).forEach((function(t){Kn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qn(e){return Qn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qn(e)}function Kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vn(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Xn,Zn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},Jn={exports:{}};Xn=Jn,function(e){var t=function(e,r,n){if(!s(r)||u(r)||l(r)||d(r)||a(r))return r;var o,i=0,f=0;if(c(r))for(o=[],f=r.length;i<f;i++)o.push(t(e,r[i],n));else for(var p in o={},r)Object.prototype.hasOwnProperty.call(r,p)&&(o[e(p,n)]=t(e,r[p],n));return o},r=function(e){return f(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1)},n=function(e){var t=r(e);return t.substr(0,1).toUpperCase()+t.substr(1)},o=function(e,t){return function(e,t){var r=(t=t||{}).separator||"_",n=t.split||/(?=[A-Z])/;return e.split(n).join(r)}(e,t).toLowerCase()},i=Object.prototype.toString,a=function(e){return"function"==typeof e},s=function(e){return e===Object(e)},c=function(e){return"[object Array]"==i.call(e)},u=function(e){return"[object Date]"==i.call(e)},l=function(e){return"[object RegExp]"==i.call(e)},d=function(e){return"[object Boolean]"==i.call(e)},f=function(e){return(e-=0)==e},p=function(e,t){var r=t&&"process"in t?t.process:t;return"function"!=typeof r?e:function(t,n){return r(t,e,n)}},h={camelize:r,decamelize:o,pascalize:n,depascalize:o,camelizeKeys:function(e,n){return t(p(r,n),e)},decamelizeKeys:function(e,r){return t(p(o,r),e,r)},pascalizeKeys:function(e,r){return t(p(n,r),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};Xn.exports?Xn.exports=h:e.humps=h}(Zn);var eo=Jn.exports,to=["class","style","attrs"];function ro(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var r=t.indexOf(":"),n=eo.camelize(t.slice(0,r)),o=t.slice(r+1).trim();return e[n]=o,e}),{})}function no(e){return e.split(/\s+/).reduce((function(e,t){return e[t]=!0,e}),{})}function oo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t){return Array.isArray(t)?e=e.concat(t):e.push(t),e}),[])}function io(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=(t.children||[]).map(io.bind(null,e)),i=Object.keys(t.attributes||{}).reduce((function(e,r){var n=t.attributes[r];switch(r){case"class":e.class=no(n);break;case"style":e.style=ro(n);break;default:e.attrs[r]=n}return e}),{class:{},style:{},attrs:{}}),a=n.class,s=void 0===a?{}:a,c=n.style,u=void 0===c?{}:c,l=n.attrs,d=void 0===l?{}:l,f=Vn(n,to);return"string"==typeof t?t:e(t.tag,Yn(Yn({class:oo(i.class,s),style:Yn(Yn({},i.style),u),attrs:Yn(Yn({},i.attrs),d)},f),{},{props:r}),o)}var ao=!1;try{ao=!0}catch(e){}function so(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Kn({},e,t):{}}function co(e){return e&&"object"===Qn(e)&&e.prefix&&e.iconName&&e.icon?e:Un.icon?Un.icon(e):null===e?null:"object"===Qn(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}var uo={name:"FontAwesomeIcon",functional:!0,props:{beat:{type:Boolean,default:!1},border:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(e){return[!0,!1,"horizontal","vertical","both"].indexOf(e)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(e){return["right","left"].indexOf(e)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(e){return[90,180,270].indexOf(parseInt(e,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(e){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(e)>-1}},spin:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1}},render:function(e,t){var r=t.props,n=r.icon,o=r.mask,i=r.symbol,a=r.title,s=co(n),c=so("classes",function(e){var t,r=(Kn(t={"fa-spin":e.spin,"fa-spin-pulse":e.spinPulse,"fa-spin-reverse":e.spinReverse,"fa-pulse":e.pulse,"fa-beat":e.beat,"fa-fade":e.fade,"fa-flash":e.flash,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":!0===e.flip,"fa-flip-horizontal":"horizontal"===e.flip||"both"===e.flip,"fa-flip-vertical":"vertical"===e.flip||"both"===e.flip},"fa-".concat(e.size),null!==e.size),Kn(t,"fa-rotate-".concat(e.rotation),null!==e.rotation),Kn(t,"fa-pull-".concat(e.pull),null!==e.pull),Kn(t,"fa-swap-opacity",e.swapOpacity),Kn(t,"fa-bounce",e.bounce),Kn(t,"fa-shake",e.shake),Kn(t,"fa-beat-fade",e.beatFade),t);return Object.keys(r).map((function(e){return r[e]?e:null})).filter((function(e){return e}))}(r)),u=so("transform","string"==typeof r.transform?Un.transform(r.transform):r.transform),l=so("mask",co(o)),d=Wn(s,Yn(Yn(Yn(Yn({},c),u),l),{},{symbol:i,title:a}));if(!d)return function(){var e;!ao&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find one or more icon(s)",s,l);var f=d.abstract;return io.bind(null,e)(f[0],{},t.data)}},lo=(Boolean,Boolean,{prefix:"fas",iconName:"bars",icon:[448,512,[],"f0c9","M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"]}),fo={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"]},po={prefix:"fas",iconName:"check",icon:[512,512,[],"f00c","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"]},ho={prefix:"fas",iconName:"ellipsis-h",icon:[512,512,[],"f141","M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"]},mo={prefix:"fas",iconName:"exclamation-circle",icon:[512,512,[],"f06a","M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"]},vo={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"]},go={prefix:"fas",iconName:"layer-group",icon:[512,512,[],"f5fd","M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z"]},yo={prefix:"fas",iconName:"list",icon:[512,512,[],"f03a","M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"]},bo={prefix:"fas",iconName:"lock",icon:[448,512,[],"f023","M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"]},_o={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M423.5 0C339.5.3 272 69.5 272 153.5V224H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48h-48v-71.1c0-39.6 31.7-72.5 71.3-72.9 40-.4 72.7 32.1 72.7 72v80c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24v-80C576 68 507.5-.3 423.5 0z"]},wo={prefix:"fas",iconName:"minus-circle",icon:[512,512,[],"f056","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zM124 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H124z"]},ko={prefix:"fas",iconName:"pen-square",icon:[448,512,[],"f14b","M400 480H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zM238.1 177.9L102.4 313.6l-6.3 57.1c-.8 7.6 5.6 14.1 13.3 13.3l57.1-6.3L302.2 242c2.3-2.3 2.3-6.1 0-8.5L246.7 178c-2.5-2.4-6.3-2.4-8.6-.1zM345 165.1L314.9 135c-9.4-9.4-24.6-9.4-33.9 0l-23.1 23.1c-2.3 2.3-2.3 6.1 0 8.5l55.5 55.5c2.3 2.3 6.1 2.3 8.5 0L345 199c9.3-9.3 9.3-24.5 0-33.9z"]},xo={prefix:"fas",iconName:"plus",icon:[448,512,[],"f067","M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"]},Co={prefix:"fas",iconName:"plus-circle",icon:[512,512,[],"f055","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"]},Po={prefix:"fas",iconName:"qrcode",icon:[448,512,[],"f029","M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z"]},Bo={prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},So={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"]},Eo={prefix:"fas",iconName:"th",icon:[512,512,[],"f00a","M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zm181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24zm-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zM181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24z"]},Ao={prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},Lo={prefix:"fas",iconName:"times-circle",icon:[512,512,[],"f057","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"]},Oo={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"]},To={prefix:"fab",iconName:"github-alt",icon:[480,512,[],"f113","M186.1 328.7c0 20.9-10.9 55.1-36.7 55.1s-36.7-34.2-36.7-55.1 10.9-55.1 36.7-55.1 36.7 34.2 36.7 55.1zM480 278.2c0 31.9-3.2 65.7-17.5 95-37.9 76.6-142.1 74.8-216.7 74.8-75.8 0-186.2 2.7-225.6-74.8-14.6-29-20.2-63.1-20.2-95 0-41.9 13.9-81.5 41.5-113.6-5.2-15.8-7.7-32.4-7.7-48.8 0-21.5 4.9-32.3 14.6-51.8 45.3 0 74.3 9 108.8 36 29-6.9 58.8-10 88.7-10 27 0 54.2 2.9 80.4 9.2 34-26.7 63-35.2 107.8-35.2 9.8 19.5 14.6 30.3 14.6 51.8 0 16.4-2.6 32.7-7.7 48.2 27.5 32.4 39 72.3 39 114.2zm-64.3 50.5c0-43.9-26.7-82.6-73.5-82.6-18.9 0-37 3.4-56 6-14.9 2.3-29.8 3.2-45.1 3.2-15.2 0-30.1-.9-45.1-3.2-18.7-2.6-37-6-56-6-46.8 0-73.5 38.7-73.5 82.6 0 87.8 80.4 101.3 150.4 101.3h48.2c70.3 0 150.6-13.4 150.6-101.3zm-82.6-55.1c-25.8 0-36.7 34.2-36.7 55.1s10.9 55.1 36.7 55.1 36.7-34.2 36.7-55.1-10.9-55.1-36.7-55.1z"]};zn.add(xo,Co,Po,vo,Oo,po,Ao,bo,_o,Bo,ho,lo,So,To,fo,go,wo,mo,ko,Eo,yo,Lo),n.default.component("font-awesome-icon",uo);var No=r(906),jo=r.n(No);n.default.use(jo());var Io=r(765),Do=r.n(Io);function Mo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}[U({name:"App",data:function(){return{}},computed:{kickInactiveUser:function(){return parseInt(this.$root.appSettings.kickUserAfter)>0&&this.$route.meta.requiresAuth}}},(function(){var e=this,t=e._self._c;return t("div",[e.kickInactiveUser?t("kicker"):e._e(),e._v(" "),this.$root.isDemoApp?t("div",{staticClass:"demo has-background-warning has-text-centered is-size-7-mobile"},[e._v("\n "+e._s(e.$t("commons.demo_do_not_post_sensitive_data"))+"\n ")]):e._e(),e._v(" "),this.$root.isTestingApp?t("div",{staticClass:"demo has-background-warning has-text-centered is-size-7-mobile"},[e._v("\n "+e._s(e.$t("commons.testing_do_not_post_sensitive_data"))+"\n ")]):e._e(),e._v(" "),t("notifications",{attrs:{width:"100%",position:"top",duration:4e3,speed:0,max:1,classes:"notification is-radiusless"}}),e._v(" "),t("main",{staticClass:"main-section"},[t("router-view")],1)],1)}),[],!1,null,null,null).exports,U({name:"VButton",props:{color:{type:String,default:"is-link"},nativeType:{type:String,default:"submit"},isLoading:{type:Boolean,default:!1}}},(function(){var e,t=this;return(0,t._self._c)("button",{class:(e={button:!0},Mo(e,"".concat(t.color),!0),Mo(e,"is-loading",t.isLoading),e),attrs:{type:t.nativeType,disabled:t.isLoading}},[t._t("default")],2)}),[],!1,null,null,null).exports,U({name:"field-error",props:{form:{type:Object,required:!0},field:{type:String,required:!0}}},(function(){var e=this,t=e._self._c;return e.form.errors.has(e.field)?t("p",{staticClass:"help is-danger",domProps:{innerHTML:e._s(e.form.errors.get(e.field))}}):e._e()}),[],!1,null,null,null).exports,U({name:"FormWrapper",data:function(){return{}},props:{title:{type:String,default:""},punchline:{type:String,default:""}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"columns is-centered"},[t("div",{staticClass:"form-column column is-two-thirds-tablet is-half-desktop is-one-third-widescreen is-one-third-fullhd"},[e.title?t("h1",{staticClass:"title has-text-grey-dark",domProps:{innerHTML:e._s(e.title)}}):e._e(),e._v(" "),e.punchline?t("div",{staticClass:"block",domProps:{innerHTML:e._s(e.punchline)}}):e._e(),e._v(" "),e._t("default")],2)])}),[],!1,null,null,null).exports,U({name:"FormField",inheritAttrs:!1,data:function(){return{}},props:{label:{type:String,default:""},fieldName:{type:String,default:"",required:!0},inputType:{type:String,default:"text"},form:{type:Object,required:!0},placeholder:{type:String,default:""},help:{type:String,default:""},hasOffset:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"field",class:{"with-offset":e.hasOffset}},[t("label",{staticClass:"label",domProps:{innerHTML:e._s(e.label)}}),e._v(" "),t("div",{staticClass:"control"},["checkbox"===e.inputType?t("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.form[e.fieldName],expression:"form[fieldName]"}],staticClass:"input",attrs:{disabled:e.isDisabled,id:e.fieldName,placeholder:e.placeholder,type:"checkbox"},domProps:{checked:Array.isArray(e.form[e.fieldName])?e._i(e.form[e.fieldName],null)>-1:e.form[e.fieldName]},on:{change:function(t){var r=e.form[e.fieldName],n=t.target,o=!!n.checked;if(Array.isArray(r)){var i=e._i(r,null);n.checked?i<0&&e.$set(e.form,e.fieldName,r.concat([null])):i>-1&&e.$set(e.form,e.fieldName,r.slice(0,i).concat(r.slice(i+1)))}else e.$set(e.form,e.fieldName,o)}}},"input",e.$attrs,!1)):"radio"===e.inputType?t("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.form[e.fieldName],expression:"form[fieldName]"}],staticClass:"input",attrs:{disabled:e.isDisabled,id:e.fieldName,placeholder:e.placeholder,type:"radio"},domProps:{checked:e._q(e.form[e.fieldName],null)},on:{change:function(t){return e.$set(e.form,e.fieldName,null)}}},"input",e.$attrs,!1)):t("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.form[e.fieldName],expression:"form[fieldName]"}],staticClass:"input",attrs:{disabled:e.isDisabled,id:e.fieldName,placeholder:e.placeholder,type:e.inputType},domProps:{value:e.form[e.fieldName]},on:{input:function(t){t.target.composing||e.$set(e.form,e.fieldName,t.target.value)}}},"input",e.$attrs,!1))]),e._v(" "),t("field-error",{attrs:{form:e.form,field:e.fieldName}}),e._v(" "),e.help?t("p",{staticClass:"help",domProps:{innerHTML:e._s(e.help)}}):e._e()],1)}),[],!1,null,null,null).exports,U({name:"FormSelect",data:function(){return{}},props:{label:{type:String,default:""},fieldName:{type:String,default:"",required:!0},options:{type:Array,required:!0},form:{type:Object,required:!0},help:{type:String,default:""}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"field"},[t("label",{staticClass:"label",domProps:{innerHTML:e._s(e.label)}}),e._v(" "),t("div",{staticClass:"control"},[t("div",{staticClass:"select"},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.form[e.fieldName],expression:"form[fieldName]"}],on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.form,e.fieldName,t.target.multiple?r:r[0])},function(t){return e.$emit(e.fieldName,e.form[e.fieldName])}]}},e._l(e.options,(function(r){return t("option",{domProps:{value:r.value}},[e._v(e._s(r.text))])})),0)])]),e._v(" "),t("field-error",{attrs:{form:e.form,field:e.fieldName}}),e._v(" "),e.help?t("p",{staticClass:"help",domProps:{innerHTML:e._s(e.help)}}):e._e()],1)}),[],!1,null,null,null).exports,U({name:"FormSwitch",data:function(){return{}},props:{label:{type:String,default:""},fieldName:{type:String,default:"",required:!0},form:{type:Object,required:!0},help:{type:String,default:""}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"field"},[t("label",{staticClass:"label",attrs:{for:e.fieldName},domProps:{innerHTML:e._s(e.label)}}),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.form[e.fieldName],expression:"form[fieldName]"}],staticClass:"switch is-thin is-info",attrs:{id:e.fieldName,type:"checkbox",name:e.fieldName},domProps:{checked:Array.isArray(e.form[e.fieldName])?e._i(e.form[e.fieldName],null)>-1:e.form[e.fieldName]},on:{change:function(t){var r=e.form[e.fieldName],n=t.target,o=!!n.checked;if(Array.isArray(r)){var i=e._i(r,null);n.checked?i<0&&e.$set(e.form,e.fieldName,r.concat([null])):i>-1&&e.$set(e.form,e.fieldName,r.slice(0,i).concat(r.slice(i+1)))}else e.$set(e.form,e.fieldName,o)}}}),e._v(" "),t("label",{staticClass:"label",attrs:{for:e.fieldName}}),e._v(" "),e.help?t("p",{staticClass:"help",domProps:{innerHTML:e._s(e.help)}}):e._e()])}),[],!1,null,null,null).exports,U({name:"FormToggle",data:function(){return{}},props:{label:{type:String,default:""},fieldName:{type:String,default:"",required:!0},choices:{type:Array,required:!0},form:{type:Object,required:!0},help:{type:String,default:""},hasOffset:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"field",class:{"with-offset":e.hasOffset}},[t("label",{staticClass:"label",domProps:{innerHTML:e._s(e.label)}}),e._v(" "),t("div",{staticClass:"is-toggle buttons"},e._l(e.choices,(function(r){return t("label",{staticClass:"button is-dark",class:{"is-link":e.form[e.fieldName]===r.value},attrs:{disabled:e.isDisabled}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.form[e.fieldName],expression:"form[fieldName]"}],staticClass:"is-hidden",attrs:{type:"radio",disabled:e.isDisabled},domProps:(n={checked:e.form[e.fieldName]===r.value,value:r.value},o="checked",i=e._q(e.form[e.fieldName],r.value),o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i,n),on:{change:[function(t){return e.$set(e.form,e.fieldName,r.value)},function(t){return e.$emit(e.fieldName,e.form[e.fieldName])}]}}),e._v(" "),r.icon?t("font-awesome-icon",{staticClass:"mr-3",attrs:{icon:["fas",r.icon]}}):e._e(),e._v(" "+e._s(r.text)+"\n ")],1);var n,o,i})),0),e._v(" "),t("field-error",{attrs:{form:e.form,field:e.fieldName}}),e._v(" "),e.help?t("p",{staticClass:"help",domProps:{innerHTML:e._s(e.help)}}):e._e()],1)}),[],!1,null,null,null).exports,U({name:"FormCheckbox",inheritAttrs:!1,data:function(){return{}},props:{label:{type:String,default:""},fieldName:{type:String,default:"",required:!0},form:{type:Object,required:!0},help:{type:String,default:""}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"field"},[t("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.form[e.fieldName],expression:"form[fieldName]"}],staticClass:"is-checkradio is-info",attrs:{id:e.fieldName,type:"checkbox",name:e.fieldName},domProps:{checked:Array.isArray(e.form[e.fieldName])?e._i(e.form[e.fieldName],null)>-1:e.form[e.fieldName]},on:{change:[function(t){var r=e.form[e.fieldName],n=t.target,o=!!n.checked;if(Array.isArray(r)){var i=e._i(r,null);n.checked?i<0&&e.$set(e.form,e.fieldName,r.concat([null])):i>-1&&e.$set(e.form,e.fieldName,r.slice(0,i).concat(r.slice(i+1)))}else e.$set(e.form,e.fieldName,o)},function(t){return e.$emit(e.fieldName,e.form[e.fieldName])}]}},"input",e.$attrs,!1)),e._v(" "),t("label",{staticClass:"label",attrs:{for:e.fieldName},domProps:{innerHTML:e._s(e.label)}}),e._v(" "),e.help?t("p",{staticClass:"help",domProps:{innerHTML:e._s(e.help)}}):e._e()])}),[],!1,null,null,null).exports,U({name:"FormButtons",data:function(){return{}},props:{showCancelButton:{type:Boolean,default:!1},isBusy:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},caption:{type:String,default:"Submit"},cancelLandingView:{type:String,default:""},color:{type:String,default:"is-link"}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"field is-grouped"},[t("div",{staticClass:"control"},[t("v-button",{attrs:{color:e.color,isLoading:e.isBusy,disabled:e.isDisabled}},[e._v(e._s(e.caption))])],1),e._v(" "),e.showCancelButton?t("div",{staticClass:"control"},[t("router-link",{staticClass:"button is-text",attrs:{to:{name:e.cancelLandingView}}},[e._v(e._s(e.$t("commons.cancel")))])],1):e._e()])}),[],!1,null,null,null).exports,U({name:"VueFooter",data:function(){return{}},props:{showButtons:!0},methods:{logout:function(){confirm(this.$t("auth.confirm.logout"))&&this.appLogout()}}},(function(){var e=this,t=e._self._c;return t("footer",{staticClass:"has-background-black-ter"},[e.showButtons?t("div",{staticClass:"columns is-gapless"},[t("div",{staticClass:"column has-text-centered"},[t("div",{staticClass:"field is-grouped"},[e._t("default")],2)])]):e._e(),e._v(" "),e.$route.name.startsWith("settings.")?t("div",{staticClass:"content has-text-centered is-size-6"},[t("a",{staticClass:"has-text-grey",attrs:{href:"https://github.com/Bubka/2FAuth"}},[t("b",[e._v("2FAuth")]),e._v(" "),t("font-awesome-icon",{attrs:{icon:["fab","github-alt"]}})],1),e._v(" - v"+e._s(e.appVersion)+"\n ")]):t("div",{staticClass:"content has-text-centered"},[t("router-link",{staticClass:"has-text-grey",attrs:{to:{name:"settings.options"}}},[e._v(e._s(e.$t("settings.settings")))]),e._v(" "),!this.$root.appConfig.proxyAuth||this.$root.appConfig.proxyAuth&&this.$root.appConfig.proxyLogoutUrl?t("span",[e._v("\n - "),t("a",{staticClass:"has-text-grey",on:{click:e.logout}},[e._v(e._s(e.$t("auth.sign_out")))])]):e._e()],1)])}),[],!1,null,null,null).exports,U({name:"Kicker",data:function(){return{events:["click","mousedown","scroll","keypress","load"],logoutTimer:null}},mounted:function(){this.events.forEach((function(e){window.addEventListener(e,this.resetTimer)}),this),this.setTimer()},destroyed:function(){this.events.forEach((function(e){window.removeEventListener(e,this.resetTimer)}),this),clearTimeout(this.logoutTimer)},methods:{setTimer:function(){this.logoutTimer=setTimeout(this.logoutUser,60*this.$root.appSettings.kickUserAfter*1e3)},logoutUser:function(){clearTimeout(this.logoutTimer),this.$router.push({name:"autolock"})},resetTimer:function(){clearTimeout(this.logoutTimer),this.setTimer()}}},(function(){return(0,this._self._c)("div")}),[],!1,null,null,null).exports,U({name:"SettingTabs",data:function(){return{tabs:[{name:this.$t("settings.options"),view:"settings.options"},{name:this.$t("settings.account"),view:"settings.account"},{name:this.$t("settings.oauth"),view:"settings.oauth.tokens"},{name:this.$t("settings.webauthn"),view:"settings.webauthn.devices"}]}},props:{activeTab:{type:String,default:""}},methods:{selectTab:function(e){this.$router.push({name:e})}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"options-header has-background-black-ter"},[t("div",{staticClass:"columns is-centered"},[t("div",{staticClass:"form-column column is-two-thirds-tablet is-half-desktop is-one-third-widescreen is-one-third-fullhd"},[t("div",{staticClass:"tabs is-centered is-fullwidth"},[t("ul",e._l(e.tabs,(function(r){return t("li",{key:r.view,class:{"is-active":r.view===e.activeTab}},[t("a",{on:{click:function(t){return e.selectTab(r.view)}}},[e._v(e._s(r.name))])])})),0)])])])])}),[],!1,null,null,null).exports].forEach((function(e){n.default.component(e.name,e)})),n.default.use(Do());new n.default({el:"#app",data:{appSettings:window.appSettings,appConfig:window.appConfig,isDemoApp:window.isDemoApp,isTestingApp:window.isTestingApp},i18n:x,router:pr})},90:(e,t,r)=>{var n,o=r(155);!function(){"use strict";var t="object"==typeof window?window:{};!t.HI_BASE32_NO_NODE_JS&&"object"==typeof o&&o.versions&&o.versions.node&&(t=r.g);var i=!t.HI_BASE32_NO_COMMON_JS&&e.exports,a=r.amdO,s="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".split(""),c={A:0,B:1,C:2,D:3,E:4,F:5,G:6,H:7,I:8,J:9,K:10,L:11,M:12,N:13,O:14,P:15,Q:16,R:17,S:18,T:19,U:20,V:21,W:22,X:23,Y:24,Z:25,2:26,3:27,4:28,5:29,6:30,7:31},u=[0,0,0,0,0,0,0,0],l=function(e,t){t.length>10&&(t="..."+t.substr(-10));var r=new Error("Decoded data is not valid UTF-8. Maybe try base32.decode.asBytes()? Partial data after reading "+e+" bytes: "+t+" <-");throw r.position=e,r},d=function(e){if(""===e)return[];if(!/^[A-Z2-7=]+$/.test(e))throw new Error("Invalid base32 characters");for(var t,r,n,o,i,a,s,u,l=[],d=0,f=(e=e.replace(/=/g,"")).length,p=0,h=f>>3<<3;p<h;)t=c[e.charAt(p++)],r=c[e.charAt(p++)],n=c[e.charAt(p++)],o=c[e.charAt(p++)],i=c[e.charAt(p++)],a=c[e.charAt(p++)],s=c[e.charAt(p++)],u=c[e.charAt(p++)],l[d++]=255&(t<<3|r>>>2),l[d++]=255&(r<<6|n<<1|o>>>4),l[d++]=255&(o<<4|i>>>1),l[d++]=255&(i<<7|a<<2|s>>>3),l[d++]=255&(s<<5|u);var m=f-h;return 2===m?(t=c[e.charAt(p++)],r=c[e.charAt(p++)],l[d++]=255&(t<<3|r>>>2)):4===m?(t=c[e.charAt(p++)],r=c[e.charAt(p++)],n=c[e.charAt(p++)],o=c[e.charAt(p++)],l[d++]=255&(t<<3|r>>>2),l[d++]=255&(r<<6|n<<1|o>>>4)):5===m?(t=c[e.charAt(p++)],r=c[e.charAt(p++)],n=c[e.charAt(p++)],o=c[e.charAt(p++)],i=c[e.charAt(p++)],l[d++]=255&(t<<3|r>>>2),l[d++]=255&(r<<6|n<<1|o>>>4),l[d++]=255&(o<<4|i>>>1)):7===m&&(t=c[e.charAt(p++)],r=c[e.charAt(p++)],n=c[e.charAt(p++)],o=c[e.charAt(p++)],i=c[e.charAt(p++)],a=c[e.charAt(p++)],s=c[e.charAt(p++)],l[d++]=255&(t<<3|r>>>2),l[d++]=255&(r<<6|n<<1|o>>>4),l[d++]=255&(o<<4|i>>>1),l[d++]=255&(i<<7|a<<2|s>>>3)),l},f=function(e,t){if(!t)return function(e){for(var t,r,n="",o=e.length,i=0,a=0;i<o;)if((t=e[i++])<=127)n+=String.fromCharCode(t);else{t>191&&t<=223?(r=31&t,a=1):t<=239?(r=15&t,a=2):t<=247?(r=7&t,a=3):l(i,n);for(var s=0;s<a;++s)((t=e[i++])<128||t>191)&&l(i,n),r<<=6,r+=63&t;r>=55296&&r<=57343&&l(i,n),r>1114111&&l(i,n),r<=65535?n+=String.fromCharCode(r):(r-=65536,n+=String.fromCharCode(55296+(r>>10)),n+=String.fromCharCode(56320+(1023&r)))}return n}(d(e));if(""===e)return"";if(!/^[A-Z2-7=]+$/.test(e))throw new Error("Invalid base32 characters");var r,n,o,i,a,s,u,f,p="",h=e.indexOf("=");-1===h&&(h=e.length);for(var m=0,v=h>>3<<3;m<v;)r=c[e.charAt(m++)],n=c[e.charAt(m++)],o=c[e.charAt(m++)],i=c[e.charAt(m++)],a=c[e.charAt(m++)],s=c[e.charAt(m++)],u=c[e.charAt(m++)],f=c[e.charAt(m++)],p+=String.fromCharCode(255&(r<<3|n>>>2))+String.fromCharCode(255&(n<<6|o<<1|i>>>4))+String.fromCharCode(255&(i<<4|a>>>1))+String.fromCharCode(255&(a<<7|s<<2|u>>>3))+String.fromCharCode(255&(u<<5|f));var g=h-v;return 2===g?(r=c[e.charAt(m++)],n=c[e.charAt(m++)],p+=String.fromCharCode(255&(r<<3|n>>>2))):4===g?(r=c[e.charAt(m++)],n=c[e.charAt(m++)],o=c[e.charAt(m++)],i=c[e.charAt(m++)],p+=String.fromCharCode(255&(r<<3|n>>>2))+String.fromCharCode(255&(n<<6|o<<1|i>>>4))):5===g?(r=c[e.charAt(m++)],n=c[e.charAt(m++)],o=c[e.charAt(m++)],i=c[e.charAt(m++)],a=c[e.charAt(m++)],p+=String.fromCharCode(255&(r<<3|n>>>2))+String.fromCharCode(255&(n<<6|o<<1|i>>>4))+String.fromCharCode(255&(i<<4|a>>>1))):7===g&&(r=c[e.charAt(m++)],n=c[e.charAt(m++)],o=c[e.charAt(m++)],i=c[e.charAt(m++)],a=c[e.charAt(m++)],s=c[e.charAt(m++)],u=c[e.charAt(m++)],p+=String.fromCharCode(255&(r<<3|n>>>2))+String.fromCharCode(255&(n<<6|o<<1|i>>>4))+String.fromCharCode(255&(i<<4|a>>>1))+String.fromCharCode(255&(a<<7|s<<2|u>>>3))),p},p={encode:function(e,t){var r="string"!=typeof e;return r&&e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),r?function(e){for(var t,r,n,o,i,a="",c=e.length,u=0,l=5*parseInt(c/5);u<l;)t=e[u++],r=e[u++],n=e[u++],o=e[u++],i=e[u++],a+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[31&(r<<4|n>>>4)]+s[31&(n<<1|o>>>7)]+s[o>>>2&31]+s[31&(o<<3|i>>>5)]+s[31&i];var d=c-l;return 1===d?(t=e[u],a+=s[t>>>3]+s[t<<2&31]+"======"):2===d?(t=e[u++],r=e[u],a+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[r<<4&31]+"===="):3===d?(t=e[u++],r=e[u++],n=e[u],a+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[31&(r<<4|n>>>4)]+s[n<<1&31]+"==="):4===d&&(t=e[u++],r=e[u++],n=e[u++],o=e[u],a+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[31&(r<<4|n>>>4)]+s[31&(n<<1|o>>>7)]+s[o>>>2&31]+s[o<<3&31]+"="),a}(e):t?function(e){for(var t,r,n,o,i,a="",c=e.length,u=0,l=5*parseInt(c/5);u<l;)t=e.charCodeAt(u++),r=e.charCodeAt(u++),n=e.charCodeAt(u++),o=e.charCodeAt(u++),i=e.charCodeAt(u++),a+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[31&(r<<4|n>>>4)]+s[31&(n<<1|o>>>7)]+s[o>>>2&31]+s[31&(o<<3|i>>>5)]+s[31&i];var d=c-l;return 1===d?(t=e.charCodeAt(u),a+=s[t>>>3]+s[t<<2&31]+"======"):2===d?(t=e.charCodeAt(u++),r=e.charCodeAt(u),a+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[r<<4&31]+"===="):3===d?(t=e.charCodeAt(u++),r=e.charCodeAt(u++),n=e.charCodeAt(u),a+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[31&(r<<4|n>>>4)]+s[n<<1&31]+"==="):4===d&&(t=e.charCodeAt(u++),r=e.charCodeAt(u++),n=e.charCodeAt(u++),o=e.charCodeAt(u),a+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[31&(r<<4|n>>>4)]+s[31&(n<<1|o>>>7)]+s[o>>>2&31]+s[o<<3&31]+"="),a}(e):function(e){var t,r,n,o,i,a,c,l=!1,d="",f=0,p=0,h=e.length;if(""===e)return d;do{for(u[0]=u[5],u[1]=u[6],u[2]=u[7],c=p;f<h&&c<5;++f)(a=e.charCodeAt(f))<128?u[c++]=a:a<2048?(u[c++]=192|a>>6,u[c++]=128|63&a):a<55296||a>=57344?(u[c++]=224|a>>12,u[c++]=128|a>>6&63,u[c++]=128|63&a):(a=65536+((1023&a)<<10|1023&e.charCodeAt(++f)),u[c++]=240|a>>18,u[c++]=128|a>>12&63,u[c++]=128|a>>6&63,u[c++]=128|63&a);p=c-5,f===h&&++f,f>h&&c<6&&(l=!0),t=u[0],c>4?(r=u[1],n=u[2],o=u[3],i=u[4],d+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[31&(r<<4|n>>>4)]+s[31&(n<<1|o>>>7)]+s[o>>>2&31]+s[31&(o<<3|i>>>5)]+s[31&i]):1===c?d+=s[t>>>3]+s[t<<2&31]+"======":2===c?(r=u[1],d+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[r<<4&31]+"===="):3===c?(r=u[1],n=u[2],d+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[31&(r<<4|n>>>4)]+s[n<<1&31]+"==="):(r=u[1],n=u[2],o=u[3],d+=s[t>>>3]+s[31&(t<<2|r>>>6)]+s[r>>>1&31]+s[31&(r<<4|n>>>4)]+s[31&(n<<1|o>>>7)]+s[o>>>2&31]+s[o<<3&31]+"=")}while(!l);return d}(e)},decode:f};f.asBytes=d,i?e.exports=p:(t.base32=p,a&&(void 0===(n=function(){return p}.call(p,r,p,e))||(e.exports=n)))}()},126:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(519),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".flip-list-move{transition:transform .5s}.ghost{opacity:1}",""]);const i=o},519:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},864:()=>{},661:(e,t,r)=>{"use strict";var n=r(733);t.ZP=n.objectEquals},733:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=(t.objectEquals=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=0,i=r.depth||1e5,a=r.keysOnly||!1,s=r.valuesOnly||!1;return n(e,t,{depth:i,currentDepth:o,keysOnly:a,valuesOnly:s})},function e(t,n,o){var i=o.depth,a=o.currentDepth,s=o.keysOnly,c=o.valuesOnly;if(!t||!n||"object"!==(void 0===t?"undefined":r(t))||"object"!==(void 0===n?"undefined":r(n)))return t===n;if(a>=i)return!0;a+=1;var u=Object.entries(t),l=Object.entries(n);if(u.length!==l.length)return!1;for(var d=0;d<u.length;d+=1){if(u[d][0]!==l[d][0]&&!c)return!1;if(!e(u[d][1],l[d][1],{depth:i,currentDepth:a,keysOnly:s,valuesOnly:c})&&!s)return!1}return!0})},155:e=>{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,c=[],u=!1,l=-1;function d(){u&&s&&(u=!1,s.length?c=s.concat(c):l=-1,c.length&&f())}function f(){if(!u){var e=a(d);u=!0;for(var t=c.length;t;){for(s=c,c=[];++l<t;)s&&s[l].run();l=-1,t=c.length}s=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new p(e,t)),1!==c.length||u||a(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=h,n.addListener=h,n.once=h,n.off=h,n.removeListener=h,n.removeAllListeners=h,n.emit=h,n.prependListener=h,n.prependOnceListener=h,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},474:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){o(e,t,r[t])}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.r(t),r.d(t,{MultiDrag:()=>bt,Sortable:()=>qe,Swap:()=>ct,default:()=>kt});function u(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var l=u(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),d=u(/Edge/i),f=u(/firefox/i),p=u(/safari/i)&&!u(/chrome/i)&&!u(/android/i),h=u(/iP(ad|od|hone)/i),m=u(/chrome/i)&&u(/android/i),v={capture:!1,passive:!1};function g(e,t,r){e.addEventListener(t,r,!l&&v)}function y(e,t,r){e.removeEventListener(t,r,!l&&v)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function _(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function w(e,t,r,n){if(e){r=r||document;do{if(null!=t&&(">"===t[0]?e.parentNode===r&&b(e,t):b(e,t))||n&&e===r)return e;if(e===r)break}while(e=_(e))}return null}var k,x=/\s+/g;function C(e,t,r){if(e&&t)if(e.classList)e.classList[r?"add":"remove"](t);else{var n=(" "+e.className+" ").replace(x," ").replace(" "+t+" "," ");e.className=(n+(r?" "+t:"")).replace(x," ")}}function P(e,t,r){var n=e&&e.style;if(n){if(void 0===r)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(r=e.currentStyle),void 0===t?r:r[t];t in n||-1!==t.indexOf("webkit")||(t="-webkit-"+t),n[t]=r+("string"==typeof r?"":"px")}}function B(e,t){var r="";if("string"==typeof e)r=e;else do{var n=P(e,"transform");n&&"none"!==n&&(r=n+" "+r)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(r)}function S(e,t,r){if(e){var n=e.getElementsByTagName(t),o=0,i=n.length;if(r)for(;o<i;o++)r(n[o],o);return n}return[]}function E(){var e=document.scrollingElement;return e||document.documentElement}function A(e,t,r,n,o){if(e.getBoundingClientRect||e===window){var i,a,s,c,u,d,f;if(e!==window&&e!==E()?(a=(i=e.getBoundingClientRect()).top,s=i.left,c=i.bottom,u=i.right,d=i.height,f=i.width):(a=0,s=0,c=window.innerHeight,u=window.innerWidth,d=window.innerHeight,f=window.innerWidth),(t||r)&&e!==window&&(o=o||e.parentNode,!l))do{if(o&&o.getBoundingClientRect&&("none"!==P(o,"transform")||r&&"static"!==P(o,"position"))){var p=o.getBoundingClientRect();a-=p.top+parseInt(P(o,"border-top-width")),s-=p.left+parseInt(P(o,"border-left-width")),c=a+i.height,u=s+i.width;break}}while(o=o.parentNode);if(n&&e!==window){var h=B(o||e),m=h&&h.a,v=h&&h.d;h&&(c=(a/=v)+(d/=v),u=(s/=m)+(f/=m))}return{top:a,left:s,bottom:c,right:u,width:f,height:d}}}function L(e,t,r){for(var n=I(e,!0),o=A(e)[t];n;){var i=A(n)[r];if(!("top"===r||"left"===r?o>=i:o<=i))return n;if(n===E())break;n=I(n,!1)}return!1}function O(e,t,r){for(var n=0,o=0,i=e.children;o<i.length;){if("none"!==i[o].style.display&&i[o]!==qe.ghost&&i[o]!==qe.dragged&&w(i[o],r.draggable,e,!1)){if(n===t)return i[o];n++}o++}return null}function T(e,t){for(var r=e.lastElementChild;r&&(r===qe.ghost||"none"===P(r,"display")||t&&!b(r,t));)r=r.previousElementSibling;return r||null}function N(e,t){var r=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===qe.clone||t&&!b(e,t)||r++;return r}function j(e){var t=0,r=0,n=E();if(e)do{var o=B(e),i=o.a,a=o.d;t+=e.scrollLeft*i,r+=e.scrollTop*a}while(e!==n&&(e=e.parentNode));return[t,r]}function I(e,t){if(!e||!e.getBoundingClientRect)return E();var r=e,n=!1;do{if(r.clientWidth<r.scrollWidth||r.clientHeight<r.scrollHeight){var o=P(r);if(r.clientWidth<r.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||r.clientHeight<r.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!r.getBoundingClientRect||r===document.body)return E();if(n||t)return r;n=!0}}}while(r=r.parentNode);return E()}function D(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function M(e,t){return function(){if(!k){var r=arguments,n=this;1===r.length?e.call(n,r[0]):e.apply(n,r),k=setTimeout((function(){k=void 0}),t)}}}function $(e,t,r){e.scrollLeft+=t,e.scrollTop+=r}function R(e){var t=window.Polymer,r=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):r?r(e).clone(!0)[0]:e.cloneNode(!0)}function q(e,t){P(e,"position","absolute"),P(e,"top",t.top),P(e,"left",t.left),P(e,"width",t.width),P(e,"height",t.height)}function F(e){P(e,"position",""),P(e,"top",""),P(e,"left",""),P(e,"width",""),P(e,"height","")}var z="Sortable"+(new Date).getTime();function G(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==P(e,"display")&&e!==qe.ghost){t.push({target:e,rect:A(e)});var r=a({},t[t.length-1].rect);if(e.thisAnimationDuration){var n=B(e,!0);n&&(r.top-=n.f,r.left-=n.e)}e.fromRect=r}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var r in e)if(e.hasOwnProperty(r))for(var n in t)if(t.hasOwnProperty(n)&&t[n]===e[r][n])return Number(r);return-1}(t,{target:e}),1)},animateAll:function(r){var n=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof r&&r());var o=!1,i=0;t.forEach((function(e){var t=0,r=e.target,a=r.fromRect,s=A(r),c=r.prevFromRect,u=r.prevToRect,l=e.rect,d=B(r,!0);d&&(s.top-=d.f,s.left-=d.e),r.toRect=s,r.thisAnimationDuration&&D(c,s)&&!D(a,s)&&(l.top-s.top)/(l.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(t=function(e,t,r,n){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-r.top,2)+Math.pow(t.left-r.left,2))*n.animation}(l,c,u,n.options)),D(s,a)||(r.prevFromRect=a,r.prevToRect=s,t||(t=n.options.animation),n.animate(r,l,s,t)),t&&(o=!0,i=Math.max(i,t),clearTimeout(r.animationResetTimer),r.animationResetTimer=setTimeout((function(){r.animationTime=0,r.prevFromRect=null,r.fromRect=null,r.prevToRect=null,r.thisAnimationDuration=null}),t),r.thisAnimationDuration=t)})),clearTimeout(e),o?e=setTimeout((function(){"function"==typeof r&&r()}),i):"function"==typeof r&&r(),t=[]},animate:function(e,t,r,n){if(n){P(e,"transition",""),P(e,"transform","");var o=B(this.el),i=o&&o.a,a=o&&o.d,s=(t.left-r.left)/(i||1),c=(t.top-r.top)/(a||1);e.animatingX=!!s,e.animatingY=!!c,P(e,"transform","translate3d("+s+"px,"+c+"px,0)"),function(e){e.offsetWidth}(e),P(e,"transition","transform "+n+"ms"+(this.options.easing?" "+this.options.easing:"")),P(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){P(e,"transition",""),P(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),n)}}}}var U=[],W={initializeByDefault:!0},H={mount:function(e){for(var t in W)W.hasOwnProperty(t)&&!(t in e)&&(e[t]=W[t]);U.push(e)},pluginEvent:function(e,t,r){var n=this;this.eventCanceled=!1,r.cancel=function(){n.eventCanceled=!0};var o=e+"Global";U.forEach((function(n){t[n.pluginName]&&(t[n.pluginName][o]&&t[n.pluginName][o](a({sortable:t},r)),t.options[n.pluginName]&&t[n.pluginName][e]&&t[n.pluginName][e](a({sortable:t},r)))}))},initializePlugins:function(e,t,r,n){for(var o in U.forEach((function(n){var o=n.pluginName;if(e.options[o]||n.initializeByDefault){var a=new n(e,t,e.options);a.sortable=e,a.options=e.options,e[o]=a,i(r,a.defaults)}})),e.options)if(e.options.hasOwnProperty(o)){var a=this.modifyOption(e,o,e.options[o]);void 0!==a&&(e.options[o]=a)}},getEventProperties:function(e,t){var r={};return U.forEach((function(n){"function"==typeof n.eventProperties&&i(r,n.eventProperties.call(t[n.pluginName],e))})),r},modifyOption:function(e,t,r){var n;return U.forEach((function(o){e[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[t]&&(n=o.optionListeners[t].call(e[o.pluginName],r))})),n}};function Y(e){var t=e.sortable,r=e.rootEl,n=e.name,o=e.targetEl,i=e.cloneEl,s=e.toEl,c=e.fromEl,u=e.oldIndex,f=e.newIndex,p=e.oldDraggableIndex,h=e.newDraggableIndex,m=e.originalEvent,v=e.putSortable,g=e.extraEventProperties;if(t=t||r&&r[z]){var y,b=t.options,_="on"+n.charAt(0).toUpperCase()+n.substr(1);!window.CustomEvent||l||d?(y=document.createEvent("Event")).initEvent(n,!0,!0):y=new CustomEvent(n,{bubbles:!0,cancelable:!0}),y.to=s||r,y.from=c||r,y.item=o||r,y.clone=i,y.oldIndex=u,y.newIndex=f,y.oldDraggableIndex=p,y.newDraggableIndex=h,y.originalEvent=m,y.pullMode=v?v.lastPutMode:void 0;var w=a({},g,H.getEventProperties(n,t));for(var k in w)y[k]=w[k];r&&r.dispatchEvent(y),b[_]&&b[_].call(t,y)}}var Q=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.evt,o=s(r,["evt"]);H.pluginEvent.bind(qe)(e,t,a({dragEl:V,parentEl:X,ghostEl:Z,rootEl:J,nextEl:ee,lastDownEl:te,cloneEl:re,cloneHidden:ne,dragStarted:ve,putSortable:ue,activeSortable:qe.active,originalEvent:n,oldIndex:oe,oldDraggableIndex:ae,newIndex:ie,newDraggableIndex:se,hideGhostForTarget:De,unhideGhostForTarget:Me,cloneNowHidden:function(){ne=!0},cloneNowShown:function(){ne=!1},dispatchSortableEvent:function(e){K({sortable:t,name:e,originalEvent:n})}},o))};function K(e){Y(a({putSortable:ue,cloneEl:re,targetEl:V,rootEl:J,oldIndex:oe,oldDraggableIndex:ae,newIndex:ie,newDraggableIndex:se},e))}var V,X,Z,J,ee,te,re,ne,oe,ie,ae,se,ce,ue,le,de,fe,pe,he,me,ve,ge,ye,be,_e,we=!1,ke=!1,xe=[],Ce=!1,Pe=!1,Be=[],Se=!1,Ee=[],Ae="undefined"!=typeof document,Le=h,Oe=d||l?"cssFloat":"float",Te=Ae&&!m&&!h&&"draggable"in document.createElement("div"),Ne=function(){if(Ae){if(l)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),je=function(e,t){var r=P(e),n=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=O(e,0,t),i=O(e,1,t),a=o&&P(o),s=i&&P(i),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+A(o).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+A(i).width;if("flex"===r.display)return"column"===r.flexDirection||"column-reverse"===r.flexDirection?"vertical":"horizontal";if("grid"===r.display)return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&"none"!==a.float){var l="left"===a.float?"left":"right";return!i||"both"!==s.clear&&s.clear!==l?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||c>=n&&"none"===r[Oe]||i&&"none"===r[Oe]&&c+u>n)?"vertical":"horizontal"},Ie=function(e){function t(e,r){return function(n,o,i,a){var s=n.options.group.name&&o.options.group.name&&n.options.group.name===o.options.group.name;if(null==e&&(r||s))return!0;if(null==e||!1===e)return!1;if(r&&"clone"===e)return e;if("function"==typeof e)return t(e(n,o,i,a),r)(n,o,i,a);var c=(r?n:o).options.group.name;return!0===e||"string"==typeof e&&e===c||e.join&&e.indexOf(c)>-1}}var r={},o=e.group;o&&"object"==n(o)||(o={name:o}),r.name=o.name,r.checkPull=t(o.pull,!0),r.checkPut=t(o.put),r.revertClone=o.revertClone,e.group=r},De=function(){!Ne&&Z&&P(Z,"display","none")},Me=function(){!Ne&&Z&&P(Z,"display","")};Ae&&document.addEventListener("click",(function(e){if(ke)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ke=!1,!1}),!0);var $e=function(e){if(V){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,i=e.clientY,xe.some((function(e){if(!T(e)){var t=A(e),r=e[z].options.emptyInsertThreshold,n=o>=t.left-r&&o<=t.right+r,s=i>=t.top-r&&i<=t.bottom+r;return r&&n&&s?a=e:void 0}})),a);if(t){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);r.target=r.rootEl=t,r.preventDefault=void 0,r.stopPropagation=void 0,t[z]._onDragOver(r)}}var o,i,a},Re=function(e){V&&V.parentNode[z]._isOutsideThisEl(e.target)};function qe(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=i({},t),e[z]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return je(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==qe.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var n in H.initializePlugins(this,e,r),r)!(n in t)&&(t[n]=r[n]);for(var o in Ie(t),this)"_"===o.charAt(0)&&"function"==typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&Te,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?g(e,"pointerdown",this._onTapStart):(g(e,"mousedown",this._onTapStart),g(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(g(e,"dragover",this),g(e,"dragenter",this)),xe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),i(this,G())}function Fe(e,t,r,n,o,i,a,s){var c,u,f=e[z],p=f.options.onMove;return!window.CustomEvent||l||d?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=t,c.from=e,c.dragged=r,c.draggedRect=n,c.related=o||t,c.relatedRect=i||A(t),c.willInsertAfter=s,c.originalEvent=a,e.dispatchEvent(c),p&&(u=p.call(f,c,a)),u}function ze(e){e.draggable=!1}function Ge(){Se=!1}function Ue(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,r=t.length,n=0;r--;)n+=t.charCodeAt(r);return n.toString(36)}function We(e){return setTimeout(e,0)}function He(e){return clearTimeout(e)}qe.prototype={constructor:qe,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(ge=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,V):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,r=this.el,n=this.options,o=n.preventOnFilter,i=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=n.filter;if(function(e){Ee.length=0;var t=e.getElementsByTagName("input"),r=t.length;for(;r--;){var n=t[r];n.checked&&Ee.push(n)}}(r),!V&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||n.disabled||c.isContentEditable||(s=w(s,n.draggable,r,!1))&&s.animated||te===s)){if(oe=N(s),ae=N(s,n.draggable),"function"==typeof u){if(u.call(this,e,s,this))return K({sortable:t,rootEl:c,name:"filter",targetEl:s,toEl:r,fromEl:r}),Q("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(n){if(n=w(c,n.trim(),r,!1))return K({sortable:t,rootEl:n,name:"filter",targetEl:s,fromEl:r,toEl:r}),Q("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());n.handle&&!w(c,n.handle,r,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,r){var n,o=this,i=o.el,a=o.options,s=i.ownerDocument;if(r&&!V&&r.parentNode===i){var c=A(r);if(J=i,X=(V=r).parentNode,ee=V.nextSibling,te=r,ce=a.group,qe.dragged=V,le={target:V,clientX:(t||e).clientX,clientY:(t||e).clientY},he=le.clientX-c.left,me=le.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,V.style["will-change"]="all",n=function(){Q("delayEnded",o,{evt:e}),qe.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!f&&o.nativeDraggable&&(V.draggable=!0),o._triggerDragStart(e,t),K({sortable:o,name:"choose",originalEvent:e}),C(V,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){S(V,e.trim(),ze)})),g(s,"dragover",$e),g(s,"mousemove",$e),g(s,"touchmove",$e),g(s,"mouseup",o._onDrop),g(s,"touchend",o._onDrop),g(s,"touchcancel",o._onDrop),f&&this.nativeDraggable&&(this.options.touchStartThreshold=4,V.draggable=!0),Q("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(d||l))n();else{if(qe.eventCanceled)return void this._onDrop();g(s,"mouseup",o._disableDelayedDrag),g(s,"touchend",o._disableDelayedDrag),g(s,"touchcancel",o._disableDelayedDrag),g(s,"mousemove",o._delayedDragTouchMoveHandler),g(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&g(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(n,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){V&&ze(V),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._disableDelayedDrag),y(e,"touchend",this._disableDelayedDrag),y(e,"touchcancel",this._disableDelayedDrag),y(e,"mousemove",this._delayedDragTouchMoveHandler),y(e,"touchmove",this._delayedDragTouchMoveHandler),y(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?g(document,"pointermove",this._onTouchMove):g(document,t?"touchmove":"mousemove",this._onTouchMove):(g(V,"dragend",this),g(J,"dragstart",this._onDragStart));try{document.selection?We((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(we=!1,J&&V){Q("dragStarted",this,{evt:t}),this.nativeDraggable&&g(document,"dragover",Re);var r=this.options;!e&&C(V,r.dragClass,!1),C(V,r.ghostClass,!0),qe.active=this,e&&this._appendGhost(),K({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(de){this._lastX=de.clientX,this._lastY=de.clientY,De();for(var e=document.elementFromPoint(de.clientX,de.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(de.clientX,de.clientY))!==t;)t=e;if(V.parentNode[z]._isOutsideThisEl(e),t)do{if(t[z]){if(t[z]._onDragOver({clientX:de.clientX,clientY:de.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Me()}},_onTouchMove:function(e){if(le){var t=this.options,r=t.fallbackTolerance,n=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=Z&&B(Z,!0),a=Z&&i&&i.a,s=Z&&i&&i.d,c=Le&&_e&&j(_e),u=(o.clientX-le.clientX+n.x)/(a||1)+(c?c[0]-Be[0]:0)/(a||1),l=(o.clientY-le.clientY+n.y)/(s||1)+(c?c[1]-Be[1]:0)/(s||1);if(!qe.active&&!we){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(e,!0)}if(Z){i?(i.e+=u-(fe||0),i.f+=l-(pe||0)):i={a:1,b:0,c:0,d:1,e:u,f:l};var d="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");P(Z,"webkitTransform",d),P(Z,"mozTransform",d),P(Z,"msTransform",d),P(Z,"transform",d),fe=u,pe=l,de=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Z){var e=this.options.fallbackOnBody?document.body:J,t=A(V,!0,Le,!0,e),r=this.options;if(Le){for(_e=e;"static"===P(_e,"position")&&"none"===P(_e,"transform")&&_e!==document;)_e=_e.parentNode;_e!==document.body&&_e!==document.documentElement?(_e===document&&(_e=E()),t.top+=_e.scrollTop,t.left+=_e.scrollLeft):_e=E(),Be=j(_e)}C(Z=V.cloneNode(!0),r.ghostClass,!1),C(Z,r.fallbackClass,!0),C(Z,r.dragClass,!0),P(Z,"transition",""),P(Z,"transform",""),P(Z,"box-sizing","border-box"),P(Z,"margin",0),P(Z,"top",t.top),P(Z,"left",t.left),P(Z,"width",t.width),P(Z,"height",t.height),P(Z,"opacity","0.8"),P(Z,"position",Le?"absolute":"fixed"),P(Z,"zIndex","100000"),P(Z,"pointerEvents","none"),qe.ghost=Z,e.appendChild(Z),P(Z,"transform-origin",he/parseInt(Z.style.width)*100+"% "+me/parseInt(Z.style.height)*100+"%")}},_onDragStart:function(e,t){var r=this,n=e.dataTransfer,o=r.options;Q("dragStart",this,{evt:e}),qe.eventCanceled?this._onDrop():(Q("setupClone",this),qe.eventCanceled||((re=R(V)).draggable=!1,re.style["will-change"]="",this._hideClone(),C(re,this.options.chosenClass,!1),qe.clone=re),r.cloneId=We((function(){Q("clone",r),qe.eventCanceled||(r.options.removeCloneOnHide||J.insertBefore(re,V),r._hideClone(),K({sortable:r,name:"clone"}))})),!t&&C(V,o.dragClass,!0),t?(ke=!0,r._loopId=setInterval(r._emulateDragOver,50)):(y(document,"mouseup",r._onDrop),y(document,"touchend",r._onDrop),y(document,"touchcancel",r._onDrop),n&&(n.effectAllowed="move",o.setData&&o.setData.call(r,n,V)),g(document,"drop",r),P(V,"transform","translateZ(0)")),we=!0,r._dragStartId=We(r._dragStarted.bind(r,t,e)),g(document,"selectstart",r),ve=!0,p&&P(document.body,"user-select","none"))},_onDragOver:function(e){var t,r,n,o,i=this.el,s=e.target,c=this.options,u=c.group,l=qe.active,d=ce===u,f=c.sort,p=ue||l,h=this,m=!1;if(!Se){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=w(s,c.draggable,i,!0),D("dragOver"),qe.eventCanceled)return m;if(V.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||h._ignoreWhileAnimating===s)return R(!1);if(ke=!1,l&&!c.disabled&&(d?f||(n=!J.contains(V)):ue===this||(this.lastPutMode=ce.checkPull(this,l,V,e))&&u.checkPut(this,l,V,e))){if(o="vertical"===this._getDirection(e,s),t=A(V),D("dragOverValid"),qe.eventCanceled)return m;if(n)return X=J,M(),this._hideClone(),D("revert"),qe.eventCanceled||(ee?J.insertBefore(V,ee):J.appendChild(V)),R(!0);var v=T(i,c.draggable);if(!v||function(e,t,r){var n=A(T(r.el,r.options.draggable)),o=10;return t?e.clientX>n.right+o||e.clientX<=n.right&&e.clientY>n.bottom&&e.clientX>=n.left:e.clientX>n.right&&e.clientY>n.top||e.clientX<=n.right&&e.clientY>n.bottom+o}(e,o,this)&&!v.animated){if(v===V)return R(!1);if(v&&i===e.target&&(s=v),s&&(r=A(s)),!1!==Fe(J,i,V,t,s,r,e,!!s))return M(),i.appendChild(V),X=i,q(),R(!0)}else if(s.parentNode===i){r=A(s);var g,y,b,_=V.parentNode!==i,k=!function(e,t,r){var n=r?e.left:e.top,o=r?e.right:e.bottom,i=r?e.width:e.height,a=r?t.left:t.top,s=r?t.right:t.bottom,c=r?t.width:t.height;return n===a||o===s||n+i/2===a+c/2}(V.animated&&V.toRect||t,s.animated&&s.toRect||r,o),x=o?"top":"left",B=L(s,"top","top")||L(V,"top","top"),S=B?B.scrollTop:void 0;if(ge!==s&&(y=r[x],Ce=!1,Pe=!k&&c.invertSwap||_),g=function(e,t,r,n,o,i,a,s){var c=n?e.clientY:e.clientX,u=n?r.height:r.width,l=n?r.top:r.left,d=n?r.bottom:r.right,f=!1;if(!a)if(s&&be<u*o){if(!Ce&&(1===ye?c>l+u*i/2:c<d-u*i/2)&&(Ce=!0),Ce)f=!0;else if(1===ye?c<l+be:c>d-be)return-ye}else if(c>l+u*(1-o)/2&&c<d-u*(1-o)/2)return function(e){return N(V)<N(e)?1:-1}(t);if((f=f||a)&&(c<l+u*i/2||c>d-u*i/2))return c>l+u/2?1:-1;return 0}(e,s,r,o,k?1:c.swapThreshold,null==c.invertedSwapThreshold?c.swapThreshold:c.invertedSwapThreshold,Pe,ge===s),0!==g){var E=N(V);do{E-=g,b=X.children[E]}while(b&&("none"===P(b,"display")||b===Z))}if(0===g||b===s)return R(!1);ge=s,ye=g;var O=s.nextElementSibling,j=!1,I=Fe(J,i,V,t,s,r,e,j=1===g);if(!1!==I)return 1!==I&&-1!==I||(j=1===I),Se=!0,setTimeout(Ge,30),M(),j&&!O?i.appendChild(V):s.parentNode.insertBefore(V,j?O:s),B&&$(B,0,S-B.scrollTop),X=V.parentNode,void 0===y||Pe||(be=Math.abs(y-A(s)[x])),q(),R(!0)}if(i.contains(V))return R(!1)}return!1}function D(c,u){Q(c,h,a({evt:e,isOwner:d,axis:o?"vertical":"horizontal",revert:n,dragRect:t,targetRect:r,canSort:f,fromSortable:p,target:s,completed:R,onMove:function(r,n){return Fe(J,i,V,t,r,A(r),e,n)},changed:q},u))}function M(){D("dragOverAnimationCapture"),h.captureAnimationState(),h!==p&&p.captureAnimationState()}function R(t){return D("dragOverCompleted",{insertion:t}),t&&(d?l._hideClone():l._showClone(h),h!==p&&(C(V,ue?ue.options.ghostClass:l.options.ghostClass,!1),C(V,c.ghostClass,!0)),ue!==h&&h!==qe.active?ue=h:h===qe.active&&ue&&(ue=null),p===h&&(h._ignoreWhileAnimating=s),h.animateAll((function(){D("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(s===V&&!V.animated||s===i&&!s.animated)&&(ge=null),c.dragoverBubble||e.rootEl||s===document||(V.parentNode[z]._isOutsideThisEl(e.target),!t&&$e(e)),!c.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function q(){ie=N(V),se=N(V,c.draggable),K({sortable:h,name:"change",toEl:i,newIndex:ie,newDraggableIndex:se,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){y(document,"mousemove",this._onTouchMove),y(document,"touchmove",this._onTouchMove),y(document,"pointermove",this._onTouchMove),y(document,"dragover",$e),y(document,"mousemove",$e),y(document,"touchmove",$e)},_offUpEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._onDrop),y(e,"touchend",this._onDrop),y(e,"pointerup",this._onDrop),y(e,"touchcancel",this._onDrop),y(document,"selectstart",this)},_onDrop:function(e){var t=this.el,r=this.options;ie=N(V),se=N(V,r.draggable),Q("drop",this,{evt:e}),X=V&&V.parentNode,ie=N(V),se=N(V,r.draggable),qe.eventCanceled||(we=!1,Pe=!1,Ce=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),He(this.cloneId),He(this._dragStartId),this.nativeDraggable&&(y(document,"drop",this),y(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),p&&P(document.body,"user-select",""),P(V,"transform",""),e&&(ve&&(e.cancelable&&e.preventDefault(),!r.dropBubble&&e.stopPropagation()),Z&&Z.parentNode&&Z.parentNode.removeChild(Z),(J===X||ue&&"clone"!==ue.lastPutMode)&&re&&re.parentNode&&re.parentNode.removeChild(re),V&&(this.nativeDraggable&&y(V,"dragend",this),ze(V),V.style["will-change"]="",ve&&!we&&C(V,ue?ue.options.ghostClass:this.options.ghostClass,!1),C(V,this.options.chosenClass,!1),K({sortable:this,name:"unchoose",toEl:X,newIndex:null,newDraggableIndex:null,originalEvent:e}),J!==X?(ie>=0&&(K({rootEl:X,name:"add",toEl:X,fromEl:J,originalEvent:e}),K({sortable:this,name:"remove",toEl:X,originalEvent:e}),K({rootEl:X,name:"sort",toEl:X,fromEl:J,originalEvent:e}),K({sortable:this,name:"sort",toEl:X,originalEvent:e})),ue&&ue.save()):ie!==oe&&ie>=0&&(K({sortable:this,name:"update",toEl:X,originalEvent:e}),K({sortable:this,name:"sort",toEl:X,originalEvent:e})),qe.active&&(null!=ie&&-1!==ie||(ie=oe,se=ae),K({sortable:this,name:"end",toEl:X,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),J=V=X=Z=ee=re=te=ne=le=de=ve=ie=se=oe=ae=ge=ye=ue=ce=qe.dragged=qe.ghost=qe.clone=qe.active=null,Ee.forEach((function(e){e.checked=!0})),Ee.length=fe=pe=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":V&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,n=0,o=r.length,i=this.options;n<o;n++)w(e=r[n],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||Ue(e));return t},sort:function(e){var t={},r=this.el;this.toArray().forEach((function(e,n){var o=r.children[n];w(o,this.options.draggable,r,!1)&&(t[e]=o)}),this),e.forEach((function(e){t[e]&&(r.removeChild(t[e]),r.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return w(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var r=this.options;if(void 0===t)return r[e];var n=H.modifyOption(this,e,t);r[e]=void 0!==n?n:t,"group"===e&&Ie(r)},destroy:function(){Q("destroy",this);var e=this.el;e[z]=null,y(e,"mousedown",this._onTapStart),y(e,"touchstart",this._onTapStart),y(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(y(e,"dragover",this),y(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),xe.splice(xe.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!ne){if(Q("hideClone",this),qe.eventCanceled)return;P(re,"display","none"),this.options.removeCloneOnHide&&re.parentNode&&re.parentNode.removeChild(re),ne=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(ne){if(Q("showClone",this),qe.eventCanceled)return;J.contains(V)&&!this.options.group.revertClone?J.insertBefore(re,V):ee?J.insertBefore(re,ee):J.appendChild(re),this.options.group.revertClone&&this.animate(V,re),P(re,"display",""),ne=!1}}else this._hideClone()}},Ae&&g(document,"touchmove",(function(e){(qe.active||we)&&e.cancelable&&e.preventDefault()})),qe.utils={on:g,off:y,css:P,find:S,is:function(e,t){return!!w(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},throttle:M,closest:w,toggleClass:C,clone:R,index:N,nextTick:We,cancelNextTick:He,detectDirection:je,getChild:O},qe.get=function(e){return e[z]},qe.mount=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(qe.utils=a({},qe.utils,e.utils)),H.mount(e)}))},qe.create=function(e,t){return new qe(e,t)},qe.version="1.10.2";var Ye,Qe,Ke,Ve,Xe,Ze,Je=[],et=!1;function tt(){Je.forEach((function(e){clearInterval(e.pid)})),Je=[]}function rt(){clearInterval(Ze)}var nt,ot=M((function(e,t,r,n){if(t.scroll){var o,i=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,c=t.scrollSpeed,u=E(),l=!1;Qe!==r&&(Qe=r,tt(),Ye=t.scroll,o=t.scrollFn,!0===Ye&&(Ye=I(r,!0)));var d=0,f=Ye;do{var p=f,h=A(p),m=h.top,v=h.bottom,g=h.left,y=h.right,b=h.width,_=h.height,w=void 0,k=void 0,x=p.scrollWidth,C=p.scrollHeight,B=P(p),S=p.scrollLeft,L=p.scrollTop;p===u?(w=b<x&&("auto"===B.overflowX||"scroll"===B.overflowX||"visible"===B.overflowX),k=_<C&&("auto"===B.overflowY||"scroll"===B.overflowY||"visible"===B.overflowY)):(w=b<x&&("auto"===B.overflowX||"scroll"===B.overflowX),k=_<C&&("auto"===B.overflowY||"scroll"===B.overflowY));var O=w&&(Math.abs(y-i)<=s&&S+b<x)-(Math.abs(g-i)<=s&&!!S),T=k&&(Math.abs(v-a)<=s&&L+_<C)-(Math.abs(m-a)<=s&&!!L);if(!Je[d])for(var N=0;N<=d;N++)Je[N]||(Je[N]={});Je[d].vx==O&&Je[d].vy==T&&Je[d].el===p||(Je[d].el=p,Je[d].vx=O,Je[d].vy=T,clearInterval(Je[d].pid),0==O&&0==T||(l=!0,Je[d].pid=setInterval(function(){n&&0===this.layer&&qe.active._onTouchMove(Xe);var t=Je[this.layer].vy?Je[this.layer].vy*c:0,r=Je[this.layer].vx?Je[this.layer].vx*c:0;"function"==typeof o&&"continue"!==o.call(qe.dragged.parentNode[z],r,t,e,Xe,Je[this.layer].el)||$(Je[this.layer].el,r,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==u&&(f=I(f,!1)));et=l}}),30),it=function(e){var t=e.originalEvent,r=e.putSortable,n=e.dragEl,o=e.activeSortable,i=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var c=r||o;a();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,l=document.elementFromPoint(u.clientX,u.clientY);s(),c&&!c.el.contains(l)&&(i("spill"),this.onSpill({dragEl:n,putSortable:r}))}};function at(){}function st(){}function ct(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;nt=t},dragOverValid:function(e){var t=e.completed,r=e.target,n=e.onMove,o=e.activeSortable,i=e.changed,a=e.cancel;if(o.options.swap){var s=this.sortable.el,c=this.options;if(r&&r!==s){var u=nt;!1!==n(r)?(C(r,c.swapClass,!0),nt=r):nt=null,u&&u!==nt&&C(u,c.swapClass,!1)}i(),t(!0),a()}},drop:function(e){var t=e.activeSortable,r=e.putSortable,n=e.dragEl,o=r||this.sortable,i=this.options;nt&&C(nt,i.swapClass,!1),nt&&(i.swap||r&&r.options.swap)&&n!==nt&&(o.captureAnimationState(),o!==t&&t.captureAnimationState(),function(e,t){var r,n,o=e.parentNode,i=t.parentNode;if(!o||!i||o.isEqualNode(t)||i.isEqualNode(e))return;r=N(e),n=N(t),o.isEqualNode(i)&&r<n&&n++;o.insertBefore(t,o.children[r]),i.insertBefore(e,i.children[n])}(n,nt),o.animateAll(),o!==t&&t.animateAll())},nulling:function(){nt=null}},i(e,{pluginName:"swap",eventProperties:function(){return{swapItem:nt}}})}at.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,r=e.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var n=O(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(t,n):this.sortable.el.appendChild(t),this.sortable.animateAll(),r&&r.animateAll()},drop:it},i(at,{pluginName:"revertOnSpill"}),st.prototype={onSpill:function(e){var t=e.dragEl,r=e.putSortable||this.sortable;r.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),r.animateAll()},drop:it},i(st,{pluginName:"removeOnSpill"});var ut,lt,dt,ft,pt,ht=[],mt=[],vt=!1,gt=!1,yt=!1;function bt(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?g(document,"pointerup",this._deselectMultiDrag):(g(document,"mouseup",this._deselectMultiDrag),g(document,"touchend",this._deselectMultiDrag)),g(document,"keydown",this._checkKeyDown),g(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,r){var n="";ht.length&&lt===e?ht.forEach((function(e,t){n+=(t?", ":"")+e.textContent})):n=r.textContent,t.setData("Text",n)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;dt=t},delayEnded:function(){this.isMultiDrag=~ht.indexOf(dt)},setupClone:function(e){var t=e.sortable,r=e.cancel;if(this.isMultiDrag){for(var n=0;n<ht.length;n++)mt.push(R(ht[n])),mt[n].sortableIndex=ht[n].sortableIndex,mt[n].draggable=!1,mt[n].style["will-change"]="",C(mt[n],this.options.selectedClass,!1),ht[n]===dt&&C(mt[n],this.options.chosenClass,!1);t._hideClone(),r()}},clone:function(e){var t=e.sortable,r=e.rootEl,n=e.dispatchSortableEvent,o=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ht.length&&lt===t&&(_t(!0,r),n("clone"),o()))},showClone:function(e){var t=e.cloneNowShown,r=e.rootEl,n=e.cancel;this.isMultiDrag&&(_t(!1,r),mt.forEach((function(e){P(e,"display","")})),t(),pt=!1,n())},hideClone:function(e){var t=this,r=(e.sortable,e.cloneNowHidden),n=e.cancel;this.isMultiDrag&&(mt.forEach((function(e){P(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),r(),pt=!0,n())},dragStartGlobal:function(e){e.sortable;!this.isMultiDrag&&lt&&lt.multiDrag._deselectMultiDrag(),ht.forEach((function(e){e.sortableIndex=N(e)})),ht=ht.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),yt=!0},dragStarted:function(e){var t=this,r=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(r.captureAnimationState(),this.options.animation)){ht.forEach((function(e){e!==dt&&P(e,"position","absolute")}));var n=A(dt,!1,!0,!0);ht.forEach((function(e){e!==dt&&q(e,n)})),gt=!0,vt=!0}r.animateAll((function(){gt=!1,vt=!1,t.options.animation&&ht.forEach((function(e){F(e)})),t.options.sort&&wt()}))}},dragOver:function(e){var t=e.target,r=e.completed,n=e.cancel;gt&&~ht.indexOf(t)&&(r(!1),n())},revert:function(e){var t=e.fromSortable,r=e.rootEl,n=e.sortable,o=e.dragRect;ht.length>1&&(ht.forEach((function(e){n.addAnimationState({target:e,rect:gt?A(e):o}),F(e),e.fromRect=o,t.removeAnimationState(e)})),gt=!1,function(e,t){ht.forEach((function(r,n){var o=t.children[r.sortableIndex+(e?Number(n):0)];o?t.insertBefore(r,o):t.appendChild(r)}))}(!this.options.removeCloneOnHide,r))},dragOverCompleted:function(e){var t=e.sortable,r=e.isOwner,n=e.insertion,o=e.activeSortable,i=e.parentEl,a=e.putSortable,s=this.options;if(n){if(r&&o._hideClone(),vt=!1,s.animation&&ht.length>1&&(gt||!r&&!o.options.sort&&!a)){var c=A(dt,!1,!0,!0);ht.forEach((function(e){e!==dt&&(q(e,c),i.appendChild(e))})),gt=!0}if(!r)if(gt||wt(),ht.length>1){var u=pt;o._showClone(t),o.options.animation&&!pt&&u&&mt.forEach((function(e){o.addAnimationState({target:e,rect:ft}),e.fromRect=ft,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,r=e.isOwner,n=e.activeSortable;if(ht.forEach((function(e){e.thisAnimationDuration=null})),n.options.animation&&!r&&n.multiDrag.isMultiDrag){ft=i({},t);var o=B(dt,!0);ft.top-=o.f,ft.left-=o.e}},dragOverAnimationComplete:function(){gt&&(gt=!1,wt())},drop:function(e){var t=e.originalEvent,r=e.rootEl,n=e.parentEl,o=e.sortable,i=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,c=s||this.sortable;if(t){var u=this.options,l=n.children;if(!yt)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),C(dt,u.selectedClass,!~ht.indexOf(dt)),~ht.indexOf(dt))ht.splice(ht.indexOf(dt),1),ut=null,Y({sortable:o,rootEl:r,name:"deselect",targetEl:dt,originalEvt:t});else{if(ht.push(dt),Y({sortable:o,rootEl:r,name:"select",targetEl:dt,originalEvt:t}),t.shiftKey&&ut&&o.el.contains(ut)){var d,f,p=N(ut),h=N(dt);if(~p&&~h&&p!==h)for(h>p?(f=p,d=h):(f=h,d=p+1);f<d;f++)~ht.indexOf(l[f])||(C(l[f],u.selectedClass,!0),ht.push(l[f]),Y({sortable:o,rootEl:r,name:"select",targetEl:l[f],originalEvt:t}))}else ut=dt;lt=c}if(yt&&this.isMultiDrag){if((n[z].options.sort||n!==r)&&ht.length>1){var m=A(dt),v=N(dt,":not(."+this.options.selectedClass+")");if(!vt&&u.animation&&(dt.thisAnimationDuration=null),c.captureAnimationState(),!vt&&(u.animation&&(dt.fromRect=m,ht.forEach((function(e){if(e.thisAnimationDuration=null,e!==dt){var t=gt?A(e):m;e.fromRect=t,c.addAnimationState({target:e,rect:t})}}))),wt(),ht.forEach((function(e){l[v]?n.insertBefore(e,l[v]):n.appendChild(e),v++})),a===N(dt))){var g=!1;ht.forEach((function(e){e.sortableIndex===N(e)||(g=!0)})),g&&i("update")}ht.forEach((function(e){F(e)})),c.animateAll()}lt=c}(r===n||s&&"clone"!==s.lastPutMode)&&mt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=yt=!1,mt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),y(document,"pointerup",this._deselectMultiDrag),y(document,"mouseup",this._deselectMultiDrag),y(document,"touchend",this._deselectMultiDrag),y(document,"keydown",this._checkKeyDown),y(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==yt&&yt||lt!==this.sortable||e&&w(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;ht.length;){var t=ht[0];C(t,this.options.selectedClass,!1),ht.shift(),Y({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},i(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[z];t&&t.options.multiDrag&&!~ht.indexOf(e)&&(lt&&lt!==t&&(lt.multiDrag._deselectMultiDrag(),lt=t),C(e,t.options.selectedClass,!0),ht.push(e))},deselect:function(e){var t=e.parentNode[z],r=ht.indexOf(e);t&&t.options.multiDrag&&~r&&(C(e,t.options.selectedClass,!1),ht.splice(r,1))}},eventProperties:function(){var e=this,t=[],r=[];return ht.forEach((function(n){var o;t.push({multiDragElement:n,index:n.sortableIndex}),o=gt&&n!==dt?-1:gt?N(n,":not(."+e.options.selectedClass+")"):N(n),r.push({multiDragElement:n,index:o})})),{items:c(ht),clones:[].concat(mt),oldIndicies:t,newIndicies:r}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function _t(e,t){mt.forEach((function(r,n){var o=t.children[r.sortableIndex+(e?Number(n):0)];o?t.insertBefore(r,o):t.appendChild(r)}))}function wt(){ht.forEach((function(e){e!==dt&&e.parentNode&&e.parentNode.removeChild(e)}))}qe.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):this.options.supportPointer?g(document,"pointermove",this._handleFallbackAutoScroll):t.touches?g(document,"touchmove",this._handleFallbackAutoScroll):g(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?y(document,"dragover",this._handleAutoScroll):(y(document,"pointermove",this._handleFallbackAutoScroll),y(document,"touchmove",this._handleFallbackAutoScroll),y(document,"mousemove",this._handleFallbackAutoScroll)),rt(),tt(),clearTimeout(k),k=void 0},nulling:function(){Xe=Qe=Ye=et=Ze=Ke=Ve=null,Je.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var r=this,n=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=document.elementFromPoint(n,o);if(Xe=e,t||d||l||p){ot(e,this.options,i,t);var a=I(i,!0);!et||Ze&&n===Ke&&o===Ve||(Ze&&rt(),Ze=setInterval((function(){var i=I(document.elementFromPoint(n,o),!0);i!==a&&(a=i,tt()),ot(e,r.options,i,t)}),10),Ke=n,Ve=o)}else{if(!this.options.bubbleScroll||I(i,!0)===E())return void tt();ot(e,this.options,I(i,!1),!1)}}},i(e,{pluginName:"scroll",initializeByDefault:!0})}),qe.mount(st,at);const kt=qe},379:(e,t,r)=>{"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),a=[];function s(e){for(var t=-1,r=0;r<a.length;r++)if(a[r].identifier===e){t=r;break}return t}function c(e,t){for(var r={},n=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],u=r[c]||0,l="".concat(c," ").concat(u);r[c]=u+1;var d=s(l),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:l,updater:v(f,t),references:1}),n.push(l)}return n}function u(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=r.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,d=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function f(e,t,r,n){var o=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t,r){var n=r.css,o=r.media,i=r.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var h=null,m=0;function v(e,t){var r,n,o;if(t.singleton){var i=m++;r=h||(h=u(t)),n=f.bind(null,r,i,!1),o=f.bind(null,r,i,!0)}else r=u(t),n=p.bind(null,r,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var r=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var o=s(r[n]);a[o].references--}for(var i=c(e,t),u=0;u<r.length;u++){var l=s(r[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}r=i}}}},765:function(e,t,r){var n;n=function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=2)}([function(e,t){e.exports=function(e,t,r,n){var o,i=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,i=e.default);var s="function"==typeof i?i.options:i;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),r&&(s._scopeId=r),n){var c=Object.create(s.computed||null);Object.keys(n).forEach((function(e){var t=n[e];c[e]=function(){return t}})),s.computed=c}return{esModule:o,exports:i,options:s}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(20),o=new(r.n(n).a)({name:"vue-notification"})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3),o=r.n(n),i=r(1),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.installed){this.installed=!0,this.params=t,e.component(t.componentName||"notifications",o.a);var r=function(e){"string"==typeof e&&(e={title:"",text:e}),"object"===(void 0===e?"undefined":a(e))&&i.a.$emit("add",e)};r.close=function(e){i.a.$emit("close",e)};var n=t.name||"notify";e.prototype["$"+n]=r,e[n]=r}}};t.default=s},function(e,t,r){r(17);var n=r(0)(r(5),r(15),null,null);e.exports=n.exports},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"CssGroup",props:["name"]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),o=r(1),i=r(9),a=r(7),s=r(13),c=r.n(s),u=r(12),l=r.n(u),d=r(8),f=0,p=2,h={name:"Notifications",components:{VelocityGroup:c.a,CssGroup:l.a},props:{group:{type:String,default:""},width:{type:[Number,String],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array],default:function(){return a.a.position}},classes:{type:String,default:"vue-notification"},animationType:{type:String,default:"css",validator:function(e){return"css"===e||"velocity"===e}},animation:{type:Object,default:function(){return a.a.velocityAnimation}},animationName:{type:String,default:a.a.cssAnimation},speed:{type:Number,default:300},cooldown:{type:Number,default:0},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0}},data:function(){return{list:[],velocity:n.default.params.velocity}},mounted:function(){o.a.$on("add",this.addItem),o.a.$on("close",this.closeItem)},computed:{actualWidth:function(){return r.i(d.a)(this.width)},isVA:function(){return"velocity"===this.animationType},componentName:function(){return this.isVA?"VelocityGroup":"CssGroup"},styles:function(){var e,t,n,o=r.i(i.a)(this.position),a=o.x,s=o.y,c=this.actualWidth.value,u=this.actualWidth.type,l=(n="0px",(t=s)in(e={width:c+u})?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e);return"center"===a?l.left="calc(50% - "+c/2+u+")":l[a]="0px",l},active:function(){return this.list.filter((function(e){return e.state!==p}))},botToTop:function(){return this.styles.hasOwnProperty("bottom")}},methods:{destroyIfNecessary:function(e){this.closeOnClick&&this.destroy(e)},addItem:function(e){var t=this;if(e.group=e.group||"",this.group===e.group)if(e.clean||e.clear)this.destroyAll();else{var n="number"==typeof e.duration?e.duration:this.duration,o="number"==typeof e.speed?e.speed:this.speed,a="boolean"==typeof e.ignoreDuplicates?e.ignoreDuplicates:this.ignoreDuplicates,s=e.title,c=e.text,u=e.type,l=e.data,d={id:e.id||r.i(i.b)(),title:s,text:c,type:u,state:f,speed:o,length:n+2*o,data:l};n>=0&&(d.timer=setTimeout((function(){t.destroy(d)}),d.length));var p=this.reverse?!this.botToTop:this.botToTop,h=-1,m=this.active.some((function(t){return t.title===e.title&&t.text===e.text}));(!a||!m)&&(p?(this.list.push(d),this.active.length>this.max&&(h=0)):(this.list.unshift(d),this.active.length>this.max&&(h=this.active.length-1)),-1!==h&&this.destroy(this.active[h]))}},closeItem:function(e){this.destroyById(e)},notifyClass:function(e){return["vue-notification-template",this.classes,e.type]},notifyWrapperStyle:function(e){return this.isVA?null:{transition:"all "+e.speed+"ms"}},destroy:function(e){clearTimeout(e.timer),e.state=p,this.isVA||this.clean()},destroyById:function(e){var t=this.list.find((function(t){return t.id===e}));t&&this.destroy(t)},destroyAll:function(){this.active.forEach(this.destroy)},getAnimation:function(e,t){var r=this.animation[e];return"function"==typeof r?r.call(this,t):r},enter:function(e){var t=e.el,r=e.complete,n=this.getAnimation("enter",t);this.velocity(t,n,{duration:this.speed,complete:r})},leave:function(e){var t=e.el,r=e.complete,n=this.getAnimation("leave",t);this.velocity(t,n,{duration:this.speed,complete:r})},clean:function(){this.list=this.list.filter((function(e){return e.state!==p}))}}};t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"VelocityGroup",methods:{enter:function(e,t){this.$emit("enter",{el:e,complete:t})},leave:function(e,t){this.$emit("leave",{el:e,complete:t})},afterLeave:function(){this.$emit("afterLeave")}}}},function(e,t,r){"use strict";t.a={position:["top","right"],cssAnimation:"vn-fade",velocityAnimation:{enter:function(e){return{height:[e.clientHeight,0],opacity:[1,0]}},leave:{height:0,opacity:[0,1]}}}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o="[-+]?[0-9]*.?[0-9]+",i=[{name:"px",regexp:new RegExp("^"+o+"px$")},{name:"%",regexp:new RegExp("^"+o+"%$")},{name:"px",regexp:new RegExp("^"+o+"$")}];t.a=function(e){switch(void 0===e?"undefined":n(e)){case"number":return{type:"px",value:e};case"string":return function(e){if("auto"===e)return{type:e,value:0};for(var t=0;t<i.length;t++){var r=i[t];if(r.regexp.test(e))return{type:r.name,value:parseFloat(e)}}return{type:"",value:e}}(e);default:return{type:"",value:e}}}},function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return a}));var n,o={x:["left","center","right"],y:["top","bottom"]},i=(n=0,function(){return n++}),a=function(e){"string"==typeof e&&(e=function(e){return"string"!=typeof e?[]:e.split(/\s+/gi).filter((function(e){return e}))}(e));var t=null,r=null;return e.forEach((function(e){-1!==o.y.indexOf(e)&&(r=e),-1!==o.x.indexOf(e)&&(t=e)})),{x:t,y:r}}},function(e,t,r){(e.exports=r(11)()).push([e.i,".vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{background:#fff}.vue-notification,.vue-notification-template{display:block;box-sizing:border-box;text-align:left}.vue-notification{font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44a4fc;border-left:5px solid #187fe7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#e54d42;border-left-color:#b82e24}.vue-notification.success{background:#68cd86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter,.vn-fade-leave-to{opacity:0}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var r=this[t];r[2]?e.push("@media "+r[2]+"{"+r[1]+"}"):e.push(r[1])}return e.join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),e.push(a))}},e}},function(e,t,r){var n=r(0)(r(4),r(16),null,null);e.exports=n.exports},function(e,t,r){var n=r(0)(r(6),r(14),null,null);e.exports=n.exports},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("transition-group",{attrs:{css:!1},on:{enter:e.enter,leave:e.leave,"after-leave":e.afterLeave}},[e._t("default")],2)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"vue-notification-group",style:e.styles},[r(e.componentName,{tag:"component",attrs:{name:e.animationName},on:{enter:e.enter,leave:e.leave,"after-leave":e.clean}},e._l(e.active,(function(t){return r("div",{key:t.id,staticClass:"vue-notification-wrapper",style:e.notifyWrapperStyle(t),attrs:{"data-id":t.id}},[e._t("body",[r("div",{class:e.notifyClass(t),on:{click:function(r){return e.destroyIfNecessary(t)}}},[t.title?r("div",{staticClass:"notification-title",domProps:{innerHTML:e._s(t.title)}}):e._e(),e._v(" "),r("div",{staticClass:"notification-content",domProps:{innerHTML:e._s(t.text)}})])],{item:t,close:function(){return e.destroy(t)}})],2)})),0)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("transition-group",{attrs:{name:e.name}},[e._t("default")],2)},staticRenderFns:[]}},function(e,t,r){var n=r(10);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals),r(18)("2901aeae",n,!0)},function(e,t,r){var n="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o=r(19),i={},a=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},d="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e){for(var t=0;t<e.length;t++){var r=e[t],n=i[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(h(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var a=[];for(o=0;o<r.parts.length;o++)a.push(h(r.parts[o]));i[r.id]={id:r.id,refs:1,parts:a}}}}function p(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function h(e){var t,r,n=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(n){if(u)return l;n.parentNode.removeChild(n)}if(d){var o=c++;n=s||(s=p()),t=g.bind(null,n,o,!1),r=g.bind(null,n,o,!0)}else n=p(),t=y.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}e.exports=function(e,t,r){u=r;var n=o(e,t);return f(n),function(t){for(var r=[],a=0;a<n.length;a++){var s=n[a];(c=i[s.id]).refs--,r.push(c)}for(t?f(n=o(e,t)):n=[],a=0;a<r.length;a++){var c;if(0===(c=r[a]).refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete i[c.id]}}}};var m,v=(m=[],function(e,t){return m[e]=t,m.filter(Boolean).join("\n")});function g(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=v(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function y(e,t){var r=t.css,n=t.media,o=t.sourceMap;if(n&&e.setAttribute("media",n),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},function(e,t){e.exports=function(e,t){for(var r=[],n={},o=0;o<t.length;o++){var i=t[o],a=i[0],s={id:e+":"+o,css:i[1],media:i[2],sourceMap:i[3]};n[a]?n[a].parts.push(s):r.push(n[a]={id:a,parts:[s]})}return r}},function(t,r){t.exports=e}])},e.exports=n(r(538))},464:e=>{e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="fb15")}({"00ee":function(e,t,r){var n={};n[r("b622")("toStringTag")]="z",e.exports="[object z]"===String(n)},"0366":function(e,t,r){var n=r("1c0b");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},"0538":function(e,t,r){"use strict";var n=r("1c0b"),o=r("861d"),i=[].slice,a={},s=function(e,t,r){if(!(t in a)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";a[t]=Function("C,a","return new C("+n.join(",")+")")}return a[t](e,r)};e.exports=Function.bind||function(e){var t=n(this),r=i.call(arguments,1),a=function(){var n=r.concat(i.call(arguments));return this instanceof a?s(t,n.length,n):t.apply(e,n)};return o(t.prototype)&&(a.prototype=t.prototype),a}},"057f":function(e,t,r){var n=r("fc6a"),o=r("241c").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(n(e))}},"06c5":function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("a630"),r("fb6a"),r("b0c0"),r("d3b7"),r("25f0"),r("3ca3");var n=r("6b75");function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},"06cf":function(e,t,r){var n=r("83ab"),o=r("d1e7"),i=r("5c6c"),a=r("fc6a"),s=r("c04e"),c=r("5135"),u=r("0cfb"),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=a(e),t=s(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return i(!o.f.call(e,t),e[t])}},"0cfb":function(e,t,r){var n=r("83ab"),o=r("d039"),i=r("cc12");e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d0e":function(e,t,r){"use strict";r("caad"),r("d81d"),r("d3b7"),r("e6cf"),r("a4d3"),r("4de4"),r("4160"),r("e439"),r("dbb4"),r("b64b"),r("159b");function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r("96cf");var a=r("1da1"),s=r("a180"),c=(r("e260"),r("2532"),r("3ca3"),r("ddb0"),r("2b3d"),r("3835")),u=r("d4ec");function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var d=r("1cc0"),f=r("c036"),p=(r("99af"),r("7db0"),r("fb6a"),r("45fc"),r("b0c0"),r("53ca")),h=(r("13d5"),r("4ec9"),r("cca6"),r("ac1f"),r("25f0"),r("8a79"),r("466d"),!0),m=!0;function v(e,t,r){var n=e.match(t);return n&&n.length>=r&&parseInt(n[r],10)}function g(e,t){m&&console.warn(e+" is deprecated, please use "+t+" instead.")}function y(e){var t={browser:null,version:null};if(void 0===e||!e.navigator)return t.browser="Not a browser.",t;var r=e.navigator;if(r.mozGetUserMedia)t.browser="firefox",t.version=v(r.userAgent,/Firefox\/(\d+)\./,1);else if(r.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection&&!e.RTCIceGatherer)t.browser="chrome",t.version=v(r.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(r.mediaDevices&&r.userAgent.match(/Edge\/(\d+).(\d+)$/))t.browser="edge",t.version=v(r.userAgent,/Edge\/(\d+).(\d+)$/,2);else{if(!e.RTCPeerConnection||!r.userAgent.match(/AppleWebKit\/(\d+)\./))return t.browser="Not a supported browser.",t;t.browser="safari",t.version=v(r.userAgent,/AppleWebKit\/(\d+)\./,1),t.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype}return t}function b(e){return"[object Object]"===Object.prototype.toString.call(e)}function _(e){return b(e)?Object.keys(e).reduce((function(t,r){var o=b(e[r]),i=o?_(e[r]):e[r],a=o&&!Object.keys(i).length;return void 0===i||a?t:Object.assign(t,n({},r,i))}),{}):e}var w=function(){if("object"===("undefined"==typeof window?"undefined":Object(p.a)(window))){if(h)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}};r("c975"),r("a434");function k(e){var t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){var r=t.mediaDevices,n=r.getUserMedia.bind(r);t.mediaDevices.getUserMedia=function(e){return n(function(e){if(e&&void 0!==e.video)return Object.assign({},e,{video:_(e.video)});return e}(e))}}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=function(e,r,n){t.mediaDevices.getUserMedia(e).then(r,n)}.bind(t))}var x,C,P,B=(x=function(){switch(y(window).browser){case"chrome":!function(e){var t=e&&e.navigator;if(t.mediaDevices){var r=y(e),n=function(e){if("object"!==Object(p.a)(e)||e.mandatory||e.optional)return e;var t={};return Object.keys(e).forEach((function(r){if("require"!==r&&"advanced"!==r&&"mediaSource"!==r){var n="object"===Object(p.a)(e[r])?e[r]:{ideal:e[r]};void 0!==n.exact&&"number"==typeof n.exact&&(n.min=n.max=n.exact);var o=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==n.ideal){t.optional=t.optional||[];var i={};"number"==typeof n.ideal?(i[o("min",r)]=n.ideal,t.optional.push(i),(i={})[o("max",r)]=n.ideal,t.optional.push(i)):(i[o("",r)]=n.ideal,t.optional.push(i))}void 0!==n.exact&&"number"!=typeof n.exact?(t.mandatory=t.mandatory||{},t.mandatory[o("",r)]=n.exact):["min","max"].forEach((function(e){void 0!==n[e]&&(t.mandatory=t.mandatory||{},t.mandatory[o(e,r)]=n[e])}))}})),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},o=function(e,o){if(r.version>=61)return o(e);if((e=JSON.parse(JSON.stringify(e)))&&"object"===Object(p.a)(e.audio)){var i=function(e,t,r){t in e&&!(r in e)&&(e[r]=e[t],delete e[t])};i((e=JSON.parse(JSON.stringify(e))).audio,"autoGainControl","googAutoGainControl"),i(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=n(e.audio)}if(e&&"object"===Object(p.a)(e.video)){var a=e.video.facingMode;a=a&&("object"===Object(p.a)(a)?a:{ideal:a});var s,c=r.version<66;if(a&&("user"===a.exact||"environment"===a.exact||"user"===a.ideal||"environment"===a.ideal)&&(!t.mediaDevices.getSupportedConstraints||!t.mediaDevices.getSupportedConstraints().facingMode||c)&&(delete e.video.facingMode,"environment"===a.exact||"environment"===a.ideal?s=["back","rear"]:"user"!==a.exact&&"user"!==a.ideal||(s=["front"]),s))return t.mediaDevices.enumerateDevices().then((function(t){var r=(t=t.filter((function(e){return"videoinput"===e.kind}))).find((function(e){return s.some((function(t){return e.label.toLowerCase().includes(t)}))}));return!r&&t.length&&s.includes("back")&&(r=t[t.length-1]),r&&(e.video.deviceId=a.exact?{exact:r.deviceId}:{ideal:r.deviceId}),e.video=n(e.video),w("chrome: "+JSON.stringify(e)),o(e)}));e.video=n(e.video)}return w("chrome: "+JSON.stringify(e)),o(e)},i=function(e){return r.version>=64?e:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};if(t.getUserMedia=function(e,r,n){o(e,(function(e){t.webkitGetUserMedia(e,r,(function(e){n&&n(i(e))}))}))}.bind(t),t.mediaDevices.getUserMedia){var a=t.mediaDevices.getUserMedia.bind(t.mediaDevices);t.mediaDevices.getUserMedia=function(e){return o(e,(function(e){return a(e).then((function(t){if(e.audio&&!t.getAudioTracks().length||e.video&&!t.getVideoTracks().length)throw t.getTracks().forEach((function(e){e.stop()})),new DOMException("","NotFoundError");return t}),(function(e){return Promise.reject(i(e))}))}))}}}}(window);break;case"firefox":!function(e){var t=y(e),r=e&&e.navigator,n=e&&e.MediaStreamTrack;if(r.getUserMedia=function(e,t,n){g("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),r.mediaDevices.getUserMedia(e).then(t,n)},!(t.version>55&&"autoGainControl"in r.mediaDevices.getSupportedConstraints())){var o=function(e,t,r){t in e&&!(r in e)&&(e[r]=e[t],delete e[t])},i=r.mediaDevices.getUserMedia.bind(r.mediaDevices);if(r.mediaDevices.getUserMedia=function(e){return"object"===Object(p.a)(e)&&"object"===Object(p.a)(e.audio)&&(e=JSON.parse(JSON.stringify(e)),o(e.audio,"autoGainControl","mozAutoGainControl"),o(e.audio,"noiseSuppression","mozNoiseSuppression")),i(e)},n&&n.prototype.getSettings){var a=n.prototype.getSettings;n.prototype.getSettings=function(){var e=a.apply(this,arguments);return o(e,"mozAutoGainControl","autoGainControl"),o(e,"mozNoiseSuppression","noiseSuppression"),e}}if(n&&n.prototype.applyConstraints){var s=n.prototype.applyConstraints;n.prototype.applyConstraints=function(e){return"audio"===this.kind&&"object"===Object(p.a)(e)&&(e=JSON.parse(JSON.stringify(e)),o(e,"autoGainControl","mozAutoGainControl"),o(e,"noiseSuppression","mozNoiseSuppression")),s.apply(this,[e])}}}}(window);break;case"edge":!function(e){var t=e&&e.navigator,r=t.mediaDevices.getUserMedia.bind(t.mediaDevices);t.mediaDevices.getUserMedia=function(e){return r(e).catch((function(e){return Promise.reject(function(e){return{name:{PermissionDeniedError:"NotAllowedError"}[e.name]||e.name,message:e.message,constraint:e.constraint,toString:function(){return this.name}}}(e))}))}}(window);break;case"safari":k(window);break;default:throw new d.c}},C=!1,P=void 0,function(){return C||(P=x.apply(void 0,arguments),C=!0),P}),S=function(){function e(t,r){Object(u.a)(this,e),this.videoEl=t,this.stream=r}var t,r,n;return t=e,(r=[{key:"stop",value:function(){var e=this;this.videoEl.srcObject=null,this.stream.getTracks().forEach((function(t){e.stream.removeTrack(t),t.stop()}))}},{key:"getCapabilities",value:function(){var e,t,r=this.stream.getVideoTracks(),n=Object(c.a)(r,1)[0];return null!==(e=null==n||null===(t=n.getCapabilities)||void 0===t?void 0:t.call(n))&&void 0!==e?e:{}}}])&&l(t.prototype,r),n&&l(t,n),e}(),E=function(){var e=Object(a.a)(regeneratorRuntime.mark((function e(t){var r,n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=["OBS Virtual Camera","OBS-Camera"],e.next=3,navigator.mediaDevices.enumerateDevices();case 3:if(!((n=e.sent.filter((function(e){return"videoinput"===e.kind})).filter((function(e){var t=e.label;return!r.includes(t)})).filter((function(e){return!e.label.includes("infrared")}))).length>2)){e.next=16;break}o=n[0],i=n[n.length-1],e.t0=t,e.next="auto"===e.t0?10:"rear"===e.t0?11:"front"===e.t0?12:13;break;case 10:case 11:return e.abrupt("return",{deviceId:{exact:i.deviceId}});case 12:return e.abrupt("return",{deviceId:{exact:o.deviceId}});case 13:case 22:return e.abrupt("return",void 0);case 14:e.next=23;break;case 16:e.t1=t,e.next="auto"===e.t1?19:"rear"===e.t1?20:"front"===e.t1?21:22;break;case 19:return e.abrupt("return",{facingMode:{ideal:"environment"}});case 20:return e.abrupt("return",{facingMode:{exact:"environment"}});case 21:return e.abrupt("return",{facingMode:{exact:"user"}});case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e,t){return L.apply(this,arguments)};function L(){return(L=Object(a.a)(regeneratorRuntime.mark((function e(t,r){var n,o,a,s,u,l,p,h,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=r.camera,s=r.torch,!0===window.isSecureContext){e.next=3;break}throw new d.b;case 3:if(void 0!==(null===(n=navigator)||void 0===n||null===(o=n.mediaDevices)||void 0===o?void 0:o.getUserMedia)){e.next=5;break}throw new d.c;case 5:return e.next=7,B();case 7:return e.t0=i,e.t1={width:{min:360,ideal:640,max:1920},height:{min:240,ideal:480,max:1080}},e.next=11,E(a);case 11:return e.t2=e.sent,e.t3=(0,e.t0)(e.t1,e.t2),u={audio:!1,video:e.t3},e.next=16,navigator.mediaDevices.getUserMedia(u);case 16:return l=e.sent,void 0!==t.srcObject?t.srcObject=l:void 0!==t.mozSrcObject?t.mozSrcObject=l:window.URL.createObjectURL?t.src=window.URL.createObjectURL(l):window.webkitURL?t.src=window.webkitURL.createObjectURL(l):t.src=l,e.next=20,Object(f.a)(t,"loadeddata");case 20:return e.next=22,Object(f.b)(500);case 22:return s&&(p=l.getVideoTracks(),h=Object(c.a)(p,1),m=h[0],m.getCapabilities().torch?m.applyConstraints({advanced:[{torch:!0}]}):console.warn("device does not support torch capability")),e.abrupt("return",new S(t,l));case 24:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var O={name:"qrcode-stream",mixins:[r("b3af").a],props:{camera:{type:String,default:"auto",validator:function(e){return["auto","rear","front","off"].includes(e)}},torch:{type:Boolean,default:!1},track:{type:Function}},data:function(){return{cameraInstance:null,destroyed:!1}},computed:{shouldStream:function(){return!1===this.destroyed&&"off"!==this.camera},shouldScan:function(){return!0===this.shouldStream&&null!==this.cameraInstance},scanInterval:function(){return void 0===this.track?500:40}},watch:{shouldStream:function(e){if(!e){var t=this.$refs.pauseFrame,r=t.getContext("2d"),n=this.$refs.video;t.width=n.videoWidth,t.height=n.videoHeight,r.drawImage(n,0,0,n.videoWidth,n.videoHeight)}},shouldScan:function(e){e&&(this.clearCanvas(this.$refs.pauseFrame),this.clearCanvas(this.$refs.trackingLayer),this.startScanning())},torch:function(){this.init()},camera:function(){this.init()}},mounted:function(){this.init()},beforeDestroy:function(){this.beforeResetCamera(),this.destroyed=!0},methods:{init:function(){var e=this,t=Object(a.a)(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.beforeResetCamera(),"off"!==e.camera){t.next=6;break}return e.cameraInstance=null,t.abrupt("return",{capabilities:{}});case 6:return t.next=8,A(e.$refs.video,{camera:e.camera,torch:e.torch});case 8:return e.cameraInstance=t.sent,r=e.cameraInstance.getCapabilities(),e.destroyed&&e.cameraInstance.stop(),t.abrupt("return",{capabilities:r});case 12:case"end":return t.stop()}}),t)})))();this.$emit("init",t)},startScanning:function(){var e=this;Object(s.a)(this.$refs.video,{detectHandler:function(t){e.onDetect(Promise.resolve(t))},locateHandler:this.onLocate,minDelay:this.scanInterval})},beforeResetCamera:function(){null!==this.cameraInstance&&(this.cameraInstance.stop(),this.cameraInstance=null)},onLocate:function(e){var t=this.$refs.trackingLayer,r=this.$refs.video;if(void 0!==t)if(e.length>0&&void 0!==this.track&&void 0!==r){var n=r.offsetWidth,o=r.offsetHeight,a=r.videoWidth,s=r.videoHeight,c=Math.max(n/a,o/s),u=a*c,l=s*c,d=u/a,f=l/s,p=(n-u)/2,h=(o-l)/2,m=function(e){var t=e.x,r=e.y;return{x:Math.floor(t*d),y:Math.floor(r*f)}},v=function(e){var t=e.x,r=e.y;return{x:Math.floor(t+p),y:Math.floor(r+h)}},g=e.map((function(e){var t=e.boundingBox,r=e.cornerPoints,n=v(m({x:t.x,y:t.y})),o=n.x,a=n.y,s=m({x:t.width,y:t.height}),c=s.x,u=s.y;return i(i({},e),{},{cornerPoints:r.map((function(e){return v(m(e))})),boundingBox:DOMRectReadOnly.fromRect({x:o,y:a,width:c,height:u})})}));t.width=r.offsetWidth,t.height=r.offsetHeight;var y=t.getContext("2d");this.track(g,y)}else this.clearCanvas(t)},repaintTrackingLayer:function(e,t,r){var n=this,o=t.getContext("2d");window.requestAnimationFrame((function(){t.width=displayWidth,t.height=displayHeight,n.trackRepaintFunction(coordinatesAdjusted,o)}))},clearCanvas:function(e){e.getContext("2d").clearRect(0,0,e.width,e.height)}}},T=O,N=(r("15fd"),r("2877")),j=Object(N.a)(T,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"qrcode-stream-wrapper"},[r("video",{ref:"video",staticClass:"qrcode-stream-camera",class:{"qrcode-stream-camera--hidden":!e.shouldScan},attrs:{autoplay:"",muted:"",playsinline:""},domProps:{muted:!0}}),r("canvas",{directives:[{name:"show",rawName:"v-show",value:!e.shouldScan,expression:"!shouldScan"}],ref:"pauseFrame",staticClass:"qrcode-stream-camera"}),r("canvas",{ref:"trackingLayer",staticClass:"qrcode-stream-overlay"}),r("div",{staticClass:"qrcode-stream-overlay"},[e._t("default")],2)])}),[],!1,null,"35411cc1",null);t.a=j.exports},"0d3b":function(e,t,r){var n=r("d039"),o=r("b622"),i=r("c430"),a=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},"131a":function(e,t,r){r("23e7")({target:"Object",stat:!0},{setPrototypeOf:r("d2bb")})},"13d5":function(e,t,r){"use strict";var n=r("23e7"),o=r("d58f").left,i=r("a640"),a=r("ae40"),s=i("reduce"),c=a("reduce",{1:0});n({target:"Array",proto:!0,forced:!s||!c},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(e,t,r){var n=r("c6b6"),o=r("9263");e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var i=r.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"159b":function(e,t,r){var n=r("da84"),o=r("fdbc"),i=r("17c2"),a=r("9112");for(var s in o){var c=n[s],u=c&&c.prototype;if(u&&u.forEach!==i)try{a(u,"forEach",i)}catch(e){u.forEach=i}}},"15fd":function(e,t,r){"use strict";var n=r("1d20");r.n(n).a},"17c2":function(e,t,r){"use strict";var n=r("b727").forEach,o=r("a640"),i=r("ae40"),a=o("forEach"),s=i("forEach");e.exports=a&&s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"19aa":function(e,t){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},"1be4":function(e,t,r){var n=r("d066");e.exports=n("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,r){var n=r("b622")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},"1cc0":function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"c",(function(){return h})),r.d(t,"b",(function(){return m}));r("b0c0");var n=r("d4ec");r("131a");function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}r("4ae1"),r("3410");function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}r("d3b7"),r("25f0");function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var c=r("53ca");function u(e,t){return!t||"object"!==Object(c.a)(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){var t=s();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return u(this,r)}}r("e260"),r("4ec9"),r("3ca3"),r("ddb0"),r("c975");function d(e,t,r){return d=s()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&o(i,r.prototype),i},d.apply(null,arguments)}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return d(e,arguments,a(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,e)},f(e)}var p=function(e){i(r,e);var t=l(r);function r(){var e;return Object(n.a)(this,r),(e=t.call(this,"can't process cross-origin image")).name="DropImageFetchError",e}return r}(f(Error)),h=function(e){i(r,e);var t=l(r);function r(){var e;return Object(n.a)(this,r),(e=t.call(this,"this browser has no Stream API support")).name="StreamApiNotSupportedError",e}return r}(f(Error)),m=function(e){i(r,e);var t=l(r);function r(){var e;return Object(n.a)(this,r),(e=t.call(this,"camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.")).name="InsecureContextError",e}return r}(f(Error))},"1cdc":function(e,t,r){var n=r("342f");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},"1d20":function(e,t,r){var n=r("7260");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("499e").default)("22ae7e38",n,!0,{sourceMap:!1,shadowMode:!1})},"1d80":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"1da1":function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("d3b7"),r("e6cf");function n(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)}))}}},"1dde":function(e,t,r){var n=r("d039"),o=r("b622"),i=r("2d00"),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2266:function(e,t,r){var n=r("825a"),o=r("e95a"),i=r("50c4"),a=r("0366"),s=r("35a1"),c=r("9bdd"),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,r,l,d){var f,p,h,m,v,g,y,b=a(t,r,l?2:1);if(d)f=e;else{if("function"!=typeof(p=s(e)))throw TypeError("Target is not iterable");if(o(p)){for(h=0,m=i(e.length);m>h;h++)if((v=l?b(n(y=e[h])[0],y[1]):b(e[h]))&&v instanceof u)return v;return new u(!1)}f=p.call(e)}for(g=f.next;!(y=g.call(f)).done;)if("object"==typeof(v=c(f,b,y.value,l))&&v&&v instanceof u)return v;return new u(!1)}).stop=function(e){return new u(!0,e)}},"23cb":function(e,t,r){var n=r("a691"),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},"23e7":function(e,t,r){var n=r("da84"),o=r("06cf").f,i=r("9112"),a=r("6eeb"),s=r("ce4e"),c=r("e893"),u=r("94ca");e.exports=function(e,t){var r,l,d,f,p,h=e.target,m=e.global,v=e.stat;if(r=m?n:v?n[h]||s(h,{}):(n[h]||{}).prototype)for(l in t){if(f=t[l],d=e.noTargetGet?(p=o(r,l))&&p.value:r[l],!u(m?l:h+(v?".":"#")+l,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(r,l,f,e)}}},"241c":function(e,t,r){var n=r("ca84"),o=r("7839").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},"24fb":function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var o=(a=n,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(c," */")),i=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(i).concat([o]).join("\n")}var a,s,c;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},2532:function(e,t,r){"use strict";var n=r("23e7"),o=r("5a34"),i=r("1d80");n({target:"String",proto:!0,forced:!r("ab13")("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},"25f0":function(e,t,r){"use strict";var n=r("6eeb"),o=r("825a"),i=r("d039"),a=r("ad6d"),s="toString",c=RegExp.prototype,u=c.toString,l=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),d=u.name!=s;(l||d)&&n(RegExp.prototype,s,(function(){var e=o(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in c)?a.call(e):r)}),{unsafe:!0})},2626:function(e,t,r){"use strict";var n=r("d066"),o=r("9bf2"),i=r("b622"),a=r("83ab"),s=i("species");e.exports=function(e){var t=n(e),r=o.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},2877:function(e,t,r){"use strict";function n(e,t,r,n,o,i,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}r.d(t,"a",(function(){return n}))},2909:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r("6b75");r("a4d3"),r("e01a"),r("d28b"),r("a630"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");var o=r("06c5");function i(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},"2b3d":function(e,t,r){"use strict";r("3ca3");var n,o=r("23e7"),i=r("83ab"),a=r("0d3b"),s=r("da84"),c=r("37e8"),u=r("6eeb"),l=r("19aa"),d=r("5135"),f=r("60da"),p=r("4df4"),h=r("6547").codeAt,m=r("5fb2"),v=r("d44e"),g=r("9861"),y=r("69f3"),b=s.URL,_=g.URLSearchParams,w=g.getState,k=y.set,x=y.getterFor("URL"),C=Math.floor,P=Math.pow,B="Invalid scheme",S="Invalid host",E="Invalid port",A=/[A-Za-z]/,L=/[\d+-.A-Za-z]/,O=/\d/,T=/^(0x|0X)/,N=/^[0-7]+$/,j=/^\d+$/,I=/^[\dA-Fa-f]+$/,D=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,M=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,$=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,R=/[\u0009\u000A\u000D]/g,q=function(e,t){var r,n,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return S;if(!(r=z(t.slice(1,-1))))return S;e.host=r}else if(V(e)){if(t=m(t),D.test(t))return S;if(null===(r=F(t)))return S;e.host=r}else{if(M.test(t))return S;for(r="",n=p(t),o=0;o<n.length;o++)r+=Q(n[o],U);e.host=r}},F=function(e){var t,r,n,o,i,a,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=c[n]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=T.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?j:8==i?N:I).test(o))return e;a=parseInt(o,i)}r.push(a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=P(256,5-t))return null}else if(a>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*P(256,3-n);return s},z=function(e){var t,r,n,o,i,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,l=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=r=0;r<4&&I.test(f());)t=16*t+parseInt(f(),16),d++,r++;if("."==f()){if(0==r)return;if(d-=r,u>6)return;for(n=0;f();){if(o=null,n>0){if(!("."==f()&&n<4))return;d++}if(!O.test(f()))return;for(;O.test(f());){if(i=parseInt(f(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;d++}c[u]=256*c[u]+o,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;c[u++]=t}else{if(null!==l)return;d++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s;else if(8!=u)return;return c},G=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=C(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},U={},W=f({},U,{" ":1,'"':1,"<":1,">":1,"`":1}),H=f({},W,{"#":1,"?":1,"{":1,"}":1}),Y=f({},H,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Q=function(e,t){var r=h(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},K={ftp:21,file:null,http:80,https:443,ws:80,wss:443},V=function(e){return d(K,e.scheme)},X=function(e){return""!=e.username||""!=e.password},Z=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},J=function(e,t){var r;return 2==e.length&&A.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},ee=function(e){var t;return e.length>1&&J(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&J(t[0],!0)||t.pop()},re=function(e){return"."===e||"%2e"===e.toLowerCase()},ne={},oe={},ie={},ae={},se={},ce={},ue={},le={},de={},fe={},pe={},he={},me={},ve={},ge={},ye={},be={},_e={},we={},ke={},xe={},Ce=function(e,t,r,o){var i,a,s,c,u,l=r||ne,f=0,h="",m=!1,v=!1,g=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace($,"")),t=t.replace(R,""),i=p(t);f<=i.length;){switch(a=i[f],l){case ne:if(!a||!A.test(a)){if(r)return B;l=ie;continue}h+=a.toLowerCase(),l=oe;break;case oe:if(a&&(L.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(r)return B;h="",l=ie,f=0;continue}if(r&&(V(e)!=d(K,h)||"file"==h&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,r)return void(V(e)&&K[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?l=ve:V(e)&&o&&o.scheme==e.scheme?l=ae:V(e)?l=le:"/"==i[f+1]?(l=se,f++):(e.cannotBeABaseURL=!0,e.path.push(""),l=we)}break;case ie:if(!o||o.cannotBeABaseURL&&"#"!=a)return B;if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,l=xe;break}l="file"==o.scheme?ve:ce;continue;case ae:if("/"!=a||"/"!=i[f+1]){l=ce;continue}l=de,f++;break;case se:if("/"==a){l=fe;break}l=_e;continue;case ce:if(e.scheme=o.scheme,a==n)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&V(e))l=ue;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",l=ke;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),l=_e;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=xe}break;case ue:if(!V(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,l=_e;continue}l=fe}else l=de;break;case le:if(l=de,"/"!=a||"/"!=h.charAt(f+1))continue;f++;break;case de:if("/"!=a&&"\\"!=a){l=fe;continue}break;case fe:if("@"==a){m&&(h="%40"+h),m=!0,s=p(h);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||g){var _=Q(b,Y);g?e.password+=_:e.username+=_}else g=!0}h=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&V(e)){if(m&&""==h)return"Invalid authority";f-=p(h).length+1,h="",l=pe}else h+=a;break;case pe:case he:if(r&&"file"==e.scheme){l=ye;continue}if(":"!=a||v){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&V(e)){if(V(e)&&""==h)return S;if(r&&""==h&&(X(e)||null!==e.port))return;if(c=q(e,h))return c;if(h="",l=be,r)return;continue}"["==a?v=!0:"]"==a&&(v=!1),h+=a}else{if(""==h)return S;if(c=q(e,h))return c;if(h="",l=me,r==he)return}break;case me:if(!O.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&V(e)||r){if(""!=h){var w=parseInt(h,10);if(w>65535)return E;e.port=V(e)&&w===K[e.scheme]?null:w,h=""}if(r)return;l=be;continue}return E}h+=a;break;case ve:if(e.scheme="file","/"==a||"\\"==a)l=ge;else{if(!o||"file"!=o.scheme){l=_e;continue}if(a==n)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",l=ke;else{if("#"!=a){ee(i.slice(f).join(""))||(e.host=o.host,e.path=o.path.slice(),te(e)),l=_e;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=xe}}break;case ge:if("/"==a||"\\"==a){l=ye;break}o&&"file"==o.scheme&&!ee(i.slice(f).join(""))&&(J(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),l=_e;continue;case ye:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&J(h))l=_e;else if(""==h){if(e.host="",r)return;l=be}else{if(c=q(e,h))return c;if("localhost"==e.host&&(e.host=""),r)return;h="",l=be}continue}h+=a;break;case be:if(V(e)){if(l=_e,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(l=_e,"/"!=a))continue}else e.fragment="",l=xe;else e.query="",l=ke;break;case _e:if(a==n||"/"==a||"\\"==a&&V(e)||!r&&("?"==a||"#"==a)){if(".."===(u=(u=h).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(te(e),"/"==a||"\\"==a&&V(e)||e.path.push("")):re(h)?"/"==a||"\\"==a&&V(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&J(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==n||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=ke):"#"==a&&(e.fragment="",l=xe)}else h+=Q(a,H);break;case we:"?"==a?(e.query="",l=ke):"#"==a?(e.fragment="",l=xe):a!=n&&(e.path[0]+=Q(a,U));break;case ke:r||"#"!=a?a!=n&&("'"==a&&V(e)?e.query+="%27":e.query+="#"==a?"%23":Q(a,U)):(e.fragment="",l=xe);break;case xe:a!=n&&(e.fragment+=Q(a,W))}f++}},Pe=function(e){var t,r,n=l(this,Pe,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=k(n,{type:"URL"});if(void 0!==o)if(o instanceof Pe)t=x(o);else if(r=Ce(t={},String(o)))throw TypeError(r);if(r=Ce(s,a,null,t))throw TypeError(r);var c=s.searchParams=new _,u=w(c);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(c)||null},i||(n.href=Se.call(n),n.origin=Ee.call(n),n.protocol=Ae.call(n),n.username=Le.call(n),n.password=Oe.call(n),n.host=Te.call(n),n.hostname=Ne.call(n),n.port=je.call(n),n.pathname=Ie.call(n),n.search=De.call(n),n.searchParams=Me.call(n),n.hash=$e.call(n))},Be=Pe.prototype,Se=function(){var e=x(this),t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,c=e.fragment,u=t+":";return null!==o?(u+="//",X(e)&&(u+=r+(n?":"+n:"")+"@"),u+=G(o),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},Ee=function(){var e=x(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&V(e)?t+"://"+G(e.host)+(null!==r?":"+r:""):"null"},Ae=function(){return x(this).scheme+":"},Le=function(){return x(this).username},Oe=function(){return x(this).password},Te=function(){var e=x(this),t=e.host,r=e.port;return null===t?"":null===r?G(t):G(t)+":"+r},Ne=function(){var e=x(this).host;return null===e?"":G(e)},je=function(){var e=x(this).port;return null===e?"":String(e)},Ie=function(){var e=x(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},De=function(){var e=x(this).query;return e?"?"+e:""},Me=function(){return x(this).searchParams},$e=function(){var e=x(this).fragment;return e?"#"+e:""},Re=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&c(Be,{href:Re(Se,(function(e){var t=x(this),r=String(e),n=Ce(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:Re(Ee),protocol:Re(Ae,(function(e){var t=x(this);Ce(t,String(e)+":",ne)})),username:Re(Le,(function(e){var t=x(this),r=p(String(e));if(!Z(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=Q(r[n],Y)}})),password:Re(Oe,(function(e){var t=x(this),r=p(String(e));if(!Z(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=Q(r[n],Y)}})),host:Re(Te,(function(e){var t=x(this);t.cannotBeABaseURL||Ce(t,String(e),pe)})),hostname:Re(Ne,(function(e){var t=x(this);t.cannotBeABaseURL||Ce(t,String(e),he)})),port:Re(je,(function(e){var t=x(this);Z(t)||(""==(e=String(e))?t.port=null:Ce(t,e,me))})),pathname:Re(Ie,(function(e){var t=x(this);t.cannotBeABaseURL||(t.path=[],Ce(t,e+"",be))})),search:Re(De,(function(e){var t=x(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ce(t,e,ke)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Re(Me),hash:Re($e,(function(e){var t=x(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ce(t,e,xe)):t.fragment=null}))}),u(Be,"toJSON",(function(){return Se.call(this)}),{enumerable:!0}),u(Be,"toString",(function(){return Se.call(this)}),{enumerable:!0}),b){var qe=b.createObjectURL,Fe=b.revokeObjectURL;qe&&u(Pe,"createObjectURL",(function(e){return qe.apply(b,arguments)})),Fe&&u(Pe,"revokeObjectURL",(function(e){return Fe.apply(b,arguments)}))}v(Pe,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Pe})},"2ca0":function(e,t,r){"use strict";var n,o=r("23e7"),i=r("06cf").f,a=r("50c4"),s=r("5a34"),c=r("1d80"),u=r("ab13"),l=r("c430"),d="".startsWith,f=Math.min,p=u("startsWith");o({target:"String",proto:!0,forced:!!(l||p||(n=i(String.prototype,"startsWith"),!n||n.writable))&&!p},{startsWith:function(e){var t=String(c(this));s(e);var r=a(f(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return d?d.call(t,n,r):t.slice(r,r+n.length)===n}})},"2cf4":function(e,t,r){var n,o,i,a=r("da84"),s=r("d039"),c=r("c6b6"),u=r("0366"),l=r("1be4"),d=r("cc12"),f=r("1cdc"),p=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,g=a.MessageChannel,y=a.Dispatch,b=0,_={},w="onreadystatechange",k=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},x=function(e){return function(){k(e)}},C=function(e){k(e.data)},P=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};h&&m||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},m=function(e){delete _[e]},"process"==c(v)?n=function(e){v.nextTick(x(e))}:y&&y.now?n=function(e){y.now(x(e))}:g&&!f?(i=(o=new g).port2,o.port1.onmessage=C,n=u(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(P)||"file:"===p.protocol?n=w in d("script")?function(e){l.appendChild(d("script")).onreadystatechange=function(){l.removeChild(this),k(e)}}:function(e){setTimeout(x(e),0)}:(n=P,a.addEventListener("message",C,!1))),e.exports={set:h,clear:m}},"2d00":function(e,t,r){var n,o,i=r("da84"),a=r("342f"),s=i.process,c=s&&s.versions,u=c&&c.v8;u?o=(n=u.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},3410:function(e,t,r){var n=r("23e7"),o=r("d039"),i=r("7b0b"),a=r("e163"),s=r("e177");n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},"342f":function(e,t,r){var n=r("d066");e.exports=n("navigator","userAgent")||""},"35a1":function(e,t,r){var n=r("f5df"),o=r("3f8c"),i=r("b622")("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[n(e)]}},"37e8":function(e,t,r){var n=r("83ab"),o=r("9bf2"),i=r("825a"),a=r("df75");e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=a(t),s=n.length,c=0;s>c;)o.f(e,r=n[c++],t[r]);return e}},3835:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("a4d3"),r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");var n=r("06c5");function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(e,t)||Object(n.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},"3bbe":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3ca3":function(e,t,r){"use strict";var n=r("6547").charAt,o=r("69f3"),i=r("7dd0"),a="String Iterator",s=o.set,c=o.getterFor(a);i(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=c(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},4160:function(e,t,r){"use strict";var n=r("23e7"),o=r("17c2");n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(e,t,r){var n=r("da84");e.exports=n},"44ad":function(e,t,r){var n=r("d039"),o=r("c6b6"),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},"44d2":function(e,t,r){var n=r("b622"),o=r("7c73"),i=r("9bf2"),a=n("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},"44de":function(e,t,r){var n=r("da84");e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},"44e7":function(e,t,r){var n=r("861d"),o=r("c6b6"),i=r("b622")("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},"45fc":function(e,t,r){"use strict";var n=r("23e7"),o=r("b727").some,i=r("a640"),a=r("ae40"),s=i("some"),c=a("some");n({target:"Array",proto:!0,forced:!s||!c},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"466d":function(e,t,r){"use strict";var n=r("d784"),o=r("825a"),i=r("50c4"),a=r("1d80"),s=r("8aa5"),c=r("14c3");n("match",1,(function(e,t,r){return[function(t){var r=a(this),n=null==t?void 0:t[e];return void 0!==n?n.call(t,r):new RegExp(t)[e](String(r))},function(e){var n=r(t,e,this);if(n.done)return n.value;var a=o(e),u=String(this);if(!a.global)return c(a,u);var l=a.unicode;a.lastIndex=0;for(var d,f=[],p=0;null!==(d=c(a,u));){var h=String(d[0]);f[p]=h,""===h&&(a.lastIndex=s(u,i(a.lastIndex),l)),p++}return 0===p?null:f}]}))},4840:function(e,t,r){var n=r("825a"),o=r("1c0b"),i=r("b622")("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[i])?t:o(r)}},4930:function(e,t,r){var n=r("d039");e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},"499e":function(e,t,r){"use strict";function n(e,t){for(var r=[],n={},o=0;o<t.length;o++){var i=t[o],a=i[0],s={id:e+":"+o,css:i[1],media:i[2],sourceMap:i[3]};n[a]?n[a].parts.push(s):r.push(n[a]={id:a,parts:[s]})}return r}r.r(t),r.d(t,"default",(function(){return h}));var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},d=null,f="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,r,o){u=r,d=o||{};var a=n(e,t);return m(a),function(t){for(var r=[],o=0;o<a.length;o++){var s=a[o];(c=i[s.id]).refs--,r.push(c)}t?m(a=n(e,t)):a=[];for(o=0;o<r.length;o++){var c;if(0===(c=r[o]).refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete i[c.id]}}}}function m(e){for(var t=0;t<e.length;t++){var r=e[t],n=i[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(g(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var a=[];for(o=0;o<r.parts.length;o++)a.push(g(r.parts[o]));i[r.id]={id:r.id,refs:1,parts:a}}}}function v(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function g(e){var t,r,n=document.querySelector("style["+f+'~="'+e.id+'"]');if(n){if(u)return l;n.parentNode.removeChild(n)}if(p){var o=c++;n=s||(s=v()),t=_.bind(null,n,o,!1),r=_.bind(null,n,o,!0)}else n=v(),t=w.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}var y,b=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function _(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function w(e,t){var r=t.css,n=t.media,o=t.sourceMap;if(n&&e.setAttribute("media",n),d.ssrId&&e.setAttribute(f,t.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},"4ae1":function(e,t,r){var n=r("23e7"),o=r("d066"),i=r("1c0b"),a=r("825a"),s=r("861d"),c=r("7c73"),u=r("0538"),l=r("d039"),d=o("Reflect","construct"),f=l((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),p=!l((function(){d((function(){}))})),h=f||p;n({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var r=arguments.length<3?e:i(arguments[2]);if(p&&!f)return d(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(u.apply(e,n))}var o=r.prototype,l=c(s(o)?o:Object.prototype),h=Function.apply.call(e,l,t);return s(h)?h:l}})},"4d64":function(e,t,r){var n=r("fc6a"),o=r("50c4"),i=r("23cb"),a=function(e){return function(t,r,a){var s,c=n(t),u=o(c.length),l=i(a,u);if(e&&r!=r){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(e,t,r){"use strict";var n=r("23e7"),o=r("b727").filter,i=r("1dde"),a=r("ae40"),s=i("filter"),c=a("filter");n({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,r){"use strict";var n=r("0366"),o=r("7b0b"),i=r("9bdd"),a=r("e95a"),s=r("50c4"),c=r("8418"),u=r("35a1");e.exports=function(e){var t,r,l,d,f,p,h=o(e),m="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,b=u(h),_=0;if(y&&(g=n(g,v>2?arguments[2]:void 0,2)),null==b||m==Array&&a(b))for(r=new m(t=s(h.length));t>_;_++)p=y?g(h[_],_):h[_],c(r,_,p);else for(f=(d=b.call(h)).next,r=new m;!(l=f.call(d)).done;_++)p=y?i(d,g,[l.value,_],!0):l.value,c(r,_,p);return r.length=_,r}},"4ec9":function(e,t,r){"use strict";var n=r("6d61"),o=r("6566");e.exports=n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},"50c4":function(e,t,r){var n=r("a691"),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},5135:function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},"53ca":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("a4d3"),r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}},5692:function(e,t,r){var n=r("c430"),o=r("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,r){var n=r("d066"),o=r("241c"),i=r("7418"),a=r("825a");e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.f;return r?t.concat(r(e)):t}},"5a34":function(e,t,r){var n=r("44e7");e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5c0b":function(e,t,r){"use strict";r("4160"),r("d81d"),r("159b");var n=r("2909"),o=r("a180"),i={name:"qrcode-capture",mixins:[r("b3af").a],methods:{onChangeInput:function(e){Object(n.a)(e.target.files).map(o.b).forEach(this.onDetect)}}},a=r("2877"),s=Object(a.a)(i,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{attrs:{type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},on:{change:e.onChangeInput}})}),[],!1,null,null,null);t.a=s.exports},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5fb2":function(e,t,r){"use strict";var n=2147483647,o=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",s=Math.floor,c=String.fromCharCode,u=function(e){return e+22+75*(e<26)},l=function(e,t,r){var n=0;for(e=r?s(e/700):e>>1,e+=s(e/t);e>455;n+=36)e=s(e/35);return s(n+36*e/(e+38))},d=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),r--)}else t.push(o)}return t}(e);var r,o,i=e.length,d=128,f=0,p=72;for(r=0;r<e.length;r++)(o=e[r])<128&&t.push(c(o));var h=t.length,m=h;for(h&&t.push("-");m<i;){var v=n;for(r=0;r<e.length;r++)(o=e[r])>=d&&o<v&&(v=o);var g=m+1;if(v-d>s((n-f)/g))throw RangeError(a);for(f+=(v-d)*g,d=v,r=0;r<e.length;r++){if((o=e[r])<d&&++f>n)throw RangeError(a);if(o==d){for(var y=f,b=36;;b+=36){var _=b<=p?1:b>=p+26?26:b-p;if(y<_)break;var w=y-_,k=36-_;t.push(c(u(_+w%k))),y=s(w/k)}t.push(c(u(y))),p=l(f,g,m==h),f=0,++m}}++f,++d}return t.join("")};e.exports=function(e){var t,r,n=[],a=e.toLowerCase().replace(i,".").split(".");for(t=0;t<a.length;t++)r=a[t],n.push(o.test(r)?"xn--"+d(r):r);return n.join(".")}},"60da":function(e,t,r){"use strict";var n=r("83ab"),o=r("d039"),i=r("df75"),a=r("7418"),s=r("d1e7"),c=r("7b0b"),u=r("44ad"),l=Object.assign,d=Object.defineProperty;e.exports=!l||o((function(){if(n&&1!==l({b:1},l(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||i(l({},t)).join("")!=o}))?function(e,t){for(var r=c(e),o=arguments.length,l=1,d=a.f,f=s.f;o>l;)for(var p,h=u(arguments[l++]),m=d?i(h).concat(d(h)):i(h),v=m.length,g=0;v>g;)p=m[g++],n&&!f.call(h,p)||(r[p]=h[p]);return r}:l},6547:function(e,t,r){var n=r("a691"),o=r("1d80"),i=function(e){return function(t,r){var i,a,s=String(o(t)),c=n(r),u=s.length;return c<0||c>=u?e?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):i:e?s.slice(c,c+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},6566:function(e,t,r){"use strict";var n=r("9bf2").f,o=r("7c73"),i=r("e2cc"),a=r("0366"),s=r("19aa"),c=r("2266"),u=r("7dd0"),l=r("2626"),d=r("83ab"),f=r("f183").fastKey,p=r("69f3"),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,r,u){var l=e((function(e,n){s(e,l,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=n&&c(n,e[u],e,r)})),p=m(t),v=function(e,t,r){var n,o,i=p(e),a=g(e,t);return a?a.value=r:(i.last=a={index:o=f(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},g=function(e,t){var r,n=p(e),o=f(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==t)return r};return i(l.prototype,{clear:function(){for(var e=p(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=this,r=p(t),n=g(t,e);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),d?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=p(this),n=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(l.prototype,r?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),d&&n(l.prototype,"size",{get:function(){return p(this).size}}),l},setStrong:function(e,t,r){var n=t+" Iterator",o=m(t),i=m(n);u(e,t,(function(e,t){h(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),l(t)}}},"65f0":function(e,t,r){var n=r("861d"),o=r("e8b5"),i=r("b622")("species");e.exports=function(e,t){var r;return o(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},"69f3":function(e,t,r){var n,o,i,a=r("7f9a"),s=r("da84"),c=r("861d"),u=r("9112"),l=r("5135"),d=r("f772"),f=r("d012"),p=s.WeakMap;if(a){var h=new p,m=h.get,v=h.has,g=h.set;n=function(e,t){return g.call(h,e,t),t},o=function(e){return m.call(h,e)||{}},i=function(e){return v.call(h,e)}}else{var y=d("state");f[y]=!0,n=function(e,t){return u(e,y,t),t},o=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},"6b75":function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},"6d61":function(e,t,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("94ca"),a=r("6eeb"),s=r("f183"),c=r("2266"),u=r("19aa"),l=r("861d"),d=r("d039"),f=r("1c7e"),p=r("d44e"),h=r("7156");e.exports=function(e,t,r){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=m?"set":"add",y=o[e],b=y&&y.prototype,_=y,w={},k=function(e){var t=b[e];a(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:function(e,r){return t.call(this,0===e?0:e,r),this})};if(i(e,"function"!=typeof y||!(v||b.forEach&&!d((function(){(new y).entries().next()})))))_=r.getConstructor(t,e,m,g),s.REQUIRED=!0;else if(i(e,!0)){var x=new _,C=x[g](v?{}:-0,1)!=x,P=d((function(){x.has(1)})),B=f((function(e){new y(e)})),S=!v&&d((function(){for(var e=new y,t=5;t--;)e[g](t,t);return!e.has(-0)}));B||((_=t((function(t,r){u(t,_,e);var n=h(new y,t,_);return null!=r&&c(r,n[g],n,m),n}))).prototype=b,b.constructor=_),(P||S)&&(k("delete"),k("has"),m&&k("get")),(S||C)&&k(g),v&&b.clear&&delete b.clear}return w[e]=_,n({global:!0,forced:_!=y},w),p(_,e),v||r.setStrong(_,e,m),_}},"6eeb":function(e,t,r){var n=r("da84"),o=r("9112"),i=r("5135"),a=r("ce4e"),s=r("8925"),c=r("69f3"),u=c.get,l=c.enforce,d=String(String).split("String");(e.exports=function(e,t,r,s){var c=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||o(r,"name",t),l(r).source=d.join("string"==typeof t?t:"")),e!==n?(c?!f&&e[t]&&(u=!0):delete e[t],u?e[t]=r:o(e,t,r)):u?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},7156:function(e,t,r){var n=r("861d"),o=r("d2bb");e.exports=function(e,t,r){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==r&&n(a=i.prototype)&&a!==r.prototype&&o(e,a),e}},7260:function(e,t,r){(t=r("24fb")(!1)).push([e.i,".qrcode-stream-wrapper[data-v-35411cc1]{width:100%;height:100%;position:relative;z-index:0}.qrcode-stream-overlay[data-v-35411cc1]{width:100%;height:100%;position:absolute;top:0;left:0}.qrcode-stream-camera[data-v-35411cc1]{width:100%;height:100%;display:block;-o-object-fit:cover;object-fit:cover}.qrcode-stream-camera--hidden[data-v-35411cc1]{visibility:hidden;position:absolute}",""]),e.exports=t},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,r){var n=r("428f"),o=r("5135"),i=r("e538"),a=r("9bf2").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,r){var n=r("1d80");e.exports=function(e){return Object(n(e))}},"7c73":function(e,t,r){var n,o=r("825a"),i=r("37e8"),a=r("7839"),s=r("d012"),c=r("1be4"),u=r("cc12"),l=r("f772"),d=l("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=n?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var r=a.length;r--;)delete h.prototype[a[r]];return h()};s[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(f.prototype=o(e),r=new f,f.prototype=null,r[d]=e):r=h(),void 0===t?r:i(r,t)}},"7db0":function(e,t,r){"use strict";var n=r("23e7"),o=r("b727").find,i=r("44d2"),a=r("ae40"),s="find",c=!0,u=a(s);s in[]&&Array(1).find((function(){c=!1})),n({target:"Array",proto:!0,forced:c||!u},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(s)},"7dd0":function(e,t,r){"use strict";var n=r("23e7"),o=r("9ed3"),i=r("e163"),a=r("d2bb"),s=r("d44e"),c=r("9112"),u=r("6eeb"),l=r("b622"),d=r("c430"),f=r("3f8c"),p=r("ae93"),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,v=l("iterator"),g="keys",y="values",b="entries",_=function(){return this};e.exports=function(e,t,r,l,p,w,k){o(r,t,l);var x,C,P,B=function(e){if(e===p&&O)return O;if(!m&&e in A)return A[e];switch(e){case g:case y:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},S=t+" Iterator",E=!1,A=e.prototype,L=A[v]||A["@@iterator"]||p&&A[p],O=!m&&L||B(p),T="Array"==t&&A.entries||L;if(T&&(x=i(T.call(new e)),h!==Object.prototype&&x.next&&(d||i(x)===h||(a?a(x,h):"function"!=typeof x[v]&&c(x,v,_)),s(x,S,!0,!0),d&&(f[S]=_))),p==y&&L&&L.name!==y&&(E=!0,O=function(){return L.call(this)}),d&&!k||A[v]===O||c(A,v,O),f[t]=O,p)if(C={values:B(y),keys:w?O:B(g),entries:B(b)},k)for(P in C)(m||E||!(P in A))&&u(A,P,C[P]);else n({target:t,proto:!0,forced:m||E},C);return C}},"7f9a":function(e,t,r){var n=r("da84"),o=r("8925"),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},"825a":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,r){var n=r("d039");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,r){"use strict";var n=r("c04e"),o=r("9bf2"),i=r("5c6c");e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},"861d":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},8875:function(e,t,r){var n,o,i;"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(n=function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(e){var r,n,o,i=/@([^@]*):(\d+):(\d+)\s*$/gi,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e.stack)||i.exec(e.stack),s=a&&a[1]||!1,c=a&&a[2]||!1,u=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");s===u&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var d=0;d<l.length;d++){if("interactive"===l[d].readyState)return l[d];if(l[d].src===s)return l[d];if(s===u&&l[d].innerHTML&&l[d].innerHTML.trim()===o)return l[d]}return null}}return e})?n.apply(t,o):n)||(e.exports=i)},8925:function(e,t,r){var n=r("c6cd"),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},"8a79":function(e,t,r){"use strict";var n,o=r("23e7"),i=r("06cf").f,a=r("50c4"),s=r("5a34"),c=r("1d80"),u=r("ab13"),l=r("c430"),d="".endsWith,f=Math.min,p=u("endsWith");o({target:"String",proto:!0,forced:!!(l||p||(n=i(String.prototype,"endsWith"),!n||n.writable))&&!p},{endsWith:function(e){var t=String(c(this));s(e);var r=arguments.length>1?arguments[1]:void 0,n=a(t.length),o=void 0===r?n:f(a(r),n),i=String(e);return d?d.call(t,i,o):t.slice(o-i.length,o)===i}})},"8aa5":function(e,t,r){"use strict";var n=r("6547").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"90e3":function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},9112:function(e,t,r){var n=r("83ab"),o=r("9bf2"),i=r("5c6c");e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},9263:function(e,t,r){"use strict";var n,o,i=r("ad6d"),a=r("9f7f"),s=RegExp.prototype.exec,c=String.prototype.replace,u=s,l=(n=/a/,o=/b*/g,s.call(n,"a"),s.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(l||f||d)&&(u=function(e){var t,r,n,o,a=this,u=d&&a.sticky,p=i.call(a),h=a.source,m=0,v=e;return u&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),v=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),r=new RegExp("^(?:"+h+")",p)),f&&(r=new RegExp("^"+h+"$(?!\\s)",p)),l&&(t=a.lastIndex),n=s.call(u?r:a,v),u?n?(n.input=n.input.slice(m),n[0]=n[0].slice(m),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:l&&n&&(a.lastIndex=a.global?n.index+n[0].length:t),f&&n&&n.length>1&&c.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),e.exports=u},"94ca":function(e,t,r){var n=r("d039"),o=/#|\.prototype\./,i=function(e,t){var r=s[a(e)];return r==u||r!=c&&("function"==typeof t?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},"96cf":function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(e,t,r){var n=l;return function(o,i){if(n===f)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=C(a,r);if(s){if(s===h)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var c=u(e,t,r);if("normal"===c.type){if(n=r.done?p:d,c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l="suspendedStart",d="suspendedYield",f="executing",p="completed",h={};function m(){}function v(){}function g(){}var y={};y[i]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(E([])));_&&_!==r&&n.call(_,i)&&(y=_);var w=g.prototype=m.prototype=Object.create(y);function k(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e,t){function r(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function C(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=u(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,h;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function B(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function E(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:A}}function A(){return{value:t,done:!0}}return v.prototype=w.constructor=g,g.constructor=v,g[s]=v.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},k(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new x(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(w),w[s]="Generator",w[i]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=E,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(B),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),B(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;B(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:E(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},9861:function(e,t,r){"use strict";r("e260");var n=r("23e7"),o=r("d066"),i=r("0d3b"),a=r("6eeb"),s=r("e2cc"),c=r("d44e"),u=r("9ed3"),l=r("69f3"),d=r("19aa"),f=r("5135"),p=r("0366"),h=r("f5df"),m=r("825a"),v=r("861d"),g=r("7c73"),y=r("5c6c"),b=r("9a1f"),_=r("35a1"),w=r("b622"),k=o("fetch"),x=o("Headers"),C=w("iterator"),P="URLSearchParams",B="URLSearchParamsIterator",S=l.set,E=l.getterFor(P),A=l.getterFor(B),L=/\+/g,O=Array(4),T=function(e){return O[e-1]||(O[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},N=function(e){try{return decodeURIComponent(e)}catch(t){return e}},j=function(e){var t=e.replace(L," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(T(r--),N);return t}},I=/[!'()~]|%20/g,D={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},M=function(e){return D[e]},$=function(e){return encodeURIComponent(e).replace(I,M)},R=function(e,t){if(t)for(var r,n,o=t.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),e.push({key:j(n.shift()),value:j(n.join("="))}))},q=function(e){this.entries.length=0,R(this.entries,e)},F=function(e,t){if(e<t)throw TypeError("Not enough arguments")},z=u((function(e,t){S(this,{type:B,iterator:b(E(e).entries),kind:t})}),"Iterator",(function(){var e=A(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),G=function(){d(this,G,P);var e,t,r,n,o,i,a,s,c,u=arguments.length>0?arguments[0]:void 0,l=this,p=[];if(S(l,{type:P,entries:p,updateURL:function(){},updateSearchParams:q}),void 0!==u)if(v(u))if("function"==typeof(e=_(u)))for(r=(t=e.call(u)).next;!(n=r.call(t)).done;){if((a=(i=(o=b(m(n.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:s.value+""})}else for(c in u)f(u,c)&&p.push({key:c,value:u[c]+""});else R(p,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},U=G.prototype;s(U,{append:function(e,t){F(arguments.length,2);var r=E(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){F(arguments.length,1);for(var t=E(this),r=t.entries,n=e+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;t.updateURL()},get:function(e){F(arguments.length,1);for(var t=E(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){F(arguments.length,1);for(var t=E(this).entries,r=e+"",n=[],o=0;o<t.length;o++)t[o].key===r&&n.push(t[o].value);return n},has:function(e){F(arguments.length,1);for(var t=E(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){F(arguments.length,1);for(var r,n=E(this),o=n.entries,i=!1,a=e+"",s=t+"",c=0;c<o.length;c++)(r=o[c]).key===a&&(i?o.splice(c--,1):(i=!0,r.value=s));i||o.push({key:a,value:s}),n.updateURL()},sort:function(){var e,t,r,n=E(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(e=i[r],t=0;t<r;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===r&&o.push(e)}n.updateURL()},forEach:function(e){for(var t,r=E(this).entries,n=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new z(this,"keys")},values:function(){return new z(this,"values")},entries:function(){return new z(this,"entries")}},{enumerable:!0}),a(U,C,U.entries),a(U,"toString",(function(){for(var e,t=E(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push($(e.key)+"="+$(e.value));return r.join("&")}),{enumerable:!0}),c(G,P),n({global:!0,forced:!i},{URLSearchParams:G}),i||"function"!=typeof k||"function"!=typeof x||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,o=[e];return arguments.length>1&&(v(t=arguments[1])&&(r=t.body,h(r)===P&&((n=t.headers?new x(t.headers):new x).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:y(0,String(r)),headers:y(0,n)}))),o.push(t)),k.apply(this,o)}}),e.exports={URLSearchParams:G,getState:E}},"99af":function(e,t,r){"use strict";var n=r("23e7"),o=r("d039"),i=r("e8b5"),a=r("861d"),s=r("7b0b"),c=r("50c4"),u=r("8418"),l=r("65f0"),d=r("1dde"),f=r("b622"),p=r("2d00"),h=f("isConcatSpreadable"),m=9007199254740991,v="Maximum allowed index exceeded",g=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),y=d("concat"),b=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,forced:!g||!y},{concat:function(e){var t,r,n,o,i,a=s(this),d=l(a,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(b(i=-1===t?a:arguments[t])){if(f+(o=c(i.length))>m)throw TypeError(v);for(r=0;r<o;r++,f++)r in i&&u(d,f,i[r])}else{if(f>=m)throw TypeError(v);u(d,f++,i)}return d.length=f,d}})},"9a1f":function(e,t,r){var n=r("825a"),o=r("35a1");e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},"9bdd":function(e,t,r){var n=r("825a");e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var i=e.return;throw void 0!==i&&n(i.call(e)),t}}},"9bf2":function(e,t,r){var n=r("83ab"),o=r("0cfb"),i=r("825a"),a=r("c04e"),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(i(e),t=a(t,!0),i(r),o)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"9ed3":function(e,t,r){"use strict";var n=r("ae93").IteratorPrototype,o=r("7c73"),i=r("5c6c"),a=r("d44e"),s=r("3f8c"),c=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),a(e,u,!1,!0),s[u]=c,e}},"9f7f":function(e,t,r){"use strict";var n=r("d039");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a180:function(e,t,r){"use strict";r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return d}));r("caad"),r("2532"),r("2ca0"),r("96cf");var n=r("1da1"),o=r("3835"),i=r("1cc0"),a=r("c036"),s=function(e){if(e.length>0){var t=Object(o.a)(e,1)[0],r=Object(o.a)(t.cornerPoints,4),n=r[0],i=r[1],a=r[2],s=r[3];return{content:t.rawValue,location:{topLeftCorner:n,topRightCorner:i,bottomRightCorner:a,bottomLeftCorner:s,topLeftFinderPattern:{},topRightFinderPattern:{},bottomLeftFinderPattern:{}},imageData:null}}return{content:null,location:null,imageData:null}},c=function(e,t){var r=new BarcodeDetector({formats:["qr_code"]}),o=t.detectHandler,i=t.locateHandler,a=t.minDelay;!function t(c){return function(){var u=Object(n.a)(regeneratorRuntime.mark((function n(u){var l,d,f,p,h,m,v,g;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(e.readyState>1)){n.next=13;break}if(l=c.lastScanned,d=c.contentBefore,f=c.locationBefore,!(u-l>=a)){n.next=12;break}return n.next=5,r.detect(e);case 5:p=n.sent,h=s(p),m=h.content,v=h.location,g=h.imageData,null!==m&&m!==d&&o({content:m,location:v,imageData:g}),null===v&&null===f||i(p),window.requestAnimationFrame(t({lastScanned:u,contentBefore:null!=m?m:d,locationBefore:v})),n.next=13;break;case 12:window.requestAnimationFrame(t(c));case 13:case"end":return n.stop()}}),n)})));return function(e){return u.apply(this,arguments)}}()}({contentBefore:null,locationBefore:null,lastScanned:performance.now()})()},u=function(){var e=Object(n.a)(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.startsWith("http")||!1!==t.includes(location.host)){e.next=2;break}throw new i.a;case 2:return(r=document.createElement("img")).src=t,e.next=6,Object(a.a)(r,"load");case 6:return e.abrupt("return",r);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(){var e=Object(n.a)(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new BarcodeDetector({formats:["qr_code"]}),e.next=3,r.detect(t);case 3:return n=e.sent,e.abrupt("return",s(n));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=Object(n.a)(regeneratorRuntime.mark((function e(t){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new BarcodeDetector({formats:["qr_code"]}),e.next=3,u(t);case 3:return n=e.sent,e.next=6,r.detect(n);case 6:return o=e.sent,e.abrupt("return",s(o));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},a434:function(e,t,r){"use strict";var n=r("23e7"),o=r("23cb"),i=r("a691"),a=r("50c4"),s=r("7b0b"),c=r("65f0"),u=r("8418"),l=r("1dde"),d=r("ae40"),f=l("splice"),p=d("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,m=Math.min,v=9007199254740991,g="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!f||!p},{splice:function(e,t){var r,n,l,d,f,p,y=s(this),b=a(y.length),_=o(e,b),w=arguments.length;if(0===w?r=n=0:1===w?(r=0,n=b-_):(r=w-2,n=m(h(i(t),0),b-_)),b+r-n>v)throw TypeError(g);for(l=c(y,n),d=0;d<n;d++)(f=_+d)in y&&u(l,d,y[f]);if(l.length=n,r<n){for(d=_;d<b-n;d++)p=d+r,(f=d+n)in y?y[p]=y[f]:delete y[p];for(d=b;d>b-n+r;d--)delete y[d-1]}else if(r>n)for(d=b-n;d>_;d--)p=d+r-1,(f=d+n-1)in y?y[p]=y[f]:delete y[p];for(d=0;d<r;d++)y[d+_]=arguments[d+2];return y.length=b-n+r,l}})},a4d3:function(e,t,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("d066"),a=r("c430"),s=r("83ab"),c=r("4930"),u=r("fdbf"),l=r("d039"),d=r("5135"),f=r("e8b5"),p=r("861d"),h=r("825a"),m=r("7b0b"),v=r("fc6a"),g=r("c04e"),y=r("5c6c"),b=r("7c73"),_=r("df75"),w=r("241c"),k=r("057f"),x=r("7418"),C=r("06cf"),P=r("9bf2"),B=r("d1e7"),S=r("9112"),E=r("6eeb"),A=r("5692"),L=r("f772"),O=r("d012"),T=r("90e3"),N=r("b622"),j=r("e538"),I=r("746f"),D=r("d44e"),M=r("69f3"),$=r("b727").forEach,R=L("hidden"),q="Symbol",F=N("toPrimitive"),z=M.set,G=M.getterFor(q),U=Object.prototype,W=o.Symbol,H=i("JSON","stringify"),Y=C.f,Q=P.f,K=k.f,V=B.f,X=A("symbols"),Z=A("op-symbols"),J=A("string-to-symbol-registry"),ee=A("symbol-to-string-registry"),te=A("wks"),re=o.QObject,ne=!re||!re.prototype||!re.prototype.findChild,oe=s&&l((function(){return 7!=b(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Y(U,t);n&&delete U[t],Q(e,t,r),n&&e!==U&&Q(U,t,n)}:Q,ie=function(e,t){var r=X[e]=b(W.prototype);return z(r,{type:q,tag:e,description:t}),s||(r.description=t),r},ae=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},se=function(e,t,r){e===U&&se(Z,t,r),h(e);var n=g(t,!0);return h(r),d(X,n)?(r.enumerable?(d(e,R)&&e[R][n]&&(e[R][n]=!1),r=b(r,{enumerable:y(0,!1)})):(d(e,R)||Q(e,R,y(1,{})),e[R][n]=!0),oe(e,n,r)):Q(e,n,r)},ce=function(e,t){h(e);var r=v(t),n=_(r).concat(fe(r));return $(n,(function(t){s&&!ue.call(r,t)||se(e,t,r[t])})),e},ue=function(e){var t=g(e,!0),r=V.call(this,t);return!(this===U&&d(X,t)&&!d(Z,t))&&(!(r||!d(this,t)||!d(X,t)||d(this,R)&&this[R][t])||r)},le=function(e,t){var r=v(e),n=g(t,!0);if(r!==U||!d(X,n)||d(Z,n)){var o=Y(r,n);return!o||!d(X,n)||d(r,R)&&r[R][n]||(o.enumerable=!0),o}},de=function(e){var t=K(v(e)),r=[];return $(t,(function(e){d(X,e)||d(O,e)||r.push(e)})),r},fe=function(e){var t=e===U,r=K(t?Z:v(e)),n=[];return $(r,(function(e){!d(X,e)||t&&!d(U,e)||n.push(X[e])})),n};(c||(W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=T(e),r=function(e){this===U&&r.call(Z,e),d(this,R)&&d(this[R],t)&&(this[R][t]=!1),oe(this,t,y(1,e))};return s&&ne&&oe(U,t,{configurable:!0,set:r}),ie(t,e)},E(W.prototype,"toString",(function(){return G(this).tag})),E(W,"withoutSetter",(function(e){return ie(T(e),e)})),B.f=ue,P.f=se,C.f=le,w.f=k.f=de,x.f=fe,j.f=function(e){return ie(N(e),e)},s&&(Q(W.prototype,"description",{configurable:!0,get:function(){return G(this).description}}),a||E(U,"propertyIsEnumerable",ue,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),$(_(te),(function(e){I(e)})),n({target:q,stat:!0,forced:!c},{for:function(e){var t=String(e);if(d(J,t))return J[t];var r=W(t);return J[t]=r,ee[r]=t,r},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(d(ee,e))return ee[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?b(e):ce(b(e),t)},defineProperty:se,defineProperties:ce,getOwnPropertyDescriptor:le}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:de,getOwnPropertySymbols:fe}),n({target:"Object",stat:!0,forced:l((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(m(e))}}),H)&&n({target:"JSON",stat:!0,forced:!c||l((function(){var e=W();return"[null]"!=H([e])||"{}"!=H({a:e})||"{}"!=H(Object(e))}))},{stringify:function(e,t,r){for(var n,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=t,(p(t)||void 0!==e)&&!ae(e))return f(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ae(t))return t}),o[1]=t,H.apply(null,o)}});W.prototype[F]||S(W.prototype,F,W.prototype.valueOf),D(W,q),O[R]=!0},a630:function(e,t,r){var n=r("23e7"),o=r("4df4");n({target:"Array",stat:!0,forced:!r("1c7e")((function(e){Array.from(e)}))},{from:o})},a640:function(e,t,r){"use strict";var n=r("d039");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},ab13:function(e,t,r){var n=r("b622")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},ac1f:function(e,t,r){"use strict";var n=r("23e7"),o=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(e,t,r){"use strict";var n=r("825a");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ae40:function(e,t,r){var n=r("83ab"),o=r("d039"),i=r("5135"),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(i(s,e))return s[e];t||(t={});var r=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,l=i(t,0)?t[0]:c,d=i(t,1)?t[1]:void 0;return s[e]=!!r&&!o((function(){if(u&&!n)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:c}):e[1]=1,r.call(e,l,d)}))}},ae93:function(e,t,r){"use strict";var n,o,i,a=r("e163"),s=r("9112"),c=r("5135"),u=r("b622"),l=r("c430"),d=u("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):f=!0),null==n&&(n={}),l||c(n,d)||s(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},b041:function(e,t,r){"use strict";var n=r("00ee"),o=r("f5df");e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(e,t,r){var n=r("83ab"),o=r("9bf2").f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/,c="name";n&&!(c in i)&&o(i,c,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},b3af:function(e,t,r){"use strict";r("96cf");var n=r("1da1");function o(e,t,r){var n=document.createElement("canvas"),o=n.getContext("2d");return n.width=t,n.height=r,o.drawImage(e,0,0,t,r),o.getImageData(0,0,t,r)}var i=function(e){try{if(e instanceof HTMLImageElement){try{e.decode()}catch(e){throw new DOMException("HTMLImageElement is not decodable","InvalidStateError")}return Promise.resolve(o(e,e.naturalWidth,e.naturalHeight))}if(e instanceof SVGImageElement)return Promise.resolve(o(e,640,480));if(e instanceof HTMLVideoElement){if(0===e.readyState||1===e.readyState)throw new DOMException("","InvalidStateError");return Promise.resolve(o(e,e.videoWidth,e.videoHeight))}if(e instanceof HTMLCanvasElement){var t=e.getContext("2d");return Promise.resolve(t.getImageData(0,0,e.width,e.height))}if("ImageBitmap"in window&&e instanceof ImageBitmap)return Promise.resolve(o(e,e.width,e.height));if("OffscreenCanvas"in window&&e instanceof OffscreenCanvas){var r=e.getContext("2d");return Promise.resolve(r.getImageData(0,0,e.width,e.height))}return e instanceof Blob?Promise.resolve(a(e)):e instanceof ImageData?Promise.resolve(e):Promise.resolve()}catch(e){return Promise.reject(e)}},a=function(e){try{var t=URL.createObjectURL(e),r=new Image;return r.src=t,Promise.resolve(new Promise((function(e,t){r.onload=e,r.onerror=t}))).then((function(){return URL.revokeObjectURL(t),i(r)}))}catch(e){return Promise.reject(e)}};function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,r){return(l=u()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&c(o,r.prototype),o}).apply(null,arguments)}function d(e){var t="function"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return l(e,arguments,s(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)})(e)}var f=function(e){var t,r;function n(t){var r;return(r=e.call(this)||this).worker=void 0,r.timeout=void 0,r.stringUrl=void 0,r.stringUrl=t,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,c(t,r),n.prototype.postMessage=function(e,t){var r=this;void 0===this.worker?(this.worker=new Worker(this.stringUrl),this.worker.onmessage=function(e){r.dispatchEvent(new MessageEvent("message",{data:e.data}))}):self.clearTimeout(this.timeout),this.worker.postMessage(e,t),this.timeout=self.setTimeout((function(){r.worker.terminate(),r.worker=void 0}),2500)},n}(d(EventTarget)),p=URL.createObjectURL(new Blob(['\n!function(o){"function"==typeof define&&define.amd?define(o):o()}(function(){function o(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var e,r=o((function(o,e){var r;"undefined"!=typeof self&&self,r=function(){return function(o){var e={};function r(t){if(e[t])return e[t].exports;var c=e[t]={i:t,l:!1,exports:{}};return o[t].call(c.exports,c,c.exports,r),c.l=!0,c.exports}return r.m=o,r.c=e,r.d=function(o,e,t){r.o(o,e)||Object.defineProperty(o,e,{configurable:!1,enumerable:!0,get:t})},r.n=function(o){var e=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(e,"a",e),e},r.o=function(o,e){return Object.prototype.hasOwnProperty.call(o,e)},r.p="",r(r.s=3)}([function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function o(o,e){this.width=e,this.height=o.length/e,this.data=o}return o.createEmpty=function(e,r){return new o(new Uint8ClampedArray(e*r),e)},o.prototype.get=function(o,e){return!(o<0||o>=this.width||e<0||e>=this.height||!this.data[e*this.width+o])},o.prototype.set=function(o,e,r){this.data[e*this.width+o]=r?1:0},o.prototype.setRegion=function(o,e,r,t,c){for(var s=e;s<e+t;s++)for(var a=o;a<o+r;a++)this.set(a,s,!!c)},o}();e.BitMatrix=t},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var t=r(2);e.addOrSubtractGF=function(o,e){return o^e};var c=function(){function o(o,e,r){this.primitive=o,this.size=e,this.generatorBase=r,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var c=1,s=0;s<this.size;s++)this.expTable[s]=c,(c*=2)>=this.size&&(c=(c^this.primitive)&this.size-1);for(s=0;s<this.size-1;s++)this.logTable[this.expTable[s]]=s;this.zero=new t.default(this,Uint8ClampedArray.from([0])),this.one=new t.default(this,Uint8ClampedArray.from([1]))}return o.prototype.multiply=function(o,e){return 0===o||0===e?0:this.expTable[(this.logTable[o]+this.logTable[e])%(this.size-1)]},o.prototype.inverse=function(o){if(0===o)throw new Error("Can\'t invert 0");return this.expTable[this.size-this.logTable[o]-1]},o.prototype.buildMonomial=function(o,e){if(o<0)throw new Error("Invalid monomial degree less than 0");if(0===e)return this.zero;var r=new Uint8ClampedArray(o+1);return r[0]=e,new t.default(this,r)},o.prototype.log=function(o){if(0===o)throw new Error("Can\'t take log(0)");return this.logTable[o]},o.prototype.exp=function(o){return this.expTable[o]},o}();e.default=c},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var t=r(1),c=function(){function o(o,e){if(0===e.length)throw new Error("No coefficients.");this.field=o;var r=e.length;if(r>1&&0===e[0]){for(var t=1;t<r&&0===e[t];)t++;if(t===r)this.coefficients=o.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(r-t);for(var c=0;c<this.coefficients.length;c++)this.coefficients[c]=e[t+c]}}else this.coefficients=e}return o.prototype.degree=function(){return this.coefficients.length-1},o.prototype.isZero=function(){return 0===this.coefficients[0]},o.prototype.getCoefficient=function(o){return this.coefficients[this.coefficients.length-1-o]},o.prototype.addOrSubtract=function(e){var r;if(this.isZero())return e;if(e.isZero())return this;var c=this.coefficients,s=e.coefficients;c.length>s.length&&(c=(r=[s,c])[0],s=r[1]);for(var a=new Uint8ClampedArray(s.length),n=s.length-c.length,d=0;d<n;d++)a[d]=s[d];for(d=n;d<s.length;d++)a[d]=t.addOrSubtractGF(c[d-n],s[d]);return new o(this.field,a)},o.prototype.multiply=function(e){if(0===e)return this.field.zero;if(1===e)return this;for(var r=this.coefficients.length,t=new Uint8ClampedArray(r),c=0;c<r;c++)t[c]=this.field.multiply(this.coefficients[c],e);return new o(this.field,t)},o.prototype.multiplyPoly=function(e){if(this.isZero()||e.isZero())return this.field.zero;for(var r=this.coefficients,c=r.length,s=e.coefficients,a=s.length,n=new Uint8ClampedArray(c+a-1),d=0;d<c;d++)for(var l=r[d],i=0;i<a;i++)n[d+i]=t.addOrSubtractGF(n[d+i],this.field.multiply(l,s[i]));return new o(this.field,n)},o.prototype.multiplyByMonomial=function(e,r){if(e<0)throw new Error("Invalid degree less than 0");if(0===r)return this.field.zero;for(var t=this.coefficients.length,c=new Uint8ClampedArray(t+e),s=0;s<t;s++)c[s]=this.field.multiply(this.coefficients[s],r);return new o(this.field,c)},o.prototype.evaluateAt=function(o){var e=0;if(0===o)return this.getCoefficient(0);var r=this.coefficients.length;if(1===o)return this.coefficients.forEach(function(o){e=t.addOrSubtractGF(e,o)}),e;e=this.coefficients[0];for(var c=1;c<r;c++)e=t.addOrSubtractGF(this.field.multiply(o,e),this.coefficients[c]);return e},o}();e.default=c},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var t=r(4),c=r(5),s=r(11),a=r(12);function n(o){var e=a.locate(o);if(!e)return null;for(var r=0,t=e;r<t.length;r++){var n=t[r],d=s.extract(o,n),l=c.decode(d.matrix);if(l)return{binaryData:l.bytes,data:l.text,chunks:l.chunks,location:{topRightCorner:d.mappingFunction(n.dimension,0),topLeftCorner:d.mappingFunction(0,0),bottomRightCorner:d.mappingFunction(n.dimension,n.dimension),bottomLeftCorner:d.mappingFunction(0,n.dimension),topRightFinderPattern:n.topRight,topLeftFinderPattern:n.topLeft,bottomLeftFinderPattern:n.bottomLeft,bottomRightAlignmentPattern:n.alignmentPattern}}}return null}var d={inversionAttempts:"attemptBoth"};function l(o,e,r,c){void 0===c&&(c={});var s=d;Object.keys(s||{}).forEach(function(o){s[o]=c[o]||s[o]});var a="onlyInvert"===s.inversionAttempts||"invertFirst"===s.inversionAttempts,l=t.binarize(o,e,r,"attemptBoth"===s.inversionAttempts||"invertFirst"===s.inversionAttempts),i=l.binarized,B=l.inverted,k=n(a?B:i);return k||"attemptBoth"!==s.inversionAttempts&&"invertFirst"!==s.inversionAttempts||(k=n(a?i:B)),k}l.default=l,e.default=l},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var t=r(0);function c(o,e,r){return o<e?e:o>r?r:o}var s=function(){function o(o,e){this.width=o,this.data=new Uint8ClampedArray(o*e)}return o.prototype.get=function(o,e){return this.data[e*this.width+o]},o.prototype.set=function(o,e,r){this.data[e*this.width+o]=r},o}();e.binarize=function(o,e,r,a){if(o.length!==e*r*4)throw new Error("Malformed data passed to binarizer.");for(var n=new s(e,r),d=0;d<e;d++)for(var l=0;l<r;l++)n.set(d,l,.2126*o[4*(l*e+d)+0]+.7152*o[4*(l*e+d)+1]+.0722*o[4*(l*e+d)+2]);for(var i=Math.ceil(e/8),B=Math.ceil(r/8),k=new s(i,B),u=0;u<B;u++)for(var f=0;f<i;f++){var m=0,C=Infinity,w=0;for(l=0;l<8;l++)for(d=0;d<8;d++){var P=n.get(8*f+d,8*u+l);m+=P,C=Math.min(C,P),w=Math.max(w,P)}var h=m/Math.pow(8,2);if(w-C<=24&&(h=C/2,u>0&&f>0)){var v=(k.get(f,u-1)+2*k.get(f-1,u)+k.get(f-1,u-1))/4;C<v&&(h=v)}k.set(f,u,h)}var y=t.BitMatrix.createEmpty(e,r),p=null;for(a&&(p=t.BitMatrix.createEmpty(e,r)),u=0;u<B;u++)for(f=0;f<i;f++){for(var b=c(f,2,i-3),g=c(u,2,B-3),x=(m=0,-2);x<=2;x++)for(var M=-2;M<=2;M++)m+=k.get(b+x,g+M);var L=m/25;for(x=0;x<8;x++)for(M=0;M<8;M++){var I=n.get(d=8*f+x,l=8*u+M);y.set(d,l,I<=L),a&&p.set(d,l,!(I<=L))}}return a?{binarized:y,inverted:p}:{binarized:y}}},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var t=r(0),c=r(6),s=r(9),a=r(10);function n(o,e){for(var r=o^e,t=0;r;)t++,r&=r-1;return t}function d(o,e){return e<<1|o}var l=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],i=[function(o){return(o.y+o.x)%2==0},function(o){return o.y%2==0},function(o){return o.x%3==0},function(o){return(o.y+o.x)%3==0},function(o){return(Math.floor(o.y/2)+Math.floor(o.x/3))%2==0},function(o){return o.x*o.y%2+o.x*o.y%3==0},function(o){return(o.y*o.x%2+o.y*o.x%3)%2==0},function(o){return((o.y+o.x)%2+o.y*o.x%3)%2==0}];function B(o){var e=function(o){var e=o.height,r=Math.floor((e-17)/4);if(r<=6)return a.VERSIONS[r-1];for(var t=0,c=5;c>=0;c--)for(var s=e-9;s>=e-11;s--)t=d(o.get(s,c),t);var l=0;for(s=5;s>=0;s--)for(c=e-9;c>=e-11;c--)l=d(o.get(s,c),l);for(var i,B=Infinity,k=0,u=a.VERSIONS;k<u.length;k++){var f=u[k];if(f.infoBits===t||f.infoBits===l)return f;var m=n(t,f.infoBits);m<B&&(i=f,B=m),(m=n(l,f.infoBits))<B&&(i=f,B=m)}return B<=3?i:void 0}(o);if(!e)return null;var r=function(o){for(var e=0,r=0;r<=8;r++)6!==r&&(e=d(o.get(r,8),e));for(var t=7;t>=0;t--)6!==t&&(e=d(o.get(8,t),e));var c=o.height,s=0;for(t=c-1;t>=c-7;t--)s=d(o.get(8,t),s);for(r=c-8;r<c;r++)s=d(o.get(r,8),s);for(var a=Infinity,i=null,B=0,k=l;B<k.length;B++){var u=k[B],f=u.bits,m=u.formatInfo;if(f===e||f===s)return m;var C=n(e,f);C<a&&(i=m,a=C),e!==s&&(C=n(s,f))<a&&(i=m,a=C)}return a<=3?i:null}(o);if(!r)return null;var B=function(o,e,r){var t=e.errorCorrectionLevels[r],c=[],s=0;if(t.ecBlocks.forEach(function(o){for(var e=0;e<o.numBlocks;e++)c.push({numDataCodewords:o.dataCodewordsPerBlock,codewords:[]}),s+=o.dataCodewordsPerBlock+t.ecCodewordsPerBlock}),o.length<s)return null;o=o.slice(0,s);for(var a=t.ecBlocks[0].dataCodewordsPerBlock,n=0;n<a;n++)for(var d=0,l=c;d<l.length;d++)l[d].codewords.push(o.shift());if(t.ecBlocks.length>1){var i=t.ecBlocks[0].numBlocks,B=t.ecBlocks[1].numBlocks;for(n=0;n<B;n++)c[i+n].codewords.push(o.shift())}for(;o.length>0;)for(var k=0,u=c;k<u.length;k++)u[k].codewords.push(o.shift());return c}(function(o,e,r){for(var c=i[r.dataMask],s=o.height,a=function(o){var e=17+4*o.versionNumber,r=t.BitMatrix.createEmpty(e,e);r.setRegion(0,0,9,9,!0),r.setRegion(e-8,0,8,9,!0),r.setRegion(0,e-8,9,8,!0);for(var c=0,s=o.alignmentPatternCenters;c<s.length;c++)for(var a=s[c],n=0,d=o.alignmentPatternCenters;n<d.length;n++){var l=d[n];6===a&&6===l||6===a&&l===e-7||a===e-7&&6===l||r.setRegion(a-2,l-2,5,5,!0)}return r.setRegion(6,9,1,e-17,!0),r.setRegion(9,6,e-17,1,!0),o.versionNumber>6&&(r.setRegion(e-11,0,3,6,!0),r.setRegion(0,e-11,6,3,!0)),r}(e),n=[],l=0,B=0,k=!0,u=s-1;u>0;u-=2){6===u&&u--;for(var f=0;f<s;f++)for(var m=k?s-1-f:f,C=0;C<2;C++){var w=u-C;if(!a.get(w,m)){B++;var P=o.get(w,m);c({y:m,x:w})&&(P=!P),l=d(P,l),8===B&&(n.push(l),B=0,l=0)}}k=!k}return n}(o,e,r),e,r.errorCorrectionLevel);if(!B)return null;for(var k=B.reduce(function(o,e){return o+e.numDataCodewords},0),u=new Uint8ClampedArray(k),f=0,m=0,C=B;m<C.length;m++){var w=C[m],P=s.decode(w.codewords,w.codewords.length-w.numDataCodewords);if(!P)return null;for(var h=0;h<w.numDataCodewords;h++)u[f++]=P[h]}try{return c.decode(u,e.versionNumber)}catch(o){return null}}e.decode=function(o){if(null==o)return null;var e=B(o);if(e)return e;for(var r=0;r<o.width;r++)for(var t=r+1;t<o.height;t++)o.get(r,t)!==o.get(t,r)&&(o.set(r,t,!o.get(r,t)),o.set(t,r,!o.get(t,r)));return B(o)}},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var t,c,s=r(7),a=r(8);function n(o,e){for(var r=[],t="",c=o.readBits([10,12,14][e]);c>=3;){if((d=o.readBits(10))>=1e3)throw new Error("Invalid numeric value above 999");var s=Math.floor(d/100),a=Math.floor(d/10)%10,n=d%10;r.push(48+s,48+a,48+n),t+=s.toString()+a.toString()+n.toString(),c-=3}if(2===c){if((d=o.readBits(7))>=100)throw new Error("Invalid numeric value above 99");s=Math.floor(d/10),r.push(48+s,48+(a=d%10)),t+=s.toString()+a.toString()}else if(1===c){var d;if((d=o.readBits(4))>=10)throw new Error("Invalid numeric value above 9");r.push(48+d),t+=d.toString()}return{bytes:r,text:t}}!function(o){o.Numeric="numeric",o.Alphanumeric="alphanumeric",o.Byte="byte",o.Kanji="kanji",o.ECI="eci"}(t=e.Mode||(e.Mode={})),function(o){o[o.Terminator=0]="Terminator",o[o.Numeric=1]="Numeric",o[o.Alphanumeric=2]="Alphanumeric",o[o.Byte=4]="Byte",o[o.Kanji=8]="Kanji",o[o.ECI=7]="ECI"}(c||(c={}));var d=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function l(o,e){for(var r=[],t="",c=o.readBits([9,11,13][e]);c>=2;){var s=o.readBits(11),a=Math.floor(s/45),n=s%45;r.push(d[a].charCodeAt(0),d[n].charCodeAt(0)),t+=d[a]+d[n],c-=2}return 1===c&&(a=o.readBits(6),r.push(d[a].charCodeAt(0)),t+=d[a]),{bytes:r,text:t}}function i(o,e){for(var r=[],t="",c=o.readBits([8,16,16][e]),s=0;s<c;s++){var a=o.readBits(8);r.push(a)}try{t+=decodeURIComponent(r.map(function(o){return"%"+("0"+o.toString(16)).substr(-2)}).join(""))}catch(o){}return{bytes:r,text:t}}function B(o,e){for(var r=[],t="",c=o.readBits([8,10,12][e]),s=0;s<c;s++){var n=o.readBits(13),d=Math.floor(n/192)<<8|n%192;r.push((d+=d<7936?33088:49472)>>8,255&d),t+=String.fromCharCode(a.shiftJISTable[d])}return{bytes:r,text:t}}e.decode=function(o,e){for(var r,a,d,k,u=new s.BitStream(o),f=e<=9?0:e<=26?1:2,m={text:"",bytes:[],chunks:[]};u.available()>=4;){var C=u.readBits(4);if(C===c.Terminator)return m;if(C===c.ECI)0===u.readBits(1)?m.chunks.push({type:t.ECI,assignmentNumber:u.readBits(7)}):0===u.readBits(1)?m.chunks.push({type:t.ECI,assignmentNumber:u.readBits(14)}):0===u.readBits(1)?m.chunks.push({type:t.ECI,assignmentNumber:u.readBits(21)}):m.chunks.push({type:t.ECI,assignmentNumber:-1});else if(C===c.Numeric){var w=n(u,f);m.text+=w.text,(r=m.bytes).push.apply(r,w.bytes),m.chunks.push({type:t.Numeric,text:w.text})}else if(C===c.Alphanumeric){var P=l(u,f);m.text+=P.text,(a=m.bytes).push.apply(a,P.bytes),m.chunks.push({type:t.Alphanumeric,text:P.text})}else if(C===c.Byte){var h=i(u,f);m.text+=h.text,(d=m.bytes).push.apply(d,h.bytes),m.chunks.push({type:t.Byte,bytes:h.bytes,text:h.text})}else if(C===c.Kanji){var v=B(u,f);m.text+=v.text,(k=m.bytes).push.apply(k,v.bytes),m.chunks.push({type:t.Kanji,bytes:v.bytes,text:v.text})}}if(0===u.available()||0===u.readBits(u.available()))return m}},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function o(o){this.byteOffset=0,this.bitOffset=0,this.bytes=o}return o.prototype.readBits=function(o){if(o<1||o>32||o>this.available())throw new Error("Cannot read "+o.toString()+" bits");var e=0;if(this.bitOffset>0){var r=8-this.bitOffset,t=o<r?o:r;e=(this.bytes[this.byteOffset]&255>>8-t<<(c=r-t))>>c,o-=t,this.bitOffset+=t,8===this.bitOffset&&(this.bitOffset=0,this.byteOffset++)}if(o>0){for(;o>=8;)e=e<<8|255&this.bytes[this.byteOffset],this.byteOffset++,o-=8;var c;o>0&&(e=e<<o|(this.bytes[this.byteOffset]&255>>(c=8-o)<<c)>>c,this.bitOffset+=o)}return e},o.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},o}();e.BitStream=t},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var t=r(1),c=r(2);e.decode=function(o,e){var r=new Uint8ClampedArray(o.length);r.set(o);for(var s=new t.default(285,256,0),a=new c.default(s,r),n=new Uint8ClampedArray(e),d=!1,l=0;l<e;l++){var i=a.evaluateAt(s.exp(l+s.generatorBase));n[n.length-1-l]=i,0!==i&&(d=!0)}if(!d)return r;var B=new c.default(s,n),k=function(o,e,r,t){var c;e.degree()<r.degree()&&(e=(c=[r,e])[0],r=c[1]);for(var s=e,a=r,n=o.zero,d=o.one;a.degree()>=t/2;){var l=s,i=n;if(n=d,(s=a).isZero())return null;a=l;for(var B=o.zero,k=s.getCoefficient(s.degree()),u=o.inverse(k);a.degree()>=s.degree()&&!a.isZero();){var f=a.degree()-s.degree(),m=o.multiply(a.getCoefficient(a.degree()),u);B=B.addOrSubtract(o.buildMonomial(f,m)),a=a.addOrSubtract(s.multiplyByMonomial(f,m))}if(d=B.multiplyPoly(n).addOrSubtract(i),a.degree()>=s.degree())return null}var C=d.getCoefficient(0);if(0===C)return null;var w=o.inverse(C);return[d.multiply(w),a.multiply(w)]}(s,s.buildMonomial(e,1),B,e);if(null===k)return null;var u=function(o,e){var r=e.degree();if(1===r)return[e.getCoefficient(1)];for(var t=new Array(r),c=0,s=1;s<o.size&&c<r;s++)0===e.evaluateAt(s)&&(t[c]=o.inverse(s),c++);return c!==r?null:t}(s,k[0]);if(null==u)return null;for(var f=function(o,e,r){for(var c=r.length,s=new Array(c),a=0;a<c;a++){for(var n=o.inverse(r[a]),d=1,l=0;l<c;l++)a!==l&&(d=o.multiply(d,t.addOrSubtractGF(1,o.multiply(r[l],n))));s[a]=o.multiply(e.evaluateAt(n),o.inverse(d)),0!==o.generatorBase&&(s[a]=o.multiply(s[a],n))}return s}(s,k[1],u),m=0;m<u.length;m++){var C=r.length-1-s.log(u[m]);if(C<0)return null;r[C]=t.addOrSubtractGF(r[C],f[m])}return r}},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var t=r(0);function c(o,e,r,t){var c=o.x-e.x+r.x-t.x,s=o.y-e.y+r.y-t.y;if(0===c&&0===s)return{a11:e.x-o.x,a12:e.y-o.y,a13:0,a21:r.x-e.x,a22:r.y-e.y,a23:0,a31:o.x,a32:o.y,a33:1};var a=e.x-r.x,n=t.x-r.x,d=e.y-r.y,l=t.y-r.y,i=a*l-n*d,B=(c*l-n*s)/i,k=(a*s-c*d)/i;return{a11:e.x-o.x+B*e.x,a12:e.y-o.y+B*e.y,a13:B,a21:t.x-o.x+k*t.x,a22:t.y-o.y+k*t.y,a23:k,a31:o.x,a32:o.y,a33:1}}e.extract=function(o,e){for(var r,s,a={a11:(u=c({x:3.5,y:3.5},{x:e.dimension-3.5,y:3.5},{x:e.dimension-6.5,y:e.dimension-6.5},{x:3.5,y:e.dimension-3.5})).a22*u.a33-u.a23*u.a32,a12:u.a13*u.a32-u.a12*u.a33,a13:u.a12*u.a23-u.a13*u.a22,a21:u.a23*u.a31-u.a21*u.a33,a22:u.a11*u.a33-u.a13*u.a31,a23:u.a13*u.a21-u.a11*u.a23,a31:u.a21*u.a32-u.a22*u.a31,a32:u.a12*u.a31-u.a11*u.a32,a33:u.a11*u.a22-u.a12*u.a21},n={a11:(r=c(e.topLeft,e.topRight,e.alignmentPattern,e.bottomLeft)).a11*(s=a).a11+r.a21*s.a12+r.a31*s.a13,a12:r.a12*s.a11+r.a22*s.a12+r.a32*s.a13,a13:r.a13*s.a11+r.a23*s.a12+r.a33*s.a13,a21:r.a11*s.a21+r.a21*s.a22+r.a31*s.a23,a22:r.a12*s.a21+r.a22*s.a22+r.a32*s.a23,a23:r.a13*s.a21+r.a23*s.a22+r.a33*s.a23,a31:r.a11*s.a31+r.a21*s.a32+r.a31*s.a33,a32:r.a12*s.a31+r.a22*s.a32+r.a32*s.a33,a33:r.a13*s.a31+r.a23*s.a32+r.a33*s.a33},d=t.BitMatrix.createEmpty(e.dimension,e.dimension),l=function(o,e){var r=n.a13*o+n.a23*e+n.a33;return{x:(n.a11*o+n.a21*e+n.a31)/r,y:(n.a12*o+n.a22*e+n.a32)/r}},i=0;i<e.dimension;i++)for(var B=0;B<e.dimension;B++){var k=l(B+.5,i+.5);d.set(B,i,o.get(Math.floor(k.x),Math.floor(k.y)))}var u;return{matrix:d,mappingFunction:l}}},function(o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var t=function(o,e){return Math.sqrt(Math.pow(e.x-o.x,2)+Math.pow(e.y-o.y,2))};function c(o){return o.reduce(function(o,e){return o+e})}function s(o,e,r,c){var s,a,n,d,l=[{x:Math.floor(o.x),y:Math.floor(o.y)}],i=Math.abs(e.y-o.y)>Math.abs(e.x-o.x);i?(s=Math.floor(o.y),a=Math.floor(o.x),n=Math.floor(e.y),d=Math.floor(e.x)):(s=Math.floor(o.x),a=Math.floor(o.y),n=Math.floor(e.x),d=Math.floor(e.y));for(var B=Math.abs(n-s),k=Math.abs(d-a),u=Math.floor(-B/2),f=s<n?1:-1,m=a<d?1:-1,C=!0,w=s,P=a;w!==n+f;w+=f){var h=i?P:w,v=i?w:P;if(r.get(h,v)!==C&&(C=!C,l.push({x:h,y:v}),l.length===c+1))break;if((u+=k)>0){if(P===d)break;P+=m,u-=B}}for(var y=[],p=0;p<c;p++)y.push(l[p]&&l[p+1]?t(l[p],l[p+1]):0);return y}function a(o,e,r,t){var c,a=e.y-o.y,n=e.x-o.x,d=s(o,e,r,Math.ceil(t/2)),l=s(o,{x:o.x-n,y:o.y-a},r,Math.ceil(t/2)),i=d.shift()+l.shift()-1;return(c=l.concat(i)).concat.apply(c,d)}function n(o,e){var r=c(o)/c(e),t=0;return e.forEach(function(e,c){t+=Math.pow(o[c]-e*r,2)}),{averageSize:r,error:t}}function d(o,e,r){try{var t=a(o,{x:-1,y:o.y},r,e.length),c=a(o,{x:o.x,y:-1},r,e.length),s=a(o,{x:Math.max(0,o.x-o.y)-1,y:Math.max(0,o.y-o.x)-1},r,e.length),d=a(o,{x:Math.min(r.width,o.x+o.y)+1,y:Math.min(r.height,o.y+o.x)+1},r,e.length),l=n(t,e),i=n(c,e),B=n(s,e),k=n(d,e),u=Math.sqrt(l.error*l.error+i.error*i.error+B.error*B.error+k.error*k.error),f=(l.averageSize+i.averageSize+B.averageSize+k.averageSize)/4;return u+(Math.pow(l.averageSize-f,2)+Math.pow(i.averageSize-f,2)+Math.pow(B.averageSize-f,2)+Math.pow(k.averageSize-f,2))/f}catch(o){return Infinity}}function l(o,e){for(var r=Math.round(e.x);o.get(r,Math.round(e.y));)r--;for(var t=Math.round(e.x);o.get(t,Math.round(e.y));)t++;for(var c=(r+t)/2,s=Math.round(e.y);o.get(Math.round(c),s);)s--;for(var a=Math.round(e.y);o.get(Math.round(c),a);)a++;return{x:c,y:(s+a)/2}}function i(o,e,r,s,n){var l,i,B;try{l=function(o,e,r,s){var n=(c(a(o,r,s,5))/7+c(a(o,e,s,5))/7+c(a(r,o,s,5))/7+c(a(e,o,s,5))/7)/4;if(n<1)throw new Error("Invalid module size");var d=Math.round(t(o,e)/n),l=Math.round(t(o,r)/n),i=Math.floor((d+l)/2)+7;switch(i%4){case 0:i++;break;case 2:i--}return{dimension:i,moduleSize:n}}(s,r,n,o),i=l.dimension,B=l.moduleSize}catch(o){return null}var k=r.x-s.x+n.x,u=r.y-s.y+n.y,f=(t(s,n)+t(s,r))/2/B,m=1-3/f,C={x:s.x+m*(k-s.x),y:s.y+m*(u-s.y)},w=e.map(function(e){var r=(e.top.startX+e.top.endX+e.bottom.startX+e.bottom.endX)/4,s=(e.top.y+e.bottom.y+1)/2;if(o.get(Math.floor(r),Math.floor(s)))return c([e.top.endX-e.top.startX,e.bottom.endX-e.bottom.startX,e.bottom.y-e.top.y+1]),{x:r,y:s,score:d({x:Math.floor(r),y:Math.floor(s)},[1,1,1],o)+t({x:r,y:s},C)}}).filter(function(o){return!!o}).sort(function(o,e){return o.score-e.score});return{alignmentPattern:f>=15&&w.length?w[0]:C,dimension:i}}e.locate=function(o){for(var e=[],r=[],s=[],a=[],n=function(t){for(var n=0,d=!1,l=[0,0,0,0,0],i=function(e){var s=o.get(e,t);if(s===d)n++;else{l=[l[1],l[2],l[3],l[4],n],n=1,d=s;var i=c(l)/7,B=Math.abs(l[0]-i)<i&&Math.abs(l[1]-i)<i&&Math.abs(l[2]-3*i)<3*i&&Math.abs(l[3]-i)<i&&Math.abs(l[4]-i)<i&&!s,k=c(l.slice(-3))/3,u=Math.abs(l[2]-k)<k&&Math.abs(l[3]-k)<k&&Math.abs(l[4]-k)<k&&s;if(B){var f=e-l[3]-l[4],m=f-l[2],C={startX:m,endX:f,y:t};(w=r.filter(function(o){return m>=o.bottom.startX&&m<=o.bottom.endX||f>=o.bottom.startX&&m<=o.bottom.endX||m<=o.bottom.startX&&f>=o.bottom.endX&&l[2]/(o.bottom.endX-o.bottom.startX)<1.5&&l[2]/(o.bottom.endX-o.bottom.startX)>.5})).length>0?w[0].bottom=C:r.push({top:C,bottom:C})}if(u){var w,P=e-l[4],h=P-l[3];C={startX:h,y:t,endX:P},(w=a.filter(function(o){return h>=o.bottom.startX&&h<=o.bottom.endX||P>=o.bottom.startX&&h<=o.bottom.endX||h<=o.bottom.startX&&P>=o.bottom.endX&&l[2]/(o.bottom.endX-o.bottom.startX)<1.5&&l[2]/(o.bottom.endX-o.bottom.startX)>.5})).length>0?w[0].bottom=C:a.push({top:C,bottom:C})}}},B=-1;B<=o.width;B++)i(B);e.push.apply(e,r.filter(function(o){return o.bottom.y!==t&&o.bottom.y-o.top.y>=2})),r=r.filter(function(o){return o.bottom.y===t}),s.push.apply(s,a.filter(function(o){return o.bottom.y!==t})),a=a.filter(function(o){return o.bottom.y===t})},B=0;B<=o.height;B++)n(B);e.push.apply(e,r.filter(function(o){return o.bottom.y-o.top.y>=2})),s.push.apply(s,a);var k=e.filter(function(o){return o.bottom.y-o.top.y>=2}).map(function(e){var r=(e.top.startX+e.top.endX+e.bottom.startX+e.bottom.endX)/4,t=(e.top.y+e.bottom.y+1)/2;if(o.get(Math.round(r),Math.round(t))){var s=[e.top.endX-e.top.startX,e.bottom.endX-e.bottom.startX,e.bottom.y-e.top.y+1],a=c(s)/s.length;return{score:d({x:Math.round(r),y:Math.round(t)},[1,1,3,1,1],o),x:r,y:t,size:a}}}).filter(function(o){return!!o}).sort(function(o,e){return o.score-e.score}).map(function(o,e,r){if(e>4)return null;var t=r.filter(function(o,r){return e!==r}).map(function(e){return{x:e.x,y:e.y,score:e.score+Math.pow(e.size-o.size,2)/o.size,size:e.size}}).sort(function(o,e){return o.score-e.score});if(t.length<2)return null;var c=o.score+t[0].score+t[1].score;return{points:[o].concat(t.slice(0,2)),score:c}}).filter(function(o){return!!o}).sort(function(o,e){return o.score-e.score});if(0===k.length)return null;var u=function(o,e,r){var c,s,a,n,d,l,i,B=t(o,e),k=t(e,r),u=t(o,r);return k>=B&&k>=u?(d=(c=[e,o,r])[0],l=c[1],i=c[2]):u>=k&&u>=B?(d=(s=[o,e,r])[0],l=s[1],i=s[2]):(d=(a=[o,r,e])[0],l=a[1],i=a[2]),(i.x-l.x)*(d.y-l.y)-(i.y-l.y)*(d.x-l.x)<0&&(d=(n=[i,d])[0],i=n[1]),{bottomLeft:d,topLeft:l,topRight:i}}(k[0].points[0],k[0].points[1],k[0].points[2]),f=u.topRight,m=u.topLeft,C=u.bottomLeft,w=i(o,s,f,m,C),P=[];w&&P.push({alignmentPattern:{x:w.alignmentPattern.x,y:w.alignmentPattern.y},bottomLeft:{x:C.x,y:C.y},dimension:w.dimension,topLeft:{x:m.x,y:m.y},topRight:{x:f.x,y:f.y}});var h=l(o,f),v=l(o,m),y=l(o,C),p=i(o,s,h,v,y);return p&&P.push({alignmentPattern:{x:p.alignmentPattern.x,y:p.alignmentPattern.y},bottomLeft:{x:y.x,y:y.y},topLeft:{x:v.x,y:v.y},topRight:{x:h.x,y:h.y},dimension:p.dimension}),0===P.length?null:P}}]).default},o.exports=r()}(e={exports:{}}),e.exports));self.addEventListener("message",function(o){var e=o.data,t=e.id,c=function(o){try{var e=r(o.data,o.width,o.height,{inversionAttempts:"dontInvert"});if(null===e||""===e.data)return[];var t=e.location,c=e.data,s=Object.freeze([t.topLeftCorner,t.topRightCorner,t.bottomRightCorner,t.bottomLeftCorner]),a=Math.min.apply(Math,s.map(function(o){return o.x})),n=Math.max.apply(Math,s.map(function(o){return o.x})),d=Math.min.apply(Math,s.map(function(o){return o.y})),l=Math.max.apply(Math,s.map(function(o){return o.y}));return[{boundingBox:DOMRectReadOnly.fromRect({x:a,y:d,width:n-a,height:l-d}),rawValue:c,format:"qr_code",cornerPoints:s}]}catch(o){return console.error(o),[]}}(e.imageData);self.postMessage({id:t,detectedBarcodes:c})})});\n'],{type:"text/javascript"})),h=["qr_code"],m=function(){function e(e){var t;this.worker=void 0,this.workerLoad=void 0,this.messageCount=void 0;var r=null!=(t=null==e?void 0:e.formats)?t:h;if(0===r.length)throw new TypeError("");if(r.includes("unknown"))throw new TypeError("");this.worker=new f(p),this.workerLoad=0,this.messageCount=0}return e.getSupportedFormats=function(){return Promise.resolve(h)},e.prototype.detect=function(e){try{var t=this;if(t.workerLoad>5)return Promise.resolve([]);t.workerLoad++;var r=t.messageCount++;return Promise.resolve(i(e)).then((function(e){return t.worker.postMessage({id:r,imageData:e},[e.data.buffer]),Promise.resolve(new Promise((function(e){t.worker.addEventListener("message",(function(t){var n=t.data;n.id===r&&e(n.detectedBarcodes)}))}))).then((function(e){return t.workerLoad--,e}))}))}catch(e){return Promise.reject(e)}},e}(),v=m,g={beforeMount:function(){window.BarcodeDetector=v},methods:{onDetect:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function r(){var n,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t.$emit("detect",e),r.prev=1,r.next=4,e;case 4:n=r.sent,null!==(o=n.content)&&t.$emit("decode",o),r.next=11;break;case 9:r.prev=9,r.t0=r.catch(1);case 11:case"end":return r.stop()}}),r,null,[[1,9]])})))()}}},y=r("2877"),b=Object(y.a)(g,undefined,undefined,!1,null,null,null);t.a=b.exports},b575:function(e,t,r){var n,o,i,a,s,c,u,l,d=r("da84"),f=r("06cf").f,p=r("c6b6"),h=r("2cf4").set,m=r("1cdc"),v=d.MutationObserver||d.WebKitMutationObserver,g=d.process,y=d.Promise,b="process"==p(g),_=f(d,"queueMicrotask"),w=_&&_.value;w||(n=function(){var e,t;for(b&&(e=g.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},b?a=function(){g.nextTick(n)}:v&&!m?(s=!0,c=document.createTextNode(""),new v(n).observe(c,{characterData:!0}),a=function(){c.data=s=!s}):y&&y.resolve?(u=y.resolve(void 0),l=u.then,a=function(){l.call(u,n)}):a=function(){h.call(d,n)}),e.exports=w||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},b622:function(e,t,r){var n=r("da84"),o=r("5692"),i=r("5135"),a=r("90e3"),s=r("4930"),c=r("fdbf"),u=o("wks"),l=n.Symbol,d=c?l:l&&l.withoutSetter||a;e.exports=function(e){return i(u,e)||(s&&i(l,e)?u[e]=l[e]:u[e]=d("Symbol."+e)),u[e]}},b635:function(e,t,r){"use strict";(function(e){r.d(t,"e",(function(){return a}));var n=r("0d0e");r.d(t,"c",(function(){return n.a}));var o=r("5c0b");r.d(t,"a",(function(){return o.a}));var i=r("fe6b");function a(e){e.component("qrcode-stream",n.a),e.component("qrcode-capture",o.a),e.component("qrcode-drop-zone",i.a)}r.d(t,"b",(function(){return i.a}));var s={install:a};t.d=s;var c=null;"undefined"!=typeof window?c=window.Vue:void 0!==e&&(c=e.Vue),c&&c.use(s)}).call(this,r("c8ba"))},b64b:function(e,t,r){var n=r("23e7"),o=r("7b0b"),i=r("df75");n({target:"Object",stat:!0,forced:r("d039")((function(){i(1)}))},{keys:function(e){return i(o(e))}})},b727:function(e,t,r){var n=r("0366"),o=r("44ad"),i=r("7b0b"),a=r("50c4"),s=r("65f0"),c=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,l=4==e,d=6==e,f=5==e||d;return function(p,h,m,v){for(var g,y,b=i(p),_=o(b),w=n(h,m,3),k=a(_.length),x=0,C=v||s,P=t?C(p,k):r?C(p,0):void 0;k>x;x++)if((f||x in _)&&(y=w(g=_[x],x,b),e))if(t)P[x]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return x;case 2:c.call(P,g)}else if(l)return!1;return d?-1:u||l?l:P}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},bb2f:function(e,t,r){var n=r("d039");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},c036:function(e,t,r){"use strict";function n(e,t,r){var n,o;void 0===r&&(r="error");var i=new Promise((function(e,t){n=e,o=t}));return e.addEventListener(t,n),e.addEventListener(r,o),i.finally((function(){e.removeEventListener(t,n),e.removeEventListener(r,o)})),i}function o(e){return new Promise((function(t){return setTimeout(t,e)}))}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}))},c04e:function(e,t,r){var n=r("861d");e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},c6cd:function(e,t,r){var n=r("da84"),o=r("ce4e"),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},c975:function(e,t,r){"use strict";var n=r("23e7"),o=r("4d64").indexOf,i=r("a640"),a=r("ae40"),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,u=i("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:c||!u||!l},{indexOf:function(e){return c?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},ca84:function(e,t,r){var n=r("5135"),o=r("fc6a"),i=r("4d64").indexOf,a=r("d012");e.exports=function(e,t){var r,s=o(e),c=0,u=[];for(r in s)!n(a,r)&&n(s,r)&&u.push(r);for(;t.length>c;)n(s,r=t[c++])&&(~i(u,r)||u.push(r));return u}},caad:function(e,t,r){"use strict";var n=r("23e7"),o=r("4d64").includes,i=r("44d2");n({target:"Array",proto:!0,forced:!r("ae40")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},cc12:function(e,t,r){var n=r("da84"),o=r("861d"),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},cca6:function(e,t,r){var n=r("23e7"),o=r("60da");n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},cdf9:function(e,t,r){var n=r("825a"),o=r("861d"),i=r("f069");e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},ce4e:function(e,t,r){var n=r("da84"),o=r("9112");e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},d066:function(e,t,r){var n=r("428f"),o=r("da84"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},d1e7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},d28b:function(e,t,r){r("746f")("iterator")},d2bb:function(e,t,r){var n=r("825a"),o=r("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),o(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},d3b7:function(e,t,r){var n=r("00ee"),o=r("6eeb"),i=r("b041");n||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(e,t,r){var n=r("9bf2").f,o=r("5135"),i=r("b622")("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},d4ec:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},d58f:function(e,t,r){var n=r("1c0b"),o=r("7b0b"),i=r("44ad"),a=r("50c4"),s=function(e){return function(t,r,s,c){n(r);var u=o(t),l=i(u),d=a(u.length),f=e?d-1:0,p=e?-1:1;if(s<2)for(;;){if(f in l){c=l[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=p)f in l&&(c=r(c,l[f],f,u));return c}};e.exports={left:s(!1),right:s(!0)}},d784:function(e,t,r){"use strict";r("ac1f");var n=r("6eeb"),o=r("d039"),i=r("b622"),a=r("9263"),s=r("9112"),c=i("species"),u=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),d=i("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,d){var h=i(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!o((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!m||!v||"replace"===e&&(!u||!l||f)||"split"===e&&!p){var g=/./[h],y=r(h,""[e],(function(e,t,r,n,o){return t.exec===a?m&&!o?{done:!0,value:g.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),b=y[0],_=y[1];n(String.prototype,e,b),n(RegExp.prototype,h,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}d&&s(RegExp.prototype[h],"sham",!0)}},d81d:function(e,t,r){"use strict";var n=r("23e7"),o=r("b727").map,i=r("1dde"),a=r("ae40"),s=i("map"),c=a("map");n({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(e,t,r){var n=r("23e7"),o=r("83ab"),i=r("56ef"),a=r("fc6a"),s=r("06cf"),c=r("8418");n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),o=s.f,u=i(n),l={},d=0;u.length>d;)void 0!==(r=o(n,t=u[d++]))&&c(l,t,r);return l}})},ddb0:function(e,t,r){var n=r("da84"),o=r("fdbc"),i=r("e260"),a=r("9112"),s=r("b622"),c=s("iterator"),u=s("toStringTag"),l=i.values;for(var d in o){var f=n[d],p=f&&f.prototype;if(p){if(p[c]!==l)try{a(p,c,l)}catch(e){p[c]=l}if(p[u]||a(p,u,d),o[d])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(e){p[h]=i[h]}}}},df75:function(e,t,r){var n=r("ca84"),o=r("7839");e.exports=Object.keys||function(e){return n(e,o)}},e01a:function(e,t,r){"use strict";var n=r("23e7"),o=r("83ab"),i=r("da84"),a=r("5135"),s=r("861d"),c=r("9bf2").f,u=r("e893"),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var d={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new l(e):void 0===e?l():l(e);return""===e&&(d[t]=!0),t};u(f,l);var p=f.prototype=l.prototype;p.constructor=f;var h=p.toString,m="Symbol(test)"==String(l("test")),v=/^Symbol\((.*)\)[^)]+$/;c(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(a(d,e))return"";var r=m?t.slice(7,-1):t.replace(v,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:f})}},e163:function(e,t,r){var n=r("5135"),o=r("7b0b"),i=r("f772"),a=r("e177"),s=i("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},e177:function(e,t,r){var n=r("d039");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,r){"use strict";var n=r("fc6a"),o=r("44d2"),i=r("3f8c"),a=r("69f3"),s=r("7dd0"),c="Array Iterator",u=a.set,l=a.getterFor(c);e.exports=s(Array,"Array",(function(e,t){u(this,{type:c,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},e2cc:function(e,t,r){var n=r("6eeb");e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},e439:function(e,t,r){var n=r("23e7"),o=r("d039"),i=r("fc6a"),a=r("06cf").f,s=r("83ab"),c=o((function(){a(1)}));n({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},e538:function(e,t,r){var n=r("b622");t.f=n},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},e6cf:function(e,t,r){"use strict";var n,o,i,a,s=r("23e7"),c=r("c430"),u=r("da84"),l=r("d066"),d=r("fea9"),f=r("6eeb"),p=r("e2cc"),h=r("d44e"),m=r("2626"),v=r("861d"),g=r("1c0b"),y=r("19aa"),b=r("c6b6"),_=r("8925"),w=r("2266"),k=r("1c7e"),x=r("4840"),C=r("2cf4").set,P=r("b575"),B=r("cdf9"),S=r("44de"),E=r("f069"),A=r("e667"),L=r("69f3"),O=r("94ca"),T=r("b622"),N=r("2d00"),j=T("species"),I="Promise",D=L.get,M=L.set,$=L.getterFor(I),R=d,q=u.TypeError,F=u.document,z=u.process,G=l("fetch"),U=E.f,W=U,H="process"==b(z),Y=!!(F&&F.createEvent&&u.dispatchEvent),Q="unhandledrejection",K=O(I,(function(){if(!(_(R)!==String(R))){if(66===N)return!0;if(!H&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!R.prototype.finally)return!0;if(N>=51&&/native code/.test(R))return!1;var e=R.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[j]=t,!(e.then((function(){}))instanceof t)})),V=K||!k((function(e){R.all(e).catch((function(){}))})),X=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Z=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;P((function(){for(var o=t.value,i=1==t.state,a=0;n.length>a;){var s,c,u,l=n[a++],d=i?l.ok:l.fail,f=l.resolve,p=l.reject,h=l.domain;try{d?(i||(2===t.rejection&&re(e,t),t.rejection=1),!0===d?s=o:(h&&h.enter(),s=d(o),h&&(h.exit(),u=!0)),s===l.promise?p(q("Promise-chain cycle")):(c=X(s))?c.call(s,f,p):f(s)):p(o)}catch(e){h&&!u&&h.exit(),p(e)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&ee(e,t)}))}},J=function(e,t,r){var n,o;Y?((n=F.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},(o=u["on"+e])?o(n):e===Q&&S("Unhandled promise rejection",r)},ee=function(e,t){C.call(u,(function(){var r,n=t.value;if(te(t)&&(r=A((function(){H?z.emit("unhandledRejection",n,e):J(Q,e,n)})),t.rejection=H||te(t)?2:1,r.error))throw r.value}))},te=function(e){return 1!==e.rejection&&!e.parent},re=function(e,t){C.call(u,(function(){H?z.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},ne=function(e,t,r,n){return function(o){e(t,r,o,n)}},oe=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,Z(e,t,!0))},ie=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw q("Promise can't be resolved itself");var o=X(r);o?P((function(){var n={done:!1};try{o.call(r,ne(ie,e,n,t),ne(oe,e,n,t))}catch(r){oe(e,n,r,t)}})):(t.value=r,t.state=1,Z(e,t,!1))}catch(r){oe(e,{done:!1},r,t)}}};K&&(R=function(e){y(this,R,I),g(e),n.call(this);var t=D(this);try{e(ne(ie,this,t),ne(oe,this,t))}catch(e){oe(this,t,e)}},(n=function(e){M(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(R.prototype,{then:function(e,t){var r=$(this),n=U(x(this,R));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=H?z.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Z(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=D(e);this.promise=e,this.resolve=ne(ie,e,t),this.reject=ne(oe,e,t)},E.f=U=function(e){return e===R||e===i?new o(e):W(e)},c||"function"!=typeof d||(a=d.prototype.then,f(d.prototype,"then",(function(e,t){var r=this;return new R((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof G&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return B(R,G.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:K},{Promise:R}),h(R,I,!1,!0),m(I),i=l(I),s({target:I,stat:!0,forced:K},{reject:function(e){var t=U(this);return t.reject.call(void 0,e),t.promise}}),s({target:I,stat:!0,forced:c||K},{resolve:function(e){return B(c&&this===i?R:this,e)}}),s({target:I,stat:!0,forced:V},{all:function(e){var t=this,r=U(t),n=r.resolve,o=r.reject,i=A((function(){var r=g(t.resolve),i=[],a=0,s=1;w(e,(function(e){var c=a++,u=!1;i.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,i[c]=e,--s||n(i))}),o)})),--s||n(i)}));return i.error&&o(i.value),r.promise},race:function(e){var t=this,r=U(t),n=r.reject,o=A((function(){var o=g(t.resolve);w(e,(function(e){o.call(t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},e893:function(e,t,r){var n=r("5135"),o=r("56ef"),i=r("06cf"),a=r("9bf2");e.exports=function(e,t){for(var r=o(t),s=a.f,c=i.f,u=0;u<r.length;u++){var l=r[u];n(e,l)||s(e,l,c(t,l))}}},e8b5:function(e,t,r){var n=r("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},e95a:function(e,t,r){var n=r("b622"),o=r("3f8c"),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},f069:function(e,t,r){"use strict";var n=r("1c0b"),o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},f183:function(e,t,r){var n=r("d012"),o=r("861d"),i=r("5135"),a=r("9bf2").f,s=r("90e3"),c=r("bb2f"),u=s("meta"),l=0,d=Object.isExtensible||function(){return!0},f=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},p=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[u].objectID},getWeakData:function(e,t){if(!i(e,u)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[u].weakData},onFreeze:function(e){return c&&p.REQUIRED&&d(e)&&!i(e,u)&&f(e),e}};n[u]=!0},f5df:function(e,t,r){var n=r("00ee"),o=r("c6b6"),i=r("b622")("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:a?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},f772:function(e,t,r){var n=r("5692"),o=r("90e3"),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},fb15:function(e,t,r){"use strict";if(r.r(t),r.d(t,"install",(function(){return a.e})),r.d(t,"QrcodeStream",(function(){return a.c})),r.d(t,"QrcodeCapture",(function(){return a.a})),r.d(t,"QrcodeDropZone",(function(){return a.b})),"undefined"!=typeof window){var n=window.document.currentScript,o=r("8875");n=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("b635");t.default=a.d},fb6a:function(e,t,r){"use strict";var n=r("23e7"),o=r("861d"),i=r("e8b5"),a=r("23cb"),s=r("50c4"),c=r("fc6a"),u=r("8418"),l=r("b622"),d=r("1dde"),f=r("ae40"),p=d("slice"),h=f("slice",{ACCESSORS:!0,0:0,1:2}),m=l("species"),v=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!p||!h},{slice:function(e,t){var r,n,l,d=c(this),f=s(d.length),p=a(e,f),h=a(void 0===t?f:t,f);if(i(d)&&("function"!=typeof(r=d.constructor)||r!==Array&&!i(r.prototype)?o(r)&&null===(r=r[m])&&(r=void 0):r=void 0,r===Array||void 0===r))return v.call(d,p,h);for(n=new(void 0===r?Array:r)(g(h-p,0)),l=0;p<h;p++,l++)p in d&&u(n,l,d[p]);return n.length=l,n}})},fc6a:function(e,t,r){var n=r("44ad"),o=r("1d80");e.exports=function(e){return n(o(e))}},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r("4930");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fe6b:function(e,t,r){"use strict";r("4160"),r("159b");var n=r("2909"),o=r("a180"),i={name:"qrcode-drop-zone",mixins:[r("b3af").a],methods:{onDragOver:function(e){this.$emit("dragover",e)},onDrop:function(e){var t=this,r=e.dataTransfer;this.onDragOver(!1);var i=Object(n.a)(r.files),a=r.getData("text/uri-list");i.forEach((function(e){t.onDetect(Object(o.b)(e))})),""!==a&&this.onDetect(Object(o.c)(a))}}},a=r("2877"),s=Object(a.a)(i,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{on:{drop:function(t){return t.preventDefault(),t.stopPropagation(),e.onDrop(t)},dragenter:function(t){return t.preventDefault(),t.stopPropagation(),e.onDragOver(!0)},dragleave:function(t){return t.preventDefault(),t.stopPropagation(),e.onDragOver(!1)},dragover:function(e){e.preventDefault(),e.stopPropagation()}}},[e._t("default")],2)}),[],!1,null,null,null);t.a=s.exports},fea9:function(e,t,r){var n=r("da84");e.exports=n.Promise}})}},e=>{var t=t=>e(e.s=t);e.O(0,[170,898],(()=>(t(537),t(864))));e.O()}]);