PageSourceSearch

https://www.gitori.com/assets/FBG-308.DXQaT8nS.js

js gitori.com collected 2026-09-28 10:41:45 UTC 4,920 bytes, 1 lines download raw bytes

1import{_ as h}from"./CohortProgressDisplay.tzp6M6BG.js";import{_ as y}from"./BackgroundGalaxy.BJ2RzC2H.js";import{_ as v}from"./ChallengeDisplayFBG301.N844iZcE.js";import{_ as g}from"./Fretboard.Ba0Y6L-j.js";import{_ as S}from"./FilterSlideOverFBG301.CRrDCard.js";import{_ as C}from"./ChangeOrientation.QLkZZkIy.js";import{_ as b}from"./FetchAchievementsBeforeGameOver.B3DphhFp.js";import{i}from"./user.zwA28n-7.js";import{o as s,c as P,h as $,g as G,b as O,d as e,B,a4 as k,j as F}from"./entry.BXoBKzgO.js";import{a as I,b as H,u as w}from"./failures.0LWKwbY7.js";import{u as x}from"./score.BJ0P2qmI.js";import{a as M,u as o}from"./game.BC_Aqop3.js";import{u as A}from"./currentChallenge.mbdMP0oP.js";import{u as a}from"./useLeaderboard.Di1UGySt.js";import{u as D}from"./index.DlH4uHas.js";import{u as N}from"./consecutiveCorrectAnswers.BKFdHP_a.js";import{u as m}from"./useSavePercentageProgressInDatabase.DMqWew9o.js";import"./correctAnswersInCohort.CWBxvQI_.js";import"./BackButtonDesktop.xCjHD2cS.js";import"./AudioPlayMixin.CwjprL5Q.js";import"./notePlayer.DD0GCaL8.js";import"./index.Ibl7EI5x.js";import"./audio.C80kKfSg.js";import"./settings.Cdc07AqA.js";import"./uistate.CHgi35ls.js";import"./BackButtonMobile.CS55ZlfT.js";import"./BoxDisplayLargeTextScales.OK-6eEiG.js";import"./PitchDetection.DRg62jIF.js";import"./multiNoteState.DovpesZJ.js";import"./noteUtils.qMGmFM6_.js";import"./liveModeSensitivity.BaSWXQbd.js";import"./LiveModeSignalStrengthIndicators.DFHY0-3R.js";import"./TimeLeft.DNDPJFS8.js";import"./Lives.15KDJAU3.js";import"./FretSettings.BxaA-0cA.js";import"./memoryRecord.UWwacoZZ.js";import"./accompanyingCourse.CS_W2hWo.js";import"./guitarMajorScaleFifthPositionTuples.BvrdqCuA.js";import"./timer.DC9WC_fU.js";import"./index.B1lRv9sW.js";import"./NuxtParticles.vue.D15sM5FR.js";import"./noteForFretAllTunings.BC6ojPXo.js";import"./index.Djy5MAGS.js";import"./index.BQp1Dwlw.js";import"./index.DsIDSHS3.js";import"./index.Dl5xezoI.js";import"./tuning.CI4OCIan.js";import"./FireworksMixin.BpNxbKsr.js";import"./noteForFret.DXCpDxI0.js";import"./currentIndexOfMultiChordSelection.BIUYyEDB.js";import"./GrayGem.CjjQMp8A.js";import"./dynamic-import-helper.BxLOqBCD.js";import"./SettingsIcon.D-YYCnNC.js";import"./NotesLeft.q7Sy3T-H.js";import"./confetti-explosion.esm.CsIOM_D9.js";import"./fireworksConfigs.DZVQ8LkQ.js";import"./deviceCheck.BK3yVgLl.js";import"./GuitarStringSelector.Ct7eIEBW.js";import"./SelectedStringOverlay.Dza-rx1c.js";import"./ExclamationTriangleIcon.48gyoflo.js";import"./transition.DZk96Axv.js";import"./dom.BwFJYJrF.js";import"./hidden.DVDnSMlX.js";import"./use-outside-click.wr0GP8YP.js";import"./disposables.CJjoKbfW.js";import"./description.CPrX1dRJ.js";import"./switch.CuzwUyTm.js";import"./use-resolve-button-type.De7gHbCd.js";import"./use-controllable.D2pNZQll.js";import"./achievements.CRuDQW2T.js";import"./recentModules.eBPyC2Af.js";import"./timerDuration.BG1iu4wX.js";import"./usePosthog.D2_-x2_o.js";import"./dateUtils.HwxOqoFU.js";import"./percentageProgressBar.CKT2ynkg.js";const q={class:"mx-auto max-w-7xl level1Game"},E={data:function(){return{uuidOfPlayHistory:null}},mounted(){this.setCurrentGame(),D(),this.createPlayHistory(),this.clearConsecutiveCorrectAnswersStreak(),this.$route.query.practice==="true"&&o().enablePracticeMode(),I().reset(),x().reset(),H().reset(),A().reset(),this.$bus.$emit("nextChallenge"),o().startGame(),w().resetFailures(),m().completelyClearEverythingInCohortStore(),this.$bus.$on("gameOver",async()=>{o().endGame(),m().savePercentageProgressInDatabase({activityId:this.level,isPracticeMode:this.isPracticeMode}),i()&&await a().addScore(this.level,this.uuidOfPlayHistory),F(`/gameOver?gameId=${this.$route.name}`,{replace:!0})})},beforeUnmount(){this.$bus.$off("gameOver")},computed:{level(){return this.$route.name},isPracticeMode(){return this.$route.query.practice==="true"},options(){return{instrument:"Guitar",fretboardType:"multiNoteFretboard",headstock:!0,scale:"HarmonicMinor",uuidOfPlayHistory:this.uuidOfPlayHistory}}},methods:{setCurrentGame(){M().setGameId(this.$route.name)},async createPlayHistory(){if(!i()||this.$route.query.practice==="true")return;const{data:r,error:t}=await B().from("play_history").insert({user_id:k().value.id,game_id:this.level,name:a().getUserInfo().abbreviatedName,client_created_at:new Date().toISOString()}).select("id").single();if(t){console.error("Error creating play history:",t);return}this.uuidOfPlayHistory=r.id},clearConsecutiveCorrectAnswersStreak(){N().clearStreak()}}},me=Object.assign(E,{__name:"FBG-308",setup(r){return(t,n)=>{const p=h,u=y,c=v,l=g,_=S,d=C,f=b;return s(),P("div",null,[t.isPracticeMode?G("",!0):(s(),$(p,{key:0})),O("div",q,[e(u),e(c,{options:t.options},null,8,["options"]),e(l,{options:t.options},null,8,["options"]),e(_,{instrument:t.options.instrument,scale:t.options.scale},null,8,["instrument","scale"])]),e(d),e(f)])}}});
1export{me as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.