1"use strict";(self.webpackChunkfriends_of_arthur_machen=self.webpackChunkfriends_of_arthur_machen||[]).push([[9245],{5172:function(e,t,n){var a=n(6540),r=n(2679),i=n(3711),l=n(7872);t.A=()=>a.createElement(l.A,{theme:"gold",rightContent:a.createElement(r.g3,null,a.createElement(r.H2,{leftAlign:!0},"Uncover His Life"),a.createElement(r.EY,null,"Delve into the early life of Arthur Machen, where the mystical landscapes of Wales and the echoes of ancient history met the shadows of Victorian Gothic London to shape one of literatureâs most enigmatic figures."),a.createElement(r.$n,{to:"/biography",theme:"gold"},"Read Biography")),leftImage:i.A})},2957:function(e,t,n){n.d(t,{N5:function(){return c},UC:function(){return l},lZ:function(){return s},mc:function(){return o}});var a=n(7581),r=n(7658),i=n(5194);const l=a.default.div.withConfig({displayName:"contentSplitstyled__Content",componentId:"sc-4vwrit-0"})(["width:50%;display:flex;flex:1;justify-content:center;align-items:center;padding:100px 0;align-items:baseline;"," "," @media screen and (max-width:600px){padding:50px 0 !important;}"," &:first-child{justify-content:end;}&:last-child{justify-content:start;}"],(e=>e.image&&(0,a.css)(["background-image:url(",");background-position:center;background-repeat:no-repeat;background-size:cover;align-content:center;min-height:300px;@media screen and (max-width:600px){min-height:30vw;}"],e.image)),(e=>e.imagePosition&&(0,a.css)(["background-position:",";"],e.imagePosition)),(e=>e.removeExcessPadding&&(0,a.css)(["@media screen and (max-width:900px){padding-top:0 !important;}"]))),o=a.default.div.withConfig({displayName:"contentSplitstyled__Container",componentId:"sc-4vwrit-1"})(["max-width:720px;width:100%;padding:0 20px;box-sizing:border-box;display:flex;flex-direction:column;",""],(e=>e.verticallyCenter&&(0,a.css)(["align-self:center;"]))),s=a.default.div.withConfig({displayName:"contentSplitstyled__Banner",componentId:"sc-4vwrit-2"})(["display:flex;flex-grow:1;flex-direction:",";z-index:1;@media screen and (max-width:900px){flex-direction:",";","{width:100%;justify-content:space-around !important;}","{max-width:600px;}}",";"," ",":nth-child(even){article{align-self:end;}h2{max-width:600px;align-self:end;width:100%;}}"],(e=>e.reverse?"row-reverse":"row"),(e=>e.leadWithImage?"column-reverse":"column"),l,o,(e=>(0,r.O)(e.theme)),(e=>e.center&&(0,a.css)(["align-items:center;"])),l),c=((0,a.default)(l).withConfig({displayName:"contentSplitstyled__LeftContent",componentId:"sc-4vwrit-3"})(["justify-content:end;"]),(0,a.default)(l).withConfig({displayName:"contentSplitstyled__RightContent",componentId:"sc-4vwrit-4"})(["justify-content:start;"]),a.default.div.withConfig({displayName:"contentSplitstyled__Warning",componentId:"sc-4vwrit-5"})(["background-color:",";color:",";padding:20px;text-align:center;font-size:40px;"],i.J.red,i.J.trueWhite))},7872:function(e,t,n){var a=n(6540),r=n(2957);t.A=e=>{const{leftContent:t,rightContent:n,reverse:i,theme:l,leftImage:o,rightImage:s,center:c,imagePosition:d,leadWithImage:m,removeExcessPadding:h,verticallyCenterLeft:u,verticallyCenterRight:f,warning:g}=e;return a.createElement(a.Fragment,null,g&&a.createElement(r.N5,null,g),a.createElement(r.lZ,{reverse:i,theme:l,center:c,leadWithImage:m},a.createElement(r.UC,{image:o,imagePosition:d},!o&&a.createElement(r.mc,{verticallyCenter:u},t)),a.createElement(r.UC,{image:s,imagePosition:d,removeExcessPadding:h},!s&&a.createElement(r.mc,{verticallyCenter:f},n))))}},2345:function(e,t,n){n.d(t,{A:function(){return m}});var a=n(6540),r=n(7581),i=n.p+"static/home-banner-60869aed5e69194194a23eab25eaf313.jpg",l=n(2083),o=n(5194);const s=r.default.div.withConfig({displayName:"homeBannerstyled__Banner",componentId:"sc-1cs2kip-0"})(["height:500px;background-image:url(",");background-position:right;background-repeat:no-repeat;background-size:cover;align-content:center;@media only screen and (max-width:1200px){display:none;}"],i),c=r.default.h1.withConfig({displayName:"homeBannerstyled__Heading",componentId:"sc-1cs2kip-1"})(["font-size:3rem;display:flex;flex-direction:column;",";color:",";em{font-size:7rem;white-space:pre;line-height:0.8;}"],l._4,o.J.white);var d=n(2679);var m=()=>a.createElement(s,null,a.createElement(d.mc,null,a.createElement(c,null,"The Friends of ",a.createElement("em",null,"Arthur Machen"))))},6573:function(e,t,n){n.d(t,{A:function(){return m}});var a=n(6540),r=n(7581),i=n(2679);const l=r.default.div.withConfig({displayName:"lovecraftstyled__Love
1craft",componentId:"sc-1jissh7-0"})([" ","{margin-bottom:20px !important;}"],i.Pk),o=r.default.div.withConfig({displayName:"lovecraftstyled__Author",componentId:"sc-1jissh7-1"})(["font-size:2.5em;display:block;"]),s=(r.default.div.withConfig({displayName:"lovecraftstyled__Image",componentId:"sc-1jissh7-2"})(["width:30%;"]),r.default.div.withConfig({displayName:"lovecraftstyled__Content",componentId:"sc-1jissh7-3"})(["text-align:center;"]));var c=n.p+"static/skull-ec8fffdfda1e73ccbaee0127dfc90805.png",d=n(7872);var m=e=>{const{theme:t}=e,n=[{quote:"Of living creators of cosmic fear raised to its most artistic pitch, few if any can hope to equal the versatile Arthur Machen; author of some dozen tales long and short, in which the elements of hidden horror and brooding fright attain an almost incomparable substance and realistic acuteness.",author:"~ H.P. Lovecraft"},{quote:"I'm a member of the Friends of Arthur Machen and I get their excellent journal Faunus which is covering all sorts of aspects of Machen's very varied life - his literary life and his personal life.",author:"Alan Moore"},{quote:"He is to my mind, easily as important as Lovecraft. He's certainly a better writer, no question and infinitely subtler in his effects.",author:"Clive Barker"},{quote:"I started reading him when I was sixteen. He's one of the best horror writers ever!",author:"Mark. E Smith"}],r=n[Math.floor(Math.random()*n.length)];return a.createElement(l,null,a.createElement(d.A,{removeExcessPadding:!0,center:!0,theme:t,leftContent:a.createElement(s,null,a.createElement(i.Pk,null,r.quote),a.createElement(o,null,r.author)),rightContent:a.createElement("img",{src:c,alt:"Skull"})}))}},278:function(e,t,n){var a=n(6540),r=n(2679),i=n(9394),l=n(7872);t.A=()=>a.createElement(l.A,{leadWithImage:!0,theme:"navy",leftContent:a.createElement(r.g3,null,a.createElement(r.H2,{leftAlign:!0},"Discover His Writing"),a.createElement(r.EY,null,"Explore the haunting and mesmerizing world of Arthur Machen, where dark paganism and mystical forces collide, leaving readers captivated by tales of terror, wonder and the supernatural."),a.createElement(r.$n,{to:"/works",theme:"navy"},"Discover Works")),rightImage:i.A})},4916:function(e,t,n){n.r(t),n.d(t,{Head:function(){return k},default:function(){return x}});var a=n(6540),r=n(6239),i=n(1042),l=n(2345),o=n(6573),s=n(2679),c=n.p+"static/1930-68f4cbd6ecfc2f8ecf0f2de8a0813a70.jpg",d=n(7872);var m=()=>a.createElement(d.A,{theme:"navy",rightContent:a.createElement(s.g3,null,a.createElement(s.EY,null,"Arthur Machen, 1863-1947, was a writer of fiction, and much more. He is most widely remembered today as the author of the 1914 story ",a.createElement("em",null,"The Bowmen"),", which gave rise to the legend of the Angels of Mons, of supernatural beings who fought alongside British soldiers in their hour of greatest need. His other fiction, novels and short stories written between the late 1880s and the 1930s, frequently sound notes of the fantastic and the surreal, playing most often around the edge where the familiar world may suddenly fall into abeyance. Machen's fiction reveals a man who was at war with the stifling scientific materialism which was the dominant world-view of his time, and this is echoed in his non-fiction works, which include literary criticism, cultural history, and spiritual polemic, all of which justify his memory as 'the Apostle of Wonder'."),a.createElement(s.EY,null,a.createElement("em",null,"The Friends of Arthur Machen")," is a fellowship dedicated to celebrating Machen and his work. Activities include regular publications and both formal and informal gatherings. The current membership of ",a.createElement("em",null,"The Friends")," is very diverse, reflecting the currents which have drawn it together. Within the fellowship you will encounter interest in mysticism, in the occult, in both paganism and Christianity, in the decadence of the 1890s, in the mysterious landscapes of Gwent and London. This great diversity is reunited by what members share: a love of good reading and good living. What unites us most is admiration for a writer who has qualities and insights which are not found elsewhere. Most members are English speaking, but membership is truly worldwide. The only necessary qualification for membership is an enthusiasm for Machen's work.")),imagePosition:"top center",leftImage:c}),h=n(278),u=n(5172),f=n(3934),g=n(2339),p=n(5028);var w=e=>{const{onClose:t}=e,{0:n,1:r}=(0,a.useState)(""),{0:i,1:l}=(0,a.useState)(""),{0:o,1:c}=(0,a.useState)(""),{0:d,1:m}=(0,a.useState)(""),{0:h,1:u}=(0,a.useState)(null),[w,y]=a.useState(!0),v=async()=>{try{const e=await p.j.signup(o,d,{full_name:n});
1l(`Welcome, ${e.user_metadata.full_name}! Please check your email to confirm your account.`),y(!1)}catch(e){u("Failed to register. Please try again.")}};return a.createElement(f.A,{title:w?"Create an account":"Check Email",onClose:t},w?a.createElement(a.Fragment,null,a.createElement(s.pd,{type:"text",placeholder:"Full name",value:n,onChange:e=>r(e.target.value)}),a.createElement(s.pd,{type:"email",placeholder:"Email",value:o,onChange:e=>c(e.target.value)}),a.createElement(s.pd,{type:"password",placeholder:"Password",value:d,onChange:e=>m(e.target.value)}),a.createElement(s.pr,{onClick:v,disabled:!i&&!d&&!n},"Next"),h&&a.createElement("p",{style:{color:"red"}},h)):a.createElement(g._V,null,i&&a.createElement("p",null,i),a.createElement(s.pr,{onClick:t},"Okay")))},y=n(6462);var v=e=>{const{onClose:t}=e,[n,r]=a.useState(null),i=(0,y.useLocation)();return a.useEffect((()=>{const e=new URLSearchParams(i.hash.replace("#","")).get("confirmation_token");e?p.j.confirm(e).then((()=>{r("Your email address has been confirmed! You may now log in.")})).catch((e=>{r("There was an error confirming your email. Please try again. If this issue persists, contact John Galantini (see Contact page)")})):r("There was a problem with your email confirmation link.")}),[i.hash]),a.createElement(f.A,{title:"Email Confirmation",onClose:t},a.createElement(a.Fragment,null,n?a.createElement("p",null,n):a.createElement("p",null,"Confirming your email..."),a.createElement(s.pr,{onClick:t,disabled:!n},"Okay")))};var E=e=>{let{onClose:t}=e;const{0:n}=(0,a.useState)(new URLSearchParams(window.location.hash.substring(1)).get("recovery_token")),{0:r,1:i}=(0,a.useState)(""),{0:l,1:o}=(0,a.useState)(null),{0:c,1:d}=(0,a.useState)(null),{0:m,1:h}=(0,a.useState)(!1),{0:u,1:w}=(0,a.useState)(!1),{0:y,1:v}=(0,a.useState)(null),{0:E,1:C}=(0,a.useState)(!1),b=(0,a.useRef)(!1);(0,a.useEffect)((()=>{if(!n)return d("Invalid or missing password reset token."),void v(!1);b.current||(b.current=!0,p.j.recover(n).then((e=>{v(!0)})).catch((e=>{d("Could not verify token. Please try again."),v(!1)})))}),[n]);const k=r.length<10;a.useEffect((()=>{const e=setTimeout((()=>{r.length>0&&k?h(!0):h(!1)}),1500);return()=>clearTimeout(e)}),[r]);return a.createElement(f.A,{title:"Reset Password",onClose:t},l?a.createElement("p",{style:{color:"green"}},l):a.createElement(a.Fragment,null,a.createElement(g.bC,null,a.createElement(s.pd,{type:E?"text":"password",placeholder:"Password",value:r,onChange:e=>i(e.target.value),disabled:u||null===y}),a.createElement(g.iv,{isBlind:!E,onClick:()=>C(!E),title:"Reveal Password"},"ðï¸")),a.createElement(s.pr,{onClick:async()=>{if(!1!==y)if(r.length<6)d("Password must be at least 6 characters long.");else{w(!0),d(null);try{const e=p.j.currentUser();if(!e)throw new Error("User session not found. Please try the reset link again.");await e.update({password:r}),o("Your password has been successfully reset. You may now log in.")}catch(e){d("Failed to reset password. Please try again.")}finally{w(!1)}}else d("You must verify your reset link first.")},disabled:!r||u||null===y||k},u?"Updating...":"Update Password"),c&&a.createElement("p",{style:{color:"red"}},c),m&&a.createElement("p",{style:{color:"red"}},"Password must be at least 10 characters")))},C=n(7878);var b=e=>{const{onClose:t,token:n}=e,{0:r,1:i}=(0,a.useState)(!0),{0:l,1:o}=(0,a.useState)(""),{0:c,1:d}=(0,a.useState)(!1),{0:m,1:h}=(0,a.useState)(!1),{0:u,1:w}=(0,a.useState)(null),{0:y,1:v}=(0,a.useState)(!1),{0:E,1:b}=(0,a.useState)(!1),{onUpdateShowLogin:k}=(0,C.As)(),x=async()=>{if(n){b(!0);try{await p.j.acceptInvite(n,l),d(!0),setTimeout((()=>{i(!1),k(!0)}),5e3)}catch(e){w("There was a problem completing your registration. Please contact support.")}finally{b(!1)}}},_=l.length<10;return a.useEffect((()=>{const e=setTimeout((()=>{l.length>0&&_?h(!0):h(!1)}),1500);return()=>clearTimeout(e)}),[l]),r?a.createElement(f.A,{title:c?"Registration Complete!":E?"Authenticating...":"User Registration",onClose:t},c?a.createElement(a.Fragment,null,a.createElement(g._V,null,a.createElement("p",null,"Redirecting you to the login screen..."))):a.createElement(a.Fragment,null,a.createElement(g.bC,null,a.createElement(s.pd,{type:y?"text":"password",placeholder:"Choose a password",value:l,onCh
1ange:e=>o(e.target.value),disabled:E}),a.createElement(g.iv,{isBlind:!y,onClick:()=>v(!y),title:"Reveal Password",disabled:E},"ðï¸")),a.createElement(s.pr,{onClick:x,disabled:!l||E||_},E?"Authenticating...":"Complete"),u&&a.createElement("p",{style:{color:"red"}},u),m&&a.createElement("p",{style:{color:"red"}},"Password must be at least 10 characters"))):null};const k=()=>a.createElement(i.A,{title:"Home"});var x=()=>{const[e,t]=a.useState(!1),[n,i]=a.useState(!1),[s,c]=a.useState(!1),[d,f]=a.useState(!1),[g,p]=a.useState(""),C=(0,y.useLocation)();return a.useEffect((()=>{const e=new URLSearchParams(C.hash.replace("#",""));e.get("confirmation_token")&&t(!0),e.get("recovery_token")&&(i(!0),p(e.get("recovery_token"))),e.get("register")&&c(!0),e.get("invite_token")&&(f(!0),p(e.get("invite_token")))}),[C.hash]),a.createElement(r.A,{title:"The Friends of Arthur Machen - Home Page",hideTitle:!0,banner:a.createElement(l.A,null)},a.createElement(a.Fragment,null,a.createElement(o.A,{theme:"gold"}),e&&a.createElement(v,{onClose:()=>t(!1)}),n&&a.createElement(E,{onClose:()=>i(!1)}),s&&a.createElement(w,{onClose:()=>c(!1)}),d&&a.createElement(b,{token:g,onClose:()=>f(!1)}),a.createElement(m,null),a.createElement(h.A,null),a.createElement(u.A,null)))}},9394:function(e,t,n){t.A=n.p+"static/souls-cropped-ab3450d01a0db9904c03a2176efaffac.jpg"}}]); 2//# sourceMappingURL=component---src-pages-index-tsx-d31d8cc2d9d1f962c838.js.map
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.