1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78520,e=>{"use strict";e.s(["StockSection",()=>n]);var r=e.i(563705),a=e.i(464645),t=e.i(974036),s=e.i(98187),i=e.i(640230),o=e.i(615190),l=e.i(491315);let n=({hits:e,wrapperClassName:n,leftAligned:c})=>{let d=(0,i.useCarSearchItem)(),u=(0,t.useAtomValue)(s.carRouteStateAtom),m=u.car_type?.length===1&&"used"===u.car_type[0],h=(0,a.useMemo)(()=>(l.isAudiCentreGoldCoast||l.isAudiSouthBrisbane)&&m?[...e].sort((e,r)=>"Audi"===e.make&&"Audi"!==r.make?-1:+("Audi"!==e.make&&"Audi"===r.make)):e,[e,m]);return(0,r.jsx)("div",{className:(0,o.cn)("row",h.length<3&&!c&&"justify-content-center"),children:h.map((e,a)=>(0,r.jsx)(d,{car:(0,o.transformHits)(e),image_url:(0,o.carSearchImage)(e),wrapperClassName:n,priority:a<1},e.id))})}},467001,e=>{e.v({Breadcrumb:"CarTWG-module-scss-module__BKtg5G__Breadcrumb",CarInfoSection:"CarTWG-module-scss-module__BKtg5G__CarInfoSection",VDPBorderRadius:"CarTWG-module-scss-module__BKtg5G__VDPBorderRadius","sidebar-ctas":"CarTWG-module-scss-module__BKtg5G__sidebar-ctas"})},65935,124824,808887,487024,242981,995507,799175,533091,725655,667961,570238,592168,800142,532628,706864,752321,559750,308424,e=>{"use strict";e.s(["default",()=>aA],65935),e.s(["TonyWhiteTFADisclaimer",()=>ad,"default",()=>am],308424),e.s(["CarSpinner",()=>e8],592168),e.s(["CarSliderComponent",()=>eG,"EmblaSlider",()=>eM,"NextButton",()=>eB,"PrevButton",()=>eF,"default",()=>eP,"insert",()=>eT,"renderFullLengthThumbSlider",()=>eI,"renderShortThumbSlider",()=>eE],570238);var r=e.i(563705),a=e.i(464645),t=e.i(271104),s=e.i(974036),i=e.i(81385);e.i(750475);var o=e.i(99851),l=e.i(164140),n=e.i(78937),c=e.i(515472),d=e.i(372581),u=e.i(917131);e.i(670686);var m=e.i(724107),h=e.i(474702),p=e.i(574569),f=e.i(38126),g=e.i(947138),x=e.i(794549);e.i(183702);var b=e.i(164198),v=e.i(612036);e.i(802837);var y=e.i(150509),j=e.i(358306),_=e.i(923894);let w=({car:e})=>{let{isActive:a,isLoading:t}=(0,_.useToyotaEquoteForCar)(e);return t||!a?null:(0,r.jsx)(j.ToyotaEquoteF6Disclaimer,{id:"toyota-disclaimer",className:"mt-2 text-center"})};e.s(["ToyotaEquoteDisclaimer",0,w],124824);var C=e.i(30586),N=e.i(667568),S=e.i(887367),k=e.i(268817),A=e.i(635757),L=e.i(491315);let F=({car:e})=>{let a;return!(0,s.useAtomValue)(S.enrichedViewsAtom)&&(L.isCertifiedPrivate||!N.default.showLocation||e.location?.distribution_locations?.length||t.default.vdp_config?.show_map_section===!1)?null:(0,r.jsx)("div",{id:"vehicle-map",children:(0,r.jsx)(k.SingleLocationSection,{location:(a=t.default.locations.find(r=>r.dealership_id==e.dealership_id),(L.isSouthMorangMotorGroup&&"used"===e.car_type?a:N.default.cars.usePrimaryLocationOnVDP?(0,A.getPrimaryLocation)(t.default.locations)||a:N.default.cars.useCarLocation?e.location:a)||null),car:e})})};e.s(["CarLocation",0,F],808887),e.s([],487024);var B=e.i(51789),T=e.i(194628),M=e.i(755131),I=e.i(998380),E=e.i(465316);let G=[{title:"TWG Cars",slug:"/twg-cars",logoSrc:"twg-cars_vs8gfd",skipPage:!0},{title:"TWG Rental",slug:"/twg-rental",logoSrc:"twg-rental_z4wsl6",skipPage:!0},{title:"TWG Tyres",slug:"/twg-tyres",logoSrc:"twg-tyres_ttzwox",skipPage:!0},{title:"National Finance Solutions",slug:"/finance-and-insurance",logoSrc:"nfs_clcpne",skipPage:!0},{title:"Neotek",slug:"/neotek",logoSrc:"neotek_pfcoj2",skipPage:!0},{title:"Ironman4x4",slug:"/4x4-outdoor",logoSrc:"ironman4x4_i1njbi",imageBannerSrc:"",description:""}],P=[{title:"Hino",slug:"hino",logoSrc:"hino_cscnjd",imageBannerSrc:"hino-banner_edax08",description:["For more than 50 years, Hino has been providing quality trucks and buses to the Australian market. From the first Hino sold in 1965 to the introduction of the first hybrid truck available in Australia, innovation, customer service and sustainability is at the core of everything they do.","Find information about us, your local authorised Hino distributor, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Hino model? Explore our range of stocked vehicles below."]},{title:"International",slug:"international",logoSrc:"international_rcupq8",imageBannerSrc:"international-banner_pynqfe",description:["Introducing the new INTERNATIONAL® ProStar®, one of North Americaâs best-selling truck models. Available in tipper, day cab, extended cab and sleeper cab variants, the ProStar® lends itself to a wide range of applications. The day cab fits in front of virtually any Australian trailer set. The ProStar® can also be used as a truck and dog and is suitable for 34 pallet B-double, 36 pallet B-double and even B-triple and two trailer road train work.","Find information about us, your Authorised International Truck Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned International truck? Explore our range of stocked vehicles below."]},{title:"Isuzu Trucks",slug:"isuzu-trucks",logoSrc:"isuzu-trucks_ziljfb",imageBannerSrc:"isuzu-trucks-banner_vdgxsp",description:["Isuzu is Australia's #1 truck company. After years of research and development, they're proud to unveil the new generation Isuzu trucks. From the N Series, Australia's favourite light truck, right through to the Giga Series, offering 12 different variants.","Find information about us, your local authorised Isuzu Truck distributor, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Isuzu truck model? Explore our range of stocked vehicles below."]},{title:"Iveco",slug:"iveco",logoSrc:"iveco_trjbez",imageBannerSrc:"iveco-banner_iuew8g",description:["IVECO Trucks Australia manufactures and distributes light, medium and heavy commercial vehicles for the Australian road transport industry. From the award-winning IVECO Daily Van and Cab Chassis to the new Euro 6 X-Way, one of the most advanced and versatile trucks in the IVECO product line-up, you'll find a model to suit your application.","Find information about us, your local authorised IVECO Truck Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned IVECO truck? Explore our range of stocked vehicles below."]}],z=[{title:"Aprilia",slug:"aprilia",logoSrc:"aprilia_vjsjz0",imageBannerSrc:"aprilla-banner_ysdbg9",description:["Come and discover the exclusive world of Aprilia, Italy's legendary motorcycle and scooter manufacturer since 1945.","Find information about us, your Authorised Aprili
1a Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Aprilia motorcycle? Explore our range of stocked vehicles below."]},{title:"BMW Motoradd",slug:"bmwmotorrad",logoSrc:"bmwmotorrad_ftpa5m",imageBannerSrc:"bwm-motor-banner_uz40v4",description:["Make Life a Ride. View the range of BMW Motorrad Motorcycles and find everything you need to start your own motorcycling journey.","Find information about us, your Authorised BMW Motorrad Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned BMW Motorcycle? Explore our range of stocked vehicles below."]},{title:"Indian",slug:"indian",logoSrc:"indian_gvzaez",imageBannerSrc:"indian-banner_zpxr74",description:["Indian Motorcycles, founded in 1901, are the first American motorcycles. The new Indian motorcycles are designed and engineered to be powerful works of arts.","Find information about us, your Authorised Indian Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Indian motorcycle? Explore our range of stocked motorcycles below."]},{title:"Moto Guzzi",slug:"motoguzzi",logoSrc:"motoguzzi_y0lf5p",imageBannerSrc:"moto-guzzi_c4mkn7",description:["Moto Guzzi, built at Mandello del Lario since 1921, a timeless legend within the Italian motorcycling world. With models available in three styles - Enduro, Naked and Custom, you're sure to find one to suit your passion.","Find information about us, your Authorised Moto Guzzi motorcycle Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Moto Guzzi motorcycle? Explore our range of stocked vehicles below."]},{title:"Vespa",slug:"vespa",logoSrc:"vespa_xgxkks",imageBannerSrc:"vespa-banner_r0im7r",description:["Since 1946, Vespa has been an icon of Italian style loved around the world. Whether you're after an angle, frisky vehicle for tackling city traffic or a sturdy travelling companion for adventures, the Vespa range has undoubtedly got what you really need.","Find information about us, your Authorised Vespa scooter Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Vespa? Explore our range of stocked vehicles below."]},{title:"Ducati",slug:"ducati",logoSrc:"ducati_w9giws",imageBannerSrc:"ducati_rv7hwq",description:["Ducati is proud to represent Italian industry - the essence of Italian style shows through the design of each bike. Sinuous, seductive and flexible lines with a permanent, timeless quality that sets an unsurpassable standard.","Find information about us, your Authorised Ducati Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Ducati? Explore our range of stocked vehicles below."]}],W=[{title:"Audi",slug:"audi",logoSrc:"audi_gpfd84",imageBannerSrc:"audi-banner_vguzsz",description:["Explore our range of luxury and performance cars and SUVs from Audi.","Find information about us, your Authorised Audi Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Audi model? Explore our range of stocked vehicles below."]},{title:"BMW",slug:"bmw",logoSrc:"bmw_o0nifj",imageBannerSrc:"bmw-banner_pzwbao",description:["Come and explore our range of iconic BMW models from hatches to sedans, SUVs to sports cars. Experience The Ultimate Driving Machine today.","Find information about us, your Authorised BMW Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned BMW model? Explore our range of stocked vehicles below."]},{title:"Chery",slug:"chery",logoSrc:"chery_twg_clxzmb",imageBannerSrc:"chery-banner_hwehzn",description:["Come and explore our range of signature Chery vehicles featuring style with unsurpassed performance and innovation.","Find information about us, your Authorised Chery Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Chery model? Explore our range of stocked vehicles below."]},{title:"Chryslyer",slug:"chrysler",logoSrc:"chrysler_quposa",imageBannerSrc:"chrysler-banner_eu3iyd",description:["Come and explore our range of signature Chrysler vehicles featuring style with unsurpassed performance and innovation.","Find information about us, your Authorised Chrysler Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Chrysler model? Explore our range of stocked vehicles below."]},{title:"Ford",slug:"ford",logoSrc:"ford_difjrl",imageBannerSrc:"ford-banner_krgktx",description:["Discover Ford Australia's latest line-up of passenger cars, SUVs, utes and commercial vehicles at our Brisbane showroom. Explore the range and find a vehicle to suit your lifestyle.","Find information about us, your Authorised Ford Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Ford model? Explore our range of stocked vehicles below."]},{title:"GAC",slug:"gac",logoSrc:"gac_jichuc",imageBannerSrc:"GAC_M8_zytkrs",description:["Explore our range of innovative GAC vehicles, combining advanced technology with modern design and outstanding value.","Find information about us, your Authorised GAC Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned GAC model? Explore our range of stocked vehicles below."]},{title:"Geely",slug:"geely",logoSrc:"geely_logo_wmhxmh",imageBannerSrc:"geely_banner_czhoqm",description:["Explore our range of innovative Geely vehicles, combining cutting-edge technology with exceptional value and quality.","Find information about us, your Authorised Geely Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Geely model? Explore our range of stocked vehicles below."]},{title:"GM Speciality Vehicles",slug:"gmspecialtyvehicles",logoSrc:"gmspecialtyvehicles_iwnnl7",imageBannerSrc:"gmsv-banner_vvpxxl",description:["At GM Specialty Vehicles, we hand-pick only the most iconic GM vehicles to bring to our customers who are looking to own something truly special.","Find information about us, your Authorised GM Specialty Vehicles Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned GM Specialty Vehicles model? Contact us today!"]},{title:"GWM",slug:"gwm",logoSrc:"gwmhaval_j8dqeaa",imageBannerSrc:"gwmhaval-banner_uvjo9z",description:["The world today demands more. GWM was founded to meet this challenge, and they never settle for less. Through dedication and âsmall improvements everydayâ (our company motto) they have become one of the worldâs fastest-growing mobility technology providers.","Introducing the all-new GWM Ute. With its tough, rugged design and high-quality international components, the all-new GWM Ute looks great and performs better. A truly versatile vehicle, with the strength of a workhorse plus the comfort, capacity and capability your hobbies and social-life deserve. With its big, luxurious cabin, intelligent infotainment technology and smart safety features as standard, the all-new GWM Ute delivers a superior driving experience and unbeatable value. Discover more about the all-new GWM Ute and learn how you could Go With More today.","GWM is a global SUV specialist; one of four brands within the rapidly-growing GWM group. We are proud to make vehicles that combine the best components, technology and safety features from around the world. With over 6 million sales to date to more than 60 countries (and counting), we are the No.1 SUV brand in the worldâs largest market and have been for the past 15 years. We attribute our success to passion, drive and a commitment to listening to our customers."]},{title:"Hyundai",slug:"hyundai",logoSrc:"hyundai_kr3mag",imageBannerSrc:"hyundai-banner_sesq1g",description:["Explore the full range of Hyundai hatches, sedans and
1SUVs at your local Hyundai dealer in Brisbane. From the award-winning i30 and high-performance i30N to the vibrant, fun Kona and class-leading Santa Fe.","Find information about us, your Authorised Hyundai Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Hyundai model? Explore our range of stocked vehicles below."]},{title:"Isuzu UTE",slug:"isuzu",logoSrc:"isuzu_glbgve",imageBannerSrc:"isuzu-ute-banner_s4dnh8",description:["Go wherever adventure takes you with the power, performance and reliability of the D-MAX ute or 7-seat MU-X SUV. Both the DâMAX and MUâX come in a range of both 4x4 and 4x2 models; every DâMAX and MUâX is built around Isuzu's fuelâefficient, highâtorque, 3.0 litre, 4 cylinder commonârail turbo diesel engine","Find information about us, your Authorised Isuzu UTE Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Isuzu UTE model? Explore our range of stocked vehicles below."]},{title:"Jaguar",slug:"jaguar",logoSrc:"jaguar_f6dngk",imageBannerSrc:"jaguar-banner_gvna5g",description:["The official home of Jaguar in Brisbane. Explore our range of luxury cars which deliver legendary performance - Jaguar XE, XF, XJ, F-TYPE, E-PACE, F-PACE and the all-new, all-electric performance SUV, the I-PACE.","Find information about us, your Authorised Jaguar Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Jaguar model? Explore our range of stocked vehicles below."]},{title:"Jeep",slug:"jeep",logoSrc:"jeep_k5uvq7",imageBannerSrc:"jeep-banner_oqxxf5",description:["Explore Jeeps full range of SUVs, 4x4s & AWDs today. No matter the adventure, Jeep has your back. Discover our range today.","Find information about us, your Authorised Jeep Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Jeep model? Explore our range of stocked vehicles below."]},{title:"Kia",slug:"kia",logoSrc:"kia_zyekpl",imageBannerSrc:"kia-banner_gpox6r",description:["Discover the full range of Kia's award-winning small cars, family cars and SUVs and find the one that best suits you. Plus all Kia cars come with Australia's best 7 Year Warranty.","Find information about us, your Authorised Kia Retailer, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Kia model? Explore our range of stocked vehicles below."]},{title:"Land Rover",slug:"landrover",logoSrc:"landrover_xkrofv",imageBannerSrc:"landrover-banner_w9kduw",description:["Take yourself Above and Beyond and discover our impressive range of award-winning SUV and 4x4 vehicles.","Find information about us, your Authorised Land Rover Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Land Rover model? Explore our range of stocked vehicles below."]},{title:"LDV",slug:"ldv",logoSrc:"ldv_cbnca9",imageBannerSrc:"ldv-banner_rcvd9s",description:["Discover the full range of LDV's range of passenger and commercial vehicles, from the D90 SUV and T60 MAX to the Deliver 9 large van and cab chassis. With a focus on safety, space and value-for-money, LDV continues to innovate with cutting-edge technologies and developments to deliver safe, highly-specified and value-for-money vehicles.","Find information about us, your Authorised LDV Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned LDV model? Explore our range of stocked vehicles below."]},{title:"Mazda",slug:"mazda",logoSrc:"mazda_jfy0jv",imageBannerSrc:"mazda-banner_u1lx8m",description:["Discover the full range of Mazda's cars and find the one that best suits you.","Find information about us, your Authorised Mazda Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Mazda model? Explore our range of stocked vehicles below."]},{title:"Mercedes-Benz",slug:"mercedesbenz",logoSrc:"mercedesbenz_zvesbg",imageBannerSrc:"mercedes_1_cdstrb",description:["A blend of luxury, sportiness and performance. Be it Saloon, Estate, Coupé, Cabriolet, Roadster, SUV and more. Experience the products from Mercedes-Benz.","Find information about us, your Authorised Mercedes-Benz Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Mercedes-Benz model? Explore our range of stocked vehicles below."]},{title:"MG",slug:"mg",logoSrc:"mg_gumdsn",imageBannerSrc:"mg-banner_tpenhq",description:["Today, MG is about so much more than just getting from A to B. Style, safety, space and â most importantly â fun is what MG is about. There's never been a better time to meet your very own MG.","Find information about us, your Authorised MG Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned MG model? Explore our range of stocked vehicles below."]},{title:"Mini",slug:"mini",logoSrc:"mini_txcchv",imageBannerSrc:"mini-banner_mcsrkn",description:["Mini strives to reinvent urban life - the Mini way. Small in size and iconic in design, the first Mini, built in 1959, delivered a thrill all its own. Today, Mini is applying these ideas across urban life.","Find information about us, your Authorised Mini Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Mini model? Explore our range of stocked vehicles below."]}
1,{title:"Mitsubishi",slug:"mitsubishi",logoSrc:"mitsubishi_ap9sqo",imageBannerSrc:"mitsubishi-banner_h3oued",description:["Discover the full range of Mitsubishi's cars and find the one that best suits you.","Find information about us, your Authorised Mitsubishi Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Mitsubishi model? Explore our range of stocked vehicles below."]},{title:"Nissan",slug:"nissan",logoSrc:"nissan_fnbgwg",imageBannerSrc:"nissan-banner_jpva8t",description:["Explore the range of Nissan sports cars, 4x4s, large and small SUVs and utes to find your best fit.","Find information about us, your Authorised Nissan Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Nissan model? Explore our range of stocked vehicles below."]},{title:"Omoda Jaecoo",slug:"jaecoo",logoSrc:"omoda-jaecoo-logo-vertical_o26l7u_pfry98_gx183i",imageBannerSrc:"jaecoo-banner_hgkipb",description:["Discover the Omoda Jaecoo range of stylish and innovative SUVs, designed for modern drivers who want technology and value in one package.","Find information about us, your Authorised Omoda Jaecoo Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Omoda or Jaecoo model? Explore our range of stocked vehicles below."]},{title:"Porsche",slug:"porsche",logoSrc:"porsche_f6hmjr",imageBannerSrc:"porsche-banner_ojyekz",description:["Legends arenât born, theyâre crafted. First from dreams, then with steel. In our 70 years in Australia, Porsche has seen countless forms, names and features. However, one thing has remained unchanged. The soul of Porsche is the same now, as it was in 1948, when the first Porsche was born.","Find information about us, your Authorised Porsche Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Porsche model? Explore our range of stocked vehicles below."]},{title:"Ram",slug:"ram",logoSrc:"ram_v1np5i",imageBannerSrc:"ram-banner_n34xuq",description:["Ram Trucks Australia. The hardest working trucks in Australia. The legendary American truck, for when the job goes beyond the ordinary. From hauling your boat or trailer, to working your property or managing a business, these workhorses are designed to deliver across the board, day in and year out. Come see our latest models of Ram pickups.","Find information about us, your Authorised Ram Trucks Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Ram model? Explore our range of stocked vehicles below."]},{title:"Renault",slug:"renault",logoSrc:"renault_cfqocl",imageBannerSrc:"renault-banner_ytzzfo",description:["With a range of hatchbacks, sedans, SUVs and light commercial vehicles, Renault makes quality cars with a spirit of 'joie de vivre'.","Find information about us, your Authorised Renault Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Renault model? Explore our range of stocked vehicles below."]},{title:"Skoda",slug:"skoda",logoSrc:"skoda_jwjldj",imageBannerSrc:"skoda-banner_hvycdv",description:["Discover the range of new award-winning Å KODA vehicles. Every vehicle in the Å KODA range has all the hallmarks of European quality and an abundance of Simply Clever features - all at simply compelling prices.","Find information about us, your Authorised Å KODA Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Å KODA model? Explore our range of stocked vehicles below."]},{title:"KGM",slug:"ssangyong",logoSrc:"KGM_KBTL_AUSTRAL_BLUE_p5edhd_z9ynax",imageBannerSrc:"ssangyong-banner_gpl27p",description:["KGM is Koreaâs oldest automotive brand and have been specialising in 4x4s, SUVs and Utes since 1954. Since its inception more than 60 years ago, SsangYong has been focused on 4WDs and pushing the boundaries of design, safety and value. Today our family of world class Four Wheel Drive and All Wheel Drive vehicles, has given us the reputation as Koreaâs favourite SUV. Most importantly, the performance and quality of every SsangYong is underwritten by our 7 year unlimited kilometre warranty. Now is the time to take a closer look at what a specialist Korean SUV can deliver.","Find information about us, your Authorised KGM Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned SsangYong model? Explore our range of stocked vehicles below."]},{title:"Subaru",slug:"subaru",logoSrc:"subaru_fnbckz",imageBannerSrc:"suburu-banner_nfi9af",description:["You can do so much more with a Subaru. Adventure in the outback, unleash on coastal roads, nip around town and breeze to school and back. From SUVs to sporty performers, thereâs a Subaru that'll help you do.","Find information about us, your Authorised Subaru Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Subaru model? Explore our range of stocked vehicles below."]},{title:"Suzuki",slug:"suzuki",logoSrc:"suzuki_vhj1x3",imageBannerSrc:"suzuki-banner_ulrnxs",description:["Whether you want a city zipper or an off road weekender, the Suzuki range offers great choice, fantastic value for money and design that turns heads. Check out our range of small, medium, large and commercial vehicles.","Find information about us, your Authorised Suzuki Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Suzuki model? Explore our range of stocked vehicles below."]},{title:"Toyota",slug:"toyota",logoSrc:"toyota_lparyk",imageBannerSrc:"toyota-banner_urjhqe",description:["Come and discover the world of Toyota and find the vehicle that best suits you.","Find information about us, your Authorised Toyota Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Toyota model? Explore our range of stocked vehicles below."]},{title:"Volkswagen",slug:"volkswagen",logoSrc:"volkswagen_hwwin4",imageBannerSrc:"volkswagen-banner_lhgwan",description:["Discover the full range of Volkswagen's cars and find the one that best suits you.","Find information about us, your Authorised Volkswagen Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Volkswagen model? Explore our range of stocked vehicles below."]},{title:"Volvo",slug:"volvo",logoSrc:"volvo_dxw1wu",imageBannerSrc:"volvo-banner_v5ratr",description:["Browse our line-up and discover our tradition of style, safety and innovation built into each and every Volvo. Whether you're looking for a SUV, wagon or sedan, experience elegant Scandinavian design with every Volvo Car.","Find information about us, your Authorised Volvo Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Volvo model? Explore our range of stocked vehicles below."]},{title:"Zeekr",slug:"zeekr",logoSrc:"zeekr.png",imageBannerSrc:"zeekr-banner.webp",description:["Explore our range of Zeekr premium electric vehicles, combining advanced technology with distinctive design and a refined driving experience.","Find information about us, your Authorised Zeekr Retailer in Australia, including opening hours, address, contact details and location map. Looking for a new, demonstrator or pre-owned Zeekr model? Explore our range of stocked vehicles below."]}];[...W,...z,...P];var R=e.i(671127);let V=({title:e,brands:a})=>
1{let t="Motorcycle Brands"===e?"col-6 col-md-3 col-lg-2 py-4 "+R.default.Border+" "+R.default.BorderTrucks:"Truck Brands"===e||"Our Brands"===e?"col-6 col-md-3 col-lg-2 py-4 "+R.default.Border+" "+R.default.BorderMotos:"Our Partners"===e?"col-6 col-md-3 col-lg-2 py-4 "+R.default.Border+" "+R.default.BorderTrucks:"col-6 col-md-3 col-lg-2 py-4 "+R.default.Border;return(0,r.jsxs)("div",{className:"container my-5",children:[(0,r.jsx)(E.ResponsiveH3,{className:"text-center",children:e}),(0,r.jsx)("div",{className:"row justify-content-center p-3 text-center",children:a.map(e=>(0,r.jsx)(I.default,{href:e?.skipPage?e?.slug:"/"+e.slug+"/overview",className:t,children:(0,r.jsx)(M.default,{src:(({src:e,quality:r=75})=>`https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_${r}/v1682982722/td_next/tony-white-group/brands/${e}`)({src:e.logoSrc}),width:76,height:65,alt:e.title,style:{objectFit:"contain"}})},e.logoSrc))})]})};var D=e.i(615190),O=e.i(673624),$=e.i(548915),H=e.i(749846),q=e.i(952404),U=e.i(661979),Z=e.i(736804),K=e.i(203464);let Y={customComponentBlocks:{BrandsGrid:()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(V,{title:"Car Brands",brands:W}),(0,r.jsx)(V,{title:"Motorcycle Brands",brands:z}),(0,r.jsx)(V,{title:"Truck Brands",brands:P}),(0,r.jsx)(V,{title:"Our Brands",brands:G})]}),ProfileVideo:()=>(0,r.jsx)("div",{className:"position-relative px-2 py-5 px-lg-5",style:{background:"#ddd"},children:(0,r.jsx)("div",{className:"container",children:(0,r.jsx)("div",{className:"row align-items-center",children:(0,r.jsxs)("div",{className:"col-xl-8 mx-auto text-center",children:[(0,r.jsx)("p",{children:"Here at Tony White Group, we pride ourselves on our ability to offer our customers the benefits of dealing with a large dealership network, whilst providing the flexibility and personalised experience that only a privately-owned family business can offer. We proudly stock and sell 50+ manufacturer brands, across 59 franchises that run from Cairns all the way to Hobart."}),(0,r.jsx)("p",{children:"We are, and always will be, a results-oriented and customer-centric business. We continuously strive for better practice, better results, and better outcomes for all our customers â exceeding their expectations from sales to service and everything in between. Our customerâs experience is our top priority."})]})})})}),SalesCounter:$.SalesCounter,StatsBanner:()=>(0,r.jsxs)("div",{className:K.default.Wrapper,children:[(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"row text-center",children:[(0,r.jsxs)(I.default,{href:"/dealer-locator",className:"unstyled col-md-4 col-12 py-4 "+K.default.Border,children:[(0,r.jsx)("h2",{children:"50+"}),(0,r.jsx)("h5",{className:"text-uppercase",children:"Locations"})]}),(0,r.jsxs)(I.default,{href:"/brands",className:"unstyled col-md-4 col-12 py-4 "+K.default.Border,children:[(0,r.jsx)("h2",{children:"40+"}),(0,r.jsx)("h5",{className:"text-uppercase",children:"Brands"})]}),(0,r.jsxs)(I.default,{href:"/about-us",className:"unstyled col-md-4 col-12 py-4",children:[(0,r.jsx)("h2",{children:"30+"}),(0,r.jsx)("h5",{className:"text-uppercase",children:"Years Est."})]})]})}),(0,r.jsx)("div",{className:K.default.Stars,children:(0,r.jsx)(U.default,{src:"stats-star_niswu4",alt:"White Star",width:249,height:222,objectFit:"cover",layout:"intrinsic",loader:Z.cloudinaryURL})}),(0,r.jsx)("div",{className:K.default.Stars,children:(0,r.jsx)(U.default,{src:"stats-star_niswu4",alt:"White Star",width:249,height:222,objectFit:"cover",layout:"intrinsic",loader:Z.cloudinaryURL})})]})},cars:{CustomDisclaimer:()=>{let e=t.default.name;return(0,r.jsxs)("div",{children:[(0,r.jsx)("h6",{className:"text-dark",children:"Disclaimer"}),(0,r.jsx)("div",{className:"small",children:(0,r.jsxs)("p",{children:[(0,r.jsxs)("span",{className:"text-dark",children:["Please confirm price, specifications and features with ",e,". The vehicles actual pricing may vary from the price published. We do not warrant the accuracy or completeness of this data. Use of this website indicates your acceptance of our"," "]}),(0,r.jsx)(I.default,{className:(0,D.cn)(O.default.tnCsColour),href:"/terms-and-conditions",children:"Terms and Conditions."})]})})]})}},slider:{Overlay:({slide:e})=>{let a=(0,H.useRouter)();if(!0===e.hide_overlay)return null;let t=(e,r)=>{e.preventDefault(),a.push(r)};return(0,r.jsxs)("div",{className:q.default.TextWrapper+" p-4",children:[(0,r.jsx)("h2",{dangerouslySetInnerHTML:{__html:e.name}}),(0,r.jsx)("h3",{className:"py-2",dangerouslySetInnerHTML:{__html:e.description}}),(0,r.jsxs)("div",{className:"mt-md-3 d-block mt-0",children:[(0,r.jsx)("button",{className:"btn "+q.default.Button,onClick:e=>t(e,"/about-us"),children:"About Us"}),(0,r.jsx)("button",{className:"btn "+q.default.Button,onClick:e=>t(e,"/careers"),children:"Careers"})]})]})}}};var J=e.i(610798),X=e.i(342404),Q=e.i(475728);let ee=e=>({start:0,second:1,middle:Math.floor(e/2),end:e})[t.default.specifications?.stock_video_position||"second"]??1;e.s(["getVideoPosition",0,ee],242981);var er=e.i(347296);let ea=(0,a.createContext)(void 0),et=({children:e,defaultView:t})=>{let s=(e=>{let[r,t]=(0,a.useState)(e||(L.isGalleryDefaultForOrbitSpin?"gallery":"spinner")),[s,i]=(0,a.useState)(!1),[o,l]=(0,a.useState)(0),[n,c]=(0,a.useState)(0),d=(0,er.default)();return(0,a.useEffect)(()=>{"gallery"!==r&&c(0)},[r]),(0,a.useEffect)(()=>{s?d("hide"):d("show")},[s]),(0,a.useMemo)(()=>({view:r,setView:t,isFullScreenOpen:s,setIsFullScreenOpen:i,activeImageIndex:o,setActiveImageIndex:l,activeGalleryImageIndex:n,setActiveGalleryImageIndex:c}),[r,s,o,n])})(t);return(0,r.jsx)(ea.Provider,{value:s,children:e})},es=()=>{let e=(0,a.useContext)(ea);if(void 0===e)throw Error("Error using CarSpinnerContext");return e};e.s(["CarSpinnerProvider",0,et,"useCarSpinnerActions",0,es],995507);let ei=e=>{if(e.walkaround_videos&&e.walkaround_videos.length>0){let r=e.walkaround_videos[0].video?.url;if(r&&""!==r.trim())return r}},eo=e=>e.videos&&e.videos.length>0?e.videos.map(e=>e.video.url):[];e.s(["getAllVideoUrls",0,eo,"getWalkaroundVideoUrl",0,ei],799175);var el=e.i(288356);e.i(289105);var en=e.i(889346),ec=e.i(713706),ed=e.i(265941),eu=e.i(593806),em=e.i(129182),eh=e.i(254617);let ep=({car:e})=>{let a=L.isAltoGroup||L.isAlto?"btn-success":L.isAustralianMotorsGroup||L.isCentralCoastMotorGroupDealership?"btn-dark":N.default.reserveButton?.className??"btn-outline-secondary",s=!!t.default?.podium_api_token&&N.default.cars.enquireButtonPodium,i=(0,C.useLegacyFinanceVisible)(e),o=!!N.default.showFinance&&i,{autograbEnabled:l}=(0,eu.usePlugins)(e),n=2+ +!!o+ +!!(0,ed.tradeinEnabled)(e,l)>=4?"sidebar-btn-narrow w-full xl:w-1/2":"w-full",c=[{option:"CTD",outerClassName:"w-full mb-2"},s?{option:"chatWithUs",text:"Enquire now",outerClassName:n}:{option:"enquire",text:"Enquire",outerClassName:n},...o?[{option:"finance",text:`Get ${N.default.cars.sidebarButtonsFinanceText}`,outerClassName:n}]:[],{option:"testDrive",outerClassName:n},{option:"tradeIn",text:N.default.cars.VDPTradeInButton?.text,outerClassName:n},{option:"reserve",outerClassName:"w-full",btnClassName:(0,D.cn)(a,N.default.reserveButton?.animationEffect&&eh.default.ShineBtn),text:L.isWerribeeKia?`Reserve Car Now for ${(0,ec.reserveAmount)(e)??"$200"}`:void 0},...em.CHECKOUT_JOURNEY_ENABLED?[{option:"onlinePurchase"}]:[]];return(0,r.jsx)(en.default,{car:e,btnSize:"default-size",buttons:c})};e.s(["default",0,ep],533091);var ef=e.i(844708),eg=e.i(860134),ex=e.i(11794),eb=e.i(843511);let ev=({onClick:e,enabled:a})=>
1(0,r.jsx)(eb.default,{left:!0,inside:!0,className:a?"":"disabled",onClick:e,arrowClassName:"d-flex"}),ey=({onClick:e,enabled:a})=>(0,r.jsx)(eb.default,{right:!0,inside:!0,className:a?"":"disabled",onClick:e,arrowClassName:"d-flex"}),ej=({images:e,car:a,mainViewportRef:t,scrollPrev:s,prevBtnEnabled:o,scrollNext:l,nextBtnEnabled:n})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{ref:t,children:(0,r.jsx)("div",{className:"d-flex",children:e.map((e,t)=>{if(e.isVideo)if(a.video_url.startsWith("https://www.youtube.com/embed/"))return(0,r.jsx)("div",{className:eg.default.EmblaSlide,children:(0,r.jsx)("div",{className:eg.default.imgContainer,children:(0,r.jsx)("div",{children:(0,r.jsx)("iframe",{width:"100%",height:"100%",className:"border",src:a.video_url})})})},t);else return(0,r.jsx)("div",{className:eg.default.EmblaSlide,children:(0,r.jsx)("div",{className:eg.default.imgContainer,children:(0,r.jsx)("div",{children:(0,r.jsx)("video",{src:a.video_url,className:eg.default.Video,style:{objectFit:"contain"},loop:!0,controls:!0,muted:!0,playsInline:!0,preload:"none"})})})},t);return(0,r.jsx)("div",{className:eg.default.EmblaSlide,children:(0,r.jsx)("div",{className:eg.default.imgContainer,children:(0,r.jsx)(U.default,{src:e.image.url,alt:a.name,className:"img-fluid",layout:"responsive",height:400,width:600,priority:t<2,unoptimized:!0})})},e+t)})})}),i.default.cars?.CustomSliderButtons?(0,r.jsx)(i.default.cars.CustomSliderButtons,{prevOnClick:s,prevEnabled:o,nextOnClick:l,nextEnabled:n}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ev,{onClick:s,enabled:o}),(0,r.jsx)(ey,{onClick:l,enabled:n})]})]}),e_=({images:e,car:t,scrollPrev:s,scrollNext:i,selectedIndex:o,setSelectedIndex:l,originalEmbla:n,close:c})=>{let[d,u]=(0,J.default)({skipSnaps:!1,align:"center"}),[m,h]=(0,J.default)({containScroll:"keepSnaps",dragFree:!0}),p=(0,a.useCallback)(r=>{u&&h&&(h.canScrollNext()||h.canScrollPrev()||e.length<=5)&&(u.scrollTo(r),n.scrollTo(r))},[u,h,n]),f=(0,a.useCallback)(()=>{!u||(u.scrollTo(u.selectedScrollSnap()),l(u.selectedScrollSnap()),x(u.canScrollPrev()),v(u.canScrollNext()),h&&h.scrollTo(u.selectedScrollSnap()))},[u,h,l]);(0,a.useEffect)(()=>{u&&(f(),u.on("select",()=>f()))},[u,f]),(0,a.useEffect)(()=>{if(u&&h)return u.scrollTo(o),h.scrollTo(o),document.addEventListener("keydown",_,!1),()=>{document.removeEventListener("keydown",_,!1)}},[u,h]);let[g,x]=(0,a.useState)(!1),[b,v]=(0,a.useState)(!1),y=(0,a.useCallback)(()=>{u&&u.scrollPrev(),s()},[u,s]),j=(0,a.useCallback)(()=>{u&&u.scrollNext(),i()},[u,i]),_=e=>{switch(e.keyCode){case 39:j();break;case 37:y()}};return(0,r.jsxs)("div",{className:eg.default.FullScreenImageSliderContainer+` ${open?"":"d-none"}`,children:[(0,r.jsxs)("div",{className:"position-relative h-100 d-flex flex-column align-items-center justify-content-center",children:[(0,r.jsx)("button",{onClick:c,className:eg.default.FullScreenImageSliderButton+" btn btn-primary",style:{zIndex:1035},children:(0,r.jsx)(ex.AiOutlineClose,{size:20})}),(0,r.jsx)("div",{className:eg.default.FullScreenImageSlider+" w-100 mb-3 position-relative",children:(0,r.jsx)(ej,{images:e,car:t,mainViewportRef:d,scrollPrev:y,prevBtnEnabled:g,scrollNext:j,nextBtnEnabled:b})}),e.length>3&&(0,r.jsx)("div",{className:eg.default.FullScreenImageThumbs+" overflow-hidden w-100",children:(0,r.jsx)("div",{className:eg.default.EmblaViewport,ref:m,children:(0,r.jsx)("div",{className:eg.default.EmblaContainer,children:e.map((e,a)=>(0,r.jsx)("div",{onClick:()=>p(a),className:eg.default.EmblaThumbSlide+(a===o?"":` ${eg.default.cursorPointer}`),children:(0,r.jsxs)("div",{className:"h-100 w-100 position-relative",children:[(0,r.jsx)("div",{className:eg.default.ThumbOverlay+(a===o?" d-none":" ")}),(0,r.jsx)(U.default,{src:e.image.thumb.url,className:"img-fluid",height:400,width:600,sizes:"200px",objectFit:"cover",alt:t.name,unoptimized:!0})]})},"second"+a))})})})]}),(0,r.jsx)("div",{className:eg.default.FullScreenImageSliderVoid,onClick:c})]})};var ew=e.i(860938),eC=e.i(581163);let eN=({images:e,car:t,open:s,setOpen:i,scrollPrev:o,scrollNext:l,selectedIndex:n,setSelectedIndex:c,originalEmbla:d})=>{let[u,m]=(0,a.useState)(!0);return(0,r.jsxs)(ef.Root,{open:s,onOpenChange:e=>{i(e),m(!1)},children:[(0,r.jsx)(eC.TooltipProvider,{children:(0,r.jsxs)(eC.Tooltip,{children:[(0,r.jsx)(eC.TooltipTrigger,{asChild:!0,onMouseEnter:()=>m(!0),children:(0,r.jsx)(ef.Trigger,{className:(0,D.cn)(eg.default.FullScreenImageSliderButton,"btn btn-primary"),children:(0,r.jsx)(ew.BsArrowsFullscreen,{})})}),u&&(0,r.jsx)(eC.TooltipContent,{style:{width:"84px"},side:"bottom",children:(0,r.jsx)("p",{className:"small mb-0",children:"Fullscreen"})})]})}),(0,r.jsxs)(ef.Portal,{children:[(0,r.jsx)(ef.Overlay,{}),(0,r.jsx)(ef.Content,{children:(0,r.jsx)(e_,{images:e,car:t,scrollPrev:o,scrollNext:l,selectedIndex:n,setSelectedIndex:c,originalEmbla:d,close:()=>i(!1)})})]})]})};e.s(["default",0,eN],725655),e.s([],667961);var eS=e.i(389124),ek=e.i(907782),eA=e.i(313392);let eL=[L.isNZWebsite],eF=({onClick:e,enabled:a})=>
1(0,r.jsx)(eb.default,{left:!0,inside:!0,className:a?"":"disabled",onClick:e,arrowClassName:"d-flex"}),eB=({onClick:e,enabled:a})=>(0,r.jsx)(eb.default,{right:!0,inside:!0,className:a?"":"disabled",onClick:e,arrowClassName:"d-flex"}),eT=(e,r,a)=>[...e.slice(0,r),a,...e.slice(r)],eM=({images:e,car:a,mainViewportRef:t,scrollPrev:s,prevBtnEnabled:o,scrollNext:l,nextBtnEnabled:n,toggle:c})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"w-100",ref:t,children:(0,r.jsx)("div",{className:"d-flex",onClick:c&&c,children:e.map((e,t)=>{if(e.isVideo)if(a.video_url.startsWith("https://www.youtube.com/embed/"))return(0,r.jsx)("div",{className:eA.default.EmblaSlide,children:(0,r.jsx)("iframe",{width:"100%",height:"100%",className:"border",src:a.video_url})},t);else{let e=a?.images?.[0]?.image?.url||a?.primary_image_url;return(0,r.jsx)("div",{className:eA.default.EmblaSlide,children:(0,r.jsx)("video",{src:a.video_url,poster:e,className:eA.default.Video,style:{objectFit:"contain"},loop:!0,controls:!0,muted:!0,playsInline:!0,preload:"none"})},t)}return e?.image?.url?(0,r.jsx)("div",{className:eA.default.EmblaSlide,children:(0,r.jsx)("div",{className:eA.default.imgContainer,children:(0,r.jsx)(U.default,{src:e.image.url,alt:a.name,className:"img-fluid",layout:"responsive",height:400,width:600,priority:t<2,unoptimized:!0,style:L.isTWGGroup?{transform:"scale(1.125)"}:L.isBMW&&"new"===a.car_type?{transform:"scale(1.2)"}:{}})})},e+t):null})})}),i.default.cars?.CustomSliderButtons?(0,r.jsx)(i.default.cars.CustomSliderButtons,{prevOnClick:s,prevEnabled:o,nextOnClick:l,nextEnabled:n}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eF,{onClick:s,enabled:o}),(0,r.jsx)(eB,{onClick:l,enabled:n})]})]}),eI=()=>!t.default.offers_subscription&&!L.isBartonsGroup,eE=()=>!!t.default.offers_subscription||!!L.isBartonsGroup,eG=({inStock:e,images:a,car:t,selectedIndex:s,thumbViewportRef:i,onThumbClick:o,enableSpinCar:l=!1,className:n})=>l?null:(0,r.jsx)("div",{className:(0,D.cn)("order-lg-3 d-none d-lg-block order-2 mt-3 p-0",n??"col-12"),children:e&&a.length>3&&(0,r.jsx)("div",{className:"overflow-hidden",children:(0,r.jsx)("div",{className:eA.default.EmblaViewport,ref:i,children:(0,r.jsx)("div",{className:eA.default.EmblaContainer,children:a.map((e,a)=>e?.image?.thumb?.url?(0,r.jsx)("div",{onClick:()=>o(a),className:eA.default.EmblaThumbSlide+(a===s?" opacity-1":` ${eA.default.cursorPointer}`),children:(0,r.jsx)(U.default,{src:e.image.thumb.url,className:"img-fluid",height:400,width:600,sizes:"200px",objectFit:"cover",alt:t.name,unoptimized:!0})},"second"+a):null)})})})}),eP=({car:e})=>{let[s,o]=(0,a.useState)(!1),[n,c]=(0,a.useState)(0),[d,u]=(0,J.default)({skipSnaps:!1,align:"start"}),[m,h]=(0,J.default)({containScroll:"keepSnaps",dragFree:!0}),p=(0,a.useCallback)(e=>{u&&h&&(h.canScrollNext()||h.canScrollPrev()||_.length<=5)&&u.scrollTo(e)},[u,h]),f=(0,a.useCallback)(()=>{!u||(u.scrollTo(u.selectedScrollSnap()),c(u.selectedScrollSnap()),x(u.canScrollPrev()),v(u.canScrollNext()),h&&h.scrollTo(u.selectedScrollSnap()))},[u,h,c]);(0,a.useEffect)(()=>{u&&(f(),u.on("select",()=>f()))},[u,f]);let[g,x]=(0,a.useState)(!1),[b,v]=(0,a.useState)(!1),y=(0,a.useCallback)(()=>{u&&u.scrollPrev()},[u]),j=(0,a.useCallback)(()=>{u&&u.scrollNext()},[u]),_=e.images;if(e.video_url&&_[0].image&&!eL.includes(!0)){let e=ee(_.length);_=eT(_,e,{isVideo:!0,image:{thumb:{url:"/default_video_thumbnail.png"}}})}let w="in_stock"===e.status,C=i.default.cars?.SidebarComponent?i.default.cars?.SidebarComponent:el.default,S=i.default.cars?.CarImageBadge;_.length<=1&&N.default.cars?.newArrivalImages&&(_=N.default.cars.newArrivalImages);let k=e?.spin_images?.length>0,A=ei(e),F=e?.spin_code&&e?.spin_interior_image?`https://td-orbit-3d.vercel.app?spin_code=${e.spin_code}`:void 0,B=k||void 0!==A||void 0!==F,T=L.isGalleryDefaultForOrbitSpin?"gallery":k?"spinner":"gallery",M=t.default.impel&&!k,I=(0,eS.checkConfigComponent)(["cars","SidebarButtons"]);return(0,r.jsxs)("div",{className:eA.default.noMargins+" row no-gutters overflow-hidden",children:[(0,r.jsx)("div",{className:t.default.offers_subscription||L.isBartonsGroup?"col-xl-8 order-lg-1 d-flex order-1":"col-lg-7 col-xl-8 order-lg-1 d-flex order-1",children:(0,r.jsxs)("div",{className:"position-relative flex h-100 w-100 cursor-pointer flex-col",children:[_.length>1&&B?(0,r.jsx)(r.Fragment,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(X.default,{car:e,isVDP:!0}),S?(0,r.jsx)(S,{variant:"vdp"}):null]}),!M&&!B&&_.length>1&&(0,r.jsx)(eN,{images:_,car:e,open:s,setOpen:o,scrollPrev:y,scrollNext:j,selectedIndex:n,setSelectedIndex:c,originalEmbla:u,enableSpinCar:B}),(0,r.jsx)("div",{className:"min-h-0 flex-1 overflow-hidden",children:_.length>1&&_[0]?.image?.url?B?(0,r.jsx)(et,{defaultView:T,children:(0,r.jsx)(e8,{images:e.spin_images,autoRotate:{disabled:!1},movementSensitivity:20,imgHeight:"400px",imgWidth:"600px",interiorUrl:F,hotspots:e.hotspots,galleryImages:_,car:e,CarTag:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(X.default,{car:e,isVDP:!0}),S?(0,r.jsx)(S,{variant:"vdp"}):null]}),walkaroundVideoUrl:A})}):(0,r.jsx)(eM,{images:_,car:e,mainViewportRef:d,scrollPrev:y,prevBtnEnabled:g,scrollNext:j,nextBtnEnabled:b,toggle:()=>{o(!s)}}):(0,r.jsx)(r.Fragment,{children:!_[0]?.image?.url||(0,ek.isDefaultCarImage)(_[0].image.url)?L.isTWGGroup?(0,r.jsx)("div",{className:(0,D.cn)(eA.default.TWGGroupCars,"overflow-hidden"),style:{border:"1px solid var(--primary-brightened)",borderRadius:"25px"},children:(0,r.jsx)(Q.default,{car:e})}):(0,r.jsx)(Q.default,{car:e}):_[0]?.image?.url&&(0,r.jsx)("div",{className:"img-container",children:(0,r.jsx)("img",{src:_[0].image.url,alt:e.name,className:"img-fluid"})})})}),eE()&&(0,r.jsx)(eG,{inStock:w,images:_,car:e,thumbViewportRef:m,onThumbClick:p,selectedIndex:n,enableSpinCar:B,className:"w-full shrink-0"})]})}),(0,r.jsx)("div",{className:t.default.offers_subscription||L.isBartonsGroup?"col-xl-4 order-lg-2 order-3 pb-0":"col-lg-5 col-xl-4 order-lg-2 order-3 pb-0",children:(0,r.jsx)(C,{title:(0,l.getCarTitle)(e),car:e,Buttons:I||ep,hasCarIcons:N.default.cars.hasCarIcons})}),eI()&&(0,r.jsx)(eG,{inStock:w,images:_,car:e,thumbViewportRef:m,onThumbClick:p,selectedIndex:n,enableSpinCar:B})]})};var ez=e.i(551740);let eW=({type:e,activeImageIndex:a,images:t,hotspot:s,hotspotPositions:i,view:o})=>(0,r.jsx)(eC.TooltipProvider,{delayDuration:50,children:(0,r.jsxs)(eC.Tooltip,{children:[(0,r.jsx)(eC.TooltipTrigger,{asChild:!0,children:(0,r.jsxs)("div",{className:(0,D.cn)(ez.default.hotspotContainer,"spinner"===o&&"interior"===e?"d-none":"","interior"===o&&"exterior"===e?"d-none":""),style:{...((e,r)=>{if(!r||0===r.anchors.length)return;let a=(1-e/(t.length-1))*360,s=i.positions.find(e=>e.activeAngle===a);return s?{left:`${100*s.posX}%`,top:`${100*s.posY}%`}:{display:"none"}})(a,s)},children:[(0,r.jsx)("div",{className:ez.default.hotspotIndicator}),(0,r.jsx)("div",{className:ez.default.hotspotPing})]})}),(0,r.jsxs)(eC.TooltipContent,{className:"rounded border-white p-2",side:"top",sideOffset:2,children:[(0,r.jsx)(eC.TooltipArrow,{fill:"white"}),(0,r.jsx)("div",{className:"small",children:s.description})]})]})});var eR=e.i(592730);let eV=({interiorUrl:e})=>(0,r.jsx)("div",{className:eR.default.iframeContainer,children:(0,r.jsx)("iframe",{src:e,allowFullScreen:!0,className:eR.default.iframe})}),eD=({images:e,car:t})=>{let{isFullScreenOpen:s,activeGalleryImageIndex:o,setActiveGalleryImageIndex:l}=es(),n=eo(t),c=[...e];n.length>
10&&n.forEach((e,r)=>{c.push({type:"video",video:{url:e},id:`video-${r}`})});let[d,u]=(0,J.default)({skipSnaps:!1,align:"start"}),m=(0,a.useCallback)(()=>{u&&(u.scrollTo(u.selectedScrollSnap()),l(u.selectedScrollSnap()),p(u.canScrollPrev()),g(u.canScrollNext()))},[u]);(0,a.useEffect)(()=>{u&&(m(),u.on("select",()=>m()))},[u,m]),(0,a.useEffect)(()=>{u&&u.scrollTo(o,!0)},[u,s]);let[h,p]=(0,a.useState)(!1),[f,g]=(0,a.useState)(!1),x=(0,a.useCallback)(()=>{u&&u.scrollPrev(),l(o-1)},[u,o]),b=(0,a.useCallback)(()=>{u&&u.scrollNext(),l(o+1)},[u,o]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"w-100 overflow-hidden",ref:d,children:(0,r.jsx)("div",{className:"d-flex",children:c.map((a,s)=>{if("video"===a.type){let e=t?.images?.[0]?.image?.url||t?.primary_image_url;return(0,r.jsx)("div",{className:eR.default.emblaSlide,children:(0,r.jsx)("div",{className:"relative h-full w-full",style:{maxHeight:"692px",zIndex:1,pointerEvents:"auto"},children:(0,r.jsx)("div",{style:{position:"relative",width:"100%",height:"100%",zIndex:2,pointerEvents:"auto"},children:(0,r.jsx)("video",{src:a.video.url,poster:e,className:"h-100 w-100",style:{objectFit:"contain",maxHeight:"692px",zIndex:3,pointerEvents:"auto",position:"relative"},controls:!0,muted:!0,playsInline:!0,preload:"metadata"})})})},a.id)}if(t.video_url&&e[0].image&&1===s){let e=t?.images?.[0]?.image?.url||t?.primary_image_url;return(0,r.jsx)("div",{className:eR.default.emblaSlide,children:(0,r.jsx)("div",{className:"relative h-full w-full",style:{maxHeight:"692px",zIndex:1,pointerEvents:"auto"},children:(0,r.jsx)("div",{style:{position:"relative",width:"100%",height:"100%",zIndex:2,pointerEvents:"auto"},children:(0,r.jsx)("video",{src:t.video_url,poster:e,className:"h-100 w-100",style:{objectFit:"contain",maxHeight:"692px",zIndex:3,pointerEvents:"auto",position:"relative"},controls:!0,muted:!0,playsInline:!0,preload:"metadata"})})})},"main"+s)}return(0,r.jsx)("div",{className:eR.default.emblaSlide,children:(0,r.jsx)("div",{className:"relative h-full w-full",style:{maxHeight:"692px"},children:(0,r.jsx)(M.default,{src:a.image.url,alt:t.name,className:"h-100 w-100",height:400,width:600,priority:s<2,unoptimized:!0,style:{width:"100%",height:"100%",objectFit:"contain",maxHeight:"692px"}})})},a+s)})})}),i.default.cars?.CustomSliderButtons?(0,r.jsx)(i.default.cars.CustomSliderButtons,{prevOnClick:x,prevEnabled:h,nextOnClick:b,nextEnabled:f}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eF,{onClick:x,enabled:h}),(0,r.jsx)(eB,{onClick:b,enabled:f})]})]})},eO="__car-spinner-img",e$=`${eO}--primary`,eH=`${eO}--secondary`,eq=e=>{e.preventDefault()},eU={maxWidth:"100%"},eZ=({fullyLoaded:e,rootStyle:a,frameRef:t,view:s,images:i,imgWidth:o,imgHeight:l,activeImageIndex:n,tabIndex:c,loadedImages:d,setSpinInitiated:u,showHotspots:m,hotspots:h,...p})=>e?(0,r.jsxs)("div",{"aria-label":"Image turntable",ref:t,role:"slider","aria-valuemin":1,"aria-valuemax":i.length,"aria-valuenow":n+1,"aria-valuetext":`${n+1} of ${i.length}`,style:a,tabIndex:c,className:(0,D.cn)("position-relative","spinner"!==s&&"d-none"),...p,children:[d.map((e,a)=>(0,r.jsx)("img",{className:`${eO} ${0===a?e$:eH}`,src:e,alt:`Turntable images ${a+1}`,draggable:!1,onMouseDown:()=>u(!0),onTouchStart:()=>u(!0),onDragStart:eq,style:{...eU,position:0===a?void 0:"absolute",opacity:+(a===n),left:0,top:0,right:0,bottom:0,width:"100%",height:"100%",objectFit:"cover"},width:o,height:l,fetchPriority:"high"},e)),m&&(0,r.jsxs)(r.Fragment,{children:[h.exterior.map((e,a)=>(0,r.jsx)(eW,{type:"exterior",activeImageIndex:n,images:i,hotspot:e,hotspotPositions:h?.exteriorHotspotPositions?.filter(r=>r.hotspotId===e.id)[0],view:s},`interior-hotspot-${a}`)),h.interior.map((e,a)=>(0,r.jsx)(eW,{type:"interior",activeImageIndex:n,images:i,hotspot:e,hotspotPositions:h?.interiorHotspotPositions?.filter(r=>r.hotspotId===e.id)[0],view:s},`interior-hotspot-${a}`))]})]}):(0,r.jsx)("div",{"aria-label":"Solo image placeholder",style:a,className:(0,D.cn)("position-relative","spinner"!==s&&"d-none"),...p,children:(0,r.jsx)("img",{className:`${eO} ${e$}`,src:i[0],alt:"Primary car image",style:{...eU,left:0,top:0,right:0,bottom:0,width:"100%",height:"100%",objectFit:"cover"},width:o,height:l})});var eK=e.i(682002);let eY=({open:e,setOpen:t,carSpinnerProps:s})=>{let[i,o]=(0,a.useState)(!0);return(0,r.jsxs)(ef.Root,{open:e,onOpenChange:e=>{t(e),o(!1)},children:[(0,r.jsx)(eC.TooltipProvider,{children:(0,r.jsxs)(eC.Tooltip,{children:[(0,r.jsx)(eC.TooltipTrigger,{asChild:!0,onMouseEnter:()=>o(!0),children:(0,r.jsx)(ef.Trigger,{className:(0,D.cn)(eK.default.FullScreenButton,"btn btn-primary mr-md-0 mr-3"),children:(0,r.jsx)(ew.BsArrowsFullscreen,{})})}),i&&(0,r.jsx)(eC.TooltipContent,{style:{width:"84px"},side:"bottom",children:(0,r.jsx)("p",{className:"small mb-0",children:"Fullscreen"})})]})}),(0,r.jsxs)(ef.Portal,{children:[(0,r.jsx)(ef.Overlay,{}),(0,r.jsx)(ef.Content,{children:(0,r.jsxs)("div",{className:eK.default.FullScreenContentContainer,children:[(0,r.jsxs)("div",{className:"position-relative d-flex flex-column align-items-center justify-content-center h-100",children:[(0,r.jsx)("button",{onClick:()=>t(!1),className:(0,D.cn)(eK.default.FullScreenButton,"btn btn-primary"),style:{zIndex:1035},children:(0,r.jsx)(ex.AiOutlineClose,{size:20})}),(0,r.jsx)("div",{className:"container px-0 pt-3",style:{zIndex:1035},children:(0,r.jsx)(e8,{images:s.images,initialImageIndex:s.initialImageIndex,autoRotate:{disabled:!0},style:s.style,movementSensitivity:s.movementSensitivity,imgHeight:s.imgHeight,imgWidth:s.imgWidth,interiorUrl:s.interiorUrl,hotspots:s.hotspots,galleryImages:s.galleryImages,car:s.car,CarTag:s.CarTag?s.CarTag:null,walkaroundVideoUrl:s.walkaroundVideoUrl,isFullScreen:!0})})]}),(0,r.jsx)("div",{className:eK.default.FullScreenVoid,onClick:()=>t(!1)})]})})]})]})};var eJ=e.i(610301);let eX=()=>(0,r.jsx)("div",{className:eJ.default.wrapper,children:(0,r.jsx)("div",{className:eJ.default.spinner,children:(0,r.jsx)("img",{src:"/orbit/car-spin-loading-quick.gif",alt:"Moving arrows",fetchPriority:"high"})})}),eQ=()=>{let[e,t]=(0,a.useState)([]);return((0,a.useEffect)(()=>{(async()=>{try{let e=await Promise.all(["/orbit/car-gif.gif","/orbit/orbit-branding.svg"].map(e=>(0,D.loadImage)(e)));t(e)}catch(e){console.error("Error loading Orbit assets:",e)}})()},[]),2!==e.length)?null:(0,r.jsxs)("div",{className:eJ.default.wrapper,children:[(0,r.jsxs)("div",{className:(0,D.cn)(eJ.default.pill,"transform scale-70"),children:[(0,r.jsx)("img",{className:eJ.default.spinGif,src:e[0],alt:"Spinning car animation"}),(0,r.jsx)("p",{children:"Swipe to spin"}),(0,r.jsx)("img",{className:eJ.default.orbitLogo,src:e[1],alt:"Orbit by Dealer Studio"})]}),(0,r.jsx)("div",{className:(0,D.cn)(eJ.default.arrowSection,"transform scale-70"),children:(0,r.jsx)("img",{className:eJ.default.arrowGif,src:"/orbit/arrows-animation.gif",alt:"Moving arrows"})})]})},e0=({size:e=42,className:a})=>(0,r.jsxs)("svg",{width:e,height:19/42*e,viewBox:"0 0 42 19",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,children:[(0,r.jsx)("path",{d:"M27.6347 3.49885C27.5313 3.51741 27.4307 3.54497 27.3342 3.58154C26.5011 3.89487 25.7577 4.43884 25.4161 4.90574C25.2874 5.08182 25.3737 5.3974 25.5503 5.39852C26.3806 5.40471 28.3117 5.40359 29.6828 5.29502C30.6911 5.21514 31.3544 4.79717 31.3544 4.79717C31.3544 4.79717 30.7466 3.46622 29.2351 3.40828C28.3924 3.37621 27.8996 3.45103 27.6347 3.49885Z",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M30.8186 10.0041H24.0658",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M21.4341 9.44237C21.4341 10.5219 22.023 11.3966 22.7499 11.3966C23.4769 11.3966 24.0665 10.5219 24.0665 9.44237C24.0665 8.36288 23.4776 7.48816 22.7499 7.48816C22.0223 7.48816 21.4341 8.36288 21.4341 9.44237Z",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M30.7631 9.44237C30.7631 10.5219 31.3521 11.3966 32.079 11.3966C32.8059 11.3966 33.3955 10.5219 33.3955 9.44237C33.3955 8.36288 32.8066 7.48816 32.079 7.48816C31.3513 7.48816 30.7631 8.36288 30.7631 9.44237Z",strokeLinecap:"round",strokeLinejoin:"round"}
1),(0,r.jsx)("path",{d:"M33.3955 10.0041H33.4353C33.8799 10.0041 34.2384 9.63107 34.2341 9.17396L34.1964 5.49372C34.1224 5.03734 33.8365 4.64972 33.4332 4.4442C32.4851 3.96077 32.0797 2.78839 31.4822 2.31519C30.6756 1.67671 30.2126 1.46973 28.4756 1.4295H28.1349",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M16.5021 4.8779C17.7981 3.68724 19.2661 1.4295 21.4341 1.4295C23.92 1.36441 28.135 1.4295 28.135 1.4295",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M28.135 1.4295C26.0929 1.4295 24.6725 3.43199 23.4313 4.65996C23.2891 4.80038 23.0999 4.87791 22.9029 4.87791H16.5021",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M16.5021 4.87793C16.5021 4.87793 15.4942 5.16755 15.071 5.35844C14.4472 5.64002 14.0048 6.00351 13.8925 6.69465C13.8327 7.06033 13.7801 7.40042 13.768 7.82388C13.7602 8.08717 13.7779 8.80538 13.768 9.35829C13.7616 9.71301 13.9899 10.0034 14.3349 10.0034H21.4895",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M16.9836 11.3966C17.579 11.3966 18.0818 10.8093 18.2447 10.0041",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M16.9836 11.3966H15.6016",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M14.3406 10.0041C14.5027 10.8093 15.0063 11.3966 15.6017 11.3966",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M15.99 8.27289H18.1914",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M27.4568 15.2327C34.9899 14.848 40.6438 13.2309 40.6438 11.2943C40.6438 10.1563 39.4972 9.12871 36.3563 8.39661",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M11.8563 8.39661C8.716 9.12871 7.35626 10.1563 7.35626 11.2943C7.35626 13.5169 14.8083 15.319 24 15.319C24.2248 15.319 24.4488 15.3183 24.6715 15.3161",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M21.9651 13.0825L24.6715 15.3409",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M21.9651 17.5994L24.6715 15.3409",strokeLinecap:"round",strokeLinejoin:"round"})]}),e1=({size:e=16,className:a})=>(0,r.jsxs)("svg",{width:e,height:21/16*e,viewBox:"0 0 16 21",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,children:[(0,r.jsx)("path",{d:"M10.2277 0.740295H5.76086C5.35561 0.740295 5.0271 1.06529 5.0271 1.46619V3.66564C5.0271 4.06654 5.35561 4.39154 5.76086 4.39154H10.2277C10.633 4.39154 10.9615 4.06654 10.9615 3.66564V1.46619C10.9615 1.06529 10.633 0.740295 10.2277 0.740295Z",strokeMiterlimit:"10"}),(0,r.jsx)("path",{d:"M2.96667 14.004V8.80589C2.96667 7.36215 4.13775 6.19153 5.58165 6.19153H10.4182C11.8621 6.19153 13.0332 7.36215 13.0332 8.80589V14.004",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M5.1582 9.44153C5.1582 9.44153 6.98486 11.1576 6.89283 15.2004",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M10.7089 9.44153C10.7089 9.44153 8.88229 11.1576 8.97431 15.2004",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M7.95802 20.4597C7.95802 20.4597 13.5952 20.4283 14.0569 20.4557C14.0756 20.4565 14.0927 20.4461 14.1001 20.4291C15.1946 17.9348 15.0391 16.5926 14.7377 15.9166C14.4853 15.3503 13.8045 15.1094 13.2547 15.4059C12.3084 15.9166 11.9175 17.5014 11.9175 17.5014C11.9175 17.5014 9.73581 16.5402 7.99223 16.5193H8.00607C6.26248 16.5402 4.08076 17.5014 4.08076 17.5014C4.08076 17.5014 3.69067 15.9166 2.74355 15.4059C2.19466 15.1094 1.51302 15.3503 1.26057 15.9166C0.959246 16.5926 0.802885 17.9356 1.89823 20.4291C1.90555 20.4461 1.92266 20.4573 1.94139 20.4557C2.40314 20.4283 8.04028 20.4597 8.04028 20.4597",strokeMiterlimit:"10"})]}),e2=({size:e=19,className:a})=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",className:a,children:[(0,r.jsx)("path",{d:"M18 22H4a2 2 0 0 1-2-2V6"}),(0,r.jsx)("path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18"}),(0,r.jsx)("circle",{cx:"12",cy:"8",r:"2"}),(0,r.jsx)("rect",{width:"16",height:"16",x:"6",y:"2",rx:"2"})]}),e4=({size:e=19,className:a})=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",className:a,children:[(0,r.jsx)("path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5"}),(0,r.jsx)("rect",{x:"2",y:"6",width:"14",height:"12",rx:"2"})]});var e3=e.i(927918);let e6=({view:e,setView:a,interiorUrl:t,enableSpinCar:s,walkaroundVideoUrl:i,isFullScreen:o})=>{let l=(e,r)=>
1{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),a(r))};return(0,r.jsxs)("div",{className:(0,D.cn)(o?e3.default.spinnerInterfaceFullScreen:e3.default.spinnerInterface,"d-none d-md-flex w-100"),role:"toolbar","aria-label":"Car viewer controls",children:[(0,r.jsxs)("div",{className:(0,D.cn)(e3.default.interfaceContainer,"pointer-events-none pb-4"),style:{left:"gallery"===e?"50px":0,bottom:"walkaround"!==e||o?0:"40px"},role:"group","aria-label":"Main view controls",children:[s&&(0,r.jsx)("div",{children:(0,r.jsxs)("button",{className:(0,D.cn)(e3.default.interfaceButton,"btn btn-sm d-flex align-items-center mr-3","spinner"===e?e3.default.active:e3.default.inactive),onClick:()=>a("spinner"),onKeyDown:e=>l(e,"spinner"),"aria-pressed":"spinner"===e,title:"View interactive 360° car spin",children:[(0,r.jsx)(e0,{className:"mr-2","aria-hidden":"true"}),(0,r.jsx)("span",{className:"d-none d-sm-block",children:"Spin"})]})}),(s||i||t)&&(0,r.jsx)("div",{children:(0,r.jsxs)("button",{className:(0,D.cn)(e3.default.interfaceButton,"btn btn-sm d-flex align-items-center mr-3","gallery"===e?e3.default.active:e3.default.inactive),onClick:()=>a("gallery"),onKeyDown:e=>l(e,"gallery"),"aria-pressed":"gallery"===e,title:"View car gallery",children:[(0,r.jsx)(e2,{size:19,"aria-hidden":"true"}),(0,r.jsx)("span",{className:"ml-2",children:"Gallery"})]})}),i&&(0,r.jsx)("div",{children:(0,r.jsxs)("button",{className:(0,D.cn)(e3.default.interfaceButton,"btn btn-sm d-flex align-items-center mr-3 mb-3","walkaround"===e?e3.default.active:e3.default.inactive),onClick:()=>a("walkaround"),onKeyDown:e=>l(e,"walkaround"),"aria-pressed":"walkaround"===e,title:"View walkaround video",children:[(0,r.jsx)(e4,{size:19,"aria-hidden":"true"}),(0,r.jsx)("span",{className:"ml-2",children:"Walkaround"})]})})]}),(0,r.jsx)("div",{className:(0,D.cn)(e3.default.interfaceContainer,"justify-content-end pointer-events-none"),style:{right:0,bottom:0},role:"group","aria-label":"Additional view controls",children:t&&(0,r.jsx)("div",{children:(0,r.jsxs)("button",{className:(0,D.cn)(e3.default.interfaceButton,"btn btn-sm d-flex align-items-center ml-3","interior"===e?e3.default.active:e3.default.inactive),onClick:()=>a("interior"),onKeyDown:e=>l(e,"interior"),"aria-pressed":"interior"===e,title:"View car interior",children:[(0,r.jsx)(e1,{size:14,"aria-hidden":"true"}),L.isFrizelleSunshineAutomotive?(0,r.jsx)("span",{className:"ml-2",children:"3D Interior"}):(0,r.jsx)("span",{className:"ml-2",children:"Interior"})]})})})]})},e5=({onClick:e,isActive:a,children:t})=>(0,r.jsx)("button",{className:(0,D.cn)(e3.default.interfaceButton,"btn btn-sm d-flex justify-content-center align-items-center mb-2 px-2 py-1",a?e3.default.active:e3.default.inactive),onClick:e,style:{minWidth:"80px",fontSize:"0.75rem",borderRadius:"4px"},children:t}),e9=({interfaceButtons:e})=>(0,r.jsx)("div",{className:"d-block d-md-none py-2",style:{bottom:"60px",left:"15px",zIndex:10},children:(0,r.jsx)("div",{className:"d-flex justify-content-center gap-2",children:e.map(e=>(0,r.jsx)("div",{children:e.component},e.type))})}),e7=({view:e,setView:a,isLoading:t,spinInitiated:s,interiorUrl:i,enableSpinCar:o,walkaroundVideoUrl:l,hotspots:n,showHotspots:c,setShowHotspots:d,isFullScreen:u,children:m})=>{let h,p=(h=[],o&&h.push({type:"spin",component:(0,r.jsxs)(e5,{onClick:()=>a("spinner"),isActive:"spinner"===e,children:[(0,r.jsx)(e0,{})," ",(0,r.jsx)("span",{className:"small ml-2",children:"Spin"})]})}),(o||l||i)&&h.push({type:"gallery",component:(0,r.jsxs)(e5,{onClick:()=>a("gallery"),isActive:"gallery"===e,children:[(0,r.jsx)(e2,{size:19})," ",(0,r.jsx)("span",{className:"small ml-2",children:"Gallery"})]})}),l&&h.push({type:"walkaround",component:(0,r.jsx)("div",{className:"ml-2",children:(0,r.jsxs)(e5,{onClick:()=>a("walkaround"),isActive:"walkaround"===e,children:[(0,r.jsx)(e4,{size:19})," ",(0,r.jsx)("span",{className:"small ml-2",children:"Walkaround"})]})})}),i&&h.push({type:"interior",component:(0,r.jsxs)(e5,{onClick:()=>a("interior"),isActive:"interior"===e,children:[(0,r.jsx)(e1,{size:14}),L.isFrizelleSunshineAutomotive?(0,r.jsx)("span",{className:"small ml-2",children:"3D Interior"}):(0,r.jsx)("span",{className:"small ml-2",children:"Interior"})]})}),h);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:(0,D.cn)("position-relative h-full px-3",u?"px-3":"px-md-0 px-3"),children:[u?(0,r.jsx)("div",{className:"position-relative overflow-hidden rounded",children:m}):m,!t&&p.length>0&&(0,r.jsx)(e6,{view:e,setView:a,interiorUrl:i,enableSpinCar:o,walkaroundVideoUrl:l,hotspots:n,showHotspots:c,setShowHotspots:d,isFullScreen:u}),!t&&p.length>0&&(0,r.jsx)(e9,{interfaceButtons:p}),!t&&!s&&"spinner"===e&&(0,r.jsx)("div",{className:"d-none d-md-block",children:(0,r.jsx)(eQ,{})}),t&&"spinner"===e&&(0,r.jsx)(eX,{})]})})},e8=({images:e,initialImageIndex:t=0,style:s,tabIndex:i=0,movementSensitivity:o=20,onIndexChange:l,autoRotate:n={disabled:!1},imgHeight:c,imgWidth:d,interiorUrl:u,hotspots:m,CarTag:h,galleryImages:p,car:f,isFullScreen:g=!1,walkaroundVideoUrl:x,...b})=>{let v=e&&e.length>0,{view:y,setView:j,isFullScreenOpen:_,setIsFullScreenOpen:w,activeImageIndex:C,setActiveImageIndex:N}=es(),[S,k]=(0,a.useState)(!1),{ref:A,isDragging:L,loadedImages:F,fullyLoaded:B,showHotspots:T,setShowHotspots:M}=(({initialImageIndex:e,activeImageIndex:r,setActiveImageIndex:t,movementSensitivity:s,autoRotate:i,images:o})=>{let[l,n]=(0,a.useState)([]),[c,d]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1),[h,p]=(0,a.useState)(!1),f=(0,a.useRef)(null),g=(0,a.useRef)(null),x=(0,a.useMemo)(()=>o.length===l.length,[o.length,l.length]);(0,a.useEffect)(()=>{let e=async()=>{try{let e=await Promise.all(o.map(e=>(0,D.loadImage)(e)));n(e)}catch(e){console.error("Error loading images:",e)}};o.length>0&&e()},[o]),(0,a.useEffect)(()=>{t(e)},[e]);let b=()=>{f.current&&(clearInterval(f.current),f.current=null)},v=()=>{b(),setTimeout(()=>m(!0),0)};return(0,a.useEffect)(()=>(i.disabled||f.current||!x||u||(f.current=setInterval(()=>{t(e=>{let r=e+1;return r>=o.length-1?(v(),o.length-1):r})},i.interval||100)),i.disabled&&b(),()=>b()),[i,u,x,o.length]),(0,a.useEffect)(()=>
1{if(x&&g.current&&o.length>0){let e=g.current,r=0,a=()=>{t(e=>e+1>=o.length?0:e+1)},i=()=>{t(e=>e-1<0?o.length-1:e-1)},l=e=>{"ArrowLeft"===e.key?(v(),a()):"ArrowRight"===e.key&&(v(),i())},n=e=>{let t=e.clientX-r;t>=s&&(r+=s,i()),t<=-s&&(r-=s,a())},c=()=>{d(!1),window.removeEventListener("pointermove",n),window.removeEventListener("pointerup",c)},u=e=>{2!=e.button&&(v(),d(!0),r=e.clientX,window.addEventListener("pointermove",n,{passive:!0}),window.addEventListener("pointerup",c,{passive:!0}))};return e.addEventListener("keydown",l,{capture:!0}),e.addEventListener("pointerdown",u,{capture:!0}),()=>{e&&(e.removeEventListener("keydown",l,{capture:!0}),e.removeEventListener("pointerdown",u,{capture:!0})),window.removeEventListener("pointerup",c),window.removeEventListener("pointermove",n)}}},[x,o.length,s]),(0,a.useEffect)(()=>{t(e)},[e]),{ref:g,activeImageIndex:r,setActiveImageIndex:t,isDragging:c,loadedImages:l,fullyLoaded:x,showHotspots:h,setShowHotspots:p}})({initialImageIndex:t,activeImageIndex:C,setActiveImageIndex:N,movementSensitivity:o,autoRotate:n,images:e||[]}),I={position:"relative",touchAction:"none",userSelect:"none",cursor:L?"grabbing":"grab",...s};return(0,a.useEffect)(()=>{l&&l(C)},[C,l]),(0,r.jsxs)(e7,{view:y,setView:j,isLoading:!B,spinInitiated:S,interiorUrl:u,enableSpinCar:v,walkaroundVideoUrl:x,hotspots:m,showHotspots:T,setShowHotspots:M,isFullScreen:g,children:[!g&&h,!g&&(0,r.jsx)(eY,{open:_,setOpen:w,carSpinnerProps:{images:e,initialImageIndex:C,style:s,tabIndex:i,movementSensitivity:o,onIndexChange:l,autoRotate:n,imgHeight:c,imgWidth:d,interiorUrl:u,hotspots:m,galleryImages:p,car:f,CarTag:h,walkaroundVideoUrl:x,...b}}),"interior"===y&&(0,r.jsx)(eV,{interiorUrl:u}),(0,r.jsx)("div",{className:(0,D.cn)("position-relative","gallery"!==y&&"d-none"),children:(0,r.jsx)(eD,{images:p,car:f})}),"walkaround"===y&&x&&(0,r.jsx)("div",{className:(0,D.cn)("position-relative","walkaround"!==y&&"d-none"),children:(0,r.jsx)("div",{className:"relative h-full w-full",style:{maxHeight:"692px"},children:(0,r.jsx)("video",{src:x,className:"h-100 w-100",style:{objectFit:"contain",maxHeight:"692px"},controls:!0,muted:!0,playsInline:!0,preload:"metadata"})})}),v&&(0,r.jsx)(eZ,{fullyLoaded:B,rootStyle:I,frameRef:A,view:y,images:e||[],imgWidth:d,imgHeight:c,activeImageIndex:C,tabIndex:i,loadedImages:F,setSpinInitiated:k,showHotspots:T,hotspots:m,...b})]})};var re=e.i(583470),rr=e.i(3773);let ra=[L.isNZWebsite],rt=({onClick:e,enabled:a})=>(0,r.jsx)(eb.default,{left:!0,inside:!0,className:a?"":"disabled",onClick:e,arrowClassName:"d-flex"}),rs=({onClick:e,enabled:a})=>(0,r.jsx)(eb.default,{right:!0,inside:!0,className:a?"":"disabled",onClick:e,arrowClassName:"d-flex"}),ri=({images:e,car:a,mainViewportRef:t,scrollPrev:s,prevBtnEnabled:i,scrollNext:o,nextBtnEnabled:l,toggle:n})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"w-100",ref:t,children:(0,r.jsx)("div",{className:"d-flex",onClick:n&&n,children:e.map((e,t)=>{if(e.isVideo)if(a.video_url.startsWith("https://www.youtube.com/embed/"))return(0,r.jsx)("div",{className:rr.default.EmblaSlide,children:(0,r.jsx)("iframe",{width:"100%",height:"100%",className:"border",src:a.video_url})},t);else{let e=a?.images?.[0]?.image?.url||a?.primary_image_url;return(0,r.jsx)("div",{className:rr.default.EmblaSlide,children:(0,r.jsx)("video",{src:a.video_url,poster:e,className:rr.default.Video,style:{objectFit:"contain"},loop:!0,controls:!0,muted:!0,playsInline:!0,preload:"none"})},t)}return e?.image?.url?(0,r.jsxs)("div",{className:rr.default.EmblaSlide,children:[(0,r.jsx)("div",{className:rr.default.imgContainer,children:(0,r.jsx)(U.default,{src:e.image.url,alt:a.name,className:"img-fluid",layout:"responsive",height:400,width:600,priority:t<2,unoptimized:!0,style:{transform:"scale(1.125)"}})}),L.isHuntermotiveUsedCars&&(0,r.jsx)("div",{className:(0,D.cn)("les_video",rr.default.lesVideo),les_vin:`${a.vin}`,onClick:e=>{e.stopPropagation()}})]},e+t):null})})}),Y.cars?.CustomSliderButtons?(0,r.jsx)(Y.cars.CustomSliderButtons,{prevOnClick:s,prevEnabled:i,nextOnClick:o,nextEnabled:l}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(rt,{onClick:s,enabled:i}),(0,r.jsx)(rs,{onClick:o,enabled:l})]})]}
1),ro=({inStock:e,images:a,car:t,selectedIndex:s,thumbViewportRef:i,onThumbClick:o,enableSpinCar:l=!1})=>l?null:(0,r.jsx)("div",{className:"order-lg-3 d-none d-lg-block order-2 col-12 mt-3 p-0",children:e&&a.length>3&&(0,r.jsx)("div",{className:"overflow-hidden",children:(0,r.jsx)("div",{className:rr.default.EmblaViewport,ref:i,children:(0,r.jsx)("div",{className:rr.default.EmblaContainer,children:a.map((e,a)=>(0,r.jsx)("div",{onClick:()=>o(a),className:rr.default.EmblaThumbSlide+(a===s?" opacity-1":` ${rr.default.cursorPointer}`),children:(0,r.jsx)(U.default,{src:e.image.thumb.url,className:"img-fluid",height:400,width:600,sizes:"200px",objectFit:"cover",alt:t.name,unoptimized:!0})},"second"+a))})})})}),rl=({className:e,car:s})=>{let[i,o]=(0,a.useState)(!1),[n,c]=(0,a.useState)(0),[d,u]=(0,J.default)({skipSnaps:!1,align:"start"}),[m,h]=(0,J.default)({containScroll:"keepSnaps",dragFree:!0}),p=(0,a.useCallback)(e=>{u&&h&&(h.canScrollNext()||h.canScrollPrev()||_.length<=5)&&u.scrollTo(e)},[u,h]),f=(0,a.useCallback)(()=>{!u||(u.scrollTo(u.selectedScrollSnap()),c(u.selectedScrollSnap()),x(u.canScrollPrev()),v(u.canScrollNext()),h&&h.scrollTo(u.selectedScrollSnap()))},[u,h,c]);(0,a.useEffect)(()=>{u&&(f(),u.on("select",()=>f()))},[u,f]);let[g,x]=(0,a.useState)(!1),[b,v]=(0,a.useState)(!1),y=(0,a.useCallback)(()=>{u&&u.scrollPrev()},[u]),j=(0,a.useCallback)(()=>{u&&u.scrollNext()},[u]),_=s.images;if(s.video_url&&_[0].image&&!ra.includes(!0)){let e,r=ee(_.length);_=[...(e=_).slice(0,r),{isVideo:!0,image:{thumb:{url:"/default_video_thumbnail.png"}}},...e.slice(r)]}let w="in_stock"===s.status,C=Y.cars?.SidebarComponent?Y.cars?.SidebarComponent:re.default;_.length<=1&&N.default.cars?.newArrivalImages&&(_=N.default.cars.newArrivalImages);let S=s?.spin_images?.length>0,k=ei(s),A=s?.spin_code&&s?.spin_interior_image?`https://td-orbit-3d.vercel.app?spin_code=${s.spin_code}`:void 0,F=S||void 0!==k||void 0!==A,B=S?"spinner":"gallery",T=t.default.impel&&!S,M=L.isTWGCars,I=(0,eS.checkConfigComponent)(["cars","SidebarButtons"]);return(0,r.jsxs)("div",{className:rr.default.noMargins+" row no-gutters overflow-hidden",children:[(0,r.jsx)("div",{className:(0,D.cn)("col-lg-7 order-lg-1 d-flex order-1 bg-white lg:border-2 lg:border-(--vdp-border-color)!",e,M?"sm:p-3":"p-3"),children:(0,r.jsxs)("div",{className:"position-relative h-100 w-100 cursor-pointer",children:[_.length>1&&F?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)(X.default,{car:s,isVDP:!0}),!T&&!F&&_.length>1&&(0,r.jsx)(eN,{images:_,car:s,open:i,setOpen:o,scrollPrev:y,scrollNext:j,selectedIndex:n,setSelectedIndex:c,originalEmbla:u,enableSpinCar:F}),(0,r.jsx)("div",{className:"position-relative grid h-full place-items-center overflow-hidden rounded-lg",children:_.length>1?F?(0,r.jsx)(et,{defaultView:B,children:(0,r.jsx)(e8,{images:s.spin_images,autoRotate:{disabled:!1},movementSensitivity:20,imgHeight:"400px",imgWidth:"600px",interiorUrl:A,hotspots:s.hotspots,galleryImages:_,car:s,CarTag:(0,r.jsx)(X.default,{car:s,isVDP:!0}),walkaroundVideoUrl:k})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ri,{images:_,car:s,mainViewportRef:d,scrollPrev:y,prevBtnEnabled:g,scrollNext:j,nextBtnEnabled:b,toggle:()=>{o(!i)}}),(0,r.jsx)(ro,{inStock:w,images:_,car:s,thumbViewportRef:m,onThumbClick:p,selectedIndex:n,enableSpinCar:F})]}):(0,r.jsx)(r.Fragment,{children:(0,ek.isDefaultCarImage)(_[0].image.url)?L.isTWGGroup?(0,r.jsx)("div",{className:"size-full overflow-hidden rounded-3xl border-1 border-solid border-(--primary-brightened)",children:(0,r.jsx)(Q.default,{className:"ml-0 size-full pl-0",car:s})}):(0,r.jsx)(Q.default,{car:s}):_[0]?.image?.url&&(0,r.jsx)("div",{className:"img-container",children:(0,r.jsx)("img",{src:_[0].image.url,alt:s.name,className:"img-fluid"})})})})]})}),(0,r.jsx)("div",{className:"col-lg-5 order-lg-2 order-3 m-0 pb-0",children:(0,r.jsx)(C,{title:(0,l.getCarTitle)(s),car:s,className:e,Buttons:I||ep,hasCarIcons:N.default.cars.hasCarIcons})})]})},rn=({car:e})=>{let a=e?.external_video_url??void 0;if(!a)return null;let{embedUrl:t}=(0,D.checkYoutubeEmbedUrl)(a),s=e?.images?.[0]?.image?.url||e?.primary_image_url;return t?(0,r.jsx)("iframe",{className:"border rounded mb-3",width:"100%",style:{aspectRatio:"16/9"},src:t}):(0,r.jsx)("video",{src:a,poster:s,className:"border rounded mb-3",style:{width:"100%",aspectRatio:"16 / 9",objectFit:"contain"}
1,loop:!0,controls:!0,muted:!0,playsInline:!0,preload:"none"})};e.s(["default",0,rn],800142),e.i(514010);var rc=e.i(425947),rd=e.i(953117),ru=e.i(981780),rm=e.i(913985),rh=e.i(732618);let rp=()=>{let[e,t]=(0,a.useState)(),[s,i]=(0,a.useState)(),[o,l]=(0,a.useState)(),[n,c]=(0,a.useState)(),[d,u]=(0,a.useState)(!1),m=async()=>{if(i(),c(),u(!0),null==e||""===e){c("Please enter a postcode."),u(!1);return}let r=await (0,rm.getDelivery)(e);r?(i(r.price),l(r.name)):c("Sorry, we can't provide an estimate for that location. Please use the enquiry form on this page or give us a call to get a quote."),u(!1)};return(0,r.jsxs)("div",{className:"d-flex flex-column h-100",children:[(0,r.jsx)("h5",{children:(0,r.jsx)("strong",{children:"Delivery Calculator"})}),(0,r.jsx)("div",{className:"border rounded p-4 mb-3 flex-grow-1",children:(0,r.jsx)(ru.default,{submitBtn:!1,children:(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"col-12",children:[(0,r.jsx)("span",{children:"We can deliver your car to anywhere in Australia. Use this calculator to get a quick and easy cost estimate."}),(0,r.jsx)("span",{className:"d-block mt-3 mb-2",children:"Please enter your postcode"})]}),(0,r.jsx)("div",{className:"col-12 col-lg-8 pr-lg-1",children:(0,r.jsx)(rd.default,{value:e,options:[],name:"Postcode",placeholder:"e.g. 4000",label:!1,required:!1,onChange:e=>{t(e.target.value)}})}),(0,r.jsx)("div",{className:"col-12 col-lg-4",children:(0,r.jsx)("button",{type:"button",onClick:m,className:"btn btn-primary btn-block",disabled:!!d,children:d?(0,r.jsx)("div",{className:"d-flex my-1 justify-content-center",style:{height:"fit-content"},children:(0,r.jsx)(rh.default,{})}):(0,r.jsx)(r.Fragment,{children:"Check"})})}),(0,r.jsx)("div",{className:"col-12",children:(0,r.jsxs)("span",{children:[n&&n,s&&(0,r.jsxs)("span",{children:["This delivery falls within the"," ",(0,r.jsx)("span",{className:"text-primary font-weight-bold",children:o})," region and will cost ",(0,r.jsxs)("span",{className:"text-primary font-weight-bold",children:["$",s]}),"."]})]})}),(0,r.jsx)("div",{className:"small pt-2 px-3",children:"*Delivery prices are a guide only and may vary depending on your location, size of the vehicle and factors that can affect transportation. Price to be confirmed at time of enquiry."})]})})})]})};e.s(["default",0,rp],532628);var rf=e.i(192548),rg=e.i(986967);let rx=({car:e})=>{let[t,s]=(0,a.useState)("1.70"),[i,o]=(0,a.useState)("250 kms"),l=(0,a.useMemo)(()=>e?.variant?.fuelconsumptioncombined?e?.variant?.fuelconsumptioncombined:10,[e?.variant?.fuelconsumptioncombined]),n=(0,a.useMemo)(()=>(Number(i.replace("kms","").replace(",",""))/100*l*Number(t.replace("$","").replace(",",""))).toFixed(2),[i,l,t]);return e.fuel?.toLowerCase().includes("electric")?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h5",{children:(0,r.jsx)("strong",{children:"Fuel Calculator"})}),(0,r.jsx)("div",{className:"border rounded p-4 mb-3",children:(0,r.jsx)(ru.default,{submitBtn:!1,showCaptcha:!1,children:(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col-12 col-lg-6 pr-lg-1",children:(0,r.jsx)(rf.default,{value:t,options:[],name:"Fuel Price",label:!0,onChange:e=>s(e.target.value)})}),(0,r.jsx)("div",{className:"col-12 col-lg-6 pl-lg-1",children:(0,r.jsx)(rg.default,{value:i,options:[],name:"Distance/Week",label:!0,onChange:e=>o(e.target.value)})}),(0,r.jsxs)("div",{className:"col-12",children:[(0,r.jsxs)("div",{className:"bg-primary px-3 py-3 rounded text-white font-weight-bold text-center mt-2 mb-3",style:{fontSize:"1.5rem"},children:["$",n," ",(0,r.jsx)("span",{className:"small",children:"per week*"})]}),(0,r.jsxs)("span",{className:"small",children:["*This price is calculated using a fuel price of $",t.replace("$","").replace(",",""),"/L, an average driving distance of"," ",i,"/week, and a fuel economy of ",l,"L/100km."]})]})]})})})]})};e.s(["default",0,rx],706864),e.i(164054);var rb=e.i(924061);e.i(503593);var rv=e.i(987301);let ry=({car:e,className:a})=>(0,r.jsxs)("div",{className:(0,D.cn)("row bg-white p-4 lg:border-2 lg:border-(--vdp-border-color)!",a),children:[(0,r.jsx)(E.ResponsiveH3,{className:"col-12 mb-3 text-center",children:"Finance Available For This Vehicle!"}),(0,r.jsx)("div",{className:"col-12 flex justify-center",children:(0,r.jsx)(I.default,{href:(0,l.carToTaurusFinanceParams)(e),className:"btn btn-lg btn-primary",children:(0,r.jsx)("span",{className:"font-weight-bold text-3xl",children:"Get Finance Now"})})})]});
1var rj=e.i(27730),r_=e.i(220463);let rw=L.isWestOrangeMotors||L.isWestOrangeMotorToyota||L.isGeelyOrange||L.isOrangeHino||L.isOrangeVolkswagen||L.isOrangeMitsubishi,rC={size:100,className:"mr-3",fill:"var(--vdp-why-buy-from-us-cta-background)"},rN=L.isBrightonAutoDealership||L.isTrinityAutoGroup||L.isSouthMorangGroup||L.isBlacklocksSuzuki||L.isGeelyWodonga,rS={title:L.isSouthMorangGroup?"5 Year Mechanical Warranty":rN?"5-Year Mechanical Protection ":"3-Year Mechanical Protection",icon:rN?(0,r.jsx)(r_.YearShield,{...rC}):(0,r.jsx)(r_.ThreeYearShield,{...rC})},rk=[...rw?[]:[rS],{title:"Tony White Quality Assured",icon:(0,r.jsx)(r_.Diamond,{...rC})},{title:"Personalised Finance",icon:(0,r.jsx)(r_.DollarIcon,{...rC})}],rA=({className:e,ctas:a=rk})=>{if(L.isCheapWholesaleCars)return(0,r.jsx)(r.Fragment,{});let s=2===a.length?"col-lg-6":"col-lg-4";return(0,r.jsxs)("div",{className:(0,D.cn)("row flex-sm-column flex-row bg-white p-4 lg:border-2 lg:border-(--vdp-border-color)!",e),children:[(0,r.jsxs)("h3",{className:"mb-4",children:["Why ",t.default.name,"?"]}),(0,r.jsx)("div",{className:"row px-sm-5 mx-0",children:a.map(({title:e,icon:a},t)=>(0,r.jsx)("div",{className:(0,D.cn)(s,"col-12"),children:(0,r.jsxs)("div",{className:"row align-items-center flex-nowrap px-3",children:[(0,r.jsx)("div",{children:a}),(0,r.jsx)("h5",{children:e})]})},t))})]})};e.s(["WhyBuyFromTWG",0,rA,"default",0,({car:e})=>{let a=[(()=>{switch(!0){case L.isKedronGWM&&"used"!==e.car_type:return"7 year unlimited klm warranty, 5 year roadside assist";case L.isByrneFord&&"used"!==e.car_type:return"5 year unlimited klm warranty, up to 7 years roadside assist";default:return"3 Year Warranty Standard"}})(),"Easy Finance","Servicing Brisbane for 50+ Years"];return(0,r.jsxs)("div",{className:"mb-3 border p-4 text-white",style:{borderColor:"var(--primary-brightened) !important",borderRadius:"25px"},children:[(0,r.jsx)("h3",{className:"mb-4",style:{color:"var(--vdp-why-buy-from-us-heading-color)"},children:"Why Buy From Us?"}),(0,r.jsx)("div",{className:"row",children:a.map((e,a)=>(0,r.jsx)("div",{className:"col-sm-12 col-lg-12",children:(0,r.jsxs)("h5",{className:"mt-2",style:{color:"var(--vdp-why-buy-from-us-text-color)"},children:[(0,r.jsx)(rj.PiCheckCircle,{size:50,className:"mr-3",color:"var(--primary)"}),e]})},a))})]})}],752321);var rL=e.i(920269),rF=e.i(589889),rB=e.i(969570),rT=e.i(770489),rM=e.i(18712),rI=e.i(141974);e.i(947058);var rE=e.i(286346),rG=e.i(670442),rP=e.i(973909);let rz="appearance-none rounded-md border border-gray-200 bg-white px-3.5 py-3 text-sm outline-none focus:border-blue-600 focus:ring-2 focus:ring-blue-600/20",rW=`${rz} pl-7`,rR="font-semibold text-slate-900 mb-1.5 text-sm",rV=({register:e})=>(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:[(0,r.jsxs)("div",{className:"mb-3.5 flex flex-col",children:[(0,r.jsxs)("label",{htmlFor:"firstName",className:rR,children:["First Name",(0,r.jsx)("span",{className:"ml-0.5 text-blue-600",children:"*"})]}),(0,r.jsx)("input",{id:"firstName",type:"text",placeholder:"First Name",required:!0,className:rz,...e("firstName",{required:!0})})]}),(0,r.jsxs)("div",{className:"mb-3.5 flex flex-col",children:[(0,r.jsxs)("label",{htmlFor:"lastName",className:rR,children:["Last Name",(0,r.jsx)("span",{className:"ml-0.5 text-blue-600",children:"*"})]}),(0,r.jsx)("input",{id:"lastName",type:"text",placeholder:"Last Name",required:!0,className:rz,...e("lastName",{required:!0})})]})]}),rD=()=>(0,r.jsxs)("div",{className:"mb-3.5 flex flex-col",children:[(0,r.jsxs)("label",{htmlFor:"email",className:rR,children:["Email",(0,r.jsx)("span",{className:"ml-0.5 text-blue-600",children:"*"})]}),(0,r.jsx)(rE.EmailInput,{name:"email",label:!1,placeholder:"Email",required:!0,customWrapperClassName:"w-full",customClassName:rz})]}),rO=()=>(0,r.jsxs)("div",{className:"mb-3.5 flex flex-col",children:[(0,r.jsxs)("label",{htmlFor:"mobile",className:rR,children:["Mobile",(0,r.jsx)("span",{className:"ml-0.5 text-blue-600",children:"*"})]}),(0,r.jsx)(rG.PhoneInput,{name:"mobile",label:!1,placeholder:"Mobile",required:!0,customWrapperClassName:"w-full",customClassName:rz})]}),r$=({locationSlugs:e,showCityName:s})=>{let i=(0,a.useMemo)(()=>(t.default.locations??[]).filter(r=>r.slug&&e.includes(r.slug)),[e]);return(0,r.jsxs)("div",{className:"mb-3.5 flex flex-col",children:[(0,r.jsxs)("label",{htmlFor:"location_id",className:rR,
1children:["Location",(0,r.jsx)("span",{className:"ml-0.5 text-blue-600",children:"*"})]}),(0,r.jsx)(rP.default,{placeholder:"Please select a location...",label:!1,required:!0,showCityName:s,hardcodedLocations:i})]})},rH=({register:e})=>(0,r.jsxs)("div",{className:"mb-3.5 flex flex-col",children:[(0,r.jsx)("label",{htmlFor:"purchasePrice",className:rR,children:"What's the purchase price?"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("span",{className:"absolute top-1/2 left-3 -translate-y-1/2 text-gray-500",children:"$"}),(0,r.jsx)("input",{id:"purchasePrice",type:"number",min:"0",step:"any",placeholder:"0",className:rW,...e("purchasePrice",{min:0,setValueAs:e=>""===e||null==e?void 0:Number(e)})})]})]}),rq=({register:e,loanYears:a,sliderBg:t})=>(0,r.jsxs)("div",{className:"mb-3.5 flex flex-col",children:[(0,r.jsx)("label",{htmlFor:"loanTerm",className:rR,children:"What's your preferred loan term?"}),(0,r.jsx)("div",{className:"mb-2 flex justify-center",children:(0,r.jsxs)("span",{className:"text-xl leading-tight font-extrabold text-slate-900",children:[a," years"]})}),(0,r.jsx)("input",{id:"loanTerm",type:"range",min:1,max:7,"aria-label":"Preferred loan term in years",className:"block w-full max-w-full min-w-0 h-1.5 mb-3 rounded-full cursor-pointer accent-slate-900 focus:outline-none focus:ring-2 focus:ring-blue-600/20",style:{background:t},...e("loanYears",{valueAsNumber:!0,min:1,max:7})})]}),rU=({text:e,isTWGGroup:a,expandedDisclaimer:t,onToggleExpanded:s})=>(0,r.jsxs)("div",{className:"mt-4 border-t border-gray-200 pt-4",children:[(0,r.jsx)("p",{className:"small text-muted m-0 text-center",children:e}),a&&(0,r.jsx)("div",{className:"mt-3 flex w-full justify-center",children:(0,r.jsxs)("button",{className:"btn btn-lg btn-outline-dark px-5",onClick:e=>{e.preventDefault(),s()},children:["Show ",t?"Less":"More"]})})]}),rZ=({label:e,isSubmitting:a,className:t})=>(0,r.jsx)("button",{type:"submit",className:t,disabled:a,children:a?"Submitting...":e}),rK=({variant:e="finance",car:s,locationSlugs:i=["twg-cars-bundamba","twg-cars-geebung"],showCityName:o=!0})=>{let l="vdp"===e,n=(0,rB.useClientsideRouter)(),c=(0,rL.useForm)({defaultValues:{firstName:"",lastName:"",email:"",mobile:"",additional:"",purchasePrice:s?.price??void 0,loanYears:5,location_id:s?.location_id??s?.location?.id??"",dealership_slug:s?.dealership_slug??""}}),{register:d}=c,{isSubmitting:u}=c.formState,m=(0,rL.useWatch)({control:c.control,name:"loanYears",defaultValue:5}),[h,p]=(0,a.useState)(!L.isTWGGroup),f=`linear-gradient(#0f172a, #0f172a) 0 / ${(m-1)/6*100}% 100% no-repeat, #9ca3af`,g=l?"btn btn-success !px-8 !py-4":"btn btn-warning !px-8 !py-4",x=(0,a.useMemo)(()=>{let e;return(e=t.default?.finance_provider?.toLowerCase?.())&&s?s?.finance_lenders?.[e]?.disclaimer:void 0},[s]),b=(0,a.useMemo)(()=>L.isTWGGroup?x??rF.FinanceCalculatorDisclaimer:rF.FinanceCalculatorDisclaimer,[x]),v=(0,a.useMemo)(()=>(0,rI.truncateString)(String(b??""),197),[b]),y=async e=>{if(!e)return;let r={category:"Finance Enquiry",subcategory:"Finance (Simplified)",lead_status:"Complete",send_customer_email:!0,first_name:e.firstName,last_name:e.lastName,email:e.email,phone:e.mobile,message:function({additional:e,purchasePrice:r,loanYears:a}){let t=[];return e.trim()&&t.push(e.trim()),"number"==typeof r&&Number.isFinite(r)&&t.push(`Purchase price: $${r}`),a&&t.push(`Preferred loan term: ${a} years`),t.join("\n")}({additional:e.additional||"",purchasePrice:e.purchasePrice,loanYears:e.loanYears})};e.location_id&&(r.location_id=e.location_id),e.dealership_slug&&(r.dealership_slug=e.dealership_slug),l&&(e.enable_altcha&&(r.enable_altcha=e.enable_altcha),e.altcha_token&&(r.altcha_token=e.altcha_token),e.enable_recaptcha&&(r.enable_recaptcha=e.enable_recaptcha),e.recaptcha_value&&(r.recaptcha_value=e.recaptcha_value)),await (0,rM.handleDataSubmission)({userData:r,isLastStep:!0,router:n})};return(0,r.jsx)(rL.FormProvider,{...c,children:(0,r.jsx)("form",{className:(0,D.cn)("mb-6 block",l&&"row"),onSubmit:c.handleSubmit(y),children:l?(0,r.jsxs)("div",{id:"finance-calculator",className:"w-full scroll-mt-24 rounded-xl bg-white p-4",children:[(0,r.jsx)("h3",{className:"mb-3 text-xl font-extrabold text-slate-900",children:"Finance Calculator"}),(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-2",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"mb-3 text-sm text-gray-500",children:"Required fields*"}),(0,r.jsx)(rV,{register:d}),(0,r.jsx)(rD,{}),(0,r.jsx)(rO,{}),(0,r.jsx)("div",{className:"mb-4",children:(0,r.jsx)(rT.CaptchaInput,{})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(rH,{register:d}),(0,r.jsx)(rq,{register:d,loanYears:m,sliderBg:f})]})]}),(0,r.jsx)(rZ,{label:"Get Finance Now",isSubmitting:u,className:g}),(0,r.jsx)(rU,{text:L.isTWGGroup?h?String(b??""):v:rF.FinanceCalculatorDisclaimer,isTWGGroup:L.isTWGGroup,expandedDisclaimer:h,onToggleExpanded:()=>p(e=>!e)})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(rV,{register:d}),(0,r.jsx)(rD,{}),(0,r.jsx)(rO,{}),(0,r.jsx)(r$,{locationSlugs:i,showCityName:o}),(0,r.jsx)(rH,{register:d}),(0,r.jsx)(rq,{register:d,loanYears:m,sliderBg:f}),(0,r.jsx)(rZ,{label:"Get Finance",isSubmitting:u,className:g})]})})})};var rY=e.i(880447),rJ=e.i(918841),rX=e.i(802462),rQ=e.i(701587),r0=e.i(708038);let r1=({car:e,className:a,showFinanceCalculatorBlock:s})=>t.default.finance_provider&&Number((0,m.weeklyPayment)(e)??0)>0&&s&&!L.isTWGCars?(0,r.jsx)(C.ToyotaEquoteLegacyFinanceGate,{children:(0,r.jsx)("div",{className:(0,D.cn)("row bg-white p-4 lg:border-2 lg:border-(--vdp-border-color)!",a,r0.default.FinanceCalculator),id:"finance-calculator",children:(0,r.jsxs)("div",{className:"col-12",children:[(0,r.jsx)("div",{className:"d-block d-lg-none",children:(0,r.jsx)(rJ.default,{disclaimer:L.isToyota?rX.default:(0,m.financeLender)(e)?.disclaimer,defaultValue:void 0,car:e,financeButtonText:"Request a Quote"})}),(0,r.jsx)("div",{className:"d-none d-lg-block",children:(0,r.jsx)(rQ.default,{car:e})})]})})}):null,r2=({className:e,car:a,children:s})=>{let i=N.default,o=!(0,l.isCarToyota)(a)||L.allowManualFinanceForToyotaVehicles,n=(0,rY.getSpecs)(a,"featured");return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"col",children:[(0,r.jsx)("div",{className:(0,D.cn)("row bg-white px-4 pt-2 lg:border-2 lg:border-(--vdp-border-color)!",e),children:(0,r.jsx)("div",{className:"col-12 pb-0",children:(0,r.jsx)(rb.default,{specs:n,featured:!0,showMore:!0,heading:"Key information",style:L.isTWGGroup?{borderColor:"var(--primary-brightened) !important",borderRadius:"25px"}:void 0})})}),"used"===a.car_type&&(0,r.jsx)(rA,{className:e}),s,a.external_video_url&&(0,r.jsxs)("div",{className:"mb-3",children:[(0,r.jsx)("h3",{children:(0,r.jsx)("strong",{children:"Video"})}),(0,r.jsx)(rn,{car:a})]}),i.cars.showRedbookDealerComments&&(0,r.jsx)("div",{className:(0,D.cn)("row pt-lg-4 pb-lg-4 bg-white px-4 pb-0 lg:border-2 lg:border-(--vdp-border-color)!",e),children:(0,r.jsx)("div",{className:"col-12 overflow-hidden pb-0",children:(0,r.jsx)("div",{className:(0,D.cn)(L.isTWGGroup&&"px-4 pt-4"),children:(0,r.jsx)(rc.default,{car:a,title:i.cars.dealerCommentsTitle})})})}),(i.cars.fuelCalculator||i.cars.deliveryCalculator)&&(0,r.jsxs)("div",{className:(0,D.cn)("row bg-white px-4 pt-4 pb-0 lg:border-2 lg:border-(--vdp-border-color)!",e),children:[i.cars.fuelCalculator&&(0,r.jsx)("div",{className:i.cars.deliveryCalculator?"col-md-6 col-12":"col-12",children:(0,r.jsx)(rx,{car:a})}),(0,r.jsx)("div",{className:"col-md-6 col-12",children:i.cars.deliveryCalculator&&(0,r.jsx)(rp,{})})]}),!!a.standardEquipment?.length&&(0,r.jsx)("div",{className:(0,D.cn)("row bg-white p-4 lg:border-2 lg:border-(--vdp-border-color)!",e),children:(0,r.jsx)("div",{className:"col-12",children:(0,r.jsx)(rv.default,{heading:"All Specifications",hideBtnText:"Hide Specs",btnClassName:"btn btn-lg btn-outline-dark px-5 justify-content-center",showBtnText:"Show All Specs",detailType:"standard-equipment",detailList:a.standardEquipment,specs:(0,rY.getSpecs)(a,"specifications"),cols:"col-12 col-md-4",limit:4})})}),(0,r.jsx)(C.ToyotaEquoteLegacyFinanceGate,{children:t.default.finance_provider&&L.isTWGCars?(0,r.jsx)(rK,{variant:"vdp",car:a}):null}),(0,r.jsx)(C.ToyotaEquoteLegacyFinanceGate,{children:t.default.finance_provider&&L.isBrightonAutoFinanceUpdates?(0,r.jsx)(ry,{car:a,className:e}):null}),(0,r.jsx)(r1,{car:a,className:e,showFinanceCalculatorBlock:o}),i.cars.moveFinanceCTAHigher&&(0,m.eligibleForFinance)(a)?(0,r.jsx)(h.RepaymentsCta,{car:a}):null]})})};var r4=e.i(606144);let r3=({simpleFormHandler:e,title:a})=>(0,r.jsx)("div",{className:"bg-[#1b5cfa] p-4 text-white",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"row flex-column flex-md-row align-items-center justify-content-center",children:[(0,r.jsx)("div",{className:"text-md-left col-auto text-center",children:(0,r.jsx)("h2",{className:"mb-md-0 mb-3",children:a})}),(0,r.jsx)("div",{className:"col-auto",children:(0,r.jsx)("button",{className:"btn btn-primary text-primary font-weight-bold px-4",style:{backgroundColor:"#FFC400",borderColor:"#FFC400"},onClick:e,children:"GET FINANCE"})})]})})}),r6=({setShowSimpleForm:e,car:t})=>{let s=(0,rB.useClientsideRouter)(),[i,o]=(0,a.useState)(!1),l={car_id:t.id?String(t.id):"",make:t.make||"",model:t.model||"",year:t.year?String(t.year):"",vin:t.vin||"",dealership_slug:t.dealership_slug||""},n=async e=>{if(i)return;o(!0);let r={...e,...l,first_name:e.first_name||"",last_name:e.last_name||"",email:e.email||"",phone:e.phone||"",category:"Finance Enquiry",lead_status:"Complete",send_customer_email:!0},a=await (0,rM.handleDataSubmission)({userData:r,isLastStep:!0,router:s});a?.lead_id?s.push("/success"):a?.error&&o(!1)};return(0,r.jsx)("div",{className:"position-fixed d-flex align-items-center justify-content-center start-0 top-0 h-100 w-100",style:{zIndex:9999,backgroundColor:"rgba(0, 0, 0, 0.5)"},onClick:()=>e(!1),children:(0,r.jsx)("div",{className:"position-relative d-flex flex-column justify-content-between p-md-5 p-3",style:{width:"800px",maxWidth:"90%",borderRadius:"20px",background:"linear-gradient(to right, #3D5DF9, #3140D4)",border:"2px s
1olid #FFFFFF"},onClick:e=>e.stopPropagation(),children:(0,r.jsx)("div",{className:"w-100",children:(0,r.jsxs)("div",{className:"card",style:{background:"transparent",border:"none"},children:[(0,r.jsxs)("div",{className:"card-header d-flex justify-content-between",children:[(0,r.jsx)("button",{className:"position-absolute d-none d-md-block",style:{top:"10px",right:"10px",border:"none",background:"transparent",fontSize:"16px",cursor:"pointer",zIndex:1},onClick:()=>e(!1),children:(0,r.jsx)("span",{className:"text-white",children:"close Ã"})}),(0,r.jsx)("div",{className:"mb-4 text-center",children:(0,r.jsx)("h2",{className:"p-md-4 mb-0 p-2 text-white",style:{fontSize:"clamp(1.5rem, 5vw, 3rem)"},children:"NEED EASY FINANCE ON THIS CAR?"})})]}),(0,r.jsx)("div",{className:"card-body",children:(0,r.jsxs)(r4.Form,{onSubmit:n,children:[(0,r.jsx)(()=>{let{register:e}=(0,rL.useFormContext)();return(0,r.jsxs)("div",{className:"d-flex flex-column gap-3",children:[(0,r.jsxs)("div",{className:"d-flex justify-content-center flex-row gap-3",children:[(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)("input",{type:"text",...e("first_name"),className:"form-control",placeholder:"First Name",required:!0})}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)("input",{type:"text",...e("last_name"),className:"form-control",placeholder:"Last Name",required:!0})})]}),(0,r.jsxs)("div",{className:"d-flex justify-content-center flex-row gap-3",children:[(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)("input",{type:"tel",...e("phone"),className:"form-control",placeholder:"Phone Number",required:!0})}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)("input",{type:"email",...e("email"),className:"form-control",placeholder:"Email Address",required:!0})})]})]})},{}),(0,r.jsxs)("div",{className:"d-flex flex-column justify-content-center align-items-center",children:[(0,r.jsx)("button",{type:"submit",className:"btn btn-primary font-weight-bold text-primary px-md-4 py-md-3 mt-4 px-3 py-2",style:{backgroundColor:"#FFC401",borderColor:"#FFC401",fontSize:"clamp(14px, 2vw, 18px)",width:"100%",maxWidth:"300px"},disabled:i,children:i?"Submitting...":"GET FINANCE"}),(0,r.jsx)("button",{className:"p-md-4 p-4 text-white",style:{backgroundColor:"transparent",border:"none",textDecoration:"underline"},onClick:()=>e(!1),children:"NO THANKS"})]})]})})]})})})})};var r5=e.i(890017),r9=e.i(934777),r7=e.i(775114),r8=e.i(834076);let ae=e=>e>.5?4*Math.pow(e-1,3)+1:4*Math.pow(e,3),ar=({fill:e,stokeWidth:a=45,animate:t})=>{let s=515-(e<20?20:e)/100*515+5;return(0,r.jsxs)("svg",{viewBox:"0 0 300 300",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("defs",{children:(0,r.jsx)("mask",{id:"mask",children:(0,r.jsx)("circle",{id:"m1",cx:"125",cy:"75",r:"90",fill:"transparent",strokeDasharray:515,strokeLinecap:"round",strokeWidth:a,strokeDashoffset:s,stroke:"white",transform:"rotate(90, 100, 100)",children:t&&(0,r.jsx)("animate",{attributeName:"stroke-dashoffset",from:515,to:s,dur:"3s",fill:"freeze",begin:"0s",calcMode:"spline",keyTimes:"0;0.22;0.33;0.55;0.66;0.88;1",keySplines:"0.1 0.8 0.2 1;0.1 0.8 0.2 1;0.1 0.8 0.2 1;0.1 0.8 0.2 1;0.1 0.8 0.2 1;0.1 0.8 0.2 1"})})})}),(0,r.jsx)("circle",{cx:"75",cy:"75",r:"90",fill:"transparent",strokeLinecap:"round",strokeWidth:a,stroke:"#cdcdcd",transform:"rotate(180, 100, 100)"}),(0,r.jsx)("foreignObject",{x:"0",y:"0",width:"250",height:"250",mask:"url(#mask)",children:(0,r.jsx)("div",{className:"ConicalGradient w-100 h-100"})})]})};e.s(["CircleGauge",0,ar,"default",0,({fill:e})=>(0,r.jsxs)("svg",{viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{maxHeight:"200px"},children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"horizontal-gauge",x1:"1",y1:"1",x2:"0",y2:"0",children:[(0,r.jsx)("stop",{offset:"0.15",stopColor:"rgb(255, 122, 0)"}),(0,r.jsx)("stop",{offset:"0.35",stopColor:"rgb(138,165,62)"}),(0,r.jsx)("stop",{offset:"0.7",stopColor:"rgb(0, 199, 91)"})]})}),(0,r.jsx)("circle",{cx:"100",cy:"100",r:"90",fill:"transparent",strokeDasharray:"424.115 565.487",strokeLinecap:"round",strokeWidth:"15",transform:"rotate(135, 100, 100)",stroke:"#cdcdcd"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M179.997 100.702L175.73 100.665L170.397 100.
1619C170.399 100.413 170.4 100.207 170.4 100C170.4 99.7935 170.399 99.5871 170.397 99.381L175.73 99.3352L179.997 99.2986C179.999 99.5322 180 99.766 180 100C180 100.234 179.999 100.468 179.997 100.702ZM169.641 60.5996L165.929 62.704L161.29 65.3345C161.088 64.9782 160.883 64.6237 160.674 64.2712L165.267 61.56L168.942 59.3911C169.178 59.7917 169.411 60.1946 169.641 60.5996ZM140.609 31.0585L138.44 34.7328L135.729 39.3256C135.376 39.1175 135.022 38.9124 134.666 38.7104L137.296 34.0709L139.4 30.3593C139.755 30.5602 140.108 30.7638 140.459 30.97L140.609 31.0585ZM100.702 20.0031L100.665 24.2696L100.619 29.6027C100.413 29.601 100.207 29.6001 100 29.6001C99.7934 29.6001 99.5871 29.601 99.3809 29.6027L99.3351 24.2696L99.2985 20.0031C99.5321 20.0011 99.7659 20.0001 100 20.0001C100.234 20.0001 100.468 20.0011 100.702 20.0031ZM60.5995 30.3593L62.7039 34.0709L65.3345 38.7104C64.9781 38.9124 64.6236 39.1175 64.2711 39.3256L61.56 34.7328L59.391 31.0585L59.3911 31.0585C59.7666 30.8368 60.1441 30.6181 60.5236 30.4024L60.5995 30.3593ZM34.7327 61.5601L39.3255 64.2712C39.1174 64.6237 38.9123 64.9782 38.7103 65.3345L34.0708 62.704L30.3592 60.5996C30.5602 60.2452 30.7637 59.8925 30.9699 59.5414L31.0584 59.3911L34.7327 61.5601ZM20.003 99.2986C20.001 99.5322 20 99.766 20 100C20 100.234 20.001 100.468 20.003 100.702L24.2695 100.665L29.6027 100.619C29.6009 100.413 29.6 100.207 29.6 100C29.6 99.7935 29.6009 99.5871 29.6027 99.381L24.2695 99.3352L20.003 99.2986ZM30.3592 139.401L34.0708 137.296L38.7103 134.666C38.9123 135.022 39.1174 135.376 39.3255 135.729L34.7327 138.44L31.0584 140.609C30.822 140.208 30.5889 139.806 30.3592 139.401ZM165.267 138.44L160.674 135.729C160.883 135.376 161.088 135.022 161.29 134.666L165.929 137.296L169.641 139.401C169.44 139.755 169.236 140.108 169.03 140.459L168.942 140.609L165.267 138.44ZM179.637 92.3287L175.389 92.7328C175.348 92.293 175.302 91.8544 175.253 91.4168L179.493 90.9389C179.545 91.401 179.593 91.8643 179.637 92.3287ZM178.409 84.0459L174.227 84.8922C174.139 84.4592 174.048 84.0274 173.953 83.5971L178.119 82.6774C178.22 83.1321 178.316 83.5883 178.409 84.0459ZM176.318 75.9363L172.248 77.2182C172.115 76.7971 171.979 76.3777 171.839 75.9598L175.886 74.6064C176.033 75.048 176.177 75.4913 176.318 75.9363ZM173.383 68.0917C173.197 67.6644 173.008 67.2391 172.814 66.8158L168.933 68.5876C169.116 68.9882 169.295 69.3907 169.471 69.795L173.383 68.0917ZM165.135 53.5408L161.663 56.0214C161.407 55.6628 161.148 55.3066 160.885 54.9527L164.313 52.4121C164.59 52.7859 164.864 53.1621 165.135 53.5408ZM159.917 46.9902L156.723 49.8185C156.431 49.4885 156.136 49.161 155.838 48.8362L158.983 45.9528C159.297 46.2959 159.609 46.6417 159.917 46.9902ZM154.047 41.0172L151.164 44.1622C150.839 43.8644 150.512 43.5694 150.182 43.2772L153.01 40.0826C153.358 40.3912 153.704 40.7027 154.047 41.0172ZM147.588 35.6868L145.047 39.1146C144.694 38.8523 144.337 38.593 143.979 38.3368L146.459 34.8653C146.838 35.1359 147.214 35.4098 147.588 35.6868ZM133.184 27.1857L131.413 31.0671C131.012 30.8843 130.609 30.7048 130.205 30.5287L131.908 26.6168C132.336 26.8028 132.761 26.9925 133.184 27.1857ZM125.394 24.1144L124.04 28.1607C123.622 28.0209 123.203 27.8847 122.782 27.7521L124.064 23.6826C124.509 23.8227 124.952 23.9667 125.394 24.1144ZM117.323 21.8806L116.403 26.0469C115.973 25.9519 115.541 25.8606 115.108 25.773L115.954 21.5911C116.412 21.6837 116.868 21.7802 117.323 21.8806ZM109.061 20.5076L108.583 24.7474C108.146 24.6981 107.707 24.6525 107.267 24.6106L107.671 20.3631C108.136 20.4073 108.599 20.4555 109.061 20.5076ZM92.3287 20.3631L92.7328 24.6106C92.293 24.6525 91.8543 24.6981 91.4168 24.7474L90.9388 20.5076C91.4009 20.4555 91.8642 20.4073 92.3287 20.3631ZM84.0458 21.5911L84.8921 25.773C84.4591 25.8606 84.0274 25.9519 83.597 26.0469L82.6773 21.8806C83.132 21.7802 83.5882 21.6837 84.0458 21.5911ZM75.9362 23.6826L77.2181 27.7521C76.7971 27.8847 76.3776 28.021 75.9597 28.1607L74.6063 24.1144C75.0479 23.9667 75.4912 23.8227 75.9362 23.6826ZM68.0916 26.6168L69.7949 30.5287C69.3906 30.7048 68.9881 30.8843 68.5875 31.0672L66.8157 27.1857C67.239 26.9925 67.6644 26.8029 68.0916 26.6168ZM53.5407 34.8654L56.0213 38.3368C55.6627 38.5931 55.3065 38.8523 54.9526 39.1146L52.412 35.6868C52.7858 35.4098 53.162 35.136 53.5407 34.8654ZM46.9901 40.0827L49.8184 43.2772C49.4884 43.5694 49.161 43.8644 48.8361 44.1622L45.9528 41.0173C46.2958 40.7028 46.6416 40.3912 46.9901 40.0827ZM41.0172 45.9529L44.1621 48.8362C43.8643 49.1611 43.5693 49.4885 43.2771 49.8185L40.0826 46.9902C40.3911 46.6417 40.7027 46.2959 41.0172 45.9529ZM35.6867 52.4121L39.1145 54.9527C38.8522 55.3066 38.593 55.6628 38.3368 56.0214L34.8653 53.5408C35.1359 53.1621 35.4097 52.7859 35.6867 52.4121ZM27.1857 66.8158L31.0671 68.5876C30.8842 68.9882 30.7047 69.3907 3
10.5287 69.795L26.6167 68.0917C26.8028 67.6644 26.9924 67.2391 27.1857 66.8158ZM24.1143 74.6064L28.1606 75.9598C28.0209 76.3777 27.8847 76.7972 27.752 77.2182L23.6825 75.9363C23.8227 75.4913 23.9666 75.048 24.1143 74.6064ZM21.8805 82.6774L26.0469 83.5971C25.9519 84.0275 25.8605 84.4592 25.7729 84.8922L21.591 84.0459C21.6836 83.5883 21.7801 83.1321 21.8805 82.6774ZM20.5075 90.9389L24.7473 91.4168C24.698 91.8544 24.6524 92.293 24.6105 92.7328L20.3631 92.3288C20.4072 91.8643 20.4554 91.401 20.5075 90.9389ZM20.3631 107.671L24.6105 107.267C24.6524 107.707 24.698 108.146 24.7473 108.583L20.5075 109.061C20.4554 108.599 20.4072 108.136 20.3631 107.671ZM21.591 115.954L25.7729 115.108C25.8605 115.541 25.9519 115.973 26.0469 116.403L21.8805 117.323C21.7801 116.868 21.6836 116.412 21.591 115.954ZM23.6825 124.064L27.752 122.782C27.8847 123.203 28.0209 123.622 28.1606 124.04L24.1143 125.394C23.9666 124.952 23.8227 124.509 23.6825 124.064ZM26.6167 131.908L30.5287 130.205C30.7047 130.609 30.8842 131.012 31.0671 131.413L27.1857 133.184C26.9924 132.761 26.8028 132.336 26.6167 131.908ZM34.8653 146.459L38.3368 143.979C38.593 144.337 38.8522 144.694 39.1145 145.047L35.6867 147.588C35.4097 147.214 35.1359 146.838 34.8653 146.459ZM164.313 147.588L160.885 145.047C161.148 144.694 161.407 144.337 161.663 143.979L165.135 146.459C164.864 146.838 164.59 147.214 164.313 147.588ZM172.814 133.184L168.933 131.413C169.116 131.012 169.295 130.609 169.471 130.205L173.383 131.908C173.197 132.336 173.008 132.761 172.814 133.184ZM175.886 125.394L171.839 124.04C171.979 123.622 172.115 123.203 172.248 122.782L176.318 124.064C176.177 124.509 176.033 124.952 175.886 125.394ZM178.119 117.323L173.953 116.403C174.048 115.973 174.139 115.541 174.227 115.108L178.409 115.954C178.316 116.412 178.22 116.868 178.119 117.323ZM179.493 109.061L175.253 108.583C175.302 108.146 175.348 107.707 175.389 107.267L179.637 107.671C179.593 108.136 179.545 108.599 179.493 109.061ZM156.64 149L159.835 151.828C159.526 152.177 159.215 152.523 158.9 152.866L155.755 149.982C156.053 149.658 156.348 149.33 156.64 149ZM44.0796 149.982L40.9346 152.866C40.6201 152.523 40.3086 152.177 40 151.828L43.1945 149C43.4867 149.33 43.7817 149.658 44.0796 149.982Z",fill:"#d0d9dc"}),(0,r.jsx)("circle",{cx:"100",cy:"100",r:"90",fill:"transparent",stroke:"url(#horizontal-gauge)",strokeDasharray:"424.115 565.487",strokeDashoffset:424.115-e/100*424.115+5,strokeLinecap:"round",strokeWidth:"15",transform:"rotate(135, 100, 100)"}),(0,r.jsx)("circle",{cx:"100",cy:"100",r:"16",fill:"rgb(0, 0, 0)"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M99.603 35C98.525 35 97.629 35.83 97.546 36.905L92.616 100.988C92.284 105.31 95.701 109 100.036 109C104.41 109 107.84 105.245 107.446 100.889L101.657 36.877C101.561 35.814 100.67 35 99.603 35ZM100.015 104C102.224 104 104.011 102.209 104.007 100C104.003 97.791 102.209 96 100 96C97.791 96 96.003 97.791 96.007 100C96.011 102.209 97.805 104 100.015 104Z",transform:`rotate(${-145+e/100*290}, 100, 100)`,fill:"#4B4B4B"})]})],559750);var aa=e.i(307032),at=e.i(997746);let as=({className:e})=>(0,r.jsxs)("div",{className:(0,D.cn)("row d-flex align-items-center position-relative relative bg-white p-4",e),children:[(0,r.jsx)("div",{className:"col-12 col-sm-6 text-md-left text-center",children:(0,r.jsx)(aa.Skeleton,{className:"mx-md-0 mx-auto h-8 w-60"})}),(0,r.jsx)("div",{className:"col-12 col-sm-6 d-flex justify-content-md-end justify-content-center align-items-center px-0",children:(0,r.jsx)(aa.Skeleton,{className:"mx-md-0 mx-auto h-8 w-60"})}),(0,r.jsxs)("div",{className:"d-flex flex-column flex-sm-row justify-content-center my-5 w-100 p-0 pt-5",children:[(0,r.jsx)("div",{className:"col-12 col-sm-6 col-md-6 col-lg-4 order-0 p-0 text-center",children:(0,r.jsx)(aa.Skeleton,{className:"mb-md-0 mx-auto mb-4 h-80 w-80 !rounded-full"})}),(0,r.jsx)("div",{className:"d-flex col-12 col-sm-6 col-md-4 justify-content-lg-start justify-content-center w-100 flex-row p-0",children:(0,r.jsxs)("div",{className:"d-flex flex-column text-md-left justify-content-between align-items-center align-items-center w-100 text-center",style:{gap:"1.5rem"},children:[(0,r.jsx)(aa.Skeleton,{className:"h-8 w-full"}),(0,r.jsx)(aa.Skeleton,{className:"h-8 w-full"}),(0,r.jsx)(aa.Skeleton,{className:"h-8 w-full"}),(0,r.jsx)(aa.Skeleton,{className:"h-8 w-full"})]})})]}),(0,r.jsx)("div",{className:(0,D.cn)(at.default.AutoGrabHowDoesThisWork,"bottom d-flex justify-content-end"),children:(0,r.jsx)("div",{className:"col-3",children:(0,r.jsx)("div",{className:"d-flex align-items-center justify-content-end",children:(0,r.jsx)(aa.Skeleton,{className:"h-8 w-full"})})})})]}),ai=({animate:e,animatedFill:a,description:t,fill:s,listing_price:i,min:o,max:l})=>{let n=(0,D.cn)({[at.default.fillLow]:a<.3,[at.default.fillMedium]:a>=.3&&a<.6,[at.default.fillHighTWG]:a>=.6});return(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"m-0 text-muted",children:"This vehicle is a"}),(0,r.jsx)("p",{className:"font-weight-bold m-0 h1 text-uppercase",children:t??(s<.65?"Good Deal":"Great Deal")}),(0,r.jsx)("h4",{className:(0,D.cn)(at.default.fill,n,"font-weight-bold h1 my-4"),children:(0,r.jsx)(r5.default,{start:0,end:i,useEasing:!0,prefix:"$",suffix:"*",duration:2*!!e})}),(0,r.jsx)(ao,{min:o,max:l})]})},ao=({min:e,max:a})=>(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"m-0",children:"Average Market Price Range"}),(0,r.jsxs)("span",{className:at.default.PriceSize,children:[(0,r.jsxs)("b",{children:[(0,D.money)(e)," "]}),"-",(0,r.jsxs)("b",{children:[" ",(0,D.money)(a)]})]})]}),al=({className:e,car:t,animate:s=!1})=>{let[i,o]=(0,a.useState)(null),[l,n]=(0,a.useState)(!0),c=(({targetNumber:e,duration:r})=>{let[t,s]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let a=null,t=i=>{a||(a=i);let o=i-a;s(Math.floor(ae(Math.min(o/r,1))*e)),o<r&&requestAnimationFrame(t)};requestAnimationFrame(t)},[e,r,ae]),t}
1)({targetNumber:i?.fill*100,duration:s?2500:1});if((0,a.useEffect)(()=>{!async function(){try{let e=`${r8.baseAPI}${t.path}/autogauge`,r=await fetch(e),a=await (0,D.handleFetch)(r);if(!a)throw Error("No data returned");o(a)}catch(e){n(!1),console.error("Failed to fetch auto gauge data.",e)}finally{n(!1)}}()},[t.path]),l)return(0,r.jsx)(as,{className:e});if(!i)return null;let{fill:d,listing_price:u,market_range_min:m,market_range_max:h,confidence:p,description:f}=i;return void 0===d||void 0===u||void 0===m||void 0===h||void 0===p||p<=.2||h<u?null:(0,r.jsxs)("div",{className:(0,D.cn)("row d-flex align-items-center relative bg-white p-4 position-relative",e),children:[(0,r.jsxs)("div",{className:(0,D.cn)("row w-100 position-md-absolute px-0 px-md-4",at.default.PriceComparison),children:[(0,r.jsx)("div",{className:"col-12 col-sm-6 text-center text-md-left",children:(0,r.jsx)("h3",{className:"pb-0",children:"Price Comparison"})}),(0,r.jsxs)("div",{className:"col-12 col-sm-6 d-flex justify-content-md-end justify-content-center align-items-center px-0",children:[(0,r.jsx)("span",{children:"Powered by"}),(0,r.jsx)(M.default,{src:"https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1/public/ootoqzvf5rcbb2uwvxkz",alt:"AutoGrab logo",width:50,height:50}),(0,r.jsx)("b",{className:at.default.AutoGrabStyling,children:"AutoGrab"})]})]}),(0,r.jsxs)("div",{className:"d-flex flex-column flex-sm-row w-100 justify-content-center p-0",children:[(0,r.jsx)("div",{className:"col-12 col-sm-6 col-md-6 col-lg-4 text-center order-0 p-0",children:(0,r.jsx)(ar,{fill:100*d,animate:s})}),(0,r.jsxs)("div",{className:"d-flex flex-row col-12 col-sm-6 col-md-4 justify-content-lg-start justify-content-center p-0",children:[(0,r.jsx)("div",{className:"d-flex text-center text-md-left justify-content-between align-items-center",children:(0,r.jsx)(ai,{animate:s,animatedFill:c/100,description:f,fill:d,listing_price:u,min:m,max:h})}),(0,r.jsx)("div",{className:"position-relative",children:(0,r.jsx)("div",{className:(0,D.cn)(at.default.CheckMark,"position-absolute"),children:(0,r.jsx)(r_.Tick,{})})})]})]}),(0,r.jsx)("div",{className:(0,D.cn)(at.default.AutoGrabHowDoesThisWork,"position-md-absolute mb-4 p-0 bottom d-flex justify-content-end"),children:(0,r.jsxs)("div",{className:"col-12",children:[(0,r.jsx)("p",{className:"d-block d-md-none text-muted text-center",children:"AutoGrab is a comprehensive suite of automotive intelligence tools that utilises data from all automotive marketplaces in real-time, making its data holistic and accurate."}),(0,r.jsx)("div",{className:"d-none d-md-flex align-items-center justify-content-end",children:(0,r.jsx)(r7.Root,{children:(0,r.jsxs)(r7.Popover,{children:[(0,r.jsx)(r7.Trigger,{asChild:!0,children:(0,r.jsxs)("div",{className:(0,D.cn)(at.default.Tooltip,"d-flex flex-row align-items-center"),children:[(0,r.jsx)("p",{className:"h5 m-0",children:"How does this work?"}),(0,r.jsx)(r9.IoMdInformationCircleOutline,{size:50,color:"#27276d"})]})}),(0,r.jsx)(r7.Portal,{children:(0,r.jsxs)(r7.Content,{style:{width:"300px",background:"#ffffff"},children:[(0,r.jsx)("p",{className:"pt-3 pb-2 px-3",children:"AutoGrab is a comprehensive suite of automotive intelligence tools that utilises data from all automotive marketplaces in real-time, making its data holistic and accurate."}),(0,r.jsx)(r7.Arrow,{})]})})]})})})]})})]})};var an=e.i(72003),ac=e.i(467001);let ad=({car:e,clickable:a,show:s=!1})=>{let{comparisonRateRanges:[i,o,n,c],financeLender:d}=(0,rQ.twgGetFinanceInfo)({car:e});if(!L.isTWGGroup&&!L.isToyota||L.allowManualFinanceForToyotaVehicles||!d?.disclaimer||!(0,l.isCarToyota)(e))return(0,r.jsx)(r.Fragment,{});let u=d?.disclaimer?(0,r.jsx)(r.Fragment,{children:d?.disclaimer}):L.isToyota?(0,r.jsxs)(r.Fragment,{children:["*Approved applicants only. Driveaway price of ",(0,an.toCurrency)(e.price)," less a deposit of"," ",(0,an.toCurrency)(d.deposit)," with ",(0,an.toCurrency)(d.paymentMonth)," monthly payments in arrears not exceeding"," ",d.disclaimer.match(/(exceeding\s)([^\s]+)/gim)?.[0],". Total amount payable is"," ",(0,an.toCurrency)(d.totalPayable),". Based on an annual percentage rate of"," ",d.interestRate,"%. Comparison Rates will vary for each customer between ",i," ","and ",o," (and annual percentage rates between",n," and ",c,"). Annual percentage rates will vary between ",n," and ",c,"). Terms, conditions, fees, charges & lending criteria apply. Comparison rate is based on a 5 year secured consumer fixed rate loan of $30,000. WARNING: This comparison rate is true only for the examples given and may not include all fees and charges. Different terms, fees or other loan amounts might result in a different c
1omparison rate. Toyota Finance is a division of Toyota Finance Australia Limited ABN 48 002 435 181, AFSL and Australian Credit Licence 392536 and reserves the right to change, extend or withdraw this offer at any time."]}):(0,r.jsx)(r.Fragment,{});return a?(0,r.jsx)("p",{className:"text-muted mt-2 flex flex-col text-xs",children:s?u:(0,r.jsxs)(r.Fragment,{children:[(0,an.toCurrency)(d.paymentWeek)," per week*(A) for used ",e.model," with Toyota Finance at ",t.default.dealerships[0].name," ",d?.comparisonRate,"% Comparison Rate. Comparison rates range from ",n," p.a. to ",c," from ",i," to ",o," ",e.km.toFixed(0).replace(/(\d)(?=(\d{3})+$)/g,"$1,")," km allowance |"," ",(0,an.toCurrency)(d.deposit)," deposit ",d.termMonths," monthly repayments of ",(0,an.toCurrency)(d.paymentMonth),". At least half of consumer applicants will get the advertised rate or lower. We may offer you a lower or higher rate depending on your credit score and other criteria."]})}):(0,r.jsx)("p",{className:"text-muted mt-2 text-xs",children:u})},au=({Check:e,props:a={},Fallback:t=null})=>(0,r.jsx)(r.Fragment,{children:e?(0,r.jsx)(e,{...a}):t}),am=({car:e})=>{let s=N.default.search.UsedCarChecks,{vdpBreadcrumbs:i}=(0,g.useTWGThemes)(),o=(0,T.generateVDPLinks)(e),{showAutoGauge:l}=(0,eu.usePlugins)(e),[c,d]=(0,a.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[c&&(0,r.jsx)(r6,{setShowSimpleForm:d,car:e}),(0,r.jsxs)("div",{style:{background:"var(--vdp-car-page-background)",color:"var(--twg-car-page-color)"},children:[(0,n.inStock)(e)&&(0,r.jsx)(x.default,{car:e}),N.default.cars.showFeaturesBanner&&(0,r.jsx)(b.default,{}),N.default?.cars.showLocationAnnouncementBar&&(0,r.jsx)(v.default,{carLocation:e.location.address}),(0,r.jsx)(au,{Check:Y.cars?.customFullWidthCarHeader,props:{car:e}}),(0,r.jsx)("div",{className:(0,D.cn)(ac.default.Breadcrumb,"hidden pb-4 sm:block",t.default.slug.toLowerCase().includes("mg")&&"pt-lg-5"),style:i,children:(0,r.jsx)(B.default,{className:"container-xl pb-md-0 pt-4 pb-4",title:e.name,links:o})}),L.isTWGCars&&(0,r.jsx)(r3,{simpleFormHandler:()=>{d(!0)},title:"NEED EASY FINANCE? "}),(0,r.jsxs)("div",{className:"py-lg-4 container-xl m-0 mx-auto py-0",children:[(0,r.jsx)(au,{Check:Y.cars?.customCarHeader,props:{car:e}}),(0,r.jsx)(rl,{className:ac.default.VDPBorderRadius,car:e}),(0,n.inStock)(e)?(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:ac.default.CarInfoSection,children:[(0,r.jsx)(r2,{className:ac.default.VDPBorderRadius,car:e,children:l?(0,r.jsx)(al,{className:ac.default.VDPBorderRadius,car:e,animate:!0}):null}),!N.default.cars.moveFinanceCTAHigher&&(0,m.eligibleForFinance)(e)&&(0,r.jsx)(h.RepaymentsCta,{car:e}),"used"==e.car_type&&s&&(0,r.jsx)(s,{}),!N.default.cars.hideDisclaimer&&(0,r.jsx)("div",{className:"col",children:(0,r.jsx)("div",{id:"financeDisclaimer",className:(0,D.cn)("row bg-white p-4 lg:border-2 lg:border-(--vdp-border-color)!",ac.default.VDPBorderRadius),children:(0,r.jsxs)("div",{className:"px-md-0 px-3 pb-0",children:[(0,r.jsx)(Y.cars.CustomDisclaimer,{car:e}),L.isToyota&&(0,r.jsx)(C.ToyotaEquoteLegacyFinanceGate,{children:(0,r.jsx)(ad,{car:e})})]})})}),Y.cars?.additionalCarSection&&(0,r.jsx)(Y.cars.additionalCarSection,{car:e}),(0,r.jsx)("div",{className:"col",children:(0,r.jsx)(y.default,{car:e,carousel:!0,hitsPerPage:N.default.cars.hitsPerPageSimilarCars,onlyLoadInView:!0,className:(0,D.cn)("row d-lg-block bg-white px-4 pt-2 lg:border-2 lg:border-(--vdp-border-color)!",ac.default.VDPBorderRadius)})}),Y.cars?.showBlogs&&(0,r.jsx)(Y.cars.showBlogs,{})]})}):(0,r.jsx)(y.default,{car:e,onlyLoadInView:!0})]}),(0,r.jsx)(au,{Check:Y.stockCustomContent,props:{car:e}}),(0,r.jsx)(w,{car:e}),e?.location?.address?.id!==793&&!L.isPeterWarrenNSW&&(0,r.jsx)(F,{car:e}),(0,r.jsx)(au,{Check:Y.cars?.carStickyFooterCTAs,props:{car:e}})]})]})};var ah=e.i(646524),ap=e.i(868028),af=e.i(336516),ag=e.i(728488),ax=e.i(691290),ab=e.i(338957),av=e.i(913185),ay=e.i(209234),aj=e.i(331544);let a_=[811],aw=L.isNortheastTruckCentre||L.isNortheastSitrak||L.isNortheastIveco||L.isNortheastHino||L.isNortheastShepparton||L.isNortheastBurtonIsuzuUte||L.isNortheastHampsteadGardens,aC=e=>e.location_id&&a_.includes(e.location_id),aN=L.isTimboonMotors?["car_type","simple_body","km","simple_transmission"]:["car_type","simple_body","km","simple_transmission","stocknum"],aS=({attribute:e,index:a,colored:s})=>{let i=s?`-${t.default.slug}`:"",o=`var(--first-tab-background-color${i}, var(--first-tab-background-color))`,l=`var(--first-tab-border-color${i}, var(--first-tab-background-color${i}, var(--first-tab-border-color)))`,n=`var(--first-tab-border-radius${i}, var(--first-tab-border-radius))`,c=`var(--first-tab-text-color${i}, var(--first-tab-text-color))`,d=`var(--other-tabs-background-color${i}, var(--other-tabs-background-color))`,u=`var(--other-tabs-border-color${i}, var(--other-tabs-border-color))`,m=`var(--other-tabs-border-radius${i}, var(--other-tabs-border-radius))`,h=`var(--other-tabs-text-color${i}, var(--other-tabs-text-color))`;return(0,r.jsx)("div",{className:"small mr-1 mb-1 px-2 py-1","data-testid":e,style:{borderRadius:0===a?n:m,border:`1px solid ${0===a?l:u}`,background:0===a?o:d,color:0===a?c:h},children:e})},ak=e=>"string"==typeof e&&""!==e||"number"==typeof e&&Number.isFinite(e),aA=({car:e,href:t})=>{let g,x,[b,v]=(0,a.useState)(!1),[y]=(0,s.useAtom)(ap.userValuationAtom),{financeMatrix:j}=(0,ah.useFinanceMatrix)(),_=e.price_type,w=(0,ag.useReducedPrice)(e,L.isCoffsHarbourToyota?y?.offer_price:0),C=N.default.cars?.carSearchItemAttributes??aN,S=(0,aj.isMachinery)(e)?(0,aj.getMachinerySearchItemAttributes)(C):C,k=(0,af.useColoredSearchPage)(),A=(0,D.coloredSearchOverrides)(k),F=(0,eS.checkConfigComponent)(["cars","CarPriceComponent"]),B=i.default?.cars?.CarSearchItemCard?.CustomBadgeDetail,T=i.default?.cars?.CertifiedBadgeComponent,{inputValue:M,financeLender:E}=(0,rQ.twgGetFinanceInfo)({car:e}),G=(0,m.financeLender)(e),P=N.default.displayWeeklyFinance,z="flex-column mb-0 flex w-100 pb-0 text-md font-semibold text-muted no-underline! justify-start",W=L.isServcoPreOwned||L.isTWGToyota;return(0,r.jsxs)("div",{className:(0,D.cn)("flex flex-grow flex-col",L.isHuntermotiveUsedCars&&"text-white",W&&"h-full"),children:[(0,r.jsxs)(I.default,{href:t,className:(0,D.cn)("unstyled flex flex-col",L.isBeaudesertAutoGroup&&"h-100",W&&"flex-grow"),children:[aw?(0,r.jsx)("h5",{className:"font-weight-bold mb-0",children:(0,l.getCarTitle)(e)}):(0,r.jsxs)("h4",{className:`font-weight-bold ${L.isRegCollinsCarSales?"mb-2":"mb-0"}`,children:[!L.isRegCollinsCarSales&&(0,r.jsxs)(r.Fragment,{children:[e.year," ",e.make," ",(0,ay.default)(e.model)]}),L.isRegCollinsCarSales&&(0,r.jsxs)(r.Fragment,{children:[e.name&&` ${e.name}`,e.colour&&` ${e.colour}`,e.gearnum&&` ${e.gearnum} Speed`,e.simple_transmission&&` ${e.simple_transmission}`,e.bodyconfiguration&&` ${e.bodyconfiguration}`]})]}),!L.isRegCollinsCarSales&&(B?(0,r.jsx)(B,{car:e}):!N.default.cars.CarSearchItemCard.hideBadgeDetail&&(0,r.jsx)(o.default,{car:e})),T&&(0,r.jsx)(T,{car:e}),(0,r.jsx)("div",{className:"d-flex flex-column flex-grow-1",children:(0,r.jsx)("div",{className:"d-flex flex-column justify-content-start mr-auto w-100 flex-grow-1",children:(0,n.inStock)(e)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"d-flex mb-1",style:{textTransform:"capitalize",flexWrap:"wrap"},children:[N.default.cars.carSearchCardShowStockNo&&(0,r.jsxs)("div",{className:"small mb-2 w-100",children:["Stock No: ",e?.stocknum]}),(g=S.includes("body"),x=S.includes("simple_body"),g&&x&&e.body===e.simple_body?S.filter(e=>"body"!==e):S).map((a,t)=>{if("hours"===a){let a=(0,f.formatMachineryHoursLabel)(e.hours);return a?(0,r.jsx)(aS,{colored:k,index:t,attribute:a},`car-${t}`):null}let s="km"===a?(0,av.getOdometerReading)(e):void 0,i=((e,r,a)=>{let t=r[e],s=r.total_length,i=r.body_length,o=L.isSnowyRiver?"kg":" KG";switch(e){case"simple_body":return(0,ax.getBodyDisplayValue)(r);case"engine_size_litres":case"engine_size":return(0,d.resolveCarEngineDisplacementDisplay)(r);case"km":return a;case"car_type":return ak(t)?String(t).charAt(0).toUpperCase()+String(t).slice(1).toLowerCase():null;case"sleeps":return ak(t)?`Sleeps: ${t}`:null;case"bunks":return ak(t)?`Bunks: ${t}`:null;case"total_length":{let e=ak(s)?s:i;
1if(!ak(e))return null;if(L.isSnowyRiver){let r=(0,ab.formatLengthFtWithMm)(e);return r?`Length: ${r}`:null}return(0,ab.formatLengthFtLabel)(ak(s)?"Total Length":"Body Length",e)}case"body_length":if(!ak(t))return null;if(L.isSnowyRiver){let e=(0,ab.formatLengthFtWithMm)(t);return e?`Length: ${e}`:null}return(0,ab.formatLengthFtLabel)("Body Length",t);case"aggregate_trailer_mass":return ak(t)?`ATM: ${t}${o}`:null;case"tare_weight":return ak(t)?`Tare: ${t}${o}`:null;case"ball_weight":return ak(t)?`Ball: ${t}${o}`:null;default:return ak(t)?t:null==t?null:String(t)}})(a,e,s);return("km"===a?null!=s:i)?(0,r.jsx)(aS,{colored:k,index:t,attribute:"km"===a?`${(0,an.addComma)(s)}${(0,av.getDistanceUnits)()}`:"views"===a?`${e[a]} views`:"stocknum"===a?`Stock No: ${e[a]}`:"seats"===a?`${e[a]} Seats`:"engine_size_litres"===a||"engine_size"===a?i??"":"simple_transmission"===a?"3100980"==e.stocknum?"Manual":e[a]:i},`car-${t}`):null}),L.isTimboonMotors&&(0,r.jsx)(aS,{attribute:e.fuel,index:1})]}),!j&&(0,r.jsx)(l.WasCarPrice,{car:e,reducedPrice:w}),(0,r.jsx)("div",{className:"row flex h-full flex-row items-end",children:(0,r.jsxs)("div",{className:"col-12 flex flex-row flex-wrap items-end",children:[F?(0,r.jsx)(F,{car:e}):j?(0,r.jsx)(u.FinanceMatrixVSPDescription,{car:e,reducedPrice:w}):(0,r.jsx)("p",{className:`h2 font-weight-bold mr-1 mb-0 ${A}`,children:(0,r.jsx)(l.CarPrice,{car:e,reducedPrice:w??e.price})}),L.isFlexiGo&&0===e.price?null:(0,r.jsxs)("small",{className:(0,D.cn)(N.default.cars?.driveAwayPriceColor??"text-muted","d-flex mr-2 mb-1 flex-grow-1"),children:[i.default.cars?.overridePriceType?(0,r.jsx)(i.default.cars.overridePriceType,{car:e}):!N.default.cars.hidePriceType&&(0,r.jsx)("span",{className:"flex items-end",children:_}),!N.default.cars.hideRatesOnVSP&&!aC(e)&&L.allowManualFinanceForToyotaVehicles&&(0,r.jsx)(r.Fragment,{children:!!E?.paymentWeek&&(0,r.jsx)("span",{className:"d-flex align-items-center text-muted mr-2 flex-grow-1 justify-end",children:(0,r.jsxs)("b",{className:"inline-flex items-center justify-center rounded-xl bg-[var(--vdp-car-price-and-background)] px-2 py-1 text-sm leading-tight text-[color:var(--vdp-car-price-and-text-color,#212529)]",children:[(0,an.toCurrency)(E?.paymentWeek),"/wk"]})})}),P&&(0,r.jsx)(r.Fragment,{children:!!G?.paymentWeek&&(0,r.jsx)("span",{className:"d-flex align-items-center text-muted mr-2 flex-grow-1 justify-end",children:(0,r.jsxs)("b",{className:"inline-flex items-center justify-center rounded-xl bg-[var(--vdp-car-price-and-background)] px-2 py-1 text-sm leading-tight text-white!",children:[(0,an.toCurrency)(G.paymentWeek),"/wk"]})})})]}),!N.default.cars.hideRatesOnVSP&&!aC(e)&&L.isTWGGroup&&!L.allowManualFinanceForToyotaVehicles&&(0,r.jsxs)("div",{className:"mt-3 flex w-100 flex-row justify-between",children:[!!E?.paymentWeek&&(0,r.jsxs)("a",{className:(0,D.cn)("text-left",z),children:[(0,an.toCurrency)(E?.paymentWeek),"/wk"]}),!!E?.disclaimer&&(0,r.jsxs)("a",{className:(0,D.cn)("text-center",z),children:[(0,r.jsxs)("span",{children:[L.isToyota?12.94:M.interest,"%"]}),(0,r.jsx)("span",{className:"text-xs",children:"Interest Rate"})]}),E?.comparisonRate&&(0,r.jsxs)("a",{className:(0,D.cn)("text-right",z),children:[(0,r.jsxs)("span",{children:[E?.comparisonRate,"%"]}),(0,r.jsx)("span",{className:"text-xs",children:"Comparison Rate"})]})]}),(0,r.jsx)(ad,{car:e,clickable:L.isToyota,show:b}),(0,r.jsx)(l.MarketPriceIndicator,{car:e})]})}),(0,r.jsx)(c.ComprehensiveCarInsurance,{car:e,variant:"search",reducedPrice:w})]}):(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("p",{children:"Like this and want something similar?"})})})})]}),(0,n.inStock)(e)&&N.default.cars?.CarPricePopup&&(0,r.jsx)(p.CarPricePopup,{car:e}),(0,n.inStock)(e)&&!!E?.disclaimer&&L.isToyota&&(0,r.jsx)("a",{className:"text-muted mb-2 cursor-pointer text-xs",onClick:e=>{v(e=>!e),e.stopPropagation()},children:"Click for Finance Disclaimer"}),(0,r.jsx)(l.ToyotaCertifiedBadge,{car:e}),(0,m.eligibleForFinance)(e)&&!N.default.cars.hideFinanceRatesBox&&(!L.isMotorama&&!L.isTWGGroup&&!L.isBrisbaneUsedCars&&!L.isWaynePhillisAutomotive&&!L.isWaynePhillisFord&&!L.isSimplyFinance&&!L.isSaveOnFinance&&!L.isServcoPreOwned&&!L.isRegent&&(!L.isBooran||"used"!==e.car_type)||L.isBigBoxCars)&&(L.isSnowyRiver?null:(0,r.jsx)(h.FinanceInfo,{car:e,outerClassName:"bg-primary-faded d-flex mt-2"}))]})}},521313,e=>{"use strict";e.s(["default",()=>b]);var r=e.i(563705),a=e.i(271104),t=e.i(649854),s=e.i(438176),i=e.i(637953),o=e.i(749402),l=e.i(65935),n=e.i(573879);e.i(645346);var c=e.i(293319);e.i(849023);var d=e.i(264655),u=e.i(667568),m=e.i(11794),h=e.i(25781),p=e.i(389124),f=e.i(615190),g=e.i(491315);let x=(0,t.default)(()=>e.A(349018),{loadableGenerated:{modules:[528872]},ssr:!1}),b=({car:e,image_url:t,Buttons:b=o.default,wrapperClassName:v="col-12 col-lg-6 mb-3 col-xl-4 carSearchCard",type:y="",priority:j=!1})=>{let _=(0,f.getCarUrl)(e),w=(0,s.useFinanceAwareHref)(_),C=(0,p.checkConfigComponent)(["cars","carSearchItemButtons"]);return(0,r.jsx)("div",{className:i.default.StyledCol+` ${v} `+e.status,children:(0,r.jsxs)("div",{className:i.default.CarWrapper+" position-relative d-flex flex-column h-100 rounded",children:[(0,r.jsx)(n.default,{car:e,image_url:t,priority:j,href:w}),"block"===u.default.cars.CarSearchItemCard.LocationOverlay&&(0,r.jsx)(d.default,{car:e,absolute:!1}),(0,r.jsxs)("div",{className:(0,f.cn)("d-flex flex-column position-relative h-100 p-2",u.default.storage.storeFavourites&&"pt-3"),children:[a.default.garage_enabled&&!g.hideGarage?(0,r.jsx)(c.default,{absolute:!0,car:e}):(0,r.jsx)(x,{absolute:!0,whiteBG:!0,outline:!0,car:e,parentName:"carSearchItem"}),(0,r.jsx)(l.default,{car:e,href:w}),g.is3MTTrueValueAuto&&(0,r.jsxs)("div",{className:"d-flex align-items-center text-muted mb-2",children:[(0,r.jsx)(m.AiOutlineEye,{size:20,className:"mr-1"}),(0,r.jsxs)("span",{children:[e.views," views"]})]}),g.isMercedesBenz&&(0,r.jsx)(h.default,{car:e,small:!0}
1),C?(0,r.jsx)(C,{car:e,href:w,type:y}):(0,r.jsx)(b,{car:e,href:w,type:y})]})]})})}},997746,e=>{e.v({AutoGrabHowDoesThisWork:"AutoGauge-module-scss-module__GA7Ahq__AutoGrabHowDoesThisWork",AutoGrabStyling:"AutoGauge-module-scss-module__GA7Ahq__AutoGrabStyling",CheckMark:"AutoGauge-module-scss-module__GA7Ahq__CheckMark",PriceComparison:"AutoGauge-module-scss-module__GA7Ahq__PriceComparison",PriceSize:"AutoGauge-module-scss-module__GA7Ahq__PriceSize",Tooltip:"AutoGauge-module-scss-module__GA7Ahq__Tooltip",fill:"AutoGauge-module-scss-module__GA7Ahq__fill",fillMedium:"AutoGauge-module-scss-module__GA7Ahq__fillMedium"})},313392,e=>{e.v({EmblaContainer:"CarHeading-module-scss-module__LzVU4a__EmblaContainer",EmblaSlide:"CarHeading-module-scss-module__LzVU4a__EmblaSlide",EmblaThumbSlide:"CarHeading-module-scss-module__LzVU4a__EmblaThumbSlide",EmblaViewport:"CarHeading-module-scss-module__LzVU4a__EmblaViewport",TWGGroupCars:"CarHeading-module-scss-module__LzVU4a__TWGGroupCars",Video:"CarHeading-module-scss-module__LzVU4a__Video",cursorPointer:"CarHeading-module-scss-module__LzVU4a__cursorPointer",imgContainer:"CarHeading-module-scss-module__LzVU4a__imgContainer",noMargins:"CarHeading-module-scss-module__LzVU4a__noMargins"})},640230,e=>{"use strict";e.s(["useCarSearchItem",()=>h],640230);var r=e.i(563705),a=e.i(464645),t=e.i(81385),s=e.i(521313),i=e.i(438176),o=e.i(336516),l=e.i(463241),n=e.i(615190);let c=({car:e,config:a,wrapperClassName:t="col-12 col-lg-6 mb-3 col-xl-4 carSearchCard",priority:s=!1})=>{let c=(0,o.useColoredSearchPage)(),d=(0,i.useFinanceAwareHref)((0,n.getCarUrl)(e));return a?(0,r.jsx)("div",{className:(0,n.cn)(t,"d-flex px-2 pt-1"),children:(0,r.jsx)(l.CarSearchCard,{car:e,config:a,href:d,colored:c,priority:s})}):null};var d=e.i(271104),u=(e.i(201305),e.i(682671)),m=e.i(232587);let h=()=>{let{config:e,hasCarSearchCards:i}=(()=>{(0,a.useRef)(!1);let{websiteSession:e}=(0,m.useWebsiteSession)(),r=(0,u.getCarSearchCardsConfig)(d.default);return(0,u.getCarSearchCardsConfig)(e),(0,a.useEffect)(()=>{},[!1]),{config:r,hasCarSearchCards:!!r}})(),o=(0,a.useMemo)(()=>e?function(a){return(0,r.jsx)(c,{...a,config:e})}:null,[e]);return i&&o?o:t.default.cars?.CarSearchItemComponent||s.default}},682002,e=>{e.v({FullScreenButton:"FullScreenCarSpinner-module-scss-module__cxf6Oa__FullScreenButton",FullScreenContentContainer:"FullScreenCarSpinner-module-scss-module__cxf6Oa__FullScreenContentContainer",FullScreenVoid:"FullScreenCarSpinner-module-scss-module__cxf6Oa__FullScreenVoid"})},551740,e=>{e.v({hotspotContainer:"HotspotIndicator-module-scss-module__Kdipmq__hotspotContainer",hotspotIndicator:"HotspotIndicator-module-scss-module__Kdipmq__hotspotIndicator",hotspotPing:"HotspotIndicator-module-scss-module__Kdipmq__hotspotPing",ping:"HotspotIndicator-module-scss-module__Kdipmq__ping"})},592730,e=>{e.v({emblaSlide:"CarSpinnerFrames-module-scss-module__A7xaJa__emblaSlide",iframe:"CarSpinnerFrames-module-scss-module__A7xaJa__iframe",iframeContainer:"CarSpinnerFrames-module-scss-module__A7xaJa__iframeContainer"})},413604,e=>{e.v({CarDetails:"CarStickyHeader-module-scss-module__Tdg1hG__CarDetails",CarPrice:"CarStickyHeader-module-scss-module__Tdg1hG__CarPrice",FinanceEstimate:"CarStickyHeader-module-scss-module__Tdg1hG__FinanceEstimate",HeaderImage:"CarStickyHeader-module-scss-module__Tdg1hG__HeaderImage",NavDown:"CarStickyHeader-module-scss-module__Tdg1hG__NavDown",NavUp:"CarStickyHeader-module-scss-module__Tdg1hG__NavUp",StyledNavbar:"CarStickyHeader-module-scss-module__Tdg1hG__StyledNavbar",priceType:"CarStickyHeader-module-scss-module__Tdg1hG__priceType"})},350349,e=>{e.v({Arrow:"CarsSlider-module-scss-module__-h8C8q__Arrow",ArrowsSimiarCars:"CarsSlider-module-scss-module__-h8C8q__ArrowsSimiarCars",CarouselContent:"CarsSlider-module-scss-module__-h8C8q__CarouselContent",CarouselItem:"CarsSlider-module-scss-module__-h8C8q__CarouselItem",Disabled:"CarsSlider-module-scss-module__-h8C8q__Disabled",Left:"CarsSlider-module-scss-module__-h8C8q__Left",LeftBottom:"CarsSlider-module-scss-module__-h8C8q__LeftBottom",Right:"CarsSlider-module-scss-module__-h8C8q__Right",RightBottom:"CarsSlider-module-scss-module__-h8C8q__RightBottom",SwipeText:"CarsSlider-module-scss-module__-h8C8q__SwipeText",TopLeft:"CarsSlider-module-scss-module__-h8C8q__TopLeft",TopRight:"CarsSlider-module-scss-module__-h8C8q__TopRight",ViewedCarsCarouselItem:"CarsSlider-module-scss-module__-h8C8q__ViewedCarsCarouselItem"})},860134,e=>{e.v({EmblaContainer:"FullScreenImageSlider-module-scss-module__yoxqIG__EmblaContainer",EmblaSlide:"FullScreenImageSlider-module-scss-module__yoxqIG__EmblaSlide",EmblaThumbSlide:"FullScreenImageSlider-module-scss-module__yoxqIG__EmblaThumbSlide",EmblaViewport:"FullScreenImageSlider-module-scss-module__yoxqIG__EmblaViewport",FullScreenImageSlider:"FullScreenImageSlider-module-scss-module__yoxqIG__FullScreenImageSlider",FullScreenImageSliderButton:"FullScreenImageSlider-module-scss-module__yoxqIG__FullScreenImageSliderButton",FullScreenImageSliderContainer:"FullScreenImageSlider-module-scss-module__yoxqIG__FullScreenImageSliderContainer",FullScreenImageSliderVoid:"FullScreenImageSlider-module-scss-module__yoxqIG__FullScreenImageSliderVoid",FullScreenImageThumbs:"FullScreenImageSlider-module-scss-module__yoxqIG__FullScreenImageThumbs",ThumbOverlay:"FullScreenImageSlider-module-scss-module__yoxqIG__ThumbOverlay",Video:"FullScreenImageSlider-module-scss-module__yoxqIG__Video",cursorPointer:"FullScreenImageSlider-module-scss-module__yoxqIG__cursorPointer",imgContainer:"FullScreenImageSlider-module-scss-module__yoxqIG__imgContainer",noMargins:"FullScreenImageSlider-module-scss-module__yoxqIG__noMargins"})},610301,e=>{e.v({arrowSection:"OrbitAnimatedTag-module-scss-module__NBBc-W__arrowSection",fadeIn:"OrbitAnimatedTag-module-scss-module__NBBc-W__fadeIn",orbitLogo:"OrbitAnimatedTag-module-scss-module__NBBc-W__orbitLogo",pill:"OrbitAnimatedTag-module-scss-module__NBBc-W__pill",spinGif:"OrbitAnimatedTag-module-scss-module__NBBc-W__spinGif",spinner:"OrbitAnimatedTag-module-scss-module__NBBc-W__spinner",wrapper:"OrbitAnimatedTag-module-scss-module__NBBc-W__wrapper"})},927918,e=>{e.v({active:"SpinnerInterface-module-scss-module__Cpf8RG__active",inactive:"SpinnerInterface-module-scss-module__Cpf8RG__inactive",interfaceButton:"SpinnerInterface-module-scss-module__Cpf8RG__interfaceButton",interfaceContainer:"SpinnerInterface-module-scss-module__Cpf8RG__interfaceContainer",spinnerInterface:"SpinnerInterface-module-scss-module__Cpf8RG__spinnerInterface",spinnerInterfaceFullScreen:"SpinnerInterface-module-scss-module__Cpf8RG__spinnerInterfaceFullScreen"})},254617,e=>{e.v({ShineBtn:"SidebarButtons-module-scss-module___tUchq__ShineBtn",shine:"SidebarButtons-module-scss-module___tUchq__shine"})},802837,150509,e=>{"use strict";e.s([],802837),e.s(["default",()=>j],150509);var r=e.i(563705),a=e.i(464645),t=e.i(271104),s=e.i(78520),i=e.i(913985);e.i(815582);var o=e.i(734609),l=e.i(170939),n=e.i(322473),c=e.i(615190),d=e.i(491315),u=e.i(667568),m=e.i(971821),h=e.i(691290),p=e.i(129182),f=e.i(606012);async function g({filters:e}){let r=e.map(e=>({indexUid:p.CAR_INDEX,facets:[],attributesToHighlight:["*"],highlightPreTag:"<ais-highlight-0000000000>",highlightPostTag:"</ais-highlight-0000000000>",limit:10,filter:e})),a=await fetch(f.url,{method:"POST",headers:f.headers,body:JSON.stringify({queries:r})});return await (0,c.handleFetch)(a)}let x=async({model:e,filters:r})=>{let a=await g({filters:r}),t=(a?.results??[]).flatMap(e=>e?.hits??[]).sort((r,a)=>{let t=+(r.model===e);return(a.model===e)-t});return(0,c.filterDuplicatesByKey)(t,"id").slice(0,6)},b=e=>e<5e4?1e4:25e3;function v(e){return e.includes(" ")||e.includes('"')?`"${e.replace(/"/g,'\\"')}"`:e}let y=({car:e,filterIds:r,filterOptions:a})=>{let t=`${m.DEFAULT_SEARCH_FILTERS} AND status=in_stock`;if(r)return`${t} AND (${r})`;{if(a&&a.length)return t+` AND NOT id=${e.id}`+a.map(r=>{if("car_type"===r&&("new"===e.car_type||"demo"===e.car_type))return" AND (car_type=new OR car_type=demo)";if("simple_body"===r||"body_subcategory"===r){let r=(0,h.getBodyDisplayValue)(e);return r?` AND ${(0,h.getBodyFacetKey)()}=${v(r)}`:""}return` AND ${r}=${e[r]}`}).join("");let r=(0,h.getBodyDisplayValue)(e);return`${m.DEFAULT_SEARCH_FILTERS} AND price ${e.price-b(e.price)} TO ${e.price+b(e.price)} AND NOT id=${e.id} `+(u.default.cars?.similarCarsFilterByBody&&r?` AND ${(0,h.getBodyFacetKey)()}=${v(r)}`:"")}},j=({car:e,hide:u="d-lg-block",className:m="",carousel:p=!1,hitsPerPage:f=6,onlyLoadInView:g=!1,padding:b="py-5",style:v,heading:j,headingClassName:_="mb-3 text-center",wrapperClassName:w="col-12 col-lg-6 mb-3 carSearchCard"})=>{let[C,N]=(0,a.useState)(""),[S,k]=(0,a.useState)(!1),[A,L]=(0,a.useState)([]),F=(0,a.useRef)(null),B=(0,n.useIntersection)(F,"500px");(0,a.useEffect)(()=>{(!g||B)&&(S||r());async function r(){try{let a=await (0,i.getSimilarCars)(e.slug),t="";if(a?.length){var r;a.forEach((e,r)=>{r>0?t+=` OR id=${e}
1`:t+=`id=${e}`}),(d.isSpringwoodMazda||d.isRedlandsMazda)&&(t="new"===e.car_type||"demo"===e.car_type?`(${t}) AND (car_type=new OR car_type=demo)`:`(${t}) AND car_type=used AND car_type=used`),N(t);let s=(r=t,d.isGympieSuzuki?y({car:e,filterIds:r,filterOptions:["make","model"]}):d.isSpringwoodMazda||d.isRedlandsMazda?y({car:e,filterOptions:["car_type",(0,h.getBodyFacetKey)()]}):null);if(s){let r=await x({model:e.model,filters:[s,t]});L(r)}}}catch(e){console.log("Error setting similar cars: ",e)}k(!0)}},[e.slug,S,B,g,e]);let T=y({car:e,filterIds:C}),M="sold"===e.status?"col-xl-4":"";return(0,r.jsx)("div",{ref:F,className:`${b} d-none ${u} ${m}`,style:v,children:(B||!g)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{className:_,children:j??(0,r.jsxs)(r.Fragment,{children:["Similar ",`${(0,c.getPrimaryVehicle)()}s`,t.default.offers_subscription||d.isAffordableHireCars?" Available":" In-Stock"]})}),S?A.length>0?(0,r.jsx)(s.StockSection,{hits:A.slice(0,f),wrapperClassName:(0,c.cn)(w,M)}):(0,r.jsx)(l.default,{hitsPerPage:f,search_filters:T,carousel:p,type:"SimilarCars",wrapperClassName:(0,c.cn)(w,M)}):(0,r.jsx)("div",{className:"row",children:Array.from({length:f},(e,a)=>(0,r.jsx)(o.default,{className:(0,c.cn)("col-lg-6 col-12 my-3",M)},"similar-car-placeholder"+a))})]})})}},170939,200333,199804,e=>{"use strict";e.s(["default",()=>U],170939),e.s(["default",()=>q],199804);var r=e.i(563705),a=e.i(528397),t=e.i(971821),s=e.i(464645),i=e.i(974036),o=e.i(98187),l=e.i(438176),n=e.i(481992),c=e.i(81385),d=e.i(521313),u=e.i(350349),m=e.i(757656);e.i(205036);var h=e.i(336725),p=e.i(615190);let f=({right:e=!1,enabled:a=!1,top:t=!1,onClick:s})=>e?(0,r.jsx)(m.FaArrowRight,{size:48,onClick:s,className:(0,p.cn)(u.default.ArrowsSimiarCars,t?u.default.TopRight:u.default.RightBottom,!a&&u.default.Disabled)}):(0,r.jsx)(m.FaArrowLeft,{size:48,onClick:s,className:(0,p.cn)(u.default.ArrowsSimiarCars,t?u.default.TopLeft:u.default.LeftBottom,a?"":u.default.Disabled)}),g=()=>{let{scrollNext:e,scrollPrev:a}=(0,h.useCarousel)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f,{onClick:a,enabled:!0}),(0,r.jsx)(f,{right:!0,onClick:e,enabled:!0})]})},x=({hits:e,...a})=>{let t=c.default.cars?.CarSearchItemComponent||d.default;return(0,r.jsxs)(h.Carousel,{opts:{align:"start",startIndex:0},children:[(0,r.jsx)(h.CarouselContent,{className:"m-0!",children:e.map(e=>(0,r.jsx)(s.default.Fragment,{children:(0,r.jsx)(t,{car:e,image_url:(0,p.carSearchImage)(e),...a})},e.id))}),(0,r.jsx)(g,{})]})};var b=e.i(144983),v=e.i(661979),y=e.i(637953),j=e.i(667568),_=e.i(998380);let w=()=>{let e=j.default.cars.CTAItem.CTAhref;return(0,r.jsx)(_.default,{href:e,className:y.default.StyledCol+" col-lg-6 mb-3 col-xl-4 carSearchCard unstyled",children:(0,r.jsx)("div",{className:y.default.CarWrapper+" position-relative rounded h-100 d-flex flex-column bg-primary",children:(0,r.jsx)("div",{className:"h-100 w-100",children:(0,r.jsxs)("div",{className:"p-2 d-flex flex-column h-100 position-relative text-white text-center",children:[(0,r.jsxs)("div",{className:"pb-3 pt-5",children:[(0,r.jsx)("h2",{className:"font-weight-bold mb-0",children:"We Want Your Car!"}),(0,r.jsx)("h5",{className:"font-weight-bold",children:"We buy all types of cars"})]}),(0,r.jsx)("div",{className:"flex-fill d-flex align-items-center justify-content-center px-5",children:(0,r.jsx)("div",{className:"w-100 h-100 p-4",children:(0,r.jsx)(v.default,{alt:"",src:"https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1/public/finance",className:"img-fluid",width:201,height:140,layout:"responsive",unoptimized:!0})})}),(0,r.jsx)("div",{className:"pt-3 pb-5 px-3",children:(0,r.jsx)("h4",{className:"font-weight-bold mb-0",children:"Our high turnover means we can pay more"})})]})})})})};var C=e.i(640230),N=e.i(369547),S=e.i(94022),k=e.i(486349),A=e.i(839126);let L=new Set(["price","year","km"]),F=e=>e.toLowerCase().replace(/[:\-]/g,"").replace(/\s+/g," ").trim(),B=e=>{if(!e.includes(":"))return null;let[r,a]=e.split(":").map(Number);return isNaN(r)||isNaN(a)?null:[r,a]},T=(e,r)=>!e?.length||e.every(({field:e,values:a})=>{let t=r[e];return!!Array.isArray(t)&&0!==t.length&&(L.has(e)?a.some(e=>{let r;return!!(r=B(e))&&t.some(e=>{let a=B(e);if(a)return Math.max(r[0],a[0])<=Math.min(r[1],a[1]);let t=Number(e);return!isNaN(t)&&t>=r[0]&&t<=r[1]})}):a.some(e=>
1t.some(r=>F(String(r)).includes(F(e)))))});e.s(["getActiveVDPPromoCards",0,(e,r,a=new Date)=>e.filter(e=>{var t;return!0===e.show_on_vdp&&!1!==e.enabled&&((e,r=new Date)=>{let a=e.start?(0,A.parseISO)(e.start):null,t=e.expiry?(0,A.parseISO)(e.expiry):null;return!a&&!t||(a&&!t?!(0,k.isBefore)(r,a):!a&&t?!(0,S.isAfter)(r,t):!(0,k.isBefore)(r,a)&&!(0,S.isAfter)(r,t))})(e,a)&&(t=e.display,!t?.length||!r||t.includes(r))}),"matchesConditions",0,T],200333);var M=e.i(755131),I=e.i(916270),E=e.i(491315);let G=({imageSrc:e,imageAlt:a,linkHref:t,background:s="#000000",promotionalLinkType:i,promotionalLinkEventName:o})=>{let{src:l,loader:n}=(0,I.useCloudinaryLoader)(e),c=/^https?:\/\//i.test(s)?{backgroundImage:`url(${s})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}:{background:s};return(0,r.jsx)("div",{className:(0,p.cn)("col-lg-6 carSearchCard unstyled col-12 mb-3 px-2",E.is4ColumnCarSearch?"col-xl-3":"col-xl-4"),children:(0,r.jsx)(_.default,{href:t,className:(0,p.cn)("d-flex align-items-center h-100 rounded","overflow-hidden transition-all duration-300 ease-in-out","shadow-[0_2px_8px_rgba(99,99,99,0.2)]","hover:-translate-y-1 hover:scale-[1.01]"),style:c,promotionalLinkType:i,promotionalLinkEventName:o,children:(0,r.jsx)("div",{className:"d-flex position-relative my-auto w-100 rounded",children:(0,r.jsx)(M.default,{src:l,alt:a,style:{width:"100%",height:"auto",objectFit:"fill"},width:1e3,height:1e3,sizes:"(max-width: 767px) 100vw, 30vw",loader:n,unoptimized:!n})})})})};var P=e.i(682671),z=e.i(232587);let W=()=>{let{websiteSession:e}=(0,z.useWebsiteSession)(),r=(0,P.getPromotionalCardsConfig)(e);return{config:r,hasPromotionalCards:!!r,cardPosition:r?(0,P.getPromotionalCardPosition)(r):null}},R=e=>{let a=(0,i.useAtomValue)(o.carRouteStateAtom),{config:t}=W();if(!t)return null;let s=t.cards.filter(e=>!1!==e.enabled&&T(e.conditions,a)).map(e=>({node:(0,r.jsx)(G,{imageSrc:e.image_src,imageAlt:e.image_alt,linkHref:e.link_href,background:e.background,promotionalLinkType:"search",promotionalLinkEventName:e.name}),display:e.display,strictDisplay:e.strict_display,start:e.start,expiry:e.expiry}));return(0,r.jsx)(N.AlternatingCTAItems,{nodes:s,random:t.randomise??!1,...e})},V=[E.isMotorama,E.isArrowCarSales,E.isGympieMazda,E.isBigBoxCars],D=({promoCardCount:e,hasPromotionalCards:a})=>{let t=a?R:j.default.cars.CTAItem.CustomCard?j.default.cars.CTAItem.CustomCard:w,s=(0,n.useValidCarFacets)(),i=Object.keys(s?.car_type??{}).filter(e=>"facetStats"!==e);return a||1===i.length&&i.includes("used")||V.some(e=>e)?(0,r.jsx)(t,{promoCardCount:e}):null},O=({type:e,hits:a,wrapperClassName:t,promoOn:i=!0})=>{let o=(0,C.useCarSearchItem)(),{hasPromotionalCards:l,cardPosition:n}=W(),[c]=(0,s.useState)(()=>Math.floor(3*Math.random())),d=l?n:j.default.cars.CTAItem.CardPosition;if(!a||a?.length===0)return(0,r.jsx)(b.NoCarHits,{});let u="number"==typeof d?c+d:d,m=E.isTWGGroup?u:Array.isArray(d)&&0===d.length?null:a.length>=("number"==typeof d?d:d[0])?d:a.length,h=l&&null!=m||j.default.cars.CTAItem?.isOn,f=0;return a.map((a,n)=>(0,r.jsxs)(s.default.Fragment,{children:[i&&h&&("number"==typeof m?(n+1+f)%m==0:m.includes(n+1+f))&&(f+=1)&&(0,r.jsx)(D,{promoCardCount:f,hasPromotionalCards:l}),(0,r.jsx)(o,{car:a,image_url:(0,p.carSearchImage)(a),type:e,wrapperClassName:t})]},a.id))};var $=e.i(313399),H=E;let q=({carousel:e=!1,handleSoldHits:a=!H.isPakenhamFord&&!H.isBerwickFord&&!H.isSurfToyota,wrapperClassName:t=H.isTWGGroup&&!H.isBlacklockTrucks||H.isSurfToyota||H.isWindsorToyota||H.isCastleHillMazda?"col-12 col-lg-6 mb-3 col-xl-3 px-1 carSearchCard":"col-12 col-lg-6 mb-3 col-xl-4 carSearchCard",promoOn:c=!0,limit:d,search_filters:u,serverHits:m=[],sort:h,...f})=>{let g=(0,s.useCallback)(e=>{let r=e;if(a)if(e?.length>0&&e.every(e=>e?.status==="sold"))r=e.map(e=>(0,p.transformHits)(e));else{let a=[],t=!1;e?.forEach(e=>{e?.status==="sold"?t||(a.push((0,p.transformHits)(e)),t=!0):(a.push((0,p.transformHits)(e)),t=!1)}),r=a}return r},[a]),{hits:b}=(0,n.useHits)({transformItems:g,limit:d,search_filters:u,serverHits:m,sort:h}),v=(0,i.useAtomValue)(o.carRouteStateAtom),y=v.car_type?.length===1&&"used"===v.car_type[0],_=(0,i.useAtomValue)(l.financeFiltersAtom),w=(0,$.isFinanceMode)(_),C=(()=>
1{if(w)return b;if(H.isWestpointEV){let e={duo:1,city:2,sport:3};return b?.sort((r,a)=>e[r.series]-e[a.series])}return(H.isAudiCentreGoldCoast||H.isAudiSouthBrisbane)&&y?[...b??[]].sort((e,r)=>"Audi"===e.make&&"Audi"!==r.make?-1:+("Audi"!==e.make&&"Audi"===r.make)):b})();return(0,r.jsx)("div",{className:(0,p.cn)(e?void 0:H.isTWGGroup?"row justify-content-center px-1 md:w-full":j.default.algolia.hitsRowClassName),children:e?(0,r.jsx)("div",{children:C.length>0&&(0,r.jsx)(x,{hits:C,...f})}):(0,r.jsx)(O,{hits:C,wrapperClassName:t,promoOn:c})})},U=({hitsPerPage:e=6,search_filters:s,sort:i,carousel:o=!1,serverState:l,type:n,wrapperClassName:c,handleSoldHits:d=!0,promoOn:u=!1,indexName:m})=>(0,r.jsx)(q,{carousel:o,type:n,wrapperClassName:c,handleSoldHits:d,promoOn:u,limit:e,sort:i,search_filters:`${t.DEFAULT_SEARCH_FILTERS} AND ${s}`,serverHits:(0,a.getHitsFromServerState)(l??{})})},268817,e=>{"use strict";var r=e.i(563705),a=e.i(649854),t=e.i(81385),s=e.i(667568),i=e.i(708773),o=e.i(640162),l=e.i(464645),n=e.i(860938),c=e.i(757656);e.i(816415);var d=e.i(713145),u=e.i(763103),m=e.i(812731),h=e.i(998380),p=e.i(491345),f=e.i(615190),g=e.i(491315);let x=({location:e,imageStyles:a={height:"auto"},compact:t=!1})=>(0,r.jsxs)(m.Card,{className:"d-flex flex-column h-100",children:[(0,r.jsx)(m.CardImage,{src:e?.image?.image?.url||(0,u.cloudinaryUrl)({src:e?.address?.map_key,width:600}),height:400,width:600,alt:e.name,className:(0,f.cn)(t&&"h-44 object-cover"),style:t?void 0:a}),(0,r.jsxs)("div",{className:"d-flex flex-column justify-content-between flex-grow-1 p-3",children:[(0,r.jsxs)(m.CardContent,{className:"p-0",children:[(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col-12",children:[(0,r.jsx)("h5",{className:t?"mb-1 text-base!":"mb-1",children:e.name.replace("- Sales","")}),!t&&(0,r.jsx)(p.StarRating,{stars:parseFloat(e.reviews.average_rating),count:e.reviews.count,textClassName:"ml-2 small",flexJustifyClassname:"justify-content-start mb-2"})]})}),(0,r.jsxs)("div",{className:"row mb-2 justify-self-end",children:[(0,r.jsxs)("div",{className:"d-flex align-items-center justify-content-start col-12 mb-2",children:[(0,r.jsx)(c.FaMapMarkerAlt,{color:"var(--primary)",className:"flex-shrink-0"}),(0,r.jsx)("span",{className:t?"small ml-2":"ml-2",children:(0,r.jsxs)(h.default,{href:e.address.place_url,className:"unstyled",children:[e.address.street,", ",e.address.city," ",e.address.state]})})]}),e.contact_detail.phone&&(0,r.jsxs)("div",{className:(0,f.cn)("d-flex align-items-center justify-content-start",t?"col-6":"col-12"),children:[(0,r.jsx)(n.BsFillTelephoneFill,{color:"var(--primary)",className:"flex-shrink-0"}),(0,r.jsx)("span",{className:t?"small ml-2":"ml-2",children:(0,r.jsx)(h.default,{href:"tel:"+e.contact_detail.phone.replace(/ /g,""),className:"unstyled",children:e.contact_detail.phone})})]}),t&&(0,r.jsxs)("div",{className:(0,f.cn)("d-flex align-items-center justify-content-start",e.contact_detail.phone?"col-6":"col-12"),children:[(0,r.jsx)(c.FaMapMarkerAlt,{color:"var(--primary)",className:"flex-shrink-0"}),(0,r.jsx)("span",{className:"small ml-2",children:(0,r.jsx)(h.default,{href:e.address.place_url,className:"unstyled font-weight-bold",children:"Get Directions"})})]}),!t&&(0,r.jsxs)("div",{className:"d-flex justify-content-start col-12 my-2",children:[(0,r.jsx)(c.FaClock,{color:"var(--primary)",className:"mt-1 mr-2"}),(0,r.jsx)(d.default,{hours:e.contact_detail.opening_hours,name:e.name,location_type:e.location_type,locationId:e.id})]})]})]}),(0,r.jsxs)(m.CardFooter,{className:"d-flex flex-column p-0",children:[(0,r.jsx)(h.default,{href:g.isPeterStevens?`/locations/${e.slug}`:t?s.default.links?.contact?.url??"/contact":"/contact",className:"btn btn-primary btn-block w-100",children:"View Location"}),!t&&(0,r.jsx)(h.default,{href:e.address.place_url,className:"btn btn-outline-primary btn-block w-100",children:"Get Directions"})]})]})]});var b=e.i(500949);let v=["All","Brands","Service","Parts"],y=(e,r)=>e.location_type===r,j={All:e=>(e=>{let r=new Map;for(let a of e){let e=a.name?(0,b.locationGroupName)(a):`location-${a.id}`,t=r.get(e);(!t||!y(t,"sales")&&y(a,"sales"))&&r.set(e,a)}return[...r.values()]})(e),Brands:e=>e.filter(e=>y(e,"sales")&&!!e.manufacturers?.length),Service:e=>e.filter(e=>y(e,"service")),Parts:e=>e.filter(e=>y(e,"parts"))},_=({locations:e=[],tabs:a=v,compact:t=!1})=>{let[s,i]=(0,l.useState)(a[0]??"All"),o=(0,l.useMemo)(()=>e.filter(e=>!1!==e.visible),[e]),n=(0,l.useMemo)(()=>a.filter(e=>j[e](o).length>0),[a,o]),c=(0,l.useMemo)(()=>j[s]?.(o)??[],[s,o]);return o.length?(0,r.jsxs)("div",{className:"container py-4",children:[n.length>1&&(0,r.jsx)("div",{className:"d-flex justify-content-center mb-4 flex-wrap gap-2",children:n.map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>i(e),"aria-pressed":s===e,className:(0,f.cn)("btn",s===e?"btn-primary":"btn-outline-primary","px-4"),children:e},e))}),(0,r.jsx)("div",{className:"row justify-content-center",children:c.map(e=>(0,r.jsx)("div",{className:"col-md-6 col-lg-4 col-xl-3 d-flex mb-4",children:(0,r.jsx)(x,{location:e,compact:t})},e.id))})]}):null};var w=e.i(714533);e.i(984881);var C=e.i(366636);let N=({locations:e})=>{let a=s.default.location?.CustomLocationCard||C.default;return(0,r.jsx)("div",{className:"row justify-content-center",children:e.map(t=>(0,r.jsx)("div",{className:(0,w.default)({"col-xl-2-and-a-half":g.isMagicDeal,"col-xl-3":e.length>3&&!g.isMagicDeal,"col-lg-4":e.length>=3,"col-lg-5":e.length<3},"col-md-6 mb-4"),children:(0,r.jsx)(a,{location:t,count:e.length})},t.id))})};var S=e.i(271104);e.i(187141);var k=e.i(460524),A=e.i(936756);e.i(712619);let L=S.default?.locations.filter(e=>!0===e.primary)[0],F=S.default?.locations?.find(e=>"service"===e.location_type),B=S.default?.locations?.find(e=>"parts"===e.location_type),T=({location:e,dark:a=!1,type:t="sales",car:i})=>{let o;return(o=g.isFindMyCar||g.isHuntermotiveUsedCars||g.isArrowCarSales||g.isConquerorOffRoad?e:"service"===t&&F?F:"parts"===t&&B?B:L)?(0,r.jsx)("div",{className:(0,f.cn)(a?"bg-dark":"bg-white"),children:(0,r.jsx)("div",{className:"container-xl overflow-hidden bg-(--custom-map-card-background) px-0",children:(0,r.jsxs)("div",{className:"row d-flex align-items-center",children:[(0,r.jsx)("div",{className:"col-md-6 col-lg-7 col-12",children:s.default.map.googleMap.useGoogleMap?(0,r.jsx)(k.default,{}):(0,r.jsx)(u.default,{location:o,lg:!0})}),(0,r.jsx)("div",{className:"col-md-6 col-lg-5 col-12",children:(0,r.jsx)("div",{className:"py-md-3 p-3 py-5",children:(0,r.jsx)(A.default,{...o,headingClassName:`h3 mb-3 ${a?"text-white":""}`,buttonClassName:s.default.location.contactLinkClassName??`btn btn-block ${a?"btn-outline-light":"btn-primary"}`,car:i})})})]})})}):null};e.i(551099);let M=({location:e,car:a})=>{let t=A.default;return(0,r.jsxs)("div",{className:"flex flex-col lg:min-h-[500px] lg:flex-row lg:items-stretch",style:{background:"var(--location-hero-map-background-color)"},children:[(0,r.jsx)("div",{className:"w-full lg:w-1/2",children:s.default.map.googleMap.useGoogleMap?(0,r.jsx)(k.default,{location:e,fillHeight:!0}):(0,r.jsx)(u.default,{location:e,lg:!0,full:!0})}),(0,r.jsx)("div",{className:"flex w-full flex-col justify-center px-4 py-8 lg:w-1/2 lg:px-12",children:(0,r.jsx)("div",{className:"w-full max-w-xl",children:(0,r.jsx)(t,{...e,headingClassName:"h4 mb-3 text-left",car:a})})})]})};var I=e.i(268160),E=e.i(141974);function G(e,r){return void 0!==e&&!!r?.length}let P={primary:"primaryLocation",sales:"salesLocations",service:"serviceLocations",parts:"partsLocations","service-and-parts":"serviceAndPartsLocations",all:"locations"},z=(0,a.default)(()=>e.A(473056),{loadableGenerated:{modules:[116468]},ssr:!0}),W=({location:e,noContainer:a,car:t})=>e?g.isPoyserMotorGroup?(0,r.jsx)(M,{location:e,car:t}):g.isDarkMode?(0,r.jsx)(T,{location:e,dark:!0,car:t}):(0,r.jsx)(I.default,{location:e,noContainer:a,car:t}):null,R=({locations:e,filter:a,noContainer:i,exclude:o,selectedLocations:l})=>
1{if(0===e.length)return null;if(1===e.length)return(0,r.jsx)(W,{location:e[0],noContainer:i});if(t.default.location?.LocationSectionComponent)return(0,r.jsx)(t.default.location.LocationSectionComponent,{locations:e});if(g.isJohnHughesSite&&"all"===a)return(0,r.jsx)(z,{locations:G(o,l)?e:void 0});let n=s.default.location?.customMapComponent;return s.default.location?.useCustomMapInLocationsBlock&&n&&"all"===a?(0,r.jsx)(n,{locations:e}):s.default.location?.groupLocationTabs&&"all"===a?(0,r.jsx)(_,{locations:e,compact:s.default.location?.compactGroupLocationCards}):(0,r.jsx)("div",{className:"container pt-4",children:(0,r.jsx)(N,{locations:e})})},V=({filter:e,manufacturer:a,subtype:t,exclude:s,selectedLocations:i,primaryLocationId:l,noContainer:n,filteredLocations:c})=>{let d=(0,o.useLocations)();if("primary"===e){let e=l?d?.locations?.filter(e=>e.id===parseInt(l.toString())):[];return(0,r.jsx)(W,{location:e.length>0?e[0]:d?.primaryLocation,noContainer:n})}if("sales"===e||"service"===e||"parts"===e||"service-and-parts"===e||"all"===e){let o=function(e,r,a){let t=e[P[r]]??e?.locations??[];if((g.isStewartToyota||g.isRockdaleVolkswagen)&&"all"===r&&(t=t?.filter(e=>"sales"===e.location_type||"service"===e.location_type)),a?.manufacturer&&a?.manufacturer!=="false"&&(t=t.filter(e=>e.manufacturers?.includes((0,E.parameterize)(a.manufacturer)))),a?.subtype&&a?.subtype!=="false"&&(t=t.filter(e=>e.location_subtype?.includes(a.subtype))),G(a?.exclude,a?.selectedLocations)){var s;let e=(s=a.selectedLocations,s?.map(e=>Number(e))??[]);t=t.filter(r=>a.exclude?!e.includes(r.id):e.includes(r.id))}else a?.filteredLocations&&a?.filteredLocations?.length>0&&(t=t.filter(e=>!a?.filteredLocations?.includes(e.id)));return t}(d,e,{manufacturer:a,subtype:t,exclude:s,selectedLocations:i,filteredLocations:c});return(0,r.jsx)(R,{locations:o,filter:e,exclude:s,selectedLocations:i})}{let a=d?.locations?.filter(r=>`${r.id}`===e)[0];return(0,r.jsx)(W,{location:a??d?.primaryLocation,noContainer:n})}};e.s(["FilteredLocationsBlock",0,V,"SingleLocationSection",0,W,"default",0,({block:e,noContainer:a})=>{let{filter:t="primary",manufacturer:s,subtype:o,primaryLocationId:l,exclude:n,selectedLocations:c,filteredLocations:d}=e.data;return(0,r.jsx)(i.default,{tunes:e.tunes,isInRow:!0,children:(0,r.jsx)(V,{filter:t,manufacturer:s,subtype:o,exclude:n,selectedLocations:c,primaryLocationId:l,noContainer:a,filteredLocations:d})})}],268817)},286346,670442,e=>{"use strict";var r=e.i(406320);e.s(["EmailInput",()=>r.default],286346);var a=e.i(186847);e.s(["PhoneInput",()=>a.default],670442)},463241,e=>{"use strict";var r=e.i(563705),a=e.i(464645),t=e.i(271104),s=e.i(755131),i=e.i(68646),o=e.i(342404),l=e.i(475728),n=e.i(88801),c=e.i(164140);e.i(670686);var d=e.i(724107),u=e.i(474702),m=e.i(667568),h=e.i(998380),p=e.i(615190),f=e.i(491315);let g={primary:"bg-primary",secondary:"bg-secondary",muted:"bg-muted",danger:"bg-danger",success:"bg-success",warning:"bg-warning",info:"bg-info",light:"bg-light",dark:"bg-dark",white:"bg-white"},x={primary:"text-primary",secondary:"text-secondary",muted:"text-muted",danger:"text-danger",success:"text-success",warning:"text-warning",info:"text-info",light:"text-light",dark:"text-dark",white:"text-white"},b=(e,r)=>e?.variant&&"custom"!==e.variant?r[e.variant]??"":"",v=e=>e?.variant==="custom"&&!!e.custom,y=e=>e?`#${e}`:void 0;var j=e.i(372581),_=e.i(72003),w=e.i(691290),C=e.i(913185);let N=/\[([a-zA-Z0-9_-]+)\]/g,S=(e,r)=>{switch(e){case"primary_image":return r.primary_image_url??r.images?.[0]?.image?.url??"";case"stock_tag":return r.tag??r.status??"";case"location":return r.location_name??r.location?.name??"";case"features":return r.features??[];case"simple_body":return(0,w.getBodyDisplayValue)(r)||r.simple_body;case"engine_size":case"engine_size_litres":return(0,j.resolveCarEngineDisplacementDisplay)(r);case"model-year":return r.year;case"street":return r.location?.address?.street??t.default.locations.find(e=>e.id===r.location_id)?.address?.street??"";default:return r[e]}},k=(e,r)=>{if(null==r||""===r)return"";if(Array.isArray(r))return r.filter(Boolean).join(", ");
1if("number"==typeof r)return"price"===e?r>10?(0,_.toCurrency)(r):"":"km"===e?`${(0,_.addComma)(r)}${(0,C.getDistanceUnits)()}`:"views"===e?`${r} views`:"seats"===e?`${r} Seats`:"stocknum"===e?`Stock No: ${r}`:String(r);let a=String(r);return"km"===e?`${(0,_.addComma)(r)}${(0,C.getDistanceUnits)()}`:"views"===e?`${a} views`:"seats"===e?`${a} Seats`:"stocknum"===e?`Stock No: ${a}`:a},A=e=>{let r=k("price",e.price);return{price:r,type:r?e.price_type??"":""}},L={price:e=>{let{type:a}=A(e);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.CarPrice,{car:e}),a?(0,r.jsxs)("span",{className:"text-muted mr-2 mb-1 text-xs font-extralight!",children:[" ",a]}):null]})}},F=(e,t,s)=>{let i=[],o=0,l=0;for(let n of Array.from(e.matchAll(N))){let c=n.index??0;c>o&&i.push(e.slice(o,c));let d=n[1];if(s&&d in s){let e=s[d];null!=e&&i.push((0,r.jsx)(a.Fragment,{children:e},l++))}else if(d in L){let e=L[d](t);null!=e&&i.push((0,r.jsx)(a.Fragment,{children:e},l++))}else{let e=k(d,S(d,t));e&&i.push(e)}o=c+n[0].length}return o<e.length&&i.push(e.slice(o)),i},B=e=>e.every(e=>"string"==typeof e&&""===e.trim());var T=e.i(757656);let M=({car:e,banner:a,absolute:s=!0,className:i})=>{var o,l;let n,c,d,u,m;if(!a?.enabled)return null;let h=F(a.template,e,{location:(n=t.default.locations.find(r=>r.dealership_slug===e.dealership_slug),c=e.city||n?.address?.city||t.default.address?.city||"",d=e.state||n?.address?.state||t.default.address?.state||"",c||d?(0,r.jsxs)("span",{children:[c,c&&d?", ":"",d&&(0,r.jsx)("span",{className:"font-weight-bold",children:d})]}):null)});if(0===h.length||B(h))return null;let{className:f,style:j}=(o=a.bgColor,l=a.textColor,u=(0,p.cn)(b(o,g),b(l,x)),m={},v(o)&&(m.backgroundColor=y(o?.custom)),v(l)&&(m.color=y(l?.custom)),{className:u,style:Object.keys(m).length?m:void 0}),_=!!j?.backgroundColor||!!a.bgColor?.variant&&"custom"!==a.bgColor.variant;return(0,r.jsxs)("div",{className:(0,p.cn)("small d-flex align-items-center px-2 py-1",s?"position-absolute bottom-0 left-0 w-100":"mb-2 w-100",_?f:(0,p.cn)("bg-black/60 text-white",f),i),style:j,children:[(0,r.jsx)(T.FaMapMarkerAlt,{size:16,className:"mr-2 shrink-0"}),(0,r.jsx)("span",{children:h})]})},I={1:"col-span-1",2:"col-span-2",3:"col-span-3",4:"col-span-4",5:"col-span-5",6:"col-span-6",7:"col-span-7",8:"col-span-8",9:"col-span-9",10:"col-span-10",11:"col-span-11",12:"col-span-12"},E=({attribute:e,index:a,colored:s})=>{let i=s?`-${t.default.slug}`:"",o=`var(--first-tab-background-color${i}, var(--first-tab-background-color))`,l=`var(--first-tab-border-color${i}, var(--first-tab-background-color${i}, var(--first-tab-border-color)))`,n=`var(--first-tab-border-radius${i}, var(--first-tab-border-radius))`,c=`var(--first-tab-text-color${i}, var(--first-tab-text-color))`,d=`var(--other-tabs-background-color${i}, var(--other-tabs-background-color))`,u=`var(--other-tabs-border-color${i}, var(--other-tabs-border-color))`,m=`var(--other-tabs-border-radius${i}, var(--other-tabs-border-radius))`,h=`var(--other-tabs-text-color${i}, var(--other-tabs-text-color))`;return(0,r.jsx)("div",{className:"small mr-1 mb-1 px-2 py-1","data-testid":e,style:{borderRadius:0===a?n:m,border:`1px solid ${0===a?l:u}`,background:0===a?o:d,color:0===a?c:h},children:e})};e.s(["CarSearchCard",0,({car:e,config:t,href:j,className:_,priority:w=!1,colored:C})=>{let T,G=(T=t.image.template,T.replace(N,(r,a)=>a in L?"":k(a,S(a,e)))),P=t.image.banner,z=j??e.path??"",W=t.items.findIndex(e=>e.template?.includes("[price]")),R=!G||(0,p.isNewArrivalImage)(G),V=f.enableSearchImageCarousel&&!R&&(e.thumbnails?.length??0)>1;return(0,r.jsxs)("div",{className:(0,p.cn)("relative flex h-full w-100 flex-col overflow-hidden rounded border","bg-[var(--car-search-item-background)] [border:var(--car-search-item-border)]","shadow-[0_2px_8px_0_rgba(99,99,99,0.2)]","transition-all duration-300 ease-in-out","hover:-translate-y-1 hover:scale-[1.01]","[&_.btn]:transition-all [&_.btn]:duration-300 [&_.btn]:ease-in-out",_),children:[(0,r.jsxs)("div",{className:"position-relative w-100",style:{aspectRatio:"4 / 3"},children:[V?(0,r.jsx)(i.default,{car:e,image_url:G,priority:w,href:z,fill:!0,dotsAboveOverlay:!!P?.enabled}):(0,r.jsxs)(h.default,{href:z,className:"unstyled position-relative d-block h-100 w-100",children:[(0,r.jsx)(o.default,{car:e}),R?(0,r.jsx)(l.default,{car:e,showRequestPhotos:!0,className:"!absolute inset-0 h-full w-full !pb-0"}):(0,r.jsx)(s.default,{src:G,alt:`${e.year??""} ${e.make??""} ${e.model??""}`.trim()||"Vehicle",fill:!0,sizes:"(max-width: 768px) 100vw, 33vw",priority:w,style:{objectFit:"cover"}})]}),P?.enabled&&(0,r.jsx)(M,{car:e,banner:P,absolute:!0})]}),(0,r.jsxs)("div",{className:"d-flex flex-column flex-grow-1 p-2",children:[t.items.map((t,s)=>{let i;return(0,r.jsxs)(a.Fragment,{children:[s===W&&(0,r.jsx)(c.WasCarPrice,{car:e,className:"mb-0"}),"badges"===t.displayAs?(0,r.jsx)("span",{children:0===(i=((e,r)=>{var a;let t,s=(t=[],e.replace(N,(e,r)=>(t.push(r),"")),(a=t).includes("body")&&a.includes("simple_body")&&r.body===r.simple_body?a.filter(e=>"body"!==e):a),i=[];for(let e of s){if("price"===e){let{price:a,type:t}
1=A(r),s=[a,t].filter(Boolean).join(" ");s&&i.push({key:e,value:s});continue}let a=S(e,r);if(Array.isArray(a))for(let r of a)r&&i.push({key:e,value:String(r)});else{let r=k(e,a);r&&i.push({key:e,value:r})}}return i})(t.template,e)).length?null:(0,r.jsx)("div",{className:"d-flex mb-1",style:{textTransform:"capitalize",flexWrap:"wrap"},"data-card-item":t.id,children:i.map((e,a)=>(0,r.jsx)(E,{attribute:e.value,index:a,colored:C},`${t.id}-${a}`))})}):(0,r.jsx)("span",{"data-card-item":t.id,children:((e,r)=>{var t;let s,i,o=F(e.template,r);if(0===o.length||B(o))return null;let{className:l,style:n}=(t=e.color,s=(0,p.cn)(b(t,x)),i={},v(t)&&(i.color=y(t?.custom)),{className:s,style:Object.keys(i).length?i:void 0});return(0,a.createElement)(e.tag,{className:(0,p.cn)((0,p.cn)(e.bold&&"font-weight-bold",e.italic&&"font-italic","mb-1"),l),style:n},...o)})(t,e)})]},t.id)}),-1===W&&(0,r.jsx)(c.WasCarPrice,{car:e,className:"mb-0"}),(0,d.eligibleForFinance)(e)&&!m.default.cars.hideFinanceRatesBox&&(0,r.jsx)(u.FinanceInfo,{car:e,outerClassName:"bg-primary-faded my-2"}),t.buttons.length>0&&(0,r.jsx)(n.default,{car:e,href:z,className:"mt-auto grid grid-cols-12 gap-2",buttons:t.buttons.map(({option:e,text:r,customHref:a,btnClassName:t,outerClassName:s,width:i,bgColor:o,textColor:l})=>{let n,c,d,u,m;return{option:e,text:r,customHref:a,btnClassName:(n=b(o,g),c=b(l,x),d=t??(n||v(o)?void 0:"btn-primary"),(0,p.cn)(d,n,c)||void 0),outerClassName:s??(u=Number(i),!i||Number.isNaN(u)||u<=0?I[12]:I[Math.min(12,Math.max(1,Math.round(u/100*12)))]),style:(m={},v(o)&&(m.backgroundColor=y(o?.custom),m.borderColor=y(o?.custom)),v(l)&&(m.color=y(l?.custom)),Object.keys(m).length?m:void 0)}})})]})]})}],463241)},602445,e=>{e.v({AnnouncementBarContainer:"AnnouncementBarStyled-module-scss-module__zwWUHq__AnnouncementBarContainer",AnnouncementBarLink:"AnnouncementBarStyled-module-scss-module__zwWUHq__AnnouncementBarLink",AnnouncementBarMessage:"AnnouncementBarStyled-module-scss-module__zwWUHq__AnnouncementBarMessage",DismissButton:"AnnouncementBarStyled-module-scss-module__zwWUHq__DismissButton"})},750475,99851,515472,574569,947138,794549,612036,e=>{"use strict";var r=e.i(563705),a=e.i(691290),t=e.i(209234),s=e.i(615190);e.s(["default",0,({car:e})=>{let i=[e?.badge,e?.series].filter(Boolean).join(" ");if(i)return(0,r.jsx)("h4",{className:"h6 font-weight-bold mb-2",children:(0,t.default)(i)});let o=[e.colour,(0,a.getBodyDisplayValue)(e)].filter(Boolean).join(" ");return o?(0,r.jsx)("h4",{className:(0,s.cn)("h6 font-weight-bold mb-2"),children:(0,t.default)(o)}):null}],99851),e.s([],750475);var i=e.i(164140),o=e.i(78937),l=e.i(728488),n=e.i(72003),c=e.i(465316),d=e.i(491315);e.s(["ComprehensiveCarInsurance",0,({car:e,variant:a="search",reducedPrice:t})=>{let s=(0,l.useReducedPrice)(e);if(!d.isAutograbMarketplace||!(0,o.inStock)(e)||!e.price||e.price<=0)return null;let i=Math.round(.07*(t??s??e.price)),u=Math.round(i/52),m=Math.round(i/12);return"vdp"===a?(0,r.jsxs)("div",{className:"mt-1 flex flex-col gap-1",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-end gap-x-2 gap-y-0",children:[(0,r.jsxs)("div",{className:"flex items-end",children:[(0,r.jsx)(c.ResponsiveH4,{className:"text-primary mg-custom-sidebar-price m-0",children:(0,n.toCurrency)(u)}),(0,r.jsx)("span",{className:"text-primary ml-1",children:"/wk"})]}),(0,r.jsxs)("div",{className:"flex items-end",children:[(0,r.jsx)("span",{className:"text-primary text-xl font-semibold",children:(0,n.toCurrency)(m)}),(0,r.jsx)("span",{className:"text-primary ml-1",children:"/month"})]})]}),(0,r.jsx)("span",{className:"text-[var(--car-sidebar-price-type)]",children:"Comprehensive Car Insurance"})]}):(0,r.jsxs)("div",{className:"mb-1 flex flex-col",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-2 gap-y-0",children:[(0,r.jsxs)("p",{className:"mb-0 text-lg font-bold",children:[(0,n.toCurrency)(u),"/wk"]}),(0,r.jsxs)("p",{className:"mb-0 text-sm font-semibold text-gray-700",children:[(0,n.toCurrency)(m),"/mo"]})]}),(0,r.jsx)("small",{className:"text-xs text-gray-500",children:"Comprehensive Car Insurance"})]})}],515472);var u=e.i(640115),m=e.i(724107);e.s(["CarPricePopup",0,({car:e})=>(0,m.weeklyPayment)(e)?(0,r.jsx)(u.FinancePopup,{car:e,financeLender:(0,m.financeLender)(e),hideAsterix:!1}):null],574569),e.s(["useTWGThemes",0,()=>{let e={"--color-muted-foreground":"var(--header-navLink-color-lg)","--color-foreground":"var(--header-navLink-hover-color)"};return d.isPeninsulaGroupSite&&(e={"--color-muted-foreground":"#cacaca","--color-foreground":"#fff"}),(d.isBrightonAuto||d.isFerntreeGullyAutomotive)&&(e={"--color-muted-foreground":"#b5b5b5","--color-foreground":"#919191"}),d.isOrangeVolkswagen&&(e={"--color-muted-foreground":"#102b71","--color-foreground":"#0b1d4b"}),(d.isTWGCars||d.isMG)&&(e={"--color-muted-foreground":"#eeeeee","--color-foreground":"#c2c2c2"}),(d.isAlbionParkRailGAC||d.isKlosterGAC||d.isGACCoffsHarbour)&&(e={"--color-muted-foreground":"#000000","--color-foreground":"#000000"}),d.isHighwayCars&&(e={"--color-foreground":"#000000"}),d.isToyota&&(e={"--color-foreground":"#000000"}),d.isValleyMotorGroup&&(e={"--color-muted-foreground":"#000000","--color-foreground":"var(--primary)",background:"var(--color-gray-100)"}),{vdpBreadcrumbs:e}}],947138);var h=e.i(464645),p=e.i(81385);e.i(670686);var f=e.i(435508),g=e.i(30586),x=e.i(175389),b=e.i(667568),v=e.i(265941),y=e.i(593806),j=e.i(998380),_=e.i(555028),w=e.i(389124),C=e.i(413604);e.s(["default",0,function({car:e}){let[t,o]=(0,h.useState)(!1),{autograbEnabled:l}=(0,y.usePlugins)(e),n=(0,w.checkConfigComponent)(["cars","CarPriceComponent"]),c=p.default.cars?.StickyCarPriceComponent||n;(0,h.useEffect)(()=>{let e=()=>{window.scrollY>=500?o(!0):o(!1)};return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]);let u=d.isJacksonMotorGroup;return d.isTWGGroup||d.isAutograbMarketplaceGroup||d.isCountryCars||b.default.cars.hideVDPStickyHeader?null:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:(0,s.cn)(C.default.StyledNavbar,"d-none navbar navbar-expand-lg navbar-light",t?C.default.NavUp:C.default.NavDown,p.default.cars?.CustomCarStickyHeader?"d-md-block":"d-sm-block"),children:p.default.cars?.CustomCarStickyHeader?(0,r.jsx)(p.default.cars.CustomCarStickyHeader,{car:e}):(0,r.jsxs)("div",{className:"position-relative container",style:{flexWrap:"nowrap"},children:[(0,r.jsx)("img",{className:C.default.HeaderImage,src:e.images[0].image.url,alt:e.name,loading:"lazy",height:74}),(0,r.jsxs)("div",{className:C.default.CarDetails+" ml-3",children:[(0,r.jsx)("h4",{className:"mb-0",children:e.name}),!d.isConquerorOffRoad&&(0,r.jsxs)("span",{children:[(0,i.getTransmission)(e)," ",(0,a.getBodyDisplayValue)(e)]})]}),(0,r.jsxs)("div",{className:C.default.CarPrice+" d-none d-sm-block ml-3",children:[c?(0,r.jsx)(c,{car:e}):(0,r.jsx)(i.CarPrice,{car:e}),(0,r.jsx)("div",{className:C.default.priceType,children:(0,r.jsxs)("span",{children:[" ",p.default.cars?.priceTypePrefix&&(0,r.jsx)(p.default.cars.priceTypePrefix,{}),p.default.cars?.overridePriceType?(0,r.jsx)(p.default.cars.overridePriceType,{car:e}):!b.default.cars.hidePriceType&&e.price_type]})})]}),(0,r.jsx)(g.ToyotaEquoteLegacyFinanceGate,{children:(0,m.eligibleForFinance)(e)&&!(0,_.excludeFinance)(e)&&(0,r.jsx)("div",{className:C.default.FinanceEstimate+" d-none d-lg-block ml-3",children:(0,r.jsxs)("span",{children:["est."," ",(0,r.jsxs)("span",{className:"font-weight-bold",children:["$",(0,m.weeklyPayment)(e),b.default.finance.perWeekString??"/wk"]})," ","based",(0,r.jsx)("br",{})," ",d.isSnowyRiver?"on":"on sample"," ",(0,r.jsxs)("span",{className:"font-weight-bold",children:[(0,m.comparisonRate)(e),"% p.a."]})]})})}),(0,r.jsx)(g.ToyotaEquoteLegacyFinanceGate,{children:b.default.showFinance&&(0,r.jsx)("div",{className:"d-none d-md-block ml-3",children:(0,r.jsx)(f.FinanceOptionsButton,{car:e,buttonStyle:"btn btn-block btn-primary px-3 py-2",buttonSize:"",text:b.default.cars.financeButtonText||"Get Finance",dialogClassName:"mt-12!"})})}),(0,v.tradeinEnabled)(e,l)&&!u&&(0,r.jsx)("div",{className:"d-none d-md-block ml-3",children:(0,r.jsx)(j.default,{href:(0,x.resolveTradeInUrl)(e),className:"btn btn-block btn-outline-primary px-3 py-2",children:(0,r.jsx)("span",{className:"whitespace-nowrap",children:b.default.cars.VDPTradeInButton?.text??"Trade-In Valuation"})})})]})})})}],794549);var N=e.i(271104),S=e.i(184948),k=e.i(602445);let A=({message:e,linkText:a,linkUrl:t})=>{let[i,o]=(0,h.useState)(!1);return(0,r.jsx)("div",{className:(0,s.cn)(k.default.AnnouncementBarContainer,i?"d-none":"d-block"),children:(0,r.jsxs)("div",{className:"d-flex container-xl py-3",children:[(0,r.jsxs)("div",{className:"ml-1 ml-xl-0 mr-auto",children:[(0,r.jsx)("span",{className:k.default.AnnouncementBarMessage,children:e}),t&&(0,r.jsx)(S.default,{className:k.default.AnnouncementBarLink,href:t,children:a})]}),(0,r.jsx)("button",{className:k.default.DismissButton,onClick:()=>void o(!0),children:"X"})]})})},L=N.default;e.s(["default",0,({carLocation:e})=>
1{if(L.locations.filter(e=>e.primary)[0].address.city!==e.city){let a=(0,r.jsxs)("span",{children:["Located at ",(0,r.jsx)("b",{children:e.city})]}),t=e.place_url;return(0,r.jsx)(A,{message:a,linkText:"Get Directions",linkUrl:t})}return null}],612036)},51789,e=>{"use strict";var r=e.i(563705),a=e.i(464645),t=e.i(184948),s=e.i(81385),i=e.i(667568),o=e.i(674879),l=e.i(129182),n=e.i(209234),c=e.i(615190);e.i(194628),e.s(["default",0,({title:e,links:d=[],className:u="container-xl pt-4 pb-4 pb-md-0"})=>(0,r.jsx)("section",{className:(0,c.cn)(u,l.hasOverlappingLogo&&!s.default.cars?.customFullWidthCarHeader&&!i.default.cars.showFeaturesBanner&&"pt-5"),children:(0,r.jsx)(o.Breadcrumb,{children:(0,r.jsxs)(o.BreadcrumbList,{children:[(0,r.jsx)(o.BreadcrumbItem,{children:(0,r.jsx)(o.BreadcrumbLink,{asChild:!0,children:(0,r.jsx)(t.default,{href:"/",children:"Home"})})}),(0,r.jsx)(o.BreadcrumbSeparator,{}),d&&d.map(e=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(o.BreadcrumbItem,{children:(0,r.jsx)(o.BreadcrumbLink,{asChild:!0,children:(0,r.jsx)(t.default,{href:e.link,children:(0,n.default)(e.name)})})}),(0,r.jsx)(o.BreadcrumbSeparator,{})]},e.name)),(0,r.jsx)(o.BreadcrumbItem,{children:(0,r.jsx)(o.BreadcrumbPage,{children:e})})]})})})])},537059,(e,r,a)=>{r.exports=e.r(866648).Uint8Array},691703,(e,r,a)=>{r.exports=function(e){var r=-1,a=Array(e.size);return e.forEach(function(e,t){a[++r]=[t,e]}),a}},189431,(e,r,a)=>{r.exports=function(e){var r=-1,a=Array(e.size);return e.forEach(function(e){a[++r]=e}),a}},172569,(e,r,a)=>{var t=e.r(790227),s=e.r(537059),i=e.r(854302),o=e.r(688941),l=e.r(691703),n=e.r(189431),c=t?t.prototype:void 0,d=c?c.valueOf:void 0;r.exports=function(e,r,a,t,c,u,m){switch(a){case"[object DataView]":if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)break;e=e.buffer,r=r.buffer;case"[object ArrayBuffer]":if(e.byteLength!=r.byteLength||!u(new s(e),new s(r)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+r);case"[object Error]":return e.name==r.name&&e.message==r.message;case"[object RegExp]":case"[object String]":return e==r+"";case"[object Map]":var h=l;case"[object Set]":var p=1&t;if(h||(h=n),e.size!=r.size&&!p)break;var f=m.get(e);if(f)return f==r;t|=2,m.set(e,r);var g=o(h(e),h(r),t,c,u,m);return m.delete(e),g;case"[object Symbol]":if(d)return d.call(e)==d.call(r)}return!1}},56677,(e,r,a)=>{r.exports=function(e,r){for(var a=-1,t=r.length,s=e.length;++a<t;)e[s+a]=r[a];return e}},255802,(e,r,a)=>{var t=e.r(854302);r.exports=function(e,r){for(var a=e.length;a--;)if(t(e[a][0],r))return a;return -1}},26454,(e,r,a)=>{var t=e.r(255802),s=Array.prototype.splice;r.exports=function(e){var r=this.__data__,a=t(r,e);return!(a<0)&&(a==r.length-1?r.pop():s.call(r,a,1),--this.size,!0)}},470778,(e,r,a)=>{var t=e.r(255802);r.exports=function(e){var r=this.__data__,a=t(r,e);return a<0?void 0:r[a][1]}},312570,(e,r,a)=>{var t=e.r(255802);r.exports=function(e){return t(this.__data__,e)>-1}},231364,(e,r,a)=>{var t=e.r(255802);r.exports=function(e,r){var a=this.__data__,s=t(a,e);return s<0?(++this.size,a.push([e,r])):a[s][1]=r,this}},11292,(e,r,a)=>{var t=e.r(984059),s=e.r(26454),i=e.r(470778),o=e.r(312570),l=e.r(231364);function n(e){var r=-1,a=null==e?0:e.length;for(this.clear();++r<a;){var t=e[r];this.set(t[0],t[1])}}n.prototype.clear=t,n.prototype.delete=s,n.prototype.get=i,n.prototype.has=o,n.prototype.set=l,r.exports=n},238799,(e,r,a)=>{var t=e.r(11292);r.exports=function(){this.__data__=new t,this.size=0}},385974,(e,r,a)=>{r.exports=function(e){var r=this.__data__,a=r.delete(e);return this.size=r.size,a}},17062,(e,r,a)=>{r.exports=function(e){return this.__data__.get(e)}},67649,(e,r,a)=>{r.exports=function(e){return this.__data__.has(e)}},450949,(e,r,a)=>{var t=e.r(56677),s=e.r(450369);r.exports=function(e,r,a){var i=r(e);return s(e)?i:t(i,a(e))}},204145,(e,r,a)=>{r.exports=function(e,r){for(var a=-1,t=null==e?0:e.length,s=0,i=[];++a<t;){var o=e[a];r(o,a,e)&&(i[s++]=o)}return i}},536436,(e,r,a)=>{r.exports=function(){return[]}},734355,(e,r,a)=>{var t=e.r(204145),s=e.r(536436),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;
1r.exports=o?function(e){return null==e?[]:t(o(e=Object(e)),function(r){return i.call(e,r)})}:s},196518,(e,r,a)=>{r.exports=function(e,r){for(var a=-1,t=Array(e);++a<e;)t[a]=r(a);return t}},267711,(e,r,a)=>{var t=e.r(273800),s=e.r(875912);r.exports=function(e){return s(e)&&"[object Arguments]"==t(e)}},181412,(e,r,a)=>{var t=e.r(267711),s=e.r(875912),i=Object.prototype,o=i.hasOwnProperty,l=i.propertyIsEnumerable;r.exports=t(function(){return arguments}())?t:function(e){return s(e)&&o.call(e,"callee")&&!l.call(e,"callee")}},309757,(e,r,a)=>{r.exports=function(){return!1}},576703,(e,r,a)=>{var t=e.r(866648),s=e.r(309757),i=a&&!a.nodeType&&a,o=i&&r&&!r.nodeType&&r,l=o&&o.exports===i?t.Buffer:void 0;r.exports=(l?l.isBuffer:void 0)||s},968786,(e,r,a)=>{var t=e.r(273800),s=e.r(667504),i=e.r(875912),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,r.exports=function(e){return i(e)&&s(e.length)&&!!o[t(e)]}},740278,(e,r,a)=>{r.exports=e.r(866648)["__core-js_shared__"]},336342,(e,r,a)=>{var t,s=e.r(740278),i=(t=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";r.exports=function(e){return!!i&&i in e}},938829,(e,r,a)=>{var t=Function.prototype.toString;r.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},782241,(e,r,a)=>{var t=e.r(633722),s=e.r(336342),i=e.r(881476),o=e.r(938829),l=/^\[object .+?Constructor\]$/,n=Object.prototype,c=Function.prototype.toString,d=n.hasOwnProperty,u=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");r.exports=function(e){return!(!i(e)||s(e))&&(t(e)?u:l).test(o(e))}},964060,(e,r,a)=>{r.exports=function(e,r){return null==e?void 0:e[r]}},666228,(e,r,a)=>{var t=e.r(782241),s=e.r(964060);r.exports=function(e,r){var a=s(e,r);return t(a)?a:void 0}},474958,(e,r,a)=>{r.exports=e.r(666228)(e.r(866648),"Map")},221543,(e,r,a)=>{r.exports=e.r(666228)(Object,"create")},114199,(e,r,a)=>{var t=e.r(221543);r.exports=function(){this.__data__=t?t(null):{},this.size=0}},188006,(e,r,a)=>{r.exports=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=!!r,r}},221647,(e,r,a)=>{var t=e.r(221543),s=Object.prototype.hasOwnProperty;r.exports=function(e){var r=this.__data__;if(t){var a=r[e];return"__lodash_hash_undefined__"===a?void 0:a}return s.call(r,e)?r[e]:void 0}},7329,(e,r,a)=>{var t=e.r(221543),s=Object.prototype.hasOwnProperty;r.exports=function(e){var r=this.__data__;return t?void 0!==r[e]:s.call(r,e)}},520066,(e,r,a)=>{var t=e.r(221543);r.exports=function(e,r){var a=this.__data__;return this.size+=+!this.has(e),a[e]=t&&void 0===r?"__lodash_hash_undefined__":r,this}},283845,(e,r,a)=>{var t=e.r(114199),s=e.r(188006),i=e.r(221647),o=e.r(7329),l=e.r(520066);function n(e){var r=-1,a=null==e?0:e.length;for(this.clear();++r<a;){var t=e[r];this.set(t[0],t[1])}}n.prototype.clear=t,n.prototype.delete=s,n.prototype.get=i,n.prototype.has=o,n.prototype.set=l,r.exports=n},313910,(e,r,a)=>{var t=e.r(283845),s=e.r(11292),i=e.r(474958);r.exports=function(){this.size=0,this.__data__={hash:new t,map:new(i||s),string:new t}}},400882,(e,r,a)=>{r.exports=function(e){var r=typeof e;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e}},203737,(e,r,a)=>{var t=e.r(400882);r.exports=function(e,r){var a=e.__data__;return t(r)?a["string"==typeof r?"string":"hash"]:a.map}},611606,(e,r,a)=>{var t=e.r(203737);r.exports=function(e){var r=t(this,e).delete(e);return this.size-=!!r,r}},960896,(e,r,a)=>{var t=e.r(203737);r.exports=function(e){return t(this,e).get(e)}},222052,(e,r,a)=>{var t=e.r(203737);r.exports=function(e){return t(this,e).has(e)}},33491,(e,r,a)=>{var t=e.r(203737);r.exports=function(e,r){var a=t(this,e),s=a.size;return a.set(e,r),this.size+=+(a.size!=s),this}},677461,(e,r,a)=>{var t=e.r(313910),s=e.r(611606),i=e.r(960896),o=e.r(222052),l=e.r(33491);function n(e){var r=-1,a=null==e?0:e.length;for(this.clear();++r<a;){var t=e[r];this.set(t[0],t[1])}}n.prototype.clear=t,n.prototype.delete=s,n.prototype.get=i,n.prototype.has=o,n.prototype.set=l,r.exports=n},264509,(e,r,a)=>{var t=e.r(11292),s=e.r(474958),i=e.r(677461);r.exports=function(e,r){var a=this.__data__;if(a instanceof t){var o=a.__data__;if(!s||o.length<199)return o.push([e,r]),this.size=++a.size,this;a=this.__data__=new i(o)}return a.set(e,r),this.size=a.size,this}},585166,(e,r,a)=>{var t=e.r(11292),s=e.r(238799),i=e.r(385974),o=e.r(17062),l=e.r(67649),n=e.r(264509);function c(e){var r=this.__data__=new t(e);this.size=r.size}c.prototype.clear=s,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=l,c.prototype.set=n,r.exports=c}
1,953656,(e,r,a)=>{r.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},371624,(e,r,a)=>{r.exports=function(e){return this.__data__.has(e)}},445397,(e,r,a)=>{var t=e.r(677461),s=e.r(953656),i=e.r(371624);function o(e){var r=-1,a=null==e?0:e.length;for(this.__data__=new t;++r<a;)this.add(e[r])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,r.exports=o},681260,(e,r,a)=>{r.exports=function(e,r){for(var a=-1,t=null==e?0:e.length;++a<t;)if(r(e[a],a,e))return!0;return!1}},934770,(e,r,a)=>{r.exports=function(e,r){return e.has(r)}},688941,(e,r,a)=>{var t=e.r(445397),s=e.r(681260),i=e.r(934770);r.exports=function(e,r,a,o,l,n){var c=1&a,d=e.length,u=r.length;if(d!=u&&!(c&&u>d))return!1;var m=n.get(e),h=n.get(r);if(m&&h)return m==r&&h==e;var p=-1,f=!0,g=2&a?new t:void 0;for(n.set(e,r),n.set(r,e);++p<d;){var x=e[p],b=r[p];if(o)var v=c?o(b,x,p,r,e,n):o(x,b,p,e,r,n);if(void 0!==v){if(v)continue;f=!1;break}if(g){if(!s(r,function(e,r){if(!i(g,r)&&(x===e||l(x,e,a,o,n)))return g.push(r)})){f=!1;break}}else if(!(x===b||l(x,b,a,o,n))){f=!1;break}}return n.delete(e),n.delete(r),f}},807959,(e,r,a)=>{var t=/^(?:0|[1-9]\d*)$/;r.exports=function(e,r){var a=typeof e;return!!(r=null==r?0x1fffffffffffff:r)&&("number"==a||"symbol"!=a&&t.test(e))&&e>-1&&e%1==0&&e<r}},984059,(e,r,a)=>{r.exports=function(){this.__data__=[],this.size=0}},854302,(e,r,a)=>{r.exports=function(e,r){return e===r||e!=e&&r!=r}},205308,(e,r,a)=>{var t=e.r(633722),s=e.r(667504);r.exports=function(e){return null!=e&&s(e.length)&&!t(e)}},633722,(e,r,a)=>{var t=e.r(273800),s=e.r(881476);r.exports=function(e){if(!s(e))return!1;var r=t(e);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}},667504,(e,r,a)=>{r.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},515747,(e,r,a)=>{var t=e.r(968786),s=e.r(390257),i=e.r(444478),o=i&&i.isTypedArray;r.exports=o?s(o):t},734118,(e,r,a)=>{var t=e.r(196518),s=e.r(181412),i=e.r(450369),o=e.r(576703),l=e.r(807959),n=e.r(515747),c=Object.prototype.hasOwnProperty;r.exports=function(e,r){var a=i(e),d=!a&&s(e),u=!a&&!d&&o(e),m=!a&&!d&&!u&&n(e),h=a||d||u||m,p=h?t(e.length,String):[],f=p.length;for(var g in e)(r||c.call(e,g))&&!(h&&("length"==g||u&&("offset"==g||"parent"==g)||m&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||l(g,f)))&&p.push(g);return p}},686772,(e,r,a)=>{var t=Object.prototype;r.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},600888,(e,r,a)=>{r.exports=function(e,r){return function(a){return e(r(a))}}},670954,(e,r,a)=>{r.exports=e.r(600888)(Object.keys,Object)},724699,(e,r,a)=>{var t=e.r(686772),s=e.r(670954),i=Object.prototype.hasOwnProperty;r.exports=function(e){if(!t(e))return s(e);var r=[];for(var a in Object(e))i.call(e,a)&&"constructor"!=a&&r.push(a);return r}},364093,(e,r,a)=>{var t=e.r(734118),s=e.r(724699),i=e.r(205308);r.exports=function(e){return i(e)?t(e):s(e)}},163464,(e,r,a)=>{var t=e.r(450949),s=e.r(734355),i=e.r(364093);r.exports=function(e){return t(e,i,s)}},794207,(e,r,a)=>{var t=e.r(163464),s=Object.prototype.hasOwnProperty;r.exports=function(e,r,a,i,o,l){var n=1&a,c=t(e),d=c.length;if(d!=t(r).length&&!n)return!1;for(var u=d;u--;){var m=c[u];if(!(n?m in r:s.call(r,m)))return!1}var h=l.get(e),p=l.get(r);if(h&&p)return h==r&&p==e;var f=!0;l.set(e,r),l.set(r,e);for(var g=n;++u<d;){var x=e[m=c[u]],b=r[m];if(i)var v=n?i(b,x,m,r,e,l):i(x,b,m,e,r,l);if(!(void 0===v?x===b||o(x,b,a,i,l):v)){f=!1;break}g||(g="constructor"==m)}if(f&&!g){var y=e.constructor,j=r.constructor;y!=j&&"constructor"in e&&"constructor"in r&&!("function"==typeof y&&y instanceof y&&"function"==typeof j&&j instanceof j)&&(f=!1)}return l.delete(e),l.delete(r),f}},158396,(e,r,a)=>{r.exports=e.r(666228)(e.r(866648),"DataView")},666118,(e,r,a)=>{r.exports=e.r(666228)(e.r(866648),"Promise")},645510,(e,r,a)=>{r.exports=e.r(666228)(e.r(866648),"Set")},920824,(e,r,a)=>{r.exports=e.r(666228)(e.r(866648),"WeakMap")},597246,(e,r,a)=>{var t=e.r(158396),s=e.r(474958),i=e.r(666118),o=e.r(645510),l=e.r(920824),n=e.r(273800),c=e.r(938829),d="[object Map]",u="[object Promise]",m="[object Set]",h="[object WeakMap]",p="[object DataView]",f=c(t),g=c(s),x=c(i),b=c(o),v=c(l),y=n;
1(t&&y(new t(new ArrayBuffer(1)))!=p||s&&y(new s)!=d||i&&y(i.resolve())!=u||o&&y(new o)!=m||l&&y(new l)!=h)&&(y=function(e){var r=n(e),a="[object Object]"==r?e.constructor:void 0,t=a?c(a):"";if(t)switch(t){case f:return p;case g:return d;case x:return u;case b:return m;case v:return h}return r}),r.exports=y},435831,(e,r,a)=>{var t=e.r(585166),s=e.r(688941),i=e.r(172569),o=e.r(794207),l=e.r(597246),n=e.r(450369),c=e.r(576703),d=e.r(515747),u="[object Arguments]",m="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;r.exports=function(e,r,a,f,g,x){var b=n(e),v=n(r),y=b?m:l(e),j=v?m:l(r);y=y==u?h:y,j=j==u?h:j;var _=y==h,w=j==h,C=y==j;if(C&&c(e)){if(!c(r))return!1;b=!0,_=!1}if(C&&!_)return x||(x=new t),b||d(e)?s(e,r,a,f,g,x):i(e,r,y,a,f,g,x);if(!(1&a)){var N=_&&p.call(e,"__wrapped__"),S=w&&p.call(r,"__wrapped__");if(N||S){var k=N?e.value():e,A=S?r.value():r;return x||(x=new t),g(k,A,a,f,x)}}return!!C&&(x||(x=new t),o(e,r,a,f,g,x))}},785549,(e,r,a)=>{var t=e.r(435831),s=e.r(875912);r.exports=function e(r,a,i,o,l){return r===a||(null!=r&&null!=a&&(s(r)||s(a))?t(r,a,i,o,e,l):r!=r&&a!=a)}},201305,(e,r,a)=>{var t=e.r(785549);r.exports=function(e,r){return t(e,r)}},671127,e=>{e.v({Border:"BrandsGrid-module-scss-module__OZn5Yq__Border",BorderMotos:"BrandsGrid-module-scss-module__OZn5Yq__BorderMotos",BorderOurBrands:"BrandsGrid-module-scss-module__OZn5Yq__BorderOurBrands",BorderOurPartners:"BrandsGrid-module-scss-module__OZn5Yq__BorderOurPartners",BorderTrucks:"BrandsGrid-module-scss-module__OZn5Yq__BorderTrucks"})},3773,e=>{e.v({EmblaContainer:"CarHeading-module-scss-module__OnMpnW__EmblaContainer",EmblaSlide:"CarHeading-module-scss-module__OnMpnW__EmblaSlide",EmblaThumbSlide:"CarHeading-module-scss-module__OnMpnW__EmblaThumbSlide",EmblaViewport:"CarHeading-module-scss-module__OnMpnW__EmblaViewport",TWGGroupCars:"CarHeading-module-scss-module__OnMpnW__TWGGroupCars",Video:"CarHeading-module-scss-module__OnMpnW__Video",cursorPointer:"CarHeading-module-scss-module__OnMpnW__cursorPointer",imgContainer:"CarHeading-module-scss-module__OnMpnW__imgContainer",lesVideo:"CarHeading-module-scss-module__OnMpnW__lesVideo",noMargins:"CarHeading-module-scss-module__OnMpnW__noMargins"})},708038,e=>{e.v({FinanceCalculator:"CarInfoTWG-module-scss-module__pxLkPq__FinanceCalculator"})},673624,e=>{e.v({tnCsColour:"CustomDisclaimer-module-scss-module__AgqvgW__tnCsColour"})},952404,e=>{e.v({Button:"SliderOverlay-module-scss-module__Z2lCJq__Button",OverlayStyle:"SliderOverlay-module-scss-module__Z2lCJq__OverlayStyle",TextWrapper:"SliderOverlay-module-scss-module__Z2lCJq__TextWrapper",caption:"SliderOverlay-module-scss-module__Z2lCJq__caption"})},203464,e=>{e.v({Border:"StatsBanner-module-scss-module__QQKtYW__Border",Stars:"StatsBanner-module-scss-module__QQKtYW__Stars",Wrapper:"StatsBanner-module-scss-module__QQKtYW__Wrapper"})}]);
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.