PageSourceSearch

https://thinggaard.dk/assets/min-rejse-B17w5LE1.js

js thinggaard.dk collected 2026-10-04 14:40:32 UTC 2,979 bytes, 1 lines download raw bytes

1import{x as b,h as k,r as i,j as e,P as N,aB as u,B as v,k as y}from"./index-C2KlasXz.js";import{I as p}from"./input-B9Pgl5GR.js";import{L as x}from"./label-BVFt2x2p.js";import{C,a as w}from"./card-C9F0K05c.js";import{H as I}from"./hash-BbgR1pzV.js";import{C as P}from"./circle-alert-CzkgNQNH.js";const h={da:{title:"Min side",intro:"Indtast dit bookingnummer og pinkode fra din bekræftelse.",order:"Bookingnummer",pin:"Pinkode",submit:"Se min rejse",error:"Udfyld både bookingnummer og pinkode.",trust:"Kun dig med bookingnummer og pinkode har adgang."},sv:{title:"Min sida",intro:"Ange ditt bokningsnummer och pinkod från din bekräftelse.",order:"Bokningsnummer",pin:"Pinkod",submit:"Visa min resa",error:"Fyll i både bokningsnummer och pinkod.",trust:"Endast du med bokningsnummer och pinkod har åtkomst."}};function L(){const a=b().language==="sv",s=a?h.sv:h.da,o=k(),[d,g]=i.useState(""),[m,f]=i.useState(""),[l,c]=i.useState(null),j=r=>{r.preventDefault();const t=d.trim(),n=m.trim();if(!t||!n){c(s.error);return}c(null),o(a?{to:"/skidsemester/min-rejse/$orderId/$pin",params:{orderId:t,pin:n}}:{to:"/skiferie/min-rejse/$orderId/$pin",params:{orderId:t,pin:n}})};return e.jsx(N,{brand:null,children:e.jsx("div",{className:"container-page py-12 md:py-20",children:e.jsxs("div",{className:"mx-auto max-w-md",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx("div",{className:"mb-4 inline-flex h-16 w-16 items-center justify-center rounded-full bg-primary/10",children:e.jsx(u,{className:"h-8 w-8 text-primary"})}),e.jsx("h1",{className:"mb-2 text-3xl font-bold md:text-4xl",children:s.title}),e.jsx("p",{className:"text-muted-foreground",children:s.intro})]}),e.jsx(C,{className:"shadow-lg",children:e.jsx(w,{className:"p-6 md:p-8",children:e.jsxs("form",{onSubmit:j,className:"space-y-5",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(x,{htmlFor:"order",className:"flex items-center gap-2",children:[e.jsx(I,{className:"h-4 w-4 text-muted-foreground"}),s.order]}),e.jsx(p,{id:"order",value:d,inputMode:"numeric",autoComplete:"off",onChange:r=>g(r.target.value),placeholder:"219545",className:"font-mono",required:!0})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(x,{htmlFor:"pin",className:"flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4 text-muted-foreground"}),s.pin]}),e.jsx(p,{id:"pin",value:m,inputMode:"numeric",autoComplete:"off",onChange:r=>f(r.target.value),placeholder:"1234",className:"font-mono",required:!0})]}),l&&e.jsxs("div",{className:"flex items-start gap-2 rounded-lg bg-destructive/10 p-3 text-sm text-destructive",children:[e.jsx(P,{className:"mt-0.5 h-4 w-4 shrink-0"}),e.jsx("p",{children:l})]}),e.jsx(v,{type:"submit",size:"lg",className:"w-full",children:s.submit})]})})}),e.jsxs("div",{className:"mt-6 flex items-center justify-center gap-2 text-sm text-muted-foreground",children:[e.jsx(y,{className:"h-4 w-4"}),e.jsx("span",{children:s.trust})]})]})})})}export{L as component};

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.