PageSourceSearch

https://atlanticexpress.com.ua/_nuxt/Dvs77HZv.js

js atlanticexpress.com.ua collected 2026-10-02 19:21:32 UTC 1,917 bytes, 1 lines download raw bytes

1import{_ as k}from"./D-MqbRdt.js";import{_ as L,u as N}from"./BrAN09FW.js";import{d as b,M as S,Y as q,r as R,c as E,o as O,x as B,u as o,a as _,E as s,t as u,H as C,G as c,I as f,f as g}from"./CX1AE52p.js";import{_ as v}from"./BRgXH6Z2.js";const T={for:"name",class:"aa-form-label"},x={for:"password",class:"aa-form-label"},y={class:"pt-5"},w=b({__name:"FormRequestCallback",emits:["success"],setup(F,{emit:a}){const i=S(),l=a,{handleSubmit:m,setErrors:d,isSubmitting:p}=q(),n=R({name:"",phone:""}),M=m(async e=>(console.log("form values:",e),await N({...e,link:i.fullPath,type:"callback"},"/api/lead",d)?(l("success"),!0):!1));return(e,t)=>{const A=k,V=L,h=C;return O(),E("form",{class:"space-y-4",onSubmit:t[2]||(t[2]=B((...r)=>o(M)&&o(M)(...r),["prevent"]))},[_("div",null,[_("label",T,u(e.$t("FORM_NAME")),1),s(A,{name:"name",modelValue:o(n).name,"onUpdate:modelValue":t[0]||(t[0]=r=>o(n).name=r),rules:"required|min:3|max:30",placeholder:e.$t("FORM_NAME_PLACEHOLDER")},null,8,["modelValue","placeholder"])]),_("div",null,[_("label",x,u(e.$t("FORM_PHONE")),1),s(V,{name:"phone",modelValue:o(n).phone,"onUpdate:modelValue":t[1]||(t[1]=r=>o(n).phone=r),rules:"required",placeholder:e.$t("FORM_PHONE_PLACEHOLDER")},null,8,["modelValue","placeholder"])]),_("div",y,[s(h,{type:"submit",loading:o(p),class:"w-full"},{default:c(()=>[f(u(e.$t("FORM_SUBMIT_BTN")),1)]),_:1},8,["loading"])])],32)}}}),H=Object.assign(w,{__name:"FormRequestCallback"}),I=b({__name:"index",setup(F){const a=R();function i(){a.value.closeModal()}return(l,m)=>{const d=H,p=v,n=C;return O(),E("div",null,[s(p,{ref_key:"formRequestModal",ref:a},{title:c(()=>[f(u(l.$t("FORM_CALL_ME_TITLE")),1)]),default:c(()=>[s(d,{onSuccess:i})]),_:1},512),s(n,{onClick:m[0]||(m[0]=$=>o(a).openModal())},{default:c(()=>[g(l.$slots,"default",{},()=>[f(u(l.$t("FORM_CALL_ME_BTN")),1)])]),_:3})])}}}),G=Object.assign(I,{__name:"RequestCallback"});export{G as _};

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.