PageSourceSearch

https://breakoutedu.com/_nuxt/B8tqROSO.js

js breakoutedu.com collected 2026-10-01 12:15:53 UTC 2,966 bytes, 1 lines download raw bytes

1import{c as l,d as o,e as r,m as u,G as _,s as f,H as a,a as n,l as g,t as b,I as h,K as v,j as k}from"./Bi2W1T7w.js";import{s as y}from"./C75rXY5v.js";import w from"./CQWTPovI.js";import M from"./C4Qffopb.js";import{_ as x}from"./CjJ9DXhJ.js";import"./NmplnH0j.js";import"./CDwKymaA.js";import"./BxCBF-yr.js";import"./ZhWAdK_X.js";import"./BOn794iz.js";import"./BnD558RX.js";import"./BGbd4ggu.js";const V={class:"coderedemption"},C={class:"coderedemption__content"},K={class:"coderedemption__inner"},L={class:"coderedemption__form"},R={key:1,class:"coderedemption__helper"},B={class:"coderedemption__promo"},P={class:"coderedemption__promo-inner"},I={class:"coderedemption__promo-content"};function N(m,e,S,T,t,i){const p=M,c=w,d=y;return n(),l("div",V,[o("div",C,[o("div",K,[e[5]||(e[5]=o("h1",{class:"coderedemption__title"},"Welcome back!",-1)),e[6]||(e[6]=o("p",{class:"coderedemption__subtitle"},"Please enter the email associated with your subscription to find your order information.",-1)),o("div",L,[e[4]||(e[4]=o("label",{class:"coderedemption__form-label",for:"coderedemption-email"},"School E-Mail",-1)),r(p,{class:"coderedemption__input",id:"coderedemption-email",modelValue:t.email,"onUpdate:modelValue":e[0]||(e[0]=s=>t.email=s),type:"email",placeholder:"Enter e-mail address",disabled:t.loading||t.submitted,invalid:!!t.errorMessage,onKeydown:e[1]||(e[1]=u(s=>i.resendOrderLink(),["enter"]))},null,8,["modelValue","disabled","invalid"]),t.errorMessage?(n(),_(c,{key:0,class:"coderedemption__error",severity:"error",size:"small",variant:"simple"},{default:f(()=>[g(b(t.errorMessage),1)]),_:1})):a("",!0),r(d,{class:"coderedemption__button",label:"Resend Order Link",loading:t.loading,disabled:!t.email||t.submitted,onClick:e[2]||(e[2]=s=>i.resendOrderLink())},null,8,["loading","disabled"]),t.submitted?(n(),l("p",R,"If the email you entered is linked to an account, you'll receive a message with a link to view your order codes.")):a("",!0)])])]),o("div",B,[o("div",P,[o("div",I,[e[7]||(e[7]=o("p",{class:"coderedemption__promo-text"},"Looking for replacement parts or kits?",-1)),r(d,{class:"coderedemption__promo-button",label:"Shop Kits & Parts",outlined:"",onClick:e[3]||(e[3]=s=>i.goToKits())})]),e[8]||(e[8]=o("div",{class:"coderedemption__promo-visual"},[o("img",{src:x,alt:"","aria-hidden":"true"})],-1))])])])}const O={data(){return{email:"",loading:!1,submitted:!1,errorMessage:"",apiRoot:k().public.baseURLPlatform}},methods:{async resendOrderLink(){if(!this.email){this.errorMessage="Please enter your email address.";return}this.loading=!0,this.errorMessage="";try{await v.post(`${this.apiRoot}/api/code/request`,null,{params:{email:this.email}}),this.$router.push(`/codeverification?email=${encodeURIComponent(this.email)}`)}catch{this.errorMessage="Something went wrong. Please try again or contact support."}finally{this.loading=!1}},goToKits(){this.$router.push("/kitsandreplacements")}}},Q=h(O,[["render",N]]);export{Q 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.