1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42509,e=>{"use strict";var t=e.i(563705),a=e.i(464645),s=e.i(271104),o=e.i(755131),i=e.i(916270),l=e.i(88106),r=e.i(965666),n=e.i(994322),c=e.i(610798),d=e.i(667568),u=e.i(640162),m=e.i(249509),h=e.i(438932),p=e.i(843511),g=e.i(998380),f=e.i(491345),b=e.i(615190),x=e.i(848733);let v=({onClick:e,enabled:a})=>(0,t.jsx)(p.default,{left:!0,inside:!0,arrowClassName:"d-flex",className:a?"":"disabled",onClick:e}),y=({onClick:e,enabled:a})=>(0,t.jsx)(p.default,{right:!0,inside:!0,arrowClassName:"d-flex",className:a?"":"disabled",onClick:e}),j=({location:e})=>(0,t.jsxs)("div",{className:"d-flex flex-column col-12 px-0",style:{height:"100%"},children:[(0,t.jsx)("div",{className:"position-relative flex-fill locationSlide",style:{height:400},children:(0,t.jsx)(o.default,{src:e?.image?.image?.url,alt:e.name,unoptimized:!0,fill:!0,style:{objectFit:"cover"}})}),(0,t.jsxs)("div",{className:"d-flex justify-content-between align-items-center p-3",style:{position:"absolute",bottom:0,left:0,right:0,background:"rgba(0,0,0,0.8)"},children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h5",{className:"text-light mb-1",children:e.name}),(0,t.jsx)(f.StarRating,{stars:parseFloat(e.reviews.average_rating),count:e.reviews.count,textClassName:"ml-2 small text-white",flexJustifyClassname:"justify-content-start mb-0"})]}),(0,t.jsx)(g.default,{href:d.default.location?.generateLocationSlug?.(e.slug)||`/our-locations/${e.slug}`,className:"btn btn-light btn-sm font-weight-bold ml-4",children:"View Details"})]})]}),_=({showControls:e=!0,salesLocation:s=!0,serviceLocation:o=!1,partsLocation:i=!1,preTitle:l="Find Us",preTitleClassName:r,title:n="Our Location",description:p,buttonText:f="View Locations",shuffleLocations:_=!1})=>{let[w,S]=(0,c.default)({skipSnaps:!1,loop:!0,align:"start"},[]),[N,k]=(0,a.useState)(!1),[C,L]=(0,a.useState)(!1),T=(0,a.useCallback)(()=>S&&S.scrollPrev(),[S]),W=(0,a.useCallback)(()=>S&&S.scrollNext(),[S]),{salesLocations:A,serviceLocations:F,partsLocations:I}=(0,u.useLocations)(),{show:P}=(0,m.useSilence)(),B=[...s?A:[],...o?F:[],...i?I:[]].filter(e=>e.image?.image?.url&&e.reviews.average_rating);_&&B.sort(()=>.5-Math.random());let D=(0,a.useCallback)(()=>{S&&(k(S.canScrollPrev()),L(S.canScrollNext()))},[S]);return(0,a.useEffect)(()=>{S&&(D(),S.on("select",D))},[S,D]),(0,t.jsxs)("div",{className:"container",children:[B.map((e,a)=>(0,t.jsx)(h.LocationSchema,{location:e},`location-schema-${a}`)),(0,t.jsxs)("div",{className:"row px-3",children:[(0,t.jsxs)("div",{className:(0,b.cn)("col-lg-6 d-flex flex-column align-items-center justify-content-center col-12 bg-white p-5 text-center",x.default.locationsSliderLeft),children:[(0,t.jsx)("h6",{className:(0,b.cn)("text-primary",r),children:l}),(0,t.jsx)("h3",{children:n}),(0,t.jsx)("p",{children:p}),(0,t.jsx)(g.default,{href:d.default.location?.generateLocationSlug?.(void 0)||"/our-locations",className:"btn btn-primary btn-rounded px-4 py-2",children:f})]}),(0,t.jsx)("div",{className:(0,b.cn)("col-lg-6 position-relative col-12 px-0",x.default.locationsSliderRight),children:(0,t.jsxs)("div",{className:"h-100 overflow-hidden",ref:w,children:[(0,t.jsx)("div",{className:"d-flex h-100",children:P&&B.map((e,a)=>(0,t.jsx)(j,{location:e},a))}),e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v,{onClick:T,enabled:N}),(0,t.jsx)(y,{onClick:W,enabled:C})]})]})})]})]})},w=()=>(0,t.jsx)("div",{className:"py-5",style:{background:"black"},children:(0,t.jsx)(_,{title:"Our Locations",salesLocation:!0,serviceLocation:!0,partsLocation:!0,description:"From Wangaratta to Yarrawonga, Benalla, Mansfield, and Kyabram â find the Value Auto Group dealership closest to you for sales, service, and parts.",shuffleLocations:!0,locations:[]})});var S=e.i(491315),N=e.i(670341),k=e.i(749846),C=e.i(757656),L=e.i(246140);let T=({name:e,title:a,label:s})=>{let{tabSearchParam:o}=(0,l.useTabs)({tabLength:2,param:"filter"}),i=(0,k.usePathname)(),r=(0,k.useRouter)(),n=S.isBartonsWebsite?"/our-locations/":"/dealerships/",c=i.slice(n.length),d=e===a,u=d?"":(0,b.createSlug)(e),m=`${n}${u}${o?`?filter=${o}`:""}`,h=d?e:s??e;return(0,t.jsxs)("div",{onClick:()=>r.replace(m,{scroll:!1}),className:(0,b.cn)(L.default.NavItem,(u===c||""===c&&d)&&L.default.ActiveCategory,"d-flex align-items-center justify-content-between unstyled col-12 px-3 py-3"),children:[h.toUpperCase()," ",(0,t.jsx)(C.FaCaretRight,{className:"ml-2"})]})},W=({navigationOptions:e})=>{let{tabSearchParam:a}=(0,l.useTabs)({tabLength:3,param:"filter"}),s="All Cities";(S.isTWGCars||S.isPeninsulaGroupSite)&&"city"===a&&(s="All Locations");let o=S.isFilterByIsland?"All Islands":a?"city"===a?s:"state"===a?"All States":"All Brands":"All Locations";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(T,{name:o,title:o}),e.map((e,a)=>(0,t.jsx)(T,{name:e.name,label:e.label,title:o},a))]})},A=({navigationOptions:e})=>(0,t.jsx)("div",{className:"row d-none d-lg-block mr-lg-2 mb-lg-0 mr-0 mb-3 rounded",style:{borderTop:"1px solid #dee2e6",borderLeft:"1px solid #dee2e6",borderRight:"1px solid #dee2e6",overflow:"hidden",marginLeft:"0"},children:(0,t.jsx)(W,{navigationOptions:e})});var F=e.i(41921);let I=({navigationOptions:e})=>{let[s,o]=(0,a.useState)(!1),i=(0,k.usePathname)(),l=S.isBartonsWebsite?"/our-locations/":"/dealerships/",r=i.slice(l.length),n=e.find(e=>(0,b.createSlug)(e.name)===r),c=n?(n.label??n.name).toUpperCase():"ALL LOCATIONS";return(0,t.jsxs)("div",{className:"d-block d-lg-none row mr-lg-2 mb-lg-0 mr-0 mb-3 rounded",style:{borderTop:"1px solid #dee2e6",borderLeft:"1px solid #dee2e6",borderRight:"1px solid #dee2e6",overflow:"hidden"},children:[(0,t.jsxs)("div",{className:(0,b.cn)(L.default.NavItem,"d-flex align-items-center justify-content-between unstyled col-12 px-3 py-3"),style:{background:"black",color:"white"},onClick:()=>o(!s),children:[c,(0,t.jsx)(C.FaCaretDown,{style:{transform:s?"rotate(-180deg)":"rotate(0deg)",transition:"transform 0.25s linear 0s"}})]}),(0,t.jsx)(F.CollapseContent,{isOpen:s,className:"w-100",children:(0,t.jsx)(W,{navigationOptions:e})})]})};var P=e.i(34991),B=e.i(210237);let D=(e,t)=>{let a=0;if(t){let s=e.findIndex(e=>e===t);s>0&&(a=s)}return a},O=({items:e,tabLabels:a})=>{let s=N.setBrandsToggleAsDefault?["brand","city"]:N.setBrandsToggleAsCityOnly?["city"]:["city","brand"],o=e||s,{navigate:i,tabSearchParam:r}=(0,l.useTabs)({tabLength:o.length,param:"filter"}),n=D(o,r),c=o.length,d=`${100*n/c}%`,u=`${100/c}%`,m={city:"CITY",brand:"BRAND",state:"STATE",island:"ISLAND",...a};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h5",{children:"Filter type"}),(0,t.jsx)("div",{className:"row ml-1",children:(0,t.jsx)(B.Tabs,{value:r||o[0],defaultValue:o[0],onValueChange:e=>i(e),className:"text-uppercase",style:{width:"88%",margin:"0.5rem 0 1rem 0"},children:(0,t.jsxs)(B.TabsList,{className:(0,b.cn)("relative isolate flex rounded-full border bg-transparent p-0","border-border"),style:{"--indicator-left":d,"--indicator-width":u},children:[(0,t.jsx)("div",{className:"bg-primary absolute inset-0 h-full rounded-full shadow-md transition-all duration-250 ease-in-out",style:{left:"var(--indicator-left)",width:"var(--indicator-width)",transform:"translateX(0)"}}),o.map((e,a)=>(0,t.jsx)(B.TabsTrigger,{value:e,className:(0,b.cn)("flex-1 rounded-full! py-2 uppercase","text-xs font-bold",P.default.sortByTabTrigger,a===n?"text-primary-foreground! data-[state=inactive]:text-primary-foreground! data-[state=active]:text-primary-foreground! relative z-20":"hover:text-[var(--foreground)]! data-[state=active]:hover:text-[var(--foreground)]!","data-[state=active]:bg-transparent!"),children:m[e]},e))]})})})]})},G=({cities:e,manufacturers:a,states:s=[],islands:o=[]})=>{let i,r=[];S.isBartonsWebsite?r=["brand"]:S.isTWGCars?(r=["city"],s.length>0&&r.push("state"),i={city:"LOCATIONS",state:"STATE"}):S.isFilterByIsland&&o.length>0?r=["island"]:N.setBrandsToggleAsCityOnly?(r=["city"],i={city:"LOCATIONS"}):(r=N.setBrandsToggleAsDefault?["brand","city"]:["city","brand"],N.showStateTab&&s.length>0&&r.push("state"),S.isPeninsulaGroupSite&&(i={city:"LOCATIONS"}));let{tabSearchParam:n}=(0,l.useTabs)({tabLength:r.length,param:"filter"}),c=D(r,n),d={city:e,brand:a,state:s,island:o}[r[c]];return(0,t.jsxs)(t.Fragment,{children:[N.showFilterToggle&&(0,t.jsx)(O,{items:r,tabLabels:i}),(0,t.jsx)(A,{navigationOptions:d}),(0,t.jsx)(I,{navigationOptions:d})]})},$=()=>{let e=N.bannerImages[s.default.slug],a=(0,i.useCloudinaryLoader)(e);if(!e)return(0,t.jsx)(t.Fragment,{});{if(S.isPeninsulaGroupSite||S.isFrizelleSunshineAutomotive||S.isBartonsWebsite){let a="Our Locations";return S.isPeninsulaGroupSite?a=s.default.name:S.isBartonsWebsite&&(a="Find Your Nearest Dealer Now"),(0,t.jsx)(r.default,{image:e,buttons:[],title:a})}let{src:i,loader:l}=a;return(0,t.jsx)(o.default,{src:i,alt:"Dealership banner",width:1920,height:700,loader:l,priority:!0})}},z=({cities:e,manufacturers:s,states:o=[],islands:i=[],containerClassName:l="container my-5",children:r})=>(0,t.jsx)("div",{className:l,children:(0,t.jsxs)("div",{className:"row",children:[N.showFilter&&(0,t.jsx)("div",{className:"col-lg-3 pr-lg-2 nsw-filter-col col-12 pr-2 pl-4",children:(0,t.jsx)(a.Suspense,{fallback:null,children:(0,t.jsx)(G,{cities:e,manufacturers:s,states:o,islands:i})})}),(0,t.jsx)("div",{className:(0,b.cn)("nsw-tab-location-info col-12 mx-auto px-4",N.showFilter?"col-lg-9":"col-lg-12"),children:r})]})}),q=()=>{let{tabSearchParam:e}=(0,l.useTabs)({param:"filter"}),a="brand"===e?"Our Brands":N.cityTitle,s=S.isServcoPreOwned?"Find a Pre-Owned dealership near you":"";return(0,t.jsx)(n.default,{title:a,subtitle:s,subtitleStyle:{fontSize:"1.5rem"}})};e.s(["OurDealershipsComponent",0,z,"default",0,({cities:e,manufacturers:s,states:o=[],islands:i=[],children:l})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)($,{}),N.showPageHeading&&(0,t.jsx)(a.Suspense,{fallback:(0,t.jsx)(n.default,{title:N.cityTitle,subtitle:"",subtitleStyle:{fontSize:"1.5rem"}}),children:(0,t.jsx)(q,{})}),(0,t.jsx)(z,{cities:e,manufacturers:s,states:o,islands:i,children:l}),S.isValueAutoGroup&&(0,t.jsx)(w,{})]})],42509)},670341,e=>{"use strict";e.i(271104),e.i(180),e.i(635757);var t=e.i(500949),a=e.i(333453),s=e.i(129182);e.i(615190);var o=e.i(491315);["albion-park-city-automotive","albion-park-motor-group","alto","australian-motors","auto-centre-townsville","automotive-direct-used-cars","andrew-simms-auckland-group","barry-bourke-motors","barossa-auto-group","bartons","bartons-commercials","bartons-new-energy-vehicles","bathurst-motor-group","bayside-euro
1pean-group","bayford-group","bellbowrie-motors","bergmans-auto-group","big-river-auto","blacklocks","booran-motors","brighton-auto","caloundra-city-autos","callaghan-motor-group","cardiff-motor-group","car-wow-wa","carlin-gazzard","central-coast-automotive","central-coast-motor-group","chery-sunbury","coastal-auto-group","cricks-noosa","cricks-transport-group","cricks-highway","cricks-nambour","cricks-sunshine-coast","cricks-tweed","duttons","dubbo-automotive-group","dc-motors","echuca-auto-group","rockhampton-auto-group","dove-automotive-group","eln-motor-group","far-west-auto","ferntree-gully-automotive","formula-direct","frizelle-sunshine-automotive-used-cars-direct","frizelle-sunshine-automotive","geissler-motors-group","gippsland-motor-group","golden-city-motors","grand-prix-auto-group","great-lakes-automotive","gunnings-automotive-group","gws-automotive-group","harrigan","harrison-motor-group","hfh-auto-group","highway-cars","hughes-car-sales","hunter-city-motor-group","huntermotive-group","jackson-motor-company","jefferson-automotive-group","keema-automotive-group","keema-isuzu-ute","klosters-raymond-terrace","klosters","lakeside-motoring-group","lawrences-motor-group","lucrum-automotive-group","macarthur-automotive","magic-enterprises","maughan-thiem","magnetic-motors","mantello-motor-group","melbourne-s-cheapest-cars","midwest-auto-group","mike-blewitt-group","motus-ballarat","motus-gippsland","pennant-hills-auto-traders","mount-barker-auto","national-capital-motors","northeast-burton-isuzu-ute","northeast-hino","northeast-iveco","northeast-shepparton","northeast-burton","northeast-sitrak","northeast-port-augusta-emanuele-bros","newcastle-motor-group","nq-auto-group","penfold","penfold-automotive-group","peninsula-dealer-group","perth-city-auto-group","peter-stevens-motorworld","peter-warren-automotive-regional","peter-warren","phoenix-motors","pickering-automotive-group","poyser-motor-group","prestige-automotive-group","q-automotive","rex-gorell","rockingham-auto","ryde-automotive-group","sci-fleet-motors","servco-pre-owned","shacks-motor-group","shepparton-automotive-group","snowy-river-caravans","south-morang-motor-group","south-nowra-auto-group","sunbury-ford","sydney-south-automotive","tait-auto-group","the-lane-group","tilford-auto-group","trans-eurokars","traralgon-automotive-group","trinity-auto-group","twg-cars","tynan-motors","valley-motor-group","value-auto-group","victory-group","wakeling-automotive","wangaratta-motor-group","wayne-phillis-automotive","werribee-western-automotive-group","west-coast-automotive-group","west-orange-motors","westco-motors","western-automotive-group","xpeng","northeast-motor-group","goulburn-country-motors","keystar-group","ogr","von-bibra","mid-coast-automotive-group","cricks-maroochydore"].includes(s.WEBSITE.slug);let i=!["tynan-motors"].includes(s.WEBSITE.slug),l=!o.isBrightonAuto&&!o.isCallaghanMotorsGroup&&!o.isCarWowWA,r=![o.isBellbowrieMotors,o.isFrizelleSunshineAutomotive,o.isVictoryGroup,o.isServcoPreOwned,o.isFrizelleSunshineAutomotiveUsedCarsDirect,o.isSnowyRiverCaravans].some(Boolean),n=!!o.isPeterWarrenNSWGroupSites||!!o.isSciFleetMotors||!!o.isAutomotiveDirectUsedCars||!!o.isRockhamptonAutoGroup,c=!o.isFrizelleSunshineAutomotive,d=o.isSnowyRiverCaravans?"Caravan Dealers Near Me":o.isCarWowWA?"Our Dealership":o.isNortheastShepparton?"Our Location":o.isPeterWarren||o.isMacarthurAutomotive||o.isPenfold?"Our Locations":"Our Dealerships",u=["bellbowrie-motors","tilford-auto-group","central-coast-automotive","lakeside-motoring-group","wayne-phillis-automotive","gunnings-automotive-group","q-automotive","the-lane-group","rockingham-auto","keema-automotive-group","victory-group"].includes(s.WEBSITE.slug),m=["cricks-transport-group","northeast-iveco","northeast-shepparton","northeast-sitrak","northeast-burton-isuzu-ute","northeast-port-augusta-emanuele-bros","snowy-river-caravans"].includes(s.WEBSITE.slug),h=["tynan-motors","hfh-auto-group","sci-fleet-motors"].includes(s.WEBSITE.slug),p=!!o.isPeterWarrenNSWGroupSites,g=!!o.isTWGCars,f=o.isKlostersRaymondTerrace||o.isServcoPacific||o.isNortheastBurtonIsuzuUte||o.isNortheastIveco||o.isNortheastShepparton||o.isNationalCapitalGWM||o.isNationalCapitalSuzuki,b=[2170];s.WEBSITE.slug,e.s(["bannerImages",0,{bartons:"https://res.cloudinary.com/total-dealer/image/upload/w_2048,f_auto,q_auto/v1688612693/td_next/bartons/contact_o4tqzb","q-automotive":"https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1737432817/td_next/q-automotive/Isuzu_Banner-rtjqc_dxnv2a","tynan-motors":"https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1686704453/td_next/tynan-motors/tynan-dealerships_lzpffr","hfh-auto-group":"https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1704863800/td_next/hfh-auto-group/pw1bapi6tpxc5dpteqkp","tilford-auto-group":"https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1695612729/td_next/tilford-auto-group/ford-f150_oc5quu_yiybvn","peninsula-dealer-group":"https://res.cloudinary.com/total-dealer/image/upload/b_black,o_70,q_80/v1683079156/td_next/peninsula-dealer-group/kia-hero_xr6xb2","central-coast-automotive":"https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1695953577/td_next/central-coastal-automotive/locations_ox4fj8","frizelle-sunshine-automotive":"https://res.cloudinary.com/total-dealer/image/upload/f_auto,q_auto/v1699408264/td_next/frizelle-sunshine-automotive/loacations_fgjaje"},"cityTitle",0,d,"customUrls",0,{"macarthur-automotive":{"Automotive Direct Used Cars":"https://www.automotivedirectusedcars.com.au/"},"peter-warren":{"Automotive Direct Used Cars":"https://www.automotivedirectusedcars.com.au/","Peter Warren Automotive Parts & Accessories":"/vehicle-parts-and-accessories"},"sydney-south-automotive":{"Rockdale Automotive Direct Used Cars":"http://www.rockdalegwm.com.au/"}
1,"sydney-north-shore-automotive":{"Sydney North Shore Automotive":"/search/used-cars"},"rockingham-auto":{"Conqueror Off Road Perth":"https://www.conqueroroffroad.com.au/"},"q-automotive":{"Lismore MG":"https://www.lismoremg.com.au/","Lismore Toyota":"https://www.lismoretoyota.com.au/"}},"filterLocationsByQuery",0,(e,t)=>e.filter(e=>{let a=e.address?.postcode?.toString(),s=e.address,o=e.location_type;return e.name.toLowerCase().includes(t.toLowerCase())||a.includes(t.toLowerCase())||s.street.toLowerCase().includes(t.toLowerCase())||o.toLowerCase().includes(t.toLowerCase())}),"handleVisitWebsiteLink",0,(e,t)=>{if(o.isPeterWarrenNSW&&"Geely Liverpool"===e.name&&"service"===e.location_type)return"https://www.geelyliverpool.com.au/service";if(o.isPeterWarrenNSW&&"OMODA JAECOO Liverpool"===e.name&&"service"===e.location_type)return"https://www.omodajaecooliverpool.com.au/book-a-service/";if(o.isPeterWarrenNSW&&b.includes(e.id))return"";if(o.isPeterWarrenNSW&&"service"===e.location_type){let t=a.default.find(t=>t.name===e.name);return t?.url?t.url:"/service"}if(o.isTrinityAutoGroup&&"parts"===e.location_type&&!e.manufacturers.includes("jaguar"))return`${t?t.replace(/\/$/,""):""}/vehicle-parts-and-accessories`;else return t},"hasTabs",0,i,"hideWebsiteUrl",0,f,"hideWebsiteUrlForLocations",0,b,"locationConsolidation",0,(e,a)=>{let s=a?e.map(e=>{let{location_subtype:a}=e;return a.includes("pre-owned sales")&&(e.location_type="used"),{...e,name:(0,t.locationGroupName)(e)}}):e;return a?Object.entries(s.reduce((e,t)=>{let{name:a}=t;return e[a]=e[a]||[],e[a].push(t),e},{})).map(([e,t])=>t.sort((e,t)=>{let a=["","sales","used","service","parts"];return a.indexOf(e.location_type)-a.indexOf(t.location_type)})):s.map(e=>[e])},"replaceMapWithImage",0,n,"setBrandsToggleAsCityOnly",0,m,"setBrandsToggleAsDefault",0,u,"showAllTabs",0,p,"showFilter",0,l,"showFilterToggle",0,r,"showPageHeading",0,c,"showSearchBar",0,h,"showStateTab",0,g])},931286,e=>{e.v({LogoImageContainer:"location-info-map-module-scss-module__WZRJ1a__LogoImageContainer",MapContainer:"location-info-map-module-scss-module__WZRJ1a__MapContainer"})},123790,e=>{e.v({LocationDetails:"location-info-with-tabs-module-scss-module__tibujG__LocationDetails",LogoImageContainer:"location-info-with-tabs-module-scss-module__tibujG__LogoImageContainer",MapContainer:"location-info-with-tabs-module-scss-module__tibujG__MapContainer",Tab:"location-info-with-tabs-module-scss-module__tibujG__Tab",TabAlt:"location-info-with-tabs-module-scss-module__tibujG__TabAlt",TabSlider1:"location-info-with-tabs-module-scss-module__tibujG__TabSlider1",TabSlider2:"location-info-with-tabs-module-scss-module__tibujG__TabSlider2",TabSlider3:"location-info-with-tabs-module-scss-module__tibujG__TabSlider3",TabSlider4:"location-info-with-tabs-module-scss-module__tibujG__TabSlider4"})},495692,e=>{"use strict";var t=e.i(563705),a=e.i(464645),s=e.i(271104),o=e.i(755131),i=e.i(670341),l=e.i(667568),r=e.i(757656),n=e.i(960052);e.i(816415);var c=e.i(713145);e.i(936756);var d=e.i(867486);e.i(39480);var u=e.i(438932),m=e.i(141974),h=e.i(998380);e.i(712619);var p=e.i(763103),g=e.i(615190),f=e.i(197081),b=e.i(904498);let x=({sortedLocations:e,selected:a})=>(0,t.jsxs)("div",{className:"row pt-3",children:[(0,t.jsx)("div",{className:"col-12 mb-2 mb-sm-0 mb-lg-2 mb-xl-0 col-sm-6 col-lg-12 col-xl-6",children:(0,t.jsx)(h.default,{href:`/contact-us/${(0,m.parameterize)(e[a]?.name.replace(/ - (Sales|Service|Parts)$/,"").replace("koda","skoda"))}`,className:(0,g.cn)("btn btn-primary btn-block",b.default.Button),children:"Contact Us"})}),(0,t.jsx)("div",{className:"col-sm-6 col-lg-12 col-xl-6",children:e.filter(e=>"service"===e.location_type).length>0?f.default.filter(t=>t.name===e[a]?.name.replace(/ - (Sales|Service|Parts)$/,""))[0]?(0,t.jsx)(h.default,{href:f.default.filter(t=>t.name===e[a]?.name.replace(/ - (Sales|Service|Parts)$/,""))[0].url,className:(0,g.cn)("btn btn-dark btn-block",b.default.Button),children:"Book a Service"}):(0,t.jsx)(h.default,{href:"/service",className:(0,g.cn)("btn btn-dark btn-block",b.default.Button),children:"Book a Service"}):(0,t.jsx)(t.Fragment,{})})]});var v=e.i(324831),y=e.i(834575);let j=({sortedLocations:e,selected:a})=>{let s=e[a],o=s?(0,y.getContactUsHref)(s):"/contact-us",i=(0,v.locationStockSearchHref)({locationName:s?.name,city:s?.address?.city,byCity:l.default.location?.locationStockSearchByCity}),r=l.default.location?.locationStockSearchHref??v.defaultSearchPath,n=!!l.default.location?.showLocationStockCta;return(0,t.jsxs)("div",{className:(0,g.cn)("grid grid-cols-1 gap-y-2 pt-3",n&&"sm:gap-x-4"),children:[(0,t.jsx)("div",{children:(0,t.jsx)(h.default,{href:o,className:"btn btn-primary w-full pt-2",children:"Contact Us"})}),n&&(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-y-2 sm:grid-cols-2 sm:gap-x-4",children:[(0,t.jsx)(h.default,{href:i,className:"btn btn-outline-primary w-full pt-2",children:(0,y.getLocationStockCtaLabel)(s)}),(0,t.jsx)(h.default,{href:r,className:"btn btn-outline-primary w-full pt-2",children:"View All Stock"})]})]})};var _=e.i(523654),w=e.i(107960),S=e.i(333453),N=e.i(491315);let k=({location:e})=>{let{href:a,icon:s,text:o}=(e=>{let a=S.default.filter(t=>t.name.toLowerCase()===e.name.toLowerCase())[0]?.url;if(N.isAutomotiveDirectUsedCars&&"sales"===e.location_type)return{href:"/search/used-cars/",icon:(0,t.jsx)(r.FaEnvelope,{className:"mr-2"}),text:"View Stock"};switch(e.location_type){case"service":return{href:a??"/service",icon:(0,t.jsx)(_.GiGears,{className:"mr-2"}),text:"Book a Service"};case"parts":return{href:"/vehicle-parts-and-accessories",icon:(0,t.jsx)(_.GiGears,{className:"mr-2"}),text:"Parts Enquiry"};default:return{href:"",icon:(0,t.jsx)(r.FaEnvelope,{className:"mr-2"}),text:"Contact Us"}}})(e),i=N.isPeterWarren||N.isAutomotiveDirectUsedCars||N.isSydneyNorthShoreAutomotive||N.isPenfold||N.isPeterWarrenAutomotiveRegional?"btn-primary":N.isSydneySouthAutomotive?"btn-green-contact":"btn-grey";return a?(0,t.jsxs)(h.default,{href:a,className:(0,g.cn)("btn btn-block py-2",i),style:{fontSize:"0.9rem"},children:[s,o]}):(0,t.jsxs)(w.default,{title:"Contact Us at "+e.name,btnClassName:(0,g.cn)("btn btn-block py-2",i),btnStyle:{fontSize:"0.9rem"},customMaxWidth:800,additionalFields:{name:"location_id",type:"hidden",specialValue:e.id},children:[s,o]})},C=({location:e})=>(0,t.jsx)("div",{className:"mt-3 flex justify-center",children:(0,t.jsxs)(w.default,{title:"Contact Us at "+e.name,btnClassName:"btn btn-outline-primary",customMaxWidth:800,additionalFields:{name:"location_id",type:"hidden",specialValue:e.id},children:[(0,t.jsx)(r.FaEnvelope,{className:"mr-2"})," Send Enquiry"]})});var L=e.i(931286);let T=({selectedLocation:e,replaceMapWithImage:a=!1,showAllTabs:i=!1,containerClassName:l="",fullWidth:n=!1}
1)=>{let c=s.default.dealership_websites.find(t=>t.name===e.name||e.manufacturers.includes(t.slug))?.logo?.url??!1;return N.isValueAutoGroup?null:(0,t.jsx)(t.Fragment,{children:e&&(0,t.jsx)("div",{className:(0,g.cn)("mt-lg-0 col-12 p-0",n?"col-12":i?"pl-xl-3 col-xl-6":"pl-lg-3 col-lg-7",l),children:(0,t.jsx)("div",{className:"nsw-tab-location-img w-100 overflow-hidden rounded border shadow-sm "+L.default.MapContainer,children:a?e.image?.image?.url?(0,t.jsx)("div",{className:"position-relative h-100 w-100",style:{minHeight:"400px"},children:(0,t.jsx)(o.default,{src:e.image.image.url,alt:e.name,className:"h-full w-full object-cover object-center",fill:!0})}):(0,t.jsx)("div",{className:"d-flex align-items-center justify-content-center mx-auto py-3 text-center "+L.default.LogoImageContainer,children:(0,t.jsxs)("div",{children:[c?(0,t.jsx)(o.default,{src:c,alt:e.name+" logo",height:200,width:200,className:"mx-auto h-auto w-80"}):(0,t.jsx)(r.FaCar,{size:200}),(0,t.jsx)("h2",{className:"mt-5",children:e.name})]})}):(0,t.jsx)(p.default,{location:e,lg:!0})})})})};var W=e.i(123790);e.s(["default",0,({detailClassName:e="",headingClassName:p="",location:f,url:b="",logo:v,hasTabs:y=!0,replaceMapWithImage:_=!1,showAllTabs:w=!1,twoColumnVariant:S=!1,stacked:L=!1})=>{let[A,F]=(0,a.useState)(0),[I,P]=(0,a.useState)(1);(0,a.useEffect)(()=>{F(0),P(f.length)},[f]);let B={1:W.default.TabSlider1,2:W.default.TabSlider2,3:W.default.TabSlider3,4:W.default.TabSlider4},D=L?"p-3 col-12":w?`py-3 ${S?"":"col-xl-6"}`:"p-3 col-lg-5";N.isPeterWarrenNSW;let O=(i.customUrls[s.default.slug]?i.customUrls[s.default.slug][f[A].name]:void 0)||b,G=!!(l.default.location?.landlinePhoneLabel&&f[A]?.contact_detail?.landline_phone);return(0,t.jsxs)("div",{className:"d-flex flex-column col-12 h-100 h-full",children:[f.map((e,a)=>(0,t.jsx)(u.LocationSchema,{location:e},`schema-${e.id??e.slug??a}`)),(0,t.jsxs)("div",{className:(0,g.cn)("row flex-grow-1",!L&&"h-100"),children:[!S&&(0,t.jsx)(T,{selectedLocation:f[A],replaceMapWithImage:_,showAllTabs:w,containerClassName:L?"mb-3":_?"d-xl-none mt-4 mb-1":"d-none",fullWidth:L}),(0,t.jsxs)("div",{className:(0,g.cn)("d-flex flex-column col-12 rounded border shadow-sm",!L&&"mb-lg-4 h-100 h-full",D),children:[(0,t.jsxs)("div",{className:"d-flex flex-column",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 pb-2",children:[(0,t.jsx)("h2",{className:(0,g.cn)("text-base! font-medium",p,"mb-0"),children:f[A]?.name}),(f[A]?.image?.image?.url||v?.webp?.url||v?.url)&&(0,t.jsx)(o.default,{src:f[A]?.image?.image?.url||v?.webp?.url||v?.url,alt:`${f[A]?.name} logo`,width:80,height:40,unoptimized:!0,className:"h-8 w-auto shrink-0 object-contain"})]}),!w&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("p",{className:"small text-muted text-lg-left mb-0",children:l.default.location?.hideDealerLicenseNumber?" ":f[A]?.location_type==="service"&&f[A]?.motor_vehicle_repairer?`${f[A].motor_vehicle_repairer}`:f[A]?.dealer_license_number?`${f[A].dealer_license_number}`:" "})})]}),(0,t.jsx)("div",{className:"text-secondary mt-2 flex-grow-1 text-left",children:w?(0,t.jsx)("div",{className:"d-flex justify-content-center container px-0",children:(0,t.jsx)("div",{className:"row w-100",children:f.map((a,s)=>(0,t.jsxs)("div",{className:`col-sm-6 col-12 col-xl-${12/f.length} d-flex flex-column mx-auto px-0`,children:[(0,t.jsx)("p",{className:"text-dark mt-2 mb-1 text-center",children:l.default.location?.locationTypeLabels?.[a.id]??(0,m.capitalize)(""===a.location_type?"sales":a.location_type)}),(0,t.jsx)("div",{className:(0,g.cn)(W.default.TabAlt,W.default.TabSlider1,"mb-3")}),(0,t.jsx)("div",{className:"flex-grow-1",children:(0,t.jsxs)("div",{className:W.default.LocationDetails,children:[(0,t.jsx)(d.Detail,{Icon:r.FaMapMarkerAlt,mb:"mx-1",children:(0,t.jsx)(d.LinkIfUrlExists,{href:a?.address?.place_url,children:(0,t.jsxs)("address",{children:[a?.address?.street,", ",(0,t.jsx)("br",{}),[a?.address?.city,a?.address?.state,a?.address?.postcode].join(", ")]})})}),(0,t.jsx)(d.Detail,{Icon:r.FaClock,mb:"mb-3 mx-1",children:(0,t.jsx)("div",{className:e,children:(0,t.jsx)(c.default,{hours:a?.contact_detail?.opening_hours,showFullHours:l.default.initialLocation?.showFullHours,location_type:a?.location_type,name:a?.name})})}),(0,t.jsx)(d.Detail,{Icon:r.FaPhone,mb:"mb-3 mx-1",children:(0,t.jsx)(h.default,{className:e,href:`tel:${a?.contact_detail?.phone??""}`,children:a?.contact_detail?.phone??""})}),(0,t.jsx)(d.Detail,{Icon:n.TbWorld,mb:"mx-1",textClassName:O?void 0:"text-white",children:O?(0,t.jsx)(h.default,{className:e,href:(0,i.handleVisitWebsiteLink)(a,O),children:"Visit Website"}):(0,t.jsx)(t.Fragment,{children:" "})}),!l.default.location?.hideDealerLicenseNumber&&(0,t.jsx)("div",{className:"d-flex align-items-center text-primary mx-1 mt-3",children:(0,t.jsx)("p",{className:"small text-muted text-lg-left text-center",children:a?.location_type==="service"&&a?.motor_vehicle_repairer?`${a.motor_vehicle_repairer}`:a?.dealer_license_number?`${a.dealer_license_number}`:null})})]})}),(0,t.jsx)("div",{className:"mt-auto "+(f.length>1?"mx-1":"mx-auto w-50"),children:N.isPeterWarrenNSW&&(0,t.jsx)(k,{location:a})})]},`Tab${s}`))})}):(0,t.jsxs)(t.Fragment,{children:[y&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"d-flex flex-row",children:f.map((e,a)=>(0,t.jsx)("div",{className:W.default.Tab+` ${A===a&&"text-dark"} text-center`,style:{width:`calc(100%/${I})`},onClick:()=>F(a),children:(0,t.jsx)("p",{className:"mb-1",children:l.default.location?.locationTypeLabels?.[e.i
1d]??(0,m.capitalize)(""===e.location_type?"sales":e.location_type)})},`Tab${a}`))}),(0,t.jsx)("div",{className:`${B[I]||W.default.TabSlider1} option${A} d-block mb-3`})]}),(0,t.jsxs)("div",{className:W.default.LocationDetails,children:[(0,t.jsx)(d.Detail,{Icon:r.FaMapMarkerAlt,mb:"0",children:(0,t.jsx)(d.LinkIfUrlExists,{href:f[A]?.address?.place_url,className:"text-dark",children:(0,t.jsxs)("address",{children:[f[A]?.address?.street," ",(0,t.jsx)("br",{}),[f[A]?.address?.city,f[A]?.address?.state].join(", ")," ",f[A]?.address?.postcode]})})}),(0,t.jsx)(d.Detail,{Icon:r.FaClock,children:(0,t.jsx)("div",{className:e,children:(0,t.jsx)(c.default,{hours:f[A]?.contact_detail?.opening_hours,showFullHours:l.default.initialLocation?.showFullHours,location_type:f[A]?.location_type,name:f[A]?.name})})}),f[A]?.contact_detail?.phone&&(0,t.jsx)(d.Detail,{Icon:r.FaPhone,mb:G?"mb-2":"0",children:(0,t.jsx)(h.default,{className:(0,g.cn)(e,"text-dark"),href:`tel:${f[A]?.contact_detail?.phone}`,children:f[A]?.contact_detail?.phone})}),G&&(0,t.jsx)(d.Detail,{Icon:r.FaPhone,mb:"0",children:(0,t.jsxs)("span",{className:e,children:[(0,t.jsxs)("span",{className:"font-weight-bold",children:[l.default.location.landlinePhoneLabel,":"]})," ",(0,t.jsx)(h.default,{className:(0,g.cn)(e,"text-dark"),href:`tel:${f[A]?.contact_detail?.landline_phone}`,children:f[A]?.contact_detail?.landline_phone})]})}),O||(0,i.handleVisitWebsiteLink)(f[A],O)?(0,t.jsxs)("div",{className:"d-flex align-items-center text-primary mt-3",children:[(0,t.jsx)(n.TbWorld,{}),"Â ",(0,t.jsx)(h.default,{className:"text-dark ml-3",href:(0,i.handleVisitWebsiteLink)(f[A],O),children:"Visit Website"})]}):(0,t.jsx)("div",{className:"py-3"}),N.isFrizelleSunshineAutomotive&&(0,t.jsx)(x,{sortedLocations:f,selected:A}),N.isSciFleetMotors&&(0,t.jsx)(C,{location:f[A]}),N.isNortheastAutoGroup&&(0,t.jsx)(j,{sortedLocations:f,selected:A})]})]})})]}),!S&&!L&&(0,t.jsx)(T,{selectedLocation:f[A],replaceMapWithImage:_,showAllTabs:w,containerClassName:_?"d-none d-xl-block mt-1 mb-4":"mt-1 mb-4"})]})]})}],495692)},276701,e=>{"use strict";var t=e.i(563705),a=e.i(749846),s=e.i(670341),o=e.i(464645),i=e.i(615190),l=e.i(495692),r=e.i(579240);let n=({filteredLocations:e,dealershipWebsites:a,stacked:n=!1})=>{let c=(0,s.locationConsolidation)(e,s.hasTabs).filter(e=>e[0].visible).map((e,o)=>{let r=e[0].name.replace(/ - (Sales|Service|Parts)$/i,"").trim(),c=a.find(e=>e.name?.toLowerCase()===r.toLowerCase()||r.toLowerCase().startsWith(e.name?.toLowerCase()+" - "))||a.find(t=>e[0].manufacturers.includes((0,i.createSlug)(t.make))),d=e.some(e=>s.hideWebsiteUrlForLocations.includes(e.id)),u=s.hideWebsiteUrl||d?null:c?.url,m=c?.logo;return(0,t.jsx)("div",{className:n?"h-full":"row",children:(0,t.jsx)(l.default,{headingClassName:"mb-1",detailClassName:"",location:e,url:u,logo:m,hasTabs:s.hasTabs,replaceMapWithImage:s.replaceMapWithImage,showAllTabs:s.showAllTabs,stacked:n})},o)});return(0,t.jsxs)(t.Fragment,{children:[s.showSearchBar&&(0,t.jsx)(o.Suspense,{fallback:null,children:(0,t.jsx)(r.default,{})}),n?(0,t.jsx)("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-2",children:c}):c]})},c=({locations:e,dealershipWebsites:o})=>{let i=(0,a.useSearchParams)().get("locationQuery")||"",l=(0,s.filterLocationsByQuery)(e,i);return(0,t.jsx)(n,{filteredLocations:l,dealershipWebsites:o})};e.s(["LocationTabsWithSearch",0,c,"default",0,c],276701)},246140,e=>{e.v({ActiveCategory:"nav-item-module-scss-module__26_tYq__ActiveCategory",ActiveFilter:"nav-item-module-scss-module__26_tYq__ActiveFilter",FilterTab:"nav-item-module-scss-module__26_tYq__FilterTab",List:"nav-item-module-scss-module__26_tYq__List",NavItem:"nav-item-module-scss-module__26_tYq__NavItem"})},579240,e=>{"use strict";var t=e.i(563705),a=e.i(464645),s=e.i(749846);e.s(["default",0,()=>{let[e,o]=(0,a.useState)({locationQuery:""}),i=(0,s.useSearchParams)(),l=(0,s.usePathname)(),r=(0,s.useRouter)();return(0,t.jsx)("div",{className:"row mb-3 justify-content-center justify-content-lg-start align-items-center",children:(0,t.jsx)("input",{type:"text",value:e.locationQuery,onChange:t=>{var a;let s,n,c,{name:d,value:u}=t.target,m={...e,[d]:u};
1o(m),a=m,s=new URLSearchParams(i),Object.keys(a).forEach(e=>{a[e]?s.set(e,a[e]):s.delete(e)}),c=(n=s.toString())?`${l}?${n}`:l,r.push(c)},className:"mr-auto form-control col-12 col-lg-4 mt-3 mt-lg-0",placeholder:"Search locations...",id:"locationQuery",name:"locationQuery"})})}])},848733,e=>{e.v({locationsSliderLeft:"LocationsSlider-module-scss-module__5S6D2q__locationsSliderLeft",locationsSliderRight:"LocationsSlider-module-scss-module__5S6D2q__locationsSliderRight"})},904498,e=>{e.v({Button:"LocationInfoWithTabs-module-scss-module__AsXnsW__Button",LocationDetails:"LocationInfoWithTabs-module-scss-module__AsXnsW__LocationDetails",MapContainer:"LocationInfoWithTabs-module-scss-module__AsXnsW__MapContainer",Tab:"LocationInfoWithTabs-module-scss-module__AsXnsW__Tab",TabSlider1:"LocationInfoWithTabs-module-scss-module__AsXnsW__TabSlider1",TabSlider2:"LocationInfoWithTabs-module-scss-module__AsXnsW__TabSlider2",TabSlider3:"LocationInfoWithTabs-module-scss-module__AsXnsW__TabSlider3"})}]);
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.