PageSourceSearch

https://rotterdammaritimecapital.com/build/js/app.js?id=696dce4c62245b82697f

js rotterdammaritimecapital.com collected 2026-10-06 16:15:03 UTC 17,454 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{0:function(e,t,n){n("bUC5"),e.exports=n("pyCd")},LaEc:function(e,t){var n,i,r,o;Array.from||(Array.from=(n=Object.prototype.toString,i=function(e){return"function"==typeof e||"[object Function]"===n.call(e)},r=Math.pow(2,53)-1,o=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),r)},function(e){var t=this,n=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!i(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var s,l=o(n.length),c=i(t)?Object(new t(l)):new Array(l),u=0;u<l;)s=n[u],c[u]=a?void 0===r?a(s,u):a.call(r,s,u):s,u+=1;return c.length=l,c}))},bUC5:function(e,t,n){"use strict";n.r(t);var i=n("+aTx"),r=n.n(i),o=(n("s+lh"),n("eCb9"),n("LaEc"),n("VyCv")),a=n.n(o);function s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var l={init:function(){var e=document.querySelector(".js-contact-persons"),t=s(document.querySelectorAll(".js-contact-persons-toggle")),n=s(document.querySelectorAll(".js-contact-person-mail"));e&&(new a.a(".js-contact-persons",{slidesPerView:"auto",allowTouchMove:!1,breakpoints:{767:{slidesPerView:1.5,allowTouchMove:!0},979:{slidesPerView:2.5,allowTouchMove:!0}}}),t.forEach((function(t){t.addEventListener("click",(function(){e.closest(".contact-persons").classList.toggle("is-active"),window.dataLayer&&window.dataLayer.push({event:"contact button","event-label":window.location.href})}))})),n.forEach((function(e){e.addEventListener("click",(function(){window.dataLayer&&window.dataLayer.push({event:"email contact","event-label":e.title})}))})))}},c=n("z/o8");var u,d=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(u=document.querySelectorAll(".sidenote"))||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(u)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}(),v={init:function(){d.length>0&&d.forEach((function(e,t){var n=document.querySelectorAll(".text__sidenote")[t];n&&(c.b.set(n,{y:e.offsetTop}),e.addEventListener("mouseenter",(function(){n.classList.add("active")})),e.addEventListener("mouseleave",(function(){n.classList.remove("active")})))}))}},p=document.querySelector(".js-news-filter-type"),m=document.querySelector(".js-news-showcases-only"),y={init:function(){var e=this;p&&m&&(p.addEventListener("change",(function(){return e.onChange("filter-type")})),m.addEventListener("change",(function(){return e.onChange("showcases-only-filter")}))),"#filter-type"===window.location.hash&&p?p.focus():"#showcases-only-filter"===window.location.hash&&m&&m.focus()},onChange:function(e){var t="/news";"update"!==p.value?(t+="?type=".concat(p.value),m.checked&&(t+="&showcase=1")):m.checked&&(t+="?showcase=1"),t+="#".concat(e),window.location.replace(t)}},h=n("p46w"),f=n.n(h);function b(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var g={init:function(){var e=this;document.querySelector(".js-cookie")&&(document.querySelector(".js-cookie-settings").addEventListener("click",this.showSettings.bind(this)),b(document.querySelectorAll(".js-cookie-close")).forEach((function(t){t.addEventListener("click",e.close.bind(e))})),f.a.get("rmcoeDefaultCookie")?this.exit():this.initCookies())},showSettings:function(e){e.preventDefault(),document.querySelector(".cookies-settings").style.transform="translateX(-50%) translateY(-100%)",document.querySelector(".page-cookies").style.overflow="visible"},initCookies:function(){f.a.set("rmcoeDefaultCookie","true",{expires:365})}
1,setCookies:function(){document.querySelector(".js-cookie-advanced").checked&&f.a.set("rmcoeAdvancedCookie","true",{expires:365}),window.dataLayer&&window.dataLayer.push({event:"cookie consent"})},close:function(){this.setCookies(),this.exit()},exit:function(){var e=document.querySelector(".js-cookie");e.parentNode.removeChild(e)}};function w(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var _={init:function(){document.querySelector(".video")&&w(document.querySelectorAll(".video")).forEach((function(e){var t=e.querySelector(".video__play-btn"),n=e.querySelector("video"),i=e.classList.contains("playing");t&&t.addEventListener("click",(function(){console.log(i),i?(i=!1,n.pause(),e.classList.remove("playing")):(i=!0,n.play(),e.classList.add("playing"))}))}));var e=document.querySelector(".home-header__play-btn");if(e){var t=document.querySelector(".home-header__video"),n=e.classList.contains("home-header__play-btn--paused");e.addEventListener("click",(function(){n?(n=!1,t.play(),e.classList.remove("home-header__play-btn--paused"),e.ariaLabel=e.dataset.ariaLabelPause):(n=!0,t.pause(),e.classList.add("home-header__play-btn--paused"),e.ariaLabel=e.dataset.ariaLabelPlay)}))}}},S=n("x0D+"),L=n("4Wwy");function A(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var E=null,j=null,k=null,q=null,O=null,C=null,T=null,V=null,M=null,x=null,I=null,W=null,P={init:function(){var e=this;j=document.querySelector(".nav-primary"),k=document.querySelector(".nav-primary__inner"),q=document.querySelector(".main"),V=L.a(k,{escapeDeactivates:!1}),W=document.querySelectorAll(".nav-primary__sublist-container"),null!==j&&(E=A(j.querySelectorAll(".nav-primary__item")),O=j.querySelector(".js-nav-primary-open-menu"),C=A(j.querySelectorAll(".js-nav-primary-open-search")),T=j.querySelector(".js-nav-primary-close"),x=A(j.querySelectorAll(".js-open-submenu")),I=A(j.querySelectorAll(".js-close-submenu")),x&&x.forEach((function(t){t.addEventListener("click",e.openSubMenu),t.addEventListener("mouseenter",(function(t){window.innerWidth>=1200&&e.menuItemWithSubMouseEnter(t)})),t.addEventListener("mouseleave",(function(t){window.innerWidth>=1200&&e.menuItemWithSubMouseLeave(t)})),t.addEventListener("blur",e.menuItemWithSubMouseLeave.bind(e)),W.forEach((function(t){t.addEventListener("mouseenter",(function(){window.innerWidth<1200||clearTimeout(e.subLeaveTimeout)})),t.addEventListener("mouseleave",(function(){window.innerWidth<1200||(document.body.classList.remove("nav-primary-sublist--is-open"),e.currentSubOpen&&(e.currentSubOpen.ariaExpanded=!1,e.currentSubOpen.classList.remove("nav-primary-sublist--is-open"),e.currentSubOpen=null))}))})),t.closest(".nav-primary__item").querySelector(".nav-primary__sublist").querySelectorAll("a.nav-primary__sublink, button.nav-primary__sublink").forEach((function(t){t.addEventListener("focus",(function(){return clearTimeout(e.subLeaveTimeout)})),t.addEventListener("blur",e.menuItemWithSubMouseLeave.bind(e))}))})),I&&I.forEach((function(t){t.addEventListener("click",e.closeSubMenu)})),O.addEventListener("click",this.openAnimation),T.addEventListener("click",this.closeAnimation)),window.addEventListener("keydown",(function(t){"Escape"===t.key&&(e.currentSubOpen?e.closeAllSubmenus(t):document.body.classList.contains("nav-primary--is-open")&&e.closeAnimation(t))}))},currentSubOpen:null,subLeaveTimeout:null,menuItemWithSubMouseEnter:function(e){this.currentSubOpen&&(this.currentSubOpen!==e.target?this.currentSubOpen.classList.remove("nav-primary-sublist--is-open"):clearTimeout(this.subLeaveTimeout)),document.body.classList.add("nav-primary-sublist--is-open"),e.target.classList.add("nav-primary-sublist--is-open"),e.target.ariaExpanded=!0,this.currentSubOpen=e.target},menuItemWithSubMouseLeave:function(e){if(!e.target.closest("li.nav-primary__item:hover, li.nav-primary__item:focus-within")){clearTimeout(this.subLeaveTimeout);var t=this.currentSubOpen;this.subLeaveTimeout=setTimeout((function(){document.body.classList.remove("nav-primary-sublist--is-open"),e.target.classList.remove("nav-primary-sublist--is-open");
1var n=e.target.closest(".nav-primary__item"),i=n&&n.querySelector(".nav-primary-sublist--is-open");i&&i.classList.remove("nav-primary-sublist--is-open"),t&&(t.ariaExpanded=!1)}),600)}},openAnimation:function(e){e.preventDefault(),q&&window.innerWidth<1200&&(q.style.paddingTop="".concat(j.offsetHeight,"px")),document.body.classList.add("nav-primary--is-open"),P.prepareAnimation(),c.b.set(T,{display:"block"}),c.b.set(O,{display:"none"}),C&&C.length&&c.b.set(C,{display:"none"}),E.forEach((function(e,t){c.b.to(e.closest("li.nav-primary__item"),.75,{opacity:1,delay:.1+.05*t})})),Object(S.disableBodyScroll)(document.body),V.activate()},closeAnimation:function(e){e.preventDefault(),V.deactivate();var t=new c.a({onComplete:P.reverseAnimation});t.to(O,0,{display:"block"}),C&&C.length&&t.to(C,0,{display:"none"}),t.to(T,0,{display:"none"}).to(E,.5,{opacity:0},"-=0.60")},prepareAnimation:function(){c.b.set(E,{opacity:0})},reverseAnimation:function(){P.resetAnimation()},resetAnimation:function(){j&&(Object(S.enableBodyScroll)(document.body),document.body.classList.remove("nav-primary--is-open"),q&&(q.style.paddingTop=""),window.isMobileLayout?(c.b.set(O,{clearProps:"display"}),C&&C.length&&c.b.set(C,{clearProps:"display"}),c.b.set(T,{display:"none"})):(c.b.set(O,{clearProps:"display"}),C&&C.length&&c.b.set(C,{clearProps:"display"}),c.b.set(x,{opacity:1})))}
1,openSubMenu:function(e){var t=e.currentTarget,n=t.closest(".nav-primary__item"),i=n.classList.contains("nav-primary__item--is-open")||t.classList.contains("nav-primary-sublist--is-open");if(0===e.detail&&i)P.closeSubMenu.call(t);else if(P.currentSubOpen&&P.currentSubOpen!==t&&P.closeSubMenu.call(P.currentSubOpen),document.body.classList.add("nav-primary-sublist--is-open"),t.classList.add("nav-primary-sublist--is-open"),n.classList.add("nav-primary__item--is-open"),t.ariaExpanded=!0,P.currentSubOpen=t,window.innerWidth<1200&&(M=L.a(n.querySelector(".nav-primary__sublist-container"),{escapeDeactivates:!1})).activate(),0===e.detail){var r=n.querySelector(".nav-primary__sublist a");r&&r.focus()}},closeSubMenu:function(){M&&M.deactivate(),document.body.classList.remove("nav-primary-sublist--is-open");var e=this.closest(".nav-primary__item");e.classList.remove("nav-primary__item--is-open");var t=e.querySelector(".js-open-submenu");t&&(t.ariaExpanded=!1,t.classList.remove("nav-primary-sublist--is-open")),P.currentSubOpen===t&&(P.currentSubOpen=null)},closeAllSubmenus:function(){M&&M.deactivate(),document.body.classList.remove("nav-primary-sublist--is-open");
1var e=this.currentSubOpen,t=e&&e.closest(".nav-primary__item"),n=t&&t.contains(document.activeElement);this.currentSubOpen&&(this.currentSubOpen.ariaExpanded=!1,this.currentSubOpen=null);for(var i=document.querySelectorAll(".nav-primary-sublist--is-open, .nav-primary__item--is-open"),r=0;r<i.length;r+=1){i[r].classList.remove("nav-primary-sublist--is-open","nav-primary__item--is-open")}e&&n&&e.focus()}};window.addEventListener("resize",(function(){P.resetAnimation()}));var D=P;function U(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var N={init:function(){var e=document.querySelector(".nav-search"),t=U(document.querySelectorAll(".js-nav-primary-open-search")),n=document.querySelector(".js-search-close"),i=document.querySelector(".js-nav-search__form-input"),r=document.querySelector('.skiplink[href="#search"]'),o=null,a=function(t){o=t||null,e.removeAttribute("inert"),document.body.classList.add("nav-search--is-open"),i.focus()},s=function(){document.body.classList.remove("nav-search--is-open"),e.setAttribute("inert",""),o&&(o.focus(),o=null)};t.length&&n&&(t.forEach((function(e){e.addEventListener("click",(function(){return a(e)}))})),n.addEventListener("click",s),window.addEventListener("keydown",(function(e){"Escape"===e.key&&document.body.classList.contains("nav-search--is-open")&&s()}))),r&&r.addEventListener("click",(function(e){e.preventDefault(),a(r)}))}},H=n("XuX8"),F=n.n(H);function J(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var z={props:{videosArrayJson:{type:String,required:!0}},data:function(){return{videos:[],highlightedVideo:{id:"",title:"",description:"",video_url:"",thumbnailImage:""},otherVideos:[],videoPlaying:!1,isSwitchingVideo:!1}},mounted:function(){this.videos=J(JSON.parse(this.videosArrayJson)),this.setHighlightedVideo(this.videos[0].id)},methods:{setHighlightedVideo:function(e){var t=this;this.isSwitchingVideo=!0,console.log(this.isSwitchingVideo),this.highlightedVideo=this.videos.find((function(t){return t.id===e})),this.otherVideos=this.videos.filter((function(e){return e.id!==t.highlightedVideo.id})),this.isSwitchingVideo=!1,this.setHighlightedVideoEmbedUrl(this.highlightedVideo.video_url)},setHighlightedVideoEmbedUrl:function(e){this.highlightedVideoEmbedUrl="https://www.youtube.com/embed/".concat(this.retrieveVideoIdFromUrl(e),"?autoplay=0&disablekb=1")},retrieveVideoIdFromUrl:function(e){var t=e.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return t?t[1]:null},fetchThumbnailImage:function(e){return"https://img.youtube.com/vi/".concat(e,"/maxresdefault.jpg")}}},B=n("KHd+"),R=Object(B.a)(z,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"video-gallery"},[n("div",{staticClass:"video-gallery__highlighted-video-wrapper"},[n("div",{staticClass:"video-gallery__highlighted-iframe-wrapper"},[n("iframe",{attrs:{id:"ytplayer",allow:"fullscreen",type:"text/html",src:e.highlightedVideoEmbedUrl}})])]),e._v(" "),n("div",{staticClass:"video-gallery__highlighted-video__content"},[n("span",{staticClass:"video-gallery__highlighted-video__content__title"},[e._v("\n            "+e._s(e.highlightedVideo.title)+"\n        ")]),e._v(" "),n("p",{staticClass:"video-gallery__highlighted-video__content__description"},[e._v("\n            "+e._s(e.highlightedVideo.description)+"\n        ")])]),e._v(" "),n("div",{staticClass:"video-gallery__other-videos-list"},[n("span",{staticClass:"video-gallery__other-videos-list__title"},[e._v("\n            Related videos\n        ")]),e._v(" "),n("div",{staticClass:"video-gallery__other-videos-list__videos-wrapper"},e._l(e.otherVideos,(function(t){return n("a",{key:t.id,staticClass:"video-gallery__other-video",on:{click:function(n){return e.setHighlightedVideo(t.id)}}},[n("div",{staticClass:"video-gallery__other-video__visual"},[n("img",{staticClass:"video-gallery__other-video__thumbnail",attrs:{src:e.fetchThumbnailImage(e.retrieveVideoIdFromUrl(t.video_url)),alt:"image alt"}}),e._v(" "),n("div",{staticClass:"video-gallery__other-video__watch-label"},[n("span",{staticClass:"video-gallery__other-video__icon"},[n("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"/build/svgs/sprite.min.svg#video-play"}}
1)])]),e._v(" "),n("span",[e._v("\n                            Watch\n                        ")])])]),e._v(" "),n("span",{staticClass:"video-gallery__other-video__video-title"},[e._v(e._s(t.title))])])})),0)])])}),[],!1,null,null,null).exports,X={init:function(){document.getElementById("vue-video-gallery")&&new F.a({el:"#vue-video-gallery",components:{"video-gallery":R}})}};"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),window.getOffsetTop=function(e){var t=e,n=0;if(t){for(;null!==t;)Number.isNaN(t.offsetTop)||(n+=t.offsetTop),t=t.offsetParent;return n}return 0},window.isiPad=null!=navigator.userAgent.match(/iPad/i),window.isMobileLayout=window.innerWidth<980,window.addEventListener("resize",(function(){window.isMobileLayout=window.innerWidth<980})),window.objectFitPolyfill(),l.init(),g.init(),D.init(),N.init(),_.init(),X.init(),y.init(),v.init(),window.addEventListener("load",(function(){r()()}))},pyCd:function(e,t){}},[[0,1,2]]]);
2//# sourceMappingURL=app.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.