PageSourceSearch

https://mollerarchitects.com/_next/static/chunks/pages/projects/%5Bslug%5D-182fbf84209d578f.js

js mollerarchitects.com collected 2026-10-08 13:21:35 UTC 6,316 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[445],{358:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/projects/[slug]",function(){return n(9116)}])},8666:function(e,t,n){"use strict";n.d(t,{j:function(){return d}});var r=n(5893),o=n(7294),s=n(7044),a=n(2893),l=n(3451),i=n(4108),c=n(8584),u=n.n(c),d=function(e){var t=e.location,n=(0,o.useRef)(null),c=(0,o.useRef)(null),d=!["home"].includes(t),_=(0,l.i)(),g=(0,o.useState)(!1),f=g[0],h=g[1],m=!["home"].includes(t);return(0,o.useEffect)((function(){var e=(0,i.im)(_.width);h(e)}),[_.width]),(0,r.jsxs)("footer",{className:"".concat(u().container," ").concat(u()[t]),ref:n,children:[d?(0,r.jsx)(a.r,{reverse:!0}):null,m&&f?(0,r.jsx)("div",{className:u().placeholder}):null,(0,r.jsx)("div",{className:u().rect,ref:c,children:(0,r.jsx)(s.T,{listenerRef:n,rectRef:c,location:t})}),(0,r.jsx)("div",{className:u().overscroll})]})}},9116:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return F}});var r=n(797),o=n(5893),s=n(1664),a=n.n(s),l=n(1163),i=n(7294),c=n(9521),u=n.n(c),d=n(9664),_=n(651),g=n(8856),f=n(8666),h=n(8180),m=n(7575),v=n(2893),p=n(3451),j=n(4442),x=n(987),w=n(4108),y=n(919),C=n.n(y);u().registerPlugin(d.ScrollToPlugin);var F=!0;t.default=function(e){var t=e.categories,n=e.globalContentContextData,s=(0,j.x)().setData,c=(0,p.i)(),d=((0,l.useRouter)(),(0,i.useState)(!1)),y=d[0],F=d[1],N=(0,i.useState)(e.category),S=N[0],H=N[1],M=(0,i.useState)(e.category),T=M[0],E=M[1],R=(0,i.useState)(!1),I=R[0],L=R[1],k=(0,i.useRef)(null),X=(0,i.useRef)(null),b=(0,x.b)(),q=(b.requestingFilteredCategory,b.setRequestingFilteredCategory,b.showCategoryFilters),P=b.setShowCategoryFilters;(0,i.useEffect)((function(){s(n)}),[n]),(0,i.useEffect)((function(){var e=X.current;if(e&&y){var t=window.innerHeight,n=function(n){var r=e.offsetTop-window.scrollY+e.clientHeight;L(r<t-10)};return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n)}}}),[X.current,c.width,y]),(0,i.useEffect)((function(){var e=(0,w.im)(c.width);F(e)}),[c.width]),(0,i.useEffect)((function(){var e=k.current;e&&u().to(e,{duration:.5,ease:"sine.inOut",autoAlpha:1})}),[S]),(0,i.useEffect)((function(){var e=X.current,t=k.current;if(e&&t){var n=e.getBoundingClientRect();history.pushState({},"","/projects/".concat(encodeURIComponent(T.slug)));var r=function(){u().to(t,{duration:.5,ease:"sine.inOut",autoAlpha:0,onComplete:function(){window.scrollTo(0,0),H(T)}})};n&&n.top+n.height+5<window.innerHeight?u().to(window,{duration:.5,scrollTo:{y:n.top+window.scrollY-window.innerHeight,offsetY:0,onComplete:function(){r()}}}):r()}}),[k.current,T]);var D=function(e){},O=function(e){var n,r;e.preventDefault();var o=null===(r=null===(n=e.target)||void 0===n?void 0:n.closest("a"))||void 0===r?void 0:r.dataset.slug,s=t.find((function(e){return e.slug===o}));s&&E(s)};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("article",{className:"".concat(C().container),children:[(0,o.jsx)(h.J,{}),(0,o.jsx)(v.r,{back:!0}),y?(0,o.jsxs)("footer",{className:"".concat(C().pageFooter," ").concat(I?C().hide:void 0),ref:X,children:[(0,o.jsx)(v.r,{}),(0,o.jsxs)("h2",{onClick:function(e){P(!q)},className:q?C().showFilters:void 0,children:[(0,o.jsx)("span",{dangerouslySetInnerHTML:{__html:S.title}}),(0,o.jsx)("span",{children:"Filter"})]}),(0,o.jsx)("nav",{className:q?C().showFilters:void 0,children:(0,o.jsx)("ul",{children:e.categories.map((function(e){var t=e.slug===S.slug,n=t?C()["current-page"]:null,r=t?{slug:"all"}:{slug:encodeURIComponent(e.slug)};return(0,o.jsx)("li",{children:(0,o.jsx)(a(),{href:{pathname:"/projects/[slug]",query:r},passHref:!0,children:(0,o.jsx)("a",{onClick:O,"data-slug":e.slug,className:"".concat(n),dangerouslySetInnerHTML:{__html:e.title}})})},e.slug)}))})})]}):null,(0,o.jsxs)("div",{className:"".concat(S.default?C().defaultCategory:C().standardCategory),ref:k,children:[(0,o.jsx)("header",{className:"".concat(C().pageHeader),children:S.default?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{className:"".concat(C().summary),dangerouslySetInnerHTML:{__html:(0,g.X)(S.summary)}})}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h1",{dangerouslySetInnerHTML:{__html:(0,g.X)(S.title)}}),(0,o.jsx)("div",{className:"".concat(C().summary),dangerouslySetInnerHTML:{__html:(0,g.X)(S.summary)}})]})}),(0,o.jsx)("div",{className:C().list,children:(0,r.Z)(Array((_.eM,1))).map((function(t,n){return e.projects.map((function(e,t){var s=(0,r.Z)(e.categories.map((function(e,t){return e.slug}))),l="all"==S.slug||s.includes(S.slug);return l?(0,o.jsx)(a(),{href:{pathname:"/project/[slug]",query:{slug:encodeURIComponent(e.slug)}},children:(0,o.jsxs)("a",{onClick:D,className:"".concat(C().item," ").concat(l?C().val
1idProject:C().invalidProject),"data-categories":s,children:[(0,o.jsx)("header",{children:(0,o.jsx)("h2",{dangerouslySetInnerHTML:{__html:(0,g.X)(e.title)}})}),(0,o.jsx)(m.P,{media:e.hero,layout:"fill",loading:"eager",objectFit:"cover",block_type:"media",priority:n<5,sizes:"40vw",phone_sizes:"100vw",loadAnimation:"transform"},e.slug),(0,o.jsxs)("footer",{children:[(0,o.jsx)("h3",{dangerouslySetInnerHTML:{__html:e.location}}),(0,o.jsx)("h3",{dangerouslySetInnerHTML:{__html:e.year.toString()}})]})]})},e.slug+n.toString()):null}))}))})]})]}),(0,o.jsx)(f.j,{location:"footer"})]})}},8856:function(e,t,n){"use strict";n.d(t,{X:function(){return s},o:function(){return a}});var r=n(1052),o=n.n(r),s=function(e){return o()(e).widont()},a=function(e){return e.replace(/<\/?[^>]+(>|$)/g,"")}},8584:function(e){e.exports={container:"MainFooter_container__rZQM7",rect:"MainFooter_rect__Kvt6M",placeholder:"MainFooter_placeholder__jBtHO",home:"MainFooter_home__dfWbw",overscroll:"MainFooter_overscroll__XT4Fc"}},919:function(e){e.exports={container:"_slug__container__15hUq",defaultCategory:"_slug__defaultCategory__p7Szu",pageHeader:"_slug__pageHeader__DDaBZ",summary:"_slug__summary__mxnD_",list:"_slug__list__LCim6",item:"_slug__item__yanwz",standardCategory:"_slug__standardCategory__qqKU6",pageFooter:"_slug__pageFooter__cqX3X",hide:"_slug__hide__aijkA",showFilters:"_slug__showFilters__gOcR_","current-page":"_slug__current-page__p37zl"}}},function(e){e.O(0,[612,774,888,179],(function(){return t=358,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
2//# sourceMappingURL=[slug]-182fbf84209d578f.js.map

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.