1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-BdLzgUwx.js","assets/vendor-react-IkONeJkg.js","assets/rolldown-runtime-hePW80VL.js","assets/vendor-ag-charts-242zo724.js","assets/vendor-CyUNgn9d.js","assets/css/style.min.RzA-UwRB.css","assets/vendor-ag-grid-Bd98uamq.js","assets/BackToTop-6TtBEW6O.js","assets/useSEO-asMPJ21Q.js","assets/ContentBlockGrid-BCyfyxh3.js","assets/backend-Da3L57Tc.js","assets/ArticleMeta-DIfgkZvx.js","assets/dateUtils-zxWKbMyr.js","assets/About-BAzhiKDS.js","assets/A11y-Ut3frW0c.js","assets/client-QfVpTx-R.js","assets/vendor-supabase-Bs2flS3R.js","assets/ArticleCard-B1tUxaYF.js","assets/Agile-CStC69Pe.js","assets/Books-jg6tAT3-.js","assets/useDataFetch-7mNHKPCd.js","assets/Football-D4VCyGoS.js","assets/SkeletonLoaders-D9zmcDwh.js","assets/footballSeasonResults-BjkpGSIl.js","assets/agChartsSetup-DRFrNzH1.js","assets/SeasonPage-DEewukhA.js","assets/React-BQn9bset.js","assets/Landie-BCFYC56X.js","assets/SlimmingWorld-BPpkL_LE.js","assets/GarminActivities-BMqXiREh.js","assets/IconTest-B5OwXRfP.js","assets/NotFound-CnNCKGUq.js","assets/AdminLogin-BoZ8Da1R.js","assets/useAuth-CbxDhUYs.js","assets/AdminDashboard-C4z2Rliu.js","assets/BooksManager-D0ZfW4D5.js","assets/AdminPageHeader-C3PddYn1.js","assets/BookEditor-Dn08yNqJ.js","assets/tinymceConfig-DZVoRyKA.js","assets/ImageUpload-9adZLvmc.js","assets/ContentBlocksManager-DQkeKN5Z.js","assets/ContentBlockEditor-Bg0GuTjw.js","assets/MediaPicker-WG7kBl2I.js","assets/NavigationManager-BlTgWK6y.js","assets/navigationService-_w-EA0sl.js","assets/NavigationEditor-DkX8anO-.js","assets/ArticlesManager-teixEEW8.js","assets/ArticleEditor-CouvZk7R.js","assets/SlimmingWorldManager-DA9rgAyj.js","assets/FootballManager-Dpb5ntTI.js","assets/FootballPlayersManager-DbQRzB0V.js","assets/SettingsManager-C4k0qGLt.js","assets/MediaLibrary-CnYGbzOH.js","assets/workbox-window.prod.es5-e9fPxI-c.js"])))=>i.map(i=>d[i]); 2import{r as e}from"./rolldown-runtime-hePW80VL.js";import{s as t}from"./vendor-ag-charts-242zo724.js";import"./vendor-CyUNgn9d.js";import{A as n,B as r,C as i,D as a,E as o,F as s,M as c,N as l,O as u,P as d,T as f,_ as p,b as m,g as h,h as g,j as _,k as ee,m as te,p as v,v as y,w as b,x,y as ne,z as S}from"./vendor-react-IkONeJkg.js";import{r as re}from"./client-QfVpTx-R.js";import{t as ie}from"./navigationService-_w-EA0sl.js";import{t as ae}from"./SkeletonLoaders-D9zmcDwh.js";import{t as oe}from"./useAuth-CbxDhUYs.js";/* empty css */(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var C=e(t(),1),w=e(r(),1),T=v(),E=`/assets/weestoater-icon.DTkhN27q.png`,D=`weestoater:settings`,O={font:`default`,fontSize:`medium`,theme:`light`},k=({isOpen:e,toggle:t,onThemeChange:n})=>{let[r,i]=(0,C.useState)(()=>{if(typeof window>`u`)return O;let e=localStorage.getItem(D);if(e)try{return{...O,...JSON.parse(e)}}catch{return O}return O});(0,C.useEffect)(()=>{let e=document.documentElement;e.style.setProperty(`--user-font`,{default:`'Jost', sans-serif`,calibri:`Calibri, 'Segoe UI', sans-serif`,ubuntu:`'Ubuntu', sans-serif`,dyslexic:`OpenDyslexic, 'Comic Sans MS', sans-serif`}[r.font]),e.style.setProperty(`--user-font-size`,{smaller:`0.8rem`,medium:`1rem`,large:`1.2rem`,huge:`1.5rem`}[r.fontSize]),r.theme===`high-contrast`?(e.setAttribute(`data-theme`,`dark`),e.setAttribute(`data-high-contrast`,`true`)):(e.setAttribute(`data-theme`,r.theme),e.removeAttribute(`data-high-contrast`)),localStorage.setItem(D,JSON.stringify(r))},[r]);let a=e=>{i(t=>({...t,font:e}))},o=e=>{i(t=>({...t,fontSize:e}))},s=e=>{i(t=>({...t,theme:e})),n(e)};return(0,T.jsxs)(x,{isOpen:e,toggle:t,centered:!0,children:[(0,T.jsxs)(m,{toggle:t,children:[(0,T.jsx)(`i`,{className:`bi bi-gear-fill me-2`,"aria-hidden":`true`}),`Settings`]}),(0,T.jsxs)(ne,{children:[(0,T.jsxs)(p,{children:[(0,T.jsx)(g,{children:(0,T.jsx)(`strong`,{children:`Font`})}),(0,T.jsx)(`small`,{className:`text-muted d-block mb-2`,children:`Choose a font that's comfortable for reading`}),(0,T.jsxs)(`div`,{className:`settings-button-grid`,children:[(0,T.jsx)(b,{color:r.font==="default"?`success`:`outline-secondary`,onClick:()=>a(`default`),className:`settings-font-btn font-default`,"aria-pressed":r.font==="default",children:`Default`}),(0,T.jsx)(b,{color:r.font===`calibri`?`success`:`outline-secondary`,onClick:()=>a(`calibri`),className:`settings-font-btn font-calibri`,"aria-pressed":r.font===`calibri`,children:`Calibri`}),(0,T.jsx)(b,{color:r.font===`ubuntu`?`success`:`outline-secondary`,onClick:()=>a(`ubuntu`),className:`settings-font-btn font-ubuntu`,"aria-pressed":r.font===`ubuntu`,children:`Ubuntu`}),(0,T.jsx)(b,{color:r.font===`dyslexic`?`success`:`outline-secondary`,onClick:()=>a(`dyslexic`),className:`settings-font-btn font-dyslexic`,"aria-pressed":r.font===`dyslexic`,children:`Dyslexic`})]})]}),(0,T.jsxs)(p,{children:[(0,T.jsx)(g,{children:(0,T.jsx)(`strong`,{children:`Text Size`})}),(0,T.jsx)(`small`,{className:`text-muted d-block mb-2`,children:`Adjust the base text size`}),(0,T.jsxs)(`div`,{className:`settings-button-grid`,children:[(0,T.jsx)(b,{color:r.fontSize===`smaller`?`success`:`outline-secondary`,onClick:()=>o(`smaller`),className:`settings-size-btn size-smaller`,"aria-pressed":r.fontSize===`smaller`,children:`Smaller`}),(0,T.jsx)(b,{color:r.fontSize===`medium`?`success`:`outline-secondary`,onClick:()=>o(`medium`),className:`settings-size-btn size-medium`,"aria-pressed":r.fontSize===`medium`,children:`Default`}),(0,T.jsx)(b,{color:r.fontSize===`large`?`success`:`outline-secondary`,onClick:()=>o(`large`),className:`settings-size-btn size-large`,"aria-pressed":r.fontSize===`large`,children:`Larger`}),(0,T.jsx)(b,{color:r.fontSize===`huge`?`success`:`outline-secondary`,onClick:()=>o(`huge`),className:`settings-size-btn size-huge`,"aria-pressed":r.fontSize===`huge`,children:`Huge`})]})]}),(0,T.jsxs)(p,{children:[(0,T.jsx)(g,{children:(0,T.jsx)(`strong`,{children:`Theme`})}),(0,T.jsx)(`small`,{className:`text-muted d-block mb-2`,children:`Choose your preferred colour theme`}),(0,T.jsxs)(`div`,{className:`settings-theme-radio-grid`,children:[(0,T.jsxs)(p,{check:!0,className:`mb-0`,children:[(0,T.jsx)(h,{type:`radio`,name:`theme`,id:`themeLight`,checked:r.theme===`light`,onChange:()=>s(`light`)}),(0,T.jsxs)(g,{check:!0,for:`themeLight`,children:[(0,T.jsx)(`i`,{className:`bi bi-sun-fill me-2`,"aria-hidden":`true`}),`Light`]})]}),(0,T.jsxs)(p,{check:!0,className:`mb-0`,children:[(0,T.jsx)(h,{type:`radio`,name:`theme`,id:`themeDark`,checked:r.theme===`dark`,onChange:()=>s(`dark`)}),(0,T.jsxs)(g,{check:!0,for:`themeDark`,children:[(0,T.jsx)(`i`,{className:`bi bi-moon-stars-fill me-2`,"aria-hidden":`true`}),`Dark`]})]}),(0,T.jsxs)(p,{check:!0,className:`mb-0`,children:[(0,T.jsx)(h,{type:`radio`,name:`theme`,id:`themeHighContrast`,checked:r.theme===`high-contrast`,onChange:()=>s(`high-contrast`)}),(0,T.jsxs)(g,{check:!0,for:`themeHighContrast`,children:[(0,T.jsx)(`i`,{className:`bi bi-circle-half me-2`,"aria-hidden":`true`}),`High Contrast`]})]}),(0,T.jsxs)(p,{check:!0,className:`mb-0`,children:[(0,T.jsx)(h,{type:`radio`,name:`theme`,id:`themeGovUk`,checked:r.theme===`gov-uk`,onCh
2ange:()=>s(`gov-uk`)}),(0,T.jsxs)(g,{check:!0,for:`themeGovUk`,children:[(0,T.jsx)(`i`,{className:`bi bi-bank me-2`,"aria-hidden":`true`}),`GOV.UK`]})]})]})]}),(0,T.jsxs)(`div`,{className:`alert alert-info mt-3`,role:`status`,"aria-live":`polite`,children:[(0,T.jsx)(`i`,{className:`bi bi-info-circle me-2`,"aria-hidden":`true`}),`Settings are saved automatically and will persist across visits`]})]}),(0,T.jsxs)(y,{children:[(0,T.jsxs)(b,{color:`secondary`,onClick:()=>{i(O),n(O.theme)},children:[(0,T.jsx)(`i`,{className:`bi bi-arrow-counterclockwise me-2`,"aria-hidden":`true`}),`Reset to defaults`]}),(0,T.jsxs)(b,{color:`success`,onClick:t,children:[(0,T.jsx)(`i`,{className:`bi bi-check-lg me-2`,"aria-hidden":`true`}),`Done`]})]})]})},A=te,j=[{label:`Home`,path:`/home`},{label:`About`,path:`/about`},{label:`A11y`,path:`/a11y`},{label:`Agile`,path:`/agile`},{label:`Books`,path:`/books`},{label:`Football`,path:`/football`},{label:`Landie`,path:`/landie`},{label:`React`,path:`/react`},{label:`SW`,path:`/sw`}],M=()=>{let[e,t]=(0,C.useState)(!1),[n,r]=(0,C.useState)(!1),[s,l]=(0,C.useState)(j),d=()=>t(!e),p=()=>t(!1),m=()=>r(!n),h=async()=>{try{let e=re(),t=await ie(e).getNavigationItems({includeHidden:!1});if(t&&t.length>0){let e=t.map(e=>({label:e.label,path:e.path,icon:e.icon}));l(e)}else console.log(`Using fallback navigation - database is empty`)}catch(e){console.error(`Failed to load navigation, using fallback:`,e)}};return(0,C.useEffect)(()=>{h()},[]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(ee,{color:`dark`,dark:!0,expand:`lg`,children:[(0,T.jsx)(A,{to:`#content`,className:`skip-link`,children:`Skip to main content`}),(0,T.jsxs)(u,{children:[(0,T.jsx)(`img`,{src:E,alt:`weestoater logo`,className:`header-app-logo`}),(0,T.jsx)(`span`,{children:`weestoater`})]}),(0,T.jsx)(a,{onClick:d}),(0,T.jsxs)(i,{isOpen:e,navbar:!0,children:[(0,T.jsx)(o,{className:`me-auto`,navbar:!0,"aria-label":`Main navigation`,children:s.map((e,t)=>(0,T.jsx)(f,{children:(0,T.jsxs)(c,{to:e.path,end:!0,className:({isActive:e})=>e?`active nav-link`:`nav-link`,onClick:p,children:[e.icon&&(0,T.jsx)(`i`,{className:`${e.icon} me-1`}),e.label]})},t))}),(0,T.jsx)(`div`,{className:`ms-auto d-flex align-items-center gap-2`,children:(0,T.jsxs)(b,{color:`link`,className:`settings-button`,onClick:m,"aria-label":`Open accessibility settings`,title:`Accessibility Settings`,children:[(0,T.jsx)(`i`,{className:`bi bi-universal-access-circle`,"aria-hidden":`true`}),(0,T.jsx)(`span`,{className:`settings-label`,children:`Settings`})]})})]})]}),(0,T.jsx)(k,{isOpen:n,toggle:m,onThemeChange:e=>{e===`high-contrast`?(document.documentElement.setAttribute(`data-theme`,`dark`),document.documentElement.setAttribute(`data-high-contrast`,`true`)):(document.documentElement.setAttribute(`data-theme`,e),document.documentElement.removeAttribute(`data-high-contrast`)),localStorage.setItem(`weestoater:theme`,e)}})]})},N=class extends C.Component{constructor(e){super(e),this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.error(`ErrorBoundary caught an error:`,e,t),this.setState({error:e,errorInfo:t})}handleReset=()=>{this.setState({hasError:!1,error:null,errorInfo:null})};render(){return this.state.hasError?this.props.fallback?this.props.fallback:(0,T.jsx)(`div`,{className:`error-boundary-container`,children:(0,T.jsxs)(`div`,{className:`error-boundary-content`,children:[(0,T.jsx)(`h1`,{className:`error-boundary-title`,children:`Oops! Something went wrong`}),(0,T.jsx)(`p`,{className:`error-boundary-message`,children:`We're sorry for the inconvenience. An unexpected error occurred.`}),!1,(0,T.jsxs)(`div`,{className:`error-boundary-actions`,children:[(0,T.jsx)(`button`,{onClick:this.handleReset,className:`btn btn-primary me-2`,children:`Try Again`}),(0,T.jsx)(_,{to:`/`,className:`btn btn-outline-secondary`,children:`Go to Home`})]})]})}):this.props.children}},P=({children:e})=>{let{isAuthenticated:t,loading:n}=oe();return n?(0,T.jsx)(`div`,{className:`container mt-5`,children:(0,T.jsx)(`div`,{className:`row`,children:(0,T.jsxs)(`div`,{className:`col-12 text-center`,children:[(0,T.jsx)(`div`,{className:`spinner-border text-primary`,role:`status`,children:(0,T.jsx)(`span`,{className:`visually-hidden`,children:`Loading...`})}),(0,T.jsx)(`p`,{className:`mt-3`,children:`Checking authentication...`})]})})}):t?(0,T.jsx)(T.Fragment,{children:e}):(0,T.jsx)(l,{to:`/admin/login`,replace:!0})},F=(0,C.lazy)(()=>S(()=>import(`./Home-BdLzgUwx.js`).then(e=>({default:e.HomePage})),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),I=(0,C.lazy)(()=>S(()=>import(`./About-BAzhiKDS.js`).then(e=>({default:e.AboutPage})),__vite__mapDeps([13,1,2,3,4,5,6,7,8,9,10,11,12]))),L=(0,C.lazy)(()=>S(()=>import(`./A11y-Ut3frW0c.js`).then(e=>({default:e.A11yPage})),__vite__mapDeps([14,2,3,1,4,5,6,15,16,7,8,17,11,12]))),R=(0,C.lazy)(()=>S(()=>import(`./Agile-CStC69Pe.js`).then(e=>({default:e.AgilePage})),__vite__mapDeps([18,2,3,1,4,5,6,15,16,7,8,17,11,12]))),z=(0,C.lazy)(()=>S(()=>import(`./Books-jg6tAT3-.js`).then(e=>({default:e.BooksPage})),__vite__mapDeps([19,1,2,3,4,5,6,15,16,10,7,8,20]))),B=(0,C.lazy)(()=>S(()=>import(`./Football-D4VCyGoS.js`).then(e=>({default:e.FootballPage})),__vite__mapDeps([21,1,2,3,4,5,6,15,16,10,22,7,8,20,23,24]))),V=(0,C.lazy)(()=>S(()=>import(`./SeasonPage-DEewukhA.js`).then(e=>({default:e.SeasonPage})),__vite__mapDeps([25,2,3,1,4,5,6,15,16,10,22,7,8,23,24]))),H=(0,C.lazy)(()=>S(()=>import(`./React-BQn9bset.js`).then(e=>({default:e.ReactPage})),__vite__mapDeps([26,2,3,1,4,5,6,15,16,7,8,17,11,12]))),U=(0,C.lazy)(()=>S(()=>import(`./Landie-BCFYC56X.js`).then(e=>({default:e.LandiePage})),__vite__mapDeps([27,1,2,3,4,5,6,15,16,7,8,17,11,12,20]))),se=(0,C.lazy)(()=>S(()=>import(`./SlimmingWorld-BPpkL_LE.js`).then(e=>({default:e.SlimmingWorld})),__vite__mapDeps([28,2,3,6,4,5,1,15,16,10,22,7,8,12,20,24]))),W=(0,C.lazy)(()=>S(()=>import(`./GarminActivities-BMqXiREh.js`).then(e=>({default:e.GarminActivities})),__vite__mapDeps([29,2,3,1,4,5,6,15,16,7,8,12]))),G=(0,C.lazy)(()=>S(()=>import(`./IconTest-B5OwXRfP.js`).then(e=>({default:e.IconTest})),__vite__mapDeps([30,1,2,3,4,5,6]))),K=(0,C.lazy)(()=>S(()=>import(`./NotFound-CnNCKGUq.js`).then(e=>({default:e.NotFoundPage})),__vite__mapDeps([31,1,2,3,4,5,6,7,8]))),ce=(0,C.lazy)(()=>S(()=>import(`./AdminLogin-BoZ8Da1R.js`).then(e=>({default:e.AdminLogin})),__vite__mapDeps([32,2,3,1,4,5,6,33,15,16,8]))),le=(0,C.lazy)(()=>S(()=>import(`./AdminDashboard-C4z2Rliu.js`).then(e=>({default:e.AdminDashboard})),__vite__mapDeps([34,1,2,3,4,5,6,33,15,16,8]))),ue=(0,C.lazy)(()=>S(()=>import(`./BooksManager-D0ZfW4D5.js`).then(e=>({default:e.BooksManager})),__vite__mapDeps([35,2,3,1,4,5,6,15,16,8,36]))),q=(0,C.lazy)(()=>S(()=>import(`./BookEditor-Dn08yNqJ.js`).then(e=>({default:e.BookEditor})),__vite__mapDeps([37,2,3,1,4,5,6,15,16,8,38,39,36]))),de=(0,C.lazy)(()=>S(()=>import(`./ContentBlocksManager-DQkeKN5Z.js`).then(e=>({default:e.ContentBlocksManager})),__vite__mapDeps([40,2,3,1,4,5,6,15,16,8,36]))),J=(0,C.lazy)(()=>S(()=>
2import(`./ContentBlockEditor-Bg0GuTjw.js`).then(e=>({default:e.ContentBlockEditor})),__vite__mapDeps([41,2,3,1,4,5,6,15,16,8,38,42,36]))),fe=(0,C.lazy)(()=>S(()=>import(`./NavigationManager-BlTgWK6y.js`).then(e=>({default:e.NavigationManager})),__vite__mapDeps([43,2,3,1,4,5,6,15,16,44,10,8,36]))),Y=(0,C.lazy)(()=>S(()=>import(`./NavigationEditor-DkX8anO-.js`).then(e=>({default:e.NavigationEditor})),__vite__mapDeps([45,2,3,1,4,5,6,15,16,44,10,8,36]))),pe=(0,C.lazy)(()=>S(()=>import(`./ArticlesManager-teixEEW8.js`).then(e=>({default:e.ArticlesManager})),__vite__mapDeps([46,2,3,1,4,5,6,15,16,8,36]))),X=(0,C.lazy)(()=>S(()=>import(`./ArticleEditor-CouvZk7R.js`).then(e=>({default:e.ArticleEditor})),__vite__mapDeps([47,2,3,1,4,5,6,15,16,8,38,42,39,36]))),me=(0,C.lazy)(()=>S(()=>import(`./SlimmingWorldManager-DA9rgAyj.js`).then(e=>({default:e.SlimmingWorldManager})),__vite__mapDeps([48,2,3,1,4,5,6,15,16,8,12,36]))),he=(0,C.lazy)(()=>S(()=>import(`./FootballManager-Dpb5ntTI.js`).then(e=>({default:e.FootballManager})),__vite__mapDeps([49,2,3,1,4,5,6,15,16,8,36]))),Z=(0,C.lazy)(()=>S(()=>import(`./FootballPlayersManager-DbQRzB0V.js`).then(e=>({default:e.FootballPlayersManager})),__vite__mapDeps([50,2,3,1,4,5,6,15,16,8,36]))),ge=(0,C.lazy)(()=>S(()=>import(`./SettingsManager-C4k0qGLt.js`).then(e=>({default:e.SettingsManager})),__vite__mapDeps([51,2,3,1,4,5,6,15,16,33,8,36]))),_e=(0,C.lazy)(()=>S(()=>import(`./MediaLibrary-CnYGbzOH.js`).then(e=>({default:e.MediaLibrary})),__vite__mapDeps([52,2,3,1,4,5,6,15,16,8,36]))),Q=e=>(0,T.jsx)(P,{children:e}),ve=[{path:`/`,element:(0,T.jsx)(F,{})},{path:`/home`,element:(0,T.jsx)(F,{})},{path:`/about`,element:(0,T.jsx)(I,{})},{path:`/a11y`,element:(0,T.jsx)(L,{})},{path:`/agile`,element:(0,T.jsx)(R,{})},{path:`/books`,element:(0,T.jsx)(z,{})},{path:`/landie`,element:(0,T.jsx)(U,{})},{path:`/football`,element:(0,T.jsx)(B,{})},{path:`/season/:seasonId`,element:(0,T.jsx)(V,{})},{path:`/react`,element:(0,T.jsx)(H,{})},{path:`/sw`,element:(0,T.jsx)(se,{})},{path:`/garmin`,element:(0,T.jsx)(W,{})},{path:`/icon-test`,element:(0,T.jsx)(G,{})},{path:`/admin/login`,element:(0,T.jsx)(ce,{})},{path:`/admin`,element:Q((0,T.jsx)(le,{}))},{path:`/admin/books`,element:Q((0,T.jsx)(ue,{}))},{path:`/admin/books/new`,element:Q((0,T.jsx)(q,{}))},{path:`/admin/books/edit/:id`,element:Q((0,T.jsx)(q,{}))},{path:`/admin/content-blocks`,element:Q((0,T.jsx)(de,{}))},{path:`/admin/content-blocks/new`,element:Q((0,T.jsx)(J,{}))},{path:`/admin/content-blocks/edit/:id`,element:Q((0,T.jsx)(J,{}))},{path:`/admin/navigation`,element:Q((0,T.jsx)(fe,{}))},{path:`/admin/navigation/new`,element:Q((0,T.jsx)(Y,{}))},{path:`/admin/navigation/edit/:id`,element:Q((0,T.jsx)(Y,{}))},{path:`/admin/articles`,element:Q((0,T.jsx)(pe,{}))},{path:`/admin/articles/new`,element:Q((0,T.jsx)(X,{}))},{path:`/admin/articles/edit/:id`,element:Q((0,T.jsx)(X,{}))},{path:`/admin/slimming-world`,element:Q((0,T.jsx)(me,{}))},{path:`/admin/football`,element:Q((0,T.jsx)(he,{}))},{path:`/admin/football/players`,element:Q((0,T.jsx)(Z,{}))},{path:`/admin/settings`,element:Q((0,T.jsx)(ge,{}))},{path:`/admin/media`,element:Q((0,T.jsx)(_e,{}))},{path:`*`,element:(0,T.jsx)(K,{})}],ye=()=>(0,T.jsxs)(n,{children:[(0,T.jsx)(M,{}),(0,T.jsx)(`main`,{className:`container-fluid`,id:`content`,children:(0,T.jsx)(N,{children:(0,T.jsx)(C.Suspense,{fallback:(0,T.jsx)(ae,{}),children:(0,T.jsx)(s,{children:ve.map(({path:e,element:t})=>(0,T.jsx)(d,{path:e,element:t},e))})})})})]}),be=`true`,xe=`false`,$=be===`true`,Se=xe===`true`;function Ce(e={}){let{immediate:t=!1,onNeedReload:n,onNeedRefresh:r,onOfflineReady:i,onRegistered:a,onRegisteredSW:o,onRegisterError:s}=e,c,l,u,d=async(e=!0)=>{await l,$||u?.()};async function f(){if(`serviceWorker`in navigator){if(c=await S(async()=>{let{Workbox:e}=await import(`./workbox-window.prod.es5-e9fPxI-c.js`);return{Workbox:e}},__vite__mapDeps([53,4,2,5])).then(({Workbox:e})=>new e(`/sw.js`,{scope:`/`,type:`classic`})).catch(e=>{s?.(e)}),!c)return;if(u=()=>{c?.messageSkipWaiting()},!Se){if($)c.addEventListener(`activated`,e=>{(e.isUpdate||e.isExternal)&&(n?n():window.location.reload())}),c.addEventListener(`installed`,e=>{e.isUpdate||i?.()});else{let e=!1,t=()=>{e=!0,c?.addEventListener(`controlling`,e=>{e.isUpdate&&(n?n():window.location.reload())}),r?.()};c.addEventListener(`installed`,n=>{n.isUpdate===void 0?n.isExternal===void 0?!e&&i?.():n.isExternal?t():!e&&i?.():n.isUpdate||i?.()}),c.addEventListener(`waiting`,t)}}c.register({immediate:t}).then(e=>{o?o(`/sw.js`,e):a?.(e)}).catch(e=>{s?.(e)})}}return l=f(),d}Ce({onNeedRefresh(){},onOfflineReady(){}}),w.createRoot(document.getElementById(`root`)).render((0,T.jsx)(ye,{}));
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.