1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4354],{74:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>_,default:()=>g});var r=t(75038),o=t(76430),c=t(98381),a=t(3957),i=t(21159),s=t(49435),d=t(34719),l=t(68835),u=t(98391),h=t.n(u),_=!0;let g=({})=>{let e=(0,c.useRouter)(),[n,t]=(0,o.useState)(!1),[u,_]=(0,o.useState)("");return(0,o.useEffect)(()=>{var n;_(encodeURI((window.location.origin?window.location.origin:"")+"/connect-patreon")),e.query.code&&!Array.isArray(e.query.code)&&(n=e.query.code,t(!0),a.A.connectPatreon(n).then(n=>setTimeout(()=>e.reload(window.location.host),3e3)).catch(()=>i.A.create("Unable to connect patreon account","User Settings")).finally(()=>t(!1)))},[]),(0,r.jsx)(d.A,{children:(0,r.jsxs)("div",{className:h().branding,children:[(0,r.jsx)(s.A,{alt:"Archidekt basic logo",src:"/images/archidekt_basic.svg",height:100}),n?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{children:"Connecting patreon account..."})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:"You must be an Uncommon or higher patron to access this site."}),(0,r.jsx)("a",{className:h().submit,href:`https://www.patreon.com/oauth2/authorize?response_type=code&client_id=3BPChBjaSlyr60wuTl99Ut2725w7nl699cXQnrblyLBVTtVZ6rB4Znsh-Dfgcv3N&redirect_uri=${u}`,children:(0,r.jsx)(l.A,{color:"green",children:"Link your patreon!"})})]})]})})}},76795:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/connect-patreon",function(){return t(74)}])},98391:e=>{e.exports={submit:"connectPatreon_submit__Nqd2k",loading:"connectPatreon_loading__NQDab",branding:"connectPatreon_branding__4fTQ3"}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=76795)),_N_E=e.O()}]); 2//# sourceMappingURL=connect-patreon-93d24340f0e779ad.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.