1import{I as m,a1 as p,N as S,co as h,v as y,aB as g,Z as f,bh as i,aZ as u}from"./3f4ot50i.js";const k=()=>{const r=m(),e=p(),c=S(),l=h(),a=y(),n=()=>{e.resetState(),c.clearCurrent()};return{initFromDeparture:t=>{n(),e.setOutwardDate(t.departureDate),e.setRoute(t.route),e.setAdults(1),e.setUseInitialSearch(!0),r.push(a(t.link))},initFromWagenborgPass:(t,s,o)=>{n(),e.setTravelCard({type:t.type,id:s}),t.type===i.Vehicle?e.setVehicle({type:u.Auto,amount:1,length:5,licenseNumber:""}):t.type===i.Motor&&e.setVehicle({type:u.Motorcycle,amount:1}),r.push(a(o))},initFromProduct:t=>{n();const s=l.getSequence.find(o=>o.id===t.bookingNumbers?.join("|"));if(s){e.setState(s);const o=g(s.island).name.toLowerCase();r.push(a(`${o}-${s.serviceType===f.FastFerry?"fast-ferry":"ferry"}`))}}}};export{k as u};
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.