1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,356760,(e,o,t)=>{o.exports=["albion-park-city-automotive","albion-park-motor-group","alfa-romeo","all-round-motors","andrew-simms-auckland-group","aston-martin","audi","ausmv","auto-brokering","bmw","perth-ute-centre","auto-centre-townsville","barry-bourke-motors","bartons","bartons-commercials","bartons-new-energy-vehicles","bayside-european-group","beaudesert-auto-group","beer-auto-group","bellbowrie-motors","bergmans-auto-group","blacklocks","bmh-auto-group","booran-motors","brighton-auto","byd","byd-nz","caloundra-city-autos","callaghan-motor-group","car-arena","cardiff-motor-group","carlin-gazzard","cars-galore-toowoomba","carworks","cash-for-cars","central-coast-automotive","coastal-auto-group","cheap-car-co","chery-nz","chery","citroen","clancy-automotive","cowra-motors","cricks","cricks-maroochydore","cricks-noosa","curtis-coast-automotive","cupra","dc-motors","deepal","denza","east-coast-commercials-brisbane","east-coast-commercials","echuca-auto-group","eln-motor-group","farizon","ferntree-gully-automotive","fiat-professional","fiat","ford","formula-direct","foton","forthing","freightliner","frizelle-sunshine-automotive","fuso","gac","gardner-autos","geely","geissler-motors-group","genesis-motors","gibbons-automotive","gippsland-motor-group","gmsv","grand-prix-auto-group","great-lakes-automotive","gulson","gwm-haval","harrigan","harrison-motor-group","heartland-motors","hfh-auto-group","highway-cars","hino","hmm-auto-cars","holden","hughes-car-sales","huntermotive-group","hyundai","ineos","infinity-point-motors","isuzu-ute","iveco","jac-trucks","jackson-motor-company","jaecoo","jeep","john-blair-automotive","john-hughes","john-oxley-motors","keema-automotive-group","kensells","kia","kilmore-auto-group","klosters","land-rover","lawrences-motor-group","ldv","leapmotor","lepas","lucrum-automotive-group","macarthur-automotive","magic-enterprises","magnetic-motors","mahindra","market-city-motors","mantello-motor-group","mazda","mercedes-benz-trucks","mercedes-benz","mg","mid-coast-automotive-group","midwest-auto-group","mitsubishi","moorooka-motor-group","motus-ballarat","motus-gippsland","national-capital-motors","nepean-motor-group","nissan","northeast-hampstead-gardens","northeast-truck-centre","newcastle-motor-group","o-neill-auto-group","ogr","central-coast-motor-group","orange-motor-group","osborne-auto-group","parramatta-motor-group","penfold","peninsula-dealer-group","pennant-hills-auto-traders","perth-city-auto-group","peter-warren-automotive-regional","peter-warren","peugeot","pickering-automotive-group","polaris","port-city-autos","q-automotive","quayside-motors","ram","reef-city-motors","renault","rockingham-auto","ron-doyle-motors","ryde-automotive-group","save-on-finance","sci-fleet-motors","scl-southgate-automotive","sharp-motor-group","skoda","south-morang-motor-group","ssangyong","stewart-automotive-group","subaru","suzuki-australia","suzuki","sydney-auto-sales","sydney-north-shore-automotive","sydney-south-automotive","the-lane-group","thomas-bros-group","thomson-automotive","toyota","tradies-heaven","trans-eurokars","trinity-auto-group","tropical-auto","turnbull-motors","tynan-motors","vans-direct","volkswagen","wakeling-automotive","wangaratta-motor-group","wayne-phillis-automotive","west-coast-automotive-group","west-orange-motors","west-point-autos","westco-motors","westpoint-ev","whitsunday-auto-group","wide-bay-motor-group","xpeng","shacks-motor-group","zeekr","von-bibra","rex-gorell"]},628070,e=>{"use strict";var o=e.i(327142),t=e.i(271104);e.i(274525);var r=e.i(129182),a=e.i(491315);let i=e.r(356760).includes(r.WEBSITE.template),s=new Map(o.default.map(e=>[String(e.id),e])),u=new Set(t.default.excluded_models.map(e=>e.slug)),n=new Set((t.default.excluded_test_drive_models||[]).map(e=>e.slug));e.s(["TEST_DRIVE_EXCLUSION_COPY",0,{coming_soon:{label:"Coming Soon",title:"This model is coming soon"},excluded:{label:"Unavailable",title:"This model is not currently available for a test drive"}},"getTestDriveExclusionReason",0,(e,o)=>{if("/book-test-drive"!==o)return null;let t=a.isOEMSite&&s.get(String(e.id));return t?.status==="coming_soon"?"coming_soon":u.has(e.slug)||n.has(e.slug)?"excluded":null},"hasBookTestDrivePage",0,i,"isModelHidden",0,e=>"Model"!==e.class||(a.isAusMV||a.isPeterWarrenFord||"Ford"!==e.make?!!a.isFoton&&"Aumark S"===e.model||e.
1id==r.GR_SUPRA_DISCONTINUED_MODEL_ID:["F-150","F-250"].some(o=>e.name.includes(o))),"modelsDataById",0,s])},496283,e=>{"use strict";var o=e.i(563705),t=e.i(749846),r=e.i(820376);e.i(308627);var a=e.i(473838),i=e.i(491315);e.s(["default",0,({children:e})=>{let s=(0,t.usePathname)(),u="/book-test-drive"===s&&i.hasFullscreenBookTestDrivePage,n=s.startsWith("/dealerships")&&i.isPeninsulaGroupSite;return u?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.default,{stepIndex:0}),e]}):(0,o.jsx)(a.default,{appRouter:!0,outerClassName:n?"indexPage":void 0,children:e})}])},820376,e=>{"use strict";var o=e.i(563705),t=e.i(222304),r=e.i(389415),a=e.i(361904);e.s(["default",0,({previousStep:e,stepIndex:i,progress:s,backHref:u})=>(0,o.jsxs)("div",{className:"flex h-16 flex-wrap items-center justify-start px-4 sm:justify-between",style:{backgroundColor:"var(--header-background-color)"},children:[(0,o.jsx)(t.Logo,{}),a.showConfiguratorExitButton&&0===i&&u&&(0,o.jsx)(r.default,{fallbackHref:u}),i>0&&100!==s&&(0,o.jsx)(r.default,{onClick:e})]})])},389415,e=>{"use strict";var o=e.i(563705),t=e.i(749846),r=e.i(470636);e.s(["default",0,({fallbackHref:e,onClick:a})=>{let i=(0,t.useRouter)();return(0,o.jsx)(r.Button,{type:"button",className:"order-2 hidden! sm:flex! lg:min-w-50",size:"lg",variant:"outline",onClick:()=>{if(a)a();else{let o;((o=window.navigation?.currentEntry)?o.index>0:window.history.length>1&&document.referrer.startsWith(window.location.origin))?i.back():e&&i.push(e)}},children:"Back"})}])},361904,e=>{"use strict";var o=e.i(464645),t=e.i(271104),r=e.i(512211),a=e.i(974036),i=e.i(774116),s=e.i(129182),u=e.i(615190),n=e.i(491315);let l=["denza","byd-nz"].includes(s.WEBSITE.template)&&!n.isDenzaShowcase,c=n.isNZWebsite&&l,m=n.isBYDNZ,d=n.isBYDNZ,p=!n.isDenza,g=n.isBYDNZ,h=n.isAndrewSimmsByd,v=n.isBYDNZ,f=(0,i.atomWithStorage)("configurator-postcode",""),b=(0,r.atom)(""),y=(0,r.atom)([]),w=(0,r.atom)(0),_=(0,r.atom)({groupedConfiguratorSelections:[],subtotal:0,registrationState:null,registrationType:null,groupedGovernmentCharges:[],dealerDeliveryFee:{label:`${s.WEBSITE.manufacturer||""} Preparation Fee`,amount:0},onRoadFeesSubtotal:0,driveawayTotal:0,isLoading:!1}),k=e=>{let o="interior"===e.colour_type?e.allowed_exterior_colour_ids:e.allowed_interior_colour_ids;return!!(o&&o.length>0)};e.s(["buildGroupedSelections",0,e=>
1{let{selectedVariant:o,selectedColour:r,selectedInterior:a,selectedWheel:i,selectedAccessories:s=[],dealerDeliveryFee:u=0,variantPrice:n=0}=e,l=[],m=[];n&&m.push({label:"Vehicle Price (Excl. LCT)",amount:n}),u>0&&m.push({label:`${t.default.manufacturer?.name||""} Preparation Fee (Excl. LCT)`,amount:u}),m.length>0&&l.push({category:`Model - ${o?.name||""}`,items:m,total_amount:m.reduce((e,o)=>e+o.amount,0)});let d=[];r&&d.push({label:`Exterior - ${r.name} (Excl. LCT)`,amount:r.price?parseFloat(r.price):0}),a&&d.push({label:`Interior - ${a.name} (Excl. LCT)`,amount:a.price?parseFloat(a.price):0}),d.length>0&&l.push({category:"Colour & Trim",items:d,total_amount:d.reduce((e,o)=>e+o.amount,0)}),i&&l.push({category:"Wheels",items:[{label:i.name,amount:i.price??0}],total_amount:i.price??0});let p=s.filter(e=>e?.category!=="service plan"),g=s.filter(e=>e?.category==="service plan");if(p.length>0){let e=p.map(e=>({label:e.name,amount:e.price??0}));l.push({category:"Accessories",items:e,total_amount:e.reduce((e,o)=>e+o.amount,0)})}if(g.length>0){let e=g.map(e=>({label:e.name,amount:e.price??0}));l.push({category:"Pre-Paid Service Plan",items:e,total_amount:e.reduce((e,o)=>e+o.amount,0)})}return c?l.map(e=>({...e,items:e.items.map(e=>({...e,label:e.label.replace(" (Excl. LCT)","")}))})):l},"calculateSelectionSubtotal",0,e=>{let{variantPrice:o,selectedColour:t,selectedInterior:r,selectedWheel:a,selectedAccessories:i=[]}=e;return o+(t?.price?parseFloat(t.price):0)+(r?.price?parseFloat(r.price):0)+(a?.price??0)+i.reduce((e,o)=>e+(o.price??0),0)},"configuratorLocationAtom",0,b,"configuratorPostcodeAtom",0,f,"containedCarouselImage",0,m,"formatPrice",0,e=>null==e||0===e?"Included":(0,u.money)(e),"getColoursWithAvailability",0,(e,o,t,r,a)=>{let i=e.find(e=>e.id===r&&("exterior"===e.colour_type||!e.colour_type)),s=e.find(e=>e.id===a&&"interior"===e.colour_type),u=(o,t)=>{if(!o)return null;let r=e.filter(e=>e.name===o.name&&e.hexCode===o.hexCode&&e.colour_type===o.colour_type),a=new Set;for(let e of r)for(let o of e[t]||[])a.add(o);return a.size>0?a:null},n=u(s,"allowed_exterior_colour_ids"),l=u(i,"allowed_interior_colour_ids");return e.filter(e=>{let r=o?e.colour_type===o:!e.colour_type||"exterior"===e.colour_type,a=e.model_variant_id===t;return r&&a}).map(e=>{let t="exterior"===o?n:l,r=!t||t.has(e.id);return{...e,isAvailable:r}})},"getConfiguratorCarObject",0,(e,o)=>e&&o?{id:0,make:e.manufacturer_name||"",model:e.name||"",dealership_id:s.WEBSITE.dealership_id,dealership_slug:"",car_type:"new",status:"in_stock",stocknum:"",payment_processors:[o]}:null,"getDefaultColourId",0,(e,o,t)=>e.find(e=>e.colour_type===t&&e.model_variant_id===o&&k(e))?.id,"hasAllowedPairing",0,k,"isNZConfigurator",0,c,"nonRefundableDeposit",0,h,"showConfiguratorExitButton",0,p,"showConfiguratorLocationSelect",0,v,"showNZGovernmentCharges",0,g,"showSelectedColourPrice",0,d,"useCarouselImage",0,()=>{let[e,t]=(0,a.useAtom)(y),[r,i]=(0,a.useAtom)(w),s=(0,o.useCallback)((e,o)=>{let r=[];e?.photo_url&&r.push(e.photo_url),o?.photo_url&&r.push(o.photo_url),t(r)},[t]);return{carouselImages:e,carouselIndex:r,setCarouselImages:t,setCarouselIndex:i,updateCarouselImages:s}},"usePriceSummary",0,()=>{let[e,r]=(0,a.useAtom)(_),i=(0,o.useCallback)(e=>{let{groupedConfiguratorSelections:o,selectionSubtotal:a,registrationState:i=null,registrationType:s=null,groupedGovernmentCharges:u=[],dealerDeliveryFee:n=0,isLoading:l=!1}=e,c=a+n,m=u.reduce((e,o)=>e+(o.total_amount??0),0);r({groupedConfiguratorSelections:o,subtotal:c,registrationState:i,registrationType:s,groupedGovernmentCharges:u,dealerDeliveryFee:{label:`${t.default.manufacturer?.name||""} Preparation Fee`,amount:n},onRoadFeesSubtotal:m,driveawayTotal:c+m,isLoading:l})},[r]);return{priceSummary:e,setPriceSummary:r,updatePriceSummary:i}}])},524197,e=>{e.v(o=>Promise.all(["static/immutable/chunks/2osf4y-eei9lm.css","static/immutable/chunks/2d0bfeyeuy_4p.js"].map(o=>e.l(o))).then(()=>o(934302)))},998867,e=>{"use strict";var o=e.i(464645);e.s(["useIsMobile",0,function({breakpoint:e=768}){let[t,r]=o.useState(void 0);return o.useEffect(()=>{let o=window.matchMedia(`(max-width: ${e-1}px)`),t=()=>{r(window.innerWidth<e)};return o.addEventListener("change",t),r(window.innerWidth<e),()=>o.removeEventListener("change",t)},[e]),!!t}])},839953,e=>{"use strict";e.i(37622);var o=e.i(272560);e.s(["FaMapMarkerAlt",0,function(e){return(0,o.GenIcon)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"}}]})(e)}])},7232,e=>{e.v(o=>Promise.all(["static/immutable/chunks/0n9e_no_5voys.js"].map(o=>e.l(o))).then(()=>o(915741)))},308627,e=>{"use strict";e.i(473838),e.s([])}]);
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.