1import{f as b,u,i1 as v,fc as x,i2 as g,j as w}from"./index.DGXXCLiX.js";import{m as f}from"./utils.Fb_mEMl4.js";import{f as C,a as l,h as p,O as E,s as T}from"./vendors.k201euWR.js";import{u as j}from"./useStepsRouting.CFOdQBSF.js";import{u as O,i}from"./i18n.C9E2OJOW.js";const a={stepSearch:"stepSearch",stepCarSelect:"stepCarSelect",stepDetails:"stepDetails",passengersCount:"passengersCount",other:"other"},s="pages/Transfer/TransferPage";typeof window<"u"&&(window.i18n=window.i18n||{},window.i18n[s]=a);const c={1:{path:p("/services/transfer?/*",{"*":"search"}),name:i.t(a.stepSearch,{ns:s})},2:{path:p("/services/transfer?/*",{"*":"select"}),name:i.t(a.stepCarSelect,{ns:s})},3:{path:p("/services/transfer?/*",{"*":"details"}),name:i.t(a.stepDetails,{ns:s})},4:{path:p("/services/transfer?/*",{"*":"test"}),name:i.t(a.stepDetails,{ns:s})}},A=()=>{const{t:D}=O(s),o=b(),r=C().filter(f).map(f)[0]||0,m=u(e=>e.transfer.stateIsExpired),t=u(e=>e.transfer.activeStep),d=u(e=>e.transfer.validSteps);l.useEffect(()=>{m&&t!==4&&(o(v(!1)),o(x()))},[t,o,m]),j({activeStep:t,validSteps:d,matchedStep:r,stepsMap:c,changeActiveStep:g});const h=l.useMemo(()=>Object.keys(c).filter(e=>Number(e)<=t).map((e,S)=>{const n=Number(e);return{name:c[n].name,path:c[n].path,first:S===0,current:n===r,disabled:n>r}}),[t,r]);return w.jsx(E,{context:{breadcrumbs:t>2?h:null}})};function R(){return T()}const k=Object.freeze(Object.defineProperty({__proto__:null,TransferPage:A},Symbol.toStringTag,{value:"Module"}));export{k as a,a as i,s as n,R 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.