{"version":3,"sources":["webpack:///./src/components/Player/ProfileHome.vue?cd76","webpack:///./src/components/Player/ClaimDialog.vue?60a5","webpack:///src/components/Player/ClaimDialog.vue","webpack:///./src/components/Player/ClaimDialog.vue?a3a9","webpack:///./src/components/Player/ClaimDialog.vue","webpack:///./src/classes/Badges.js","webpack:///src/components/Player/ProfileHome.vue","webpack:///./src/components/Player/ProfileHome.vue?c3b8","webpack:///../../../src/components/VBottomNavigation/VBottomNavigation.ts","webpack:///./src/components/Player/ProfileHome.vue","webpack:///./src/helpers/ValidEmail.js","webpack:///./src/components/Account/ContactAdd.vue?3554","webpack:///./src/components/Account/ContactAdd.vue?aef8","webpack:///src/components/Account/ContactAdd.vue","webpack:///./src/components/Account/ContactAdd.vue?afc7","webpack:///./src/components/Account/ContactAdd.vue","webpack:///./src/components/Player/BookMark.vue?fc0a","webpack:///src/components/Player/BookMark.vue","webpack:///./src/components/Player/BookMark.vue?de56","webpack:///./src/components/Player/BookMark.vue","webpack:///./src/components/Player/ProfileHome.vue?e3e9"],"names":["_vm","this","_h","$createElement","_c","_self","merged","viewAnyway","staticClass","_v","attrs","_s","mergedURL","user","vbl","on","$event","stopPropagation","_e","embeded","name","player","view","vblx","fullLoading","getFullProfile","admin","window","editClick","loading","playerProfileId","onClaimed","recruitFields","self","noNtdp","memberId","theme","membership","staticStyle","statusLoading","class","clickable","mStatus","status","goto","memberBtn","currentStep","type","level","model","value","callback","$$v","expression","_l","s","key","profilePic","userStatus","permitted","bids","$vuetify","breakpoint","xsOnly","ref","refInFor","program","programLoading","member","getProgram","getMemberStatus","viewSelect","ntdp","staticRenderFns","scopedSlots","_u","fn","_g","profileStatus","users","length","open","firstName","id","text","relation","agreed","claimStatus","challenges","claimCheck","valid","makeClaim","props","data","computed","canClaim","hasVerifiedContact","dto","ppId","userId","request","requestNote","methods","fetchUsers","$VBL","get","reset","watch","val","$refs","twoFactor","components","ContactAdd","TwoFactorAuth","mounted","$route","query","claim","component","VAlert","VBtn","VCard","VCardActions","VCardText","VCheckbox","VDialog","VExpandTransition","VFabTransition","VIcon","VImg","VProgressCircular","VSelect","VSpacer","VTextField","VToolbar","VToolbarTitle","aau","aaubob","aauwcjo","bvne","p1440","bomb","avpa","usav","AAA","tab","permitting","profile","profileFull","start","claimed","includes","public","college","allAdmin","publicView","isCollegeCoach","isJunior","td","isTD","profileType","toLowerCase","startsWith","replace","fullname","playerName","fullProfile","userMember","console","log","m","levelId","steps","i","btmNav","find","gradYear","dialog","Promise","getProfile","$store","commit","memberCheck","resolve","bidCheck","getBids","members","subdomain","all","a","b","then","permit","v","$router","path","n","ProfileDisplay","ClaimDialog","MembershipManager","ProfileEditor","NtdpDrawer","NtdpOptin","mixins","activeClass","default","backgroundColor","grow","height","Number","hideOnScroll","horizontal","inputValue","mandatory","shift","Boolean","isActive","canScroll","classes","app","styles","transform","created","$attrs","hasOwnProperty","thresholdMet","updateApplication","$el","updateValue","render","setBackgroundColor","style","internalValue","change","arg","onScroll","h","setTextColor","$slots","VBottomNavigation","VChip","VCol","VContainer","VDivider","VRow","VSkeletonLoader","VWindow","VWindowItem","emailRegex","test","selectType","contactType","email","directives","rawName","phone","validContact","sendCode","skip","vCode","codeError","validCode","verifyCode","skipToCode","contact","t","add","confirm","addType","contactIn","booking","bookMe","color","bookmarked","bookmarks","toggleBookmark","ppid","$emit"],"mappings":"kHAAA,IAAI,EAAS,WAAa,IAAIA,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,sBAAsB,CAAEJ,EAAIM,SAAWN,EAAIO,WAAYH,EAAG,SAAS,CAACA,EAAG,cAAc,CAACI,YAAY,2BAA2B,CAACJ,EAAG,MAAM,CAACJ,EAAIS,GAAG,wEAAwEL,EAAG,MAAM,CAACJ,EAAIS,GAAG,iCAAiCL,EAAG,QAAQ,CAACM,MAAM,CAAC,MAAQ,SAAS,KAAO,GAAG,GAAKV,EAAIM,SAAS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KAAK/G,aAAA,KAAWiH,UAAA,KAAQC,cAAA,Q,gFCjCvG,IAAIlB,EAAS,WAAa,IAAIrO,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACM,MAAM,CAAC,KAAO,GAAG,KAAO,GAAG,QAAUV,EAAI8Q,SAAS/P,GAAG,CAAC,MAAQ,SAASC,GAAiC,OAAzBA,EAAOC,kBAAyBjB,EAAI+Q,OAAO/P,MAAW,CAACZ,EAAG,SAAS,CAACM,MAAM,CAAC,MAAQV,EAAIgR,QAAQ,CAAChR,EAAIS,GAAG,MAAMT,EAAIW,GAAGX,EAAIiR,WAAa,IAAM,KAAK,iBAAiB,IACxVxM,EAAkB,G,8CCctB,GACEmB,MAAO,CAAC,OAAQ,QAAS,QACzBC,KAFF,WAGI,MAAO,CACLiL,SAAS,IAGbhL,SAAU,OAAZ,OAAY,CAAZ,kBACA,8CADA,IAEImL,WAFJ,WAEA,WACM,OAAOhR,KAAKY,MAAQZ,KAAKY,KAAKqQ,WAAajR,KAAKY,KAAKqQ,UAAUnG,MAAK,SAA1E,+CAGEzE,QAAS,CACPyK,OADJ,WACA,WACW9Q,KAAKY,MAIVZ,KAAK6Q,SAAU,EACf7Q,KAAKuG,KAAK3F,KAAKsQ,eAAelR,KAAK8C,KAAM9C,KAAKmR,MACpD,mBAAQ,OAAR,2BACA,oBAAQ,EAAR,eANQnR,KAAKoR,MAAM,UAAW,iDC/BmU,I,yDCO7V/J,EAAY,eACd,EACA+G,EACA5J,GACA,EACA,KACA,KACA,MAIa,OAAA6C,EAAiB,QAMhC,IAAkBA,EAAW,CAACE,OAAA,KAAKQ,QAAA,Q,kCCxBnC,yBAA4f,EAAG","file":"js/chunk-dec0fad4.f6689051.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-expand-transition',[(_vm.merged && !_vm.viewAnyway)?_c('v-card',[_c('v-card-text',{staticClass:\"title text-center py-13\"},[_c('div',[_vm._v(\"The profile you are looking for was a duplicate and is now merged.\")]),_c('div',[_vm._v(\"Find the merged profile at:\")]),_c('v-btn',{attrs:{\"color\":\"color3\",\"text\":\"\",\"to\":_vm.merged}},[_vm._v(\" \"+_vm._s(_vm.mergedURL)+\" \")]),_c('div',{staticClass:\"pt-6\"},[(_vm.user && _vm.user.vbl)?_c('v-btn',{attrs:{\"color\":\"color3\",\"text\":\"\",\"x-small\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.viewAnyway = true}}},[_vm._v(\" View profile anyway \")]):_vm._e()],1)],1)],1):_vm._e()],1),_c('v-expand-transition',[(!(_vm.merged && !_vm.viewAnyway))?_c('v-card',{attrs:{\"color\":\"grey lighten-3\",\"flat\":\"\",\"light\":\"\",\"tile\":\"\"}},[_c('v-toolbar',{attrs:{\"color\":!_vm.embeded ? 'color2 color2Text--text' : '',\"dense\":_vm.embeded}},[_c('v-toolbar-title',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.name))]),_c('v-spacer'),_c('v-fab-transition',[(_vm.player && _vm.view.vblx)?_c('v-btn',{staticClass:\"ma-0\",attrs:{\"color\":\"color1 color1Text--text\",\"fab\":\"\",\"small\":\"\",\"loading\":_vm.fullLoading},on:{\"click\":function($event){$event.stopPropagation();return _vm.getFullProfile(true)}}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"fas fa-redo-alt\")])],1):_vm._e()],1),_c('v-fab-transition',[(_vm.player && _vm.view.admin)?_c('v-btn',{staticClass:\"ma-0\",attrs:{\"color\":\"color3 color3Text--text\",\"fab\":\"\",\"small\":\"\",\"id\":_vm.window,\"loading\":_vm.fullLoading},on:{\"click\":function($event){$event.stopPropagation();return _vm.editClick($event)}}},[(_vm.window !== 1)?_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"fas fa-cog\")]):_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"fas fa-portrait\")])],1):_vm._e()],1)],1),_c('loading-bar',{attrs:{\"value\":_vm.loading || _vm.fullLoading}}),_c('v-expand-transition',[_c('v-container',{staticClass:\"py-0\",attrs:{\"fluid\":\"\"}},[_c('v-expand-transition',[(!_vm.view.admin)?_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"caption my-0 pa-0\",attrs:{\"cols\":\"12\"}},[_c('claim-dialog',{attrs:{\"player\":_vm.player,\"playerProfileId\":_vm.playerProfileId},on:{\"just-claimed\":_vm.onClaimed}})],1)],1):_vm._e()],1),(_vm.view.vbl)?_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"caption my-1 pa-0 d-flex justify-space-between\",attrs:{\"cols\":\"12\"}},[_c('claim-dialog',{attrs:{\"player\":_vm.player,\"playerProfileId\":_vm.playerProfileId,\"view\":_vm.view},on:{\"just-claimed\":_vm.onClaimed}}),(_vm.player && _vm.player.recruitFields && _vm.view.self && !_vm.noNtdp)?_c('ntdp-optin',{attrs:{\"player\":_vm.player}}):_vm._e()],1)],1):_vm._e(),(_vm.player && _vm.player.recruitFields && _vm.view.self && !_vm.noNtdp)?_c('v-divider'):_vm._e(),(_vm.memberId && _vm.theme.membership)?_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"title pb-0\",staticStyle:{\"display\":\"inline-flex\",\"align-items\":\"center\"},attrs:{\"cols\":\"12\"}},[_vm._v(\" Member \"+_vm._s(_vm.memberId)+\" \"),_c('v-skeleton-loader',{staticClass:\"ml-3\",attrs:{\"loading\":_vm.statusLoading,\"transition\":\"scale-transition\",\"type\":\"chip\"}},[_c('v-chip',{class:{clickable: !!(_vm.userMember)},attrs:{\"color\":((_vm.mStatus && _vm.mStatus.status === 'Active' ? 'success' : 'error') + \" white--text\")},on:{\"click\":function($event){$event.stopPropagation();return _vm.goto('membership')}}},[_vm._v(\" \"+_vm._s(_vm.mStatus ? _vm.mStatus.status : '')+\" \")])],1),(_vm.memberBtn && _vm.currentStep.type !== 'membership' && _vm.window !== 2)?_c('v-btn',{attrs:{\"color\":\"color3 color3Text--text\",\"text\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.goto('membership')}}},[_vm._v(\" \"+_vm._s(_vm.memberBtn)+\" \")]):_vm._e()],1),_c('v-col',{staticClass:\"grey--text text--lighten-1 pt-0\",attrs:{\"cols\":\"12\"}},[_c('v-skeleton-loader',{class:_vm.statusLoading ? 'py-3' : null,attrs:{\"loading\":_vm.statusLoading,\"transition\":\"scale-transition\",\"width\":\"150\",\"height\":\"24\",\"type\":\"text\"}},[_c('div',[_vm._v(_vm._s(_vm.mStatus ? _vm.mStatus.level : '')+\" Member\")])])],1),_c('v-expand-transition',[(_vm.memberBtn && _vm.currentStep.type !== 'membership' && false)?_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.window !== 2)?_c('v-btn',{attrs:{\"color\":\"color3 color3Text--text\",\"block\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.goto('membership')}}},[_vm._v(\" \"+_vm._s(_vm.memberBtn)+\" \")]):_vm._e()],1):_vm._e()],1)],1):_vm._e()],1)],1),_c('v-window',{attrs:{\"touchless\":\"\"},model:{value:(_vm.window),callback:function ($$v) {_vm.window=$$v},expression:\"window\"}},_vm._l((_vm.steps),function(s){return _c('v-window-item',{key:s.key},[(s.key === 0)?_c('profile-display',{attrs:{\"player\":_vm.player,\"profilePic\":_vm.profilePic,\"userStatus\":_vm.userStatus,\"permitted\":_vm.permitted,\"view\":_vm.view,\"loading\":_vm.loading || _vm.fullLoading,\"bidBadges\":_vm.bids}}):_vm._e(),(_vm.view.admin)?[(s.type === 'basic')?_c('v-card-text',{staticClass:\"pt-0\",class:_vm.$vuetify.breakpoint.xsOnly ? 'pa-0' : ''},[(_vm.player)?_c('profile-editor',{attrs:{\"player\":_vm.player,\"active\":_vm.window === s.key,\"view\":_vm.view}}):_vm._e()],1):(s.type === 'membership')?_c('v-card-text',{staticClass:\"pt-0\",class:_vm.$vuetify.breakpoint.xsOnly ? 'pa-0' : ''},[_c('v-btn',{attrs:{\"color\":\"color3\",\"text\":\"\",\"small\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.window = 0}}},[_c('v-icon',{staticClass:\"mr-2\",attrs:{\"small\":\"\"}},[_vm._v(\"fas fa-chevron-left\")]),_vm._v(\" Back to profile \")],1),_c('membership-manager',{ref:\"levelSelector\",refInFor:true,attrs:{\"program\":_vm.program,\"loading\":_vm.programLoading || _vm.fullLoading,\"member\":_vm.member,\"active\":_vm.window === s.key},on:{\"add-level\":_vm.getProgram,\"status-change\":_vm.getMemberStatus}})],1):_vm._e()]:_vm._e()],2)}),1),(_vm.view.admin && _vm.window > 0 && false)?_c('v-bottom-navigation',{attrs:{\"fixed\":\"\",\"shift\":\"\",\"input-value\":_vm.window > 0,\"background-color\":\"color2 color2Text--text\",\"height\":\"56\"},model:{value:(_vm.window),callback:function ($$v) {_vm.window=$$v},expression:\"window\"}},_vm._l((_vm.steps.filter(function (f) { return !f.hide; })),function(step){return _c('v-btn',{key:step.key,attrs:{\"value\":step.key,\"color\":\"color2Text--text\"}},[_c('span',[_vm._v(_vm._s(step.text))]),_c('v-icon',[_vm._v(_vm._s(step.icon))])],1)}),1):_vm._e()],1):_vm._e()],1),(_vm.user && _vm.user.vbl && !(_vm.merged && !_vm.viewAnyway))?_c('div',{staticClass:\"text-center\"},[_c('v-select',{attrs:{\"items\":['Self', 'Coach'],\"label\":\"View As\",\"color\":\"color3\",\"item-color\":\"color3\"},model:{value:(_vm.viewSelect),callback:function ($$v) {_vm.viewSelect=$$v},expression:\"viewSelect\"}})],1):_vm._e(),(_vm.user && _vm.user.ntdp && _vm.window === 0)?_c('ntdp-drawer',{attrs:{\"player\":_vm.player,\"view\":_vm.view}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"500px\",\"transition\":\"dialog-transition\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticClass:\"xsmall ma-0\",attrs:{\"color\":\"color3 color3Text--text\",\"x-small\":\"\",\"text\":\"\"}},on),[_vm._v(\" Is this you?\"+_vm._s(_vm.view && _vm.view.vblx ? (\" - \" + _vm.profileStatus + \" \" + (_vm.player && _vm.player.users ? _vm.player.users.length : 0)) : '')+\" \")])]}}]),model:{value:(_vm.open),callback:function ($$v) {_vm.open=$$v},expression:\"open\"}},[(_vm.userStatus <= 0)?_c('v-card',[(_vm.userStatus === 0)?_c('v-card-text',{staticClass:\"pt-3\"},[_c('div',{staticClass:\"text-h3 text-center\"},[_vm._v(\" You've been blocked! \")]),_c('div',[_c('v-img',{attrs:{\"src\":\"https://vblimages.blob.core.windows.net/images/Blocking2.gif\",\"contain\":\"\"}})],1),_c('v-alert',{attrs:{\"type\":\"error\",\"value\":true,\"text\":\"\",\"prominent\":\"\"}},[_vm._v(\" You must be logged in to edit your player profile \")])],1):_vm._e(),(_vm.userStatus === -1)?_c('v-card-text',{staticClass:\"pt-3\"},[_c('div',{staticClass:\"title mb-2 text-center\"},[_vm._v(\" Verify it's you \")]),_c('div',{staticClass:\"subheading mb-2\"},[_vm._v(\" \"+_vm._s(_vm.user.firstName)+\", before you can claim a profile, you must have a verified email address or mobile number on file. \")]),_c('contact-add',{ref:\"addContact\"})],1):_vm._e()],1):_c('v-card',[_c('v-toolbar',{attrs:{\"color\":\"color1 color1Text--text\"}},[_c('v-toolbar-title',[_vm._v(\"Claim This Profile\")]),_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"color2 color2Text--text\",\"small\":\"\",\"fab\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.open = false}}},[_c('v-icon',[_vm._v(\"fas fa-times\")])],1)],1),_c('loading-bar',{attrs:{\"value\":_vm.loading}}),(_vm.profileStatus === 'loading')?_c('v-card-text',{staticClass:\"text-center\"},[_c('v-progress-circular',{staticClass:\"ma-13\",attrs:{\"indeterminate\":\"\",\"color\":\"color3\"}})],1):(_vm.profileStatus === 'unclaimed' || (_vm.view && _vm.view.vbl))?_c('v-card-text',[(_vm.user.vbl)?_c('v-text-field',{attrs:{\"label\":\"User Id\",\"color\":\"color3\"},model:{value:(_vm.id),callback:function ($$v) {_vm.id=$$v},expression:\"id\"}}):_c('div',{staticClass:\"title\"},[_vm._v(\" What is your relationship to \"+_vm._s(_vm.player ? _vm.player.firstName : '')+\"? \")]),_c('v-select',{attrs:{\"label\":\"Relationship to player\",\"color\":\"color3\",\"item-color\":\"color3\",\"items\":[{text: 'I am the player', value: 'Self'}, 'Parent', 'Coach', 'Club Director']},model:{value:(_vm.relation),callback:function ($$v) {_vm.relation=$$v},expression:\"relation\"}}),_c('v-alert',{attrs:{\"value\":!!_vm.relation,\"text\":\"\",\"type\":\"error\",\"prominent\":\"\",\"border\":\"top\",\"transition\":\"scale-transition\"}},[_vm._v(\" For privacy reason, all non-public information will be deleted from \"+_vm._s(_vm.player ? _vm.player.firstName : '')+\"'s' profile and \"),_c('b',[_vm._v(\"you will need to re-enter the information after you complete this claim\")]),_vm._v(\". Please check the box below acknowledging you have fully read this. \")]),_c('v-expand-transition',[(!!_vm.relation)?_c('v-checkbox',{attrs:{\"label\":\"I understand continuing will remove data from the profile and I will re-enter and maintain that data going forward\",\"color\":\"success\"},model:{value:(_vm.agreed),callback:function ($$v) {_vm.agreed=$$v},expression:\"agreed\"}}):_vm._e()],1)],1):(_vm.profileStatus === 'challenge')?_c('v-card-text',[_c('two-factor-auth',{ref:\"twoFactor\",attrs:{\"challenges\":_vm.claimStatus.challenges},on:{\"passed\":_vm.claimCheck}})],1):_c('v-card-text',[_c('v-alert',{attrs:{\"type\":\"error\",\"value\":true,\"text\":\"\",\"prominent\":\"\"}},[_vm._v(\" Sorry this profile has already been claimed. \")]),_c('div',[_vm._v(\" If you have more than 1 user account, please make sure you are logged into the correct account. If you feel this is a mistake or need any help please don't hesitate to contact us at \"),_c('a',{attrs:{\"href\":\"mailto:ProfileHelp@volleyballlife.com\"}},[_vm._v(\"ProfileHelp@Volleyballlife.com\")])]),_c('div',{staticClass:\"text-h3 text-center\"},[_vm._v(\" You've been blocked! \")]),_c('div',[_c('v-img',{attrs:{\"src\":\"https://vblimages.blob.core.windows.net/images/Blocking2.gif\",\"contain\":\"\"}})],1)],1),_c('v-card-actions',{staticClass:\"justify-end\"},[_c('v-fab-transition',[((_vm.userStatus > 0 && _vm.profileStatus === 'unclaimed') || (_vm.view && _vm.view.vbl))?_c('v-btn',{key:(\"key_\" + _vm.valid),attrs:{\"color\":\"success\",\"fab\":\"\",\"small\":\"\",\"disabled\":!_vm.valid,\"loading\":_vm.loading},on:{\"click\":function($event){$event.stopPropagation();return _vm.makeClaim($event)}}},[_c('v-icon',[_vm._v(\"fas fa-save\")])],1):_vm._e()],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <v-dialog\r\n v-model=\"open\"\r\n scrollable\r\n max-width=\"500px\"\r\n transition=\"dialog-transition\"\r\n >\r\n <template v-slot:activator=\"{ on }\">\r\n <v-btn\r\n color=\"color3 color3Text--text\"\r\n x-small text class=\"xsmall ma-0\"\r\n v-on=\"on\"\r\n >\r\n Is this you?{{view && view.vblx ? ` - ${profileStatus} ${player && player.users ? player.users.length : 0}` : ''}}\r\n </v-btn>\r\n </template>\r\n <v-card v-if=\"userStatus <= 0\">\r\n <v-card-text v-if=\"userStatus === 0\" class=\"pt-3\">\r\n <div class=\"text-h3 text-center\">\r\n You've been blocked!\r\n </div>\r\n <div>\r\n <v-img src=\"https://vblimages.blob.core.windows.net/images/Blocking2.gif\" contain></v-img>\r\n </div>\r\n <v-alert type=\"error\" :value=\"true\" text prominent>\r\n You must be logged in to edit your player profile\r\n </v-alert>\r\n </v-card-text>\r\n <v-card-text v-if=\"userStatus === -1\" class=\"pt-3\">\r\n <div class=\"title mb-2 text-center\">\r\n Verify it's you\r\n </div>\r\n <div class=\"subheading mb-2\">\r\n {{user.firstName}}, before you can claim a profile, you must have a verified email address or mobile number on file.\r\n </div>\r\n <contact-add\r\n ref=\"addContact\"\r\n ></contact-add>\r\n </v-card-text>\r\n </v-card>\r\n <v-card v-else>\r\n <v-toolbar color=\"color1 color1Text--text\">\r\n <v-toolbar-title>Claim This Profile</v-toolbar-title>\r\n <v-spacer></v-spacer>\r\n <v-btn color=\"color2 color2Text--text\" small fab @click.stop=\"open = false\">\r\n <v-icon>fas fa-times</v-icon>\r\n </v-btn>\r\n </v-toolbar>\r\n <loading-bar :value=\"loading\"></loading-bar>\r\n <v-card-text v-if=\"profileStatus === 'loading'\" class=\"text-center\">\r\n <v-progress-circular indeterminate color=\"color3\" class=\"ma-13\"></v-progress-circular>\r\n </v-card-text>\r\n <v-card-text v-else-if=\"profileStatus === 'unclaimed' || (view && view.vbl)\">\r\n <v-text-field\r\n label=\"User Id\"\r\n color=\"color3\"\r\n v-model=\"id\"\r\n v-if=\"user.vbl\"\r\n ></v-text-field>\r\n <div v-else class=\"title\">\r\n What is your relationship to {{player ? player.firstName : ''}}?\r\n </div>\r\n <v-select\r\n label=\"Relationship to player\"\r\n color=\"color3\"\r\n item-color=\"color3\"\r\n :items=\"[{text: 'I am the player', value: 'Self'}, 'Parent', 'Coach', 'Club Director']\"\r\n v-model=\"relation\"\r\n ></v-select>\r\n <v-alert :value=\"!!relation\" text type=\"error\" prominent border=\"top\" transition=\"scale-transition\">\r\n For privacy reason, all non-public information will be deleted from {{player ? player.firstName : ''}}'s' profile\r\n and <b>you will need to re-enter the information after you complete this claim</b>. Please check\r\n the box below acknowledging you have fully read this.\r\n </v-alert>\r\n <v-expand-transition>\r\n <v-checkbox\r\n v-if=\"!!relation\"\r\n label=\"I understand continuing will remove data from the profile and I will re-enter and maintain that data going forward\"\r\n v-model=\"agreed\"\r\n color=\"success\"\r\n ></v-checkbox>\r\n </v-expand-transition>\r\n </v-card-text>\r\n <v-card-text v-else-if=\"profileStatus === 'challenge'\">\r\n <two-factor-auth :challenges=\"claimStatus.challenges\" ref=\"twoFactor\" @passed=\"claimCheck\"></two-factor-auth>\r\n </v-card-text>\r\n <v-card-text v-else>\r\n <v-alert type=\"error\" :value=\"true\" text prominent>\r\n Sorry this profile has already been claimed.\r\n </v-alert>\r\n <div>\r\n If you have more than 1 user account, please make sure you are logged into the correct account.\r\n If you feel this is a mistake or need any help please don't hesitate to contact us at <a href=\"mailto:ProfileHelp@volleyballlife.com\">ProfileHelp@Volleyballlife.com</a>\r\n </div>\r\n <div class=\"text-h3 text-center\">\r\n You've been blocked!\r\n </div>\r\n <div>\r\n <v-img src=\"https://vblimages.blob.core.windows.net/images/Blocking2.gif\" contain></v-img>\r\n </div>\r\n </v-card-text>\r\n <v-card-actions class=\"justify-end\">\r\n <v-fab-transition>\r\n <v-btn\r\n v-if=\"(userStatus > 0 && profileStatus === 'unclaimed') || (view && view.vbl)\"\r\n :key=\"`key_${valid}`\"\r\n color=\"success\"\r\n fab small\r\n :disabled=\"!valid\"\r\n :loading=\"loading\"\r\n @click.stop=\"makeClaim\"\r\n >\r\n <v-icon>fas fa-save</v-icon>\r\n </v-btn>\r\n </v-fab-transition>\r\n </v-card-actions>\r\n </v-card>\r\n </v-dialog>\r\n</template>\r\n\r\n<script>\r\nimport { mapGetters } from 'vuex'\r\nimport ContactAdd from '@/components/Account/ContactAdd'\r\nconst TwoFactorAuth = () => import('@/components/Account/TwoFactorAuth.vue')\r\n\r\nexport default {\r\n props: ['player', 'playerProfileId', 'view'],\r\n data () {\r\n return {\r\n open: false,\r\n loading: false,\r\n relation: null,\r\n agreed: false,\r\n claimStatus: false\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(['user']),\r\n valid () {\r\n return this.agreed && this.relation\r\n },\r\n profileStatus () {\r\n if (!this.claimStatus) return 'loading'\r\n return this.claimStatus.canClaim ? this.claimStatus.challenges.length > 0 ? 'challenge' : 'unclaimed' : 'claimed'\r\n },\r\n userStatus () {\r\n // return -1\r\n if (!this.user) return 0 // 'No User'\r\n if (!this.user.hasVerifiedContact) return -1 // 'Need Verification'\r\n return 13\r\n },\r\n dto () {\r\n return {\r\n id: this.player.ppId,\r\n userId: this.user.vbl ? this.id : this.user.id,\r\n relation: this.relation,\r\n request: false,\r\n requestNote: null\r\n }\r\n }\r\n },\r\n methods: {\r\n fetchUsers () {\r\n this.loading = true\r\n this.$VBL.player.users.get(this.playerProfileId)\r\n .then(r => {\r\n this.users = r.data\r\n })\r\n .catch(e => { console.log(e.response) })\r\n .finally(() => {\r\n this.loading = false\r\n })\r\n },\r\n claimCheck () {\r\n this.loading = true\r\n this.$VBL.player.users.claimCheck(this.playerProfileId)\r\n .then(r => {\r\n this.claimStatus = r.data\r\n })\r\n .catch(e => { console.log(e.response) })\r\n .finally(() => {\r\n this.loading = false\r\n })\r\n },\r\n makeClaim () {\r\n this.loading = true\r\n this.$VBL.player.users.makeClaim(this.dto)\r\n .then(r => {\r\n this.open = false\r\n this.$emit('just-claimed')\r\n })\r\n .catch(e => console.log(e.response))\r\n .finally(f => {\r\n this.loading = false\r\n })\r\n },\r\n reset () {\r\n this.relation = null\r\n this.agreed = null\r\n this.claimStatus = false\r\n }\r\n },\r\n watch: {\r\n open: function (val) {\r\n val && this.claimCheck()\r\n this.id = null\r\n this.relation = null\r\n if (!val) {\r\n this.reset()\r\n this.$refs.twoFactor && this.$refs.twoFactor.reset()\r\n }\r\n },\r\n 'user.id': 'claimCheck'\r\n },\r\n components: {\r\n ContactAdd,\r\n TwoFactorAuth\r\n },\r\n mounted () {\r\n if (this.$route.query.claim === 'true') {\r\n this.open = true\r\n // this.$router.replace({ query: null })\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClaimDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClaimDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ClaimDialog.vue?vue&type=template&id=cc41d95c&scoped=true&\"\nimport script from \"./ClaimDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ClaimDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"cc41d95c\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VFabTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VAlert,VBtn,VCard,VCardActions,VCardText,VCheckbox,VDialog,VExpandTransition,VFabTransition,VIcon,VImg,VProgressCircular,VSelect,VSpacer,VTextField,VToolbar,VToolbarTitle})\n","export default {\r\n bids: {\r\n aau: 'https://vblimages.blob.core.windows.net/images/Badges/badge_aau_bid.png',\r\n aaubob: 'https://vblimages.blob.core.windows.net/images/f51de7ab-e99b-4f05-81ff-45830ca7804f.png',\r\n aauwcjo: 'https://vblimages.blob.core.windows.net/images/d9a6c50f-c59a-4b3e-8c6a-dc283c83d82a.png',\r\n bvne: 'https://vblimages.blob.core.windows.net/images/Badges/badge_bvne_bid.png',\r\n p1440: 'https://vblimages.blob.core.windows.net/images/Badges/badge_p1440_bid.png',\r\n bomb: 'https://vblimages.blob.core.windows.net/images/97493bee-776b-477e-b1c9-ea7a4352d864.png',\r\n avpa: 'https://vblimages.blob.core.windows.net/images/eeaad91b-fef3-47a8-a163-1354a63a39a5.png',\r\n usav: 'https://vblimages.blob.core.windows.net/images/b1377311-fff3-4786-ad57-92e5adbc4798.png'\r\n },\r\n AAA: 'https://vblimages.blob.core.windows.net/images/Badges/badge_blue_AAA.png'\r\n}\r\n","<template>\r\n <div>\r\n <v-expand-transition>\r\n <v-card v-if=\"merged && !viewAnyway\">\r\n <v-card-text class=\"title text-center py-13\">\r\n <div>The profile you are looking for was a duplicate and is now merged.</div>\r\n <div>Find the merged profile at:</div>\r\n <v-btn color=\"color3\" text :to=\"merged\">\r\n {{mergedURL}}\r\n </v-btn>\r\n <div class=\"pt-6\">\r\n <v-btn color=\"color3\" text x-small v-if=\"user && user.vbl\" @click.stop=\"viewAnyway = true\">\r\n View profile anyway\r\n </v-btn>\r\n </div>\r\n </v-card-text>\r\n </v-card>\r\n </v-expand-transition>\r\n <v-expand-transition>\r\n <v-card v-if=\"!(merged && !viewAnyway)\" color=\"grey lighten-3\" flat light tile>\r\n <v-toolbar :color=\"!embeded ? 'color2 color2Text--text' : ''\" :dense=\"embeded\">\r\n <v-toolbar-title class=\"title\">{{name}}</v-toolbar-title>\r\n <v-spacer></v-spacer>\r\n <v-fab-transition>\r\n <v-btn\r\n v-if=\"player && view.vblx\"\r\n color=\"color1 color1Text--text\"\r\n fab small\r\n @click.stop=\"getFullProfile(true)\"\r\n :loading=\"fullLoading\"\r\n class=\"ma-0\"\r\n >\r\n <v-icon small>fas fa-redo-alt</v-icon>\r\n </v-btn>\r\n </v-fab-transition>\r\n <v-fab-transition>\r\n <v-btn\r\n v-if=\"player && view.admin\"\r\n color=\"color3 color3Text--text\"\r\n fab small\r\n :id=\"window\"\r\n @click.stop=\"editClick\"\r\n :loading=\"fullLoading\"\r\n class=\"ma-0\"\r\n >\r\n <v-icon small v-if=\"window !== 1\">fas fa-cog</v-icon>\r\n <v-icon small v-else>fas fa-portrait</v-icon>\r\n </v-btn>\r\n </v-fab-transition>\r\n </v-toolbar>\r\n <loading-bar :value=\"loading || fullLoading\"></loading-bar>\r\n <!-- Admin Status And Membership Stuff -->\r\n <v-expand-transition>\r\n <v-container fluid class=\"py-0\">\r\n <v-expand-transition>\r\n <v-row dense v-if=\"!view.admin\">\r\n <v-col cols=\"12\" class=\"caption my-0 pa-0\">\r\n <claim-dialog\r\n :player=\"player\"\r\n :playerProfileId=\"playerProfileId\"\r\n @just-claimed=\"onClaimed\">\r\n </claim-dialog>\r\n </v-col>\r\n </v-row>\r\n </v-expand-transition>\r\n <v-row dense v-if=\"view.vbl\"><!-- VBL ADMIN STUFF -->\r\n <v-col cols=\"12\" class=\"caption my-1 pa-0 d-flex justify-space-between\">\r\n <claim-dialog\r\n :player=\"player\"\r\n :playerProfileId=\"playerProfileId\"\r\n :view=\"view\"\r\n @just-claimed=\"onClaimed\"\r\n ></claim-dialog>\r\n <ntdp-optin\r\n v-if=\"player && player.recruitFields && view.self && !noNtdp\"\r\n :player=\"player\"\r\n ></ntdp-optin>\r\n\r\n <!-- {{view}} -->\r\n </v-col>\r\n </v-row>\r\n <v-divider v-if=\"player && player.recruitFields && view.self && !noNtdp\"></v-divider>\r\n <!-- MEMBERSHIP STUFF -->\r\n <v-row dense v-if=\"memberId && theme.membership\">\r\n <v-col cols=\"12\" class=\"title pb-0\" style=\"display: inline-flex; align-items: center;\">\r\n Member {{memberId}}\r\n <v-skeleton-loader\r\n :loading=\"statusLoading\"\r\n transition=\"scale-transition\"\r\n type=\"chip\"\r\n class=\"ml-3\"\r\n >\r\n <v-chip\r\n :class=\"{clickable: !!(userMember)}\"\r\n :color=\"`${mStatus && mStatus.status === 'Active' ? 'success' : 'error'} white--text`\"\r\n @click.stop=\"goto('membership')\"\r\n >\r\n {{mStatus ? mStatus.status : ''}}\r\n </v-chip>\r\n\r\n </v-skeleton-loader>\r\n <v-btn\r\n v-if=\"memberBtn && currentStep.type !== 'membership' && window !== 2\"\r\n color=\"color3 color3Text--text\"\r\n @click.stop=\"goto('membership')\"\r\n text\r\n >\r\n {{ memberBtn }}\r\n </v-btn>\r\n </v-col>\r\n <v-col cols=\"12\" class=\"grey--text text--lighten-1 pt-0\">\r\n <v-skeleton-loader\r\n :loading=\"statusLoading\"\r\n transition=\"scale-transition\"\r\n :class=\"statusLoading ? 'py-3' : null\"\r\n width=\"150\"\r\n height=\"24\"\r\n type=\"text\"\r\n >\r\n <div>{{mStatus ? mStatus.level : ''}} Member</div>\r\n </v-skeleton-loader>\r\n </v-col>\r\n <!-- RENEW BUTTON-->\r\n <v-expand-transition>\r\n <v-col cols=\"12\" v-if=\"memberBtn && currentStep.type !== 'membership' && false\">\r\n <v-btn\r\n v-if=\"window !== 2\"\r\n color=\"color3 color3Text--text\"\r\n block\r\n @click.stop=\"goto('membership')\"\r\n >\r\n {{ memberBtn }}\r\n </v-btn>\r\n </v-col>\r\n </v-expand-transition>\r\n </v-row>\r\n <!-- END MEMBERSHIP STUFF -->\r\n </v-container>\r\n </v-expand-transition>\r\n <v-window v-model=\"window\" touchless>\r\n <v-window-item v-for=\"s in steps\" :key=\"s.key\">\r\n <!-- Profile -->\r\n <profile-display\r\n v-if=\"s.key === 0\"\r\n :player=\"player\"\r\n :profilePic=\"profilePic\"\r\n :userStatus=\"userStatus\"\r\n :permitted=\"permitted\"\r\n :view=\"view\"\r\n :loading=\"loading || fullLoading\"\r\n :bidBadges=\"bids\"\r\n ></profile-display>\r\n\r\n <!-- Editor -->\r\n <template v-if=\"view.admin\">\r\n <!-- Reg Info -->\r\n <v-card-text v-if=\"s.type === 'basic'\" class=\"pt-0\" :class=\"$vuetify.breakpoint.xsOnly ? 'pa-0' : ''\">\r\n <profile-editor\r\n v-if=\"player\"\r\n :player=\"player\"\r\n :active=\"window === s.key\"\r\n :view=\"view\"\r\n ></profile-editor>\r\n </v-card-text>\r\n <!-- Membership -->\r\n <v-card-text v-else-if=\"s.type === 'membership'\" class=\"pt-0\" :class=\"$vuetify.breakpoint.xsOnly ? 'pa-0' : ''\">\r\n <v-btn\r\n color=\"color3\"\r\n text small\r\n @click.stop=\"window = 0\"\r\n >\r\n <v-icon class=\"mr-2\" small>fas fa-chevron-left</v-icon>\r\n Back to profile\r\n </v-btn>\r\n <membership-manager\r\n ref=\"levelSelector\"\r\n :program=\"program\"\r\n :loading=\"programLoading || fullLoading\"\r\n :member=\"member\"\r\n :active=\"window === s.key\"\r\n @add-level=\"getProgram\"\r\n @status-change=\"getMemberStatus\"\r\n ></membership-manager>\r\n </v-card-text>\r\n </template>\r\n </v-window-item>\r\n </v-window>\r\n <!-- Profile Nav -->\r\n <v-bottom-navigation\r\n v-if=\"view.admin && window > 0 && false\"\r\n fixed shift\r\n :input-value=\"window > 0\"\r\n v-model=\"window\"\r\n background-color=\"color2 color2Text--text\"\r\n height=\"56\"\r\n >\r\n <v-btn v-for=\"step in steps.filter(f => !f.hide)\" :key=\"step.key\" :value=\"step.key\" color=\"color2Text--text\">\r\n <span>{{step.text}}</span>\r\n <v-icon>{{step.icon}}</v-icon>\r\n </v-btn>\r\n </v-bottom-navigation>\r\n </v-card>\r\n </v-expand-transition>\r\n <div class=\"text-center\" v-if=\"user && user.vbl && !(merged && !viewAnyway)\">\r\n <v-select\r\n :items=\"['Self', 'Coach']\"\r\n v-model=\"viewSelect\"\r\n label=\"View As\"\r\n color=\"color3\"\r\n item-color=\"color3\"\r\n ></v-select>\r\n </div>\r\n <ntdp-drawer v-if=\"user && user.ntdp && window === 0\" :player=\"player\" :view=\"view\"></ntdp-drawer>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport * as mutations from '../../store/MutationTypes'\r\nimport { mapGetters } from 'vuex'\r\nimport ClaimDialog from '@/components/Player/ClaimDialog'\r\nimport ProfileDisplay from '@/components/Player/ProfileDisplay'\r\nimport PlayerProfile from '@/classes/PlayerProfile'\r\nimport { firstBy } from 'thenby'\r\nimport badges from '@/classes/Badges'\r\nconst MembershipManager = () => import('@/components/Membership/Member/MembershipManager.vue')\r\nconst ProfileEditor = () => import('@/components/Player/Editor/ProfileEditor.vue')\r\nconst NtdpDrawer = () => import('@/New/NtdpDrawer.vue')\r\nconst NtdpOptin = () => import('@/New/NtdpOptin')\r\n\r\nexport default {\r\n props: ['playerProfileId', 'sbid', 'playerName', 'embeded', 'memberId', 'profilePic'],\r\n data () {\r\n return {\r\n player: null,\r\n tab: 1,\r\n loading: false,\r\n programLoading: false,\r\n statusLoading: false,\r\n permitting: false,\r\n window: 0,\r\n profile: null,\r\n fullLoading: false,\r\n mStatus: null,\r\n program: null,\r\n permitted: false,\r\n profileFull: false,\r\n viewSelect: 'Self',\r\n start: null,\r\n claimed: false,\r\n bids: [],\r\n viewAnyway: false\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(['user', 'publicView', 'subdomain', 'theme', 'connectionId']),\r\n noNtdp () {\r\n return this.theme && this.theme.props.includes('no-ntdp')\r\n },\r\n view () {\r\n return this.viewSelect === 'Coach' ? {\r\n vbl: false,\r\n admin: false,\r\n public: false,\r\n college: true,\r\n allAdmin: false\r\n } : {\r\n vbl: this.user && this.user.vbl && !this.publicView,\r\n admin: this.userStatus === 13 && !this.publicView,\r\n public: this.publicView,\r\n college: this.user && this.user.isCollegeCoach && !this.publicView && this.player && this.player.isJunior,\r\n td: this.user && this.user.isTD,\r\n self: this.user && this.player && this.player.users && this.player.users.includes(this.user.id),\r\n get allAdmin () {\r\n return this.vbl || this.admin || this.college || this.td\r\n }\r\n }\r\n },\r\n merged () {\r\n return this.player && this.player.profileType && this.player.profileType.toLowerCase().startsWith('merge') && this.player.profileType.replace('Merged with ', '')\r\n },\r\n mergedURL () {\r\n return this.merged && `${window.location.origin}/player/${this.merged}`\r\n },\r\n name () {\r\n return this.player ? this.player.fullname : this.playerName\r\n },\r\n fullProfile () {\r\n return this.player\r\n },\r\n profileStatus () {\r\n return this.player && this.player.users && this.player.users.length ? 'Claimed' : 'Unclaimed'\r\n },\r\n userMember () {\r\n return this.user && this.user.member\r\n },\r\n userStatus () {\r\n if (!this.user) return 0 // 'No User'\r\n // if (this.user.vbl && !this.publicView) return 13 // 'VBL Admin'\r\n if (!!this.userMember && this.userMember.id === this.memberId) return 13\r\n return this.permitted || (this.player && this.player.users && this.player.users.includes(this.user.id)) ? 13 : 0 // 'Permitted' : 'Nor Permitted'\r\n },\r\n memberBtn () {\r\n // if ((this.userMember || (this.user && this.user.vbl)) && this.mStatus) {\r\n console.log(this.userMember)\r\n if (this.member && this.mStatus) {\r\n return this.mStatus.status === 'Expired' ? 'Renew Now!' : this.mStatus.status === 'Inactive' ? 'Activate Your Membership' : 'Extend Your Membership'\r\n }\r\n return null\r\n },\r\n member () {\r\n if (this.userStatus && this.mStatus && this.player) {\r\n const m = new PlayerProfile(this.$VBL, this.player.basicInfoDto)\r\n m.id = this.mStatus.id\r\n m.level = this.mStatus.level\r\n m.levelId = this.mStatus.levelId\r\n m.status = this.mStatus.status\r\n return m\r\n }\r\n return null\r\n },\r\n steps () {\r\n var i = 0\r\n return [\r\n {\r\n key: i++,\r\n icon: 'fas fa-user-circle',\r\n text: 'Profile'\r\n },\r\n {\r\n key: i++,\r\n title: 'Tournament Registration Info',\r\n icon: 'fas fa-money-check-edit',\r\n type: 'basic',\r\n text: 'Edit'\r\n },\r\n {\r\n key: i++,\r\n title: 'Privacy Settings',\r\n icon: 'fas fa-cog',\r\n type: 'settings',\r\n text: 'Privacy'\r\n },\r\n {\r\n key: i++,\r\n title: 'Key Volleyball Metrics',\r\n icon: 'fas fa-volleyball-ball',\r\n type: 'metrics',\r\n text: 'Volleyball'\r\n },\r\n {\r\n key: i++,\r\n title: 'Acadmeic Information',\r\n icon: 'fas fa-user-graduate',\r\n type: 'academics',\r\n text: 'Academics',\r\n hide: this.player && !this.player.recruitFields\r\n },\r\n {\r\n key: i++,\r\n title: 'Additional Contacts',\r\n icon: 'fas fa-users-medical',\r\n text: 'Contacts',\r\n type: 'contacts',\r\n hide: this.player && !this.player.isJunior && !this.player.recruitFields\r\n },\r\n {\r\n key: i++,\r\n icon: 'fas fa-users-cog',\r\n text: 'Membership',\r\n type: 'membership',\r\n hide: !this.member\r\n }\r\n ]\r\n },\r\n btmNav () {\r\n return this.window > 0\r\n },\r\n currentStep () {\r\n return this.steps.find(f => f.key === this.window)\r\n },\r\n gradYear () {\r\n return this.player && this.player.gradYear && this.player.recruitFields ? this.player.gradYear : ''\r\n }\r\n },\r\n methods: {\r\n editClick () {\r\n if (this.window === 1) {\r\n this.window = 0\r\n return\r\n }\r\n if (this.userStatus !== 13) {\r\n this.$refs.dialog.open = true\r\n return\r\n }\r\n this.goto(1)\r\n },\r\n onClaimed () {\r\n console.log('onClaimed')\r\n this.claimed = true\r\n },\r\n getFullProfile (force) {\r\n return new Promise((resolve, reject) => {\r\n if (this.profileFull && !force) return resolve()\r\n this.fullLoading = true\r\n this.$VBL.player.getProfile(this.playerProfileId, this.memberId, true)\r\n .then(r => {\r\n this.player.update(r.data)\r\n this.profileFull = true\r\n resolve()\r\n })\r\n .catch(e => {\r\n console.log(e.response)\r\n reject(e)\r\n })\r\n .finally(() => { this.fullLoading = false })\r\n })\r\n },\r\n getProfile () {\r\n console.log('getProfile')\r\n this.loading = true\r\n if (this.memberId && this.theme.membership) this.getMemberStatus()\r\n if (!this.playerName) {\r\n this.$store.commit(mutations.LOADING, 'finishes.get')\r\n }\r\n\r\n this.$VBL.player.getProfile(this.playerProfileId, this.memberId)\r\n .then(response => {\r\n this.player = new PlayerProfile(this.$VBL, response.data)\r\n })\r\n .catch(error => {\r\n console.log(error.response)\r\n })\r\n .finally(() => {\r\n this.loading = false\r\n this.$store.commit(mutations.LOADING_COMPLETE, 'member-levels')\r\n this.$store.commit(mutations.LOADING_COMPLETE, 'finishes.get')\r\n })\r\n },\r\n memberCheck () {\r\n return new Promise((resolve, reject) => {\r\n if (this.theme.membership && this.$route.name === 'player-profile') {\r\n this.$VBL.http.get(`/membership/check/${this.playerProfileId}`)\r\n .then(r => {\r\n if (r.data) {\r\n const newParams = Object.apply({}, this.$route.params)\r\n newParams.id = newParams.memberId = r.data\r\n return resolve({ name: 'member-profile', params: newParams, query: this.$route.query })\r\n } else {\r\n return resolve()\r\n }\r\n })\r\n } else {\r\n return resolve()\r\n }\r\n })\r\n },\r\n bidCheck () {\r\n console.log('getBids')\r\n this.$VBL.player.getBids(this.player.id)\r\n .then(r => {\r\n this.bids = []\r\n r.data.sort(firstBy('sb')).forEach(m => {\r\n if (m.sb.toLowerCase() === 'aaux') {\r\n this.bids.push(...m.tournaments.map(t => {\r\n const sb = t.name.toLowerCase().includes('west') ? 'aauWCJO' : 'aauBob'\r\n return {\r\n sb: sb,\r\n src: badges.bids[sb.toLowerCase()],\r\n tournaments: [t]\r\n }\r\n }))\r\n } else {\r\n m.src = badges.bids[m.sb.toLowerCase()]\r\n m.tournaments.forEach(t => {\r\n const x = m.sb.toLowerCase() === 'aau' ? t.name.toLowerCase().includes('west') ? 'aauWCJO' : 'aauBob' : null\r\n if (x) t.src = badges.bids[x.toLowerCase()]\r\n })\r\n this.bids.push(m)\r\n }\r\n })\r\n this.bids = this.bids.filter(f => !!f.src)\r\n })\r\n .catch(error => {\r\n console.log(error.response)\r\n })\r\n },\r\n getMemberStatus () {\r\n this.statusLoading = true\r\n this.$VBL.get.members(this.subdomain, this.memberId)\r\n .then(r => {\r\n this.mStatus = r.data && r.data.length === 1 && r.data[0]\r\n this.statusLoading = false\r\n })\r\n },\r\n getProgram (add) {\r\n return new Promise((resolve, reject) => {\r\n if ((this.program && !add) || !this.userStatus || !this.subdomain) return resolve()\r\n this.programLoading = true\r\n this.$VBL.get.membership(this.subdomain, add)\r\n .then(r => {\r\n this.program = r.data\r\n this.program.levels && this.program.levels.sort(firstBy('order'))\r\n resolve()\r\n })\r\n .catch(e => {\r\n console.log(e.response)\r\n reject(e)\r\n })\r\n .finally(() => {\r\n this.programLoading = false\r\n })\r\n })\r\n },\r\n goto (i) {\r\n if (typeof i === 'string') {\r\n const m = this.steps.find(f => f.type === i)\r\n i = m.key\r\n }\r\n if (this.userStatus === 0) return\r\n const a = this.getProgram()\r\n const b = this.getFullProfile()\r\n Promise.all([a, b]).then(() => {\r\n this.$nextTick(() => {\r\n this.window = i\r\n })\r\n })\r\n },\r\n permit () {\r\n this.permitting = true\r\n this.$VBL.player.permit(this.playerProfileId, this.memberId)\r\n .then(r => {\r\n if (r.data) {\r\n this.permitted = true\r\n } else {\r\n this.permitted = false\r\n }\r\n })\r\n .finally(() => { this.permitting = false })\r\n }\r\n },\r\n watch: {\r\n '$route.query.levels': function (v) {\r\n if (v) {\r\n this.goto(9)\r\n this.$router.replace(this.$route.path)\r\n }\r\n },\r\n user: function (val) {\r\n this.getProfile()\r\n if (val && this.userStatus === 0) {\r\n this.permit()\r\n }\r\n },\r\n tab: function (v) {\r\n this.window = v\r\n },\r\n player: function (v) {\r\n if (v && this.user && this.userStatus === 0) {\r\n this.permit()\r\n }\r\n },\r\n userStatus: function (n, o) {\r\n n && this.start && this.goto(this.start)\r\n },\r\n permitted: function (v) {\r\n v && this.claimed && this.editClick()\r\n },\r\n 'player.id': 'bidCheck'\r\n },\r\n mounted () {\r\n this.start = this.$route.query.tab\r\n this.memberCheck()\r\n .then(r => {\r\n if (r) {\r\n this.$router.replace(r)\r\n } else {\r\n this.getProfile()\r\n }\r\n })\r\n },\r\n components: {\r\n ProfileDisplay,\r\n ClaimDialog,\r\n MembershipManager,\r\n ProfileEditor,\r\n NtdpDrawer,\r\n NtdpOptin\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.link {\r\n text-decoration: underline;\r\n font-weight: 700;\r\n cursor: pointer;\r\n}\r\ntd {\r\n padding: 0 4px !important;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProfileHome.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProfileHome.vue?vue&type=script&lang=js&\"","// Styles\nimport './VBottomNavigation.sass'\n\n// Mixins\nimport Applicationable from '../../mixins/applicationable'\nimport ButtonGroup from '../../mixins/button-group'\nimport Colorable from '../../mixins/colorable'\nimport Measurable from '../../mixins/measurable'\nimport Proxyable from '../../mixins/proxyable'\nimport Scrollable from '../../mixins/scrollable'\nimport Themeable from '../../mixins/themeable'\nimport { factory as ToggleableFactory } from '../../mixins/toggleable'\n\n// Utilities\nimport mixins from '../../util/mixins'\nimport { breaking } from '../../util/console'\n\n// Types\nimport { VNode } from 'vue'\n\nexport default mixins(\n Applicationable('bottom', [\n 'height',\n 'inputValue',\n ]),\n Colorable,\n Measurable,\n ToggleableFactory('inputValue'),\n Proxyable,\n Scrollable,\n Themeable\n /* @vue/component */\n).extend({\n name: 'v-bottom-navigation',\n\n props: {\n activeClass: {\n type: String,\n default: 'v-btn--active',\n },\n backgroundColor: String,\n grow: Boolean,\n height: {\n type: [Number, String],\n default: 56,\n },\n hideOnScroll: Boolean,\n horizontal: Boolean,\n inputValue: {\n type: Boolean,\n default: true,\n },\n mandatory: Boolean,\n shift: Boolean,\n },\n\n data () {\n return {\n isActive: this.inputValue,\n }\n },\n\n computed: {\n canScroll (): boolean {\n return (\n Scrollable.options.computed.canScroll.call(this) &&\n (\n this.hideOnScroll ||\n !this.inputValue\n )\n )\n },\n classes (): object {\n return {\n 'v-bottom-navigation--absolute': this.absolute,\n 'v-bottom-navigation--grow': this.grow,\n 'v-bottom-navigation--fixed': !this.absolute && (this.app || this.fixed),\n 'v-bottom-navigation--horizontal': this.horizontal,\n 'v-bottom-navigation--shift': this.shift,\n }\n },\n styles (): object {\n return {\n ...this.measurableStyles,\n transform: this.isActive ? 'none' : 'translateY(100%)',\n }\n },\n },\n\n created () {\n /* istanbul ignore next */\n if (this.$attrs.hasOwnProperty('active')) {\n breaking('active.sync', 'value or v-model', this)\n }\n },\n\n methods: {\n thresholdMet () {\n this.isActive = !this.isScrollingUp\n this.$emit('update:input-value', this.isActive)\n },\n updateApplication (): number {\n return this.$el\n ? this.$el.clientHeight\n : 0\n },\n updateValue (val: any) {\n this.$emit('change', val)\n },\n },\n\n render (h): VNode {\n const data = this.setBackgroundColor(this.backgroundColor, {\n staticClass: 'v-bottom-navigation',\n class: this.classes,\n style: this.styles,\n props: {\n activeClass: this.activeClass,\n mandatory: Boolean(\n this.mandatory ||\n this.value !== undefined\n ),\n value: this.internalValue,\n },\n on: { change: this.updateValue },\n })\n\n if (this.canScroll) {\n data.directives = data.directives || []\n\n data.directives.push({\n arg: this.scrollTarget,\n name: 'scroll',\n value: this.onScroll,\n })\n }\n\n return h(ButtonGroup, this.setTextColor(this.color, data), this.$slots.default)\n },\n})\n","import { render, staticRenderFns } from \"./ProfileHome.vue?vue&type=template&id=1de4c541&scoped=true&\"\nimport script from \"./ProfileHome.vue?vue&type=script&lang=js&\"\nexport * from \"./ProfileHome.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ProfileHome.vue?vue&type=style&index=0&id=1de4c541&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1de4c541\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBottomNavigation } from 'vuetify/lib/components/VBottomNavigation';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpandTransition } from 'vuetify/lib/components/transitions';\nimport { VFabTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSkeletonLoader } from 'vuetify/lib/components/VSkeletonLoader';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\nimport { VWindow } from 'vuetify/lib/components/VWindow';\nimport { VWindowItem } from 'vuetify/lib/components/VWindow';\ninstallComponents(component, {VBottomNavigation,VBtn,VCard,VCardText,VChip,VCol,VContainer,VDivider,VExpandTransition,VFabTransition,VIcon,VRow,VSelect,VSkeletonLoader,VSpacer,VToolbar,VToolbarTitle,VWindow,VWindowItem})\n","const emailRegex = /(^$|^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$)/\r\n\r\nexport default function (val) {\r\n return emailRegex.test(val)\r\n}\r\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactAdd.vue?vue&type=style&index=0&id=e6e0464a&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactAdd.vue?vue&type=style&index=0&id=e6e0464a&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"pa-0\",attrs:{\"fluid\":\"\"}},[_c('v-window',{attrs:{\"touchless\":\"\"},model:{value:(_vm.window),callback:function ($$v) {_vm.window=$$v},expression:\"window\"}},[_c('v-window-item',{attrs:{\"value\":0}},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"title text-center\",attrs:{\"cols\":\"12\"}},[_vm._v(\" Which would you like to verify? \")])],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\"}},[_c('v-btn',{attrs:{\"color\":\"color3 color3Text--text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.selectType('Email')}}},[_vm._v(\"Email\")])],1)],1),_c('v-row',{staticClass:\"my-3\"},[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\",\"md\":\"10\",\"offset-md\":\"1\",\"sm\":\"8\",\"offset-sm\":\"2\"}},[_c('h2',{staticClass:\"lined\"},[_c('span',[_vm._v(\"Or\")])])])],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\"}},[_c('v-btn',{attrs:{\"color\":\"color3 color3Text--text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.selectType('Mobile Phone')}}},[_vm._v(\"Mobile Phone\")])],1)],1)],1),_c('v-window-item',{attrs:{\"value\":1}},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"subtitle-1\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.contactType === 'Email' ? 'Enter the email address you would like to verify' : 'Enter the phone nummber you would like to verify (must be sms ready)')+\" and we will send a verification code. \")])],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[(_vm.contactType === 'Email')?_c('v-text-field',{key:\"tb_email\",attrs:{\"label\":\"Email\",\"color\":\"color3\",\"hint\":\"Enter the email address you would like to verify\",\"persistent-hint\":\"\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}):_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:('(###) ###-####'),expression:\"'(###) ###-####'\"}],key:\"tb_phone\",attrs:{\"label\":\"Mobile Phone\",\"color\":\"color3\",\"hint\":\"Enter the phone nummber you would like to verify (must be sms ready)\",\"persistent-hint\":\"\"},model:{value:(_vm.phone),callback:function ($$v) {_vm.phone=$$v},expression:\"phone\"}})],1),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\"}},[_c('v-btn',{attrs:{\"color\":\"success white--text\",\"disabled\":!_vm.validContact,\"loading\":_vm.loading},on:{\"click\":function($event){$event.stopPropagation();return _vm.sendCode($event)}}},[_vm._v(\"Send Code\")])],1)],1)],1),_c('v-window-item',{attrs:{\"value\":2}},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"title\"},[_vm._v(\"Enter the verficiation code\")]),(!_vm.skip)?_c('div',[_vm._v(\"We just sent \"+_vm._s(_vm.contactType === 'Mobile Phone' ? 'a text message' : 'an email')+\" with a fresh verification code\")]):_vm._e(),_c('div',{staticClass:\"caption\"},[_vm._v(\"Note: only the last code issued will be valid and codes are only good for 10 minutes\")]),_c('v-text-field',{directives:[{name:\"mask\",rawName:\"v-mask\",value:('######'),expression:\"'######'\"}],attrs:{\"label\":\"Verification Code\",\"color\":\"color3\"},model:{value:(_vm.vCode),callback:function ($$v) {_vm.vCode=$$v},expression:\"vCode\"}}),_c('v-alert',{attrs:{\"type\":\"error\",\"value\":!!_vm.codeError,\"text\":\"\",\"prominent\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.codeError)+\" \")]),_c('div',{staticClass:\"text-center pb-3\"},[_c('v-btn',{attrs:{\"color\":\"color3 color3Text--text\",\"disabled\":!_vm.validCode,\"loading\":_vm.loading},on:{\"click\":function($event){$event.stopPropagation();return _vm.verifyCode($event)}}},[_vm._v(\"Go\")])],1),_c('div',{staticClass:\"caption text-center\"},[_vm._v(\"Didn't receive a code? \"),_c('span',{staticClass:\"clickable color3--text\",on:{\"click\":function($event){$event.stopPropagation();return _vm.reset($event)}}},[_vm._v(\"Try again.\")])])],1)],1)],1)],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-fab-transition',[(_vm.window > 0)?_c('v-btn',{attrs:{\"color\":\"color3Text color3--text\",\"small\":\"\",\"fab\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.reset($event)}}},[_c('v-icon',[_vm._v(\"fas fa-caret-left\")])],1):_vm._e()],1),_c('v-fab-transition',[(_vm.window === 0)?_c('v-btn',{attrs:{\"color\":\"color3\",\"text\":\"\",\"x-small\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.skipToCode($event)}}},[_vm._v(\"I already have a code\")]):_vm._e()],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <v-container fluid class=\"pa-0\">\r\n <v-window v-model=\"window\" touchless>\r\n\r\n <!-- Choose phone or email -->\r\n <v-window-item :value=\"0\">\r\n <v-row dense>\r\n <v-col cols=\"12\" class=\"title text-center\">\r\n Which would you like to verify?\r\n </v-col>\r\n </v-row>\r\n <v-row dense>\r\n <v-col cols=\"12\" class=\"text-center\">\r\n <v-btn color=\"color3 color3Text--text\" @click.stop=\"selectType('Email')\">Email</v-btn>\r\n </v-col>\r\n </v-row>\r\n <!-- BEGIN OR LINE -->\r\n <v-row class=\"my-3\">\r\n <v-col class=\"text-center\" cols=\"12\" md=\"10\" offset-md=\"1\" sm=\"8\" offset-sm=\"2\" >\r\n <h2 class=\"lined\"><span>Or</span></h2>\r\n </v-col>\r\n </v-row>\r\n <!-- END OR LINE -->\r\n <v-row dense>\r\n <v-col cols=\"12\" class=\"text-center\">\r\n <v-btn color=\"color3 color3Text--text\" @click.stop=\"selectType('Mobile Phone')\">Mobile Phone</v-btn>\r\n </v-col>\r\n </v-row>\r\n </v-window-item>\r\n\r\n <!-- Enter phone or email -->\r\n <v-window-item :value=\"1\">\r\n <v-row dense>\r\n <v-col cols=\"12\" class=\"subtitle-1\">\r\n {{contactType === 'Email' ? 'Enter the email address you would like to verify' : 'Enter the phone nummber you would like to verify (must be sms ready)'}} and we will send a verification code.\r\n </v-col>\r\n </v-row>\r\n <v-row dense>\r\n <v-col cols=\"12\">\r\n <v-text-field\r\n key=\"tb_email\"\r\n v-if=\"contactType === 'Email'\"\r\n v-model=\"email\"\r\n label=\"Email\"\r\n color=\"color3\"\r\n hint=\"Enter the email address you would like to verify\"\r\n persistent-hint\r\n ></v-text-field>\r\n <v-text-field\r\n v-else\r\n key=\"tb_phone\"\r\n v-model=\"phone\"\r\n label=\"Mobile Phone\"\r\n color=\"color3\"\r\n hint=\"Enter the phone nummber you would like to verify (must be sms ready)\"\r\n persistent-hint\r\n v-mask=\"'(###) ###-####'\"\r\n ></v-text-field>\r\n </v-col>\r\n <v-col cols=\"12\" class=\"text-center\">\r\n <v-btn\r\n color=\"success white--text\"\r\n :disabled=\"!validContact\"\r\n :loading=\"loading\"\r\n @click.stop=\"sendCode\"\r\n >Send Code</v-btn>\r\n </v-col>\r\n </v-row>\r\n </v-window-item>\r\n\r\n <!-- Enter verficiation code -->\r\n <v-window-item :value=\"2\">\r\n <v-row dense>\r\n <v-col cols=\"12\">\r\n <div class=\"title\">Enter the verficiation code</div>\r\n <div v-if=\"!skip\">We just sent {{contactType === 'Mobile Phone' ? 'a text message' : 'an email'}} with a fresh verification code</div>\r\n <div class=\"caption\">Note: only the last code issued will be valid and codes are only good for 10 minutes</div>\r\n <v-text-field\r\n label=\"Verification Code\"\r\n v-mask=\"'######'\"\r\n v-model=\"vCode\"\r\n color=\"color3\"\r\n ></v-text-field>\r\n <v-alert type=\"error\" :value=\"!!codeError\" text prominent>\r\n {{codeError}}\r\n </v-alert>\r\n <div class=\"text-center pb-3\">\r\n <v-btn\r\n color=\"color3 color3Text--text\"\r\n :disabled=\"!validCode\"\r\n @click.stop=\"verifyCode\"\r\n :loading=\"loading\"\r\n >Go</v-btn>\r\n </div>\r\n <div class=\"caption text-center\">Didn't receive a code? <span class=\"clickable color3--text\" @click.stop=\"reset\">Try again.</span></div>\r\n </v-col>\r\n </v-row>\r\n </v-window-item>\r\n </v-window>\r\n <v-row dense>\r\n <v-col cols=\"12\">\r\n <v-fab-transition>\r\n <v-btn\r\n v-if=\"window > 0\"\r\n color=\"color3Text color3--text\"\r\n small fab\r\n @click.stop=\"reset\"\r\n >\r\n <v-icon>fas fa-caret-left</v-icon>\r\n </v-btn>\r\n </v-fab-transition>\r\n <v-fab-transition>\r\n <v-btn\r\n color=\"color3\"\r\n text x-small\r\n @click.stop=\"skipToCode\"\r\n v-if=\"window === 0\"\r\n >I already have a code</v-btn>\r\n </v-fab-transition>\r\n </v-col>\r\n </v-row>\r\n </v-container>\r\n</template>\r\n\r\n<script>\r\nimport { mapGetters } from 'vuex'\r\nimport { mask } from 'vue-the-mask'\r\nimport ValidUSPhone from '@/helpers/ValidUSPhone'\r\nimport ValidEmail from '@/helpers/ValidEmail'\r\n\r\nexport default {\r\n directives: { mask },\r\n props: ['addType', 'contactIn'],\r\n data () {\r\n return {\r\n window: 0,\r\n contactType: null,\r\n email: null,\r\n phone: null,\r\n loading: false,\r\n vCode: null,\r\n codeError: null,\r\n skip: false\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(['user']),\r\n validContact () {\r\n return this.contactType && this.contactType === 'Email' ? (this.email && ValidEmail(this.email)) : (this.phone && ValidUSPhone(this.phone))\r\n },\r\n validCode () {\r\n return this.vCode && this.vCode.length === 6\r\n },\r\n dto () {\r\n return {\r\n contactType: this.contactType,\r\n contact: this.contactType === 'Email' ? this.email : this.phone.replace(/\\D/g, '')\r\n }\r\n }\r\n },\r\n methods: {\r\n selectType (t) {\r\n this.contactType = t\r\n this.window = 1\r\n },\r\n reset () {\r\n this.window = 0\r\n this.contactType = null\r\n this.phone = null\r\n this.email = null\r\n this.vCode = null\r\n this.codeError = null\r\n this.skip = false\r\n },\r\n skipToCode () {\r\n this.skip = true\r\n this.window = 2\r\n },\r\n sendCode () {\r\n if (this.validContact) {\r\n this.loading = true\r\n this.$VBL.user.contact.add(this.dto)\r\n .then(r => {\r\n this.window = 2\r\n })\r\n .catch(e => console.log(e))\r\n .finally(() => { this.loading = false })\r\n }\r\n },\r\n verifyCode () {\r\n if (this.validCode) {\r\n this.loading = true\r\n this.$VBL.user.contact.confirm(this.vCode)\r\n .then(r => {\r\n this.$emit('verified')\r\n this.reset()\r\n })\r\n .catch(e => {\r\n console.log(e)\r\n this.codeError = e.response.data.Message\r\n })\r\n .finally(() => { this.loading = false })\r\n }\r\n }\r\n },\r\n mounted () {\r\n if (this.addType) {\r\n this.selectType(this.addType)\r\n if (this.contactIn) {\r\n console.log('here')\r\n if (this.addType === 'Email') {\r\n this.email = this.contactIn\r\n } else {\r\n this.phone = this.contactIn\r\n }\r\n }\r\n }\r\n }\r\n}\r\n</script>\r\n<style scoped>\r\n h2.lined {\r\n border-bottom: 1px solid grey;\r\n line-height: 0.1em;\r\n }\r\n h2.lined span {\r\n padding: 0 10px;\r\n background: #fff\r\n }\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactAdd.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactAdd.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContactAdd.vue?vue&type=template&id=e6e0464a&scoped=true&\"\nimport script from \"./ContactAdd.vue?vue&type=script&lang=js&\"\nexport * from \"./ContactAdd.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ContactAdd.vue?vue&type=style&index=0&id=e6e0464a&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e6e0464a\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFabTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VWindow } from 'vuetify/lib/components/VWindow';\nimport { VWindowItem } from 'vuetify/lib/components/VWindow';\ninstallComponents(component, {VAlert,VBtn,VCol,VContainer,VFabTransition,VIcon,VRow,VTextField,VWindow,VWindowItem})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-btn',{attrs:{\"text\":\"\",\"icon\":\"\",\"loading\":_vm.booking},on:{\"click\":function($event){$event.stopPropagation();return _vm.bookMe($event)}}},[_c('v-icon',{attrs:{\"color\":_vm.color}},[_vm._v(\" fa\"+_vm._s(_vm.bookmarked ? 's' : 'r')+\" fa-heart \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <v-btn\r\n text icon\r\n @click.stop=\"bookMe\"\r\n :loading=\"booking\"\r\n >\r\n <v-icon :color=\"color\">\r\n fa{{bookmarked ? 's' : 'r'}} fa-heart\r\n </v-icon>\r\n </v-btn>\r\n</template>\r\n\r\n<script>\r\nimport { mapGetters } from 'vuex'\r\n\r\nexport default {\r\n props: ['ppid', 'color', 'type'],\r\n data () {\r\n return {\r\n booking: false\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(['user', 'darkColor', 'theme']),\r\n bookmarked () {\r\n return this.user && this.user.bookmarks && this.user.bookmarks.find(f => f.id === this.ppid && f.type === this.type)\r\n }\r\n },\r\n methods: {\r\n bookMe () {\r\n if (!this.user) {\r\n this.$emit('blocked', 'You must be logged in to favorite a player')\r\n return\r\n }\r\n this.booking = true\r\n this.$VBL.user.toggleBookmark(this.type, this.ppid)\r\n .catch(e => console.log(e.response))\r\n .finally(() => { this.booking = false })\r\n }\r\n }\r\n}\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookMark.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookMark.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BookMark.vue?vue&type=template&id=5a5059a4&\"\nimport script from \"./BookMark.vue?vue&type=script&lang=js&\"\nexport * from \"./BookMark.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VBtn,VIcon})\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProfileHome.vue?vue&type=style&index=0&id=1de4c541&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProfileHome.vue?vue&type=style&index=0&id=1de4c541&scoped=true&lang=css&\""],"sourceRoot":""}