import{N as O,g as f}from"./Notification-15e980db.js";import{M as P}from"./ModalMixin-f1c0fe4e.js";import{_ as T,O as j,r as C,k as _,u as H,o,c as l,a as e,j as u,d as c,t as h,f as n,F as b,i as g,x as V,q as p,v as L,e as G,g as N,w as U,s as B}from"./app-9daf7b25.js";const K={props:{title:String,loadingLeagues:Boolean},components:{Notification:O},mixins:[P],emit:["openMarketSignUp"],data(){return{theme:null,defaultLeague:!1,showMainMenu:!1,showAboutSubmenu:!1,showMarketSubmenu:!1,showOtherSportsSubmenu:!1,contactForm:{name:null,email:null,state:null,message:null,type:null,market_id:null},errors:{},notification:{enabled:!1,type:"success",message:null},messageTypes:[{id:0,name:"General Inquiry"},{id:1,name:"Partner with GO! Kickball"},{id:2,name:"Start a Company Team"},{id:3,name:"Start a League"},{id:4,name:"Become a Ref"}]}},created(){let r=window.location.hostname.split(".");r[0]=="joinpickleball"||r[1]=="joinpickleball"?this.theme="PB":this.theme="GKB",this.theme=="PB"&&axios.get("/default-league").then(m=>{this.defaultLeague=m.data.league.id})},mounted(){window.location.pathname=="/"&&(!this.user&&localStorage.getItem("wasVisited")===null?(this.showModal(),localStorage.setItem("wasVisited","1")):!this.user&&localStorage.getItem("wasVisited")!==null&&localStorage.getItem("wasVisited")<5&&(this.showModal(),localStorage.setItem("wasVisited",parseInt(localStorage.getItem("wasVisited"))+1))),this.emitter.on("market-active",t=>{this.defaultLeague=t})},watch:{flashMessage(t,r){t&&t!==r&&setTimeout(()=>{this.$page.props.flash={message:null}},2500)},showMainMenu(t){t&&(this.showAboutSubmenu=!1,this.showMarketSubmenu=!1,this.showOtherSportsSubmenu=!1)},showAboutSubmenu(t){t&&(this.showMarketSubmenu=!1,this.showOtherSportsSubmenu=!1)},showMarketSubmenu(t){t&&(this.showAboutSubmenu=!1,this.showOtherSportsSubmenu=!1)},showOtherSportsSubmenu(t){t&&(this.showAboutSubmenu=!1,this.showMarketSubmenu=!1)}},computed:{kickballMarkets(){return f(this.$page.props,"kickball_markets_list",[])},user(){return f(this.$page.props,"auth.user",null)},flashMessage(){return f(this.$page.props,"flash.message",null)},market(){return f(this.$page.props,"market",null)},activeLeagues(){return f(this.market,"activeLeagues",[])},activeLeague(){return this.activeLeagues[0]||null},currentMarket(){return this.market?this.market.id:""}},methods:{showModal(){this.$refs.modal.show()},hideModal(){this.$refs.modal.hide()},toggleMainMenu(){this.showMainMenu=!this.showMainMenu},toggleAboutSubmenu(){this.showAboutSubmenu=!this.showAboutSubmenu},toggleMarketSubmenu(){this.showMarketSubmenu=!this.showMarketSubmenu},toggleOtherSportsSubmenu(){this.showOtherSportsSubmenu=!this.showOtherSportsSubmenu},async submitContactForm(){this.errors={};let t="";this.theme=="PB"?t=route("joinpickleball.submit-contact-form"):t=route("submit-contact-form");try{this.theme=="PB"&&(this.contactForm.market_id=36),await axios.post(t,this.contactForm),this.contactForm={name:null,email:null,market_id:null,message:null,type:null},this.notification.enabled=!0,this.notification.message="Contact form has been submitted.",setTimeout(()=>{this.notification.enabled=!1,this.notification.message=null},2500)}catch(r){this.errors=f(r,"response.data.errors")}},logout(){localStorage.clear(),j.visit(route("logout"))},registerNowLink(){if(this.$page.props.showModal)this.$emit("openMarketSignUp");else{const t=[].concat.apply([],Object.values(this.kickballMarkets).map(r=>r));this.user&&t.find(r=>r.id===this.user.market_id)?window.location=route("markets",[this.user.market_slug,"sign-up"]):window.location=route("city-finder")}}}},z={id:"app",class:"app h-screen"},I={class:"w-full flex items-center flex-wrap py-6 fixed top-0 z-50 bg-red"},q={class:"w-full min-w-full justify-between container mx-2 flex flex-wrap lg:flex-no-wrap"},R={class:"flex items-center flex-shrink-0 text-white mr-6 h-12"},E=["href"],W=e("img",{class:"flex items-center max-h-full",src:"https://kickball-assets.s3.amazonaws.com/go-kickball-logo-reverse-white-black-rgb_website_100h.png"},null,-1),D=[W],J={class:"block my-auto ml-auto lg:hidden"},Q=e("svg",{class:"fill-current h-3 w-3",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e("title",null,"Menu"),e("path",{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"})],-1),Y=[Q],X={class:"hidden lg:flex flex-no-wrap items-center text-right w-auto"},Z={class:"text-sm lg:flex-grow"},$={class:"inline-block mt-0 mr-6 text-teal-200 hover:text-white"},ee=["href"],te={class:"group py-4 inline-block text-teal-200 hover:text-white mr-6 relative"},se=e("span",{class:"caret inline-block ml-1"},"∨",-1),oe={key:1,href:"#",class:"font-normal"},le=e("span",{class:"caret inline-block ml-1"},"∨",-1),re={key:2,href:"#",class:"font-normal"},ie=e("span",{class:"caret inline-block ml-1"},"∨",-1),ae={class:"w-56 mt-4 text-left absolute border-t-2 border-black py-3 pl-3 px-8 text-black font-semibold hidden group-hover:block overflow-auto max-h-[90vh] bg-red"},ne={class:"transition duration-300 ease-in-out hover:text-white py-2"},he=["href"],ue={class:"py-2"},ce=["href"],de={class:"inline-block text-teal-200 hover:text-white mr-6"},me=["href"],fe={class:"group py-4 inline-block text-teal-200 hover:text-white mr-6 relative"},_e=e("a",{href:"#",class:"font-normal"},[c(" About/FAQs "),e("span",{class:"caret inline-block ml-1"},"∨")],-1),be={class:"w-56 mt-4 -ml-3 text-left absolute border-t-2 border-black py-3 pl-3 px-8 text-black font-semibold hidden group-hover:block overflow-auto max-h-[90vh] bg-red"},ge={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},ke=["href"],we={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},pe=["href"],ve={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},ye=["href"],xe={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},Se=["href"],Me={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},Ce=["href"],Le={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},Be=["href"],Ae={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},Fe=["href"],Oe={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},Pe=["href"],Te={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},je=["href"],He={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},Ve=["href"],Ge={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},Ne=["href"],Ue={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},Ke=["href"],ze={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},Ie=["href"],qe={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},Re=["href"],Ee={class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},We=["href"],De=e("li",{class:"transition duration-300 ease-in-out hover:text-white mt-0 py-2"},[e("a",{href:"#contact-form"},"Contact Us")],-1),Je={key:0,class:"inline-block text-teal-200 hover:text-white mr-6"},Qe=["href"],Ye={key:1,class:"inline-block mt-4"},Xe={key:0,class:"bg-white px-4 py-2 rounded-full"},Ze=e("svg",{class:"h-4 w-4 animate-spin inline",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),$e=[Ze],et={key:1,class:"text-sm px-4 py-2 leading-none border rounded-full text-black bg-white border-white hover:border-transparent hover:text-white hover:bg-black"},tt={key:2,class:"inline-block text-teal-200 hover:text-white mr-6"},st=["href"],ot={key:3,class:"inline-block text-teal-200 hover:text-white mr-6"},lt=e("a",{href:"/ballstand",class:"font-semibold lg:font-normal"},"Ballstand",-1),rt=[lt],it={key:4,class:"inline-block mr-6"},at={key:0,class:"bg-white px-4 py-2 rounded-full"},nt=e("svg",{class:"h-4 w-4 animate-spin inline",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),ht=[nt],ut={key:1,class:"text-sm px-4 py-2 leading-none border rounded-full text-black bg-white border-white hover:border-transparent hover:text-white hover:bg-black"},ct={key:5,class:"inline-block"},dt=e("button",{type:"button",class:"text-sm px-4 py-2 leading-none border rounded-full text-black bg-white border-white hover:border-transparent hover:text-white hover:bg-black"}," Logout ",-1),mt=[dt],ft={key:0,class:"w-full block lg:hidden flex-grow flex-wrap overflow-y-scroll max-h-[88vh]"},_t={class:"text-sm"},bt={class:"block mt-6 text-teal-200 hover:text-white"},gt=["href"],kt={class:"group block mt-4 text-teal-200 hover:text-white relative"},wt=e("span",{class:"caret inline-block ml-1"},"∨",-1),pt=e("span",{class:"caret inline-block ml-1"},"∨",-1),vt=e("span",{class:"caret inline-block ml-1"},"∨",-1),yt={key:3,class:"w-56 text-left relative py-3 pl-3 bg-red font-normal overflow-auto h-64"},xt={class:"py-2"},St=["href"],Mt={class:"py-2"},Ct=["href"],Lt={class:"block mt-4 text-teal-200 hover:text-white"},Bt=["href"],At={class:"group block mt-4 text-teal-200 hover:text-white relative"},Ft=e("span",{class:"caret inline-block ml-1"},"∨",-1),Ot={key:0,class:"w-56 text-left lg:absolute relative py-3 pl-3 lg:px-8 bg-red font-normal"},Pt={class:"mt-4"},Tt=["href"],jt={class:"mt-4"},Ht=["href"],Vt={class:"mt-4"},Gt=["href"],Nt={class:"mt-4"},Ut=["href"],Kt={class:"mt-4"},zt=["href"],It={class:"mt-4"},qt=["href"],Rt={class:"mt-4"},Et=["href"],Wt={class:"mt-4"},Dt=["href"],Jt={class:"mt-4"},Qt=["href"],Yt={class:"mt-4"},Xt=["href"],Zt={class:"mt-4"},$t=["href"],es={class:"mt-4"},ts=["href"],ss={class:"mt-4"},os=["href"],ls={class:"mt-4"},rs=["href"],is=e("li",{class:"mt-4"},[e("a",{href:"#contact-form"},"Contact Us")],-1),as={key:0,class:"block mt-4 text-teal-200 hover:text-white mr-6"},ns=["href"],hs={key:1,class:"inline-block text-sm px-4 py-2 leading-none border rounded-full text-black bg-white border-white hover:border-transparent hover:text-white hover:bg-black mt-4"},us={key:0},cs=e("svg",{class:"h-6 w-6 animate-spin inline",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),ds=[cs],ms={key:2,class:"block mt-4 text-teal-200 hover:text-white lg:mr-6"},fs=["href"],_s={key:3,class:"block mt-4 text-teal-200 hover:text-white mr-6"},bs=e("a",{href:"/ballstand",class:"font-semibold lg:font-normal"},"Ballstand",-1),gs=[bs],ks={key:4,class:"inline-block text-sm px-4 py-2 leading-none border rounded-full text-black bg-white border-white hover:border-transparent hover:text-white hover:bg-black mt-4 mr-6"},ws={key:0},ps=e("svg",{class:"h-6 w-6 animate-spin inline",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),vs=[ps],ys={key:5,class:"inline-block text-sm px-4 py-2 leading-none border rounded-full text-black bg-white border-white hover:border-transparent hover:text-white hover:bg-black mt-4"},xs=["href"],Ss={class:"content h-auto mt-24"},Ms={key:0,class:"w-56 fixed right-0 top-0 p-6 text-sm shadow text-white bg-blue rounded mr-4 mt-4 z-50 text-sm text-center"},Cs=e("div",{class:"top-divider w-full"},null,-1),Ls={id:"footer",class:"bg-black pt-8 pb-12 w-full"},Bs={class:"container mx-auto"},As={class:"flex flex-wrap mb-4 w-full"},Fs={class:"w-full md:w-1/3 h-auto items-center pr-10"},Os=e("img",{class:"mb-5",src:"https://kickball-assets.s3.amazonaws.com/go-kickball-logo-reverse-red-white-rgb_website_100h.png"},null,-1),Ps=["href"],Ts={class:"w-full md:w-2/3 md:pl-10 h-auto"},js=e("h3",{class:"pt-6 md:py-6 text-lg text-gray md:pl-16"},"Have a question - send us a Message:",-1),Hs=e("a",{name:"contact-form"},null,-1),Vs={class:"w-full md:w-1/2 mb-5 md:pr-3"},Gs={key:0,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 mt-1 text-sm"},Ns={class:"ml-1"},Us={class:"w-full md:w-1/2 mb-5 md:pl-3"},Ks={key:0,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 mt-1 text-sm"},zs={class:"ml-1"},Is={class:"w-full mb-5"},qs={key:null,value:null},Rs=["value"],Es={key:0,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 mt-1 text-sm"},Ws=e("span",{class:"ml-1"},"The city field is required.",-1),Ds=[Ws],Js={class:"w-full mb-5"},Qs={key:null,value:null},Ys=["value"],Xs={key:0,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 mt-1 text-sm"},Zs=e("span",{class:"ml-1"},"The city field is required.",-1),$s=[Zs],eo={class:"w-full mb-5"},to={key:0,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 text-sm"},so={class:"ml-1"},oo={class:"flex w-full mb-5 justify-end space-x-6"},lo=e("button",{type:"submit",class:"text-md px-4 py-2 leading-none border rounded-full text-white bg-red border-red hover:border-transparent hover:text-black hover:bg-white mt-4 lg:mt-0"},"Submit ",-1),ro={class:"w-full h-auto text-center pt-5"},io={class:"mb-5 text-xs text-gray"},ao=["href"],no=["href"],ho={class:"text-xs text-gray"},uo=e("br",null,null,-1),co=e("span",{class:"text-gray"},"Join our email list!",-1),mo=e("p",{class:"mb-1 text-gray font-semibold text-base"},"We promise not to spam you 🙂",-1),fo=e("p",{class:"mb-8 text-gray text-base"},"We only send you an email when we have something we think you really need.",-1),_o=["href"];function bo(t,r,m,go,a,s){var v,y,x,S,M;const A=C("Notification"),F=C("modal");return _((o(),l("div",z,[e("nav",I,[e("div",q,[e("div",R,[e("a",{href:t.route("home")+"?ref=header_logo",class:"mr-6 h-12"},D,8,E)]),e("div",J,[e("button",{onClick:r[0]||(r[0]=u((...i)=>s.toggleMainMenu&&s.toggleMainMenu(...i),["prevent"])),class:"flex items-center px-3 py-2 border rounded text-white border-white hover:text-white hover:border-white"},Y)]),e("div",X,[e("ul",Z,[e("li",$,[e("a",{href:t.route("home",{ref:"market_only"}),class:"font-normal"},"Home",8,ee)]),e("li",te,[s.market!=null&&s.market.name.length<20?(o(),l("a",{key:0,href:"#",onClick:r[1]||(r[1]=u((...i)=>s.toggleMarketSubmenu&&s.toggleMarketSubmenu(...i),["prevent"])),class:"font-normal"},[c(h(s.market.name)+", "+h(s.market.state)+" ",1),se])):n("",!0),s.market!=null&&s.market.name.length>=20?(o(),l("a",oe,[c(h(s.market.name.substring(0,20)+"...")+", "+h(s.market.state)+" ",1),le])):s.market==null?(o(),l("a",re,[c(" Choose a City "),ie])):n("",!0),e("ul",ae,[e("li",ne,[e("a",{href:t.route("start-a-league")},"Start a League",8,he)]),(o(!0),l(b,null,g(s.kickballMarkets,(i,k,w)=>(o(),l("div",{key:w},[e("li",ue,h(k),1),(o(!0),l(b,null,g(i,d=>(o(),l("li",{class:"transition duration-300 ease-in-out hover:text-white py-2 px-4",key:d.id},[e("a",{href:t.route("markets",d.slug)},h(d.name)+", "+h(d.state),9,ce)]))),128))]))),128))])]),e("li",de,[e("a",{href:t.route("gkb-store"),class:"font-normal"},"Store",8,me)]),e("li",fe,[_e,e("ul",be,[e("li",ge,[e("a",{href:t.route("how-to-sign-up")},"How to Sign-up",8,ke)]),e("li",we,[e("a",{href:t.route("join-email-list")+"?market="+s.currentMarket},"Join Email List",8,pe)]),e("li",ve,[e("a",{href:t.route("about-gkb")},"About GO Kickball",8,ye)]),e("li",xe,[e("a",{href:t.route("faqs")},"FAQs",8,Se)]),e("li",Me,[e("a",{href:t.route("kickball-101")},"Kickball 101",8,Ce)]),e("li",Le,[e("a",{href:t.route("start-a-company-team")},"Start a Company Team",8,Be)]),e("li",Ae,[e("a",{href:t.route("start-a-league")},"Start a League in Your City",8,Fe)]),e("li",Oe,[e("a",{href:t.route("premium-t-shirt-styles")},"Premium T-Shirt Styles",8,Pe)]),e("li",Te,[e("a",{href:t.route("partners")},"Partner with GO Kickball",8,je)]),e("li",He,[e("a",{href:t.route("become-a-ref")},"Become a Ref",8,Ve)]),e("li",Ge,[e("a",{href:t.route("talent-scout")},"Talent Scout",8,Ne)]),e("li",Ue,[e("a",{href:t.route("rules")},"Basics & Rules of GO!",8,Ke)]),e("li",ze,[e("a",{href:t.route("player-waiver")},"Player Waiver",8,Ie)]),e("li",qe,[e("a",{href:t.route("champions")},"GO Kickball Champions",8,Re)]),e("li",Ee,[e("a",{href:t.route("gkb-store")},"GO Kickball Store",8,We)]),De])]),s.user?n("",!0):(o(),l("li",Je,[e("a",{href:t.route("login"),class:"font-semibold lg:font-normal"},"Login",8,Qe)])),s.user?n("",!0):(o(),l("li",Ye,[e("a",{href:"#",onClick:r[2]||(r[2]=u(i=>s.registerNowLink(),["prevent"]))},[m.loadingLeagues?(o(),l("div",Xe,$e)):(o(),l("button",et," Sign Up "))])])),s.user?(o(),l("li",tt,[e("a",{href:t.route("my-profile"),class:"font-semibold lg:font-normal"},"My Account",8,st)])):n("",!0),s.user&&s.user.is_admin?(o(),l("li",ot,rt)):n("",!0),s.user?(o(),l("li",it,[e("a",{onClick:r[3]||(r[3]=u(i=>s.registerNowLink(),["prevent"]))},[m.loadingLeagues?(o(),l("div",at,ht)):(o(),l("button",ut," Sign Up "))])])):n("",!0),s.user?(o(),l("li",ct,[e("a",{href:"#",onClick:r[4]||(r[4]=(...i)=>s.logout&&s.logout(...i))},mt)])):n("",!0)])]),a.showMainMenu?(o(),l("div",ft,[e("ul",_t,[e("li",bt,[e("a",{href:t.route("home",{ref:"market_only"}),class:"font-semibold lg:font-normal"},"Home",8,gt)]),e("li",kt,[s.market!=null&&s.market.name.length<20?(o(),l("a",{key:0,href:"#",onClick:r[5]||(r[5]=u((...i)=>s.toggleMarketSubmenu&&s.toggleMarketSubmenu(...i),["prevent"])),class:"font-semibold"},[c(h(s.market.name)+", "+h(s.market.state)+" ",1),wt])):n("",!0),s.market!=null&&s.market.name.length>=20?(o(),l("a",{key:1,href:"#",onClick:r[6]||(r[6]=u((...i)=>s.toggleMarketSubmenu&&s.toggleMarketSubmenu(...i),["prevent"])),class:"font-semibold"},[c(h(s.market.name.substring(0,20)+"...")+", "+h(s.market.state)+" ",1),pt])):s.market==null?(o(),l("a",{key:2,href:"#",onClick:r[7]||(r[7]=u((...i)=>s.toggleMarketSubmenu&&s.toggleMarketSubmenu(...i),["prevent"])),class:"font-semibold"},[c(" Choose a City "),vt])):n("",!0),a.showMarketSubmenu?(o(),l("ul",yt,[e("li",xt,[e("a",{href:t.route("start-a-league")},"Start a League",8,St)]),(o(!0),l(b,null,g(s.kickballMarkets,(i,k,w)=>(o(),l("div",{key:w},[e("li",Mt,h(k),1),(o(!0),l(b,null,g(i,d=>(o(),l("li",{class:"py-2 px-4",key:d.id},[e("a",{href:t.route("markets",d.slug)},h(d.name)+", "+h(d.state),9,Ct)]))),128))]))),128))])):n("",!0)]),e("li",Lt,[e("a",{href:t.route("gkb-store"),class:"font-semibold lg:font-normal"},"Store",8,Bt)]),e("li",At,[e("a",{href:"#",onClick:r[8]||(r[8]=u((...i)=>s.toggleAboutSubmenu&&s.toggleAboutSubmenu(...i),["prevent"])),class:"font-semibold"},[c(" About/FAQs "),Ft]),a.showAboutSubmenu?(o(),l("ul",Ot,[e("li",Pt,[e("a",{href:t.route("how-to-sign-up")},"How to Sign-up",8,Tt)]),e("li",jt,[e("a",{href:t.route("join-email-list")+"?market="+s.currentMarket},"Join Email List",8,Ht)]),e("li",Vt,[e("a",{href:t.route("about-gkb")},"About GO Kickball",8,Gt)]),e("li",Nt,[e("a",{href:t.route("faqs")},"FAQs",8,Ut)]),e("li",Kt,[e("a",{href:t.route("kickball-101")},"Kickball 101",8,zt)]),e("li",It,[e("a",{href:t.route("start-a-company-team")},"Start a Company Team",8,qt)]),e("li",Rt,[e("a",{href:t.route("start-a-league")},"Start a League in Your City",8,Et)]),e("li",Wt,[e("a",{href:t.route("premium-t-shirt-styles")},"Premium T-Shirt Styles",8,Dt)]),e("li",Jt,[e("a",{href:t.route("partners")},"Partner with GO Kickball",8,Qt)]),e("li",Yt,[e("a",{href:t.route("become-a-ref")},"Become a Ref",8,Xt)]),e("li",Zt,[e("a",{href:t.route("talent-scout")},"Talent Scout",8,$t)]),e("li",es,[e("a",{href:t.route("rules")},"The Basic & Rules of GO!",8,ts)]),e("li",ss,[e("a",{href:t.route("player-waiver")},"Player Waiver",8,os)]),e("li",ls,[e("a",{href:t.route("champions")},"GO Kickball Champions",8,rs)]),is])):n("",!0)]),s.user?n("",!0):(o(),l("li",as,[e("a",{href:t.route("login"),class:"font-semibold lg:font-normal"},"Login",8,ns)])),s.user?n("",!0):(o(),l("li",hs,[m.loadingLeagues?(o(),l("span",us,ds)):(o(),l("a",{key:1,href:"#",onClick:r[9]||(r[9]=u(i=>s.registerNowLink(),["prevent"]))},"Sign Up"))])),s.user?(o(),l("li",ms,[e("a",{href:t.route("my-profile"),class:"font-semibold lg:font-normal"},"My Account",8,fs)])):n("",!0),s.user&&s.user.is_admin?(o(),l("li",_s,gs)):n("",!0),s.user?(o(),l("li",ks,[m.loadingLeagues?(o(),l("span",ws,vs)):(o(),l("a",{key:1,href:"#",onClick:r[10]||(r[10]=u(i=>s.registerNowLink(),["prevent"]))},"Sign Up"))])):n("",!0),s.user?(o(),l("li",ys,[e("a",{href:t.route("logout")},"Logout",8,xs)])):n("",!0)])])):n("",!0)])]),e("div",Ss,[V(t.$slots,"default"),s.flashMessage?(o(),l("div",Ms,h(s.flashMessage),1)):n("",!0)]),Cs,e("div",Ls,[e("div",Bs,[e("div",As,[e("div",Fs,[Os,e("a",{href:t.route("join-email-list")+"?market="+s.currentMarket,class:"inline-block text-sm px-4 py-2 leading-none border rounded-full text-white border-red hover:border-transparent hover:text-black hover:bg-white mt-4 lg:mt-0 bg-red border-red"},"Join our Email List",8,Ps)]),e("div",Ts,[js,Hs,e("form",{class:"w-full mt-10 md:mt-0 md:float-right md:pl-16 flex flex-wrap",onSubmit:r[16]||(r[16]=u((...i)=>s.submitContactForm&&s.submitContactForm(...i),["prevent"]))},[e("div",Vs,[_(e("input",{class:"py-4 px-3 w-full text-gray-700 leading-tight focus:outline-none focus:shadow-outline bg-grey-500",type:"text",placeholder:"Full Name","onUpdate:modelValue":r[11]||(r[11]=i=>a.contactForm.name=i)},null,512),[[p,a.contactForm.name]]),(v=a.errors)!=null&&v.name?(o(),l("div",Gs,[e("span",Ns,h(a.errors.name[0]),1)])):n("",!0)]),e("div",Us,[_(e("input",{class:"py-4 px-3 w-full text-gray-700 leading-tight focus:outline-none focus:shadow-outline bg-grey-500",type:"email",placeholder:"Email Address","onUpdate:modelValue":r[12]||(r[12]=i=>a.contactForm.email=i)},null,512),[[p,a.contactForm.email]]),(y=a.errors)!=null&&y.email?(o(),l("div",Ks,[e("span",zs,h(a.errors.email[0]),1)])):n("",!0)]),e("div",Is,[_(e("select",{class:"px-3 h-12 w-full text-gray-700 leading-tight focus:outline-none focus:shadow-outline bg-grey-500",placeholder:"What city are you in?","onUpdate:modelValue":r[13]||(r[13]=i=>a.contactForm.market_id=i)},[(o(),l("option",qs,"Select City to Contact")),(o(!0),l(b,null,g(t.$page.props.markets_list,i=>(o(),l("option",{key:i.id,value:i.id},h(i.name)+", "+h(i.state),9,Rs))),128))],512),[[L,a.contactForm.market_id]]),(x=a.errors)!=null&&x.market_id?(o(),l("div",Es,Ds)):n("",!0)]),e("div",Js,[_(e("select",{class:"px-3 h-12 w-full text-gray-700 leading-tight focus:outline-none focus:shadow-outline bg-grey-500",placeholder:"What city are you in?","onUpdate:modelValue":r[14]||(r[14]=i=>a.contactForm.type=i)},[(o(),l("option",Qs,"Purpose")),(o(!0),l(b,null,g(a.messageTypes,i=>(o(),l("option",{key:i.id,value:i.name},h(i.name),9,Ys))),128))],512),[[L,a.contactForm.type]]),(S=a.errors)!=null&&S.market_id?(o(),l("div",Xs,$s)):n("",!0)]),e("div",eo,[_(e("textarea",{class:"py-4 px-3 w-full text-gray-700 leading-tight focus:outline-none focus:shadow-outline bg-grey-500",placeholder:"Message",rows:"4","onUpdate:modelValue":r[15]||(r[15]=i=>a.contactForm.message=i)},null,512),[[p,a.contactForm.message]]),(M=a.errors)!=null&&M.message?(o(),l("div",to,[e("span",so,h(a.errors.message[0]),1)])):n("",!0)]),e("div",oo,[a.notification.enabled?(o(),G(A,{key:0,type:a.notification.type,message:a.notification.message},null,8,["type","message"])):n("",!0),lo])],32)])]),e("div",ro,[e("p",io,[e("a",{href:t.route("privacy-policy")},"Privacy Policy",8,ao),c(" | "),e("a",{href:t.route("terms")},"Terms and Conditions",8,no)]),e("p",ho," © Copyright "+h(new Date().getFullYear())+" LiveLifeFun. All Rights Reserved. ",1)])])]),e("div",null,[N(F,{ref:"modal",clickToClose:!0,escToClose:!0,overlayClass:{"bg-red z-40 overflow-auto left-0 top-0 bottom-0 right-0 w-full h-full fixed opacity-50":a.theme!="PB","bg-pickleball-green z-40 overflow-auto left-0 top-0 bottom-0 right-0 w-full h-full fixed opacity-50":a.theme=="PB"}},{default:U(()=>[e("h1",{class:B(["text-6xl leading-none font-header uppercase mb-8",{"text-red":a.theme!="PB","text-pickleball-green":a.theme=="PB"}])},[c("Stay in the loop! "),uo,c(),co],2),mo,fo,e("a",{href:a.theme=="PB"?t.route("pickleball.join-email-list"):t.route("join-email-list")+"?market="+s.currentMarket},[e("button",{class:B([a.theme=="PB"?" border-pickleball-green text-pickleball-green":"border-red text-red","border-2 button bg-white rounded-full py-2 mt-6 px-10 block"])},"Join Email List ",2)],8,_o)]),_:1},8,["overlayClass"])])],512)),[[H,this.theme]])}const vo=T(K,[["render",bo]]);export{vo as G};