PageSourceSearch

https://canalrivertrust.org.uk/build/1372.f66b934c.js

js canalrivertrust.org.uk collected 2026-10-01 10:12:56 UTC 6,235 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1372,6794],{86794:function(e,t,i){i.d(t,{default:function(){return m}});var n=i(8711),r=i(96540),a=i(20982),o=i(79656),l=i(64959);const c=n.Ay.div.withConfig({displayName:"RoutesCollapsibleTextBox__StyledContainer",componentId:"sc-16fmtt8-0"})((()=>[{"& .text-block__list":{margin:"0px",padding:"0px"},"& .text-block__list-item":{borderTopWidth:"1px",borderColor:"var(--brand-towpath-100)",listStyleType:"none",padding:"0px",margin:"0px","& .text-block":{"&__header":{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"baseline",paddingTop:"1rem",paddingBottom:"1rem",paddingLeft:"0.5rem",paddingRight:"0.5rem"},"&__title":{flexGrow:"1",textAlign:"left"},"&__icon":{marginLeft:"0.5rem",width:"1rem",height:"1rem"},"&__content":{"& a":{color:"var(--p)",textDecorationLine:"underline"}},"&__content-container":{display:"flex",flexDirection:"column",gap:"1rem","@media (min-width: 768px)":{flexDirection:"row"}},"&__image":{minWidth:"100%","@media (min-width: 768px)":{minWidth:"35%",maxWidth:"35%"},"& picture":{"& img":{borderRadius:"0.5rem"}}}},"& details":{"& p":{overflowWrap:"break-word",whiteSpace:"pre-line",paddingBottom:"1rem",paddingLeft:"0.5rem",paddingRight:"0.5rem"},"&[open]":{"& summary":{color:"var(--p)"},"& .up-icon":{display:"block"},"& .down-icon":{display:"none"}},"& .down-icon":{display:"block"},"& .up-icon":{display:"none"},"& ul":{listStyleType:"disc"}}}}]));function m(e){let{textBlocks:t}=e;return 0===t.length?null:r.createElement(c,{"data-testid":"routesCollaspibleTextBlockComponent"},r.createElement("ul",{className:"text-block__list"},t.map(((e,t)=>r.createElement("li",{"data-testid":"routesCollapsibleTextBlockItemComponent",className:"text-block__list-item",key:t},r.createElement("details",null,r.createElement("summary",{className:"text-block__header"},r.createElement("span",{className:"text-block__title"},e.header),r.createElement("span",{className:"text-block__icon up-icon"},r.createElement(a.g,{icon:o.GF6}
1)),r.createElement("span",{className:"text-block__icon down-icon"},r.createElement(a.g,{icon:o.tdl}))),r.createElement("div",{className:"text-block__content-container"},r.createElement("div",{className:"text-block__content",dangerouslySetInnerHTML:{__html:e.content}}),e.img?r.createElement("div",{className:"text-block__image"},r.createElement(l.Ay,{img:e.img,variant:l.eW})):null)))))))}},81372:function(e,t,i){i.d(t,{default:function(){return m}});var n=i(8711),r=i(96540),a=i(60134),o=i(86794);const l=n.Ay.div.withConfig({displayName:"RoutesWaypoints__StyledContainer",componentId:"sc-1r6qjhg-0"})((()=>[{}]));function c(e){let{waypoints:t}=e;const i=t.map(((e,t,i)=>{var n,r,a;return 0===t?{header:"Start",content:e.properties.description,img:(null==e||null===(r=e.properties)||void 0===r?void 0:r.img)??null}:t===i.length-1?{header:"Finish",content:e.properties.description,img:(null==e||null===(a=e.properties)||void 0===a?void 0:a.img)??null}:{header:`Step ${e.properties.step}`,content:e.properties.description,img:(null==e||null===(n=e.properties)||void 0===n?void 0:n.img)??null}}));return r.createElement(l,null,r.createElement(o.default,{textBlocks:i}))}function m(e){const t=window.ReactOnRails.getStore("store");return r.createElement(a.Provider,{store:t},r.createElement(c,e))}},64959:function(e,t,i){i.d(t,{Ay:function(){return b},Dv:function(){return c},Nh:function(){return g},RI:function(){return m},VT:function(){return u},XZ:function(){return h},eW:function(){return o},j7:function(){return p},k_:function(){return d},mH:function(){return s},qN:function(){return a},sY:function(){return l}});var n=i(8711),r=i(96540);const a=0,o=1,l=2,c=3,m=4,d=5,p=6,s=7,h=8,u="lazy",g="eager",x={[a]:{"& img":{borderRadius:"0 0 160px/30px 0",borderTopLeftRadius:"0.75rem",borderTopRightRadius:"0.75rem",objectFit:"cover"}},[o]:{"& img":{objectFit:"cover",maxHeight:"100vh"}},[l]:{"& img":{objectFit:"cover",borderRadius:"0.375rem"}},[c]:{"& img":{objectFit:"cover",objectPosition:"top",height:"35vh",minHeight:"200px",maxHeight:"220px","@media (min-width: 360px)":{height:"35vh",minHeight:"260px",maxHeight:"300px"},"@media (min-width: 640px)":{height:"45vh",minHeight:"350px",maxHeight:"400px"},"@media (min-width: 768px)":{maxHeight:"100vh"},"@media (min-width: 1024px)":{minHeight:"500px"},"@media (min-width: 1180px)":{height:"98vh",maxHeight:"98vh",minHeight:"720px"}}},[m]:{"& img":{objectFit:"cover",height:"30vh",minHeight:"250px",maxHeight:"350px","@media (min-width: 360px)":{height:"40vh",minHeight:"350px",maxHeight:"600px"},"@media (min-width: 640px)":{height:"45vh",minHeight:"500px",maxHeight:"800px"},"@media (min-width: 768px)":{height:"50vh",minHeight:"500px",maxHeight:"900px"},"@media (min-width: 1024px)":{height:"70vh",minHeight:"600px",maxHeight:"800vh"},"@media (min-width: 1180px)":{minHeight:"900px"}}},[d]:{"& img":{objectFit:"cover","@media (min-width: 1024px)":{height:"100vh",minHeight:"700px"},"@media (min-width: 1180px)":{minHeight:"1000px"}}},[p]:{"& img":{borderRadius:"9999px",aspectRatio:"1 / 1"}},[s]:{"& img":{aspectRatio:"1 / 1",borderRadius:"0.375rem"}},[h]:{"& img":{width:"100%",height:"auto",aspectRatio:"auto"}}},v=n.Ay.picture.withConfig({displayName:"Picture__StyledPicture",componentId:"sc-14i6hh6-0"})((e=>{let{variant:t}=e;return[{"& img":{display:"block",width:"100%",height:"auto",aspectRatio:"16/10",color:"var(--brand-darkslate-100)"},"& .picture-loading":{backgroundColor:"var(--brand-darkslate-100)"},"& .picture-loaded":{backgroundColor:"transparent"}},x[t]]})),f=(e,t)=>{};function b(e){let{img:t,size:i="100vw",sizeTablet:n="100vw",sizeDesktop:o="100vw",loading:l=u,variant:c=a,onLoad:m=f,isDecorative:d=!1}=e;const p=(0,r.useRef)(null),[s,h]=(0,r.useState)(!1),x=`(min-width: 1180px) ${o}, (min-width: 768px) ${n}, ${i}`;return(0,r.useEffect)((()=>{var e;null!=p&&null!==(e=p.current)&&void 0!==e&&e.complete&&h(!0)}),[]),r.createElement(v,{variant:c},r.createElement("source",{srcSet:t.srcset.avif,sizes:x,type:"image/avif"}),r.createElement("img",{ref:p,srcSet:t.srcset.default,sizes:x,alt:d?"":t.alt,loading:l,fetchpriority:l===g?"high":null,onLoad:e=>m(e,!1),onError:e=>m(e,!0),className:s?"picture-loaded":"picture-loading"}))}}}]);

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.