PageSourceSearch

https://www.weighbook.com/5019.001db15532ae7e4f.js

js weighbook.com collected 2026-09-24 12:28:52 UTC 12,032 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkbass_kingdom=self.webpackChunkbass_kingdom||[]).push([[5019],{5019:(w,g,s)=>{s.r(g),s.d(g,{JoinRosterModule:()=>Z});var d=s(96814),a=s(56223),p=s(35420),c=s(15861),m=s(10708),e=s(65879),u=s(69293);function f(o,l){1&o&&(e.TgZ(0,"p",4),e._uU(1,"Loading\u2026"),e.qZA())}function h(o,l){1&o&&(e.TgZ(0,"section",5)(1,"span",6),e._uU(2,"link_off"),e.qZA(),e.TgZ(3,"h1",7),e._uU(4,"That link is no longer active."),e.qZA(),e.TgZ(5,"p",8),e._uU(6," Ask your coach for a fresh one. Links get replaced when a coach shares a new one. "),e.qZA()())}function _(o,l){if(1&o&&(e.TgZ(0,"section",5)(1,"span",9),e._uU(2,"check_circle"),e.qZA(),e.TgZ(3,"h1",7),e._uU(4,"Sent to your coach."),e.qZA(),e.TgZ(5,"p",8),e._uU(6),e.qZA()()),2&o){const n=e.oxw();e.xp6(6),e.hij(" ",null==n.school?null:n.school.name," will add you to the roster. Nothing else is needed from you, and you can close this page. ")}}function x(o,l){if(1&o&&(e.TgZ(0,"p",33),e._uU(1),e.qZA()),2&o){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.gradYearProblem(n.form.graduationYear)," ")}}function b(o,l){1&o&&(e.TgZ(0,"p",25),e._uU(1," It decides which bracket you compete in. "),e.qZA())}function j(o,l){if(1&o){const n=e.EpF();e.TgZ(0,"div",14)(1,"label",35),e._uU(2,"Expires"),e.qZA(),e.TgZ(3,"input",38),e.NdJ("ngModelChange",function(r){e.CHM(n);const i=e.oxw().$implicit;return e.KtG(i.expiresAt=r)}),e.qZA()()}if(2&o){const n=e.oxw(),t=n.index,r=n.$implicit;e.xp6(1),e.uIk("for","jr-exp-"+t),e.xp6(2),e.Q6J("id","jr-exp-"+t)("ngModel",r.expiresAt)("name","credExpires"+t)}}function C(o,l){if(1&o){const n=e.EpF();e.TgZ(0,"div",34)(1,"div",13)(2,"div",14)(3,"label",35),e._uU(4),e.qZA(),e.TgZ(5,"input",36),e.NdJ("ngModelChange",function(r){const y=e.CHM(n).$implicit;return e.KtG(y.number=r)}),e.qZA()(),e.YNc(6,j,4,4,"div",37),e.qZA()()}if(2&o){const n=l.$implicit,t=l.index;e.xp6(3),e.uIk("for","jr-cred-"+t),e.xp6(1),e.hij("",n.label," number"),e.xp6(1),e.Q6J("id","jr-cred-"+t)("ngModel",n.number)("name","credNumber"+t),e.xp6(1),e.Q6J("ngIf",!n.neverExpires)}}function v(o,l){if(1&o){const n=e.EpF();e.TgZ(0,"form",10),e.NdJ("ngSubmit",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.send())}
1),e.TgZ(1,"header",11)(2,"span",12),e._uU(3,"school"),e.qZA(),e.TgZ(4,"div")(5,"h1",7),e._uU(6),e.qZA(),e.TgZ(7,"p",8),e._uU(8," Fill this in and your coach adds you to the team roster. No account is created and no password is needed. "),e.qZA()()(),e.TgZ(9,"div",13)(10,"div",14)(11,"label",15),e._uU(12,"First name"),e.qZA(),e.TgZ(13,"input",16),e.NdJ("ngModelChange",function(r){e.CHM(n);const i=e.oxw();return e.KtG(i.form.first_name=r)}),e.qZA()(),e.TgZ(14,"div",14)(15,"label",17),e._uU(16,"Last name"),e.qZA(),e.TgZ(17,"input",18),e.NdJ("ngModelChange",function(r){e.CHM(n);const i=e.oxw();return e.KtG(i.form.last_name=r)}),e.qZA()()(),e.TgZ(18,"div",13)(19,"div",14)(20,"label",19),e._uU(21,"Graduation year"),e.qZA(),e.TgZ(22,"input",20),e.NdJ("ngModelChange",function(r){e.CHM(n);const i=e.oxw();return e.KtG(i.form.graduationYear=r)}),e.qZA(),e.YNc(23,x,2,1,"p",21),e.YNc(24,b,2,0,"p",22),e.qZA(),e.TgZ(25,"div",14)(26,"label",23),e._uU(27,"Date of birth"),e.qZA(),e.TgZ(28,"input",24),e.NdJ("ngModelChange",function(r){e.CHM(n);const i=e.oxw();return e.KtG(i.form.dateOfBirth=r)}),e.qZA(),e.TgZ(29,"p",25),e._uU(30,"Helps your coach tell you apart from anyone with the same name."),e.qZA()()(),e.YNc(31,C,7,6,"div",26),e.TgZ(32,"div",13)(33,"div",14)(34,"label",27),e._uU(35,"Email "),e.TgZ(36,"span",28),e._uU(37,"optional"),e.qZA()(),e.TgZ(38,"input",29),e.NdJ("ngModelChange",function(r){e.CHM(n);const i=e.oxw();return e.KtG(i.form.email=r)}),e.qZA()(),e.TgZ(39,"div",14)(40,"label",30),e._uU(41,"Phone "),e.TgZ(42,"span",28),e._uU(43,"optional"),e.qZA()(),e.TgZ(44,"input",31),e.NdJ("ngModelChange",function(r){e.CHM(n);const i=e.oxw();return e.KtG(i.form.phone=r)}),e.qZA()()(),e.TgZ(45,"p",25),e._uU(46,"A parent's email and phone are fine \u2014 this is how the coach reaches you."),e.qZA(),e.TgZ(47,"button",32),e._uU(48),e.qZA()()}if(2&o){const n=e.oxw();e.xp6(6),e.hij("Join the ",null==n.school?null:n.school.name," roster"),e.xp6(7),e.Q6J("ngModel",n.form.first_name),e.xp6(4),e.Q6J("ngModel",n.form.last_name),e.xp6(5),e.ekj("is-invalid",n.gradYearProblem(n.form.graduationYear)),e.Q6J("min",n.minGradYear)("max",n.maxGradYear)("ngModel",n.form.graduationYear)("placeholder",n.minGradYear+2),e.xp6(1),e.Q6J("ngIf",n.gradYearProblem(n.form.graduationYear)),e.xp6(1),e.Q6J("ngIf",!n.gradYearProblem(n.form.graduationYear)),e.xp6(4),e.Q6J("ngModel",n.form.dateOfBirth),e.xp6(3),e.Q6J("ngForOf",n.form.membershipNumbers),e.xp6(7),e.Q6J("ngModel",n.form.email),e.xp6(6),e.Q6J("ngModel",n.form.phone),e.xp6(3),e.Q6J("disabled",!n.canSend),e.xp6(1),e.hij(" ",n.saving?"Sending\u2026":"Send to my coach"," ")}}const M=[{path:":token",component:(()=>{class o{constructor(n,t){this._route=n,this._rosterService=t,this.token=null,this.loading=!0,this.invalid=!1,this.sent=!1,this.saving=!1,this.school=null,this.requirements=[],this.form={first_name:"",last_name:"",graduationYear:null,dateOfBirth:"",email:"",phone:"",membershipNumbers:[]},this.minGradYear=(new Date).getFullYear(),this.maxGradYear=(new Date).getFullYear()+12}ngOnInit(){var n=this;return(0,c.Z)(function*(){if(n.token=n._route.snapshot.paramMap.get("token"),!n.token)return n.invalid=!0,void(n.loading=!1);try{const t=yield(0,m.lastValueFrom)(n._rosterService.resolveInvite(n.token));n.school=t?.school||null,n.requirements=t?.requirements||[],n.form.membershipNumbers=n.requirements.map(r=>({type:r.type,label:r.label||r.type,neverExpires:!!r.neverExpires,number:"",expiresAt:""}))}catch{n.invalid=!0}n.loading=!1})()}gradYearProblem(n){const t=String(n??"").trim();if(!t.length)return null;const r=Number(t);return Number.isInteger(r)?r<this.minGradYear?`That class has already graduated. Use ${this.minGradYear} or later.`:r>this.maxGradYear?`That is further out than we expect. Use ${this.maxGradYear} or earlier.`:null:"Enter a four-digit year."}get canSend(){return!(!this.form.first_name.trim()||!this.form.last_name.trim()||this.gradYearProblem(this.form.graduationYear)||this.saving)}send(){var n=this;return(0,c.Z)(function*(){if(n.canSend){n.saving=!0;try{yield(0,m.lastValueFrom)(n._rosterService.submitClaim(n.token,{first_name:n.form.first_name.trim(),last_name:n.form.last_name.trim(),graduationYear:n.form.graduationYear||null,dateOfBirth:n.form.dateOfBirth||null,email:n.form.email||void 0,phone:n.form.phone||void 0,membershipNumbers:(n.form.membershipNumbers||[]).filter(t=>String(t.number||"").trim().length).map(t=>({type:t.type,number:t.number,expiresAt:t.expiresAt||null}))})),n.sent=!0}catch(t){return void(404===t?.status?n.invalid=!0:n.saving=!1)}n.saving=!1}})()}static{this.\u0275fac=function(t){return new(t||o)(e.Y36(p.gz),e.Y36(u.E_))}}static{this.\u0275cmp=e.Xpm({type:o,selectors:[["join-roster"]],decls:5,vars:4,consts:[[1,"jr"],["class","jr-loading",4,"ngIf"],["class","jr-card jr-card--message",4,"ngIf"],["class","jr-card",3,"ngSubmit",4,"ngIf"],[1,"jr-loading"],[1,"jr-card","jr-card--message"],[1,"material-symbols-outlined","jr-glyph"],[1,"jr-title"],[1,"jr-body"],[1,"material-symbols-outlined","jr-glyph","jr-glyph--good"],[1,"jr-card",3,"ngSubmit"],[1,"jr-head"],[1,"material-symbols-outlined","jr-head__icon"],[1,"jr-row"],[1,"jr-field"],["for","jr-first",1,"jr-label"],["id","jr-first","type","text","name","first_name","required","",1,"jr-input",3,"ngModel","ngModelChange"],["for","jr-last",1,"jr-label"],["id","jr-last","type","text","name","last_name","required","",1,"jr-input",3,"ngModel","ngModelChange"],["for","jr-year",1,"jr-label"],["id","jr-year","type","number","inputmode","numeric","step","1","name","graduationYear",1,"jr-input",3,"min","max","ngModel","placeholder","ngModelChange"],["class","jr-hint jr-hint--bad",4,"ngIf"],["class","jr-hint",4,"ngIf"],["for","jr-dob",1,"jr-label"],["id","jr-dob","type","date","name","dateOfBirth",1,"jr-input",3,"ngModel","ngModelChange"],[1,"jr-hint"],["class","jr-cred",4,"ngFor","ngForOf"],["for","jr-email",1,"jr-label"],[1,"jr-optional"],["id","jr-email","type","email","name","email",1,"jr-input",3,"ngModel","ngModelChange"],["for","jr-phone",1,"jr-label"],["id","jr-phone","type","tel","name","phone",1,"jr-input",3,"ngModel","ngModelChange"],["type","submit",1,"jr-submit",3,"disabled"],[1,"jr-hint","jr-hint--bad"],[1,"jr-cred"],[1,"jr-label"],["type","text","placeholder","Number",1,"jr-input",3,"id","ngModel","name","ngModelChange"],["class","jr-field",4,"ngIf"],["type","date",1,"jr-input",3,"id","ngModel","name","ngModelChange"]],template:function(t,r){1&t&&(e.TgZ(0,"div",0),e.YNc(1,f,2,0,"p",1),e.YNc(2,h,7,0,"section",2),e.YNc(3,_,7,1,"section",2),e.YNc(4,v,49,17,"form",3),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngIf",r.loading),e.xp6(1),e.Q6J("ngIf",!r.loading&&r.invalid),e.xp6(1),e.Q6J("ngIf",!r.loading&&!r.invali
1d&&r.sent),e.xp6(1),e.Q6J("ngIf",!r.loading&&!r.invalid&&!r.sent))},dependencies:[d.sg,d.O5,a._Y,a.Fj,a.wV,a.JJ,a.JL,a.Q7,a.qQ,a.Fd,a.On,a.F],styles:["[_nghost-%COMP%]{display:block;min-height:100vh;background:var(--wb-canvas, #f0eee9);padding:24px 16px 48px}.jr[_ngcontent-%COMP%]{max-width:560px;margin:0 auto}.jr-loading[_ngcontent-%COMP%]{text-align:center;padding:48px 0;font-size:13px;font-weight:500;color:var(--wb-text-3, #888780)}.jr-card[_ngcontent-%COMP%]{background:var(--wb-surface, #fff);border:1px solid var(--wb-border-soft, #e5e3db);border-radius:14px;padding:24px 22px 26px;display:flex;flex-direction:column;gap:16px}.jr-card--message[_ngcontent-%COMP%]{align-items:center;text-align:center;gap:10px;padding:44px 24px}.jr-glyph[_ngcontent-%COMP%]{font-size:40px;color:var(--wb-text-4, #bdb7ac)}.jr-glyph--good[_ngcontent-%COMP%]{color:var(--wb-success)}.jr-head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:12px}.jr-head__icon[_ngcontent-%COMP%]{flex:none;font-size:26px;color:var(--wb-accent, #185fa5)}.jr-title[_ngcontent-%COMP%]{margin:0 0 5px;font-size:20px;font-weight:700;line-height:1.25;color:var(--wb-text-1, #14110f)}.jr-body[_ngcontent-%COMP%]{margin:0;font-size:13.5px;font-weight:500;line-height:1.55;color:var(--wb-text-2, #5f5e5a)}.jr-row[_ngcontent-%COMP%]{display:flex;gap:12px;flex-wrap:wrap}.jr-field[_ngcontent-%COMP%]{flex:1;min-width:150px;display:flex;flex-direction:column;gap:5px}.jr-label[_ngcontent-%COMP%]{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--wb-text-3, #888780)}.jr-optional[_ngcontent-%COMP%]{margin-left:5px;text-transform:none;letter-spacing:0;font-weight:500;color:var(--wb-text-4, #9c968b)}.jr-input[_ngcontent-%COMP%]{height:44px;border:1px solid var(--wb-border, #d8d3ca);border-radius:9px;background:var(--wb-surface, #fff);padding:0 12px;font-family:inherit;font-size:16px;font-weight:500;color:var(--wb-text-1, #14110f)}.jr-input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--wb-accent, #185fa5);box-shadow:0 0 0 3px #185fa526}.jr-input.is-invalid[_ngcontent-%COMP%], .jr-input.is-invalid[_ngcontent-%COMP%]:focus{border-color:var(--wb-error-strong);box-shadow:0 0 0 3px #b3261e24}.jr-hint[_ngcontent-%COMP%]{margin:0;font-size:12px;font-weight:500;line-height:1.45;color:var(--wb-text-3, #888780)}.jr-hint--bad[_ngcontent-%COMP%]{color:var(--wb-error-strong)}.jr-cred[_ngcontent-%COMP%]{padding:14px;border:1px solid var(--wb-border-soft, #e9e5de);border-radius:10px;background:var(--wb-canvas, #faf8f5)}.jr-submit[_ngcontent-%COMP%]{height:48px;border-radius:10px;border:1px solid transparent;background:var(--wb-ink-1, #14110f);color:#fff;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:background-color .15s ease}.jr-submit[_ngcontent-%COMP%]:hover:not(:disabled){background:#26211b}.jr-submit[_ngcontent-%COMP%]:disabled{opacity:.45;cursor:default}"]})}}return o})()}];let Z=(()=>{class o{static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275mod=e.oAB({type:o})}static{this.\u0275inj=e.cJS({imports:[d.ez,a.u5,p.Bz.forChild(M)]})}}return o})()}}]);

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.