PageSourceSearch

https://sms-reminder-ratiopharm.web.app/_nuxt/QYyNSy6S.js

js sms-reminder-ratiopharm.web.app collected 2026-10-03 12:36:17 UTC 2,027 bytes, 1 lines download raw bytes

1import{_ as h,a as k}from"./BnRva5sj.js";import{E as i,_ as g}from"./CcelGyLV.js";import{a as v}from"./CNTAQuwa.js";import{e as y,u as D,f as S,g as B,h as c,w as d,r as m,o as r,i as n,c as o,a as s,b as w,t as p}from"./BbuJxPET.js";import{u as F}from"./CxMs7F6O.js";const R={key:0,class:"grid place-items-center gap-8"},b={key:0},E={class:"space-y-5"},I={key:1},C={key:2},O=y({__name:"[token]",setup(L){const l=D().params.token,e=m(null),u=m(!0);return S(async()=>{if(!l){e.value={success:!1,error:i.generic};return}try{const a=await $fetch(`${B().public.firebaseEndpoint}/api/update/${l}`,{method:"POST"});e.value=v.parse(a)}catch(a){console.log(a),e.value={success:!1,error:i.generic}}finally{u.value=!1}}),(a,t)=>{const _=h,x=k,f=g;return r(),c(f,null,{default:d(()=>[n(u)?(r(),o("div",R,[t[0]||(t[0]=s("h1",{class:"text-4xl sm:text-4.5xl text-center sm:text-left animate-pulse text-ratiopharm-600"}," Deine Daten werden aktualisiert ",-1)),w(_)])):(r(),c(x,{key:1},{default:d(()=>[n(e)?.success?(r(),o("div",b,[s("div",E,[t[1]||(t[1]=s("h1",{class:"text-ratiopharm-600 text-4xl sm:text-4.5xl"}," Ihre Daten wurden erfolgreich aktualisiert ",-1)),s("p",null," Ihr Intervall beträgt nun "+p(n(e).data.injection.interval)+" Wochen und Ihre nächste Injektion findet am "+p(("useDateFormat"in a?a.useDateFormat:n(F))(n(e).data.injection.next,"D.M.YYYY (dddd)",{locales:"de-DE"}))+" statt. Wir erinnern Sie einen Tag vorher daran. ",1)])])):!n(e)?.success&&n(e)?.error===n(i).token_expired?(r(),o("div",I,[...t[2]||(t[2]=[s("h1",{class:"text-red-600 text-4xl sm:text-4.5xl"}," Fehlender Link ",-1),s("p",{class:"mt-5"}," Der Anmeldelink fehlt oder wurde nicht korrekt übermittelt. Bitte nutzen Sie den Link aus der SMS erneut oder fordern Sie einen neuen an. ",-1)])])):(r(),o("div",C,[...t[3]||(t[3]=[s("h1",{class:"text-red-600 text-4xl sm:text-4.5xl"}," Fehler ",-1),s("p",{class:"mt-5"}," Bei der Anmeldung ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut. ",-1)])]))]),_:1}))]),_:1})}}});
1export{O 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.