PageSourceSearch

https://www.autohaus24.de/_next/static/chunks/pages/manager-e9bf5037024efd46.js

js autohaus24.de collected 2026-10-02 10:31:36 UTC 15,177 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9543],{69938:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/manager",function(){return c(13828)}])},10450:function(a,b,c){"use strict";var d=c(95477),e=c(78252),f=(0,e.default)({root:{color:"#A80416",position:"absolute",top:"0",left:"0",bottom:"0",right:"0",margin:"auto",width:"30px!important",height:"30px!important"}})(d.Z);b.Z=f},94949:function(a,b,c){"use strict";c.d(b,{Z:function(){return u}});var d=c(85893),e=c(67294),f=c(9008),g=c.n(f),h=c(11163),i=c(5152),j=c.n(i),k=c(25617),l=c(7297),m=c(19521);function n(){var a=(0,l.Z)(["\n .contact-form-button {\n     border-radius: 50%;\n     width: 78px;\n     height: 78px;\n     background-color: #A80416;\n     display: flex;\n     align-items: center;\n     justify-content: center;\n     box-shadow: 0 2px 4px 0 rgba(0,0,0,0.31);\n     position: fixed;\n     right: 150px;\n     bottom: 50px;\n     cursor: pointer;\n     z-index: 1000;\n\n    &.disabled {\n        background-color: #f0eee8;\n        pointer-events: none;\n    }\n\n     img {\n         width: 38px;\n         height: 38px;\n     }\n     @media (max-width: 1024px) {\n        right: 10px;\n        bottom: 100px;\n        width: 58px;\n        height: 58px;\n    }\n }\n .wrap {\n     width: 350px;\n     height: 660px;\n     padding: 18px;\n     background: #fff;\n     position: fixed;\n     z-index: 10000;\n     bottom: 40px;\n     right: -370px;\n     border-radius: 20px;\n     opacity: 0;\n     box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);\n     transition: .5s all;\n     &.visible {\n         right: 10px;\n         opacity: 1;\n         @media (max-width: 767px) {\n            right: auto;\n         }\n         @media (max-width: 576px) {\n            right: auto;\n            height: 100%;\n            border-radius: 0;\n            width: 100%;\n         }\n     }\n     @media (max-width: 767px) {\n         position: relative;\n         bottom: auto;\n         right: auto;\n         width: 310px;\n         height: 550px;\n     }\n }\n .form-header {\n     display: flex;\n     justify-content: space-between;\n     align-items: center;\n     margin-bottom: 30px;\n     @media (max-width: 767px) {\n        margin-bottom: 13px;\n    }\n }\n .form-title {\n  color: #333333;\n  font-family: Roboto;\n  font-size: 24px;\n  letter-spacing: 0;\n  line-height: 32px;\n  @media (max-width: 767px) {\n      font-size: 22px;\n  }\n }\n .form-link {\n     cursor: pointer;\n     display: flex;\n     align-items: center;\n     span {\n        color: #333333;\n        font-family: Roboto;\n        font-size: 16px;\n        letter-spacing: 0;\n        line-height: 17px;\n        padding-left: 15px;\n    }\n }\n .form-links-wrap {\n     .form-link {\n         padding: 20px 0;\n         a {\n            color: #333333;\n            text-decoration: none;\n            &:hover, &:active {\n                color: #E4001E;\n            }\n         }\n     }\n }\n .sub-title {\n    color: #333333;\n    font-family: Roboto;\n    font-size: 16px;\n    letter-spacing: 0;\n    line-height: 20px;\n    text-align: center;\n }\n .phone-large {\n    color: #333333;\n    font-family: Roboto;\n    font-size: 34px;\n    letter-spacing: 0;\n    line-height: 40px;\n    text-align: center;\n    @media (max-width: 767px) {\n        font-size: 28px;\n    }\n }\n hr {\n     margin: 20px 0;\n     & + .form-title {\n         margin-top: 100px;\n         @media (max-width: 767px) {\n             margin-top: 0;\n         }\n     }\n }\n .phone-small {\n    color: #333333;\n    font-family: Roboto;\n    font-size: 12px;\n    letter-spacing: 0;\n    line-height: 20px;\n    text-align: center;\n }\n .phone-screen {\n    display: flex;\n    flex-direction: column;\n    justify-content: space-between;\n    height: 100%;\n    padding-bottom: 30px;\n }\n .success-wrap {\n     display: flex;\n     height: 80%;\n     flex-direction: column;\n     justify-content: center;\n     align-items: center;\n     .success-title, .success-subtitle {\n        color: #333333;\n        font-family: Roboto;\n        font-size: 16px;\n        letter-spacing: 0;\n        line-height: 20px;\n        text-align: center;\n     }\n     .success-title {\n        font-weight: 700;\n        margin-bottom: 15px;\n     }\n }\n .contact-form {\n     fieldset {\n         margin-bottom: 20px;\n         textarea::-webkit-scrollbar {\n             width: 5px;\n             border-radius: 30px;\n             padding: 10px;\n             right: 10px;\n         }\n\n            textarea::-webkit-scrollbar-track {\n               opacity: 0;\n               margin: 10px;\n               padding-right: 10px;\n               position: relative;\n               width: 5px;\n            }\n\n            textarea::-webkit-scrollbar-thumb {\n            background-color: darkgrey;\n            outline: 1px solid slategrey;\n            border-radius: 30px;\n            width: 6px;\n            }\n         @media (max-width: 767px) {\n            margin-bottom: 5px;\n            textarea {\n                min-height: 90px!important;\n                height: 90px!important;\n                margin-top: 10px;\n            }\n        }\n     }\n     .helper {\n        color: #595959;\n        font-family: Roboto;\n        font-size: 14px;\n        letter-spacing: 0;\n        line-height: 24px;\n     }\n }\n .location-item {\n     text-align: center;\n     margin-bottom: 10px;\n     margin-top: 10px;\n     div {\n         margin-bottom: 4px;\n     }\n     @media (max-width: 767px) {\n        margin-bottom: 10px;\n        margin-top: 10px;\n    }\n     .location-name {\n        color: #333333;\n        font-family: Roboto;\n        font-size: 18px;\n        font-weight: bold;\n        letter-spacing: 0;\n        line-height: 20px;\n        span {\n            margin-left: 10px;\n        }\n     }\n     .location-link {\n         color: #E4001E;\n         text-decoration: none;\n         font-size: 16px;\n        font-weight: bold;\n     }\n }\n .overlay {\n     @media (max-width: 767px) {\n         position: fixed;\n         display: none;\n         left: 0;\n         top: 0;\n         width: 100%;\n         height: 100%;\n         background-color: rgba(0,0,0,0.7);\n         z-index: 1000;\n         align-items: center;\n         justify-content: center;\n         z-index: 10001;\n         &.show {\n             display: flex;\n         }\n     }\n     @media (max-width: 576px) {\n         & > div {\n             width: 100%;\n             height: 100%;\n         }\n     }\n }\n"]);return n=function(){return a},a}var o=m.ZP.div.withConfig({componentId:"sc-c66852c-0"})(n()),p=c(10450),q=c(36072),r=c(5900),s=j()(function(){return Promise.all([c.e(6428),c.e(8202),c.e(6923),c.e(5881),c.e(5623),c.e(5855),c.e(2684),c.e(5230),c.e(8648),c.e(7095),c.e(8827)]).then(c.bind(c,55328))},{loadableGenerated:{webpack:function(){return[55328]}},loading:function(){return(0,d.jsx)("div",{className:"contact-form-button disabled",children:(0,d.jsx)(p.Z,{})})}}),t=function(){var a=(0,e.useState)(!1),b=a[0],c=a[1],f=(0,k.I0)(),g=(0,e.useState)(!1),h=g[0],i=g[1],j=function(){!h&&window.pageYOffset>100?i(!0):h&&window.pageYOffset<=100&&i(!1)};return e.useEffect(function(){return window.addEventListener("scroll",j),function(){return window.removeEventListener("scroll",j)}}),(0,d.jsx)(o,{style:{display:h?"initial":"none"},children:b?(0,d.jsx)(s,{}):(0,d.jsx)("div",{className:"contact-form-button",onClick:function(){c(!0),f((0,q.cl)(!0))},children:(0,d.jsx)(r.Z,{src:"/icons/chat.svg",width:40,height:40,alt:""})})})};function u(a){var b=a.hasCanonical,c=(0,h.useRouter)(),e=/\?/.test(c.asPath);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(g(),{children:[(0,d.jsx)("title",{children:a.title}),a.description&&(0,d.jsx)("meta",{name:"description",content:a.description}),!e&&(void 0===b||b)&&(0,d.jsx)("link",{rel:"canonical",href:"https://www.autohaus24.de".concat(a.canonicalPart)}),a.robots&&(0,d.jsx)("meta",{name:"robots",content:e?"noindex, follow":a.robots}),a.social&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("meta",{property:"og:type",content:"website"}),(0,d.jsx)("meta",{property:"og:locale",content:"de-DE"}),(0,d.jsx)("meta",{property:"og:title",content:a.social.title}),(0,d.jsx)("meta",{property:"og:image:url",content:a.social.img}),(0,d.jsx)("meta",{property:"og:image",content:a.social.img}),(0,d.jsx)("meta",{property:"og:url",content:a.social.url}),(0,d.jsx)("meta",{property:"og:description",content:a.social.desc}),(0,d.jsx)("meta",{property:"og:site_name",content:"autohaus24"}),(0,d.jsx)("meta",{name:"twitter:image:alt",content:"".concat(a.social.title," image")}
1),(0,d.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=utf-8"}),(0,d.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,d.jsx)("meta",{name:"twitter:site",content:"@autohaus24"}),(0,d.jsx)("meta",{name:"twitter:creator",content:"@autohaus24"}),(0,d.jsx)("meta",{name:"twitter:title",content:a.social.title}),(0,d.jsx)("meta",{name:"twitter:url",content:a.social.url}),(0,d.jsx)("meta",{name:"twitter:image",content:a.social.img}),(0,d.jsx)("meta",{name:"twitter:description",content:a.social.desc})]})]}),(0,d.jsx)("main",{children:a.children}),"/gebrauchtwagen/cars"!==c.route&&(0,d.jsx)(t,{})]})}},70383:function(a,b,c){"use strict";c.d(b,{Z:function(){return o}});var d=c(26042),e=c(69396),f=c(99534),g=c(85893);c(67294);var h=c(7297),i=c(19521),j=c(282);function k(){var a=(0,h.Z)(["\n    font-weight: ",";\n    color: ",";\n    text-transform: none;\n"]);return k=function(){return a},a}function l(){var a=(0,h.Z)(["\n    && {\n        border-radius: 30px;\n        background: ",";\n        height: 45px;\n        font-size: 14px;\n        \n        &:focus {\n            outline: none;\n        }\n\n        &:hover {\n            background: ",";\n        }\n\n        &.MuiButton-outlined {\n            background: #fff;\n            border: 2px solid ",";\n\n            span {\n                color: ",";\n            }\n\n            &:hover {\n                background: #fff;\n            }\n        }\n        &.Mui-disabled {\n            color: rgba(0, 0, 0, 0.26);\n            box-shadow: none;\n            background-color: #E0E0E0;\n        }\n    }\n"]);return l=function(){return a},a}var m=i.ZP.span.withConfig({componentId:"sc-6bf7e248-0"})(k(),function(a){return a.theme.fontWeight.bold},function(a){return a.theme.colors.activeButtonFontColor}),n=(0,i.ZP)(j.Z).withConfig({componentId:"sc-6bf7e248-1"})(l(),function(a){return a.theme.colors.primaryColor},function(a){return a.theme.colors.primaryColor},function(a){return a.theme.colors.primaryColor},function(a){return a.theme.colors.primaryColor}),o=function(a){var b=a.children,c=(0,f.Z)(a,["children"]);return(0,g.jsx)(n,(0,e.Z)((0,d.Z)({},c),{children:(0,g.jsx)(m,{children:b})}))}},13828:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSP":function(){return A}});var d=c(47568),e=c(7297),f=c(34051),g=c.n(f),h=c(85893),i=c(14310),j=c(39803),k=c(55302),l=c(15046),m=c(31955),n=c(67294),o=c(19521),p=c(70383),q=c(31344),r=c(49620),s=c(94949),t=c(91756);function u(){var a=(0,e.Z)(["\n    margin: 100px auto;\n    padding: 50px 25px;\n    border: 2px solid #DCD8D8;\n    border-radius: 5px;\n    display: flex;\n    flex-direction: column;\n\n    .btn-link {\n      width: 100%;\n      max-width: 330px;\n    };\n"]);return u=function(){return a},a}function v(){var a=(0,e.Z)(["\n    position: fixed;\n    top: 0;\n    left: 0;\n    display: flex;\n    align-content: center;
1\n    align-items: center;\n    justify-content: center;\n    justify-items: center;\n    width: 100vw;\n    height: 100vh;\n    z-index: 99999;\n    background-color: rgba(255,255,255,0.3);\n"]);return v=function(){return a},a}var w=o.ZP.div.withConfig({componentId:"sc-2551d910-0"})(u()),x=o.ZP.div.withConfig({componentId:"sc-2551d910-1"})(v()),y=function(a){var b,c,e=a.setLoading,f=a.setSuccess,i=a.setError,j=(0,n.useState)(!1),k=j[0],l=j[1],o=(b=(0,d.Z)(g().mark(function a(){var b,c;return g().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return e(!0),l(!0),b=m.Z.get("xa-key")||"",a.prev=3,a.next=6,fetch("".concat((0,t.Z)(void 0),"/cache/content"),{method:"POST",headers:{"x-api-key":b}});case 6:if(!(200!==(c=a.sent).status)){a.next=9;break}throw Error("Something went wrong");case 9:f("Cache is cleared!"),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(3),i(a.t0.message);case 15:return a.prev=15,e(!1),a.finish(15);case 18:setTimeout(function(){return l(!1)},5e3);case 19:case"end":return a.stop()}},a,null,[[3,12,15,18]])})),function(){return b.apply(this,arguments)}),q=(c=(0,d.Z)(g().mark(function a(){return g().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return e(!0),a.next=3,fetch("/api/manager/logout");case 3:e(!1),window.location.reload();case 5:case"end":return a.stop()}},a)})),function(){return c.apply(this,arguments)});return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(p.Z,{className:"btn-link",size:"large",fullWidth:!0,disabled:k,onClick:o,children:"Clear Cache"}),(0,h.jsx)(p.Z,{onClick:q,className:"btn-link mt-5",size:"large",fullWidth:!0,children:"Exit"})]})},z=function(a){var b,c=a.isAdminCookie,e=(0,n.useState)(""),f=e[0],m=e[1],o=(0,n.useState)(c),u=o[0],v=o[1],z=(0,n.useState)(!1),A=z[0],B=z[1],C=(0,n.useState)(null),D=C[0],E=C[1],F=function(){m("")},G=function(){E(null)},H=(b=(0,d.Z)(g().mark(function a(b){var c,d,e,f,h,i;return g().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return b.preventDefault(),E(null),B(!0),d=(c=new FormData(b.currentTarget)).get("login"),e=c.get("password"),a.prev=6,a.next=9,fetch("".concat((0,t.Z)(void 0),"/manager/login"),{method:"POST",body:JSON.stringify({login:d,password:e})});case 9:if(!(200!==(f=a.sent).status)){a.next=16;break}return a.next=13,f.text();case 13:throw Error((i=h=a.sent)||"Something went wrong");case 16:v(!0),a.next=22;break;case 19:a.prev=19,a.t0=a.catch(6),E(a.t0.message);case 22:return a.prev=22,B(!1),a.finish(22);case 25:case"end":return a.stop()}},a,null,[[6,19,22,25]])})),function(a){return b.apply(this,arguments)});return(0,h.jsxs)(s.Z,{title:"Admin Page",description:"",robots:"noindex, nofollow",children:[A&&(0,h.jsx)(x,{children:(0,h.jsx)(r.Z,{})}),(0,h.jsx)(q.Z,{children:(0,h.jsxs)(w,{children:[u?(0,h.jsx)(y,{setLoading:B,setError:E,setSuccess:m}):(0,h.jsxs)(i.Z,{component:"form",onSubmit:H,children:[(0,h.jsx)(j.Z,{margin:"normal",required:!0,fullWidth:!0,id:"login",label:"Login",name:"login",autoFocus:!0}),(0,h.jsx)(j.Z,{margin:"normal",required:!0,fullWidth:!0,name:"password",label:"Password",type:"password",id:"password",autoComplete:"current-password"}),(0,h.jsx)(p.Z,{className:"btn-link mt-5",type:"submit",fullWidth:!0,variant:"contained",children:"Sign In"})]}),(0,h.jsx)(k.Z,{open:!!f,autoHideDuration:6e3,onClose:F,children:(0,h.jsx)(l.Z,{onClose:F,severity:"success",children:f})}),(0,h.jsx)(k.Z,{open:!!D,autoHideDuration:6e3,onClose:G,children:(0,h.jsx)(l.Z,{onClose:G,severity:"error",children:D})})]})})]})},A=!0;b.default=z}},function(a){a.O(0,[8202,6923,5881,5840,9774,2888,179],function(){var b;return a(a.s=69938)}),_N_E=a.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.