PageSourceSearch

https://go.avis.com.au/_next/_v/2.9.2.s15.31/_next/static/chunks/1001.68b2fea90c2bfd01.js

js avis.com.au collected 2026-10-01 11:43:11 UTC 274,278 bytes, 7 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[663,699,877,1001,1477,1776,1870,2063,2064,2215,2252,2354,2400,2980,3107,3112,3201,3804,3825,3951,3977,3995,4025,4143,4604,4649,4823,5372,5442,6225,6523,6569,6645,6717,6779,7499,8382,8697,9342],{456:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});let i=(0,r(61872).createContext)("primary")},770:(e,t,r)=>{"use strict";r.d(t,{r:()=>l});var i=r(47388),a=r(88365),o=r(38831),n=r(55494);let l=({text:e,onClick:t,testId:r,variant:l="contained",fullWidth:s=!0,disabled:d=!1,className:c,backgroundColor:p,hoverBackgroundColor:u,textColor:x,startIcon:m,sx:g})=>{let h=(0,a.A)(),f=p??h.palette.primary.main,b=u??h.palette.primary.dark,y=x??h.palette.primary.contrastText;return(0,i.jsx)(o.default,{"data-testid":r,variant:l,fullWidth:s,size:"large",disabled:d,onClick:t,startIcon:m,...c?{className:c}:{},sx:{backgroundColor:f,color:y,fontSize:"16px",fontWeight:500,height:"48px",width:"100%",maxWidth:"500px",borderRadius:"4px",fontFamily:n.QU,textTransform:"none","&:hover":{backgroundColor:b},"&:disabled":{backgroundColor:"#ccc",color:"#666"},...g},children:e})}},780:(e,t,r)=>{"use strict";r.d(t,{g:()=>i});let i=e=>e?.toLowerCase()??""},877:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckTabs:()=>n});var i=r(47388),a=r(53033);let o={tab:{fontSize:{xs:"18px",sm:"22px"},color:r(58016).S.transparencyDark40,textTransform:"capitalize"}},n=({aemAttributes:e,children:t,...r})=>(0,i.jsx)(a.Tabs,{...r,aemAttributes:e,styleParts:o,children:t})},2501:(e,t,r)=>{"use strict";r.d(t,{s:()=>n});var i=r(55301),a=r(66936);let o={backgroundColor:a.L.secondary,padding:{xs:"20px 16px",md:" 24px 56px"},borderBottom:"1px solid"},n={container:{...o,borderColor:a.L.mediumContrast},importantInformationBannerContainer:{...o,borderColor:a.L.neutral200},importantInformationBannerAlert:{"& .MuiPaper-root .MuiAlert-content-text":{flexDirection:{xs:"column",md:"row"}}},title:{textTransform:"none",color:i.J.black},dialog:{"& .MuiDialog-paper":{borderRadius:3}}}},2886:(e,t,r)=>{"use strict";r.d(t,{B:()=>i});let i=(0,r(61872).createContext)(void 0)},3742:(e,t,r)=>{"use strict";r.d(t,{G:()=>d});var i=r(47388),a=r(61872),o=r(99701),n=r(65933),l=r(2184),s=r(59250);let d=({model:{title:e="",subtitle:t="",benefitItems:r,backgroundImage:d,codeList:c,i18n:p},styleParts:u,aemAttributes:x})=>{let m=(0,o.A)(p??{}),g=l.K.use.awdCode?.(),[h,f]=(0,a.useState)(!1),b=(0,a.useRef)(!1),y=l.K.use.isVehicleListAvailable?.()??!1,S=(0,a.useMemo)(()=>r?.map(({description:e="",code:t,title:r="",iconImageItem:i,type:a})=>({description:e,title:r,id:t,details:"",enabled:!0,price:"",bookAgain:!1,label:"included"===a?"Included":"Discounted",iconPath:i?.source||"",included:"included"===a,mandatory:!1,currencyCode:""}))??[],[r]);return(0,a.useEffect)(()=>{y&&!b.current&&g&&c?.some(e=>e.awdCode===g)&&(f(!0),b.current=!0)},[g,c,y]),(0,i.jsx)("div",{...x,"data-aue-type":"component",children:(0,i.jsx)(n.x.Provider,{value:{t:m,i18nKeys:{exploreAncillariesLabel:"Explore"}},children:(0,i.jsx)(s.IncludedAncillariesDialog,{isOpen:h,styleParts:u,onClose:()=>f(!1),config:{enabled:!0,image:{src:d?d.source:"",alt:d?.description??"Partner Benefits Image"},title:e,subtitle:t},includedItems:S})})})}},4424:(e,t,r)=>{"use strict";r.d(t,{m:()=>m});var i=r(47388),a=r(52949),o=r(64228),n=r(10431),l=r(3848),s=r(54788),d=r(47928),c=r(51019);let p=({children:e,value:t})=>(0,i.jsx)(c.d.Provider,{value:t,children:e});var u=r(99405);let x={container:{width:"100%",display:"flex",flexWrap:"wrap",justifyContent:"center",position:"relative"},wrapper:{width:"100%",display:"flex",flexWrap:"wrap",justifyContent:"center",padding:{xs:"48px 16px",sm:"56px"},"& > div:last-of-type":{paddingBottom:0}},headlineWrapper:{width:"100%",display:"flex",flexWrap:"wrap",justifyContent:"space-between",paddingBottom:{xs:"24px",sm:"56px"},"& > div:first-of-type, & > h4:first-child":{paddingTop:0},"& > div:last-of-type, & > h4:last-child":{paddingBottom:0}},headline:{fontSize:{xs:"32px",sm:"36px"},lineHeight:{sm:"36px",xs:"32px"},width:{xs:"100%",sm:"33%"},paddingY:{xs:"12px",sm:0}},description:{fontSize:{sm:20,xs:18},lineHeight:{xs:"26px",sm:"28px"},"& > *":{margin:0,padding:0},width:{xs:"100%",sm:"67%"},paddingLeft:{xs:0,sm:"128px"},paddingY:{xs:"12px",sm:0}},cardsWrapper:{display:"grid",width:"100%",gap:"16px"},columns3:{gridTemplateColumns:{xs:"repeat(1, 1fr)",md:"repeat(3, 1fr)"}},columns2:{gridTemplateColumns:{xs:"repeat(1, 1fr)",md:"repeat(2, 1fr)"}},dividerWrapper:r(66853).g},m=({aemAttributes:e,model:t,styleParts:r={},children:c})=>{let{cardSelector:m,ctaStyle:g,ctaTarget:h,ctaType:f,headline:b,subHeadline:y,cardFragmentList:S,cardsPerRow:C=3,showDivider:v=!1,dividerList:k}=t,{dividerThickness:A,dividerTheme:w}=k||{},T={...g&&{ctaStyle:g},...h&&{ctaTarget:h},...f&&{ctaType:f},...C&&{columnCount:C}},j=(0,s.T)(t,c,"contentcardelement"),I=(0,o.oz)((0,o.iX)(x,r,"cardsWrapper"),(0,o.iX)(x,r,`columns${C}`));return(0,i.jsxs)(a.default,{...e,"data-testid":"content-card","data-aue-type":"inline"===m?"container":"component",sx:(0,o.iX)(x,r,"container"),children:[(0,i.jsxs)(a.default,{sx:(0,o.iX)(x,r,"wrapper"),children:[(b||y)&&(0,i.jsxs)(a.default,{sx:(0,o.iX)(x,r,"headlineWrapper"),children:[(0,i.jsx)(n.Q,{variant:"h4",sx:(0,o.iX)(x,r,"headline"),"data-testid":"content-card-headline",children:b}),y&&(0,i.jsx)(n.Q,{variant:"bodyLargeRegular",sx:(0,o.iX)(x,r,"description"),dangerouslySetInnerHTML:{__html:(0,d.p)(y||"")},"data-testid":"content-card-description"})]}),(0,i.jsx)(a.default,{sx:I,children:(0,i.jsx)(p,{value:T,children:"inline"===m?j:S?.map(({headline:e,bodyContent:t,iconPath:o,imagePath:n,ctaLink:l,ctaTitle:s,ctaAction:d}
1,c)=>(0,i.jsx)(a.default,{"data-testid":"content-card-element",children:(0,i.jsx)(u.h,{headline:e,...t&&{bodyContent:t},...n&&{imagePath:n},...o&&{iconPath:o},...l&&{ctaLink:l},...s&&{ctaTitle:s},...d&&{ctaAction:d},styleParts:r})},e+c))})})]}),v&&(0,i.jsx)(a.default,{sx:(0,o.iX)(x,r,"dividerWrapper"),children:(0,i.jsx)(l.ThemedDivider,{type:"horizontal",thickness:A,theme:w})})]})}},5457:(e,t,r)=>{"use strict";r.d(t,{g:()=>h});var i=r(47388),a=r(88365),o=r(33392),n=r(52949),l=r(61872),s=r(64228),d=r(10431),c=r(3848),p=r(47928),u=r(24672);let x=({children:e,value:t})=>(0,i.jsx)(u.b.Provider,{value:t,children:e});var m=r(53449),g=r(91733);let h=({model:e,aemAttributes:t={},styleParts:r={},children:u=[]})=>{let[h,f]=(0,l.useState)(!1),[b,y]=(0,l.useState)(!1),S=(0,a.A)(),C=(0,o.A)(S.breakpoints.down("sm")),v=(0,o.A)(S.breakpoints.down("md")),k=(0,l.useRef)(null),A=(0,l.useRef)(null),{tableHeadline:w,tableDescription:T,showDivider:j=!1,dividerList:I}=e||{},{dividerThickness:R,dividerTheme:P}=I||{},L=l.Children.toArray(u),E=L.some(e=>(0,l.isValidElement)(e)&&!!e?.props?.model?.columnLabel);return(0,l.useLayoutEffect)(()=>{(0,m.L)(k.current)},[u,C,v]),(0,l.useEffect)(()=>{let e=A.current;if(!e)return;let t=new ResizeObserver(()=>{y(e.scrollWidth>e.clientWidth)});return t.observe(e),()=>t.disconnect()},[]),(0,i.jsxs)(n.default,{...t,ref:k,"data-table":!0,"data-testid":"content-table","data-aue-type":"container",sx:(0,s.iX)(g.L,r,"container"),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:[(0,i.jsxs)(n.default,{sx:(0,s.iX)(g.L,r,"tableHeader"),children:[w&&(0,i.jsx)(d.Q,{variant:"h4","data-testid":"content-table-headline",children:w}),T&&(0,i.jsx)(n.default,{sx:(0,s.iX)(g.L,r,"tableDesciption"),"data-testid":"content-table-description",dangerouslySetInnerHTML:{__html:(0,p.p)(T)}})]}),(0,i.jsx)(n.default,{sx:{...g.L.cellSectionContainer},ref:A,children:L.map((e,t)=>{if(!(0,l.isValidElement)(e))return e;let r=e.props?.model?.highlightColumn,a=L[t+1],o=(0,l.isValidElement)(a)&&!!a.props.model?.highlightColumn;return(0,i.jsx)(x,{value:{hasLabels:E,colIndex:t,shouldAddColumnGap:r&&o,hasOverflow:b,isHovered:h},children:e},e.key)})}),j&&(0,i.jsx)(n.default,{sx:(0,s.iX)(g.L,r,"dividerWrapper"),children:(0,i.jsx)(c.ThemedDivider,{type:"horizontal",thickness:R,theme:P})})]})}},5534:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckReservationDetails:()=>n});var i=r(47388),a=r(79940);let o={dialogWrapper:{borderRadius:"24px"},moreToExplore:{"& h1, h2, h3, h4, h5, h6":{...r(31878)._.h6}}},n=e=>(0,i.jsx)(a.N,{...e,styleParts:o})},5576:(e,t,r)=>{"use strict";r.d(t,{El:()=>l,Tq:()=>o,Vh:()=>n});var i=r(23141),a=r(4631);let o=e=>a.MASTERCARD_REGEX.test(e)?i.ProfileCardClubTypeEnum.MASTERCARD:e.startsWith("4")?i.ProfileCardClubTypeEnum.VISA:a.AMERICAN_EXPRESS_REGEX.test(e)?i.ProfileCardClubTypeEnum.AMEX:a.DISCOVER_REGEX.test(e)?i.ProfileCardClubTypeEnum.DISCOVER:a.UNIONPAY_REGEX.test(e)?i.ProfileCardClubTypeEnum.CHINA_UNION_PAY:a.DINERS_CLUB_REGEX.test(e)?i.ProfileCardClubTypeEnum.DINNERS:a.JCB_REGEX.test(e)?i.ProfileCardClubTypeEnum.JCB_CARD:null,n=e=>{let t=[i.ProfileCardClubTypeEnum.AVIS_CHARGECARD,i.ProfileCardClubTypeEnum.BUDGET_CHARGECARD,i.ProfileCardClubTypeEnum.PAYLESS_CHARGECARD];return!!e&&t.includes(e)},l=e=>{let t=o(e.replaceAll(/\s+/g,""))??i.ProfileCardClubTypeEnum.VISA;return{cardType:t,cardCode:({visa:"CX",mastercard:"CM","american-express":"CA",americanexpress:"CA",unionpay:"CHINA UNION PAY",discover:"CS",jcb:"CJ","diners-club":"CD","diner's club international":"CD"})[t]||t||""}}},5788:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});let i="CPN"},6150:(e,t,r)=>{"use strict";r.d(t,{s:()=>d});var i=r(47388),a=r(52949),o=r(9720),n=r(78461),l=r(70093),s=r(16949);let d=({aemAttributes:e,model:t,styleParts:r={}})=>{let d={items:[{promotion_id:t.promotionId||"",promotion_name:t.headline,creative_name:t.imagePath?.source??"",creative_slot:"1",promotion_position_id:t.id}]};return(0,i.jsx)(a.default,{sx:{...s.S.dealCardContainer},children:(0,i.jsx)(o.AnalyticsViewPromotionEventEmitter,{payload:d,children:(0,i.jsx)(n.AnalyticsSelectPromotionEventEmitter,{payload:d,children:(0,i.jsx)(a.default,{...e,"data-aue-type":"component","data-testid":"inlineDealCard-wrapper",sx:{...s.S.dealCardContainer},children:(0,i.jsx)(l.DealCard,{...t,styleParts:r})})})})})}},6254:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});let i=(e,t,r)=>r?{smartCropName:"4-5",width:382,height:430}:({layout1:{0:{smartCropName:"16-9",width:1328,height:488}},layout2:{0:{smartCropName:"16-9",width:880,height:488}},layout3:{1:{smartCropName:"16-9",width:880,height:488}},layout4:{0:{smartCropName:"1-1",width:432,height:488}}})[e]?.[t]||{smartCropName:"1-1",width:432,height:488}},6523:(e,t,r)=>{"use strict";r.d(t,{K:()=>J});var i=r(47388),a=r(90656),o=r(61872),n=r(22472),l=r(63019),s=r(57109),d=r(4562),c=r(95397),p=r(80307),u=r(14335),x=r(37401),m=r(23726),g=r(91682),h=r(18561),f=r(10431),b=r(63797),y=r(3576),S=r(55301);let C={fontSize:"14px",lineHeight:"20px"},v={fontSize:"12px",lineHeight:"16px"},k={heading:{h6:{fontSize:"24px",fontWeight:700,lineHeight:"24px"}},formLabel:{...C,fontWeight:500},formPlaceholder:{...C,fontWeight:400},formFieldMessge:{...v},checkBoxText:{...C,fontWeight:400},logoLink:{},metaDataRegular:{...v}},A={boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.06)",borderRadius:"8px",width:"100%",padding:{xs:"24px 20px",md:"32px 24px"},"& h4 ":{marginLeft:"8px"}};({...A,padding:{xs:"0px",md:"32px 24px"}});let w={...k?.heading?.h6,fontWeight:700,padding:{xs:"0px 0px"}};S.J.white100;let T=({i18n:e})=>{let t=u.uP.use.preCheckInfo(),r=(0,o.useMemo)(()=>{let r=e=>!!e?.includes("*"),i=!!t?.driverInfo?.firstName&&!r(t.driverInfo.firstName),a=!!t?.driverInfo?.lastName&&!r(t.driverInfo.lastName);return{i18n:e,showComAndMarketing:!0,defaultValues:t?.driverInfo,disabled:{firstName:i||t?.isStep1Completed,lastName:a||t?.isStep1Completed,email:t?.isStep1Completed,phoneNumber:t?.isStep1Completed,communicationConsent:t?.isStep1Completed}}},[e,t?.driverInfo,t?.isStep1Completed]);return(0,i.jsxs)(h.A,{sx:A,children:[(0,i.jsx)(f.Q,{variant:"h6",sx:w,"data-testid":"rc-title",children:e[y.w0.driverDetailsTitle]}),(0,i.jsx)(b.N,{model:r})]})};var j=r(46323),I=r(64228),R=r(23141),P=r(7358),L=r(3758);let E={width:"100%",display:"flex",flexDirection:{xs:"column"},gap:"24px",justifyContent:"space-between",padding:{xs:"24px 20px",sm:"24px"},backgroundColor:"#fff",borderRadius:"4px",boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.06)",marginTop:"48px"},B={color:"#000",leadingTrim:"both",textEdge:"cap",fontSize:"24px",fontStyle:"normal",fontWeight:"700",lineHeight:"24px"},D={color:S.J.secondary400,fontSize:"16px"};var M=r(52949),F=r(99701),z=r(90544),N=r(44784);let _=({logo:e,...t})=>{let r=u.uP.use.preCheckInfo(),a=(0,F.A)(t.model.i18n);return(0,i.jsxs)(M.default,{sx:{display:"flex",flexDirection:"column",gap:"24px"},children:[(0,i.jsx)(f.Q,{variant:"h5","data-testid":"rc-creditcard-title",children:a("global.field.creditCard.label")}),e&&(0,i.jsx)(M.default,{children:(0,i.jsx)(z.AemImage,{src:e.source,alt:e.altText,width:e.width,height:e.height})}),(0,i.jsx)(N.z,{...t,isPrimary:!0,defaultValues:{billingAddress:r?.reservationInformation?.billingAddress?.address1||"",appartmentOrSuite:r?.reservationInformation?.billingAddress?.address2||"",cityProvince:r?.reservationInformation?.billingAddress?.city||"",addressLine3:r?.reservationInformation?.billingAddress?.address3||"",zipCode:r?.reservationInformation?.billingAddress?.postalCode||"",state:r?.reservationInformation?.billingAddress?.stateProvince||"",country:r?.reservationInformation?.billingAddress?.countryCode||""},disabled:!0})]})};var W=r(45231),H=r(74333);let U=({i18n:e,styleParts:t={},...r})=>{let a=u.uP.use.preCheckInfo(),n=(0,s.usePageContext)(),l=a?.reservationInformation?.features?.prepay?.prepayProcess??
1!1,d=a?.reservationInformation?.payments?.[0]?.details.digitalWallet?.walletType?.toString()==R.BookingWalletTypeEnum.AMAZON,c=a?.reservationInformation?.payments?.[0]?.details.digitalWallet?.walletType?.toString()==R.BookingWalletTypeEnum.PAYPAL,p={source:"",altText:"",width:0,height:0};d?p={source:"/_next/_v/2.9.2.s15.31/_next/static/media/amazon.ebb6acbe.svg",altText:"Amazon Pay Logo",width:126,height:24}:c&&(p={source:H.A.src,altText:"PayPal Logo",width:H.A.width,height:H.A.height});let x=(0,o.useMemo)(()=>(0,L.zj)(a?.paymentInfo),[a?.paymentInfo]),m={...e};m["reservationCheckout.paymentSection.creditCardRecommendation"]=e["reservationPreCheck.paymentSection.payNow.creditCardRecommendation"]||"";let g={...r,model:{...r.model,id:"payment-info-checkout-model",":type":"web-biz-components/organisms/CheckoutModule",children:[],editable:!1,ueModelId:"payment-info-checkout-model",name:"PaymentInfo",path:"/payment-info",timeFormat:n.timeFormat,fullDateFormat:n.dateFormat,dateFormat:n.dateFormat,paymentOptions:["creditCard"],confirmationPagePath:"",showLogo:!1,heroImage:{source:""},standardCarTnc:"",avisFirstCarTnc:"",i18n:m,styleParts:t,ctaTarget:"_self",receiveEmailOffersCheckboxText:"",smsPolicyCtaText:"",receiveSmsCheckboxText:""},defaultValues:(0,W.k)(x),allowMaskedValues:!0,disabled:{creditCard:!!(l||a?.isStep1Completed),billing:!!(l||a?.isStep1Completed)},getPaymentDetails:()=>{},config:n,paynowChecked:!1,totalPriceInUsd:0,pageContext:n,isPrimary:!1};return(0,i.jsx)(j.A,{sx:(0,I.oz)(E,t.container),"data-testid":"payment-info-container",children:l&&(d||c)?(0,i.jsx)(_,{...g,logo:p}):(0,i.jsx)(P.U,{...g,enablePrecheckRule:!0})})};var O=r(98585),Q=r(65933);function $({styleParts:e={}}){let{t,i18nKeys:r}=(0,Q.W)(),a=u.uP.use.preCheckInfo(),n=(0,o.useMemo)(()=>({driverLicenseIssuer:a?.driverLicense?.issuer,driverLicenseNumber:a?.driverLicense?.number,driverLicenseState:a?.driverLicense?.state,dob:a?.driverLicense?.dateOfBirth}),[a?.driverLicense]),l=!!(n.driverLicenseIssuer&&n.driverLicenseNumber&&n.dob)||(a?.isStep1Completed??!1);return(0,i.jsxs)(j.A,{sx:(0,I.oz)(E,e.container),"data-testid":"driver-license-container",children:[(0,i.jsx)(f.Q,{variant:"h6",sx:B,"data-testid":"title",children:t(r.driverLicenseTitle)}),(0,i.jsx)(f.Q,{variant:"bodyRegularRegular",sx:D,"data-testid":"description",children:t(r.driverLicenseDescription)}),(0,i.jsx)(O.DriverLicenseForm,{defaultValues:n,isFormDisabled:l,isMaskedLicenseNumber:!!a?.isStep1Completed})]})}var G=r(12236),V=r(13325);let J=e=>{let{aemAttributes:t,model:{i18n:r,id:h},styleParts:f={},partProps:b={},config:y}=e,S=u.uP.use.setFlightInfo(),C=u.uP.use.preCheckInfo(),v=u.uP.use.setReservationLookupInfo(),{reservedAddOnItems:k,reservedProtectionItems:A}=(0,g.N)(),w=u.uP.use.setAddOnsInfo(),j=u.uP.use.setProtectionsInfo(),I=u.uP.use.setReservationInformation(),{navigationLinks:R,region:P,brand:L}=(0,s.usePageContext)(),{fetchReservationInformation:E}=(0,c.y)(),B=(0,a.useSearchParams)(),[D,M]=(0,o.useState)(!0),F=(0,l.Rz)(P),z=(0,p.fG)(),N=(0,o.useRef)(!1),_=(0,o.useRef)(null);return((0,o.useEffect)(()=>{let e=C?.reservationLookupInfo;if(!e){let t=B.get("confirmationNumber"),r=B.get("lastName"),i=y?.country?.toUpperCase?.()??"";if(!t||!r||!i)return void M(!1);v(e={confirmationNumber:(0,d.g)(t),lastName:r.trim(),countryCode:i,isEncrypted:!1})}if(C?.reservationInformation)return void M(!1);let{lastName:t,countryCode:r,confirmationNumber:i,isEncrypted:a}=e,o=`${i}|${t}|${r}|${a?"1":"0"}`;_.current!==o&&(_.current=o,M(!0),E({confirmationNumber:i,isConfirmationNumberEncrypted:a,...a?{}:{lastName:t}},r).then(e=>(e&&I(e),e)).catch(e=>{console.error("Error fetching reservation information:",e)}).finally(()=>{M(!1)}))},[y?.country,E,C?.reservationInformation,C?.reservationLookupInfo,B,I,v]),(0,o.useEffect)(()=>{w(k.map(e=>({id:e.code,title:e.name,price:e.amount,quantity:e.quantity})))},[k,w]),(0,o.useEffect)(()=>{j(A.map(e=>({id:e.code,title:e.name,price:e.amount,quantity:e.quantity})))},[A,j]),(0,o.useEffect)(()=>{N.current||(N.current=!0,z({booking_state:"driving_billing_info"}))},[z]),D)?(0,i.jsx)(n.Loader,{isActive:!0,brand:L,dataTestId:"reservation-precheck-loader"}):(0,i.jsx)(G.S,{aemAttributes:t,id:h,i18n:r,dataTestId:"reservation-precheck",children:(0,i.jsx)(x.D,{children:(0,i.jsxs)(V._,{styleParts:f,preCheckConfirmationPageUrl:C?.reservationInformation?.features?.digitalCheckin?.offerAncillaries?"":R.selfCheckoutConfirmation,renderRightSection:!1,children:[(0,i.jsx)(T,{i18n:r}),(0,i.jsx)(U,{i18n:r,styleParts:b.driverLicenseStyle,...e}),(0,i.jsx)($,{dateFormat:F,styleParts:b.driverLicenseStyle}),(0,i.jsx)(m.L,{i18n:r,styleParts:{}
1,showFlightNumberOnly:!0,onChange:e=>{let t=e.airlineCode,r=e.airlineNumber;if(r){let e=r.match(/^([A-Z]{2,3})(\d+)$/i);e&&(t=e[1].toUpperCase(),r=e[2])}S({airline:t,flightNumber:r})}})]})})})}},7230:(e,t,r)=>{"use strict";r.d(t,{Y:()=>a});var i=r(58016);let a={footerWrapper:{borderTopRightRadius:"24px",borderTopLeftRadius:"24px",borderBottomLeftRadius:"24px",borderBottomRightRadius:"24px"},actionButton:{":disabled":{backgroundColor:i.S.neutralGrey300,color:i.S.transparencyDark40}},totalPrice:{},totalTex:{},popOver:{wrapper:{borderRadius:"24px"},header:{fontSize:{sm:"26px",xs:"22px"}},vehicleRateAndProtections:{fontSize:"13px"},savingsAndTaxes:{fontSize:"13px"},headerImageContainer:{},headerContainer:{},protectionAndAddonsLabel:{color:i.S.neutralBlack,fontSize:"14px",fontWeight:"500",lineHeight:"20px",letterSpacing:"0.042px"}}}},7499:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckContentMenu:()=>n,budgetTruckContentMenuStyles:()=>i.l});var i=r(48931),a=r(47388),o=r(49361);let n=({aemAttributes:e,children:t,...r})=>(0,a.jsx)(o.F,{...r,aemAttributes:e,styleParts:(0,i.l)(r?.model?.hoverEffect),children:t})},7759:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var i=r(66936),a=r(95860);let o={dialogContainer:{"& .MuiDialog-paper":{borderRadius:{xs:"24px 24px 0 0",sm:"24px"}}},dialogTitle:{color:i.L.neutralBlack,fontSize:{xs:"18px",sm:"20px"},fontWeight:700,lineHeight:"26px"},dialogSubtitle:{color:i.L.neutral500,...a.j.bodyRegularRegular},itemContainer:{borderRadius:"16px",backgroundColor:i.L.neutral100},itemTitle:{color:i.L.neutralBlack,fontSize:"15px",fontWeight:500,lineHeight:{xs:"20px",sm:"24px"}},itemLabel:{color:i.L.neutral500,fontSize:"13px",fontWeight:500,lineHeight:"20px"},itemDescription:{color:i.L.neutral500,fontSize:"13px",fontWeight:400,lineHeight:"20px"},dialogButton:{borderRadius:"24px",backgroundColor:i.L.primaryDarkBlue,color:i.L.white,fontSize:"13px",fontWeight:500,lineHeight:"14px","&:hover":{backgroundColor:i.L.blue400}}}},8061:(e,t,r)=>{"use strict";r.d(t,{Q:()=>o,X:()=>n});var i=r(4631),a=r(47928);let o=e=>{let t=(0,a.p)(e??"");return("string"==typeof t?t.length>0:!!t)?{dangerouslySetInnerHTML:{__html:t}}:{}},n=e=>!e||""===e.replaceAll(String.raw`\u003C`,"<").replaceAll(String.raw`\u003E`,">").replaceAll(i.ALL_HTML_TAGS_REGEX,"").trim()},8382:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckMediaModule:()=>n});var i=r(47388),a=r(36939);let o={header:{fontSize:{xs:"22px",sm:"26px"},fontWeight:700,lineHeight:{xs:"24px",sm:"32px"}},body:{color:r(58016).S.neutral500},mediaWrapper:{borderRadius:"24px"}},n=({aemAttributes:e={},...t})=>(0,i.jsx)(a.MediaModule,{...t,aemAttributes:e,styleParts:o})},8669:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckContentCard:()=>s,BudgetTruckContentCardElement:()=>c});var i=r(47388),a=r(4424),o=r(58016);let n={card:{backgroundColor:o.S.blue100,borderRadius:"24px"},cardTitle:{fontSize:{xs:"22px",sm:"26px"},lineHeight:{xs:"24px",sm:"32px"}},cardDescription:{fontSize:{xs:"13px",sm:"15px"},lineHeight:{xs:"20px",sm:"24px"},color:o.S.neutralGrey500}},l={...n,headline:{fontSize:{xs:"28px",sm:"32px"},lineHeight:{ss:"32px",sm:"40px"}},description:{lineHeight:{xs:"26px",sm:"28px"},color:o.S.neutralGrey500}},s=({aemAttributes:e,...t})=>(0,i.jsx)(a.m,{...t,aemAttributes:e,styleParts:l});var d=r(66032);let c=({aemAttributes:e,...t})=>(0,i.jsx)(d._,{...t,aemAttributes:e,styleParts:n})},8762:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckRentalDashboard:()=>s});var i=r(47388),a=r(90656),o=r(28173),n=r(58016);let l={headerTitle:{textAlign:"center",maxWidth:"880px",textWrap:{xs:"balance",sm:"normal"},marginInline:"auto",fontSize:{xs:"36px",sm:"44px"},lineHeight:{xs:"44px",sm:"48px"}},rentalDetails:{padding:{xs:"24px 16px",md:"32px 24px"},borderRadius:"24px",boxShadow:"0 2px 8px 0 rgba(0 0 0 / 6%)"},accordion:{borderRadius:"24px",":first-of-type":{borderRadius:"24px"},":last-of-type":{borderRadius:"24px"}},rentalDetailsTitle:{fontSize:{xs:"22px",md:"26px"}},expressExit:{borderRadius:"24px"},confirmActionModal:{wrapper:{"& .MuiDialog-paper":{borderRadius:{xs:"16px 16px 0 0",sm:"24px"}}},dialogActions:{gap:"8px",padding:"16px"},cancelButton:{outline:"1px solid #00285F",color:"black",borderRadius:8},confirmButton:{borderRadius:8,bgcolor:" #00285F"}},splitPaymentModal:{dialogStyle:{"& .MuiPaper-root":{borderRadius:"24px 24px 0 0"}},headerStyle:{fontSize:{xs:"18px",sm:"22px"},lineHeight:{xs:"26px",sm:"22px"}},textPrimaryStyle:{fontSize:"13px",lineHeight:"20px"},textSecondaryStyle:{fontSize:"11px",lineHeight:"16px"},subTextStyle:{color:n.S.neutral400,fontSize:"11px",lineHeight:"16px"},summaryStyle:{backgroundColor:n.S.neutral100,borderRadius:6},totalToBePaidStyle:{borderColor:n.S.mediumContrast}},joinToGetOurBestRates:{label:{fontSize:"13px",lineHeight:"14px"}},modifyReturn:{containerStyle:{borderRadius:"24px"},searchButton:{borderRadius:"24px"},inputContainer:{borderRadius:"24px"}}},s=e=>{let t=(0,a.useRouter)();return e.pageContext.features["feature.preferredFastbreakChoiceDisabled"]&&t.replace(e.page
1Context.navigationLinks.home),(0,i.jsx)(o.z,{...e,"data-aue-type":"component",styleParts:l})};s.displayName="BudgetTruckRentalDashboard"},9008:(e,t,r)=>{"use strict";r.d(t,{B:()=>T});var i=r(47388),a=r(52949),o=r(80181),n=r(88307),l=r(61872),s=r(99701),d=r(64228),c=r(7566),p=r(22472),u=r(57109),x=r(72595),m=r(49179),g=r(71726),h=r(64952),f=r(55494);let b={zIndex:1302,marginTop:{xs:"0"},"& .MuiDialog-container .MuiDialog-paper":{width:{xs:"100%",sm:"656px"},height:{xs:"100%",sm:"768px"},maxHeight:"100%",margin:0},"& + .MuiPopover-root":{zIndex:1400}},y={display:"flex",flexWrap:"wrap",padding:"0"},S={display:"flex",justifyContent:"space-between",padding:"24px",fontFamily:f.QU,textTransform:"none",flex:"auto"},C={paddingRight:0,".MuiSvgIcon-root":{fontSize:"16px"}},v={padding:0,cursor:"pointer",path:{strokeWidth:"1.5px"}},k={padding:"16px 24px"},A=(0,l.lazy)(()=>Promise.all([r.e(9371),r.e(8968),r.e(4519),r.e(2638),r.e(529)]).then(r.bind(r,40529)).then(e=>({default:e.RegistrationFormEmea}))),w=(0,l.lazy)(()=>Promise.all([r.e(9371),r.e(6643),r.e(8968),r.e(4519),r.e(460),r.e(1217)]).then(r.bind(r,71217)).then(e=>({default:e.RegistrationFormNamApac}))),T=({aemAttributes:e,model:t,partProps:r={},styleParts:f={},isOpen:T,onClose:j})=>{let{brand:I}=(0,u.usePageContext)(),{isExpressNamApac:R,isNamApac:P,isEmea:L}=(0,h.o)({registrationFormType:t.registrationFormType}),E=(0,s.A)(t.i18n);return(0,i.jsx)(a.default,{...e,"data-aue-type":"component",children:(0,i.jsxs)(n.default,{open:T||!1,...e,"data-aue-type":"component",sx:(0,d.oz)(b,f.registrationFormModal?.container),children:[(0,i.jsx)(o.default,{sx:y,children:(0,i.jsxs)(a.default,{sx:S,"data-testid":"login-dialog-title",children:[E("registrationFormCommon.createAccount.label"),(0,i.jsx)(a.default,{sx:C,children:(0,i.jsx)(c.U,{"data-testid":"login-dialog-close-icon",sx:v,stroke:"black",onClick:j})})]})}),(0,i.jsxs)(l.Suspense,{fallback:(0,i.jsx)(p.Loader,{isActive:!0,brand:I}),children:[P&&(0,i.jsx)(g.v,{children:(0,i.jsx)(w,{model:t,styleParts:f,partProps:r})}),L&&(0,i.jsx)(g.v,{children:(0,i.jsx)(A,{model:t,styleParts:f,partProps:r})})]}),R&&t.expressEnrollmentNamApacModel&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.F,{model:t.expressEnrollmentNamApacModel,styleParts:f.expressEnrollmentForm,partProps:r,commonI18n:t.i18n}),(0,i.jsx)(m.M,{model:t.expressEnrollmentNamApacModel,styling:{footerWrapper:k}})]})]})})}},9218:(e,t,r)=>{"use strict";r.d(t,{Y:()=>b});var i=r(47388),a=r(52949),o=r(48895),n=r(17348),l=r(12721),s=r(49855),d=r(64228),c=r(38784),p=r(54824),u=r(79072),x=r(62068),m=r(1443),g=r(65171),h=r(94641),f=r(48452);let b=({aemAttributes:e,config:t,model:r,parts:b={},partProps:y={},styleParts:S={}})=>{let{locale:C,country:v,avisPreferredSupportedCountries:k}=t,{dropdownIcon:A=s.b,downloadAppButtonLogo:w=""}=b,{headerNavigation:T,hamburgerMenu:j,dropdownMenu:I,dropdownDrawer:R,headerMobileNavigation:P,profileMenu:L}=y;return(0,i.jsx)(x.HeaderWrapper,{children:(0,i.jsxs)(a.default,{...e,"data-aue-type":"component",sx:(0,d.iX)(u.cl,S,"headerWrapper"),children:[(0,i.jsx)("div",{id:"global-alert-message-container"}),(0,i.jsx)(o.default,{position:"relative",sx:(0,d.iX)(u.cl,S,"root"),children:(0,i.jsx)(n.default,{maxWidth:"xl",sx:u.j4,children:(0,i.jsxs)(l.default,{disableGutters:!0,sx:u.h5,children:[(0,i.jsx)(a.default,{children:r.logo?.source&&(0,i.jsx)(c.HeaderAvisLogo,{source:r.logo.source,description:r.logo.description,styleParts:S})}),(0,i.jsx)(a.default,{children:(0,i.jsx)(m.HeaderNavigation,{styleParts:T?.styleParts||{},dropdownDrawerStyleParts:R?.styleParts||{},dropdownIcon:(0,i.jsx)(A,{sx:(0,d.iX)(u.cl,S,"dropdownIcon")}),links:r.navigationList??[],modelId:r.id,i18n:r.i18n})}),(0,i.jsxs)(a.default,{id:"action-buttons",sx:(0,d.iX)(u.cl,S,"actionButtons"),children:[(0,i.jsx)(a.default,{sx:(0,d.iX)(u.cl,S,"locationSelect"),children:(0,i.jsx)(g.LocationSelect,{locale:C??"",country:v,countries:r.countries||{},languages:r.languageList||[],i18n:r.i18n,menuStyleParts:I?.styleParts||{},drawerStyleParts:R?.styleParts||{},styleParts:I?.styleParts||{}})}),(0,i.jsx)(h.ProfileMenu,{model:r,styleParts:L?.styleParts||{}}
1),(0,i.jsx)(p.PartnerLogo,{}),(0,i.jsx)(f.HamburgerMenu,{...r.hamburgerMenu,styleParts:j?.styleParts||{},globalNavigationList:r.navigationList??[],showLoyaltyPoints:r?.showLoyaltyPoints||!1,i18n:r.i18n,countries:r.countries||{},languageList:r.languageList||[],dropdownDrawerStyleParts:R?.styleParts||{},headerMobileNavigationStyleParts:P?.styleParts||{},amazonAccountMenuSettings:r.amazonSettings,accountMenuTitle:r?.accountMenuTitle||"",accountMenuItems:r?.accountMenuItems,profileMenuStyleParts:L?.styleParts,locale:C??"",country:v,downloadAppLogo:w,showNudge:r?.showNudge||!1,avisPreferredSupportedCountries:k,modelId:r?.id,showWelcomePopup:r?.showWelcomePopup})]})]})})})]})})}},9841:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var i=r(58016);let a={carDescription:{marginTop:{xs:"8px",md:"6px"},fontSize:{xs:"12px",md:"20px"},lineHeight:{xs:"18px",md:"28px"}},carType:{lineHeight:"116.667%"},carWrapper:{backgroundColor:i.S.utilityBackgroundCard,borderRadius:"24px",borderStyle:"none",margin:"7px",padding:{md:"20px 12px"}},isElectric:{fill:i.S.primary300},label:{backgroundColor:i.S.primary500,borderRadius:"50px",color:i.S.primary100,fontSize:"14px",lineHeight:1.5,padding:"2px 8px",textTransform:"capitalize"},priceOption:{borderRadius:"18px"},priceOptionActive:{backgroundColor:i.S.primary300,borderColor:"transparent",color:"#FFF"},priceOptionTag:{backgroundColor:i.S.secondary500,borderRadius:"40px",color:"#FFF",height:"15px"},priceOptionTagActive:{backgroundColor:i.S.white,color:i.S.secondary500},priceOptionTotalPrice:{color:i.S.neutralGrey800},startBookingButton:{height:"49px"},wrapper:{backgroundColor:"#FFF",borderRadius:{md:"24px",xs:"0"}},firstRow:{justifyContent:{xs:"center",md:"flex-start"},paddingLeft:{xs:"0",md:"24px"}},loginText:{fontSize:{xs:"14px",md:"20px"}},priceOptionRadioButtonActive:{backgroundColor:i.S.white},mobileFeatureButton:{padding:"3.5px 12px !important"}}},10343:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckPartnerAccount:()=>n});var i=r(47388),a=r(31002),o=r(1382);let n=({aemAttributes:e,...t})=>(0,o.l3)()?(0,i.jsx)(a.e,{...t,aemAttributes:e}):null},10887:(e,t,r)=>{"use strict";r.d(t,{g:()=>A});var i=r(47388),a=r(52949),o=r(57521),n=r(90656),l=r(61872),s=r(99701),d=r(22472),c=r(10431),p=r(57109),u=r(72595),x=r(49179),m=r(71726),g=r(64952),h=r(55301);let f={display:"flex",flexDirection:"column",width:{xs:"100%",sm:"90%",md:"880px"},marginX:"auto",marginBottom:{xs:"48px",sm:"56px"},backgroundColor:h.J.white100,position:"relative",zIndex:1,boxShadow:"0px 4px 16px 0px rgba(0, 0, 0, 0.10), 0px 0px 8px 0px rgba(0, 0, 0, 0.04), 0px 4px 4px 0px rgba(0, 0, 0, 0.04)"},b={margin:{xs:"20px 16px",sm:"40px"}},y={marginY:{xs:"32px",sm:"40px"}},S={color:h.J.black,fontWeight:700,lineHeight:{xs:"22px",sm:"24px"},padding:{xs:"20px 16px 0",sm:"40px 40px 0"}},C=(0,l.lazy)(()=>Promise.all([r.e(9371),r.e(8968),r.e(4519),r.e(2638),r.e(8559)]).then(r.bind(r,78559)).then(e=>({default:e.RegistrationFormEmea}))),v=(0,l.lazy)(()=>Promise.all([r.e(9371),r.e(6643),r.e(8968),r.e(4519),r.e(460),r.e(896)]).then(r.bind(r,50896)).then(e=>({default:e.RegistrationFormNamApac}))),k=(0,l.lazy)(()=>r.e(7657).then(r.bind(r,47657)).then(e=>({default:e.RegistrationFormFreeDaysNamApac}))),A=({aemAttributes:e,model:t,partProps:r={},styleParts:h={}})=>{let A=(0,s.A)(t?.i18n),w=(0,n.useSearchParams)(),T=(0,n.usePathname)(),{brand:j}=(0,p.usePageContext)(),I=e?.["data-aue-resource"]?.includes("drive-signUp"),R=e?.["data-aue-resource"]?.includes("drivePreferredSignUpPage"),{isExpressNamApac:P,isNamApac:L,isEmea:E,isFreeDaysNamApac:B}=(0,g.o)({registrationFormType:t.registrationFormType}),D=w.get("id"),M=w.get("requestToken"),F=w.get("subscribe")||w.get("subscription"),z=!!I||T?.includes("drive-signUp")||T?.includes("drive-signup")||"PDG"===F||"PDS"===F,N=!!R||T?.includes("drivePreferredSignUpPage");return(0,i.jsxs)(a.default,{...e,"data-aue-type":"component",sx:(0,o.o)(f,h.registrationForm?.container,(N||I)&&{marginLeft:"auto",marginRight:"auto"}),"data-testid":"registration-form-container",children:[(0,i.jsxs)(l.Suspense,{fallback:(0,i.jsx)(d.Loader,{isActive:!0,brand:j}),children:[L&&(0,i.jsx)(m.v,{children:(0,i.jsx)(v,{model:t,partProps:r,styleParts:h,isConcurRegistration:!!(D&&M)})}),E&&(0,i.jsx)(m.v,{children:(0,i.jsx)(C,{model:t,partProps:r,styleParts:h,isDriveSignUp:z,preferredDriveSignUp:N})}),B&&t.freeDaysRegistrationFormConfig&&(0,i.jsx)(k,{model:t})]}),P&&t.expressEnrollmentNamApacModel&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.Q,{variant:"h6",sx:S,children:A("expressEnrollmentNamApac.title.label")}),(0,i.jsxs)(a.default,{sx:b,children:[(0,i.jsx)(u.F,{model:t.expressEnrollmentNamApacModel,styleParts:h.expressEnrollmentForm,partProps:r,commonI18n:t.i18n}),(0,i.jsx)(x.M,{model:t.expressEnrollmentNamApacModel,styling:{footerDivi
1der:y}})]})]})]})}},10999:(e,t,r)=>{"use strict";r.d(t,{i:()=>a});var i=r(58016);let a={pageContent:{backgroundColor:i.S.neutral100},pageBackground:{fill:i.S.primary300},comparisonButton:{width:"100%",marginTop:"-25px",display:"flex",justifyContent:"end",position:"relative",top:"-15px",color:"#ffffff",textDecoration:"underline",fontWeight:400,outline:"none","&:focus":{outline:"none"},"&:focusVisible":{outline:"none"}},title:{color:i.S.primary100,fontSize:{xs:"36px",sm:"40px",md:"44px"},fontWeight:700,lineHeight:{xs:"40px",sm:"44px",md:"48px"},textTransform:"none"},subtitle:{color:i.S.primary100,fontSize:"15px",fontWeight:400,lineHeight:"24px"}}},12064:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckHeroBanner:()=>l});var i=r(47388),a=r(90699);let o={wrapper:{borderBottomLeftRadius:{xs:24,sm:32},borderBottomRightRadius:{xs:24,sm:32},backgroundColor:r(58016).S.blue400},headline:{fontSize:{sm:60,xs:36},lineHeight:{sm:"64px",xs:"44px"}},description:{}};var n=r(46164);let l=({aemAttributes:e,...t})=>(0,i.jsx)(a.H,{...t,aemAttributes:e,styleParts:o,parts:{defaultBackground:n.A}})},12940:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});let i={src:"/_next/_v/2.9.2.s15.31/_next/static/media/budgetbackgroundbanner.ecc8464b.svg",height:232,width:1440,blurWidth:0,blurHeight:0}},13038:(e,t,r)=>{"use strict";r.d(t,{R:()=>u});var i=r(47388),a=r(52949);r(61872);var o=r(54733),n=r(43975),l=r(51102),s=r(21999),d=r(2420),c=r(41386),p=r(52198);let u=({model:e,partProps:t={},styleParts:r={},parts:u={},preselectedExtras:x,aemAttributes:m})=>{let g=(0,p.lc)(e),h=(0,c.I)();(0,o.f)();let f=n.Hs.Protections;return(0,i.jsx)(a.default,{...m,"data-aue-label":"Protections","data-aue-type":"component","data-testid":`${f}-aem-container`,sx:{width:"100%"},children:(0,i.jsx)(d.q,{model:e,children:(0,i.jsx)(l.l,{pageType:f,model:g,children:(0,i.jsx)(s._,{pageType:f,styleParts:r,partProps:t,parts:u,model:g,preselectedExtras:x},h)})})})}},13139:(e,t,r)=>{"use strict";r.d(t,{Xi:()=>i,Zd:()=>s,bh:()=>a,eV:()=>n,m2:()=>o,zb:()=>l});let i=6,a=18,o=3,n=25,l=10,s=17},13450:(e,t,r)=>{"use strict";r.d(t,{w:()=>g});var i=r(47388),a=r(52949),o=r(57521),n=r(61872),l=r(10431),s=r(90544),d=r(22756),c=r(98057),p=r(71603),u=r(55301);let x={display:"flex",alignItems:"center",gap:"4px",marginBottom:"8px"},m={color:u.J.white100},g=({aemAttributes:e,model:t,styleParts:r={}})=>{let{isFAQDropdown:u}=(0,c.b)(),{selectedCountry:g,onSelectionChange:h,layout:f}=(0,p.o)(),b=(0,n.useMemo)(()=>t.itemsList.map(e=>({label:e.title,value:e.url})),[t.itemsList]),y=(0,n.useMemo)(()=>g?t.itemsList.find(e=>e.countryAbbreviation===g):t.itemsList.find(e=>e.active),[t.itemsList,g]),S=(0,n.useCallback)(e=>{if(e){if(h){let r=t.itemsList.find(t=>t.url===e);r&&h(r);return}u||(globalThis.location.href=e)}},[u,h,t.itemsList]),C=(0,n.useCallback)(e=>{e&&u&&globalThis.open(e,"_blank")},[u]);return(0,i.jsxs)(a.default,{...e,"data-aue-type":"component","data-testid":"dropdown-select-container",sx:((e="column")=>({display:"flex",flexDirection:"row"===e?"row":"column",gap:"row"===e?"10px":"0px"}))(f),children:[(0,i.jsxs)(a.default,{sx:x,children:[(0,i.jsx)(l.Q,{variant:"h6",sx:(0,o.o)(r.headlineStyles,u?m:{}),children:t.headline}),(0,i.jsx)(a.default,{sx:r?.supStyles??{},component:"sup",children:"*"}),t.icon&&(0,i.jsx)(s.AemImage,{src:t.icon.source,alt:t.headline,width:12,height:12})]}),(0,i.jsx)(d.Dropdown,{"data-testid":"dropdown-select",placeholder:t.placeholder||"",defaultValue:y?.url??"",options:b,onChangeHandler:S,onItemClick:C,styleParts:r?.dropdownStyles??{},fullWidth:u||!1,...u?{activeValue:y?.url??t.placeholder??""}:{}})]})}},13828:(e,t,r)=>{"use strict";r.d(t,{V:()=>l});var i=r(47388),a=r(10431),o=r(55494),n=r(47928);let l=({text:e,sx:t,...r})=>{let{dangerouslySetInnerHTML:l,...s}=r;return(0,i.jsx)(a.Q,{sx:{fontFamily:o.QU,fontWeight:400,fontSize:{xs:"14px",sm:"15px",md:"16px"},lineHeight:"24px",letterSpacing:"0.003em",color:"#524D4D",mb:4,...t},dangerouslySetInnerHTML:{__html:(0,n.p)(e)},...s})}},13858:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckLocationSearchModule:()=>s});var i=r(47388),a=r(76961),o=r(58016);let n="/_next/_v/2.9.2.s15.31/_next/static/media/background-right.57a49784.svg",l={container:{},mainContent:{backgroundColor:o.S.blue400,backgroundImage:{xs:`url(${n})`,sm:`url(/_next/_v/2.9.2.s15.31/_next/static/media/background-left.cd23dd07.svg),  url(${n})`},backgroundRepeat:"no-repeat",backgroundPosition:{xs:"bottom right",sm:"bottom left, bottom right"},padding:{xs:"24px 16px",sm:"95px 160px"},gap:{xs:"32px",sm:"48px"},borderRadius:{xs:"0 0 24px 24px",sm:"0 0 32px 32px"}},heading:{fontSize:{xs:"36px",sm:"60px"},lineHeight:{xs:"44px",sm:"64px"}},body:{},search:{}}
1,s=({aemAttributes:e,...t})=>(0,i.jsx)(a.a,{...t,aemAttributes:e,styleParts:l})},13982:(e,t,r)=>{"use strict";r.d(t,{F:()=>i});let i=e=>{if(!e)return"";let t=e.toLowerCase(),r=t.indexOf("?"),i=-1===r?t:t.slice(0,r);i=(i=i.replaceAll(/\/+/g,"/")).replaceAll(/^\/+|\/+$/g,"");try{return decodeURIComponent(i)}catch{return i}}},14351:(e,t,r)=>{"use strict";r.d(t,{Y:()=>n});var i=r(47388),a=r(8085);r(61872);let o={position:"absolute",zIndex:-1,width:"100%",height:"100%",borderRadius:"40px"},n=()=>(0,i.jsxs)(a.default,{sx:o,viewBox:"0",children:[(0,i.jsxs)("g",{clipPath:"url(#clip0_2030_73527)",children:[(0,i.jsx)("rect",{width:"1440",height:"100%",rx:"42",fill:"#006BBF"}),(0,i.jsx)("path",{d:"M952.588 814.277V814.277C955.657 800.234 976.316 802.422 976.375 816.796L976.829 927.759C976.847 932.161 978.063 936.475 980.346 940.238L1042.86 1043.25C1081.79 1107.41 1051.9 1191.14 981.135 1216.14V1216.14C942.033 1229.95 898.553 1222.28 866.542 1195.91L844.463 1177.73C796.213 1137.99 773.853 1074.86 786.337 1013.61L795.701 967.669C807.946 907.597 798.373 844.215 759.344 796.935C724.366 754.562 676.491 707.677 626.678 692.643C588.927 681.249 534.172 683.353 502.009 686.001C484.507 687.442 466.865 686.956 449.663 683.421L343.299 661.563C240.726 640.485 219.142 503.494 310.263 451.896L367.446 419.516C404.803 398.363 411.305 347.227 380.43 317.398V317.398C361.845 299.443 334.377 294.314 310.149 303.305C224.97 334.914 23.3869 399.769 -84.4777 351.278C-147.152 329.068 -231.379 241.664 -269.86 199.011C-281.446 186.169 -279.543 166.441 -266.07 155.596L-246.66 139.973C-221.468 119.694 -187.917 151.76 -207.036 177.844V177.844C-218.455 193.422 -241.922 192.784 -252.477 176.609L-289.433 119.973C-301.421 101.602 -320.902 89.4539 -342.675 86.7727L-505.361 66.7376",stroke:"#00285F",strokeOpacity:"0.2",strokeWidth:"80",strokeLinecap:"round",fill:"none"}),(0,i.jsx)("path",{d:"M1867.5 513.786V513.786C1864.79 532.418 1838.19 533.197 1834.39 514.755L1812.01 405.945V405.945C1810.05 382.658 1843.51 376.719 1849.68 399.262L1926.1 678.711C1934.3 708.662 1910.9 737.897 1879.88 736.468L1466.87 717.445C1328.79 711.085 1249.37 557.631 1323.92 441.224L1463.36 223.473C1497.72 169.816 1450.27 101.34 1387.96 114.675V114.675C1366.
118 119.338 1347.79 133.864 1338.22 153.983L1288.13 259.229C1271.63 293.909 1236.65 316.001 1198.24 316.001V316.001C1119.92 316.001 1072.27 229.74 1113.97 163.444L1234.97 -28.9285",stroke:"#00285F",strokeOpacity:"0.2",strokeWidth:"80",strokeLinecap:"round",fill:"none"})]}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_2030_73527",children:(0,i.jsx)("rect",{width:"1440",height:"2000px",rx:"42",fill:"white"})})})]})},14604:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckVehicleFeatures:()=>o});var i=r(47388);r(61872);var a=r(83811);let o=({children:e,...t})=>(0,i.jsx)(a._,{...t,styleParts:{},children:e})},14623:(e,t,r)=>{"use strict";r.d(t,{m:()=>c});var i=r(61872),a=r(57109),o=r(30269),n=r(17998),l=r(71707),s=r(64584),d=r(1263);let c=()=>{let{mosaicJourneyConfig:e}=(0,a.usePageContext)(),t=d.Q.use.userSession(),{getRequestContext:r,handleSuccessResponse:c,recordAnalytics:p,handleMosaicError:u}=(0,o.C)(),x=e?.tokenLoginId,m=(0,i.useCallback)(async e=>{let t=await u({response:e,titleKey:""});p({journeyId:x,journeyStepId:e?.journeyStepId,error:t})},[x,p,u]),g=(0,i.useCallback)(async e=>{let t=e.journeyStepId;switch(await m(e),t){case l.CI.information:{let e=await (0,s.VE)(l.Ld.ClientInput,null);await g(e);break}case l.CI.success:await c(e);case l.CI.rejection:}},[c,m]);return{loginWithToken:(0,i.useCallback)(async(e,i=!1)=>{let a={request_context:r(),auth_token:e,access_token:i?null:(0,n.yJ)(t)};try{let e=await (0,s.h_)(x,a);await g(e)}catch{await m()}},[t,x,g,r,m])}}},14823:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckPartnerBenefitsModal:()=>n});var i=r(47388);r(61872);var a=r(3742),o=r(7759);let n=({...e})=>(0,i.jsx)(a.G,{...e,styleParts:o.w})},15232:(e,t,r)=>{"use strict";r.d(t,{ED:()=>l,Jp:()=>o,Kn:()=>s,cR:()=>n});var i=r(58016);let a={outlineOffset:"8px",outlineWidth:"2px",outlineStyle:"solid",borderRadius:"8px"},o={color:i.S.primaryHoverInverse,...a},n={color:i.S.primary,...a},l={color:i.S.primary},s={color:i.S.primary,textDecoration:"underline"}},15698:(e,t,r)=>{"use strict";r.d(t,{H:()=>a,r:()=>o});var i,a=((i={}).dynamic="dynamic",i.manual="manual",i);let o={layout1:{index:0,class:"span-3"},layout2:{index:0,class:"span-2"},layout3:{index:1,class:"span-2"},layout4:{index:0,class:""}}},17507:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var i=r(64822);let a=(e,t)=>{let r;if(e)try{r=new Date(e).toISOString().split("T")[0]}catch{r=void 0}r=r??t?.date;let i=t?.time;if(r||i)return{date:r,time:i}},o=({state:e,reservationDetails:t,region:r,campaignId:o,modificationValueChange:n,newValue:l,hasSelectedUpgrade:s=!0})=>{let d,c=a(e?.pickupDatetime,t?.pickUpDateTime),p=a(e?.returnDatetime,t?.dropOffDateTime),u=s?e?.carGroupCode??e?.vehicleCode??void 0:void 0,x=t?.products?.[0]?.code??e?.oldVehicleCode??void 0;return{confirmationNumber:e?.confirmationNumber??t?.confirmationNumber??void 0,bookingDate:t?.originalBookingDate??void 0,awdType:e?.awdType??void 0,flightNumber:t?.flightInformation?.airlineNumber??void 0,paymentType:e?.priceType??void 0,oldVehicleClass:x,newVehicleClass:u,countryOfResidence:t?.customerInformation?.countryOfResidence??void 0,pickUpDateTime:c,dropOffDateTime:p,pickUpLocationMnemonic:e?.pickupLocationCode??t?.pickUpLocationMnemonic??void 0,dropOffLocationMnemonic:e?.returnLocationCode??t?.dropOffLocationMnemonic??void 0,pickUpLocationCountry:t?.pickUpAddresses?.[0]?.countryCode??void 0,dropOffLocationCountry:t?.dropOffAddresses?.[0]?.countryCode??void 0,pickUpLocationRegion:t?.pickUpLocationName??void 0,dropOffLocationRegion:t?.dropOffLocationName??void 0,pickUpLocationIsAirport:(d=e?.pickupSuggestionTypeCode,!!(d?.includes("AIRPORT")||d?.includes("1"))||t?.pickUpLocationIsAirport),purposeOfTravel:e?.purposeOfTravel??void 0,region:(0,i.Gy)(r),campaignId:o,avisFirstIndEvent:e?.isAvisFirst??void 0,modificationValueChange:n,newValue:l}}},18795:(e,t,r)=>{"use strict";r.d(t,{h:()=>v});var i=r(47388),a=r(52949),o=r(40885),n=r(7915),l=r(64228),s=r(10431),d=r(90544),c=r(3848),p=r(53244),u=r(54788),x=r(47928),m=r(96065),g=r(61872);let h=e=>!!e?.title&&!!e?.body,f=(0,g.memo)(({model:e,templateName:t,isInline:r})=>{let a=(0,g.useMemo)(()=>
1{if("faqcategory"===t){var i;return 0===(i=((e,t)=>{if(t){let t,r;return t=e?.[":itemsOrder"]??[],r=e?.[":items"]??{},t.reduce((e,t)=>{let i=r[t];return h(i)&&e.push(i),e},[])}return e?.accordionFragmentList?.filter(e=>h(e))??[]})(e,r)).length?null:{"@context":"https://schema.org","@type":"FAQPage",mainEntity:i.map(e=>(({title:e,body:t})=>({"@type":"Question",name:e,acceptedAnswer:{"@type":"Answer",text:(0,x.p)(t??"")}}))(e))}}},[r,e,t]);return a?(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a,null,2)}}):null});f.displayName="AccordionFaqJsonLd";var b=r(45373),y=r(97821);let S={header:{fontSize:{xs:"32px",sm:"36px"},lineHeight:{xs:"32px",sm:"36px"}},bodyText:{"& > :first-child":{marginTop:0,paddingTop:0},"& > :last-child":{marginBottom:0,paddingBottom:0}},mainContainer:{margin:"auto",width:"100%",position:"relative",overflow:"hidden",padding:{xs:"48px 16px",sm:"120px 56px"}},dividerWrapper:r(66853).g},C=(e,t,r,o)=>(0,i.jsx)(m.default,{value:{expandAllAccordionItems:r,header:o},children:"inline"===e?t:t?.map((e,t)=>{let{title:r,body:o,expandByDefault:n=!1}=e;return(0,i.jsx)(a.default,{"data-testid":"accordionitem-wrapper",children:(0,i.jsx)(b.AccordionItem,{title:r,body:o,expandByDefault:n})},`accordion-item-${r}-${t}`)})}),v=({aemAttributes:e,model:t,styleParts:r={},children:m=null,config:g})=>{let{header:h,itemCount:b,contentSource:v,accordionFragmentList:k,i18n:A,expandAllAccordionItems:w,bodyText:T,image:j,showDivider:I=!0,dividerList:R}=t,{dividerThickness:P,dividerTheme:L}=R||{},E=(0,p.W)("16-9",j?.crops),B="inline"===v,D=!Number.isNaN(Number(b)),M=B?(0,u.T)(t,m,"accordionitem"):[],F=B?D&&M?.slice(0,Number(b))||M||[]:D&&k?.slice(0,Number(b))||k||[],z=[];return D&&(z=B?M?.slice(Number(b))||[]:k?.slice(Number(b))||[]),(0,i.jsxs)(a.default,{...e,"data-testid":"accordionmodule-wrapper","data-aue-type":B?"container":"component",maxWidth:"xl",sx:(0,l.iX)(S,r,"mainContainer"),children:[(0,i.jsx)(f,{model:t,templateName:g.templateName,isInline:B}),(0,i.jsxs)(n.default,{container:!0,direction:{xs:"column",sm:"row"},spacing:{xs:5,sm:16},children:[h&&(0,i.jsxs)(n.default,{container:!0,direction:"column",size:{sm:5},spacing:3,children:[(0,i.jsxs)(n.default,{container:!0,direction:"column",spacing:2,children:[(0,i.jsx)(s.Q,{variant:"h4",sx:(0,l.iX)(S,r,"header"),children:h}),T&&(0,i.jsx)(s.Q,{variant:"bodyLargeRegular","data-testid":"accordionmodule-body-richtext",sx:(0,l.iX)(S,r,"bodyText"),dangerouslySetInnerHTML:{__html:(0,x.p)(T??"")}})]}),j&&(0,i.jsx)(d.AemImage,{src:j.source,alt:j.description??"",fit:"crop",width:432,height:230,style:{width:"100%",objectFit:"cover",borderRadius:"8px"},smartCropName:E,"data-testid":"accordionmodule-image"})]}),(0,i.jsx)(n.default,{size:{sm:h&&7||12},children:(0,i.jsxs)(a.default,{children:[(0,i.jsx)(o.default,{}),C(v,F,w,h),"showAll"!==b&&((k?.length??0)>Number(b)||M?.length>Number(b))&&(0,i.jsx)(y.MoreLessToggle,{accordionItems:C(v,z,w,h),i18n:A})]})})]}),I&&(0,i.jsx)(a.default,{sx:(0,l.iX)(S,r,"dividerWrapper"),children:(0,i.jsx)(c.ThemedDivider,{type:"horizontal",thickness:P,theme:L})})]})}},19294:(e,t,r)=>{"use strict";r.d(t,{$:()=>n});var i=r(47388),a=r(10431),o=r(55494);let n=({text:e,sx:t,color:r="#000"})=>(0,i.jsx)(a.Q,{sx:{fontFamily:o.UN,fontWeight:700,fontSize:{xs:"20px",sm:"22px",md:"24px"},lineHeight:"24px",letterSpacing:"-0.8px",color:r,textTransform:"uppercase",mb:3,...t},children:e})},22215:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckClaimYourPoints:()=>o});var i=r(47388),a=r(57565);let o=({...e})=>(0,i.jsx)(a.T,{...e})},23563:(e,t,r)=>{"use strict";r.d(t,{DP:()=>n,NF:()=>o});var i=r(2184);let a=["AU","NZ"],o=e=>a.includes(e?.toUpperCase()??""),n=()=>o(i.K.use.pickupCountryCode?.())?"checkbox":"radio"},24672:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});let i=(0,r(61872).createContext)(void 0)},25727:(e,t,r)=>{"use strict";r.r(t),r.d(t,{budgetTruckModalComponentMapping:()=>n}),r(73951),r(76300),r(73061),r(39960),r(72063),r(22215),r(62353),r(8669),r(7499),r(86645),r(72400),r(33112),r(26569),r(55106),r(37578),r(52354),r(45362),r(65372),r(12064),r(94025),r(73995),r(13858);var i=r(90599);r(8382),r(33804),r(45080),r(10343),r(14823),r(71776),r(63107),r(76431),r(46056),r(58894),r(95389);var a=r(30352);r(8762),r(5534),r(40323),r(99079),r(54143),r(877),r(98963),r(94649),r(43241),r(97806),r(14604),r(77456),r(62252);var o=r(8847);let n={[o.k.LOGIN_MODAL]:i.BudgetTruckLoginContainer,[o.k.REGISTRATION_FORM]:a.BudgetTruckRegistrationForm}},26569:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckDropdownSelect:()=>s});var i=r(47388),a=r(13450),o=r(55301),n=r(58016);let l={headlineStyles:{fontFamily:'BudgetSans, "BudgetSans Fallback", sans-serif',color:o.J.black100,fontSize:"13px",fontWeight:500,lineHeight:"20px",fontStyle:"normal",textTransform:"none",margin:0},supStyles:{color:n.S.primary300,fontSize:"13px"},dropdownStyles:{selectMenu:{"&.MuiSelect-root":{minWidth:"208px",maxHeight:"40px",overflow:"hidden",border:"1px solid  #C7C5C5",borderRadius:"24px",backgroundColor:o.J.white100,"&.Mui-focused":{backgroundColor:o.J.white100,outlineColor:n.S.primary300},".MuiSelect-select":{":hover":{backgroundColor:"transparent"}}}},selectMenuList:{borderRadius:"24px !important"},selectMenuArrowIcon:{}
1,selectMenuItem:{"&.MuiMenuItem-root":{borderRadius:"16px",":hover":{backgroundColor:`${n.S.blue100} !important`}},"&.Mui-selected":{backgroundColor:`${n.S.blue100} !important`,".MuiTypography-root":{fontWeight:400,color:o.J.black},".MuiSvgIcon-root":{display:"none"}}},placeholder:{color:n.S.transparencyDark40,fontSize:"13px"}}},s=({aemAttributes:e,config:t,model:r})=>(0,i.jsx)(a.w,{config:t,model:r,aemAttributes:e,styleParts:l})},28259:(e,t,r)=>{"use strict";r.d(t,{Ll:()=>n,RN:()=>l});var i=r(47388),a=r(61872);let o=(0,a.createContext)({totalPoints:0,pointsUsedByPayWithPoints:0,pointsUsedByAncillaries:0,remainingPoints:0,setPointsUsedByPayWithPoints:()=>{},updateAncillaryPoints:()=>{}}),n=()=>(0,a.useContext)(o),l=({totalPoints:e,initialPointsUsedByAncillaries:t=0,children:r})=>{let[n,l]=(0,a.useState)(0),[s,d]=(0,a.useState)(t),c=(0,a.useMemo)(()=>e-n-s,[e,n,s]),p=(0,a.useCallback)((e,t)=>{d(r=>t?r+e:Math.max(0,r-e))},[]),u=(0,a.useMemo)(()=>({totalPoints:e,pointsUsedByPayWithPoints:n,pointsUsedByAncillaries:s,remainingPoints:c,setPointsUsedByPayWithPoints:l,updateAncillaryPoints:p}),[e,n,s,c,p]);return(0,i.jsx)(o.Provider,{value:u,children:r})}},30002:(e,t,r)=>{"use strict";r.d(t,{B:()=>C});var i=r(47388),a=r(7915),o=r(57521),n=r(13364),l=r(84396),s=r(94064),d=r(19376);let c={large:6,medium:4,small:2,default:0},p={display:"none"},u={maxWidth:s._,margin:"0 auto"},x=(e,t)=>e||t?(0,o.o)(e,t):null,m={"column-1":1,"column-2":2,"column-3":3,"column-4":4,"column-5":5,"column-6":6,"column-7":7,"column-8":8,"column-9":9,"column-10":10,"column-11":11,"column-12":12,auto:null},g=e=>e?m[e]:null;var h=r(33126);let f={flexGrow:1,transition:"opacity 0.3s ease-in-out"};var b=r(52949);r(61872);let y=({children:e,styling:t})=>t?(0,i.jsx)(b.default,{"data-testid":"aem-container-wrapper-for-full-width",sx:(0,o.o)(t),children:e}):(0,i.jsx)(i.Fragment,{children:e});var S=r(31800);let C=({primaryColor:e,secondaryColor:t,aemAttributes:r,model:m,children:b,pageRootLevel:C,skipWidthLimit:v})=>{let{root:k,wrapper:A}=((e,t,r)=>{var i,a,n;let l,{backgroundColor:c,backgroundImage:m,centerTheColumns:g,customBackgroundColor:h,hideOptions:f,isFluid:b}=e,{primary:y,secondary:S}=t,C=null;return g&&(C=(0,o.o)(C,{display:"flex",flexDirection:"column",alignItems:"center"})),f&&(C=(0,o.o)(C,(l=null,(i=f)?(i.includes("desktop")&&(l=(0,o.o)(l,{[(a=s.O.sm,`@media (width > ${a}px)`)]:p})),i.includes("mobile")&&(l=(0,o.o)(l,{[(n=s.O.sm,`@media (width <= ${n}px)`)]:p})),l):l))),(({rootStyles:e,backgroundStyles:t,isFluid:r,setContainerMaxWidth:i})=>i?r?{root:(0,o.o)(e,u),wrapper:x(null,t)}:{root:(0,o.o)(e,t,u),wrapper:null}:{root:x(e,t),wrapper:null})({rootStyles:C,backgroundStyles:(({backgroundColor:e,backgroundImage:t,primaryColor:r,customBackgroundColor:i,secondaryColor:a})=>{let n=null;if(e){let t="";switch(e){case"primary":t=r;break;case"secondary":t=a;break;case"custom":t=i||""}t&&(n={backgroundColor:t})}let l=null;if(t){let{source:e}=t,r=e.startsWith("http")||e.startsWith(`/_next/${d.CLIENT_STATIC_FILES_PATH}`)?e:`https://publish-p145448-e1558188.adobeaemcloud.com${e}`;l={backgroundPosition:"center",backgroundSize:"cover",backgroundImage:`url(${r})`}}return n||l?(0,o.o)(n,l):null})({backgroundColor:c,backgroundImage:m,primaryColor:y,secondaryColor:S,customBackgroundColor:h}),isFluid:b,setContainerMaxWidth:r})})(m,{primary:e,secondary:t},!v),{desktopSize:w,mobileSize:T,spacing:j}=m,I=g(w),R=g(T),P=j?c[j]:0;if("rootContainer"===C)return(0,i.jsx)("main",{className:S.main,children:b});let L=m.showOptions?.length&&!l.q$?(0,i.jsx)(h.AemConditionalContainer,{model:m,children:b}):b,E="rootContainerChildren"===C?{id:n.k}:{};return(0,i.jsx)(y,{styling:A,children:(0,i.jsx)(a.default,{...E,"data-testid":"aem-container",container:!0,spacing:P,sx:(0,o.o)(f,k),size:{sm:I,xs:R},...r||{},"data-aue-type":"container",className:m.centerTheColumns?"container-centered":"",children:L})})}},30352:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckRegistrationForm:()=>c});var i=r(47388),a=r(10887),o=r(9008),n=r(56921),l=r(58228),s=r(58016);let d={expressEnrollmentForm:{wrapper:{borderRadius:"24px"},title:{fontSize:{xs:"18px",sm:"22px"}},forgotLink:{color:s.S.blue400,fontSize:"11px"}},registrationForm:{container:{marginTop:{sm:"11.5px"},borderRadius:"24px"},headerContainer:{backgroundColor:s.S.blue100,borderTopLeftRadius:"24px",borderTopRightRadius:"24px"},headerText:{color:s.S.neutralGrey500,a:{color:s.S.neutralGrey500}},blockTitle:{fontSize:{xs:"18px",sm:"22px"}},footerTermsAndConditionsText:{fontSize:"13px",lineHeight:"20px"},submitFormCta:{borderRadius:"24px",":focus":{backgroundColor:s.S.primaryDarkBlue}},memberBenefitsContainer:{borderRadius:"24px"},memberBenefitsContent:{h6:{fontSize:"15px",lineHeight:"24px"},p:{fontSize:"13px",lineHeight:"20px"}},emailSmsOptIn:{dialog:{wrapper:{"& .MuiPaper-root":{borderRadius:"16px"}},title:{fontFamily:'"Budget Sans"'}}
1,checkboxContainer:{"& .MuiCheckbox-root":{"& .MuiBox-root":{borderColor:"#C7C5C5"}}}},divisionsModal:{wrapper:{borderTopLeftRadius:{xs:"16px",sm:"24px"},borderTopRightRadius:{xs:"16px",sm:"24px"},borderBottomLeftRadius:{xs:"0px",sm:"24px"},borderBottomRightRadius:{xs:"0px",sm:"24px"}},header:{borderBottomColor:s.S.neutral200},listItemPrimaryText:{color:s.S.neutral400},listItemSecondaryText:{color:s.S.neutralBlack}}}},c=({aemAttributes:e={},model:t,isOpen:r,onClose:s})=>t?.showInFormView?(0,i.jsx)(a.g,{aemAttributes:e,model:t,styleParts:d,partProps:{formError:{styleParts:n.x},textControl:{styleParts:l.x}}}):(0,i.jsx)(o.B,{aemAttributes:e,model:t,isOpen:r,onClose:s,styleParts:d,partProps:{formError:{styleParts:n.x},textControl:{styleParts:l.x}}})},30530:(e,t,r)=>{"use strict";r.d(t,{H:()=>C});var i=r(47388),a=r(52949),o=r(61872),n=r(55301);let l={container:{width:"100%"},mainContent:{backgroundColor:"transparent",display:"flex",overflow:"hidden",width:"100%",margin:"0 auto",position:"relative",padding:{xs:"48px 16px",sm:"120px 56px"},gap:{xs:"24px",sm:"128px"}},leftSection:{maxWidth:"432px"},rightSection:{flex:1,"& > :first-child":{marginTop:0,paddingTop:0},"& > :last-child":{marginBottom:0,paddingBottom:0}},listItem:{padding:"24px 16px",".MuiTypography-root":{lineHeight:"24px"},"&.Mui-selected":{".MuiTypography-root":{fontWeight:500}}},selectMenuContainer:{width:"100%"},selectMenu:{width:"100%","&.MuiSelect-root":{".MuiSelect-select":{height:"24px",padding:"16px",fontWeight:500},"&.Mui-focused":{".MuiOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:n.J.black}},"& .MuiOutlinedInput-notchedOutline":{borderWidth:"0"}}},selectMenuArrowIcon:{fontSize:16,marginRight:"16px"},selectMenuItem:{display:"flex",alignItems:"center",justifyContent:"space-between",minHeight:"52px",".MuiSvgIcon-root":{visibility:"hidden"},".MuiTypography-root":{fontWeight:400,fontSize:"16px"},"&.Mui-selected":{backgroundColor:n.J.black+" !important",".MuiTypography-root":{fontWeight:500,color:n.J.white100},".MuiSvgIcon-root":{visibility:"visible",path:{stroke:n.J.white100}}}},selectMenuItemIcon:{marginLeft:"10px",width:"8px"}};var s=r(19516),d=r(40196),c=r(83365),p=r(88365),u=r(33392),x=r(54091),m=r(63903),g=r.n(m),h=r(90656),f=r(64228),b=r(22756);let y=({options:e=[],styleParts:t={},activeItem:r,handleSelect:n})=>{let s=(0,o.useMemo)(()=>e.map(({title:e,url:t})=>({label:e,value:e,additionalInfo:t})),[e]);return(0,i.jsx)(a.default,{sx:{...l.selectMenuContainer},children:(0,i.jsx)(b.Dropdown,{defaultValue:r.title,options:s,onChangeHandler:n,styleParts:t,fullWidth:!0,"data-testid":"vertical-nav-dropdown"})})},S=({styleParts:e={},verticalNavItems:t=[],children:r})=>{let n=(0,p.A)(),m=(0,h.useRouter)(),b=(0,u.A)(n.breakpoints.down("sm")),S=(0,o.useMemo)(()=>t.find(e=>e.active),[t]),C=(0,o.useCallback)((e,t)=>{let{additionalInfo:r}=t;r&&m.push(r)},[m]);return(0,i.jsxs)(a.default,{sx:{flexDirection:b?"column":"row",...l.mainContent},children:[b?(0,i.jsx)(i.Fragment,{children:t?.length>0&&(0,i.jsx)(y,{options:t,styleParts:e,activeItem:S,handleSelect:C})}):(0,i.jsx)(a.default,{sx:(0,f.oz)(l.leftSection,e.leftSection),children:t?.length>0&&(0,i.jsx)(s.A,{disablePadding:!0,"data-testid":"vertical-nav-list",children:t.map((t,r)=>(0,i.jsx)(d.Ay,{disablePadding:!0,children:(0,i.jsx)(c.A,{"data-testid":`vertical-nav-list-item-${r+1}`,disableRipple:!0,component:g(),prefetch:!1,href:t.url,selected:t.active??!1,sx:(0,f.oz)(l.listItem,e.listItem),children:(0,i.jsx)(x.A,{"data-testid":`vertical-nav-list-item-${r+1}-text`,primary:t.title})})},t.title))})}),(0,i.jsx)(a.default,{sx:{...l.rightSection},children:r})]})},C=({aemAttributes:e={},model:t,styleParts:r={},children:o})=>(0,i.jsx)(a.default,{...e,"data-testid":"vertical-navigation","data-aue-type":"container",sx:{...l.container},children:(0,i.jsx)(S,{...t,styleParts:r,children:o})})},30847:(e,t,r)=>{"use strict";r.d(t,{_:()=>x});var i=r(47388),a=r(88365),o=r(33392),n=r(52949),l=r(45315),s=r(38831),d=r(64228);let c={display:"flex",justifyContent:"space-between",alignItems:"center",fontWeight:500,paddingTop:"24px",gap:"24px"},p={fontSize:"13px",lineHeight:"14px",overflowWrap:"anywhere",padding:{sm:"13px 16.2px",xs:"17px 16.4px"}},u={textDecoration:"underline",fontSize:"13px",lineHeight:"14px",cursor:"pointer"},x=({buttonValue:e,mobileAvisButtonValue:t,onClose:r,link:x,isContinueWithSelectedProducts:m,handleNext:g})=>{let h=(0,a.A)();return e=(0,o.A)(h.breakpoints.down("sm"))?t:e,(0,i.jsxs)(n.default,{sx:c,children:[(0,i.jsx)(l.A,{component:"a",onClick:g,sx:(0,d.oz)(u,{visibility:m?"visible":"hidden"}),"data-testid":"rental-preferences-ancillaries-dialog-action-link",children:x}),(0,i.jsx)(s.default,{variant:"contained",sx:p,"data-testid":"rental-preferences-ancillaries-dialog-action-button",onClick:r,children:e})]})}},31002:(e,t,r)=>{"use strict";r.d(t,{e:()=>d});var i=r(47388),a=r(52949),o=r(64228);let n={primaryAwd:"Primary AWD",segmentAwd:"Parent/Segment AWD",secondaryAwd:"Secondary AWD",segmentName:"Segment Name",printName:"Account Name (Print)",webName:"Account Name (Web)",ali:"ALI",ldw:"LDW",pai:"PAI",pep:"PEP",minAge:"Minimum Age",availableCarGroups:"Car Groups",availableCreditCards:"Credit Card Types",addressLine1:"Address Line 1",addressLine2:"Address Line 2",addressLine3:"City/Address Line 3",addressState:"State",addressZip:"Zip",addressCountry:"Country",addressVisible:"Is Address Visible",costControlTitle:"Cost Control Title",costControlText:"Cost Control Text",costControlVisible:"Is Cost Control Visible",costControlReadOnly:"Cost Control (read-only)",costControlRequired:"Cost Control (required)"},l={container:{width:"100%"}};var s=r(53010);let d=({aemAttributes:e={},model:t,styleParts:r={}})=>{var d;return(0,i.jsx)(a.default,{...e,"data-testid":"partner-account-component","data-aue-type":"component","data-aue-resource":(d=t?.personalizationLocation)?`urn:${s.b}:/${d.replaceAll(":","/").replaceAll("jcr_content","jcr:content")}`:"","data-aue-model":t?.ueModelId||"",sx:(0,o.iX)(l,r,"container"),children:(0,i.jsx)("div",{className:"partner-account",children:(0,i.jsx)("ul",{children:Object.keys(t).map(e=>{let r=n[e],a=t[e];return r&&null!=a&&""!==a?(0,i.jsxs)("li",{children:[r,": ",null==a?"":"string"==typeof a||"number"==typeof a||"boolean"==typeof a?String(a):Array.isArray(a)?a.join(", "):"object"==typeof a?JSON.stringify(a):""]},e):null})})})})}},31800:e=>
1{e.exports={main:"aem-container-style_main__JO44S",footer:"aem-container-style_footer__Ufh8V"}},31839:(e,t,r)=>{"use strict";r.d(t,{$:()=>n,Fn:()=>l,mb:()=>s});var i=r(78927),a=r(4631),o=r(13139);let n=e=>({wizardNumber:{label:e("applyWizardNumberModal.field.wizardNumber.title"),placeholder:e("applyWizardNumberModal.field.wizardNumber.placeholder"),tooltip:e("applyWizardNumberModal.field.wizardNumber.hint")},lastName:{label:e("global.field.lastName.label"),placeholder:e("global.field.lastName.placeholder")},licenseNumber:{label:e("global.field.driverLicense.label"),placeholder:e("global.field.driverLicense.placeholder.label")},cardNumber:{label:e("global.field.creditCard.label"),placeholder:e("global.field.cardNumber.placeholder")}}),l=(e,t,r)=>{let n={required:e("global.field.validation.fieldRequired.message",{field:e("applyWizardNumberModal.field.wizardNumber.title")}),pattern:{value:a.ALPHANUMERIC_REGEX,message:e("applyWizardNumberModal.errorMessage.invalidFormat.label")},minLength:{value:o.Xi,message:e("applyWizardNumberModal.errorMessage.invali
1dLength.label")}},l={required:e("global.field.validation.fieldRequired.message",{field:e("global.field.lastName.label")})},s=e("global.field.driverLicense.label"),d={required:{value:!t,message:e("global.field.creditCardAndDriverLicense.errorMessage.required.label")},minLength:{value:o.m2,message:(0,i.A)(e("global.field.validation.invalidLength.message",{field:s,minLength:o.m2,maxLength:o.eV}))},pattern:{value:a.DRIVER_LICENSE_NUMBER_REGEX_EXPRESS_ENROLLMENT,message:e("global.field.driverLicense.errorMessage.invalidFormat.label")}},c=e("global.field.creditCard.label");return{wizardNumber:n,lastName:l,licenseNumber:d,cardNumber:{required:{value:!r,message:e("global.field.creditCardAndDriverLicense.errorMessage.required.label")},minLength:{value:o.zb,message:e("global.field.validation.invalidLength.message",{field:c,minLength:o.zb,maxLength:o.Zd})},pattern:{value:a.DIGITS_ONLY_REGEX,message:e("global.field.validation.onlyNumbers.message",{field:c})}}}},s=e=>{e=e?.replaceAll(/[_-]+/g," ");let t=e?.match(a.WORD_OR_NUMBER_REGEX);return t?t.map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "):e?.charAt(0).toUpperCase()+e?.slice(1)}},31878:(e,t,r)=>{"use strict";r.d(t,{_:()=>a});var i=r(55494);let a={fontFamily:i.QU,h1:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"88px",lineHeight:"96px",letterSpacing:0,fontWeight:700},h2:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"60px",lineHeight:"64px",letterSpacing:0,fontWeight:700},h3:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"44px",lineHeight:"48px",letterSpacing:0,fontWeight:700},h4:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"32px",lineHeight:"40px",letterSpacing:0,fontWeight:700},h5:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"26px",lineHeight:"32px",letterSpacing:0,fontWeight:700},h6:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"22px",lineHeight:"24px",letterSpacing:0,fontWeight:700},titleLargeBold:{fontFamily:i.QU,fontSize:"27px",lineHeight:"36px",letterSpacing:0,fontWeight:700},titleLargeMedium:{fontFamily:i.QU,fontSize:"27px",lineHeight:"36px",letterSpacing:0,fontWeight:500},titleLargeRegular:{fontFamily:i.QU,fontSize:"27px",lineHeight:"36px",letterSpacing:0},titleRegularBold:{fontFamily:i.QU,fontSize:"23px",lineHeight:"32px",letterSpacing:0,fontWeight:700},titleRegularMedium:{fontFamily:i.QU,fontSize:"23px",lineHeight:"32px",letterSpacing:0,fontWeight:700},titleRegularRegular:{fontFamily:i.QU,fontSize:"23px",lineHeight:"32px",letterSpacing:0,fontWeight:700},subtitle2:{fontFamily:i.QU,fontSize:"14px",lineHeight:"15px",letterSpacing:"-0.056px"},bodyLargeBold:{fontFamily:i.QU,fontSize:"20px",lineHeight:"28px",letterSpacing:"0.003em",fontWeight:700},bodyLargeMedium:{fontFamily:i.QU,fontSize:"20px",lineHeight:"28px",letterSpacing:"0.003em",fontWeight:500},bodyLargeRegular:{fontFamily:i.QU,fontSize:"20px",lineHeight:"28px",letterSpacing:"0.003em"},bodyRegularBold:{fontFamily:i.QU,fontSize:"15px",lineHeight:"24px",letterSpacing:"0.003em",fontWeight:700},bodyRegularMedium:{fontFamily:i.QU,fontSize:"15px",lineHeight:"24px",letterSpacing:"0.003em",fontWeight:500},bodyRegularRegular:{fontFamily:i.QU,fontSize:"15px",lineHeight:"24px",letterSpacing:"0.003em"},bodySmallBold:{fontFamily:i.QU,fontSize:"13px",lineHeight:"20px",letterSpacing:"0.003em",fontWeight:700},bodySmallMedium:{fontFamily:i.QU,fontSize:"13px",lineHeight:"20px",letterSpacing:"0.003em",fontWeight:500},bodySmallRegular:{fontFamily:i.QU,fontSize:"13px",lineHeight:"20px",letterSpacing:"0.003em"},eyebrowRegular:{fontFamily:i.QU,fontSize:"17px",lineHeight:"18px",letterSpacing:"-0.004em",fontWeight:700},eyebrowSmall:{fontFamily:i.QU,fontSize:"14px",lineHeight:"15px",letterSpacing:"-0.004em",fontWeight:700},actionLargeRegular:{fontFamily:i.QU,fontSize:"20px",lineHeight:"20px",letterSpacing:0,fontWeight:500},actionRegularMedium:{fontFamily:i.QU,fontSize:"14px",lineHeight:"14px",letterSpacing:0,fontWeight:500},actionRegularRegular:{fontFamily:i.QU,fontSize:"14px",lineHeight:"14px",letterSpacing:0},actionSmallMedium:{fontFamily:i.QU,fontSize:"12px",lineHeight:"12px",letterSpacing:"0.003em",fontWeight:500},actionSmallRegular:{fontFamily:i.QU,fontSize:"12px",lineHeight:"12px",letterSpacing:"0.003em"},metadataBold:{fontFamily:i.QU,fontSize:"11px",lineHeight:"16px",letterSpacing:0,fontWeight:700},metadataMedium:{fontFamily:i.QU,fontSize:"11px",lineHeight:"16px",letterSpacing:0,fontWeight:500},metadataRegular:{fontFamily:i.QU,fontSize:"11px",lineHeight:"16px",letterSpacing:0},tagRegular:{fontFamily:i.QU,textTransform:"uppercase",fontSize:"13px",lineHeight:"18px",letterSpacing:"-0.004em",fontWeight:700},tagSmall:{fontFamily:i.QU,fontSize:"12px",lineHeight:"12px",letterSpacing:0,fontWeight:700},navigationLarge:{fontFamily:i.QU,fontSize:"15px",lineHeight:"15px",letterSpacing:"0.003em",fontWeight:700},navigationRegularBold:{fontFamily:i.QU,fontSize:"14px",lineHeight:"14px",letterSpacing:"0.003em",fontWeight:700},navigationRegularMedium:{fontFamily:i.QU,fontSize:"14px",lineHeight:"14px",letterSpacing:"0.003em",fontWeight:500},navigationRegularRegular:{fontFamily:i.QU,fontSize:"14px",lineHeight:"14px",letterSpacing:"0.003em"},navigationSmallMedium:{fontFamily:i.QU,fontSize:"12px",lineHeight:"12px",letterSpacing:"0.003em",fontWeight:500},navigationSmallRegular:{fontFamily:i.QU,fontSize:"12px",lineHeight:"12px",letterSpacing:"0.003em"}}},32974:(e,t,r)=>{"use strict";r.d(t,{d:()=>i,v:()=>a});let i=(e,t)=>{if("number"==typeof e&&"number"==typeof t)return Math.round(100*(e-t))/100},a=(e,t,r)=>{let{currentVehiclePrice:i,avisFirstVehLimit:a,priceRestrict:o}="number"==typeof r?{currentVehiclePrice:r}:r??{},n=e?.vehicle_details,l=n?.vehicle_location,s=l?.vehicle_group,d=l?.vehicle_location_make_model?.[0],c=d?.locale_detail?.[0],p=e?.sippCode??l?.sipp_code??void 0,u=s?.description,x=u?.vehicle_group?.locale_detail?.[0],m=u?.vehicle_category?.locale_detail?.[0],g=c?.make_model_description??e?.carGroupName??e?.description??void 0,h=e?.features,f=e=>"string"==typeof e?e:"number"==typeof e||"boolean"==typeof e?String(e):void 0,b=e=>{let t=h?.find(t=>f(t?.name)?.toLowerCase()===e.toLowerCase());return f(t?.value)},y=b("mpg"),S="Y"===b("Avis First"),C=e?.price_details?.[0]?.rate_details?.rate,v=e=>{let t=C?.find(t=>t?.type===e);return Number(t?.value??0)||void 0},k=v("DAILY")??v("VEHICLE_UPGRADE_GROSS_TOTAL"),A=v("UPGRADE_AMOUNT"),w=e?.price,T=w?.[0],j=Number(T?.dailyRate??T?.totalDiscounted??0)||void 0,I=Number(e?.upgradePrice??0)||void 0,R=k??j,P="Q"===s?.vehicle_category||S||e?.
1isAvisFirst===!0;return{item_name:g??null,item_id:p??null,quantity:1,price:R??null,upsell_price:A??I??(i&&R?R-i:void 0)??null,upsell_item:!0,item_category:m?.description??e?.vehicleType??null,item_category2:e?.fuelType??null,item_category3:x?.description??e?.carGroupName??null,item_category4:e?.bodyType??null,item_brand:d?.make_name??e?.makeName??null,item_variant:d?.model_name??e?.vehicleModel??null,item_list_name:"vehicle_upsell_list",item_list_id:"upsell_vlp",index:t,item_mpg:y??e?.mpg??null,item_type:"vehicle",discount:0,sipp_code:p??null,avis_first_ind:P,avis_first_veh_limit:a??void 0,price_restrict:o??void 0}}},33112:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckDivider:()=>n});var i=r(47388),a=r(69826),o=r(58016);let n=({aemAttributes:e,model:t})=>(0,i.jsx)(a.K,{aemAttributes:{...e},thickness:t.thickness||1,type:t.type||"horizontal",color:"light"===(t.theme||"light")?o.S.neutral200:o.S.neutral300})},33804:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckMembershipAds:()=>d});var i=r(47388),a=r(42820),o=r(61510),n=r(58016);let l={root:{borderRadius:"24px",backgroundColor:n.S.neutral100,"[data-testid=membership3-card-content]":{color:n.S.secondaryDark,opacity:.7}},title:{color:n.S.secondaryDark}},s={root:{borderRadius:"32px"},background:{"& > img":{borderRadius:"32px"}},overlay:{borderRadius:"32px"}},d=({aemAttributes:e,model:t})=>(0,i.jsx)(a.$,{aemAttributes:e,model:t,styleParts:s,partProps:{adsCardStyling:l},dynamicMediaConfig:o.N.budget.MEMBERSHIP_ADDS})},34376:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});var i=r(47388),a=r(52949),o=r(9425);let n=({show:e,message:t,type:r,sx:n})=>e?(0,i.jsx)(a.default,{sx:{borderRadius:"6px",display:"flex",alignItems:"center",gap:1,p:1.5,...n},children:t&&(0,i.jsx)(o.A,{type:r,message:"",title:t})}):null},36490:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});let i={src:"/_next/_v/2.9.2.s15.31/_next/static/media/budgetbackgroundbannerMobile.6b1d7973.svg",height:339,width:375,blurWidth:0,blurHeight:0}},37231:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var i=r(5660);let a={banner:{fontSize:"12px",color:i.d.white,".MuiSvgIcon-root":{stroke:i.d.white,fill:i.d.neutralBlack}},dialogWindowRadius:{"& .MuiDialog-paper":{borderRadius:{xs:"2px 2px 0 0",sm:"4px"}},"&.MuiBox-root":{borderRadius:{xs:"2px 2px 0 0",sm:"4px"}}},text:{fontSize:"14px"},logInBtn:{fontSize:"14px",borderRadius:"4px"},dividerText:{fontSize:"14px",color:i.d.neutralGrey500},amazonBtn:{border:`1px solid ${i.d.neutralGrey900}!important`,borderRadius:"4px",".MuiTypography-root":{fontSize:"14px"}},signUpBtn:{fontSize:"14px",borderRadius:"4px",backgroundColor:i.d.neutral100,":hover":{backgroundColor:i.d.neutral100}},rememberMe:{".MuiTypography-root":{fontSize:"14px"}},captcha:{fontSize:"12px",color:i.d.neutralGrey500,textDecorationColor:"initial","& > a":{color:i.d.neutralGrey500}}}},37578:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckBusinessFormSuccess:()=>n,BudgetTruckCustomFormField:()=>l.BudgetTruckCustomFormField,BudgetTruckEventForm:()=>c,BudgetTruckFormGroup:()=>u,BudgetTruckStandardFormField:()=>m});var i=r(47388),a=r(34297),o=r(69491);let n=({...e})=>(0,i.jsx)(a.g,{...e,styleParts:o.d});var l=r(75983),s=r(12344),d=r(26603);let c=({aemAttributes:e,children:t,...r})=>(0,i.jsx)(d.Q,{children:(0,i.jsx)(s.B,{...r,aemAttributes:e,styleParts:o.d,children:t})});var p=r(70509);let u=({aemAttributes:e,children:t,...r})=>(0,i.jsx)(p.g,{...r,aemAttributes:e,styleParts:o.d,children:t});var x=r(46463);let m=({aemAttributes:e,...t})=>(0,i.jsx)(x.Y,{...t,aemAttributes:e,styleParts:o.d})},38534:(e,t,r)=>{"use strict";r.d(t,{d:()=>y});var i=r(47388),a=r(52949),o=r(61872),n=r(64228),l=r(90544),s=r(54788),d=r(98033),c=r(10431),p=r(55301);let u={maxWidth:{xs:"md",md:"xl"},width:{xs:"343px",md:"881px"},height:"auto",position:"relative",display:"flex",flexDirection:"column",gap:{xs:"20px",md:"24px"},padding:"0 48px"},x={position:"relative",height:{xs:"16px",md:"24px"},"& > img":{width:"auto !important",margin:"auto"}},m={color:p.J.black100,fontStyle:"normal",fontWeight:700,textAlign:"center",alignSelf:"stretch",leadingTrim:"both",textEdge:"cap"},g=({logo:e,headline:t,styleParts:r={}})=>(0,i.jsxs)(a.default,{sx:u,children:[e?.source&&(0,i.jsx)(a.default,{sx:x,children:(0,i.jsx)(l.AemImage,{src:e.source,alt:"brand logo",fill:!0,"aria-label":"Preferred perk logo"})}),(0,i.jsx)(c.Q,{variant:"h4",sx:(0,n.oz)(m,r.title),children:t})]}),h={display:"flex",flexDirection:"column",alignItems:{xs:"flex-start",md:"center"},width:"100%",margin:"auto",height:"auto",padding:{xs:"40px 16px 32px",md:"96px 56px"},position:"relative",boxShadow:{xs:"none",md:"0px 4px 4px 0px rgba(0, 0, 0, 0)"},zIndex:1},f={"& > img":{height:"50% !important",width:"auto !important",zIndex:-1,objectFit:"cover",objectPosition:"left",display:{xs:"none",sm:"block"}}},b={display:"flex",overflowX:"auto",alignItems:{xs:"flex-start",md:"center"},gap:{xs:"8px",sm:"16px"},marginTop:{xs:"40px",md:"32px"},width:"100%",margin:0},y=({aemAttributes:e,model:t,partProps:r={},styleParts:c={},children:p})=>{let u="inline"===t.contentSource,x=(0,o.useMemo)(()=>u?(0,s.T)(t,p,"twoCardGridElement"):[],[u,t,p]);return(0,i.jsxs)(a.default,{...e,"data-aue-type":u?"container":"component",component:"section",sx:(0,n.oz)(c.container,h),"data-testid":"membership2-component",children:[r.defaultBackgroun
1d&&(0,i.jsx)(a.default,{sx:f,children:(0,i.jsx)(l.AemImage,{src:r.defaultBackground,fill:!0,alt:"background image"})}),t.headline&&(0,i.jsx)(g,{...t,styleParts:r.headlineStyling}),(0,i.jsx)(a.default,{sx:b,children:u?x:t.talkingPoints.map(e=>(0,i.jsx)(d.n,{...e,styleParts:r.adsCardStyling},e.headerText))})]})}},39960:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckBiometricInit:()=>o});var i=r(47388),a=r(69972);let o=({aemAttributes:e,config:t,model:r})=>(0,i.jsx)(a.t,{config:t,aemAttributes:e,model:r})},40212:(e,t,r)=>{"use strict";r.d(t,{s:()=>c});var i=r(61872),a=r(87937),o=r(57109),n=r(31797),l=r(38129),s=r(1263);let d=[l.g.NAM,l.g.APAC],c=()=>{let e=s.Q.use.userSession(),{brand:t}=(0,o.usePageContext)(),{belongsToRegions:r}=(0,n.y)(),[l,c]=(0,i.useState)(!1),[p,u]=(0,i.useState)(null),[x,m]=(0,i.useState)(null),[g,h]=(0,i.useState)(null),f=(0,a.Fu)(),b="avis"===t&&r(d);return{loadLoyaltySummary:(0,i.useCallback)(async()=>{if(b)try{let t=await f.customer("/loyalty/summary",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${e?.accessToken}`}});m(t.loyaltySummary),h(t.files)}catch(e){e instanceof Error&&u(e)}finally{c(!1)}},[f,e?.accessToken,b]),loyaltySummaryFiles:g,loyaltySummary:x,isLoading:l,error:p}}},40323:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckReservationModificationContainer:()=>l});var i=r(47388),a=r(36049),o=r(45556),n=r(2501);let l=e=>(0,i.jsx)(a.M,{...e,styleParts:{...n.s,...o.Y}})},40660:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});let i={headingStyle:{fontSize:{xs:"28px",sm:"32px"},lineHeight:{xs:"32px",sm:"40px"}},bodyTextStyle:{"& p, li":{color:r(58016).S.neutral500}}}},41082:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});let i={src:"/_next/_v/2.9.2.s15.31/_next/static/media/budget-grid-bg.fee0e8e5.svg",height:310,width:1248,blurWidth:0,blurHeight:0}},41389:(e,t,r)=>{"use strict";r.d(t,{r:()=>i});let i={LDW:"LDW",CDW:"CDW",ALI:"ALI",PK2:"PK2"}},43241:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckAccountActivation:()=>h});var i=r(47388),a=r(52949);r(61872);var o=r(40760),n=r(40098),l=r(1382),s=r(58228),d=r(58016);let c={cardHeaderContainer:{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"flex-start"},cardInfoAlert:{marginBottom:{xs:2,sm:5}},cardHeaderTitle:{fontSize:{xs:"18px",sm:"22px"},marginBottom:{xs:"0",sm:"24px"},color:"#000",letterSpacing:"-0.8px"},cardBodyDescription:{fontSize:"13px",paddingTop:{xs:"10px",sm:"0"},paddingBottom:{xs:"24px",sm:"32px"},color:d.S.neutralGrey500,display:"block"},cardFooterTitle:{display:"flex",justifyContent:"space-between",width:"100%",paddingTop:"40px",marginTop:"40px"},cardSaveButton:{minWidth:{xs:"100%",sm:"80px"},height:{xs:"48px",sm:"40px"},borderRadius:"24px",backgroundColor:d.S.primaryDarkBlue,color:"#FFFFFF",padding:"8px 16px",fontSize:"14px"}};var p=r(5660),u=r(12940),x=r(36490);let m={accountContainer:{width:"100%",backgroundColor:d.S.secondary,padding:{xs:"0 16px 48px 16px",sm:"0 0 48px 0"},position:"relative","& .background-image":{position:"absolute",top:0,left:0,width:"100%",height:{xs:"234px !important",sm:"45% !important"},zIndex:"1"},backgroundPositionX:"center",backgroundRepeat:"no-repeat",backgroundImage:`
2      linear-gradient(to bottom, #006BBF 60px, transparent 60px),
3      url(${u.A.src})
4    `,"@media (max-width: 600px)":{backgroundImage:`
5      url(${x.A.src})
6      `,backgroundSize:"100%"}},accountContainerWithProfile:{width:"100%",position:"relative",padding:{xs:"40px 16px 40px 16px",sm:"48px"},backgroundColor:"#fff",borderRadius:"24px",boxShadow:"0 4px 16px 0 rgba(0, 0, 0, 0.10), 0 0 8px 0 rgba(0, 0, 0, 0.04), 0 4px 4px 0 rgba(0, 0, 0, 0.04)"},stepperContainerWithProfile:{position:"relative",zIndex:2,borderRadius:"8px",margin:"0 auto",width:"100%",backgroundColor:"transparent"},headerTextContainer:{zIndex:2,position:"relative",textAlign:"center",color:"#FFF"},bannerTiTleStyles:{paddingTop:{xs:"48px",sm:"64px"}},stepsLeftTextStyles:{fontWeight:{xs:400,sm:500},paddingTop:{xs:"15px",sm:"35px"}},stepperContainer:{display:"flex",flexDirection:"column",zIndex:2,maxWidth:"880px",alignItems:"center",margin:{xs:"35px auto 0 auto",sm:"32px auto 0 auto"},position:"relative"},stepperStyles:{display:"flex",flexDirection:"row",justifyContent:"space-between",gap:"8px",padding:"8px",width:"100%",backgroundColor:"#fff",borderRadius:"40px",position:"relative"},stepItem:{flex:1,opacity:1,padding:"8px",borderRadius:"24px",minHeight:"40px","& svg":{width:"24px",height:"24px",zIndex:2,position:"relative"},"&.current":{backgroundColor:"#FFFFFF",border:`1px solid ${d.S.primary}`,color:d.S.primary},"&.next":{backgroundColor:p.d.secondary,color:d.S.neutral400,border:"none"},"&.previous":{backgroundColor:d.S.primaryDarkBlue,color:"#FFFFFF",border:"none"}},activationWrapper:{width:{xs:"100%",sm:"800px"},position:"relative",margin:{xs:"48px auto",sm:"40px auto"},padding:{xs:"16px",sm:"40px"},zIndex:2,backgroundColor:"#fff",borderRadius:"24px"},activationWrapperWithProfile:{padding:0,marginTop:"32px",width:"100%",position:"relative"}}
6,g={activationWrapper:{width:{xs:"100%",lg:"450px"},position:"relative",margin:{xs:"48px auto",sm:"40px auto"},zIndex:2,padding:{xs:"32px 24px",sm:"24px 20px"},backgroundColor:"#fff",borderRadius:"8px",display:"flex",flexDirection:"column",gap:{xs:"20px",sm:"24px"}},iconContainer:{display:"flex",justifyContent:"center",padding:"16px 0"},icon:{color:"#D4002A",width:"40px",height:"40px"},contentContainer:{display:"flex",flexDirection:"column",justifyContent:"center",gap:"8px",padding:{xs:0,sm:"0 16px"}},title:{fontSize:{xs:"22px",md:"24px"},fontWeight:700,lineHeight:1,textAlign:"center"},description:{fontSize:"14px",textAlign:"center"},successfulModal:{display:"flex",justifyContent:"center",alignItems:{xs:"flex-end",sm:"center"}},successfulModalContainer:{backgroundColor:p.d.white,border:`1px solid ${p.d.neutral200}`,borderRadius:"4px",width:{xs:"100%",sm:"432px"},display:"flex",flexDirection:"column"},successfulModalTitleContainer:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"24px",borderBottom:`1px solid ${p.d.neutral200}`},successfulModalTitle:{fontSize:{xs:"18px",sm:"20px"},lineHeight:{xs:"26px",sm:"28px"},fontWeight:"700",letterSpacing:{xs:"0.054",sm:"0.06px"}},successfulModalCloseButton:{cursor:"pointer",width:"16px",height:"16px"},successfulModalContentContainer:{display:"flex",flexDirection:"column",padding:"24px",gap:"16px"},successfulModalContent:{fontSize:"16px",color:p.d.neutralGrey500},successfulModalFooter:{display:"flex",flexDirection:"row",justifyContent:"flex-end",padding:"24px",gap:"16px"},emailWizardNumberStyle:{color:d.S.neutral400}},h=e=>{let{model:t,aemAttributes:r}=e,d={...t,creditCardTitle:(0,n.Sn)(t.creditCardTitle),drivingLicenseTitle:(0,n.Sn)(t.drivingLicenseTitle),protectionsTitle:(0,n.Sn)(t.protectionsTitle),termsTitle:(0,n.Sn)(t.termsTitle),connectedCarTitle:(0,n.Sn)(t.connectedCarTitle),rewardsTitle:(0,n.Sn)(t.rewardsTitle),emailTitle:(0,n.Sn)(t.emailTitle),bannerTitle:(0,n.Sn)(t.bannerTitle)},p=(0,l.l3)();return(0,i.jsx)(a.default,{...r,sx:{position:"relative",width:t.showProfileType?"100%":"100vw"},"data-testid":"user-account-activation-container-budget","data-aue-type":"container",children:(0,i.jsx)(o._,{model:d,styleParts:{accountActivation:m,accountActivationCards:c,verifyEmail:g,textFormControl:s.x},isAuthorMode:p})})}},43538:(e,t,r)=>{"use strict";r.d(t,{ac:()=>n,nf:()=>l,sg:()=>o});var i=r(55301),a=r(64228);let o={mainContainer:{width:"100%"},container:{display:"flex",flexWrap:"wrap",justifyContent:"center"},wrapper:{display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",padding:{xs:"40px 16px 32px",sm:"56px 0 80px"},"& > div:first-child, & > h2:first-child":{paddingTop:0},"& > div:last-child, & > h2:last-child":{paddingBottom:0}},headingWrapper:{maxWidth:"881px",display:"flex",flexDirection:"column",gap:"24px"},buttonWrapper:{width:"100%",display:"flex",justifyContent:"center"},headline:{fontWeight:"bold",lineHeight:"36px",width:"100%",textAlign:"center",paddingX:"48px",color:i.J.white100,fontSize:"36px"},description:{fontSize:"20px",lineHeight:"28px","& > *":{margin:0,padding:0},width:"100%",textAlign:"center",paddingX:"48px",color:`${i.J.white100}CC`},logo:{paddingY:"12px",marginBottom:"12px",position:"relative",width:"100%",height:"18px","& > img":{objectFit:"contain",objectPosition:"center",width:"100%"}},button:{padding:{xs:"40px 0 0",sm:"24px 0 0"}},cardsWrapper:{width:"100%",padding:{xs:"40px 0",sm:"56px 0"}},cardWrapper:{maxWidth:"90vw",width:"357px",padding:"16px",display:"flex",alignItems:"center",justifyContent:"left"}
6,cardsGrid:{width:"max-content",margin:"0 auto",display:"grid",justifyContent:"center",gap:"24px",gridTemplateColumns:"repeat(1, 1fr)","&:has(> :nth-child(2):last-child), &:has(> :nth-child(4):last-child)":{gridTemplateColumns:{xs:"1fr",sm:"repeat(2, 1fr)"}},"&:has(> :nth-child(3):last-child), &:has(> :nth-child(5))":{gridTemplateColumns:{xs:"1fr",lg:"repeat(3, 1fr)"}},"& > a":{textDecoration:"none"}},cardImage:{height:"72px",width:"72px",position:"relative","& > img":{objectFit:"cover",objectPosition:"center"}},cardTitle:{fontSize:{xs:"22px",sm:"24px"},fontWeight:"bold",flex:1,marginLeft:"24px",marginRight:"16px",lineHeight:{xs:"22px",sm:"24px"}},cardIcon:{height:"16px","& > svg":{width:"16px",height:"16px"}}},n={...o,cardContent:{display:"flex",flexDirection:"column",height:"80px"},cardDescription:{fontSize:"14px",color:i.J.neutral400,marginLeft:"24px"},cardCta:{fontSize:"14px",textDecoration:"underline",color:i.J.black,marginLeft:"24px"},cardImage:(0,a.oz)(o.cardImage,{height:"80px",width:"80px"}),cardTitle:(0,a.oz)(o.cardTitle,{flex:"unset",fontSize:{xs:"18px",md:"20px"},fontWeight:"700",lineHeight:{xs:"22px",md:"24px"},"&.without-cta":{fontSize:{xs:"22px",md:"24px"}}}),cardIcon:(0,a.oz)(o.cardIcon,{flex:"1 1 16px",display:"flex",justifyContent:"flex-end"})},l={textDecoration:"none",color:"inherit","&:hover":{textDecoration:"none",color:"inherit"},"&.active:hover":{cursor:"pointer"}}},45080:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckMembershipAds2:()=>c,BudgetTruckTwoCardGridElement:()=>u});var i=r(47388),a=r(38534),o=r(58016);let n={root:{padding:"8px",borderRadius:"16px","[data-testid=membership2-card-content]":{fontSize:{xs:"15px",md:"15px"},lineHeight:{xs:"20px",md:"24px"}}},container:{borderRadius:"24px",background:o.S.blue400,zIndex:1,alignItems:"center"},background:{borderRadius:"16px","& > img":{borderRadius:"16px"}},title:{fontSize:{xs:"22px",md:"26px"},lineHeight:{xs:"24px",md:"32px"}}},l={title:{fontSize:{xs:"28px",sm:"32px"},lineHeight:{xs:"32px",sm:"40px"},color:r(55301).J.white100}},s={root:{padding:"8px",borderRadius:"16px"},container:{backgroundColor:o.S.orange100,borderRadius:"32px"}};var d=r(41082);let c=({aemAttributes:e,children:t,...r})=>(0,i.jsx)(a.d,{...r,aemAttributes:e,partProps:{adsCardStyling:n,headlineStyling:l,defaultBackground:d.A},styleParts:s,children:t});var p=r(95753);let u=({aemAttributes:e,...t})=>(0,i.jsx)(p.H,{...t,aemAttributes:e,partProps:{adsCardStyling:n,headlineStyling:l},styleParts:s})},45231:(e,t,r)=>{"use strict";function i(e){return{creditCard:e?.creditCard||"",creditCardExpiry:e?.creditCardExpiry||"",securityCode:e?.securityCode||"",firstName:"",lastName:"",email:"",phoneNumber:"",communicationConsent:!1,creatAccountWithEmail:!1,programPartner:"",membershipNumber:"",airline:"",flightNumber:"",billingAddress:e?.billingAddress?.billingAddress||"",appartmentOrSuite:e?.billingAddress?.appartmentOrSuite||"",addressLine1:"",addressLine2:"",addressLine3:e?.billingAddress?.addressLine3||"",taxNumber:e?.billingAddress?.taxNumber||"",cityProvince:e?.billingAddress?.cityProvince||"",state:e?.billingAddress?.state||"",zipCode:e?.billingAddress?.zipCode||"",country:e?.billingAddress?.country||"",company:e?.billingAddress?.company||"",primaryPayment:"",secondaryPayment:"",paymentMethod:"",secondaryBillingBillingAddress:e?.billingAddress?.secondaryBillingBillingAddress||"",secondaryBillingAppartmentOrSuite:e?.billingAddress?.secondaryBillingAppartmentOrSuite||"",secondaryBillingAddressLine3:e?.billingAddress?.secondaryBillingAddressLine3||"",secondaryBillingTaxNumber:e?.billingAddress?.secondaryBillingTaxNumber||"",secondaryBillingCityProvince:e?.billingAddress?.secondaryBillingCityProvince||"",secondaryBillingState:e?.billingAddress?.secondaryBillingState||"",secondaryBillingZipCode:e?.billingAddress?.secondaryBillingZipCode||"",secondaryBillingCountry:e?.billingAddress?.secondaryBillingCountry||"",secondaryBillingCompany:e?.billingAddress?.secondaryBillingCompany||"",primaryVehicleBaseRate:"",secondaryVehicleBaseRate:"",primaryLDW:"",secondaryLDW:"",primaryCarSeat:"",secondaryCarSeat:"",userName:"",useEmailAsUserName:!0,useBillingAddressAsMailing:!1,isCreditCardSelected:!1,city:"",postalCode:"",secondaryCreditCard:"",secondaryCreditCardExpiry:"",secondarySecurityCode:"",termandconditionapprove:!1,mailingcountry:"",mailingaddressLine1:"",mailingaddressLine2:"",mailingaddressLine3:"",mailingstate:"",mailingpostalCode:"",mailingcity:"",i
6ata:"",urmem:"",password:""}}r.d(t,{k:()=>i})},45362:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckImageCardGrid:()=>l,BudgetTruckImageCardGridItem:()=>c});var i=r(47388);r(61872);var a=r(92727),o=r(60724);let n={gridItemCardContainer:{borderRadius:"24px"},gridImageItemCardContent:{backgroundColor:r(55301).J.orange800,borderRadius:"24px",bottom:"8px",left:"8px",width:"calc(100% - 16px)"},gridImageItemCardHeadlineText:{fontSize:{xs:"18px",sm:"22px"},lineHeight:{xs:"22px",sm:"24px"}},gridImageItemCardBodyContent:{fontSize:"15px"}},l=({aemAttributes:e,model:t,children:r,config:l})=>(0,i.jsx)(o.j,{children:(0,i.jsx)(a.c,{aemAttributes:e,model:t,config:l,styleParts:{...n,imageCardGridItemContainer:{...n.imageCardGridItemContainer}},children:r})});var s=r(52949),d=r(82432);let c=e=>{let{aemAttributes:t,model:r}=e;return(0,i.jsx)(s.default,{...t,"data-aue-type":"component",children:(0,i.jsx)(d.N,{headline:r.headline,bodyContent:r.bodyContent,ctaLink:r.ctaLink,styleParts:n,image:r.image,testId:r.id})})}},45556:(e,t,r)=>{"use strict";r.d(t,{Y:()=>a});var i=r(66936);let a={footerWrapper:{borderTopRightRadius:"24px",borderTopLeftRadius:"24px",borderBottomLeftRadius:"24px",borderBottomRightRadius:"24px"},actionButton:{":disabled":{backgroundColor:i.L.neutralGrey300,color:i.L.transparencyDark40}},totalPrice:{},totalTex:{},popOver:{wrapper:{borderRadius:"24px"},header:{fontSize:{sm:"26px",xs:"22px"}},vehicleRateAndProtections:{fontSize:"13px"},savingsAndTaxes:{fontSize:"13px"},headerImageContainer:{},headerContainer:{},protectionAndAddonsLabel:{color:i.L.neutralBlack,fontSize:"14px",fontWeight:"500",lineHeight:"20px",letterSpacing:"0.042px"}}}},46056:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckProfileHeroBanner:()=>s});var i=r(47388),a=r(83201);let o={backgroundColor:r(58016).S.primaryDarkBlue},n={src:"/_next/_v/2.9.2.s15.31/_next/static/media/budget-card-background-pattern.5825343d.svg",height:117,width:208,blurWidth:0,blurHeight:0},l={src:"/_next/_v/2.9.2.s15.31/_next/static/media/fastbreak-logo.bb1b0f3c.png",height:13,width:78,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAABCAMAAADU3h9xAAAADFBMVEU1NTUtLS1MTExCQkLM+17AAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAEUlEQVQImWNgYmBmYGBkYgQAADMACkliNbQAAAAASUVORK5CYII=",blurWidth:8,blurHeight:1},s=e=>(0,i.jsx)(a.E,{...e,loyaltyCard:{wizardNumberTitle:"Fastbreak Number",logo:l,background:n,styleParts:{root:o}}})},46164:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});let i={src:"/_next/_v/2.9.2.s15.31/_next/static/media/budget-hero-banner-background.cc8015d8.svg",height:308,width:1329,blurWidth:0,blurHeight:0}},48296:(e,t,r)=>{"use strict";r.d(t,{Hi:()=>g,Hp:()=>s,Jq:()=>p,NP:()=>C,Ou:()=>x,RU:()=>d,So:()=>n,VI:()=>o,VX:()=>b,Vg:()=>l,X7:()=>k,YZ:()=>c,bZ:()=>m,e9:()=>u,ff:()=>a,kB:()=>f,pR:()=>v,ps:()=>h,qy:()=>y,sK:()=>S});var i=r(55301);let a={},o={marginTop:"24px"},n={flexDirection:"row",alignItems:"center",marginTop:"16px",gap:"4px","& .red":{color:i.J.red500,fontWeight:400}};i.J.red500;let l={marginTop:"26px",marginBottom:"8px"},s={display:"flex",height:"40px",flexDirection:"column",alignItems:"flex-start",alignSelf:"stretch",width:{md:"30%",xs:"50%"}},d={"& .MuiMenuItem-root":{fontStyle:"normal",opacity:"1"}},c={color:i.J.red500},p={display:"flex",flexDirection:"column",padding:"0px 56px"},u={display:"flex",flexDirection:"column",gap:2},x={display:"flex",flexDirection:{sm:"row",xs:"column"},padding:"80px 0"},m={marginTop:"48px"},g={marginBottom:"-8px"},h={color:i.J.red500,textDecoration:"underline",cursor:"pointer"},f={position:"absolute",top:{sm:"50%",xs:"auto"},left:{sm:"50%",xs:"0"},transform:{sm:"translate(-50%, -50%)",xs:"none"},bottom:{sm:"auto",xs:"0"},boxShadow:24,borderRadius:"4px",minWidth:300,zIndex:2e3,bgcolor:i.J.white100,width:{sm:"auto",xs:"100%"}},b={fontSize:"20px",fontWeight:700,padding:"24px 0px 24px 24px"},y={display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottom:`1px solid ${i.J?.lightgrey}`},S={fontSize:"16px",cursor:"pointer",marginRight:"24px"},C={padding:"24px 24px 32px 24px"}
6,v={fontSize:"14px",fontWeight:"400",marginBottom:"16px",lineHeight:"20px"},k={color:i.J.secondary400}},48931:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var i=r(58016),a=r(55494);let o=(e="primary")=>{let t="primary"===e?i.S.neutral100:i.S.white;return{container:{},mainContent:{},heading:{fontSize:{sm:"32px",xs:"28px"},lineHeight:{sm:"40px",xs:"32px"}},leftSection:{},listItem:{borderRadius:"24px","&:hover":{backgroundColor:"transparent"},".MuiTypography-root":{fontSize:"15px"},"&.Mui-selected":{"&:hover":{backgroundColor:t},backgroundColor:t}},bodySection:{color:i.S.neutralGrey500},description:{"&, & *":{fontFamily:a.QU}},selectMenu:{"&.MuiSelect-root":{backgroundColor:t,".MuiSelect-select":{backgroundColor:t,":hover":{backgroundColor:t}},"&.Mui-focused":{backgroundColor:t}}},selectMenuArrowIcon:{},selectMenuItem:{"& .MuiTypography-root":{fontSize:"15px"}},selectMenuItemIcon:{}}}},49179:(e,t,r)=>{"use strict";r.d(t,{M:()=>s});var i=r(47388),a=r(40885),o=r(51101),n=r(38831);let l={alignSelf:{xs:"start",sm:"end"}},s=({model:e,styling:t={}})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{sx:{...t.footerDivider}}),(0,i.jsx)(o.default,{sx:{...t.footerWrapper},children:(0,i.jsx)(n.default,{sx:l,type:"submit",variant:"outlined",className:"primary",form:"express-enrollment-form",children:e.verifyMyIdentityCtaText})})]})},49361:(e,t,r)=>{"use strict";r.d(t,{F:()=>p});var i=r(47388),a=r(52949),o=r(61872),n=r(64228),l=r(54788),s=r(99273),d=r(56911);let c="contentmenuitem",p=({aemAttributes:e={},model:t,styleParts:r={},children:p=null})=>{let u=(0,o.useMemo)(()=>(0,l.T)(t,p,c),[t,p]),x=(0,o.useMemo)(()=>((e,t)=>{let{":items":r={},":itemsOrder":i=[]}=e;return i.map(e=>{let i=r[e];if(!i||"object"!=typeof i||!i?.id?.includes(t))return null;let{itemTitle:a="",itemBody:o="",enableCta:n=!1,cta:l}=i,{text:s="",link:d="",target:c="",type:p="",style:u=""}=l??{};return{itemTitle:a,itemBody:o,showCta:n,ctaTitle:s,ctaLink:d,ctaTarget:c,ctaType:p,ctaStyle:u}}).filter(e=>null!==e)})(t,c),[t]);return(0,i.jsx)(a.default,{...e,"data-testid":"content-menu","data-aue-type":"container",sx:(0,n.iX)(s.F,r,"container"),children:(0,i.jsx)(d.g,{headline:t.headline||"",menuItemList:x,styleParts:r,children:u})})}},49421:(e,t,r)=>{"use strict";r.d(t,{M:()=>y});var i=r(23141),a=r(84983),o=r(58746),n=r(77389),l=r(69385);let s=e=>{let{rentalData:t,reservationData:r}=e,i=t?.rentalAgreement?.number||r?.rentalAgreementNumber||"",a=r?.customerInformation?.countryOfResidence||"",o=t?.rentalAgreement?.prefix||r?.geographicRegionCode||"",n="CA"===a.toUpperCase()||"C"===o?(0,l.C)(a||"CA"):o,s=t?.confirmationNumber||r?.confirmationNumber||"";return{rentalAgreementNumber:i,rentalAgreementPrefix:n,confirmationNumber:s,lastName:(e=>{let{rentalData:t,reservationData:r,userTypedLastName:i}=e;return i||r?.customerInformation?.lastName||t?.customerInformation?.lastName||""})(e),countryOfResidence:a,isAvisFirstRental:!!(r?.brandInformation?.subBrand==="Q"||t?.pickUpLocation?.mnemonicCode?.startsWith("A1"))}};class d{shouldExecute(e){let{rentalAgreementNumber:t}=s(e);return!!e.navigationLinks?.rentalDashboard&&!!t}execute(e){let{router:t,navigationLinks:r,encryptedConfirmationNumber:i,isExpressSMS:l}=e;try{if(r){let{rentalAgreementNumber:a,rentalAgreementPrefix:d,confirmationNumber:c,isAvisFirstRental:p}=s(e),u={id:i,p:a,isExpressSMS:l,confirmationNumber:c,sb:p&&o.d.Q,prefix:d};(0,n.oo)(t,r.rentalDashboard,u)}a.vF.info("Pre-rental dashboard redirect completed")}catch(e){throw a.vF.error("Error in pre-rental dashboard strategy:",e instanceof Error?e.message:String(e)),e}}}class c{shouldExecute(e){let{rentalAgreementNumber:t}=s(e);return!!e.navigationLinks?.rentalDashboard&&!!t}execute(e){let{router:t,navigationLinks:r,isChoiceSMSLink:i}=e;try{if(r?.rentalDashboard){let{rentalAgreementNumber:a,rentalAgreementPrefix:l,confirmationNumber:d,isAvisFirstRental:c}=s(e),p={p:a,confirmationNumber:d,...i?{isChoiceSMSLink:i}:{},sb:c&&o.d.Q,prefix:l};(0,n.oo)(t,r.rentalDashboard,p)}a.vF.info("Rental dashboard redirect completed")}catch(e){throw a.vF.error("Error in rental dashboard strategy:",e instanceof Error?e.message:String(e)),e}}}class p{shouldExecute(e){let{rentalAgreementNumber:t}=s(e);return!!e.navigationLinks?.onLotExchange&&!!t}execute(e){let{router:t,navigationLinks:r,encryptedConfirmationNumber:i}=e;try{if(r?.onLotExchange){let{rentalAgreementNumber:a,confirmationNumber:o,isAvisFirstRental:n}=s(e),l=`${r.onLotExchange}?id=${i}&p=${a}&confirmationNumber=${o}`;n&&(l+="&sb=Q"),t.replace(l)}a.vF.info("On lot exchange redirect completed")}catch(e){throw a.vF.error("Error in on lot exchange strategy:",e instanceof Error?e.message:String(e)),e}}}class u extends d{execute(e){super.execute(e),a.vF.info("Choice-completed dashboard redirect completed")}}class x{shouldExecute(e){return!!e.navigationLinks?.getEReceipt&&!!e.encryptedConfirmationNumber}execute(e){let{router:t,navigationLinks:r,encryptedConfirmationNumber:i,setEReceiptStore:o}=e;try{if(r){let{rentalAgreementNumber:a,rentalAgreementPrefix:n,confirmationNumber:l,lastName:d,countryOfResidence:c}=s(e);o({countryCode:c,lastName:d,confirmationNumber:l,rentalAgreementNum:a,rentalAgreementPrefix:n}),t.replace(`${r.getEReceipt}?id=${i}`)}a.vF.info("E-receipt redirect completed")}catch(e){throw a.vF.error("Error in e-receipt strategy:",e instanceof Error?e.message:String(e)),e}}}class m{isPartnerFlow(e){return!!e.isPartnerPreCheckEnabled&&(e.isPartnerFlow||e.searchParams?.get("partner")==="y")}getTargetUrl(e){return this.isPartnerFlow(e)&&e.navigationLinks?.partnerSelfCheckoutDriverInfo||e.navigationLinks?.selfCheckoutDriverInfo}shouldExecute(e){return!!this.getTargetUrl(e)}execute(e){let{router:t}=e,r=this.getTargetUrl(e);try{"string"==typeof r&&r&&t.replace(r),a.vF.info("Pre-check-in eligible redirect completed")}catch(e){throw a.vF.error("Error in pre-check-in eligible strategy:",e instanceof Error?e.message:String(e)),e}}}class g{isPartnerFlow(e){return!!e.isPartnerPreCheckEnabled&&(e.isPartnerFlow||e.searchParams?.get("partner")==="y")}getTargetUrl(e){return this.isPartnerFlow(e)?e.navigationLinks?.partnerSelfCheckoutConfirmation||e.navigationLinks?.selfCheckoutConfirmation||e.navigationLinks?.preCheckConfirmation:e.navigationLinks?.selfCheckoutConfirmation||e.navigationLinks?.preCheckConfirmation}shouldExecute(e){return!!this.getTargetUrl(e)}execute(e){let{router:t}=e;try{let r=this.getTargetUrl(e);r&&t.replace(r),a.vF.info("Pre-check-in submitted redirect completed")}catch(e){throw a.vF.error("Error in pre-check-in submitted strategy:",e instanceof Error?e.message:String(e)),e}}}class h{shouldExecute(e){return!!e.navigationLinks?.reservationCancelC
6onfirmation}execute(e){let{router:t,navigationLinks:r}=e;try{r?.reservationCancelConfirmation&&t.replace(r.reservationCancelConfirmation),a.vF.info("Cancel confirmation page redirect completed")}catch(e){throw a.vF.error("Error in cancel confirmation page strategy:",e instanceof Error?e.message:String(e)),e}}}class f{shouldExecute(e){return!!e.navigationLinks?.initiateBiometric}execute(e){let{router:t,navigationLinks:r,encryptedConfirmationNumber:i,reservationData:o,userTypedLastName:n}=e;try{if(r?.initiateBiometric){let e=i?`${r.initiateBiometric}?id=${i}`:`${r.initiateBiometric}?confirmationNumber=${o?.confirmationNumber}&lastName=${n}`;t.replace(e)}a.vF.info("Initiate biometric redirect completed")}catch(e){throw a.vF.error("Error in initiate biometric strategy:",e instanceof Error?e.message:String(e)),e}}}class b{shouldExecute(){return!1}execute(){}}class y{static strategies=new Map([[i.RentalCustomerJourneyEnum.PRE_RENTAL_DASHBOARD,new d],[i.RentalCustomerJourneyEnum.RENTAL_DASHBOARD,new c],[i.RentalCustomerJourneyEnum.CHOICE_LICENSE_PLATE_SCAN,new p],[i.RentalCustomerJourneyEnum.CHOICE_NO_LICENSE_PLATE_SCAN,new p],[i.RentalCustomerJourneyEnum.CHOICE_LICENSE_PLATE_SCAN_COMPLETED,new u],[i.RentalCustomerJourneyEnum.E_RECEIPT,new x],[i.ReservationCustomerJourneyEnum.PRECHECKIN_ELIGIBLE,new m],[i.ReservationCustomerJourneyEnum.PRECHECKIN_SUBMITTED,new g],[i.ReservationCustomerJourneyEnum.CANCEL_CONFIRM_PAGE,new h],[i.ReservationCustomerJourneyEnum.INITIATE_BIOMETRIC,new f],[i.ReservationCustomerJourneyEnum.VMC_PAGE,new b]]);static getStrategy(e){return this.strategies.get(e)||null}static getSupportedJourneys(){return[...this.strategies.keys()]}}},50819:(e,t,r)=>{"use strict";r.d(t,{R:()=>b});var i=r(47388),a=r(33392),o=r(52949),n=r(38831);r(61872);var l=r(64228),s=r(90544),d=r(58409),c=r(55301);let p={width:"100%",position:"relative",zIndex:0,minHeight:{xs:375,sm:480}},u={"& > img":{zIndex:-1,objectFit:"cover",objectPosition:"top"}},x={width:"auto",marginBottom:"16px"},m={display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",height:"100%",padding:"15px",textAlign:"center",width:"100%"},g={maxWidth:680},h={color:c.J.white100,marginBottom:"16px"},f={color:"#FFFFFFCC",marginBottom:"16px","& > p:first-child":{marginTop:0}},b=({aemAttributes:e,model:t,styleParts:r={},background:c="",iconImage:b="",mobileImage:y=""})=>{let{headline:S,bodyText:C,showCta:v,ctaLink:k,ctaTarget:A,ctaText:w,ctaStyle:T}=t,j=(0,a.A)("(max-width:440px)");return(0,i.jsxs)(o.default,{...e,"data-testid":"shortbanner-wrapper","data-aue-type":"component",sx:(0,l.oz)(p),children:[(0,i.jsx)(o.default,{sx:u,children:(0,i.jsx)(s.AemImage,{src:j?y:c,fill:!0,alt:"background image"})}),(0,i.jsx)(o.default,{sx:m,children:(0,i.jsxs)(o.default,{sx:g||{},children:[b&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.AemImage,{src:b,width:0,height:16,style:x,alt:"logo","data-testid":"shortbanner-icon"})}),(0,i.jsx)(d.W,{bannerType:"short",title:S,subTitle:C,titleVariant:"h4",titleTestId:"shortbanner-headline",subtitleTestId:"shortbanner-bodyText",styleParts:{title:r.shortBannerHeadLine,subtitle:r.shortBannerBodyText},defaultStyles:{title:h,subtitle:f}}),(0,i.jsx)(i.Fragment,{children:v&&(0,i.jsx)(n.default,{className:T,variant:"outlined",href:k??"#",target:A,"data-testid":"shortbanner-cta",children:w??""})})]})})]})}},51019:(e,t,r)=>{"use strict";r.d(t,{d:()=>a,q:()=>o});var i=r(61872);let a=(0,i.createContext)({}),o=()=>(0,i.useContext)(a)},52354:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckFooter:()=>o,BudgetTruckFooterLegal:()=>x,BudgetTruckFooterNavigation:()=>f});var i=r(47388),a=r(52949);let o=({aemAttributes:e,children:t})=>(0,i.jsx)(a.default,{...e,"data-aue-type":"container","data-testid":"footer-container",sx:{width:"100%"},children:t});var n=r(68595),l=r(55301),s=r(15232),d=r(58016);let c={footerLinkSetLinkStyles:{"&:hover":s.ED},footerLinkTitleStyles:{textTransform:"none",color:l.J.black}},p={footerSiteMapMobileLinkStyles:{color:d.S.secondaryDark,"&:hover":s.Kn},footerSiteMapMobileDrawerLinkStyles:{color:l.J.black,"&:hover":s.Kn},footerSitemapMobileLinkTextStyles:{fontSize:"16px",fontWeight:700,lineHeight:"22px",color:"inherit"}},u={footerLegalContainer:{backgroundColor:{xs:l.J.white100,md:d.S.blue100}},footerLegalLink:{color:d.S.black,"&:hover":s.ED},footerLegalText:{color:d.S.neutral500},footerLegalNote:{color:d.S.neutral500}},x=({aemAttributes:e,model:t})=>(0,i.jsx)(a.default,{...e,"data-aue-type":"component",sx:{width:"100%"},children:(0,i.jsx)(n.FooterLegal,{legalLinks:t.termsList||[],legalNote:t.legalText,styleParts:u})});var m=r(47849),g=r(53597),h=r(42364);let f=({aemAttributes:e,config:{brand:t},model:r})=>{if((0,g.E)())return null;let o={brand:t,brandLogo:r.logo?.source||"",socialLinks:(r.socialList||[]).map(e=>({title:e.title,target:e.target,url:e.url,icon:e.icon}))},n={i18n:r.i18n,links:(0,h.Y)(r.navigationList||[])};return(0,i.jsx)(a.default,{...e,"data-aue-type":"component",sx:{width:"100%"},"data-testid":"footer-navigation-container",children:(0,i.jsx)(m.b,{logo:o,siteMap:n,styleParts:{...c,...p}})})}},52398:(e,t,r)=>{"use strict";r.d(t,{O:()=>d});var i=r(47388),a=r(52949),o=r(3848),n=r(86375),l=r(66853),s=r(22710);let d=({aemAttributes:e,model:t,styleParts:r={},children:d})=>{let{showDivider:c=!1,dividerList:p}=t,{dividerThickness:u,dividerTheme:x}=p||{},m=!!(t.headline||t.bodyText||t.imagePath||t.showVehicleFeatures&&d||t.cta&&t.ctaLink&&t.ctaText);return(0,i.jsxs)(a.default,{id:t.id,...e,"data-aue-type":t.showVehicleFeatures?"container":"component",sx:n.iE,children:[m&&(0,i.jsx)(s.default,{...t,styleParts:r,children:d}),c&&(0,i.jsx)(a.default,{sx:l.g,children:(0,i.jsx)(o.ThemedDivider,{type:"horizontal",thickness:u,theme:x})})]})}},52696:(e,t,r)=>{"use strict";r.d(t,{B:()=>l});var i=r(55301),a=r(97375),o=r(58016),n=r(55494);let l={root:{backgroundColor:o.S.neutral100}
6,pageBackground:{fill:o.S.primary300},comparisonButton:{width:"100%",marginTop:"-25px",display:"flex",justifyContent:"end",position:"relative",top:"-15px",color:"#ffffff",textDecoration:"underline",fontWeight:400,outline:"none","&:focus":{outline:"none"},"&:focusVisible":{outline:"none"}},title:{color:o.S.primary100,fontSize:{xs:"36px",sm:"40px",md:"44px"},fontWeight:700,lineHeight:{xs:"40px",sm:"44px",md:"48px"},textTransform:"none"},subtitle:{color:o.S.primary100,fontSize:"15px",fontWeight:400,lineHeight:"24px"},cardStyles:{borderRadius:"24px"},rentalSummaryStyle:{fontSize:"13px"},carGroupNameStyle:{fontSize:"26px",lineHeight:"18px"},rentalPrimaryText:{fontSize:"13px"},rentalSecondaryText:{color:o.S.neutralGrey500,fontSize:"13px"},breakDownItemText:{color:o.S.neutral400,fontSize:"13px"},strikedText:{fontSize:"13px",color:o.S.transparencyDark40},seeRatesStyle:{color:o.S.neutral400},closeButtonIconStyle:{stroke:o.S.primary300},dividerStyle:{borderColor:o.S.neutralGrey300},consentFooterTextStyle:{fontSize:"11px"},rentalSummary:{wrapper:{position:"static",transform:"none",maxHeight:"none"},headerContainer:{flexDirection:"column",alignItems:"flex-start"},header:{width:"100%",fontSize:{sm:"26px",xs:"22px"}},headerImageContainer:{width:"100%",justifyContent:"center",display:"flex"},vehicleTotalRate:{},protectionAndAddonsLabel:{},vehicleRateAndProtections:{fontSize:"13px"},vehiclePrevRateValue:{textDecoration:"line-through"},savingsAndTaxes:{fontSize:"13px"}},bookingSummary:{container:{fontSize:"15px",lineHeight:"24px"},title:{marginBottom:"8px"},carTypeTitle:{color:o.S.neutralGrey500,marginBottom:"16px"}},wouldYouLikeToPayStyles:{heading:{fontSize:"22px",lineHeight:"24px"},title:{fontSize:"13px",lineHeight:"20px"},label:{fontSize:"13px",lineHeight:"20px"}},howWouldYouLikeToPayment:{container:{borderRadius:"24px"},heading:{fontSize:"22px"},footerLabelStyle:{color:o.S.neutral500,fontSize:"13px"}},joinToGetOurBestRates:{cardBanner:{borderRadius:"24px",backgroundColor:o.S?.blue100},label:{fontSize:"13px",lineHeight:"14px"},checkbox:{".MuiTypography-root":{fontSize:"13px"}},expandedVehicleCardStyleParts:a.A},rightSectionPaperStyle:{borderTopRightRadius:"24px",borderTopLeftRadius:"24px",borderBottomLeftRadius:"24px",borderBottomRightRadius:"24px"},timer:{wrapper:{borderRadius:"12px"},container:{borderTopRightRadius:"0px",borderTopLeftRadius:"0px",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",margin:{xs:"0px"},"& .MuiDialog-container":{alignItems:{xs:"end",sm:"center"}}},countDown:{fontSize:{xs:"13px",sm:"15px"},lineHeight:{xs:"20px",sm:"24px"}},label:{color:o.S?.neutralGrey500,fontSize:"11px",marginLeft:{xs:"16px",sm:"21px"}}},timeOutDialogModal:{container:{"& .MuiDialog-paper":{borderRadius:{xs:"16px 16px 0px 0px",sm:"24px"},margin:{xs:"0px"}},"& .MuiDialog-container":{alignItems:{xs:"end",sm:"center"}}},headerContainer:{borderBottom:`1px solid ${o.S?.neutralGrey300}`},content:{fontSize:"15px",fontWeight:"400",lineHeight:"24px"}},travelAccordion:{inputLabelStyles:{fontSize:"13px"},inputBackground:{borderRadius:"24px","& input::placeholder":{fontSize:"13px"}}},errorBanner:{container:{borderRadius:"16px"},heading:{fontSize:{xs:"13px",sm:"15px"},fontWeight:700,lineHeight:{xs:"13px",sm:"24px"}},description:{fontSize:{xs:"11px",sm:"13px"},fontWeight:400,lineHeight:{xs:"16px",sm:"20px"}}},splitTheBillModal:{dialogStyle:{"& .MuiPaper-root":{borderRadius:"24px 24px 0 0"}},headerStyle:{fontSize:{xs:"18px",sm:"22px"},lineHeight:{xs:"26px",sm:"22px"}},textPrimaryStyle:{fontSize:"13px",lineHeight:"20px"},textSecondaryStyle:{fontSize:"11px",lineHeight:"16px"},subTextStyle:{color:o.S.neutral400,fontSize:"11px",lineHeight:"16px"},summaryStyle:{backgroundColor:o.S.neutral100,borderRadius:6},totalToBePaidStyle:{borderColor:o.S.mediumContrast}},billingAddressStyling:{},payPalModifyButtonStyling:{color:i.J.actionBlue},amazonLabelStyling:{},amazonValueStyling:{},amazonModifyButtonStyling:{color:i.J.actionBlue},termsAndConditionsContainer:{borderRadius:"16px",border:`1px solid ${o.S.neutralGrey300}`,backgroundColor:o.S.secondary},bookingDescription:{"&, & *":{fontSize:"15px",lineHeight:"24px",fontFamily:n.QU,color:o.S.neutralGrey500}},amazonBenefits:{wrapper:{borderRadius:"12px",backgroundColor:o.S.neutral100,color:i.J.steelBlue}}}},53010:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});let i="aem"},53449:(e,t,r)=>{"use strict";r.d(t,{L:()=>a,O:()=>o});var i=r(64228);let a=e=>{if(e)for(let t of["headline","description","cell"]){let r={};for(let i of e.querySelectorAll(`[data-slot="${t}"]`)){let e=Number.parseInt(i.dataset.row||"0",10);r[e]??=[],r[e].push(i)}for(let e of Object.values(r)){for(let t of e)t.style.minHeight="";let t=Math.max(...e.map(e=>e.offsetHeight));for(let r of e)r.style.minHeight=`${t}px`}}},o=({isMobile:e,isFirstColumn:t,contentTableBaseStyles:r,styleParts:a})=>e?t?(0,i.iX)(r,a,"firstColumnCellDescriptionMobile"):{...r.cellDescriptionMobile}:(0,i.iX)(r,a,"cellDescription")},54143:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckShortBanner:()=>l});var i=r(47388);r(61872);var a=r(50819),o=r(81643);let n={shortBannerHeadLine:{fontSize:{sm:32,xs:28},lineHeight:{sm:"40px",xs:"32px"}},shortBannerBodyText:{fontSize:{sm:20,xs:18},lineHeight:{sm:"28px",xs:"26px"}}},l=({aemAttributes:e,...t})=>{let{model:r}=t,{backgroundImage:l,brandIcon:s}=r,{backgroundImageFinal:d,mobileImage:c}=(0,o._)({brand:"budget",bgImage:l?.source});return(0,i.jsx)(a.R,{aemAttributes:e,model:r,iconImage:s?.source||"",background:d,styleParts:n,mobileImage:c})}},54788:(e,t,r)=>{"use strict";r.d(t,{T:()=>
6o});var i=r(61872);let a=e=>i.Children.toArray(e).flatMap(e=>(0,i.isValidElement)(e)?e.type===i.Fragment?a(e.props.children):[e]:[]),o=(e,t,r)=>{let{":items":o={}}=e,n=((e,t)=>{let{":items":r={},":itemsOrder":o=[]}=e,n=a(t),l=o.filter(e=>r[e]),s=(e,t)=>{let a=e.props.model;return a?(0,i.cloneElement)(e,{model:{...a,":itemsOrder":[t],":items":{[t]:r[t]},children:a.children?.filter(({name:e})=>e===t)},key:t}):(0,i.cloneElement)(e,{key:t})},[d]=n;if(1===n.length&&d?.props?.model!==void 0&&d.props.model.id===e.id)return Object.fromEntries(l.map(e=>[e,s(d,e)]));let c=new Map,p=e=>!c.has(e),u=e=>r[e],x=e=>{let t=String(e.key??"");return l.find(e=>{let r=u(e)?.id;if(void 0===r||!p(e))return!1;let i=r.replaceAll(/[=:]/g,e=>"="===e?"=0":"=2");return t===`.$${i}`||t.endsWith(`:$${i}`)})},m=e=>{let t=e.props.model?.id;return t?l.find(e=>p(e)&&u(e)?.id===t):void 0},g=[];for(let e of n){let t=x(e)??m(e);t?c.set(t,e):g.push(e)}for(let e of g){let t=e.props.modelType,r=l.filter(e=>p(e)),i=t&&r.find(e=>u(e)?.[":type"]===t)||r[0];i&&c.set(i,e)}let h={};for(let e of l){let t=c.get(e);t&&(h[e]=s(t,e))}return h})(e,t);return n?Object.entries(n)?.filter(([e])=>{let t=o[e];return t?.id?.includes(r)})?.map(([,e])=>e):[]}},55041:(e,t,r)=>{"use strict";r.d(t,{R:()=>E});var i,a,o,n=r(47388),l=r(52949),s=r(61872),d=r(57109),c=r(34911),p=r(44579),u=r(66964),x=((i={}).PASSWORD_RESET="/password-reset",i.EMAIL_ACTIVATE="/email-activate",i),m=((a={}).ACTIVATE="emailActivate",a.UNLOCK="unlock",a.UNLOCK_PROFILE="UNLOCK_PROFILE",a),g=((o={}).PASSWORD_RESET="password-reset",o.ACCOUNT_UNLOCK="account-unlock",o.EMAIL_VERIFICATION="email-verification",o),h=r(22472),f=r(32081),b=r(10431),y=r(55301);let S={position:"relative"},C={position:"relative",width:{xs:"100%",sm:"450px"},margin:{xs:"48px auto",sm:"40px auto"},padding:{xs:"32px 24px",sm:"24px 20px"},backgroundColor:y.J.white100,borderRadius:"8px",display:"flex",flexDirection:"column",gap:{xs:"20px",sm:"24px"}},v={display:"flex",justifyContent:"center",padding:"16px 0"},k={color:y.J.red500,width:"40px",height:"40px"},A={display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"8px",padding:{xs:0,sm:"0 16px"},"> *":{textAlign:"center"}};var w=r(90656),T=r(84983),j=r(30269),I=r(71707),R=r(64584);let P="unlockAccount.errorMessage.expiredLink.title",L=()=>{let{brand:e}=(0,d.usePageContext)(),{isLoading:t,error:r,startUnlockJourney:i}=(()=>{let e=(0,w.useRouter)(),{mosaicJourneyConfig:t,navigationLinks:r}=(0,d.usePageContext)(),{getRequestContext:i,recordAnalytics:a,handleMosaicError:o}
6=(0,j.C)(),[n,l]=(0,s.useState)(!1),[c,p]=(0,s.useState)(null),x=t.unlockAccountId,m=(0,s.useCallback)(()=>{let{hashParams:e}=(0,u.$)(globalThis.location.href);return e.WIZARD_NUMBER??""},[]),g=(0,s.useCallback)(()=>{e.replace(r.login)},[r.login,e]),h=(0,s.useCallback)(async e=>{let t=await o({response:e,titleKey:P});if(t?.code==="E-IAM-DXP-S-10018"){let e=t.title===P?t.description:t.title;p({...t,description:e})}else p(t);a({journeyId:x,journeyStepId:e?.journeyStepId,error:t})},[x,a,o]),f=(0,s.useCallback)(async e=>{let t=e.journeyStepId;switch(await h(e),t){case I.CI.success:g();break;case I.CI.information:await b(I.Ld.ClientInput,{});break;case I.CI.rejection:break;default:T.vF.log(`Unknown journey step received during account unlock: ${t}`,"unlock_account")}},[g,h]),b=(0,s.useCallback)(async(e,t)=>{l(!0);try{let r=await (0,R.VE)(e,t);await f(r)}catch{await h()}finally{l(!1)}},[f,h]);return{isLoading:n,error:c,startUnlockJourney:(0,s.useCallback)(async()=>{l(!0);let e=m(),t={request_context:i(),auth_token:e};try{let e=await (0,R.h_)(x,t);await f(e)}catch{await h()}finally{l(!1)}},[x,m,i,f,h])}})(),a=(0,s.useRef)(!1);return(0,s.useEffect)(()=>{a.current||(a.current=!0,i())},[i]),(0,n.jsxs)(l.default,{sx:S,"data-testid":"unlock-account-container",children:[t&&(0,n.jsx)(h.Loader,{brand:e,isImmediatelyActive:!0}),r&&(0,n.jsxs)(l.default,{sx:C,children:[(0,n.jsx)(l.default,{sx:v,children:(0,n.jsx)(f.C,{sx:k})}),(0,n.jsx)(l.default,{sx:A,children:(0,n.jsx)(b.Q,{variant:"h6",children:r.description})})]})]})},E=({aemAttributes:e,children:t})=>{let r=(0,c.L)(),{navigationLinks:i,config:a}
6=(0,d.usePageContext)(),[o,h]=(0,s.useState)(null);return(0,s.useEffect)(()=>{let{hash:e,hashParams:t}=(0,u.$)(globalThis.location.href),a=t.emailActivate;switch(!0){case e===x.PASSWORD_RESET:h(g.PASSWORD_RESET);break;case e===x.EMAIL_ACTIVATE&&[m.UNLOCK,m.UNLOCK_PROFILE].includes(a):h(g.ACCOUNT_UNLOCK);break;case e===x.EMAIL_ACTIVATE&&a===m.ACTIVATE:h(g.EMAIL_VERIFICATION);break;default:r.replace(i.home),h(null)}},[r,i.home,a.app?.runmode]),(0,n.jsx)(l.default,{...e,"data-aue-type":"container","data-testid":"email-link-handler-container",sx:{width:"100%"},children:(0,n.jsxs)(p.O,{value:{selectedTabTitle:o||"",showAllTabsInAuthorMode:!0},children:[t,o===g.ACCOUNT_UNLOCK&&(0,n.jsx)(L,{})]})})}},55106:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckEmailLinkHandler:()=>o});var i=r(47388),a=r(55041);let o=e=>(0,i.jsx)(a.R,{...e})},55494:(e,t,r)=>{"use strict";r.d(t,{QU:()=>o,UN:()=>n,bO:()=>i,zf:()=>a});let i="--abg-font-primary",a="--abg-font-headline",o=`var(${i}), sans-serif`,n=`var(${a}), sans-serif`},56554:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});var i=r(47388),a=r(52949),o=r(45373);let n=({aemAttributes:e,model:t,styleParts:r={}})=>(0,i.jsx)(a.default,{...e,"data-aue-type":"component","data-testid":"inlineAccordionItem-wrapper",children:(0,i.jsx)(o.AccordionItem,{...t,styleParts:r})})},56759:(e,t,r)=>{"use strict";r.d(t,{I:()=>S,NR:()=>x,U1:()=>y,XT:()=>h,aw:()=>f,b8:()=>v,bv:()=>m,oU:()=>b,sJ:()=>C,xh:()=>g});var i=r(23141),a=r(83715),o=r(77563),n=r(68057),l=r(57540),s=r(84839),d=r(63123),c=r(60599);let p=(e,t,r,i,a)=>{if(t?.splitType){let a=(0,s.Q)(i?.currencyCode),o=t.splitType===d.BX.AMOUNT,n=r?e?.primaryPayment:e?.secondaryPayment,l=r?i?.splitDetails?.[0]?.amount:i?.splitDetails?.[1]?.amount;if(!o)return l?String(l):"00.00";{let e=n?.replaceAll(a,"").replaceAll(",","").replaceAll(" ","").trim();if(e&&"0"!==e&&"00.00"!==e)return e;let t=i?.totals?.total;return null!=t?String((t/2).toFixed(2)):"00.00"}}return a&&!i?.indicators.payNowCheckBoxInd?"00.00":i?.totals?.total?.toString()},u=e=>{if(!e)return"";let[t,r]=e.split("/"),i=t?.padStart(2,"0");return`${i}/${r??""}`},x=(e,t,r,a,s,d)=>{let c=[];if(e?.billingAgreementId){c=[];let t={methodOfPayment:i.BookingPaymentMethodEnum.WALLET,paymentTypeCode:i.BookingPaymentTypeCodeEnum.PRIMARY,details:{digitalWallet:{walletType:e.paymentMethod,billingId:e.billingAgreementId}},dccIndicator:!1,prepayCurrencyCode:r?.currencyCode,prepayAmount:p(e,null,!1,r,d)};return"AMAZON"===e.paymentMethod&&e?.walletEmail&&(t.details.digitalWallet.walletEmail=e?.walletEmail),c.push(t),c}if((e?.creditCard??"").length>0){let a=s?.savedCards?.find(t=>t.sequenceNumber===e?.savedCreditCard)?.clubType,o=(0,l.El)(e?.creditCard||"")?.cardType||"",u=a??n.vx[o]??e.creditCardClubType??"";c.push({methodOfPayment:i.BookingPaymentMethodEnum.CLUB,paymentTypeCode:i.BookingPaymentTypeCodeEnum.PRIMARY,details:{cardDetails:{clubType:u,cardNumber:e.creditCard?.replaceAll(/ /g,""),expiryDate:e.creditCardExpiry,cardHolderName:`${e.firstName}, ${e.lastName}`,securityCode:e.securityCode,...e.billingAddress?{billingAddress:{address1:e.billingAddress,address2:e.appartmentOrSuite,...e.addressLine3&&{address3:e.addressLine3},city:e.cityProvince,state_province:e.state,postal_code:(e.zipCode??"").trim(),country_code:e.country}}:{}}},dccIndicator:!1,prepayCurrencyCode:r?.currencyCode||e.currencyCode,prepayAmount:p(e,t,!0,r,d),amount:p(e,t,!0,r)})}if((e?.secondaryCreditCard??"").length>0){let a=s?.savedCards?.find(t=>t.sequenceNumber===e?.secondaryCreditCard)?.clubType,o=(0,l.El)(e?.secondaryCreditCard||"")?.cardType||"",u=a??n.vx[o]??"",x=""!==(e?.secondaryBillingBillingAddress??"").trim()||""!==(e?.secondaryBillingCityProvince??"").trim()||""!==(e?.secondaryBillingZipCode??"").trim(),m=x?e.secondaryBillingBillingAddress??"":e.billingAddress??"",g=x?e.secondaryBillingAppartmentOrSuite??"":e.appartmentOrSuite??"",h=x?e.secondaryBillingAddressLine3??"":e.addressLine3??"",f=x?e.secondaryBillingCityProvince??"":e.cityProvince??"",b=x?e.secondaryBillingCountry??"":e.country??"",y=x?(e.secondaryBillingZipCode??"").trim():(e.zipCode??"").trim(),S=x?e.secondaryBillingState??"":e.state??"";c.push({methodOfPayment:i.BookingPaymentMethodEnum.CLUB,paymentTypeCode:i.BookingPaymentTypeCodeEnum.SECONDARY,details:{cardDetail
6s:{clubType:u,cardNumber:e.secondaryCreditCard?.replaceAll(/ /g,""),expiryDate:e.secondaryCreditCardExpiry,cardHolderName:`${e.firstName}, ${e.lastName}`,securityCode:e.secondarySecurityCode,billingAddress:{address1:m,address2:g,...h&&{address3:h},city:f,country_code:b,postal_code:y,state_province:S}}},dccIndicator:!1,prepayCurrencyCode:r?.currencyCode,prepayAmount:p(e,t,!1,r,d),amount:p(e,t,!1,r)})}if(a?.response&&a?.event){c=[];let t={methodOfPayment:i.BookingPaymentMethodEnum.WALLET,paymentTypeCode:i.BookingPaymentTypeCodeEnum.PRIMARY,details:{digitalWallet:{walletType:"APPLEPAY",clubType:o.sl[a.response?.paymentCard?.cardType],DPAN:a?.response?.paymentCard?.ccNumber,expiryDate:u(a?.response?.paymentCard?.expDate),billingId:a?.response?.paymentCard?.cavv,last4Digit:a?.response?.paymentCard?.ccNumberMasked?.slice(-4)}},dccIndicator:!1,prepayCurrencyCode:r?.currencyCode,prepayAmount:p(e,null,!1,r,d)};c.push(t)}if(e.card_number){let t,a={methodOfPayment:i.BookingPaymentMethodEnum.WALLET,paymentTypeCode:i.BookingPaymentTypeCodeEnum.PRIMARY,details:{digitalWallet:{walletType:"UPLIFT",clubType:e.card_type,DPAN:e.card_number,expiryDate:u(`${e.expiration_month}/${String((t=Number(e.expiration_year??""))>99?t%100:t).padStart(2,"0")}`)}},dccIndicator:!1,prepayCurrencyCode:r?.currencyCode,prepayAmount:p(e,null,!1,r,d)};c.push(a)}return c},m=(e,t,r,a)=>{if(e.billingAgreementId&&t){let{city:e,postalCode:r,countryCode:a}=t||{};return{type:i.ContactType.PRIMARY,...t,address1:t.address1||"",address3:[r,e,a].join(",")}}if(e.billingAddress){let t=e.cityProvince||"",o=e.state??void 0,l=(e.zipCode||"").trim(),s=e?.country||"",d=s!==n.d4.US&&s!==n.d4.CA&&s!==n.d4.AU&&s!==n.d4.NZ,c=s===n.d4.NZ,p=!r&&!a?.includes(s);return{type:i.ContactType.PRIMARY,address1:e.billingAddress||"",address2:e.appartmentOrSuite||"",...d?{address3:p?e.addressLine3:[t,o,l].join(","),city:t,stateProvince:o,postalCode:l,countryCode:s}:{...c&&{address3:e.addressLine3},city:t,stateProvince:o,postalCode:l,countryCode:s}}}if(e?.card_number)return{type:i.ContactType.PRIMARY,address1:e.upliftaAddress1||"",city:e.upliftCity||"",postalCode:e.upliftPostalCode||"",stateProvince:e.upliftStateProvince||"",countryCode:e.upliftCountryCode||""}};function g({data:e,additionalOptions:t,countryCode:r,nationalNumber:a,isPayNow:o,walletAddress:n,profileNumber:l,userProfile:s,isEmea:d,hidePhoneCountryCode:c,formZipSupportedCountries:p}){return[{...e.title&&e?.title.length>0&&{title:e.title},firstName:e.firstName??"",lastName:e.lastName??"",...t.birth?{birth:t.birth}:{age:t.age},companyName:e.company??"",email:[{type:i.ContactType.PRIMARY,emailId:e.email??""}],preferences:[{type:"SMS-OPT-IN",value:e.smsOptIn??!1},{type:"PUSH-OPT-IN",value:!1},{type:"EMAIL-OPT-IN",value:e.emailOptIn??!1}],phoneNumber:[{type:i.ContactType.PRIMARY,countryCode:c?"":r??"1",number:(s?e.phoneNumber:a)??""}],address:o||d?m(e,n,d,p):void 0,...l&&{profileNumber:l},...e.programPartner&&e.membershipNumber&&{partnerLoyalty:{programPartner:e.programPartner,membershipNumber:e.membershipNumber}}}]}function h(e){return{pickUpLocationMnemonic:e.pickupLocation,dropOffLocationMnemonic:e.dropoffLocation}}function f(e,t){return{forceRecalculate:!0,approximateTotalComponents:!1,cidOverride:t??!1,onRequest:!!e,rate:{rateGuarantee:{rateType:"LEISURE"}}}}function b(e,t){return{date:e,time:t.replaceAll(":","")}}function y(e,t){let r=(e.addOnItems??[]).filter(e=>e?.code!=="AFHFF").map(e=>{if(!e)return e;let t=(0,a.P6)(e.code,e.variant),{code:r,quantity:i,payWithPoints:o}=e;return t?{code:r,...void 0!==i&&{quantity:i},...o&&{payWithPoints:o},variant:t}:{code:r,...void 0!==i&&{quantity:i},...o&&{payWithPoints:o}}});return t?[r.find(e=>e?.code==="AFE")??{code:"AFE"},...r.filter(e=>e?.code!=="AFE")]:r}function S(e,t){return e.discountCodes?.filter(e=>String(e.type)!==String(i.DiscountCodeTypeEnum.COUPON)||t)}function C({data:e,isPayNow:t,isEmea:r,splitInfoData:i,priceData:a,applePayResponse:o,userProfile:n}){return t||i||r?x(e,i,a,o,n?.savedCardDetails,r):[]}function v(e){let t=[],r=(e?.flightNumber??"").trim().length>0,a=(e?.returnFlightNumber??"").trim().length>0,o=e?.airline==="WI",n=e?.returnAirline==="WI";if((0,c.cc)(e?.airline??"")||r||o){let a=o?"WI":r&&!e?.airline?"":e?.airline??"";t.push({airlineCode:a,airlineNumber:o?"":(e?.flightNumber??"").replaceAll(/\s/g,""),type:i.FlightTypeEnum.ARRIVAL})}if((0,c.cc)(e?.returnAirline??"")||a||n){let r=n?"WI":a&&!e?.returnAirline?"":e?.returnAirline??"";t.push({airlineCode:r,airlineNumber:n?"":(e?.returnFlightNumber??"").replaceAll(/\s/g,""),type:i.FlightTypeEnum.DEPARTURE})}if(t.length>0)return{flightNumber:{airlineCode:o?"WI":r&&!e?.airline?"":e?.airline??"",airlineNumber:o?"":(e.flightNumber??"").replaceAll(/\s/g,"")},flightDetails:t}}},56921:(e,t,r)=>{"use strict";r.d(t,{x:()=>a});var i=r(58016);let a={container:{borderRadius:"12px",border:`1px solid ${i.S.errorSubtle}`,backgroundColor:i.S.errorLight,color:i.S.errorAlert,"& svg":{marginRight:{sm:"6px",xs:"4px"},width:{sm:"16px",xs:"12px"},height:{sm:"16px",xs:"12px"}},"& > p":{marginTop:{sm:"4px",xs:"2px"}}},title:{fontSize:{sm:"15px",xs:"11px"},fontWeight:700,lineHeight:{sm:"24px",xs:"16px"}},description:{fontSize:"11px",fontWeight:400,lineHeight:"16px",color:i.S.neutralGrey500}}},57048:(e,t,r)=>{"use strict";r.d(t,{r:()=>b});var i=r(47388),a=r(17348),o=r(90656),n=r(61872),l=r(99701),s=r(22472),d=r(84983),c=r(57109),p=r(79920),u=r(81974),x=r(94795),m=r(770),g=r(64690),h=r(34376);let f={headlineStyles:{textTransform:"uppercase",fontSize:{xs:"20px",sm:"22px",md:"24px"},mb:2},descriptionStyles:{fontSize:{xs:"14px",sm:"15px",md:"16px"},mb:5}},b=({i18n:e,model:{headline:t,description:r,ctaModel:b},profileNumber:y,isPopup:S,mosaicAuthRedirectUri:C})=>{let{text:v}=b||{},{brand:k}=(0,c.usePageContext)(),A=p.io.use.setBiometricStatus(),w=p.io.use.setVerificationError(),{fetchMosaicSessionInformation:T,isLoading:j,error:I}=(0,x.E)(),{flow:R}=(0,u.m)(),P="string"==typeof I?I:null,L=(0,n.useRef)(!1),E=(0,n.useRef)(!1),[B,D]=(0,n.use
6State)(null),[M,F]=(0,n.useState)(null),z=(0,o.useRouter)(),N=(0,l.A)(e),_=(0,n.useCallback)(async()=>{if(!L.current&&!E.current&&y)try{let e;if(L.current=!0,A("initializing"),(e=await T(k,y))&&e.startToken)D(e),A("not-started"),E.current=!0;else{let t=P||e?.error||"Unable to start Mosaic session.";throw F(t),A("failed"),Error(t)}}catch(t){d.vF.error(t,"Error during Mosaic session initialization","TTC-MOSAIC");let e=t.message;F(e),A("failed"),w({step:"biometric",code:"MOSAIC_SESSION_ERROR",message:e,timestamp:new Date().toISOString(),retryable:!0,exitRoute:`biometric-init?flow=${R}`}),S||z.push("verification-failure"),E.current=!0}finally{L.current=!1}},[k,T,R,S,P,y,z,A,w]);(0,n.useEffect)(()=>{y&&(E.current=!1,L.current=!1,F(null),D(null))},[y]),(0,n.useEffect)(()=>{y&&_()},[_,y]);let W=(0,n.useCallback)(()=>{if(!B?.startToken){d.vF.error("No start token available for biometric verification"),A("cancelled");return}try{if(A("in-progress"),!C){d.vF.error("Missing Mosaic auth redirect URI"),A("failed");return}let e=`${C}/${B.startToken}`;globalThis.location.href=e}catch(e){d.vF.error(e),A("failed")}},[C,B,A]);return y&&!j&&!L.current||M||P?M||P?S?(0,i.jsx)(h.R,{show:!0,message:M||P||"An unknown error occurred.",type:"error",sx:{mb:1}}):(0,i.jsx)(s.Loader,{brand:k,isImmediatelyActive:!0}):B?(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(a.default,{maxWidth:"sm",sx:{py:{xs:4,sm:6},px:{xs:2,sm:4}},children:[(0,i.jsx)(g.F,{headline:t,description:r,styleParts:f}),(0,i.jsx)(m.r,{text:v||N("ttc.initiateVerification.label"),onClick:W,testId:"ttc-biometric-init-cta-button"})]})}):(0,i.jsx)(s.Loader,{isActive:!0,brand:k}):(0,i.jsx)(s.Loader,{isActive:!0,brand:k})}},57299:(e,t,r)=>{"use strict";r.d(t,{t:()=>i});let i=(0,r(61872).createContext)(void 0)},57438:(e,t,r)=>{"use strict";r.d(t,{O:()=>V});var i=r(47388),a=r(88307),o=r(80181),n=r(51101),l=r(40885),s=r(4010),d=r(52949),c=r(17783),p=r(61872),u=r(99701),x=r(10431),m=r(7566),g=r(23547),h=r(15134),f=r(41389),b=r(47928),y=r(5975),S=r(36582),C=r(63403),v=r(22083),k=r(31797),A=r(38129),w=r(90193),T=r(1263),j=r(2184),I=r(90544),R=r(3209),P=r(55301);let L={margin:"16px 0"},E={display:"flex",justifyContent:"space-between",gap:"24px",alignItems:"center"},B={display:"flex",gap:"8px",alignItems:"center",color:P.J.black100,fontWeight:500,overflowWrap:"anywhere"},D={gap:"8px",marginRight:"initial",flexDirection:"row-reverse","& > .MuiFormControlLabel-label":{color:P.J.black100,fontWeight:500,fontFamily:"inherit",lineHeight:"20px",overflowWrap:"anywhere"},"&.Mui-disabled":{cursor:"not-allowed"}},M={"&.MuiButtonBase-root.Check-box-button":{padding:"initial",color:"action.primary"},".MuiBox-root":{width:"16px",height:"16px","& > svg > path":{strokeWidth:1}}},F={margin:"initial",fontWeight:500,color:P.J.black100},z={margin:"8px 0","& > :first-child":{margin:"initial",color:"text.secondary",fontWeight:400,lineHeight:"20px"}},N=({item:e,addToTripLabel:t,acceptedLabel:r,includedInPlanLabel:a,liabilityDescription:o,freeLDWDescription:n,aliIncludedTitle:s,dayText:c,gsoAvisFirstTranslations:u,checked:m,onCheckedChange:g})=>{let{id:h,title:f,description:P,iconPath:N,included:_,amounts:W,currencyCode:H,price:U}=e,[O,Q]=(0,p.useState)(f),$=T.Q.use.isAuthenticated(),G=T.Q.use.isRecognized(),V=($||G)&&m&&e?.accepted===!0,J=j.K.use.isAvisFirst(),{showDailyRate:X}=(0,v.k)(),{belongsToRegions:Y}=(0,k.y)(),q=Y([A.g.NAM]),Z=H??"USD",K=(0,p.useMemo)(()=>{if(J&&"GSO"===h)return Q(u?.title||f),(0,b.p)((0,w.L)(u?.description||P,W,Z));if("ALI"===h&&_&&W&&o&&W.liabilityPerPersonAmount&&W.liabilityPerAccidentAmount&&W.propertyDamageAmount){Q(s||f);let e=(0,w.L)(o,W,Z);return e=e.replaceAll(".00",""),(0,b.p)(e)}
6if("CDW"===h&&void 0!==e.freeCDWIndicator&&!0===e.freeCDWIndicator&&n){let e=(0,w.L)(n,W,Z);return e=e.replaceAll(".00",""),(0,b.p)(e)}return(0,b.p)((0,w.L)(P,W,Z))},[P,W,Z,h,_]),ee=(0,R.F)(X,c);return(0,i.jsxs)(d.default,{children:[(0,i.jsx)(l.default,{sx:L}),(0,i.jsxs)(x.Q,{component:"div",children:[(0,i.jsxs)(x.Q,{component:"div",sx:E,children:[(0,i.jsxs)(x.Q,{component:"span",sx:B,"data-testid":"ancillaries-rental-preferences-dialog-item-info-title",children:[!!N&&(0,i.jsx)(I.AemImage,{src:N,alt:"icon","data-testid":"ancillaries-rental-preferences-dialog-image",width:16,height:16,"aria-hidden":"true"}),(0,i.jsx)(x.Q,{component:"div",variant:"bodyRegularMedium","data-testid":"rental-preferences-ancillaries-dialog-description",sx:F,dangerouslySetInnerHTML:{__html:(0,b.p)(O||"")}})]}),_?(0,i.jsx)(x.Q,{sx:D,variant:"bodySmallMedium","data-testid":"rental-preferences-ancillaries-dialog-item-included",children:a}):(0,i.jsx)(y.default,{sx:D,label:(0,i.jsx)(x.Q,{component:"span",variant:"bodySmallMedium",children:V?r:t}),control:(0,i.jsx)(S.default,{checked:m,name:h,className:"Check-box-button",sx:M,onChange:e=>{g(h,e.target.checked)}}),"data-testid":"rental-preferences-ancillaries-dialog-item-checkbox"})]}),(0,i.jsx)(x.Q,{component:"div",variant:"bodySmallRegular","data-testid":"rental-preferences-ancillaries-dialog-description",sx:z,dangerouslySetInnerHTML:{__html:K}}),!(q&&_)&&(0,i.jsxs)(d.default,{"data-testid":"rental-preferences-ancillaries-dialog-price",children:[(0,i.jsx)(x.Q,{variant:"titleLargeMedium",children:(0,C.up)(Number(U??0),{currency:Z})}),ee&&(0,i.jsx)(x.Q,{variant:"bodyRegularMedium",children:ee})]})]})]})},_={zIndex:9999,"& .MuiDialog-paperScrollPaper":{width:"100%",maxWidth:{sm:"500px",xs:"100%"}},"& .MuiPaper-root":{borderRadius:e=>{let t=`${e.borderRadius.main}px`;return{sm:t,xs:`${t} ${t} 0 0`}},margin:"0px"},"& .MuiDialog-container":{alignItems:{sm:"center",xs:"end"}}},W={fontWeight:700,overflowWrap:"anywhere"},H={width:"16px",height:"16px",marginTop:"8px",cursor:"pointer"},U={marginTop:"24px"},O={paddingX:"24px",marginTop:"0",height:"100%",maxHeight:"588px",overflowY:"auto",scrollbarWidth:"thin"},Q={marginTop:"24px","& > :first-child":{color:"text.secondary",margin:"initial"}},$={paddingTop:"24px",zIndex:1,background:"white",padding:"0 24px 24px 24px","& > :first-child":{width:"100%"}},G={display:"block",marginTop:{sm:"24px",xs:"20px"},fontWeight:500},V=({parts:e,config:t,protectionsSingleItems:r,addonsSingleItems:y,i18n:S,i18nKeys:C,onMoveToCheckout:v=()=>{},onExploreAncillaries:k,acceptedProducts:A=[]})=>{let w=(0,u.A)(S),{emitEvent:T}=(0,h.useAnalyticsGeneralEngagement)(),j=(0,p.useMemo)(()=>({title:w(C.gsoAvisFirstTitle),description:w(C.gsoAvisFirstDescription)}),[w,C]),[I,R]=(0,p.useState)(r?.map(e=>e.id===f.r.LDW?f.r.CDW:e.id)||[]),[P,L]=(0,p.useState)(y?.map(e=>e.id)||[]),E=!!r?.length||!!y?.length,{rentalPreferenceDialogActionPanel:B}=e||{},D=(0,p.useCallback)(()=>{v({protections:I,addOns:P})},[I,P,v]),M=(0,p.useCallback)(e=>{e?.currentTarget&&T(e.currentTarget,"RentalPreferenceDialog"),k({protections:I,addOns:P})},[T,k,I,P]),F=(0,p.useCallback)((e,t,r)=>{"protection"===r&&R(r=>t?[...r,e]:r.filter(t=>t!==e)),"addon"===r&&L(r=>t?[...r,e]:r.filter(t=>t!==e))},[]);return E?(0,i.jsxs)(a.default,{open:!0,onClose:M,className:"Rental-preference-dialog","data-testid":"rental-preferences-ancillaries-dialog",sx:_,children:[(0,i.jsxs)(o.default,{padding:3,children:[(0,i.jsxs)(n.default,{direction:"row",justifyContent:"space-between",columnGap:{sm:"24px",xs:"20px",width:"100%"},children:[(0,i.jsx)(x.Q,{"data-testid":"rental-preferences-ancillaries-dialog-title",variant:"bodyLargeBold",sx:W,children:t?.title??""}),(0,i.jsx)(m.U,{"data-testid":"rental-preferences-ancillaries-dialog-close-btn",sx:H,onClick:M,onKeyUp:e=>{"Enter"===e.key&&M(e)},tabIndex:0,role:"button","aria-hidden":"false","aria-label":w("global.button.close.label")||"Close"})]}),(0,i.jsx)(l.default,{sx:U})]}),(0,i.jsxs)(s.default,{sx:O,children:[(0,i.jsx)(x.Q,{component:"div",variant:"bodyRegularRegular","data-testid":"rental-preferences-ancillaries-dialog-description",sx:Q,dangerouslySetInnerHTML:{__html:(0,b.p)(t?.subtitle||"")}}),!!r?.length&&(0,i.jsxs)(d.default,{"data-testid":"rental-preferences-ancillaries-dialog-bundle-suggestion",children:[(0,i.jsx)(x.Q,{variant:"bodyRegularMedium",sx:G,"data-testid":"rental-preferences-ancillaries-dialog-bundle-name",children:w(C.protections)}),A&&A.length>0&&(0,i.jsx)(d.default,{sx:{backgroundColor:"#f5f5f5",border:"1px solid #ddd",borderRadius:"4px",padding:"12px",marginBottom:"16
6px",marginTop:"8px"},children:(0,i.jsx)(x.Q,{variant:"bodyRegularRegular",children:w(C.profilePreferencesAppliedMessage)})}),r.map(e=>(0,i.jsx)(N,{item:e,addToTripLabel:w(C.addToTripLabel),acceptedLabel:w(C.acceptedLabel),includedInPlanLabel:w(C.includedInPlanLabel),liabilityDescription:w(C.liabilityDescription),freeLDWDescription:w(C.freeLDWDescription),aliIncludedTitle:w(C.aliIncludedTitle),dayText:w(C.day),checked:I.includes(e.id),onCheckedChange:(...e)=>F(...e,"protection")},e.id))]}),!!y?.length&&(0,i.jsxs)(d.default,{"data-testid":"rental-preferences-ancillaries-dialog-bundle-suggestion",children:[(0,i.jsx)(x.Q,{variant:"bodyRegularMedium",sx:G,"data-testid":"rental-preferences-ancillaries-dialog-bundle-name",children:w(C.addOns)}),y.map(e=>(0,i.jsx)(N,{item:e,addToTripLabel:w(C.addToTripLabel),includedInPlanLabel:w(C.includedInPlanLabel),gsoAvisFirstTranslations:j,dayText:w(C.day),checked:P.includes(e.id),onCheckedChange:(...e)=>F(...e,"addon")},e.id))]})]}),(0,i.jsx)(c.default,{id:"dialog-actions",sx:$,children:B?(0,i.jsx)(B,{link:w(C.continueWithSelectedProducts),buttonValue:w(C.exploreAncillariesLabel),mobileAvisButtonValue:w(C.explore),isContinueWithSelectedProducts:!!I?.length||!!P?.length,onClose:M,handleNext:D}):(0,i.jsx)(d.default,{sx:{display:"flex",justifyContent:"flex-end",width:"100%",paddingTop:"24px"},children:(0,i.jsx)(g.D,{variant:"contained",className:"primary","data-testid":"rental-preferences-ancillaries-dialog-continue-btn",onClick:M,children:w(C.exploreAncillariesLabel)})})})]}):null}},57553:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var i=r(90656),a=r(77389);let o=()=>{let e=(0,i.useRouter)();return{navigateTo:(t,r)=>(0,a.oo)(e,t,r)}}},57565:(e,t,r)=>{"use strict";r.d(t,{T:()=>h});var i=r(47388),a=r(52949),o=r(99701),n=r(57109),l=r(38831),s=r(63903),d=r.n(s);r(61872);var c=r(10431);let p={display:"flex",width:{lg:"450px",xs:"343px"},padding:"24px",flexDirection:"column",alignItems:"center",borderRadius:"8px",background:r(55301).J.white100,boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.06)"},u={marginTop:{lg:"24px",xs:"16px"}},x={marginTop:"32px",width:"100%",height:"40px"},m=({title:e,description:t,buttonText:r,directionsLink:o="#"})=>(0,i.jsxs)(a.default,{sx:p,"data-testid":"claim-points-component",children:[(0,i.jsx)(c.Q,{"data-testid":"claim-points-title",variant:"titleLargeBold",component:"div",children:e}),(0,i.jsx)(c.Q,{"data-testid":"claim-points-description",sx:u,variant:"bodyRegularRegular",component:"div",children:t}),(0,i.jsx)(d(),{prefetch:!1,href:o,passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(l.default,{"data-testid":"claim-points-button",disableRipple:!0,variant:"contained",color:"primary",sx:x,href:o,target:"_blank",children:(0,i.jsx)(c.Q,{variant:"actionRegularMedium",children:r})})})]}),g={display:"flex",flexDirection:"column",margin:"0 auto",padding:{xs:"48px 16px",sm:"56px"}},h=({aemAttributes:e,model:t})=>{let{claimMissingMilesPointsLink:r,i18n:l}=t,s=(0,o.A)(l),{region:d}=(0,n.usePageContext)();return(0,i.jsx)(a.default,{id:t.id,...e,"data-aue-type":"component","data-testid":"claim-your-points-component",sx:g,children:"emea"===d&&(0,i.jsx)(m,{title:s("claimYourMissingMilesPoints.title"),description:s("claimYourMissingMilesPoints.description.label"),buttonText:s("claimYourMissingMilesPoints.startYourClaim.button.label"),directionsLink:r})})}},58016:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});let i={primary:"#006BBF",secondary:"#F2F5FA",primaryBackground:"#FFF",black:"#0D0D0B",white:"#FFFFFF",actionDisabled:"#E8E6E6",neutralGrey100:"#FAFAFA",red800:"#91001D",neutralGrey200:"#F1F1F1",neutralGrey300:"#E4E7EB",neutralGrey400:"#D3DCE1",neutralGrey500:"#494E57",neutralGrey600:"#65615D",neutralGrey650:"#ABABAB",neutralGrey700:"#393636",neutralGrey750:"#736d6d",neutralGrey700NoText:"#747E86",neutralGrey800:"#576169",neutralGrey900:"#3B4249",primary100:"#FFFFFF",primaryHoverInverse:"rgba(255, 255, 255, 0.6)",primary300:"#006BBF",primary500:"#ED5505",primaryDarkBlue:"#00285F",primaryLightBlue:"#EEF0F3",secondary500:"#006098",secondaryMain:"#F5D557",secondaryDark:"#000000",utilityBackgroundCard:"#F2F5F9",transparencyDark60:"rgba(25, 28, 31, 0.6)",neutral100:"#F2F5FA",neutral200:"#E4E7EB",neutral300:"#C0C5CC",neutral400:"#6B7078",neutral500:"#494E57",neutral600:"#32373D",neutralBlack:"#000000",transparencyDark40:"#191C1F66",blue100:"#E6EBF3",blue200:"#C9D9F0",blue400:"#006BBF",orange100:"#CC460D",errorAlert:"#B31534",errorSubtle:"#b3153433",errorLight:"#FBF2F4",mediumContrast:"#C0C5CC"}},58228:(e,t,r)=>{"use strict";r.d(t,{x:()=>i});let i={requiredMark:{},textField:{},selectPlaceholder:{},selectItem:{},error:{}}}
6,58746:(e,t,r)=>{"use strict";r.d(t,{d:()=>a});var i,a=((i={}).Q="Q",i)},58894:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckProfileManagement:()=>u});var i=r(47388),a=r(19995),o=r(25493),n=r(32985),l=r(58016);let s={dialogContainer:{"& .MuiDialog-paper":{borderRadius:{xs:"24px 24px 0 0",sm:"24px"}}},dialogTitle:{color:l.S.neutralBlack},dialogSubtitle:{color:l.S.neutral500},dialogConfirmButton:{padding:"8px 16px",borderRadius:"24px",color:l.S.white,cursor:"pointer","&:hover":{backgroundColor:l.S.blue400}},dialogCancelButton:{padding:"8px 16px",borderRadius:"24px",border:`1px solid ${l.S.primaryDarkBlue} !important`,color:l.S.primaryDarkBlue,cursor:"pointer"}};var d=r(56921);let c={root:{}};var p=r(58228);let u=e=>(0,i.jsx)(a.g,{aemAttributes:e.aemAttributes,children:(0,i.jsx)(o.E,{children:(0,i.jsx)(n.P,{...e,styleParts:c,partProps:{formError:{styleParts:d.x},textControl:{styleParts:p.x},dialogControl:{styleParts:s}}})})})},59188:(e,t,r)=>{"use strict";r.d(t,{G:()=>o,U:()=>n});var i,a,o=((i={}).Location="location",i.Offer="offer",i),n=((a={}).Inline="inline",a.ContentPages="contentPages",a)},60724:(e,t,r)=>{"use strict";r.d(t,{j:()=>n});var i=r(47388),a=r(61872),o=r(57299);let n=({children:e})=>{let[t,r]=(0,a.useState)("layout1");return(0,i.jsx)(o.t.Provider,{value:{layoutType:t,setLayoutMode:e=>{r(e)}},children:e})}}
6,62148:(e,t,r)=>{"use strict";r.d(t,{w:()=>v});var i=r(47388),a=r(88365),o=r(33392),n=r(52949),l=r(10431),s=r(47928),d=r(53449),c=r(91733),p=r(61872),u=r(2886),x=r(38831),m=r(63903),g=r.n(m);let h=({link:e,style:t,target:r,text:a,testId:o})=>(0,i.jsx)(g(),{prefetch:!1,href:e||"#",passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(x.default,{disableRipple:!0,classes:{root:t||"primary"},href:e||"#",target:r||"_self",sx:{width:"fit-content"},"data-testid":o,children:(0,i.jsx)(l.Q,{variant:"actionRegularMedium",children:a})})});var f=r(64228);let b=({label:e,visibility:t,styleParts:r,testId:a})=>(0,i.jsx)(n.default,{sx:{visibility:t,...(0,f.iX)(c.L,r,"highlightedWrapper")},children:(0,i.jsx)(l.Q,{align:"center",variant:"tagRegular",sx:(0,f.iX)(c.L,r,"highlighted"),"data-testid":a,children:e||"label"})});var y=r(37514),S=r(7566);let C=({styleParts:e,iconType:t})=>"checkbox"===t?(0,i.jsx)(y.S,{"data-testid":"content-table-cell-included-icon",sx:(0,f.iX)(c.L,e,"checkItemIconDimensions"),stroke:(0,f.iX)(c.L,e,"checkItemIcon")?.stroke,strokeWidth:(0,f.iX)(c.L,e,"checkItemIcon")?.strokeWidth}):(0,i.jsx)(S.U,{"data-testid":"content-table-cell-excluded-icon",sx:(0,f.iX)(c.L,e,"closeItemIconDimensions"),stroke:(0,f.iX)(c.L,e,"closeItemIcon")?.stroke,strokeWidth:(0,f.iX)(c.L,e,"closeItemIcon")?.strokeWidth}),v=({model:e,aemAttributes:t={},styleParts:r={}})=>{let x=(0,a.A)(),m=(0,o.A)(x.breakpoints.down("sm")),{rowIndex:g=0,hasLabels:f=!1,label:y="",colIndex:S=0}=(()=>{let e=(0,p.useContext)(u.B);if(!e)throw Error("useContentTableCellContext must be used within a ContentTableCellProvider");return e})(),{contentType:v,cellProperties:{iconType:k,headline:A,description:w,textAlignment:T,ctaLink:j,ctaStyle:I,ctaTarget:R,ctaText:P}={}}=e||{},L=0===S,E=0===g,B={border:E?"none":c.L.cellTopBorder,padding:L?"16px 0px":"16px 8px",...E&&{paddingTop:"0px"},...c.L.cell},D=L?"left":T||"center";return(0,i.jsxs)(n.default,{...t,"data-aue-type":"component","data-testid":`content-table-cell-${g}-${S}`,"data-slot":"cell","data-row":g,sx:B,children:[f&&E&&(0,i.jsx)(b,{visibility:y?"visible":"hidden",label:y,styleParts:r,testId:`highlighted-label-${S}`}),"button"===v&&(0,i.jsx)(n.default,{sx:{...c.L.cellContentCenterWrapper},children:(0,i.jsx)(h,{link:j??null,style:I??null,target:R??null,text:P??null,testId:`table-cell-button-${g}-${S}`})}),"icon"===v&&(0,i.jsx)(n.default,{sx:{...c.L.cellContentCenterWrapper},children:(0,i.jsx)(C,{iconType:k??null,styleParts:r})}),"text"===v&&(0,i.jsxs)(n.default,{sx:{...c.L.cellContentTextWrapper},children:[(0,i.jsx)(l.Q,{"data-testid":`table-cell-headline-${g}-${S}`,"data-slot":"headline","data-row":g,sx:{textAlign:D,typography:L?{xs:"actionRegularMedium",sm:"bodyRegularMedium"}:{xs:"bodySmallBold",sm:"bodyRegularBold"}},children:A}),(0,i.jsx)(n.default,{"data-slot":"description","data-row":g,"data-testid":`table-cell-description-${g}-${S}`,sx:{textAlign:D,...(0,d.O)({isMobile:m,isFirstColumn:L,contentTableBaseStyles:c.L,styleParts:r})},dangerouslySetInnerHTML:{__html:(0,s.p)(w||"")}})]})]})}},62252:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckVerticalNavigation:()=>l,getBudgetTruckVerticalNavigationStyles:()=>a});var i=r(58016);let a=(e="primary")=>{let t="primary"===e?i.S.neutral100:i.S.white;return{listItem:{borderRadius:"24px",".MuiTypography-root":{fontSize:"15px"},"&:hover":{backgroundColor:"transparent"},"&.Mui-selected":{"&:hover":{backgroundColor:t},backgroundColor:t}},selectMenu:{"&.MuiSelect-root":{backgroundColor:t,".MuiSelect-select":{fontSize:"15px",backgroundColor:t,":hover":{backgroundColor:t}},"&.Mui-focused":{backgroundColor:t}}},selectMenuItem:{".MuiTypography-root":{fontSize:"15px"}}}};var o=r(47388),n=r(30530);let l=({aemAttributes:e,children:t,...r})=>(0,o.jsx)(n.H,{...r,aemAttributes:e,styleParts:a(r?.model?.hoverEffect),children:t})},62266:(e,t,r)=>{"use strict";r.d(t,{g:()=>p});var i=r(47388),a=r(52949),o=r(43975),n=r(51102),l=r(21999),s=r(2420),d=r(41386),c=r(4959);let p=({model:e,parts:t={},partProps:r={},styleParts:p={},preselectedExtras:u,aemAttributes:x})=>{let m=(0,c.sx)(e),g=(0,d.I)(),h=o.Hs.AddOns;return(0,i.jsx)(a.default,{...x,"data-aue-label":"AddOns","data-aue-type":"component","data-testid":`${h}-aem-container`,sx:{width:"100%"},children:(0,i.jsx)(s.q,{model:e,children:(0,i.jsx)(n.l,{pageType:h,model:m,children:(0,i.jsx)(l._,{pageType:h,styleParts:p,partProps:r,parts:t,model:m,preselectedExtras:u},g)})})})}},62353:(e,t,r)=>{"use strict";r.d(t,{W:()=>n});
6var i=r(47388),a=r(30002),o=r(58016);let n=({aemAttributes:e,children:t,...r})=>(0,i.jsx)(a.B,{aemAttributes:e,...r,primaryColor:o.S.primaryBackground,secondaryColor:o.S.secondary,children:t})},63107:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckPopularLocations:()=>s});var i=r(47388),a=r(75842),o=r(59188),n=r(5788),l=r(99616);let s=({aemAttributes:e,model:t,children:r,...s})=>(0,i.jsx)(a.I,{aemAttributes:{...e,"data-aue-type":t.contentSource===o.U.Inline?"container":"component","data-aue-model":"budgettrucks-locations-content-popularlocation"},model:t,styleParts:l.A,couponCodeKey:n.b,...s,children:r})},64690:(e,t,r)=>{"use strict";r.d(t,{F:()=>l});var i=r(47388),a=r(52949),o=r(13828),n=r(19294);let l=({headline:e,description:t,className:r,styleParts:l})=>(0,i.jsxs)(a.default,{className:r,children:[(0,i.jsx)(n.$,{text:e,sx:l?.headlineStyles}),(0,i.jsx)(o.V,{text:t,sx:l?.descriptionStyles})]})},64822:(e,t,r)=>{"use strict";r.d(t,{Bj:()=>n,Gy:()=>l,nQ:()=>o});var i=r(55871),a=r(61530);let o=(e,t)=>{if(e&&t)try{return(0,a.m)((0,i.H)(t),(0,i.H)(e))}catch{return}},n=(e,t,r)=>{let{booking_window_days:n,booking_window_wk:l}=((e,t)=>{if(!e)return{};try{let r=(0,i.H)(e),o=t?(0,i.H)(t):new Date,n=(0,a.m)(r,o);if(n<0)return{};let l=Math.round(n/7*10)/10;return{booking_window_days:n,booking_window_wk:l}}catch{return{}}})(e,r);return{length_of_rental_days:o(e,t),booking_window_days:n,booking_window_wk:l}},l=e=>{if(e)return e.toUpperCase()}},64952:(e,t,r)=>{"use strict";r.d(t,{o:()=>a});var i=r(47358);let a=({registrationFormType:e})=>{let{ExpressEnrollmentNamApac:t,RegistrationFormEmea:r,RegistrationFormNamApac:a,FreedaysRegistrationFormNamApac:o}=i.cS;return{isExpressNamApac:e===t,isNamApac:e===a,isEmea:e===r,isFreeDaysNamApac:e===o}}},65372:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckHeader:()=>f});var i=r(47388),a=r(49855),o=r(9218),n=r(58016);let l={drawerBackButton:{marginTop:"17px",fontSize:"14px",lineHeight:"24px",color:n.S.black,border:`1px solid ${n.S.black} !important`,borderRadius:"28px",padding:"4px 16px"},drawerNavigationList:{padding:"24px 0 21px",gap:"40px"},drawerBackIcon:{width:"16px",marginRight:"4px"}},s={"&:focus, &:hover":{backgroundColor:n.S.primaryLightBlue}},d={menu:{".MuiBackdrop-root":{backgroundColor:n.S.black+"b3"},".MuiPopover-paper":{marginTop:"32px",marginLeft:"-30px"}},menuItem:{padding:"12 16px","&.Mui-selected":s,...s}};var c=r(15232);let p={linksListTitle:{...{fontSize:"16px",lineHeight:"20px",color:n.S.neutralGrey900,marginBottom:"16px"}},carListTitle:{color:{xs:n.S.secondaryDark,md:n.S.neutralGrey700},fontSize:{xs:"18px",md:"14px"},fontWeight:{xs:700,md:400},lineHeight:{xs:"22px",md:"20px"}},linksListsColumn:{padding:"24px 56px","&.accented":{".MuiBox-root":{backgroundColor:n.S.primary300,padding:"24px",borderRadius:"18px"},".list-title":{color:"#F4F3F2",fontSize:"18px",lineHeight:"24px",fontWeight:700},".MuiListItem-root":{color:n.S.primary100,"&:hover":{color:n.S.primaryHoverInverse}}}},listColumnList:{gap:"14px",padding:0,height:"100%"},linksListColumnListItemLink:{"&:hover":{color:n.S.primary,textDecoration:"underline"},"&:focus":c.cR,".accented &:hover":{color:n.S.primaryHoverInverse},".accented &:focus":c.Jp},linksListColumnListItem:{fontSize:"14px",lineHeight:"20px",fontWeight:500},linksListColumnListItemLinkText:{fontSize:"16px",lineHeight:"20px",fontWeight:"500",".accented &":{color:n.S.white},"&:hover":{color:n.S.primary},".accented &:hover":{color:n.S.primaryHoverInverse}},linksListsGrid:{rowGap:"16px"},carLinksContainer:{backgroundColor:n.S.neutralGrey100,padding:"24px 0"},carList:{gap:{xs:"10px",md:"80px"}},carListItem:{width:"154px","&:hover":{color:n.S.primary}},accentedContainer:{paddingTop:"30px",paddingBottom:"30px",backgroundColor:n.S.utilityBackgroundCard,gap:"32px"},mobileHamburgerNavigationList:{gap:"24px"},mobileHamburgerNavigationItem:{color:n.S.neutralGrey700,"&:hover":c.Kn},mobileHamburgerNavigationItemText:{fontSize:"16px",lineHeight:"24px",fontWeight:500,color:"inherit"},mobileHamburgerNavigationItemIcon:{color:n.S.primaryDarkBlue},downloadMobileAppButtonRoot:{borderRadius:"100px",padding:"16px 32px"},downloadMobileAppButtonTitle:{fontWeight:700,fontSize:"14px",lineHeight:"24px",color:n.S.neutralGrey900},downloadMobileAppButtonText:{fontSize:"12px",lineHeight:"18px",color:n.S.neutralGrey800},downloadMobileAppButtonChevron:{fill:n.S.primaryDarkBlue},humburgerIcon:{color:{xs:n.S.primaryDarkBlue,sm:n.S.black}}
6,hamburgerMenuTrigger:{"&:focus":c.cR}},u={root:{border:"1px solid #F4F3F2",boxShadow:"none"},logoLink:{width:{xs:"97px",sm:"120px"}}},x={topLinksList:{padding:"27px 0",gap:"27px"},secondaryLinksList:{gap:"40px"},primaryLinkText:{"&:hover":c.Kn},secondaryLinkText:{"&:hover":c.Kn},drawerIcon:{color:n.S.blue400,width:"20px"},drawerHeader:{},headerMobileBanner:{".text-wrapper":{backgroundColor:n.S.primary500}}},m={headerNavItem:{"&.opened, &:hover, &:focus":{outlineOffset:"8px",color:n.S.primary,".MuiSvgIcon-root":{fill:n.S.primary}}},drawerContent:{padding:"24px 0",gap:"80px"},linksListItem:{"&:not(:first-of-type)":{marginTop:"10px"}},categoryHeader:{fontSize:"18px",lineHeight:"22px",textTransform:"capitalize"},listItemLink:{fontSize:"14px"},headerBanner:{".text-wrapper":{backgroundColor:n.S.primary500}}},g={loginButton:{color:{xs:n.S.primaryDarkBlue,sm:n.S.black},"&:hover":{color:n.S.primary}},loginPrompt:{borderRadius:"12px",backgroundColor:n.S.neutral500,color:n.S.white},loginPromptArrow:{color:n.S.neutral500},signInDialog:{wrapper:{"& .MuiPaper-root":{borderRadius:"16px"}},title:{color:n.S.secondaryDark,fontFamily:'"Budget Sans"'}},menuContainer:{".MuiPaper-root":{borderRadius:"16px"}},menuItems:{".MuiLink-root":{}},logoutButton:{":focus":{backgroundColor:n.S.primaryDarkBlue}},timeOutDialogModal:{container:{"& .MuiDialog-paper":{borderRadius:{xs:"16px 16px 0px 0px",sm:"24px"},margin:{xs:"0px"}},"& .MuiDialog-container":{alignItems:{xs:"end",sm:"center"}}},content:{}},createAvisBudgetAccountCTA:{backgroundColor:n.S.primaryDarkBlue,"&:hover":{backgroundColor:n.S.primary},"&:focus":{backgroundColor:n.S.primary,border:`1px solid ${n.S.primary} !important`,outlineColor:`${n.S.primary} !important`}},avisBudgetAmazonAccountTitle:{mobile:{marginBottom:"4px"},desktop:{}},avisBudgetAmazonCTASeparatorText:{color:n.S.neutral500},avisBudgetAmazonCTASeparatorDivider:{width:"100%",maxWidth:"15px",borderTop:`1px solid ${n.S.mediumContrast}`},connectAvisBudgetAccountCTA:{border:`1px solid ${n.S.neutral600} !important`,"&:hover":{backgroundColor:n.S.primary,color:n.S.white,border:`1px solid ${n.S.primary} !important`},"&:focus":{backgroundColor:n.S.primary,color:n.S.white,border:`1px solid ${n.S.primary} !important`,outlineColor:`${n.S.primary} !important`}},logoutAmazonCTA:{backgroundColor:n.S.neutral100,"&:hover":{backgroundColor:n.S.primary,color:n.S.white},"&:focus":{backgroundColor:n.S.primary,color:n.S.white,border:`1px solid ${n.S.primary} !important`,outlineColor:`${n.S.primary} !important`}}},h={wrapper:{},name:{},pointsLabel:{}},f=({aemAttributes:e,...t})=>(0,i.jsx)(o.Y,{...t,aemAttributes:e,styleParts:u,parts:{dropdownIcon:a.b,downloadAppButtonLogo:"/_next/_v/2.9.2.s15.31/_next/static/media/budget-download-button-logo.c8b6d139.png"},partProps:{logo:{width:120,height:34},headerNavigation:{styleParts:m},hamburgerMenu:{styleParts:p},dropdownMenu:{styleParts:d},dropdownDrawer:{styleParts:l},headerMobileNavigation:{styleParts:x},profileMenu:{styleParts:g},userProfileInfo:{styleParts:h}}})},65873:(e,t,r)=>{"use strict";r.d(t,{RL:()=>c,uB:()=>l,GW:()=>d,Z9:()=>s});var i=r(25229),a=r(23141);function o(e){return e.filter(Boolean)}var n=r(80156);let l=(e,t,r)=>{let i=r?.map(e=>e.key)??[];return e===t?"current":i.includes(e)?"next":"previous"},s=({isOnProfilePage:e,activationState:t,isRegistrationSession:r,isEmailVerified:i,showSettingsStep:a,brand:l})=>{let s=a?n.vu:n.vu.filter(e=>e.key!==n.gj.SETTINGS),d=new Set([n.dS.PROTECTIONS_AND_COVERAGES_REQUIRED,n.dS.TERMS_AND_CONDITIONS_REQUIRED,n.dS.LOYALTY_PROGRAMS_REQUIRED]),c=Array.from(d,e=>({key:e}));if(!t)return{activeStep:n.gj.CREDIT_CARD,steps:s,incompleteSteps:s.slice(1),incompleteSettingsSteps:c};if(t.includes(n.dS.ACTIVATED)&&!i){let e=s.find(e=>e.key===n.gj.PERSON),t=s.find(e=>e.key===n.gj.EMAIL),r=s.filter(e=>e.key!==n.gj.PERSON&&e.key!==n.gj.EMAIL);return{activeStep:n.gj.EMAIL,steps:o([e,...r,t]),incompleteSteps:[t],incompleteSettingsSteps:c}}let p=new Set;t.includes(n.dS.CREDIT_CARD_REQUIRED)&&p.add(n.gj.CREDIT_CARD),t.includes(n.dS.DRIVERS_LICENSE_REQUIRED)&&p.add(n.gj.DRIVER_LICENSE);let u=t.filter(e=>d.has(e)),x=u.map(e=>({key:e}));u.length>0&&p.add(n.gj.SETTINGS);let m=s.find(e=>e.key===n.gj.PERSON),g=s.find(e=>e.key===n.gj.EMAIL),h=s.filter(e=>e.key!==n.gj.PERSON&&e.key!==n.gj.EMAIL&&!p.has(e.key)),f=s.filter(e=>e.key!==n.gj.PERSON&&e.key!==n.gj.EMAIL&&p.has(e.key));if(e&&r){let e=f[0]?.key??n.gj.CREDIT_CARD;return i?{activeStep:e,steps:o([m,g,...h,...f]),incompleteSteps:[...f],incompleteSettingsSteps:x}:{activeStep:e,steps:o([m,...h,...f,g]),incompleteSteps:[...f,g],incompleteSettingsSteps:x}}if(!e&&!r)return{activeStep:n.gj.EMAIL,steps:o([m,...h,g,...f]),incompleteSteps:[...f],incompleteSettingsSteps:x};if(e&&!r){let e=f[0]?.key??n.gj.CREDIT_CARD;return i?{activeStep:e,steps:o([m,g,...h,...f]),incompleteSteps:[...f],incompleteSettingsSteps:x}:{activeStep:n.gj.EMAIL,steps:o([m,...h,g,...f]),incompleteSteps:[...f,g],incompleteSettingsSteps:x}}return!e&&r?"budget"!==l||i?{activeStep:f[0]?.key??(i?n.gj.CREDIT_CARD:n.gj.EMAIL),steps:o([m,...h,...f,g]),incompleteSteps:[...f,g],incompleteSettingsSteps:x}:{activeStep:n.gj.EMAIL,steps:o([m,...h,g,...f]),incompleteSteps:o([g,...f]),incompleteSettingsSteps:x}:{activeStep:n.gj.CREDIT_CARD,steps:s,incompleteSteps:s.slice(1),incompleteSettingsSteps:c}},d=e=>{if(!e)return{};let t=e?.address?.length&&e?.address[0]?{country_of_residence:e.address[0].countryCode,user_input_state:e.address[0].stateProvince??"",user_input_city:e.address[0].city}:{}
6,r=e.preferences?.communications?.communicationDetails?.find(({communicationType:e})=>e===a.ProfilePreferenceCommunicationType.OFFER),o=e.preferences?.communications?.communicationDetails?.find(({communicationType:e})=>e===a.ProfilePreferenceCommunicationType.BOOKING),n={email_opt_in:r?r.channelPreference?.some(({channelType:e,status:t})=>e===a.ProfilePreferenceChannelType.EMAIL&&t===a.ProductPreferenceStatus.SELECTED):void 0,sms_opt_in:o?o.channelPreference?.some(({channelType:e,status:t})=>e===a.ProfilePreferenceChannelType.SMS&&t===a.ProductPreferenceStatus.SELECTED):void 0},l=e.savedCardDetails?.savedCards?.length?{primary_payment_card_type:e.savedCardDetails?.savedCards[0]?.clubType??""}:{},s=e.preferences?.products&&e.preferences?.products.filter(({type:e,status:t})=>e===i.ProductPreferenceType.INSURANCE&&t===a.ProductPreferenceStatus.SELECTED),d=s?{protections_selected:s.map(({code:e})=>e).join(", ")||""}:{},c=e.benefitsProgram?.length||e.partnerLoyalty?.length?{rewards_program:e.benefitsProgram?.some(({name:e,status:t})=>"LOYALTY"===e&&t===a.ProductPreferenceStatus.SELECTED)?"avisPreferred":e.partnerLoyalty?.[0]?.frequentTravelerPartnerCode||""}:{};return{...t,...n,...l,...d,...c}},c=(e,t)=>e?e?.filter(e=>e!==t):[]},66032:(e,t,r)=>{"use strict";r.d(t,{_:()=>n});var i=r(47388),a=r(52949);r(61872);var o=r(99405);let n=({aemAttributes:e,model:t,styleParts:r={}})=>{let{headline:n,bodyContent:l,iconPath:s,imagePath:d,ctaLink:c,ctaTitle:p,ctaAction:u,trackingId:x}=t,m={headline:n,...l&&{bodyContent:l},...s&&{iconPath:s},...d&&{imagePath:d},...c&&{ctaLink:c},...p&&{ctaTitle:p},...u&&{ctaAction:u},...x&&{trackingId:x}};return(0,i.jsx)(a.default,{...e,"data-testid":"content-card-element","data-aue-type":"component",children:(0,i.jsx)(o.h,{...m,styleParts:r})})}},66160:(e,t,r)=>{"use strict";r.d(t,{W:()=>x});var i=r(47388),a=r(88365),o=r(33392),n=r(52949),l=r(61872),s=r(55301),d=r(91733),c=r(2886);let p=({children:e,value:t})=>(0,i.jsx)(c.B.Provider,{value:t,children:e});var u=r(24672);let x=({model:e,aemAttributes:t={},styleParts:r={},children:c=[]})=>{let{colIndex:x=0,hasLabels:m=!1,shouldAddColumnGap:g=!1,hasOverflow:h=!1,isHovered:f=!1}=(()=>{let e=(0,l.useContext)(u.b);if(!e)throw Error("useContentTableColumnContext must be used within a ContentTableColumnProvider");return e})(),b=(0,a.A)(),y=(0,o.A)(b.breakpoints.down("sm")),{columnLabel:S="",highlightColumn:C=!1}=e||{},v=0===x,k=y&&v,A=k?s.J.white100:"transparent",w={gridColumn:v?"1":void 0,position:k?"sticky":"relative",left:k?0:"unset",zIndex:k?2:1,backgroundColor:C?r.highlightedColumnBackground:A,marginRight:g?"2px":"0",border:k&&h&&f?d.L.cellRightBorder:"none",...d.L.column};return(0,i.jsx)(n.default,{...t,"data-aue-type":"container","data-testid":`content-table-column-${x}`,sx:w,children:l.Children.map(c,(e,t)=>(0,l.isValidElement)(e)?(0,i.jsx)(p,{value:{hasLabels:m,rowIndex:t,label:C?S:void 0,colIndex:x},children:e},`${t}-${x}`):e)})}},66936:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});let i={primary:"#006BBF",secondary:"#F2F5FA",primaryBackground:"#FFF",black:"#0D0D0B",white:"#FFFFFF",actionDisabled:"#E8E6E6",neutralGrey100:"#FAFAFA",red800:"#91001D",neutralGrey200:"#F1F1F1",neutralGrey300:"#E4E7EB",neutralGrey400:"#D3DCE1",neutralGrey500:"#494E57",neutralGrey600:"#65615D",neutralGrey650:"#ABABAB",neutralGrey700:"#393636",neutralGrey750:"#736d6d",neutralGrey700NoText:"#747E86",neutralGrey800:"#576169",neutralGrey900:"#3B4249",primary100:"#FFFFFF",primaryHoverInverse:"rgba(255, 255, 255, 0.6)",primary300:"#006BBF",primary500:"#ED5505",primaryDarkBlue:"#00285F",primaryLightBlue:"#EEF0F3",secondary500:"#006098",secondaryMain:"#F5D557",secondaryDark:"#000000",utilityBackgroundCard:"#F2F5F9",transparencyDark60:"rgba(25, 28, 31, 0.6)",neutral:"#F5F7FA",neutral100:"#F2F5FA",neutral200:"#E4E7EB",neutral300:"#C0C5CC",neutral400:"#6B7078",neutral500:"#494E57",neutral600:"#32373D",neutralBlack:"#000000",transparencyDark40:"#191C1F66",transparencyShadowLight:"rgba(0, 0, 0, 0.04)",transparencyShadowMedium:"rgba(0, 0, 0, 0.1)",blue100:"#E6EBF3",blue200:"#C9D9F0",blue400:"#006BBF",orange100:"#CC460D",errorAlert:"#B31534",errorSubtle:"#b3153433",errorLight:"#FBF2F4",mediumContrast:"#C0C5CC",disabledText:"rgba(31, 29, 29, 0.40)"}},69088:(e,t,r)=>{"use strict";r.d(t,{L:()=>a});var i=r(58016);let a={title:{fontSize:{xs:"28px",sm:"32px"},lineHeight:{xs:"32px",sm:"40px"}},subTitle:{fontSize:"15px",color:i.S.neutral500},wrapper:{borderRadius:"24px"},divider:{background:i.S.neutral200},singleItem:{title:{},description:{color:i.S.neutralGrey500,fontSize:"15px"},seeMoreDetails:{fontSize:"13px"},price:{lineHeight:"26px"},priceLabel:{fontSize:"15px"},includedInBundle:{fontSize:"13px",color:i.S.neutral500},addToTrip:{wrapper:{"&:hover":{color:{sm:i.S.blue400},"& .MuiCheckbox-root":{boxShadow:"none",bgcolor:"transparent"},"& .MuiBox-root":{borderColor:{sm:i.S.blue400}}}},label:{fontSize:"13px"},checkbox:{color:i.S.primaryDarkBlue,"&.Mui-checked":{color:i.S.primaryDarkBlue}}},categoryTitle:{fontSize:{xs:"20px",sm:"26px"},lineHeight:{xs:"24px",sm:"32px"}},counter:{input:{backgroundColor:i.S.neutral100,color:i.S.secondary
6Dark,fontWeight:500,fontSize:"13px",lineHeight:"20px","&.$Mui-disabled":{fontWeight:400,color:i.S.neutral400}},button:{disabled:{borderColor:i.S.neutral200,backgroundColor:i.S.white,color:i.S.transparencyDark40,"&:hover":{borderColor:i.S.neutral200,backgroundColor:i.S.white,color:i.S.transparencyDark40}},enabled:{borderColor:i.S.primaryDarkBlue,backgroundColor:i.S.white,color:i.S.secondaryDark,"&:hover":{borderColor:i.S.blue400,backgroundColor:i.S.white,color:i.S.blue400}},selected:{borderColor:i.S.primaryDarkBlue,backgroundColor:i.S.primaryDarkBlue,color:i.S.white,"&:hover":{borderColor:i.S.blue400,backgroundColor:i.S.white,color:i.S.blue400}}}},bookAgain:{borderRadius:"100px",backgroundColor:i.S.neutral100,color:i.S.neutral500,fontSize:"11px",lineHeight:"16px",whiteSpace:"nowrap"}}}},69385:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});var i=r(23141);let a=i.GeographicRegionCode.U,o=new Map([...i.GeographicRegionCodeMap.entries()].filter(e=>void 0!==e[0]).map(([e,t])=>[t,e]));o.set(i.RegionsEnum.NAM,i.GeographicRegionCode.U);let n=e=>{if(!e)return a;let t=e.toUpperCase(),r=i.countryRegionMap.get(t);return r?o.get(r)??a:a}},69491:(e,t,r)=>{"use strict";r.d(t,{d:()=>o});var i=r(55301),a=r(58016);let o={descriptionBar:{background:i.J.lightGrey200,"> div":{background:i.J.lightGrey200}},formGroupDescription:{lineHeight:"24px",color:i.J.blackBudgetTitle,fontSize:"16px"},requiredTextInputMark:{color:i.J?.actionBlue},datePickerStyling:{"& .MuiFormLabel-root":{fontSize:"13px",color:i.J.lightGrey200}},selectFieldStyling:{".MuiSelect-select":{fontSize:"13px",color:i.J.black},".MuiTypography-root":{fontSize:"13px !important",color:`${i.J.lightGrey200}!important`}}
6,input:{".MuiInputBase-root":{borderRadius:"24px",border:`1px solid ${i.J.skyBlue} !important`,backgroundColor:"transparent !important"},"& .MuiInputBase-input":{fontSize:"13px !important"},"& .MuiInputBase-input::placeholder":{color:`${i.J.lightGrey200}`}},header:{fontSize:{sm:"24px",xs:"20px"},lineHeight:{xs:"24px",sm:"28px"}},inputLabel:{fontSize:"13px"},textAreaStyling:{".MuiInputBase-root":{borderRadius:"16px"},"& .MuiInputBase-input":{fontSize:"13px",color:i.J.black100},"& .MuiInputBase-input::placeholder":{color:`${i.J.lightGrey200}`}},textFieldStyling:{".MuiInputBase-input":{fontSize:"13px"},"& .MuiInputBase-input::placeholder":{color:`${i.J.lightGrey200} !important`}},Datepicker:{"&.MuiPickersDay-root.Mui-selected":{backgroundColor:i.J.primaryDarkBlue,color:i.J.white100},"&.MuiPickersDay-root.Mui-selected:focus":{backgroundColor:i.J.primaryDarkBlue}},InputProps:{borderRadius:"50px"},Number:{marginTop:"5px",width:"fit-content",gap:"8px",".MuiInputBase-root.MuiFilledInput-root":{backgroundColor:`${a.S.white} !important`,border:`1px solid ${a.S.neutralGrey300} !important`},".MuiButtonBase-root":{borderRadius:"50%"}},button:{disabled:{borderColor:a.S.actionDisabled,backgroundColor:`${i.J.skyBlue}!important`,color:a.S.black,svg:{color:i.J.lightGrey200},"&:hover":{borderColor:a.S.actionDisabled,backgroundColor:a.S.white,color:a.S.transparencyDark40},borderRadius:"24px"},enabled:{borderColor:a.S.black,backgroundColor:a.S.black,color:a.S.white,"&:hover":{borderColor:a.S.red800,backgroundColor:a.S.white,color:a.S.red800},borderRadius:"24px"},selected:{borderColor:a.S.black,backgroundColor:a.S.black,color:a.S.white,"&:hover":{borderColor:a.S.red800,backgroundColor:a.S.white,color:a.S.red800},borderRadius:"24px"}},checkboxStyle:{fontSize:"13px",color:a.S?.neutral400},templateStyling:{"& .btnHeight":{"& a":{"&::after":{backgroundColor:a.S.primaryDarkBlue}}}},cardStyling:{borderRadius:"4px"}}},69972:(e,t,r)=>{"use strict";r.d(t,{t:()=>x});var i=r(47388),a=r(52949),o=r(99701),n=r(22472),l=r(57109),s=r(79920),d=r(81974),c=r(57048),p=r(34376),u=r(24429);let x=({aemAttributes:e,model:{id:t,i18n:r,headline:a,description:o,ctaModel:n},mosaicAuthRedirectUri:l})=>(0,i.jsx)(u.M,{aemAttributes:e,id:t,i18n:r,dataTestId:"ttc-biometric-init",children:(0,i.jsx)(m,{i18n:r,model:{headline:a,description:o,ctaModel:n},mosaicAuthRedirectUri:l})}),m=({i18n:e,model:t,mosaicAuthRedirectUri:r})=>{let u=s.io.use.canInitiateBiometric(),x=s.io.use.getReservationInformation(),{isLoadingReservation:m}=(0,d.m)(),g=x(),h=(0,o.A)(e),{brand:f}=(0,l.usePageContext)();return m?(0,i.jsx)(n.Loader,{isActive:!0,brand:f}):u()?(0,i.jsx)(c.r,{i18n:e,model:t,profileNumber:g?.customerInformation?.profileNumber??"",isPopup:!1,mosaicAuthRedirectUri:r}):(0,i.jsx)(a.default,{component:"section",children:(0,i.jsx)(p.R,{show:!0,message:h("ttc.biometricNotEligible"),type:"error"})})}},70663:(e,t,r)=>{"use strict";r.d(t,{f:()=>w});var i,a=r(47388),o=r(88365),n=r(33392),l=r(52949),s=r(51101),d=r(61872),c=r(57109),p=r(23141),u=r(87937);class x{processFunction;next;failure;constructor(e,t,r){this.processFunction=e,this.next=t,this.failure=r}async process(e){try{await this.processFunction(e)}catch(e){throw console.error(`Error processing ${this.currentState} state:`,e),e}}}var m=((i={}).INIT="INIT",i.SESSION_INITIALIZED="SESSION_INITIALIZED",i.NON_3DS_COMPLETED="NON_3DS_COMPLETED",i.IFRAME_3DS_SHOWN="IFRAME_3DS_SHOWN",i.COMPLETED="COMPLETED",i.FAILED="FAILED",i.CANCELLED="CANCELLED",i);class g extends x{currentState=m.CANCELLED}class h{initialStateNode;currentStep;_is3DsSupported=!1;_sessionIframeToken="";_paymentRequest=null;_paymentRequestCallback=null;_paymentResponse=null;_errorResponse=null;_paymentData=null;_browserInfoCollectionPromise=null;_transactionCompletePromise=null;constructor(e){this.initialStateNode=e,this.currentStep=e}set is3DsSupported(e){this._is3DsSupported=e}set sessionIframeToken(e){this._sessionIframeToken=e}get sessionIframeToken(){return this._sessionIframeToken}set paymentRequest(e){this._paymentRequest=e}get paymentRequest(){return this._paymentRequest}set paymentRequestCallback(e){this._paymentRequestCallback=e}get paymentRequestCallback(){return this._paymentRequestCallback}set paymentResponse(e){this._paymentResponse=e}get paymentResponse(){return this._paymentResponse}set errorResponse(e){this._errorResponse=e}get errorResponse(){return this._errorResponse}set paymentData(e){this._paymentData=e}get paymentData(){return this._paymentData}set browserInfoCollectionPromise(e){this._browserInfoCollectionPromise=e}get browserInfoCollectionPromise(){return this._browserInfoCollectionPromise}set transactionCompletePromise(e){this._transactionCompletePromise=e}get transactionCompletePromise(){return this._transactionCompletePromise}runStep(){return this.currentStep.process(this).then(()=>this.processNext()).catch(()=>this.processFailure())}reset(){this.currentStep=this.initialStateNode,this._is3DsSupported=!1,this._paymentRequestCallback=null,this._errorResponse=null}cancel(){this.currentStep=new g(()=>Promise.resolve())}processNext(){return this.currentStep.next?(this.currentStep=this.currentStep.next(this._is3DsSupported),this.currentStep.process(this).then(()=>this.processNext())):Promise.resolve()}processFailure(){return this.currentStep.failure?(this.currentStep=this.currentStep.failure(),this.currentStep.process(this)):Promise.resolve()}}class f extends x{currentState=m.COMPLETED}class b extends x{currentState=m.FAILED}class y extends x{currentState=m.IFRAME_3DS_SHOWN}class S extends x{currentState=m.INIT}class C extends x{currentState=m.NON_3DS_COMPLETED}class v extends x{currentState=m.SESSION_INITIALIZED}let k={position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:8888,backgroundColor:"rgba(31, 29, 29, 0.60)",overflow:"hidden"},A={display:"none"},w=(0,d.forwardRef)((e,t)=>{let r=(0,o.A)(),i=(0,n.A)(r.breakpoints.down("md")),{features:x}=(0,c.usePageContext)(),m=x?.["feature.isPsiEnabled"],{sessionIframe:g,threeDSIframe:w,errorResponse:T,startFlow:j}=(e=>{let[t,r]=(0,d.useState)(!1),[i,a]=(0,d.useState)(""),[o,n]=(0,d.useState)(""),[l,s]=(0,d.useState)(!1),[x,m]=(0,d.useState)(""),[g,k]=(0,d.useState)(""),[A,w]=(0,d.useState)(!1),{createSession:T}=(()=>{let e=(0,u.Fu)(),{brand:t,country:r,locale:i,language:a}=(0,c.usePageContext)(),o=(0,d.useCallback)((e,o)=>{let[n,l]=i?i.split("_"):[r,a];return{merchant:{brand:"avis"===t?p.BrandEnum.AVIS:p.BrandEnum.BUDGET,channel:"ECOM",countryCode:l?.toUpperCase(),languageCode:n?.toUpperCase()},cardData:{cardNumber:e,expiryDate:o},orderDetails:{orderType:"RESERVATION",orderTransactionType:"CREATE"}}},[t,r,a,i]);return{createSession:(0,d.useCallback)(async(t,r)=>e.reservation("/psi",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o(t,r))}),[e,o])}})(),j=(0,d.useCallback)(()=>new Promise(e=>{let t=t=>{if(t.data)if("string"==typeof t.data)try{let r=JSON.parse(t.data);
6r&&"object"==typeof r&&"MessageType"in r&&"profile.completed"===r.MessageType&&(i(),e())}catch{}else"profile.completed"===t.data.type&&(i(),e())},r=()=>{i(),e()},i=()=>{window.removeEventListener("message",t),window.removeEventListener("beforeunload",r)};window.addEventListener("message",t),window.addEventListener("beforeunload",r)}),[]),I=(0,d.useCallback)(()=>new Promise((e,t)=>{let r=t=>{t.data&&("TRANSACTION_COMPLETE"===t.data.type||"TRANSACTION_FAILED"===t.data.type)&&(a(),e())},i=()=>{a(),t(Error("User navigated away before transaction completed"))},a=()=>{window.removeEventListener("message",r),window.removeEventListener("beforeunload",i)};window.addEventListener("message",r),window.addEventListener("beforeunload",i)}),[]),R=(0,d.useCallback)(()=>({colorDepth:window.screen.colorDepth.toString(),javaEnabled:"true",screenHeight:window.screen.height.toString(),screenWidth:window.screen.width.toString(),timeZoneOffset:new Date().getTimezoneOffset().toString()}),[]),P=((e,t,r,i,a,o)=>{let[n,l]=(0,d.useState)(null),s=(0,d.useCallback)(()=>{let n=new b(o),l=new f(a),s=new C(i),d=new y(r,()=>l,()=>n),c=new v(t,e=>e?d:s,()=>n);return new S(e,()=>c,()=>n)},[a,o,r,e,i,t]);return(0,d.useEffect)(()=>
6{l(new h(s()))},[s]),n})((0,d.useCallback)(async e=>{try{if(!e?.paymentData)throw e.errorResponse=Error("Payment data is missing"),w(!0),e.errorResponse;let t=await T(e.paymentData.cardNumber,e.paymentData.expiryDate);r(!0),a(t.assetUrl),n(t.sessionToken),e.sessionIframeToken=t.sessionToken,await e.browserInfoCollectionPromise}catch(t){throw e&&(e.errorResponse=t,w(!0)),t}},[T]),(0,d.useCallback)(async t=>{if(!t?.paymentRequestCallback||!t?.paymentRequest)throw t&&(t.errorResponse=Error("Reservation request parameters are missing"),w(!0)),t.errorResponse;try{let r=e?.skipThreeDSecurity?p.PsiActionTypes.SKIP_AUTHENTICATION:p.PsiActionTypes.CUSTOMER_AUTHENTICATION,i=await t.paymentRequestCallback({...t.paymentRequest,device:R(),securityProfiling:{...t.paymentRequest?.securityProfiling,psiActionType:r,returnUrl:`${globalThis?.window?.location.origin}/web/reservation/psi/transaction-id`}});if(i.confirmationNumber)t.is3DsSupported=!1,t.paymentResponse=i,w(!0);else if(i.psiAccessToken&&i.psiRedirectUrl)t.is3DsSupported=!0,m(i.psiRedirectUrl),k(i.psiAccessToken),s(!0);else if(""===i.psiAccessToken&&""===i.psiRedirectUrl&&"object"==typeof i.status&&Array.isArray(i.status?.success)&&i.status.success.length>0)throw t.is3DsSupported=!1,i.status.success[0];else t.is3DsSupported=!1,t.paymentResponse=i}catch(e){throw t.errorResponse=e,w(!0),e}},[R]),(0,d.useCallback)(async e=>{try{await e.transactionCompletePromise}catch(t){throw e.errorResponse=t,w(!0),t}if(!e?.paymentRequestCallback||!e?.paymentRequest)throw e&&(e.errorResponse=Error("Reservation request parameters are missing"),w(!0)),e.errorResponse;let t=await e.paymentRequestCallback({...e.paymentRequest,device:R(),securityProfiling:{...e.paymentRequest?.securityProfiling,psiActionType:p.PsiActionTypes.VALIDATE_CUSTOMER_AUTHENTICATION,psiAuthenticationTransactionId:e.sessionIframeToken}});e.paymentResponse=t},[R]),(0,d.useCallback)(()=>(s(!1),r(!1),w(!0),Promise.resolve()),[]),(0,d.useCallback)(()=>(s(!1),r(!1),w(!0),Promise.resolve()),[]),(0,d.useCallback)(e=>(s(!1),r(!1),w(!0),Promise.reject(e.errorResponse)),[]));return{isCompleted:A,startFlow:(0,d.useCallback)(async(e,t,r)=>P?(P.reset(),P.browserInfoCollectionPromise=j(),P.transactionCompletePromise=I(),P.paymentRequestCallback=r,P.paymentData=e,P.paymentRequest=t,await P.runStep(),P.paymentResponse):null,[P,j,I]),cancelFlow:(0,d.useCallback)(()=>{P&&(P.cancel(),w(!0),s(!1),r(!1))},[P]),errorResponse:P?.errorResponse,sessionIframe:{load:t,src:i,sessionToken:o},threeDSIframe:{load:l,src:x,sessionToken:g}}})({skipThreeDSecurity:!!x?.["feature.skipThreeDSecureAuthentication"]}),I=(0,d.useRef)(null),R=(0,d.useRef)(null),P=(0,d.useRef)(null);return((0,d.useImperativeHandle)(t,()=>({startFlow:j,getErrorResponse:()=>T}),[j,T]),(0,d.useEffect)(()=>{g.src&&g.sessionToken&&I.current?.submit()},[g.src,g.sessionToken]),(0,d.useEffect)(()=>{w.src&&w.sessionToken&&R.current?.submit()},[w.src,w.sessionToken]),m)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.default,{sx:A,"data-test-id":"session-frame-container",children:(0,a.jsx)("iframe",{id:"session-iframe",title:"session-iframe",name:"session-iframe"})}),(0,a.jsx)(l.default,{sx:{display:"none"},"data-test-id":"psi-payment-hidden-form-container",children:(0,a.jsx)("form",{ref:I,id:"data_collection_form",method:"POST",target:"session-iframe",action:g.src||"",children:(0,a.jsx)("input",{id:"collection_form_input",name:"JWT",type:"hidden",value:g.sessionToken||""})})}),(0,a.jsxs)(s.default,{justifyContent:"center",alignItems:"center","data-test-id":"3ds-frame-container",display:w.load?"flex":"none",sx:k,children:[(0,a.jsx)("iframe",{ref:P,id:"3ds-iframe",title:"3ds-iframe",name:"3ds-iframe",width:i?window.innerWidth:400,height:i?window.innerHeight:600,style:{backgroundColor:"white"}}),(0,a.jsx)(l.default,{sx:{display:"none"},"data-test-id":"psi-payment-hidden-3ds-form-container",children:(0,a.jsx)("form",{ref:R,id:"3ds-iframe",method:"POST",target:"3ds-iframe",action:w.src||"",children:(0,a.jsx)("input",{id:"3ds_form_input",name:"JWT",type:"hidden",value:w.sessionToken||""})})})]})]}):null});w.displayName="PsiPayment"},71603:(e,t,r)=>{"use strict";r.d(t,{o:()=>o,r:()=>a});var i=r(61872);let a=(0,i.createContext)({}),o=()=>(0,i.useContext)(a)},71726:(e,t,r)=>{"use strict";r.d(t,{v:()=>c});
6var i=r(47388),a=r(61872),o=r(57109),n=r(34911),l=r(31797),s=r(38129),d=r(1263);let c=({children:e})=>{let t=(0,n.L)(),r=d.Q.use.isRecognized(),c=d.Q.use.isAuthenticated(),p=d.Q.use.userProfile(),{navigationLinks:u}=(0,o.usePageContext)(),{belongsToRegions:x}=(0,l.y)(),m=x([s.g.NAM,s.g.APAC]);return((0,a.useEffect)(()=>{r&&t.replace(u?.home)},[r,t,u?.home]),(0,a.useEffect)(()=>{if(m&&c&&p?.profileNumber){let e=p?.avisPreferred===!0;t.replace(e?u.rewards:u.accountDashboard)}},[c,m,p?.avisPreferred,p?.profileNumber,t,u.rewards,u.accountDashboard]),r||m&&c&&p?.profileNumber)?null:(0,i.jsx)(i.Fragment,{children:e})}},71749:(e,t,r)=>{"use strict";r.d(t,{w:()=>a});var i=r(58016);let a={dialogContainer:{"& .MuiDialog-paper":{borderRadius:{xs:"24px 24px 0 0",sm:"24px"}}},dialogTitle:{color:i.S.neutralBlack,fontSize:{xs:"18px",sm:"20px"},fontWeight:700,lineHeight:"26px"},dialogSubtitle:{color:i.S.neutral500,fontSize:"15px",fontWeight:400,lineHeight:"24px"},itemContainer:{borderRadius:"16px",backgroundColor:i.S.neutral100},itemTitle:{color:i.S.neutralBlack,fontSize:"15px",fontWeight:500,lineHeight:{xs:"20px",sm:"24px"}},itemLabel:{color:i.S.neutral500,fontSize:"13px",fontWeight:500,lineHeight:"20px"},itemDescription:{color:i.S.neutral500,fontSize:"13px",fontWeight:400,lineHeight:"20px"},dialogButton:{borderRadius:"24px",backgroundColor:i.S.primaryDarkBlue,color:i.S.white,fontSize:"13px",fontWeight:500,lineHeight:"14px","&:hover":{backgroundColor:i.S.blue400}}}},71776:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckPartnerContainer:()=>n});var i=r(47388),a=r(86570),o=r(62353);let n=e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.W,{...e}),(0,i.jsx)(a.C,{...e})]})},72063:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckBookingWidget:()=>d});var i=r(47388),a=r(52934);let o={root:{backgroundColor:"#F2F5FA","&:hover":{backgroundColor:"#006BBF",color:"#fff"},"&:focus":{backgroundColor:"#006BBF",color:"#fff",outlineColor:"#006BBF"}}},n={inputContainer:{"&:focus-visible":{outline:"none !important","& .MuiInputBase-root":{border:"1px solid #00285F !important"}}}};var l=r(56921),s=r(58228);let d=({...e})=>(0,i.jsx)(a.BookingWidget,{...e,partProps:{formError:{styleParts:l.x},textControl:{styleParts:s.x},dropoffLocation:{styleParts:n},container:{styleParts:{root:{"&:before":{left:"15px",right:"15px"}}}},cancelButton:{styleParts:o}}})},72400:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckContentTable:()=>s,BudgetTruckContentTableCell:()=>c,BudgetTruckContentTableColumn:()=>u,budgetTruckContentTableStyles:()=>o});var i=r(55494),a=r(58016);let o={tableDesciption:{color:a.S.neutral500,fontFamily:i.QU},firstColumnCellDescriptionMobile:{"& *":{fontSize:"11px !important"}},cellDescription:{color:a.S.neutral500,fontFamily:i.QU,"& *":{fontSize:"13px !important"}},checkItemIcon:{stroke:a.S.primary300},closeItemIcon:{stroke:a.S.transparencyDark40},highlighted:{borderRadius:"16px",backgroundColor:a.S.blue200,color:a.S.neutralBlack,fontSize:"13px"},highlightedColumnBackground:{backgroundColor:a.S.blue100,borderTopLeftRadius:"16px",borderTopRightRadius:"16px",borderBottomLeftRadius:"16px",borderBottomRightRadius:"16px"}};var n=r(47388),l=r(5457);let s=({aemAttributes:e,children:t,...r})=>(0,n.jsx)(l.g,{...r,aemAttributes:e,styleParts:o,children:t});var d=r(62148);let c=({aemAttributes:e,...t})=>(0,n.jsx)(d.w,{...t,aemAttributes:e,styleParts:o});var p=r(66160);let u=({aemAttributes:e,children:t,...r})=>(0,n.jsx)(p.W,{...r,aemAttributes:e,styleParts:o,children:t})},72595:(e,t,r)=>{"use strict";r.d(t,{F:()=>D});var i=r(47388),a=r(52949),o=r(45315),n=r(40885),l=r(17483),s=r(90656),d=r(61872),c=r(65941),p=r(99701),u=r(99712),x=r(87503),m=r(64228),g=r(10431),h=r(22472),f=r(17707),b=r(87937),y=r(57109),S=r(80307),C=r(80053),v=r(13139),k=r(31839),A=r(55301);let w={display:"flex",flexDirection:"column",gap:{xs:"32px",sm:"40px"}};A.J.black;let T={display:"flex",flexDirection:"column",gap:{xs:"20px",sm:"24px"}},j={display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:{xs:"center",sm:"start"}},I={flex:1,width:{xs:"100%",sm:"auto"}},R={margin:{xs:"16px 0",sm:"38px 16px 0"},color:A.J.secondary400,fontSize:"14px",fontWeight:700,lineHeight:"20px",textTransform:"uppercase"},P={marginTop:"4px",textDecoration:"none",fontWeight:400,lineHeight:"14px"},L={marginRight:"0px"},E={width:"16px",height:"16px"},B=e=>e?.length?e.reduce((e,t)=>
6t.sequenceNumber&&(null===e||e.sequenceNumber&&+t.sequenceNumber<+e.sequenceNumber)?t:e,null):null,D=({model:e,commonI18n:t,partProps:r,styleParts:l={}})=>{let f=(0,p.A)(t||{}),A=(0,b.Fu)(),{brand:L}=(0,y.usePageContext)(),E=(0,s.useRouter)(),D=(0,S._2)(),[F,z]=(0,d.useState)(null),[N,_]=(0,d.useState)(!1),[W,H]=(0,d.useState)(!1),[U,O]=(0,d.useState)(!1),Q=(0,d.useRef)(!1),$=(0,c.mN)({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{wizardNumber:"",lastName:"",licenseNumber:"",cardNumber:""}}),{watch:G,handleSubmit:V}=$;(0,d.useEffect)(()=>{let e=G((e,{name:t})=>{"licenseNumber"===t&&_(!!e.licenseNumber),"cardNumber"===t&&H(!!e.cardNumber)});return()=>e.unsubscribe()},[G]),(0,d.useEffect)(()=>{Q.current||(D({step_description:"start enrollment"}),Q.current=!0)},[D]);let J=t=>{O(!0),z(null),((e,t)=>{let{wizardNumber:r,lastName:i,licenseNumber:a,cardNumber:o}=t;return e.customer("/profile/validate-offline-profile",{body:JSON.stringify({profileNumber:r,lastName:i,driversLicenseNumber:a,cardNumber:o}),method:"POST",headers:{"Content-Type":"application/json"}})})(A,t).then(t=>{if(D({step_description:"verify identity"}),e.redirectAfterVerification){let r=(e=>{let{emailDetails:t,phoneNumberDetails:r,companyInformation:i,token:a}=e;return{email:B(t)?.emailAddress||"",mobileNumber:B(r)?.phoneNumber||"",mobileCountryCode:B(r)?.countryCode||"",mobileRegionCode:B(r)?.regionCode||"",discountNumber:B(i)?.companyNumber||"",token:a?.authToken||""}})(t);(0,C.V)(r),E.push(e.redirectAfterVerification)}else O(!1)}).catch(e=>{O(!1),z({title:f("registrationFormCommon.errorMessage.header.label"),description:e.message||f("registrationFormCommon.errorMessage.systemError.label")})})},X=(0,d.useMemo)(()=>(0,k.$)(f),[f]),Y=(0,d.useMemo)(()=>(0,k.Fn)(f,W,N),[f,W,N]);return(0,i.jsxs)(c.Op,{...$,children:[(0,i.jsxs)(a.default,{component:"form",id:"express-enrollment-form",onSubmit:e=>void V(J)(e),sx:w,children:[(0,i.jsx)(a.default,{children:(0,i.jsxs)(a.default,{sx:T,children:[F&&(0,i.jsx)(u.j,{config:F,styleParts:r?.formError?.styleParts}),(0,i.jsxs)(a.default,{children:[(0,i.jsx)(x.J,{name:"wizardNumber",testId:"wizard-number",required:!0,...X.wizardNumber,validationRules:Y.wizardNumber,textFieldProps:{slotProps:{htmlInput:{maxLength:v.Xi}},fullWidth:!0},testIdPrefix:"express-enrollment-form"}),e.forgotYourWizardNumberCtaText&&(0,i.jsx)(o.A,{href:e.forgotYourWizardNumberCtaLink||"",target:e.forgotYourWizardNumberCtaTarget||"","data-testid":"login-form-forgot-link",sx:(0,m.oz)(P,l.forgotLink),children:e.forgotYourWizardNumberCtaText})]}),(0,i.jsx)(x.J,{name:"lastName",testId:"last-name",required:!0,...X.lastName,validationRules:Y.lastName,textFieldProps:{slotProps:{htmlInput:{maxLength:v.bh}},fullWidth:!0},testIdPrefix:"express-enrollment-form"})]})}),(0,i.jsx)(n.default,{}),(0,i.jsxs)(a.default,{sx:j,"data-testid":"group-of-fields",children:[(0,i.jsx)(x.J,{name:"licenseNumber",testId:"license-number",linkedFields:["cardNumber"],required:!0,...X.licenseNumber,validationRules:Y.licenseNumber,containerProps:{sx:I},textFieldProps:{slotProps:{htmlInput:{maxLength:v.eV}},fullWidth:!0},testIdPrefix:"express-enrollment-form"}),(0,i.jsx)(g.Q,{sx:R,children:f("global.or.label")}),(0,i.jsx)(x.J,{name:"cardNumber",testId:"card-number",linkedFields:["licenseNumber"],required:!0,...X.cardNumber,validationRules:Y.cardNumber,containerProps:{sx:I},textFieldProps:{slotProps:{htmlInput:{maxLength:v.Zd},input:{startAdornment:(0,i.jsx)(M,{})}},onPaste:e=>e.preventDefault(),fullWidth:!0},testIdPrefix:"express-enrollment-form"})]})]}),(0,i.jsx)(h.Loader,{isActive:U,brand:L})]})},M=()=>(0,i.jsx)(l.A,{position:"start",sx:L,children:(0,i.jsx)(f.h,{sx:E})})},73061:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckAsymmetricCard:()=>m});var i=r(47388),a=r(52949),o=r(87558),n=r(57339),l=r(55301);let s={position:"relative",width:"100%",padding:"16px 0"},d={borderRadius:"24px",bottom:"8px",left:"8px",width:"calc(100% - 16px)"},c={dealCardStyles:{margin:{xs:"40px auto",lg:"72px auto"},display:{xs:"block",lg:"grid"},gap:"64px",height:{xs:"auto",lg:"auto"}},smileBudgetBackgroundStyles:{position:"relative",width:"100%",backgroundColor:l.J.orange800,borderRadius:"32px",display:{xs:"none",lg:"block"}},cardContentStyles:{...d,backgroundColor:l.J.actionBlue},cardContentStylesPrimary2:{...d,backgroundColor:l.J.orange800},dealCardBorderStyles:{borderRadius:"24px"}},p={headlineTextStyle:{fontSize:{xs:"40px",lg:"60px"},color:"#FFF",paddingTop:"24px",textTransform:"capitalize",textAlign:"center"}},u={src:"/_next/_v/2.9.2.s15.31/_next/static/media/budget-asymmetric-card-primary1.56f927d4.svg",height:1192,width:1408,blurWidth:0,blurHeight:0},x={src:"/_next/_v/2.9.2.s15.31/_next/static/media/BudgetAsymmetricCardPrimary2.655adf5f.svg",height:1192,width:1408,blurWidth:0,blurHeight:0},m=({aemAttributes:e,model:t,config:r})=>{let d={backgroundStyles:{borderRadius:"32px",overflow:"hidden",position:"relative",margin:"0 auto",backgroundColor:{xs:t.backgroundStyle===o.s.primary1?l.J.orange800:l.J.actionBlue,lg:"transparent"},"& > img":{zIndex:-1,display:{xs:"none",md:"none",lg:"block"}}}},m=t?.backgroundStyle===o.s.primary1?u:x;return(0,i.jsx)(a.default,{...e,"data-aue-type":"component",sx:s,children:(0,i.jsx)(n.b,{backgroundContent:m,model:t,brand:r.brand,partProps:{background:{styleParts:d},dealCard:{styleParts:c}
6,headlineBoxContainer:{styleParts:p}}})})}},73951:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckAccordionItem:()=>n,BudgetTruckAccordionModule:()=>d});var i=r(47388),a=r(56554);let o={},n=({aemAttributes:e,...t})=>(0,i.jsx)(a.T,{...t,aemAttributes:e,styleParts:o});var l=r(18795);let s={header:{fontSize:"32px",lineHeight:"40px"},bodyText:{color:r(58016).S.neutralGrey500}},d=({aemAttributes:e,...t})=>(0,i.jsx)(l.h,{...t,aemAttributes:e,styleParts:s})},73995:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckDealCard:()=>n});var i=r(47388),a=r(6150),o=r(96353);let n=({aemAttributes:e,...t})=>(0,i.jsx)(a.s,{...t,aemAttributes:e,styleParts:o.A})},74761:(e,t,r)=>{"use strict";r.d(t,{s:()=>S});var i=r(47388),a=r(18432),o=r(95607),n=r(52949),l=r(81597),s=r(19516),d=r(40196),c=r(45315),p=r(90656),u=r(61872),x=r(64228),m=r(10431),g=r(87937),h=r(28744),f=r(76836),b=r(55301);let y={wrapper:{position:"absolute",display:"flex",flexDirection:"column",top:{xs:"auto",sm:"50%"},bottom:{xs:0,sm:"auto"},left:"50%",transform:{xs:"translateX(-50%)",sm:"translate(-50%, -50%)"},width:{xs:"100%",sm:"432px"},minHeight:"240px",maxHeight:"700px",borderTopLeftRadius:{xs:"2px",sm:"4px"},borderTopRightRadius:{xs:"2px",sm:"4px"},borderBottomLeftRadius:{xs:"0px",sm:"4px"},borderBottomRightRadius:{xs:"0px",sm:"4px"},overflow:"hidden",backgroundColor:b.J.white100},header:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:{xs:"16px",sm:"24px"},borderBottom:"1px solid "+b.J.lightgrey},list:{flexGrow:1,overflowY:"auto",padding:{xs:"16px",sm:"24px"}},listItem:{display:"flex",gap:"8px",padding:"8px 0"},listItemPrimaryText:{color:b.J.neutral400},listItemSecondaryText:{color:b.J.black100}},S=({heading:e="",open:t,ctaLink:r,ctaTarget:b="_self",onClose:S,styleParts:C={}})=>{let{divisions:v,updateCbpData:k}=(0,h.E)(),A=(0,p.useRouter)(),w=(0,g.Fu)(),T=(0,u.useCallback)(e=>{w&&e&&(async()=>{try{let t=await (0,f.y)(w,"",e);t?.childSegment&&(k({childSegment:t.childSegment,isCbpFlow:!0}),"_blank"===b?window.open(r,b):A.push(r))}catch{}})()},[w,r,b,k,A]);return v?.length?(0,i.jsx)(o.A,{open:t,onClose:S,disableAutoFocus:!0,sx:{"&:focus-visible":{outline:"none"}},children:(0,i.jsxs)(n.default,{"data-testid":"divisions-modal",sx:(0,x.iX)(y,C,"wrapper"),children:[(0,i.jsxs)(n.default,{sx:(0,x.iX)(y,C,"header"),children:[(0,i.jsx)(m.Q,{variant:"bodyLargeBold","data-testid":"divisions-modal-heading",children:e}),(0,i.jsx)(l.default,{size:"small",onClick:S,"data-testid":"divisions-modal-close-button",children:(0,i.jsx)(a.A,{})})]}),(0,i.jsx)(n.default,{sx:(0,x.iX)(y,C,"list"),children:(0,i.jsx)(s.A,{dense:!0,sx:{padding:0},"data-testid":"divisions-modal-list",children:v.map((e,t)=>(0,i.jsxs)(d.Ay,{"data-testid":`divisions-modal-list-item-${t}`,sx:(0,x.iX)(y,C,"listItem"),children:[(0,i.jsx)(m.Q,{variant:"bodySmallRegular","data-testid":`divisions-modal-list-item-${t}-awd`,sx:(0,x.iX)(y,C,"listItemPrimaryText"),children:e.childAWD}),(0,i.jsx)(c.A,{onClick:()=>T(e.childAWD),variant:"actionRegularRegular",component:"button","data-testid":`divisions-modal-list-item-${t}-link`,className:"secondary",children:(0,i.jsx)(m.Q,{variant:"bodySmallRegular",sx:(0,x.iX)(y,C,"listItemSecondaryText"),children:e.accName})})]},e.childAWD))})})]})}):null}},75099:(e,t,r)=>{"use strict";r.d(t,{k:()=>S});var i=r(47388),a=r(52949),o=r(13977),n=r(64228),l=r(10431);let s={container:{width:"100%"},wrapper:{display:"flex",flexWrap:"wrap",overflow:"hidden",width:"100%",margin:"0 auto",position:"relative",justifyContent:"center",padding:{xs:"48px 16px",sm:"48px 112px 96px"}},headline:{textAlign:"center",fontSize:{xs:"32px",sm:"48px"},lineHeight:{xs:"32px",sm:"48px"},fontWeight:"bold"},dropdownContainer:{width:"100%"},dropdown:{width:{xs:"100%",sm:"432px"},margin:"0 auto",paddingTop:{xs:"24px",sm:"32px"}},gridContainer:{paddingTop:{xs:"48px",sm:"56px"},width:"100%"},grid:{gap:"16px",display:"grid",width:"100%",gridAutoFlow:"column"},gridItem:{breakInside:"avoid",textAlign:"center",display:"flex",alignItems:"flex-start",justifyContent:"center","& > a":{fontSize:{xs:"18px",sm:"20px"},lineHeight:{xs:"26px",sm:"28px"}}}};var d=r(61872),c=r(22756);let p=e=>{let{styleParts:t={},partProps:r={},locationData:o,labelId:l,handleChange:p,selectRegionLabel:u=""}=e,x=(0,d.useMemo)(()=>Object.keys(o).filter(e=>
6{let t=o[e]?.children;return void 0!==t&&Object.values(t).some(e=>e?.title)}).map(e=>({label:o[e]?.title,value:e})).sort((e,t)=>e.label.localeCompare(t.label)),[o]),m=(0,d.useMemo)(()=>[{label:u,value:"def"},...x],[x]);return(0,i.jsx)(a.default,{sx:(0,n.iX)(s,t,"dropdown"),children:(0,i.jsx)(c.Dropdown,{defaultValue:"def",options:m,onChangeHandler:p,styleParts:r.dropdown?.styleParts||{},fullWidth:!0,"data-testid":"location-index-dropdown",...l?{labelId:l}:{}})})};var u=r(88365),x=r(33392),m=r(45315),g=r(63903),h=r.n(g);let f=e=>{let{styleParts:t={},gridItems:r}=e,o=(0,u.A)(),c=(0,x.A)(o.breakpoints.only("xs")),p=(0,x.A)(o.breakpoints.only("sm")),g=(0,x.A)(o.breakpoints.only("md")),f=(0,x.A)(o.breakpoints.only("lg")),b=(0,x.A)(o.breakpoints.only("xl")),y=c&&"xs"||p&&"sm"||g&&"md"||f&&"lg"||b&&"xl"||"",S=r.length,C=(0,d.useMemo)(()=>{let e;switch(y){case"xs":e=2;break;case"sm":e=3;break;case"md":e=4;break;case"lg":case"xl":e=5;break;default:e=0}return Math.min(e,S)},[y,S]),v=(0,d.useMemo)(()=>Math.ceil(S/C),[S,C]),k=(0,d.useMemo)(()=>((e,t,r)=>{let i=[],a=0;for(let o=0;o<t;o++)for(let n=0;n<e;n++)n*t+o<r&&(i[a++]=[n,o]);return i})(v,C,S),[v,C,S]),A={...(0,n.iX)(s,t,"grid"),gridTemplateColumns:`repeat(${C}, 1fr)`,gridTemplateRows:`repeat(${v}, 1fr)`};return(0,i.jsx)(a.default,{sx:A,children:r.map((e,r)=>{if(!k[r])return null;let[o,d]=k[r],c={...(0,n.iX)(s,t,"gridItem"),gridRow:o+1,gridColumn:d+1};return(0,i.jsx)(a.default,{sx:c,children:(0,i.jsx)(h(),{prefetch:!1,href:e.link,passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(m.A,{className:"secondaryText",href:e.link,target:"_self","data-testid":"location-index-grid-item",children:(0,i.jsx)(l.Q,{variant:"bodyLargeRegular",children:e.title})})})},e.code)})})},b=({styleParts:e={},partProps:t={},locationData:r,selectRegionLabel:o="",labelId:l})=>{let c=Object.keys(r),[u,x]=(0,d.useState)(""),m=c.map(e=>{let t;return{regionKey:e,items:Object.keys(t=r[e]?.children||{}).map(e=>({title:t[e]?.title,code:e,link:t[e]?.link||""})).filter(e=>e.title).sort((e,t)=>e.title.localeCompare(t.title))}}),g=(0,d.useCallback)(e=>{x(e)},[]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{sx:(0,n.iX)(s,e,"dropdownContainer"),children:(0,i.jsx)(p,{styleParts:e,partProps:t,locationData:r,handleChange:g,selectRegionLabel:o,...l?{labelId:l}:{}})}),m.map(({regionKey:t,items:o})=>o.length>0?(0,i.jsx)(a.default,{role:"region","aria-label":`${r[t]?.title||t} locations`,"aria-hidden":u!==t,sx:{...(0,n.iX)(s,e,"gridContainer"),display:u===t?"block":"none"},children:(0,i.jsx)(f,{gridItems:o,styleParts:e})},t):null)]})},y=({styleParts:e={},partProps:t={},locationData:r,showDropdown:o,selectRegionLabel:l="",labelId:d})=>{if(!o){let t,o=Object.keys(r)[0],l=o?Object.keys(t=r[o]?.children||{}).map(e=>({title:t[e]?.title,code:e,link:t[e]?.link||""})).filter(e=>e.title).sort((e,t)=>e.title.localeCompare(t.title)):[];return l.length>0?(0,i.jsx)(a.default,{sx:(0,n.iX)(s,e,"gridContainer"),children:(0,i.jsx)(f,{gridItems:l,styleParts:e})}):null}return(0,i.jsx)(b,{styleParts:e,partProps:t,locationData:r,selectRegionLabel:l,labelId:d})},S=({aemAttributes:e,model:t,styleParts:r={},partProps:d={}})=>{let{headline:c,showDropdown:p,locationData:u,i18n:{"locationIndex.locations.label":x,"locationIndex.selectRegion.label":m}={}}=t,g=(0,o.A)(),h=`${u[Object.keys(u)[0]]?.title||""} ${x||""}`;return(0,i.jsx)(a.default,{...e,"data-testid":"location-index","data-aue-type":"component",sx:(0,n.iX)(s,r,"container"),children:(0,i.jsxs)(a.default,{sx:(0,n.iX)(s,r,"wrapper"),children:[(0,i.jsx)(l.Q,{id:`location-headline-${g}`,variant:"h3",sx:(0,n.iX)(s,r,"headline"),"data-testid":"location-index-headline",children:p?c:h}),(0,i.jsx)(y,{labelId:`location-headline-${g}`,styleParts:r,partProps:d,showDropdown:p,locationData:u,selectRegionLabel:m||""})]})})}},75842:(e,t,r)=>{"use strict";r.d(t,{I:()=>k});var i=r(47388),a=r(52949),o=r(38831),n=r(63903),l=r.n(n),s=r(61872),d=r(64228),c=r(90544),p=r(58409),u=r(67297),x=r(9720),m=r(78461),g=r(19690),h=r(43538),f=r(46323),b=r(10431),y=r(79193);let S=({mnemonic:e,locationUrl:t,title:r,cardImage:o,styleParts:n={}})=>(0,i.jsx)(l(),{prefetch:!1,href:t,target:"_self",children:(0,i.jsxs)(f.A,{sx:(0,d.iX)(h.sg,n,"cardWrapper"),"data-testid":"popular-locations-card",children:[(0,i.jsx)(a.default,{sx:(0,d.iX)(h.sg,n,"cardImage"),children:o?.source&&(0,i.jsx)(c.AemImage,{fill:!0,src:o.source,alt:"popular locations image","data-testid":"popular-locations-card-image"})}),(0,i.jsxs)(b.Q,{component:"div",variant:"h6",sx:(0,d.iX)(h.sg,n,"cardTitle"),"data-testid":"popular-locations-card-title",children:[r," (",e?.toUpperCase(),")"]}),(0,i.jsx)(a.default,{sx:(0,d.iX)(h.sg,n,"cardIcon"),"data-testid":"popular-locations-card-arrow-icon",children:(0,i.jsx)(y.f,{})})]})}),C=({locationDetailList:e,queryParams:t,styleParts:r={},pageContext:o,modelId:n}
6)=>{let[l,c]=(0,s.useState)([]),[p,f]=(0,s.useState)(!0),{locale:b,country:y,config:{bff:C}}=o;return((0,s.useEffect)(()=>{(async()=>{let t=(0,u.ae)(C,b,y),r=async()=>{let r=e.map(e=>(e=>{if(!(0,g.r)(e))return Promise.reject(Error("Invalid mnemonic"));let r=new URLSearchParams({mnemonic:e});return t.refdata(`/location/title?${r}`)})(e.locationId).then(({title:t})=>({...e,title:t})));return(await Promise.allSettled(r)).reduce((e,t)=>("fulfilled"===t.status&&e.push(t.value),e),[])};c(await r()),f(!1)})()},[e,C,b,y]),p)?null:(0,i.jsx)(a.default,{sx:(0,d.iX)(h.sg,r,"cardsGrid"),children:l.map(({locationUrl:e,locationId:a,imagePath:o,title:l},s)=>{let d={items:[{promotion_id:"",promotion_name:l,creative_name:o?.source??"",creative_slot:String(s+1),promotion_position_id:n||""}]};return(0,i.jsx)(x.AnalyticsViewPromotionEventEmitter,{payload:d,children:(0,i.jsx)(m.AnalyticsSelectPromotionEventEmitter,{payload:d,children:(0,i.jsx)(S,{mnemonic:a,locationUrl:`${e}${t}`,title:l,styleParts:r,cardImage:o})})},l+s)})})};var v=r(59188);let k=({aemAttributes:e,model:t,children:r,config:n,styleParts:s={},pageContext:u,couponCodeKey:x})=>{let{headline:m,subHeadline:g,logo:f,locationDetailList:b=[],i18n:{"popularLocation.cta.label":y}={},ctaLink:S,mode:k}=t,{awdCode:A,couponCode:w}=n,T=k===v.G.Offer?`?${new URLSearchParams({AWD_NUMBER:A??"",[x]:w??""}).toString()}`:"";return(0,i.jsx)(a.default,{sx:(0,d.iX)(h.sg,s,"mainContainer"),children:(0,i.jsx)(a.default,{...e,"data-testid":"popular-locations",sx:(0,d.iX)(h.sg,s,"container"),children:(0,i.jsxs)(a.default,{sx:(0,d.iX)(h.sg,s,"wrapper"),children:[f?.source&&(0,i.jsx)(a.default,{sx:(0,d.iX)(h.sg,s,"logo"),children:(0,i.jsx)(c.AemImage,{src:f.source,fill:!0,alt:"logo","data-testid":"popular-locations-logo"})}),(0,i.jsx)(a.default,{sx:(0,d.iX)(h.sg,s,"headingWrapper"),children:(0,i.jsx)(p.W,{bannerType:"mini",title:m,subTitle:g,titleVariant:"h2",titleTestId:"popular-locations-headline",subtitleTestId:"popular-locations-description",styleParts:{title:s.headline,subtitle:s.description},defaultStyles:{title:h.sg.headline,subtitle:h.sg.description}})}),(0,i.jsx)(a.default,{sx:(0,d.iX)(h.sg,s,"buttonWrapper"),children:S&&y&&(0,i.jsx)(a.default,{sx:(0,d.iX)(h.sg,s,"button"),children:(0,i.jsx)(l(),{prefetch:!1,href:S,target:"_self",children:(0,i.jsx)(o.default,{sx:s.button,disableRipple:!0,className:"tertiary","data-testid":"popular-locations-cta",children:y})})})}),(0,i.jsx)(a.default,{sx:(0,d.iX)(h.sg,s,"cardsWrapper"),children:t.contentSource===v.U.ContentPages?(0,i.jsx)(C,{locationDetailList:b,queryParams:T,styleParts:s,pageContext:u,modelId:t.id}):(0,i.jsx)(a.default,{sx:(0,d.iX)(h.sg,s,"cardsGrid"),children:r})})]})})})}},75983:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckCustomFormField:()=>n});var i=r(47388),a=r(35782),o=r(69491);let n=({aemAttributes:e,...t})=>(0,i.jsx)(a.S,{...t,aemAttributes:e,styleParts:o.d})},76300:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckAddOns:()=>p});var i=r(47388),a=r(62266),o=r(7230),n=r(10999),l=r(95486),s=r(71749),d=r(69088),c=r(30847);let p=({aemAttributes:e,model:t,preselectedExtras:r})=>(0,i.jsx)(a.g,{aemAttributes:e,model:t,preselectedExtras:r,styleParts:n.i,parts:{rentalPreferenceDialogActionPanel:c._},partProps:{ancillariesBundle:{styleParts:l.U},ancillariesIndividualItems:{styleParts:d.L},ancillariesDialog:{styleParts:{includedAncillariesDialog:s.w}},actionFooter:{styleParts:o.Y}}})},76431:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckPreRentalDashboard:()=>l});var i=r(47388),a=r(90656),o=r(76779);let n={headerTitle:{textAlign:"center",maxWidth:"880px",textWrap:{xs:"balance",sm:"normal"},marginInline:"auto"},headerSubtitle:{marginTop:"15px",fontSize:{sm:"20px",xs:"18px"},color:"rgba(255, 255, 255, 0.8)"},preRentalDetails:{padding:{xs:"24px 16px",md:"32px 24px"},borderRadius:"24px",boxShadow:"0 2px 8px 0 rgba(0 0 0 / 6%)"},preRentalDetailsTitle:{textTransform:"none"},confirmActionModal:{wrapper:{"& .MuiDialog-paper":{borderRadius:{xs:"16px 16px 0 0",sm:"24px"}}},title:{fontFamily:"BudgetSans, BudgetSans Fallback, sans-serif"},dialogActions:{gap:"8px",padding:"16px"},cancelButton:{outline:"1px solid #00285F",color:"black",borderRadius:8},confirmButton:{borderRadius:8,bgcolor:" #00285F"}}},l=e=>{let t=(0,a.useRouter)();return e.pageContext.features["feature.preferredFastbreakChoiceDisabled"]&&t.replace(e.page
6Context.navigationLinks.home),(0,i.jsx)(o.E,{...e,"data-aue-type":"component",styleParts:n})};l.displayName="BudgetTruckPreRentalDashboard"},76779:(e,t,r)=>{"use strict";r.d(t,{E:()=>ee});var i=r(47388),a=r(52949),o=r(51101),n=r(90656),l=r(61872),s=r(22472),d=r(57109),c=r(95397),p=r(40945),u=r(1263),x=r(31152),m=r(99701);let g=(0,l.createContext)({model:{id:"",":type":"",children:[],editable:!1,ueModelId:"",name:"",path:"",i18n:{},detailsTitle:"",splitPaymentToolTipText:"",personalizationLocation:"",showPersonalization:!1,isInherited:!1,labelSuffix:""},styleParts:{},reservationDetails:{},translations:()=>""}),h=({children:e,model:t,reservationDetails:r,styleParts:a})=>{let o=(0,m.A)(t.i18n),n=(0,l.useMemo)(()=>({model:t,styleParts:a,reservationDetails:r,translations:o}),[t,a,r,o]);return(0,i.jsx)(g.Provider,{value:n,children:e})};var f=r(64228),b=r(10431),y=r(58746),S=r(37925),C=r(57553),v=r(87937),k=r(52357),A=r(4502),w=r(61784),T=r(5551),j=r(12821),I=r(11263);let R=()=>(0,l.useContext)(g);var P=r(38831),L=r(57521),E=r(96075),B=r(90544);let D={position:"relative",maxWidth:"245px",width:"100%",outline:"none !important"},M={width:"100%"},F={position:"absolute",top:"44%",left:"50%",transform:"translate(-50%, -50%)",width:"50px",height:"50px"};var z=r(95612);let N={avis:()=>Promise.resolve().then(r.bind(r,69783)),budget:()=>Promise.resolve().then(r.bind(r,50214)),budgettruck:()=>Promise.resolve().then(r.bind(r,50214))},_=({sx:e,...t})=>{let{brand:r}=(0,d.usePageContext)(),[o,n]=(0,l.useState)(null);return(0,l.useEffect)(()=>{N[r]().then(e=>(n(e.default),e.default)).catch(()=>null)},[r]),(0,i.jsxs)(P.default,{"data-testid":"choose-vehicle-button",...t,sx:(0,L.o)(D,e),children:[o&&(0,i.jsx)(B.AemImage,{"data-testid":"choose-vehicle-button-image",style:M,src:o,alt:"",width:245,height:126}),(0,i.jsx)(a.default,{sx:F,children:(0,i.jsx)(E.default,{src:z.A,alt:"Choose Vehicle"})})]})},W=e=>({marginTop:"8px",[e.breakpoints.down("sm")]:{marginTop:"24px",width:"100%"}}),H=e=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",[e.breakpoints.down("sm")]:{flexDirection:"column",alignItems:"flex-start"}}),U=e=>({[e.breakpoints.down("sm")]:{alignSelf:"center"}}),O=({onChooseClick:e})=>{let{translations:t}=R();return(0,i.jsxs)(a.default,{children:[(0,i.jsxs)(o.default,{sx:H,children:[(0,i.jsx)(_,{sx:U,onClick:e,"data-testid":"choose-vehicle-button-img"}),(0,i.jsxs)(o.default,{direction:"column",children:[(0,i.jsx)(b.Q,{variant:"bodyRegularMedium",fontWeight:500,component:"p",color:"primary.dark",children:t("rentalDashboard.selectTodaysRental.label")}),(0,i.jsx)(b.Q,{variant:"bodyRegularRegular",component:"p",color:"primary.dark",children:t("rentalDashboard.selectYourCar.label")})]})]}),(0,i.jsx)(P.default,{className:"primary",sx:W,onClick:e,"data-testid":"choose-vehicle-button",children:(0,i.jsx)(b.Q,{variant:"actionRegularMedium",children:t("rentalDashboard.chooseMyVehicle.label")})})]})},Q={typography:"body1"},$={typography:"h5"},G={position:"relative",backgroundColor:"white"},V=()=>{let{open:e,handleOpen:t,handleClose:r}=(0,w.h)(),{model:a,styleParts:n,reservationDetails:s,translations:c}=R(),{detailsTitle:p,splitPaymentToolTipText:u}=a,{navigationLinks:x}=(0,d.usePageContext)(),{navigateTo:m}=(0,C.Z)(),{confirmVehicle:g,error:h,loading:P}=(()=>{let[e,t]=(0,l.useState)(!1),[r,i]=(0,l.useState)(),a=(0,v.Fu)();return{confirmVehicle:async e=>{try{return i(void 0),t(!0),await a.rental("/vehicle-pick-up/mobile-select/confirm",{body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json"}})}catch(e){return i(e),null}finally{t(!1)}},loading:e,error:r}})(),{openRegularModal:L}=(0,S.V)(),E={title:c("preRentalDashboard.locationAccessIsNeeded.label"),message:c("preRentalDashboard.allowLocationAccess.label"),closeButtonLabel:c("global.button.close.label"),testId:"pre-rental-geolocation-required"},B=(0,l.useCallback)(e=>{let t="E-RNT-RCR-E-33905"===e.errorCode,r=(0,I.k)(e);return{title:c(t?"preRentalDashboard.multipleRentals.label":"onLotExchange.errorMessage.somethingWentWrong.text"),agreementNumber:c("rentalDashboard.confirmationNumber.label",{id:s.confirmationNumber||""}),location:s.pickUpLocationName||"",message:t?c("preRentalDashboard.multipleRentals.error.text"):r||c("onLotExchange.errorMessage.vehicleDetails.text"),closeButtonLabel:c("global.button.close.label"),testId:"vehicle-confirm-error-modal"}},[s.confirmationNumber,s.pickUpLocationName,c]),D=async e=>
6{let t=(({vehicle:e,transactionId:t,reservationDetails:r})=>e&&t&&r?e.vehicle?.freeUpgrade?{locationMnemonic:r.pickUpLocationMnemonic??"",parkingSpace:e.vehicle.space??"",transactionId:t}:{locationMnemonic:r.pickUpLocationMnemonic??"",parkingSpace:e.vehicle.space??"",upgradeCharge:e.vehicle.upgradeCharge??"",transactionId:t}:null)({vehicle:e,transactionId:(0,j.y)(),reservationDetails:s});if(t){let e=await g(t);if(e){let t=s.brandInformation?.subBrand==="Q",r={p:e?.rentalAgreement?.number??"",confirmationNumber:s.confirmationNumber||"",sb:t&&y.d.Q};m(x.rentalDashboard,r)}}r()};return(0,l.useEffect)(()=>{if(!P&&h){let e=B(h);L?.(A.s,e)}},[h,P]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.default,{spacing:{xs:3,sm:4},sx:(0,f.oz)(G,n.preRentalDetails),children:[(0,i.jsx)(b.Q,{sx:(0,f.oz)($,n.preRentalDetailsTitle),"data-testid":"rental-dashboard-details-title",variant:"h5",children:p}),(0,i.jsx)(b.Q,{sx:(0,f.oz)(Q),"data-testid":"rental-dashboard-details-confirmation-number",children:c("rentalDashboard.confirmationNumber.label",{id:s.confirmationNumber||"-"})}),(0,i.jsx)(O,{onChooseClick:()=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(()=>{t()},()=>{L?.(k.n,E)}):L?.(k.n,E)}})]}),s.confirmationNumber&&e&&(0,i.jsx)(T.V,{isOpen:e,onClose:r,agreementType:"confirmation",onSubmit:D,confirmationNumber:s.confirmationNumber,agreementNumber:{number:s.rentalAgreementNumber||"",prefix:s.geographicRegionCode},pickUpLocationName:s.pickUpLocationName,pickUpLocation:s.pickUpLocationMnemonic||"",i18n:a.i18n,baseRate:s.priceDetails?.[0]?.totalBreakdown[0]?.total||"",splitPaymentToolTipText:u})]})};var J=r(65429);let X={paddingBottom:{xs:"24px",sm:"36px"},subTitle:{color:r(55301).J.white80,marginTop:"24px"}},Y=()=>{let{translations:e,styleParts:t,reservationDetails:r}=R(),{brand:a}=(0,d.usePageContext)(),o=u.Q.getState();return(0,i.jsx)(J.t,{config:{brand:a},model:{title:e("rentalDashboard.welcomeToCity.label",{name:r.customerInformation?.firstName||o.firstName||"---",city:r?.pickUpAddresses?.[0]?.city||"---"}),subTitle:e("rentalDashboard.chooseYourVehicle.label")},styleParts:{title:(0,f.oz)(t.headerTitle),subtitle:(0,f.oz)(t.headerSubtitle),wrapper:X},"data-testid":"pre-rental-dashboard-title-banner"})},q={position:"relative",width:"100%",backgroundColor:"#f4f4f4"},Z={width:"100%",maxWidth:"880px",padding:{md:"0 0 24px",xs:"0 16px 16px"}},K={maxWidth:1440,margin:"auto",width:"100%"},ee=({model:e,styleParts:t={},aemAttributes:r={}})=>{let m=(0,n.useRouter)(),g=u.Q.use.userProfile(),f=u.Q.use.userSession(),{navigationLinks:b,config:y,brand:S}=(0,d.usePageContext)(),C=u.Q.use.isAuthenticated(),{confirmationNumber:v}=(0,p._)(),k=y.app?.runmode==="author",{data:A,fetchReservationInformation:w,isLoading:T}=(0,c.y)({enabled:!1});return((0,l.useEffect)(()=>{!A?.confirmationNumber&&C&&g?.personalDetails?.name?.lastName&&w({confirmationNumber:v,lastName:g.personalDetails.name.lastName}),null===f||k||C||m.push(b?.login)},[f,C]),null===f||T&&!k)?(0,i.jsxs)(a.default,{sx:K,children:[(0,i.jsx)(x.a,{}),(0,i.jsx)(s.Loader,{isImmediatelyActive:T,brand:S})]}):(0,i.jsx)(h,{model:e,styleParts:t,reservationDetails:A,children:(0,i.jsxs)(o.default,{...r,sx:q,alignItems:"center","data-testid":"pre-rental-dashboard","data-aue-type":"component",children:[(0,i.jsx)(Y,{}),(0,i.jsx)(a.default,{sx:Z,children:(0,i.jsx)(V,{})})]})})};ee.displayName="PreRentalDashboard"},76836:(e,t,r)=>{"use strict";r.d(t,{y:()=>i});let i=async(e,t,r)=>{let i=new URLSearchParams;t&&i.append("parentAWD",t),r&&i.append("childAWD",r);try{return await e.customer(`/corporate-bridge/init?${i}`)}catch{return null}}},76961:(e,t,r)=>{"use strict";r.d(t,{a:()=>A});var i=r(47388),a=r(52949),o=r(64228),n=r(10431),l=r(47928),s=r(90656);r(61872);var d=r(65941),c=r(99701),p=r(9262),u=r(23141),x=r(87937),m=r(58625),g=r(300),h=r(37271),f=r(86744),b=r(56740),y=r(55301);let S={container:{width:"100%"},mainContent:{backgroundColor:y.J.white100,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden",width:"100%",margin:"0 auto",position:"relative",padding:{xs:"24px 16px 48px",sm:"64px 160px 100px"},gap:{xs:"24px",sm:"40px"}},heading:{color:y.J.white100,textAlign:"center",fontWeight:700,fontSize:{xs:"40px",sm:"64px"},lineHeight:{xs:"40px",sm:"64px"},margin:0},body:{color:y.J.white80,textAlign:"center",fontWeight:400,fontSize:{sm:"20px",xs:"18px"},lineHeight:{sm:"28px",xs:"26px"},margin:{xs:"20px 0 0 0",sm:"24px 0 0 0"},"& > *":{margin:0,padding:0}},search:{width:{xs:"100%",sm:"80%"},maxWidth:{sm:"543px"}}};
6var C=r(91267);let v={excludeSuggestionTypes:[u.LocationSuggestionTypes.OTR_POINT_OF_INTEREST].join(",")},k=({i18n:e={},styleParts:t={},rootPath:r,locationRootPath:n,mapPath:l})=>{let{control:y}=(0,d.mN)(),k=(0,c.A)(e),A=(0,x.Fu)(),w=(0,s.useRouter)(),T=b.K.use.setFormData(),j=b.K.use.formData(),I=e=>{let{relPath:t,regionCode:i,countryCode:a,stateCode:o,cityName:s,mnemonic:d,typeCode:c}=e,p=(0,g.V)({rootPath:r,relPath:t});if(t)return void w.push(p);if("Other"===c&&l){let t={...e,suggestionTypeCode:u.LocationSuggestionTypes.OTR_CITY};T({...j,pickup:t,dropoff:null}),w.push(l);return}let x=(0,f.Yv)(s),m=`${n}/${(0,f.yQ)(i)}/${(0,f.yQ)(a)}/${o&&"xx"!==o.toLowerCase()?(0,f.yQ)(o)+"/":""}${x}/${(0,f.yQ)(d)}`;globalThis.location.href=m};return(0,i.jsx)(a.default,{sx:(0,o.iX)(S,t,"search"),children:(0,i.jsx)(d.xI,{control:y,defaultValue:"",name:"locationSearchField",render:({field:e})=>(0,i.jsx)(m.C,{testIdPrefix:"location-search-module-search-field",name:e.name,control:y,inputIcon:p.W,loadOptions:e=>{let t=new URLSearchParams({isPickUpSearch:"false",suggestionLimit:C.P,keyword:e,...v});return(0,h.V)(A,t)},loadCurrentOptions:e=>{let t=new URLSearchParams({latitude:e.latitude.toString(),longitude:e.longitude.toString(),suggestionLimit:C.P,radialDistanceMiles:C.Y,...v});return(0,h.o)(A,t)},errors:{incorrectValue:k("locationSearch.error.incorrectValue"),emptyValue:k("locationSearch.error.emptyValue")},allowGeolocation:!0,uiTextData:{placeholder:k("locationSearch.search.label"),loadingText:k("locationSearch.loadingText.label"),useCurrentLocationLabel:k("locationSearch.currentLocation.label"),groupBackButtonLabel:k("locationSearch.groupBackButton.label"),noMatchLabel:k("locationSearch.noMatch.label"),reviseSearchLabel:k("locationSearch.reviseSearch.label"),browseForLocationLabel:k("locationSearch.ctaLabel.browseForLocation.label"),helperSearchText:k("locationSearch.helperSearch.text"),multipleLocationsLabel:k("locationSearch.multipleLocations.label"),airportsLabel:k("locationSearch.airports.label"),showAllAirportsLabel:k("locationSearch.showAllAirports.label"),showingAllAirportsLabel:k("locationSearch.airports.inputValue.amount.label"),citiesLabel:k("locationSearch.cities.label"),showAllCitiesLabel:k("locationSearch.showAllCities.label"),showingAllCitiesLabel:k("locationSearch.cities.inputValue.amount.label"),recentLabel:k("locationSearch.recent.label"),showAllRecentLabel:k("locationSearch.show.recents.amount.label"),pointsOfInterestLabel:k("locationSearch.pointsOfInterest.label"),showAllPOILabel:k("locationSearch.show.interestPoints.amount.label"),showingAllPOILabel:k("locationSearch.interestPoints.inputValue.amount.label"),neighborhoodLabel:k("locationSearch.neighborhood.locations.label"),showAllNeighborhoodLabel:k("locationSearch.neighborhood.locations.amount.label"),showingAllNeighborhoodLabel:k("locationSearch.neighborhood.inputValue.amount.label"),truckLabel:k("bookingWidget.location.truck.label"),showAllTruckLabel:k("bookingWidget.location.showAll.truck.label"),showingAllTruckLabel:k("bookingWidget.location.showingAll.truck.label"),myLocationsLabel:k("locationSearch.myLocations.label"),useCurrentLocationFoundErrorMessage:"",is24hoursDropOffAvailableLabel:"",addressLabel:"",locationLinkLabel:"",hoursOfOperationLabel:"",phoneLabel:""},optionTestIdBuilder:({identifier:e,suggestionTypeCode:t})=>`location-search-module-option-${e}-${t}`,onSelectLocation:I})})})},A=({aemAttributes:e={},model:t,styleParts:r={},config:s})=>{let{headline:d,description:c,"Headline-heading":p=""}=t,{navigationLinks:{rootPath:u,locations:x,map:m}}=s,g={...t.i18n&&{i18n:t.i18n},...t.ctaLink&&{ctaLink:t.ctaLink},...t.ctaTarget&&{ctaTarget:t.ctaTarget},...r&&{styleParts:r},rootPath:u,locationRootPath:x,mapPath:m};return(0,i.jsx)(a.default,{...e,"data-testid":"location-search-module","data-aue-type":"component",sx:(0,o.iX)(S,r,"container"),children:(0,i.jsxs)(a.default,{sx:{...(0,o.iX)(S,r,"mainContent")},children:[(0,i.jsxs)(a.default,{children:[d&&(0,i.jsx)(n.Q,{variant:p||"h1","data-testid":"location-search-heading",sx:(0,o.iX)(S,r,"heading"),children:d}),c&&(0,i.jsx)(a.default,{dangerouslySetInnerHTML:{__html:(0,l.p)(c||"")},sx:(0,o.iX)(S,r,"body")})]}),(0,i.jsx)(k,{...g})]})})}},77265:(e,t,r)=>{"use strict";r.d(t,{T:()=>d});var i=r(47388),a=r(95607),o=r(52949),n=r(10431),l=r(92778),s=r(48296);
6let d=({open:e,onClose:t,heading:r,description:d})=>(0,i.jsx)(a.A,{open:e,children:(0,i.jsxs)(o.default,{sx:s.kB,children:[(0,i.jsxs)(o.default,{sx:s.qy,children:[(0,i.jsx)(n.Q,{sx:s.VX,children:r}),(0,i.jsx)(l.w,{"data-testid":"close-icon","aria-label":"close",sx:s.sK,onClick:t})]}),(0,i.jsxs)(o.default,{sx:s.NP,children:[(0,i.jsx)(n.Q,{sx:s.pR,children:d.desc2}),(0,i.jsx)(n.Q,{sx:s.pR,children:d.desc1})]})]})})},77389:(e,t,r)=>{"use strict";r.d(t,{oo:()=>i});let i=(e,t,r)=>{let i=(e=>{let t=Object.entries(e);if(0===t.length)return"";let r=t.map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join("&");return`?${r}`})(Object.fromEntries(Object.entries(r??{}).filter(([,e])=>!!e).map(([e,t])=>[e,String(t)])));return e.replace(`${t}${i}`)}},77456:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckVehicleList:()=>l});var i=r(47388),a=r(71835),o=r(9841),n=r(14351);let l=e=>(0,i.jsx)(a.L,{...e,styleParts:{extendedVehicleCard:o.A,recommendedBackground:(0,i.jsx)(n.Y,{})}})},80053:(e,t,r)=>{"use strict";r.d(t,{V:()=>o,y:()=>n});var i=r(61872);let a=null,o=e=>{a=e},n=()=>{let[e,t]=(0,i.useState)(null),r=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{r.current||(r.current=!0,t(a||{}),o(null))},[]),e}},81643:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});function i({brand:e="avis",bgImage:t=""}){return t?{backgroundImageFinal:t,mobileImage:t}:{backgroundImageFinal:"avis"===e?"/_next/_v/2.9.2.s15.31/_next/static/media/avis-web-bg.774c2914.svg":"/_next/_v/2.9.2.s15.31/_next/static/media/budget-web-bg.ca367d4c.svg",mobileImage:"avis"===e?"/_next/_v/2.9.2.s15.31/_next/static/media/avis-mobile-bg.d17cdda7.svg":"/_next/_v/2.9.2.s15.31/_next/static/media/budget-mobile-bg.4f9672eb.svg"}}},82432:(e,t,r)=>{"use strict";r.d(t,{N:()=>C});var i=r(47388),a=r(52949),o=r(45315),n=r(46323),l=r(8516),s=r(6432),d=r(57521),c=r(61872),p=r(10431),u=r(79193),x=r(55301),m=r(90544);let g={width:"auto",height:{xs:"430px",sm:"488px"}},h={position:"relative",overflow:"hidden",height:{xs:"430px",sm:"100%"},width:"100%","& img":{zIndex:"0",display:"block"}},f={position:"relative",width:"100%",height:"100%","& img":{display:"block"}},b={position:"absolute",display:"flex",flexDirection:"column",alignItems:"flex-start",color:"#fff",padding:{xs:"16px",lg:"24px"},height:{xs:"180px",sm:"200px"},"& a":{paddingTop:{xs:"16px",lg:0}},"&:last-child":{paddingBottom:{xs:"16px",lg:"24px"}}},y={marginTop:{xs:"4px",sm:"8px"},marginBottom:"auto",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical"},S={display:"flex"},C=({headline:e,ctaLink:t,styleParts:r,testId:C,image:v,bodyContent:k,dynamicMedia:A})=>{let w=(0,c.useRef)(null),T=(0,c.useCallback)((0,s.A)(()=>{if(!w.current)return;let e=Number.parseFloat(globalThis.getComputedStyle(w.current).lineHeight),t=Math.floor(w.current.offsetHeight/e);w.current.style.webkitLineClamp=`${t}`},300),[]);return(0,c.useEffect)(()=>(T(),window.addEventListener("resize",T),()=>{window.removeEventListener("resize",T),T.cancel()}),[T]),(0,i.jsx)(a.default,{sx:g,"data-testid":`full-image-card-wrapper-${C}`,children:(0,i.jsx)(o.A,{href:t,rel:"noopener noreferrer","data-testid":`full-image-card-wrapperlink-${C}`,id:`full-image-card-wrapperlink-${C}`,children:(0,i.jsxs)(n.A,{"data-testid":`full-image-card-content-${C}`,sx:(0,d.o)(r.gridItemCardContainer,h),children:[(0,i.jsx)(a.default,{"data-testid":`full-image-card-image-${C}`,sx:f,children:(0,i.jsx)(m.AemImage,{src:v?.source,alt:"full-image-card-image",fill:!0,style:{objectFit:"cover"},wid:A?.width,hei:A?.height,smartCropName:A?.smartCropName,loading:"lazy"})}),(0,i.jsxs)(l.A,{"data-testid":`full-image-card-contentfragment-${C}`,sx:(0,d.o)(r.gridImageItemCardContent,b),children:[(0,i.jsx)(p.Q,{variant:"h4",fontWeight:700,sx:{...r.gridImageItemCardHeadlineText},"data-testid":`image-card-header-contentfragment-text-${C}`,children:e}),(0,i.jsx)(p.Q,{ref:w,variant:"bodyLargeRegular",sx:(0,d.o)(r.gridImageItemCardBodyContent,y),"data-testid":`image-card-body-contentfragment-text-${C}`,children:k}),t&&(0,i.jsx)(a.default,{sx:S,"data-testid":`image-card-cta-contentfragment-link-${C}`,children:(0,i.jsx)(u.f,{sx:{color:x.J.white100},"data-testid":"arrow-right-image-card"})})]})]})})},e)}},82714:(e,t,r)=>{"use strict";r.d(t,{I:()=>d});var i=r(26985),a=r(87937),o=r(57109),n=r(75267),l=r(1263),s=r(20732);let d=e=>{let t=(0,n.zl)(),r=(0,a.Fu)(),{locale:d,licenseeLocale:c,country:p}=(0,o.usePageContext)();(0,i.u)(t=>{let i=l.Z.getState(),a=(0,n.Xh)(i),o=(0,n.o7)(i);if(e&&!a&&!o)return void i.setIsUserProfileFullDetailsFetched();let u=async()=>{let e=await (0,s.e)({bffClient:r,accessToken:o??"",params:{locale:d,licenseeLocale:c,country:p},signal:t});i.setUserProfile(e),i.setIsUserProfileFullDetailsFetched()};!a&&o&&u()},[t,r,p,d,c,e])}},82779:(e,t,r)=>{"use strict";r.d(t,{a:()=>s});
6var i=r(10638),a=r(55871),o=r(61530);let n=e=>{if(e)try{return(0,i.GP)((0,a.H)(e),"MMMM")}catch{return}},l=e=>{if(e)try{let t=0,r=0;if(e.includes(":")){let i=e.split(":").map(Number);t=i[0]??0,r=i[1]??0}else{if(4!==e.length)return e;t=Number(e.slice(0,2)),r=Number(e.slice(2,4))}if(Number.isNaN(t)||Number.isNaN(r))return e;let i=t>=12?"PM":"AM",a=t%12||12;return`${a}:${String(r).padStart(2,"0")} ${i}`}catch{return e}},s=(e,t)=>{var r,i,s,d;let c=((e,t)=>{if(e&&t)try{return(0,o.m)((0,a.H)(t),(0,a.H)(e))}catch{return}})(e.pickUpDateTime?.date,e.dropOffDateTime?.date);return{campaign_id:e.campaignId??void 0,reservation_id:e.confirmationNumber??void 0,booking_date:e.bookingDate??void 0,awd_type:e.awdType??void 0,flight_number:e.flightNumber??void 0,split_billing:e.splitBilling??!1,payment_type:e.paymentType??void 0,old_selection:e.oldVehicleClass??void 0,new_selection:e.newVehicleClass??void 0,component:t.component,upsell_step:t.upsellStep,booking_state:t.bookingState,country_of_residence:e.countryOfResidence??void 0,dropoff_date:e.dropOffDateTime?.date??void 0,dropoff_location:e.dropOffLocationMnemonic??void 0,dropoff_location_country:e.dropOffLocationCountry??void 0,dropoff_location_region:e.dropOffLocationRegion??void 0,dropoff_month:n(e.dropOffDateTime?.date),dropoff_time:l(e.dropOffDateTime?.time),rental_length_days:c,length_of_rental_days:c,hours_to_rental:((e,t)=>{if(e)try{let r=(0,a.H)(`${e}T00:00:00Z`);if(Number.isNaN(r.getTime()))return;let{hours:i,minutes:o}=(e=>{if(!e)return{hours:12,minutes:0};let t=NaN,r=NaN;if(e.includes(":")){let i=e.split(":").map(Number);t=i[0]??NaN,r=i[1]??0}else 4===e.length&&(t=Number(e.slice(0,2)),r=Number(e.slice(2,4)));return Number.isNaN(t)||Number.isNaN(r)?{hours:12,minutes:0}:{hours:t,minutes:r}})(t),n=Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),i,o),l=new Date,s=Date.UTC(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate(),l.getUTCHours(),l.getUTCMinutes(),l.getUTCSeconds()),d=Math.floor((n-s)/36e5);return d>0?d:void 0}catch{return}})(e.pickUpDateTime?.date,e.pickUpDateTime?.time),pickup_date:e.pickUpDateTime?.date??void 0,pickup_location:e.pickUpLocationMnemonic??void 0,pickup_location_country:e.pickUpLocationCountry??void 0,pickup_location_region:e.pickUpLocationRegion??void 0,pickup_month:n(e.pickUpDateTime?.date),pickup_time:l(e.pickUpDateTime?.time),x_digital_region:"global",region:e.region??void 0,trip_type:(r=e.pickUpLocationMnemonic,i=e.dropOffLocationMnemonic,r&&i?r===i?"round trip":"one way":"round trip"),airport_flag:e.pickUpLocationIsAirport?"true":"false",purpose_of_travel:e.purposeOfTravel??void 0,rental_location_type:(s=e.pickUpLocationIsAirport,d=e.rentalLocationSuggestionType,s?"airport":d?.toLowerCase().includes("city")?"city":d?.toLowerCase().includes("train")?"train_station":void 0),avis_first_ind_event:e.avisFirstIndEvent??void 0,modification_value_change:e.modificationValueChange??void 0,new_value:e.newValue??void 0}}},83201:(e,t,r)=>{"use strict";r.d(t,{E:()=>U});var i=r(47388),a=r(88365),o=r(33392),n=r(99701),l=r(1263),s=r(65429),d=r(51101),c=r(38831),p=r(52949),u=r(61872),x=r(64228),m=r(10431),g=r(57109),h=r(90544),f=r(8085);let b=e=>(0,i.jsx)(f.default,{width:"39",height:"13",viewBox:"0 0 39 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,i.jsx)("path",{d:"M24.5682 12.6884H27.511V0.317669H24.5682V12.6884ZM23.3959 0.317669H20.163L17.3577 9.25822L14.5017 0.317669H11.2179L15.8026 12.6884H18.7275L23.3959 0.317669ZM13.0034 12.6884L8.04784 0.317669H5.13495L0 12.6884H3.23588L4.12411 10.2601H8.81345L9.75251 12.6884H13.0004H13.0034ZM8.00896 7.86537H4.96448L6.50168 3.6196L8.00896 7.86537ZM36.6385 3.40273C35.8699 2.69713 35.1641 2.46499 34.4134 2.46499C33.6628 2.46499 32.7207 2.72768 32.7207 3.70512C32.7207 4.52373 33.4415 4.80169 34.5869 5.17129C36.2287 5.71194 38.3491 6.41142 38.3491 8.87641C38.3491 11.7232 36.1091 13 33.7136 13C31.985 13 30.2385 12.3555 29.1798 11.2192L30.9742 9.3407C31.6889 10.1257 32.7566 10.5381 33.7136 10.5381C34.6018 10.5381 35.3884 10.1868 35.3884 9.19103C35.3884 8.24718 34.4643 7.93257 32.8732 7.40414C31.336 6.89709 29.7779 6.11208 29.7779 3.87923C29.7779 1.13628 32.2063 0 34.4643 0C35.834 0 37.3742 0.525376 38.4329 1.51809L36.6385 3.39967V3.40273Z"})});var y=r(55301),S=r(23141);let C={default:{clubProgramType:S.DriveSubscriptionClubProgramEnum.DRIVE,backgroundImage:"/content/dam/platform/membership/avis_default.png"},silver:{clubProgramType:S.DriveSubscriptionClubProgramEnum.DRIVE_SILVER,backgroundImage:"/content/dam/platform/membership/avis_silver.png"},gold:{clubProgramType:S.DriveSubscriptionClubProgramEnum.DRIVE_GOLD,backgroundImage:"/content/dam/platform/membership/avis_gold.png"}};var v=r(71734);let k={flexDirection:"row",alignItems:"center",gap:"7px",zIndex:1},A={lineHeight:1,display:"block",fontSize:10},w={lineHeight:1,fontWeight:400,fontSize:6},T=e=>()=>({textAlign:"end",color:`${e?y.J.neutral800:y.J.white100} !important`}),j={src:"/_next/_v/2.9.2.s15.31/_next/static/media/fastbreak_default.78f015d9.png",height:72,width:432,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAABCAMAAADU3h9xAAAACVBMVEX////+/v7b29syZZPFAAAAA3RSTlM0SDIpYx0fAAAACXBIWXMAACxLAAAsSwGlPZapAAAADklEQVQImWNgZGAAISYAABoABuQTziwAAAAASUVORK5CYII=",blurWidth:8,blurHeight:1},I=({clubProgramType:e,i18n:t})=>{let r,a=l.Q.use.userProfile(),{brand:o}=(0,g.usePageContext)(),s=(0,n.A)(t),c="budget"===o,p=e===C.silver.clubProgramType,[u,x]=e?e.toUpperCase().split(" "):[],f=(0,i.jsxs)(i.Fragment,{children:[u??""," ",x&&(0,i.jsx)("strong",{children:x})]});if(!a)return null;let S=a?.memberShipStatus===v.LV,I=a?.memberShipStatus===v.QN,R=a?.memberShipStatus===v.NM,P=a?.memberShipStatus===v._9,L=c&&a?.memberShipStatus===v.U0,E=a?.memberShipStatus?.toUpperCase().split(" ")??[],B=(0,i.jsxs)(d.default,{sx:()=>({flexDirection:"row",alignItems:"center",gap:"4px",color:p?y.J.red500:y.J.white100}),children:[v.ch,(0,i.jsxs)(d.default,{sx:T(p),"data-testid":"loyalty-tier-label",children:[(0,i.jsxs)(m.Q,{variant:"metadataMedium",sx:A,children:[E[0]," ",(0,i.jsx)("span",{style:{fontSize:5,display:"block"},children:E[1]??""})]}),(0,i.jsx)(m.Q,{variant:"metadataMedium",sx:w,children:f})]})]});switch(!0){case S:r=null;break;case I:case R:case P:r=B;break;default:r=a?.memberShipStatus||""}return(0,i.jsxs)(d.default,{sx:k,"data-testid":"logo",children:[c&&L&&(0,i.jsx)(h.AemImage,{src:j,alt:"Fastbreak logo",width:108,height:18,"data-testid":"club-program-type-logo"},"fastbreak-logo"),c&&!L&&(0,i.jsx)(d.default,{sx:T(p),"data-testid":"loyalty-tier-label",children:(0,i.jsx)(m.Q,{variant:"subtitle2",children:s("heroProfile.loyaltyCard.rapidRez.label")})}),!c&&S&&(0,i.jsx)(d.default,{sx:T(p),"data-testid":"loyalty-tier-label",children:(0,i.jsx)(m.Q,{variant:"subtitle2",children:s("heroProfile.loyaltyCard.myAvisMember.label")})}),!c&&!S&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b,{fill:p?y.J.red500:y.J.white100,sx:()=>({fill:p?y.J.red500:y.J.white100,width:{xs:"49px",sm:"38px"},height:{xs:"17px",sm:"13px"}}),"data-testid":"club-program-type-logo"})," ",r]})]})},R={display:"flex",flexDirection:"column",alignItems:"end"},P={position:"relative",minWidth:{xs:"226px",sm:"208px"},height:{xs:"127px",sm:"117px"},borderRadius:"8px",padding:"16px 12px",overflow:"hidden"},L={zIndex:2,outlineOffset:"initial !important",padding:"initial",margin:"initial",minHeight:"initial",outline:"initial"},E={marginRight:"8px"},B={position:"absolute",userSelect:"none",top:0,right:0,left:0,bottom:0},D={flexDirection:"row",alignItems:"center",justifyContent:"space-between"},M={src:"/_next/_v/2.9.2.s15.31/_next/static/media/avis_default.cad990c1.png",height:1e3,width:1780,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAACVBMVEXBAyjOASnUACrEgWwpAAAAAnRSTlP7/tveKlUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAARSURBVAiZY2ACAUYGBgbcDAADcgAtSUogZwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:4},F={src:"/_next/_v/2.9.2.s15.31/_next/static/media/budget_default.e7f21bee.png",height:1e3,width:1778,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAACVBMVEUAKF8ZPW4QNWlQhR4TAAAAAnRSTlP//r+y71EAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAAdSURBVAiZJcaxDQAACIAw4P+jjTq1AKSuGJ/s3DEBUAAS+ief/QAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:4},z=({wizardNumberTitle:e,i18n:t,styleParts:r={}})=>{let a,{brand:o}=(0,g.usePageContext)(),s=l.Q.use.userProfile(),f=l.Q.use.sessionProfile(),b=l.Q.use.isAuthenticated(),y=(0,n.A)(t),S="budget"===o,{navigationLinks:v,features:k}=(0,g.usePageContext)(),A=b?f:s,w=s?.driveSubscription?.status==="EXPIRED"?void 0:s?.driveSubscription?.clubProgramType,T=w===C.silver.clubProgramType;switch(w){case C.gold.clubProgramType:a=C.gold.backgroundImage;break;case C.silver.clubProgramType:a=C.silver.backgroundImage;break;default:a=C.default.backgroundImage}let j=S?"/content/dam/platform/membership/budget_default.png":a,z=(0,u.useMemo)(()=>k["feature.enableLoyaltyCardLinkDisplay"]&&b&&v?.loyaltyCardDownload?.length>0,[k,b,v?.loyaltyCardDownload?.length]);return(0,i.jsx)(d.default,{sx:R,children:(0,i.jsxs)(d.default,{sx:(0,x.oz)(P,r.root),"data-testid":"loyalty-card",children:[(0,i.jsxs)(d.default,{sx:D,children:[(0,i.jsx)(I,{clubProgramType:w,i18n:t}),z&&(0,i.jsx)(c.default,{className:"secondaryInverseText small",sx:L,"data-testid":"download-button",disableRipple:!0,onClick:()=>globalThis.open(v.loyaltyCardDownload,"_blank"),children:(0,i.jsx)(m.Q,{variant:"actionSmallRegular",children:y("heroProfile.loyaltyCard.downloadButton.label")})})]}),(0,i.jsxs)(p.default,{sx:e=>({flex:1,alignContent:"flex-end",color:T?e.palette.text.primary:e.palette.text.primaryInverse,zIndex:1,"&>:last-child":{marginTop:{xs:"4px",sm:0}}}),children:[(0,i.jsx)(m.Q,{variant:"metadataRegular",sx:E,"data-testid":"wizard-number-title",children:e}),(0,i.jsx)(m.Q,{variant:"bodyRegularMedium","data-testid":"wizard-number",children:A?.profileNumber}),(0,i.jsxs)(m.Q,{variant:"bodyRegularMedium",component:"p","data-testid":"username",children:[A?.personalDetails?.name?.firstName," ",A?.personalDetails?.name?.lastName]})]}),(0,i.jsx)(p.default,{sx:B,children:(0,i.jsx)(h.AemImage,{src:j,alt:"Loyalty Card Backgroun
6d","data-testid":"background",style:{objectFit:"contain"},fill:!0,fallbackSrc:S?F:M},a)})]})})},N={display:"flex",justifyContent:"space-between",marginBottom:"56px"},_={alignItems:"flex-start"},W={textAlign:"left"},H={marginTop:"24px",textAlign:"left",color:y.J.white80},U=e=>{let t=(0,a.A)(),r=(0,n.A)(e.model.i18n),d=(0,o.A)(t.breakpoints.down("sm")),c=l.Q.use.userProfile(),p=r("heroProfile.hello.label").replace("{{userName}}",c?.personalDetails?.name?.firstName||"");return(0,i.jsx)(s.t,{...e,model:{...e.model,title:p,subTitle:e.model.body,showLogo:!1},titleVariant:d?"h3":"h2",subtitleVariant:"bodyRegularRegular",titleTestId:"profile-hero-banner-title",subtitleTestId:"profile-hero-banner-subtitle",styleParts:{textContainer:_,contentContainer:N,title:W,subtitle:H},isSubTitleVisibleOnMobile:!1,children:(0,i.jsx)(z,{i18n:e.model.i18n,...e.loyaltyCard,userProfile:c})})}},83811:(e,t,r)=>{"use strict";r.d(t,{_:()=>c});var i=r(47388),a=r(52949),o=r(64228),n=r(10431),l=r(456);let s=({children:e,value:t})=>(0,i.jsx)(l.j.Provider,{value:t,children:e}),d={container:{display:"flex",flexDirection:"column",gap:"16px",width:"100%",backgroundColor:"transparent",overflow:"hidden",position:"relative"},heading:{lineHeight:{xs:"26px",sm:"28px"},fontSize:{xs:"18px",sm:"20px"},fontWeight:"700"},bodySection:{display:"flex",flexWrap:"wrap",gap:"16px"}},c=({aemAttributes:e={},model:t,styleParts:r={},children:l})=>{let{header:c,hoverEffect:p="primary"}=t;return(0,i.jsxs)(a.default,{...e,"data-testid":"vehicle-features-component","data-aue-type":"container",sx:(0,o.iX)(d,r,"container"),children:[c&&(0,i.jsx)(n.Q,{"data-testid":"vehicle-features-heading",variant:"bodyLargeBold",children:c}),l&&(0,i.jsx)(a.default,{"data-testid":"vehicle-features-body-section",sx:(0,o.iX)(d,r,"bodySection"),children:(0,i.jsx)(s,{value:p,children:l})})]})}},84396:(e,t,r)=>{"use strict";r.d(t,{Ht:()=>s,J2:()=>l,Lh:()=>n,PV:()=>d,q$:()=>c,sM:()=>p});var i=r(780),a=r(30880);let o=a.env.DEV_MODE,n="true"===(0,i.g)(o)&&"development"===(0,i.g)("production"),l=(0,i.g)(a.env.NEXT_PUBLIC_RUNENV??"local"),s="NEXT_PUBLIC_RUNMODE",d=(0,i.g)(a.env[s]??"publish"),c="author"===d,p=!c},84544:(e,t,r)=>{"use strict";r.d(t,{z:()=>i});let i="accountActivationMessageSeen"},86570:(e,t,r)=>{"use strict";r.d(t,{C:()=>d});var i=r(61872),a=r(87937),o=r(1263),n=r(28744),l=r(76836),s=r(88902);let d=({model:e})=>{let{updateCbpData:t,resetCbpData:r}=(0,n.E)(),d=(0,a.Fu)();(0,i.useEffect)(()=>{let{businessDiscount:r="",countryList:i=[],languageList:a=[],leisureDiscount:o="",logoImage:n={source:"",description:""},member:l="",notes:s="",parentAwd:d="",rateShopIndicator:c="",segmentName:p="",segmentType:u="",stcCode:x="",customText:m=""}=e||{};t({businessDiscount:r,countryList:i,languageList:a,leisureDiscount:o,logoImage:n,member:l,notes:s,parentAwd:d,rateShopIndicator:c,segmentName:p,segmentType:u,stcCode:x,customText:m})},[e,t]);let c=o.Q.use.userSession(),p=e?.parentAwd||"";return(0,i.useEffect)(()=>{p&&d&&(c?(async()=>{try{let e=await (0,l.y)(d,p);if(e?.parentSegment&&Object.keys(e.parentSegment).length>0){let{divisions:r=[]}=await (0,s.X)(d,void 0,void 0,p)||{},[i]=r,a=1===r.length&&i?.childAWD===p,o=await (0,l.y)(d,"",p);o?.childSegment&&t({parentAwd:p,segment:e?.parentSegment,childSegment:o?.childSegment,divisions:a?[]:r,isCbpFlow:!0})}else t({divisions:[]})}catch{t({divisions:[]})}})():t({divisions:[]}))},[d,p,c,t]),(0,i.useEffect)(()=>()=>{r()},[r]),""}},86645:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckContentModule:()=>n});var i=r(47388),a=r(52398),o=r(40660);let n=({aemAttributes:e,...t})=>(0,i.jsx)(a.O,{...t,aemAttributes:e,styleParts:o.j})},88086:(e,t,r)=>{"use strict";r.d(t,{o:()=>o});var i=r(61872),a=r(57299);let o=()=>{let e=(0,i.useContext)(a.t);if(!e)throw Error("useImageCardContext must be used within a ImageCardProvider");return e}},88902:(e,t,r)=>{"use strict";r.d(t,{X:()=>a});var i=r(49507);let a=async(e,t,r,a)=>{let o=new URLSearchParams;a&&o.append("parentAWD",a),t&&o.append("context.locale",(0,i.M)(t)),r&&o.set("context.domainCountry",r.toUpperCase());try{return await e.customer(`/corporate-bridge/divisions?${o}`)}catch{return null}}},90599:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckLoginContainer:()=>u});var i=r(47388),a=r(42064),o=r(4462),n=r(56921),l=r(58228);let s={borderRadius:"24px",margin:{xs:"40px 0 24px",sm:"56px 0"}};var d=r(58016);let c={banner:{fontSize:"12px",borderRadius:"8px",backgroundColor:d.S.blue400,color:d.S.primary100,".MuiSvgIcon-root":{stroke:d.S.primary100,fill:d.S.blue400}},dialogWindowRadius:{"& .MuiDialog-paper":{borderRadius:{xs:"16px 16px 0 0",sm:"24px"}},"&.MuiBox-root":{borderRadius:{xs:"16px 16px 0 0",sm:"24px"}}},text:{fontSize:"13px"},logInBtn:{fontSize:"13px",backgroundColor:d.S.primaryDarkBlue},dividerText:{fontSize:"13px",color:d.S.neutralGrey500},amazonBtn:{border:`1px solid ${d.S.neutral600}!important`,".MuiTypography-root":{fontSize:"13px"}},signUpBtn:{fontSize:"13px",borderRadius:"24px",backgroundColor:d.S.neutral100,":hover":{backgroundColor:d.S.neutral100}},rememberMe:{".MuiTypography-root":{fontSize:"13px"}},captcha:{fontSize:"11px",color:d.S.neutralGrey500,textDecorationColor:"initial","& > a":{color:d.S.neutralGrey500}}},p={dialogWindowRadius:{"& .MuiDialog-paper":{borderRadius:{xs:"16px 16px 0 0",sm:"24px"}},"&.MuiBox-root":{borderRadius:{xs:"16px 16px 0 0",sm:"24px"}}},radioInnerCircle:{color:d.S.primaryDarkBlue}},u=({aemAttributes:e={},model:t,isOpen:r,onClose:d})=>t?.showInFormView?(0,i.jsx)(a.LoginFormContainer,{aemAttributes:e,model:t,styleParts:{container:s,loginContent:c,mfaContent:p},partProps:{formError:{styleParts:n.x},textControl:{styleParts:l.x}}}):(0,i.jsx)(o.LoginFormModalContainer,{aemAttributes:e,isOpen:r,onClose:d,model:t,styleParts:{loginContent:c,mfaContent:p},partProps:{formError:{styleParts:n.x},textControl:{styleParts:l.x}}})},90699:(e,t,r)=>{"use strict";r.d(t,{H:()=>N});var i=r(47388),a=r(88365),o=r(33392),n=r(52949),l=r(45315),s=r(38831
6),d=r(63903),c=r.n(d),p=r(90656),u=r(61872),x=r(64228),m=r(57109),g=r(90544),h=r(58409),f=r(22472),b=r(8085);let y=e=>(0,i.jsxs)(b.default,{viewBox:"0 0 22 22",...e,children:[(0,i.jsx)("path",{d:"M18.9393 17.7617C10.0338 22 4.50688 18.4539 0.968938 16.3001C0.750012 16.1644 0.377913 16.3319 0.70076 16.7027C1.87942 18.1318 5.74215 21.5765 10.7841 21.5765C15.8296 21.5765 18.8312 18.8235 19.2067 18.3432C19.5796 17.8671 19.3162 17.6044 18.9392 17.7617H18.9393ZM21.4404 16.3804C21.2013 16.069 19.9862 16.011 19.2216 16.1049C18.4557 16.1961 17.3061 16.6642 17.4061 16.9452C17.4574 17.0505 17.562 17.0033 18.0882 16.956C18.6157 16.9033 20.0936 16.7168 20.4016 17.1194C20.711 17.5247 19.9302 19.4557 19.7876 19.7672C19.6498 20.0786 19.8403 20.1589 20.099 19.9515C20.3543 19.7441 20.8163 19.2072 21.1264 18.4473C21.4343 17.6833 21.6222 16.6176 21.4404 16.3804Z",fill:"black"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9513 9.11349C12.9513 10.2255 12.9794 11.153 12.4173 12.1405C11.9637 12.9436 11.245 13.4373 10.4421 13.4373C9.34603 13.4373 8.7077 12.6023 8.7077 11.3698C8.7077 8.93679 10.8877 8.49521 12.9513 8.49521V9.11349ZM15.8299 16.0711C15.6412 16.2396 15.3681 16.2517 15.1554 16.1393C14.2079 15.3524 14.0393 14.9871 13.5174 14.2363C11.9516 15.8342 10.8436 16.3119 8.81213 16.3119C6.41131 16.3119 4.54041 14.8304 4.54041 11.8636C4.54041 9.54711 5.79709 7.96927 7.58354 7.1985C9.13328 6.51591 11.2972 6.39548 12.9513 6.20685V5.83746C12.9513 5.15894 13.0035 4.35601 12.6061 3.7699C12.2567 3.24395 11.5903 3.02714 11.0041 3.02714C9.91615 3.02714 8.94457 3.58516 8.7077 4.7414C8.65947 4.9984 8.47084 5.25135 8.21391 5.26337L5.4437 4.96633C5.21089 4.91403 4.95397 4.7254 5.0182 4.36803C5.65653 1.01178 8.68756 0 11.4015 0C12.7906 0 14.6053 0.36939 15.7013 1.42128C17.0904 2.718 16.9579 4.44834 16.9579 6.33125V10.7796C16.9579 12.1165 17.512 12.7026 18.0339 13.4253C18.2185 13.6822 18.2587 13.9915 18.0258 14.1841C17.4437 14.6698 16.4079 15.5732 15.8378 16.0791L15.8298 16.0711",fill:"black"}),(0,i.jsx)("path",{d:"M18.9393 17.7617C10.0338 22 4.50688 18.4539 0.968938 16.3001C0.750012 16.1644 0.377913 16.3319 0.70076 16.7027C1.87942 18.1318 5.74215 21.5765 10.7841 21.5765C15.8296 21.5765 18.8312 18.8235 19.2067 18.3432C19.5796 17.8671 19.3162 17.6044 18.9392 17.7617H18.9393ZM21.4404 16.3804C21.2013 16.069 19.9862 16.011 19.2216 16.1049C18.4557 16.1961 17.3061 16.6642 17.4061 16.9452C17.4574 17.0505 17.562 17.0033 18.0882 16.956C18.6157 16.9033 20.0936 16.7168 20.4016 17.1194C20.711 17.5247 19.9302 19.4557 19.7876 19.7672C19.6498 20.0786 19.8403 20.1589 20.099 19.9515C20.3543 19.7441 20.8163 19.2072 21.1264 18.4473C21.4343 17.6833 21.6222 16.6176 21.4404 16.3804Z",fill:"black"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9513 9.11349C12.9513 10.2255 12.9794 11.153 12.4173 12.1405C11.9637 12.9436 11.245 13.4373 10.4421 13.4373C9.34603 13.4373 8.7077 12.6023 8.7077 11.3698C8.7077 8.93679 10.8877 8.49521 12.9513 8.49521V9.11349ZM15.8299 16.0711C15.6412 16.2396 15.3681 16.2517 15.1554 16.1393C14.2079 15.3524 14.0393 14.9871 13.5174 14.2363C11.9516 15.8342 10.8436 16.3119 8.81213 16.3119C6.41131 16.3119 4.54041 14.8304 4.54041 11.8636C4.54041 9.54711 5.79709 7.96927 7.58354 7.1985C9.13328 6.51591 11.2972 6.39548 12.9513 6.20685V5.83746C12.9513 5.15894 13.0035 4.35601 12.6061 3.7699C12.2567 3.24395 11.5903 3.02714 11.0041 3.02714C9.91615 3.02714 8.94457 3.58516 8.7077 4.7414C8.65947 4.9984 8.47084 5.25135 8.21391 5.26337L5.4437 4.96633C5.21089 4.91403 4.95397 4.7254 5.0182 4.36803C5.65653 1.01178 8.68756 0 11.4015 0C12.7906 0 14.6053 0.36939 15.7013 1.42128C17.0904 2.718 16.9579 4.44834 16.9579 6.33125V10.7796C16.9579 12.1165 17.512 12.7026 18.0339 13.4253C18.2185 13.6822 18.2587 13.9915 18.0258 14.1841C17.4437 14.6698 16.4079 15.5732 15.8378 16.0791L15.8298 16.0711",fill:"black"})]});var S=r(10431),C=r(6365),v=r(80307),k=r(1263),A=r(55301);let w={height:"40px",display:"flex",alignItems:"center",gap:"8px",borderRadius:"4px",color:A.J.black,paddingX:"12px",background:`linear-gradient(to bottom, ${A.J.amazonYellowLight}, ${A.J.amazonYellowDark})`,border:`1px solid ${A.J.amazonBorderDefault} !important`,boxShadow:"0 1px 3px rgba(0, 0, 0, 0.12)",transition:"all 0.15s ease","&:hover":{background:`linear-gradient(to bottom, ${A.J.amazonYellowDark}, ${A.J.amazonYellowHover})`,borderColor:`${A.J.amazonBorderHover} !important`,boxShadow:"0 2px 4px rgba(0, 0, 0, 0.16)"},"&:active":{background:`linear-gradient(to bottom, ${A.J.amazonYellowHover}, ${A.J.amazonYellowPressed})`,borderColor:`${A.J.amazonBorderPressed} !important`,boxShadow:"inset 0 1px 3px rgba(0, 0, 0, 0.2)",outline:"none"},"&:focus":{outline:"none"},"&.Mui-focusVisible":{background:`linear-gradient(to bottom, ${A.J.amazonYellowDark}, ${A.J.amazonYellowHover})`,borderColor:`${A.J.amazonBorderHover} !important`,boxShadow:"0 2px 4px rgba(0, 0, 0, 0.16)",outline:`2px solid ${A.J.focusOutlineBlue} !important`,outlineOffset:"2px"},"&:disabled, &.Mui-disabled":{background:`linear-gradient(to bottom, ${A.J.amazonYellowLight}, ${A.J.amazonYellowDark}) !important`,borderColor:`${A.J.amazonBorderDefault} !important`,color:`${A.J.black} !important`,opacity:.7,cursor:"not-allowed",boxShadow:"0 1px 3px rgba(0, 0, 0, 0.12)","& .MuiTypography-root":{color:`${A.J.black} !important`},"& *":{color:`${A.J.black} !important`}}},T={fontSize:"20px"},j=({buttonCaption:e})=>{let{amazonLogin:t}=k.Q.use.userSession()??{},{brand:r}=(0,m.usePageContext)(),a=(0,v.j5)(),{isLoading:o,startLoginJourney:n}=(0,C.v)({}),l=async()=>{a({method:"Amazon",login_state:"login",step_number:1,step_description:"Overview"}),await n()};return t?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.Loader,{isActive:o,brand:r}),(0,i.jsxs)(s.default,{disabled:o,onClick:()=>void l(),component:"button",variant:"outlined","data-testid":"amazon-login-button",sx:w,children:[(0,i.jsx)(y,{sx:T}),(0,i.jsx)(S.Q,{component:"span",variant:"bodyRegularMedium",children:e})]})]})};var I=r(18220),R=r(97208),P=r(17820),L=r(58118),E=r(28744),B=r(13982),D=r(74761),M=r
6(98057);let F=({children:e,value:t})=>(0,i.jsx)(M.S.Provider,{value:t,children:e}),z={container:{width:"100%"},wrapper:{backgroundPosition:"center",backgroundSize:"cover",overflow:"hidden",color:A.J.white100,width:"100%",margin:"0 auto",position:"relative",display:"flex",flexWrap:"wrap",alignItems:"center",padding:{xs:"24px 16px 24px 16px",sm:"40px 56px 40px"},zIndex:1,"& > :nth-child(2)":{paddingTop:0},"& > :last-child":{paddingBottom:0}},innerContainer:{display:"flex",flexWrap:"wrap",alignItems:"flex-end",justifyContent:"space-between",width:"100%"},contentWrapper:{width:{xs:"100%",sm:"66%"}},dropdownWrapper:{width:{xs:"100%",sm:"208px"},paddingY:{sm:"12px",xs:"10px"}},logo:{paddingY:{sm:"12px",xs:"10px"}},background:{"& > img":{zIndex:-1,objectFit:"cover",objectPosition:"center"}},defaultBackground:{"& > img":{zIndex:-1,objectFit:"cover",objectPosition:"center right",display:{xs:"none",sm:"block"}}},headline:{fontWeight:"bold",fontSize:{sm:64,xs:40},lineHeight:{sm:"64px",xs:"40px"},paddingY:{sm:"12px",xs:"10px"}},description:{fontSize:{sm:20,xs:18},lineHeight:{sm:"28px",xs:"26px"},"& > *":{margin:0,padding:0},paddingY:{sm:"12px",xs:"10px"}},actionWrapper:{paddingY:{sm:"12px",xs:"10px"}},amazonLoginWrapper:{paddingY:{sm:"12px",xs:"10px"}}},N=({aemAttributes:e,model:t,styleParts:r={},parts:d={},children:f,config:b})=>{let y,{heroHeadline:S,"heroHeadline-heading":C="",heroDescription:v,backgroundImage:A,logoImage:w,enableCta:T=!0,ctaLink:M="#",ctaStyle:N="primary",ctaTarget:_="_self",ctaText:W="",ctaType:H="button",showCountryDropdown:U=!1,enableLogin:O,loginType:Q,i18n:$}=t,{"profileManagement.amazonSection.loginCta.title":G=""}=$||{},{defaultBackground:V=""}=d,{topSpaceNeeded:J,bookingWidgetState:X,brandSpecificNavigationLinks:{loyaltyEnrollmentPageUrl:Y=""}={}}=b,{parentAwd:q,divisions:Z}=(0,E.E)(),K=(0,B.F)(M)===(0,B.F)(Y),ee=!!(q&&K&&Z&&Z.length>0),[et,er]=(0,u.useState)(K),ei=(0,u.useRef)(q);(0,u.useEffect)(()=>{ei.current=q},[q]),(0,u.useEffect)(()=>{let e=setTimeout(()=>{ei.current||er(!1)},1e3);return()=>clearTimeout(e)},[]),(0,u.useEffect)(()=>{Z&&er(!1)},[Z]);let{formattedHeadline:ea}=(0,P.O)(S),[eo,en]=(0,u.useState)(!1),{navigationLinks:el,features:es}=(0,m.usePageContext)(),ed=(0,p.usePathname)(),{amazonLogin:ec}=k.Q.use.userSession()??{},ep=el.amazonBenefitsLink===ed&&!!(O&&"amazon"===Q)&&!ec;(0,u.useEffect)(()=>{let e=document.querySelector("#booking-widget");if(e?.parentElement?.parentElement){let t=e.parentElement.parentElement;ep?t.style.setProperty("display","none"):t.style.removeProperty("display")}},[ep]);let eu=es?.["feature.enableNewMobileBookingWidget"]??!1,ex=(0,a.A)(),em=(0,o.A)(ex.breakpoints.down("md")),eg=(0,u.useRef)(null);(0,I.j)(eg,em&&eu);let eh=(0,x.iX)(z,r,"wrapper"),ef=(0,u.useMemo)(()=>{if(!J||ep||em&&eu)return{};let e=(0,L.F)({showCarsTrucksToggle:b.showCarsTrucksToggle,hasLogoImage:!!w?.source});return{paddingTop:{sm:`${e.sm} !important`,xs:`${e.xs} !important`}}},[J,ep,em,eu,b.showCarsTrucksToggle,w?.source]),eb=em&&eu?{alignItems:{xs:"flex-start",md:"center"},paddingBottom:"HIDDEN"===X?{xs:0,md:"64px"}:{xs:"calc(var(--booking-widget-height, 380px) + 40px)",md:"64px"}}:{},ey={...eh,...ef,...eb},eS=t[":itemsOrder"]&&t[":itemsOrder"].length>0;return(0,i.jsxs)(n.default,{...e,"data-testid":"hero-banner","data-aue-type":U?"container":"component",sx:(0,x.iX)(z,r,"container"),children:[(0,i.jsxs)(n.default,{sx:ey,children:[(0,i.jsx)(n.default,{sx:(0,x.iX)(z,r,A?.source?"background":"defaultBackground"),children:(0,i.jsx)(g.AemImage,{src:A?.source||V,fill:!0,alt:"background image",loading:"eager",fetchPriority:"high"})}),(0,i.jsxs)(n.default,{sx:(0,x.iX)(z,r,"innerContainer"),children:[(0,i.jsxs)(n.default,{ref:em&&eu?eg:void 0,sx:(0,x.iX)(z,r,"contentWrapper"),children:[w?.source&&(0,i.jsx)(n.default,{sx:(0,x.iX)(z,r,"logo"),children:(0,i.jsx)(g.AemImage,{src:w?.source,width:16,height:16,alt:"hero-icon",style:{width:"auto"},loading:"eager"})}),(0,i.jsx)(n.default,{children:(0,i.jsx)(h.W,{bannerType:"hero",title:ea,subTitle:v,titleVariant:C||"h1",titleTestId:"hero-banner-headline",subtitleTestId:"hero-banner-description",styleParts:{title:r.headline,subtitle:r.description}
6,defaultStyles:{title:z.headline,subtitle:z.description}})}),T&&(0,i.jsx)(n.default,{sx:(0,x.iX)(z,r,"actionWrapper"),children:(y=ee?{onClick:()=>en(!0),href:"#"}:{href:M,target:_},"text"===H?(0,i.jsx)(l.A,{variant:"actionRegularRegular",component:c(),prefetch:!0,className:`${N}Text`,sx:{visibility:et?"hidden":"visible"},...y,children:W}):(0,i.jsx)(s.default,{disabled:et,component:c(),prefetch:!0,disableRipple:!0,className:N,...y,children:W}))}),ep&&(0,i.jsx)(n.default,{sx:(0,x.iX)(z,r,"amazonLoginWrapper"),children:(0,i.jsx)(j,{buttonCaption:G,i18n:$})})]}),(0,i.jsx)(R.A,{enabled:eu}),eS&&(0,i.jsx)(n.default,{sx:(0,x.iX)(z,r,"dropdownWrapper"),children:(0,i.jsx)(F,{value:{isFAQDropdown:!0},children:f})})]})]}),(0,i.jsx)(D.s,{heading:$["division.modal.headline"],open:eo,ctaLink:M,ctaTarget:_,onClose:()=>en(!1),styleParts:r.divisionsModal||{}})]})}},91733:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});var i=r(55301),a=r(66853);let o=e=>({"& *":{margin:0,padding:0,fontWeight:400,...e?.fontSize&&{fontSize:`${e.fontSize} !important`},...e?.lineHeight&&{lineHeight:e.lineHeight}}}),n={container:{width:"100%",backgroundColor:i.J.white100,margin:"0 auto",position:"relative",padding:{xs:"48px 16px",sm:"56px"}},tableHeader:{display:"flex",justifyContent:"flex-start",alignItems:"flex-start",flexDirection:"column",gap:"16px",width:{xs:"100%",sm:"523px"}},tableDesciption:{fontStyle:"normal",fontWeight:400,textTransform:"none",fontSize:{xs:"18px",sm:"20px"},lineHeight:{xs:"26px",sm:"28px"},"& > *":{margin:0,padding:0,fontSize:{xs:"18px",sm:"20px"},lineHeight:{xs:"26px",sm:"28px"},fontWeight:400}},cellSectionContainer:{display:"grid",gridAutoFlow:"column",gridTemplateColumns:{xs:"repeat(auto-fill, 130px)",sm:"300px",md:"523px"},gridAutoColumns:{xs:"130px",sm:"200px"},overflowX:"auto",position:"relative",paddingTop:"24px"},column:{display:"flex",flexDirection:"column",padding:{xs:"8px 0px",sm:"24px 0px"}},cellContentCenterWrapper:{flex:1,display:"flex",alignItems:"center",justifyContent:"center"},cellContentTextWrapper:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center"},cell:{display:"flex",flexDirection:"column",justifyContent:"center",flex:1,gap:"13px"},cellDescriptionMobile:o({fontSize:"12px",lineHeight:"12px"}),firstColumnCellDescriptionMobile:o({lineHeight:"16px"}),cellDescription:{fontStyle:"normal",fontWeight:400,"& *":{margin:0,padding:0,lineHeight:"20px"}},cellTopBorder:{borderTopWidth:"1px",borderTopColor:i.J.lightgrey,borderTopStyle:"solid"},cellRightBorder:{borderRightWidth:"1px",borderRightColor:i.J.lightgrey,borderRightStyle:"solid"},checkItemIcon:{strokeWidth:".7px"},checkItemIconDimensions:{width:"16px",height:"16px",padding:"0px",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},closeItemIcon:{strokeWidth:"1.5px"},closeItemIconDimensions:{width:"16px",height:"16px",padding:"2px",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},highlightedWrapper:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%"},highlighted:{padding:"4px 8px"},dividerWrapper:a.g}},92727:(e,t,r)=>{"use strict";r.d(t,{c:()=>eg});var i=r(47388),a=r(88365),o=r(33392),n=r(52949),l=r(17348),s=r(61872),d=r(9720),c=r(78461),p=r(86065),u=r(54788),x=r(1263);let m=(0,s.createContext)({styleParts:{},model:{}}),g=({children:e,model:t,styleParts:r={}})=>(0,i.jsx)(m.Provider,{value:{model:t,styleParts:r},children:e});var h=r(88086);let f="SUCCESS",b="FAILURE";var y=r(17483),S=r(38831),C=r(45315),v=r(65941),k=r(99701),A=r(64228),w=r(10431),T=r(51765),j=r(32106),I=r(16430),R=r(4631),P=r(15305),L=r(57109);let E=()=>{let e=(0,s.useContext)(m);if(!e)throw Error("email offers form must be used within a EmailOffersContextProvider");return e},B={display:"flex",flexDirection:"column",justifyContent:"center",border:"1px solid #E8E6E6",gap:"32px",padding:"0 32px",height:{xs:"430px",sm:"488px"},position:"relative"},D={textAlign:"center"},M={color:"#524D4D",textAlign:"center"},F={display:"grid",gap:"16px"},z={gap:"4px"},N={width:"100%",minWidth:"200px","& .MuiInputBase-input":{fontWeight:400,padding:"10px 14px"},"& :-webkit-autofill":{WebkitBoxShadow:"0 0 0 1000px transparent inset",WebkitTextFillColor:"inherit",transition:"background-color 9999s ease-in-out 0s"}},_={color:"#B31534"},W={"& .MuiInputBase-input":{..._,"&::placeholder":{..._}}},H={alignItems:"center"},U={display:"flex",flexDirection:"column",gap:"8px",textAlign:"center"},O={display:"flex",gap:"4px",..._},Q={"&.MuiButton-root.primary":{minWidth:"80px",height:"40px"}},$={fontSize:"16px"},G={fontSize:"12px",marginTop:"2px"},V={margin:0},J={border:"1px solid #B3153433",display:"flex",gap:"4px",alignItems:"center",backgroundColor:"#FBF2F4",padding:"16px",position:"absolute",top:"24px",right:"24px",left:"24px"},X={color:"#B31534"},Y={fontSize:"18px",color:"#B31534"},q=()=>{let{styleParts:e,model:t}=E(),r=(0,k.A)(t.i18n);return(0,i.jsxs)(n.default,{sx:(0,A.oz)(J,e?.emailOffersErrorBannerStyling??{}),children:[(0,i.jsx)(I.m,{sx:Y,viewBox:"0 0 13 13","data-testid":"error-banner-info-icon"}),(0,i.jsx)(w.Q,{sx:X,variant:"bodyRegularBold",children:r("fullImageCardGrid.emailOffers.errorSubscription.signUpFailed.message")})]})},Z=({isError:e,updateVariant:t})=>{let{model:r,styleParts:a}=E(),o=(0,L.usePageContext)(),{register:l,handleSubmit:d,formState:{errors:c}}=(0,v.mN)({defaultValues:{email:""}}),p=(0,k.A)(r.i18n),u=(0,s.useMemo)(()=>({required:p("global.field.validation.fieldRequired.message",{field:p("global.field.email.label")}),pattern:{value:R.EMAIL_STANDARD_REGEX,message:p("fullImageCardGrid.emailOffers.errorSubscription.invalidFormat.message")}}),[p]),x=async({email:e})=>{try{let i=globalThis.location?.href??"",a=await fetch(`/api/email-offers?correlationId=${P.Q}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({thx:`${i}#/?flag=${f}`,err:`${i}#/?flag=${b}`,usub:`${i}#/?flag=UNSUB`,MID:r.signUpMid,lid:r.signUpLid,SubAction:"sub_add_update","Email Address":e})});if(!a.ok)return void t(b);(await a.json()).subscribeStatus===f?t(f):t(b)}catch{t(b)}},m=(e=>{if(!e)return[];let t=e.split(/(<span\b[^>]*>[\s\S]*?<\/span>)/i),r=/<span\b([^>]*)>([\s\S]*?)<\/span>/i;return t.map(e=>{let t=r.exec(e);if(t&&t[1]){let e=/class\s*=\s*["']([^"']+)["']/i.exec(t[1]);return{type:"link",linkType:e?.[1]?.split(/\s+/)[0]??"",value:t[2]||""}}return{type:"text",value:e}})})(p("fullImageCardGrid.emailOffers.legalDisclaimer.label"));return(0,i.jsxs)(n.default,{sx:(0,A.oz)(B,a?.gridItemCardContainer),children:[e&&(0,i.jsx)(q,{}),(0,i.jsx)(w.Q,{variant:"h5",sx:D,children:p("fullImageCardGrid.emailOffers.title.label")}),(0,i.jsx)("form",{"data-testid":"email-offers-form",noValidate:!0,onSubmit:d(x),children:(0,i.jsxs)(n.default,{sx:(0,A.oz)(F,a?.emailOfferFormTemplate),children:[(0,i.jsxs)(n.default,{sx:z,children:[(0,i.jsx)(T.A,{sx:(0,A.oz)(N,c.email?W:{}),placeholder:p("global.field.emailAddress.placeholder"),error:!!c.email,...l("email",{...u}),slotProps:{htmlInput:{"data-testid":"email-offers-input-field"},input:{startAdornment:(0,i.jsx)(y.A,{position:"start",sx:(0,A.oz)(V,c.email?_:{}),children:(0,i.jsx)(j.a,{sx:$})})}}}),c.email&&(0,i.jsxs)(w.Q,{variant:"metadataRegular",sx:O,children:[(0,i.jsx)(I.m,{sx:G,viewBox:"0 0 13 13"}),c.email.message]})]}),(0,i.jsx)(S.default,{className:"primary",type:"submit",sx:Q,children:p("global.button.signUp.label")})]})}),(0,i.jsx)(w.Q,{variant:"metadataRegular",sx:M,children:m.map((e,t)=>"text"===e.type?e.value:(0,i.jsx)(C.A,{href:((e,t)=>{switch(t){case"privacy-notice":return e.privacyPolicy;case"terms-of-use":return e.termsAndConditions;case"contact-us":return e.contactUs;default:return""}})(o.navigationLinks,e?.linkType??""),target:"_blank",children:e.value},t))})]})};var K=r(57521),ee=r(8085);let et=e=>(0,i.jsx)(ee.default,{viewBox:"0 0 32 32",...e,children:(0,i.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M24.89 2.696A16 16 0 1 0 7.11 29.303 16 16 0 0 0 24.889 2.696ZM7.785 16.811l5.014 5.324a.937.937 0 0 0 .693.294.934.934 0 0 0 .755-.38l4.879-5.179a.96.96 0 0 0 .082-.078l5.013-5.324a.94.94 0 0 0-.038-1.333.942.942 0 0 0-1.334.04l-4.956 5.263a.943.943 0 0 0-.074.07l-4.335 4.603-4.325-4.593a.932.932 0 0 0-1.334-.04.933.933 0 0 0-.04 1.333Z",clipRule:"evenodd"})}),er=()=>{let{model:e,styleParts:t}=E(),r=(0,k.A)(e.i18n);return(0,i.jsxs)(n.default,{sx:(0,K.o)(B,H,t.gridItemCardContainer),children:[(0,i.jsx)(et,{"data-testid":"circle-checked-icon",sx:t.emailOffersSuccessIcon??{}}),(0,i.jsx)(w.Q,{variant:"h5",children:r("fullImageCardGrid.emailOffers.title.label")}),(0,i.jsxs)(n.default,{sx:U,children:[(0,i.jsx)(w.Q,{variant:"bodyRegularMedium",component:"p",children:r("fullImageCardGrid.emailOffers.successSubscription.header.label")}),(0,i.jsx)(w.Q,{variant:"bodySmallRegular",children:r("fullImageCardGrid.emailOffers.successSubscription.message.label")})]})]})},ei=()=>
6{let[e,t]=(0,s.useState)(""),r=sessionStorage.getItem("email-offer-subscription-flag")||e;return r===f?(0,i.jsx)(er,{}):(0,i.jsx)(Z,{isError:r===b,updateVariant:e=>{t(e),sessionStorage.setItem("email-offer-subscription-flag",e)}})};var ea=r(51101),eo=r(47928);let en={flexShrink:0},el=e=>({color:e.palette.secondary.dark,fontSize:{xs:"28px",sm:"48px"},fontWeight:700,lineHeight:{xs:"32px",sm:"48px"}}),es=e=>({color:e.palette.neutral["500"],fontSize:{xs:"18px",sm:"20px"},fontWeight:400,lineHeight:{xs:"26px",sm:"28px"},paddingTop:{xs:"5px",sm:"24px"}}),ed=({headline:e,subHeadline:t,dropdownSelect:r})=>{let l=(0,a.A)(),s=(0,o.A)(l.breakpoints.down("md")),d=(0,eo.p)(t);return(0,i.jsxs)(ea.default,{component:n.default,direction:s?"column":"row",spacing:s?4:2,justifyContent:"space-between",width:"100%","data-testid":"image-card-header",children:[(0,i.jsxs)(n.default,{children:[(0,i.jsx)(w.Q,{sx:el,"data-testid":"image-card-header-headline",variant:"h3",children:e}),(0,i.jsx)(w.Q,{sx:es,"data-testid":"image-card-header-subheadline",dangerouslySetInnerHTML:{__html:d??""}})]}),(0,i.jsx)(n.default,{sx:en,children:r&&(0,i.jsx)(n.default,{"data-testid":"image-card-header-dropdown-select",children:r})})]})};var ec=r(15698);let ep={position:"relative",width:"100%",padding:"80px 0"},eu={paddingTop:{xs:"30px",sm:"112px"},width:"100%",display:"grid",gridTemplateRows:"repeat(auto, 1fr)",gridTemplateColumns:{xs:"repeat(1, 1fr)",sm:"repeat(3, 1fr)"},gridColumnGap:{xs:0,sm:"16px"},gridRowGap:"16px",".span-2":{gridColumn:{xs:"span 1",sm:"span 2"}},".span-3":{gridColumn:{xs:"span 1",sm:"span 3"}}};var ex=r(82432),em=r(6254);let eg=({aemAttributes:e,model:t,styleParts:r,children:m})=>{let{setLayoutMode:f}=(0,h.o)(),{updateAnalyticsPageReference:b}=(0,p.g)(),y=(0,s.useCallback)(e=>{e.target instanceof Element&&e.target.closest("a")?.id.startsWith("full-image-card-wrapperlink")&&b()},[b]),S=x.Q.use.userProfile()?.personalDetails?.residenceCountryCode,C=x.Q.use.userSession()?.residenceCountry,v="signup"===t.offerType&&"CA"!==S&&"CA"!==C;(0,s.useEffect)(()=>{f(t.layout)});let k=(0,a.A)(),A=(0,o.A)(k.breakpoints.down("md")),w=(0,s.useCallback)(e=>s.Children.toArray(e).map((e,r)=>r===ec.r[t.layout].index?(0,i.jsx)(n.default,{className:ec.r[t.layout].class,children:e},`${t.id}-${r}`):(0,i.jsx)(n.default,{children:e},`${t.id}-${r}`)),[t.layout,t.id]),[T]=(0,u.T)(t,m,"dropdown"),j=(0,u.T)(t,m,"fullimagecardgridite");return t.mode===ec.H.dynamic&&(j=(t?.items??[]).map(({headline:e,bodyContent:a,ctaLink:o,image:n,...l},s)=>{let p={items:[{promotion_id:l.promotionId||"",promotion_name:e,creative_name:n?.source??"",creative_slot:String(s+1),promotion_position_id:t.id}]};return(0,i.jsx)(d.AnalyticsViewPromotionEventEmitter,{payload:p,children:(0,i.jsx)(c.AnalyticsSelectPromotionEventEmitter,{payload:p,children:(0,i.jsx)(ex.N,{headline:e,bodyContent:a,styleParts:r,testId:`${e}-${s}`,image:n,ctaLink:o,dynamicMedia:(0,em.v)(t.layout,s,A)},`${e}-${s}`)})},`${e}-${s}`)})),"layout4"!==t.layout&&(j=w(j)),(0,i.jsx)(n.default,{...e,"data-aue-type":"container",sx:ep,"data-testid":"full-image-card-container",onClick:y,children:(0,i.jsxs)(l.default,{maxWidth:"xl",children:[(0,i.jsx)(ed,{headline:t?.headline,subHeadline:t?.subHeadline,dropdownSelect:T}),(0,i.jsxs)(n.default,{sx:eu,children:[j,v&&(0,i.jsx)(g,{model:t,styleParts:r,children:(0,i.jsx)(ei,{})})]})]})})}},94025:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckLocationIndex:()=>s});var i=r(47388),a=r(75099),o=r(58016);let n={selectMenu:{"&.MuiSelect-root":{backgroundColor:o.S.neutral100,fontWeight:500,".MuiSelect-select":{backgroundColor:o.S.neutral100,fontWeight:500,fontSize:"15px",lineHeight:"24px",":hover":{backgroundColor:o.S.neutral100}},"&.Mui-focused":{backgroundColor:o.S.neutral100}}},selectMenuArrowIcon:{},selectMenuItem:{borderRadius:"16px",".MuiTypography-root":{fontSize:"15px",lineHeight:"24px"}},selectMenuItemIcon:{}},l={headline:{fontSize:{xs:"28px",sm:"44px"},lineHeight:{xs:"32px",sm:"48px"}}},s=({aemAttributes:e,...t})=>(0,i.jsx)(a.k,{...t,aemAttributes:e,styleParts:l,partProps:{dropdown:{styleParts:n}}})},94649:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckTopHeroBanner:()=>d});var i=r(47388),a=r(52949);r(61872);var o=r(49100),n=r(61510);let l={position:"relative",left:0,width:"100%"},s={fontSize:{xs:"15px",md:"17px"},lineHeight:{xs:"16px",md:"18px"}},d=({aemAttributes:e,model:t,children:r})=>(0,i.jsx)(a.default,{...e,"data-aue-type":"container",component:"section",sx:l,children:t.backgroundImage?.source&&(0,i.jsx)(o.TopHeroBanner,{model:t,styleParts:{headlineWelcomeText:s}
6,smileBackgroundMedia:n.N.budget.SMILE_BACKGROUND,heroBannerMedia:n.N.budget.TOP_HERO_BANNER,overlayType:t.showVisualElement&&"budgetSquiggle"===t.visualElementType?"squiggle":"none",children:r})})},94795:(e,t,r)=>{"use strict";r.d(t,{E:()=>n});var i=r(61872),a=r(87937),o=r(92233);let n=()=>{let e=(0,a.Fu)(),[t,r]=(0,i.useState)(!1),[n,l]=(0,i.useState)();return{fetchMosaicSessionInformation:(0,i.useCallback)(async(t,i)=>{r(!0),l(void 0);try{return await e.customer("profile/create-verification-session",{body:JSON.stringify({brand:t,profileNumber:i}),method:"POST",headers:{"Content-Type":"application/json"}})}catch(e){throw l((0,o.u1)(e)),e}finally{r(!1)}},[e]),isLoading:t,error:n}}},95389:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckProtections:()=>m});var i=r(47388),a=r(13038),o=r(7230),n=r(10999),l=r(95486),s=r(71749),d=r(69088),c=r(30847),p=r(58016);let u={dialog:{"& .MuiDialog-paper":{maxWidth:"1168px",maxHeight:"624px",padding:"24px 32px",borderRadius:"24px"}},dialogTitle:{fontWeight:700,padding:0,textTransform:"capitalize"},headerCellFirst:{width:300,height:110,flex:"1 1 300px",maxWidth:"300px"},headerCell:{width:200,minHeight:110,height:"fit-content",padding:{xs:"16px 0px 10px",lg:"16px 16px 10px"},flex:"1 1 200px",display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"center",textAlign:"center"},headerCellTitle:{fontWeight:700,fontSize:20,lineHeight:"1.2",overflowWrap:"anywhere"},headerCellPrice:{fontSize:16,color:"#524D4D"},rowCell:{maxWidth:200,minHeight:86,flex:"1 1 200px",display:"flex",justifyContent:"center",alignItems:"center",textAlign:"center"},checkItemIcon:{stroke:p.S.primary300,strokeWidth:".7px"},checkItemIconDimensions:{width:"16px",height:"16px"},closeItemIcon:{stroke:p.S.transparencyDark40,strokeWidth:"1.5px"},closeItemIconDimensions:{width:"12px",height:"12px"},closeDialogIcon:{strokeWidth:"1.5px"},closeDialogIconDimensions:{width:"16px",height:"16px",cursor:"pointer"},button:{fontWeight:500,borderRadius:"25px",backgroundColor:p.S.primaryDarkBlue},recommendedWrapper:{width:94,height:26,margin:"0 auto",display:"flex",alignItems:"center",justifyContent:"center"},recommended:{padding:"4px 5px",borderRadius:"16px",backgroundColor:p.S.blue200,color:p.S.neutralBlack,fontSize:"13px",fontWeight:700,lineHeight:"18px",textTransform:"capitalize"},recommendedColumnBackground:{backgroundColor:p.S.blue100},recommendedColumnTop:{backgroundColor:p.S.blue100,borderTopLeftRadius:"25px",borderTopRightRadius:"25px"},recommendedColumnBottom:{backgroundColor:p.S.blue100,borderBottomLeftRadius:"25px",borderBottomRightRadius:"25px"}},x={dialogMobile:{"& .MuiDialog-paper":{maxWidth:"1168px",padding:"24px 16px",borderRadius:"24px",position:"fixed",bottom:0,width:"100%",marginBottom:"0px",marginTop:"0px",height:"100%",gap:"24px"}},dialogTitleWrapperMobile:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingBottom:0,height:"24px",padding:"0 8px",gap:"24px"},dialogTitleMobile:{padding:0,lineHeight:"1.4px",fontSize:18,fontWeight:700},headerCellMobile:{width:200,height:125,padding:"15px 0 0",gap:"8px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",textAlign:"center"},headerCellTitleMobile:{fontWeight:700,lineHeight:"1.2",fontSize:14},headerCellPriceMobile:{fontSize:12,color:p.S.neutralGrey500},checkItemIcon:{stroke:p.S.primary300,strokeWidth:".7px"},checkItemIconDimensions:{width:"16px",height:"16px"},closeItemIcon:{stroke:p.S.transparencyDark40,strokeWidth:"1.5px"},closeItemIconDimensions:{width:"12px",height:"12px"},closeDialogIcon:{strokeWidth:"1.5px"},closeDialogIconDimensions:{width:"16px",height:"16px"},buttonMobile:{width:"56%",height:"48px",borderRadius:"25px",backgroundColor:p.S.primaryDarkBlue,fontWeight:500},recommendedWrapper:{width:94,height:26,margin:"0 auto",display:"flex",alignItems:"center",justifyContent:"center"},recommended:{padding:"4px 5px",borderRadius:"16px",backgroundColor:p.S.blue200,color:p.S.neutralBlack,fontSize:"13px",fontWeight:700,lineHeight:"18px",textTransform:"capitalize"},recommendedColumnBackground:{backgroundColor:p.S.blue100},recommendedColumnTopMobile:{backgroundColor:p.S.blue100,borderTopLeftRadius:"25px",borderTopRightRadius:"25px"},recommendedColumnBottomMobile:{backgroundColor:p.S.blue100,borderBottomLeftRadius:"25px",borderBottomRightRadius:"25px"},actionButtonsWrapperMobile:{display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"24px"},rowCellActionMobile:{width:200,height:70,paddingTop:"5px",display:"flex",justifyContent:"center",alignItems:"baseline",textAlign:"center"},rowCellMobile:{width:200,textAlign:"center",height:90,padding:"16px",display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"center"},protectionTitleMobile:{width:"72%",overflow:"hidden",textOverflow:"ellipsis",fontSize:"12px",fontWeight:500,lineHeight:"1.4"},notIncludedProtectionsMobile:{borderTop:`1px solid ${p.S.neutralGrey300}`,padding:"24px 8px 8px",minHeight:"68px"},notIncludedProtectionsWrapperMobile:{display:"flex",justifyContent:"space-between"},notIncludedProtectionsTitleMobile:{fontSize:"14px",fontWeight:700},notIncludedProtectionsPriceMobile:{fontSize:12,color:p.S.neutralGrey500},notIncludedProtectionsDescriptionMobile:{fontSize:12,color:p.S.neutralGrey500}},m=({aemAttributes:e,model:t,preselectedExtras:r})=>(0,i.jsx)(a.R,{aemAttributes:e,model:t,preselectedExtras:r,parts:{rentalPreferenceDialogActionPanel:c._},styleParts:n.i,partProps:{ancillariesBundle:{styleParts:l.U},ancillariesIndividualItems:{styleParts:d.L},ancillariesDialog:{styleParts:{includedAncillariesDialog:s.w,comparisonDialog:{desktop:u,mobile:x}}},actionFooter:{styleParts:o.Y}}})},95486:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var i=r(58016);let a={bundle:{borderRadius:"24px","&:hover":{outline:{sm:`2px solid ${i.S.primary300}`}
6,".ancillaries-bundle__title":{color:{sm:i.S.secondaryDark}}},"&.ancillaries-bundle--selected":{outline:`2px solid ${i.S.neutral600}`,".ancillaries-bundle__title":{color:i.S.neutralBlack}}},bundleHeader:{backgroundColor:i.S.blue100},bundleImage:{borderRadius:"16px"},bundleTitle:{fontSize:{xs:"18px",sm:"20px"},fontWeight:700,lineHeight:"26px"},coverageRating:{backgroundColor:["#191C1F66","#E86400","#E9C80A","#1EA238"]},description:{color:i.S.neutralGrey500,fontSize:"13px",fontWeight:400,lineHeight:"20px"},itemTickIcon:{stroke:i.S.primary300},itemCrossIcon:{stroke:i.S.neutral400},itemInfoIcon:{fill:i.S.neutral400},itemTooltip:{padding:"15px 24px",borderRadius:"4px",backgroundColor:i.S.neutral100,color:i.S.neutral500,fontSize:"13px",fontWeight:400,lineHeight:"39px",boxShadow:"0px 0px 12px 0px rgba(0, 0, 0, 0.05)"},itemTooltipArrow:{color:i.S.neutral100},oldPrice:{color:i.S.transparencyDark40,fontSize:"13px",fontWeight:400,lineHeight:"18px",textDecoration:"line-through"},price:{color:i.S.neutralBlack,fontSize:"28px",fontWeight:500,lineHeight:"26px"},priceLabel:{color:i.S.neutralBlack,fontSize:"15px",fontWeight:500,lineHeight:"24px"},bookAgain:{borderRadius:"100px",backgroundColor:i.S.neutral100,color:i.S.neutral500,fontSize:"11px",fontWeight:400,lineHeight:"16px"},recommended:{borderRadius:"16px",backgroundColor:i.S.blue200,color:i.S.neutralBlack,fontSize:"13px",fontWeight:700,lineHeight:"18px",textTransform:"uppercase"}}},95753:(e,t,r)=>{"use strict";r.d(t,{H:()=>l});var i=r(47388),a=r(52949),o=r(98033);let n={width:{xs:"auto",md:"100%"},height:{xs:"auto",md:"100%"}},l=({aemAttributes:e,model:t,partProps:r={}})=>{let{bodyText:l,imageSource:s,headline:d,enableCta:c,cta:{link:p="#",target:u="_self"}={}}=t;return(0,i.jsx)(a.default,{...e,"data-aue-label":"Two Card Grid Element","data-aue-type":"component","data-testid":"two-card-grid-element-wrapper",sx:n,children:(0,i.jsx)(o.n,{styleParts:r.adsCardStyling,bodyText:l||"",headerText:d,image:s,ctaLink:p,ctaTarget:u,enableCta:c})})}},95860:(e,t,r)=>{"use strict";r.d(t,{j:()=>a});var i=r(55494);let a={fontFamily:i.QU,h1:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"88px",lineHeight:"96px",letterSpacing:0,fontWeight:700},h2:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"60px",lineHeight:"64px",letterSpacing:0,fontWeight:700},h3:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"44px",lineHeight:"48px",letterSpacing:0,fontWeight:700},h4:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"32px",lineHeight:"40px",letterSpacing:0,fontWeight:700},h5:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"26px",lineHeight:"32px",letterSpacing:0,fontWeight:700},h6:{textTransform:"capitalize",fontFamily:i.QU,fontSize:"22px",lineHeight:"24px",letterSpacing:0,fontWeight:700},titleLargeBold:{fontFamily:i.QU,fontSize:"27px",lineHeight:"36px",letterSpacing:0,fontWeight:700},titleLargeMedium:{fontFamily:i.QU,fontSize:"27px",lineHeight:"36px",letterSpacing:0,fontWeight:500},titleLargeRegular:{fontFamily:i.QU,fontSize:"27px",lineHeight:"36px",letterSpacing:0},titleRegularBold:{fontFamily:i.QU,fontSize:"23px",lineHeight:"32px",letterSpacing:0,fontWeight:700},titleRegularMedium:{fontFamily:i.QU,fontSize:"23px",lineHeight:"32px",letterSpacing:0,fontWeight:500},titleRegularRegular:{fontFamily:i.QU,fontSize:"23px",lineHeight:"32px",letterSpacing:0,fontWeight:400},subtitle2:{fontFamily:i.QU,fontSize:"14px",lineHeight:"15px",letterSpacing:"-0.056px"},bodyLargeBold:{fontFamily:i.QU,fontSize:"20px",lineHeight:"28px",letterSpacing:"0.003em",fontWeight:700},bodyLargeMedium:{fontFamily:i.QU,fontSize:"20px",lineHeight:"28px",letterSpacing:"0.003em",fontWeight:500},bodyLargeRegular:{fontFamily:i.QU,fontSize:"20px",lineHeight:"28px",letterSpacing:"0.003em"},bodyRegularBold:{fontFamily:i.QU,fontSize:"15px",lineHeight:"24px",letterSpacing:"0.003em",fontWeight:700},bodyRegularMedium:{fontFamily:i.QU,fontSize:"15px",lineHeight:"24px",letterSpacing:"0.003em",fontWeight:500},bodyRegularRegular:{fontFamily:i.QU,fontSize:"15px",lineHeight:"24px",letterSpacing:"0.003em"},bodySmallBold:{fontFamily:i.QU,fontSize:"13px",lineHeight:"20px",letterSpacing:"0.003em",fontWeight:700},bodySmallMedium:{fontFamily:i.QU,fontSize:"13px",lineHeight:"20px",letterSpacing:"0.003em",fontWeight:500},bodySmallRegular:{fontFamily:i.QU,fontSize:"13px",lineHeight:"20px",letterSpacing:"0.003em",fontWeight:400},eyebrowRegular:{fontFamily:i.QU,fontSize:"17px",lineHeight:"18px",letterSpacing:"-0.004em",fontWeight:700},eyebrowSmall:{fontFamily:i.QU,fontSize:"14px",lineHeight:"15px",letterSpacing:"-0.004em",fontWeight:700},actionLargeRegular:{fontFamily:i.QU,fontSize:"20px",lineHeight:"20px",letterSpacing:0,fontWeight:500},actionRegularMedium:{fontFamily:i.QU,fontSize:"14px",lineHeight:"14px",letterSpacing:0,fontWeight:500},actionRegularRegular:{fontFamily:i.QU,fontSize:"14px",lineHeight:"14px",letterSpacing:0},actionSmallMedium:{fontFamily:i.QU,fontSize:"12px",lineHeight:"12px",letterSpacing:"0.003em",fontWeight:500},actionSmallRegular:{fontFamily:i.QU,fontSize:"12px",lineHeight:"12px",letterSpacing:"0.003em"},metadataBold:{fontFamily:i.QU,fontSize:"11px",lineHeight:"16px",letterSpacing:0,fontWeight:700},metadataMedium:{fontFamily:i.QU,fontSize:"11px",lineHeight:"16px",letterSpacing:0,fontWeight:500},metadataRegular:{fontFamily:i.QU,fontSize:"11px",lineHeight:"16px",letterSpacing:0},tagRegular:{fontFamily:i.QU,textTransform:"uppercase",fontSize:"13px",lineHeight:"18px",letterSpacing:"-0.004em",fontWeight:700},tagSmall:{fontFamily:i.QU,fontSize:"12px",lineHeight:"12px",letterSpacing:0,fontWeight:700},navigationLarge:{fontFamily:i.QU,fontSize:"15px",lineHeight:"15px",letterSpacing:"0.003em",fontWeight:700},navigationRegularBold:{fontFamily:i.QU,fontSize:"14px",lineHeight:"14px",letterSpacing:"0.003em",fontWeight:700},navigationRegularMedium:{fontFamily:i.QU,fontSize:"14px",lineHeight:"14px",letterSpacing:"0.003em",fontWeight:500},navigationRegularRegular:{fontFamily:i.QU,fontSize:"14px",lineHeight:"14px",letterSpacing:"0.003em"},navigationSmallMedium:{fontFamily:i.QU,fontSize:"12px",lineHeight:"12px",letterSpacing:"0.003em",fontWeight:500},navigationSmallRegular:{fontFamily:i.QU,fontSize:"12px",lineHeight:"12px",letterSpacing:"0.003em"}}},96353:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var i=r(58016);let a={dealCardWrapper:{borderRadius:"16px",padding:"8px"},dealCardContent:{borderRadius:{xs:"16px",sm:"24px"},background:i.S.primary300},dealTitle:{fontFamily:'"Budget Sans", sans-serif',fontSize:{xs:"22px",sm:"26px"},lineHeight:{xs:"24px",sm:"32px"},color:i.S.primary100},dealDescription:{fontFamily:'"Budget Sans", sans-serif',lineHeight:{xs:"20px",sm:"24px"},fontSize:"15px"}}},97375:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var i=r(66936);let a={carDescription:{marginTop:{xs:"8px",md:"6px"},fontSize:{xs:"12px",md:"20px"},lineHeight:{xs:"18px",md:"28px"}},carType:{lineHeight:"116.667%"}
6,carWrapper:{backgroundColor:i.L.utilityBackgroundCard,borderRadius:"24px",borderStyle:"none",margin:"7px",padding:{md:"20px 12px"}},isElectric:{fill:i.L.primary300},label:{backgroundColor:i.L.primary500,borderRadius:"50px",color:i.L.primary100,fontSize:"14px",lineHeight:1.5,padding:"2px 8px",textTransform:"capitalize"},priceOption:{borderRadius:"18px"},priceOptionActive:{backgroundColor:i.L.primary300,borderColor:"transparent",color:"#FFF"},priceOptionTag:{backgroundColor:i.L.secondary500,borderRadius:"40px",color:"#FFF",height:"15px"},priceOptionTagActive:{backgroundColor:i.L.white,color:i.L.secondary500},priceOptionTotalPrice:{color:i.L.neutralGrey800},startBookingButton:{height:"49px"},wrapper:{backgroundColor:"#FFF",borderRadius:{md:"24px",xs:"0"}},firstRow:{justifyContent:{xs:"center",md:"flex-start"},paddingLeft:{xs:"0",md:"24px"}},loginText:{fontSize:{xs:"14px",md:"20px"}},priceOptionRadioButtonActive:{backgroundColor:i.L.white},mobileFeatureButton:{padding:"3.5px 12px !important"}}},97806:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckUserCredentialsForm:()=>c});var i=r(47388),a=r(21977),o=r(56921),n=r(58228),l=r(58016),s=r(55494);let d={userCredentialsForm:{marginTop:{sm:"33px",xs:"17px"},borderRadius:{sm:"24px",xs:"16px"}},forgotPasswordButtonsGroup:{resetPassword:{borderRadius:"24px",color:l.S.neutralBlack,border:`1px solid ${l.S.primaryDarkBlue} !important`},lookUp:{borderRadius:"24px",backgroundColor:l.S.primaryDarkBlue}},forgotPasswordFormDescription:{},forgotPasswordOrLabel:{},statusMessageWindowTitle:{},statusMessageWindowDescription:{},userCredentialDialog:{container:{"& .MuiPaper-root":{borderRadius:{sm:"24px",xs:"16px 16px 0 0"}}},dialogContent:{padding:{sm:"24px",xs:"16px"},paddingBottom:{sm:"67px",xs:"69px"}},contentText:{"& *":{fontFamily:s.QU}}},successDialog:{wrapper:{"& .MuiPaper-root":{borderRadius:"24px"}},content:{}}},c=e=>(0,i.jsx)(a.O,{styleParts:d,partProps:{formError:{styleParts:o.x},textControl:{styleParts:n.x}},...e})},98033:(e,t,r)=>{"use strict";r.d(t,{n:()=>S});var i=r(47388),a=r(52949),o=r(78927),n=r(63903),l=r.n(n),s=r(64228),d=r(10431),c=r(79193),p=r(90544),u=r(47928),x=r(55301);let m={width:{xs:"343px",md:"100%"},position:"relative",height:{xs:"430px",md:"344px"},display:"flex",flex:{xs:"none",md:1},"& > a":{display:"flex",width:"100%",textDecoration:"none"},"[data-testid=membership2-card-content]":{alignSelf:"stretch",color:x.J.white100,fontSize:"16px",fontStyle:"normal",fontWeight:400,lineHeight:"24px",overflowY:"hidden","& > p":{margin:0}}},g={width:{xs:"auto",md:"100%"},height:{xs:"auto",md:"100%"},position:"absolute",left:0,top:0,right:0,bottom:0},h={alignSelf:"stretch",display:"flex",gap:{xs:"16px",md:0},alignItems:"center",padding:{xs:"16px",md:"24px"},width:"100%",height:{xs:"auto",md:"113px"},marginTop:"auto",borderRadius:"2px",background:"rgba(31, 29, 29, 0.20)"},f={display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"flex-start",gap:{xs:"8px",md:"16px"},flex:"1 0 0"},b={width:"24px",height:"24px",color:x.J.white100},y={color:x.J.white100,alignSelf:"stretch",leadingTrim:"both",textEdge:"cap",fontStyle:"normal",fontWeight:"700",overflowY:"hidden"},S=({image:e,headerText:t,bodyText:r,ctaLink:n="#",ctaTarget:x="_self",styleParts:S={},enableCta:C})=>(0,i.jsx)(a.default,{sx:(0,s.oz)(m,S.root),"data-testid":"membership2-card",children:(0,i.jsxs)(l(),{prefetch:!1,href:n,target:x,children:[(0,i.jsx)(a.default,{sx:(0,s.oz)(g,S.background),"data-testid":"membership2-card-background",children:(0,i.jsx)(p.AemImage,{src:e?.source,alt:t,fill:!0,sizes:"(max-width: 320px) 320px, 440px",style:{objectFit:"cover"},"aria-label":"Preferred perk card"})}),(0,i.jsxs)(a.default,{sx:(0,s.oz)(h,S.container),children:[(0,i.jsxs)(a.default,{sx:f,children:[(0,i.jsx)(d.Q,{variant:"h5",sx:(0,s.oz)(y,S.title),"data-testid":"membership2-card-title",children:t}),r&&(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,u.p)((0,o.A)(r))},"data-testid":"membership2-card-content"})]}),C&&(0,i.jsx)(c.f,{sx:b,"data-testid":"arrow-right"})]})]})})},98057:(e,t,r)=>{"use strict";r.d(t,{S:()=>a,b:()=>o});var i=r(61872);let a=(0,i.createContext)({}),o=()=>(0,i.useContext)(a)},98963:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckTitleBanner:()=>l});var i=r(47388),a=r(23421);r(61872);var o=r(65429);let n={title:{fontSize:{xs:"36px",sm:"44px"},lineHeight:{xs:"44px",sm:"48px"}},subtitle:{marginTop:"24px",fontSize:{xs:"18px",sm:"20px"},lineHeight:{xs:"26px",sm:" 28px"}},bannerImage:{borderBottomLeftRadius:"32px",borderBottomRightRadius:"32px"}},l=({aemAttributes:e,model:t,config:r,styleParts:l})=>(0,i.jsx)(o.t,{aemAttributes:e,model:t,config:r,styleParts:(0,a.A)(n,l)})},99079:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BudgetTruckReservationPrecheck:()=>d});var i=r(47388),a=r(6523),o=r(52696);let n={container:{borderRadius:"24px",marginTop:{xs:"18px",md:"40px"}}};var l=r(58016);let s={root:{"& .MuiInputLabel-root":{"& .MuiInputLabel-asterisk":{color:`${l.S.primary300}`}},"& .MuiInputLabel-asterisk":{color:`${l.S.primary300}`}}},d=({aemAttributes:e,config:t,model:r})=>(0,i.jsx)(a.K,{aemAttributes:e,config:t,model:r,styleParts:{...o.B,...s},partProps:{driverLicenseStyle:n}})},99405:(e,t,r)=>{"use strict";r.d(t,{h:()=>A});var i=r(47388),a=r(52949),o=r(63903),n=r.n(o),l=r(61872),s=r(64228),d=r(57109),c=r(3492),p=r(28744),u=r(51019),x=r(13982);let m={cardWrapper:{"& > a":{textDecoration:"none"}},card:{width:"100%",boxShadow:"none"},cardImage:{position:"relative",aspectRatio:"432 / 200",height:{md:"200px"},width:"100%",overflow:"hidden"},cardContent:{padding:{xs:"20px",sm:"24px"},"& > div:first-of-type":{paddingTop:0},"& > div:last-of-type":{paddingBottom:0},height:{xs:"260px",sm:"296px"},display:"flex",flexDirection:"column",justifyContent:"flex-end"},cardTitle:{fontSize:{xs:"24px",sm:"28px"},fontWeight:"bold",minWidth:"197px",lineHeight:{xs:"24px",sm:"28px"},padding:{xs:"4px 0 10px",sm:"4px 0 12px"},"& > *":{margin:0,padding:0}}
6,cardIcon:{height:"24px",paddingBottom:"4px"},cardDescriptionWrapper:{flex:"1",overflowY:"hidden"},cardDescription:{fontSize:{xs:"14px",sm:"16px"},lineHeight:{xs:"20px",sm:"24px"},paddingY:{xs:"10px",sm:"12px"},"& > *":{margin:0,padding:0}},cardCta:{paddingTop:"12px"}};var g=r(46323),h=r(10431),f=r(90544),b=r(47928),y=r(53244),S=r(45315),C=r(38831);let v=({styleParts:e={},ctaTitle:t,ctaLink:r})=>{let{ctaType:o="button",ctaStyle:n="primary"}=(0,u.q)();return(0,i.jsx)(i.Fragment,{children:r&&t&&(0,i.jsx)(a.default,{sx:(0,s.iX)(m,e,"cardCta"),children:"text"===o?(0,i.jsx)(S.A,{variant:"actionRegularRegular",className:`${n}Text`,component:"div","data-testid":"content-card-element-link",children:t}):(0,i.jsx)(C.default,{disableRipple:!0,className:n,"data-testid":"content-card-element-button",children:t})})})},k=({styleParts:e={},headline:t,bodyContent:r,iconPath:o,imagePath:n,ctaLink:l,ctaTitle:d})=>{var c;let{columnCount:p=3}=(0,u.q)(),x="string"==typeof n?n:n?.source,S="string"==typeof o?o:o?.source,C="string"==typeof(c=n??"")?void 0:(0,y.W)(2===p?"3-1":"16-9",c?.crops),k="string"==typeof n?void 0:n?.description;return(0,i.jsxs)(g.A,{sx:(0,s.iX)(m,e,"card"),children:[x&&(0,i.jsx)(a.default,{sx:(0,s.iX)(m,e,"cardImage"),children:(0,i.jsx)(f.AemImage,{fill:!0,src:x,wid:2===p?656:432,hei:200,smartCropName:C,fit:"crop",fitUpscale:!0,alt:k||"card-image",style:{objectFit:"cover",objectPosition:"center"},"data-testid":"content-card-element-image",loading:"lazy"})}),(0,i.jsxs)(a.default,{sx:(0,s.iX)(m,e,"cardContent"),children:[S&&(0,i.jsx)(a.default,{sx:(0,s.iX)(m,e,"cardIcon"),children:(0,i.jsx)(f.AemImage,{src:S,alt:"card-icon",height:24,width:24,style:{width:"auto"},"data-testid":"content-card-element-icon",loading:"lazy"})}),t&&(0,i.jsx)(h.Q,{component:"div",variant:"h5",sx:(0,s.iX)(m,e,"cardTitle"),"data-testid":"content-card-element-title",dangerouslySetInnerHTML:{__html:(0,b.p)(t||"")}}),(0,i.jsx)(a.default,{sx:(0,s.iX)(m,e,"cardDescriptionWrapper"),children:r&&(0,i.jsx)(a.default,{sx:(0,s.iX)(m,e,"cardDescription"),dangerouslySetInnerHTML:{__html:(0,b.p)(r||"")},"data-testid":"content-card-element-description",className:"rich-text-container"})}),(0,i.jsx)(v,{...l&&{ctaLink:l},...d&&{ctaTitle:d}})]})]})},A=e=>{let{ctaTarget:t="_blank"}=(0,u.q)(),{ctaLink:r="",ctaAction:o,trackingId:g,styleParts:h={}}=e,{parentAwd:f,businessDiscount:b,leisureDiscount:y,updateCbpData:S}=(0,p.E)(),{brandSpecificNavigationLinks:{loyaltyEnrollmentPageUrl:C=""}={}}=(0,d.usePageContext)(),v=(0,x.F)(r)===(0,x.F)(C),{derivedDiscount:A,derivedCTALink:w}=(0,l.useMemo)(()=>{let e="";!v&&("startBusinessReservation"===o?e=b||f||"":"startLeisureReservation"===o&&((e=y||"")||!f||(e=f.slice(0,-2)+"90")));let t=r;return e&&r&&(t=`${r}?AWD_NUMBER=${e}`),{derivedDiscount:e,derivedCTALink:t}},[o,b,y,f,r,v]),T=(0,l.useCallback)(()=>{A&&S({derivedAwd:A})},[A,S]),j=(0,l.useMemo)(()=>{if(!g)return w;let e=w.includes("?")?"&":"?";return g.includes("ICID")?`${w}${e}${g}`:`${w}${e}ICID=${g}`},[g,w]),I=(0,l.useMemo)(()=>{let e=j.includes("?")?"&":"?";return v?`${j}${e}AWD_NUMBER=${f}`:j},[j,f,v]),[R,P]=(0,l.useState)(!0),L=(0,l.useRef)(f);return(0,l.useEffect)(()=>{L.current=f},[f]),(0,l.useEffect)(()=>{f&&P(!1);let e=setTimeout(()=>{L.current||P(!1)},1e3);return()=>clearTimeout(e)},[f]),(0,i.jsx)(i.Fragment,{children:w&&!R?(0,i.jsx)(a.default,{sx:(0,s.iX)(m,h,"cardWrapper"),"data-testid":"content-card-element-display-container",children:(0,i.jsx)(n(),{prefetch:!1,href:I||"",target:t,onClick:e=>{T(),"_blank"===t||e.metaKey||e.ctrlKey||(e.preventDefault(),(0,c.w)(),globalThis.location.href=I||"")},children:(0,i.jsx)(k,{...e})})}):(0,i.jsx)(k,{...e})})}},99616:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var i=r(58016),a=r(55494);let o={button:{lineHeight:"14px"},headline:{fontSize:{md:"60px",xs:"36px"},paddingX:0,lineHeight:{md:"64px",xs:"44px"},fontFamily:a.QU,textTransform:"none"},description:{fontFamily:a.QU,fontSize:{md:"20px",xs:"16px"},lineHeight:{md:"28px",xs:"26px"}},wrapper:{backgroundColor:i.S.blue400,borderRadius:"32px"},headingWrapper:{maxWidth:"560px"}}}}]);
7//# sourceMappingURL=1001.68b2fea90c2bfd01.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.