{"version":3,"sources":["components/article.tsx","components/footer.tsx","components/banner.tsx","components/box.tsx","config.ts","home.tsx","components/header.tsx","components/ais_map.tsx","live.tsx","write_up.tsx","components/gallery.tsx","index.tsx"],"names":["ImageAlign","FooterComponent","id","className","href","target","React","Component","Banner","props","state","this","pages","map","p","src","image_url","alt","pre_title","title","SmallBanner","Article","text","tt","t","split","length","push","forEach","x","image","image_align","render_text","BoxComponent","button_url","button_text","_galleryConfig","Home_Intro","right","Home_Boxes","arrange","items","a","filter","undefined","date","sort","sort_by_date","b","concat","Gallery_Refit_Props","images","i","section","Gallery_Solent_Props","Gallery_Leg1_Props","Gallery_Leg2_Props","Home_Banner_Pages","window","config_data","HomePage","render_boxes","boxes","controls","HeaderComponent","url","AisMapComponent","mmsi","height","width_pc","iframe","frameBorder","width","style","padding","LivePage","WriteUpPage","main","refit","GalleryComponent","image_name","thumbnail","thumb_name","thumbnailWidth","thumb_width","thumbnailHeight","thumb_height","caption","moment","format","enableImageSelection","require","config","render","exact","path","component","to","document","getElementById"],"mappings":"mIAEYA,E,oDCASC,E,uKAEb,OAAO,4BAAQC,GAAG,UACd,yBAAKC,UAAU,aACX,wBAAIA,UAAU,SACV,4BAAI,uBAAGC,KAAK,0CAA0CD,UAAU,oBAAmB,0BAAMA,UAAU,SAAhB,cACnF,4BAAI,uBAAGC,KAAK,0CAA0CC,OAAO,SAASF,UAAU,sBAAqB,0BACjGA,UAAU,SADuF,aAI7G,yBAAKA,UAAU,aAAf,iD,GAViCG,IAAMC,WCUtCC,EAAb,kDACI,WAAYC,GAAQ,IAAD,8BACf,cAAMA,IACDC,MAAQD,EAFE,EADvB,qDAOQ,OAAO,6BAASN,UAAU,eACrBQ,KAAKF,MAAMG,MAAMC,KAAI,SAAAC,GAAC,OACnB,iCACI,yBAAKC,IAAKD,EAAEE,UAAWC,IAAI,KAC3B,yBAAKd,UAAU,SACX,gCACI,2BAAIW,EAAEI,WACN,4BAAKJ,EAAEK,kBAdnC,GAA4Bb,IAAMC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UAf3B,WAChB,OACI,kBAAC,EAAD,CACI7E,MAAOqC,EAAmBrC,MAC1BD,UAAWsC,EAAmBtC,UAC9BiC,OAAQK,EAAmBL,YAW3B,kBAAC,IAAD,CAAO2C,OAAK,EAACC,KAAK,kBAAkBC,UAlC1B,WAClB,OACI,kBAAC,EAAD,CACI7E,MAAOmC,EAAqBnC,MAC5BD,UAAWoC,EAAqBpC,UAChCiC,OAAQG,EAAqBH,YA8B7B,kBAAC,IAAD,CAAO2C,OAAK,EAACC,KAAK,QAAQC,UAAWrB,IACrC,kBAAC,IAAD,CAAOmB,OAAK,EAACC,KAAK,YAAYC,UAAWpB,IACzC,kBAAC,IAAD,CAAUqB,GAAG,QAETC,SAASC,eAAe,U","file":"static/js/main.e3446094.chunk.js","sourcesContent":["import React from 'react';\r\n\r\nexport enum ImageAlign {\r\n left = \"left\",\r\n right = \"right\",\r\n}\r\n\r\nexport type ArticleText = {\r\n image?: string\r\n image_align?: ImageAlign\r\n text: string\r\n}\r\n\r\nexport type ArticleProps = {\r\n title: string\r\n pre_title: string\r\n text: ArticleText[]\r\n}\r\n\r\nexport default class Article extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = props\r\n }\r\n\r\n render_text(text: ArticleText) {\r\n\r\n let tt = []\r\n let t = text.text.split('\\r\\n')\r\n if (t.length === 0) {\r\n tt.push(t)\r\n }\r\n else {\r\n t.forEach(x => {\r\n tt.push(x)\r\n tt.push(
)\r\n })\r\n }\r\n\r\n if (text.image !== null) {\r\n return

\"\"{tt}

\r\n }\r\n\r\n return

{tt}

\r\n }\r\n\r\n render() {\r\n return
\r\n
\r\n
\r\n
\r\n
\r\n

{this.state.pre_title}

\r\n

{this.state.title}

\r\n
\r\n {this.state.text.map(t => this.render_text(t))}\r\n
\r\n
\r\n
\r\n
\r\n }\r\n}","import React from 'react';\r\n\r\nexport default class FooterComponent extends React.Component {\r\n render() {\r\n return \r\n }\r\n}","import React from 'react';\r\n\r\nexport type BannerPageProps = {\r\n title: string\r\n pre_title: string\r\n image_url: string\r\n}\r\n\r\ntype BannerProps = {\r\n pages: BannerPageProps[]\r\n}\r\n\r\nexport class Banner extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = props\r\n }\r\n\r\n render() {\r\n return
\r\n {this.props.pages.map(p =>\r\n
\r\n \"\"\r\n
\r\n
\r\n

{p.pre_title}

\r\n

{p.title}

\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n }\r\n}\r\n\r\ntype SmallBannerProps = {\r\n title: string\r\n pre_title: string\r\n}\r\n\r\nexport class SmallBanner extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = props\r\n }\r\n\r\n render() {\r\n return
\r\n
\r\n
\r\n

{this.state.pre_title}

\r\n

{this.state.title}

\r\n
\r\n
\r\n
\r\n }\r\n}","import React from 'react';\r\n\r\nexport type BoxProps = {\r\n title: string\r\n pre_title: string\r\n image_url: string\r\n text: string\r\n button_text: string\r\n button_url: string\r\n}\r\n\r\nexport default class BoxComponent extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = props\r\n }\r\n\r\n render() {\r\n return
\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n

{this.state.pre_title}

\r\n

{this.state.title}

\r\n
\r\n

{this.state.text}

\r\n \r\n
\r\n
\r\n
\r\n }\r\n}","import { ArticleProps, ImageAlign } from './components/article'\r\nimport { BoxProps } from './components/box'\r\nimport { GalleryComponentProps, GalleryImage } from './components/gallery'\r\nimport { BannerPageProps } from './components/banner'\r\nimport GalleryConfigJson from './images_config.json'\r\nimport moment from 'moment'\r\n\r\nconst _galleryConfig = GalleryConfigJson as GalleryImage[]\r\n\r\nexport const Miranda_MMSI: string = \"235077651\"\r\n\r\n// Home page\r\nexport const Home_Banner_Pages: BannerPageProps[] = [\r\n {\r\n image_url: \"asdasdadsimages/bg.jpg\",\r\n title: \"Miranda\",\r\n pre_title: \"A 6,500 mile journey across the ocean on\"\r\n },\r\n {\r\n image_url: \"/asdasd/UNADJUSTEDNONRAW_thumb_25.jpg\",\r\n title: \"Miranda\",\r\n pre_title: \"A 6,500 mile journey across the ocean on\"\r\n },\r\n {\r\n image_url: \"/asdasd/UNADJUSTEDNONRAW_thumb_25.jpg\",\r\n title: \"Miranda\",\r\n pre_title: \"A 6,500 mile journey across the ocean on\"\r\n }\r\n]\r\n\r\nexport const Home_Intro: ArticleProps = {\r\n pre_title: \"Gosport > Galicia > Tenerife > Antigua > Bahamas > New York\",\r\n title: \"What's this all about?\",\r\n text: [\r\n {\r\n image: \"/images/course.jpg\",\r\n image_align: ImageAlign.right,\r\n text: \"Well, this isn't the start of a YouTube channel where I sell everything and try to cruise around the world for free by pimping out my wife for clicks...\\r\\n\\r\\n\" +\r\n \"My wife and I moved to New York City but left the boat behind in the UK, so obviously the smartest thing to do is take it on a 6,500 nautical mile journey to park it up in the Big Apple.\\r\\n\\r\\n\" +\r\n \"I set sail in early November for the Canaries and after a week of repairs and local beer, embarked on the Atlantic crossing in December. After a festive Christmas of tinned ham and Stollen, arrived on the 28th at Antigua just in time for New Years.\\r\\n\\r\\n\" +\r\n \"Miranda is currently sitting in a little cradle in the Jolliest of Harbours until March when I'll complete the final leg and bring her home to New York City.\"\r\n }\r\n ]\r\n}\r\n\r\nexport const Home_Boxes: BoxProps[] = [\r\n {\r\n pre_title: \"Leg 1\",\r\n title: \"Gosport to Tenerife\",\r\n image_url: \"images/IMG_20201103_122642.jpg\",\r\n text: \"We've had a taste of everything on this leg; standard Solent tides pushing us 8kts+ out to sea, days of being becalmed and a force 8 storm on our last day in Biscay. Major damage to the self steering gear with the blade snapping at first and then the lower assembly just came off completely. A forward seacock has been leaking which requires a bilge pump every 4 hours. A chartplotter broke along with the AIS. Mostly all fixed and our backups worked well.\",\r\n button_text: \"Gallery\",\r\n button_url: \"/gallery-leg-1\"\r\n },\r\n {\r\n pre_title: \"Leg 2\",\r\n title: \"Tenerife to Antigua\",\r\n image_url: \"images/IMG_20201129_170457_01.jpg\",\r\n text: \"The big one: The Crossing. Actually not as perilous as people think, as long as you have all the water you can carry and then some. A nice, easy ride for the most part with less wind than predicted. Only took 23 days in the end.\",\r\n button_text: \"Gallery\",\r\n button_url: \"/gallery-leg-2\"\r\n },\r\n {\r\n pre_title: \"Preparing for the ocean\",\r\n title: \"Boat Refit\",\r\n image_url: \"images/refit.jpg\",\r\n text: \"A racer-cruiser isn't always equipped for an ocean crossing, but this one will be. Currently lying in Hayling Island, Miranda is going through an extensive overhaul.\",\r\n button_text: \"Gallery\",\r\n button_url: \"/gallery-refit\"\r\n },\r\n {\r\n pre_title: \"Where are we?\",\r\n title: \"Live Updates\",\r\n image_url: \"images/UNADJUSTEDNONRAW_thumb_df.jpg\",\r\n text: \"Track our progress, see where we are and send us a message!\",\r\n button_text: \"Go\",\r\n button_url: \"/live\"\r\n },\r\n // {\r\n // pre_title: \"Write Up\",\r\n // title: \"Write Up\",\r\n // image_url: \"images/gallery.jpg\",\r\n // text: \"One way to cross an ocean\",\r\n // button_text: \"Read\",\r\n // button_url: \"/write-up\"\r\n // },\r\n {\r\n pre_title: \"\",\r\n title: \"Gallery\",\r\n image_url: \"images/4.jpg\",\r\n text: \"Lollying about on the Solent and elsewhere\",\r\n button_text: \"Gallery\",\r\n button_url: \"/gallery-solent\"\r\n }\r\n]\r\n\r\n// Gallery Thumbnails\r\nconst arrange = (items: GalleryImage[]): GalleryImage[] => {\r\n let a = items.filter(x => x.date !== undefined).sort(sort_by_date)\r\n let b = items.filter(x => x.date === undefined)\r\n\r\n return a.concat(b)\r\n}\r\n\r\nconst sort_by_date = (a: GalleryImage, b: GalleryImage): number => {\r\n // if (a.date == undefined) return -1\r\n // if (b.date == undefined) return -1\r\n\r\n return a.date > b.date ? 1 : -1\r\n}\r\n\r\nexport const Gallery_Refit_Props: GalleryComponentProps = {\r\n pre_title: \"Preparing for the ocean\",\r\n title: \"Refit\",\r\n images: arrange(_galleryConfig.filter(i => i.section == \"refit\"))\r\n}\r\n\r\nexport const Gallery_Solent_Props: GalleryComponentProps = {\r\n pre_title: \"Lollying about on the Solent and elsewhere\",\r\n title: \"Gallery\",\r\n images: arrange(_galleryConfig.filter(i => i.section == \"solent\"))\r\n}\r\n\r\nexport const Gallery_Leg1_Props: GalleryComponentProps = {\r\n pre_title: \"Gosport to Tenerife\",\r\n title: \"Gallery\",\r\n images: arrange(_galleryConfig.filter(i => i.section == \"leg1\"))\r\n}\r\n\r\nexport const Gallery_Leg2_Props: GalleryComponentProps = {\r\n pre_title: \"Tenerife to Antigua\",\r\n title: \"Gallery\",\r\n images: arrange(_galleryConfig.filter(i => i.section == \"leg2\"))\r\n}\r\n","import React from 'react';\r\nimport Footer from './components/footer'\r\nimport { Banner } from './components/banner'\r\nimport Article from './components/article'\r\nimport Box, { BoxProps } from './components/box'\r\nimport { Home_Intro, Home_Boxes } from './config'\r\n\r\nconst { Home_Banner_Pages } = window.config_data\r\n\r\nexport default class HomePage extends React.Component {\r\n\r\n render_boxes = (boxes: BoxProps[]) => {\r\n return boxes.map(b => )\r\n }\r\n\r\n render() {\r\n let controls = []\r\n\r\n controls.push()\r\n\r\n controls.push()\r\n\r\n controls.push(
\r\n
\r\n
\r\n {this.render_boxes(Home_Boxes)}\r\n
\r\n
\r\n
)\r\n\r\n controls.push(