PageSourceSearch

https://www.suffolk.gov.uk/_MhbRBA_936eda51-92ba-4748-81c7-720f34d…/modern/js/2336.130b7498f03a18a26f3f.mjs

js suffolk.gov.uk collected 2026-09-24 08:41:56 UTC 23,718 bytes, 452 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2336],{41131:(D,g,r)=>{r.d(g,{Z:()=>bo});var n=r(67294),m=r(47292),w=r(77285),$=Object.defineProperty,h=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,f=(e,t,o)=>t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,P=(e,t)=>{for(var o in t||(t={}))C.call(t,o)&&f(e,o,t[o]);if(h)for(var o of h(t))G.call(t,o)&&f(e,o,t[o]);return e};const B=e=>{var t;const{link:o,newTab:p}=e.block.properties||{},u={uri:(t=o==null?void 0:o.sys)==null?void 0:t.uri,openInNewWindow:p,children:void 0};return n.createElement(w.Z,P({},u),n.createElement(m.rU.Children,{block:e.block}))};var le=r(47233),ae=Object.defineProperty,H=Object.defineProperties,Y=Object.getOwnPropertyDescriptors,Z=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,F=(e,t,o)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,L=(e,t)=>{for(var o in t||(t={}))_.call(t,o)&&F(e,o,t[o]);if(Z)for(var o of Z(t))q.call(t,o)&&F(e,o,t[o]);return e},U=(e,t)=>H(e,Y(t));const T=e=>{if(!e.block.value||!e.block.value.item)return null;const t=e.block.value.item.map((o,p)=>U(L({},o),{id:p.toString(),index:p.toString()}));return n.createElement(le.Z,{title:e.block.value.title,items:t})};var W=r(68514),b=r(90769);const R=e=>{if(!e.block.value)return null;const t=e.block.value.assets.map(o=>{var p,u,S,x,O,z,ne,re,Ee,Se,we;return{filename:(o==null?void 0:o.title)||((p=o==null?void 0:o.asset)==null?void 0:p.entryTitle),filesize:(0,b.hR)((x=(S=(u=o==null?void 0:o.asset)==null?void 0:u.sys)==null?void 0:S.properties)==null?void 0:x.fileSize),filetype:(0,b.mD)((ne=(z=(O=o==null?void 0:o.asset)==null?void 0:O.sys)==null?void 0:z.properties)==null?void 0:ne.filename),id:(Ee=(re=o==null?void 0:o.asset)==null?void 0:re.sys)==null?void 0:Ee.id,uri:(we=(Se=o==null?void 0:o.asset)==null?void 0:Se.sys)==null?void 0:we.uri}});return n.createElement(W.Z,{title:e.block.value.title,assets:t})};var A=r(60232),l=r(61402);const d=e=>{if(!e.block.value||!e.block.value.quote)return null;const o=(0,b.Tt)(l.J)(e.block.value);return n.createElement(A.Z,{image:o.image,quote:o.quote,source:o.source,starRating:o.starRating,id:o.id})};var a=r(99786),i=r(53086),s=Object.defineProperty,j=Object.defineProperties,E=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable,N=(e,t,o)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,M=(e,t)=>{for(var o in t||(t={}))I.call(t,o)&&N(e,o,t[o]);if(k)for(var o of k(t))K.call(t,o)&&N(e,o,t[o]);return e},v=(e,t)=>j(e,E(t));const ie=e=>{if(!e.block.value)return null;const o=(0,b.Tt)(a.P)(e.block.value);return n.createElement(i.Z,v(M({},o),{buttonType:"primary"}),o.label)};var J=r(5455),X=r(58667),te=Object.defineProperty,Q=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,se=(e,t,o)=>t in e?te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Oe=(e,t)=>{for(var o in t||(t={}))he.call(t,o)&&se(e,o,t[o]);if(Q)for(var o of Q(t))xe.call(t,o)&&se(e,o,t[o]);return e};const $e=e=>{if(!e.block.value)return null;const o=(0,b.Tt)(X.G)(e.block.value);return n.createElement(J.Z,Oe({},o))};var Ge=r(82236),Ce=Object.defineProperty,ce=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,de=(e,t,o)=>t in e?Ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,je=(e,t)=>{for(var o in t||(t={}))Be.call(t,o)&&de(e,o,t[o]);if(ce)for(var o of ce(t))ke.call(t,o)&&de(e,o,t[o]);return e};const Te=e=>{var t,o,p,u,S,x,O;const z=(p=(o=(t=e.block.value)==null?void 0:t.videoEmbed)==null?void 0:o.youtubeUrl.match(/[A-Za-z0-9-_]{11}$/))==null?void 0:p[0],ne=`https://img.youtube.com/vi/${z}/mqdefault.jpg`,re={caption:((S=(u=e.block.value)==null?void 0:u.videoEmbed)==null?void 0:S.caption)||"",title:((O=(x=e.block.value)==null?void 0:x.videoEmbed)==null?void 0:O.title)||"",url:`https://www.youtube.com/embed/${z}`||"",id:z||"",thumbnail:ne};return n.createElement(Ge.Z,je({},re))};var Ie=r(19007);const Ne=e=>{var t;return n.createElement(Ie.Z,{iframeEmbed:((t=e.block.value)==null?void 0:t.msSwayEmbed.iframeEmbed)||""})};var Ve=r(63168);const Ze=e=>{var t,o;return n.createElement(Ve.Z,{iframeEmbed:(o=(t=e.block.value)==null?void 0:t.mapEmbed.iframeEmbed)!=null?o:""})};var Fe=r(67093),Le=r(12013),Re=Object.defineProperty,pe=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ue=(e,t,o)=>t in e?Re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,ze=(e,t)=>
1{for(var o in t||(t={}))Ae.call(t,o)&&ue(e,o,t[o]);if(pe)for(var o of pe(t))Me.call(t,o)&&ue(e,o,t[o]);return e};const De=e=>{if(!e.block.value)return null;const o=(0,b.Tt)(Fe.H)(e.block.value);return n.createElement(Le.Z,ze({},o))};var He=r(94835),_e=r(67078),me=r(41869);const Ue=e=>{if(!e.block.value)return null;const o=(0,b.Tt)(He.X)(e.block.value);return n.createElement(_e.default,{title:o.title,text:o.mapper,images:e.block.value.images.map(p=>({image:(0,me.F)({image:p,width:1e3,crop:!1}),thumbnail:(0,me.F)({image:p,width:264,height:264})}))})};var We=r(9887),Ke=r(86352),Je=Object.defineProperty,ve=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,fe=(e,t,o)=>t in e?Je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ye=(e,t)=>{for(var o in t||(t={}))Xe.call(t,o)&&fe(e,o,t[o]);if(ve)for(var o of ve(t))Qe.call(t,o)&&fe(e,o,t[o]);return e};const qe=e=>{if(!e.block.value)return null;const o=(0,b.Tt)(We.m)(e.block.value);return n.createElement(Ke.Z,Ye({},o))};var eo=r(25346),oo=r(88143),to=r(27786),no=r(86021),ro=Object.defineProperty,lo=Object.defineProperties,ao=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,ye=(e,t,o)=>t in e?ro(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,be=(e,t)=>{for(var o in t||(t={}))io.call(t,o)&&ye(e,o,t[o]);if(ge)for(var o of ge(t))so.call(t,o)&&ye(e,o,t[o]);return e},Pe=(e,t)=>lo(e,ao(t));const co=e=>{if(!e.block.value)return null;const o=(0,b.Tt)(eo.Z)(e.block.value),p=e.block.value.item.map(u=>Pe(be({},u),{extendedContent:u.extendedContent?(0,to.P)(u.extendedContent.contentComposer||[],no.t):[],id:encodeURI(u.title.toLowerCase().replace(/ /g,"-"))}));return n.createElement(oo.Z,Pe(be({},o),{items:p}))};var po=r(50545);const uo={accordionGroup:T,assetPicker:R,blockquote:d,callout:$e,gallery:Ue,organisationLogoRow:qe,videoSection:e=>e.block.value?n.createElement(po.default,{videos:e.block.value.videos.map(t=>{var o,p,u;const S=!!t.iframeEmbed,x=S?(o=t.iframeEmbed.match(/src=".*?"/))==null?void 0:o[0].replace(/src=|"/g,""):"",O=S?x.replace(/https:\/\/www.bbc.co.uk\/news\/av-embeds\//,""):(p=t.youtubeUrl.match(/[A-Za-z0-9-_]{11}$/))==null?void 0:p[0];return{caption:t.caption,id:O,thumbnail:(u=t.thumbnail)!=null?u:"",title:t.title,url:S?x:`https://www.youtube.com/embed/${O}`}})}):null,link:ie,contensisForm:De,stepByStep:co,canvasMapEmbed:Ze,canvasMSSwayEmbed:Ne,canvasVideo:Te};var mo=r(28760),vo=r(93139),fo=r(78029),go=r(36834);const yo=vo.z.div`
2  ${({theme:e})=>{var t,o,p,u,S,x,O;return(0,mo.iv)`
3      * + * {
4        margin: ${e.spacing.xxs} 0 0 0;
5        &:is(br) {
6          margin: 0;
7        }
8        @media ${e.mq.small} {
9          &:not(p) {
10            margin: ${e.spacing.sm} 0 0 0;
11          }
12        }
13      }
14      h2,
15      h3,
16      h4,
17      h5,
18      h6 {
19        + * {
20          margin: ${e.spacing.xs} 0 0 0;
21        }
22      }
23
24      h1 {
25        ${e.typeStyles.h1}
26      }
27      h2 {
28        ${e.typeStyles.h2}
29      }
30      h3 {
31        ${e.typeStyles.h3}
32      }
33      h4 {
34        ${e.typeStyles.h4}
35      }
36      h5 {
37        ${e.typeStyles.h5}
38      }
39      h6 {
40        ${e.typeStyles.h6}
41      }
42
43      ${(0,fo.d)((t=e.contentBlock)==null?void 0:t.text)}
44
45      a {
46        text-decoration: underline;
47        color: ${(o=e.contentBlock)==null?void 0:o.link};
48        &:hover {
49          color: ${(p=e.contentBlock)==null?void 0:p.linkHover};
50          text-decoration: underline;
51        }
52        &:focus {
53          color: ${(u=e.contentBlock)==null?void 0:u.linkHover};
54          text-decoration: underline;
55        }
56        &:visited {
57          color: ${(S=e.contentBlock)==null?void 0:S.link};
58          &:hover {
59            color: ${(x=e.contentBlock)==null?void 0:x.linkHover};
60            text-decoration: underline;
61          }
62          &:focus {
63            color: ${(O=e.contentBlock)==null?void 0:O.linkHover};
64            text-decoration: underline;
65          }
66        }
67      }
68
69      p:empty,
70      br {
71        margin-top: 0;
72        line-height: 0;
73      }
74
75      .table-wrap {
76        width: 100%;
77        overflow: auto;
78      }
79
80      table {
81        ${(0,go.V)({captionColor:e.color.table.captionColor,captionStyle:e.typeStyles.caption,cellStyle:e.typeStyles["body-1"],footStyle:e.typeStyles["body-1"],headStyle:e.typeStyles.h5,tableBorder:e.color.table.tableBorder,tableHeadBorder:e.color.table.tableHeadBorder,tableHeadBg:e.color.table.tableHeadBg,tableHeadColor:e.color.table.tableHeadColor,tableCellBg:e.color.table.tableCellBg,tableCellBgEven:e.color.table.tableCellBgEven,tableCellColor:e.color.table.tableCellColor,tableFootBg:e.color.table.tableFootBg,tableFootColor:e.color.table.tableFootColor})};
82      }
83
84      hr {
85        border: 0;
86        background: ${e.color.bgLight.text};
87        display: block;
88        height: 1px;
89        &:not(:first-child) {
90          margin-top: ${e.spacing.xxs};
91        }
92      }
93    `}};
94`,bo=({data:e})=>e?n.createElement(yo,null,n.createElement(m.Gx,{blocks:{_link:B},components:uo},n.createElement(m.Th,{data:e}))):null},67078:(D,g,r)=>{r.r(g),r.d(g,{default:()=>d});var n=r(67294),m=r(28760),w=r(88277),$=r(45923);const h=({appRootId:a="app-root",modalRootId:i="modal-root",returnFocusToElementId:s})=>{const[j,E]=(0,n.useState)(!1),k=(0,$.j)()?document.getElementById(a):null,I=(0,$.j)()?document.getElementById(i):null;return{modalProps:{appRoot:k,closeModal:()=>E(!1),isOpen:j,modalRoot:I,returnFocusToElementId:s},openModal:()=>E(!0)}};var C=r(73935),G=r(37615),f=r(93139);const y=f.z.div`
95  ${({theme:a,contentFillModal:i,transparentBackground:s})=>(0,m.iv)`
96      position: fixed;
97      top: 0;
98      bottom: 0;
99      left: 0;
100      right: 0;
101      background: rgba(0, 0, 0, 0.55);
102      z-index: 99999;
103      backdrop-filter: blur(4px);
104
105      .modal__window {
106        background: ${s?"transparent":"#fff"};
107        position: fixed;
108        top: 50%;
109        left: 50%;
110        transform: translate(-50%, -50%);
111        width: 90vw;
112        min-height: 200px;
113        max-width: 1000px;
114        padding: ${i?0:"8.8rem 1.6rem 1.6rem 1.6rem"};
115        max-height: 90vh;
116
117        ${i&&(0,m.iv)`
118          .swiper-slide {
119            display: flex;
120            justify-content: center;
121            background: #000;
122            padding: 10px;
123          }
124          img {
125            width: auto;
126            max-height: 80vh;
127          }
128        `};
129      }
130
131      .modal__close {
132        position: absolute;
133        right: ${i?"1rem":"1.6rem"};
134        top: ${i?"1rem":"1.6rem"};
135        background: '#fff';
136        border: none;
137        cursor: pointer;
138        height: 72px;
139        width: 72px;
140        z-index: 2;
141        color: ${a.buttons.white.text};
142      }
143
144      .modal__close__icon {
145        height: 32px;
146      }
147
148      .modal__close__label {
149        height: 1px;
150        left: -10000px;
151        overflow: hidden;
152        position: absolute;
153        top: auto;
154        width: 1px;
155      }
156    `};
157`;var B=r(40098);const H=({appRoot:a,children:i,closeModal:s,contentFillModal:j,isOpen:E,modalRoot:k,returnFocusToElementId:I,transparentBackground:K})=>{const{initFocusTrap:N,destroyFocusTrap:M}=(0,B.P)({returnFocusToElementId:I,escapeFunction:s}),v=(0,n.useRef)(null),V=(0,n.useRef)(null),ie=(0,n.useCallback)(()=>{a&&(a.setAttribute("tabindex","-1"),a.setAttribute("aria-hidden","true")),N(v,V)},[a,N]),J=(0,n.useCallback)(()=>{a&&(a.setAttribute("tabindex","0"),a.setAttribute("aria-hidden","false")),M(),s()},[a,s,M]),X=(0,n.useCallback)(te=>{var Q;(!((Q=v==null?void 0:v.current)!=null&&Q.contains(te.target))||["A"].includes(te.target.nodeName))&&J()},[]);return(0,n.useEffect)(()=>{document.removeEventListener("click",X,!1),E&&setTimeout(()=>{ie(),document.addEventListener("click",X,!1)},100)},[E]),(0,n.useEffect)(()=>()=>{document.removeEventListener("click",X,!1),J()},[]),E&&k?C.createPortal(n.createElement(y,{"aria-modal":"true",contentFillModal:j,role:"dialog",transparentBackground:K},n.createElement("div",{className:"modal__window",ref:v},n.createElement("button",{className:"modal__close",id:"close-modal",onClick:()=>J(),ref:V},n.createElement(G.Z,{className:"modal__close__icon",icon:"close"}),n.createElement("span",{className:"modal__close__label"},"Close dialog")),i)),k):null};var Y=r(83517),Z=r(40181),_=r(80877);const F=f.z.div`
158  ${({theme:a})=>(0,m.iv)`
159      .thumbnails {
160        display: flex;
161        flex-wrap: wrap;
162        justify-content: center;
163        margin: ${a.spacing.xxxs} -${a.spacing.xxxs};
164        overflow: hidden;
165        .thumbnail {
166          display: flex;
167          flex-basis: 50%;
168          padding: ${a.spacing.xxxs};
169          .image-scale {
170            border: 0;
171            overflow: hidden;
172          }
173          img {
174            backface-visibility: hidden;
175            border-radius: ${a.imageRadius};
176            cursor: pointer;
177            display: block;
178            perspective: 1000px;
179            transition: transform 0.2s ease-in;
180            will-change: transform;
181          }
182          .image-scale {
183            border-radius: ${a.imageRadius};
184            width: 100%;
185            &:hover,
186            &:focus {
187              img {
188                transform: scale(1.1);
189              }
190            }
191          }
192        }
193        @media ${a.mq.xsmall} {
194          margin: ${a.spacing.xxxs} -${a.spacing.xxs};
195          .thumbnail {
196            flex-basis: calc(100% / 3);
197            padding: ${a.spacing.xxs};
198          }
199        }
200        @media ${a.mq.small} {
201          margin: ${a.spacing.xxxs} -${a.spacing.xs};
202          .thumbnail {
203            flex-basis: calc(100% / 4);
204            padding: ${a.spacing.xs};
205          }
206        }
207      }
208    `};
209`;var L=Object.defineProperty,U=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,oe=(a,i,s)=>i in a?L(a,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[i]=s,R=(a,i)=>{for(var s in i||(i={}))W.call(i,s)&&oe(a,s,i[s]);if(T)for(var s of T(i))b.call(i,s)&&oe(a,s,i[s]);return a},A=(a,i)=>U(a,ee(i));const d=({images:a,text:i,title:s})=>{var j;
209const[E,k]=(0,n.useState)(-1),I=(0,m.Fg)(),{modalProps:K,openModal:N}=h({returnFocusToElementId:`open-modal-${(j=a==null?void 0:a[E])==null?void 0:j.thumbnail.id}`}),M=v=>{k(v),N()};return n.createElement(_.Z,{headingLevel:3,hideInPrint:!0,text:i,title:s},n.createElement(F,null,a&&n.createElement("div",{className:"thumbnails"},a.map((v,V)=>n.createElement("div",{className:"thumbnail",key:v.thumbnail.id},n.createElement("button",{className:"image-scale",id:`open-modal-${v.thumbnail.id}`,onClick:()=>M(V)},n.createElement(w.Z,R({},v.thumbnail)))))),n.createElement(H,A(R({},K),{contentFillModal:!0,transparentBackground:!0}),n.createElement(m.f6,{theme:{contentBlock:I.color.bgDark}},a[E]&&n.createElement(Y.Z,{autoplay:!1,effect:"fade",id:"gallery",initialSlide:E,navigationControlsPosition:"overlay",pagination:!0},a.map((v,V)=>n.createElement("div",{key:v.image.id},n.createElement(Z.Z,A(R({},v.image),{caption:`${V+1}/${a.length} ${v.image.caption}`})))))))))}},50545:(D,g,r)=>{r.r(g),r.d(g,{default:()=>A});var n=r(67294),m=r(82236),w=r(80877),$=r(40181),h=r(66446),C=r(83517),G=r(28760),f=r(77087),P=r(93139);const B=P.z.div`
210  ${({theme:l})=>{const c=l.contentBlock.backgroundSecondary||(0,f.$n)(.05,l.contentBlock.background),d="8rem";return(0,G.iv)`
211      overflow: hidden;
212      background: ${c};
213      padding: ${l.spacing.md} 0;
214
215      .rail {
216        overflow: hidden;
217        position: relative;
218        margin: 0 -${d};
219
220        &::before,
221        &::after {
222          content: '';
223          position: absolute;
224          top: 0;
225          bottom: 0;
226          width: ${d};
227          z-index: 2;
228        }
229
230        &::before {
231          left: 0rem;
232          background: linear-gradient(
233            to right,
234            ${c} 0%,
235            transparent 100%
236          );
237        }
238
239        &::after {
240          right: 0rem;
241          background: linear-gradient(to left, ${c} 0%, transparent 100%);
242        }
243
244        > * {
245          margin: 0 ${d};
246        }
247      }
248
249      .video-thumbnail {
250        border: none;
251        background: transparent;
252        cursor: pointer;
253        text-align: left;
254
255        &:focus {
256          outline: none;
257          img {
258            outline: ${l.focus.width} solid ${l.focus.color}!important;
259            outline-offset: -${l.focus.width};
260          }
261        }
262
263        &.active {
264          img {
265            outline: ${l.focus.width} solid ${l.color.brand.primary};
266            outline-offset: -${l.focus.width};
267          }
268        }
269      }
270
271      // Slider style overrides
272
273      .swiper-container {
274        overflow: visible;
275      }
276
277      .swiper-slide {
278        width: 180px !important;
279        @media ${l.mq.xsmall} {
280          width: 320px !important;
281        }
282      }
283
284      .swiper-button-disabled {
285        display: none;
286      }
287
288      .swiper-arrow {
289        display: none;
290        z-index: 3;
291        @media ${l.mq.large} {
292          display: block;
293        }
294      }
295
296      .swiper-prev {
297        left: 0;
298      }
299
300      .swiper-next {
301        right: 0;
302      }
303    `}};
304`,H=({setActiveVideo:l,videos:c})=>{const[d,a]=(0,n.useState)(0);return n.createElement(B,{className:"noPrint"},n.createElement(h.Z,null,n.createElement("div",{className:"rail"},n.createElement(C.Z,{autoplay:!1,centered:!1,id:"thumbnailRail",loop:!1,navigationControlsPosition:"overlay",slidesPerView:"auto",spaceBetween:48},c.map((i,s)=>n.createElement("button",{className:`video-thumbnail ${s===d?" active":""}`,key:i.id,onClick:()=>{a(s),l(i)},title:i.title},n.createElement($.Z,{alt:i.title+" video thumbnail",caption:i.title,height:180,id:i.id,src:i.thumbnail,width:320})))))))},Z=P.z.div`
305  ${({theme:l})=>(0,G.iv)`
306      .videos {
307        @media ${l.mq.large} {
308          display: flex;
309          align-items: flex-start;
310          margin: 0 -${l.spacing.xs};
311        }
312      }
313
314      .video {
315        flex-basis: 50%;
316        text-align: center;
317
318        @media ${l.mq.large} {
319          &:only-child {
320            flex-basis: 100%;
321
322            .video-inner {
323              flex-direction: row;
324              justify-content: center;
325              text-align: left;
326            }
327            .video-embed-wrapper {
328              flex-basis: 60%;
329              flex-shrink: 0;
330              flex-grow: 0;
331              order: 1;
332            }
333
334            .content {
335              display: flex;
336              flex-direction: column;
337              justify-content: center;
338              flex-grow: 1;
339              padding-right: ${l.spacing.md};
340            }
341
342            .title {
343              margin-top: 0;
344            }
345          }
346        }
347
348        &:not(:first-child) {
349          margin-top: ${l.spacing.xl};
350
351          @media ${l.mq.large} {
352            margin-top: 0;
353          }
354        }
355      }
356
357      .video-inner {
358        display: flex;
359        flex-direction: column;
360
361        @media ${l.mq.large} {
362          padding: 0 ${l.spacing.xs};
363        }
364      }
365
366      .title {
367        ${l.typeStyles.h3};
368
369        @media ${l.mq.large} {
370          margin-top: ${l.spacing.md};
371        }
372      }
373
374      .text {
375        ${l.typeStyles["body-1"]};
376        margin-top: ${l.spacing.xs};
377      }
378
379      .video-embed-wrapper {
380        margin-top: ${l.spacing.md};
381
382        @media ${l.mq.large} {
383          order: -1;
384          margin-top: 0;
385        }
386      }
387    `};
388`;var _=Object.defineProperty,q=Object.defineProperties,F=Object.getOwnPropertyDescriptors,L=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,T=(l,c,d)=>c in l?_(l,c,{enumerable:!0,configurable:!0,writable:!0,value:d}):l[c]=d,W=(l,c)=>{for(var d in c||(c={}))U.call(c,d)&&T(l,d,c[d]);if(L)for(var d of L(c))ee.call(c,d)&&T(l,d,c[d]);return l},b=(l,c)=>q(l,F(c));const A=({videos:l=[]})=>{const[c,d]=(0,n.useState)([]);(0,n.useEffect)(()=>{d(l.length>2?[l[0]]:l)},[l]);const a=i=>d([i]);return n.createElement(n.Fragment,null,n.createElement(w.Z,{hideInPrint:!0},n.createElement(Z,null,c&&n.createElement("div",{className:"videos"},c.map(i=>n.createElement("div",{className:"video",key:i.id},n.createElement("div",{className:"video-inner"},n.createElement("div",{className:"content"},n.createElement("h2",{className:"title"},i.title),n.createElement("div",{className:"text"},i.caption)),n.createElement("div",{className:"video-embed-wrapper"},n.createElement(m.Z,b(W({},i),{caption:void 0}))))))))),l&&l.length>2&&n.createElement(H,{setActiveVideo:a,videos:l}))}},28249:(D,g,r)=>{r.d(g,{Z:()=>G});var n=r(67294),m=r(28760),w=r(93139);const h=w.z.button`
389  ${({theme:f})=>(0,m.iv)`
390      border: none;
391      position: fixed;
392      top: 50%;
393      right: 0;
394      transform: translate(35%, -50%) rotate(90deg);
395      z-index: 1000;
396      background-color: red;
397      color: white;
398      cursor: pointer;
399      outline: none;
400      padding: 0.5rem 1rem;
401      font-size: 1.7rem;
402      text-orientation: mixed;
403      transition: all 0.3s ease-in-out;
404      @media ${f.mq.xlarge} {
405        padding: 1.5rem;
406        right: 5;
407        font-size: 1.9rem;
408        font-weight: 700;
409      }
410    `};
411`,G=()=>{const f=()=>{const P=["https://www.bbc.co.uk/"],y=P[Math.floor(Math.random()*P.length)];window.open(y,"_blank"),window.location.replace("https://www.google.com"),window.history.replaceState(null,"","")};return n.createElement(h,{onClick:f},"Exit this page")}},56689:(D,g,r)=>{r.d(g,{Z:()=>P});var n=r(67294),m=r(77285),w=r(28760),$=r(93139);const C=$.z.div`
412  ${({theme:y})=>(0,w.iv)`
413      .title {
414        ${y.typeStyles.h4};
415      }
416      .cards {
417        list-style: none;
418        padding: 0;
419        margin: ${y.spacing.md} 0 0 0;
420
421        > *:not(:first-child) {
422          margin-top: ${y.spacing.xxs};
423        }
424      }
425    `};
426`,P=({cards:y})=>y.length>0?n.createElement(C,null,n.createElement("h2",{className:"title"},"Related links"),y&&n.createElement("ul",{className:"cards"},y.map(B=>n.createElement("li",{key:B.id},n.createElement(m.Z,{uri:B.uri},B.title))))):null},19007:(D,g,r)=>{r.d(g,{Z:()=>f});var n=r(67294),m=r(28760),w=r(93139);const h=w.z.div`
427  ${()=>(0,m.iv)`
428      // max-width: 500px;
429      // margin: auto;
430
431      // .inner {
432      //   overflow: hidden;
433      //   padding-top: 152%;
434      //   position: relative;
435      //   width: 100%;
436      //   background: rgba(0, 0, 0, 0.2);
437      // }
438
439      // iframe {
440      //   border: 0;
441      //   height: 100%;
442      //   left: 0;
443      //   position: absolute;
444      //   top: 0;
445      //   width: 100%;
446      // }
447
448      iframe {
449        max-width: 100%;
450      }
451    `};
452`,f=({iframeEmbed:P})=>n.createElement(h,null,n.createElement("div",{className:"inner",dangerouslySetInnerHTML:{__html:P}}))}}]);

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.