"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[711],{9246:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(821),l=n(9038);const o={setup:function(e){var t=(0,r.computed)((function(){return(0,l.qt)().props.value.status})),n=(0,r.ref)({});return(0,r.watch)(t,(function(){n.value={display:""}}),{deep:!0}),function(e,l){var o=(0,r.resolveComponent)("Message");return(0,r.unref)(t)?((0,r.openBlock)(),(0,r.createBlock)(o,{key:0,severity:"success",style:(0,r.normalizeStyle)(n.value),onClose:l[0]||(l[0]=function(e){return n.value={display:"none"}})},{default:(0,r.withCtx)((function(){return[(0,r.createTextVNode)((0,r.toDisplayString)((0,r.unref)(t)),1)]})),_:1},8,["style"])):(0,r.createCommentVNode)("",!0)}}}},710:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(821),l=n(9038),o={class:"m-0"};const a={setup:function(e){var t=(0,r.computed)((function(){return(0,l.qt)().props.value.errors})),n=(0,r.computed)((function(){return Object.keys(t.value).length>0})),a=(0,r.ref)({});return(0,r.watch)(t,(function(){a.value={display:""}}),{deep:!0}),function(e,l){var s=(0,r.resolveComponent)("Message");return(0,r.unref)(n)?((0,r.openBlock)(),(0,r.createBlock)(s,{key:0,severity:"error",style:(0,r.normalizeStyle)(a.value),onClose:l[0]||(l[0]=function(e){return a.value={display:"none"}})},{default:(0,r.withCtx)((function(){return[(0,r.createElementVNode)("ul",o,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)((0,r.unref)(t),(function(e,t){return(0,r.openBlock)(),(0,r.createElementBlock)("li",{key:t},(0,r.toDisplayString)(e),1)})),128))])]})),_:1},8,["style"])):(0,r.createCommentVNode)("",!0)}}}},5711:(e,t,n)=>{n.r(t),n.d(t,{default:()=>w});var r=n(821),l=n(9038),o=n(9246),a=n(710),s={class:"surface-0 flex align-items-center justify-content-center min-h-screen min-w-screen overflow-hidden"},c={class:"grid flex-column align-items-center p-2 lg:p-0",style:{"min-width":"80%"}},u={class:"col-12 xl:col-6"},d={class:"col-12 xl:col-6"},i={class:"col-12 xl:col-6",style:{"border-radius":"56px",padding:"0.3rem",background:"linear-gradient(180deg, var(--primary-color), rgba(33, 150, 243, 0) 30%)"}},m={class:"h-full w-full m-0 py-7 px-4",style:{"border-radius":"53px",background:"linear-gradient(180deg, var(--surface-50) 38.9%, var(--surface-0))"}},f=(0,r.createElementVNode)("div",{class:"text-center mb-5 text-600 font-medium"},[(0,r.createElementVNode)("span",null,"Sign in to continue")],-1),p={class:"w-full md:w-10 mx-auto"},v=(0,r.createElementVNode)("label",{for:"email",class:"block text-900 text-xl font-medium mb-2"},"Email",-1),y=(0,r.createElementVNode)("label",{for:"password",class:"block text-900 font-medium text-xl mb-2"},"Password",-1),g={class:"flex align-items-center justify-content-between mb-5"},V=(0,r.createTextVNode)(" Lupa password? ");const w={setup:function(e){var t=(0,l.cI)({email:"admin@laundry.com",password:"admin",remember:!1}),n=function(){t.post(route("login"),{onFinish:function(){return t.reset("password")}})};return function(e,w){var x=(0,r.resolveComponent)("InputText"),b=(0,r.resolveComponent)("Password"),k=(0,r.resolveComponent)("Button");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)((0,r.unref)(l.Fb),{title:"Sign In"}),(0,r.createElementVNode)("div",s,[(0,r.createElementVNode)("div",c,[(0,r.createElementVNode)("div",u,[(0,r.createVNode)(o.Z)]),(0,r.createElementVNode)("div",d,[(0,r.createVNode)(a.Z)]),(0,r.createElementVNode)("div",i,[(0,r.createElementVNode)("div",m,[f,(0,r.createElementVNode)("div",p,[v,(0,r.createVNode)(x,{id:"email",modelValue:(0,r.unref)(t).email,"onUpdate:modelValue":w[0]||(w[0]=function(e){return(0,r.unref)(t).email=e}),type:"text",class:"w-full mb-3",placeholder:"Email",style:{padding:"1rem"}},null,8,["modelValue"]),y,(0,r.createVNode)(b,{id:"password",modelValue:(0,r.unref)(t).password,"onUpdate:modelValue":w[1]||(w[1]=function(e){return(0,r.unref)(t).password=e}),placeholder:"Password",toggleMask:!0,class:"w-full mb-3",inputClass:"w-full",inputStyle:"padding:1rem"},null,8,["modelValue"]),(0,r.createElementVNode)("div",g,[(0,r.createVNode)((0,r.unref)(l.rU),{href:e.route("password.request"),class:"font-medium no-underline ml-2 text-right cursor-pointer",style:{color:"var(--primary-color)"}},{default:(0,r.withCtx)((function(){return[V]})),_:1},8,["href"])]),(0,r.createVNode)(k,{onClick:n,label:"Sign In",disabled:(0,r.unref)(t).processing,class:"w-full p-3 text-xl"},null,8,["disabled"])])])])])])],64)}}}}}]);