PageSourceSearch

https://axl-metronome.netlify.app/component---src-pages-index-tsx-c366d0eadfd2148eea28.js

js axl-metronome.netlify.app collected 2026-10-03 10:28:44 UTC 41,080 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{105:function(e,t,o){var n;e.exports=(n=o(140))&&n.default||n},139:function(e){e.exports={data:{site:{siteMetadata:{title:"Axl Metronome",description:"A metronome that increases/decreases tempo automatically. Stable tempo as usual is also supported of course.",author:"Takuya HARA"}}}}},140:function(e,t,o){"use strict";o.r(t);var n=o(11),s=o(0),i=o.n(s),r=o(26),a=o(2);t.default=function(e){var t=e.location,o=a.default.getResourcesForPathnameSync(t.pathname);return i.a.createElement(r.a,Object(n.a)({location:t,pageResources:o},o.json))}},170:function(e,t,o){"use strict";var n=o(139),s=o(0),i=o.n(s),r=o(171),a=o.n(r),u=(o(17),o(105),i.a.createContext({})),c=function(e){return i.a.createElement(u.Consumer,null,function(t){return e.data||t[e.query]&&t[e.query].data?(e.render||e.children)(e.data?e.data.data:t[e.query].data):i.a.createElement("div",null,"Loading (StaticQuery)")})};function p(e){var t=e.description,o=e.lang,s=e.meta,r=e.keywords,u=e.title;return i.a.createElement(c,{query:m,render:function(e){var n=t||e.site.siteMetadata.description;return i.a.createElement(a.a,{htmlAttributes:{lang:o},title:u,titleTemplate:"%s | ".concat(e.site.siteMetadata.title),meta:[{name:"description",content:n},{property:"og:title",content:u},{property:"og:description",content:n},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:creator",content:e.site.siteMetadata.author},{name:"twitter:title",content:u},{name:"twitter:description",content:n}].concat(r.length>0?{name:"keywords",content:r.join(", ")}:[]).concat(s)})},data:n})}p.defaultProps={lang:"en",meta:[],keywords:[]};t.a=p;var m="1025518380"},323:function(e,t,o){e.exports=o.p+"static/click-d61b1372eb5725e8b43b568ee6eef3c5.mp3"},349:function(e,t){},351:function(e,t){},383:function(e,t){},384:function(e,t){},453:function(e,t){},70:function(e,t,o){"use strict";o.r(t);var n,s=o(0),i=o.n(s),r=o(170),a=o(4),u=o(5),c=o(7),p=o(6),m=o(24),l=o(8),h=o(254),f=o.n(h),g=o(62),d=o.n(g),v=o(86),C=o.n(v),b=o(63),P=o.n(b),k=o(322),y=o.n(k),T=function(){function e(){Object(a.a)(this,e)}return Object(u.a)(e,null,[{key:"safeSubtraction",value:function(e,t){var o=-1===e.toString().indexOf(".")?0:e.toString().split(".")[1].length,n=-1===t.toString().indexOf(".")?0:t.toString().split(".")[1].length,s=o>n?o:n;return(e*Math.pow(10,s)-t*Math.pow(10,s))/Math.pow(10,s)}},{key:"inheritSelector",value:function(e,t){Object.keys(e).forEach(function(o){t[o]&&(e[o]=y()(e[o],t[o]))})}}]),e}(),S=function(e){function t(e){var o;return Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).state={tempoCurr:e.tempo},o.refDiv=Object(s.createRef)(),o.mouseMove=o.mouseMove.bind(Object(m.a)(o)),o.mouseUp=o.mouseUp.bind(Object(m.a)(o)),o.mouseDown=o.mouseDown.bind(Object(m.a)(o)),o.role=e.role,o.maxDelta=e.maxDelta,o.range=e.range,o.isTapped=!1,o.distFrom=0,o.tempoPrev=e.tempo,o.postChangeTempo=void 0!==e.onChangeTempo?e.onChangeTempo:function(){},o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"isPortrait",value:function(){return document.body.clientHeight>document.body.clientWidth}},{key:"mouseMove",value:function(e){var t="mouse"===e.type.substr(0,5);if(t&&e.preventDefault(),this.isTapped){var o=this.tempoPrev,n=t?e.clientX:e.changedTouches[0].clientX,s=t?e.clientY:e.changedTouches[0].clientY,i=this.isPortrait()?this.getDist(this.distFrom,n):this.getDist(s,this.distFrom),r=o+parseInt(i.toString());this.changeTempo(r)}}},{key:"mouseDown",value:function(e){var t="mouse"===e.type.substr(0,5);t&&e.preventDefault();var o=t?e.clientX:e.changedTouches[0].clientX,n=t?e.clientY:e.changedTouches[0].clientY;this.distFrom=this.isPortrait()?o:n,this.isTapped=!0,this.tempoPrev=this.state.tempoCurr}},{key:"mouseUp",value:function(e){"mouse"===e.type.substr(0,5)&&e.preventDefault(),this.isTapped=!1,this.tempoPrev=this.state.tempoCurr}},{key:"getBCRSize",value:function(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height}}},{key:"normalizeTempo",value:function(e){var t=e;return t<this.range.from?t=this.range.from:t>this.range.to&&(t=this.range.to),t}},{key:"getTempo",value:function(){return this.state.tempoCurr}},{key:"changeTempo",value:function(e,t){var o=this,n=this.normalizeTempo(e);this.setState({tempoCurr:n},function(){if(!t){var e=o;o.postChangeTempo(e)}})}},{key:"getDist",value:function(e,t){var o=this.refDiv.current,n=this.getBCRSize(o),s=n.width,i=n.height;return(t-e)/(this.isPortrait()?s:i)*this.maxDelta}},{key:"init",value:function(e){this.setState({tempoCurr:e.tempo}),this.role=e.role,this.maxDelta=e.maxDelta,this.range=e.range,this.isTapped=!1,this.distFrom=0,this.tempoPrev=e.tempo;var t=this.postChangeTempo;this.postChangeTempo=void 0!==e.onChangeTempo?e.onChangeTempo:t}},{key:"componentWillMount",value:function(){this.props.inheritedSelector&&T.inheritSelector(P.a,this.props.inheritedSelector)}},{key:"componentWillReceiveProps",value:function(e){if(!C.a.isEqual(this.props,e)){if(e.range.from>e.range.to)throw new RangeError("Range.from cannot be greater than Range.to.");if(e.tempo>e.range.to)throw new RangeError("Tempo cannot be greater than Range.to.");if(e.tempo<e.range.from)throw new RangeError("Tempo cannot be less than Range.from.");this.init(e)}}},{key:"render",value:function(){return i.a.createElement("div",{ref:this.refDiv,className:P.a[this.role],onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseMove:this.mouseMove,onTouchStart:this.mouseDown,onTouchEnd:this.mouseUp,onTouchMove:this.mouseMove},i.a.createElement("span",null,this.state.tempoCurr))}}]),t}(s.Component),R=o(64),O=o.n(R),j=function(e){function t(e){var o;return Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).state={},o.postChangeTempo=e.postProcess&&e.postProcess.onChangeTempo?e.postProcess.onChangeTempo:function(e){},o.onChangeTempo=o.onChangeTempo.bind(Object(m.a)(o)),o.refTempoFrom=Object(s.createRef)(),o.refTempoTo=Object(s.createRef)(),o.defaultTempo=e.defaultTempo,o.range=e.range,o.maxDelta=e.maxDelta,o.isDescEnabled=void 0!==e.isDescEnabled&&e.isDescEnabled,o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"verifyTempo",value:function(e){var t=this.refTempoFrom.current,o=this.refTempoTo.current;parseInt(t.getTempo().toString())>parseInt(o.getTempo().toString())&&this.getPeer(e.props.role).changeTempo(e.getTempo(),!0)}},{key:"onChangeTempo",value:function(e){!this.isDescEnabled&&this.verifyTempo(e),this.postChangeTempo(this.getChildrenTempo())}},{key:"getPeer",value:function(e){var t=this.refTempoFrom.current;return{from:this.refTempoTo.current,to:t}[e]}},{key:"getChildren",value:function(){return{from:this.refTempoFrom.current,to:this.refTempoTo.current}}},{key:"getChildrenTempo",value:function(){var e=this.getChildren();return{from:e.from.getTempo(),to:e.to.getTempo()}}},{key:"init",value:function(e){this.defaultTempo=e.defaultTempo,this.range=e.range,this.maxDelta=e.maxDelta;var t=this.isDescEnabled;this.isDescEnabled=void 0!==e.isDescEnabled?e.isDescEnabled:t;var o=this.refTempoFrom.current,n=this.refTempoTo.current;o.init({role:"from",tempo:e.defaultTempo.from,maxDelta:e.maxDelta,range:e.range}),n.init({role:"to",tempo:e.defaultTempo.to,maxDelta:e.maxDelta,range:e.range})}},{key:"componentWillMount",value:function(){this.props.inheritedSelector&&T.inheritSelector(O.a,this.props.inheritedSelector)}},{key:"componentWillReceiveProps",value:function(e){if(!C.a.isEqual(this.props,e)){if(e.range.from>e.range.to)throw new RangeError("Range.from cannot be greater than Range.to.");if(!e.isDescEnabled&&e.defaultTempo.from>e.defaultTempo.to)throw new RangeError("DefaultTempo.From cannot be greater than DefaultTempo.To 
1when isDescEnabled is false.");this.init(e)}}},{key:"render",value:function(){return i.a.createElement("div",{className:O.a.tempoSelector},i.a.createElement(S,{ref:this.refTempoFrom,role:"from",tempo:this.defaultTempo.from,range:this.range,maxDelta:this.maxDelta,onChangeTempo:this.onChangeTempo,inheritedSelector:O.a}),i.a.createElement(S,{ref:this.refTempoTo,role:"to",tempo:this.defaultTempo.to,range:this.range,maxDelta:this.maxDelta,onChangeTempo:this.onChangeTempo,inheritedSelector:O.a}))}}]),t}(s.Component),M=o(65),I=o.n(M),D=function(e){function t(e){var o;return Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).state={remaining:e.timeToCount},o.postClick=e.postProcess&&e.postProcess.onClick?e.postProcess.onClick:function(e){},o.postTouchEnd=e.postProcess&&e.postProcess.onTouchEnd?e.postProcess.onTouchEnd:function(e){},o.onClick=o.onClick.bind(Object(m.a)(o)),o.onTouchEnd=o.onTouchEnd.bind(Object(m.a)(o)),o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"onClick",value:function(e){this.postClick(e)}},{key:"onTouchEnd",value:function(e){this.postTouchEnd(e)}},{key:"formatTime",value:function(e){var t=Math.floor(e/60),o=Math.floor(e%60);return(t<10?"0"+t:""+t)+":"+(o<10?"0"+o:""+o)}},{key:"setRemaining",value:function(e){this.setState({remaining:e})}},{key:"init",value:function(e){this.setState({remaining:e.timeToCount})}},{key:"componentWillMount",value:function(){this.props.inheritedSelector&&T.inheritSelector(I.a,this.props.inheritedSelector)}},{key:"componentWillReceiveProps",value:function(e){C.a.isEqual(this.props,e)||this.init(e)}},{key:"render",value:function(){var e=this.formatTime(Math.round(this.state.remaining));return i.a.createElement("div",{className:I.a.indicator,onClick:this.onClick,onTouchEnd:this.onTouchEnd},i.a.createElement("div",{className:I.a.remaining},e))}}]),t}(s.Component);!function(e){e.Running="Running",e.Stopped="Stopped",e.Paused="Paused"}(n||(n={}));var E=n,w=function(e){function t(e){var o;return Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).postCount=e.postProcess&&e.postProcess.onCount?e.postProcess.onCount:function(e){},o.postCountStart=e.postProcess&&e.postProcess.onCountStart?e.postProcess.onCountStart:function(){},o.postCountStop=e.postProcess&&e.postProcess.onCountStop?e.postProcess.onCountStop:function(){},o.postCountPause=e.postProcess&&e.postProcess.onCountPause?e.postProcess.onCountPause:function(){},o.postCountResume=e.postProcess&&e.postProcess.onCountResume?e.postProcess.onCountResume:function(){},o.postCountComplete=e.postProcess&&e.postProcess.onCountComplete?e.postProcess.onCountComplete:function(){},o.timerRunner=o.timerRunner.bind(Object(m.a)(o)),o.status=E.Stopped,o.remaining=e.timeToCount,o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"isTimerCompleted",value:function(e){return e<0}},{key:"timerRunner",value:function(){this.remaining--,this.isTimerCompleted(this.remaining)?(this.stop(),this.postCountComplete()):this.postCount(this.remaining)}},{key:"start",value:function(){this.timerId=setInterval(this.timerRunner,1e3),this.postCountStart(),this.status=E.Running}},{key:"stop",value:function(){clearInterval(this.timerId),this.postCountStop(),this.status=E.Stopped,this.remaining=this.props.timeToCount}},{key:"pause",value:function(){clearInterval(this.timerId),this.postCountPause(),this.status=E.Paused}},{key:"resume",value:function(){this.timerId=setInterval(this.timerRunner,1e3),this.postCountResume(),this.status=E.Running}},{key:"getStatus",value:function(){return this.status}},{key:"getTimeToCount",value:function(){return this.props.timeToCount}},{key:"setProgress",value:function(e){this.remaining=Math.round(this.props.timeToCount*T.safeSubtraction(1,e))}},{key:"getProgress",value:function(){return T.safeSubtraction(1,this.remaining/this.props.timeToCount)}},{key:"toggle",value:function(){switch(this.status){case E.Running:this.pause();break;case E.Paused:this.resume();break;case E.Stopped:this.start()}}},{key:"init",value:function(e){clearInterval(this.timerId),this.status=E.Stopped,this.remaining=e.timeToCount}},{key:"componentWillUnmount",value:function(){clearInterval(this.timerId)}},{key:"componentWillReceiveProps",value:function(e){C.a.isEqual(this.props,e)||this.init(e)}},{key:"render",value:function(){return null}}]),t}(i.a.Component),B=function(e){function t(e){var o;return Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).state={t
1imeToCount:e.timeToCount},o.refRemaining=Object(s.createRef)(),o.refTimer=Object(s.createRef)(),o.onClick=o.onClick.bind(Object(m.a)(o)),o.onCount=o.onCount.bind(Object(m.a)(o)),o.onCountStart=o.onCountStart.bind(Object(m.a)(o)),o.onCountStop=o.onCountStop.bind(Object(m.a)(o)),o.onCountPause=o.onCountPause.bind(Object(m.a)(o)),o.onCountResume=o.onCountResume.bind(Object(m.a)(o)),o.onCountComplete=o.onCountComplete.bind(Object(m.a)(o)),o.postCount=e.postProcess&&e.postProcess.onCount?e.postProcess.onCount:function(e){},o.postCountStart=e.postProcess&&e.postProcess.onCountStart?e.postProcess.onCountStart:function(){},o.postCountStop=e.postProcess&&e.postProcess.onCountStop?e.postProcess.onCountStop:function(){},o.postCountPause=e.postProcess&&e.postProcess.onCountPause?e.postProcess.onCountPause:function(){},o.postCountResume=e.postProcess&&e.postProcess.onCountResume?e.postProcess.onCountResume:function(){},o.postCountComplete=e.postProcess&&e.postProcess.onCountComplete?e.postProcess.onCountComplete:function(){},o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"onClick",value:function(e){this.refTimer.current.toggle()}},{key:"onCount",value:function(e){this.refRemaining.current.setRemaining(e),this.postCount(e)}},{key:"onCountStart",value:function(){this.postCountStart()}},{key:"onCountStop",value:function(){this.postCountStop()}},{key:"onCountPause",value:function(){this.postCountPause()}},{key:"onCountResume",value:function(){this.postCountResume()}},{key:"onCountComplete",value:function(){this.refRemaining.current.setRemaining(this.props.timeToCount),this.postCountComplete()}},{key:"toggle",value:function(){this.refTimer.current.toggle()}},{key:"start",value:function(){this.refTimer.current.start()}},{key:"stop",value:function(){this.refTimer.current.stop()}},{key:"pause",value:function(){this.refTimer.current.pause()}},{key:"resume",value:function(){this.refTimer.current.resume()}},{key:"getTimeToCount",value:function(){return this.refTimer.current.getTimeToCount()}},{key:"setProgress",value:function(e){var t=this.refRemaining.current,o=this.refTimer.current;t.setRemaining(Math.round((1-e)*this.props.timeToCount)),o.setProgress(e)}},{key:"getProgress",value:function(){return this.refTimer.current.getProgress()}},{key:"getStatus",value:function(){return this.refTimer.current.getStatus()}},{key:"init",value:function(e){this.stop(),this.setState({timeToCount:e.timeToCount});var t=this.refRemaining.current,o=this.refTimer.current;t.init({timeToCount:e.timeToCount}),o.init({timeToCount:e.timeToCount})}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillReceiveProps",value:function(e){C.a.isEqual(this.props,e)||this.init(e)}},{key:"render",value:function(){return i.a.createElement(i.a.Fragment,null,i.a.createElement(D,{ref:this.refRemaining,timeToCount:this.state.timeToCount,postProcess:{onClick:this.onClick,onTouchEnd:this.onClick},inheritedSelector:this.props.inheritedSelector}),i.a.createElement(w,{ref:this.refTimer,timeToCount:this.state.timeToCount,postProcess:{onCount:this.onCount,onCountStart:this.onCountStart,onCountStop:this.onCountStop,onCountPause:this.onCountPause,onCountResume:this.onCountResume,onCountComplete:this.onCountComplete}}))}}]),t}(s.Component),x=o(552),A=o(66),U=o.n(A),W=function(e){function t(e){var o;return Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).step=e.step,o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"mouseMove",value:function(e){var t="mouse"===e.type.substr(0,5);if(t&&e.preventDefault(),this.state.isTapped){var o=t?e.clientX:e.changedTouches[0].clientX,n=t?e.clientY:e.changedTouches[0].clientY,s=this.getRatio(o,n),i=Math.floor(s*this.step)/this.step;this.setProgress(i),this.postMouseMove(e)}}},{key:"mouseDown",value:function(e){var t="mouse"===e.type.substr(0,5);t&&e.preventDefault();var o=t?e.clientX:e.changedTouches[0].clientX,n=t?e.clientY:e.changedTouches[0].clientY,s=this.getRatio(o,n),i=Math.floor(s*this.step)/this.step;this.setProgress(i),this.postMouseDown(e),this.setState({isTapped:!0})}},{key:"init",value:function(e){Object(x.a)(Object(p.a)(t.prototype),"init",this).call(this),this.step=e.step}},{key:"componentWillReceiveProps",value:function(e){C.a.isEqual(this.props,e)||(this.init(e),this.reset())}}]),t}(function(e){function t(e){var o;return Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).progress=0,o.state={strokeDasharray:"",isTapped:!1},o.refRing=Object(s.createRef)(),o.refMask=Object(s.createRef)(),o.postMouseMove=e.mouseEvent?e.mouseEvent.onMouseMove:function(){},o.postMouseDown=e.mouseEvent?e.mouseEvent.onMouseDown:function(){},o.postMouseUp=e.mouseEvent?e.mouseEvent.onMouseUp:function(){},o.mouseMove=o.mouseMove.bind(Object(m.a)(o)),o.mouseUp=o.mouseUp.bind(Object(m.a)(o)),o.mouseDown=o.mouseDown.bind(Object(m.a)(o)),o.progress=0,o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"getBoundingClientRect",value:function(e){return e.getBoundingClientRect()}},{key:"getRatio",value:function(e,t){var o=this.refRing.current,n=this.getBoundingClientRect(o),s={x:e-(n.x+n.width/2),y:t-(n.y+n.height/2)};return(180*Math.atan2(s.y,s.x)/Math.PI+180)/360}},{key:"mouseMove",value:function(e){var t="mouse"===e.type.substr(0,5);if(t&&e.preventDefault(),this.state.isTapped){var o=t?e.clientX:e.changedTouches[0].clientX,n=t?e.clientY:e.changedTouches[0].clientY,s=this.getRatio(o,n);this.setProgress(s),this.postMouseMove(e)}}},{key:"mouseDown",value:function(e){var t="mouse"===e.type.substr(0,5);t&&e.preventDefault();var o=t?e.clientX:e.changedTouches[0].clientX,n=t?e.clientY:e.changedTouches[0].clientY,s=this.getRatio(o,n);this.setProgress(s),this.postMouseDown(e),this.setState({isTapped:!0})}},{key:"mouseUp",value:function(e){"mouse"===e.type.substr(0,5)&&e.preventDefault(),this.postMouseUp(e),this.setState({isTapped:!1})}},{key:"getR",value:function(e){return parseInt(getComputedStyle(e).getPropertyValue("r"))}},{key:"updateStrokeDasharray",value:function(){var e=this.refMask.current,t=2*this.getR(e)*Math.PI,o=this.progress*t+" "+t;this.setState({strokeDasharray:o})}},{key:"reset",value:function(){this.setProgress(0)}},{key:"setProgress",value:function(e){this.progress=e,this.updateStrokeDasharray()}},{key:"getProgress",value:function(){return this.progress}},{key:"init",value:function(){this.reset()}},{key:"componentWillMount",value:function(){this.props.inheritedSelector&&T.inheritSelector(U.a,this.props.inheritedSelector)}},{key:"componentDidMount",value:function(){this.updateStrokeDasharray()}},{key:"render",value:function(){return i.a.createElement("div",{className:U.a.r
1ing},i.a.createElement("svg",{ref:this.refRing},i.a.createElement("defs",null,i.a.createElement("radialGradient",{gradientUnits:"userSpaceOnUse",id:"maskGradient",spreadMethod:"reflect"},i.a.createElement("stop",{offset:"30%"}),i.a.createElement("stop",{offset:"100%"}))),i.a.createElement("circle",{className:U.a.remaining}),i.a.createElement("circle",{ref:this.refMask,className:U.a.mask,stroke:"url(#maskGradient)",strokeDasharray:this.state.strokeDasharray}),i.a.createElement("circle",{className:U.a.tapArea,onMouseDown:this.mouseDown,onTouchStart:this.mouseDown,onTouchMove:this.mouseMove,onTouchEnd:this.mouseUp}),i.a.createElement("circle",{className:U.a.tapAreaMask})),i.a.createElement("div",{className:U.a.globalTapArea,"data-is-bubbled":this.state.isTapped,onMouseMove:this.mouseMove,onMouseUp:this.mouseUp}))}}]),t}(s.Component)),F=o(67),N=o.n(F),q=function(e){function t(e){var o;return Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).isDragging=!1,o.refIndicator=Object(s.createRef)(),o.refRing=Object(s.createRef)(),o.postProcess={Ring:{onMouseDown:e.postProcess&&e.postProcess.Ring&&e.postProcess.Ring.onMouseDown?e.postProcess.Ring.onMouseDown:function(e){},onMouseMove:e.postProcess&&e.postProcess.Ring&&e.postProcess.Ring.onMouseMove?e.postProcess.Ring.onMouseMove:function(e){},onMouseUp:e.postProcess&&e.postProcess.Ring&&e.postProcess.Ring.onMouseUp?e.postProcess.Ring.onMouseUp:function(e){}},Indicator:{onCount:e.postProcess&&e.postProcess.Indicator&&e.postProcess.Indicator.onCount?e.postProcess.Indicator.onCount:function(){},onCountStart:e.postProcess&&e.postProcess.Indicator&&e.postProcess.Indicator.onCountStart?e.postProcess.Indicator.onCountStart:function(){},onCountStop:e.postProcess&&e.postProcess.Indicator&&e.postProcess.Indicator.onCountStop?e.postProcess.Indicator.onCountStop:function(){},onCountPause:e.postProcess&&e.postProcess.Indicator&&e.postProcess.Indicator.onCountPause?e.postProcess.Indicator.onCountPause:function(){},onCountResume:e.postProcess&&e.postProcess.Indicator&&e.postProcess.Indicator.onCountResume?e.postProcess.Indicator.onCountResume:function(){},onCountComplete:e.postProcess&&e.postProcess.Indicator&&e.postProcess.Indicator.onCountComplete?e.postProcess.Indicator.onCountComplete:function(){}}},o.onRingMouseDown=o.onRingMouseDown.bind(Object(m.a)(o)),o.onRingMouseMove=o.onRingMouseMove.bind(Object(m.a)(o)),o.onRingMouseUp=o.onRingMouseUp.bind(Object(m.a)(o)),o.onIndicatorCount=o.onIndicatorCount.bind(Object(m.a)(o)),o.onIndicatorCountStart=o.onIndicatorCountStart.bind(Object(m.a)(o)),o.onIndicatorCountStop=o.onIndicatorCountStop.bind(Object(m.a)(o)),o.onIndicatorCountPause=o.onIndicatorCountPause.bind(Object(m.a)(o)),o.onIndicatorCountResume=o.onIndicatorCountResume.bind(Object(m.a)(o)),o.onIndicatorCountComplete=o.onIndicatorCountComplete.bind(Object(m.a)(o)),o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"onRingMouseDown",value:function(e){var t=this.refRing.current,o=this.refIndicator.current,n=t.getProgress();this.setProgress(n),o.getStatus()===E.Running&&(o.pause(),this.isDragging=!0),this.postProcess.Ring.onMouseDown(e)}},{key:"onRingMouseMove",value:function(e){var t=this.refRing.current.getProgress();this.setProgress(t),this.postProcess.Ring.onMouseMove(e)}},{key:"onRingMouseUp",value:function(e){var t=this.refIndicator.current;this.isDragging&&(t.resume(),this.isDragging=!1),this.postProcess.Ring.onMouseUp(e)}},{key:"onIndicatorCount",value:function(){var e=this.refRing.current,t=this.refIndicator.current;e.setProgress(t.getProgress()),this.postProcess.Indicator.onCount()}},{key:"onIndicatorCountStart",value:function(){this.postProcess.Indicator.onCountStart()}},{key:"onIndicatorCountStop",value:function(){this.postProcess.Indicator.onCountStop()}},{key:"onIndicatorCountPause",value:function(){this.postProcess.Indicator.onCountPause()}},{key:"onIndicatorCountResume",value:function(){this.postProcess.Indicator.onCountResume()}},{key:"onIndicatorCountComplete",value:function(){this.refRing.current.reset(),this.postProcess.Indicator.onCountComplete()}},{key:"start",value:function(){this.refIndicator.current.start()}},{key:"stop",value:function(){var e=this.refIndicator.current,t=this.refRing.current;e.stop(),t.reset()}},{key:"pause",value:function(){this.refIndicator.current.pause()}},{key:"resume",value:function(){this.refIndicator.current.resume()}},{key:"setProgress",value:function(e){var t=this.refRing.current,o=this.refIndicator.current;t.setProgress(e),o.setProgress(e)}},{key:"getProgress",value:function(){return this.refRing.current.getProgress()}},{key:"getStatus",value:function(){return this.refIndicator.current.getStatus()}},{key:"init",value:function(e){var t=this.refRing.current,o=this.refIndicator.current;t.init({step:e.remaining}),o.init({timeToCount:e.remaining})}},{key:"componentWillMount",value:function(){this.props.inheritedSelector&&T.inheritSelector(N.a,this.props.inheritedSelector)}},{key:"componentWillReceiveProps",value:function(e){C.a.isEqual(this.props,e)||this.init(e)}},{key:"render",value:function(){return i.a.createElement("div",{className:N.a.time},i.a.createElement(W,{ref:this.refRing,step:this.props.remaining,mouseEvent:{onMouseMove:this.onRingMouseMove,onMouseDown:this.onRingMouseDown,onMouseUp:this.onRingMouseUp},inheritedSelector:N.a}),i.a.createElement(B,{ref:this.refIndicator,timeToCount:this.props.remaining,postProcess:{onCount:this.onIndicatorCount,onCountStart:this.onIndicatorCountStart,onCountStop:this.onIndicatorCountStop,onCountPause:this.onIndicatorCountPause,onCountResume:this.onIndicatorCountResume,onCountComplete:this.onIndicatorCountComplete},inheritedSelector:N.a}))}}]),t}(s.Component),L=o(11),X=o(68),Y=o.n(X),z=o(323),J=o.n(z),_=function(){function e(){Object(a.a)(this,e),this.isStartCalled=!1,this.load(J.a)}return Object(u.a)(e,[{key:"load",value:function(e){var t=this;"undefined"!=typeof window&&fetch(e).then(function(e){return e.arrayBuffer()}).catch(function(e){console.log(e)}).then(function(e){t.ctx=new(window.AudioContext||window.webkitAudioContext),t.ctx.decodeAudioData(e,function(e){t.audioBuffer=e,t.createBufferSource()})}.bind(this)).catch(function(e){console.log(e)})}},{key:"createBufferSource",value:function(){var e=this.ctx,t=e.createBufferSource();t.buffer=this.audioBuffer,t.connect(e.destination),this.audioSource=t}},{key:"getAudioSource",value:function(){return this.audioSource}},{key:"start",value:function(){this.createBufferSource(),this.getAudioSource().start(),this.isStartCalled=!0}},{key:"stop",value:function(){var e=this.getAudioSource();e&&(this.isStartCalled&&(e.stop(),this.isStartCalled=!1),e.disconnect())}}],[{key:"getSoundPlayer",value:function(){return this.instance}}]),e}();_.instance=new _;var G,H=_;!function(e){e.Running="Running",e.Stopped="Stopped",e.Paused="Paused"}(G||(G={}));var V,Z=G,K={from:1,to:999},Q=function(e){function t(e){var o;Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).tempoRange=e.tempoRange?e.tempoRange:K;var n=o.verifyTempo(e.tempo);return o.state={tempo:n},o.beatState=Z.Stopped,o.postTick=e.postProcess&&e.postProcess.onTick?e.postProcess.onTick:function(){},o.postStart=e.postProcess&&e.postProcess.onStart?e.postProcess.onStart:function(){},o.postPause=e.postProcess&&e.postProcess.onPause?e.postProcess.onPause:function(){},o.postResume=e.postProcess&&e.postProcess.onResume?e.postProcess.onResume:function(){},o.postStop=e.postProcess&&e.postProcess.onStop?e.postProcess.onStop:function(){},o.onClick=o.onClick.bind(Object(m.a)(o)),o.tick=o.tick.bind(Object(m.a)(o)),o.soundPlayer=H.getSoundPlayer(),o.interval=o.getInterval(n),o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"getInterval",value:function(e){return 60/e}},{key:"onClick",value:function(e){this.toggle()}},{key:"verifyTempo",value:function(e){var t=this.tempoRange,o=t.from<t.to?t.from:t.to,n=t.from<t.to?t.to:t.from;if(e<o)throw new RangeError("Passed tempo is lower than ".concat(o,"."));if(e>n)throw new RangeError("Passed tempo is greater than ".concat(n,"."));return Math.floor(e)}},{key:"tick",value:function(){this.soundPlayer.start(),this.timerId=setTimeout(this.tick,1e3*this.interval),this.postTick()}},{key:"start",value:function(){this.beatState=Z.Running,this.postStart(),this.tick()}},{key:"pause",value:function(){this.soundPlayer.stop(),clearTimeout(this.timerId),this.beatState=Z.Paused,this.postPause()}},{key:"resume",value:function(){this.soundPlayer.start(),this.timerId=setTimeout(this.tick,1e3*this.interval),this.beatState=Z.Running,this.postResume()}},{key:"stop",value:function(){this.soundPlayer.stop(),clearTimeout(this.timerId),this.beatState=Z.Stopped,this.postStop()}},{key:"toggle",value:function(){switch(this.beatState){case Z.Running:this.pause();break;case Z.Paused:this.resume();break;case Z.Stopped:this.start()}}},{key:"getStatus",value:function(){return this.beatState}},{key:"getTempo",value:function(){return this.state.tempo}},{key:"setTempo",value:function(e){var t=this.verifyTempo(e);this.setState({tempo:t}),this.interval=this.getInterval(t)}},{key:"init",value:function(e){this.soundPlayer.stop(),clearTimeout(this.timerId),this.beatState=Z.Stopped,this.tempoRange=e.tempoRange?e.tempoRange:K,this.setTempo(e.tempo)}},{key:"componentWillMount",value:function(){this.props.inheritedSelector&&T.inheritSelector(Y.a,this.props.inheritedSelector)}},{key:"componentWillUnmount",value:function(){this.soundPlayer.stop(),clearTimeout(this.timerId)}},{key:"componentWillReceiveProps",value:function(e){C.a.isEqual(this.props,e)||this.init(e)}},{key:"render",value:function(){return i.a.createElement("div",{className:Y.a.tempo},i.a.createElement("div",{className:Y.a.tapArea,onClick:this.onClick,onTouchEnd:this.onClick},this.state.tempo))}}]),t}(i.a.Component),$={};!function(e){e.NeverIncrement="NeverIncrement"}(V||(V={}));var ee=Object(L.a)({},Z,V),te=function(e){function t(e){var o;return Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).state={},o.refBeat=Object(s.createRef)(),o.postAccelerate=e.postProcess&&e.postProcess.onAccelerate?e.postProcess.onAccelerate:function(){},o.postTick=e.postProcess&&e.postProcess.onTick?e.postProcess.onTick:function(){},o.postStart=e.postProcess&&e.postProcess.onStart?e.postProcess.onStart:function(){},o.postStop=e.postProcess&&e.postProcess.onStop?e.postProcess.onStop:function(){},o.postPause=e.postProcess&&e.postProcess.onPause?e.postProcess.onPause:function(){},o.postResume=e.postProcess&&e.postProcess.onResume?e.postProcess.onResume:function(){},o.postComplete=e.postProcess&&e.postProcess.onComplete?e.postProcess.onComplete:function(){},o.accelerate=o.accelerate.bind(Object(m.a)(o)),o.onAccelerate=o.onAccelerate.bind(Object(m.a)(o)),o.onTick=o.onTick.bind(Object(m.a)(o)),o.onStart=o.onStart.bind(Object(m.a)(o)),o.onStop=o.onStop.bind(Object(m.a)(o)),o.onPause=o.onPause.bind(Object(m.a)(o)),o.onResume=o.onResume.bind(Object(m.a)(o)),o.onComplete=o.onComplete.bind(Object(m.a)(o)),o.tempo=e.tempo,o.remaining=e.remaining,o.cntAcceleration=o.getCntAcceleration(0),o.interval=o.getInterval(0),o.incrementStatus=o.isTempoStable()?ee.NeverIncrement:ee.Stopped,o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"accelerate",value:function(){if(this.cntAcceleration<=0)this.onComplete();else{var e=this.refBeat.current,t=e.getTempo();this.tempo.to>this.tempo.from?e.setTempo(t+1):this.tempo.to<this.tempo.from&&e.setTempo(t-1),this.cntAcceleration--,this.onAccelerate()}}},{key:"isTempoStable",value:function(){var e=this.tempo;return 0===e.to-e.from}},{key:"getCntAcceleration",value:function(e){var t=this.tempo,o=t.to-t.from,n=(Math.abs(o),t.from+Math.round(o*e)),s=Math.round(this.props.remaining*T.safeSubtraction(1,e))+1,i=Math.abs(t.to-n);return this.isTempoStable()?s:i}},{key:"getInterval",value:function(e){var t=this.tempo,o=t.to-t.from,n=Math.abs(o);return(Math.round(this.remaining*T.safeSubtraction(1,e))+1)/(n-Math.round(n*e)+1)*1e3}},{key:"onAccelerate",value:function(){this.postAccelerate()}},{key:"onTick",value:function(){this.postTick()}},{key:"onStart",value:function(){this.start(),this.postStart()}},{key:"onStop",value:function(){this.stop(),this.postStop()}},{key:"onPause",value:function(){this.pause(),this.postPause()}},{key:"onResume",value:function(){this.resume(),this.postResume()}},{key:"onComplete",value:function(){this.refBeat.current.stop(),this.stop(),this.postComplete()}},{key:"start",value:function(){this.isTempoStable()?(this.timerId=setInterval(this.onComplete,1e3*this.remaining),this.incrementStatus=ee.NeverIncrement):(this.timerId=setInterval(this.accelerate,this.interval),this.incrementStatus=ee.Running)}},{key:"stop",value:function(){clearInterval(this.timerId),this.setProgress(0),this.isTempoStable()||(this.incrementStatus=ee.Stopped)}},{key:"pause",value:function(){clearInterval(this.timerId),this.isTempoStable()||(this.incrementStatus=ee.Paused)}},{key:"resume",value:function(){if(this.isTempoStable()){var e=this.remaining;this.timerId=setInterval(this.onComplete,1e3*e),this.incrementStatus=ee.NeverIncrement}else this.timerId=setInterval(this.accelerate,this.interval),this.incrementStatus=ee.Running}},{key:"setProgress",value:function(e){var t=this.tempo,o=t.to-t.from,n=this.refBeat.current,s=t.from+Math.round(o*e);n.setTempo(s),this.cntAcceleration=this.getCntAcceleration(e),this.interval=this.getInterval(e)}},{key:"setTempoRange",value:function(e){this.tempo=e,this.isTempoStable()&&(this.incrementStatus=ee.NeverIncrement)}},{key:"getTempo",value:function(){return this.refBeat.current.getTempo()}},{key:"getStatusBeat",value:function(){return this.refBeat.current.getStatus()}},{key:"getStatusIncrement",value:function(){return this.incrementStatus}},{key:"init",value:function(e){this.tempo=e.tempo,this.remaining=e.remaining,clearInterval(this.timerId),this.setProgress(0),this.refBeat.current.init({tempo:e.tempo.from})}},{key:"componentWillMount",value:function(){this.props.inheritedSelector&&T.inheritSelector(this.props.inheritedSelector,{})}},{key:"componentWillUnmount",value:function(){clearInterval(this.timerId)}},{key:"componentWillReceiveProps",value:function(e){C.a.isEqual(this.props,e)||(this.tempo=e.tempo,this.init(e))}},{key:"render",value:function(){return i.a.createElement(Q,{ref:this.refBeat,tempo:this.props.tempo.from,postProcess:{onTick:this.onTick,onStart:this.onStart,onStop:this.onStop,onPause:this.onPause,onResume:this.onResume},inheritedSelector:$})}}]),t}(i.a.Component),oe=function(e){function t(e){var o;return Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).state={tempo:e.tempo},o.refTime=Object(s.createRef)(),o.refBeat=Object(s.createRef)(),o.onBeatTick=o.onBeatTick.bind(Object(m.a)(o)),o.onBeatStart=o.onBeatStart.bind(Object(m.a)(o)),o.onBeatStop=o.onBeatStop.bind(Object(m.a)(o)),o.onBeatPause=o.onBeatPause.bind(Object(m.a)(o)),o.onBeatResume=o.onBeatResume.bind(Object(m.a)(o)),o.onBeatComplete=o.onBeatComplete.bind(Object(m.a)(o)),o.onRingMouseDown=o.onRingMouseDown.bind(Object(m.a)(o)),o.onRingMouseMove=o.onRingMouseMove.bind(Object(m.a)(o)),o.onRingMouseUp=o.onRingMouseUp.bind(Object(m.a)(o)),o.tempoDiff=o.props.tempo.to-o.props.tempo.from,o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"onBeatTick",value:function(){}},{key:"onBeatStart",value:function(){this.refTime.current.start()}},{key:"onBeatStop",value:function(){}},{key:"onBeatPause",value:function(){this.refTime.current.pause()}},{key:"onBeatResume",value:function(){this.refTime.current.resume()}},{key:"onBeatComplete",value:function(){}},{key:"onRingMouseDown",value:function(e){var t=this.refTime.current,o=this.refBeat.current,n=t.getProgress();t.setProgress(n),o.setProgress(n),t.getStatus()===E.Paused&&o.pause()}},{key:"onRingMouseMove",value:function(e){var t=this.refTime.current,o=this.refBeat.current,n=t.getProgress();t.setProgress(n),o.setProgress(n)}},{key:"onRingMouseUp",value:function(e){var t=this.refTime.current,o=this.refBeat.current;t.getStatus()===E.Running&&o.resume()}},{key:"setTempo",value:function(e){var t=this.refTime.current,o=this.refBeat.current,n=t.getProgress();
1o.setTempoRange(e),o.setProgress(n),this.getStatus()===E.Running&&(t.pause(),o.pause(),t.resume(),o.resume())}},{key:"getStatus",value:function(){var e=this.refTime.current,t=this.refBeat.current;if(t.getStatusIncrement()!==ee.NeverIncrement&&e.getStatus()!==t.getStatusIncrement())throw new Error("Status between Time and Beat mismatches. Time=".concat(e.getStatus(),", Beat=").concat(t.getStatusIncrement()));return e.getStatus()}},{key:"init",value:function(e){this.tempoDiff=e.tempo.to-e.tempo.from;var t=this.refTime.current,o=this.refBeat.current;t.init({remaining:e.remaining}),o.init({tempo:e.tempo,remaining:e.remaining})}},{key:"componentWillReceiveProps",value:function(e){C.a.isEqual(this.props,e)||this.init(e)}},{key:"render",value:function(){return i.a.createElement("div",null,i.a.createElement(q,{ref:this.refTime,remaining:this.props.remaining,postProcess:{Ring:{onMouseDown:this.onRingMouseDown,onMouseMove:this.onRingMouseMove,onMouseUp:this.onRingMouseUp}}}),i.a.createElement(te,{ref:this.refBeat,tempo:this.props.tempo,remaining:this.props.remaining,postProcess:{onTick:this.onBeatTick,onStart:this.onBeatStart,onStop:this.onBeatStop,onPause:this.onBeatPause,onResume:this.onBeatResume,onComplete:this.onBeatComplete}}))}}]),t}(i.a.Component),ne=o(15),se=o(324),ie=function(){function e(t,o){Object(a.a)(this,e),this.defaultConfig={},this.isAlreadyLoaded=!1,this.configCatClient=se.createClientWithLazyLoad(t),this.myUser=o}return Object(u.a)(e,[{key:"runCallback",value:function(e){this.isAlreadyLoaded||(this.isAlreadyLoaded=!0,e())}},{key:"setDefaultConfig",value:function(e){return this.defaultConfig=e,this}},{key:"load",value:function(e,t){var o=this;if(0===Object.keys(this.defaultConfig).length)throw new Error("Default config is not set. Please call setDefaultConfig before loading config.");var n=Object.keys(this.defaultConfig).map(function(e){return new Promise(function(t){o.configCatClient.getValue(e.toLowerCase(),void 0,function(o){t([e,o])},o.myUser)})});void 0!==t&&setTimeout(function(){o.runCallback(function(){e(o.defaultConfig)})},t),Promise.all(n).then(function(t){o.runCallback(function(){var o=t.reduce(function(e,t){var o=Object(ne.a)(t,2),n=o[0],s=o[1];return e[n]=s,e},{});e(o)})}).catch(function(t){o.runCallback(function(){e(o.defaultConfig)})})}}]),e}(),re=JSON.parse('{"AxlMetronome":{"tempoFrom":90,"tempoTo":150,"rangeFrom":60,"rangeTo":780,"maxDelta":100,"remaining":1800,"isDescEnabled":true},"Bugsnag":{"API":"d0a9b02d00ea84b48113753ed7344030"},"ConfigCat":{"API":"PIjWCOBb9OZa_oaa7Igmyg/auta_jdWJUOw6NLz3LjyUg","ID":"435170f4-8a8b-4b67-a723-505ac7cdea92"}}').ConfigCat,ae=function(e){function t(e){var o;return Object(a.a)(this,t),(o=Object(c.a)(this,Object(p.a)(t).call(this,e))).state={isConfigLoaded:!1,tempo:e.tempo},o.refTempoSelector=Object(s.createRef)(),o.refCounter=Object(s.createRef)(),o.onChangeTempo=o.onChangeTempo.bind(Object(m.a)(o)),o.reload=o.reload.bind(Object(m.a)(o)),o.tempo=o.props.tempo,o.range=o.props.range,o.maxDelta=o.props.maxDelta,o.remaining=o.props.remaining,o.isDescEnabled=o.props.isDescEnabled,o}return Object(l.a)(t,e),Object(u.a)(t,[{key:"onChangeTempo",value:function(e){this.refCounter.current.setTempo(e)}},{key:"reload",value:function(e){this.tempo={from:e.tempoFrom,to:e.tempoTo},this.range={from:e.rangeFrom,to:e.rangeTo},this.maxDelta=e.maxDelta,this.remaining=e.remaining,this.isDescEnabled=e.isDescEnabled,this.setState({isConfigLoaded:!0,tempo:{from:e.tempoFrom,to:e.tempoTo}})}},{key:"getStatus",value:function(){return this.refCounter.current.getStatus()}},{key:"init",value:function(e){var t=this.refTempoSelector.current,o=this.refCounter.current;t.init({defaultTempo:e.tempo,range:e.range,maxDelta:e.maxDelta,isDescEnabled:e.isDescEnabled}),o.init(e)}},{key:"componentWillMount",value:function(){new ie(re.API,{identifier:re.ID}).setDefaultConfig({tempoFrom:this.props.tempo.from,tempoTo:this.props.tempo.to,rangeFrom:this.props.range.from,rangeTo:this.props.range.to,maxDelta:this.props.maxDelta,remaining:this.props.remaining,isDescEnabled:this.props.isDescEnabled}).load(this.reload,800)}},{key:"componentWillReceiveProps",value:function(e){if(!f()(this.props,e)){var t=e.tempo.from<e.tempo.to?e.tempo.from:e.tempo.to,o=e.tempo.from<e.tempo.to?e.tempo.to:e.tempo.from;if(e.range.from>e.range.to)throw new RangeError("Range.from cannot be greater than Range.to.");if(!e.isDescEnabled&&e.tempo.from>e.tempo.to)throw new RangeError("Tempo.From cannot be greater than Tempo.To 
1when isDescEnabled is false.");if(o>e.range.to)throw new RangeError("Tempo cannot be greater than Range.To.");if(t<e.range.from)throw new RangeError("Tempo cannot be less than Range.From.");this.init(e)}}},{key:"render",value:function(){return this.state.isConfigLoaded?i.a.createElement("div",{className:d.a.AxlMetronome,"data-is-ready":!0},i.a.createElement(j,{ref:this.refTempoSelector,defaultTempo:this.tempo,range:this.range,maxDelta:this.maxDelta,isDescEnabled:this.isDescEnabled,postProcess:{onChangeTempo:this.onChangeTempo},inheritedSelector:d.a}),i.a.createElement(oe,{ref:this.refCounter,remaining:this.remaining,tempo:this.tempo})):i.a.createElement("div",{className:d.a.AxlMetronome,"data-is-ready":!1},i.a.createElement("noscript",{key:"noscript",id:d.a.noscript},"This app works with JavaScript."))}}]),t}(s.Component),ue=o(548),ce=o.n(ue),pe=o(550),me=o.n(pe),le=o(551),he=o.n(le),fe=JSON.parse('{"AxlMetronome":{"tempoFrom":90,"tempoTo":150,"rangeFrom":60,"rangeTo":780,"maxDelta":100,"remaining":1800,"isDescEnabled":true},"Bugsnag":{"API":"d0a9b02d00ea84b48113753ed7344030"},"ConfigCat":{"API":"PIjWCOBb9OZa_oaa7Igmyg/auta_jdWJUOw6NLz3LjyUg","ID":"435170f4-8a8b-4b67-a723-505ac7cdea92"}}'),ge=fe.AxlMetronome,de=fe.Bugsnag;ce()({apiKey:de.API,appVersion:{}.npm_package_version}).use(me.a,i.a),he.a.init("jqwubt/axl-metronome");t.default=function(){return i.a.createElement(i.a.Fragment,null,i.a.createElement(r.a,{title:"Home",keywords:["gatsby","pwa","react","music","metronome"]}),i.a.createElement(ae,{tempo:{from:ge.tempoFrom,to:ge.tempoTo},range:{from:ge.rangeFrom,to:ge.rangeTo},maxDelta:ge.maxDelta,remaining:ge.remaining,isDescEnabled:ge.isDescEnabled}))}}}]);
2//# sourceMappingURL=component---src-pages-index-tsx-c366d0eadfd2148eea28.js.map

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.