PageSourceSearch

https://connect.aviloo.com/_next/static/chunks/app/%5Blocale%5D/(public)/login/page-48994271e0be7752.js

js aviloo.com collected 2026-10-03 19:31:41 UTC 5,724 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[828],{2030:(e,s,a)=>{"use strict";a.d(s,{I18nProvider:()=>t,k:()=>o});var l=a(5155),n=a(2115);let r=(0,n.createContext)(null);function t(e){let{locale:s,messages:a,children:t}=e,o=(0,n.useMemo)(()=>({locale:s,messages:a,t:(e,s)=>{var l,n;return null!=(n=null!=(l=a[e])?l:s)?n:e}}),[s,a]);return(0,l.jsx)(r.Provider,{value:o,children:t})}function o(){let e=(0,n.useContext)(r);if(!e)throw Error("useT must be used within <I18nProvider>");return e.t}},2980:(e,s,a)=>{Promise.resolve().then(a.bind(a,4640))},4640:(e,s,a)=>{"use strict";a.d(s,{default:()=>i});var l=a(5155),n=a(2115),r=a(2619),t=a.n(r),o=a(2030);function i(e){let{locale:s}=e,[a,r]=(0,n.useState)(""),[i,c]=(0,n.useState)(""),[d,m]=(0,n.useState)(!1),[u,h]=(0,n.useState)(null),[g,p]=(0,n.useState)(!1),b=(0,o.k)();async function x(e){e.preventDefault(),h(null),p(!0);try{var a,l;let n=new FormData(e.currentTarget),r=String(null!=(a=n.get("username"))?a:""),t=String(null!=(l=n.get("password"))?l:""),o=await fetch("/".concat(s,"/api/auth/external"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:r,password:t})});if(!o.ok){let e=await o.text().catch(()=>"Login failed");throw Error(e)}window.location.href="/".concat(s,"/dashboard")}catch(e){h(b("login_failed","Login failed. Please check your login credentials and try again."))}finally{p(!1)}}return(0,n.useMemo)(()=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(a),[a]),(0,l.jsxs)("div",{className:"form-wrapper card shadow-sm",children:[(0,l.jsx)("div",{className:"card-body mb-4 pb-0",children:(0,l.jsxs)("div",{className:"row",children:[(0,l.jsx)("div",{className:"col-12 col-md-6 order-2 order-md-1",children:(0,l.jsx)("h1",{className:" login-title m-0",children:b("login.title","Log In")})}),(0,l.jsx)("div",{className:"col-12 col-md-6 order-1 order-md-2 text-md-end mb-3 mb-md-0",children:(0,l.jsx)("img",{className:" form-aviloo-logo",src:"/assets/img/AVILOO-Logo-ohne-subline-blau.png",alt:"AVILOO"})})]})}),(0,l.jsx)("div",{className:"card-body pt-3",children:(0,l.jsxs)("form",{onSubmit:x,children:[(0,l.jsxs)("div",{className:"mb-4",children:[(0,l.jsx)("label",{className:"form-label login-label",children:b("login.username","Username")}),(0,l.jsx)("div",{className:"position-relative",children:(0,l.jsx)("input",{name:"username","data-cy":"username-input",className:"form-control login-control",value:a,onChange:e=>r(e.target.value),autoComplete:"username",required:!0})})]}),(0,l.jsxs)("div",{className:"mb-4",children:[(0,l.jsx)("label",{className:"form-label login-label",children:b("login.password","Password")}),(0,l.jsxs)("div",{className:"position-relative",children:[(0,l.jsx)("input",{name:"password","data-cy":"password-input",className:"form-control login-control login-control--pw",type:d?"text":"password",value:i,onChange:e=>c(e.target.value),autoComplete:"current-password",required:!0}),(0,l.jsx)("button",{type:"button","data-cy":"show-password-btn",className:"btn btn-link p-0 login-eye-btn","aria-label":d?b("login.hidePassword","Hide password"):b("login.showPassword","Show password"),onClick:()=>m(e=>!e),children:(0,l.jsx)("svg",{width:"23",height:"18",viewBox:"0 0 23 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M11.2891 0C14.4531 0 16.9922 1.44531 18.8281 3.16406C20.625 4.84375 21.875 6.875 22.4609 8.28
1125C22.5781 8.59375 22.5781 8.90625 22.4609 9.21875C21.875 10.625 20.625 12.6562 18.8281 14.3359C16.9922 16.0547 14.4531 17.5 11.2891 17.5C8.125 17.5 5.625 16.0547 3.75 14.3359C1.95312 12.6562 0.703125 10.625 0.117188 9.21875C0 8.90625 0 8.59375 0.117188 8.28125C0.703125 6.875 1.95312 4.84375 3.75 3.16406C5.625 1.44531 8.125 0 11.2891 0ZM5.66406 8.75C5.66406 11.875 8.16406 14.375 11.2891 14.375C14.4141 14.375 16.9141 11.875 16.9141 8.75C16.9141 5.625 14.4141 3.125 11.2891 3.125C8.16406 3.125 5.66406 5.625 5.66406 8.75ZM11.2891 6.25C11.2891 5.78125 11.1719 5.39062 10.9766 5C12.7344 4.84375 14.4531 5.97656 14.9219 7.77344C15.4297 9.76562 14.2578 11.8359 12.2656 12.3828C10.2734 12.8906 8.20312 11.7188 7.65625 9.72656C7.53906 9.29688 7.5 8.86719 7.53906 8.4375C7.92969 8.63281 8.35938 8.75 8.78906 8.75C10.1562 8.75 11.2891 7.61719 11.2891 6.25Z",fill:"#009DDF"})})})]}),(0,l.jsx)("div",{className:"form-text"})]}),(0,l.jsxs)("div",{className:"form-check mb-4",children:[(0,l.jsx)("input",{className:"form-check-input","data-cy":"remember-me-checkbox",type:"checkbox",id:"remember",defaultChecked:!0}),(0,l.jsx)("label",{className:"form-check-label",htmlFor:"remember",children:b("login.rememberMe","Remember me")})]}),u&&(0,l.jsx)("div",{className:"alert alert-danger py-2 mb-3",children:u}),(0,l.jsx)("button",{className:"btn btn-primary w-100 login-btn","data-cy":"login-btn",disabled:g,type:"submit",children:g?"...":b("login.submit","Log In")}),(0,l.jsx)("p",{className:"login-note mt-4 mb-3 text-center",children:b("login.note","Note: Use your login credentials from the Aviloo Portal")}),(0,l.jsxs)("div",{className:"text-center d-grid gap-3",children:[(0,l.jsxs)(t(),{className:"login-link","data-cy":"forgot-password-link",href:"/".concat(s,"/password-reset"),children:[b("login.forgotPassword","Forgot Password?")," ",(0,l.jsx)("span",{className:"login-qmark","aria-hidden":"true",children:"?"})]}),(0,l.jsxs)(t(),{className:"login-link","data-cy":"sign-up-link",target:"_blank",href:"https://aviloo.com/en/aviloo-connect-password",children:[b("login.noAccount","No account yet?")," ",(0,l.jsx)("span",{className:"fw-bold",children:b("login.signUp","Sign Up")})," ",(0,l.jsx)("span",{className:"login-arrow","aria-hidden":"true",children:"→"})]})]})]})})]})}}},e=>{e.O(0,[2619,8441,1255,7358],()=>e(e.s=2980)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.