1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52476],{51569:(e,n,i)=>{i.d(n,{B:()=>r});var t=i(12115);let r=e=>{let{onSpacebar:n,disabled:i=!1}=e,r=(0,t.useCallback)(e=>{i||"Space"!==e.code||(e.preventDefault(),n())},[n,i]);(0,t.useEffect)(()=>(window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)),[r])}},89555:(e,n,i)=>{i.d(n,{B$:()=>t,Sb:()=>u,WN:()=>m,Zo:()=>h,_T:()=>s,a2:()=>r,gl:()=>o,hX:()=>p,qH:()=>c,wl:()=>M,zO:()=>f});let t={P1:"Perfect Unison",m2:"Minor Second",M2:"Major Second",m3:"Minor Third",M3:"Major Third",P4:"Perfect Fourth",TT:"Tritone",P5:"Perfect Fifth",m6:"Minor Sixth",M6:"Major Sixth",m7:"Minor Seventh",M7:"Major Seventh",P8:"Perfect Octave",m9:"Minor Ninth",M9:"Major Ninth",m10:"Minor Tenth",M10:"Major Tenth",P11:"Perfect Eleventh",A11:"Augmented Eleventh",P12:"Perfect Twelfth",m13:"Minor Thirteenth",M13:"Major Thirteenth",m14:"Minor Fourteenth",M14:"Major Fourteenth",P15:"Perfect Fifteenth"},r={major:"Major",minor:"Minor",diminished:"Diminished",augmented:"Augmented",maj7:"Major 7th",min7:"Minor 7th",7:"Dominant 7th",m7b5:"Half-diminished 7th",dim7:"Diminished 7th",sus2:"Sus2",sus4:"Sus4",sus4b5:"Sus4 b5",maj6:"Major 6",min6:"Minor 6",majadd2:"Major Add 2",majadd4:"Major Add 4",majaddb6:"Major Add b6",minadd2:"Minor Add 2",minadd4:"Minor Add 4",minaddb6:"Minor Add b6",phrygian:"Phrygian",lydian:"Lydian",locrian:"Locrian",phrygianmajor:"Phrygian Major",phrygianminor:"Phrygian Minor",lydianmajor:"Lydian Major",lydianminor:"Lydian Minor",maj7sus2:"Major 7 Sus2",maj7sus4:"Major 7 Sus4","7sus4":"Dominant 7th Sus4",augmaj7:"Augmented Major 7th",dimmaj7:"Diminished Major 7th",minmaj7:"Minor Major 7th",lydiandom:"Lydian Dominant",phrygiandom:"Phrygian Dominant",phrygianmaj7:"Phrygian Major 7th",lydianmaj7:"Lydian Major 7th",maj9:"Major 9th","maj7#11":"Maj7#11",maj13:"Major 13th",min9:"Minor 9th",min11:"Minor 11th",min13:"Minor 13th",minmaj9:"Minor Major 9th",minmaj11:"Minor Major 11th",minmaj13:"Minor Major 13th"},o={major:"Major (Ionian)",dorian:"Dorian",phrygian:"Phrygian",lydian:"Lydian",mixolydian:"Mixolydian",aeolian:"Aeolian (Natural Minor)",locrian:"Locrian","harmonic-minor":"Harmonic Minor","melodic-minor":"Melodic Minor (Ascending)",dorianb2:"Dorian â2",lydianaugmented:"Lydian Augmented",lydiandominant:"Mixolydian #11",mixolydianb6:"Mixolydian â6",locriannatural2:"Locrian â®2",altered:"Altered Scale","melodic-minor-2":"Dorian â2 (Phrygian â®6)","melodic-minor-3":"Lydian Augmented","melodic-minor-4":"Lydian Dominant (Mixolydian â¯4)","melodic-minor-5":"Mixolydian â6 (Aeolian Dominant)","melodic-minor-6":"Locrian â®2 (Half-Diminished â®2)","melodic-minor-7":"Altered Scale (Super Locrian)",locrian6:"Locrian â®6",ionianaugmented:"Ionian Augmented","dorian#4":"Dorian â¯4",phrygiandominant:"Phrygian Dominant","lydian#2":"Lydian â¯2",alteredbb7:"Altered Dominant bb7",wholetone:"Whole Tone",diminished:"Diminished (Half-Whole)",diminished2:"Diminished (Whole-Half)","diminished(wh)":"Diminished (Whole-Half)","diminished(hw)":"Diminished (Half-Whole)",augmented:"Augmented Scale",majorpentatonic:"Major Pentatonic",minorpentatonic:"Minor Pentatonic",majorblues:"Major Blues",minorblues:"Minor Blues",majorbebop:"Major Bebop",minorbebop:"Minor Bebop",dominantbebop:"Dominant Bebop",melodicminorbebop:"Melodic Minor Bebop"},a={diminished:"diminished(hw)",diminished2:"diminished(wh)","melodic-minor-2":"dorianb2","melodic-minor-3":"lydianaugmented","melodic-minor-4":"lydiandominant","melodic-minor-5":"mixolydianb6","melodic-minor-6":"locriannatural2","melodic-minor-7":"altered"},d=Object.entries(a),l=new Set(d.map(e=>{let[n]=e;return n})),m=Object.keys(o).filter(e=>!l.has(e)),h=e=>d.filter(n=>{let[,i]=n;return i===e}).map(e=>{let[n]=e;return n}),s=e=>{var n;return null!==(n=a[e])&&void 0!==n?n:e},c=e=>{let n=new Set,i=[];return e.forEach(e=>{let t=s(e);n.has(t)||(n.add(t),i.push(t))}),i},u=e=>{let n={...e};return d.forEach(i=>{let[t,r]=i;e[t]&&(n[r]=!0)}),n},M=new Set(["major","minor","diminished","sus2","sus4","sus4b5"]),f=new Set(["maj7","min7","7","m7b5","dim7"]),p=e=>M.has(e)?3:f.has(e)?4:1},19966:(e,n,i)=>{i.d(n,{Ac:()=>r,Rm:()=>o,cd:()=>l,jR:()=>a,kS:()=>d});let t=()=>"vibrate"in navigator,r=()=>{if(t())try{navigator.vibrate(100)}catch(e){console.warn("Haptic feedback failed:",e)}},o=()=>
1{if(t())try{navigator.vibrate([80,50,80,50,80])}catch(e){console.warn("Haptic feedback failed:",e)}},a=()=>{if(t())try{navigator.vibrate(15)}catch(e){}},d=()=>{if(t())try{navigator.vibrate(30)}catch(e){}},l=()=>{if(t())try{navigator.vibrate([20,30,20])}catch(e){}}},25683:(e,n,i)=>{i.d(n,{N:()=>j});var t=i(95155),r=i(12115),o=i(64710),a=i(99234),d=i(35403),l=i(39656),m=i(27249);class h extends r.Component{getSnapshotBeforeUpdate(e){let n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){let e=n.offsetParent,i=e instanceof HTMLElement&&e.offsetWidth||0,t=this.props.sizeRef.current;t.height=n.offsetHeight||0,t.width=n.offsetWidth||0,t.top=n.offsetTop,t.left=n.offsetLeft,t.right=i-t.width-t.left}return null}componentDidUpdate(){}render(){return this.props.children}}function s(e){let{children:n,isPresent:i,anchorX:o}=e,a=(0,r.useId)(),d=(0,r.useRef)(null),l=(0,r.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,r.useContext)(m.Q);return(0,r.useInsertionEffect)(()=>{let{width:e,height:n,top:t,left:r,right:m}=l.current;if(i||!d.current||!e||!n)return;d.current.dataset.motionPopId=a;let h=document.createElement("style");return s&&(h.nonce=s),document.head.appendChild(h),h.sheet&&h.sheet.insertRule('\n [data-motion-pop-id="'.concat(a,'"] {\n position: absolute !important;\n width: ').concat(e,"px !important;\n height: ").concat(n,"px !important;\n ").concat("left"===o?"left: ".concat(r):"right: ".concat(m),"px !important;\n top: ").concat(t,"px !important;\n }\n ")),()=>{document.head.removeChild(h)}},[i]),(0,t.jsx)(h,{isPresent:i,childRef:d,sizeRef:l,children:r.cloneElement(n,{ref:d})})}let c=e=>{let{children:n,initial:i,isPresent:o,onExitComplete:d,custom:m,presenceAffectsLayout:h,mode:c,anchorX:M}=e,f=(0,a.M)(u),p=(0,r.useId)(),j=!0,y=(0,r.useMemo)(()=>(j=!1,{id:p,initial:i,isPresent:o,custom:m,onExitComplete:e=>{for(let n of(f.set(e,!0),f.values()))if(!n)return;d&&d()},register:e=>(f.set(e,!1),()=>f.delete(e))}),[o,f,d]);return h&&j&&(y={...y}),(0,r.useMemo)(()=>{f.forEach((e,n)=>f.set(n,!1))},[o]),r.useEffect(()=>{o||f.size||!d||d()},[o]),"popLayout"===c&&(n=(0,t.jsx)(s,{isPresent:o,anchorX:M,children:n})),(0,t.jsx)(l.t.Provider,{value:y,children:n})};function u(){return new Map}var M=i(85087);let f=e=>e.key||"";function p(e){let n=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&n.push(e)}),n}let j=e=>{let{children:n,custom:i,initial:l=!0,onExitComplete:m,presenceAffectsLayout:h=!0,mode:s="sync",propagate:u=!1,anchorX:j="left"}=e,[y,g]=(0,M.xQ)(u),b=(0,r.useMemo)(()=>p(n),[n]),v=u&&!y?[]:b.map(f),P=(0,r.useRef)(!0),w=(0,r.useRef)(b),S=(0,a.M)(()=>new Map),[x,D]=(0,r.useState)(b),[L,A]=(0,r.useState)(b);(0,d.E)(()=>{P.current=!1,w.current=b;for(let e=0;e<L.length;e++){let n=f(L[e]);v.includes(n)?S.delete(n):!0!==S.get(n)&&S.set(n,!1)}},[L,v.length,v.join("-")]);let E=[];if(b!==x){let e=[...b];for(let n=0;n<L.length;n++){let i=L[n],t=f(i);v.includes(t)||(e.splice(n,0,i),E.push(i))}return"wait"===s&&E.length&&(e=E),A(p(e)),D(b),null}let{forceRender:T}=(0,r.useContext)(o.L);return(0,t.jsx)(t.Fragment,{children:L.map(e=>{let n=f(e),r=(!u||!!y)&&(b===L||v.includes(n));return(0,t.jsx)(c,{isPresent:r,initial:(!P.current||!!l)&&void 0,custom:i,presenceAffectsLayout:h,mode:s,onExitComplete:r?void 0:()=>{if(!S.has(n))return;S.set(n,!0);let e=!0;S.forEach(n=>{n||(e=!1)}),e&&(null==T||T(),A(w.current),u&&(null==g||g()),m&&m())},anchorX:j,children:e},n)})})}}}]);
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.