(()=>{
(window.ownid.q=window.ownid.q||[]).unshift(
['init', /*##VISIBILITY_CONFIG_INJECTION_START##*/{
"variant": "button-fingerprint",
"widgetPosition": "start",
"infoTooltip": true,
"infoTooltipPosition": "bottom",
"mobileInfoTooltipPosition": "bottom",
"textColor": "#0070F2",
"borderColor": "#D0D0D0",
"backgroundColor": "#FFFFFF",
"supportedLanguages": [
"de",
"en",
"es",
"nl"
],
"customJs": "window.ownid('setTranslations', {\n en: {\n slider: {\n 'login-id-collect': {\n userName: {\n description: 'Mariner Id or Email Address',\n 'no-biometrics': {\n title: 'Mariner Id or Email Address',\n },\n },\n },\n },\n },\n });\n\n const st = document.createElement('style');\n st.innerHTML = `:root{--ownid-modal-btn-secondary-text-decoration:underline}`;\n document.head.appendChild(st);"
}/*##VISIBILITY_CONFIG_INJECTION_END##*/],
['init', /*##CLIENT_CONFIG_INJECTION_START##*/{
"appConfig": {
"magicLink": false,
"passkeysAutofill": false,
"showTooltipBranding": true,
"showTooltipOnEmailEntered": false,
"showExpandableTooltip": true,
"instantConnect": true,
"icTriggers": [
{
"type": "loginWidgetRendered",
"actions": [
{
"type": "promptLogin",
"settings": {
"delay": 0,
"dimBackground": true,
"applyOnDevices": [
"mobile"
]
}
},
{
"type": "promptLogin",
"settings": {
"delay": 0,
"dimBackground": false,
"applyOnDevices": [
"desktop"
]
}
}
],
"conditions": {
"knownUser": true,
"unknownUser": false
}
}
],
"clientWebFlows": true,
"clientEncrypt": false,
"passwordFieldBinding": false,
"ssoCname": null,
"logLevel": 3,
"displayName": "Holland America Line",
"verificationType": "email",
"loginIdSettings": {
"type": "userName",
"regex": "",
"isAllowLoginIdAsEmail": true,
"countries": null
},
"enableRegistrationFromLogin": false,
"windowsBiometricIcon": false,
"modalICWidget": false,
"logoUrl": "https://www.hollandamerica.com/content/dam/hal/logo/logo-hal_185x44.png",
"credentialEnrollment": false,
"desktopFallback": 0,
"mobileFallback": 0,
"enableCookielessRecognizedUser": false
},
"serverUrl": "https://dsd2ioraor0tok.server.ownid.com/ownid",
"env": "prod",
"redirectUrlOverride": {
"ios": null,
"android": null
}
}/*##CLIENT_CONFIG_INJECTION_END##*/],
['setTranslations', /*##LOCALIZATION_INJECTION_START##*/{
"en": {
"login": {
"mobileTitle": "Instant Log In",
"desktopTitle": "Use instant log in",
"desktopSubtitle": "Scan the QR code to login",
"pendingMessage": "Logging in...",
"pendingButton": "Cancel",
"doneMessage": ""
},
"login-partial": {
"mobileTitle": "Instant Log In",
"desktopTitle": "Scan this QR with your\nphone to login",
"desktopSubtitle": "",
"pendingMessage": "Logging in...",
"pendingButton": "Cancel",
"doneMessage": ""
},
"register": {
"mobileTitle": "Register without a password",
"desktopTitle": "Register on mobile",
"desktopSubtitle": "Skip the password by scanning this QR with your phone",
"pendingMessage": "Finish the registration on your phone",
"pendingButton": "Cancel",
"doneMessage": ""
},
"register-partial": {
"mobileTitle": "Register without a password",
"desktopTitle": "Scan this QR with your\nphone",
"desktopSubtitle": "",
"pendingMessage": "Loading...",
"pendingButton": "Cancel",
"doneMessage": "Skip Password enabled. Finish registering..."
},
"linkButton": {
"button": "Enable Skip Password"
},
"errors": {
"userAlreadyExists": "Account Already Exists",
"userNotFound": "You don't have an account",
"requiresBiometricInput": "Biometric Input Required",
"accountNotFound": "You don't have an account",
"wrongCodeLimitReached": "Code verification attempts limit reached",
"accountIsBlocked": "Account is blocked",
"general": "Something went wrong. Try again later.",
"sendCodeLimitReached": "Code verification attempts limit reached",
"aborted": "Aborted",
"cancel_not_supported": "Cancel not supported",
"login_id_type_not_supported": "Login ID type not supported",
"login_id_validation_failed": "Login ID validation failed",
"empty_login_id": "Login ID validation failed",
"maximum_attempts_reached": "Maximum attempts reached",
"network": "Network error occurred. Please check your connection and try again",
"no_applicable_passkeys": "No applicable passkeys",
"passkeys_not_supported": "Passkeys not supported",
"timeout": "Timeout",
"invalid_argument": "Invalid argument",
"integration_error": "Integration error",
"device_not_supported": "Device not supported",
"element_not_found": "Element not found",
"user_not_found": "Account not found",
"user_blocked": "Account is blocked",
"widget_already_exists": "Widget with the same ID already exists, please destroy it first",
"notification_blocked": "Notification was recently dismissed by the user",
"passkey_not_created": "Passkey not created",
"unknown": "Something went wrong. Try again later.",
"verification_code_wrong": "Wrong code. Please try again.",
"maximum_resend_attempts_reached": "Code Verification attempts limit reached",
"oidc_failed": "Social login did not complete successfully",
"screens_not_ready": "Screens not ready",
"user_changed": "User changed",
"login_with_password_failed": "Login with password failed",
"agent_request_denied": "Agent authorization was rejected",
"agent_auth_required": "Agent authorization is required",
"passkey_already_registered": "Passkey already registered",
"session_not_established": "Session not established"
},
"sb": {
"message": "Skip Password"
},
"standaloneButton": {
"qr": {
"login": {
"title": "Sign in with a passkey"
},
"register": {
"title": "Create a passkey"
},
"recover": {
"title": "Sign in with a passkey"
}
},
"login": {
"title": "Sign in with Touch ID",
"windows": {
"title": "Sign in with a passkey"
},
"md": {
"title": "Sign in with a passkey"
},
"ios": {
"title": "Sign in with Face ID"
},
"no-biometrics": {
"title": "Sign in with a code"
}
},
"register": {
"title": "Register with Touch ID",
"finish": {
"title": "Touch ID verified"
},
"windows": {
"title": "Create a passkey"
},
"md": {
"title": "Create a passkey"
},
"ios": {
"title": "Register with Face ID",
"finish": {
"title": "Face ID verified"
}
},
"no-biometrics": {
"title": "Register with a code"
}
},
"recover": {
"title": "Sign in with Touch ID",
"windows": {
"title": "Sign in without a password"
},
"md": {
"title": "Sign in with a passkey"
},
"ios": {
"title": "Sign in with Face ID"
},
"no-biometrics": {
"title": "Use a one-time code"
}
}
},
"ownid-auth-button": {
"message": "Continue"
},
"common": {
"or": "or",
"buttonAriaLabel": "Biometric Authentication",
"ownidAuthEnabled": "Biometric authentication enabled",
"ownidAuthDisabled": "Biometric authentication disabled",
"processing": "Processing",
"loading": "Loading",
"close": "Close"
},
"magicLink": {
"link": "Don't have your phone?",
"title": "Sign in with magic link",
"pendingMessage": "We are sending you an email",
"pendingButton": "Cancel",
"message": "We will send you a link to automatically log you in",
"emailPlaceholder": "Email",
"button": "Send Magic Link",
"back": "Back",
"error": "Account doesn't exist",
"emailNotValid": "Please enter a valid email"
},
"magicLinkDone": {
"title": "Check your email",
"message": "We sent you a link to {email} that will automatically log you in",
"mailButton": {
"gmail": "Open in Gmail"
}
},
"otp-form": {
"a11y": {
"label": "OTP digit {index} of {length}"
}
},
"tooltip": {
"desktop": "Sign in with your\ndevice unlock method",
"macOS": "Sign in with Touch ID",
"ios": "Sign in with Face ID",
"android": "Sign in with Fingerprint",
"noBiometrics": "Sign in with\na one-time code",
"recover": {
"desktop": "Recover instantly with your\ndevice unlock method",
"macOS": "Recover instantly with\nTouch ID",
"ios": "Recover instantly with\nFace ID",
"android": "Recover instantly with Fingerprint",
"noBiometrics": "Recover instantly\nwith a one-time code"
},
"notValidLoginId": "Enter a valid email",
"phoneNumber": {
"notValidLoginId": "Enter a valid phone number"
},
"userName": {
"notValidLoginId": "Enter a valid ID number"
},
"qr": {
"login": "Sign-in faster without a password",
"register": "Register faster without a password"
}
},
"expandableTooltip": {
"general": {
"close": "Close",
"more-info": "More info"
},
"qr": {
"login": {
"title": "Sign in faster without a password",
"details": {
"title": "Sign-in faster without a password",
"description": "Sign in securely with your device’s unlock method, when available, or by scanning a QR code. Biometric data never leaves your device."
}
},
"register": {
"title": "Register faster without a password",
"details": {
"title": "Register faster without a password",
"description": "Register securely with your device’s unlock method, when available, or by scanning a QR code. Biometric data never leaves your device."
}
},
"recover": {
"title": "Sign in without a password",
"details": {
"title": "Recover faster without a password",
"description": "Recover securely with your device’s unlock method, when available, or by scanning a QR code. Biometric data never leaves your device."
}
}
},
"login": {
"title": "Sign in with Touch ID",
"details": {
"title": "Simplify your login",
"description": "Use Touch ID, Face ID or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."
},
"windows": {
"title": "Sign in with your\ndevice unlock method",
"details": {
"description": "Use your device unlock method (fingerprint, PIN etc.) to sign in on any device. It is faster and more secure. Biometric data never leaves your device."
}
},
"md": {
"title": "Sign in with fingerprint",
"details": {
"description": "Use fingerprint or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."
}
},
"ios": {
"title": "Sign in with Face ID",
"details": {
"description": "Use Face ID, Touch ID or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."
}
},
"no-biometrics": {
"title": "Sign in with a one-time code",
"details": {
"description": "Use a one-time code to sign in on any device. It is faster and more secure."
}
}
},
"register": {
"title": "Register with Touch ID",
"details": {
"title": "Simplify your registration",
"description": "Use Touch ID, Face ID or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."
},
"windows": {
"title": "Register with your\ndevice unlock method",
"details": {
"description": "Use your device unlock method (fingerprint, PIN etc.) to sign in on any device. It is faster and more secure. Biometric data never leaves your device."
}
},
"md": {
"title": "Register with fingerprint",
"details": {
"description": "Use fingerprint or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."
}
},
"ios": {
"title": "Register with Face ID",
"details": {
"description": "Use Face ID, Touch ID or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."
}
},
"no-biometrics": {
"title": "Register with a one-time code",
"details": {
"description": "Use a one-time code to sign in on any device. It is faster and more secure."
}
}
},
"recover": {
"title": "Sign in with Touch ID",
"details": {
"title": "Recover your account",
"description": "Use Touch ID, Face ID or PIN to sign in to your account on any device. It is faster and more secure. Biometric data never leaves your device."
},
"windows": {
"title": "Sign in without a password",
"details": {
"description": "Use your device unlock method (fingerprint, PIN etc.) to sign in to your account on any device. It is faster and more secure. Biometric data never leaves your device."
}
},
"md": {
"title": "Sign in with fingerprint",
"details": {
"description": "Use fingerprint or PIN to sign in to your account on any device. It is faster and more secure. Biometric data never leaves your device."
}
},
"ios": {
"title": "Sign in with Face ID",
"details": {
"description": "Use Face ID, Touch ID or PIN to sign in to your account on any device. It is faster and more secure. Biometric data never leaves your device."
}
},
"no-biometrics": {
"title": "Sign in with a One-Time Code",
"details": {
"description": "Use a one-time code to sign in to your account on any device. It is faster and more secure."
}
}
}
},
"modal": {
"general": {
"close": "Cancel",
"restart": "Not you?"
},
"passkey-retry": {
"header": "Sign In",
"title": "It looks like the Touch ID login wasn’t completed",
"description": "No worries—you can try again for a quick and secure login",
"cta": "Try again with Touch ID",
"not-now": "Verify it's me in another way",
"windows": {
"title": "It looks like the Windows Hello login wasn’t completed",
"cta": "Try again with Windows Hello"
},
"ios": {
"title": "It looks like the Face ID login wasn’t completed",
"cta": "Try again with Face ID"
},
"md": {
"title": "It looks like the passkey login wasn’t completed",
"cta": "Try Again",
"not-now": "Continue"
}
},
"login-id-verification": {
"header": "Use One-time Code",
"loading": "Verifying",
"success": "Success",
"title": "Enter the code",
"description": "An email with a {codeLength}-digit code was just sent to\n{loginId}",
"resend": "Resend",
"resendDescription": "Didn't receive the email?",
"a11y": {
"header": "Sign in using a one-time code sent to your email",
"sms": {
"header": "Check your phone"
}
},
"sms": {
"header": "Check your phone",
"description": "An SMS with a {codeLength}-digit code was just sent to\n{loginId}",
"resendDescription": "Didn't receive the SMS?"
}
},
"login-id-collect": {
"header": "Sign In or Register",
"title": "Enter your email to continue",
"placeholder": "Email",
"cta": "Continue",
"phoneNumber": {
"title": "Enter your phone number to continue",
"placeholder": "Phone number"
},
"userName": {
"title": "Enter your ID number to continue",
"placeholder": "ID number"
}
},
"recognized-user": {
"header": "Sign In To {siteName}",
"title": "Use Touch ID to sign in as\n{loginId}",
"cta": "Continue",
"windows": {
"header": "Hello, {loginId}",
"title": "Use your fingerprint, face or PIN to a faster and more secure login"
}
},
"unknown-user": {
"header": "Sign In To {siteName}",
"title": "Use Touch ID for a faster and more secure \nsign in to {siteName}",
"cta": "Continue",
"windows": {
"header": "Sign in to {siteName}",
"title": "Use your fingerprint, face or PIN to a faster and more secure login"
}
}
},
"prompt": {
"returning-user": {
"ios": {
"a11y": {
"title": "Sign in as {loginId}",
"cta": "Continue",
"close": "Close"
},
"title": "Sign In",
"description": "Face ID",
"cta": "Use {loginId}"
},
"md": {
"a11y": {
"close": "Cancel"
},
"title": "Sign in as {loginId}",
"description": "Use your fingerprint to sign in",
"cta": "Continue",
"close": "Close"
},
"no-biometrics": {
"title": "Sign in",
"description": "",
"cta": "Use {loginId}"
},
"macOS": {
"title": "Sign in to {siteOrigin} with Touch ID",
"description": "Use {loginId}",
"cta": "Continue",
"close": "Cancel"
},
"iPad": {
"title": "Sign in to {siteOrigin} with Face ID",
"description": "Use {loginId}",
"cta": "Continue",
"close": "Cancel"
},
"windows": {
"title": "Sign in to {siteOrigin} as {loginId}\n with fingerprint, face or PIN",
"description": "",
"cta": "OK",
"close": "Cancel"
}
},
"always-connected": {
"ios": {
"a11y": {
"title": "Sign in with Face ID",
"cta": "Continue",
"close": "Close"
},
"title": "Sign In",
"description": "Face ID",
"cta": "Sign in with Face ID",
"inputPlaceholder": "Enter your email"
},
"md": {
"a11y": {
"close": "Cancel"
},
"title": "Sign in with Fingerprint",
"description": "Use your fingerprint to sign in",
"cta": "Continue",
"close": "Close",
"inputPlaceholder": "Enter your email"
},
"no-biometrics": {
"title": "Sign in",
"description": "",
"cta": "Use One-Time Code"
},
"macOS": {
"title": "Sign in to {siteOrigin} with Touch ID",
"description": "",
"cta": "Continue",
"close": "Cancel",
"inputPlaceholder": "Enter your email",
"phoneNumber": {
"inputPlaceholder": "Enter your phone number"
},
"userName": {
"inputPlaceholder": "Enter your ID number"
}
},
"iPad": {
"title": "Sign in to {siteOrigin} with Face ID",
"description": "",
"cta": "Continue",
"close": "Cancel",
"inputPlaceholder": "Enter your email",
"phoneNumber": {
"inputPlaceholder": "Enter your phone number"
},
"userName": {
"inputPlaceholder": "Enter your ID number"
}
},
"windows": {
"title": "Sign in to {siteOrigin} with fingerprint, face or PIN",
"description": "",
"cta": "OK",
"close": "Cancel",
"inputPlaceholder": "Enter your email",
"phoneNumber": {
"inputPlaceholder": "Enter your phone number"
},
"userName": {
"inputPlaceholder": "Enter your ID number"
}
}
},
"account-recover": {
"title": "Quick account recovery",
"description": "Sign in securely without resetting your password",
"cta": "Use Face ID",
"skip": "Reset password",
"md": {
"cta": "Continue"
}
}
},
"slider": {
"general": {
"close": "Close",
"md": {
"close": "Cancel"
}
},
"login-id-fallback": {
"title": "Use One-time Code",
"summary": "An email with a {codeLength}-digit code was just sent to\n{loginId}",
"description": "Enter the code",
"cta": "Verify",
"resend": "Resend email",
"sms": {
"title": "Verify Your Identity",
"summary": "We have sent you a {codeLength}-digit code to\n{loginId}",
"resend": "Resend SMS",
"md": {
"title": "Sign in with your fingerprint"
}
}
},
"login-id-verification": {
"title": "Verify Your Email",
"summary": "An email with a {codeLength}-digit code was just sent to\n{loginId}",
"description": "Enter the code",
"cta": "Verify",
"resend": "Resend email",
"sms": {
"title": "Verify Your Identity",
"summary": "We have sent you a {codeLength}-digit code to\n{loginId}",
"resend": "Resend SMS",
"md": {
"title": "Sign in with your fingerprint"
}
}
},
"profile-collect": {
"title": "Complete Your Profile",
"cta": "Continue"
},
"new-device": {
"title": "You are using a different phone",
"description": "Continue to enroll this device",
"cta": "Continue"
},
"login-id-collect": {
"title": "Sign In with Face ID",
"description": "Enter your email",
"cta": "Continue",
"no-biometrics": {
"title": "Enter your email",
"description": "to receive a one-time code"
},
"phoneNumber": {
"description": "Enter your phone number",
"no-biometrics": {
"title": "Enter your phone number",
"description": "to receive a one-time code"
},
"md": {
"title": "Sign In with Fingerprint"
}
},
"userName": {
"description": "Enter your ID number",
"no-biometrics": {
"title": "Enter your ID number",
"description": "to receive a one-time code"
},
"md": {
"title": "Sign In with Fingerprint"
}
},
"email": {
"no-biometrics": {
"title": "Enter your email",
"description": "to receive a one-time code"
},
"md": {
"title": "Sign In with Fingerprint"
}
}
}
},
"enrollCredential": {
"title": "Speed up your sign-in",
"description": "Would you like to skip password next time?",
"cta": "Use Face ID",
"skip": "No, Thanks",
"md": {
"cta": "Continue"
}
},
"notification": {
"returning-user": {
"header": "Welcome back to {siteName}",
"description": "Sign-in as {loginId}"
}
},
"flow": {
"header": "",
"cta": "Continue",
"skip": "Not this time",
"change": "Change",
"close": "Close",
"errors": {
"general": {
"title": "We are unable to sign you in at this moment",
"description": "We could not sign you in due a technical issue on our end. Please try connecting again."
},
"userNotFound": {
"title": "You don't have an account",
"description": "[Check our documentation to implement this journey]"
},
"accountNotFound": {
"title": "You don't have an account",
"description": "[Check our documentation to implement this journey]"
},
"wrongCodeLimitReached": {
"title": "You reached the limit of attempts",
"description": "Wait 5 minutes and try again or use a different email"
},
"accountIsBlocked": {
"title": "Your account is blocked",
"description": "Please try again later"
},
"sendCodeLimitReached": {
"title": "Code verification attempts limit reached",
"description": "Please try again later"
}
},
"collectLoginId": {
"title": "Enter your email",
"description": "Log into your account. If you don't have one, we'll create one for you",
"placeholder": "name@example.com",
"label": "Email",
"error": "Enter a valid email",
"username": {
"title": "Enter your username",
"placeholder": "Username",
"label": "Username",
"error": "Enter a valid username"
},
"phoneNumber": {
"title": "Enter your phone number",
"placeholder": "Phone number",
"label": "Phone number",
"error": "Enter a valid phone number"
},
"emailOrPhoneNumber": {
"title": "Enter your phone or email",
"placeholder": "Phone or email",
"label": "Phone or email",
"error": "Enter a valid phone or email"
}
},
"enrollPasskeys": {
"title": "Enable Touch ID to sign in",
"description": "Make your sign in faster. Biometric data never leaves your device",
"note": "Using a public or shared device?",
"alternativeCTA": "Continue to my account",
"windows": {
"title": "Enable Windows Hello to sign in",
"description": "Use Windows Hello to sign in with your face, fingerprint or PIN"
},
"ios": {
"title": "Enable Face ID to sign in",
"note": ""
},
"md": {
"title": "Simplify your sign-in\nwith passkeys",
"description": "Use your fingerprint, face, or screen lock to\nsign-in on this device",
"note": ""
}
},
"fidoCreate": {
"title": "Enable Touch ID to sign in",
"description": "Make your sign in faster. Biometric data never leaves your device",
"note": "Using a public or shared device?",
"alternativeCTA": "Maybe later",
"windows": {
"title": "Enable Windows Hello to sign in",
"description": "Use Windows Hello to sign in with your face, fingerprint or PIN"
},
"ios": {
"title": "Enable Face ID to sign in",
"note": ""
},
"md": {
"title": "Simplify your sign-in\nwith passkeys",
"description": "Use your fingerprint, face, or screen lock to\nsign-in on this device",
"note": ""
}
},
"fidoLogin": {
"title": "Signing in with Touch ID...",
"windows": {
"title": "Signing in with Windows Hello..."
},
"ios": {
"title": "Signing in with Face ID"
},
"md": {
"title": "Signing in..."
}
},
"qr": {
"title": "Scan a QR Code to sign in",
"note": "Scan this QR with your personal mobile device",
"loading": "Signing you in...",
"magicLink": "Sign in with one-time link",
"fidoAuth": "Sign in with Touch ID",
"cancel": "Cancel",
"windows": {
"fidoAuth": "Sign in with Windows Hello"
}
},
"magicLink": {
"title": "Check your email",
"description": "We sent you an email. It has a link that will sign you in without typing a password."
},
"otp": {
"title": "Check your email for a code",
"description": "Enter the code to confirm it's you",
"note": "Can't find your code? Check your spam folder",
"resend": "Resend code",
"gmail": "Open Gmail",
"sms": {
"title": "Check your phone for a code",
"note": "Didn't find your code?"
}
},
"webappScreen": {
"title": "Signing in with Touch ID",
"description": "Use Touch ID to sign in on this device",
"alternativeCTA": "Retry sign in",
"ios": {
"title": "Signing in with Face ID",
"description": "Use Face ID to sign in on this device"
},
"md": {
"title": "Signing in ...",
"description": "Use your fingerprint, face, or screen lock to sign in on this device"
}
},
"returningUser": {
"header": "",
"title": "Welcome back",
"description": "Use Touch ID to continue to your account",
"otherOptions": "Other sign-in options",
"windows": {
"description": "Use Windows Hello to continue to your account"
},
"ios": {
"description": "Use Face ID to continue to your account"
},
"md": {
"description": "Make your sign in faster. Biometric data never leaves your device"
}
},
"collectProfile": {
"title": "Complete your profile",
"description": "We're excited to have you join us!"
},
"authSelection": {
"title": "Choose a sign-in method",
"fidoAuth": "Sign in with Face ID",
"passwordAuth": "Sign in with Password",
"md": {
"fidoAuth": "Sign in with passkey"
},
"windows": {
"fidoAuth": "Sign in with passkey"
},
"macOS": {
"fidoAuth": "Sign in with Touch ID"
},
"verification": {
"email": "Sign in with a code",
"phone": "Sign in with a code"
},
"deferred": {
"signin": "Sign in with passkey"
},
"options": {
"show": "Show other options",
"hide": "Hide other options"
}
},
"passwordCollection": {
"title": "Enter your password",
"otp": "Use a one-time code",
"qr": "Scan the QR code",
"reset": "Forgot password?",
"placeholder": "Password",
"errors": {
"required": "Please enter a password",
"invalid": "Incorrect user or password. Please try again or click 'forgot password'"
}
},
"registerRedirect": {
"title": "Join {siteName}",
"description": "Unlock exclusive offers and rewards.\nIt only takes a minute",
"cta": "Setup my account",
"reset": "Go Back"
},
"social": {
"cta": "Continue with {provider}"
},
"accountDecision": {
"title": "You already have an account",
"description": "Seems like you already have an account.\nContinue to log in, or go back to edit",
"cta": "Continue",
"altCta": "Go back to edit"
},
"postLoginEnrollPasskeys": {
"title": "Create a passkey",
"description": "Create a passkey to start signing in with just\nyour fingerprint, face or screen lock.",
"altCta": "Skip for now",
"loading": {
"title": "Creating a passkey..."
},
"done": {
"title": "Passkey successfully created!",
"description": "Next time you log in, just use your fingerprint,\nface, or screen lock,no password needed.",
"cta": "Done"
}
}
},
"userName": {
"options": "Options"
},
"profiles": {
"firstName": {
"displayName": "First name",
"placeholder": " ",
"validations": {
"pattern": "{fieldName} must include letters only.",
"require_key": "{fieldName} is required.",
"min_length_key": "{fieldName} must be at least {value} characters long.",
"max_length_key": "{fieldName} must be at most {value} characters long."
}
},
"lastName": {
"displayName": "Last name",
"placeholder": " ",
"validations": {
"pattern": "{fieldName} must include letters only.",
"require_key": "{fieldName} is required.",
"min_length_key": "{fieldName} must be at least {value} characters long.",
"max_length_key": "{fieldName} must be at most {value} characters long."
}
},
"birthDate": {
"displayName": "Date of birth",
"placeholder": "Date of birth",
"properties": {
"day": "Day",
"month": "Month",
"year": "Year"
},
"validations": {
"require_key": "{fieldName} is required.",
"age_restriction_key": "Age does not match ({value})."
}
},
"phone": {
"displayName": "Phone",
"placeholder": " ",
"validations": {
"pattern": "{fieldName} must include digits only.",
"require_key": "{fieldName} is required."
}
},
"consent": {
"displayName": "I would like to receive e-mails with special offers."
},
"consent2": {
"displayName": "I accept the terms and conditions"
}
}
},
"de": {
"login": {
"mobileTitle": "Schnell anmelden",
"desktopTitle": "Schnell anmelden",
"desktopSubtitle": "Scannen Sie den QR-Code, um sich anzumelden.",
"pendingMessage": "Anmelden...",
"pendingButton": "Abbrechen",
"doneMessage": ""
},
"login-partial": {
"mobileTitle": "Schnell anmelden",
"desktopTitle": "QR-Code scannen und anmelden",
"desktopSubtitle": "",
"pendingMessage": "Anmeldung läuft...",
"pendingButton": "Abbrechen",
"doneMessage": ""
},
"register": {
"mobileTitle": "Ohne Kennwort registrieren",
"desktopTitle": "Über Mobiltelefon registrieren",
"desktopSubtitle": "Überspringen Sie das Kennwort, indem Sie diesen QR-Code mit Ihrem Mobiltelefon scannen.",
"pendingMessage": "Schließen Sie die Registrierung auf Ihrem Mobiltelefon ab.",
"pendingButton": "Abbrechen",
"doneMessage": ""
},
"register-partial": {
"mobileTitle": "Ohne Kennwort registrieren",
"desktopTitle": "QR-Code mit dem Mobiltelefon scannen",
"desktopSubtitle": "",
"pendingMessage": "Wird geladen...",
"pendingButton": "Abbrechen",
"doneMessage": "Kennwort überspringen ist jetzt aktiviert. Registrierung wird abgeschlossen..."
},
"linkButton": {
"button": "Kennwort überspringen aktivieren"
},
"errors": {
"userAlreadyExists": "Konto existiert bereits",
"userNotFound": "Konto nicht gefunden",
"requiresBiometricInput": "Biometrische Eingabe erforderlich",
"accountNotFound": "Konto nicht gefunden",
"wrongCodeLimitReached": "Limit für Code-Verifizierungsversuche erreicht",
"general": "Etwas ist schiefgelaufen. Versuchen Sie es später noch einmal.",
"sendCodeLimitReached": "Limit für Code-Verifizierungsversuche erreicht"
},
"sb": {
"message": "Kennwort überspringen"
},
"ownid-auth-button": {
"message": "Weiter"
},
"common": {
"or": "oder",
"buttonAriaLabel": "Biometrische Authentifizierung",
"ownidAuthEnabled": "Biometrische authentifizierung aktiviert",
"ownidAuthDisabled": "Biometric authentication disabled",
"processing": "Wird verarbeitet",
"close": "Schließen"
},
"magicLink": {
"link": "Sie haben Ihr Mobiltelefon nicht dabei?",
"title": "Mit Magic Link anmelden",
"pendingMessage": "Wir senden Ihnen jetzt eine E-Mail.",
"pendingButton": "Abbrechen",
"message": "Wir senden Ihnen einen Link, über den Sie automatisch angemeldet werden.",
"emailPlaceholder": "E-Mail-Adresse",
"button": "Magic Link senden",
"back": "Zurück",
"error": "Konto existiert nicht",
"emailNotValid": "Bitte geben Sie eine gültige E-Mail-Adresse ein."
},
"magicLinkDone": {
"title": "Posteingang überprüfen",
"message": "Wir haben Ihnen einen Link an {email} geschickt, über den Sie automatisch angemeldet werden.",
"mailButton": {
"gmail": "In Gmail öffnen"
}
},
"otp-form": {
"a11y": {
"label": "Ziffer {index} von {length} des Einmalkennworts"
}
},
"tooltip": {
"desktop": "Melden Sie sich mit Ihrer\nEntsperrmethode für Ihr Gerät an",
"macOS": "Mit Touch ID anmelden",
"ios": "Mit Face ID anmelden",
"android": "Mit Fingerabdruck anmelden",
"noBiometrics": "Anmeldung mit\neinem einmaligen Code",
"recover": {
"desktop": "Melden Sie sich mit Ihrer\nEntsperrmethode für Ihr Gerät an",
"macOS": "Sofortige Wiederherstellung mit\nTouch ID",
"ios": "Sofortige Wiederherstellung mit\nFace ID",
"android": "Sofortige Wiederherstellung mit\nFingerabdruck",
"noBiometrics": "Sofortige Wiederherstellung\nmit einem einmaligen Code"
},
"notValidLoginId": "Geben Sie eine gültige E-Mail ein",
"phoneNumber": {
"notValidLoginId": "Geben Sie eine gültige Telefonnummer ein"
},
"userName": {
"notValidLoginId": "Geben Sie einen gültigen Benutzernamen ein"
},
"qr": {
"login": "Melden Sie sich mit\nIhrem Telefon an",
"register": "Registrieren Sie sich\nmit Ihrem Telefon"
}
},
"expandableTooltip": {
"general": {
"close": "Schließen",
"more-info": "Weitere Informationen"
},
"qr": {
"login": {
"title": "Melden Sie sich mit\nIhrem Telefon an",
"details": {
"title": "Melden Sie sich mit Ihrem Telefon an",
"description": "Scannen Sie einen QR-Code, um sich mit der Entsperrmethode Ihres Mobilgeräts anzumelden. Dies ist schneller und sicherer."
}
},
"register": {
"title": "Registrieren Sie sich\nmit Ihrem Telefon",
"details": {
"title": "Registrieren Sie sich mit Ihrem Telefon",
"description": "Scannen Sie einen QR-Code, um sich mit der Entsperrmethode Ihres Mobilgeräts anzumelden. Dies ist schneller und sicherer."
}
},
"recover": {
"title": "Melden Sie sich mit\nIhrem Telefon an",
"details": {
"title": "Melden Sie sich mit Ihrem Telefon an",
"description": "Scannen Sie einen QR-Code, um sich mit der Entsperrmethode Ihres Mobilgeräts anzumelden. Dies ist schneller und sicherer."
}
}
},
"login": {
"title": "Mit Touch ID anmelden",
"details": {
"title": "Ohne Passwort anmelden",
"description": "Verwende Face ID, Touch ID oder PIN, um dich auf einem beliebigen Gerät (Smartphone, Tablet) anzumelden. Die Anmeldung mit Biometrische Daten ist schnell und sicher. Die Biometrischen Daten werden nur auf deinem Gerät gespeichert."
},
"windows": {
"title": "Melde dich mit der Entsperrungsmethode\n(Fingerabdruck, PIN) deines Geräts (Laptop, Tablet)",
"details": {
"description": "Verwende die Entsperrungsmethode deines Geräts (Fingerabdruck, PIN), um dich anzumelden. Die Anmeldung mit Biometrische Daten ist schnell und sicher. Die Biometrischen Daten werden nur auf deinem Gerät gespeichert."
}
},
"md": {
"title": "Mit Fingerabdruck anmelden",
"details": {
"description": "Verwende Fingerabdruck oder PIN, um dich auf einem beliebigen Gerät (Smartphone, Tablet) anzumelden. Die Anmeldung mit Biometrische Daten ist schnell und sicher. Die Biometrischen Daten werden nur auf deinem Gerät gespeichert."
}
},
"ios": {
"title": "Mit Face-ID anmelden",
"details": {
"description": "Verwende Face ID oder PIN, um dich auf einem beliebigen Gerät (Smartphone, Tablet) anzumelden. Die Anmeldung mit Biometrische Daten ist schnell und sicher. Die Biometrischen Daten werden nur auf deinem Gerät gespeichert."
}
},
"no-biometrics": {
"title": "Mit einmaligem Code anmelden",
"details": {
"description": "Wir senden dir einen einmaligen Code zu, mit diesem kannst du dich auf einem beliebigen Gerät (Smartphone, Laptop) anmelden. Mit Klick auf den blauen Button kannst du den Code anfordern. "
}
}
},
"register": {
"title": "Mit Touch ID registrieren",
"details": {
"title": "Ohne Passwort registrieren",
"description": "Verwende Face ID, Touch ID oder PIN, um dich auf einem beliebigen Gerät (Smartphone, Tablet) anzumelden. Die Anmeldung mit Biometrische Daten ist schnell und sicher. Die Biometrischen Daten werden nur auf deinem Gerät gespeichert."
},
"windows": {
"title": "Registriere dich mit der Entsperrungsmethode\n(Fingerabdruck, PIN) deines Geräts (Laptop, Tablet)",
"details": {
"description": "Verwende die Entsperrungsmethode deines Geräts (Fingerabdruck, PIN), um dich anzumelden. Die Anmeldung mit Biometrische Daten ist schnell und sicher. Die Biometrischen Daten werden nur auf deinem Gerät gespeichert."
}
},
"md": {
"title": "Mit Fingerabdruck registrieren",
"details": {
"description": "Verwende Fingerabdruck oder PIN, um sich auf einem beliebigen Gerät (Smartphone, Tablet, Laptop) anzumelden. Die Anmeldung mit Biometrische Daten ist schnell und sicher. Die Biometrischen Daten werden nur auf deinem Gerät gespeichert."
}
},
"ios": {
"title": "Mit Face-ID registrieren",
"details": {
"description": "Verwende Face ID, Touch ID oder PIN, um dich auf einem beliebigen Gerät (Smartphone, Tablet) anzumelden. Die Anmeldung mit Biometrische Daten ist schnell und sicher. Die Biometrischen Daten werden nur auf deinem Gerät gespeichert."
}
},
"no-biometrics": {
"title": "Mit einem einmaligen\nCode registrieren",
"details": {
"description": "Wir senden dir einen einmaligen Code zu, mit diesem kannst du dich auf einem beliebigen Gerät (Smartphone, Tablet, Laptop) anmelden. Mit Klick auf den blauen Button kannst du den Code anfordern."
}
}
},
"recover": {
"title": "Konto mit Touch ID wiederherstellen",
"details": {
"title": "Konto wiederherstellen",
"description": "Verwende Touch ID, Face ID oder PIN, um dein Konto auf einem beliebigen Gerät wiederherzustellen. Es ist schneller und sicherer. Biometrische Daten verlassen niemals dein Gerät."
},
"windows": {
"title": "Stelle dein Konto mit der \nEntsperrungsmethode deines Geräts wieder her",
"details": {
"description": "Verwende die Entsperrungsmethode deines Geräts (Fingerabdruck, PIN usw.), um dein Konto auf einem beliebigen Gerät wiederherzustellen. Es ist schneller und sicherer. Biometrische Daten verlassen niemals dein Gerät."
}
},
"md": {
"title": "Konto mit Fingerabdruck\nwiederherstellen",
"details": {
"description": "Verwende deinen Fingerabdruck oder PIN, um dein Konto auf einem beliebigen Gerät wiederherzustellen. Es ist schneller und sicherer. Biometrische Daten verlassen niemals dein Gerät."
}
},
"ios": {
"title": "Konto mit Face ID\nwiederherstellen",
"details": {
"description": "Verwende Face ID, Touch ID oder PIN, um dein Konto auf einem beliebigen Gerät wiederherzustellen. Es ist schneller und sicherer. Biometrische Daten verlassen niemals dein Gerät."
}
},
"no-biometrics": {
"title": "Konto mit einem einmaligen\nCode wiederherstellen",
"details": {
"description": "Verwende einen einmaligen Code, um dein Konto auf einem beliebigen Gerät wiederherzustellen. Es ist schneller und sicherer."
}
}
}
},
"modal": {
"general": {
"close": "Abbrechen",
"restart": "Das bist du nicht?"
},
"new-device": {
"header": "Anmelden",
"title": "Du verwendest einen anderen Computer",
"description": "Dieses Gerät weiter anmelden",
"cta": "Weiter"
},
"login-id-verification": {
"header": "Einmaligen Code verwenden",
"loading": "Überprüfen",
"success": "Erfolg",
"title": "Code eingeben",
"description": "Eine E-Mail mit einem {codeLength}-stelligen Code wurde gerade an {loginId} gesendet",
"resend": " Bitte erneut senden.",
"resendDescription": "Du hast die E-mail nicht erhalten?",
"a11y": {
"header": "Melde dich mit einem einmaligen Code an, den du per E-Mail erhaltest",
"sms": {
"header": "Überprüfe dein Telefon"
}
},
"sms": {
"header": "Überprüfen dein Telefon",
"description": "Eine SMS mit einem {codeLength}-stelligen Code wurde gerade an\n{loginId} gesendet",
"resendDescription": "Sie haben die SMS nicht erhalten?"
}
},
"login-id-collect": {
"header": "Anmelden oder Registrieren",
"title": "Geben Sie Ihre E-Mail ein, um fortzufahren",
"placeholder": "E-Mail",
"cta": "Weiter",
"phoneNumber": {
"title": "Geben Sie Ihre Telefonnummer ein, um fortzufahren",
"placeholder": "Telefonnummer"
},
"userName": {
"title": "Geben Sie Ihren Benutzernamen ein, um fortzufahren",
"placeholder": "Benutzername"
}
},
"recognized-user": {
"header": "Anmelden",
"title": "Verwende Touch ID, um dich bei {siteName} anzumelden als\n{loginId}",
"cta": "Weiter",
"windows": {
"header": "Hallo, {loginId}",
"title": "Verwende deinen Fingerabdruck, dein Gesicht oder deinen PIN für eine schnellere und sicherere Anmeldung"
}
},
"unknown-user": {
"header": "Anmelden",
"title": "Verwende Touch ID für eine schnellere und sicherere \nAnmeldung bei {siteName}",
"cta": "Weiter",
"windows": {
"header": "Bei {siteName} anmelden",
"title": " Verwende deinen Fingerabdruck, dein Gesicht oder deinen PIN für eine schnellere und sicherere Anmeldung "
}
}
},
"prompt": {
"returning-user": {
"ios": {
"a11y": {
"title": "Anmelden als {loginId}",
"cta": "Weiter",
"close": "Schließen"
},
"title": "Anmelden",
"description": "Face ID",
"cta": "{loginId} verwenden"
},
"md": {
"a11y": {
"close": "Abbrechen"
},
"title": "Anmelden als {loginId}",
"description": "Verwenden Sie Ihren Fingerabdruck zum Anmelden.",
"cta": "Weiter",
"close": "Schließen"
},
"no-biometrics": {
"title": "Anmelden",
"description": "",
"cta": "{loginId} verwenden"
},
"macOS": {
"title": "Mit Touch ID bei {siteOrigin} anmelden",
"description": "Verwenden Sie {loginId}.",
"cta": "Weiter",
"close": "Abbrechen"
},
"iPad": {
"title": "Mit Face ID bei {siteOrigin} anmelden",
"description": "Verwenden Sie {loginId}.",
"cta": "Weiter",
"close": "Abbrechen"
},
"windows": {
"title": "Mit Fingerabdruck, Gesicht oder PIN als {loginId} bei {siteOrigin} anmelden",
"description": "",
"cta": "OK",
"close": "Abbrechen"
}
},
"always-connected": {
"ios": {
"a11y": {
"title": "Mit Face ID anmelden",
"cta": "Weiter",
"close": "Schließen"
},
"title": "Anmelden",
"description": "Face ID",
"cta": "Mit Face ID anmelden",
"inputPlaceholder": "E-Mail-Adresse eingeben"
},
"md": {
"a11y": {
"close": "Abbrechen"
},
"title": "Mit Fingerabdruck anmelden",
"description": "Verwenden Sie Ihren Fingerabdruck zum Anmelden.",
"cta": "Weiter",
"close": "Schließen",
"inputPlaceholder": "E-Mail-Adresse eingeben"
},
"no-biometrics": {
"title": "Anmelden",
"description": "",
"cta": "Einmaligen Code verwenden"
},
"macOS": {
"title": "Mit Touch ID bei {siteOrigin} anmelden",
"description": "",
"cta": "Weiter",
"close": "Abbrechen",
"inputPlaceholder": "E-Mail-Adresse eingeben",
"phoneNumber": {
"inputPlaceholder": "Telefonnummer eingeben"
},
"userName": {
"inputPlaceholder": "ID-Nummer eingeben"
}
},
"iPad": {
"title": "Mit Face ID bei {siteOrigin} anmelden",
"description": "",
"cta": "Weiter",
"close": "Abbrechen",
"inputPlaceholder": "E-Mail-Adresse eingeben",
"phoneNumber": {
"inputPlaceholder": "Telefonnummer eingeben"
},
"userName": {
"inputPlaceholder": "ID-Nummer eingeben"
}
},
"windows": {
"title": "Mit Fingerabdruck, Gesicht oder PIN bei {siteOrigin} anmelden",
"description": "",
"cta": "OK",
"close": "Abbrechen",
"inputPlaceholder": "E-Mail-Adresse eingeben",
"phoneNumber": {
"inputPlaceholder": "Telefonnummer eingeben"
},
"userName": {
"inputPlaceholder": "ID-Nummer eingeben"
}
}
},
"account-recover": {
"title": "Schnellere Kontowiederherstellung",
"description": "Möchten Sie sich ohne Passwort anmelden?",
"cta": "Face ID verwenden",
"skip": "Ein Passwort festlegen",
"md": {
"cta": "Fortsetzen"
}
}
},
"slider": {
"general": {
"close": "Schließen",
"md": {
"close": "Abbrechen"
}
},
"login-id-fallback": {
"title": "Einmaligen Code verwenden",
"summary": "Eine E-Mail mit einem {codeLength}-stelligen Code wurde gerade an\n{loginId} gesendet",
"description": "Bitte den zugesendeten Code eingeben",
"cta": "Bestätigen",
"resend": "E-Mail erneut senden",
"sms": {
"title": "Verifizieren Sie Ihre Identität",
"summary": "Wir haben Ihnen einen {codeLength}-stelligen Code an\n{loginId} gesendet",
"resend": "SMS erneut senden",
"md": {
"title": "Mit Ihrem Fingerabdruck anmelden"
}
}
},
"login-id-verification": {
"title": "Bestätige dein E-Mail Adresse",
"summary": "Eine E-Mail mit einem {codeLength}-stelligen Code wurde gerade an\n{loginId} gesendet",
"description": "Bitte den zugesendeten Code eingeben.",
"cta": "Bestätigen",
"resend": "E-Mail erneut senden",
"sms": {
"title": "Verifizieren Sie Ihre Identität",
"summary": "Wir haben Ihnen einen {codeLength}-stelligen Code an\n{loginId} gesendet",
"resend": "SMS erneut senden",
"md": {
"title": "Mit Ihrem Fingerabdruck anmelden"
}
}
},
"profile-collect": {
"title": "Vervollständige dein Profil",
"cta": "Weiter"
},
"new-device": {
"title": "Du verwendest ein anderes Telefon",
"description": "Fahre fort, um dieses Gerät zu registrieren",
"cta": "Weiter"
},
"login-id-collect": {
"title": "Mit Face ID anmelden",
"description": "Bitte die E-Mail eingeben",
"cta": "Weiter",
"no-biometrics": {
"title": "Bitte die E-Mail eingeben",
"description": "um einen einmaligen Code zu erhalten"
},
"phoneNumber": {
"description": "Bitte die Telefonnummer eingeben",
"no-biometrics": {
"title": "Bitte der Benutzernamen eingeben",
"description": "um einen einmaligen Code zu erhalten"
},
"md": {
"title": "Mit Fingerabdruck anmelden"
}
},
"userName": {
"description": "Bitte der Benutzernamen eingeben",
"no-biometrics": {
"title": "Bitte der Benutzernamen eingeben",
"description": "um einen einmaligen Code zu erhalten"
},
"md": {
"title": "Mit Fingerabdruck anmelden"
}
},
"email": {
"no-biometrics": {
"title": "Bestätige dein E-Mail Adresse",
"description": "um einen einmaligen Code zu erhalten"
},
"md": {
"title": "Mit Fingerabdruck anmelden"
}
}
}
},
"enrollCredential": {
"title": "Schneller anmelden",
"description": "Möchten Sie sich das nächste Mal ohne Kennwort anmelden?",
"cta": "Face ID verwenden",
"skip": "Nein, danke",
"md": {
"cta": "Weiter"
}
},
"flow": {
"header": "",
"cta": "Weiter",
"skip": "Dieses Mal nicht",
"change": "Ändern",
"close": "Schliessen",
"errors": {
"general": {
"title": "Wir können Sie momentan nicht anmelden",
"description": "Wir konnten Sie aufgrund eines technischen Problems auf unserer Seite nicht anmelden. Bitte versuchen Sie erneut, eine Verbindung herzustellen."
},
"userNotFound": {
"title": "Sie haben kein Konto",
"description": "[Prüfen Sie unsere Dokumentation, um diese Reise umzusetzen]"
},
"accountNotFound": {
"title": "Sie haben kein Konto",
"description": "[Prüfen Sie unsere Dokumentation, um diese Reise umzusetzen]"
},
"wrongCodeLimitReached": {
"title": "Sie haben die maximale Anzahl an Versuchen erreicht",
"description": "Warten Sie 5 Minuten und versuchen Sie es erneut oder verwenden Sie eine andere E-Mail-Adresse"
},
"accountIsBlocked": {
"title": "Ihr Konto ist gesperrt",
"description": "Bitte versuchen Sie es später erneut"
},
"sendCodeLimitReached": {
"title": "Limit für Codeüberprüfungsversuche wurde erreicht",
"description": "Bitte versuchen Sie es später erneut"
}
},
"collectLoginId": {
"title": "Geben Sie Ihre E-Mail ein",
"description": "Loggen Sie sich in Ihr Konto ein. Wenn Sie noch keins haben, erstellen wir eines für Sie",
"placeholder": "name@example.com",
"error": "Geben Sie eine gültige E-Mail ein",
"username": {
"title": "Geben Sie Ihren Benutzernamen ein",
"placeholder": "Benutzername",
"error": "Geben Sie einen gültigen Benutzernamen ein",
"label": "Benutzername"
},
"phoneNumber": {
"title": "Geben Sie Ihre Telefonnummer ein",
"placeholder": "Telefonnummer",
"error": "Geben Sie eine gültige Telefonnummer ein",
"label": "Telefonnummer"
},
"label": "E-Mail-Adresse"
},
"enrollPasskeys": {
"title": "Touch ID für die Anmeldung aktivieren",
"description": "Melden Sie sich schneller an. Biometrische Daten verlassen niemals Ihr Gerät",
"note": "Verwenden Sie ein öffentliches oder gemeinsam genutztes Gerät?",
"alternativeCTA": "Weiter zu meinem Konto",
"windows": {
"title": "Aktivieren Sie Windows Hello, um sich anzumelden",
"description": "Verwenden Sie Windows Hello, um sich mit Ihrem Gesicht, Ihrem Fingerabdruck oder Ihrer PIN anzumelden"
},
"ios": {
"title": "Aktivieren Sie Face ID, um sich anzumelden",
"note": ""
},
"md": {
"title": "Vereinfachen Sie Ihre Anmeldung mit Passkeys",
"description": "Verwenden Sie Ihren Fingerabdruck, Ihr Gesicht oder Ihre Bildschirmsperre, um sich auf diesem Gerät anzumelden",
"note": ""
}
},
"fidoCreate": {
"title": "Touch ID für die Anmeldung aktivieren",
"description": "Melden Sie sich schneller an. Biometrische Daten verlassen niemals Ihr Gerät",
"note": "Verwenden Sie ein öffentliches oder gemeinsam genutztes Gerät?",
"alternativeCTA": "Vielleicht später",
"windows": {
"title": "Aktivieren Sie Windows Hello, um sich anzumelden",
"description": "Verwenden Sie Windows Hello, um sich mit Ihrem Gesicht, Ihrem Fingerabdruck oder Ihrer PIN anzumelden"
},
"ios": {
"title": "Aktivieren Sie Face ID, um sich anzumelden",
"note": ""
},
"md": {
"title": "Vereinfachen Sie Ihre Anmeldung mit Passkeys",
"description": "Verwenden Sie Ihren Fingerabdruck, Ihr Gesicht oder Ihre Bildschirmsperre, um sich auf diesem Gerät anzumelden",
"note": ""
}
},
"fidoLogin": {
"title": "Mit Touch ID anmelden...",
"windows": {
"title": "Mit Windows Hello anmelden..."
},
"ios": {
"title": "Mit Face ID anmelden"
},
"md": {
"title": "Anmelden..."
}
},
"qr": {
"title": "Scannen Sie einen QR-Code, um sich anzumelden",
"note": "Scannen Sie diesen QR mit Ihrem persönlichen Mobilgerät",
"loading": "Sie werden angemeldet...",
"magicLink": "Melden Sie sich mit einem einmaligen Link an",
"fidoAuth": "Mit Touch ID anmelden",
"cancel": "Stornieren",
"windows": {
"fidoAuth": "Mit Windows Hello anmelden"
}
},
"magicLink": {
"title": "Überprüfen Sie Ihre E-Mail",
"description": "Wir haben Ihnen eine E-Mail geschickt. Sie enthält einen Link, über den Sie sich anmelden können, ohne ein Passwort eingeben zu müssen."
},
"otp": {
"title": "Überprüfen Sie Ihre E-Mail auf einen Code",
"description": "Geben Sie den Code ein, um zu bestätigen, dass Sie es sind",
"note": "Sie können Ihren Code nicht finden? Überprüfen Sie Ihren Spam-Ordner",
"resend": "Code erneut senden",
"gmail": "Gmail öffnen",
"sms": {
"title": "Überprüfen Sie Ihr Telefon auf einen Code",
"note": "Sie haben Ihren Code nicht gefunden?"
}
},
"webappScreen": {
"title": "Mit Touch ID anmelden",
"description": "Verwenden Sie Touch ID, um sich auf diesem Gerät anzumelden",
"alternativeCTA": "Erneut versuchen",
"ios": {
"title": "Mit Face ID anmelden",
"description": "Verwenden Sie Face ID, um sich auf diesem Gerät anzumelden"
},
"md": {
"title": "Anmelden...",
"description": "Verwenden Sie Ihren Fingerabdruck, Ihr Gesicht oder Ihre Bildschirmsperre, um sich auf diesem Gerät anzumelden"
}
},
"returningUser": {
"header": "",
"title": "Willkommen zurück",
"description": "Verwenden Sie Touch ID, um mit Ihrem Konto fortzufahren",
"otherOptions": "Andere Anmeldeoptionen",
"windows": {
"description": "Verwenden Sie Windows Hello, um mit Ihrem Konto fortzufahren"
},
"ios": {
"description": "Verwenden Sie Face ID, um mit Ihrem Konto fortzufahren"
},
"md": {
"description": "Melden Sie sich schneller an. Biometrische Daten verlassen niemals Ihr Gerät"
}
},
"collectProfile": {
"title": "Vervollständigen Sie Ihr Profil",
"description": "Wir freuen uns, dass Sie sich uns anschließen!"
},
"authSelection": {
"title": "Wählen Sie Ihre Anmeldemethode",
"fidoAuth": "Melden Sie sich mit Face ID an",
"passwordAuth": "Melden Sie sich mit Ihrem Passwort an",
"md": {
"fidoAuth": "Mit Fingerabdruck anmelden"
},
"windows": {
"fidoAuth": "Mit Windows Hello anmelden"
},
"macOS": {
"fidoAuth": "Mit Touch ID anmelden"
},
"verification": {
"email": "Konto mit einem Einmalcode wiederherstellen",
"phone": "Konto mit einem Einmalcode wiederherstellen"
},
"deferred": {
"signin": "Mit einem Passkey anmelden"
},
"options": {
"show": "Weitere Optionen anzeigen",
"hide": "Weitere Optionen ausblenden"
}
},
"passwordCollection": {
"title": "Geben Sie Ihr Passwort ein",
"otp": "Verwenden Sie einen Einmaligen Code",
"qr": "Scannen Sie den QR-Code",
"reset": "Passwort vergessen?",
"placeholder": "Passwort",
"errors": {
"required": "Bitte geben Sie ein Passwort ein",
"invalid": "Falscher Benutzername oder Passwort. Bitte versuchen Sie es erneut oder klicken Sie auf 'Passwort vergessen'"
}
},
"registerRedirect": {
"title": "Werden Sie Mitglied bei {siteName}",
"description": "Schalten Sie exklusive Angebote und Prämien frei. Es dauert nur eine Minute",
"cta": "Mein Konto einrichten",
"reset": "Zurück"
},
"social": {
"cta": "Mit {provider} fortfahren"
}
},
"standaloneButton": {
"qr": {
"login": {
"title": "Mit einem Passkey anmelden"
},
"register": {
"title": "Mit einem Passkey registrieren"
},
"recover": {
"title": "Mit einem Passkey anmelden"
}
},
"login": {
"title": "Mit Touch ID anmelden",
"windows": {
"title": "Mit einem Passkey anmelden"
},
"md": {
"title": "Mit einem Passkey anmelden"
},
"ios": {
"title": "Mit Face ID anmelden"
},
"no-biometrics": {
"title": "Mit einem Code anmelden"
}
},
"register": {
"title": "Mit Touch ID registrieren",
"finish": {
"title": "Touch ID verifiziert"
},
"windows": {
"title": "Einen Passkey erstellen"
},
"md": {
"title": "Einen Passkey erstellen"
},
"ios": {
"title": "Mit Face ID registrieren",
"finish": {
"title": "Face ID verifiziert"
}
},
"no-biometrics": {
"title": "Mit einem Code registrieren"
}
},
"recover": {
"title": "Mit Touch ID anmelden",
"windows": {
"title": "Ohne Passwort anmelden"
},
"md": {
"title": "Mit einem Passkey anmelden"
},
"ios": {
"title": "Mit Face ID anmelden"
},
"no-biometrics": {
"title": "Einen Einmalcode verwenden"
}
}
}
},
"es": {
"login": {
"mobileTitle": "Inicio de sesión instantáneo",
"desktopTitle": "Usar el inicio de sesión instantáneo",
"desktopSubtitle": "Escanea el código QR para iniciar sesión",
"pendingMessage": "Iniciando sesión...",
"pendingButton": "Cancelar",
"doneMessage": ""
},
"login-partial": {
"mobileTitle": "Inicio de sesión instantáneo",
"desktopTitle": "Escanea este QR con tu teléfono\npara iniciar sesión",
"desktopSubtitle": "",
"pendingMessage": "Iniciando sesión...",
"pendingButton": "Cancelar",
"doneMessage": ""
},
"register": {
"mobileTitle": "Registrarse sin contraseña",
"desktopTitle": "Registrarse en el móvil",
"desktopSubtitle": "Omite la contraseña escaneando este QR con tu teléfono",
"pendingMessage": "Termina el registro en tu teléfono",
"pendingButton": "Cancelar",
"doneMessage": ""
},
"register-partial": {
"mobileTitle": "Registrarse sin contraseña",
"desktopTitle": "Escanea este QR con tu teléfono",
"desktopSubtitle": "",
"pendingMessage": "Cargando...",
"pendingButton": "Cancelar",
"doneMessage": "Omitir contraseña activado. Terminar el registro..."
},
"linkButton": {
"button": "Activar Omitir contraseña"
},
"errors": {
"userAlreadyExists": "La cuenta ya existe",
"userNotFound": "Cuenta no encontrada",
"requiresBiometricInput": "Entrada biométrica requerida",
"accountNotFound": "Cuenta no encontrada",
"wrongCodeLimitReached": "Se ha alcanzado el límite de intentos de verificación del código",
"general": "Algo salió mal. Inténtalo de nuevo más tarde.",
"sendCodeLimitReached": "Se ha alcanzado el límite de intentos de verificación del código"
},
"sb": {
"message": "Omitir contraseña"
},
"ownid-auth-button": {
"message": "Continuar"
},
"common": {
"or": "o",
"buttonAriaLabel": "Autenticación biométrica",
"ownidAuthEnabled": "Autenticación biométrica habilitada",
"ownidAuthDisabled": "Biometric authentication disabled",
"processing": "Procesando",
"close": "Cerrar"
},
"magicLink": {
"link": "¿No tienes tu teléfono?",
"title": "Iniciar sesión con enlace mágico",
"pendingMessage": "Te estamos enviando un correo electrónico",
"pendingButton": "Cancelar",
"message": "Te enviaremos un enlace para iniciar sesión automáticamente",
"emailPlaceholder": "Correo electrónico",
"button": "Enviar enlace mágico",
"back": "Volver",
"error": "La cuenta no existe",
"emailNotValid": "Introduce un correo electrónico válido"
},
"magicLinkDone": {
"title": "Revisa tu correo",
"message": "Te hemos enviado un enlace a {email} para iniciar sesión automáticamente",
"mailButton": {
"gmail": "Abrir en Gmail"
}
},
"otp-form": {
"a11y": {
"label": "Número OTP {index} ({length})"
}
},
"tooltip": {
"desktop": "Inicia sesión con el método\nde desbloqueo de tu dispositivo",
"macOS": "Iniciar sesión con Touch ID",
"ios": "Iniciar sesión con Face ID",
"android": "Iniciar sesión con huella digital",
"noBiometrics": "Inicia sesión con\nun código único",
"recover": {
"desktop": "Recuperar al instante con el método de desbloqueo de tu dispositivo",
"macOS": "Recuperar al instante con\nTouch ID",
"ios": "Recuperar al instante con\nFace ID",
"android": "Recuperar al instante con huella digital",
"noBiometrics": "Recuperar al instante\ncon código de un solo uso"
},
"notValidLoginId": "Introduce un correo válido",
"phoneNumber": {
"notValidLoginId": "Introduce un número de teléfono válido"
},
"userName": {
"notValidLoginId": "Introduce un nombre de usuario válido"
},
"qr": {
"login": "Inicia sesión con tu móvil",
"register": "Registrate con tu móvil"
}
},
"expandableTooltip": {
"general": {
"close": "Cerrar",
"more-info": "Más información"
},
"qr": {
"login": {
"title": "Inicia sesión más rápido sin contraseña",
"details": {
"title": "Inicia sesión más rápido sin contraseña",
"description": "Inicia sesión de forma segura con el método de desbloqueo de tu dispositivo móvil, si está disponible, o escanea un código QR. Los datos biométricos nunca salen de tu dispositivo."
}
},
"register": {
"title": "Regístrate más rápido sin contraseña",
"details": {
"title": "Regístrate más rápido sin contraseña",
"description": "Regístrate de forma segura con el método de desbloqueo de tu dispositivo móvil, si está disponible, o escanea un código QR. Los datos biométricos nunca salen de tu dispositivo."
}
},
"recover": {
"title": "Inicia sesión sin contraseña",
"details": {
"title": "Recupera tu cuenta más rápido sin contraseña",
"description": "Recupera tu cuenta de forma segura con el método de desbloqueo de tu dispositivo móvil, si está disponible, o escanea un código QR. Los datos biométricos nunca salen de tu dispositivo."
}
}
},
"login": {
"title": "Inicia sesión con Touch ID",
"details": {
"title": "Simplifica tu inicio de sesión",
"description": "Utiliza Touch ID, Face ID o el PIN para iniciar sesión en cualquier dispositivo. Es más rápido y seguro. Los datos biométricos nunca salen de tu dispositivo."
},
"windows": {
"title": "Inicia sesión con tu método\n de desbloqueo del dispositivo",
"details": {
"description": "Utiliza tu método de desbloqueo del dispositivo (huella digital, PIN, etc.) para iniciar sesión en cualquier dispositivo. Es más rápido y seguro. Los datos biométricos nunca salen de tu dispositivo."
}
},
"md": {
"title": "Inicia sesión con tu huella digital",
"details": {
"description": "Usa la huella digital o el PIN para iniciar sesión en cualquier dispositivo. Es más rápido y seguro. Los datos biométricos nunca salen de tu dispositivo."
}
},
"ios": {
"title": "Inicia sesión con Face ID",
"details": {
"description": "Usa Face ID, Touch ID o el PIN para iniciar sesión en cualquier dispositivo. Es más rápido y seguro. Los datos biométricos nunca salen de tu dispositivo."
}
},
"no-biometrics": {
"title": "Inicia sesión con un código único",
"details": {
"description": "Utiliza un código único para iniciar sesión en cualquier dispositivo. Es más rápido y seguro."
}
}
},
"register": {
"title": "Regístrate con Touch ID",
"details": {
"title": "Simplifica tu registro",
"description": "Usa Touch ID, Face ID o el PIN para iniciar sesión en cualquier dispositivo. Es más rápido y seguro. Los datos biométricos nunca salen de tu dispositivo."
},
"windows": {
"title": "Regístrate con tu método\n de desbloqueo del dispositivo",
"details": {
"description": "Utiliza tu método de desbloqueo del dispositivo (huella digital, PIN, etc.) para iniciar sesión en cualquier dispositivo. Es más rápido y seguro. Los datos biométricos nunca salen de tu dispositivo."
}
},
"md": {
"title": "Regístrate con tu huella digital",
"details": {
"description": "Utiliza la huella digital o el PIN para iniciar sesión en cualquier dispositivo. Es más rápido y seguro. Los datos biométricos nunca salen de tu dispositivo."
}
},
"ios": {
"title": "Regístrate con Face ID",
"details": {
"description": "Usa Face ID, Touch ID o el PIN para iniciar sesión en cualquier dispositivo. Es más rápido y seguro. Los datos biométricos nunca salen de tu dispositivo."
}
},
"no-biometrics": {
"title": "Regístrate con un código\n de un solo uso",
"details": {
"description": "Usa un código de un solo uso para iniciar sesión en cualquier dispositivo. Es más rápido y seguro."
}
}
},
"recover": {
"title": "Inicia sesión con Touch ID",
"details": {
"title": "Recupera tu cuenta",
"description": "Usa Touch ID, Face ID o el PIN para recuperar tu cuenta en cualquier dispositivo. Es más rápido y seguro. Los datos biométricos nunca salen de tu dispositivo."
},
"windows": {
"title": "Inicia sesión sin contraseña",
"details": {
"description": "Utiliza tu método de desbloqueo de dispositivo (huella digital, PIN, etc.) para recuperar tu cuenta en cualquier dispositivo. Es más rápido y seguro. Los datos biométricos nunca abandonan tu dispositivo."
}
},
"md": {
"title": "Inicia sesión con tu huella digital",
"details": {
"description": "Usa la huella digital o el PIN para iniciar sesión en tu cuenta en cualquier dispositivo. Es más rápido y más seguro. Los datos biométricos nunca salen de tu dispositivo."
}
},
"ios": {
"title": "Inicia sesión con Face ID",
"details": {
"description": "Utiliza Face ID, Touch ID o el PIN para iniciar sesión en tu cuenta en cualquier dispositivo. Es más rápido y seguro. Los datos biométricos nunca salen de tu dispositivo."
}
},
"no-biometrics": {
"title": "Recupera tu cuenta con\nun código de un solo uso",
"details": {
"description": "Utiliza un código de un solo uso para recuperar tu cuenta en cualquier dispositivo. Es más rápido y seguro."
}
}
}
},
"modal": {
"general": {
"close": "Cancelar",
"restart": "¿No eres tú?"
},
"new-device": {
"header": "Iniciar sesión",
"title": "Estás usando un equipo diferente",
"description": "Continúa para registrar este dispositivo",
"cta": "Continuar"
},
"login-id-verification": {
"header": "Usar un código de un solo uso",
"loading": "Verificando",
"success": "Correcto",
"title": "Introduce el código",
"description": "Acabamos de enviar un correo electrónico con un código de {codeLength} dígitos a {loginId}",
"resend": "Reenviar",
"resendDescription": "¿No has recibido el correo electrónico?",
"a11y": {
"header": "Inicia sesión usando un código único enviado a tu correo electrónico",
"sms": {
"header": "Comprueba tu teléfono"
}
},
"sms": {
"header": "Comprueba tu teléfono",
"description": "Acabamos de enviar un SMS con un código de {codeLength} dígitos a {loginId}",
"resendDescription": "¿No has recibido el SMS?"
}
},
"login-id-collect": {
"header": "Inicia sesión o regístrate",
"title": "Introduce tu correo electrónico para continuar",
"placeholder": "Correo electrónico",
"cta": "Continuar",
"phoneNumber": {
"title": "Introduce tu número de teléfono para continuar",
"placeholder": "Número de teléfono"
},
"userName": {
"title": "Introduce tu número de identificación para continuar",
"placeholder": "Número de identificación"
}
},
"recognized-user": {
"header": "Iniciar sesión en {siteName}",
"title": "Usar Touch ID para iniciar sesión como\n{loginId}",
"cta": "Continuar",
"windows": {
"header": "Hola, {loginId}",
"title": "Usa tu huella digital, cara o PIN para iniciar sesión de forma más rápida y segura"
}
},
"unknown-user": {
"header": "Iniciar sesión en {siteName}",
"title": "Usa Touch ID para iniciar sesión \nde forma más rápida y segura en {siteName}",
"cta": "Continuar",
"windows": {
"header": "Iniciar sesión en {siteName}",
"title": "Usa tu huella digital, cara o PIN para iniciar sesión de forma más rápida y segura"
}
}
},
"prompt": {
"returning-user": {
"ios": {
"a11y": {
"title": "Iniciar sesión como {loginId}",
"cta": "Continuar",
"close": "Cerrar"
},
"title": "Iniciar sesión",
"description": "Face ID",
"cta": "Usar {loginId}"
},
"md": {
"a11y": {
"close": "Cancelar"
},
"title": "Iniciar sesión como {loginId}",
"description": "Usa tu huella digital para iniciar sesión",
"cta": "Continuar",
"close": "Cerrar"
},
"no-biometrics": {
"title": "Iniciar sesión",
"description": "",
"cta": "Usar {loginId}"
},
"macOS": {
"title": "Iniciar sesión en {siteOrigin} con Touch ID",
"description": "Usar {loginId}",
"cta": "Continuar",
"close": "Cancelar"
},
"iPad": {
"title": "Iniciar sesión en {siteOrigin} con Face ID",
"description": "Usar {loginId}",
"cta": "Continuar",
"close": "Cancelar"
},
"windows": {
"title": "Iniciar sesión en {siteOrigin} como {loginId}\n con huella digital, cara o PIN",
"description": "",
"cta": "De acuerdo",
"close": "Cancelar"
}
},
"always-connected": {
"ios": {
"a11y": {
"title": "Iniciar sesión con Face ID",
"cta": "Continuar",
"close": "Cerrar"
},
"title": "Iniciar sesión",
"description": "Face ID",
"cta": "Iniciar sesión con Face ID",
"inputPlaceholder": "Introduce tu correo electrónico"
},
"md": {
"a11y": {
"close": "Cancelar"
},
"title": "Iniciar sesión con huella digital",
"description": "Usa tu huella digital para iniciar sesión",
"cta": "Continuar",
"close": "Cerrar",
"inputPlaceholder": "Introduce tu correo electrónico"
},
"no-biometrics": {
"title": "Iniciar sesión",
"description": "",
"cta": "Usar un código de un solo uso"
},
"macOS": {
"title": "Iniciar sesión en {siteOrigin} con Touch ID",
"description": "",
"cta": "Continuar",
"close": "Cancelar",
"inputPlaceholder": "Introduce tu correo electrónico",
"phoneNumber": {
"inputPlaceholder": "Introduce tu número de teléfono"
},
"userName": {
"inputPlaceholder": "Introduce tu número de identificación"
}
},
"iPad": {
"title": "Iniciar sesión en {siteOrigin} con Face ID",
"description": "",
"cta": "Continuar",
"close": "Cancelar",
"inputPlaceholder": "Introduce tu correo electrónico",
"phoneNumber": {
"inputPlaceholder": "Introduce tu número de teléfono"
},
"userName": {
"inputPlaceholder": "Introduce tu número de identificación"
}
},
"windows": {
"title": "Iniciar sesión en {siteOrigin} con huella digital, cara o PIN",
"description": "",
"cta": "De acuerdo",
"close": "Cancelar",
"inputPlaceholder": "Introduce tu correo electrónico",
"phoneNumber": {
"inputPlaceholder": "Introduce tu número de teléfono"
},
"userName": {
"inputPlaceholder": "Introduce tu número de identificación"
}
}
},
"account-recover": {
"title": "Recuperación de cuenta",
"description": "Inicia sesión de forma segura sin restablecer tu contraseña.",
"cta": "Usar Face ID",
"skip": "Restablecer contraseña",
"md": {
"cta": "Continuar"
}
}
},
"slider": {
"general": {
"close": "Cerrar",
"md": {
"close": "Cancelar"
}
},
"login-id-fallback": {
"title": "Usar un código de un solo uso",
"summary": "Acabamos de enviar un correo electrónico con un código de {codeLength} dígitos a\n{loginId}",
"description": "Introduce el código",
"cta": "Verificar",
"resend": "Reenviar correo electrónico",
"sms": {
"title": "Verifica tu identidad",
"summary": "Te hemos enviado un código de {codeLength} dígitos a\n{loginId}",
"resend": "Reenviar SMS",
"md": {
"title": "Iniciar sesión con tu huella digital"
}
}
},
"login-id-verification": {
"title": "Verifica tu correo electrónico",
"summary": "Acabamos de enviar un correo electrónico con un código de {codeLength} dígitos a\n{loginId}",
"description": "Introduce el código",
"cta": "Verificar",
"resend": "Reenviar correo electrónico",
"sms": {
"title": "Verifica tu identidad",
"summary": "Te hemos enviado un código de {codeLength} dígitos a\n{loginId}",
"resend": "Reenviar SMS",
"md": {
"title": "Iniciar sesión con tu huella digital"
}
}
},
"profile-collect": {
"title": "Completa tu perfil",
"cta": "Continuar"
},
"new-device": {
"title": "Estás usando un teléfono diferente",
"description": "Continuar para registrar este dispositivo",
"cta": "Continuar"
},
"login-id-collect": {
"title": "Iniciar sesión con Face ID",
"description": "Introduce tu correo electrónico",
"cta": "Continuar",
"no-biometrics": {
"title": "Introduce tu correo electrónico",
"description": "para recibir un código de un solo uso"
},
"phoneNumber": {
"description": "Introduce tu número de teléfono",
"no-biometrics": {
"title": "Introduce tu número de teléfono",
"description": "para recibir un código de un solo uso"
},
"md": {
"title": "Iniciar sesión con huella digital"
}
},
"userName": {
"description": "Introduce tu número de identificación",
"no-biometrics": {
"title": "Introduce tu número de identificación",
"description": "para recibir un código de un solo uso"
},
"md": {
"title": "Iniciar sesión con huella digital"
}
},
"email": {
"no-biometrics": {
"title": "Introduce tu correo electrónico",
"description": "para recibir un código de un solo uso"
},
"md": {
"title": "Iniciar sesión con huella digital"
}
}
}
},
"enrollCredential": {
"title": "Inicia sesión más rápido",
"description": "¿Te gustaría iniciar sesión sin contraseña?",
"cta": "Usar Face ID",
"skip": "No, gracias",
"md": {
"cta": "Continuar"
}
},
"notification": {
"returning-user": {
"header": "Bienvenido de nuevo a {siteName}",
"description": "Iniciar sesión como {loginId}"
}
},
"flow": {
"header": "",
"cta": "Continuar",
"skip": "Esta vez no",
"change": "Cambiar",
"close": "Cerrar",
"errors": {
"general": {
"title": "No podemos registrarte en este momento",
"description": "No hemos podido registrarte debido a un problema técnico de nuestra parte. POr favor, intenta conectarte de nuevo."
},
"userNotFound": {
"title": "No tienes una cuenta",
"description": "[Consulta nuestra documentación para implementar este viaje]"
},
"accountNotFound": {
"title": "No tienes una cuenta",
"description": "[Consulta nuestra documentación para implementar este viaje]"
},
"wrongCodeLimitReached": {
"title": "Has llegado al límite de intentos",
"description": "Espera 5 minutos y vuelve a intentarlo o usa un correo electrónico diferente"
},
"accountIsBlocked": {
"title": "Tu cuenta está bloqueada",
"description": "Por favor, inténtalo de nuevo más tarde"
},
"sendCodeLimitReached": {
"title": "Se ha alcanzado el límite de intentos de verificación de código",
"description": "Por favor, inténtalo de nuevo más tarde"
}
},
"collectLoginId": {
"title": "Introduce tu correo electrónico",
"description": "Inicia sesión en tu cuenta. Si no tienes una, crearemos una para ti",
"placeholder": "name@example.com",
"error": "Introduce un correo electrónico válido",
"username": {
"title": "Introduce tu nombre de usuario",
"placeholder": "Nombre de usuario",
"error": "Introduce un nombre de usuario válido",
"label": "Nombre de usuario"
},
"phoneNumber": {
"title": "Introduce tu número de teléfono",
"placeholder": "Número de teléfono",
"error": "Introduce un número de teléfono válido",
"label": "Número de teléfono"
},
"emailOrPhoneNumber": {
"title": "Ingresa tu correo electrónico o número de teléfono",
"placeholder": "Correo electrónico o número de teléfono",
"error": "Ingresa un correo electrónico o número de teléfono válido",
"label": "Correo electrónico o número de teléfono"
},
"label": "Correo electrónico"
},
"enrollPasskeys": {
"title": "Habilitar Touch ID para iniciar sesión",
"description": "Haz que tu registro sea más rápido. Los datos biométricos nunca salen de tu dispositivo",
"note": "¿Usas un dispositivo público o compartido?",
"alternativeCTA": "Continuar a mi cuenta",
"windows": {
"title": "Habilitar Windows Hello para iniciar sesión",
"description": "Usar Windows Hello para iniciar sesión con tu rostro, tu huella digital o PIN"
},
"ios": {
"title": "Habilitar Face ID para iniciar sesión",
"note": ""
},
"md": {
"title": "Simplifica tu inicio de sesión con claves de acceso",
"description": "Usa tu huella dactilar, rostro o bloqueo de pantalla para iniciar sesión en este dispositivo",
"note": ""
}
},
"fidoCreate": {
"title": "Habilitar Touch ID para iniciar sesión",
"description": "Haz que tu registro sea más rápido. Los datos biométricos nunca salen de tu dispositivo",
"note": "¿Usas un dispositivo público o compartido?",
"alternativeCTA": "Tal vez más tarde",
"windows": {
"title": "Habilitar Windows Hello para iniciar sesión",
"description": "Usar Windows Hello para iniciar sesión con tu rostro, tu huella digital o PIN"
},
"ios": {
"title": "Habilitar Face ID para iniciar sesión",
"note": ""
},
"md": {
"title": "Simplifica tu inicio de sesión con claves de acceso",
"description": "Usa tu huella dactilar, rostro o bloqueo de pantalla para iniciar sesión en este dispositivo",
"note": ""
}
},
"fidoLogin": {
"title": "Iniciar sesión con Touch ID...",
"windows": {
"title": "Iniciar sesión con Windows Hello..."
},
"ios": {
"title": "Iniciar sesión con Face ID"
},
"md": {
"title": "Iniciando sesión..."
}
},
"qr": {
"title": "Escanea un código QR para iniciar sesión",
"note": "Escanea este QR con tu dispositivo móvil personal",
"loading": "Iniciando sesión...",
"magicLink": "Iniciar sesión con un enlace de un solo uso",
"fidoAuth": "Iniciar sesión con Touch ID",
"cancel": "Cancelar",
"windows": {
"fidoAuth": "Iniciar sesión con Windows Hello"
}
},
"magicLink": {
"title": "Revisa tu correo electrónico",
"description": "Te hemos enviado un correo electrónico. En este hay un enlace que te permitirá iniciar sesión sin escribir una contraseña."
},
"otp": {
"title": "Revisa tu correo electrónico para obtener un código",
"description": "Introduce el código para confirmar que eres tú",
"note": "¿No encuentras tu código? Revisa tu carpeta de correo no deseado",
"resend": "Volver a enviar código",
"gmail": "Abre Gmail",
"sms": {
"title": "Revisa tu teléfono para ver si hay un código",
"note": "¿No encontraste tu código?"
}
},
"webappScreen": {
"title": "Iniciar sesión con Touch ID",
"description": "Usar Touch ID para iniciar sesión en este dispositivo",
"alternativeCTA": "Reintentar",
"ios": {
"title": "Iniciar sesión con Face ID",
"description": "Usar Face ID para iniciar sesión en este dispositivo"
},
"md": {
"title": "Iniciar sesión ...",
"description": "Usar la huella dactilar, el rostro o el bloqueo de pantalla para iniciar sesión en este dispositivo"
}
},
"returningUser": {
"header": "",
"title": "Bienvenido",
"description": "Usa Touch ID para continuar con tu cuenta",
"otherOptions": "Otras opciones de inicio de sesión",
"windows": {
"description": "Usar Windows Hello para continuar con tu cuenta"
},
"ios": {
"description": "Usa Face ID para continuar con tu cuenta"
},
"md": {
"description": "Haz que tu registro sea más rápido. Los datos biométricos nunca salen de tu dispositivo"
}
},
"collectProfile": {
"title": "Completa tu perfil",
"description": "¡Estamos emocionados de que te unas a nosotros!"
},
"authSelection": {
"title": "Elige tu método de inicio de sesión",
"fidoAuth": "Iniciar sesión con Face ID",
"passwordAuth": "Iniciar sesión con contraseña",
"md": {
"fidoAuth": "Iniciar sesión con huella dactilar"
},
"windows": {
"fidoAuth": "Iniciar sesión con Windows Hello"
},
"macOS": {
"fidoAuth": "Iniciar sesión con Touch ID"
},
"verification": {
"email": "Recuperar cuenta con un código de un solo uso",
"phone": "Recuperar cuenta con un código de un solo uso"
},
"deferred": {
"signin": "Iniciar sesión con una clave de acceso"
},
"options": {
"show": "Mostrar otras opciones",
"hide": "Ocultar otras opciones"
}
},
"passwordCollection": {
"title": "Introduce tu contraseña",
"otp": "Usar un código de un solo uso",
"qr": "Escanea el código QR",
"reset": "¿Olvidaste tu contraseña?",
"placeholder": "Contraseña",
"errors": {
"required": "Por favor, introduce una contraseña",
"invalid": "Correo o contraseña incorrectos. Inténtalo de nuevo o haz clic en 'olvidé mi contraseña'"
}
},
"registerRedirect": {
"title": "Regístrate en {siteName}",
"description": "Desbloquea ofertas y recompensas exclusivas. Solo se tarda un minuto",
"cta": "Configurar mi cuenta",
"reset": "Volver"
},
"social": {
"cta": "Continuar con {provider}"
}
},
"userName": {
"options": "Opciones"
},
"profiles": {
"firstName": {
"displayName": "Nombre",
"placeholder": " ",
"validations": {
"pattern": "{fieldName} debe incluir solo letras.",
"require_key": "{fieldName} es requerido.",
"min_length_key": "{fieldName} debe tener al menos {value} caracteres.",
"max_length_key": "{fieldName} debe tener como máximo {value} caracteres."
}
},
"lastName": {
"displayName": "Apellido",
"placeholder": " ",
"validations": {
"pattern": "{fieldName} debe incluir solo letras.",
"require_key": "{fieldName} es requerido.",
"min_length_key": "{fieldName} debe tener al menos {value} caracteres.",
"max_length_key": "{fieldName} debe tener como máximo {value} caracteres."
}
},
"birthDate": {
"displayName": "Fecha de nacimiento",
"placeholder": "Fecha de nacimiento",
"properties": {
"day": "Día",
"month": "Mes",
"year": "Año"
},
"validations": {
"require_key": "{fieldName} es requerido.",
"age_restriction_key": "La edad no coincide ({value})."
}
},
"phone": {
"displayName": "Teléfono",
"placeholder": " ",
"validations": {
"pattern": "{fieldName} debe incluir solo dígitos.",
"require_key": "{fieldName} es requerido."
}
},
"consent": {
"displayName": "Me gustaría recibir correos electrónicos con ofertas especiales."
},
"consent2": {
"displayName": "Acepto los términos y condiciones"
}
},
"standaloneButton": {
"qr": {
"login": {
"title": "Accede con llave de acceso"
},
"register": {
"title": "Regístrate con llave de acceso"
},
"recover": {
"title": "Accede con llave de acceso"
}
},
"login": {
"title": "Accede con Touch ID",
"windows": {
"title": "Accede con una llave de acceso"
},
"md": {
"title": "Accede con una llave de acceso"
},
"ios": {
"title": "Accede con Face ID"
},
"no-biometrics": {
"title": "Accede con un código"
}
},
"register": {
"title": "Regístrate con Touch ID",
"finish": {
"title": "Touch ID verificado"
},
"windows": {
"title": "Crea una llave de acceso"
},
"md": {
"title": "Crea una llave de acceso"
},
"ios": {
"title": "Regístrate con Face ID",
"finish": {
"title": "Face ID verificado"
}
},
"no-biometrics": {
"title": "Regístrate con un código"
}
},
"recover": {
"title": "Accede con Touch ID",
"windows": {
"title": "Accede sin contraseña"
},
"md": {
"title": "Accede con una llave de acceso"
},
"ios": {
"title": "Accede con Face ID"
},
"no-biometrics": {
"title": "Usa un código de un solo uso"
}
}
}
},
"nl": {
"login": {
"mobileTitle": "Direct inloggen",
"desktopTitle": "Direct inloggen gebruiken",
"desktopSubtitle": "Scan de QR-code om in te loggen",
"pendingMessage": "Bezig met inloggen...",
"pendingButton": "Annuleren",
"doneMessage": ""
},
"login-partial": {
"mobileTitle": "Direct inloggen",
"desktopTitle": "Scan deze QR met je\ntelefoon om in te loggen",
"desktopSubtitle": "",
"pendingMessage": "Bezig met inloggen...",
"pendingButton": "Annuleren",
"doneMessage": ""
},
"register": {
"mobileTitle": "Aanmelden zonder wachtwoord",
"desktopTitle": "Aanmelden op mobiel",
"desktopSubtitle": "Sla het wachtwoord over door deze QR te scannen met je telefoon",
"pendingMessage": "Voltooi het aanmelden op je telefoon",
"pendingButton": "Annuleren",
"doneMessage": ""
},
"register-partial": {
"mobileTitle": "Aanmelden zonder wachtwoord",
"desktopTitle": "Scan deze QR met je\ntelefoon",
"desktopSubtitle": "",
"pendingMessage": "Bezig met laden...",
"pendingButton": "Annuleren",
"doneMessage": "Wachtwoord overslaan ingeschakeld. Aanmelden wordt voltooid..."
},
"linkButton": {
"button": "Wachtwoord overslaan inschakelen"
},
"errors": {
"userAlreadyExists": "Account bestaat al",
"userNotFound": "Account niet gevonden",
"requiresBiometricInput": "Biometrische invoer vereist",
"accountNotFound": "Account niet gevonden",
"wrongCodeLimitReached": "Limiet voor verificatiepogingen van code is bereikt",
"general": "Er is iets misgegaan. Probeer het later opnieuw.",
"sendCodeLimitReached": "Limiet voor verificatiepogingen van code is bereikt"
},
"sb": {
"message": "Wachtwoord overslaan"
},
"ownid-auth-button": {
"message": "Doorgaan"
},
"common": {
"or": "of",
"buttonAriaLabel": "Biometrische authenticatie",
"ownidAuthEnabled": "Biometrische authenticatie ingeschakeld",
"ownidAuthDisabled": "Biometric authentication disabled",
"processing": "Verwerken",
"close": "Afsluiten"
},
"magicLink": {
"link": "Heb je je telefoon niet?",
"title": "Log in met de magische link",
"pendingMessage": "We sturen je een e-mail",
"pendingButton": "Annuleren",
"message": "We sturen je een link om automatisch in te loggen",
"emailPlaceholder": "E-mailadres",
"button": "Magische link versturen",
"back": "Terug",
"error": "Account bestaat niet",
"emailNotValid": "Voer een geldig e-mailadres in"
},
"magicLinkDone": {
"title": "Controleer je e-mail",
"message": "We hebben je een link gestuurd naar {email} waarmee je automatisch wordt ingelogd",
"mailButton": {
"gmail": "Open in Gmail"
}
},
"otp-form": {
"a11y": {
"label": "OTP-getal {index} van {length}"
}
},
"tooltip": {
"desktop": "Inloggen met de ontgrendelmethode\nvan uw apparaat",
"macOS": "Inloggen met Touch ID",
"ios": "Inloggen met Face ID",
"android": "Inloggen met vingerafdruk",
"noBiometrics": "Inloggen met\neen eenmalige code",
"recover": {
"desktop": "Direct herstellen met de ontgrendelingsmethode\nvan uw telefoon",
"macOS": "Direct herstellen met\nTouch ID",
"ios": "Direct herstellen met\nFace ID",
"android": "Direct herstellen met vingerafdruk",
"noBiometrics": "Direct herstellen\nmet een eenmalige code"
},
"notValidLoginId": "Een geldig e-mailadres invoeren",
"phoneNumber": {
"notValidLoginId": "Een geldig telefoonnummer invoeren"
},
"userName": {
"notValidLoginId": "Een geldige gebruikersnaam invoeren"
},
"qr": {
"login": "Meld u aan met uw telefoon",
"register": "Registreer uzelf met uw telefoon"
}
},
"expandableTooltip": {
"general": {
"close": "Afsluiten",
"more-info": "Meer info"
},
"qr": {
"login": {
"title": "Log sneller in zonder een wachtwoord",
"details": {
"title": "Log sneller in zonder een wachtwoord",
"description": "Log veilig in met de ontgrendelingsmethode van je apparaat, indien beschikbaar, of door een QR-code te scannen. Biometrische gegevens verlaten je apparaat nooit."
}
},
"register": {
"title": "Meld je sneller aan zonder een wachtwoord",
"details": {
"title": "Meld je sneller aan zonder een wachtwoord",
"description": "Meld je veilig aan met de ontgrendelingsmethode van je apparaat, indien beschikbaar, of door een QR-code te scannen. Biometrische gegevens verlaten je apparaat nooit."
}
},
"recover": {
"title": "Log in zonder een wachtwoord",
"details": {
"title": "Herstel je account sneller zonder een wachtwoord",
"description": "Herstel je account veilig met de ontgrendelingsmethode van je apparaat, indien beschikbaar, of door een QR-code te scannen. Biometrische gegevens verlaten je apparaat nooit."
}
}
},
"login": {
"title": "Inloggen met Touch ID",
"details": {
"title": "Log eenvoudiger in",
"description": "Gebruik Touch ID, Face ID of een pincode om in te loggen op elk apparaat. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
},
"windows": {
"title": "Log in met de ontgrendelingsmethode\nvan je apparaat",
"details": {
"description": "Gebruik de ontgrendelingsmethode van je apparaat (vingerafdruk, pincode, enz.) om in te loggen op elk apparaat. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
}
},
"md": {
"title": "Inloggen met vingerafdruk",
"details": {
"description": "Gebruik je vingerafdruk of een pincode om in te loggen op elk apparaat. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
}
},
"ios": {
"title": "Inloggen met Face ID",
"details": {
"description": "Gebruik Face ID, Touch ID of een pincode om in te loggen op elk apparaat. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
}
},
"no-biometrics": {
"title": "Inloggen met een eenmalige code",
"details": {
"description": "Gebruik een eenmalige code om in te loggen op elk apparaat. Het is sneller en veiliger. "
}
}
},
"register": {
"title": "Aanmelden met Touch ID",
"details": {
"title": "Vereenvoudig je aanmelding",
"description": "Gebruik Touch ID, Face ID of een pincode om in te loggen op elk apparaat. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
},
"windows": {
"title": "Meld je aan met de\nontgrendelingsmethode van je apparaat",
"details": {
"description": "Gebruik de ontgrendelingsmethode van je apparaat (vingerafdruk, een pincode, enz.) om in te loggen op elk apparaat. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
}
},
"md": {
"title": "Aanmelden met vingerafdruk",
"details": {
"description": "Gebruik je vingerafdruk of een pincode om in te loggen op elk apparaat. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
}
},
"ios": {
"title": "Aanmelden met Face ID",
"details": {
"description": "Gebruik Face ID, Touch ID of een pincode om in te loggen op elk apparaat. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
}
},
"no-biometrics": {
"title": "Aanmelden met een eenmalige code",
"details": {
"description": "Gebruik een eenmalige code om in te loggen op elk apparaat. Het is sneller en veiliger. "
}
}
},
"recover": {
"title": "Log in met Touch ID",
"details": {
"title": "Herstel je account",
"description": "Gebruik Touch ID, Face ID of een pincode om je account op elk apparaat te herstellen. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
},
"windows": {
"title": "Log in zonder een wachtwoord",
"details": {
"description": "Gebruik de ontgrendelingsmethode van je apparaat (vingerafdruk, pincode, enz.) om je account op elk apparaat te herstellen. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
}
},
"md": {
"title": "Log in met vingerafdruk",
"details": {
"description": "Gebruik je vingerafdruk of een pincode om in te loggen bij je account op elk apparaat. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
}
},
"ios": {
"title": "Log in met Face ID",
"details": {
"description": "Gebruik Face ID, Touch ID of een pincode om je account op elk apparaat te herstellen. Het is sneller en veiliger. Biometrische gegevens verlaten je apparaat nooit."
}
},
"no-biometrics": {
"title": "Account herstellen met\neen eenmalige code",
"details": {
"description": "Gebruik een eenmalige code om je account op elk apparaat te herstellen. Het is sneller en veiliger. "
}
}
}
},
"modal": {
"general": {
"close": "Annuleren",
"restart": "Ben je dit niet?"
},
"new-device": {
"header": "Inloggen",
"title": "Je gebruikt een andere computer",
"description": "Doorgaan met het registreren van dit apparaat",
"cta": "Doorgaan"
},
"login-id-verification": {
"header": "Eenmalige code gebruiken",
"loading": "Controleren",
"success": "Gelukt",
"title": "Voer de code in ",
"description": "Een e-mail met een {codeLength}-cijferige code is zojuist verstuurd naar\n{loginId}",
"resend": "Opnieuw versturen",
"resendDescription": "De e-mail niet ontvangen?",
"a11y": {
"header": "Log in met een eenmalige code die is gestuurd naar je e-mailadres",
"sms": {
"header": "Controleer je telefoon"
}
},
"sms": {
"header": "Controleer je telefoon",
"description": "Een sms met een {codeLength}-cijferige code is zojuist verstuurd naar\n{loginId}",
"resendDescription": "Geen sms ontvangen?"
}
},
"login-id-collect": {
"header": "Inloggen of aanmelden",
"title": "Voer je e-mailadres in om door te gaan",
"placeholder": "E-mailadres",
"cta": "Doorgaan",
"phoneNumber": {
"title": "Voer je telefoonnummer in om door te gaan",
"placeholder": "Telefoonnummer"
},
"userName": {
"title": "Voer je gebruikersnaam in om door te gaan",
"placeholder": "Gebruikersnaam"
}
},
"recognized-user": {
"header": "Log in op {siteName}",
"title": "Gebruik Touch ID om in te loggen als {loginld}",
"cta": "Doorgaan",
"windows": {
"header": "Hallo, {loginId}",
"title": "Gebruik je vingerafdruk, gezicht of een pincode om sneller en veiliger in te loggen"
}
},
"unknown-user": {
"header": "Log in op {siteName}",
"title": "Gebruik Touch ID om sneller en veiliger in te loggen op {siteName} ",
"cta": "Doorgaan",
"windows": {
"header": "Inloggen op {siteName}",
"title": "Gebruik je vingerafdruk, gezicht of een pincode om sneller en veiliger in te loggen"
}
}
},
"prompt": {
"returning-user": {
"ios": {
"a11y": {
"title": "Log in als\n{loginId}",
"cta": "Doorgaan",
"close": "Afsluiten"
},
"title": "Inloggen",
"description": "Face ID",
"cta": "Gebruik {loginId}"
},
"md": {
"a11y": {
"close": "Annuleren"
},
"title": "Log in als\n{loginId}",
"description": "Gebruik je vingerafdruk om in te loggen",
"cta": "Doorgaan",
"close": "Afsluiten"
},
"no-biometrics": {
"title": "Inloggen",
"description": "",
"cta": "Gebruik {loginId}"
},
"macOS": {
"title": "Log in op {siteOrigin} met Touch ID",
"description": "Gebruik {loginId}",
"cta": "Doorgaan",
"close": "Annuleren"
},
"iPad": {
"title": "Log in op {siteOrigin} met Face ID",
"description": "Gebruik {loginId}",
"cta": "Doorgaan",
"close": "Annuleren"
},
"windows": {
"title": "Log in op {siteOrigin} als {loginId}\nmet vingerafdruk, gezicht of een pincode",
"description": "",
"cta": "Oké",
"close": "Annuleren"
}
},
"always-connected": {
"ios": {
"a11y": {
"title": "Inloggen met Face ID",
"cta": "Doorgaan",
"close": "Afsluiten"
},
"title": "Inloggen",
"description": "Face ID",
"cta": "Inloggen met Face ID",
"inputPlaceholder": "Voer je e-mailadres in "
},
"md": {
"a11y": {
"close": "Annuleren"
},
"title": "Inloggen met vingerafdruk",
"description": "Gebruik je vingerafdruk om in te loggen ",
"cta": "Doorgaan",
"close": "Afsluiten",
"inputPlaceholder": "Voer je e-mailadres in "
},
"no-biometrics": {
"title": "Inloggen",
"description": "",
"cta": "Eenmalige code gebruiken"
},
"macOS": {
"title": "Inloggen op {siteOrigin} met Touch ID",
"description": "",
"cta": "Doorgaan",
"close": "Annuleren",
"inputPlaceholder": "Voer je e-mailadres in ",
"phoneNumber": {
"inputPlaceholder": "Voer je telefoonnummer in"
},
"userName": {
"inputPlaceholder": "Voer je gebruikersnaam in"
}
},
"iPad": {
"title": "Inloggen op {siteOrigin} met Face ID",
"description": "",
"cta": "Doorgaan",
"close": "Annuleren",
"inputPlaceholder": "Voer je e-mailadres in",
"phoneNumber": {
"inputPlaceholder": "Voer je telefoonnummer in"
},
"userName": {
"inputPlaceholder": "Voer je gebruikersnaam in"
}
},
"windows": {
"title": "Log in op {siteOrigin} met vingerafdruk, gezicht of een pincode",
"description": "",
"cta": "Oké",
"close": "Annuleren",
"inputPlaceholder": "Voer je e-mailadres in ",
"phoneNumber": {
"inputPlaceholder": "Voer je telefoonnummer in"
},
"userName": {
"inputPlaceholder": "Voer je gebruikersnaam in"
}
}
},
"account-recover": {
"title": "Accountherstel",
"description": "Meld je veilig aan zonder je wachtwoord opnieuw in te stellen",
"cta": "Face ID gebruiken",
"skip": "Wachtwoord resetten",
"md": {
"cta": "Doorgaan"
}
}
},
"slider": {
"general": {
"close": "Afsluiten",
"md": {
"close": "Annuleren"
}
},
"login-id-fallback": {
"title": "Eenmalige code gebruiken",
"summary": "Een e-mail met een {codeLength}-cijferige code is zojuist verstuurd naar\n{loginId}",
"description": "Voer de code in",
"cta": "Controleren",
"resend": "E-mail opnieuw versturen",
"sms": {
"title": "Controleer je identiteit",
"summary": "We hebben je een {codeLength}-cijferige code gestuurd naar\n{loginId}",
"resend": "Sms opnieuw versturen",
"md": {
"title": "Log in met je vingerafdruk"
}
}
},
"login-id-verification": {
"title": "Controleer je e-mailadres",
"summary": "Een e-mail met een {codeLength}-cijferige code is zojuist verstuurd naar\n{loginId}",
"description": "De code invoeren",
"cta": "Controleren",
"resend": "E-mail opnieuw versturen",
"sms": {
"title": "Controleer je identiteit",
"summary": "We hebben je een {codeLength}-cijferige code gestuurd naar\n{loginId}",
"resend": "Sms opnieuw versturen",
"md": {
"title": "Log in met je vingerafdruk"
}
}
},
"profile-collect": {
"title": "Voltooi je profiel",
"cta": "Doorgaan"
},
"new-device": {
"title": "Je gebruikt een andere telefoon",
"description": "Doorgaan met het registreren van dit apparaat",
"cta": "Doorgaan"
},
"login-id-collect": {
"title": "Inloggen met Face ID",
"description": "Voer je e-mailadres in",
"cta": "Doorgaan",
"no-biometrics": {
"title": "Voer je e-mailadres in",
"description": "om een eenmalige code te ontvangen"
},
"phoneNumber": {
"description": "Voer je telefoonnummer in",
"no-biometrics": {
"title": "Voer je telefoonnummer in",
"description": "om een eenmalige code te ontvangen"
},
"md": {
"title": "Log in met vingerafdruk"
}
},
"userName": {
"description": "Voer je gebruikersnaam in",
"no-biometrics": {
"title": "Voer je gebruikersnaam in",
"description": "om een eenmalige code te ontvangen"
},
"md": {
"title": "Log in met vingerafdruk"
}
},
"email": {
"no-biometrics": {
"title": "Voer je e-mailadres in",
"description": "om een eenmalige code te ontvangen"
},
"md": {
"title": "Log in met vingerafdruk"
}
}
}
},
"enrollCredential": {
"title": "Log sneller in ",
"description": "Wil je het wachtwoord de volgende keer overslaan?",
"cta": "Gebruik Face ID",
"skip": "Nee, bedankt",
"md": {
"cta": "Doorgaan"
}
},
"flow": {
"header": "",
"cta": "Doorgaan",
"skip": "Deze keer niet",
"change": "Wijziging",
"close": "Afsluiten",
"errors": {
"general": {
"title": "We kunnen je op dit moment niet aanmelden",
"description": "We konden je niet aanmelden vanwege een technisch probleem aan onze kant. Probeer opnieuw verbinding te maken."
},
"userNotFound": {
"title": "Je hebt geen account",
"description": "[Bekijk onze documentatie om deze weg te volgen]"
},
"accountNotFound": {
"title": "Je hebt geen account",
"description": "[Bekijk onze documentatie om deze weg te volgen]"
},
"wrongCodeLimitReached": {
"title": "Je hebt het maximaal aantal pogingen bereikt",
"description": "Wacht 5 minuten en probeer het opnieuw of gebruik een ander e-mailadres"
},
"accountIsBlocked": {
"title": "Je account is geblokkeerd",
"description": "Probeer het later opnieuw"
},
"sendCodeLimitReached": {
"title": "Maximaal aantal codeverificatie pogingen bereikt",
"description": "Probeer het later opnieuw"
}
},
"collectLoginId": {
"title": "Voer je e-mailadres in",
"description": "Log in op je account. Als je nog geen account hebt, maken wij er een voor je aan",
"placeholder": "name@example.com",
"error": "Voer een geldig e-mailadres in",
"username": {
"title": "Voer je gebruikersnaam in",
"placeholder": "Gebruikersnaam",
"error": "Voer een geldige gebruikersnaam in",
"label": "Gebruikersnaam"
},
"phoneNumber": {
"title": "Voer je telefoonnummer in",
"placeholder": "Telefoonnummer",
"error": "Voer een geldig telefoonnummer in",
"label": "Telefoonnummer"
},
"label": "E-mailadres"
},
"enrollPasskeys": {
"title": "Schakel Touch ID in om je aan te melden",
"description": "Meld je sneller aan. Biometrische gegevens worden alleen op je apparaat bewaard",
"note": "Gebruik je een openbaar of gedeeld apparaat?",
"alternativeCTA": "Doorgaan naar mijn account",
"windows": {
"title": "Schakel Windows Hello in om je aan te melden",
"description": "Gebruik Windows Hello om je aan te melden met je gezicht, vingerafdruk of pincode"
},
"ios": {
"title": "Schakel Face ID in om je aan te melden",
"note": ""
},
"md": {
"title": "Meld je eenvoudiger aan met wachtwoorden",
"description": "Gebruik je vingerafdruk, gezicht of schermvergrendeling om je aan te melden op dit apparaat",
"note": ""
}
},
"fidoCreate": {
"title": "Schakel Touch ID in je aan te melden",
"description": "Meld je sneller aan. Biometrische gegevens worden alleen op je apparaat bewaard",
"note": "Gebruik je een openbaar of gedeeld apparaat?",
"alternativeCTA": "Misschien later",
"windows": {
"title": "Schakel Windows Hello in om je aan te melden",
"description": "Gebruik Windows Hello om je aan te melden met je gezicht, vingerafdruk of pincode"
},
"ios": {
"title": "Schakel Face ID in om je aan te melden",
"note": ""
},
"md": {
"title": "Meld je eenvoudiger aan met wachtwoorden",
"description": "Gebruik je vingerafdruk, gezicht of schermvergrendeling om je aan te melden op dit apparaat",
"note": ""
}
},
"fidoLogin": {
"title": "Aanmelden met Touch ID...",
"windows": {
"title": "Aanmelden met Windows Hello..."
},
"ios": {
"title": "Aanmelden met Face ID"
},
"md": {
"title": "Aanmelden..."
}
},
"qr": {
"title": "Scan een QR-code om je aan te melden",
"note": "Scan deze QR met je persoonlijke mobiele apparaat",
"loading": "Je wordt aangemeld...",
"magicLink": "Meld je aan met een eenmalige link",
"fidoAuth": "Aanmelden met Touch ID",
"cancel": "Annuleren",
"windows": {
"fidoAuth": "Aanmelden met Windows Hello"
}
},
"magicLink": {
"title": "Controleer je e-mail",
"description": "Wij hebben je een e-mail gestuurd. Hierin staat een link waarmee je jezelf kunt aanmelden zonder dat je een wachtwoord hoeft in te voeren."
},
"otp": {
"title": "Controleer je e-mail voor een code",
"description": "Voer de code in om te bevestigen dat jij het bent",
"note": "Kun je jouw code niet vinden? Controleer je spamfolder",
"resend": "Code opnieuw verzenden",
"gmail": "Open Gmail",
"sms": {
"title": "Controleer je telefoon voor een code",
"note": "Heb je jouw code niet gevonden?"
}
},
"webappScreen": {
"title": "Aanmelden met Touch ID",
"description": "Gebruik Touch ID om je aan te melden op dit apparaat",
"alternativeCTA": "Opnieuw proberen",
"ios": {
"title": "Aanmelden met Face ID",
"description": "Gebruik Face ID om ije aan te melden op dit apparaat"
},
"md": {
"title": "Aanmelden ...",
"description": "Gebruik je vingerafdruk, gezicht of schermvergrendeling om je aan te melden op dit apparaat"
}
},
"returningUser": {
"header": "",
"title": "Welkom terug",
"description": "Gebruik Touch ID om door te gaan naar je account",
"otherOptions": "Andere aanmeldopties",
"windows": {
"description": "Gebruik Windows Hello om door te gaan naar je account"
},
"ios": {
"description": "Gebruik Face ID om door te gaan naar je account"
},
"md": {
"description": "Meld je sneller aan. Biometrische gegevens worden alleen op jouw apparaat bewaard"
}
},
"collectProfile": {
"title": "Maak je profiel compleet",
"description": "We zijn blij dat je jezelf bij ons hebt aangemeld!"
},
"authSelection": {
"title": "Kies je aanmeldmethode",
"fidoAuth": "Aanmelden met Face ID",
"passwordAuth": "Aanmelden met wachtwoord",
"md": {
"fidoAuth": "Aanmelden met vingerafdruk"
},
"windows": {
"fidoAuth": "Aanmelden met Windows Hello"
},
"macOS": {
"fidoAuth": "Aanmelden met Touch ID"
},
"verification": {
"email": "Herstel je account met een eenmalige code",
"phone": "Herstel je account met een eenmalige code"
},
"deferred": {
"signin": "Inloggen met een toegangssleutel"
},
"options": {
"show": "Toon andere opties",
"hide": "Verberg andere opties"
}
},
"passwordCollection": {
"title": "Voer je wachtwoord in",
"otp": "Gebruik een eenmalige code",
"qr": "Scan de QR-code",
"reset": "Wachtwoord vergeten?",
"placeholder": "Wachtwoord",
"errors": {
"required": "Voer een wachtwoord in",
"invalid": "Onjuiste gebruiker of wachtwoord. Probeer het opnieuw of klik op 'wachtwoord vergeten'"
}
},
"registerRedirect": {
"title": "Meld je aan bij {siteName}",
"description": "Ontvang exclusieve aanbiedingen en beloningen. Het duurt maar een minuut",
"cta": "Mijn account instellen",
"reset": "Ga terug"
},
"social": {
"cta": "Ga door met {provider}"
}
},
"standaloneButton": {
"qr": {
"login": {
"title": "Log sneller in zonder een wachtwoord"
},
"register": {
"title": "Meld je sneller aan zonder een wachtwoord"
},
"recover": {
"title": "Log in zonder een wachtwoord"
}
},
"login": {
"title": "Inloggen met Touch ID",
"windows": {
"title": "Log in met de ontgrendelingsmethode\nvan je apparaat"
},
"md": {
"title": "Inloggen met vingerafdruk"
},
"ios": {
"title": "Inloggen met Face ID"
},
"no-biometrics": {
"title": "Inloggen met een eenmalige code"
}
},
"register": {
"title": "Aanmelden met Touch ID",
"windows": {
"title": "Meld je aan met de\nontgrendelingsmethode van je apparaat"
},
"md": {
"title": "Aanmelden met vingerafdruk"
},
"ios": {
"title": "Aanmelden met Face ID"
},
"no-biometrics": {
"title": "Aanmelden met een eenmalige code"
}
},
"recover": {
"title": "Log in met Touch ID",
"windows": {
"title": "Log in zonder een wachtwoord"
},
"md": {
"title": "Log in met vingerafdruk"
},
"ios": {
"title": "Log in met Face ID"
},
"no-biometrics": {
"title": "Account herstellen met\neen eenmalige code"
}
}
}
}
}/*##LOCALIZATION_INJECTION_END##*/],
);
/*##WEB_SDK_INJECTION_START##*/!function(){"use strict";function f(t,s,a,l){return new(a=a||Promise)(function(i,e){function o(t){try{r(l.next(t))}catch(t){e(t)}}function n(t){try{r(l.throw(t))}catch(t){e(t)}}function r(t){var e;t.done?i(t.value):((e=t.value)instanceof a?e:new a(function(t){t(e)})).then(o,n)}r((l=l.apply(t,s||[])).next())})}var L,l,o,Q,Z,b,A,a,q,s,W;(i=L=L||{}).Email="email",i.SMS="sms",(i=l=l||{}).Email="email",i.UserName="userName",i.PhoneNumber="phoneNumber",(i=o=o||{})[i.trace=0]="trace",i[i.debug=1]="debug",i[i.information=2]="information",i[i.warning=3]="warning",i[i.error=4]="error",i[i.critical=5]="critical",i[i.none=6]="none",(i=Q=Q||{}).Initiated="initiated",i.Started="started",i.WaitingForApproval="waitingForApproval",i.Approved="approved",i.Declined="declined",i.Finished="finished",(i=Z=Z||{}).Register="register",i.Login="login",(i=b=b||{}).Register="register",i.Login="login",i.Recover="recover",(i=A=A||{}).Button="button",i.ButtonFingerprint="button-fingerprint",i.ButtonFaceID="button-faceid",i.ButtonWin="button-win",i.ClientButton="client-button",i.OwnidAuthButton="ownid-auth-button",i.OwnidFaceIdButton="ownid-auth-button-faceid",i.StandaloneButton="standalone-button",i.Qr="qr",i.Prompt="prompt",i.PromptNotification="prompt-notification",i.Inline="inline",(i=a=a||{}).ReturningUser="returning-user",i.AlwaysConnected="always-connected",i.AccountRecover="account-recover";const z=new Map;z.set(a.AlwaysConnected,"Instant Connect"),z.set(a.ReturningUser,"Instant Connect"),z.set(a.AccountRecover,"Account Recover"),(i=q=q||{}).Start="start",i.End="end",(i=s=s||{}).Top="top",i.Bottom="bottom",i.Start="start",i.End="end",(i=W=W||{}).Standard="standard",i.LinkSocialAccount="linkSocialAccount",i.Reauth="reauth";class D{static isRtlLang(t){var[t]=t.split("-");return D.rtlLangs.includes(t)}}D.rtlLangs=["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"];class y{static getServerUrl(t=y.serverUrl){return t.replace(/\/+$/,"")}static getStatusUrl(t){return""+y.getServerUrl(t)+y.statusUrl}static getAppConfigUrl(t){return""+y.getServerUrl(t)+y.accConfigUrl}static getFinalStatusUrl(t){return""+y.getServerUrl(t)+y.finalStatusUrl}static getRecognizedUserUrl(t){return""+y.getServerUrl(t)+y.recognizedUserUrl}static getAttestationOptionsUrl(t){return""+y.getServerUrl(t)+y.attestationOptionsUrl}static getAttestationResultUrl(t){return""+y.getServerUrl(t)+y.attestationResultUrl}static authTypeMapper(t){return y.authTypeMap[t]||t}}y.serverUrl="/ownid",y.statusUrl="/status",y.finalStatusUrl="/status/final",y.verifyAccountUrl="/verify",y.magicLinkUrl="/magic",y.magicLinkAuthorizeUrl="/magic/auth",y.connectionUrl="/connections",y.statusTimeout=500,y.statusMobileTimeout=1e3,y.monthMs=2592e6,y.weekMs=6048e5,y.dayMs=864e5,y.loginIdStorageKey="ownid-loginid",y.acShowBlockStorageKey="ownid-ac-block",y.enrollCredentialStorageCookieKey="ownid-ec-block",y.defaultLanguage="en",y.defaultTranslationsUrl="https://i18n.dev.ownid.com",y.defaultTranslationsFileName="web-sdk.json",y.passkeysFido2Setting="/passkeys/fido2/settings",y.passkeysFido2Url="/passkeys/fido2/auth",y.accConfigUrl="/client-config",y.recognizedUserUrl="/recognized-user",y.attestationOptionsUrl="/attestation/options",y.attestationResultUrl="/attestation/result",y.ownidLink="https://ownid.com/info",y.defaultCountryCode="US",y.phoneCodes=[{name:"France",dial_code:"+33",emoji:"🇫🇷",code:"FR"},{name:"Germany",dial_code:"+49",emoji:"🇩🇪",code:"DE"},{name:"India",dial_code:"+91",emoji:"🇮🇳",code:"IN"},{name:"Israel",dial_code:"+972",emoji:"🇮🇱",code:"IL"},{name:"Italy",dial_code:"+39",emoji:"🇮🇹",code:"IT"},{name:"Spain",dial_code:"+34",emoji:"🇪🇸",code:"ES"},{name:"Thailand",dial_code:"+66",emoji:"🇹🇭",code:"TH"},{name:"Ukraine",dial_code:"+380",emoji:"🇺🇦",code:"UA"},{name:"United Kingdom",dial_code:"+44",emoji:"🇬🇧",code:"GB"},{name:"United States",dial_code:"+1",emoji:"🇺🇸",code:"US"}],y.authTypeMap={biometrics:"passkey","desktop-biometrics":"passkey","email-fallback":"otp","sms-fallback":"otp"},y.defaultProfileCollectionFields={fields:[{name:"firstName",dataType:"string",displayName:"displayName",hidden:!1,placeholder:"placeholder",customization:{componentType:"input",settings:{autocomplete:"given-name"}},validationRules:[{type:"minLength",configuration:{messageKey:"min_length_key",minValue:2}},{type:"maxLength",configuration:{messageKey:"max_length_key",maxValue:50}},{type:"required",configuration:{messageKey:"require_key"}}]},{name:"lastName",dataType:"string",displayName:"displayName",hidden:!1,placeholder:"placeholder",customization:{componentType:"input",settings:{autocomplete:"family-name"}},validationRules:[{type:"minLength",configuration:{messageKey:"min_length_key",minValue:2}},{type:"maxLength",configuration:{messageKey:"max_length_key",maxValue:50}},{type:"required",configuration:{messageKey:"require_key"}}]},{name:"consent",dataType:"boolean",displayName:"displayName",hidden:!1,customization:{componentType:"checkbox"},validationRules:[]},{name:"consent2",dataType:"boolean",displayName:"displayName",hidden:!1,customization:{componentType:"checkbox"},validationRules:[{type:"required",configuration:{messageKey:"require_key"}}]}]};const O="ownid-s",d="lastUser";class c{static set(t,e,i){i=i?{value:e,expire:Date.now()+i}:e;c.items[t]=i;let o={};try{o=JSON.parse(window.localStorage.getItem(O)||"{}")}catch(t){}o[t]=i,null!=(e=window.localStorage)&&e.setItem(O,JSON.stringify(o))}static get(t){var e=c.items[t];return void 0!==(null==e?void 0:e.expire)?e.expiret.startsWith(e))}}c.items={};class x{static setWidgetStore(t){x.widgetStore=t}static get(t){return x.widgetStore.get(t)}static destroy(t){x.widgetStore.deleteById(t)}static recreate(t){var e=null==(e=x.widgetStore.get(t))?void 0:e.config;x.widgetStore.deleteById(t),x.add(Object.assign({},e))}static add(t){return x.exists(t.id)?(console.warn(`Widget with id: "${t.id}" already exists. Destroy it first with "ownid('destroy', '${t.id}')".`),null):x.widgetStore.create(t.id,t,x.magicLinkHandler)}static exists(t){return x.widgetStore.exists(t)}static abortPasskeysAutofill(){for(const t of x.widgetStore.getAll())t.abortPasskeysAutofill()}static getByType(t){return x.widgetStore.getByType(t)}static getAll(){return x.widgetStore.getAll()}static closeRUP(){for(const t of this.widgetStore.getAll().filter(({config:t})=>t.promptType===a.ReturningUser).map(({config:t})=>t.id))this.destroy(t)}static onLogin(){x.closeRUP(),c.remove(y.acShowBlockStorageKey)}}const J=new TextEncoder,h={isPasskeysAutofillAvailable:!1,isPlatformAuthenticatorAvailable:!1};let j;const H=new Promise(t=>{j=t});function Y(){j()}function G(){return f(this,void 0,void 0,function*(){try{h.isPlatformAuthenticatorAvailable=navigator.credentials&&window.crypto&&void 0!==window.PublicKeyCredential&&(yield window.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable())}catch(t){console.error("Platform Authenticator error:",t),h.isPlatformAuthenticatorAvailable=!1}return h.isPlatformAuthenticatorAvailable})}function K(){return window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967295}function P(){return K().toString(36).slice(2)}function X(t,e,i){let o="";var n;i&&((n=new Date).setTime(n.getTime()+i),o="; expires="+n.toUTCString()),document.cookie=`${t}=${e}${o}; path=/; SameSite=Lax`}function $(t){var e,i=t+"=";for(e of document.cookie.split(";")){for(;" "===e.charAt(0);)e=e.slice(1,e.length);if(0===e.indexOf(i))return e.slice(i.length,e.length)}return null}function _(t,e=!1){let i="";e&&(e=location.host.split("."),i=` domain=.${e[e.length-2]}.${e[e.length-1]};`),document.cookie=`${t}=; expires=Thu, 01 Jan 1970 00:00:01 GMT;${i} path=/; SameSite=Lax`}function p(){var t;try{var e,i,o=$(y.loginIdStorageKey);if(!o)return(e=window.localStorage.getItem(y.loginIdStorageKey))&&(window.localStorage.removeItem(y.loginIdStorageKey),c.set(d,{loginId:e,authMethod:"passkey"})),null!=(t=null==(i=c.get(d))?void 0:i.loginId)?t:null;var n=y.loginIdStorageKey,r=decodeURIComponent(o);try{return c.set(d,{loginId:r,authMethod:"passkey"}),_(n),_(n,!0),r}catch(t){return null}}catch(t){return $(y.loginIdStorageKey)}}function tt(e,t){var i;return f(this,void 0,void 0,function*(){null!=(i=window.ownid.sdk)&&i.adapter&&(yield window.ownid.sdk.adapter.storeLoginId(e,t));try{c.set(d,{loginId:e,authMethod:t})}catch(t){return X(y.loginIdStorageKey,e)}})}function et(){try{_(y.loginIdStorageKey),window.localStorage.removeItem(y.loginIdStorageKey),c.remove(d)}catch(t){return _(y.loginIdStorageKey)}}function it(e,i,o,n=1){for(let t=Math.floor(K()*(i/4-n)+n);t--;){var r=o[Math.floor(K()*o.length)];e.push(r)}return e}function ot(t){return f(this,void 0,void 0,function*(){return window.crypto.subtle.digest("SHA-256",t)})}function u(t){return btoa(String.fromCharCode(...t)).split("=")[0].replace(/\+/g,"-").replace(/\//g,"_")}function nt(t){return t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,""),new Uint8Array(Array.prototype.map.call(atob(t),t=>t.charCodeAt(0)))}function rt(t){t=u(t);return decodeURIComponent(escape(atob(t)))}function st(t,e=!0){return f(this,void 0,void 0,function*(){return u(new Uint8Array(yield ot(J.encode(e?t.toLowerCase():t))))})}function at(e,t=1,i=1,o=1){var n="abcdefghijklmnopqrstuvwxyz";let r=[];t&&(r=it(r,e,"ABCDEFGHIJKLMNOPQRSTUVWXYZ",t)),i&&(r=it(r,e,"0123456789",i));var s=(r=o?it(r,e,"@$%*&^!#_",o):r).length;for(let t=e;t>s;t--)r.push(n[Math.floor(K()*n.length)]);return(r=function(e){for(let t=e.length-1;t--;){var i=Math.floor(K()*(t+1)),o=e[t];e[t]=e[i],e[i]=o}return e}(r)).join("")}function lt(i){if(null!=i&&i.length)for(let t=0,e=i["length"];t{e(...t),r=o},i)}}function ft(t){i=window.navigator.userAgent,e=i.indexOf("OS");var e,i=i.includes("iPhone")&&-1":">",'"':""","'":"'","/":"/","`":"`","=":"="};function Et(t){let e="string"==typeof t.element?window.document.querySelector(t.element):t.element;!t.targetField&&t.passwordField&&(e=t.passwordField);var i=null===(e=t.targetField?t.targetField:e)||void 0===e?void 0:e.dataset.ownidWidgetId;if(i)return i;let o=t.type;return x.exists(o)&&(o=t.type+"-"+P()),t.id&&(o=t.id),e&&(e.dataset.ownidWidgetId=o),o}function It(t){let e="fingerprint";return"ios"!==gt()&&!mt()||(e="faceId"),ht()&&!t.appConfig.windowsBiometricIcon&&(e="win"),e=v()||k()||1!==t.appConfig.desktopFallback?e:"qr"}function Ut(t){return t&&"object"==typeof t&&!Array.isArray(t)}function Ft(t,e){var i=Object.assign({},t);if(Ut(t)&&Ut(e))for(const o of Object.keys(e))Ut(e[o])&&o in t?i[o]=Ft(t[o],e[o]):Object.assign(i,{[o]:e[o]});return i}function Rt(t,e){return"prod-eu"===e?`https://${t}.server.ownid-eu.com/ownid`:`https://${t}.server${e&&"prod"!==e?"."+e:""}.ownid.com/ownid`}function Tt(t){"redirect"===(null==t?void 0:t.action)&&(window.location.href=t.url),"refresh"===(null==t?void 0:t.action)&&window.location.reload()}function Vt(o){return new Promise(t=>{let e=0;function i(){o()&&(clearInterval(e),t())}e=window.setInterval(i,10),i()})}class C{static log(t,e,i="log"){var o={message:t,data:e,type:i,timestamp:Date.now()};C.logs.push(o);for(const n of C.listeners)n(o)}static getLogs(){return C.logs}static addListener(t){return C.listeners.push(t),()=>C.removeListener(t)}static removeListener(t){C.listeners.splice(C.listeners.indexOf(t),1)}}C.logs=[],C.listeners=[];class Mt{constructor(t){this.logger=t}post(i,o={},n){var r,s;return f(this,void 0,void 0,function*(){null!=(r=this.logger)&&r.logDebug("request: "+i,o),C.log("Call: "+i,o,"network");try{var t,e=yield fetch(i,Object.assign({method:"POST",mode:"cors",cache:"no-cache",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(o)},n));if(200===e.status)return(t=e.json()).then(t=>{var e;null!=(e=this.logger)&&e.logDebug("response: "+i,t),C.log("Response: "+i,t,"network")}),yield t;500===e.status&&(null!=(s=this.logger)&&s.logError("error: "+i,e),C.log("Response Error: "+i,e,"network error"))}catch(t){}return null})}get(o,n,r=0){var t,s;return f(this,void 0,void 0,function*(){null!=(t=this.logger)&&t.logDebug("request: "+o,{}),C.log("Call: "+o,null,"network");for(let t=0;t<=r;t++){var e,i=yield fetch(o,Object.assign({method:"GET",mode:"cors",cache:"no-cache",redirect:"follow",referrerPolicy:"no-referrer"},n));if(200===i.status)return(e=i.json()).then(t=>{var e;null!=(e=this.logger)&&e.logDebug("response: "+o,t),C.log("Response: "+o,t,"network")}),e;500===i.status&&(null!=(s=this.logger)&&s.logError("error: "+o,i),C.log("Response Error: "+o,i,"network error"))}return null})}}var Nt,S,Bt,Lt,E,Qt,I,Zt,qt,Wt,zt={login:{mobileTitle:"Instant Log In",desktopTitle:"Use instant log in",desktopSubtitle:"Scan the QR code to login",pendingMessage:"Logging in...",pendingButton:"Cancel",doneMessage:""},"login-partial":{mobileTitle:"Instant Log In",desktopTitle:"Scan this QR with your\nphone to login",desktopSubtitle:"",pendingMessage:"Logging in...",pendingButton:"Cancel",doneMessage:""},register:{mobileTitle:"Register without a password",desktopTitle:"Register on mobile",desktopSubtitle:"Skip the password by scanning this QR with your phone",pendingMessage:"Finish the registration on your phone",pendingButton:"Cancel",doneMessage:""},"register-partial":{mobileTitle:"Register without a password",desktopTitle:"Scan this QR with your\nphone",desktopSubtitle:"",pendingMessage:"Loading...",pendingButton:"Cancel",doneMessage:"Skip Password enabled. Finish registering..."},linkButton:{button:"Enable Skip Password"},errors:{userAlreadyExists:"Account Already Exists",userNotFound:"You don't have an account",requiresBiometricInput:"Biometric Input Required",accountNotFound:"You don't have an account",wrongCodeLimitReached:"Code verification attempts limit reached",accountIsBlocked:"Account is blocked",general:"Something went wrong. Try again later.",sendCodeLimitReached:"Code verification attempts limit reached"},sb:{message:"Skip Password"},standaloneButton:{qr:{login:{title:"Sign in with a passkey"},register:{title:"Create a passkey"},recover:{title:"Sign in with a passkey"}},login:{title:"Sign in with Touch ID",windows:{title:"Sign in with a passkey"},md:{title:"Sign in with a passkey"},ios:{title:"Sign in with Face ID"},"no-biometrics":{title:"Sign in with a code"}},register:{title:"Register with Touch ID",finish:{title:"Touch ID verified"},windows:{title:"Create a passkey"},md:{title:"Create a passkey"},ios:{title:"Register with Face ID",finish:{title:"Face ID verified"}},"no-biometrics":{title:"Register with a code"}},recover:{title:"Sign in with Touch ID",windows:{title:"Sign in without a password"},md:{title:"Sign in with a passkey"},ios:{title:"Sign in with Face ID"},"no-biometrics":{title:"Use a one-time code"}}},"ownid-auth-button":{message:"Continue"},common:{or:"or",buttonAriaLabel:"Biometric Authentication",ownidAuthEnabled:"Biometric authentication enabled",ownidAuthDisabled:"Biometric authentication disabled",processing:"Processing",loading:"Loading",close:"Close"},magicLink:{link:"Don't have your phone?",title:"Sign in with magic link",pendingMessage:"We are sending you an email",pendingButton:"Cancel",message:"We will send you a link to automatically log you in",emailPlaceholder:"Email",button:"Send Magic Link",back:"Back",error:"Account doesn't exist",emailNotValid:"Please enter a valid email"},magicLinkDone:{title:"Check your email",message:"We sent you a link to {email} that will automatically log you in",mailButton:{gmail:"Open in Gmail"}},"otp-form":{a11y:{label:"OTP digit {index} of {length}"}},tooltip:{desktop:"Sign in with your\ndevice unlock method",macOS:"Sign in with Touch ID",ios:"Sign in with Face ID",android:"Sign in with Fingerprint",noBiometrics:"Sign in with\na one-time code",recover:{desktop:"Recover instantly with your\ndevice unlock method",macOS:"Recover instantly with\nTouch ID",ios:"Recover instantly with\nFace ID",android:"Recover instantly with Fingerprint",noBiometrics:"Recover instantly\nwith a one-time code"},notValidLoginId:"Enter a valid email",phoneNumber:{notValidLoginId:"Enter a valid phone number"},userName:{notValidLoginId:"Enter a valid ID number"},qr:{login:"Sign-in faster without a password",register:"Register faster without a password"}},expandableTooltip:{general:{close:"Close","more-info":"More info"},qr:{login:{title:"Sign in faster without a password",details:{title:"Sign-in faster without a password",description:"Sign in securely with your device’s unlock method, when available, or by scanning a QR code. Biometric data never leaves your device."}},register:{title:"Register faster without a password",details:{title:"Register faster without a password",description:"Register securely with your device’s unlock method, when available, or by scanning a QR code. Biometric data never leaves your device."}},recover:{title:"Sign in without a password",details:{title:"Recover faster without a password",description:"Recover securely with your device’s unlock method, when available, or by scanning a QR code. Biometric data never leaves your device."}}},login:{title:"Sign in with Touch ID",details:{title:"Simplify your login",description:"Use Touch ID, Face ID or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."},windows:{title:"Sign in with your\ndevice unlock method",details:{description:"Use your device unlock method (fingerprint, PIN etc.) to sign in on any device. It is faster and more secure. Biometric data never leaves your device."}},md:{title:"Sign in with fingerprint",details:{description:"Use fingerprint or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."}},ios:{title:"Sign in with Face ID",details:{description:"Use Face ID, Touch ID or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."}},"no-biometrics":{title:"Sign in with a one-time code",details:{description:"Use a one-time code to sign in on any device. It is faster and more secure."}}},register:{title:"Register with Touch ID",details:{title:"Simplify your registration",description:"Use Touch ID, Face ID or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."},windows:{title:"Register with your\ndevice unlock method",details:{description:"Use your device unlock method (fingerprint, PIN etc.) to sign in on any device. It is faster and more secure. Biometric data never leaves your device."}},md:{title:"Register with fingerprint",details:{description:"Use fingerprint or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."}},ios:{title:"Register with Face ID",details:{description:"Use Face ID, Touch ID or PIN to sign in on any device. It is faster and more secure. Biometric data never leaves your device."}},"no-biometrics":{title:"Register with a one-time code",details:{description:"Use a one-time code to sign in on any device. It is faster and more secure."}}},recover:{title:"Sign in with Touch ID",details:{title:"Recover your account",description:"Use Touch ID, Face ID or PIN to sign in to your account on any device. It is faster and more secure. Biometric data never leaves your device."},windows:{title:"Sign in without a password",details:{description:"Use your device unlock method (fingerprint, PIN etc.) to sign in to your account on any device. It is faster and more secure. Biometric data never leaves your device."}},md:{title:"Sign in with fingerprint",details:{description:"Use fingerprint or PIN to sign in to your account on any device. It is faster and more secure. Biometric data never leaves your device."}},ios:{title:"Sign in with Face ID",details:{description:"Use Face ID, Touch ID or PIN to sign in to your account on any device. It is faster and more secure. Biometric data never leaves your device."}},"no-biometrics":{title:"Sign in with a One-Time Code",details:{description:"Use a one-time code to sign in to your account on any device. It is faster and more secure."}}}},modal:{general:{close:"Cancel",restart:"Not you?"},"passkey-retry":{header:"Sign In",title:"It looks like the Touch ID login wasn’t completed",description:"No worries—you can try again for a quick and secure login",cta:"Try again with Touch ID","not-now":"Verify it's me in another way",windows:{title:"It looks like the Windows Hello login wasn’t completed",cta:"Try again with Windows Hello"},ios:{title:"It looks like the Face ID login wasn’t completed",cta:"Try again with Face ID"},md:{title:"It looks like the passkey login wasn’t completed",cta:"Try Again","not-now":"Continue"}},"login-id-verification":{header:"Use One-time Code",loading:"Verifying",success:"Success",title:"Enter the code",description:"An email with a {codeLength}-digit code was just sent to\n{loginId}",resend:"Resend",resendDescription:"Didn't receive the email?",a11y:{header:"Sign in using a one-time code sent to your email",sms:{header:"Check your phone"}},sms:{header:"Check your phone",description:"An SMS with a {codeLength}-digit code was just sent to\n{loginId}",resendDescription:"Didn't receive the SMS?"}},"login-id-collect":{header:"Sign In or Register",title:"Enter your email to continue",placeholder:"Email",cta:"Continue",phoneNumber:{title:"Enter your phone number to continue",placeholder:"Phone number"},userName:{title:"Enter your ID number to continue",placeholder:"ID number"}},"recognized-user":{header:"Sign In To {siteName}",title:"Use Touch ID to sign in as\n{loginId}",cta:"Continue",windows:{header:"Hello, {loginId}",title:"Use your fingerprint, face or PIN to a faster and more secure login"}},"unknown-user":{header:"Sign In To {siteName}",title:"Use Touch ID for a faster and more secure \nsign in to {siteName}",cta:"Continue",windows:{header:"Sign in to {siteName}",title:"Use your fingerprint, face or PIN to a faster and more secure login"}}},prompt:{"returning-user":{ios:{a11y:{title:"Sign in as {loginId}",cta:"Continue",close:"Close"},title:"Sign In",description:"Face ID",cta:"Use {loginId}"},md:{a11y:{close:"Cancel"},title:"Sign in as {loginId}",description:"Use your fingerprint to sign in",cta:"Continue",close:"Close"},"no-biometrics":{title:"Sign in",description:"",cta:"Use {loginId}"},macOS:{title:"Sign in to {siteOrigin} with Touch ID",description:"Use {loginId}",cta:"Continue",close:"Cancel"},iPad:{title:"Sign in to {siteOrigin} with Face ID",description:"Use {loginId}",cta:"Continue",close:"Cancel"},windows:{title:"Sign in to {siteOrigin} as {loginId}\n with fingerprint, face or PIN",description:"",cta:"OK",close:"Cancel"}},"always-connected":{ios:{a11y:{title:"Sign in with Face ID",cta:"Continue",close:"Close"},title:"Sign In",description:"Face ID",cta:"Sign in with Face ID",inputPlaceholder:"Enter your email"},md:{a11y:{close:"Cancel"},title:"Sign in with Fingerprint",description:"Use your fingerprint to sign in",cta:"Continue",close:"Close",inputPlaceholder:"Enter your email"},"no-biometrics":{title:"Sign in",description:"",cta:"Use One-Time Code"},macOS:{title:"Sign in to {siteOrigin} with Touch ID",description:"",cta:"Continue",close:"Cancel",inputPlaceholder:"Enter your email",phoneNumber:{inputPlaceholder:"Enter your phone number"},userName:{inputPlaceholder:"Enter your ID number"}},iPad:{title:"Sign in to {siteOrigin} with Face ID",description:"",cta:"Continue",close:"Cancel",inputPlaceholder:"Enter your email",phoneNumber:{inputPlaceholder:"Enter your phone number"},userName:{inputPlaceholder:"Enter your ID number"}},windows:{title:"Sign in to {siteOrigin} with fingerprint, face or PIN",description:"",cta:"OK",close:"Cancel",inputPlaceholder:"Enter your email",phoneNumber:{inputPlaceholder:"Enter your phone number"},userName:{inputPlaceholder:"Enter your ID number"}}},"account-recover":{title:"Quick account recovery",description:"Sign in securely without resetting your password",cta:"Use Face ID",skip:"Reset password",md:{cta:"Continue"}}},slider:{general:{close:"Close",md:{close:"Cancel"}},"login-id-fallback":{title:"Use One-time Code",summary:"An email with a {codeLength}-digit code was just sent to\n{loginId}",description:"Enter the code",cta:"Verify",resend:"Resend email",sms:{title:"Verify Your Identity",summary:"We have sent you a {codeLength}-digit code to\n{loginId}",resend:"Resend SMS",md:{title:"Sign in with your fingerprint"}}},"login-id-verification":{title:"Verify Your Email",summary:"An email with a {codeLength}-digit code was just sent to\n{loginId}",description:"Enter the code",cta:"Verify",resend:"Resend email",sms:{title:"Verify Your Identity",summary:"We have sent you a {codeLength}-digit code to\n{loginId}",resend:"Resend SMS",md:{title:"Sign in with your fingerprint"}}},"profile-collect":{title:"Complete Your Profile",cta:"Continue"},"new-device":{title:"You are using a different phone",description:"Continue to enroll this device",cta:"Continue"},"login-id-collect":{title:"Sign In with Face ID",description:"Enter your email",cta:"Continue","no-biometrics":{title:"Enter your email",description:"to receive a one-time code"},phoneNumber:{description:"Enter your phone number","no-biometrics":{title:"Enter your phone number",description:"to receive a one-time code"},md:{title:"Sign In with Fingerprint"}},userName:{description:"Enter your ID number","no-biometrics":{title:"Enter your ID number",description:"to receive a one-time code"},md:{title:"Sign In with Fingerprint"}},email:{"no-biometrics":{title:"Enter your email",description:"to receive a one-time code"},md:{title:"Sign In with Fingerprint"}}}},enrollCredential:{title:"Speed up your sign-in",description:"Would you like to skip password next time?",cta:"Use Face ID",skip:"No, Thanks",md:{cta:"Continue"}},notification:{"returning-user":{header:"Welcome back to {siteName}",description:"Sign-in as {loginId}"}},flow:{header:"",cta:"Continue",skip:"Not this time",change:"Change",close:"Close",errors:{general:{title:"We are unable to sign you in at this moment",description:"We could not sign you in due a technical issue on our end. Please try connecting again."},userNotFound:{title:"You don't have an account",description:"[Check our documentation to implement this journey]"},accountNotFound:{title:"You don't have an account",description:"[Check our documentation to implement this journey]"},wrongCodeLimitReached:{title:"You reached the limit of attempts",description:"Wait 5 minutes and try again or use a different email"},accountIsBlocked:{title:"Your account is blocked",description:"Please try again later"},sendCodeLimitReached:{title:"Code verification attempts limit reached",description:"Please try again later"}},collectLoginId:{title:"Enter your email",description:"Log into your account. If you don't have one, we'll create one for you",placeholder:"name@example.com",label:"Email",error:"Enter a valid email",username:{title:"Enter your username",placeholder:"Username",label:"Username",error:"Enter a valid username"},phoneNumber:{title:"Enter your phone number",placeholder:"Phone number",label:"Phone number",error:"Enter a valid phone number"},emailOrPhoneNumber:{title:"Enter your phone or email",placeholder:"Phone or email",label:"Phone or email",error:"Enter a valid phone or email"}},enrollPasskeys:{title:"Enable Touch ID to sign in",description:"Make your sign in faster. Biometric data never leaves your device",note:"Using a public or shared device?",alternativeCTA:"Continue to my account",windows:{title:"Enable Windows Hello to sign in",description:"Use Windows Hello to sign in with your face, fingerprint or PIN"},ios:{title:"Enable Face ID to sign in",note:""},md:{title:"Simplify your sign-in\nwith passkeys",description:"Use your fingerprint, face, or screen lock to\nsign-in on this device",note:""}},fidoCreate:{title:"Enable Touch ID to sign in",description:"Make your sign in faster. Biometric data never leaves your device",note:"Using a public or shared device?",alternativeCTA:"Maybe later",windows:{title:"Enable Windows Hello to sign in",description:"Use Windows Hello to sign in with your face, fingerprint or PIN"},ios:{title:"Enable Face ID to sign in",note:""},md:{title:"Simplify your sign-in\nwith passkeys",description:"Use your fingerprint, face, or screen lock to\nsign-in on this device",note:""}},fidoLogin:{title:"Signing in with Touch ID...",windows:{title:"Signing in with Windows Hello..."},ios:{title:"Signing in with Face ID"},md:{title:"Signing in..."}},qr:{title:"Scan a QR Code to sign in",note:"Scan this QR with your personal mobile device",loading:"Signing you in...",magicLink:"Sign in with one-time link",fidoAuth:"Sign in with Touch ID",cancel:"Cancel",windows:{fidoAuth:"Sign in with Windows Hello"}},magicLink:{title:"Check your email",description:"We sent you an email. It has a link that will sign you in without typing a password."},otp:{title:"Check your email for a code",description:"Enter the code to confirm it's you",note:"Can't find your code? Check your spam folder",resend:"Resend code",gmail:"Open Gmail",sms:{title:"Check your phone for a code",note:"Didn't find your code?"}},webappScreen:{title:"Signing in with Touch ID",description:"Use Touch ID to sign in on this device",alternativeCTA:"Retry sign in",ios:{title:"Signing in with Face ID",description:"Use Face ID to sign in on this device"},md:{title:"Signing in ...",description:"Use your fingerprint, face, or screen lock to sign in on this device"}},returningUser:{header:"",title:"Welcome back",description:"Use Touch ID to continue to your account",otherOptions:"Other sign-in options",windows:{description:"Use Windows Hello to continue to your account"},ios:{description:"Use Face ID to continue to your account"},md:{description:"Make your sign in faster. Biometric data never leaves your device"}},collectProfile:{title:"Complete your profile",description:"We're excited to have you join us!"},authSelection:{title:"Choose a sign-in method",fidoAuth:"Sign in with Face ID",passwordAuth:"Sign in with Password",md:{fidoAuth:"Sign in with passkey"},windows:{fidoAuth:"Sign in with passkey"},macOS:{fidoAuth:"Sign in with Touch ID"},verification:{email:"Sign in with a code",phone:"Sign in with a code"},deferred:{signin:"Sign in with passkey"},options:{show:"Show other options",hide:"Hide other options"}},passwordCollection:{title:"Enter your password",otp:"Use a one-time code",qr:"Scan the QR code",reset:"Forgot password?",placeholder:"Password",errors:{required:"Please enter a password",invalid:"Incorrect user or password. Please try again or click 'forgot password'"}},registerRedirect:{title:"Join {siteName}",description:"Unlock exclusive offers and rewards.\nIt only takes a minute",cta:"Setup my account",reset:"Go Back"},social:{cta:"Continue with {provider}"},accountDecision:{title:"You already have an account",description:"Seems like you already have an account.\nContinue to log in, or go back to edit",cta:"Continue",altCta:"Go back to edit"}},userName:{options:"Options"},profiles:{firstName:{displayName:"First name",placeholder:" ",validations:{pattern:"{fieldName} must include letters only.",require_key:"{fieldName} is required.",min_length_key:"{fieldName} must be at least {value} characters long.",max_length_key:"{fieldName} must be at most {value} characters long."}},lastName:{displayName:"Last name",placeholder:" ",validations:{pattern:"{fieldName} must include letters only.",require_key:"{fieldName} is required.",min_length_key:"{fieldName} must be at least {value} characters long.",max_length_key:"{fieldName} must be at most {value} characters long."}},birthDate:{displayName:"Date of birth",placeholder:"Date of birth",properties:{day:"Day",month:"Month",year:"Year"},validations:{require_key:"{fieldName} is required.",age_restriction_key:"Age does not match ({value})."}},phone:{displayName:"Phone",placeholder:" ",validations:{pattern:"{fieldName} must include digits only.",require_key:"{fieldName} is required."}},consent:{displayName:"I would like to receive e-mails with special offers."},consent2:{displayName:'I accept the terms and conditions'}}};class U{static isSupported(t){return U.supportedLanguages.includes(t)}static isAvailable(t){return!!U.texts[t]}static instant(t,e,i){var o,n,r,s,t=t||y.defaultLanguage;let a=null!=(o=null!=(o=U.texts[t]&&U.deepFind(U.texts[t],e))?o:U.texts[U.getBaseLanguage(t)]&&U.deepFind(U.texts[U.getBaseLanguage(t)],e))?o:U.deepFind(U.texts[y.defaultLanguage],e)+" ";for([r,s]of Object.entries(Object.assign(Object.assign({},U.defaultPlaceHolders),i)))a=null==(n=null===a||void 0===a?void 0:a.replace)?void 0:n.call(a,new RegExp(`{${r}}`,"g"),s);return a}static deepFind(t,e){var i,o=e.split(".");let n=t;for(;i=o.shift();){if(void 0===n[i]){if(-1===i.indexOf(":"))return;var r=i.split(":");do{var s=U.deepFind(n,[...r,...o].join("."));if(void 0!==s)return s}while(r.pop());return}n=n[i]}return n}static setLanguage(t,e){-1===U.supportedLanguages.indexOf(t)&&U.supportedLanguages.push(t),U.texts[t]=Ft(null!=(t=U.texts[t])?t:zt,e)}static setDefaultLanguage(t){U.setLanguage(y.defaultLanguage,null!=t?t:zt)}static checkLanguage(t){return!!U.supportedLanguages.includes(t)||U.supportedLanguages.includes(U.getBaseLanguage(t))}static getBaseLanguage(t){return t.split("-")[0]}static mapLanguages(t){if(t){if("string"==typeof t)return t;for(const e of t)if(U.checkLanguage(e))return e;return t[0]}}static getLocalizationOptions(t){return{headers:{"Accept-Language":t&&U.isSupported(t)?t:y.defaultLanguage}}}}U.supportedLanguages=[
"ar",
"bg",
"cs",
"da",
"de",
"de-CH",
"de-DE",
"de-AT",
"el",
"en",
"en-GB",
"en-AU",
"en-CA",
"en-NZ",
"en-US",
"es",
"es-ES",
"es-MX",
"es-US",
"et-EE",
"he",
"fi",
"fr",
"fr-CH",
"fr-FR",
"fr-CA",
"hr",
"hu",
"id",
"it",
"it-CH",
"it-IT",
"ja",
"ko",
"lt-LT",
"ms",
"nl",
"no",
"pl",
"pt",
"pt-PT",
"ro",
"ru",
"sk",
"sl",
"sr",
"sv",
"th",
"tr",
"uk",
"vi",
"zh-CN",
"zh-TW",
"zh"
],U.texts={};let e;class F{static isDrawerAvailable(){return!(null===e||void 0===e||!e.isAvailable())}static show(){F.isDrawerAvailable()&&e.show()}static setInstance(t){e=t}static get(){return e}static onLoading(){F.isDrawerAvailable()&&e.onLoading()}static onFinish(){F.isDrawerAvailable()&&e.onFinish()}static close(t=!1){(F.isDrawerAvailable()||t)&&null!==e&&void 0!==e&&e.destroy()}static contextUpdate(t){F.isDrawerAvailable()&&e.contextUpdate(t)}static onError(t){F.isDrawerAvailable()&&e.onError(t)}}class Dt{constructor(t,e,i){if(this.requestService=t,this.config=e,this.eventsService=i,this.contexts=[],this.cacheExpiration=6e5,this.loginId=null,this.finalCallInProgress=!1,this.isContextCreationInProcessPromise=!1,this.flowStared=this.start(),ut()){e=(null==(t=window.sessionStorage)?void 0:t.getItem("ownid-ctx-"+this.config.id))||"[]",i=JSON.parse(e);if(0{this.isContextCreationInProcessPromise=!1})),this.isContextCreationInProcessPromise}createContextPromise(i,o,n){var r;return f(this,void 0,void 0,function*(){if(C.log("createContext",{loginId:i,force:o,contexts:this.contexts}),o||!this.getContext()){this.sessionChallenge||(yield this.flowStared);var t=yield this.config.onBeforeAuth({loginId:i}),t=(i=t.loginId,yield this.setLoginId(i),this.config.serverUrl||y.serverUrl),e=this.config.type===b.Recover?b.Login:this.config.type||b.Register,e=Object.assign({type:e,qr:!k(),sessionChallenge:this.sessionChallenge,originUrl:""+(e=window.location).origin+e.pathname,loginId:i,loginType:this.config.loginType,supportsFido2:v(),forceInitiateFlow:!0,disableLoginOnRegister:this.config.disableLoginOnRegister||!1},n),t=yield this.requestService.post(t,e,U.getLocalizationOptions(this.config.language));if(!t)throw C.log("createContext: no contextRs",null,"error"),new Error("No context data received");C.log("createContext: created",{context:t.context});e=t.context;this.eventsService.setCommonData({context:e}),null!=(r=this.config.logger)&&r.setSharedData({context:e}),void 0!==t.logLevel&&null!=(r=this.config.logger)&&r.setLogLevel&&this.config.logger.setLogLevel(t.logLevel),this.cacheExpiration=t.expiration,t.sessionVerifier=u(this.sessionVerifier),t.abortController=new AbortController,this.contexts.push(t),ut()&&null!=(r=window.sessionStorage)&&r.setItem("ownid-ctx-"+this.config.id,JSON.stringify(this.contexts))}})}setRefreshContext(){this.cacheExpiration&&(clearTimeout(this.refreshLinkTimeout),this.refreshLinkTimeout=window.setTimeout(()=>this.refreshContext(),this.cacheExpiration/2))}refreshContext(){var t;return f(this,void 0,void 0,function*(){yield this.createContext(this.loginId,!0),null!=(t=null==(t=x.get(this.config.id))?void 0:t.widget)&&t.contextUpdated(this.getContextData()),null!=(t=x.get(this.config.id))&&t.refreshPasskeysAutofill(),F.contextUpdate(this.getContextData().url),this.refreshLinkTimeout&&this.setRefreshContext()})}setCallStatus(){clearTimeout(this.statusTimeout),this.statusTimeout=window.setTimeout(()=>this.callStatus(),this.config.statusInterval||y.statusTimeout)}callStatus(){var s,a,l;return f(this,void 0,void 0,function*(){if(0!==this.contexts.length){var t=this.contexts.map(({context:t,nonce:e})=>({context:t,nonce:e}));let e;try{e=yield this.requestService.post(y.getStatusUrl(this.config.serverUrl),t,U.getLocalizationOptions(this.config.language))}catch(t){null!=(s=this.config.logger)&&s.logDebug("status request error",t.toString())}if(!e)return this.setCallStatus();t=e.find(({status:t})=>t===Q.Finished);if(t){if(this.finalCallInProgress)return;this.finalCallInProgress=!0;var i=t["context"],o=this.getContextData(i)["nonce"],n=yield this.callFinishCall(i);if(!n)return;k()||(n.flowInfo=Object.assign(Object.assign({},n.flowInfo),{qrFallback:!0})),this.finish(n,{context:i,nonce:o})}n=e.find(({status:t})=>t===Q.Started);n&&clearTimeout(this.refreshLinkTimeout),n&&!t&&(null!=(a=null==(s=x.get(this.config.id))?void 0:s.widget)&&a.processing(),F.onLoading());for(let t=this.contexts.length;t--;){const r=this.contexts[t];e.findIndex(t=>t.context===r.context)<0&&(null!=(l=r.abortController)&&l.abort(),this.contexts.splice(t,1))}return this.statusTimeout?this.setCallStatus():void 0}})}callFinishCall(n,r=!1){var s,a,l,d,c,h,p,u;return f(this,void 0,void 0,function*(){var{nonce:t,sessionVerifier:e}=this.contexts.find(t=>t.context===n);try{var i=yield this.requestService.post(y.getFinalStatusUrl(this.config.serverUrl),{context:n,nonce:t,sessionVerifier:e},U.getLocalizationOptions(this.config.language)),o=null!=(a=null==(s=i.payload)?void 0:s.error)?a:null==(d=null==(l=i.payload)?void 0:l.data)?void 0:d.error;if(!o)return i;if(null!=(h=null==(c=x.get(this.config.id))?void 0:c.widget)&&h.onError(o,null==(p=i.payload)?void 0:p.hideError),F.onError(i),r)return i}catch(t){null!=(u=this.config.logger)&&u.logError("final status request error",{context:n,error:t}),null!=(u=null==(u=x.get(this.config.id))?void 0:u.widget)&&u.onError("final status request error",!0)}})}finish(t,e){this.succeededContext=e,this.contexts=[],this.finalResponse=t;var e=x.get(this.config.id);e?null!=(e=null==(t=e.widget)?void 0:t.onSuccess)&&e.call(t):F.onFinish()}getContext(){return 0===this.contexts.length?null:this.contexts[this.contexts.length-1].context}getContextData(e=this.getContext()){return this.contexts.find(t=>e===t.context)||null}stop(){clearTimeout(this.statusTimeout),clearTimeout(this.refreshLinkTimeout),this.statusTimeout=void 0,this.refreshLinkTimeout=void 0}stopStatus(){clearTimeout(this.statusTimeout),this.statusTimeout=void 0}cancel(){this.contexts=[],this.stop(),this.finalCallInProgress=!1,this.abortPasskeysAutofill()}abortPasskeysAutofill(){for(var{abortController:t}of this.contexts)t.abort()}setExternalContextData(t){this.cacheExpiration=t.expiration,t.abortController=new AbortController,this.contexts.push(t)}setLoginId(t){return f(this,void 0,void 0,function*(){this.loginId=t,this.eventsService.setCommonData({loginId:t?yield st(t):void 0})})}getLoginId(){return this.loginId}setFidoAttestationOptions(e){return f(this,void 0,void 0,function*(){var t={username:e,displayName:e};return this.requestService.post(y.getAttestationOptionsUrl(this.config.serverUrl),t)})}}(i=Nt=Nt||{}).Register="register",i.Login="login",i.LinkOnLogin="linkonlogin";class Ot{}class Jt extends Ot{static register(n,r){return f(this,void 0,void 0,function*(){var t={challenge:Uint8Array.from(n,t=>t.charCodeAt(0)),rp:{name:r.relyingPartyName,id:r.relyingPartyId},user:{id:window.crypto.getRandomValues(new Uint8Array(32)),name:r.userName,displayName:r.userDisplayName},pubKeyCredParams:[{type:"public-key",alg:-7},{type:"public-key",alg:-257}],authenticatorSelection:{authenticatorAttachment:"platform",requireResidentKey:!1,userVerification:"required",residentKey:"preferred"}};try{var e=yield Jt.getCredentials().create({publicKey:t}),{attestationObject:i,clientDataJSON:o}=e.response;return{credentialId:e.id,clientDataJSON:u(new Uint8Array(o)),attestationObject:u(new Uint8Array(i)),error:null}}catch(t){return{error:t}}})}static create(e){return f(this,void 0,void 0,function*(){e.challenge=J.encode(e.challenge.toString()),e.user.id=J.encode(e.user.id.toString());for(const t of e.excludeCredentials)t.id=nt(t.id.toString());try{return yield Jt.getCredentials().create({publicKey:e})}catch(t){return{error:t}}})}static login(s,a){var l;return f(this,void 0,void 0,function*(){let t=[];null!=(l=a.credsIds)&&l.length?t=a.credsIds.map(t=>({id:nt(t),type:"public-key",transports:["internal"]})):a.credId&&(t=[{id:nt(a.credId),type:"public-key",transports:["internal"]}]);var e={challenge:Uint8Array.from(s,t=>t.charCodeAt(0)),authenticatorSelection:{authenticatorAttachment:"platform"},rpId:a.relyingPartyId,userVerification:"preferred",allowCredentials:t};try{var i=yield Jt.getCredentials().get({publicKey:e,mediation:"silent"}),{authenticatorData:o,signature:n,clientDataJSON:r}=i.response;return{credentialId:i.id,clientDataJSON:u(new Uint8Array(r)),authenticatorData:u(new Uint8Array(o)),signature:u(new Uint8Array(n)),error:null}}catch(t){return{error:t}}})}static conditionalLogin(n,r,s){return f(this,void 0,void 0,function*(){try{var t=yield navigator.credentials.get({signal:s,publicKey:{rpId:r,challenge:Uint8Array.from(n,t=>t.charCodeAt(0))},mediation:"conditional"}),{authenticatorData:e,signature:i,clientDataJSON:o}=t.response;return{credentialId:t.id,clientDataJSON:u(new Uint8Array(o)),authenticatorData:u(new Uint8Array(e)),signature:u(new Uint8Array(i)),error:null}}catch(t){return{error:t}}})}static getCredentials(){var t;return null!=(t=window.ownidCredentialsProxy)?t:navigator.credentials}static isValidRpId(t){return f(this,void 0,void 0,function*(){return window.location.hostname.includes(t||window.location.hostname)})}}class R{static setFidoService(t){R.fidoService=t}static register(t,e,i){return f(this,void 0,void 0,function*(){return R.fidoService.register(t,e,i)})}static create(t,e){return f(this,void 0,void 0,function*(){return R.fidoService.create(t,e)})}static login(t,e,i){return f(this,void 0,void 0,function*(){return R.fidoService.login(t,e,i)})}static conditionalLogin(t,e,i){return f(this,void 0,void 0,function*(){return Jt.conditionalLogin(t,e,i)})}static isValidRpId(t){return f(this,void 0,void 0,function*(){return R.fidoService.isValidRpId(t)})}}R.setFidoService(Jt),(i=S=S||{}).Click="click",i.Track="track",i.PageView="pageView",i.Error="error",(i=Bt=Bt||{}).register="registration",i.login="login",i.linkonlogin="login";class jt{constructor(t){this.serverUrl=t}setCommonData(t){var e;this.commonData=Object.assign(Object.assign(Object.assign({},this.commonData),t),{category:Bt[t.category]||(null==(e=this.commonData)?void 0:e.category),metadata:Object.assign(Object.assign(Object.assign({},null==(e=this.commonData)?void 0:e.metadata),t.metadata),{origin:k()?"Other":"Desktop"})})}getCommonData(){return this.commonData}initCommonData(){this.setCommonData({})}publish(n,r){var s;return f(this,void 0,void 0,function*(){var t=(this.serverUrl||y.serverUrl).replace(/\/ownid\/?$/,"")+"/events",e=window.location.host.replace("www.",""),e=Object.assign(Object.assign(Object.assign(Object.assign({component:"webSdk",type:S.Click,userAgent:window.navigator.userAgent,version:window.ownid.version,siteUrl:window.location.href},this.commonData),{action:n,applicationOrigin:e}),r),{metadata:Object.assign(Object.assign(Object.assign({},null==(s=this.commonData)?void 0:s.metadata),null==r?void 0:r.metadata),{isUserVerifyingPlatformAuthenticatorAvailable:h.isPlatformAuthenticatorAvailable}),sourceTimestamp:Date.now().toString()});C.log(n,e,"event");try{var i,o=JSON.stringify(e);navigator.sendBeacon?(i=new Blob([o],{type:"application/json"}),navigator.sendBeacon(t,i)):yield fetch(t,{method:"POST",mode:"cors",cache:"no-cache",headers:{"Content-Type":"application/json"},credentials:"omit",redirect:"follow",referrerPolicy:"no-referrer",keepalive:!0,body:o})}catch(t){}})}}function Ht(){var t;document.body.querySelector("ownid-spinner")||((t=document.createElement("ownid-spinner")).style.setProperty("--ownid-spinner-size","30px"),t.style.setProperty("z-index","2147483640"),k()?(t.style.setProperty("--ownid-spinner-overlay-bg-color","hsla(0,0%,7%,.5)"),t.style.setProperty("--ownid-spinner-bg-color","hsla(0,0%,85%,.4)"),t.style.setProperty("--ownid-spinner-color","hsla(0,0%,85%,1)")):(t.style.setProperty("--ownid-spinner-overlay-bg-color","hsla(0,0%,80%,.69)"),t.style.setProperty("--ownid-spinner-bg-color","rgba(133, 133, 133, .3)"),t.style.setProperty("--ownid-spinner-color","#858585")),document.body.prepend(t))}function Yt(){var t;null!=(t=document.body.querySelector("ownid-spinner"))&&t.remove()}class Gt{constructor(t,e){this.config=t,this.widgetCore=e}initPasskeysAutofill(){return f(this,void 0,void 0,function*(){Gt.isPasskeysAutofillAvailable(this.config)&&(yield this.widgetCore.flow.run(p()),this.config.loginIdField.setAttribute("autocomplete","webauthn"),this.handlePasskeysAutofill())})}handlePasskeysAutofill(){return f(this,void 0,void 0,function*(){try{if(yield this.processPasskeysAutofill())return}catch(t){return}setTimeout(()=>this.handlePasskeysAutofill())})}processPasskeysAutofill(){var a;return f(this,void 0,void 0,function*(){var{context:t,abortController:e,flow:i,nonce:o}=this.widgetCore.flow.getContextData();if(!e.signal.aborted&&i){this.config.loginIdField.focus(),window.ownid.fido2ApiCallCounter+=1;var n=Date.now(),e=yield R.conditionalLogin(t,i.data.fido2Settings.relyingPartyId,e.signal),r=Date.now();if(e.error){var s={name:e.error.name,code:e.error.code,message:e.error.message};if(null!=(a=this.config.logger)&&a.logWarning("FIDO2 Exception",{context:t,error:s,metadata:{passkeys:"true",nativeAutofill:"true"}}),r-n<200||20===s.code)throw 0===s.code&&"NotAllowedError"===s.name&&1o.debug||this.logToBackend(t,e,o.debug,i)}logInfo(t,e,i){this.logLevel>o.information||this.logToBackend(t,e,o.information,i)}logWarning(t,e,i){this.logLevel>o.warning||this.logToBackend(t,e,o.warning,i)}logError(t,e,i){this.logToBackend(t,e,o.error,i)}logToBackend(t,e,i,o){var n=window.ownid.version,r=window.navigator["userAgent"],s=""+window.location.host+window.location.pathname,a=(this.serverUrl||y.serverUrl).replace(/\/ownid\/?$/,"")+"/events",i=Object.assign({component:"webSdk",level:i,userAgent:r,requestPath:s,message:t,scope:{flow:e},version:n,codeInitiator:o,sourceTimestamp:Date.now().toString()},this.commonData);fetch(a,{method:"POST",mode:"cors",cache:"no-cache",headers:{"Content-Type":"application/json"},credentials:"omit",redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(i)})}}class Pt{constructor(t,e){this.externalLogger=t,this.logLevel=e}logDebug(t,e){this.logLevel>o.debug||this.externalLogger.logDebug(t,e)}logInfo(t,e){this.logLevel>o.information||this.externalLogger.logInfo(t,{scope:e,context:null==(t=this.commonData)?void 0:t.context})}logWarning(t,e){this.logLevel>o.warning||this.externalLogger.logInfo(t,{scope:e,context:null==(t=this.commonData)?void 0:t.context})}logError(t,e){this.externalLogger.logError(t,Object.assign(Object.assign({},e),{context:null==(t=this.commonData)?void 0:t.context}))}setSharedData(t){this.commonData=t}}class T{static init(t=window){T.to=t,T.callbacks={},window.removeEventListener("message",T.onMessage,!1),window.addEventListener("message",T.onMessage,!1)}static post(t,e){T.to.postMessage(JSON.stringify({message:t,target:"ownid",data:e}),"*")}static registerCallback(t,e){T.callbacks[t]=e}static onMessage(e){var t,i;try{var o=("string"==typeof e.data?JSON.parse(e.data):e.data)||{};"ownid"===o.target&&null!=(i=(t=T.callbacks)[o.message])&&i.call(t,o.data)}catch(t){window.ownid.showMessageErrors&&console.warn(t,e)}}static setTarget(t){T.to=t}}T.callbacks={},T.to=window;class Xt extends Error{constructor({errorMessage:t,type:e}){super(t),this.errorMessage=t,this.type=e}}class $t{static parse(t){t=t.split(".");if(2!==t.length&&3!==t.length)throw new Error('malformed jwt: wrong number of "." split elements');var e=t[0],t=t[1];return{header:$t.readSafeJSONString(rt(nt(e))),payload:$t.readSafeJSONString(rt(nt(t)))}}static readSafeJSONString(t){try{var e=JSON.parse(t);return"object"!=typeof e?null:e.constructor===Array?null:e}catch(t){return null}}}(i=Lt=Lt||{}).Register="register",i.Login="login",i.LinkOnLogin="linkonlogin",(i=E=E||{}).UserAlreadyExists="userAlreadyExists",i.UserNotFound="userNotFound",i.RequiresBiometricInput="requiresBiometricInput",i.AccountNotFound="accountNotFound",i.WrongCodeLimitReached="wrongCodeLimitReached",i.SendCodeLimitReached="sendCodeLimitReached",i.AccountIsBlocked="accountIsBlocked",i.General="general",(i=Qt=Qt||{}).Polling="polling",i.Callback="callback",i.Finish="finish",i.GoToNext="goToNext",i.Redirect="redirect",(i=I=I||{}).Starting="starting",i.Success="success",i.Fido2Authorize="fido2Authorize",i.Error="error",i.LinkWithCode="linkWithCode",i.RestartLinkWithCode="restartLinkWithCode",i.LoginIdAuthorization="loginIDAuthorization",i.RestartLoginIdAuthorization="restartLoginIDAuthorization",i.AcceptStart="acceptStart",i.Stopped="stopped",i.VerifyLoginId="verifyLoginID",i.RestartLoginIdVerification="restartLoginIDVerification",i.ProfileCollect="profileCollect",i.ShowQr="showQr",i.SendLoginIdAuthorization="sendLoginIDAuthorization",i.StartingWebSdk="startingWebSdk";class _t{constructor(t,e){this.store=t,this.repo=e,this.stepMap={},this.unknownErrorCallback=()=>{},this.promise=new Promise((t,e)=>{this.promiseResolve=t,this.promiseReject=e})}getStepsPromise(){return this.promise}onUnknownError(t){this.unknownErrorCallback=t}gotoNextStep(o=null,n=()=>f(this,void 0,void 0,function*(){})){return f(this,void 0,void 0,function*(){var t,e=this.store.currentStep;if(e.nextStep.actionType===Qt.GoToNext&&e.nextStep.nextBehavior)(t=Object.assign({},e)).nextStep=t.nextStep.nextBehavior,this.navigateToStep(t);else try{var i=yield this.repo.getNextStep(e.nextStep.callback,o);yield n(i),this.navigateToStep(i)}catch(t){this.unknownErrorCallback()}})}goToAlternativeStep(i=null,o=()=>f(this,void 0,void 0,function*(){})){return f(this,void 0,void 0,function*(){var t=this.store.currentStep;if(t.nextStep.alternativeBehavior){t=Object.assign({},t);t.nextStep=t.nextStep.alternativeBehavior;try{const e=yield this.repo.getNextStep(t.nextStep.callback,i);yield o(e),this.store.prevStep=Object.assign({},this.store.currentStep),this.store.currentStep=e,setTimeout(()=>this.stepMap[e.nextStep.type](e.nextStep.error))}catch(t){this.unknownErrorCallback()}}})}navigateToStep(t){this.store.prevStep=Object.assign({},this.store.currentStep),this.store.currentStep=t,setTimeout(()=>this.stepMap[t.nextStep.type](t.nextStep.error))}navToAlternativeStep(t){t.nextStep.alternativeBehavior||console.warn("`alternativeBehavior` is missing, probably the flow is going in a wrong way");var e=null!=(e=t.nextStep.alternativeBehavior)?e:t.nextStep;this.navigateToStep(Object.assign(Object.assign({},t),{nextStep:e}))}cancelFlow(t=!1){this.cancelFlowURL&&(this.repo.getNextStep({url:this.cancelFlowURL,method:"POST"},null),t||(this.promiseReject(),null!=(t=null==(t=x.get(this.store.id))?void 0:t.widget)&&t.onCancelFlow()))}}class te extends class{request(t,e,i,o){let n;null!=o&&o.withCredentials&&(n="same-origin");var r,s,a=(null==o?void 0:o.params)||{},l=(a.t=""+(new Date).toISOString(),new URL(e));for([r,s]of Object.entries(a))l.searchParams.set(r,s);return fetch(l.toString(),{method:t,headers:Object.assign({Accept:"application/json","Content-Type":"application/json"},null==o?void 0:o.headers),credentials:n,body:JSON.stringify(i)}).then(t=>t.json())}}{constructor(t){super(),this.language=t}getNextStep({url:e,method:t},i,o={}){C.log("Call: "+e,i,"network");t=this.request(t,e,i,{params:o,withCredentials:!0,headers:Object.assign({"X-Source":"websdk","Accept-Language":this.language},o.headers)});return t.then(t=>C.log("Response: "+e,t,"network")).catch(t=>C.log("Response Error: "+e,t,"network error")),t}}class ee{constructor(t,e,i,o,n,r){this.config=t,this.store=e,this.stepService=i,this.modal=o,this.eventsService=n,this.flowService=r,this.onRestart=()=>{this.eventsService.publish("Clicked Not You",{source:this.modal.sourceMap[this.modal.element.getAttribute("page")]||"Modal"}),this.config.appConfig.enableRegistrationFromLogin?(this.stepService.cancelFlow(!0),this.startNewFlow(!0)):(this.stepService.cancelFlow(!1),this.modal.close(!0),this.store.loginId===p()&&et())}}fidoAuth(){var a;return f(this,void 0,void 0,function*(){window.ownid.fido2ApiCallCounter+=1;var t={fido2ApiCallCounter:window.ownid.fido2ApiCallCounter.toString(),fidoDelay:(Date.now()-((null==(a=null==(a=x.get(this.store.id))?void 0:a.widget)?void 0:a.widgetCore.timers.onClick)||0)).toString()},e=Object.assign(Object.assign({},this.store.currentStep.data.fido2Settings),{userDisplayName:this.store.loginId,userName:this.store.loginId}),i=(e.credId||null!=(a=e.credsIds)&&a.length)&&e.challengeType===Lt.Login?Lt.Login:Lt.Register,o=this.store.context;this.eventsService.publish("FIDO: About To Execute",{type:S.Track,metadata:t}),C.log("FIDO: About To Execute");let n=this.config.type===b.Recover?"recover":e.challengeType;var r={category:n=e.credId||null!=(a=e.credsIds)&&a.length||e.challengeType!==Lt.Login?n:"link",context:this.store.context,widgetId:null==(a=null==(a=this.eventsService.getCommonData())?void 0:a.metadata)?void 0:a.widgetId},s=Date.now(),o=i===Lt.Register?yield R.register(o,e,r):yield R.login(o,e,r),e=Date.now();t.fidoExecutionTime=(e-s).toString(),o.error&&e-s<500&&0===o.error.code&&"NotAllowedError"===o.error.name&&1{var t;null!=(t=null==(t=null==(t=this.store.currentStep)?void 0:t.data)?void 0:t.fido2Settings)&&delete t.credId,null!=(t=null==(t=null==(t=null==(t=this.store.currentStep)?void 0:t.data)?void 0:t.fido2Settings)?void 0:t.credsIds)&&t.length&&(this.store.currentStep.data.fido2Settings.credsIds=[]),this.eventsService.publish("Clicked CTA",{source:e}),this.fidoAuth()}),this.modal.element.addEventListener("ownid-modal-not-now",()=>{this.eventsService.publish("Clicked Alternative CTA",{source:e});var t={name:i.name,code:i.code,message:i.message};this.stepService.gotoNextStep({type:void 0,error:t})}),this.modal.show()})}loginIdAuthorization(i,e){return f(this,void 0,void 0,function*(){var t=this.store.currentStep.data;"invalid-code"===(null==t?void 0:t.errorCode)?this.eventsService.publish(`[${i}] - Entered Wrong Verification Code`,{type:S.Error,source:i}):this.store.prevStep.nextStep.type!==this.store.currentStep.nextStep.type&&this.eventsService.publish("Viewed "+i,{type:S.Track,source:i}),this.modal.setLoginIdConfirmation(null==t?void 0:t.error,e,t=>{this.stepService.gotoNextStep({code:t},e=>f(this,void 0,void 0,function*(){var t;"invalid-code"!==(null==(t=e.data)?void 0:t.errorCode)&&"wrongCodeLimitReached"!==e.nextStep.error&&this.eventsService.publish(`[${i}] - Entered Correct Verification Code`,{type:S.Track,source:i})}))}),this.modal.element.removeEventListener("ownid-restart-otp",this.onRestart),this.modal.element.addEventListener("ownid-restart-otp",this.onRestart),this.modal.show()})}profileCollect(){return f(this,void 0,void 0,function*(){this.eventsService.publish("Viewed Profile Completion",{type:S.Track,source:"Profile Completion"}),this.modal.setProfileCollect((t,i)=>{this.stepService.gotoNextStep({userFields:t},e=>f(this,void 0,void 0,function*(){var t;!0!==e.dataAccepted?(i.showErrors((null==(t=e.data)?void 0:t.validationErrors)||[]),i.hideLoader()):this.eventsService.publish("Entered Correct Profile",{type:S.Track,source:"Profile Completion"})}))}),this.modal.show()})}stopped(){var t;return f(this,void 0,void 0,function*(){yield this.eventsService.publish("Modal Closed - Canceled by Server",{type:S.Track}),this.stepService.promiseReject(),null!=(t=x.get(this.store.id).widget)&&t.onCancelFlow(),this.modal.close(!0)})}success(){return f(this,void 0,void 0,function*(){this.modal.setSuccess(),this.stepService.promiseResolve(!0),setTimeout(()=>this.modal.close(!0),3e3)})}error(t){return f(this,void 0,void 0,function*(){this.eventsService.publish("Viewed Error",{type:S.Error,errorMessage:t.errorMessage,errorCode:t.type}),t.type===E.WrongCodeLimitReached?this.modal.setLoginIdConfirmation(t.errorMessage,"light-otp-error",()=>{}):(this.stepService.promiseReject(t),this.modal.close(!0))})}showQr(){return f(this,void 0,void 0,function*(){this.stepService.promiseResolve(!1),this.modal.close(!0)})}collectLoginId(){return f(this,void 0,void 0,function*(){return this.eventsService.publish("Viewed LoginId Completion",{type:S.Track,source:"LoginId Completion"}),new Promise((i,e)=>{this.modal.setLoginIdCollect(e=>f(this,void 0,void 0,function*(){var t=e.detail;yield this.flowService.setLoginId(t),this.eventsService.publish("Clicked Continue",{source:"LoginId Completion"}),i(t)})),this.modal.element.addEventListener("ownid-modal-close",()=>{var t;e(),null!=(t=null==(t=x.get(this.store.id))?void 0:t.widget)&&t.onCancelFlow()}),this.modal.show()})})}startNewFlow(i=!0,o){var n;return f(this,void 0,void 0,function*(){try{var t=o||(yield this.collectLoginId()),t=(yield this.config.onBeforeAuth({loginId:t})).loginId,e=(yield this.flowService.createContext(t,i),this.setFlowData(t),null!=(n=this.store.currentStep.data)&&n.loginId?"navigateToStep":"navToAlternativeStep");this.stepService[e](this.store.currentStep)}catch(t){this.stepService.unknownErrorCallback()}})}setFlowData(t){var e,i=this.flowService.getContextData();if(i){if(!i.flow)throw this.eventsService.publish("Flow Data is not Available",{type:S.Error}),e=U.instant(this.store.language,"errors."+E.General),new Xt({errorMessage:e,type:E.General});this.store.loginId=t,this.store.context=i.context,this.store.prevStep=i.flow,this.store.currentStep=i.flow,this.stepService.cancelFlowURL=null==(e=this.store.currentStep)?void 0:e.data.stopFlowUrl}}}let r={};(i=Zt=Zt||{}).Input="input",i.Date="date",i.Select="select",i.Radio="radio",i.Checkbox="checkbox",i.Label="label",i.Email="email",i.SplitDate="splitDate",(i=qt=qt||{}).String="string",i.Boolean="boolean",i.Number="number",i.Date="date",i.SplitDate="splitDate";class ie{constructor(t){this.shadow=t}changeText(t,e){this.shadow.querySelector(t).innerText=e}changeHtml(t,e){this.shadow.querySelector(t).innerHTML=e}changeAttribute(t,e,i){this.shadow.querySelector(t).setAttribute(e,i)}removeAttribute(t,e){this.shadow.querySelector(t).removeAttribute(e)}changeCss(t,e,i){this.shadow.querySelector(t).style.setProperty(e,i)}changeCssByElement(t,e,i){t.style.setProperty(e,i)}appendChild(t,e){this.shadow.querySelector(t).appendChild(e)}changeAttributeByElement(t,e,i){t.setAttribute(e,i)}removeAttributeByElement(t,e){t.removeAttribute(e)}}class oe extends HTMLElement{constructor(t){super(),this.attachDomShadow(t),this.shadowManipulator=new ie(this.shadowRoot)}attachDomShadow(t){this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(t.content.cloneNode(!0))}}(i=Wt=Wt||{}).MinLength="minLength",i.MaxLength="maxLength",i.Required="required",i.AgeRestriction="ageRestriction";class ne{constructor(t){this.type=t.type,this.configuration=t.configuration}isValid(t){return{}}}class re extends ne{constructor(t){super(t),this.type=Wt.MinLength}isValid(t){return{result:this.configuration.minValue<=t.length,messageKey:this.configuration.messageKey,value:this.configuration.minValue}}}class se extends ne{constructor(t){super(t),this.type=Wt.MaxLength}isValid(t){return{result:this.configuration.maxValue>=t.length,messageKey:this.configuration.messageKey,value:this.configuration.maxValue}}}class ae extends ne{constructor(t){super(t),this.type=Wt.Required}isValid(t){return{result:!!t,messageKey:this.configuration.messageKey}}}class le extends ne{constructor(t){super(t),this.type=Wt.AgeRestriction}isValid(t){return{result:this.configuration.minAge<=t,messageKey:this.configuration.messageKey,value:this.configuration.minAge}}}class de{createRange(t){const e=[];return t.forEach(t=>{switch(t.type){case Wt.MinLength:e.push(new re(t));break;case Wt.MaxLength:e.push(new se(t));break;case Wt.Required:e.push(new ae(t));break;case Wt.AgeRestriction:e.push(new le(t))}}),e}}class V{constructor(){this.translations={}}static getInstance(){return V.instance||(V.instance=new V),V.instance}setTranslations(t){this.translations=t}getValidationTranslation(t,e,i){return this.getTranslation(e).replace("{fieldName}",t).replace("{value}",null!=(e=i.value)?e:"")}getTranslation(t){var e=(t=r.language+"."+t).split(".");let i=this.translations;for(const o of e)void 0!==i[o]&&(i=i[o]);return i||t}}const ce="{basicStyles}",he="{basicErrorStyles}",pe="{labelDarkModeStyle}",ue="{splitDateDarkModeStyle}",ge="{formDescriptionDarkModeStyle}";function we(t){return``}var i=`
`,me=``;class ve extends oe{constructor(t,e){super(e),this.validationArray=[],this.validationDescriptionIdsArray=[],this.dataType=t.dataType,this.name=t.name,this.displayName=t.displayName,this.valid=!1,this.setOptionalValues(t),null!=(e=this.shadowRoot)&&e.innerHTML&&(this.shadowRoot.innerHTML=this.shadowRoot.innerHTML.replace(ce,we(null==(e=this.customization)?void 0:e.currentDisplaySettings)).replace(he,`
`)),this.validationRules=(new de).createRange(t.validationRules||[])}setOptionalValues(t){this.validationRules=t.validationRules,this.defaultValue=t.defaultValue,this.description=t.description,this.placeholder=t.placeholder,this.customization=t.customization,this.values=t.values,t.hidden?this.hidden=!1:this.hidden=t.hidden}castByDataType(t){if(null==t)return t;switch(this.dataType){case qt.Boolean:return!0===t||"true"===t.toString().toLowerCase();case qt.Number:return parseFloat(t);case qt.String:return t.toString();case qt.Date:return t}}isRequired(){return!!this.validationRules&&this.validationRules.some(t=>t.type===Wt.Required)}showValidationErrors(o=!1){if(this.removeValidationErrors(),0!==this.validationArray.length){var t=document.createElement("div");this.shadowManipulator.changeAttributeByElement(t,"class","validation-error");const n=document.createElement("ul");n.setAttribute("role","presentation"),this.validationArray.forEach((t,e)=>{var i;t.messageKey&&((i=document.createElement("li")).id=this.validationErrorsId(e),e=this.baseTranslationValidationKey+"."+t.messageKey,i.innerText=o?t.messageKey:V.getInstance().getValidationTranslation(this.translatedDisplayName,e,t),n.appendChild(i))}),t.appendChild(n),this.shadowRoot.querySelector(".profile-field-container").appendChild(t)}}addRawValidationError(t){this.validationArray.push({result:!1,messageKey:t})}validationErrorsId(t){t=this.baseTranslationKey+"-msg-"+t;return this.validationDescriptionIdsArray.push(t),t}validationErrorsIdsToString(){return this.validationDescriptionIdsArray.join(" ")}removeValidationErrors(){this.validationDescriptionIdsArray=[];var t=this.shadowRoot.querySelector(".validation-error");t&&t.remove()}get baseTranslationValidationKey(){return this.name+".validations"}get baseTranslationKey(){return""+this.name}get translatedDisplayName(){return V.getInstance().getTranslation(this.baseTranslationKey+"."+this.displayName)}getTranslatedProperty(t){return V.getInstance().getTranslation(this.baseTranslationKey+".properties."+t)}moveFocus(){var t;null!=(t=this.getFieldElement())&&t.focus()}markAsInvalid(){this.updateInvalidAria(),this.updateInvalidColors()}markAsValid(){this.updateValidAria(),this.updateValidColors()}isValid(){var t;if(this.validationArray=[],!this.validationRules)return!0;for(t of this.validationRules){var e=t.isValid(null==(e=this.getRawValue)?void 0:e.call(this));if(!e.result&&(this.validationArray.push(e),!r.displayAllErrorsAtOnce))break}return this.validationArray.every(t=>t.result)}}class fe{static getMobile(){return/iPhone/.test(navigator.userAgent)?"ios":"android"}static getDevice(){return this.isMobile()?this.getMobile():"desktop"}static isDarkMode(){return r.enableDarkMode&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}static isMobile(){return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|android|silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[23]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(navigator.userAgent.slice(0,4))}}const be=document.createElement("template");be.innerHTML=`
${ce}
${he}
${i}
`;class Ee extends ve{constructor(t){super(t,Se),this.isValid=()=>{var t=super.isValid();return t?(this.label.classList.remove("invalid"),this.checkbox.classList.remove("invalid"),this.updateValidAria(),this.updateValidLinksColor()):(this.label.classList.add("invalid"),this.checkbox.classList.add("invalid"),this.updateInvalidAria(),this.updateInvalidLinksColor()),this.valid=t},this.getRawValue=()=>this.castByDataType(this.shadowRoot.querySelector("input").checked),this.getValue=()=>this.getRawValue(),this.initAria(),this.defaultValue&&(this.checkbox.checked="true"===this.defaultValue.toLowerCase());t=null!=(t=null==(t=null==(t=this.customization)?void 0:t.settings)?void 0:t.id)?t:this.name;this.shadowManipulator.changeAttribute("input","id",t),this.initLabel(t)}initLabel(t){this.shadowManipulator.changeHtml(".own-label",this.translatedDisplayName),this.shadowManipulator.changeAttribute(".own-label","for",t),this.shadowManipulator.changeAttribute(".own-label","aria-owns",t)}updateInvalidAria(){this.shadowManipulator.changeAttribute("input","aria-invalid","true"),this.shadowManipulator.changeAttribute("input","invalid","invalid"),this.shadowManipulator.changeAttribute("input","aria-description",this.label.innerText+" is invalid")}updateValidAria(){this.shadowManipulator.changeAttribute("input","aria-invalid","false"),this.shadowManipulator.removeAttribute("input","invalid"),this.shadowManipulator.removeAttribute("input","aria-description")}updateInvalidLinksColor(){var t;for(t of this.label.getElementsByTagName("a"))"classList"in t&&t.classList.add("inherited-properties")}updateValidLinksColor(){var t;for(t of this.label.getElementsByTagName("a"))"classList"in t&&t.classList.remove("inherited-properties")}get label(){return this.shadowRoot.querySelector(".own-label")}get checkbox(){return this.shadowRoot.querySelector("input")}getFieldElement(){return this.checkbox}updateInvalidColors(){this.updateInvalidLinksColor()}updateValidColors(){this.updateValidLinksColor()}initAria(){this.isRequired()&&(this.shadowManipulator.changeAttribute("input","required",""),this.shadowManipulator.changeAttribute("input","aria-required","true"))}}window.customElements.define("profile-checkbox-field",Ee);const Ie=document.createElement("template");Ie.innerHTML=`
${we}
`;class Ue extends ve{constructor(t){super(t,Ie),null!=(t=null==(t=this.customization)?void 0:t.settings)&&t.for&&this.shadowManipulator.changeAttribute("label","for",this.customization.settings.for),this.renderContent()}static get observedAttributes(){return["name","id"]}attributeChangedCallback(t,e,i){}connectedCallback(){}disconnectedCallback(){}getFieldElement(){return this.label}renderContent(){this.shadowManipulator.changeHtml(".own-label",this.translatedDisplayName)}updateInvalidAria(){}updateValidAria(){}updateInvalidColors(){}updateValidColors(){}resetMargin(){this.shadowRoot.querySelector(".profile-field-container").style.margin="0"}changeTextColor(t){this.shadowManipulator.changeCss(".own-label","color",t)}get label(){return this.shadowRoot.querySelector(".own-label")}initAria(){}}window.customElements.define("profile-label-field",Ue);const Fe={titleColor:"#3A3A3C",borderColor:"#10549B",onFocusColor:"transparent",submitButtonColor:"#0070F2",errorBackgroundColor:"transparent",errorTextColor:"#FF3B30",errorBorderColor:"transparent",textColor:"black",invalidBorderColor:"transparent",backgroundColor:"white"},Re={titleColor:"#3A3A3C",borderColor:"#10549B",onFocusColor:"transparent",submitButtonColor:"#255496",errorBackgroundColor:"transparent",errorTextColor:"#FF3B30",errorBorderColor:"transparent",textColor:"black",invalidBorderColor:"transparent",backgroundColor:"white"},Te={titleColor:"white",borderColor:"rgba(255, 255, 255, 0.3)",onFocusColor:"transparent",submitButtonColor:"#027BFF",errorBackgroundColor:"transparent",errorTextColor:"#FF3B30",errorBorderColor:"transparent",textColor:"white",invalidBorderColor:"transparent",backgroundColor:"rgba(255, 255, 255, 0.06)"},Ve={titleColor:"white",borderColor:"#79747E",onFocusColor:"transparent",submitButtonColor:"#3771DF",errorBackgroundColor:"transparent",errorTextColor:"#F2B8B5",errorBorderColor:"transparent",textColor:"white",invalidBorderColor:"transparent",backgroundColor:"transparent"},Me={titleColor:"white",borderColor:"rgba(255,255,255,0.94)",onFocusColor:"transparent",submitButtonColor:"#027BFF",errorBackgroundColor:"transparent",errorTextColor:"#FF3B30",errorBorderColor:"transparent",textColor:"white",invalidBorderColor:"transparent",backgroundColor:"transparent"};class Ne{create(t){if(!0!==(null==t?void 0:t.hidden))switch(this.mergeCustomization(t),t.customization.componentType){case Zt.SplitDate:return new Ae(t);case Zt.Input:return new xe(t);case Zt.Select:return new Ce(t);case Zt.Checkbox:return new Ee(t);case Zt.Label:return new Ue(t)}return null}mergeCustomization(t){var e=fe.getDevice();if(fe.isDarkMode())switch(e){case"ios":t.customization.currentDisplaySettings=Te;break;case"android":t.customization.currentDisplaySettings=Ve;break;case"desktop":t.customization.currentDisplaySettings=Me}else fe.isMobile()?t.customization.currentDisplaySettings=Object.assign(Object.assign({},r.currentCustomization),null==(e=null==(e=t.customization)?void 0:e.displaySettings)?void 0:e.mobile):t.customization.currentDisplaySettings=Object.assign(Object.assign({},r.currentCustomization),null==(e=null==(e=t.customization)?void 0:e.displaySettings)?void 0:e.desktop)}createRange(t){const e=[];return t.forEach(t=>{t=this.create(t);t&&e.push(t)}),e}}class Be{constructor(t,e){this.webComponentField=t,this.logoUrl=e}getFields(){return this.webComponentField}getValue(){if(!this.isValid())return this.focusInvalidInput(),null;const e={};return this.webComponentField.forEach(t=>{t.getValue&&(e[t.name]=t.getValue())}),e}showFieldErrors(t){t.forEach(e=>{var t=this.webComponentField.find(t=>t.name===e.fieldName);t&&(t.addRawValidationError(e.message),t.showValidationErrors(!0),t.markAsInvalid())})}focusInvalidInput(){this.webComponentField.every(t=>!!t.valid||(t.moveFocus(),!1))}isValid(){const e=[];return this.webComponentField.forEach(t=>{e.push(t.isValid())}),e.every(t=>t)}}const Le=document.createElement("template");Le.innerHTML=`
`;class Qe extends oe{constructor(t){super(Le),this.setConfig(t),this.loaderContainer}static get observedAttributes(){return["name","id"]}attributeChangedCallback(t,e,i){}connectedCallback(){}disconnectedCallback(){}get loaderContainer(){return this.shadowRoot.querySelector(".circle-loader")}setConfig(t){null!=t&&t.size&&(this.loaderContainer.style.width=t.size)}}window.customElements.define("profile-loader",Qe);const Ze=document.createElement("template");Ze.innerHTML=`
`;class qe extends oe{constructor(t,e){super(Ze),this._func=t,this.setCustomizations(e),this.button.addEventListener("click",this._func),this.populateButtonText()}connectedCallback(){}setCustomizations(t){t.submitButtonColor&&(this.button.style.background=t.submitButtonColor)}showLoader(){var t=new Qe;this.button.innerHTML="",this.button.appendChild(t)}hideLoader(){this.populateButtonText()}populateButtonText(){var t=V.getInstance().getTranslation("submit-key");this.shadowManipulator.changeText("button",t)}get button(){return this.shadowRoot.querySelector("button")}}window.customElements.define("profile-button",qe);const We=document.createElement("template");We.innerHTML=`
`;class ze extends oe{constructor(t){super(We),this.src=t,this.shadowManipulator.changeAttribute("img","src",this.src)}connectedCallback(){}}window.customElements.define("profile-logo-field",ze);const De=document.createElement("template");De.innerHTML=`
${me}
`),i),this.pane.classList.remove("mail-button-pane"),this.pane.querySelector(".back").addEventListener("click",()=>{this.renderMagicLinkPane(),this.dispatchCustomEvent("ownid-event",{message:"Clicked Back",source:"Magic Link Confirmation"})}),Ti.test(t)&&(this.pane.classList.add("mail-button-pane"),(e=this.pane.querySelector(".done-icon")).parentNode.removeChild(e),(o=window.document.createElement("a")).tabIndex=0,o.classList.add("mail-button","gmail"),o.textContent=this.translation("magicLinkDone.mailButton.gmail",!0),o.target="_blanc",o.href="https://mail.google.com",this.pane.appendChild(o),o.addEventListener("click",()=>this.dispatchCustomEvent("ownid-event",{message:"Clicked Open in Gmail",source:"Magic Link Confirmation"})),this.setFocusableElements())}generateQRCode(t){var e=Ci(0,"L");return e.addData(t),e.make(),e.createSvgTag(4,7)}setPaneTemplate(t,e){var i;this.root.innerHTML=(i=this.translation.bind(this),t=t,`
`:""}
`}fillWidgets(){var t,e=[];for(const n of x.getAll()){var i=Object.assign({},n.config);for(const r of["loginIdField","passwordField","confirmPasswordContainer","targetField","element"])delete i[r];var o=window.document.createElement("details");o.innerHTML=`
${n.config.id}
`));const n=this.body.querySelector(".input-login-id");let r=()=>{var t;return null==(t=n.value)?void 0:t.trim()};if(this.dataset.loginIdType===l.PhoneNumber){const a=this.body.querySelector("select");r=()=>{var t;return a.value+("0"===(null==(t=n.value)?void 0:t.trim().charAt(0))?n.value.trim().slice(1):null==(t=n.value)?void 0:t.trim())},a.addEventListener("change",()=>{a.options[0].value=a.selectedOptions[0].value,a.options[0].innerHTML=a.selectedOptions[0].dataset.st||"",a.value=a.selectedOptions[0].value,n.focus()})}const s=()=>{if(n.value&&(!this.dataset.loginIdRegex||new RegExp(this.dataset.loginIdRegex).test(r())))return!0;n.focus();const t=U.instant(this.language,`tooltip:${this.dataset.loginIdType}.notValidLoginId`);return"windows"===m()?(n.classList.add("invalid"),this.body.querySelector(".error").textContent=t):setTimeout(()=>{new Xe({text:t,loginIdField:n}).appendToParent(document.body)}),!1};this.addOnCTAClick(r,s),this.body.querySelector("form").addEventListener("submit",t=>{t.preventDefault(),this.onCTAClickCallback(r(),s())})}get language(){return this.getAttribute("language")||y.defaultLanguage}get translationFn(){return U.instant.bind(null,this.language)}addOnCTAClick(t=()=>{},e=()=>!0){var i;null!=(i=this.body.querySelector(".cta"))&&i.addEventListener("click",()=>this.onCTAClickCallback(t(),e()))}addOnResendClick(){this.body.querySelector(".resend-cta").addEventListener("click",()=>{this.removeResend(),this.resendOtp()})}addOnRestartClick(){this.body.querySelector(".restart-cta").addEventListener("click",()=>this.restartFlow())}onCTAClickCallback(t,e=!0){var i=this.body.querySelector(".cta-loader");i.hasAttribute("hidden")&&e&&(i.removeAttribute("hidden"),null!=(e=this.body.querySelector(".cta-text"))&&e.setAttribute("hidden",""),this.ctaClick(t))}sendEvent(t,e){this.dispatchEvent(new CustomEvent(t,{bubbles:!0,composed:!0,detail:e}))}}),{en:{"form-description":"Complete the following information for","form-description-mobile":"Complete Your Profile","submit-key":"Continue",firstName:{displayName:"First name",placeholder:"First name",validations:{pattern:"{fieldName} must include letters only.",require_key:"{fieldName} is required.",min_length_key:"{fieldName} must be at least {value} characters long.",max_length_key:"{fieldName} must be at most {value} characters long."}},password:{displayName:"Password",placeholder:"Password",validations:{pattern:"Password should be at least 8 characters long and have 4 groups of characters",require_key:"{fieldName} is required."}},lastName:{displayName:"Last name",placeholder:"Last name"},selectTest:{displayName:"Select Test",placeholder:"Choose",validations:{require_key:"{fieldName} is required."}},phoneNumber:{displayName:"Phone",placeholder:"Phone",validations:{pattern:"{fieldName} must include digits only."}},birthDate:{displayName:"Date of birth",placeholder:"Date of birth",properties:{day:"Day",month:"Month",year:"Year"},validations:{require_key:"{fieldName} is required.",age_restriction_key:"Age does not match ({value})."}},workingWithTravelAgent:{displayName:"I am working with a travel agent."},qsuOptIn:{displayName:"I would like to receive e-mails with special offers and/or information from Carnival."},agreeToVifpTermsAndConditions:{displayName:'I accept Carnival\'s Terms & Conditions.'}},fr:{"form-description":"compléter les informations suivantes pour","submit-key":"continuer",firstName:{displayName:"prénom",placeholder:"prénom",validations:{require_key:"{fieldName} est requis.",min_length_key:"{fieldName} doit comporter au moins {value} caractères.",max_length_key:"{fieldName} doit comporter au moins {value} caractères."}},lastName:{displayName:"nom de famille",placeholder:"nom de famille"},phoneNumber:{displayName:"Téléphone",placeholder:"Téléphone"},birthDate:{displayName:"Date de naissance",placeholder:"Date de naissance",properties:{day:"jour",month:"mois",year:"année"},validations:{require_key:"{fieldName} est requis.",age_restriction_key:"Age does not match ({value})."}},workingWithTravelAgent:{displayName:"Je travaille avec une agence de voyages."},qsuOptIn:{displayName:"Je souhaite recevoir des e-mails avec des offres spéciales et/ou des informations de Carnival."},agreeToVifpTermsAndConditions:{displayName:'J\'accepte Carnival\'s Termes et Conditions.'}}});class Ji{static init(){const t=document.createElement("div");t.classList.add("ownid-a11y-status"),t.setAttribute("aria-live","assertive"),t.setAttribute("aria-relevant","additions"),t.setAttribute("aria-atomic","true"),t.style.setProperty("position","fixed","important"),t.style.setProperty("bottom","0","important"),t.style.setProperty("right","0","important"),t.style.setProperty("background","transparent","important"),t.style.setProperty("text-indent","-9999px","important"),t.style.setProperty("width","1px","important"),t.style.setProperty("height","1px","important"),Ji.element=t,Vt(()=>!!document.body).then(()=>{document.body.appendChild(t)})}static setStatus(t){Ji.element.textContent=t}}class ji{constructor(t,e,i,o){this.config=t,this.stepService=e,this.store=i,this.eventsService=o,this.sourceMap={"passkey-retry":"Passkey Retry","profile-collect":"Profile Completion","login-id-fallback":"Fallback OTP Code","login-id-verification":"OTP Code Verification","login-id-collect":"LoginId Completion"},this.unsubscribeCtaClick=()=>{},this.focusHandler=t=>{t instanceof FocusEvent&&(document===t.target||this.element===t.target||this.element.contains(t.target)?t.stopPropagation():document.activeElement instanceof HTMLElement&&document.activeElement.blur())},this.focusOutHandler=t=>{t instanceof FocusEvent&&(document!==t.relatedTarget&&this.element!==t.relatedTarget&&!this.element.contains(t.relatedTarget)||t.stopPropagation())},this.closeHandler=()=>{var t;try{this.eventsService.publish("Clicked Cancel",{source:this.sourceMap[this.element.getAttribute("page")]||"Modal"});for(const e of x.getAll().filter(({config:{variant:t}})=>![A.Prompt,A.PromptNotification].includes(t)))null!=(t=e.widget)&&t.toggleSpinner(!1);this.stepService.cancelFlow()}catch(t){}this.close(!0)},this.element=document.createElement(this.getModalElement()),g(this.element,"language",this.config.language),g(this.element,"dir",D.isRtlLang(this.config.language),"rtl"),this.element.addEventListener("ownid-modal-close",this.closeHandler),this.element.addEventListener("ownid-resend-otp",()=>f(this,void 0,void 0,function*(){this.eventsService.publish("Clicked Resend",{source:this.sourceMap[this.element.getAttribute("page")]||"Modal"}),this.stepService.goToAlternativeStep()}));t=this.getModalElement()+"-styles";document.getElementById(t)||this.addOwnIDStyleTag(t)}getModalElement(){return"ownid-modal"}setLoginIdConfirmation(t,e,i){t?(this.element.setAttribute("page",e),this.element.setAttribute("error",t),Ji.setStatus(t)):(t=this.store.currentStep.data,g(this.element,"data-login-id",this.store.loginId),g(this.element,"data-code-length",t.otpCodeLength),g(this.element,"data-verification-type",this.config.appConfig.verificationType),this.element.setAttribute("page",e),this.onCtaClick(t=>{this.element.setAttribute("error",""),this.element.setAttribute("status","process");var{otp:t,type:e}=t.detail;"paste"===e&&this.eventsService.publish("User Pasted Verification Code",{type:S.Track}),i(t)}))}setSuccess(){this.element.setAttribute("status","success")}show(){Yt(),this.isShown()||(window.addEventListener("focus",this.focusHandler,!0),window.addEventListener("focusin",this.focusHandler,!0),window.addEventListener("focusout",this.focusOutHandler,!0),document.body.prepend(this.element),this.element.focus())}close(t){var e;this.isShown()&&null!=(e=this.element.parentNode)&&e.removeChild(this.element),t&&this.destroy(),null!=(t=(e=this.element).cleanup)&&t.call(e)}isShown(){return!!document.querySelector(this.getModalElement())}setProfileCollect(e){var t=this.store.currentStep.data,i=document.createElement("div"),t=(i.slot="profile-form",this.element.appendChild(i),this.profile=new Ge,JSON.parse(t.fieldsCollectionConfig));this.profile.init({onSuccess:t=>e(t,this.profile),onError:t=>this.eventsService.publish("Validation Error",{type:S.Track,metadata:{error:t},source:"Profile Completion"}),formContainer:i,formSchema:t,loginId:this.store.loginId,language:"en",translations:Oi}),this.element.setAttribute("page","profile-collect")}passkeyRetryFlow(t){this.element.setAttribute("page","passkey-retry"),this.onCtaClick(t)}setLoginIdCollect(t){g(this.element,"data-login-id-type",this.config.appConfig.loginIdSettings.type),g(this.element,"data-login-id-regex",this.config.appConfig.loginIdSettings.regex),this.element.setAttribute("page","login-id-collect"),this.onCtaClick(t)}onCtaClick(e){this.unsubscribeCtaClick();const t=t=>e(t);this.element.addEventListener("ownid-modal-cta",t),this.unsubscribeCtaClick=()=>this.element.removeEventListener("ownid-modal-cta",t)}showGeneralError(t){this.element.setAttribute("general-error",t),null!=(t=this.profile)&&t.hideLoader()}destroy(){window.removeEventListener("focus",this.focusHandler,!0),window.removeEventListener("focusin",this.focusHandler,!0),window.removeEventListener("focusout",this.focusOutHandler,!0)}addOwnIDStyleTag(t){var e=document.createElement("style");e.id=t,e.textContent=":root{--ownid-mac-modal-font-family:var(--ownid-modal-font-family,var(--ownid-font-family,var(--ownid-apple-font-family,sans-serif)));--ownid-mac-modal-color:var(--ownid-modal-color,#272727);--ownid-mac-modal-background:var(--ownid-modal-background,#fff);--ownid-mac-modal-border-radius:var(--ownid-modal-border-radius,10px);--ownid-mac-modal-border-width:var(--ownid-modal-border-width,.5px);--ownid-mac-modal-border-color:var(--ownid-modal-border-color,#979494);--ownid-mac-modal-box-shadow:var(--ownid-modal-box-shadow,0 4px 30px rgba(0,0,0,.25));--ownid-mac-modal-title-color:var(--ownid-modal-title-color,#292929);--ownid-mac-modal-summary-color:var(--ownid-modal-summary-color,#292929);--ownid-mac-modal-error-color:var(--ownid-modal-error-color,#ff3b30);--ownid-mac-modal-btn-background:var(--ownid-modal-btn-background,#027bff);--ownid-mac-modal-btn-border-radius:var(--ownid-modal-btn-border-radius,6px);--ownid-mac-modal-btn-border:var(--ownid-modal-btn-border,none);--ownid-mac-modal-btn-color:var(--ownid-modal-btn-color,#fff);--ownid-mac-modal-btn-secondary-color:var(--ownid-modal-btn-secondary-color,#2f7cf6);--ownid-mac-modal-btn-secondary-text-decoration:var(--ownid-modal-btn-secondary-text-decoration,none);--ownid-mac-modal-btn-spinner-color:var(--ownid-modal-btn-spinner-color,#fff);--ownid-mac-modal-btn-spinner-bg-color:var(--ownid-modal-btn-spinner-bg-color,hsla(0,0%,100%,.3));--ownid-mac-modal-btn-spinner-overlay-bg-color:var(--ownid-modal-btn-spinner-overlay-bg-color,transparent)}:root{--ownid-win-modal-font-family:var(--ownid-modal-font-family,var(--ownid-font-family,var(--ownid-md-font-family,sans-serif)));--ownid-win-modal-color:var(--ownid-modal-color,#5f6467);--ownid-win-modal-background:var(--ownid-modal-background,#fff);--ownid-win-modal-border-radius:var(--ownid-modal-border-radius,10px);--ownid-win-modal-border-width:var(--ownid-modal-border-width,1px);--ownid-win-modal-border-color:var(--ownid-modal-border-color,#e6e6e6);--ownid-win-modal-box-shadow:var(--ownid-modal-box-shadow,0 6px 16px rgba(0,0,0,.25));--ownid-win-modal-title-color:var(--ownid-modal-title-color,#292929);--ownid-win-modal-summary-color:var(--ownid-modal-summary-color,#5f6467);--ownid-win-modal-error-color:var(--ownid-modal-error-color,#ca4637);--ownid-win-modal-btn-background:var(--ownid-modal-btn-background,#1973e7);--ownid-win-modal-btn-border-radius:var(--ownid-modal-btn-border-radius,4px);--ownid-win-modal-btn-border:var(--ownid-modal-btn-border,none);--ownid-win-modal-btn-color:var(--ownid-modal-btn-color,#fff);--ownid-win-modal-btn-secondary-color:var(--ownid-modal-btn-secondary-color,#2f7cf6);--ownid-win-modal-btn-secondary-text-decoration:var(--ownid-modal-btn-secondary-text-decoration,none);--ownid-win-modal-btn-spinner-color:var(--ownid-modal-btn-spinner-color,#fff);--ownid-win-modal-btn-spinner-bg-color:var(--ownid-modal-btn-spinner-bg-color,hsla(0,0%,100%,.3));--ownid-win-modal-btn-spinner-overlay-bg-color:var(--ownid-modal-btn-spinner-overlay-bg-color,transparent)}",document.head.prepend(e)}}const Hi={[l.Email]:"email",[l.UserName]:"text",[l.PhoneNumber]:"tel"},Yi={[l.Email]:"email",[l.UserName]:"username",[l.PhoneNumber]:"tel"},Gi={0:"otp",1:"qr"},Ki={windows:"win",macOS:"fingerprintBig",ios:"faceId",md:"fingerprint"};t("ownid-slider",class extends HTMLElement{constructor(){super(),this.ctaClick=t=>this.sendEvent("ownid-modal-cta",t),this.close=()=>this.sendEvent("ownid-modal-close"),this.resendOtp=()=>this.sendEvent("ownid-resend-otp"),this.restartFlow=()=>this.sendEvent("ownid-restart-otp"),this.root=this.attachShadow({mode:"open",delegatesFocus:!1})}connectedCallback(){this.checkSize()}static get observedAttributes(){return["general-error","error","page","language","status"]}attributeChangedCallback(t,e,i){if("language"===t&&this.init(),"error"===t){var o=this.body.querySelector(".error");if(!o)return;o.textContent=i||"",i&&this.body.querySelector("ownid-otp-form").setAttribute("invalid","true"),this.removeResend(!1)}if("status"===t)switch(i){case"process":this.setProcess();break;case"success":this.setSuccess()}if("page"===t)switch(i){case"passkey-retry":this.setPasskeyRetry();break;case"profile-collect":this.setProfileCollect();break;case"login-id-collect":this.setLoginIdCollect();break;case"light-otp-error":this.hideCtaButton();break;case"login-id-fallback":case"login-id-verification":this.setLoginIdConfirmation(i)}"general-error"===t&&("profile-collect"===this.getAttribute("page")?(this.querySelector(".cta-loader").setAttribute("hidden",""),this.querySelector(".cta-text").removeAttribute("hidden")):(this.removeAttribute("status"),this.setLoginIdConfirmation(this.getAttribute("page"))),this.setGeneralError(i))}init(){var t,e,i;this.root.innerHTML=(t=this.translationFn,e=w(),`
${o}
`);t=this.drawer.querySelector(".qr-container svg");null!=t&&t.setAttribute("aria-label","QR code"),null!=t&&t.setAttribute("role","img"),this.addListener(".fido","click",()=>{this.drawer.querySelector(".qr-container").style.setProperty("visibility","hidden"),this.drawer.querySelector(".description").style.setProperty("visibility","hidden"),this.drawer.querySelector(".spinner").removeAttribute("hidden");for(const t of this.drawer.querySelectorAll(".tertiary"))t.setAttribute("disabled","")}),this.addListener(".magic-link","click",()=>{var t;this.drawer.querySelector(".qr-container").style.setProperty("visibility","hidden"),this.drawer.querySelector(".title").textContent=this.t("flow.magicLink.title"),this.drawer.querySelector(".description").textContent=this.t("flow.magicLink.description"),Ji.setStatus(this.t("flow.magicLink.description")),null!=(t=this.drawer.querySelector(".ml-loader"))&&t.removeAttribute("hidden");for(const e of this.drawer.querySelectorAll(".tertiary"))e.setAttribute("disabled","")})}qrUpdate(t){var e=this.drawer.querySelector(".qr");e&&(e.innerHTML=this.generateQRCode(t))}qrProcessing(){var t=this.drawer.querySelector(".qr-loader");if(t&&t.hasAttribute("hidden")){Ji.setStatus(this.t("flow.qr.loading")),t.removeAttribute("hidden");for(const e of this.drawer.querySelectorAll(".disable-on-loading"))e.setAttribute("disabled","")}}otp(){var e;return f(this,void 0,void 0,function*(){this.drawer.setA11yTitle(this.t(`flow.otp:${N}.title`)),null!=(e=this.store.currentStep.data)&&e.error&&Ji.setStatus(this.store.currentStep.data.error);var t=this.config.appConfig.verificationType;return this.setContent(`
`),new Promise(e=>{this.addOnCTAClick(e,()=>"cta"),this.addListener("ownid-username","changed",({detail:t})=>e(t)),this.addListener(".skip.button","click",()=>e("otherOptions")),this.onCTAClickCallback(e,()=>"cta");for(const t of this.drawer.querySelectorAll(".button, .cta"))t.style.setProperty("display","none")})})}setHeader(t){this.drawer.dataset.header=t}generateQRCode(t){var e=Ci(0,"L");return e.addData(t),e.make(),e.createSvgTag(4,7)}addListener(t,e,i){const o="string"==typeof t?this.drawer.querySelector(t):t;null!==o&&void 0!==o&&o.addEventListener(e,i),this.listeners.push(()=>null===o||void 0===o?void 0:o.removeEventListener(e,i))}removeListeners(){for(const t of this.listeners)t()}setContent(t){this.removeListeners(),this.drawer.innerHTML=t}showError(t){var e="string"==typeof t?t:t.title,t="string"==typeof t?null:t.description,i=document.createElement("div");i.slot="error",i.classList.add("drawer-error"),i.innerHTML=`
`:""));const o=this.drawer.querySelector("#input-password"),e=this.drawer.querySelector(".eye-icon"),n=this.drawer.querySelector(".error"),i=(this.addListener(o,"input",()=>{""===o.value?e.setAttribute("hidden",""):e.removeAttribute("hidden")}),this.addListener(e,"click",()=>{"password"===o.type?(e.classList.toggle("show",!0),o.type="text"):(e.classList.toggle("show",!1),o.type="password")}),()=>f(this,void 0,void 0,function*(){var t,e;n.textContent="",o.classList.remove("invalid");let i=null;return o.value||(i=this.t("flow.passwordCollection.errors.required")),null!=(e=null==(e=null==(e=this.config.providers)?void 0:e.auth)?void 0:e.password)&&e.validate&&"fail"===(e=yield this.config.providers.auth.password.validate({password:o.value})).status&&(i=null!=(t=e.reason)?t:null,this.drawer.sendEvent("ownid-password-validation-failed",e)),!i||(n.textContent=i,Ji.setStatus(n.textContent),o.classList.add("invalid"),o.focus(),!1)})),r=()=>this.drawer.sendEvent("ownid-password-validation-succeed",{password:o.value});this.addListener("form","submit",t=>f(this,void 0,void 0,function*(){t.preventDefault(),this.onCTAClickCallback(r,o.value,yield i())})),this.addListener(".use-otp","click",()=>{this.toggleLoader(!0)})}}isLoading(){var t=this.drawer.querySelector(".spinner");return t&&!t.hasAttribute("hidden")||!1}toggleLoader(t){var e=this.drawer.querySelector(".spinner");if(e&&t!==this.isLoading())if(t){Ji.setStatus(this.t("common.loading")),e.removeAttribute("hidden");for(const i of this.drawer.querySelectorAll(".hide-on-loading"))i.style.setProperty("visibility","hidden");for(const o of this.drawer.querySelectorAll(".disable-on-loading"))o.setAttribute("disabled","")}else{e.setAttribute("hidden","");for(const n of this.drawer.querySelectorAll(".hide-on-loading"))n.style.removeProperty("visibility");for(const r of this.drawer.querySelectorAll(".disable-on-loading"))r.removeAttribute("disabled")}}registerRedirect(){return f(this,void 0,void 0,function*(){return this.drawer.setA11yTitle(this.t("flow.registerRedirect.title")),this.setContent(`
${this.t("flow.registerRedirect.title")}
${this.t("flow.registerRedirect.description")}
${this.store.loginId}
`),new Promise(t=>f(this,void 0,void 0,function*(){this.addOnCTAClick(t,()=>"cta"),this.addListener(".reset","click",()=>this.onCTAClickCallback(t,"reset"))}))})}isShowUserIcon(){var t;return(null==(t=this.config.appConfig.loginIdSettings)?void 0:t.type)===l.PhoneNumber?"true":"false"}}class go{constructor(t,e,i,o,n,r,s,a){this.config=t,this.props=e,this.store=i,this.eventsService=o,this.flowService=n,this.sdkService=r,this.flowAdapterService=s,this.magicLinkHandler=a,this.isEventInsideElement=t=>document===t.target||this.ref===t.target||this.ref.contains(t.target),this.focusHandler=t=>{t instanceof FocusEvent&&(this.isEventInsideElement(t)?(t.stopPropagation(),t.stopImmediatePropagation()):document.activeElement instanceof HTMLElement&&document.activeElement.blur())},this.clickHandler=t=>{this.isEventInsideElement(t)&&t.stopPropagation()},this.init()}render(){var t=document.createElement("ownid-flow"),e=(g(t,"mod",this.props.container?"container":"drawer"),this.container=t.drawer,U.instant.bind(null,this.config.language)),e=(this.container.dataset.header=e("flow.header"),this.container.dataset.close=e("flow.close"),(null==(e=this.props.content)?void 0:e.logoUrl)||this.config.appConfig.logoUrl);return g(this.container,"data-logo-url",e),g(this.container,"data-logo-alt",this.config.appConfig.displayName),g(this.container,"position",(null==(e=this.props.position)?void 0:e.anchor)||ho.Right),g(this.container,"language",this.config.language||y.defaultLanguage),g(this.container,"branding",this.config.appConfig.showTooltipBranding,""),g(this.container,"animation",!1!==this.props.animation,"true"),null!=(e=this.props.position)&&e.offset&&this.container.style.setProperty("--ownid-drawer-offset",this.props.position.offset+"px"),t}init(){if(this.eventsService.publish("Flow Started"),this.ref=this.render(),this.props.container){var t="string"==typeof this.props.container?window.document.querySelector(this.props.container):this.props.container;if(!t)return void console.error(`OwnID: container: ${this.props.container} is not found`);t.innerHTML="",t.appendChild(this.ref)}else{t=c.get(d);this.props.loginId&&this.props.loginId!==(null==t?void 0:t.loginId)||"passkey"!==(null==t?void 0:t.authMethod)||!v()||!k()||(this.container.setAttribute("closed","true"),this.ref.style.setProperty("display","none")),document.body.prepend(this.ref)}var t=new te(this.config.language),t=new _t(this.store,t),e=new uo(this.container,this.config,this.store);this.screens=new po(this.config,this.props,this.store,e,t,this.eventsService,this.flowService,this.sdkService,this.flowAdapterService,this.magicLinkHandler),this.setScreens(t,this.store),this.screens.startNewFlow(this.props.loginId,!0),this.container.addEventListener("ownid-modal-closed-by-user",()=>{var t,e;this.eventsService.publish("Clicked Close",{source:this.screens.getCurrentScreen()}),null!=(e=null==(t=this.props.events)?void 0:t.onClose)&&e.call(t),this.flowAdapterService.onClose()}),this.container.addEventListener("ownid-modal-close",()=>f(this,void 0,void 0,function*(){setTimeout(()=>this.ref.style.setProperty("display","none"),500),window.removeEventListener("focus",this.focusHandler,!0)})),window.addEventListener("focus",this.focusHandler,!0),this.ref.addEventListener("click",this.clickHandler)}onLoading(){this.screens.onQRScan()}onFinish(){return f(this,void 0,void 0,function*(){return this.screens.onFinish()})}contextUpdate(t){this.screens.qrContextUpdate(t)}getContextData(){var{context:t,nonce:e}=this.flowService.getContextData()||{};return{context:t,nonce:e}}setScreens(t,e){t.stepMap={[I.Success]:()=>this.screens.success(),[I.Fido2Authorize]:this.screens.authSelectionScreen.bind(this.screens),[I.Error]:t=>f(this,void 0,void 0,function*(){return t===E.AccountNotFound&&this.flowAdapterService.isOnAccountNotFoundAvailable()?(yield this.flowService.callFinishCall(e.currentStep.jti,!0))?void 0:this.accountNotFound():this.screens.error(t)}),[I.LinkWithCode]:()=>this.screens.otp("LoginId Verification"),[I.RestartLinkWithCode]:()=>this.screens.otp("LoginId Verification"),[I.LoginIdAuthorization]:()=>this.screens.otp("OTP Fallback"),[I.Stopped]:()=>{},[I.VerifyLoginId]:()=>this.screens.otp("LoginId Verification"),[I.RestartLoginIdVerification]:()=>this.screens.otp("OTP After Resend"),[I.ProfileCollect]:()=>this.screens.profileCollectStep(),[I.ShowQr]:()=>{!1===this.store.newUser&&this.flowAdapterService.isAuthPasswordAuthenticate()?this.screens.passwordCollect():this.screens.qrOrWebApp(e.loginId)},[I.SendLoginIdAuthorization]:()=>{!1===this.store.newUser&&this.flowAdapterService.isAuthPasswordAuthenticate()?this.screens.passwordCollect():this.screens.stepService.gotoNextStep()},[I.StartingWebSdk]:()=>this.screens.stepService.gotoNextStep({supportsFido2:v(),loginId:e.loginId})}}onError(e){return f(this,void 0,void 0,function*(){var t=e.payload.errorType.charAt(0).toLowerCase()+e.payload.errorType.slice(1);if(t===E.AccountNotFound&&this.flowAdapterService.isOnAccountNotFoundAvailable())return this.eventsService.publish("Detected onAccountNotFound Handler",{source:this.screens.getCurrentScreen()}),this.accountNotFound(e);this.screens.error(t)})}show(){this.ref.style.removeProperty("display"),this.container.removeAttribute("closed"),window.addEventListener("focus",this.focusHandler,!0),this.ref.addEventListener("click",this.clickHandler),this.eventsService.publish(`Viewed ${this.screens.getCurrentScreen()} Screen`,{type:S.Track,source:this.screens.getCurrentScreen()})}destroy(){window.removeEventListener("focus",this.focusHandler,!0),this.ref.removeEventListener("click",this.clickHandler),this.flowService.cancel(),this.props.container||(this.container.setAttribute("closed","true"),setTimeout(()=>{var t;return null==(t=this.ref.parentNode)?void 0:t.removeChild(this.ref)},500))}isAvailable(){return!!document.querySelector("ownid-flow")}accountNotFound(o){var n,r;return f(this,void 0,void 0,function*(){var t={authToken:null==(n=null==o?void 0:o.flowInfo)?void 0:n.authToken,loginId:(null==o?void 0:o.payload.loginId)||(null==(n=null==o?void 0:o.payload.registrationPayload)?void 0:n.loginId)||this.store.loginId,ownIdData:null==(n=null==o?void 0:o.payload.registrationPayload)?void 0:n.data},e=yield this.flowAdapterService.isUseDefaultOnAccountNotFound()?{action:"ui.register"}:this.flowAdapterService.onAccountNotFound(t,()=>this.screens.error(E.AccountNotFound));if("redirect"===(null==e?void 0:e.action)||"native"===(null==e?void 0:e.action)&&"register"===(null==e?void 0:e.name))return this.screens.registerRedirect(e);if("close"===(null==e?void 0:e.action))return this.flowAdapterService.onClose();if(Tt(e),"ui.register"===(null==e?void 0:e.action)){var e=null==(r=null==(n=null==(n=this.config.providers)?void 0:n.account)?void 0:n.schema)?void 0:r.call(n),e=yield this.screens.collectProfile(e),e=yield this.flowAdapterService.accountCreate(Object.assign({profile:e},t)),i="Registration";if("logged-in"!==e.status)return"fail"===e.status?(this.eventsService.publish("Registration Failed",{type:S.Track,source:i,metadata:{reasonStatus:e.status,reason:e.reason}}),this.screens.error(E.General)):void this.eventsService.publish("Registration Was Not Successful",{type:S.Track,source:i,metadata:{reasonStatus:e.status,reason:JSON.stringify(e)}});this.props.passkeys&&!this.props.passkeys.createOnStart&&(yield this.screens.enrollPasskeys(t.authToken)),i=this.store.authMethod,yield this.eventsService.publish("User is Registered",{type:S.Track,metadata:{authMethod:i}}),yield this.flowAdapterService.storeLoginId(t.loginId,i),e={loginId:t.loginId,authType:null!=(n=null==(r=null==o?void 0:o.flowInfo)?void 0:r.authType)?n:"not-detected",source:k()?"mobile":"desktop",context:null==(r=this.flowService.succeededContext)?void 0:r.context,authToken:t.authToken},this.flowAdapterService.onFinish(e)}})}}const wo=(e,i,o)=>f(void 0,void 0,void 0,function*(){C.log("sendToNative: "+e,i);var t=yield window.ownid.sdk.adapter.sendToNative("FIDO",e,i,o);return t.error||(t.error=null),t});class mo extends Ot{static register(t,e,i){return wo("create",Object.assign(Object.assign({},e),{context:t}),i)}static create(t,e){return wo("create",t,e)}static login(t,e,i){return wo("get",Object.assign(Object.assign({},e),{context:t}),i)}static isValidRpId(){return f(this,void 0,void 0,function*(){return!0})}}const vo="__ownidNativeBridge";class fo{static isNativeMobileMode(){return!!window[vo]}constructor(){this.callbacks={},this.namespaces={},this.adapterProxy=window[vo],this.actionCounter=0;try{this.namespaces=JSON.parse(this.adapterProxy.getNamespaces())}catch(t){this.namespaces={}}}setFidoService(){this.checkAction("FIDO","create")&&this.checkAction("FIDO","get")&&R.setFidoService(mo)}checkAction(t,e){return null!=(t=null==(t=this.namespaces[t])?void 0:t.includes(e))&&t}sendToNative(n,r,s,a){return C.log(`sendToNative: ${n}: `+r,s),new Promise(e=>{const i=n+`_${r}_`+this.actionCounter++;var t="window.ownid.sdk.adapter.callbacks."+i,o=(this.callbacks[i]=t=>{C.log(`Response: sendToNative: ${n}: `+r,t),e(t),delete this.callbacks[i]},Object.assign({category:"general",siteUrl:window.location.href},a));this.adapterProxy.invokeNative(n,r,t,s?JSON.stringify(s):null,o)})}verifyIsFidoAvailable(){return f(this,void 0,void 0,function*(){this.checkAction("FIDO","isAvailable")&&(h.isPlatformAuthenticatorAvailable=yield this.sendToNative("FIDO","isAvailable"),h.isPlatformAuthenticatorAvailable)&&this.setFidoService()})}getStoredLoginId(){return f(this,void 0,void 0,function*(){return this.callNative("STORAGE","getLastUser")})}storeLoginId(t,e){return f(this,void 0,void 0,function*(){return this.callNative("STORAGE","setLastUser",{loginId:t,authMethod:e})})}callNative(t,e,i,o){return this.checkAction(t,e)?this.sendToNative(t,e,i,o):(C.log(`checkAction failed: ${t}: `+e,i),null)}}class bo{}class Ao extends bo{constructor(t,e,i,o){super(),this.config=t,this.props=e,this.store=i,this.eventsService=o,this.mobileAdapter=window.ownid.sdk.adapter}getMetadata4Native(){var t;return{category:"general",siteUrl:window.location.href,context:this.store.context,widgetId:null==(t=null==(t=this.eventsService.getCommonData())?void 0:t.metadata)?void 0:t.widgetId}}sessionCreate({data:e,metadata:i}){return f(this,void 0,void 0,function*(){var t=yield this.callNative("FLOW","session_create",{session:e,metadata:i},this.getMetadata4Native());t&&this.onError(t.error)})}authPasswordAuthenticate(t){return f(this,void 0,void 0,function*(){return this.callNative("FLOW","auth_password_authenticate",t,this.getMetadata4Native())})}onFinish(e){return f(this,void 0,void 0,function*(){var t=yield this.callNative("FLOW","onFinish",e,this.getMetadata4Native());t&&this.onError(null==t?void 0:t.error)})}getMetadata(){return f(this,void 0,void 0,function*(){return this.callNative("METADATA","get")})}onClose(){return f(this,void 0,void 0,function*(){var t=yield this.callNative("FLOW","onClose",{},this.getMetadata4Native());t&&this.onError(t.error)})}onError(t){return f(this,void 0,void 0,function*(){return t?this.callNative("FLOW","onError",t):null})}accountCreate(t){return f(this,void 0,void 0,function*(){return this.callNative("FLOW","account_register",t,this.getMetadata4Native())})}onAccountNotFound(e,i){return f(this,void 0,void 0,function*(){var t=yield this.callNative("FLOW","onAccountNotFound",e,this.getMetadata4Native());if(t){if(!t.error)return t;i(),this.onError(null==t?void 0:t.error)}})}isOnAccountNotFoundAvailable(){return this.mobileAdapter.checkAction("FLOW","account_register")||this.mobileAdapter.checkAction("FLOW","onAccountNotFound")}isNativeMobileOnAccountNotFoundAvailable(){return this.mobileAdapter.checkAction("FLOW","onAccountNotFound")}isUseDefaultOnAccountNotFound(){return this.mobileAdapter.checkAction("FLOW","account_register")&&!this.mobileAdapter.checkAction("FLOW","onAccountNotFound")}isAuthPasswordAuthenticate(){var t;return this.mobileAdapter.checkAction("FLOW","auth_password_authenticate")&&!(null!=(t=null==(t=null==(t=null==(t=this.config.providers)?void 0:t.auth)?void 0:t.password)?void 0:t.disable)&&t.authenticate)}getStoredLoginId(){var e;return f(this,void 0,void 0,function*(){var t=yield this.callNative("STORAGE","getLastUser");return null!=(e=null==t?void 0:t.loginId)?e:null})}storeLoginId(t,e){return f(this,void 0,void 0,function*(){return this.callNative("STORAGE","setLastUser",{loginId:t,authMethod:e})})}callNative(t,e,i,o){return this.mobileAdapter.checkAction(t,e)?this.mobileAdapter.sendToNative(t,e,i,o):null}registerRedirectAction(t){return f(this,void 0,void 0,function*(){return this.callNative("FLOW","onNativeAction",t)})}}class yo extends bo{constructor(t,e,i,o){super(),this.config=t,this.props=e,this.store=i,this.eventsService=o}sessionCreate({data:i,metadata:t}){var o,n;return f(this,void 0,void 0,function*(){let e;if("string"==typeof i)try{i=JSON.parse(i),e=Object.assign(Object.assign({},i),{metadata:t})}catch(t){C.log("flow:onAuthenticated:dataParseErrorFallback"),e=i}else e=Object.assign(Object.assign({},i),{metadata:t});yield null==(n=null==(o=null==(o=this.config.providers)?void 0:o.session)?void 0:o.create)?void 0:n.call(o,e)})}authPasswordAuthenticate(t){return f(this,void 0,void 0,function*(){return this.isAuthPasswordAuthenticate()?this.config.providers.auth.password.authenticate(t):null})}onFinish(t){var e,i;return f(this,void 0,void 0,function*(){x.onLogin(),F.close(),Tt(yield null==(i=null==(e=this.config.events)?void 0:e.onFinish)?void 0:i.call(e,t))})}getMetadata(){return f(this,void 0,void 0,function*(){return null})}onClose(){return f(this,void 0,void 0,function*(){return null})}onError(){return f(this,void 0,void 0,function*(){return null})}onAccountNotFound(t){return f(this,void 0,void 0,function*(){return this.config.events.onAccountNotFound(t)})}accountCreate(t){var e,i;return f(this,void 0,void 0,function*(){return null==(i=null==(e=null==(e=this.config.providers)?void 0:e.account)?void 0:e.register)?void 0:i.call(e,t)})}isOnAccountNotFoundAvailable(){var t;return!(null==(t=null==(t=this.config.providers)?void 0:t.account)||!t.register)||!(null==(t=this.props.events)||!t.onAccountNotFound)}isNativeMobileOnAccountNotFoundAvailable(){return!1}isUseDefaultOnAccountNotFound(){var t;return!(null==(t=null==(t=this.config.providers)?void 0:t.account)||!t.register||null!=(t=this.props.events)&&t.onAccountNotFound)}isAuthPasswordAuthenticate(){var t;return!(null==(t=null==(t=null==(t=this.config.providers)?void 0:t.auth)?void 0:t.password)||!t.authenticate||null!=(t=null==(t=null==(t=null==(t=this.config.providers)?void 0:t.auth)?void 0:t.password)?void 0:t.disable)&&t.authenticate)}getStoredLoginId(){return f(this,void 0,void 0,function*(){return p()})}storeLoginId(t,e){return f(this,void 0,void 0,function*(){return tt(t,e)})}registerRedirectAction(t){return f(this,void 0,void 0,function*(){window.location.href=t.url})}}class xo{constructor(t,e,i,o){this.adapter=new(fo.isNativeMobileMode()&&window.OWNID_NATIVE_WEBVIEW?Ao:yo)(t,e,i,o)}onFinish(t){return f(this,void 0,void 0,function*(){return this.adapter.onFinish(t)})}sessionCreate(t){return f(this,void 0,void 0,function*(){return this.adapter.sessionCreate(t)})}authPasswordAuthenticate(t){return f(this,void 0,void 0,function*(){return this.adapter.authPasswordAuthenticate(t)})}getMetadata(){return f(this,void 0,void 0,function*(){return this.adapter.getMetadata()})}onClose(){return this.adapter.onClose()}isOnAccountNotFoundAvailable(){return this.adapter.isOnAccountNotFoundAvailable()}isUseDefaultOnAccountNotFound(){return this.adapter.isUseDefaultOnAccountNotFound()}isAuthPasswordAuthenticate(){return this.adapter.isAuthPasswordAuthenticate()}accountCreate(t){return this.adapter.accountCreate(t)}onAccountNotFound(t,e){return this.adapter.onAccountNotFound(t,e)}onError(t){return this.adapter.onError(t)}getStoredLoginId(){return this.adapter.getStoredLoginId()}storeLoginId(t,e){return this.adapter.storeLoginId(t,e)}registerRedirectAction(t){return this.adapter.registerRedirectAction(t)}}const ko={error:"",success:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMSIgaGVpZ2h0PSIzMSI+CiAgPHBhdGgKICAgIGQ9Ik0xNS41IDMwLjExNmMtMi4wMTIgMC0zLjkwNi0uMzg2LTUuNjg0LTEuMTU3YTE1LjA0IDE1LjA0IDAgMCAxLTQuNjg3LTMuMTY0Yy0xLjM0OC0xLjM1Ny0yLjQwNy0yLjkyLTMuMTc5LTQuNjg3QzEuMTg4IDE5LjMzLjgwOCAxNy40MzYuODA4IDE1LjQyNHMuMzgxLTMuOTAxIDEuMTQzLTUuNjY5Yy43NzEtMS43NzcgMS44MzEtMy4zNCAzLjE3OS00LjY4N0M2LjQ3NyAzLjcxIDguMDM0IDIuNjUgOS44MDIgMS44ODljMS43NzctLjc3MSAzLjY3Mi0xLjE1NyA1LjY4NC0xLjE1N3MzLjkwNi4zODYgNS42ODQgMS4xNTdhMTQuNyAxNC43IDAgMCAxIDQuNjg4IDMuMTc5YzEuMzQ4IDEuMzQ4IDIuNDA3IDIuOTEgMy4xNzkgNC42ODguNzcxIDEuNzY4IDEuMTU3IDMuNjU3IDEuMTU3IDUuNjY5YTE0LjEyIDE0LjEyIDAgMCAxLTEuMTU3IDUuNjg0Yy0uNzcxIDEuNzY4LTEuODMxIDMuMzMtMy4xNzkgNC42ODgtMS4zNDggMS4zNDgtMi45MSAyLjQwMi00LjY4NyAzLjE2NC0xLjc2OC43NzEtMy42NTcgMS4xNTctNS42NjkgMS4xNTd6bTAtMS44OWMxLjc2OCAwIDMuNDIzLS4zMzIgNC45NjYtLjk5NmExMi44OSAxMi44OSAwIDAgMCA0LjA4Ny0yLjc1NGMxLjE4Mi0xLjE3MiAyLjEtMi41MjkgMi43NTQtNC4wNzJhMTIuNTMgMTIuNTMgMCAwIDAgLjk5Ni00Ljk4YzAtMS43NjgtLjMzMi0zLjQyMy0uOTk2LTQuOTY2LS42NjQtMS41NTMtMS41ODItMi45MTUtMi43NTQtNC4wODdhMTIuNTcgMTIuNTcgMCAwIDAtNC4wODctMi43NTRjLTEuNTQzLS42NjQtMy4yMDMtLjk5Ni00Ljk4LS45OTYtMS43NjggMC0zLjQyOC4zMzItNC45ODEuOTk2LTEuNTQzLjY1NC0yLjkgMS41NzItNC4wNzIgMi43NTRhMTMuMDEgMTMuMDEgMCAwIDAtMi43MzkgNC4wODdjLS42NTQgMS41NDMtLjk4MSAzLjE5OC0uOTgxIDQuOTY2cy4zMjcgMy40MjguOTgxIDQuOThjLjY2NCAxLjU0MyAxLjU4MiAyLjkgMi43NTQgNC4wNzJzMi41MjkgMi4wOSA0LjA3MiAyLjc1NCAzLjIwMy45OTYgNC45OC45OTZ6bS0xLjU5Ny01Ljg1OWExLjEzIDEuMTMgMCAwIDEtLjUxMy0uMTE3Yy0uMTQ2LS4wODgtLjI4OC0uMjItLjQyNS0uMzk1TDkuMDQgMTcuMTUyYy0uMTc2LS4yNDQtLjI2NC0uNDc5LS4yNjQtLjcwMyAwLS4yNDQuMDgzLS40NTQuMjQ5LS42My4xNzYtLjE3Ni4zODEtLjI2NC42MTUtLjI2NC4xNjYgMCAuMzEzLjAzNC40MzkuMTAzYTEuMDMgMS4wMyAwIDAgMSAuMzk2LjMzN2wzLjM4NCA0LjE3NSA2LjYzNi0xMC40ODhjLjIxNS0uMzMyLjQ3OS0uNDk4Ljc5MS0uNDk4YS45NS45NSAwIDAgMSAuNjMuMjM0Ljc1Ljc1IDAgMCAxIC4yNzguNjAxYzAgLjExNy0uMDI5LjIzOS0uMDg4LjM2NmEyLjIxIDIuMjEgMCAwIDEtLjE3Ni4zMzdsLTcuMTE5IDExLjEzM2MtLjIzNC4zNDItLjUzNy41MTMtLjkwOC41MTN6IgogICAgZmlsbD0iI2ExZjI5MyIvPgo8L3N2Zz4K"};class Co{constructor(t,e){this.config=t,this.toastConfig=e,this.init()}init(){var i;return f(this,void 0,void 0,function*(){var t=Object.assign(Object.assign({dismissTimeout:3e3,onDismiss:()=>f(this,void 0,void 0,function*(){return{hideMinutes:0}})},this.toastConfig),{position:Object.assign({anchor:"top"},this.toastConfig.position),content:Object.assign({logoUrl:null!=(i=this.toastConfig.content.logoUrl)?i:ko[this.toastConfig.status]},this.toastConfig.content)}),e={},t=(e.publish=()=>f(this,void 0,void 0,function*(){}),e.setCommonData=()=>{},new so(this.config,t,e));yield t.init(),t.show(),null!=(i=t.ref)&&i.setAttribute("mode","toast")})}}class So{constructor(t){this.config=t,this.requestService=new Mt(t.logger),this.eventsService=new jt(t.serverUrl||""),this.flow=new Dt(this.requestService,t,this.eventsService),this.sdkService=new to(this.requestService,t),this.sdkService.setDefaults()}enrollCredential(s,a){var l;return f(this,void 0,void 0,function*(){let t,e;if("string"==typeof a)t=s,e=a;else try{var i=$t.parse(s);if(null==(l=null==i?void 0:i.payload)||!l.sub)throw new Error("Couldn't get loginId from JWT");var o=i.payload.sub,n=i.payload.sub.split(":");t=2===n.length?n[1]:o,e=s}catch(t){return{error:!0,data:null,message:t}}if(!k())return{error:!0,data:null,message:"Device enrollment is currently supported for mobile devices only"};i=new jt(this.config.serverUrl||""),i.setCommonData({metadata:{api:!0,category:"general",loginId:yield st(t),applicationName:this.config.appConfig.displayName,returningUser:!!p(),widgetId:""+Date.now().toString(36)+P()}}),n=c.get(d);if((null==n?void 0:n.loginId)===t&&"passkey"===(null==n?void 0:n.authMethod))return yield i.publish("Silently Skipped Device Enrollment",{type:S.Track,source:"Device Enrollment Modal",metadata:{reason:"Returning User AuthMethod Was Passkeys"}}),{error:!0,data:null,message:"Skipped device enrollment because returning user authMethod was passkeys"};if(yield H,!v())return yield i.publish("Silently Skipped Device Enrollment",{type:S.Track,source:"Device Enrollment Modal",metadata:{reason:"Device Doesn't Support Passkeys"}}),{error:!0,data:null,message:"Skipped device enrollment because device doesn't support passkeys"};yield this.sdkService.initTranslations();o=new oo(this.config,i,this.requestService,t,e);if(c.get(o.notNowStorageKey))return yield i.publish("Silently Skipped Device Enrollment",{type:S.Track,source:"Device Enrollment Modal",metadata:{reason:"User Clicked Not Now"}}),{error:!0,data:null,message:"Skipped device enrollment because user clicked Not Now"};n=yield o.setFidoAttestationOptions();if(n){if(!window.location.hostname.includes(n.rp.id||window.location.hostname)&&!fo.isNativeMobileMode())return yield i.publish("Device Enrollment RpId Mismatch",{type:S.Error,source:"Device Enrollment Modal",metadata:{reason:`Expected RpId For ${window.location.hostname} But Got `+n.rp.id}}),{error:!0,data:null,message:"Cannot enroll device because of rpId mismatch"};if(0 0)"}}),c.set(d,{loginId:t,authMethod:"passkey"}),{error:!0,data:null,message:"Skipped device enrollment because user already has passkeys"};o.show()}try{var r=yield o.attestationResult;return r&&c.set(d,{loginId:t,authMethod:"passkey"}),{error:null,data:r}}catch(t){return yield i.publish("Failed Device Enrollment",{type:S.Track,source:"Device Enrollment Modal",errorMessage:t}),{error:!0,data:null,message:t}}})}auth(o){return f(this,void 0,void 0,function*(){if(C.log("Auth Started"),this.eventsService.setCommonData({metadata:{loginType:this.config.loginType,websdkFlow:!0,api:!0,widgetId:""+Date.now().toString(36)+P()}}),this.config.onlyMobile&&!k())return this.callOnError("You need to be on a mobile device to proceed",!0);if(this.config.skipFallback&&!v())return this.callOnError("No biometric authentication available");if(this.config.onlyReturningUsers&&!p())return this.callOnError("User is not recognized",!0);if(this.config.showOnlyIfPasskeysAvailable&&!(yield G()))return this.callOnError("No biometric authentication available",!0);this.eventsService.publish("OwnID Auth Started",{type:S.Track}),o=this.sdkService.getLoginId(o);var t=new RegExp(this.config.appConfig.loginIdSettings.regex),t=o&&(!this.config.appConfig.loginIdSettings.regex||t.test(o));if(o&&!t)return this.callOnError("Login id is not valid");t=[this.sdkService.initTranslations()];o&&(t.push(this.flow.createContext(o,!1,{skipFallback:this.config.skipFallback})),Ht());try{yield Promise.all(t)}catch(t){return this.callOnError("Unexpected error. Try again later.")}t={loginId:o,supportsFido2:v(),disableLoginOnRegister:this.config.disableLoginOnRegister||!1};try{if(x.abortPasskeysAutofill(),!(yield _i(this.config,t,this.flow,this.eventsService)))return this.callOnError("Login id is not valid");var e,i=yield this.flow.callFinishCall(this.flow.getContext());if(i)return{error:null,data:(e=yield this.callOnSuccess(i.payload,i.flowInfo)).data,metadata:e.metadata}}catch(t){return Yt(),t?this.callOnError(t.errorMessage||t):{error:null,data:null}}return this.callOnError("Unexpected error. Try again later.")})}callOnSuccess(n,r){var s,a,l,d,c,h,p;return f(this,void 0,void 0,function*(){Yt();var t=k()?"mobile":"desktop",{message:e,eventData:i,authType:o}=this.sdkService.prepareFinalEventData(r,"ownid-auth"),e=(yield this.eventsService.publish(e,i),n.loginId&&(yield tt(n.loginId,y.authTypeMapper(o))),this.config.type===b.Login&&this.config.loginType===W.Reauth?W.Reauth:null!=(s=null==r?void 0:r.event)?s:this.config.type),i=(null==(s=this.flow.succeededContext)?void 0:s.context)||this.flow.getContext(),o=Object.assign(Object.assign({},n.metadata),{loginId:n.loginId,authType:o,source:t,context:i,authToken:null==r?void 0:r.authToken});if(e===W.Reauth)return t=Object.assign(Object.assign({},n),{metadata:o}),yield null==(l=(a=this.config).onBeforeReauth)?void 0:l.call(a,t),null!=(a=(l=this.config).onReauth)&&a.call(l,t),{data:n.data,metadata:t.metadata};{let e=n.data;if("string"==typeof e)try{e=JSON.parse(e)}catch(t){return yield null==(l=(a=this.config).onBeforeLogin)?void 0:l.call(a,e),null!=(d=(c=this.config).onLogin)&&d.call(c,e),{data:e,metadata:o}}i=Object.assign(Object.assign({},e),{metadata:o});return yield null==(c=(d=this.config).onBeforeLogin)?void 0:c.call(d,i),null!=(p=(h=this.config).onLogin)&&p.call(h,i),{data:n.data,metadata:i.metadata}}})}callOnError(t,e=!1){var i,o;return null!=(o=(i=this.config).onError)&&o.call(i,t),e||this.eventsService.publish(t,{type:S.Error,source:"OwnID Auth"}),Yt(),{error:!0,data:null,message:t}}notification(e){return f(this,void 0,void 0,function*(){if(!k())return{error:!0,data:null,message:"Notification is currently supported for mobile devices only"};yield this.sdkService.initTranslations();var t=new jt(this.config.serverUrl||""),t=(t.setCommonData({metadata:{applicationName:this.config.appConfig.displayName,returningUser:!!p()}}),new so(this.config,e,t));return yield t.init(),c.get(t.dismissedStorageKey)?(t.hide(),{error:!0,data:null,message:"Notification is blocked because of dismiss cookie"}):(t.show(),{error:null,data:"Notification is shown"})})}start(r,s){var a;return f(this,void 0,void 0,function*(){var t=new jt(this.config.serverUrl||""),e={},i=new xo(this.config,r,e,this.eventsService),o=r.loginId||p(),n={hasLoginId:!!o,applicationName:this.config.appConfig.displayName,returningUser:!!p(),widgetId:""+Date.now().toString(36)+P(),lastAuthMethod:(null==(a=c.get(d))?void 0:a.authMethod)||"unknown",viewType:r.container?"Container":"Drawer",initiator:r.initiator},o=(r.container&&(n.container="string"==typeof r.container?r.container:null!=(a=r.container.id)?a:r.container.className),o&&(n.loginId=yield st(o)),yield i.getMetadata());return o&&(n.correlationId=o.correlationId),r.loginId===p()&&(n.lastAuthMethod=null==(a=c.get(d))?void 0:a.authMethod),t.setCommonData({metadata:n}),yield this.sdkService.initTranslations(),yield H,F.isDrawerAvailable()?F.show():F.setInstance(new go(this.config,r,e,t,this.flow,this.sdkService,i,s)),{error:null,data:!0}})}toast(t){return f(this,void 0,void 0,function*(){return k()?(yield this.sdkService.initTranslations(),new Co(this.config,t),{error:null,data:"Toast is shown"}):{error:!0,data:null,message:"Toast is currently supported for mobile devices only"}})}}const Eo="ownid-ml-ctx";class Io{constructor(t,e,i){this.config=t,this.requestService=e,this.eventsService=i,this.link=this.getMagicLinkEndpointUrl(),this.eventsService.setCommonData({metadata:{returningUser:!!p(),widgetId:""+Date.now().toString(36)+P()}})}sendMagicLink(i,o,n=y.defaultLanguage){return f(this,void 0,void 0,function*(){var t={"Accept-Language":n},e=i.replace(/['()*]/g,t=>"%"+t.charCodeAt(0).toString(16)),e=yield this.requestService.post(this.link,{email:e,originUrl:window.location.toString()},{headers:t});return null!=e&&e.checkTokenKey&&(X(e.checkTokenKey,e.checkTokenValue,e.checkTokenLifetime),X(Eo,o,e.checkTokenLifetime)),e})}tryExchangeMagicToken(){return Io.tryExchangeMagicTokenPromise||(Io.tryExchangeMagicTokenPromise=new Promise((n,r)=>{var t=new URLSearchParams(window.location.search),e=t.get("ownid-mtkn");const s=t.get("ownid-ctxt");var i,t={"Accept-Language":U.mapLanguages(this.config.language)||y.defaultLanguage};e||s?(i=$("ownid-mlc-"+s),this.requestService.post(""+this.getMagicLinkEndpointUrl(!0),{context:s,magicToken:e,checkToken:i},{headers:t}).then(({data:t,authToken:e,errorMessage:i,errorType:o})=>{o?("expired"===o&&this.eventsService.publish("",{type:S.Error,errorMessage:"Magic Link has been reused",context:s,category:"login"}),r(i)):(o=$(Eo)||s,i={type:S.Track,context:o,category:"login",metadata:{authType:"magic-link"}},this.eventsService.publish("User is Logged in",i),n(Object.assign(Object.assign({},t.data),{metadata:{authToken:e,authType:"magic-link",source:"desktop"}})))}).catch(t=>console.error("Error while receiving login data:",t)).finally(()=>delete Io.tryExchangeMagicTokenPromise)):n(null)}),Io.tryExchangeMagicTokenPromise.then(t=>{t&&this.config.onMagicLink(t)}).catch(t=>{t&&this.config.onMagicLinkError&&this.config.onMagicLinkError(t)})),Io.tryExchangeMagicTokenPromise}getMagicLinkEndpointUrl(t){return""+(this.config.serverUrl||y.serverUrl).replace(/\/+$/,"")+(t?y.magicLinkAuthorizeUrl:y.magicLinkUrl)}}class B{static define(t,e){B.widgetList.set(t,e)}static get(t){return B.widgetList.get(t)}}B.widgetList=new Map;t("ownid-keypad",class extends HTMLElement{constructor(){super(),this.code="",this.dispatch=t=>{this.dispatchEvent(new CustomEvent("ownid-keypad-pressed",{bubbles:!0,composed:!0,detail:{code:t}}))},this.onClick=t=>{t.stopPropagation();t=null==(t=t.target.closest("button"))?void 0:t.value;t&&(this.code="-1"===t?this.code.slice(0,-1):this.code+t,this.dispatch(this.code))},this.innerHTML=`
`}connectedCallback(){this.addEventListener("click",this.onClick)}static get observedAttributes(){return["code","disabled"]}attributeChangedCallback(t,e,i){"code"===t&&(this.code=i),"disabled"===t&&("true"===i?this.removeEventListener("click",this.onClick):this.addEventListener("click",this.onClick))}});const Uo=new Set(["ios","mac"]);function Fo(t){return"0"<=t&&t<="9"}t("ownid-otp-form",class extends HTMLElement{constructor(){super(),this.inputs=[],this.finishOtp=t=>{for(const e of this.inputs)e.setAttribute("disabled","");this.dispatchEvent(new CustomEvent("ownid-otp-completed",{bubbles:!0,composed:!0,detail:{otp:this.retrieveOTP(),type:t}}))},this.innerHTML="";var e=document.createElement("form"),i=Number.parseInt(this.getAttribute("length")||"",10)||4;for(let t=i;t--;){var o=document.createElement("input"),n=(o.setAttribute("tabindex","0"),o.setAttribute("type","text"),o.setAttribute("inputmode","numeric"),o.setAttribute("autocomplete","one-time-code"),o.dataset.testid="otp-input-"+(i-t-1),"ios"===this.getAttribute("mod")&&"sms"!==this.dataset.verificationType),n=(g(o,"readonly",n,""),document.createElement("span"));n.className="input",n.appendChild(o),this.inputs.push(o),e.appendChild(n)}this.appendChild(e)}connectedCallback(){var t,e,i=Number.parseInt(this.getAttribute("length")||"",10)||4,o=this.getAttribute("language")||y.defaultLanguage;for([t,e]of this.inputs.entries()){this.registerEvents(t,e);var n=U.instant(o,"otp-form:a11y.label",{index:(t+1).toString(),length:i.toString()});e.setAttribute("aria-label",n)}"ios"===this.getAttribute("mod")&&"sms"===this.dataset.verificationType||setTimeout(()=>{var t;return null==(t=this.inputs[0])?void 0:t.focus()},400)}static get observedAttributes(){return["invalid","code","disabled"]}attributeChangedCallback(t,e,i){var o;if("invalid"===t&&"true"===i&&this.shouldBeShaked()&&null!=(o=this.querySelector("form"))&&o.classList.add("invalid"),"code"===t){for(let t=this.inputs.length;t--;)this.inputs[t].value=i.charAt(t)||"",this.inputs[t].classList.remove("focus");null!=(o=this.inputs[i.length])&&o.classList.add("focus"),this.isOTPComplete()&&this.finishOtp("input")}if("disabled"===t){var n=this.hasAttribute("disabled")?t=>t.setAttribute("disabled",""):t=>t.removeAttribute("disabled");for(const r of this.inputs)n(r)}}shouldBeShaked(){var t;return Uo.has(null!=(t=this.getAttribute("mod"))?t:"")}registerEvents(e,t){t.addEventListener("input",t=>this.onInput(e,t)),t.addEventListener("paste",t=>this.onPaste(e,t)),t.addEventListener("keydown",t=>this.onKeyDown(e,t))}onPaste(t,e){e.preventDefault();let i=t;var o=(e.clipboardData||window.clipboardData).getData("Text");for(let t=0;t:host{--ownid-spinner-overlay-bg-color:#fff;--ownid-spinner-bg-color:hsla(0,0%,52%,.3);--ownid-spinner-bg-opasity:1;--ownid-spinner-color:#858585;--ownid-spinner-size:60%;align-items:center;background-color:var(--ownid-spinner-overlay-bg-color);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:1}:host([hidden]){display:none}svg{height:var(--ownid-spinner-size);overflow:visible;position:absolute;width:var(--ownid-spinner-size)}.bg{stroke:var(--ownid-spinner-bg-color);opacity:var(--ownid-spinner-bg-opasity)}.sp{stroke-linecap:round;stroke:var(--ownid-spinner-color);animation:animation 2s cubic-bezier(.61,.24,.44,.79) infinite}.bg,.sp{fill:none;stroke-width:15px}.sp-svg{animation:rotate 2s cubic-bezier(.61,.24,.44,.79) infinite}@keyframes animation{0%{stroke-dasharray:1 270;stroke-dashoffset:70}50%{stroke-dasharray:80 270;stroke-dashoffset:220}to{stroke-dasharray:1 270;stroke-dashoffset:70}}@keyframes rotate{to{transform:rotate(2turn)}}
`,t("ownid-spinner",class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}).appendChild(Ro.content.cloneNode(!0))}});const To=document.createElement("template");To.innerHTML=`
\n'}static get observedAttributes(){return[...super.observedAttributes,"height","src"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),"finished"===t&&T.post("setFinished",i),"src"===t&&this.iframe.setAttribute("src",i)}});t("ownid-fingerprint-iframe-widget",class extends Go{constructor(){super(),this.iframe=this.root.querySelector(".ifr")}getTemplate(){return'\n\n