PageSourceSearch

https://canalrivertrust.org.uk/build/4192.8ad7db7d.js

js canalrivertrust.org.uk collected 2026-10-01 10:14:53 UTC 27,284 bytes, 5 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[4192],{11406:function(e,t,r){var n=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},i=Object.create,o=Object.defineProperty,a=Object.defineProperties,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,d=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,b=function(e,t,r){return t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},m=function(e,t){for(var r in t||(t={}))f.call(t,r)&&b(e,r,t[r]);if(l)for(var n=0,i=l(t);n<i.length;n++)p.call(t,r=i[n])&&b(e,r,t[r]);return e},h=function(e,t){return a(e,c(t))},v=function(e){return o(e,"__esModule",{value:!0})},g=function(e,t,r){if(t&&"object"==typeof t||"function"==typeof t)for(var n=function(n){f.call(e,n)||"default"===n||o(e,n,{get:function(){return t[n]},enumerable:!(r=u(t,n))||r.enumerable})},i=0,a=s(t);i<a.length;i++)n(a[i]);return e},y=function(e){return g(v(o(null!=e?i(d(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};v(t),function(e,t){for(var r in t)o(e,r,{get:t[r],enumerable:!0})}(t,{ApiProvider:function(){return B},createApi:function(){return K},reactHooksModule:function(){return Q}});var w=y(r(51066)),k=y(r(30038)),C=y(r(96540)),x=y(r(51066)),_=y(r(60134)),S=y(r(96540));function O(e,t,r,n){var i=(0,S.useMemo)((function(){return{queryArgs:e,serialized:"object"==typeof e?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}}),[e,t,r,n]),o=(0,S.useRef)(i);return(0,S.useEffect)((function(){o.current.serialized!==i.serialized&&(o.current=i)}),[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var E=Symbol(),N=y(r(96540)),M=y(r(60134));function D(e){var t=(0,N.useRef)(e);return(0,N.useEffect)((function(){(0,M.shallowEqual)(t.current,e)||(t.current=e)}),[e]),(0,M.shallowEqual)(t.current,e)?t.current:e}var R,P,L=y(r(30038)),A=function(e){return e.endpointName+"("+JSON.stringify(e.queryArgs,(function(e,t){return(0,L.isPlainObject)(t)?Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{}):t}))+")"},j="undefined"!=typeof window&&window.document&&window.document.createElement?C.useLayoutEffect:C.useEffect,I=function(e){return e},z=function(e){return e.isUninitialized?h(m({},e),{isUninitialized:!1,isFetching:!0,isLoading:void 0===e.data,status:x.QueryStatus.pending}):e};function q(e){return e.replace(e[0],e[0].toUpperCase())}function T(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];Object.assign.apply(Object,n([e],t))}(P=R||(R={})).query="query",P.mutation="mutation";var W=y(r(60134)),F=Symbol(),Q=function(e){var t=void 0===e?{}:e,r=t.batch,n=void 0===r?W.batch:r,i=t.useDispatch,o=void 0===i?W.useDispatch:i,a=t.useSelector,u=void 0===a?W.useSelector:a,c=t.useStore,s=void 0===c?W.useStore:c,l=t.unstable__sideEffectsInRender,d=void 0!==l&&l;return{name:F,init:function(e,t,r){var i=e,a=function(e){var t=e.api,r=e.moduleOptions,n=r.batch,i=r.useDispatch,o=r.useSelector,a=r.useStore,u=e.serializeQueryArgs,c=e.context,s=r.unstable__sideEffectsInRender?function(e){return e()}:C.useEffect;return{buildQueryHooks:function(e){var r=function(r,n){var o=void 0===n?{}:n,a=o.refetchOnReconnect,u=o.refetchOnFocus,l=o.refetchOnMountOrArgChange,d=o.skip,f=void 0!==d&&d,p=o.pollingInterval,b=void 0===p?0:p,m=t.endpoints[e].initiate,h=i(),v=O(f?x.skipToken:r,A,c.endpointDefinitions[e],e),g=D({refetchOnReconnect:a,refetchOnFocus:u,pollingInterval:b}),y=(0,C.useRef)(!1),w=(0,C.useRef)(),k=w.current||{},_=k.queryCacheKey,S=k.requestId,E=!1;if(_&&S){var N=h(t.internalActions.internal_probeSubscription({queryCacheKey:_,requestId:S}));E=!!N}var M=!E&&y.current;return s((function(){y.current=E})),s((function(){w.current=void 0}),[M]),s((function(){var e,t=w.current;if(v===x.skipToken)return null==t||t.unsubscribe(),void(w.current=void 0);var r=null==(e=w.current)?void 0:e.subscriptionOptions;if(t&&t.arg===v)g!==r&&t.updateSubscriptionOptions(g);else{null==t||t.unsubscribe();var n=h(m(v,{subscriptionOptions:g,forceRefetch:l}));w.current=n}}),[h,m,l,v,g,M]),(0,C.useEffect)((function(){return function(){var e;null==(e=w.current)||e.unsubscribe(),w.current=void 0}}),[]),(0,C.useMemo)((function(){return{refetch:function(){var e;if(!w.current)throw new Error("Cannot refetch a query that has not been started yet.");return null==(e=w.current)?void 0:e.refetch()}}}),[])},d=function(r){var o=void 0===r?{}:r,a=o.refetchOnReconnect,u=o.refetchOnFocus,c=o.pollingInterval,l=void 0===c?0:c,d=t.endpoints[e].initiate,f=i(),p=(0,C.useState)(E),b=p[0],m=p[1],h=(0,C.useRef)(),v=D({refetchOnReconnect:a,refetchOnFocus:u,pollingInterval:l});s((function(){var e,t,r=null==(e=h.current)?void 0:e.subscriptionOptions;v!==r&&(null==(t=h.current)||t.updateSubscriptionOptions(v))}),[v]);var g=(0,C.useRef)(v);s((function(){g.current=v}),[v]);var y=(0,C.useCallback)((function(e,t){var r;return void 0===t&&(t=!1),n((function(){var n;null==(n=h.current)||n.unsubscribe(),h.current=r=f(d(e,{subscriptionOptions:g.current,forceRefetch:!t})),m(e)})),r}),[f,d]);return(0,C.useEffect)((function(){return function(){var e;null==(e=null==h?void 0:h.current)||e.unsubscribe()}}),[]),(0,C.useEffect)((function(){b===E||h.current||y(b,!0)}),[b,y]),(0,C.useMemo)((function(){return[y,b]}),[y,b])},f=function(r,n){var i=void 0===n?{}:n,s=i.skip,d=i.selectFromResult,f=t.endpoints[e].select,p=O(void 0!==s&&s?x.skipToken:r,u,c.endpointDefinitions[e],e),b=(0,C.useRef)(),m=(0,C.useMemo)((function(){return(0,k.createSelector)([f(p),function(e,t){return t},function(e){return p}],l)}),[f,p]),h=(0,C.useMemo)((function(){return d?(0,k.createSelector)([m],d):m}),[m,d]),v=o((function(e){return h(e,b.current)}),_.shallowEqual),g=a(),y=m(g.getState(),b.current);return j((function(){b.current=y}),[y]),v};return{useQueryState:f,useQuerySubscription:r,useLazyQuerySubscription:d,useLazyQuery:function(e){var t=d(e),r=t[0],n=t[1],i=f(n,h(m({},e),{skip:n===E})),o=(0,C.useMemo)((function(){return{lastArg:n}}),[n]);return(0,C.useMemo)((function(){return[r,i,o]}),[r,i,o])},useQuery:function(e,t){var n=r(e,t),i=f(e,m({selectFromResult:e===x.skipToken||(null==t?void 0:t.skip)?void 0:z},t));return(0,C.useDebugValue)({data:i.data,status:i.status,isLoading:i.isLoading,isSuccess:i.isSuccess,isError:i.isError,error:i.error}),(0,C.useMemo)((function(){return m(m({},i),n)}),[i,n])}}},buildMutationHook:function(e){return function(r){var a=void 0===r?{}:r,u=a.selectFromResult,c=void 0===u?I:u,s=a.fixedCacheKey,l=t.endpoints[e],d=l.select,f=l.initiate,p=i(),b=(0,C.useState)(),v=b[0],g=b[1];(0,C.useEffect)((function(){return function(){(null==v?void 0:v.arg.fixedCacheKey)||null==v||v.reset()}}),[v]);var y=(0,C.useCallback)((function(e){var t=p(f(e,{fixedCacheKey:s}));return g(t),t}),[p,f,s]),w=(v||{}).requestId,x=(0,C.useMemo)((function(){return(0,k.createSelector)([d({fixedCacheKey:s,requestId:null==v?void 0:v.requestId})],c)}),[d,v,c,s]),S=o(x,_.shallowEqual),O=null==s?null==v?void 0:v.arg.originalArgs:void 0,E=(0,C.useCallback)((function(){n((function(){v&&g(void 0),s&&p(t.internalActions.removeMutationResult({requestId:w,fixedCacheKey:s}))}))}),[p,s,v,w]);(0,C.useDebugValue)({endpointName:S.endpointName,data:S.data,status:S.status,isLoading:S.isLoading,isSuccess:S.isSuccess,isError:S.isError,error:S.error});var N=(0,C.useMemo)((function(){return h(m({},S),{originalArgs:O,reset:E})}),[S,O,E]);return(0,C.useMemo)((function(){return[y,N]}),[y,N])}},usePrefetch:function(e,r){var n=i(),o=D(r);return(0,C.useCallback)((function(r,i){return n(t.util.prefetch(e,r,m(m({},o),i)))}),[e,n,o])}};function l(e,t,r){if((null==t?void 0:t.endpointName)&&e.isUninitialized){var n=t.endpointName,i=c.endpointDefinitions[n];u({queryArgs:t.originalArgs,endpointDefinition:i,endpointName:n})===u({queryArgs:r,endpointDefinition:i,endpointName:n})&&(t=void 0)}r===x.skipToken&&(t=void 0);var o=e.isSuccess?e.data:null==t?void 0:t.data;void 0===o&&(o=e.data);var a=void 0!==o,s=e.isLoading,l=!a&&s,d=e.isSuccess||s&&a;return h(m({},e),{data:o,currentData:e.data,isFetching:s,isLoading:l,isSuccess:d})}}({api:e,moduleOptions:{batch:n,useDispatch:o,useSelector:u,useStore:s,unstable__sideEffectsInRender:d},serializeQueryArgs:t.serializeQueryArgs,context:r}),c=a.buildQueryHooks,l=a.buildMutationHook;return T(i,{usePrefetch:a.usePrefetch}),T(r,{batch:n}),{injectEndpoint:function(t,r){if(r.type===R.query){var n=c(t),o=n.useQuery,a=n.useLazyQuery;T(i.endpoints[t],{useQuery:o,useLazyQuery:a,useLazyQuerySubscription:n.useLazyQuerySubscription,useQueryState:n.useQueryState,useQuerySubscription:n.useQuerySubscription}),e["use"+q(t)+"Query"]=o,e["useLazy"+q(t)+"Query"]=a}else if(r.type===R.mutation){var u=l(t);T(i.endpoints[t],{useMutation:u}),e["use"+q(t)+"Mutation"]=u}}}}}};g(t,y(r(51066)));var U=y(r(30038)),H=y(r(96540)),$=y(r(96540)),Y=y(r(60134)),G=y(r(51066));function B(e){var t=$.default.useState((function(){var t;return(0,U.configureStore)({reducer:(t={},t[e.api.reducerPath]=e.api.reducer,t),middleware:function(t){return t().concat(e.api.middleware)}})}))[0];return(0,H.useEffect)((function(){return!1===e.setupListeners?void 0:(0,G.setupListeners)(t.dispatch,e.setupListeners)}),[e.setupListeners]),$.default.createElement(Y.Provider,{store:t,context:e.context},e.children)}var K=(0,w.buildCreateApi)((0,w.coreModule)(),Q())},34717:function(e,t,r){"use strict";r.d(t,{Ay:function(){return k},UE:function(){return b},Wb:function(){return p},jd:function(){return l},lS:function(){return d},nj:function(){return m},st:function(){return f},ti:function(){return v},x1:function(){return h}});var n=r(8711),i=r(96540),o=r(50676),a=r(20982),u=r(79656),c=r(6615);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}const l=0,d=1,f=2,p=3,b=4,m=5,h=6,v=7,g={[l]:{backgroundColor:"var(--p)",color:"var(--pc)",":hover":{backgroundColor:"var(--pf)"},":focus":{backgroundColor:"var(--pf)"}},[d]:{backgroundColor:"var(--s)",color:"var(--sc)",":hover":{backgroundColor:"var(--sf)"},":focus":{backgroundColor:"var(--sf)"}},[f]:{backgroundColor:"var(--s)",color:"var(--sc)",":hover":{backgroundColor:"var(--sf)"},borderStyle:"none"},[p]:{backgroundColor:"var(--brand-towpath-100)",borderWidth:"1px",borderColor:"var(--brand-towpath-500)",":hover":{backgroundColor:"var(--brand-towpath-500)"},":focus":{backgroundColor:"var(--brand-towpath-500)",borderStyle:"none"}},[b]:{backgroundColor:"var(--brand-white-500)",borderWidth:"1px",borderColor:"var(--brand-towpath)",color:"var(--brand-darkslate-500)",":hover":{borderColor:"var(--brand-darkslate-500)",color:"var(--brand-darkslate-500)",":disabled":{borderColor:"var(--brand-towpath)"}}},[m]:{},[h]:{backgroundColor:"var(--brand-white-500) !important",":hover":{backgroundColor:"var(--brand-white-500) !important"},borderWidth:"1px",borderColor:"var(--brand-leaf-500)",borderRadius:"0.5rem",fontSize:"1rem",fontWeight:"300"},[v]:{color:"var(--brand-black-500)",fontSize:"1.125rem",display:"inline",backgroundColor:"var(--brand-white-500)",marginTop:"0.5rem",borderWidth:"1px",borderColor:"var(--brand-black-500)",borderRadius:"0.375rem",":hover":{color:"var(--p)"},":focus":{color:"var(--p)"}}},y=(0,n.i7)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),w=n.Ay.button.withConfig({displayName:"Button__StyledContainer",componentId:"sc-g4gnmm-0"})((e=>{let{isLoading:t,variant:r}=e;return[{display:"inline-flex",flexShrink:"0",flexWrap:"wrap",alignItems:"center",justifyContent:"center",borderColor:"transparent",textAlign:"center",cursor:"pointer",userSelect:"none",borderRadius:"9999px",textTransform:"none",height:"3rem",paddingLeft:"1rem",paddingRight:"1rem","&[disabled]":{cursor:"not-allowed",opacity:"0.6"},"> svg":{height:"1rem",width:"1rem",display:"inline",marginLeft:"0.75rem","@media (min-width: 768px)":{height:"1.25rem",width:"1.25rem"}},"& .status":{width:"1.5rem",height:"1.5rem",marginRight:"0.5rem",borderRadius:"9999px",borderWidth:"2px",borderColor:"var(--brand-white-500)",borderTopColor:"var(--brand-water-500)"},"@media (min-width: 1180px)":{minWidth:"max-content"}},g[r],t&&{backgroundColor:"var(--brand-towpath-600)",":hover":{backgroundColor:"var(--brand-towpath-600)"}},t&&n.AH`
2            & .status {
3                animation: ${y} 1s linear infinite;
4            }
5        `]}));function k(e){let{ariaLabel:t,children:r,isDisabled:n=!1,isIcon:d=!1,isLoading:f=!1,onPress:p=(()=>{}),theme:b=c.SS,type:m="button",variant:h=l,id:v,title:g}=e;const y=(0,i.useRef)(),{buttonProps:k}=(0,o.s)({isDisabled:n,onPress:p,type:m,id:v},y);return i.createElement(w,s({},k,{isLoading:f,variant:h,"aria-label":t,title:g||t,"data-theme":b,ref:y}),f?i.createElement("div",{className:"status"}):i.createElement(i.Fragment,null,r,d&&i.createElement(a.g,{icon:u.vmR})))}},29984:function(e,t,r){"use strict";r.d(t,{A:function(){return d}});var n=r(8711),i=r(96540),o=r(42941),a=r(86172),u=r(60841),c=r(20053);const s={[u.iW]:{"& .text-block__content":{paddingTop:"1rem",paddingBottom:"1rem",paddingLeft:"0.5rem",paddingRight:"0.5rem",gap:"1rem"}},[u.qz]:{"& .text-block__content":{padding:"0.5rem",gap:"0px"}}},l=n.Ay.div.withConfig({displayName:"CollapsibleBlock__StyledContainer",componentId:"sc-1w2o45i-0"})((e=>{let{variant:t}=e;return[{listStyleType:"none",padding:"0px",margin:"0px","& .text-block":{"&__header":{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"baseline",paddingTop:"0.5rem",paddingBottom:"0.5rem",paddingLeft:"0.5rem",paddingRight:"0.5rem"},"&__title":{flexGrow:"1",textAlign:"left"},"&__icon":{marginLeft:"0.5rem","& svg":{width:"1rem"}},"&__content--active":{display:"grid"},"&__content--hidden":{display:"none"}}},s[t]]}));function d(e){let{header:t,children:r,initialState:n=!1,variant:s=u.iW}=e;const[d,f]=(0,o.A)(!1),p=(0,i.useId)();return(0,i.useEffect)((()=>{f(n)}),[f,n]),i.createElement(l,{variant:s},i.createElement(a.A,{id:p,headerText:t,isActive:d,toggle:f,classNamePrefix:"text-block"}),i.createElement("div",{id:p,hidden:!d,"aria-hidden":d?"false":"true",className:(0,
5c.A)({"text-block__content":!0,"text-block__content--active":d,"text-block__content--hidden":!d})},r))}},84864:function(e,t,r){"use strict";r.d(t,{A:function(){return p}});var n=r(8711),i=r(96540),o=r(49785),a=r(95997),u=r(20982),c=r(15685),s=r(60841);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}const d={[s.GF]:{"& .checkbox__label":{"& > div":{'& input[type="checkbox"]':{backgroundColor:"var(--brand-white-500)",borderWidth:"1px",borderColor:"var(--brand-white-500)",":checked":{borderColor:"var(--brand-black-500)"}},"& .checkbox__icon":{color:"var(--brand-black-500)"}}}},[s.iW]:{"& .checkbox__label":{"& > div":{'& input[type="checkbox"]':{height:"1.25rem",width:"1.25rem",":checked":{borderColor:"var(--p)"},backgroundColor:"var(--brand-white-500)","@media (min-width: 1180px)":{height:"1.75rem",width:"1.75rem"}},"& .checkbox__icon":{height:"1rem",width:"1rem",color:"var(--p)","@media (min-width: 1180px)":{height:"1.25rem",width:"1.25rem"}}}}},[s.Y]:{"& .checkbox__label":{fontWeight:"700","& > div":{'& input[type="checkbox"]':{height:"1.25rem",width:"1.25rem",":checked":{borderColor:"var(--p)"},backgroundColor:"var(--brand-white-500)","@media (min-width: 1180px)":{height:"1.75rem",width:"1.75rem"}},"& .checkbox__icon":{height:"1rem",width:"1rem",color:"var(--p)","@media (min-width: 1180px)":{height:"1.25rem",width:"1.25rem"}}}}}},f=n.Ay.div.withConfig({displayName:"Checkbox__StyledContainer",componentId:"sc-6twf2y-0"})((e=>{let{errorMessage:t,labelCentred:r,variant:n}=e;return[{display:"flex",flexDirection:"column","& .checkbox__label":{display:"flex",alignItems:"flex-start",fontWeight:"300",position:"relative",cursor:"pointer","& > div":{display:"flex",alignItems:"center",justifyContent:"center",marginRight:"0.75rem",'& input[type="checkbox"]':{appearance:"none",height:"2rem",width:"2rem",borderWidth:"1px",borderColor:"var(--brand-towpath-500)",backgroundColor:"var(--brand-towpath-100)",borderRadius:"0.375rem",cursor:"pointer",":checked":{borderColor:"var(--p)"}},"& .checkbox__icon":{height:"1.5rem",width:"1.5rem",color:"var(--p)",position:"absolute"}}}},t&&{"& .input__error":{borderColor:"var(--er)",borderWidth:"1px"},"& div":{color:"var(--er)"},"& div[role='alert']":{fontSize:".75rem"}},d[n],r&&{"& .checkbox__label":{alignItems:"center"}}]}));function p(e){let{label:t,name:r,disabled:n=!1,labelCentred:s=!1,readOnly:d=!1,required:p=!1,variant:b=null}=e;const{control:m}=(0,o.xW)(),{field:h,fieldState:{error:v}}=(0,o.as)({name:r,control:m}),g=null==v?void 0:v.message,{labelProps:y,fieldProps:w,errorMessageProps:k}=(0,a._)({label:t,errorMessage:g});return i.createElement(f,{errorMessage:g,labelCentred:s,variant:b},i.createElement("label",l({className:"checkbox__label"},y),i.createElement("div",null,i.createElement("input",l({},h,w,{className:"input__error",disabled:n,readOnly:d,required:p,type:"checkbox",checked:h.value??!1,inputMode:"text"})),h.value&&i.createElement(u.g,{icon:c.e68,className:"checkbox__icon"})),t),Boolean(g)&&i.createElement("div",l({role:"alert"},k),g))}},46821:function(e,t,r){"use strict";r.d(t,{A:function(){return d}});var n=r(8711),i=r(96540),o=r(49785),a=r(95997),u=r(60841);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}const s={[u.GF]:{"& input":{backgroundColor:"var(--brand-white-500)","::placeholder":{color:"var(--brand-darkslate-600)"}}},[u.iW]:{"& input":{borderRadius:"0.5rem",backgroundColor:"var(--brand-white-500)",borderWidth:"1px",borderColor:"var(--brand-towpath-500)"}}},l=n.Ay.div.withConfig({displayName:"Input__StyledContainer",componentId:"sc-1ok03ne-0"})((e=>{let{errorMessage:t,variant:r,hideLabel:n,hidden:i}=e;return[{display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"0.5rem","& label":{fontWeight:"700"},"& div":{fontSize:".75rem"},"& input":{height:"3rem",paddingLeft:"1rem",paddingRight:"1rem",lineHeight:"2",borderRadius:"9999px",backgroundColor:"var(--brand-towpath-200)","::placeholder":{color:"var(--brand-darkslate-300)"}},"& .input__optional":{fontWeight:"100"}},t&&{"& .input__error":{borderColor:"var(--er)",borderWidth:"1px"},"& div":{color:"var(--er)"},"& div > *":{marginLeft:"1rem",marginRight:"0.5rem"}},s[r],Boolean(n)&&{"& label":{display:"none"}},Boolean(i)&&{"& label,input":{display:"none"}}]}));function d(e){let{name:t,disabled:r=!1,label:n,minmax:{min:u,max:s}={},optional:d=!1,placeholder:f="Placeholder text",readOnly:p=!1,spellCheck:b=!1,type:m="text",variant:h=null,hideLabel:v=!1,inputMode:g="text",hidden:y=!1,autoComplete:w=null,maxLength:k=null}=e;const{control:C}=(0,o.xW)(),{field:x,fieldState:{error:_}}=(0,o.as)({name:t,control:C}),S=null==_?void 0:_.message,{labelProps:O,fieldProps:E,errorMessageProps:N}=(0,a._)({label:n,errorMessage:S}
5),M=!d;return i.createElement(l,{errorMessage:S,variant:h,hideLabel:v,hidden:y},!v&&i.createElement("label",O,n," ",d&&i.createElement("span",{className:"input__optional"},"(optional)")),i.createElement("input",c({},x,E,{className:"input__error",disabled:r,readOnly:p,inputMode:g,min:u,max:s,placeholder:f,spellCheck:b,type:m,required:M,autoComplete:w,maxLength:k})),S&&i.createElement("div",c({role:"alert"},N),S))}},97717:function(e,t,r){"use strict";r.d(t,{Ay:function(){return p},Cv:function(){return l},iW:function(){return s}});var n=r(8711),i=r(96540),o=r(50676),a=r(20982),u=r(79656);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}const s=0,l=1,d={[s]:{},[l]:{borderWidth:"1px",borderColor:"var(--brand-black-500)",borderRadius:"9999px",height:"2.25rem",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.25rem",marginTop:"1rem",marginRight:"1rem"}},f=n.Ay.button.withConfig({displayName:"RemoveButton__StyledButton",componentId:"sc-1rxgt1j-0"})((e=>{let{variant:t}=e;return[d[t]]}));function p(e){let{onPress:t,variant:r,isDisabled:n=!1}=e;const s=(0,i.useRef)(),{buttonProps:l}=(0,o.s)({onPress:t,isDisabled:n,type:"button"},s);return i.createElement(f,c({variant:r},l,{ref:s}),i.createElement(a.g,{icon:u.Jyw}))}},60841:function(e,t,r){"use strict";r.d(t,{GF:function(){return n},Y:function(){return o},iW:function(){return i},qz:function(){return a}});const n=0,i=1,o=4,a=5},86172:function(e,t,r){"use strict";r.d(t,{A:function(){return a}});var n=r(96540),i=r(20982),o=r(79656);function a(e){let{id:t,headerText:r,isActive:a=!1,toggle:u=(()=>{}),classNamePrefix:c="toggle-header"}=e;return n.createElement("button",{"aria-controls":t,"aria-expanded":a?"true":"false",className:a?`${c}__header active`:`${c}__header`,onClick:u,type:"button"},n.createElement("span",{className:`${c}__title`},r),n.createElement("span",{className:`${c}__icon`},a?n.createElement(i.g,{icon:o.GF6}
5):n.createElement(i.g,{icon:o.tdl})))}},6615:function(e,t,r){"use strict";r.d(t,{C_:function(){return u},SS:function(){return o},ff:function(){return a},mI:function(){return l},uh:function(){return d},v:function(){return s},z3:function(){return c}});var n=r(5556),i=r.n(n);const o="default",a="campaign",u="donate",c="moss",s="leaf",l={apple:"#afe15a",darkslate:"#333333",dawn:"#ffd400",deepwater:"#00416e",grass:"#00b45a",gravel:"#e1d7cd",lilac:"#a88fee",leaf:"#0086a6",moss:"#005528",poppy:"#e64f00",rose:"#ff8cb4",slate:"#5a5a5a",sky:"#33d8ff",sunset:"#ff8700",towpath:"#a0b4be",water:"#1e29f5",white:"#ffffff"};function d(){return i().shape({alt:i().string.isRequired,srcset:i().shape({default:i().string.isRequired,avif:i().string.isRequired})})}},42070:function(e,t,r){"use strict";r.d(t,{Fv:function(){return f},HN:function(){return s},Li:function(){return c},Zk:function(){return l},gj:function(){return p},qr:function(){return d}});var n=r(96414),i=r(69494),o=r(19681),a=r(34503),u=r(22694);function c(){return(0,n.GP)(new Date,"yyyy-MM-dd",{in:(0,a.tz)("Europe/London")})}function s(e){return(0,u.Yq)(new Date(e))}function l(e){return(0,n.GP)((0,i.h)(e,{hours:0,minutes:0,seconds:0,milliseconds:0}),"yyyy-MM-dd",{in:(0,a.tz)("Europe/London")})}function d(e){return(0,n.GP)((0,o.O)(e),"HH:mm:ss",{in:(0,a.tz)("Europe/London")})}function f(e){return(0,n.GP)((0,o.O)(e),"yyyy-MM-dd",{in:(0,a.tz)("Europe/London")})}function p(e){return(0,n.GP)((0,o.O)(new Date(e).toISOString()),"yyyy-MM-dd")}},87983:function(e,t,r){"use strict";function n(e){return Object.entries(e).sort(((e,t)=>{let[r]=e,[n]=t;return r.localeCompare(n)})).reduce(((e,t)=>{let[r,n]=t;return null!==n&&(e[r]=n),e}),{})}function i(e){return t=>({url:e,method:"GET",params:n(t)})}r.d(t,{K:function(){return n},f:function(){return i}})},95997:function(e,t,r){"use strict";r.d(t,{_:function(){return a}});var n=r(75600),i=r(96540);const o="react-aria-";function a(e){let{label:t,errorMessage:r}=e;const a=`${o}${(0,i.useId)()}`,u=`${o}${(0,i.useId)()}`,c=`${o}${(0,i.useId)()}`,s=(0,n.M)({id:a,label:t,errorMessage:r});return s.labelProps.id=u,s.fieldProps["aria-labelledby"]=u,s.errorMessageProps.id=c,delete s.fieldProps["aria-describedby"],r&&(s.fieldProps["aria-describedby"]=c),s}},94701:function(e,t,r){"use strict";var n=r(96540);t.A=function(e){(0,n.useEffect)(e,[])}},41394:function(e,t,r){"use strict";r.d(t,{H:function(){return a}});var n=r(61501),i=r(43329),o=r(29407);function a(e,t){const r=()=>(0,i.w)(t?.in,NaN),a=t?.additionalDigits??2,m=function(e){const t={},r=e.split(u.dateTimeDelimiter);let n;if(r.length>2)return t;/:/.test(r[0])?n=r[0]:(t.date=r[0],n=r[1],u.timeZoneDelimiter.test(t.date)&&(t.date=e.split(u.timeZoneDelimiter)[0],n=e.substr(t.date.length,e.length)));if(n){const e=u.timezone.exec(n);e?(t.time=n.replace(e[1],""),t.timezone=e[1]):t.time=n}return t}(e);let h;if(m.date){const e=function(e,t){const r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};const i=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((n[1]||n[2]).length)}}(m.date,a);h=function(e,t){if(null===t)return new Date(NaN);const r=e.match(c);if(!r)return new Date(NaN);const n=!!r[4],i=d(r[1]),o=d(r[2])-1,a=d(r[3]),u=d(r[4]),s=d(r[5])-1;if(n)return function(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}(0,u,s)?function(e,t,r){const n=new Date(0);n.setUTCFullYear(e,0,4);const i=n.getUTCDay()||7,o=7*(t-1)+r+1-i;return n.setUTCDate(n.getUTCDate()+o),n}(t,u,s):new Date(NaN);{const e=new Date(0);return function(e,t,r){return t>=0&&t<=11&&r>
5=1&&r<=(p[t]||(b(e)?29:28))}(t,o,a)&&function(e,t){return t>=1&&t<=(b(e)?366:365)}(t,i)?(e.setUTCFullYear(t,o,Math.max(i,a)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!h||isNaN(+h))return r();const v=+h;let g,y=0;if(m.time&&(y=function(e){const t=e.match(s);if(!t)return NaN;const r=f(t[1]),i=f(t[2]),o=f(t[3]);if(!function(e,t,r){if(24===e)return 0===t&&0===r;return r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}(r,i,o))return NaN;return r*n.s0+i*n.Cg+1e3*o}(m.time),isNaN(y)))return r();if(!m.timezone){const e=new Date(v+y),r=(0,o.a)(0,t?.in);return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}return g=function(e){if("Z"===e)return 0;const t=e.match(l);if(!t)return 0;const r="+"===t[1]?-1:1,i=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return r*(i*n.s0+o*n.Cg)}(m.timezone),isNaN(g)?r():(0,o.a)(v+y+g,t?.in)}const u={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},c=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,s=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,l=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){return e?parseInt(e):1}function f(e){return e&&parseFloat(e.replace(",","."))||0}const p=[31,null,31,30,31,30,31,31,30,31,30,31];function b(e){return e%400==0||e%4==0&&e%100!=0}},69494:function(e,t,r){"use strict";r.d(t,{h:function(){return u}});var n=r(43329),i=r(29407);function o(e,t){const r=(0,i.a)(e,t?.in),o=r.getFullYear(),a=r.getMonth(),u=(0,n.w)(r,0);return u.setFullYear(o,a+1,0),u.setHours(0,0,0,0),u.getDate()}function a(e,t,r){const a=(0,i.a)(e,r?.in),u=a.getFullYear(),c=a.getDate(),s=(0,n.w)(r?.in||e,0);s.setFullYear(u,t,15),s.setHours(0,0,0,0);const l=o(s);return a.setMonth(t,Math.min(c,l)),a}function u(e,t,r){let o=(0,i.a)(e,r?.in);return isNaN(+o)?(0,n.w)(r?.in||e,NaN):(null!=t.year&&o.setFullYear(t.year),null!=t.month&&(o=a(o,t.month)),null!=t.date&&o.setDate(t.date),null!=t.hours&&o.setHours(t.hours),null!=t.minutes&&o.setMinutes(t.minutes),null!=t.seconds&&o.setSeconds(t.seconds),null!=t.milliseconds&&o.setMilliseconds(t.milliseconds),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.