PageSourceSearch

https://www.ramboll.com/_next/static/chunks/128.f55ec7d4447e8efb.js

js ramboll.com collected 2026-09-24 08:38:45 UTC 8,299 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[128],{70067:function(e,t,r){r.r(t),r.d(t,{VideoPlayerModal:function(){return h}});var i=r(48282),n=r(13247),o=r(49521),a=r(45536),s=r(15852),l=r(30123),c=r(37411),u=r(46171),p=r(18529),d=r(10702);let h=e=>{let{isOpen:t,onClose:r,videoUrl:h,_title:x}=e,m=(0,p.useRef)(null),[f,g]=(0,p.useState)(!1),[w,v]=(0,p.useState)(0),[b,j]=(0,p.useState)(0),[y,k]=(0,p.useState)(1),[S,C]=(0,p.useState)(!1);(0,p.useEffect)(()=>{let e=m.current;if(!e)return;let t=()=>v(e.currentTime),r=()=>j(e.duration);return e.addEventListener("timeupdate",t),e.addEventListener("loadedmetadata",r),()=>{e.removeEventListener("timeupdate",t),e.removeEventListener("loadedmetadata",r)}},[t]);let E=()=>{m.current&&(f?m.current.pause():m.current.play(),g(!f))},z=e=>"".concat(Math.floor(e/60),":").concat(Math.floor(e%60).toString().padStart(2,"0")),M=/\.(mp4|webm|ogg|mov)(\?|$)/i.test(h),B=(0,u.Ck)(h),L=e=>{if(e.includes("<iframe"))return e;try{let t=new URL(e);return t.searchParams.set("autoplay","1"),t.toString()}catch(t){return e}};return(0,i.jsxs)(n.u_,{isCentered:!0,isOpen:t,size:"full",trapFocus:!1,autoFocus:!1,onClose:r,children:[(0,i.jsx)(o.Z,{bg:"rgba(0, 0, 0, 0.8)"}),(0,i.jsx)(a.h,{bg:"transparent",boxShadow:"none",maxW:"none",m:0,children:(0,i.jsxs)(s.k,{position:"relative",w:"100vw",h:"100vh",alignItems:"center",justifyContent:"center",onClick:r,children:[(0,i.jsx)(l.xu,{as:"button",position:"absolute",top:"20px",right:"20px",w:"24px",h:"24px",cursor:"pointer",zIndex:10,_hover:{opacity:.8},transition:"opacity 0.2s",onClick:r,children:(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.jsx)("path",{d:"M18 6L6 18M6 6l12 12",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,i.jsx)(s.k,{direction:"column",alignItems:"center",gap:"20px",maxW:"1060px",w:"90%",onClick:e=>e.stopPropagation(),onTouchStart:e=>e.stopPropagation(),children:(0,i.jsx)(l.xu,{position:"relative",w:"100%",maxW:"1060px",h:"auto",borderRadius:"4px",overflow:"hidden",bg:"black",pointerEvents:"auto",sx:{touchAction:"auto"},children:B?(0,i.jsx)(l.xu,{position:"relative",w:"100%",paddingTop:"56.25%",pointerEvents:"auto",sx:{touchAction:"auto"},children:(0,i.jsx)(d.j,{autoPlay:!0,embedHtml:h,position:"absolute",top:"0",left:"0",w:"100%",h:"100%",sx:{"& wistia-player":{width:"100% !important",height:"100% !important"}}})}):M||B?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("video",{ref:m,controls:!0,playsInline:!0,src:h,muted:S,preload:"auto",style:{width:"100%",height:"auto",display:"block"},onClick:E}),(0,i.jsxs)(s.k,{position:"absolute",bottom:"20px",left:"50%",transform:"translateX(-50%)",w:"90%",maxW:"960px",h:"40px",bg:"rgba(255, 255, 255, 0.1)",backdropFilter:"blur(10px)",borderRadius:"20px",alignItems:"center",px:"20px",gap:"15px",children:[(0,i.jsx)(l.xu,{as:"button",w:"24px",h:"24px",cursor:"pointer",flexShrink:0,_hover:{opacity:.8},onClick:E,children:f?(0,i.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",children:[(0,i.jsx)("rect",{x:"6",y:"4",width:"4",height:"16"}),(0,i.jsx)("rect",{x:"14",y:"4",width:"4",height:"16"})]}):(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",children:(0,i.jsx)("path",{d:"M8 5v14l11-7z"})})}),(0,i.jsxs)(l.xu,{fontSize:"12px",color:"white",fontFamily:'"Nunito", sans-serif',fontWeight:"500",flexShrink:0,minW:"70px",children:[z(w)," / ",z(b)]}),(0,i.jsxs)(c.iR,{"aria-label":"video-progress",value:w,min:0,max:b||100,flex:"1",onChange:e=>{m.current&&(m.current.currentTime=e,v(e))},children:[(0,i.jsx)(c.Uj,{bg:"#CCEBFC",h:"4px",borderRadius:"2px",children:(0,i.jsx)(c.Ms,{bg:"#0098EB"})}),(0,i.jsx)(c.gs,{boxSize:"12px",bg:"#0098EB"})]}),(0,i.jsxs)(s.k,{alignItems:"center",gap:"10px",flexShrink:0,children:[(0,i.jsx)(l.xu,{as:"button",w:"24px",h:"24px",cursor:"pointer",_hover:{opacity:.8},onClick:()=>{if(m.current){let e=!S;if(m.current.muted=e,C(e),e)k(0);else{let e=0===y?1:y;m.current.volume=e,k(e)}}},children:S||0===y?(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",children:(0,i.jsx)("path",{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"})}):(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"white",children:(0,i.jsx)("path",{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"})})}),(0,i.jsx)(l.xu,{w:"60px",children:(0,i.jsxs)(c.iR,{"aria-label":"volume",value:y,min:0,max:1,step:.1,onChange:e=>{m.current&&(m.current.volume=e,k(e),0===e?(C(!0),m.current.muted=!0):(C(!1),m.current.muted=!1))},children:[(0,i.jsx)(c.Uj,{bg:"#CCEBFC",h:"4px",borderRadius:"2px",children:(0,i.jsx)(c.Ms,{bg:"#0098EB"})}),(0,i.jsx)(c.gs,{boxSize:"12px",bg:"#0098EB"})]})})]})]})]}):(0,i.jsx)(l.xu,{position:"relative",w:"100%",paddingTop:"56.25%",pointerEvents:"auto",sx:{touchAction:"auto"},children:h.includes("<iframe")?(0,i.jsx)(l.xu,{pointerEvents:"auto",dangerouslySetInnerHTML:{__html:(()=>{let e=h.match(/<iframe[^>]*>[\s\S]*?<\/iframe>/i);if(e){let t=e[0],r=t.match(/src=["']([^"']*)["']/i);if(r&&r[1]){let e=L(r[1]);t=t.replace(/src=["'][^"']*["']/i,'src="'.concat(e,'"'))}return(t=(t=(t=t.replace(/width="[^"]*"/gi,"")).replace(/height="[^"]*"/gi,"")).replace(/style="[^"]*"/gi,"")).includes("allow=")?t.replace(/allow="([^"]*)"/gi,(e,t)=>{let r=t.split(";").map(e=>e.trim());return r.includes("autoplay")||r.push("autoplay"),r.includes("fullscreen")||r.push("fullscreen"),'allow="'.concat(r.join("; "),'"')}):t.replace("<iframe",'<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen"')}return h})()},sx:{"& iframe":{width:"100% !important",height:"100% !important",border:"none !important",position:"absolute !important",top:"0 !important",left:"0 !important",pointerEvents:"auto !important",touchAction:"auto !important"}}}):(0,i.jsx)(l.xu,{allowFullScreen:!0,as:"iframe",src:L(h),allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen",title:x||"Video Player",position:"absolute",top:"0",left:"0",w:"100%",h:"100%",border:"none",pointerEvents:"auto",sx:{touchAction:"auto"}})})})})]})})]})}},8707:function(e,t,r){r.d(t,{z:function(){return i}});function i(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});let r=new(e.ownerDocument.defaultView??window).ResizeObserver(r=>{let i,n;if(!Array.isArray(r)||!r.length)return;let[o]=r;if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,n=t.blockSize}else i=e.offsetWidth,n=e.offsetHeight;t({width:i,height:n})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}},953:function(e,t,r){r.d(t,{qY:function(){return h},ZP:function(){return w},$B:function(){return g}});let i=1/60*1e3,n="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),o="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(n()),i),a=!0,s=!1,l=!1,c={delta:0,timestamp:0},u=["read","update","preRender","render","postRender"],p=u.reduce((e,t)=>
1(e[t]=function(e){let t=[],r=[],i=0,n=!1,o=!1,a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{let l=s&&n,c=l?t:r;return o&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&n&&(i=t.length)),e},cancel:e=>{let t=r.indexOf(e);-1!==t&&r.splice(t,1),a.delete(e)},process:l=>{if(n){o=!0;return}if(n=!0,[t,r]=[r,t],r.length=0,i=t.length)for(let r=0;r<i;r++){let i=t[r];i(l),a.has(i)&&(s.schedule(i),e())}n=!1,o&&(o=!1,s.process(l))}};return s}(()=>s=!0),e),{}),d=u.reduce((e,t)=>{let r=p[t];return e[t]=(e,t=!1,i=!1)=>(s||f(),r.schedule(e,t,i)),e},{}),h=u.reduce((e,t)=>(e[t]=p[t].cancel,e),{});u.reduce((e,t)=>(e[t]=()=>p[t].process(c),e),{});let x=e=>p[e].process(c),m=e=>{s=!1,c.delta=a?i:Math.max(Math.min(e-c.timestamp,40),1),c.timestamp=e,l=!0,u.forEach(x),l=!1,s&&(a=!1,o(m))},f=()=>{s=!0,a=!0,l||o(m)},g=()=>c;var w=d}}]);

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.