PageSourceSearch

https://www.weexhibit.biz/_next/static/chunks/pages/we-did/exhibition-eaa326a91df9f2a1.js

js weexhibit.biz collected 2026-10-07 08:41:23 UTC 2,660 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6296,6939],{971:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/we-did/exhibition",function(){return r(5213)}])},5213:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return w},default:function(){return x}});var l=r(5893),i=r(7294),a=r(3992),o=r(2812),n=r(9215),s=r(2666),c=r(5917),d=r(7240),u=r(1163),p=r(990),f=r(9664),_=r(9728),h=r(8516);p.p8.registerPlugin(f.ScrollToPlugin);var w=!0;function x(e){let{wedid:t,settings:r}=e,{data:f}=t,w=(0,i.useContext)(h.Z),[x,g]=(0,i.useState)([]),[j,b]=(0,i.useState)("all"),[v,C]=(0,i.useState)(""),E=(0,u.useRouter)(),L=(e,t)=>e.some(function(e){for(var r in e){let l=e[r].toLowerCase().replace(/\s/g,""),i=t.toLowerCase().replace(/\s/g,"");if(e.hasOwnProperty(r)&&"string"==typeof e[r]&&l==i)return!0}return!1}),T=async e=>{if(L(f.filters,e))p.p8.to(window,{duration:1,scrollTo:".wedid-heading"}),b(e);else{let t=await (0,_.i)(e,r.lang);w.setTag(e),"exhibition"==t&&E.push("/we-did/exhibition"),"project_lead"==t&&E.push("/we-did/project-lead"),"experience"==t&&E.push("/we-did/experience")}},P=e=>e.sort((e,t)=>!0===e.pin_project?-1:!0===t.pin_project?1:0);(0,i.useEffect)(()=>{g(P(f.project_list)),null!=w.tag&&(p.p8.to(window,{duration:1,scrollTo:".wedid-heading"}),b(w.tag))},[]),(0,i.useEffect)(()=>{"all"==j?g(f.project_list):g([...f.project_list].filter(e=>{var t;return null===(t=e.filter_1)||void 0===t?void 0:t.includes(j)}))},[j,f]);let m=e=>{var t=[...f.project_list];g(t=t.filter(t=>{var r;return(null===(r=t.title)||void 0===r?void 0:r.toLowerCase().indexOf(e.toLowerCase()))!==-1}))};return(0,i.useEffect)(()=>{if(E.asPath.includes("?")){let e=decodeURIComponent(E.asPath.slice(E.asPath.indexOf("?")+1));m(e),C(e),p.p8.to(window,{duration:1,scrollTo:500})}},[]),(0,l.jsxs)(a.Z,{settings:r,meta:f,altLangs:t.alternate_languages,children:[(0,l.jsx)(c.Z,{data:f}),(0,l.jsxs)("header",{className:"wedid-heading px-0 md:px-2 mb-3 mt-2",children:[(0,l.jsx)(o.Z,{searchValue:v,placeholder:f.search_placeholder,filterBySearch:e=>{let t=e.target.value;var r=[...f.project_list];g(r=r.filter(e=>{let r=[];return r.push(e.title.toLowerCase()),e.excerpt.forEach(e=>{r.push(e.text.toLowerCase())}),r.find(e=>e.includes(t.toLowerCase()))}))},color:"red"}),(0,l.jsx)(d.Z,{label1:f.tab_1_label,label2:f.tab_2_label,label3:f.tab_3_label}),(0,l.jsx)(n.Z,{filterType:j,checkFilterType:e=>{e==j?b("all"):b(e)}
1,color:"red",data:f})]}),(0,l.jsx)(s.Z,{clickFilter:T,data:f,projectList:x,color:"red"})]})}}},function(e){e.O(0,[8802,3793,5675,1589,7066,8950,4536,9761,684,3992,5957,2888,9774,179],function(){return e(e.s=971)}),_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.