PageSourceSearch

https://www.tasteinmotion.com/_nuxt/login.248dde4e.js

js tasteinmotion.com collected 2026-10-05 02:11:39 UTC 2,667 bytes, 1 lines download raw bytes

1import{_ as T}from"./nuxt-link.928736e8.js";import{_ as I}from"./Field.7322a01b.js";import{_ as L}from"./Error.f57eebfb.js";import{d as S}from"./entry.7d939621.js";import{a as i,h as E,q as f,x as p,y as e,E as r,I as g,X as F,u as t,O as N,A as V,V as h,R as j,U as M}from"./swiper-vue.1b2a8b42.js";import{u as B}from"./cookie.c2dfd3c6.js";import{u as P}from"./useAccounts.cb6f3929.js";import{_ as A}from"./editorial-image.b61b89b6.js";import{_ as D}from"./axios.93df6217.js";import{_ as R}from"./_plugin-vue_export-helper.c27b6911.js";const v=c=>(j("data-v-241f21ca"),c=c(),M(),c),U={class:"flex flex-col md:flex-row pt-12 md:pt-16 pb-16 md:pb-0 items-center"},$=v(()=>e("div",{class:"w-full md:w-1/2 img-container mb-8 md:mb-0"},[e("figure",{class:"w-full h-full"},[e("img",{class:"w-full h-full object-cover",src:A})])],-1)),q={class:"w-full md:w-1/2 px-4 md:px-8 lg:px-32"},O={class:"flex items-end justify-between w-full mb-8"},W=v(()=>e("h1",{class:"text-heading"},"Login",-1)),X=["disabled","textContent"],z={key:0,class:"flex justify-center text-center mb-8"},G={class:"flex w-full justify-center"},H={__name:"login",setup(c){const u=new Date;u.setTime(u.getTime()+365*24*60*60*1e3);const x=B(D,{expires:u}),b=S(),l=i(""),n=i(""),o=i(""),a=i(!1),{customerLogin:w}=P(),y=E(()=>!(l.value.length&&n.value.length)),k=async()=>{try{if(!l.value.length||!n.value.length)return o.value="Fields Missing.";a.value=!0;const s=await w(l.value,n.value);if(console.log(s),s.msg)return a.value=!1,o.value=s.msg;s.accessToken&&(x.value=s.accessToken,b.push("/customers/account"),a.value=!1)}catch(s){a.value=!1,o.value="Whoops, something went wrong on our end. Please refresh the page and try again.",console.log(s)}};return(s,J)=>{const d=T,_=I,C=L;return f(),p("div",U,[$,e("div",q,[e("div",O,[W,r(d,{class:"pb-1 border-b border-solid border-client-black",to:"/customers/register"},{default:g(()=>[h(" Sign Up ")]),_:1})]),e("form",{onSubmit:F(k,["prevent"]),class:"flex flex-col gap-y-4 mb-8"},[r(_,{type:"email",label:"Email",value:t(l),handleChange:m=>l.value=m.target.value},null,8,["value","handleChange"]),r(_,{type:"password",label:"Password",value:t(n),handleChange:m=>n.value=m.target.value},null,8,["value","handleChange"]),e("button",{disabled:t(y)||t(a),type:"submit",class:"mt-4 btn btn-fill-dark",textContent:N(t(a)?"Loading...":"Log In")},null,8,X)],32),t(o).length?(f(),p("div",z,[r(C,{msg:t(o),clearMessage:()=>
1o.value=""},null,8,["msg","clearMessage"])])):V("",!0),e("div",G,[r(d,{class:"text-center",to:"/customers/forgot-password"},{default:g(()=>[h("Forgot Password?")]),_:1})])])])}}},ne=R(H,[["__scopeId","data-v-241f21ca"]]);export{ne as default};

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.