PageSourceSearch

https://strenger.de/_next/static/chunks/pages/__dev/modules/filter-dd521e48dece4fe3.js

js strenger.de collected 2026-10-02 15:33:18 UTC 6,525 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7778],{63455:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/__dev/modules/filter",function(){return r(82413)}])},38208:function(e,t,r){"use strict";var n=r(85893),a=r(67294),i=r(86010),l=r(74778),c=r(62072),o=r(74410);let s=(0,a.forwardRef)((e,t)=>{let{className:r,label:a,id:s,variant:u="beige",on:d="light",disabled:f,required:g,defaultChecked:m,checked:v,customLabelClass:h="",error:p,errorClass:b,...y}=e,{theme:x}=(0,l.F)(),I=s||y.name,w="";switch(d){case"dark":"beige"===u&&(w="checkbox-dark"),"tertiary"===u&&(w="checkbox-dark-tertiary");break;case"light":"beige"===u&&(w="checkbox-light"),"tertiary"===u&&(w="checkbox-light-tertiary")}let k=(0,i.Z)(w,"w-[fit-content]"),S=(0,i.Z)({"label peer-disabled:text-grey-200":!0,[h]:!!h},"flex items-center text-left"),_=m||v,N=(0,i.Z)({checkmark:!0,"border-grey-100":f&&"Baustolz"===x,"!bg-grey-100":f&&_&&"Baustolz"===x,"!outline-none !outline-0 !outline-offset-0 !outline-focus-outline-[transparent]":f,"border-slate-400":f&&"Strenger"===x,"!bg-slate-400":f&&_&&"Strenger"===x,"!border-red-500":p});return(0,n.jsxs)("div",{className:r,children:[(0,n.jsxs)("label",{htmlFor:I,className:k,children:[(0,n.jsx)("input",{ref:t,required:g,className:"peer",type:"checkbox",id:I,disabled:f,defaultChecked:m,checked:v,...y}),(0,n.jsx)("span",{"aria-hidden":!0,className:N,children:(0,c.B)()?null:(0,n.jsx)(o.Jy,{className:(0,i.Z)("checkIcon absolute h-full w-full",{"fill-white":"light"===d,"fill-dark-petrol-default":"dark"===d})})}),(0,n.jsx)("span",{className:S,children:a})]}),p&&(0,n.jsx)("span",{"data-testid":"".concat(I,"-error"),role:"alert",className:(0,i.Z)("text-[12px] text-red-700 basis-1/2 block pt-[4px]",b),children:p})]})});s.displayName="Checkbox",t.Z=s},77459:function(e,t,r){"use strict";r.d(t,{S:function(){return useIntersectionObserver}});var n=r(11163),a=r(67294);let i={rootMargin:"0px"},useIntersectionObserver=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,r=(0,n.useRouter)(),[l,c]=a.useState(!1);return a.useEffect(()=>{if(!IntersectionObserver||"undefined"==typeof IntersectionObserver)return;let r=e.current,n=new IntersectionObserver(e=>{let[t]=e;c(t.isIntersecting)},t);return r&&n.observe(r),()=>{r&&n.unobserve(r)}},[e,t,r.asPath]),l}},1543:function(e,t,r){"use strict";r.d(t,{Z:function(){return useLanguageTranslator}});var n=r(67294),a=r(80766);function useLanguageTranslator(e){let{translate:t}=(0,a.ZK)(),[r,i]=(0,n.useState)(e);return(0,n.useEffect)(()=>{let translated=async e=>{let r=await t(e);i(r)};translated(e)},[t,e]),{translatedWord:r}}},91371:function(e,t,r){"use strict";r.d(t,{Z:function(){return useWindowSize}});var n=r(67294),a=r(67611);function useWindowSize(){let[e,t]=(0,n.useState)(0);return(0,a.Z)(()=>{function updateSize(){t(window.innerWidth)}return window.addEventListener("resize",updateSize),updateSize(),()=>window.removeEventListener("resize",updateSize)},[]),e}},83021:function(e,t,r){"use strict";var n,a,i,l;r.d(t,{q:function(){return a},U:function(){return n}}),(i=n||(n={}))[i.sm=390]="sm",i[i.md=700]="md",i[i.lg=1200]="lg",i[i.xl=1728]="xl",(l=a||(a={})).Idle="idle",l.Loading="loading",l.Error="error",l.Disabled="disabled"},82413:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return c}});var n=r(85893),a=r(34791),i=r(39787);r(67294);var l=r(74778),c=!0;t.default=()=>((0,l.F)("Baustolz"),(0,n.jsxs)("div",{className:"container",children:[(0,n.jsx)(a.Z,{}),(0,n.jsx)(i.FP,{})]}))},81942:function(e,t,r){"use strict";r.d(t,{G:function(){return createImageSizes}});var n=r(83021);let createImageSizes=e=>{let{sm:t,md:r,lg:a,xl:i,...l}=e,c="";return i&&(c+="".concat(c?",":" ","(min-width: ").concat(n.U.xl,"px) ").concat(i)),a&&(c+="".concat(c?",":" ","(min-width: ").concat(n.U.lg,"px) ").concat(a)),r&&(c+="".concat(c?",":" ","(min-width: ").concat(n.U.md,"px) ").concat(r)),t&&(c+="".concat(c?",":" ","(min-width: ").concat(n.U.sm,"px) ").concat(t)),(c+="".concat(c?",":"").concat(l.default))||void 0}},51345:function(e,t,r){"use strict";r.d(t,{M:function(){return createModuleContainer}}
1);var n=r(85893),a=r(86010);let createModuleContainer=e=>t=>{let{children:r,className:i,...l}=t;return(0,n.jsx)("div",{className:(0,a.Z)(e,i),...l,children:r})}},30727:function(e,t,r){"use strict";r.d(t,{p:function(){return formatDate}});let formatDate=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";if(!(e instanceof Date&&e.getTime&&!isNaN(e.getTime())))return"".concat(e);let r=e.getDate(),n=e.getMonth()+1,a=e.getFullYear(),i=r.toString().padStart(2,"0"),l=n.toString().padStart(2,"0");return"".concat(i).concat(t).concat(l).concat(t).concat(a)}},83148:function(e,t,r){"use strict";r.d(t,{KD:function(){return isGalleryImagesArray},ht:function(){return prepareGalleryImages},jy:function(){return filterGalleryImages}});var n=r(44879);let filterGalleryImages=e=>{if(null!=e){if(!Array.isArray(e)){var t;return(null===(t=e.image)||void 0===t?void 0:t.length)?[e]:void 0}return e.filter(e=>{var t;return(null==e?void 0:e.image)&&(null===(t=e.image)||void 0===t?void 0:t.length)>0})}},isGalleryImagesArray=e=>Array.isArray(e),isGalleryImagesItem=e=>!!e&&!Array.isArray(e),prepareGalleryImages=e=>{var t,r,a;let i=filterGalleryImages(null==e?void 0:e.estateObjectGalleryImages);return(null==i?void 0:null===(t=i[0])||void 0===t?void 0:t.image)?(0,n.Z)(null==i?void 0:null===(r=i[0])||void 0===r?void 0:r.image):isGalleryImagesItem(e.estateObjectGalleryImages)?(0,n.Z)(null===(a=e.estateObjectGalleryImages.image)||void 0===a?void 0:a.filter(Boolean)):null}},44879:function(e,t,r){"use strict";function processArrayOfImageRes(e,t){let isBigger=(e,r)=>{var n,a,i,l,c,o;let s=/_Image[_]?(\d+)w/,u=e&&e.match(s)&&(null===(n=e.match(s))||void 0===n?void 0:n[1])?parseInt(null!==(c=null===(a=e.match(s))||void 0===a?void 0:a[1])&&void 0!==c?c:"0"):0,d=r&&r.match(s)&&(null===(i=r.match(s))||void 0===i?void 0:i[1])?parseInt(null!==(o=null===(l=r.match(s))||void 0===l?void 0:l[1])&&void 0!==o?o:"0"):0;return t?d>u&&d<=t:d>u};if(e&&e.length>0){let t=e.reduce((e,t)=>isBigger((null==e?void 0:e.variant)||"",(null==t?void 0:t.variant)||"")?t:e);return{src:(null==t?void 0:t.link)||""}}return null}r.d(t,{Z:function(){return processArrayOfImageRes}})},22868:function(){},14777:function(){},99830:function(){},70209:function(){}},function(e){e.O(0,[9331,5675,6631,8764,1036,9061,2609,9755,6435,4410,6577,4684,704,1953,9774,2888,179],function(){return e(e.s=63455)}),_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.