PageSourceSearch

https://www.sideprojectors.com/build/assets/Home-S9IluOQ-.js

js sideprojectors.com collected 2026-10-01 10:11:45 UTC 17,098 bytes, 1 lines download raw bytes

1import{S as x}from"./SubmitButton-ByLdnqVt.js";import{F as m}from"./Simple-DjW3m9zQ.js";import{_ as h,c as a,a as t,t as p,d as f,x as d,b as y,h as v,m as b,u as w,r as k,o as l}from"./app-RdmXVdLP.js";import{a as g}from"./apiPost-C4xD0A-h.js";import"./getCSRF-7MinvhD0.js";const S={components:{SubmitButton:x,Footer:m},data(){return{config:window.config,selectedPlan:null,loading:!1}},computed:{...b(w)},methods:{getPriceId(r){if(this.config.global.appEnv=="local")switch(r){case"starter":return"plan_H1UnmwpN9PLPWq";case"scaler":return"price_1S0tdOA8xvpnswOLZUQUm8FP";case"unicorn":return"price_1S0tdoA8xvpnswOL5jIOUjop";default:return null}else switch(r){case"starter":return"plan_H8vvSCrqHJI9nJ";case"scaler":return"price_1S15rnA8xvpnswOLaCq7YQl3";case"unicorn":return"price_1S15sIA8xvpnswOLQhoTK3iv";default:return null}},getPlanDisplayName(r){switch(r){case"starter":return"Starter";case"scaler":return"Scaler";case"unicorn":return"Unicorn";default:return r}},changeSubscriptionPrice(r){const e=this.getPlanDisplayName(r);this.$vfm.show("confirm-modal",{title:"Please confirm your action",message:"Are you sure you want to change to the "+e+" Plan?",buttons:[{label:"Yes",color:"green",loadingViaLocal:!0,action:async()=>{const i=this.getPriceId(r);if(!i){this.$vfm.hide("confirm-modal"),this.eventBus.emit("notification-event",{type:"error",message:"Price ID not configured for this plan. Please contact support."});return}const n=await g("/billing/change-subscription-price",{priceId:i},this.sideprojectorsStore.getToken);if(n.ok){const s=await v("/user/me",{},this.sideprojectorsStore.getToken);s.ok&&this.sideprojectorsStore.setCurrUser(s.body),this.$vfm.hide("confirm-modal"),this.eventBus.emit("notification-event",{type:"success",message:"Membership updated successfully"})}else this.$vfm.hide("confirm-modal"),this.eventBus.emit("notification-event",{type:"error",message:n.error||"Failed to update membership"})}},{label:"No",color:"gray",action:()=>{this.$vfm.hide("confirm-modal")}}]})},async submit(r){var e,i,n;if(this.sideprojectorsStore.getCurrUser==null)this.sideprojectorsStore.setLoginMessage("Please login before you apply for a membership"),this.sideprojectorsStore.setRedirectRoute({name:"user-settings-membership"}),this.$router.push({name:"auth-login"});else if(this.sideprojectorsStore.getCurrUser.subscription!=null){if(r==="free"){g("/billing/invalidate-subscription-cache",{},this.sideprojectorsStore.getToken),this.$vfm.show("message-modal",{type:"membership-update",title:"Update your membership",postSubmit:()=>{this.$vfm.hide("message-modal")}});return}this.changeSubscriptionPrice(r)}else{let s="";if(this.config.global.appEnv=="local")switch(r){case"starter":s="https://buy.stripe.com/test_cN24ib0fAgU29LGaEE";break;case"scaler":s="https://buy.stripe.com/test_6oU7sK7Vi1wTdBf9I98bS01";break;case"unicorn":s="https://buy.stripe.com/test_6oU7sK7Vi1wTdBf9I98bS01";break;default:s=""}else switch(r){case"starter":s="https://buy.stripe.com/cNi7sK0sQ1wT0OtbQh8bS04";break;case"scaler":s="https://buy.stripe.com/4gM14mcby2AX7cR07z8bS05";break;case"unicorn":s="https://buy.stripe.com/4gM6oGb7ucbx7cRaMd8bS06";break;default:s=""}if(s){const o=(e=this.sideprojectorsStore.getCurrUser)==null?void 0:e.id;if(!o){(n=(i=this.sideprojectorsStore).setRedirectUrl)==null||n.call(i,window.location.pathname),this.$router.push({name:"auth-login"});return}s+="?client_reference_id="+encodeURIComponent(o),window.location.href=s}}}}},C={class:"min-h-screen bg-gray-50 dark:bg-gray-900 py-12 px-4 sm:px-6 lg:px-8"},j={class:"max-w-8xl mx-auto"},_={key:0,class:"mx-auto max-w-xl bg-yellow-100 p-6 rounded border border-yellow-300 rounded-lg mb-12"},B={class:"mt-4"},M={class:"text-center mb-12"},U={class:"text-xl ml-2 dark:text-white"},L={class:"grid grid-cols-1 lg:grid-cols-4 gap-8"},P={class:"bg-white dark:bg-gray-800 rounded-lg shadow-lg border border-gray-300 dark:border-gray-700 overflow-hidden flex flex-col"},z={class:"p-6 flex flex-col flex-1"},$={class:"mt-auto"},N={key:0,class:"w-full bg-green-600 text-white py-3 px-4 rounded-lg duration-200 text-center"},A={class:"bg-white dark:bg-gray-800 rounded-lg shadow-lg border border-gray-300 dark:border-gray-700 overflow-hidden flex flex-col"},I={class:"p-6 flex flex-col flex-1"},F={class:"mt-auto"}
1,E={key:0,class:"w-full bg-green-600 text-white py-3 px-4 rounded-lg duration-200 text-center"},D={class:"bg-white dark:bg-gray-800 rounded-lg shadow-lg border border-gray-300 dark:border-gray-700 overflow-hidden flex flex-col"},T={class:"p-6 flex flex-col flex-1"},V={class:"mt-auto"},O={key:0,class:"w-full bg-green-600 text-white py-3 px-4 rounded-lg duration-200 text-center"},R={class:"bg-white dark:bg-gray-800 rounded-lg shadow-lg border border-gray-300 dark:border-gray-700 overflow-hidden flex flex-col"},Q={class:"p-6 flex flex-col flex-1"},Y={class:"mt-auto"},H={key:0,class:"w-full bg-green-600 text-white py-3 px-4 rounded-lg duration-200 text-center"},K={class:"mt-12 ml-4"},q={class:"list-disc list-inside space-y-2"},G={class:"text-gray-500 dark:text-gray-400"},Z={class:"mt-32"};function J(r,e,i,n,s,o){const u=k("Footer");return l(),a("div",C,[t("div",j,[r.$route.params.confirmed?(l(),a("div",_,[e[4]||(e[4]=t("div",{class:"text-lg dark:text-white text-center"},"✅   Your account is now all set!",-1)),t("div",B," Thank you for confirming your registration. Your account is now all set! Before you go, please consider becoming a member of "+p(s.config.global.appName)+" below 👇 to support our community and get access to exclusive features. ",1)])):f("",!0),t("div",M,[t("h1",U," 🤘   Become a "+p(s.config.global.appName)+" Member ",1),e[5]||(e[5]=t("p",{class:"text-lg text-gray-600 dark:text-gray-300 mt-4"}," Unlock premium features and support our community. ",-1))]),t("div",L,[t("div",P,[t("div",z,[e[6]||(e[6]=d('<h3 class="text-xl font-semibold text-gray-600 dark:text-white mb-2 text-center -ml-8">🎁   Free</h3><div class="flex items-center justify-center"><span class="text-2xl font-bold text-gray-900 dark:text-white">$0</span><span class="mx-2 text-gray-600 dark:text-gray-300">/</span><span class="text-gray-600 dark:text-gray-300">month</span></div><ul class="border-t mt-4 pt-4 space-y-2 mb-8"><li class="flex items-center"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5 text-gray-500 mr-3"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"></path></svg><span class="text-gray-700 dark:text-gray-300">Ad-supported</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Free to use with basic features</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Contact 3 project owners / day</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Send DMs to 2 users / day</span></li></ul>',3)),t("div",$,[r.sideprojectorsStore.getCurrUser!=null&&r.sideprojectorsStore.getCurrUser.subscription==null?(l(),a("div",N,"Current Plan")):(l(),a("button",{key:1,onClick:e[0]||(e[0]=c=>o.submit("free")),class:"w-full bg-gray-600 hover:bg-gray-700 text-white py-3 px-4 rounded-lg transition duration-200"}," Choose Free "))])])]),t("div",A,[t("div",I,[e[7]||(e[7]=d('<h3 class="text-xl font-semibold text-gray-600 dark:text-white mb-2 text-center -ml-8">💪   Starter</h3><div class="flex items-center justify-center"><span class="text-2xl font-bold text-gray-900 dark:text-white">$3</span><span class="mx-2 text-gray-600 dark:text-gray-300">/</span><span class="text-gray-600 dark:text-gray-300">month</span></div>
1<ul class="border-t mt-4 pt-4 space-y-2 mb-8"><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">100% Ad free</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Enable dark / light mode</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Project alerts via email &amp; Slack</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Contact 5 project owners / day</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Send DMs to 5 users / day</span></li></ul>',3)),t("div",F,[r.sideprojectorsStore.getCurrUser!=null&&r.sideprojectorsStore.getCurrUser.subscription!=null&&r.sideprojectorsStore.getCurrUser.subscription.plan.amount==300?(l(),a("div",E,"Current Plan")):(l(),a("button",{key:1,onClick:e[1]||(e[1]=c=>o.submit("starter")),class:"w-full bg-gray-600 hover:bg-gray-700 text-white py-3 px-4 rounded-lg transition duration-200"}," Choose Starter "))])])]),t("div",D,[t("div",T,[e[8]||(e[8]=d('<h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2 text-center -ml-8">🚀   Scaler</h3><div class="flex items-center justify-center"><span class="text-2xl font-bold text-gray-900 dark:text-white">$6</span><span class="mx-2 text-gray-600 dark:text-gray-300">/</span><span class="text-gray-600 dark:text-gray-300">month</span></div><ul class="border-t mt-4 pt-4 space-y-2 mb-8"><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Everything in Starter</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Saved searches</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Project collections</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Contact 10 project owners / day</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Send DMs to 10 users / day</span></li></ul>',3)),t("div",V,[r.sideprojectorsStore.getCurrUser!=null&&r.sideprojectorsStore.getCurrUser.subscription!=null&&r.sideprojectorsStore.getCurrUser.subscription.plan.amount==600?(l(),a("div",O,"Current Plan")):(l(),a("button",{key:1,onClick:e[2]||(e[2]=c=>o.submit("scaler")),class:"w-full bg-gray-600 hover:bg-gray-700 text-white py-3 px-4 roun
1ded-lg transition duration-200"}," Choose Scaler "))])])]),t("div",R,[t("div",Q,[e[9]||(e[9]=d('<h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2 text-center -ml-8">🦄   Unicorn</h3><div class="flex items-center justify-center"><span class="text-2xl font-bold text-gray-900 dark:text-white">$9</span><span class="mx-2 text-gray-600 dark:text-gray-300">/</span><span class="text-gray-600 dark:text-gray-300">month</span></div><ul class="border-t mt-4 pt-4 space-y-2 mb-8"><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Everything in Scaler</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">View project analytics</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Add attachments to messages</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Contact 20 project owners / day</span></li><li class="flex items-center"><svg class="w-5 h-5 text-green-500 mr-3" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg><span class="text-gray-700 dark:text-gray-300">Send DMs to 20 users / day</span></li></ul>',3)),t("div",Y,[r.sideprojectorsStore.getCurrUser!=null&&r.sideprojectorsStore.getCurrUser.subscription!=null&&r.sideprojectorsStore.getCurrUser.subscription.plan.amount==900?(l(),a("div",H,"Current Plan")):(l(),a("button",{key:1,onClick:e[3]||(e[3]=c=>o.submit("unicorn")),class:"w-full bg-gray-600 hover:bg-gray-700 text-white py-3 px-4 rounded-lg transition duration-200"}," Choose Unicorn "))])])])]),t("div",K,[e[13]||(e[13]=t("p",{class:"text-gray-600 dark:text-gray-300 mb-4"}," Additional information & FAQ ",-1)),t("ul",q,[t("li",G," Every user signing up will automatically be a free member of "+p(s.config.global.appName)+". ",1),e[10]||(e[10]=t("li",{class:"text-gray-500 dark:text-gray-400"}," Each member will have a supporter badge next to their profile and show that you are supporting this important community. ",-1)),e[11]||(e[11]=t("li",{class:"text-gray-500 dark:text-gray-400"}," All of our payment processing is handled by Stripe. ",-1)),e[12]||(e[12]=t("li",{class:"text-gray-500 dark:text-gray-400"}," You can cancel anytime. Your membership will be active until the end of the current billing cycle. ",-1))])])]),t("div",Z,[y(u)])])}const se=h(S,[["render",J]]);export{se as default};

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.