1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:opencollective-frontend":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a5c51453-af82-4fde-874d-f439d8f7f643",e._sentryDebugIdIdentifier="sentry-dbid-a5c51453-af82-4fde-874d-f439d8f7f643")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4560],{4281:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(37876);r(14232);var n=r(45884),s=r(61184),o=r(8545),i=r(47537),l=r(69020);let d=({children:e,data:t={},description:r,image:l,loadingLoggedInUser:d,LoggedInUser:c,title:u,metaTitle:p,noRobots:h,twitterHandle:m,showSearch:f=!0,canonicalURL:g,collective:y,showMenuItems:x=!0,withTopBar:C=!0,showFooter:b=!0,showProfileAndChangelogMenu:w=!0,loading:v,updatesRss:A})=>t.error?(0,a.jsx)(o.A,{data:t,LoggedInUser:c}):(0,a.jsxs)("div",{className:"flex min-h-screen flex-col",children:[(0,a.jsx)(i.A,{showSearch:f,title:u,noRobots:h,twitterHandle:m,description:r,image:l,metaTitle:p,canonicalURL:g,collective:y,showMenuItems:x,LoggedInUser:c,showProfileAndChangelogMenu:w,loading:v,withTopBar:C,updatesRss:A}),(0,a.jsx)(s.A,{className:"flex-1",children:"function"==typeof e?e({LoggedInUser:c,loadingLoggedInUser:d}):e}),b&&(0,a.jsx)(n.A,{})]});d.displayName="Page";let c=(0,l.Cb)(d)},6064:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var a=r(20396),n=r(14232),s=r(75635),o=n.forwardRef(function(e,t){return n.createElement(s.StyledIconBase,(0,a.A)({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 496 512"},e,{ref:t}),n.createElement("path",{fill:"currentColor",d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}))});o.displayName="Github"},6587:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(49950).A)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},6859:(e,t,r)=>{"use strict";r.d(t,{A:()=>w});var a=r(37876),n=r(14232),s=r(95062),o=r.n(s),i=r(61902),l=r(6199),d=r(6587),c=r(62449),u=r(5646),p=r(52170),h=r(99202),m=r(33341),f=r(45918),g=r(61270),y=r(72945);let x=(0,u.I4)(i.CardElement).withConfig({componentId:"sc-1900c796-0"}
1)(["min-width:200px;max-width:450px;max-height:55px;margin:0px;border-width:1px;border-style:solid;border-color:rgb(204,204,204);border-image:initial;padding:0.65rem;border-radius:3px;"]);class C extends n.Component{static{this.propTypes={error:o().string,hasSaveCheckBox:o().bool,hidePostalCode:o().bool,onChange:o().func,onReady:o().func,stripe:o().object,stripeElements:o().object,useLegacyCallback:o().bool,defaultIsSaved:o().bool}}static{this.defaultProps={hasSaveCheckBox:!0,hidePostalCode:!1,defaultIsSaved:!0}}componentDidMount(){this.props.onReady&&this.props.stripe&&this.props.onReady({stripe:this.props.stripe,stripeElements:this.props.stripeElements})}componentDidUpdate(e){this.props.onReady&&!e.stripe&&this.props.stripe&&this.props.onReady({stripe:this.props.stripe,stripeElements:this.props.stripeElements})}getError(){if(this.props.error)return this.props.error;if(this.state.showAllErrors&&this.state.value?.stripeData){let{stripeData:e}=this.state.value;if(!e.complete&&!this.props.hidePostalCode&&!e.value?.postalCode)return(0,a.jsx)(c.sA,{id:"NewCreditCardForm.PostalCode",defaultMessage:"Credit card ZIP code and CVC are required"})}}render(){let{hasSaveCheckBox:e,hidePostalCode:t,defaultIsSaved:r}=this.props,n=this.getError();return(0,a.jsxs)(h.so,{flexDirection:"column",children:[(0,a.jsx)(x,{options:{hidePostalCode:t,style:{base:{fontSize:"14px",color:"#313233"}}},onReady:e=>e.focus(),onChange:this.onCardChange,onBlur:()=>this.setState({showAllErrors:!0})}),n&&(0,a.jsx)(y.L9,{display:"block",color:"red.500",pt:2,fontSize:"10px",children:n}),e&&(0,a.jsxs)(h.so,{mt:3,alignItems:"center",color:"black.700",children:[(0,a.jsx)(f.A,{defaultChecked:r,name:"save",onChange:this.onCheckboxChange,label:(0,a.jsx)(c.sA,{id:"paymentMethod.save",defaultMessage:"Remember this payment method"})}),"\xa0\xa0",(0,a.jsx)(g.A,{content:()=>(0,a.jsx)(y.L9,{fontWeight:"normal",children:(0,a.jsx)(c.sA,{id:"ContributeFAQ.Safe",defaultMessage:"Open Collective doesn't store sensitive payment data (e.g. Credit Card numbers), instead relying on our payment processor, Stripe, a secure solution that is widely adopted. If our systems are compromised, your payment information is not at risk, because we simply don't store it. <LearnMoreLink>Learn more</LearnMoreLink>.",values:{LearnMoreLink:(0,m.lv)({openInNewTab:!0,href:"https://documentation.opencollective.com/advanced/security-for-accounts"})}})}),children:(0,a.jsx)(d.A,{size:"1.1em"})})]})]})}constructor(...e){super(...e),this.state={value:null,showAllErrors:!1},this.onCheckboxChange=e=>{this.props.useLegacyCallback?this.props.onChange(e):this.setState(({value:t})=>({value:{...t,isSavedForLater:e.checked}}),()=>this.props.onChange(this.state.value))},this.onCardChange=e=>{let{useLegacyCallback:t,onChange:r,defaultIsSaved:a}=this.props;this.setState({showAllErrors:!1}),t?r({name,type:"StripeCreditCard",value:e}):this.setState(({value:t})=>({value:{...t,service:p.ju.STRIPE,type:p.GG.CREDITCARD,isSavedForLater:(!!(0,l.A)(t?.isSavedForLater)||!!t.isSavedForLater)&&a,stripeData:e}}),()=>r(this.state.value))}}}let b=({useLegacyCallback:e=!0,...t})=>(0,a.jsx)(i.ElementsConsumer,{children:({stripe:r,elements:n})=>(0,a.jsx)(C,{stripe:r,stripeElements:n,useLegacyCallback:e,...t})});b.propTypes={useLegacyCallback:o().bool};let w=b},20396:(e,t,r)=>{"use strict";function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{A:()=>a})},22528:(e,t,r)=>{"use strict";r.d(t,{i:()=>o});var a=r(20396),n=r(14232),s=r(75635),o=n.forwardRef(function(e,t){return n.createElement(s.StyledIconBase,(0,a.A)({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 448 512"},e,{ref:t}),n.createElement("path",{fill:"currentColor",d:"M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.54 102.54 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5zm-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z"}))});o.displayName="Mastodon"},27457:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(49950).A)("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]])},28530:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>V});var a=r(37876),n=r(14232),s=r(95062),o=r.n(s),i=r(99525),l=r(61902),d=r(64487),c=r(62449),u=r(5646),p=r(23968),h=r(2038),m=r(11046),f=r(53061),g=r(20322),y=r(48519),x=r(56593),C=r(8545),b=r(58903),w=r(99202),v=r(69756),A=r(38268),j=r(98064),M=r(6859),I=r(4281),S=r(266),k=r(17204),E=r(68901),P=r(72945),z=r(69020);let R=(0,u.I4)(w.az).withConfig({componentId:"sc-6a744a51-0"})(["box-shadow:0px 8px 16px rgba(20,20,20,0.12);"]),L=(0,u.I4)(P.H5).withConfig({componentId:"sc-6a744a51-1"})(["color:white;text-align:center;margin:0 auto;",";"],p.JX),D=u.I4.ul.withConfig({componentId:"sc-6a744a51-2"})(["margin:auto;text-align:left;width:max-content;"]);class T extends n.Component{static getInitialProps({query:{paymentMethodId:e}}){return{paymentMethodId:parseInt(e)}}static{this.propTypes={paymentMethodId:o().number,LoggedInUser:o().object,loadingLoggedInUser:o().bool,intl:o().object.isRequired,replaceCreditCard:o().func.isRequired,loadStripe:o().func.isRequired,data:o().shape({refetch:o().func,loading:o().bool,error:o().any,PaymentMethod:o().shape({id:o().number,orders:o().arrayOf(o().shape({id:o().number}))})})}}componentDidMount(){this.props.loadStripe()}render(){let{showCreditCardForm:e,submitting:t,error:r,success:s}=this.state,{LoggedInUser:o,loadingLoggedInUser:i,data:l,intl:d}=this.props;if(!o&&!i)return(0,a.jsx)(I.A,{children:(0,a.jsx)(w.so,{justifyContent:"center",p:5,children:(0,a.jsx)(S.A,{})})});if(i||l&&l.loading)return(0,a.jsx)(I.A,{children:(0,a.jsx)(w.so,{justifyContent:"center",py:6,children:(0,a.jsx)(j.A,{})})});if(!l)return(0,a.jsx)(C.A,{});if(l&&l.error)return(0,a.jsx)(C.A,{data:l});let u=l.PaymentMethod?.orders||[],p=!!(e&&l.PaymentMethod&&u.length),m=u[0]?.fromCollective||o.collective;return(0,a.jsx)("div",{className:"UpdatedPaymentMethodPage",children:(0,a.jsx)(I.A,{children:(0,a.jsxs)(w.so,{alignItems:"center",flexDirection:"column",children:[(0,a.jsxs)(b.A,{children:[(0,a.jsx)(w.az,{mt:5,children:(0,a.jsx)(P.H1,{color:"white.full",fontSize:["1.9rem",null,"2.5rem"],textAlign:"center",children:(0,a.jsx)(c.sA,{id:"updatePaymentMethod.title",defaultMessage:"Update Payment Method"})})}),!!(l.PaymentMethod&&u.length)&&(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)(w.az,{mt:3,children:(0,a.jsx)(L,{fontSize:["0.95rem",null,"1.25rem"],maxWidth:["90%","640px"],children:(0,a.jsx)(w.az,{children:(0,a.jsx)(c.sA,{id:"updatePaymentMethod.subtitle.line",defaultMessage:"Please add a new payment method for the following subscriptions before your current one expires."})})})}),(0,a.jsx)(w.az,{mt:3,children:(0,a.jsx)(L,{fontSize:["0.95rem",null,"1.25rem"],maxWidth:["90%","640px"],children:(0,a.jsx)(w.az,{alignItems:"left",children:(0,a.jsx)(D,{children:u.map(e=>(0,a.jsxs)("li",{children:[(0,a.jsx)(A.A,{collective:e.collective,openInNewTab:!0}),":"," ",(0,h.vv)(e.totalAmount,e.currency,{precision:2,locale:d.locale})," ","(",e.interval,"ly)"]}
1,e.id))})})})})]})]}),(0,a.jsx)(w.so,{alignItems:"center",flexDirection:"column",mt:-175,mb:4,children:(0,a.jsx)(x.A,{mt:54,zIndex:2,children:(0,a.jsxs)(w.so,{justifyContent:"center",alignItems:"center",flexDirection:"column",children:[(0,a.jsx)(x.A,{background:"white",borderRadius:"16px",maxWidth:"600px",children:(0,a.jsx)(R,{py:"24px",px:"32px",minWidth:"500px",children:p?(0,a.jsx)(B,{mr:2,children:(0,a.jsx)(M.A,{name:"newCreditCardInfo",hasSaveCheckBox:!1,onChange:e=>this.setState({newCreditCardInfo:e,error:null}),onReady:({stripe:e,stripeElements:t})=>this.setState({stripe:e,stripeElements:t})})}):r||(s?(0,a.jsx)(c.sA,{id:"updatePaymentMethod.form.success",defaultMessage:"Your new card info has been added."}):l.PaymentMethod?u.length?(0,a.jsx)(c.sA,{defaultMessage:"An unexpected error occurred.",id:"3IKub9"}):(0,a.jsx)(c.sA,{defaultMessage:"There are no active subscriptions linked to this payment method, it may have already been updated.",id:"jor/DD"}):(0,a.jsx)(c.sA,{defaultMessage:"This payment method does not exist or has already been updated.",id:"RiYYFO"}))})}),(0,a.jsxs)(w.so,{mt:5,mb:4,px:2,flexDirection:"column",alignItems:"center",children:[p&&(0,a.jsx)(E.A,{buttonStyle:"primary",buttonSize:"large",mb:2,maxWidth:335,width:1,type:"submit",onClick:this.replaceCreditCard,disabled:t,loading:t,textTransform:"capitalize",children:(0,a.jsx)(c.sA,{id:"updatePaymentMethod.form.updatePaymentMethod.btn",defaultMessage:"update"})}),!p&&r&&(0,a.jsx)(E.A,{buttonStyle:"primary",buttonSize:"large",mb:2,mt:3,maxWidth:335,width:1,onClick:this.handleReload,children:(0,a.jsx)(c.sA,{id:"updatePaymentMethod.form.updatePaymentMethodError.btn",defaultMessage:"Try again"})}),!p&&s&&(0,a.jsx)(w.az,{mt:3,children:(0,a.jsx)(v.A,{href:`/${m.slug}`,children:(0,a.jsx)(E.A,{buttonStyle:"primary",buttonSize:"large",mb:2,maxWidth:335,width:1,textTransform:"capitalize",children:(0,a.jsx)(c.sA,{id:"updatePaymentMethod.form.updatePaymentMethodSuccess.btn",defaultMessage:"Go to profile page"})})})})]})]})})})]})})})}constructor(...e){super(...e),this.state={showCreditCardForm:!0,newCreditCardInfo:{},error:null,stripe:null,stripeElements:null,submitting:!1,success:!1},this.replaceCreditCard=async()=>{let e=(0,d.A)(this.state,"newCreditCardInfo.value");if(e&&this.state.stripe)if(e.error)this.setState({error:e.error.message,submitting:!1,showCreditCardForm:!1});else try{this.setState({submitting:!0});let e=this.state.stripeElements.getElement(l.CardElement),{token:t,error:r}=await this.state.stripe.createToken(e);if(r)throw this.setState({error:"There was a problem with Stripe.",submitting:!1,showCreditCardForm:!1}),r;let a=(0,f.P)(t),n=(await this.props.replaceCreditCard({variables:{collectiveId:this.props.LoggedInUser.collective.id,...a,id:parseInt(this.props.paymentMethodId)}})).data.replaceCreditCard;n.stripeError?this.handleStripeError(n.stripeError):this.handleSuccess()}catch(t){let e=t.message;this.setState({error:e,submitting:!1,showCreditCardForm:!1})}else this.setState({error:"There was a problem initializing the payment form",submitting:!1,showCreditCardForm:!1})},this.handleSuccess=()=>{this.setState({showCreditCardForm:!1,showManualPaymentMethodForm:!1,error:null,newCreditCardInfo:{},submitting:!1,success:!0})},this.handleReload=()=>{this.props.data.refetch(),this.setState({showCreditCardForm:!0,showManualPaymentMethodForm:!1,error:null,newCreditCardInfo:null,submitting:!1})},this.handleStripeError=async({message:e,response:t})=>{if(!t)return void this.setState({error:e,submitting:!1,showCreditCardForm:!1});if(t.setupIntent){let e=await (0,f.C)(),r=await e.handleCardSetup(t.setupIntent.client_secret);r.error&&this.setState({submitting:!1,error:r.error.message,showCreditCardForm:!1}),r.setupIntent&&"succeeded"===r.setupIntent.status&&this.handleSuccess()}}}}let N=(0,m.ou)` 2 mutation ReplaceCreditCard( 3 $id: Int! 4 $collectiveId: Int! 5 $name: String! 6 $token: String! 7 $data: StripeCreditCardDataInputType! 8 ) { 9 replaceCreditCard(CollectiveId: $collectiveId, name: $name, token: $token, data: $data, id: $id) { 10 id 11 data 12 createdAt 13 } 14 } 15`,O=(0,m.ou)` 16 query UpdateSubscriptionsForPaymentMethod($paymentMethodId: Int) { 17 PaymentMethod(id: $paymentMethodId) { 18 id 19 orders(hasActiveSubscription: true) { 20 id 21 currency 22 totalAmount 23 interval 24 createdAt 25 fromCollective { 26 id 27 name 28 slug 29 } 30 collective { 31 id 32 name 33 slug 34 } 35 } 36 } 37 } 38`,_=(0,i.U)(N,{name:"replaceCreditCard",options:{context:m.$V}}),F=(0,i.U)(O,{options:{context:m.$V},skip:e=>e.loadingLoggedInUser||!e.LoggedInUser}),U=(0,g.Zz)(F,_),V=(0,y.A)((0,z.Cb)(U((0,k.$)(T))));var B=(0,u.I4)(w.az).withConfig({componentId:"sc-6a744a51-3"})({flexGrow:1})},29254:(e,t,r)=>{"use strict";function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{A:()=>a})},33448:(e,t,r)=>{"use strict";r.d(t,{b:()=>o});var a=r(20396),n=r(14232),s=r(75635),o=n.forwardRef(function(e,t){return n.createElement(s.StyledIconBase,(0,a.A)({iconAttrs:{fill:"
38currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 640 512"},e,{ref:t}),n.createElement("path",{fill:"currentColor",d:"M524.531 69.836a1.5 1.5 0 0 0-.764-.7A485.065 485.065 0 0 0 404.081 32.03a1.816 1.816 0 0 0-1.923.91 337.461 337.461 0 0 0-14.9 30.6 447.848 447.848 0 0 0-134.426 0 309.541 309.541 0 0 0-15.135-30.6 1.89 1.89 0 0 0-1.924-.91 483.689 483.689 0 0 0-119.688 37.107 1.712 1.712 0 0 0-.788.676C39.068 183.651 18.186 294.69 28.43 404.354a2.016 2.016 0 0 0 .765 1.375 487.666 487.666 0 0 0 146.825 74.189 1.9 1.9 0 0 0 2.063-.676A348.2 348.2 0 0 0 208.12 430.4a1.86 1.86 0 0 0-1.019-2.588 321.173 321.173 0 0 1-45.868-21.853 1.885 1.885 0 0 1-.185-3.126 251.047 251.047 0 0 0 9.109-7.137 1.819 1.819 0 0 1 1.9-.256c96.229 43.917 200.41 43.917 295.5 0a1.812 1.812 0 0 1 1.924.233 234.533 234.533 0 0 0 9.132 7.16 1.884 1.884 0 0 1-.162 3.126 301.407 301.407 0 0 1-45.89 21.83 1.875 1.875 0 0 0-1 2.611 391.055 391.055 0 0 0 30.014 48.815 1.864 1.864 0 0 0 2.063.7A486.048 486.048 0 0 0 610.7 405.729a1.882 1.882 0 0 0 .765-1.352c12.264-126.783-20.532-236.912-86.934-334.541ZM222.491 337.58c-28.972 0-52.844-26.587-52.844-59.239s23.409-59.241 52.844-59.241c29.665 0 53.306 26.82 52.843 59.239 0 32.654-23.41 59.241-52.843 59.241Zm195.38 0c-28.971 0-52.843-26.587-52.843-59.239s23.409-59.241 52.843-59.241c29.667 0 53.307 26.82 52.844 59.239 0 32.654-23.177 59.241-52.844 59.241Z"}))});o.displayName="Discord"},38268:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var a=r(37876),n=r(14232),s=r(40125),o=r(62449),i=r(20322),l=r(87058),d=r(42506),c=r(15192),u=r(69756);let p=({collective:e,target:t,title:r,noTitle:p=!1,children:h,withHoverCard:m=!1,className:f,hoverCardProps:g,truncateNameLength:y=null,...x})=>{let C=n.useContext(d.C),b=C?.getProfileUrl?.(e),w=e=>y?(0,s.A)(e,{length:y}):e,v=b||(0,l.bl)(e);if(!b){if(!e||e.isIncognito||"USER"===e.type&&(!e.name||!e.slug))return h||(0,a.jsx)(o.sA,{id:"profile.incognito",defaultMessage:"Incognito"});else if(e.isGuest)if(h)return h;else if("Guest"===e.name)return(0,a.jsx)(o.sA,{id:"profile.guest",defaultMessage:"Guest"});else return e.name;else if(!v)return h||w(e.name)}let{slug:A,name:j}=e,M=(0,a.jsx)(u.A,{href:v,title:p||m?null:r||j,target:t,className:(0,i.cn)("hover:underline",f),...x,children:h||w(j||A)});return m?(0,a.jsx)(c.I,{...g,account:e,trigger:(0,a.jsx)("span",{className:"min-w-0",children:M})}):M}},38777:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(22311),n=r(54541);let s=function(e){var t;return null==e?[]:(t=(0,n.A)(e),(0,a.A)(t,function(t){return e[t]}))}},40028:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/updatePaymentMethod",function(){return r(28530)}])},51391:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(49950).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},58903:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(60362),n=r(5646);let s=n.Ay.div.withConfig({componentId:"sc-2e5311e7-0"})(["width:100%;background-position:center top;background-repeat:no-repeat;background-size:cover;clip-path:ellipse(125% 100% at 50% 0%);padding-bottom:165px;",""],({theme:e,collective:t})=>t&&(0,a.A)(t,"settings.collectivePage.primaryColor")?(0,n.AH)(["background:url('/static/images/redeem-hero.svg'),radial-gradient(",",",");"],e.colors.primary[500],e.colors.primary[900]):(0,n.AH)(["background:url('/static/images/redeem-hero.svg'),radial-gradient(#8a00df,#2e0044);"]))},63974:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(49950).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},78027:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(21651),n=r(5646),s=r(23968),o=r(56611);let i=n.I4.hr.withConfig({shouldForwardProp:(e,t)=>(0,o.x)(e,t)}).withConfig({componentId:"sc-d0d050d8-0"})(["border:0;border-top:1px solid ",";margin:0;height:1px;"," "," "," "," "," ",""],(0,a.y)("colors.black.400"),s.xe,s.Uu,s.Zp,s.r7,s.PQ,s.Vy)},78957:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(37876);let n=r(14232).forwardRef(function({title:e="X",color:t="currentColor",size:r=24,...n},s){return"default"===t&&(t="#000000"),(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:t,viewBox:"0 0 24 24",ref:s,...n,children:[(0,a.jsx)("title",{children:e}),(0,a.jsx)("path",{d:"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z"})]})})},84350:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=function(e){for(var t=-1,r=null==e?0:e.length,a=0,n=[];++t<r;){var s=e[t];s&&(n[a++]=s)}return n}},85342:(e,t,r)=>{"use strict";r.d(t,{v:()=>o});var a=r(20396),n=r(14232),s=r(75635),o=n.forwardRef(function(e,t){return n.createElement(s.StyledIconBase,(0,a.A)({iconAttrs:{fill:"
38currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 448 512"},e,{ref:t}),n.createElement("path",{fill:"currentColor",d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}))});o.displayName="Linkedin"},95581:(e,t,r)=>{"use strict";let a,n,s;r.d(t,{A:()=>m});var o=Object.create,i=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,c=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,p=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of d(t))u.call(e,a)||void 0===a||i(e,a,{get:()=>t[a],enumerable:!(r=l(t,a))||r.enumerable});return e})(i(null!=(s=(a={"node_modules/toggle-selection/index.js"(e,t){t.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],a=0;a<e.rangeCount;a++)r.push(e.getRangeAt(a));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach(function(t){e.addRange(t)}
38),t&&t.focus()}}}},function(){return n||(0,a[d(a)[0]])((n={exports:{}}).exports,n),n.exports})())?o(c(s)):{},"default",{value:s,enumerable:!0}),s).default;async function h(e,t){if(!t.format&&!t.onCopy)return await navigator.clipboard.writeText(e),!0;var r,a,n=(r=t.format,(a={})["text/plain"]=new Blob([e],{type:"text/plain"}),r&&"text/plain"!==r&&(a[r]=new Blob([e],{type:r})),new ClipboardItem(a));return t.onCopy&&(n=t.onCopy(n)||n),await navigator.clipboard.write([n]),!0}var m=async function(e,t={}){var r=t.debug||!1;if(window.isSecureContext&&navigator.clipboard)try{return await h(e,t)}catch(e){r&&console.error("unable to copy using navigator.clipboard: ",e),r&&console.warn("falling back to execCommand")}else r&&!window.isSecureContext&&console.warn("copy-to-clipboard: navigator.clipboard requires a secure context (HTTPS/localhost). Falling back to execCommand.");try{return function(e,t){var r,a=p(),n=document.createRange(),s=document.getSelection(),o=((r=document.createElement("span")).textContent=e,r.ariaHidden="true",r.style.all="unset",r.style.position="fixed",r.style.top="0",r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(r){r.stopPropagation(),t.format&&(r.preventDefault(),r.clipboardData&&r.clipboardData.setData(t.format,e)),t.onCopy&&r.clipboardData&&t.onCopy(r.clipboardData)}),r),i=function(){let e=document.activeElement;for(;e;){if("DIALOG"===e.tagName&&e.open)return e;e=e.parentElement}return null}()||document.fullscreenElement||document.body,l=!1;try{if(i.appendChild(o),n.selectNodeContents(o),s.removeAllRanges(),s.addRange(n),!document.execCommand("copy"))throw Error("copy command was unsuccessful");l=!0}finally{"function"==typeof s.removeRange?s.removeRange(n):s.removeAllRanges(),i.removeChild(o),a()}return l}(e,t)}catch(o){if(r&&console.error("unable to copy using execCommand: ",o),r&&console.error("falling back to prompt"),t.fallbackToPrompt){var a,n,s=(a="message"in t?t.message:"Copy to clipboard: #{key}, Enter",n=navigator.userAgentData?/mac/i.test(navigator.userAgentData.platform):/mac os x/i.test(navigator.userAgent),a.replace(/#{\s*key\s*}/g,(n?"â":"Ctrl")+"+C"));window.prompt(s,e)}}return!1}}},e=>{e.O(0,[1507,924,2024,297,1321,1596,533,7147,9918,341,8545,5192,8610,266,8407,636,6593,8792],()=>e(e.s=40028)),_N_E=e.O()}]); 39//# sourceMappingURL=updatePaymentMethod-80ddf988aa9f976f.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.