PageSourceSearch

https://cdn.buymeacoffee.com/static/prod/1070/build/assets/MembershipThankyou-Dv0IC9HR.js

js buymeacoffee.com collected 2026-10-01 06:30:16 UTC 2,546 bytes, 1 lines download raw bytes

1import{r as e}from"./rolldown-runtime-DAXXjFlN.js";import"./dist-DiEP1Qns.js";import{D as t,E as n,On as r,_ as i,b as a,ct as o,g as s,mt as c,qt as l,tr as u,vn as d,y as f}from"./runtime-core.esm-bundler-BKdLzFmX.js";import{t as p}from"./appVariables-if8fQ3xE.js";import{t as m}from"./Button-D-DnbTTq.js";import{t as h}from"./helper-D5ziWoUd.js";import{t as g}from"./ImageElement-DuUHuuKh.js";import{t as _}from"./shareUrls-CEv82ce-.js";import{t as v}from"./appConfetti-D5TymIlx.js";var y=e({default:()=>E}),b={class:`w-[500px] text-dark bg-white rounded-3xl pt-6 pb-9 overflow-hidden xs:w-full xs:pt-4 xs:pt-8 xs:rounded-b-none xs:mt-20`},x={class:`text-center px-6 xs:px-4 xs:pt-1`},S={key:0,class:`border border-dark/10 p-1 w-20 h-20 flex items-center justify-center rounded-full mx-auto my-4`},C={class:`text-2xl mx-auto text-dark font-cr-bold break-words xs:text-xl`},w={class:`text-md text-dark font-cr-regular mt-1.5 break-words xs:text-base`},T={class:`break-words tw-color-the-links w-3/4 mx-auto px-2`},E={__name:`MembershipThankyou`,props:[`creatorData`,`thankYouContent`,`redirectUrl`,`renderingAfter`],setup(e){let y=e;d(!1);let E=d(``);_.creatorPage();let D=d(!1);y.creatorData.twitter_handle===``?y.creatorData.name:`${y.creatorData.twitter_handle}`;let O=y.renderingAfter==`pageload`?y.thankYouContent.membership_level:y.thankYouContent.membership;o(()=>{v.loadConfetti(),E.value=y.redirectUrl?y.redirectUrl:_.membershipPage(),p.IsBrowser&&h.getCookieValue(`paymentDataMem-`+y.creatorData.project_id)&&h.setCookieValue(`paymentDataMem-`+y.creatorData.project_id,JSON.stringify({}))}),s(()=>y.thankYouContent.can_message||O.members_only_post_count>0||O.membership_rewards_count>0||O.discord_benefits?.length>0);let k=()=>{D.value=!0,p.IsBrowser&&(window.location.href=_.membershipPage())};return(o,s)=>(c(),a(`div`,b,[i(`div`,null,[i(`div`,x,[e.creatorData.dp?(c(),a(`div`,S,[t(g,{src:e.creatorData.dp,alt:e.creatorData.name,width:72,height:72,cropWidth:[480],cropSize:[200],intrinsicSize:600,imageClass:`w-[72px] h-[72px] rounded-full`},null,8,[`src`,`alt`])])):f(``,!0),i(`div`,C,u(o.$t(`lang.thankyou.membership.title_new`)),1),i(`div`,w,[i(`p`,T,u(o.$t(`lang.thankyou.membership.default_welcome_message`)),1)])])]),t(m,{onClick:s[0]||=e=>k(),disabled:r(D),initiallyDisabled:!1,btnType:`primary`,class:`w-[85%] xs:w-11/12 text-themeTextColor tw-theme-color-rounded-full text-sm font-cr-bold h-12 mt-6 mx-auto`},{default:l(()=>[n(u(o.$t(`lang.thankyou.membership.action`)),1)]),_:1},8,[`disabled`])]))}};export{E as n,y as t};

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.