1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2324],{1047:(e,n,t)=>{"use strict";function r(e){return e.trim().toLowerCase().replace(/ä/g,"ae").replace(/ö/g,"oe").replace(/ü/g,"ue").replace(/Ã/g,"ss").replace(/Ã/g,"ae").replace(/Ã/g,"oe").replace(/Ã/g,"ue").replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"")}function l(e){if(!e)return e;let n={""":'"',"",":'"',"&":"&","'":"'","<":"<",">":">","ä":"\xe4","ö":"\xf6","ü":"\xfc","ë":"\xeb","Ä":"\xc4","Ö":"\xd6","Ü":"\xdc","Ë":"\xcb","ß":"\xdf"};return e.replace(/"|",|&|'|<|>|ä|ö|ü|ë|Ä|Ö|Ü|Ë|ß/g,e=>n[e])}t.d(n,{iT:()=>l,uy:()=>r})},2390:(e,n,t)=>{"use strict";t.d(n,{OM:()=>b,Tm:()=>v,vk:()=>y,wR:()=>w});var r=t(3648),l=t(207);function i(){let e=(0,r._)(["\n query GetSliderImages {\n homePageSliderImages(orderBy: { position: asc }) {\n id\n position\n image {\n url\n }\n imageMobile {\n url\n }\n title\n subTitle\n imageAltText\n teaserText\n url\n consumption\n }\n }\n"]);return i=function(){return e},e}function a(){let e=(0,r._)(["\n query GetMainNews {\n newsItems(orderBy: { position: asc }, where: { preview: { equals: false } }) {\n id\n title\n image {\n url\n }\n urlText\n url\n teaserText\n imageAltText\n }\n }\n"]);return a=function(){return e},e}function o(){let e=(0,r._)(['\n query GetAllNews {\n newsItems(orderBy: { position: asc }, \n where: { \n AND: [\n { title: { not: { equals: "" } } },\n { preview: { equals: false } }\n ]\n }) {\n id\n title\n teaserText\n image {\n url\n }\n imageAltText\n content {\n document\n }\n }\n }\n']);return o=function(){return e},e}function s(){let e=(0,r._)(['\n query GetAllNews {\n newsItems(orderBy: { position: asc }, \n where: { \n title: { not: { equals: "" } },\n }) {\n id\n title\n teaserText\n image {\n url\n }\n imageAltText\n content {\n document\n }\n }\n }\n']);return s=function(){return e},e}function u(){let e=(0,r._)(["\n query NewsItems($where: NewsItemWhereInput!) {\n newsItems(where: $where) {\n id\n title\n teaserText\n content {\n document(hydrateRelationships: true)\n }\n image {\n url\n }\n mobileImage {\n url\n }\n imageAltText\n }\n}\n"]);return u=function(){return e},e}function c(){let e=(0,r._)(["\n query GetAllLocations {\n locations {\n id\n name\n image {\n url\n }\n imageAltText\n locationName\n address\n region\n }\n }\n"]);return c=function(){return e},e}function m(){let e=(0,r._)(["\n query Locations($where: LocationWhereInput!) {\n locations(where: $where) {\n id\n name\n description {\n document\n }\n locationName\n openingHours {\n document\n }\n image {\n url\n }\n mobileImage {\n url\n }\n imageAltText\n address\n phone\n fax\n email\n location\n urlService\n region\n whatsApp\n metaTitle\n metaDescription\n }\n}\n"]);return m=function(){return e},e}function d(){let e=(0,r._)(["\n query GetMenuItems {\n menus {\n id\n name\n url\n position\n openInNewTab\n parent {\n id\n }\n }\n }\n"]);return d=function(){return e},e}function h(){let e=(0,r._)(["\n query GetOfferContainers {\n offerContainers( orderBy: { position: asc }, where: { preview: { equals: false } }) {\n id\n title\n teaser\n image {\n url\n }\n imageAltText\n position\n }\n } \n"]);return h=function(){return e},e}function p(){let e=(0,r._)(["\n query GetOffersOfContainer($where: VehicleOfferWhereInput!) {\n vehicleOffers(orderBy: { position: asc }, where: $where) {\n id\n offerContainer {\n title\n teaser\n phoneNumber\n emailAddress\n offerText {\n document\n }\n }\n position\n image {\n url\n }\n imageMobile {\n url\n }\n imageAltText\n vehicleName\n vehicleNameShort\n customerType\n consumption\n co2Value\n co2Label\n fuel\n upholstery\n color\n power\n displacement\n buyingPrice\n leasingPayment\n monthlyPayment\n superscriptMonthlyPayment\n months\n mileage\n smallPrint\n superscriptSmallPrint\n highlights {\n document\n }\n }\n }\n"]);return p=function(){return e},e}function f(){let e=(0,r._)(["\n query GetFinancingOffersOfContainer($where: FinancingOfferWhereInput!) {\n financingOffers(orderBy: { position: asc }, where: $where) {\n id\n offerContainer {\n title\n teaser\n phoneNumber\n emailAddress\n offerText {\n document\n }\n }\n position\n image {\n url\n }\n imageMobile {\n url\n }\n imageAltText\n vehicleName\n vehicleNameShort\n customerType\n consumption\n co2Value\n co2Label\n fuel\n upholstery\n color\n power\n displacement\n vehiclePrice\n downPayment\n firstPayment\n monthlyPayment\n numberMonthlyPayments\n finalPayment\n superscriptMonthlyPayment\n months\n mileage\n smallPrint\n superscriptSmallPrint\n annualInterest\n effectiveInterest\n nettoLoanAmount\n totalAmount\n highlights {\n document\n }\n }\n }\n"]);return f=function(){return e},e}function g(){let e=(0,r._)(["\n query GetModelDetails($where: vehicleModelWhereInput!) {\n vehicleModels(where: $where) {\n id\n modelName\n brand\n title\n image {\n url\n }\n imageMobile {\n url\n }\n imageAltText\n description {\n document(hydrateRelationships: true)\n }\n offers {\n id\n offerContainer {\n title\n teaser\n phoneNumber\n emailAddress\n offerText {\n document\n }\n }\n position\n image {\n url\n }\n imageMobile {\n url\n }\n imageAltText\n vehicleName\n vehicleNameShort\n customerType\n consumption\n co2Value\n co2Label\n fuel\n upholstery\n color\n power\n displacement\n buyingPrice\n leasingPayment\n monthlyPayment\n superscriptMonthlyPayment\n months\n mileage\n smallPrint\n superscriptSmallPrint\n highlights {\n document\n }\n }\n financingOffers {\n id\n offerContainer {\n title\n teaser\n phoneNumber\n emailAddress\n offerText {\n document\n }\n }\n position\n image {\n url\n }\n imageMobile {\n url\n }\n imageAltText\n vehicleName\n vehicleNameShort\n customerType\n consumption\n co2Value\n co2Label\n fuel\n upholstery\n color\n power\n displacement\n vehiclePrice\n downPayment\n firstPayment\n monthlyPayment\n numberMonthlyPayments\n finalPayment\n superscriptMonthlyPayment\n months\n mileage\n smallPrint\n superscriptSmallPrint\n annualInterest\n effectiveInterest\n nettoLoanAmount\n totalAmount\n highlights {\n document\n }\n }\n details {\n document(hydrateRelationships: true)\n }\n }\n }\n"]);return g=function(){return e},e}function x(){let e=(0,r._)(["\n query GetAllVehicleModels {\n vehicleModels {\n id\n brand\n modelName\n }\n }\n"]);return x=function(){return e},e}(0,l.J1)(i()),(0,l.J1)(a());let y=(0,l.J1)(o());(0,l.J1)(s()),(0,l.J1)(u());let w=(0,l.J1)(c());(0,l.J1)(m());let b=(0,l.J1)(d()),v=(0,l.J1)(h());(0,l.J1)(p()),(0,l.J1)(f()),(0,l.J1)(g()),(0,l.J1)(x())},3921:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var r=t(5155);t(2115);
1var l=t(5239),i=t(2619),a=t.n(i),o=t(4323),s=t(6665),u=t(2241),c=t(2390),m=t(1047);function d(){let{loading:e,error:n,data:t}=(0,u.IT)(c.vk);return n?(0,r.jsxs)("div",{className:"container mx-auto px-4 py-8 my-20",children:[(0,r.jsx)(o.default,{}),(0,r.jsxs)("div",{className:"text-center text-red-600",children:["Fehler beim Laden der News: ",n.message]})]}):(0,r.jsxs)("div",{className:"container mx-auto px-4 py-8 my-20",children:[(0,r.jsx)(o.default,{}),(0,r.jsx)("h1",{className:"text-4xl lg:text-6xl font-[800] mb-8",children:"Aktuelle News."}),e?(0,r.jsx)("div",{className:"flex justify-center items-center min-h-[400px]",children:(0,r.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-gray-900"})}):(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:null==t?void 0:t.newsItems.map(e=>(0,r.jsxs)(a(),{href:"/news/".concat((0,m.uy)(e.title)),className:"group block bg-white shadow-lg rounded-lg overflow-hidden hover:shadow-xl transition-shadow duration-300",children:[(0,r.jsx)("div",{className:"relative h-48",children:(0,r.jsx)(l.default,{src:"".concat(e.image.url),alt:e.imageAltText||e.title,fill:!0,loader:s.default,className:"object-cover group-hover:scale-105 transition-transform duration-300"})}),(0,r.jsxs)("div",{className:"p-6",children:[(0,r.jsx)("h2",{className:"text-xl font-bold mb-3 group-hover:text-performance-blue transition-colors",children:e.title}),(0,r.jsx)("p",{className:"text-gray-600 line-clamp-3",children:e.teaserText})]})]},e.id))})]})}},4323:(e,n,t)=>{"use strict";t.d(n,{default:()=>s});var r=t(5155),l=t(2619),i=t.n(l),a=t(63),o=t(1047);let s=e=>{let{currentSegment:n=null}=e,t=(0,a.usePathname)().split("/").filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1));return(0,r.jsx)("nav",{"aria-label":"Brotkrumen-Navigation",children:(0,r.jsxs)("ol",{className:"flex flex-wrap list-none p-0 py-5",children:[(0,r.jsxs)("li",{children:[(0,r.jsx)(i(),{href:"/",className:"text-performance-blue hover:underline",children:"Startseite"}),(0,r.jsx)("span",{className:"mx-2","aria-hidden":"true",children:"/"})]}),t.map((e,t,l)=>(0,r.jsx)("li",{children:t===l.length-1?null!==n?(0,r.jsx)("span",{"aria-current":"page",children:(0,o.iT)(n)}):(0,r.jsx)("span",{"aria-current":"page",children:decodeURIComponent(e)}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i(),{href:"/".concat(l.slice(0,t+1).map(e=>e.toLowerCase()).join("/")),className:"text-performance-blue hover:underline",children:e}),(0,r.jsx)("span",{className:"mx-2","aria-hidden":"true",children:"/"})]})},t))]})})}},4652:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),!function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{default:function(){return s},getImageProps:function(){return o}});let r=t(8140),l=t(5040),i=t(1356),a=r._(t(1124));function o(e){let{props:n}=(0,l.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,t]of Object.entries(n))void 0===t&&delete n[e];return{props:n}}let s=i.Image},5239:(e,n,t)=>{"use strict";t.d(n,{default:()=>l.a});var r=t(4652),l=t.n(r)},6665:(e,n,t)=>{"use strict";function r(e){let{src:n,width:t,quality:r}=e;try{let e;if(n.startsWith("http://")||n.startsWith("https://"))e=new URL(n).hostname;else{if(!n.startsWith("/"))return console.error("Ung\xfcltiges Bild-URL-Format:",n),"/images/fallback.jpg";e=null}if(e&&!["localhost","homepage-backend","www.widmannbewegt.de","127.0.0.1"].includes(e))return console.error("Unzul\xe4ssiger Host f\xfcr Bild:",e),"/images/fallback.jpg"}catch(e){return console.error("Fehler bei Bild-URL-Validierung:",e),"/images/fallback.jpg"}return"https://www.widmannbewegt.de/_next/image?url=".concat(n.replace("www.widmannbewegt.de","homepage-backend:3002").replace("https","http").replaceAll(":","%3A").replaceAll("/","%2F"),"&w=").concat(t,"&q=").concat(r||75)}t.r(n),t.d(n,{default:()=>r})},8260:(e,n,t)=>{Promise.resolve().then(t.bind(t,3921))}},e=>{e.O(0,[2619,1356,2478,8441,1255,7358],()=>e(e.s=8260)),_N_E=e.O()}]);
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.