PageSourceSearch

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

js avis.com.au collected 2026-10-01 11:43:30 UTC 6,041 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1477],{13858:(e,a,o)=>{o.r(a),o.d(a,{BudgetTruckLocationSearchModule:()=>s});var t=o(47388),l=o(76961),i=o(58016);let n="/_next/_v/2.9.2.s15.31/_next/static/media/background-right.57a49784.svg",r={container:{},mainContent:{backgroundColor:i.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:{}},s=({aemAttributes:e,...a})=>(0,t.jsx)(l.a,{...a,aemAttributes:e,styleParts:r})},76961:(e,a,o)=>{o.d(a,{a:()=>T});var t=o(47388),l=o(52949),i=o(64228),n=o(10431),r=o(47928),s=o(90656);o(61872);var c=o(65941),h=o(99701),u=o(9262),d=o(23141),p=o(87937),b=o(58625),x=o(300),g=o(37271),m=o(86744),L=o(56740),S=o(55301);let f={container:{width:"100%"},mainContent:{backgroundColor:S.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:S.J.white100,textAlign:"center",fontWeight:700,fontSize:{xs:"40px",sm:"64px"},lineHeight:{xs:"40px",sm:"64px"},margin:0},body:{color:S.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"}}};var w=o(91267);let k={excludeSuggestionTypes:[d.LocationSuggestionTypes.OTR_POINT_OF_INTEREST].join(",")},A=({i18n:e={},styleParts:a={},rootPath:o,locationRootPath:n,mapPath:r})=>{let{control:S}=(0,c.mN)(),A=(0,h.A)(e),T=(0,p.Fu)(),y=(0,s.useRouter)(),C=L.K.use.setFormData(),v=L.K.use.formData(),P=e=>{let{relPath:a,regionCode:t,countryCode:l,stateCode:i,cityName:s,mnemonic:c,typeCode:h}=e,u=(0,x.V)({rootPath:o,relPath:a});if(a)return void y.push(u);if("Other"===h&&r){let a={...e,suggestionTypeCode:d.LocationSuggestionTypes.OTR_CITY};C({...v,pickup:a,dropoff:null}),y.push(r);return}let p=(0,m.Yv)(s),b=`${n}/${(0,m.yQ)(t)}/${(0,m.yQ)(l)}/${i&&"xx"!==i.toLowerCase()?(0,m.yQ)(i)+"/":""}${p}/${(0,m.yQ)(c)}`;globalThis.location.href=b};return(0,t.jsx)(l.default,{sx:(0,i.iX)(f,a,"search"),children:(0,t.jsx)(c.xI,{control:S,defaultValue:"",name:"locationSearchField",render:({field:e})=>(0,t.jsx)(b.C,{testIdPrefix:"location-search-module-search-field",name:e.name,control:S,inputIcon:u.W,loadOptions:e=>{let a=new URLSearchParams({isPickUpSearch:"false",suggestionLimit:w.P,keyword:e,...k});return(0,g.V)(T,a)},loadCurrentOptions:e=>{let a=new URLSearchParams({latitude:e.latitude.toString(),longitude:e.longitude.toString(),suggestionLimit:w.P,radialDistanceMiles:w.Y,...k});return(0,g.o)(T,a)},errors:{incorrectValue:A("locationSearch.error.incorrectValue"),emptyValue:A("locationSearch.error.emptyValue")},allowGeolocation:!0,uiTextData:{placeholder:A("locationSearch.search.label"),loadingText:A("locationSearch.loadingText.label"),useCurrentLocationLabel:A("locationSearch.currentLocation.label"),groupBackButtonLabel:A("locationSearch.groupBackButton.label"),noMatchLabel:A("locationSearch.noMatch.label"),reviseSearchLabel:A("locationSearch.reviseSearch.label"),browseForLocationLabel:A("locationSearch.ctaLabel.browseForLocation.label"),helperSearchText:A("locationSearch.helperSearch.text"),multipleLocationsLabel:A("locationSearch.multipleLocations.label"),airportsLabel:A("locationSearch.airports.label"),showAllAirportsLabel:A("locationSearch.showAllAirports.label"),showingAllAirportsLabel:A("locationSearch.airports.inputValue.amount.label"),citiesLabel:A("locationSearch.cities.label"),showAllCitiesLabel:A("locationSearch.showAllCities.label"),showingAllCitiesLabel:A("locationSearch.cities.inputValue.amount.label"),recentLabel:A("locationSearch.recent.label"),showAllRecentLabel:A("locationSearch.show.recents.amount.label"),pointsOfInterestLabel:A("locationSearch.pointsOfInterest.label"),showAllPOILabel:A("locationSearch.show.interestPoints.amount.label"),showingAllPOILabel:A("locationSearch.interestPoints.inputValue.amount.label"),neighborhoodLabel:A("locationSearch.neighborhood.locations.label"),showAllNeighborhoodLabel:A("locationSearch.neighborhood.locations.amount.label"),showingAllNeighborhoodLabel:A("locationSearch.neighborhood.inputValue.amount.label"),truckLabel:A("bookingWidget.location.truck.label"),showAllTruckLabel:A("bookingWidget.location.showAll.truck.label"),showingAllTruckLabel:A("bookingWidget.location.showingAll.truck.label"),myLocationsLabel:A("locationSearch.myLocations.label"),useCurrentLocationFoundErrorMessage:"",is24hoursDropOffAvailableLabel:"",addressLabel:"",locationLinkLabel:"",hoursOfOperationLabel:"",phoneLabel:""},optionTestIdBuilder:({identifier:e,suggestionTypeCode:a})=>`location-search-module-option-${e}-${a}`,onSelectLocation:P})})})},T=({aemAttributes:e={},model:a,styleParts:o={},config:s})=>{let{headline:c,description:h,"Headline-heading":u=""}=a,{navigationLinks:{rootPath:d,locations:p,map:b}}=s,x={...a.i18n&&{i18n:a.i18n},...a.ctaLink&&{ctaLink:a.ctaLink},...a.ctaTarget&&{ctaTarget:a.ctaTarget},...o&&{styleParts:o},rootPath:d,locationRootPath:p,mapPath:b};return(0,t.jsx)(l.default,{...e,"data-testid":"location-search-module","data-aue-type":"component",sx:(0,i.iX)(f,o,"container"),children:(0,t.jsxs)(l.default,{sx:{...(0,i.iX)(f,o,"mainContent")},children:[(0,t.jsxs)(l.default,{children:[c&&(0,t.jsx)(n.Q,{variant:u||"h1","data-testid":"location-search-heading",sx:(0,i.iX)(f,o,"heading"),children:c}),h&&(0,t.jsx)(l.default,{dangerouslySetInnerHTML:{__html:(0,r.p)(h||"")},sx:(0,i.iX)(f,o,"body")})]}),(0,t.jsx)(A,{...x})]})})}}}]);
2//# sourceMappingURL=1477.d9f065abd7a7c754.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.