PageSourceSearch

https://www.imec.be/_next/static/chunks/8543.757d4151a65888c6.js

js imec.be collected 2026-09-24 08:44:42 UTC 17,438 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8543],{8871:(t,e,r)=>{r.d(e,{U0:()=>u,Zp:()=>c});var n=r(16040);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t){var e,r=t.index,n=t.widgetType,a=(t.methodName,t.args),u=t.instantSearchInstance;if(1===a.length&&"object"===o(a[0]))return[a[0]];var c=function(t){if(Array.isArray(t))return t}(e=a[0].split(":"))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,s=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,2)||function(t,e){if(t){if("string"==typeof t)return i(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),s=c[0],l=c[1],f=a[1],y=a[2];if(!f||("click"===s||"conversion"===s)&&!y)return[];var p=Array.isArray(f)?f:[f];if(0===p.length)return[];var d=p[0].__queryID,b=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r=[],n=0;n<Math.ceil(t.length/e);n++)r.push(t.slice(n*e,(n+1)*e));return r}(p),v=b.map(function(t){return t.map(function(t){return t.objectID})}),g=b.map(function(t){return t.map(function(t){return t.__position})});return"view"===s?"idle"!==u.status?[]:b.map(function(t,e){return{insightsMethod:"viewedObjectIDs",widgetType:n,eventType:s,payload:{eventName:y||"Hits Viewed",index:r,objectIDs:v[e]},hits:t,eventModifier:l}}):"click"===s?b.map(function(t,e){return{insightsMethod:"clickedObjectIDsAfterSearch",widgetType:n,eventType:s,payload:{eventName:y||"Hit Clicked",index:r,queryID:d,objectIDs:v[e],positions:g[e]},hits:t,eventModifier:l}}):"conversion"===s?b.map(function(t,e){return{insightsMethod:"convertedObjectIDsAfterSearch",widgetType:n,eventType:s,payload:{eventName:y||"Hit Converted",index:r,queryID:d,objectIDs:v[e]},hits:t,eventModifier:l}}):[]}function u(t){var e=t.instantSearchInstance,r=t.index,n=t.widgetType,i={},o=void 0;return function(){for(var t=arguments.length,u=Array(t),c=0;c<t;c++)u[c]=arguments[c];a({widgetType:n,index:r,methodName:"sendEvent",args:u,instantSearchInstance:e}).forEach(function(t){"click"===t.eventType&&"internal"===t.eventModifier&&i[t.eventType]||(i[t.eventType]=!0,e.sendEventToInsights(t))}),clearTimeout(o),o=setTimeout(function(){i={}},0)}}function c(t){var e=t.index,r=t.widgetType,i=t.instantSearchInstance;return function(){for(var t=arguments.length,o=Array(t),u=0;u<t;u++)o[u]=arguments[u];var c=a({widgetType:r,index:e,methodName:"bindEvent",args:o,instantSearchInstance:i});return c.length?"data-insights-event=".concat((0,n.h)(c)):""}}},9492:(t,e,r)=>{function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var i,o,a;i=t,o=e,a=r[e],(o=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"===n(e)?e:String(e)}(o))in i?Object.defineProperty(i,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function a(t,e,r){return t.map(function(t,n){return o(o({},t),{},{__position:r*e+n+1})})}r.d(e,{g:()=>a})},43786:(t,e,r)=>{r.d(e,{J:()=>l});var n=r(12115),i=r(32578),o=r(35628),a=r(17002),u=r(51533);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function l(){var t,e,r,l,f,y,p,d,b,v,g,m,h,S,O,j,w=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},I=w.catchError,P=(0,i.I)(),A=(t=(0,i.I)(),r=(e=(0,u.R)()).getIndexId(),y=(f=function(t){if(Array.isArray(t))return t}(l=(0,n.useState)(function(){return t.getUiState()}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,s=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(l,2)||function(t,e){if(t){if("string"==typeof t)return s(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(t,e)}}(l,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],p=f[1],d=y[r],b=(0,n.useCallback)(function(e){t.setUiState(e)},[t]),v=(0,n.useCallback)(function(t){e.setIndexUiState(t)},[e]),(0,n.useEffect)(function(){function e(){p(t.getUiState())}return t.addListener("render",e),function(){t.removeListener("render",e)}},[t]),{uiState:y,setUiState:b,indexUiState:d,setIndexUiState:v}),T=A.uiState,E=A.setUiState,x=A.indexUiState,k=A.setIndexUiState,D=(g=(0,i.I)(),m=(0,u.R)(),O=(S=function(t){if(Array.isArray(t))return t}(h=(0,n.useState)(function(){return(0,a.J)(m)}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,s=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(h,2)||function(t,e){if(t){if("string"==typeof t)return c(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}}(h,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],j=S[1],(0,n.useEffect)(function(){function t(){var t=m.getResults();null!==t&&j({results:t,scopedResults:m.getScopedResults()})}return g.addListener("render",t),function(){g.removeListener("render",t)}},[g,m]),O),U=D.results,M=D.scopedResults,C=(0,n.useCallback)(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return P.use.apply(P,e),function(){P.unuse.apply(P,e)}},[P]),N=(0,n.useCallback)(function(){return C.apply(void 0,arguments)},[C]),R=(0,n.useCallback)(function(){P.refresh()},[P]);return(0,o.E)(function(){if(I){var t=function(){};return P.addListener("error",t),function(){return P.removeListener("error",t)}}return function(){}},[P,I]),{results:U,scopedResults:M,uiState:T,setUiState:E,indexUiState:x,setIndexUiState:k,addMiddlewares:C,use:N,refresh:R,status:P.status,error:P.error}}},75611:(t,e,r)=>{r.d(e,{q:()=>A});
1var n=r(35170),i=r(66068),o=r(51248),a=r(52053),u=r(8871),c=r(3902),s=r(9492),l=r(80631),f=r(10568);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var p=["page"],d=["clickAnalytics","userToken"];function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach(function(e){g(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function g(t,e,r){var n;return(n=function(t,e){if("object"!==y(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===y(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return h(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function S(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var O=(0,n.V)({name:"infinite-hits",connector:!0});function j(t){var e=t||{};return e.page,S(e,p)}function w(t){var e=t||{};return e.clickAnalytics,e.userToken,S(e,d)}let I=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.l;return(0,a.t)(t,O()),function(r){var n,o,a,y,p,d,b=r||{},h=b.escapeHTML,S=void 0===h||h,O=b.transformItems,I=void 0===O?function(t){return t}:O,P=b.cache,A=void 0===P?(n=null,o=null,{read:function(t){var e=t.state;return(0,i.n)(o,j(e))?n:null},write:function(t){var e=t.state,r=t.hits;o=j(e),n=r}}):P,T=function(t,e){var r=t.page,n=void 0===r?0:r,i=Object.keys(e).map(Number);return 0===i.length?n:Math.min.apply(Math,[n].concat(m(i)))},E=function(t,e){var r=t.page,n=void 0===r?0:r,i=Object.keys(e).map(Number);return 0===i.length?n:Math.max.apply(Math,[n].concat(m(i)))};return{$$type:"ais.infiniteHits",init:function(e){t(v(v({},this.getWidgetRenderState(e)),{},{instantSearchInstance:e.instantSearchInstance}),!0)},render:function(e){var r=e.instantSearchInstance,n=this.getWidgetRenderState(e);t(v(v({},n),{},{instantSearchInstance:r}),!1),p("view:internal",n.currentPageHits)},getRenderState:function(t,e){return v(v({},t),{},{infiniteHits:this.getWidgetRenderState(e)})},getWidgetRenderState:function(t){var e=t.results,n=t.helper,i=t.parent,o=t.state,b=t.instantSearchInstance,g=[],m=i.getPreviousState()||o,h=A.read({state:w(m)})||{};if(e){var O,j,P,x=m.page,k=void 0===x?0:x;S&&e.hits.length>0&&(e.hits=(0,c.S8)(e.hits));var D=(0,s.g)(e.hits,e.page,e.hitsPerPage),U=I((0,l.P)(D,e.queryID),{results:e}),M=!1;
1!function t(e,r){r(e),e.getWidgets().forEach(function(e){(0,f.l)(e)&&t(e,r)})}(b.mainIndex,function(t){!M&&t.getWidgets().some(function(t){return"ais.dynamicWidgets"===t.$$type})&&(M=!0)});var C=!(null!=(j=m.disjunctiveFacets)&&j.length)&&!(m.facets||[]).filter(function(t){return"*"!==t}).length&&!(null!=(P=m.hierarchicalFacets)&&P.length);void 0!==h[k]||e.__isArtificial||"idle"!==b.status||M&&C||(h[k]=U,A.write({state:w(m),hits:h})),g=U,O=0===T(m,h)}else a=function(){n.overrideStateWithoutTriggeringChangeEvent(v(v({},n.state),{},{page:T(n.state,A.read({state:w(n.state)})||{})-1})).searchWithoutTriggeringOnStateChange()},y=function(){n.setPage(E(n.state,A.read({state:w(n.state)})||{})+1).search()},p=(0,u.U0)({instantSearchInstance:b,index:n.getIndex(),widgetType:this.$$type}),d=(0,u.Zp)({index:n.getIndex(),widgetType:this.$$type,instantSearchInstance:b}),O=void 0===m.page||0===T(m,h);var N=Object.keys(h).map(Number).sort(function(t,e){return t-e}).reduce(function(t,e){return t.concat(h[e])},[]),R=!e||e.nbPages<=E(m,h)+1;return{hits:N,currentPageHits:g,sendEvent:p,bindEvent:d,results:e,showPrevious:a,showMore:y,isFirstPage:O,isLastPage:R,widgetParams:r}},dispose:function(t){var r=t.state;e();var n=r.setQueryParameter("page",void 0);return S?n.setQueryParameters(Object.keys(c.FU).reduce(function(t,e){return v(v({},t),{},g({},e,void 0))},{})):n},getWidgetUiState:function(t,e){var r=e.searchParameters.page||0;return r?v(v({},t),{},{page:r+1}):t},getWidgetSearchParameters:function(t,e){var r=e.uiState,n=t;S&&(n=t.setQueryParameters(c.FU));var i=r.page?r.page-1:0;return n.setQueryParameter("page",i)}}}};var P=r(85428);function A(t,e){return(0,P.Z)(I,t,e)}},80631:(t,e,r)=>{function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var i,o,a;i=t,o=e,a=r[e],(o=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(o))in i?Object.defineProperty(i,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function a(t,e){return e?t.map(function(t){return o(o({},t),{},{__queryID:e})}):t}r.d(e,{P:()=>a})},98150:(t,e,r)=>{function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function o(t){var e=t.instantSearchInstance,r=t.helper,o=t.attribute,a=t.widgetType;return function(){for(var t,u=arguments.length,c=Array(u),s=0;s<u;s++)c[s]=arguments[s];var l=c[1],f=c[2],y=function(t){if(Array.isArray(t))return t}(t=c[0].split(":"))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,s=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(t,2)||function(t,e){if(t){if("string"==typeof t)return i(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}}
1(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),p=y[0],d=y[1],b="string"==typeof o?o:o(l);1===c.length&&"object"===n(c[0])?e.sendEventToInsights(c[0]):"click"===p&&(2===c.length||3===c.length)&&((r.state.isHierarchicalFacet(b)?r.state.isHierarchicalFacetRefined(b,l):r.state.isConjunctiveFacet(b)?r.state.isFacetRefined(b,l):r.state.isDisjunctiveFacetRefined(b,l))||e.sendEventToInsights({insightsMethod:"clickedFilters",widgetType:a,eventType:p,eventModifier:d,payload:{eventName:void 0===f?"Filter Applied":f,index:r.getIndex(),filters:["".concat(b,":").concat(l)]},attribute:b}))}}r.d(e,{D:()=>o})}}]);
2//# sourceMappingURL=8543.757d4151a65888c6.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.