PageSourceSearch

https://swim4you.ru/_nuxt/CydB6umo.js

js swim4you.ru collected 2026-10-05 00:00:47 UTC 3,187 bytes, 2 lines download raw bytes

1import k from"./hijpE_cG.js";import{u as B,_ as D}from"./DYBHKs3z.js";import{a as $}from"./xBtuF1Cw.js";import{_ as C,a as N}from"./tzNXtfik.js";import{i as T}from"./DomPe23x.js";import{y as b,N as A,f as R,M as E,r as f,K as H,j as L,O as M,l as d,m as r,t as V,e as a,a as o,c as j,w as q,u as v,z,L as O,o as s}from"./DfhPG8Pd.js";import"./DQKEDPsu.js";import"./CJbebCiX.js";import"./DItezpUf.js";import"./DM25UWo5.js";import"./DV7AXunw.js";import"./C_6r9eQT.js";import"./C-MjrdXl.js";import"./DiZZeB93.js";import"./Bcun2J40.js";import"./BGo8ax0f.js";import"./DnJhQwTO.js";import"./C--FmCKr.js";import"./BKQ2HDyy.js";import"./PPsYE2fw.js";import"./DMGydLRU.js";import"./qkhFziSe.js";import"./CYIacLD4.js";import"./B9e9Kj-B.js";import"./Qp3Gcrts.js";import"./qwjQDnIT.js";import"./3gWib2rC.js";import"./CC_cTvxA.js";import"./b1ke7_SV.js";import"./BPnoXmk9.js";import"./CULPkvLt.js";import"./BF56ZWln.js";import"./iDJ_Txqj.js";import"./uMutMs5y.js";import"./Tg3AhiCW.js";import"./nLWjQ9zq.js";import"./D-iLSlPI.js";import"./1rOQXY_w.js";import"./Bzy0LDTm.js";import"./DlAUqK2U.js";import"./59HbE_-5.js";import"./DHZJ5v5V.js";import"./DVab8ctn.js";import"./CK38lPb6.js";import"./P9AAz2to.js";import"./DW_AMat0.js";import"./2vtlV3yk.js";import"./BN3RhGQH.js";import"./Da8kq9gD.js";import"./DqytjcP8.js";import"./BQqYU0VO.js";import"./fXOITZfF.js";import"./_-_Fa3SG.js";import"./e8jiAO48.js";const S={key:0,class:"container py-12"},G={class:"flex justify-between"},I={class:""},K={key:0,class:"mt-2 max-w-[600px]"},Ft={__name:"create",async setup(P){let i,m;b(()=>({title:"Форма заявки",meta:[{name:"og:title",content:"Форма заявки"}]}));const{$swal:h}=A(),n=R(),x=E(),{setSegments:g}=B(),t=f(null),p=f(!1);[i,m]=H(()=>z(`order_event_form_post-${n.query.id}`,()=>y(),{server:!0})),await i,m();async function y(){p.value=!0,await O(`/form/event/${n.query.id}`,{method:"GET"}).then(e=>{t.value=e}).catch(e=>{console.error(e)}).finally(()=>{p.value=!1})}const l=L(()=>T(t.value.start_registration_date,t.value.end_registration_date));return M(async()=>{t.value&&(l.value||await h.fire({title:"Ошибка",text:"Регистрация на это событие ещё не началась или уже закончилась",icon:"error",allowOutsideClick:!1,showConfirmButton:!0,confirmButtonText:"Вернуться назад"}).then(e=>{e.isConfirmed&&x.back()}),g([{name:t.value.name,path:{name:"event",params:{slug:t.value.slug}},current:!1},{name:"Форма заявки",path:null,current:!0}]))}),(e,c)=>{var u,_;const w=k;return t.value&&l.value?(s(),d("div",S,[r("div",G,[r("div",I,[c[0]||(c[0]=r("h1",{class:"font-oswald text-4xl"},"Форма заявки",-1)),(u=t.value)!=null&&u.name?(s(),d("p",K,V(t.value.name),1)):a("",!0)]),o(D,{class:"hidden lg:block"})]),(_=t.value)!=null&&_.alert_message?(s(),j(v($),{key:0,class:"mt-10 flex gap-7"},{default:q(()=>[o(w,{name:"ri:error-warning-line",size:"34px",class:"text-accent"}),o(v(N),{innerHTML:t.value.alert_message,class:"alert_content"},null,8,["innerHTML"])]),_:1})):a("",!0),o(C,{postData:t.value},null,8,["postData"])])):a("",!0)}}};export{Ft as default};
2//# sourceMappingURL=CydB6umo.js.map

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.