PageSourceSearch

https://babylonbee.com/build/assets/UserInput-x2rZ3KZv.js

js babylonbee.com collected 2026-09-24 08:29:01 UTC 22,440 bytes, 1 lines download raw bytes

1import{_ as S,e as w}from"./_plugin-vue_export-helper-CZPp-EVN.js";import{P as y,j as a,q as o,x as t,C as d,y as c,H as g,D as m,J as b,M as u,F as p,K as h,L as x,T as _,k as B,I as T}from"./vendor-vue-n3skSn-P.js";const A={created(){},mounted(){this.$nextTick(()=>{this.termsInputs().forEach(s=>s.addEventListener("change",this.syncTermsAgreed)),this.syncTermsAgreed()})},beforeUnmount(){this.termsInputs().forEach(s=>s.removeEventListener("change",this.syncTermsAgreed))},props:{existing_user_email:String,old_fname:String,old_lname:String,old_email:String,old_username:String,old_password:String,errors:Array,plan:String,term:{type:String,default:"Annual"},token:String,amount:String,is_upgrade:{type:Boolean,default:!1},is_free:{type:Boolean,default:!1},site_key:{type:String,default:""},recaptcha_enabled:{type:Boolean,default:!1},use_free_trial:{type:Boolean,default:!1},is_production:{type:Boolean,default:!1},is_app_user:{type:Boolean,default:!1},subscription_title:{type:String,default:""},subscription_amount:{type:String,default:""},has_promo:{type:Boolean,default:!1},promo_code:String,promo_amount:{type:Number,default:0},month_only_offer:{type:Boolean,default:!1},site_logo:{type:String,default:"/img/notbeelogo-sm.png"},plan_monthly_cost:{type:Number,default:0},plan_annual_cost:{type:Number,default:0},change_plan_url:{type:String,default:""}},data(){return{fname:this.old_fname,lname:this.old_lname,username:this.old_username,email:this.existing_user_email!=""?this.existing_user_email:this.old_email,password:"",fnameError:"",lnameError:"",emailError:"",usernameError:"",passwordError:"",showingPassword:!1,alreadySubmitted:!1,termsAgreed:!1,paymentRevealed:!1,planExpanded:!1}},computed:{canSubmit(){var s=this.fnameError==""&&this.lnameError==""&&this.emailError==""&&this.usernameError==""&&this.passwordError==""&&this.fname!=""&&this.lname!=""&&this.email!=""&&this.password!=""&&this.username!="";return w.emit("checkFormSubmit",s),s},isNTB(){return this.$store.getters.siteTitle!="Babylon Bee"},siteTitle(){return this.$store.getters.siteTitle},isBundle(){return this.plan!=""&&this.plan!="Single"&&this.plan!="Basic"},planName(){return this.isBundle?this.isNTB?"Premium Bundle":"Premium":this.isNTB?"Single Site":"Basic"},amountDueToday(){var s=parseFloat(String(this.subscription_amount||"0").replace(/,/g,""));return isNaN(s)?0:s},termSuffix(){return this.term=="Annual"?"/yr":"/mo"},annualSavings(){return!this.plan_monthly_cost||!this.plan_annual_cost?0:Math.floor((this.plan_monthly_cost-this.plan_annual_cost/12)/this.plan_monthly_cost*100)},billedLine(){if(this.month_only_offer){var s=this.term=="Annual"?this.plan_annual_cost:this.plan_monthly_cost;return"$1.00 for your first month, then $"+Number(s||0).toFixed(2)+this.termSuffix+" until you cancel."}return"Renews automatically at $"+this.amountDueToday.toFixed(2)+this.termSuffix+" until you cancel."}},methods:{termsInputs(){var s=this.$refs.termsSlot||this.$el;return s?Array.from(s.querySelectorAll('input[type="checkbox"][name="accept_terms"], input[type="checkbox"][name="auto_renew_consent"]')):[]},syncTermsAgreed(){var s=this.termsInputs();this.termsAgreed=s.length==0||s.every(e=>e.checked),this.termsAgreed&&!this.paymentRevealed&&(this.paymentRevealed=!0,this.$nextTick(()=>{var e=this.$refs.paymentCard;e&&e.scrollIntoView&&setTimeout(()=>e.scrollIntoView({behavior:"smooth",block:"nearest"}),150)}))},submitFreeForm(){if(this.canSubmit&&this.termsAgreed){this.alreadySubmitted=!0,document.getElementById("submit-spinner").style.display="inline-block";var s=document.getElementById("payment-form");s.submit()}},submitPremiumForm(){this.termsAgreed&&(document.getElementById("submit-button").setAttribute("disabled","disabled"),w.emit("checkFormSubmit",this.canSubmit))},togglePasswordDisplay(){var s=document.getElementById("password");this.showingPassword==!1?(this.showingPassword=!0,s.setAttribute("type","text")):this.showingPassword==!0&&(this.showingPassword=!1,s.setAttribute("type","password"))},clearValidation(s){var e=document.getElementById(s);e.classList.remove("border-red-500"),e.classList.add("border-gray-300"),s=="fname"?this.fnameError="":s=="lname"?this.lnameError="":s=="sendtoaddress"?this.emailError="":s=="password"?this.passwordError="":s=="username"&&(this.usernameError="")},markValidation(s,e){s&&(s.classList.remove(e?"border-gray-300":"border-red-500"),s.classList.add(e?"border-red-500":"border-gray-300"))},validatePassword(){var s=document.getElementById("password");s.value.length==0?this.passwordError="This field cannot be blank.":s.value.length<8?this.passwordError="This field must be greater than 8 characters":s.value.match(/\s/g)?this.passwordError="This field cannot contain spaces":this.passwordError="",this.markValidation(s,this.passwordError!="")},validateFname(){var s=document.getElementById("fname"),e=s.value.match(/[A-Z]|[a-z]|[-]|[.]|[']|\s/g);s.value.length==0?this.fnameError="This field cannot be blank.":s.value.length>100?this.fnameError="This field must be 100 or less characters":e==null||s.value.length!=e.length?this.fnameError="This field must only contain letters, space
1s, dashes and apostrophes":this.fnameError="",this.markValidation(s,this.fnameError!="")},validateLname(){var s=document.getElementById("lname"),e=s.value.match(/[A-Z]|[a-z]|[-]|[.]|[']|\s/g);s.value.length==0?this.lnameError="This field cannot be blank.":s.value.length>100?this.lnameError="This field must be 100 or less characters":e==null||s.value.length!=e.length?this.lnameError="This field must only contain letters, spaces, dashes and apostrophes":this.lnameError="",this.markValidation(s,this.lnameError!="")},validateEmail(){var s=document.getElementById("sendtoaddress"),e=s.value,r=e.match(/^([a-zA-Z0-9+_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/);e.length==0?this.emailError="This field cannot be blank.":e.length>255?this.emailError="This field must be 255 or less characters":r==null?this.emailError="Please enter a valid email address":this.emailError="",this.markValidation(s,this.emailError!=""),this.emailError==""&&this.$nextTick(()=>{axios.post("/validateUserInput",{plan:this.plan,email:e,is_upgrade:this.is_upgrade}).then(f=>{s.value==e&&f.data&&f.data.error!="true"&&f.data.success=="false"&&(this.emailError="This email address is already associated with an account. Please log in, use another email or contact support for further assistance.",this.markValidation(s,!0))})})},validateUsername(){var s=document.getElementById("username"),e=s.value,r=e.match(/[A-Z]|[a-z]|[0-9]|[_]/g);e.length==0?this.usernameError="This field cannot be blank.":e.length<2?this.usernameError="This field must be at least 2 characters":e.length>20?this.usernameError="This field must be 20 or less characters":r==null||e.length!=r.length?this.usernameError="This field must only contain letters and numbers":this.usernameError="",this.markValidation(s,this.usernameError!=""),this.usernameError==""&&this.$nextTick(()=>{axios.post("/validateUserInput",{plan:this.plan,username:e,is_upgrade:this.is_upgrade}).then(f=>{s.value==e&&f.data&&f.data.error!="true"&&f.data.success=="false"&&(this.usernameError="This username has already been taken. Please use another username or contact support for further assistance.",this.markValidation(s,!0))})})}}},V={dusk:"user-input",class:"w-full"},C={class:"space-y-6"},F={class:"rounded-2xl border border-gray-200 bg-white p-5 sm:p-6"},P={class:"mt-1 text-sm text-gray-500"},I={class:"mt-5 grid grid-cols-1 sm:grid-cols-2 gap-4"},N={key:0,class:"text-xs text-red-500 mt-1 block"},L={key:0,class:"text-xs text-red-500 mt-1 block"},U={class:"mt-4"},j={key:0},z=["value"],q={key:1},D={key:0,class:"text-xs text-red-500 mt-1 block"},M={class:"mt-4 grid grid-cols-1 sm:grid-cols-2 gap-4"},Z={class:"flex justify-between items-center mb-1"},R={key:0,class:"text-xs text-red-500 mt-1 block"},H={key:1,class:"text-xs text-gray-400 mt-1"},Y={key:0,class:"text-xs text-red-500 mt-1 block"},J={key:1,class:"text-xs text-gray-400 mt-1"},K={key:0,class:"mt-5 rounded-lg bg-blue-50 border border-blue-200 p-3"},W={key:0,class:"relative rounded-2xl border-2 border-amber-400 bg-white"},G={key:0,class:"absolute -top-3 left-6"},O=["aria-expanded"],Q={class:"flex items-center shrink-0"},X=["src"],$={class:"min-w-0 flex-1"},ee={class:"text-base sm:text-lg font-semibold text-gray-900 leading-tight"},te={class:"text-xs sm:text-sm text-gray-500 truncate"},se={key:0,class:"text-green-600 font-medium"},re={class:"text-right shrink-0"},ne={key:0,class:"flex items-baseline justify-end"},ae={class:"text-2xl sm:text-3xl font-bold tracking-tight text-gray-900"},oe={class:"ml-1 text-sm font-medium text-gray-500"},le={key:1,class:"flex items-baseline justify-end"},ie={key:0,id:"plan-details",class:"px-5 sm:px-6 pb-5 sm:pb-6"},de={class:"border-t border-gray-100 pt-4 grid grid-cols-1 sm:grid-cols-2 gap-4 text-sm"},me={class:"mt-1 text-gray-700"},ue={key:0,class:"mt-0.5 font-medium text-green-600"},fe={class:"mt-1 text-2xl font-bold tracking-tight text-gray-900"},ce={class:"mt-4 pt-4 border-t border-gray-100"},ge={key:1,class:"px-5 sm:px-6 pb-4 -mt-2 flex items-end justify-between gap-4"},he={class:"min-w-0 flex-1"},be=["href"],ye={class:"flex items-center justify-between"},pe={key:0,class:"inline-flex items-center gap-1 text-xs font-medium text-green-600"},xe={ref:"termsSlot",class:"-mt-1 -mb-2"},_e={key:0,class:"flex mt-5 text-center w-full"},ve=["data-sitekey"],we={key:0,ref:"paymentCard",class:"rounded-2xl border border-gray-200 bg-white p-5 sm:p-6"},ke={class:"mt-1 text-sm text-gray-500"},Ee={class:"font-semibold text-gray-900"},Se={class:"mt-5"},Be={class:"mt-5"},Te={key:0,class:"mt-2 text-center text-xs text-red-500"},Ae={class:"text-lg leading-6 font-semibold text-gray-900"}
1,Ve={key:0,class:"mt-1 text-sm text-gray-500"},Ce={key:1,class:"mt-1 text-sm text-gray-500"},Fe={key:2,class:"mt-5"},Pe={class:"mt-5"},Ie=["disabled"];function Ne(s,e,r,f,n,l){const k=y("plan-benefits"),E=y("promo-box"),v=y("braintree");return a(),o("div",V,[t("div",C,[t("div",F,[e[31]||(e[31]=t("h2",{class:"text-lg leading-6 font-semibold text-gray-900"},"Your account",-1)),t("p",P,"This is how you'll sign in to "+d(l.siteTitle)+".",1),t("div",I,[t("div",null,[e[25]||(e[25]=t("label",{for:"fname",class:"block text-sm font-medium text-gray-700 mb-1"},"First name",-1)),c(t("input",{onFocus:e[0]||(e[0]=i=>l.clearValidation("fname")),onBlur:e[1]||(e[1]=i=>l.validateFname()),onChange:e[2]||(e[2]=i=>l.validateFname()),id:"fname",type:"text",class:"w-full px-3 py-2.5 border border-gray-300 bg-white rounded-lg text-sm transition-colors duration-150 focus:outline-none focus:ring-2 focus:ring-amber-400 focus:border-amber-400",maxlength:"100",name:"fname","onUpdate:modelValue":e[3]||(e[3]=i=>n.fname=i),required:"",placeholder:"First",autocomplete:"given-name"},null,544),[[g,n.fname]]),n.fnameError!=""?(a(),o("span",N,d(n.fnameError),1)):m("",!0)]),t("div",null,[e[26]||(e[26]=t("label",{for:"lname",class:"block text-sm font-medium text-gray-700 mb-1"},"Last name",-1)),c(t("input",{onFocus:e[4]||(e[4]=i=>l.clearValidation("lname")),onBlur:e[5]||(e[5]=i=>l.validateLname()),onChange:e[6]||(e[6]=i=>l.validateLname()),id:"lname",type:"text",class:"w-full px-3 py-2.5 border border-gray-300 bg-white rounded-lg text-sm transition-colors duration-150 focus:outline-none focus:ring-2 focus:ring-amber-400 focus:border-amber-400",maxlength:"100",name:"lname","onUpdate:modelValue":e[7]||(e[7]=i=>n.lname=i),required:"",placeholder:"Last",autocomplete:"family-name"},null,544),[[g,n.lname]]),n.lnameError!=""?(a(),o("span",L,d(n.lnameError),1)):m("",!0)])]),t("div",U,[e[27]||(e[27]=t("label",{for:"sendtoaddress",class:"block text-sm font-medium text-gray-700 mb-1"},"Email address",-1)),r.existing_user_email||r.is_app_user?(a(),o("div",j,[c(t("input",{id:"sendtoaddress",class:"w-full px-3 py-2.5 border border-gray-300 rounded-lg text-sm bg-gray-50 text-gray-500 cursor-not-allowed",maxlength:"255",name:"sendtoaddress","onUpdate:modelValue":e[8]||(e[8]=i=>n.email=i),required:"",disabled:""},null,512),[[g,n.email]]),t("input",{id:"plan",type:"hidden",name:"sendtoaddress",value:n.email},null,8,z)])):(a(),o("div",q,[c(t("input",{onFocus:e[9]||(e[9]=i=>l.clearValidation("sendtoaddress")),onBlur:e[10]||(e[10]=i=>l.validateEmail()),onChange:e[11]||(e[11]=i=>l.validateEmail()),id:"sendtoaddress",type:"email",class:"w-full px-3 py-2.5 border border-gray-300 bg-white rounded-lg text-sm transition-colors duration-150 focus:outline-none focus:ring-2 focus:ring-amber-400 focus:border-amber-400",maxlength:"255",name:"sendtoaddress","onUpdate:modelValue":e[12]||(e[12]=i=>n.email=i),required:"",placeholder:"[email protected]",autocomplete:"email"},null,544),[[g,n.email]]),n.emailError!=""?(a(),o("span",D,d(n.emailError),1)):m("",!0)]))]),t("div",M,[t("div",null,[t("div",Z,[e[28]||(e[28]=t("label",{for:"password",class:"block text-sm font-medium text-gray-700"},"Password",-1)),t("button",{type:"button",onClick:e[13]||(e[13]=i=>l.togglePasswordDisplay()),class:"text-xs text-gray-400 hover:text-gray-600 transition-colors duration-150 focus:outline-none"},[t("i",{class:b(["fas mr-1",n.showingPassword?"fa-eye-slash":"fa-eye"])},null,2),u(d(n.showingPassword?"Hide":"Show"),1)])]),c(t("input",{onFocus:e[14]||(e[14]=i=>l.clearValidation("password")),onBlur:e[15]||(e[15]=i=>l.validatePassword()),onChange:e[16]||(e[16]=i=>l.validatePassword()),id:"password",type:"password",class:"w-full px-3 py-2.5 border border-gray-300 bg-white rounded-lg text-sm transition-colors duration-150 focus:outline-none focus:ring-2 focus:ring-amber-400 focus:border-amber-400","onUpdate:modelValue":e[17]||(e[17]=i=>n.password=i),name:"password",required:"",placeholder:"At least 8 characters",autocomplete:"new-password"},null,544),[[g,n.password]]),n.passwordError?(a(),o("span",R,d(n.passwordError),1)):(a(),o("p",H,"8-20 characters, no spaces."))]),t("div",null,[e[29]||(e[29]=t("label",{for:"username",class:"block text-sm font-medium text-gray-700 mb-1"},"Username",-1)),c(t("input",{onFocus:e[18]||(e[18]=i=>l.clearValidation("username")),onBlur:e[19]||(e[19]=i=>l.validateUsername()),onChange:e[20]||(e[20]=i=>l.validateUsername()),id:"username",type:"text",class:"w-full px-3 py-2.5 border border-gray-300 bg-white rounded-lg text-sm transition-colors duration-150 focus:outline-none focus:ring-2 focus:ring-amber-400 focus:border-amber-400",name:"username","onUpdate:modelValue":e[21]||(e[21]=i=>n.username=i),required:"",placeholder:"Username",maxlength:"20",autocomplete:"off"},null,544),[[g,n.username]]),n.usernameError!=""?(a(),o("span",Y,d(n.usernameError),1)):(a(),o("p",J,"Shown next to anything you post."))])]),r.existing_user_email!=""?(a(),o("div",K,[...e[30]||(e[30]=[t("div",{class:"flex gap-2"},[t("i",{class:"far fa-fw fa-info-circle text-blue-500 mt-0.5"}),t("p",{class:"text-sm text-blue-700"}," By signing up for a bundle, all of the user data above, including password, username and first/last name, will be synced between sites. Whatever you provide here will over
1write the corresponding account information on The Babylon Bee, if it exists. ")],-1)])])):m("",!0)]),r.is_free?m("",!0):(a(),o("div",W,[l.isBundle?(a(),o("div",G,[...e[32]||(e[32]=[t("span",{class:"inline-flex items-center rounded-full bg-amber-400 px-3 py-0.5 text-[10px] font-bold text-white uppercase tracking-wide shadow-sm"},"Best Value",-1)])])):m("",!0),t("button",{type:"button",onClick:e[22]||(e[22]=i=>n.planExpanded=!n.planExpanded),"aria-expanded":n.planExpanded?"true":"false","aria-controls":"plan-details",class:"w-full flex items-center gap-4 p-5 sm:p-6 text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-amber-400 rounded-2xl"},[t("div",Q,[t("img",{src:r.site_logo,alt:"",class:"h-9 sm:h-10"},null,8,X),l.isBundle?(a(),o(p,{key:0},[e[33]||(e[33]=t("span",{class:"mx-1.5 text-lg text-gray-400"},"+",-1)),e[34]||(e[34]=t("img",{src:"/img/big-bee-white.png",alt:"",class:"h-9 sm:h-10"},null,-1))],64)):m("",!0)]),t("div",$,[t("h2",ee,d(l.planName),1),t("p",te,[u(d(r.term=="Annual"?"Billed annually":"Billed monthly"),1),r.has_promo&&r.promo_code&&!r.month_only_offer?(a(),o("span",se," · "+d(r.promo_amount)+"% off",1)):m("",!0)])]),t("div",re,[r.month_only_offer?(a(),o("div",le,[...e[35]||(e[35]=[t("span",{class:"text-2xl sm:text-3xl font-bold tracking-tight text-gray-900"},"$1.00",-1),t("span",{class:"ml-1 text-sm font-medium text-gray-500"},"first month",-1)])])):(a(),o("div",ne,[t("span",ae,"$"+d(r.subscription_amount),1),t("span",oe,d(l.termSuffix),1)]))]),(a(),o("svg",{class:b(["w-5 h-5 text-gray-400 shrink-0 transition-transform duration-300",[n.planExpanded?"rotate-180":""]]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...e[36]||(e[36]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],8,O),h(_,{"enter-active-class":"transition duration-300 ease-out","enter-from-class":"opacity-0 -translate-y-2","enter-to-class":"opacity-100 translate-y-0","leave-active-class":"transition duration-200 ease-in","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 -translate-y-2"},{default:x(()=>[n.planExpanded?(a(),o("div",ie,[t("div",de,[t("div",null,[e[37]||(e[37]=t("p",{class:"text-xs font-semibold uppercase tracking-wider text-gray-400"}
1,"Billing",-1)),t("p",me,d(l.billedLine),1),r.term=="Annual"&&l.annualSavings>0&&!r.month_only_offer&&!(r.has_promo&&r.promo_code)?(a(),o("p",ue,"Saving "+d(l.annualSavings)+"% vs monthly billing",1)):m("",!0),e[38]||(e[38]=t("p",{class:"mt-1 text-xs text-gray-400"},"Cancel any time from your dashboard.",-1))]),t("div",null,[e[39]||(e[39]=t("p",{class:"text-xs font-semibold uppercase tracking-wider text-gray-400"},"Due today",-1)),t("p",fe,"$"+d(r.subscription_amount),1)])]),t("div",ce,[h(k,{plan:r.plan,term:r.term,is_month_promo:r.month_only_offer},null,8,["plan","term","is_month_promo"])])])):m("",!0)]),_:1}),r.has_promo||r.change_plan_url?(a(),o("div",ge,[t("div",he,[r.has_promo?(a(),B(E,{key:0,current_promo:r.promo_code,current_promo_amount:r.promo_amount.toString(),month_only_offer:r.month_only_offer},null,8,["current_promo","current_promo_amount","month_only_offer"])):m("",!0)]),r.change_plan_url?(a(),o("a",{key:0,href:r.change_plan_url,class:"shrink-0 inline-flex items-center gap-1 text-xs font-medium text-gray-400 hover:text-gray-600 transition-colors duration-150"},[...e[40]||(e[40]=[t("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})],-1),u(" Change plan ",-1)])],8,be)):m("",!0)])):m("",!0)])),t("div",{class:b(["rounded-2xl border bg-white p-5 sm:p-6 transition-colors duration-300",[n.termsAgreed?"border-green-300":"border-gray-200"]])},[t("div",ye,[e[42]||(e[42]=t("h2",{class:"text-lg leading-6 font-semibold text-gray-900"},"Terms and Conditions",-1)),h(_,{"enter-active-class":"transition duration-300 ease-out","enter-from-class":"opacity-0 scale-75","enter-to-class":"opacity-100 scale-100"},{default:x(()=>[n.termsAgreed?(a(),o("span",pe,[...e[41]||(e[41]=[t("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2.5",d:"M5 13l4 4L19 7"})],-1),u(" Agreed ",-1)])])):m("",!0)]),_:1})]),t("div",xe,[T(s.$slots,"terms")],512),r.is_free&&r.recaptcha_enabled&&!r.use_free_trial&&r.is_production?(a(),o("div",_e,[t("div",{class:"g-recaptcha mx-auto","data-sitekey":r.site_key},null,8,ve)])):m("",!0)],2),h(_,{"enter-active-class":"transition duration-500 ease-out","enter-from-class":"opacity-0 translate-y-6","enter-to-class":"opacity-100 translate-y-0"},{default:x(()=>[n.paymentRevealed?(a(),o("div",we,[r.is_free?(a(),o(p,{key:1},[t("h2",Ae,d(r.use_free_trial?"Start your trial":"Create your account"),1),r.use_free_trial?(a(),o("p",Ve," You will not be billed today. After your 7-day free trial you will be billed monthly at $9 per month until cancelled. ")):(a(),o("p",Ce,"No payment needed for a free membership.")),r.use_free_trial?(a(),o("div",Fe,[h(v,{token:r.token,amount:r.amount,can_submit:l.canSubmit,bare:!0},null,8,["token","amount","can_submit"])])):m("",!0),t("div",Pe,[t("button",{onClick:e[24]||(e[24]=i=>l.submitFreeForm()),id:"submit-button",class:b(["w-full rounded-lg bg-amber-400 py-3.5 px-4 text-sm font-semibold text-white shadow-sm hover:bg-amber-500 transition-colors duration-150 focus:outline-none focus:ring-2 focus:ring-amber-400 focus:ring-offset-2",[l.canSubmit&&n.termsAgreed&&!n.alreadySubmitted?"":"opacity-50 cursor-not-allowed"]]),type:"button",disabled:!l.canSubmit||!n.termsAgreed},[e[47]||(e[47]=t("i",{id:"submit-spinner",class:"fad fa-circle-notch fa-spin mr-1",style:{display:"none"}},null,-1)),u(" "+d(r.use_free_trial?"Start Free Trial":"Create Free Account"),1)],10,Ie)])],64)):(a(),o(p,{key:0},[e[46]||(e[46]=t("div",{class:"flex items-center justify-between"},[t("h2",{class:"text-lg leading-6 font-semibold text-gray-900"},"Payment"),t("span",{class:"inline-flex items-center gap-1 text-xs text-gray-400"},[t("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})]),u(" Secure checkout ")])],-1)),t("p",ke,[e[43]||(e[43]=u("You'll be billed ",-1)),t("span",Ee,"$"+d(r.subscription_amount),1),e[44]||(e[44]=u(" today.",-1))]),t("div",Se,[h(v,{token:r.token,amount:r.amount,can_submit:l.canSubmit,bare:!0},null,8,["token","amount","can_submit"])]),t("div",Be,[t("button",{onClick:e[23]||(e[23]=i=>
1l.submitPremiumForm()),id:"submit-button",class:"w-full rounded-lg bg-amber-400 py-3.5 px-4 text-sm font-semibold text-white shadow-sm hover:bg-amber-500 transition-colors duration-150 focus:outline-none focus:ring-2 focus:ring-amber-400 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed",type:"button"},[...e[45]||(e[45]=[t("i",{id:"submit-spinner",class:"fad fa-circle-notch fa-spin mr-1",style:{display:"none"}},null,-1),u(" Complete Purchase ",-1)])]),n.termsAgreed?m("",!0):(a(),o("p",Te,"Please agree to the Terms above to complete your purchase."))])],64))],512)):m("",!0)]),_:1})])])}const je=S(A,[["render",Ne]]);export{je 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.