PageSourceSearch

https://royaldockswaterways.com/_next/static/chunks/2530.90b35e6a235a7db6.js

js royaldockswaterways.com collected 2026-10-09 22:01:13 UTC 13,526 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2530],{53960:function(e,t,s){"use strict";s.r(t),s.d(t,{CompContentWithStickyCta:function(){return CompContentWithStickyCta}});var c=s(85893),n=s(37550),i=s.n(n),o=s(27361),l=s.n(o),r=s(25675),a=s.n(r),d=s(21517),m=s(14917),p=s(67294),u=s(1590),_=s(9008),h=s.n(_),f=s(57578),x=s(11782);let CompContentWithStickyCta=function(e){var t,s,n,o,r,_,v;let L=l()(e,"backgroundColourSelectTwo"),y=l()(e,"content"),g=l()(e,"mainContentRepeater"),k=l()(e,"stickyCtaSubtitle"),j=l()(e,"stickyCtaTitle"),C=l()(e,"stickyCtaImage"),w=l()(e,"stickyCtaText"),N=l()(e,"stickyCtaLink"),b=l()(e,"stickyCtaForm"),S=l()(e,"backgroundColourSelect"),E=l()(e,"scrollTabId"),R={fiftySpacers:l()(e,"fiftySpacers"),oneHundredSpacers:l()(e,"oneHundredSpacers")},[M,P]=(0,p.useState)(null),T=null==g?void 0:null===(t=g.filter(e=>(null==e?void 0:e.option)==="accordion"))||void 0===t?void 0:t.flatMap(e=>(null==e?void 0:e.accordionBlockRepeater)||[]),I={};return(null==T?void 0:T.length)>0&&(I={"@context":"https://schema.org","@type":"FAQPage",mainEntity:T.map(e=>({"@type":"Question",name:e.accordionBlockRepeaterTitle,acceptedAnswer:{"@type":"Answer",text:e.accordionBlockRepeaterText}}
1))}),(0,c.jsxs)(p.Fragment,{children:[(0,c.jsx)(h(),{children:(0,c.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(I)}})}),(0,c.jsxs)("section",{className:"".concat(L," side-gutters"),children:[(0,c.jsx)(m.u,{top:R}),(0,c.jsxs)("div",{className:"flex-content-block",id:E,children:[(0,c.jsx)("div",{className:"col-md-0-12 col-lg-1-12 hide-on-responsive",children:"\xa0"}),(0,c.jsxs)("div",{className:"col-xs-12-12 col-md-7-12 grid-gutters",children:[y&&(0,c.jsx)("div",{className:"fs-wysiwyg-med",dangerouslySetInnerHTML:{__html:y}}),null==g?void 0:g.map((e,t)=>{let s=l()(e,"content"),n=l()(e,"options"),o=l()(e,"accordionBlockRepeater",[]);return(0,c.jsxs)(u.Ug,{children:["accordion"==n&&(0,c.jsx)("div",{className:"".concat(i().comp_cs_accordion),children:null==o?void 0:o.map((e,t)=>{let s=l()(e,"accordionBlockRepeaterTitle"),n=l()(e,"accordionBlockRepeaterText");return(0,c.jsxs)("div",{className:"".concat(i().comp_acc_block," ").concat(M===t?"open":""),"data-parent":!0,children:[(0,c.jsxs)("div",{className:"".concat(i().comp_acc_block_t
1itle," fs-title-7"),"data-isopen":M===t,onClick:e=>{t===M?P(null):(P(t),setTimeout(function(){let t=e.target.closest("[data-parent=true]");t.scrollIntoView({behavior:"smooth",block:"start"})},1e3))},children:[s,(0,c.jsxs)("div",{className:i().comp_acc_toggle_icon,children:[(0,c.jsx)("div",{className:i().horizontal}),(0,c.jsx)("div",{className:i().vertical})]})]}),(0,c.jsx)("div",{className:"".concat(i().comp_acc_block_text," ").concat(M===t?"open":""," col-xs-12-12"),children:(0,c.jsx)("div",{children:n&&(0,c.jsx)("div",{className:"fs-wysiwyg-med text",dangerouslySetInnerHTML:{__html:n}})})})]},t)})}),"content"==n&&(0,c.jsx)("div",{className:"".concat(i().comp_cs_content," fs-wysiwyg-med"),dangerouslySetInnerHTML:{__html:s}})]},t)})]}),(0,c.jsx)("div",{className:"col-xs-0-12 col-md-1-12 col-lg-1-12 hide-on-responsive"}),(0,c.jsx)("div",{className:"show-on-responsive ss-sp-30",children:"\xa0"}),(0,c.jsx)("div",{className:"".concat(i().comp_cs_sticky," col-xs-12-12 col-md-4-12 col-lg-3-12 grid-gutters"),children:(0,c.jsx)("div",{className:"".concat(i().comp_cs_sticky_wrapper," ").concat(N||b?"":i().no_sticky_cta),children:N&&!b?(0,c.jsx)(d.g,{href:null==N?void 0:N.url,target:null==N?void 0:N.target,children:(0,c.jsxs)("div",{className:"".concat(i().comp_cs_sticky_container," ").concat(S," flex flex-col items-center justify-center"),children:[(0,c.jsx)("div",{className:i().comp_cs_sticky_bg_svg,children:(0,c.jsx)("svg",{width:"356",height:"384",viewBox:"0 0 356 384",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"M-20.2865 101.92L236.593 15.7044L255.508 72.0639L658.06 -52.5795L687.378 -17.126L1252.87 -191.226L1412.01 -288.213L1613.03 -343.498L1608.1 -358.202L1667.17 -378.03L1712.19 -343.161L1761.58 -359.737L1774.89 -320.082L1746.14 -310.433C1746.14 -310.433 1718.82 -268.385 1792.25 -207.951L1805.02 -169.91L1377.09 -43.6205L1430.37 137.359L1486.92 118.379L1494.27 140.277L1389.7 175.374L1392.56 183.902L1411.41 177.575L1416.93 193.999L1393.2 201.963L1404.42 235.406L1231.2 321.97L1123.47 412.244L1104.79 390.792L1200.56 317.376L1174.65 240.172L1145.81 226.853L1309.98 171.752L1259.56 -0.699684L1064.99 64.6044L1060.7 51.8305L965.665 99.2684L815.093 158.59L795.394 144.234L213.131 370.661L146.344 322.832L83.3088 342.622L31.5134 297.102L51.5279 263.99L-20.2865 101.92Z",fill:"#2C60D6"})})}),k&&(0,c.jsx)("div",{className:"fs-cta-subtitle text-center",children:k}),j&&(0,c.jsx)("div",{className:"fs-title-5 text-center ss-sp-10",children:j}),C&&(0,c.jsx)("div",{className:"ss-sp-30",children:(0,c.jsx)(a(),{className:"rounded-sm",alt:N||x.jG,src:null==C?void 0:C.sourceUrl,width:null==C?void 0:null===(s=C.mediaDetails)||void 0===s?void 0:s.width,height:null==C?void 0:null===(n=C.mediaDetails)||void 0===n?void 0:n.height})}),w&&(0,c.jsx)("div",{className:"fs-wysiwyg-sm text-center ss-sp-10",dangerouslySetInnerHTML:{__html:w}}),(0,c.jsx)("div",{className:"btn-primary transparent",children:null==N?void 0:N.title}),b&&(0,c.jsx)("div",{children:(0,c.jsx)(f.R,{form:b})})]})}):N&&b?(0,c.jsxs)("div",{className:"".concat(i().comp_cs_sticky_container," ").concat(S," flex flex-col items-center justify-center"),children:[(0,c.jsx)("div",{className:i().comp_cs_sticky_bg_svg,children:(0,c.jsx)("svg",{width:"356",height:"384",viewBox:"0 0 356 384",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"M-20.2865 101.92L236.593 15.7044L255.508 72.0639L658.06 -52.5795L687.378 -17.126L1252.87 -191.226L1412.01 -288.213L1613.03 -343.498L1608.1 -358.202L1667.17 -378.03L1712.19 -343.161L1761.58 -359.737L1774.89 -320.082L1746.14 -310.433C1746.14 -310.433 1718.82 -268.385 1792.25 -207.951L1805.02 -169.91L1377.09 -43.6205L1430.37 137.359L1486.92 118.379L1494.27 140.277L1389.7 175.374L1392.56 183.902L1411.41 177.575L1416.93 193.999L1393.2 201.963L1404.42 235.406L1231.2 321.97L1123.47 412.244L1104.79 390.792L1200.56 317.376L1174.65 240.172L1145.81 226.853L1309.98 171.752L1259.56 -0.699684L1064.99 64.6044L1060.7 51.8305L965.665 99.2684L815.093 158.59L795.394 144.234L213.131 370.661L146.344 322.832L83.3088 342.622L31.5134 297.102L51.5279 263.99L-20.2865 101.92Z",fill:"#2C60D6"})})}),k&&(0,c.jsx)("div",{className:"fs-cta-subtitle text-center",children:k}),j&&(0,c.jsx)("div",{className:"fs-title-5 text-center ss-sp-10",children:j}),C&&(0,c.jsx)("div",{className:"ss-sp-30",children:(0,c.jsx)(a(),{className:"rounded-sm",src:null==C?void 0:C.sourceUrl,width:null==C?void 0:null===(o=C.mediaDetails)||void 0===o?void 0:o.width,height:null==C?void 0:null===(r=C.mediaDetails)||void 0===r?void 0:r.height})}),w&&(0,c.jsx)("div",{className:"fs-wysiwyg-sm text-center ss-sp-10",dangerouslySetInnerHTML:{__html:w}}),(0,c.jsx)(d.g,{href:null==N?void 0:N.url,target:null==N?void 0:N.target,className:"relative btn-primary transparent",children:null==N?void 0:N.title}),b&&(0,c.jsx)("div",{className:"mt-20",children:(0,c.jsx)(f.R,{form:b})})]}):(0,c.jsxs)("div",{className:"".concat(i().comp_cs_sticky_container," ").concat(S,"  flex flex-col items-center justify-center"),children:[k&&(0,c.jsx)("div",{className:"fs-pretitle text-center pb-10",children:k}),j&&(0,c.jsx)("div",{className:"fs-title-5 text-center ss-sp-10",children:j}),C&&(0,c.jsx)("div",{className:"ss-sp-30",children:(0,c.jsx)(a(),{className:"rounded-sm",src:null==C?void 0:C.sourceUrl,width:null==C?void 0:null===(_=C.mediaDetails)||void 0===_?void 0:_.width,height:null==C?void 0:null===(v=C.mediaDetails)||void 0===v?void 0:v.height})}),w&&(0,c.jsx)("div",{className:"fs-wysiwyg-med text-center",dangerouslySetInnerHTML:{__html:w}}),b&&(0,c.jsx)("div",{className:"mt-20",children:(0,c.jsx)(f.R,{form:b})})]})})}),(0,c.jsx)("div",{className:"col-md-0-12 col-lg-1-12 hide-on-responsive",children:"\xa0"})]}),(0,c.jsx)(m.u,{bottom:R})]})]})};t.default=CompContentWithStickyCta},14917:function(e,t,s){"use strict";s.d(t,{u:function(){return CompSpacer}}
1);var c=s(85893),n=s(67294);let CompSpacer=e=>{let{top:t,bottom:s}=e;return(0,c.jsxs)(n.Fragment,{children:[t&&t.fiftySpacers&&-1!==t.fiftySpacers.indexOf("top")&&(0,c.jsx)("div",{className:"fifty-spacer"}),t&&t.oneHundredSpacers&&-1!==t.oneHundredSpacers.indexOf("top")&&(0,c.jsx)("div",{className:"one-hundred-spacer"}),s&&s.fiftySpacers&&-1!==s.fiftySpacers.indexOf("bottom")&&(0,c.jsx)("div",{className:"fifty-spacer"}),s&&s.oneHundredSpacers&&-1!==s.oneHundredSpacers.indexOf("bottom")&&(0,c.jsx)("div",{className:"one-hundred-spacer"})]})};t.Z=CompSpacer},37550:function(e){e.exports={comp_cs_sticky_wrapper:"comp-content-sticky_comp_cs_sticky_wrapper____JL8",comp_cs_sticky_container:"comp-content-sticky_comp_cs_sticky_container__vEK5T",site_info:"comp-content-sticky_site_info__DdMBm",comp_cs_sticky_bg_svg:"comp-content-sticky_comp_cs_sticky_bg_svg__FgZrv",comp_cs_project_details:"comp-content-sticky_comp_cs_project_details__eZWaa",row:"comp-content-sticky_row__kdX17",comp_cs_accordion:"comp-content-sticky_comp_cs_accordion__LUnbj",comp_acc_block:"comp-content-sticky_comp_acc_block__m4z5c",comp_acc_block_t
1itle:"comp-content-sticky_comp_acc_block_title__kdKTR",comp_acc_toggle_icon:"comp-content-sticky_comp_acc_toggle_icon__5NCRr",comp_acc_block_text:"comp-content-sticky_comp_acc_block_text__xASOU",site_info_row:"comp-content-sticky_site_info_row__nE0pt",no_sticky_cta:"comp-content-sticky_no_sticky_cta__ZOojk"}},51526:function(e,t,s){"use strict";s.d(t,{M:function(){return AnimatePresence}});var c=s(67294),n=s(58868);function useIsMounted(){let e=(0,c.useRef)(!1);return(0,n.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var i=s(2074),o=s(240),l=s(96681);let PopChildMeasure=class PopChildMeasure extends c.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function PopChild({children:e,isPresent:t}){let s=(0,c.useId)(),n=(0,c.useRef)(null),i=(0,c.useRef)({width:0,height:0,top:0,left:0});return(0,c.useInsertionEffect)(()=>{let{width:e,height:c,top:o,left:l}=i.current;if(t||!n.current||!e||!c)return;n.current.dataset.motionPopId=s;let r=document.createElement("style");return document.head.appendChild(r),r.sheet&&r.sheet.insertRule(`
2          [data-motion-pop-id="${s}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${c}px !important;
6            top: ${o}px !important;
7            left: ${l}px !important;
8          }
9        `),()=>{document.head.removeChild(r)}},[t]),c.createElement(PopChildMeasure,{isPresent:t,childRef:n,sizeRef:i},c.cloneElement(e,{ref:n}))}let PresenceChild=({children:e,initial:t,isPresent:s,onExitComplete:n,custom:i,presenceAffectsLayout:r,mode:a})=>{let d=(0,l.h)(newChildrenMap),m=(0,c.useId)(),p=(0,c.useMemo)(()=>({id:m,initial:t,isPresent:s,custom:i,onExitComplete:e=>{for(let t of(d.set(e,!0),d.values()))if(!t)return;n&&n()},register:e=>(d.set(e,!1),()=>d.delete(e))}),r?void 0:[s]);return(0,c.useMemo)(()=>{d.forEach((e,t)=>d.set(t,!1))},[s]),c.useEffect(()=>{s||d.size||!n||n()},[s]),"popLayout"===a&&(e=c.createElement(PopChild,{isPresent:s},e)),c.createElement(o.O.Provider,{value:p},e)};function newChildrenMap(){return new Map}var r=s(25364),a=s(45487);let getChildKey=e=>e.key||"",AnimatePresence=({children:e,custom:t,initial:s=!0,onExitComplete:o,exitBeforeEnter:l,presenceAffectsLayout:d=!0,mode:m="sync"})=>{var p;(0,a.k)(!l,"Replace exitBeforeEnter with mode='wait'");let u=(0,c.useContext)(r.p).forceRender||function(){let e=useIsMounted(),[t,s]=(0,c.useState)(0),n=(0,c.useCallback)(()=>{e.current&&s(t+1)},[t]),o=(0,c.useCallback)(()=>i.Wi.postRender(n),[n]);return[o,t]}()[0],_=useIsMounted(),h=function(e){let t=[];return c.Children.forEach(e,e=>{(0,c.isValidElement)(e)&&t.push(e)}),t}(e),f=h,x=(0,c.useRef)(new Map).current,v=(0,c.useRef)(f),L=(0,c.useRef)(new Map).current,y=(0,c.useRef)(!0);if((0,n.L)(()=>{y.current=!1,function(e,t){e.forEach(e=>{let s=getChildKey(e);t.set(s,e)})}(h,L),v.current=f}),p=()=>{y.current=!0,L.clear(),x.clear()},(0,c.useEffect)(()=>()=>p(),[]),y.current)return c.createElement(c.Fragment,null,f.map(e=>c.createElement(PresenceChild,{key:getChildKey(e),isPresent:!0,initial:!!s&&void 0,presenceAffectsLayout:d,mode:m},e)));f=[...f];let g=v.current.map(getChildKey),k=h.map(getChildKey),j=g.length;for(let e=0;e<j;e++){let t=g[e];-1!==k.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===m&&x.size&&(f=[]),x.forEach((e,s)=>{if(-1!==k.indexOf(s))return;let n=L.get(s);if(!n)return;let i=g.indexOf(s),l=e;l||(l=c.createElement(PresenceChild,{key:getChildKey(n),isPresent:!1,onExitComplete:()=>{x.delete(s);let e=Array.from(L.keys()).filter(e=>!k.includes(e));if(e.forEach(e=>L.delete(e)),v.current=h.filter(t=>{let c=getChildKey(t);return c===s||e.includes(c)}),!x.size){if(!1===_.current)return;u(),o&&o()}},custom:t,presenceAffectsLayout:d,mode:m},n),x.set(s,l)),f.splice(i,0,l)}),f=f.map(e=>{let t=e.key;return x.has(t)?e:c.createElement(PresenceChild,{key:getChildKey(e),isPresent:!0,presenceAffectsLayout:d,mode:m},e)}),c.createElement(c.Fragment,null,x.size?f:f.map(e=>(0,c.cloneElement)(e)))}}}]);

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.