PageSourceSearch

https://www.computrain.nl/_next/static/chunks/pages/[[...slug]]-63fec3831449f53e.js

js computrain.nl collected 2026-09-25 02:52:49 UTC 3,730 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[120],{46041:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[[...slug]]",function(){return t(43358)}])},43358:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return g},default:function(){return j},isDynamicPathSegment:function(){return _}});var r=t(97458),o=t(52983),l=t(77896),i=t(57941),a=t(48744),u=t(13254);let d=new Set(["uniformProductHeroComponent","uniformProductNavigationBarComponent"]),s=new Set(["uniformProductFaqComponent","uniformProductBundlesComponent"]);function c(e){var n,t,o;let{items:l,slotName:a}=e,{data:c}=(0,i.qA)(),{isContextualEditing:v}=(0,i.K7)(),f=null!==(o=null==c?void 0:null===(t=c.slots)||void 0===t?void 0:null===(n=t[a])||void 0===n?void 0:n.map(e=>e.type))&&void 0!==o?o:[];if(f.length!==l.length)return(0,r.jsx)(r.Fragment,{children:l});let m=f.indexOf("uniformProductCtaComponent");if(-1===m)return(0,r.jsx)(r.Fragment,{children:l});let p=l.filter((e,n)=>n!==m),{start:h,end:x}=function(e){let n=0;for(;n<e.length&&d.has(e[n]);)n+=1;let t=n;for(;t<e.length&&!s.has(e[t]);)t+=1;return{start:n,end:t}}(f.filter((e,n)=>n!==m));return(0,r.jsxs)(r.Fragment,{children:[p.slice(0,h),(0,r.jsx)(u.lC,{ctaSlot:l[m],isUniformContextualEditing:v,children:p.slice(h,x)}),p.slice(x)]})}let v=e=>{let{name:n,placeholderMinHeight:t,wrapperComponent:l}=e,[a,u]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{u(!0)},[]),a)?(0,r.jsx)(i.Z$,{name:n,wrapperComponent:l}):(0,r.jsx)("div",{"data-testid":"deferred-test-slot-".concat(n),"aria-hidden":"true",style:t?{minHeight:t}:void 0})};var f=t(22592);let m=()=>{let e=(0,f.jc)({throwOnMissingProvider:!1}),n=null==e?void 0:e.context,{analyticsDimensions:t}=(0,a.Zb)(),r=(0,o.useRef)(t);r.current=t;let l=(0,o.useRef)(new Set);(0,o.useEffect)(()=>{if(!n)return;let e=e=>{var n,t,o;let i="".concat(e.name,":").concat(null!==(t=e.variantId)&&void 0!==t?t:"");l.current.has(i)||(l.current.add(i),null===(n=r.current)||void 0===n||n.call(r,{experiment_name:e.name,experience_id:null!==(o=e.variantId)&&void 0!==o?o:e.control?"control":""}))};return n.events.on("testResult",e),()=>{n.events.off("testResult",e)}},[n])},p=e=>{var n;return!!e&&(e.type===l.QC||Object.values(null!==(n=e.slots)&&void 0!==n?n:{}).some(e=>{var n;return null!==(n=null==e?void 0:e.some(p))&&void 0!==n&&n}))};var h=t(8719),x=t(73656),g=!0;function j(e){var n,t;let{analyticsEvent:u}=(0,a.Zb)();m();let d=(0,l.no)({apiUrl:"/api/preview?locale=".concat(encodeURIComponent(null!==(t=null==e?void 0:e.locale)&&void 0!==t?t:x.env.SITE_DEFAULT_LOCALE))}),s=null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.type,f=p(null==e?void 0:e.data);return(0,o.useEffect)(()=>{var n;let t={page_structure:null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.type,environment:void 0};null==u||u(t,a.YY)},[s]),(0,r.jsx)(h.SW,{initialLocaleSwitcherItems:null==e?void 0:e.localeSwitcherItems,children:(0,r.jsx)(h.pG.Provider,{value:null==e?void 0:e.featureFlags,children:(0,r.jsx)(h.wj.Provider,{value:null==e?void 0:e.breadcrumbs,children:(0,r.jsxs)(i.X6,{behaviorTracking:"onLoad",data:null==e?void 0:e.data,contextualEditingEnhancer:d,children:[(0,r.jsx)(i.Z$,{name:"header"}),(0,r.jsx)("main",{id:"main-content",children:f?(0,r.jsx)(v,{name:"content",wrapperComponent:"uniformPdpPage"===s?c:void 0}):(0,r.jsx)(i.Z$,{name:"content",wrapperComponent:"uniformPdpPage"===s?c:void 0})}),(0,r.jsx)(i.Z$,{name:"footer"}),(0,r.jsx)(i.Z$,{name:"seo"})]})})})})}let _=e=>{var n;return null!==(n=e.startsWith(":")||"search"===e||"sitemap"===e||"opleidingen"===e||"product"===e||"inschrijven"===e||"blog"===e||"professionals"===e)&&void 0!==n&&n}}},function(e){e.O(0,[888,774,179],function(){return e(e.s=46041)}),_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.